CoreFiles by mySites.guru
emptystate.php38 lines, 1,481 bytes, from Joomla_5.4.2-Stable-Full_Package.zip
Raw History Compare with 5.4.1
md5
1a3a709d76d53ee0aa4e0f84b577f451
sha1
7f9c0fc9bb8279e3523e500b4e0b14a978da70e4
sha256
bd25456e2fa3767c19e16e085005a4e31203c647466e608ba27117dbdb355084
<?php

/**
 * @package     Joomla.Administrator
 * @subpackage  com_postinstall
 *
 * @copyright   (C) 2021 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\HTML\HTMLHelper;
use Joomla\CMS\Language\Text;
use Joomla\CMS\Layout\LayoutHelper;

/** @var \Joomla\Component\Postinstall\Administrator\View\Messages\HtmlView $this */

$adminFormClass = count($this->extension_options) > 1 ? 'form-inline mb-3' : 'visually-hidden';
?>

<form action="index.php" method="post" name="adminForm" class="<?php echo $adminFormClass; ?>" id="adminForm">
    <input type="hidden" name="option" value="com_postinstall">
    <input type="hidden" name="task" value="">
    <?php echo HTMLHelper::_('form.token'); ?>
    <label for="eid" class="me-sm-2"><?php echo Text::_('COM_POSTINSTALL_MESSAGES_FOR'); ?></label>
    <?php echo HTMLHelper::_('select.genericlist', $this->extension_options, 'eid', ['onchange' => 'this.form.submit()', 'class' => 'form-select'], 'value', 'text', $this->eid, 'eid'); ?>
</form>

<?php
$displayData = [
    'textPrefix' => 'COM_POSTINSTALL',
    'formURL'    => 'index.php?option=com_postinstall',
    'icon'       => 'icon-bell',
    'createURL'  => 'index.php?option=com_postinstall&view=messages&task=message.reset&eid=' . $this->eid . '&' . $this->token . '=1',
];

echo LayoutHelper::render('joomla.content.emptystate', $displayData);

The same content is in 136 releases, Joomla 5.1.0-beta1 to 6.3.0-alpha1. See them all, or every version of this file.