CoreFiles by mySites.guru
mod_popular.php24 lines, 665 bytes, from Joomla_3.6.2-Stable-Full_Package.zip
Raw History Compare with 3.6.1
md5
894746663d3c259f2a792e8e68cc01ad
sha1
c071ce097971dafaa84300cfc0c62360a74d1995
sha256
55880d027878b5017895dac187d323131b5c9081daf1d2cd53e239ef825e87c5
<?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.
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 11 releases, Joomla 3.6.1-rc1 to 3.7.0-alpha1. See them all, or every version of this file.