CoreFiles by mySites.guru
emptystate.php29 lines, 870 bytes, from Joomla_6.0.2-Stable-Full_Package.zip
Raw History Compare with 6.0.1
md5
ea98aed1698d1c5e5ec8e4f1753058eb
sha1
af0fc3eb536faf3e0ee804e58736f98fb707e811
sha256
d76446b3355603e6d87ddd9145731be2a043dc5b6bcc2bbcaae45d3f11639f2c
<?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',

    'controlFields' => $this->filterForm->renderControlFields(),
];

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 6.0.0-beta1 to 6.3.0-alpha1. See them all, or every version of this file.