CoreFiles by mySites.guru
mod_privacy_dashboard.php30 lines, 1,035 bytes, from Joomla_3.10.9-Stable-Full_Package.zip
Raw History Compare with 3.10.8
md5
51536ff4692562accee7b1a9c91f802d
sha1
082cbaded3493571a8e03925534f1ce8b6b5418d
sha256
36c99ae396422ddc75aa4a6bbbf23fbf1fc73a9d0e2ee4e1508dc2d3d1df1c05
<?php
/**
 * @package     Joomla.Administrator
 * @subpackage  mod_privacy_dashboard
 *
 * @copyright   (C) 2018 Open Source Matters, Inc. <https://www.joomla.org>
 * @license     GNU General Public License version 2 or later; see LICENSE.txt
 */

defined('_JEXEC') or die;

// Only super user can view this data
if (!JFactory::getUser()->authorise('core.admin'))
{
	return;
}

// Load the privacy component language file.
$lang = JFactory::getLanguage();
$lang->load('com_privacy', JPATH_ADMINISTRATOR, null, false, true)
	|| $lang->load('com_privacy', JPATH_ADMINISTRATOR . '/components/com_privacy', null, false, true);

JHtml::addIncludePath(JPATH_ADMINISTRATOR . '/components/com_privacy/helpers/html');

JLoader::register('ModPrivacyDashboardHelper', __DIR__ . '/helper.php');

$list            = ModPrivacyDashboardHelper::getData();
$moduleclass_sfx = htmlspecialchars($params->get('moduleclass_sfx', ''), ENT_COMPAT, 'UTF-8');

require JModuleHelper::getLayoutPath('mod_privacy_dashboard', $params->get('layout', 'default'));

The same content is in 13 releases, Joomla 3.10.6-rc1 to 3.10.12. See them all, or every version of this file.