CoreFiles by mySites.guru
default.php32 lines, 1,150 bytes, from Joomla_4.0.0-beta5-Beta-Full_Package.zip
Raw History Compare with 4.0.0-beta4
md5
c8338e73fc1fbe1d72a39983e015042e
sha1
eb1a14f3be49f67daf733316370f3165658f5a51
sha256
c12a5651f852989f61418eaa755ff527c3dcd407ce95b7122cc96e467bfbc487
<?php
/**
 * @package     Joomla.Administrator
 * @subpackage  mod_post_installation_messages
 *
 * @copyright   Copyright (C) 2005 - 2020 Open Source Matters, Inc. All rights reserved.
 * @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="fas fa-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; ?>

The same content is in 5 releases, Joomla 4.0.0-beta to 4.0.0-beta5. See them all, or every version of this file.