CoreFiles by mySites.guru
default.php36 lines, 1,167 bytes, from Joomla_4.2.3-Stable-Full_Package.zip
Raw History Compare with 4.2.2
md5
29e73fef0db4f55cf5c2d534d206621b
sha1
5ddc618dd32f3db7e13da75befd1dd81c3f5d528
sha256
66480d89eab021a1e9fa063250becbca3ac023a9e226f68c01e19686a9b4a6b4
<?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->input->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 19 releases, Joomla 4.2.0-beta3 to 4.2.9. See them all, or every version of this file.