CoreFiles by mySites.guru
default_navigation.php33 lines, 1,053 bytes, from Joomla_4.0.0-beta6-Beta-Full_Package.zip
Raw History Compare with 4.0.0-beta5
md5
5ea3d82e2734c4868e6d92fd3fbe9438
sha1
f01eaa0714e6399dd470e2396e087d54b14afaba
sha256
d9e5eef9fd26ed1008cd4b4d9811ed30c3d2474727e82b365da1e9edfd52dcd5
<?php
/**
 * @package     Joomla.Administrator
 * @subpackage  com_config
 *
 * @copyright   (C) 2013 Open Source Matters, Inc. <https://www.joomla.org>
 * @license     GNU General Public License version 2 or later; see LICENSE.txt
 */

use Joomla\CMS\Language\Text;

defined('_JEXEC') or die;
?>
<ul class="nav flex-column">
	<?php if ($this->userIsSuperAdmin) : ?>
		<li class="nav-header"><?php echo Text::_('COM_CONFIG_SYSTEM'); ?></li>
		<li><a href="index.php?option=com_config"><?php echo Text::_('COM_CONFIG_GLOBAL_CONFIGURATION'); ?></a></li>
		<li class="divider"></li>
	<?php endif; ?>
	<li class="nav-header"><?php echo Text::_('COM_CONFIG_COMPONENT_FIELDSET_LABEL'); ?></li>
	<?php foreach ($this->components as $component) : ?>
		<?php
		$active = '';
		if ($this->currentComponent === $component)
		{
			$active = ' class="active"';
		}
		?>
		<li<?php echo $active; ?>>
			<a href="index.php?option=com_config&view=component&component=<?php echo $component; ?>"><?php echo Text::_($component); ?></a>
		</li>
	<?php endforeach; ?>
</ul>

The same content is in 3 releases, Joomla 4.0.0-beta6 to 4.0.0-rc1. See them all, or every version of this file.