- md5
- a71f0ca55a9071b1829e5ada91f2f5d7
- sha1
- 6d76f79d189114fedb7c1fbc58d538000555c7e0
- sha256
- 8b8e55c56d6da62f9d5674530074adc0490c85d42a1a4ce1e300efd0c13b0853
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
<?php
/**
* @package Joomla.Administrator
* @subpackage com_config
* @copyright Copyright (C) 2005 - 2012 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
// No direct access
defined('_JEXEC') or die;
$template = JFactory::getApplication()->getTemplate();
// Load the tooltip behavior.
JHtml::_('behavior.tooltip');
JHtml::_('behavior.formvalidation');
?>
<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">
<fieldset>
<div class="fltrt">
<button type="button" onclick="Joomla.submitform('component.apply', this.form);">
<?php echo JText::_('JAPPLY');?></button>
<button type="button" onclick="Joomla.submitform('component.save', this.form);">
<?php echo JText::_('JSAVE');?></button>
<button type="button" onclick="<?php echo JRequest::getBool('refresh', 0) ? 'window.parent.location.href=window.parent.location.href;' : '';?> window.parent.SqueezeBox.close();">
<?php echo JText::_('JCANCEL');?></button>
</div>
<div class="configuration" >
<?php echo JText::_($this->component->option.'_configuration') ?>
</div>
</fieldset>
<?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="task" value="" />
<?php echo JHtml::_('form.token'); ?>
</div>
</form>
The same content is in 9 releases, Joomla 2.5.0 to 2.5.8. See them all, or every version of this file.