- md5
- 794d1cc7c7be822c763886550ddd2789
- sha1
- e5787466446a2cd8f301207a6fadccecb58d1083
- sha256
- 5f71905281c9d88b81be58995fac6488438b2d471c548c83b4aa793c93240e5a
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
<?php
/**
* @version $Id: edit.php 21020 2011-03-27 06:52:01Z infograf768 $
* @package Joomla.Administrator
* @subpackage com_admin
* @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="width-60 fltlft">
<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="width-40 fltrt">
<?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">
<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 5 releases, Joomla 1.6.2 to 1.6.6. See them all, or every version of this file.