CoreFiles by mySites.guru
emptystate.php27 lines, 1,001 bytes, from Joomla_4.0.0-rc3-Release_Candidate-Full_Package.zip
Raw History Compare with 4.0.0-rc2
md5
325e079410d0f38af4f648a6658c4cd8
sha1
cf3cf2dd8eb0e3df7efdbf08bcb2978a51a83b3c
sha256
96e3b56b6779f3f5132ad4795139a4ad4fbcf1b53720584f8f708146e317e8ea
<?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/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 3 releases, Joomla 4.0.0-rc1 to 4.0.0-rc3. See them all, or every version of this file.