| Current Path : /home/sunflowe/www2/vacancesfloride/administrator/components/com_users/views/group/tmpl/ |
| Current File : /home/sunflowe/www2/vacancesfloride/administrator/components/com_users/views/group/tmpl/edit.php |
<?php
/**
* @package Joomla.Administrator
* @subpackage com_users
* @copyright Copyright (C) 2005 - 2014 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
defined('_JEXEC') or die;
// Include the component HTML helpers.
JHtml::addIncludePath(JPATH_COMPONENT.'/helpers/html');
// Load the tooltip behavior.
JHtml::_('behavior.tooltip');
JHtml::_('behavior.formvalidation');
$canDo = UsersHelper::getActions();
?>
<script type="text/javascript">
Joomla.submitbutton = function(task)
{
if (task == 'group.cancel' || document.formvalidator.isValid(document.id('group-form'))) {
Joomla.submitform(task, document.getElementById('group-form'));
}
}
</script>
<form action="<?php echo JRoute::_('index.php?option=com_users&layout=edit&id='.(int) $this->item->id); ?>" method="post" name="adminForm" id="group-form" class="form-validate">
<div class="width-100">
<fieldset class="adminform">
<legend><?php echo JText::_('COM_USERS_USERGROUP_DETAILS');?></legend>
<ul class="adminformlist">
<li><?php echo $this->form->getLabel('title'); ?>
<?php echo $this->form->getInput('title'); ?></li>
<?php $parent_id = $this->form->getField('parent_id');?>
<li><?php if (!$parent_id->hidden) echo $parent_id->label; ?>
<?php echo $parent_id->input; ?></li>
</ul>
</fieldset>
<input type="hidden" name="task" value="" />
<?php echo JHtml::_('form.token'); ?>
</div>
</form>
<div class="clr"></div>