/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

  1. <?php
  2. /**
  3. * @package Joomla.Site
  4. * @subpackage mod_articles_popular
  5. *
  6. * @copyright Copyright (C) 2005 - 2012 Open Source Matters, Inc. All rights reserved.
  7. * @license GNU General Public License version 2 or later; see LICENSE.txt
  8. */
  9. defined('_JEXEC') or die;
  10. // Include the syndicate functions only once
  11. require_once __DIR__ . '/helper.php';
  12. $list = modArticlesPopularHelper::getList($params);
  13. $moduleclass_sfx = htmlspecialchars($params->get('moduleclass_sfx'));
  14. require JModuleHelper::getLayoutPath('mod_articles_popular', $params->get('layout', 'default'));