Example #1
0
			<fieldset class="adminform">
				<legend><span><?php 
echo Lang::txt('COM_KB_DETAILS');
?>
</span></legend>

				<div class="input-wrap">
					<label for="field-section"><?php 
echo Lang::txt('COM_KB_CATEGORY');
?>
: <span class="required"><?php 
echo Lang::txt('JOPTION_REQUIRED');
?>
</span></label><br />
					<?php 
echo Components\Kb\Admin\Helpers\Html::categories($this->categories, $this->row->get('category'), 'fields[category]', 'field-category');
?>
				</div>

				<div class="input-wrap">
					<label for="field-title"><?php 
echo Lang::txt('COM_KB_TITLE');
?>
: <span class="required"><?php 
echo Lang::txt('JOPTION_REQUIRED');
?>
</span></label><br />
					<input type="text" name="fields[title]" id="field-title" size="100" maxlength="255" value="<?php 
echo $this->escape(stripslashes($this->row->get('title')));
?>
" />
Example #2
0
				<input type="submit" value="<?php 
echo Lang::txt('COM_KB_GO');
?>
" />
				<button type="button" onclick="$('#filter_search').val('');$('#filter-state').val('');this.form.submit();"><?php 
echo Lang::txt('JSEARCH_FILTER_CLEAR');
?>
</button>
			</div>
			<div class="col span7">
				<label for="filter-category"><?php 
echo Lang::txt('COM_KB_CATEGORY');
?>
:</label>
				<?php 
echo Components\Kb\Admin\Helpers\Html::categories($this->categories, $this->filters['category'], 'category', 'filter-category', 'onchange="this.form.submit()"');
?>

				<label for="filter-access"><?php 
echo Lang::txt('JFIELD_ACCESS_LABEL');
?>
:</label>
				<select name="access" id="filter-access" onchange="this.form.submit()">
					<option value=""><?php 
echo Lang::txt('JOPTION_SELECT_ACCESS');
?>
</option>
					<?php 
echo Html::select('options', $access, 'value', 'text', $this->filters['access']);
?>
				</select>