CoreFiles by mySites.guru
mod_popular.php24 lines, 676 bytes, from Joomla_3.10.0-alpha6-Alpha-Full_Package.zip
Raw History Compare with 3.10.0-alpha5
md5
7f9572c8b554c083af11519e24b585d0
sha1
01ccf964dc124351a70814e81b487c0322770e9b
sha256
703237eaaf49f492795b8092d1c9be1872bdfaa6c28369300dcbedae4b4b06ea
<?php
/**
 * @package     Joomla.Administrator
 * @subpackage  mod_popular
 *
 * @copyright   (C) 2005 Open Source Matters, Inc. <https://www.joomla.org>
 * @license     GNU General Public License version 2 or later; see LICENSE.txt
 */

defined('_JEXEC') or die;

// Include the mod_popular functions only once.
JLoader::register('ModPopularHelper', __DIR__ . '/helper.php');

// Get module data.
$list = ModPopularHelper::getList($params);

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

// Render the module
require JModuleHelper::getLayoutPath('mod_popular', $params->get('layout', 'default'));

The same content is in 8 releases, Joomla 3.10.0-alpha4 to 3.10.0-rc2. See them all, or every version of this file.