CoreFiles by mySites.guru
edit_options.php36 lines, 1,140 bytes, from Joomla_3.0.1-Stable-Full_Package.zip
Raw History Compare with 3.0.0
md5
1ed7beace81078b88469f23e230100bf
sha1
7717cec6e495da116d00237741b32c91c5546e3e
sha256
21a36730126d7b4be5603357fdebcb595e29ddb1534a0d2d89236bc25e30eb42
<?php
/**
 * @package     Joomla.Administrator
 * @subpackage  com_plugins
 *
 * @copyright   Copyright (C) 2005 - 2012 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) :
	echo '<div class="tab-pane" id="options-'.$name.'">';
	$label = !empty($fieldset->label) ? $fieldset->label : 'COM_PLUGINS_'.$name.'_FIELDSET_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 '</div>'; // .tab-pane div ?>
<?php endforeach; ?>

The same content is in 2 releases, Joomla 3.0.1 to 3.0.2. See them all, or every version of this file.