Location: PHPKode > projects > Chalange > com_chalange/administrator/views/categoryadmin/tmpl/default.php
<?php defined('_JEXEC') or die('Restricted access'); ?>

<?php JHTML::_('behavior.tooltip'); ?>

<?php
	JToolBarHelper::title( JText::_( 'Category' ).": <small><small>[".JText::_( $this->task )."]</small></small>", 'plugin.png' );
	JToolBarHelper::save();
	JToolBarHelper::apply();
	JToolBarHelper::cancel();
	JToolBarHelper::help( 'screen.plugins' );

?>
<form action="index.php" method="post" name="adminForm" id="adminForm">
	<fieldset class="adminForm">
		<legend><?php echo JText::_( "Details" )?></legend>		
			<table class="admintable">
			<?php 
			if($this->task=="edit"){ ?>
				<tr>
					<td width="100" align="right" class="key">
						<?php echo JText::_( "ID" )?>:
					</td>
					<td>
						<?php echo $this->row->id;?>
					</td>
				</tr>
			<?php }?>
				<tr>
					<td width="100" align="right" class="key">
						<?php echo JText::_( "CATEGORY" )?>:
					</td>
					<td>
						<input class="text_area" type="text" name="description" id="description" size="100" maxlength="256" value="<?php echo $this->row->description;?>"/>
					</td>
				</tr>
				<tr>
					<td width="100" align="right" class="key">
						<?php echo JText::_( "GENRE" )?>:
					</td>
					<td>
						<?php
							$genres=array('0'=>array('value'=>'1','text'=>JText::_('GENRE1')),'1'=>array('value'=>'2','text'=>JText::_('GENRE2')));
							echo JHTML::_('select.genericList',$genres,'genre','class="inputbox" '. '','value','text',$this->row->genre);    ?>
					</td>
				</tr>
	</table>
	</fieldset>
	<input type="hidden" name="id" value="<?php echo $this->row->id;?>"/> 
	<input type="hidden" name="option" value="com_chalange"/> 
	<input type="hidden" name="task" value=""/> 
	<input type="hidden" name="boxchecked" value="0"/> 
	<input type="hidden" name="controller" value="category"/> 
</form>
Return current item: Chalange