<!-- MODULE: include-page -->

<?php quick_help(txt('include-page', 'quick-help: include-page')); ?>

<?php if(!defined('master_script')) die();

/**
 * Default settings
 *
 * @category   Module (include-page)
 * @author     Nico Wenig <nico.wenig@yellowgreen.de>
 * @version	   2009-05-16
 */

	if(!isset($module_settings['include-page']['page name'])) $module_settings['include-page']['page name'] = '';
	
?>

<form accept-charset="utf-8" method="post" action="index.php?backend=edit-content&amp;page=<?php echo $_GET['page']; ?>&amp;module-to-edit=<?php echo $_GET['module-to-edit']; ?>&amp;module-position=<?php echo $_GET['module-position']; ?>" onsubmit="return this.confirm">
	<?php include($system_data['folder']['modules'] . 'module-properties/backend-template.tpl'); ?>
	
	<br>
	
	<h4><?php echo txt('include-page', 'title: include-page'); ?></h4>

	<div class="column">
		<p>
		    <label><?php echo txt('include-page', 'Seitenalias'); ?>:</label>
		    <input type="text" name="page_to_include" value="<?php echo $module_settings['include-page']['page name']; ?>">
		</p>
		
		<?php connector('include-page left'); ?>
	</div>

	<div class="column last-column">
		<?php connector('include-page right'); ?>
	</div>
	
	<div style="clear: both"></div>

	<!-- Save -->
	<input name="save_include_page" type="hidden">
	<input id="save" name="save_content" type="submit" value="<?php echo txt('include-page', 'Speichern'); ?>">
	<input id="delete" name="delete_content" type="submit" value="<?php echo txt('include-page', 'Löschen'); ?>" onclick="this.form.confirm = window.confirm('<?php echo txt('include-page', 'Soll das Inhaltselement wirklich gelöscht werden?'); ?>')">
</form>