- md5
- dcecb937c68bfd04b6730dd57a40040c
- sha1
- 791d1ff7ae08ecbade9c7d81d01ca908643ddc03
- sha256
- d8cc518d2984ada96757978b724626150d7b31742ed52cdcfd9954049d187614
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
<?php
/**
* @package Joomla.Administrator
* @subpackage Template.hathor
*
* @copyright Copyright (C) 2005 - 2017 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
defined('_JEXEC') or die;
$assoc = JLanguageAssociations::isEnabled();
?>
<?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;
?>
<div class="clr"></div>
<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;?>
<?php if ($assoc) : ?>
<?php echo JHtml::_('sliders.panel', JText::_('COM_MENUS_ITEM_ASSOCIATIONS_FIELDSET_LABEL'), '-options');?>
<?php echo $this->loadTemplate('associations'); ?>
<?php endif; ?>
The same content is in 4 releases, Joomla 3.7.0-alpha2 to 3.7.0-beta3. See them all, or every version of this file.