CoreFiles by mySites.guru
mod_latestactions.php28 lines, 734 bytes, from Joomla_3.9.1-Stable-Full_Package.zip
Raw History Compare with 3.9.0
md5
0ee6d82f0a2582fdb167ecf942713e6d
sha1
a955ad71358cbbf5076f2e047a3fae6218e4c9f4
sha256
2f6f0053c9e711ae7038d9a0a235a7cd6ddf729bc69b5ab971590c14bb9135b0
<?php
/**
 * @package     Joomla.Administrator
 * @subpackage  mod_latestactions
 *
 * @copyright   Copyright (C) 2005 - 2018 Open Source Matters, Inc. All rights reserved.
 * @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;
}

// Include dependencies.
JLoader::register('ModLatestActionsHelper', __DIR__ . '/helper.php');

$list = ModLatestActionsHelper::getList($params);

if ($params->get('automatic_title', 0))
{
	$module->title = ModLatestActionsHelper::getTitle($params);
}

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

The same content is in 2 releases, Joomla 3.9.1-rc to 3.9.1. See them all, or every version of this file.