- md5
- ded2c00ca8753667ad95e1ab6c601ab5
- sha1
- 0e32ddc08b3c06562026c38bdf6d9172e0a5000b
- sha256
- 34de4d2db99c2575e0ee8c7e168bcb7cd4ca91f0c02b6ed441d341b058c19326
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
<?php
/**
* @package Joomla.Administrator
* @subpackage mod_post_installation_messages
*
* @copyright Copyright (C) 2005 - 2019 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 dropdown d-flex">
<button class="dropdown-toggle d-flex flex-column align-items-stretch <?php echo ($hideLinks ? 'disabled' : ''); ?>" data-toggle="dropdown" type="button" <?php echo ($hideLinks ? 'disabled' : ''); ?>
title="<?php echo Text::_('MOD_POST_INSTALLATION_MESSAGES'); ?>">
<div class="d-flex align-items-end mx-auto">
<span class="fa fa-bell" aria-hidden="true"></span>
</div>
<div class="tiny">
<?php echo Text::_('MOD_POST_INSTALLATION_MESSAGES'); ?>
</div>
<span class="fa fa-angle-down" aria-hidden="true"></span>
<?php if (count($messages) > 0) : ?>
<span class="badge badge-pill badge-danger"><?php echo count($messages); ?></span>
<?php endif; ?>
</button>
<?php if (!$hideLinks) : ?>
<div class="dropdown-menu dropdown-menu-right dropdown-notifications border-0">
<div class="dropdown-header">
<?php echo Text::_('MOD_POST_INSTALLATION_MESSAGES'); ?>
</div>
<?php if (empty($messages)) : ?>
<div class="dropdown-item">
<a href="<?php echo Route::_('index.php?option=com_postinstall&eid=' . $joomlaFilesExtensionId); ?>">
<?php echo Text::_('COM_POSTINSTALL_LBL_NOMESSAGES_TITLE'); ?>
</a>
</div>
<?php endif; ?>
<?php foreach ($messages as $message) : ?>
<div class="dropdown-item">
<?php $route = 'index.php?option=com_postinstall&eid=' . $joomlaFilesExtensionId; ?>
<?php $title = Text::_($message->title_key); ?>
<a href="<?php echo Route::_($route); ?>" title="<?php echo $title; ?>">
<?php echo $title; ?>
</a>
</div>
<?php endforeach; ?>
</div>
<?php endif; ?>
</div>
<?php endif; ?>
No other release has this exact content. See every version of this file.