Файл: adultscript-2.0.3-pro/files/admin/templates/default/kb_category_add.tpl.php
Строк: 44
<?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('kb_menu'); ?>
<div class="content clearfix">
<?php echo $this->fetch('kb_category_menu'); ?>
<form name="kb-category-add-form" id="kb-category-add-form" method="post" enctype="multipart/form-data" action="<?php echo ADMIN_URL; ?>/index.php?q=kb/category_add">
<fieldset>
<legend>Category Properties</legend>
<div class="required">
<label for="name">Name</label>
<input name="name" type="text" id="name" class="large" maxlength="255" value="<?php echo e($this->cat['name']); ?>" />
</div>
<div class="required">
<label for="slug">Slug</label>
<input name="slug" type="text" id="slug" class="large" maxlength="255" value="<?php echo e($this->cat['slug']); ?>" />
</div>
<div class="optional">
<label for="description">Description</label>
<textarea name="description" id="description" class="mega" rows="5"><?php echo e($this->cat['description']); ?></textarea>
</div>
<div class="optional">
<label for="status">Status</label>
<input name="status" type="radio" id="status" class="radio" value="1"<?php if ($this->cat['status'] == '1'): ?> checked="checked"<?php endif; ?> /> Active
<input name="status" type="radio" class="radio" value="0"<?php if ($this->cat['status'] == '0'): ?> checked="checked"<?php endif; ?> /> Suspended
</div>
</fieldset>
<div class="submit">
<input name="submit_add_category" type="submit" id="submit_add_category" class="button butDef" value=" Add Category " />
</div>
</form>
</div>
</div>
</div>