CoreFiles by mySites.guru
default.php36 lines, 1,074 bytes, from Joomla_4.0.0-rc1-Release_Candidate-Full_Package.zip
Raw History Compare with 3.10.12-rc1
md5
650cb0dc534eef7269ce67a3d1ee4f5f
sha1
817a2ec0d3c0c285ab6019804b584ef20ae4c47a
sha256
937fb81031039e160a227c1d58eb5ad7ec812030d2e54118bef9b13d3283e93d
<?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 || count($messages) < 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 count($messages); ?></small>
			</div>
		</div>
		<div class="header-item-text">
			<?php echo Text::_('MOD_POST_INSTALLATION_MESSAGES'); ?>
		</div>
	</a>
<?php endif; ?>

No other release has this exact content. See every version of this file.