CoreFiles by mySites.guru
default.php36 lines, 1,070 bytes, from Joomla_4.2.0-beta2-Beta-Full_Package.zip
Raw History Compare with 4.2.0-beta1
md5
c521fc572637358e5f8902bf86f8867c
sha1
f9c3d2ea462c2592fcadab4183133b4868f97223
sha256
75198cfe0dea4d0bcb420205a1192237ea684e806cbd09d46408490c69daa4d2
<?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 48 releases, Joomla 4.0.0-rc2 to 4.2.0-beta2. See them all, or every version of this file.