CoreFiles by mySites.guru
mod_banners.php23 lines, 835 bytes, from Joomla_3.10.8-Stable-Full_Package.zip
Raw History Compare with 3.10.7
md5
f0848fda50adffe6f714547d8ad5c7c2
sha1
768c085b4737ba2c63827c1d7c202c3aefc666eb
sha256
cddee0009b655469ea8476de814fb7a8105fc1c860398cb82a66f071953b4226
<?php
/**
 * @package     Joomla.Site
 * @subpackage  mod_banners
 *
 * @copyright   (C) 2005 Open Source Matters, Inc. <https://www.joomla.org>
 * @license     GNU General Public License version 2 or later; see LICENSE.txt
 */

defined('_JEXEC') or die;

// Include the banners functions only once
JLoader::register('ModBannersHelper', __DIR__ . '/helper.php');

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

JLoader::register('BannersHelper', 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 13 releases, Joomla 3.10.6-rc1 to 3.10.12. See them all, or every version of this file.