[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/administrator/components/com_installer/tmpl/warnings/ -> default.php (source)

   1  <?php
   2  
   3  /**
   4   * @package     Joomla.Administrator
   5   * @subpackage  com_installer
   6   *
   7   * @copyright   (C) 2008 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\HTML\HTMLHelper;
  14  use Joomla\CMS\Language\Text;
  15  use Joomla\CMS\Router\Route;
  16  
  17  ?>
  18  <div id="installer-warnings" class="clearfix">
  19      <form action="<?php echo Route::_('index.php?option=com_installer&view=warnings'); ?>" method="post" name="adminForm" id="adminForm">
  20          <div class="row">
  21              <div class="col-md-12">
  22                  <div id="j-main-container" class="j-main-container">
  23                      <?php if (count($this->messages)) : ?>
  24                          <?php foreach ($this->messages as $message) : ?>
  25                              <div class="alert alert-warning">
  26                                  <h4 class="alert-heading">
  27                                      <span class="icon-exclamation-triangle" aria-hidden="true"></span>
  28                                      <span class="visually-hidden"><?php echo Text::_('WARNING'); ?></span>
  29                                      <?php echo $message['message']; ?>
  30                                  </h4>
  31                                  <p class="mb-0"><?php echo $message['description']; ?></p>
  32                              </div>
  33                          <?php endforeach; ?>
  34                          <div class="alert alert-info">
  35                              <h4 class="alert-heading">
  36                                  <span class="icon-info-circle" aria-hidden="true"></span>
  37                                  <span class="visually-hidden"><?php echo Text::_('INFO'); ?></span>
  38                                  <?php echo Text::_('COM_INSTALLER_MSG_WARNINGFURTHERINFO'); ?>
  39                              </h4>
  40                              <p class="mb-0"><?php echo Text::_('COM_INSTALLER_MSG_WARNINGFURTHERINFODESC'); ?></p>
  41                          </div>
  42                      <?php else : ?>
  43                          <div class="alert alert-info">
  44                              <span class="icon-info-circle" aria-hidden="true"></span>
  45                              <span class="visually-hidden"><?php echo Text::_('INFO'); ?></span>
  46                              <?php echo Text::_('COM_INSTALLER_MSG_WARNINGS_NONE'); ?>
  47                          </div>
  48                      <?php endif; ?>
  49                      <div>
  50                          <input type="hidden" name="boxchecked" value="0">
  51                          <?php echo HTMLHelper::_('form.token'); ?>
  52                      </div>
  53                  </div>
  54              </div>
  55          </div>
  56      </form>
  57  </div>


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