CoreFiles by mySites.guru
default.php36 lines, 1,172 bytes, from Joomla_5.2.3-Stable-Full_Package.zip
Raw History Compare with 5.2.2
md5
754d6d802702a2d8d9d9c53e69e761e0
sha1
9238c79e4d9747176508037a1096c86fb29bd174
sha256
ad9bbc56077f65f83a80e6a24efb1526e46f41741c76f7c3510064c41c7ecd98
<?php

/**
 * @package     Joomla.Administrator
 * @subpackage  mod_post_installation_messages
 *
 * @copyright   (C) 2019 Open Source Matters, Inc. <https://www.joomla.org>
 * @license     GNU General Public License version 2 or later; see LICENSE.txt
 */

defined('_JEXEC') or die;

use Joomla\CMS\Language\Text;
use Joomla\CMS\Router\Route;

$hideLinks = $app->getInput()->getBool('hidemainmenu');

if ($hideLinks || $messagesCount < 1) {
    return;
}
?>
<?php if ($app->getIdentity()->authorise('core.manage', 'com_postinstall')) : ?>
    <a class="header-item-content"
        href="<?php echo Route::_('index.php?option=com_postinstall&eid=' . $joomlaFilesExtensionId); ?>"
         title="<?php echo Text::_('MOD_POST_INSTALLATION_MESSAGES'); ?>">
        <div class="header-item-icon">
            <div class="w-auto">
                <span class="icon-bell icon-fw" aria-hidden="true"></span>
                <small class="header-item-count"><?php echo $messagesCount; ?></small>
            </div>
        </div>
        <div class="header-item-text">
            <?php echo Text::_('MOD_POST_INSTALLATION_MESSAGES'); ?>
        </div>
    </a>
<?php endif; ?>

The same content is in 214 releases, Joomla 4.3.0-alpha1 to 6.3.0-alpha1. See them all, or every version of this file.