CoreFiles by mySites.guru
default.php32 lines, 1,131 bytes, from Joomla_4.0.0-beta7-Beta-Full_Package.zip
Raw History Compare with 4.0.0-beta6
md5
70e83d2de0346dd4fce85fe93313227e
sha1
8d46ae459fb943bc6c2d7808aeec6d2d357409d0
sha256
edc56b41edfce45f3bba9ee0f11479b08e570eca04f9317fc73a5c63408db214
<?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');
?>
<?php if ($app->getIdentity()->authorise('core.manage', 'com_postinstall')) : ?>
	<div class="header-item-content">
		<a class="d-flex flex-column <?php echo ($hideLinks ? 'disabled' : ''); ?>"
			href="<?php echo Route::_('index.php?option=com_postinstall&eid=' . $joomlaFilesExtensionId); ?>" title="<?php echo Text::_('MOD_POST_INSTALLATION_MESSAGES'); ?>">
			<div class="d-flex align-items-end mx-auto">
				<span class="icon-bell" aria-hidden="true"></span>
				<?php if (count($messages) > 0) : ?>
					<span class="badge bg-danger"><?php echo count($messages); ?></span>
				<?php endif; ?>
			</div>
			<div class="tiny">
				<?php echo Text::_('MOD_POST_INSTALLATION_MESSAGES'); ?>
			</div>
		</a>
	</div>
<?php endif; ?>

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