CoreFiles by mySites.guru
emptystate.php27 lines, 1,020 bytes, from Joomla_4.1.2-Stable-Full_Package.zip
Raw History Compare with 4.1.1
md5
8807e6dd3e4c2c870c4c80ccd1950fbc
sha1
1ef633b6155967ab13cb249cff034d36d3126a61
sha256
887514fc3d967d63fc3e2c364e881aee26df8d320eca6b8e256031f4ec0257bb
<?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 46 releases, Joomla 4.0.0-rc4 to 4.2.0-beta2. See them all, or every version of this file.