CoreFiles by mySites.guru
emptystate.php28 lines, 1,045 bytes, from Joomla_4.2.6-Stable-Full_Package.zip
Raw History Compare with 4.2.5
md5
87596ead6304e7380c6ffd53ab81426c
sha1
61dd6eaadfa5df5d0cd1dfbd9ed77a22a2c1f159
sha256
14a0247341af944d9e39fd12e77e80240acc346ba5b43e963a09bddc89acc538
<?php

/**
 * @package     Joomla.Administrator
 * @subpackage  com_installer
 *
 * @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\Language\Text;
use Joomla\CMS\Layout\LayoutHelper;
use Joomla\CMS\Session\Session;

$displayData = [
    'textPrefix' => 'COM_INSTALLER',
    'formURL'    => 'index.php?option=com_installer&task=discover.refresh',
    'helpURL'    => 'https://docs.joomla.org/Special:MyLanguage/Help4.x:Extensions:_Discover',
    'icon'       => 'icon-puzzle-piece install',
    'createURL'  => 'index.php?option=com_installer&task=discover.refresh&' . Session::getFormToken() . '=1',
    'content'    => Text::_('COM_INSTALLER_MSG_DISCOVER_DESCRIPTION'),
    'title'      => Text::_('COM_INSTALLER_EMPTYSTATE_DISCOVER_TITLE'),
    'btnadd'     => Text::_('COM_INSTALLER_EMPTYSTATE_DISCOVER_BUTTON_ADD'),
];

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

The same content is in 23 releases, Joomla 4.2.0-beta3 to 4.3.0-beta3. See them all, or every version of this file.