CoreFiles by mySites.guru
emptystate.php27 lines, 804 bytes, from Joomla_5.2.4-Stable-Full_Package.zip
Raw History Compare with 5.2.3
md5
f27d17e59173d61ea292d33150de71d0
sha1
a54b75492768409d016155b0efa561d3d1f4fe27
sha256
0ae2b9fe59d7a24033a848ffc794560f9aaef96bc2e1fb759ee88e2fc8b58673
<?php

/**
 * @package     Joomla.Administrator
 * @subpackage  com_privacy
 *
 * @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\Factory;
use Joomla\CMS\Layout\LayoutHelper;

$displayData = [
    'textPrefix' => 'COM_PRIVACY_REQUESTS',
    'formURL'    => 'index.php?option=com_privacy&view=requests',
    'helpURL'    => 'https://docs.joomla.org/Special:MyLanguage/Help5.x:Privacy:_Information_Requests',
    'icon'       => 'icon-lock',
];

if (Factory::getApplication()->get('mailonline', 1)) {
    $displayData['createURL'] = 'index.php?option=com_privacy&task=request.add';
}

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

The same content is in 82 releases, Joomla 5.1.1-rc1 to 6.0.0-alpha3. See them all, or every version of this file.