- md5
- 6c43590a0a7730698f2a574f1144eeb8
- sha1
- 34b5d7c65c6272cf6f41d0485c711d7e25702c91
- sha256
- 1e9674807367e9aedefeb16510d6c5e2612dd601d4e6aa362227380e5c411760
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
<?php
/**
* @package Joomla.Administrator
* @subpackage com_config
*
* @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
defined('_JEXEC') or die;
$app = JFactory::getApplication();
$template = $app->getTemplate();
// Load the tooltip behavior.
JHtml::_('behavior.tooltip');
JHtml::_('behavior.formvalidation');
JHtml::_('bootstrap.framework');
?>
<script type="text/javascript">
Joomla.submitbutton = function(task)
{
if (document.formvalidator.isValid(document.id('component-form')))
{
Joomla.submitform(task, document.getElementById('component-form'));
}
}
</script>
<form action="<?php echo JRoute::_('index.php?option=com_config');?>" id="component-form" method="post" name="adminForm" autocomplete="off" class="form-validate">
<?php
echo JHtml::_('tabs.start', 'config-tabs-' . $this->component->option.'_configuration', array('useCookie' => 1));
$fieldSets = $this->form->getFieldsets();
foreach ($fieldSets as $name => $fieldSet) :
$label = empty($fieldSet->label) ? 'COM_CONFIG_'.$name.'_FIELDSET_LABEL' : $fieldSet->label;
echo JHtml::_('tabs.panel', JText::_($label), 'publishing-details');
if (isset($fieldSet->description) && !empty($fieldSet->description)) :
echo '<p class="tab-description">'.JText::_($fieldSet->description).'</p>';
endif;
?>
<ul class="config-option-list">
<?php
foreach ($this->form->getFieldset($name) as $field):
?>
<li>
<?php if (!$field->hidden) : ?>
<?php echo $field->label; ?>
<?php endif; ?>
<?php echo $field->input; ?>
</li>
<?php
endforeach;
?>
</ul>
<div class="clr"></div>
<?php
endforeach;
echo JHtml::_('tabs.end');
?>
<div>
<input type="hidden" name="id" value="<?php echo $this->component->id;?>" />
<input type="hidden" name="component" value="<?php echo $this->component->option;?>" />
<input type="hidden" name="return" value="<?php echo $this->return;?>" />
<input type="hidden" name="task" value="" />
<?php echo JHtml::_('form.token'); ?>
</div>
</form>
The same content is in 4 releases, Joomla 3.0.3 to 3.1.1. See them all, or every version of this file.