Файл: adultscript-2.0.3-pro/files/admin/templates/default/menu_link_add.tpl.php
Строк: 130
<?php defined('_VALID') or die('Restricted Access!'); ?>
<?php echo $this->fetch('errors'); ?>
<?php echo $this->fetch('messages'); ?>
<?php echo $this->fetch('warnings'); ?>
<div id="container" class="clearfix">
<div id="page">
<?php echo $this->fetch('main_menu'); ?>
<div class="content clearfix">
<?php echo $this->fetch('menu_menu'); ?>
<form name="menu-link-add-form" id="menu-link-add-form" method="post" action="<?php echo ADMIN_URL; ?>/index.php?q=menu/link_add">
<fieldset>
<legend>Menu Link Properties</legend>
<div class="required">
<label for="menu_id">Menu</label>
<select name="menu_id" id="menu_id">
<option value="">Select Menu</option>
<?php if ($this->menus):
foreach ($this->menus as $menu): ?>
<option value="<?php echo $menu['menu_id']; ?>"<?php if ($this->item['menu_id'] == $menu['menu_id']): echo ' selected="selected"'; endif; ?>><?php echo e($menu['title']); ?></option>
<?php endforeach; endif; ?>
</select>
</div>
<div class="required">
<label for="name">Name</label>
<input name="name" type="text" id="name" class="large" maxlength="99" value="<?php echo e($this->item['name']); ?>" />
</div>
<div class="optional">
<label for="title">Title</label>
<input name="title" type="text" id="title" class="mega" maxlength="255" value="<?php echo e($this->item['title']); ?>" />
</div>
<div class="required">
<label for="link">Link</label>
<input name="link" type="text" id="link" class="mega" maxlength="255" value="<?php echo e($this->item['link']); ?>" />
</div>
<div class="required">
<label for="type">Type</label>
<select name="type" id="type">
<option value="int"<?php if ($this->item['type'] == 'int'): ?> selected="selected"<?php endif; ?>>Internal</option>
<option value="ext"<?php if ($this->item['type'] == 'ext'): ?> selected="selected"<?php endif; ?>>External</option>
</select>
</div>
<div class="required">
<label for="target">Target</label>
<select name="target" id="target">
<option value="none"<?php if ($this->item['target'] == 'none'): ?> selected="selected"<?php endif; ?>>Same Window or Tab</option>
<option value="self"<?php if ($this->item['target'] == 'top'): ?> selected="selected"<?php endif; ?>>Same Window or Tab (no frames)</option>
<option value="blank"<?php if ($this->item['target'] == 'blank'): ?> selected="selected"<?php endif; ?>>New Window or Tab</option>
</select>
</div>
<div class="required">
<label for="lang">Translation</label>
<input name="lang" type="text" id="lang" class="medium" maxlength="99" value="<?php echo e($this->item['lang']); ?>" />
</div>
<div class="optional">
<label for="current">Current</label>
<input name="current" type="text" id="current" class="medium" maxlength="99" value="<?php echo e($this->item['current']); ?>" />
</div>
<div class="required">
<label for="status">Status</label>
<input name="status" type="radio" id="status" class="radio" value="1"<?php if ($this->item['status'] == '1'): ?> checked="checked"<?php endif; ?> /> Active
<input name="status" type="radio" class="radio" value="0"<?php if ($this->item['status'] == '0'): ?> checked="checked"<?php endif; ?> /> Suspended
</div>
</fieldset>
<div class="submit">
<input name="submit_add_link" type="submit" id="submit_add_link" class="button butDef" value=" Add Menu Link " />
</div>
</form>
</div>
</div>
</div>