CoreFiles by mySites.guru
default_options.php39 lines, 936 bytes, from Joomla_4.0.0-alpha3-Alpha-Full_Package.zip
Raw History Compare with 4.0.0-alpha2
md5
ee0833f03781fb3c34a117a438781b56
sha1
71c4144f8daef2419e8009b40f6ea9fde296f562
sha256
859c7cf33757b15bcc714cdb63ecb695299f6fdbc1d0aa19e5049528d056f4ee
<?php
/**
 * @package     Joomla.Site
 * @subpackage  com_config
 *
 * @copyright   Copyright (C) 2005 - 2018 Open Source Matters, Inc. All rights reserved.
 * @license     GNU General Public License version 2 or later; see LICENSE.txt
 */

defined('_JEXEC') or die;

$fieldSets = $this->form->getFieldsets('params');
?>

<legend><?php echo JText::_('COM_CONFIG_TEMPLATE_SETTINGS'); ?></legend>

<?php

// Search for com_config field set
if (!empty($fieldSets['com_config']))
{
	echo $this->form->renderFieldset('com_config');
}
else
{
	// Fall-back to display all in params
	foreach ($fieldSets as $name => $fieldSet)
	{
		$label = !empty($fieldSet->label) ? $fieldSet->label : 'COM_CONFIG_' . $name . '_FIELDSET_LABEL';

		if (isset($fieldSet->description) && trim($fieldSet->description))
		{
			echo '<p class="tip">' . $this->escape(JText::_($fieldSet->description)) . '</p>';
		}

		echo $this->form->renderFieldset($name);

	}
}

No other release has this exact content. See every version of this file.