- md5
- 7ae5c2906a6150d72adf52c901fbf499
- sha1
- d11bea344105607a21b6d9f95da54f0033c8b7aa
- sha256
- bf2a0d9e87aee810e200b151950466de1810accebb511e85ecd433cefe21f4c2
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
<?php
/**
* @version $Id: edit_options.php 20196 2011-01-09 02:40:25Z ian $
* @package Joomla.Administrator
* @subpackage templates.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
* @since 1.6
*/
defined('_JEXEC') or die;
?>
<?php
$fieldSets = $this->form->getFieldsets('request');
if (!empty($fieldSets)) {
$fieldSet = array_shift($fieldSets);
$label = !empty($fieldSet->label) ? $fieldSet->label : 'COM_MENUS_'.$fieldSet->name.'_FIELDSET_LABEL';
echo JHtml::_('sliders.panel',JText::_($label), 'request-options');
if (isset($fieldSet->description) && trim($fieldSet->description)) :
echo '<p class="tip">'.$this->escape(JText::_($fieldSet->description)).'</p>';
endif;
?>
<fieldset class="panelform">
<legend class="element-invisible"><?php echo JText::_($label) ?></legend>
<?php $hidden_fields = ''; ?>
<ul class="adminformlist">
<?php foreach ($this->form->getFieldset('request') as $field) : ?>
<?php if (!$field->hidden) : ?>
<li>
<?php echo $field->label; ?>
<?php echo $field->input; ?>
</li>
<?php else : $hidden_fields.= $field->input; ?>
<?php endif; ?>
<?php endforeach; ?>
</ul>
<?php echo $hidden_fields; ?>
</fieldset>
<?php
}
$fieldSets = $this->form->getFieldsets('params');
foreach ($fieldSets as $name => $fieldSet) :
$label = !empty($fieldSet->label) ? $fieldSet->label : 'COM_MENUS_'.$name.'_FIELDSET_LABEL';
echo JHtml::_('sliders.panel',JText::_($label), $name.'-options');
if (isset($fieldSet->description) && trim($fieldSet->description)) :
echo '<p class="tip">'.$this->escape(JText::_($fieldSet->description)).'</p>';
endif;
?>
<fieldset class="panelform">
<legend class="element-invisible"><?php echo JText::_($label) ?></legend>
<ul class="adminformlist">
<?php foreach ($this->form->getFieldset($name) as $field) : ?>
<li><?php echo $field->label; ?>
<?php echo $field->input; ?></li>
<?php endforeach; ?>
</ul>
</fieldset>
<?php endforeach;?>
The same content is in 2 releases, Joomla 1.6.0 to 1.6.1. See them all, or every version of this file.