CoreFiles by mySites.guru
emptystate.php27 lines, 787 bytes, from Joomla_4.2.0-beta2-Beta-Full_Package.zip
Raw History Compare with 4.2.0-beta1
md5
85cc39618b19034b7742f6db51f1829e
sha1
fc8e276f2afe9563a71522c0cc7d1c8837edb021
sha256
e3bbdfc6940a74132f2349cdfcebce217f2831a5513014593dc1b62bf2572051
<?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/Help40: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 49 releases, Joomla 4.0.0-rc1 to 4.2.0-beta2. See them all, or every version of this file.