- md5
- ccd65b76bb67709436c55aad824799d5
- sha1
- 19a3cfb2650d7b15de259346ab698757d5adda12
- sha256
- cb4aa41785cd143b7e54520b5a4fc86ccb560007bf421cc780dd669771545094
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
<?php
/**
* @version $Id: edit.php 20196 2011-01-09 02:40:25Z ian $
* @package Joomla.Administrator
* @subpackage template.hathor
* @copyright Copyright (C) 2005 - 2011 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');
// Get the form fieldsets.
$fieldsets = $this->form->getFieldsets();
?>
<script type="text/javascript">
Joomla.submitbutton = function(task)
{
if (task == 'profile.cancel' || document.formvalidator.isValid(document.id('profile-form'))) {
Joomla.submitform(task, document.getElementById('profile-form'));
}
}
</script>
<form action="<?php echo JRoute::_('index.php?option=com_admin&view=profile&layout=edit'); ?>" method="post" name="adminForm" id="profile-form" class="form-validate">
<div class="col main-section">
<fieldset class="adminform">
<legend><?php echo JText::_('COM_ADMIN_USER_ACCOUNT_DETAILS'); ?></legend>
<ul class="adminformlist">
<?php foreach($this->form->getFieldset('user_details') as $field) :?>
<li><?php echo $field->label; ?>
<?php echo $field->input; ?></li>
<?php endforeach; ?>
</ul>
</fieldset>
</div>
<div class="col options-section">
<?php
echo JHTML::_('sliders.start');
foreach ($fieldsets as $fieldset) :
if ($fieldset->name == 'user_details') :
continue;
endif;
echo JHTML::_('sliders.panel', JText::_($fieldset->label), $fieldset->name);
?>
<fieldset class="panelform">
<legend class="element-invisible"><?php echo JText::_($fieldset->label); ?></legend>
<ul class="adminformlist">
<?php foreach($this->form->getFieldset($fieldset->name) as $field): ?>
<?php if ($field->hidden): ?>
<?php echo $field->input; ?>
<?php else: ?>
<li><?php echo $field->label; ?>
<?php echo $field->input; ?></li>
<?php endif; ?>
<?php endforeach; ?>
</ul>
</fieldset>
<?php endforeach; ?>
<?php echo JHTML::_('sliders.end'); ?>
<input type="hidden" name="task" value="" />
<?php echo JHtml::_('form.token'); ?>
</div>
</form>
The same content is in 2 releases, Joomla 1.6.0 to 1.6.1. See them all, or every version of this file.