Spade
Mini Shell
| Directory:~$ /home/lmsyaran/www/administrator/components/com_rsticketspro/views/kbcategory/tmpl/ |
| [Home] [System Details] [Kill Me] |
<?php
/**
* @package RSTickets! Pro
*
* @copyright (c) 2010 - 2016 RSJoomla!
* @link https://www.rsjoomla.com
* @license GNU General Public License
http://www.gnu.org/licenses/gpl-3.0.en.html
*/
defined('_JEXEC') or die('Restricted access');
JHtml::_('behavior.keepalive');
// Load JavaScript message titles
JText::script('ERROR');
JText::script('WARNING');
JText::script('NOTICE');
JText::script('MESSAGE');
JHtml::_('behavior.formvalidator');
?>
<form action="<?php echo
JRoute::_('index.php?option=com_rsticketspro&view=kbcategory&layout=edit&id='.(int)
$this->item->id); ?>" method="post"
name="adminForm" id="adminForm"
class="form-validate form-horizontal"
enctype="multipart/form-data">
<?php
if ($this->item->thumb && $this->item->id)
{
echo '<p>' . JHtml::_('image',
'components/com_rsticketspro/assets/thumbs/small/' .
$this->item->thumb, '', array(), false) .
'</p>';
}
else
{
$this->form->setFieldAttribute('delete_thumb',
'disabled', 'true');
$this->form->setFieldAttribute('delete_thumb',
'filter', 'unset');
}
foreach ($this->form->getFieldsets() as $fieldset)
{
echo $this->form->renderFieldset($fieldset->name);
}
?>
<div>
<?php echo JHtml::_('form.token'); ?>
<input type="hidden" name="task"
value="" />
</div>
</form>