CoreFiles by mySites.guru
default.php32 lines, 1,134 bytes, from Joomla_4.0.0-beta6-Beta-Full_Package.zip
Raw History Compare with 4.0.0-beta5
md5
f20acdbd4bbb9750ff92e0a726fcfe92
sha1
dd9788d1c4fae970d0afb91d95a2178a4e94976f
sha256
a265b7cc915a376211c95df2620443e03ffc7906ba2b61addb3660d6dea4375e
<?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 badge-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.