CoreFiles by mySites.guru
default_navigation.php33 lines, 1,163 bytes, from Joomla_4.2.2-Stable-Full_Package.zip
Raw History Compare with 4.2.1
md5
c4999515dfe202e0ef28c7a423a94964
sha1
638b70ea40905b864eac57a8f9ee9b5642ccea54
sha256
14ca621e62eb3fa66056801d4f8ec503861aa96844a473dd83ad3279de63f159
<?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 class="item"><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 = ' active';
        }
        ?>
        <li class="item<?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 97 releases, Joomla 4.2.0-beta3 to 5.1.0-alpha4. See them all, or every version of this file.