CoreFiles by mySites.guru
mod_banners.php23 lines, 787 bytes, from Joomla_3.6.1-Stable-Full_Package.zip
Raw History Compare with 3.6.0
md5
a8be5261b3de7b07f3e61ffd857160fd
sha1
e600fdf3917428087a3b859efcd741a74e69a988
sha256
6707a31e4a5ce21d9cd18ad5fb6ce5bfa7d2e3a4f3433b665be17fd25534ae5f
<?php
/**
 * @package     Joomla.Site
 * @subpackage  mod_banners
 *
 * @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 banners functions only once
require_once __DIR__ . '/helper.php';

$headerText = trim($params->get('header_text'));
$footerText = trim($params->get('footer_text'));

require_once JPATH_ADMINISTRATOR . '/components/com_banners/helpers/banners.php';
BannersHelper::updateReset();
$list = &ModBannersHelper::getList($params);
$moduleclass_sfx = htmlspecialchars($params->get('moduleclass_sfx'), ENT_COMPAT, 'UTF-8');

require JModuleHelper::getLayoutPath('mod_banners', $params->get('layout', 'default'));

The same content is in 10 releases, Joomla 3.6.0-alpha to 3.6.2. See them all, or every version of this file.