/modules/mod_articles_popular/mod_articles_popular.php
https://bitbucket.org/eternaware/joomus · PHP · 18 lines · 6 code · 4 blank · 8 comment · 0 complexity · 53aad775d7d4148247f5661a860e3a0e MD5 · raw file
- <?php
- /**
- * @package Joomla.Site
- * @subpackage mod_articles_popular
- *
- * @copyright Copyright (C) 2005 - 2012 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 syndicate functions only once
- require_once __DIR__ . '/helper.php';
- $list = modArticlesPopularHelper::getList($params);
- $moduleclass_sfx = htmlspecialchars($params->get('moduleclass_sfx'));
- require JModuleHelper::getLayoutPath('mod_articles_popular', $params->get('layout', 'default'));