CoreFiles by mySites.guru
mod_popular.php24 lines, 639 bytes, from Joomla_3.6.0-beta2-Beta-Full_Package.zip
Raw History Compare with 3.6.0-beta1
md5
837ddb0842337129b8f6ae9e30b2d51c
sha1
228da1d14fc6ee653b1e78c935b84ca101d116a1
sha256
0ff99a9aab21a6e7bfc6842542b14c212353660f5e8f671943a18543686a0ec1
<?php
/**
 * @package     Joomla.Administrator
 * @subpackage  mod_popular
 *
 * @copyright   Copyright (C) 2005 - 2016 Open Source Matters, Inc. All rights reserved.
 * @license     GNU General Public License version 2 or later; see LICENSE.txt
 */

defined('_JEXEC') or die;

// Include the mod_popular functions only once.
require_once __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 18 releases, Joomla 3.5.0-beta2 to 3.6.0. See them all, or every version of this file.