[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/administrator/modules/mod_post_installation_messages/tmpl/ -> default.php (source)

   1  <?php
   2  
   3  /**
   4   * @package     Joomla.Administrator
   5   * @subpackage  mod_post_installation_messages
   6   *
   7   * @copyright   (C) 2019 Open Source Matters, Inc. <https://www.joomla.org>
   8   * @license     GNU General Public License version 2 or later; see LICENSE.txt
   9   */
  10  
  11  defined('_JEXEC') or die;
  12  
  13  use Joomla\CMS\Language\Text;
  14  use Joomla\CMS\Router\Route;
  15  
  16  $hideLinks = $app->input->getBool('hidemainmenu');
  17  
  18  if ($hideLinks || $messagesCount < 1) {
  19      return;
  20  }
  21  ?>
  22  <?php if ($app->getIdentity()->authorise('core.manage', 'com_postinstall')) : ?>
  23      <a class="header-item-content"
  24          href="<?php echo Route::_('index.php?option=com_postinstall&eid=' . $joomlaFilesExtensionId); ?>"
  25           title="<?php echo Text::_('MOD_POST_INSTALLATION_MESSAGES'); ?>">
  26          <div class="header-item-icon">
  27              <div class="w-auto">
  28                  <span class="icon-bell icon-fw" aria-hidden="true"></span>
  29                  <small class="header-item-count"><?php echo $messagesCount; ?></small>
  30              </div>
  31          </div>
  32          <div class="header-item-text">
  33              <?php echo Text::_('MOD_POST_INSTALLATION_MESSAGES'); ?>
  34          </div>
  35      </a>
  36  <?php endif; ?>


Generated: Wed Sep 7 05:41:13 2022 Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer