CoreFiles by mySites.guru
mod_latestactions.php28 lines, 727 bytes, from Joomla_3.9.0-Stable-Full_Package.zip
Raw History Compare with 3.8.13
md5
f23b333f2e824bba17f2f9e42ea22222
sha1
381ab24683cadc59ef22fa2572cd29aac7190f6c
sha256
e2df47050225a9e8174ad0d17fb18bd3de50491afd7a4cad5ee4ce23ef2a191f
<?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 = ModLatestHelper::getTitle($params);
}

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

The same content is in 4 releases, Joomla 3.9.0-beta4 to 3.9.0. See them all, or every version of this file.