CoreFiles by mySites.guru
default_navigation.php35 lines, 1,245 bytes, from Joomla_5.2.2-Stable-Full_Package.zip
Raw History Compare with 5.2.1
md5
03af2ef5077a386227f98a48261d9604
sha1
3f87e64a15bdceffd2b880e74f57eab350f9a037
sha256
b8ec219e65df94c6db5628896663c3fff995b85bb5fd406711f2079be4adecb3
<?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;

/** @var \Joomla\Component\Config\Administrator\View\Component\HtmlView $this */
?>
<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 133 releases, Joomla 5.1.0-beta1 to 6.2.1-rc1. See them all, or every version of this file.