CoreFiles by mySites.guru
edit_options.php38 lines, 1,244 bytes, from Joomla_3.1.1-Stable-Full_Package.zip
Raw History Compare with 3.1.0
md5
1d204a7ae30c12a389cd4084122f4bde
sha1
24bce1463bbadf6ab66d816a959c3d409aba8624
sha256
28cacdc4564702fa62266d7a90e700098d5495731ae490155cb700547509ee1f
<?php
/**
 * @package     Joomla.Administrator
 * @subpackage  com_plugins
 *
 * @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;

foreach ($this->fieldsets as $name => $fieldset) :
	$label = !empty($fieldset->label) ? JText::_($fieldset->label, true) : JText::_('COM_PLUGINS_'.$fieldset->name.'_FIELDSET_LABEL', true);
	$optionsname = 'options-' . $fieldset->name;
	echo JHtml::_('bootstrap.addTab', 'myTab', $optionsname,  $label);
	if (isset($fieldset->description) && trim($fieldset->description)) :
		echo '<p class="tip">'.$this->escape(JText::_($fieldset->description)).'</p>';
	endif;
	?>
	<?php $hidden_fields = ''; ?>
	<?php foreach ($this->form->getFieldset($name) as $field) : ?>
		<?php if (!$field->hidden) : ?>
		<div class="control-group">
			<div class="control-label">
				<?php echo $field->label; ?>
			</div>
			<div class="controls">
				<?php echo $field->input; ?>
			</div>
		</div>
		<?php else : $hidden_fields .= $field->input; ?>
		<?php endif; ?>
	<?php endforeach; ?>
	<?php echo $hidden_fields; ?>

<?php echo JHtml::_('bootstrap.endTab'); ?>

<?php endforeach; ?>

The same content is in 5 releases, Joomla 3.1.0 to 3.1.6. See them all, or every version of this file.