芝麻web文件管理V1.00
编辑当前文件:/home2/sdektunc/.trash/modules.4/mod_banners/mod_banners.php
* @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; use Joomla\CMS\Helper\ModuleHelper; use Joomla\Component\Banners\Administrator\Helper\BannersHelper as BannersComponentHelper; use Joomla\Module\Banners\Site\Helper\BannersHelper; $headerText = trim($params->get('header_text')); $footerText = trim($params->get('footer_text')); BannersComponentHelper::updateReset(); $model = $app->bootComponent('com_banners')->getMVCFactory()->createModel('Banners', 'Site', ['ignore_request' => true]); $list = BannersHelper::getList($params, $model, $app); require ModuleHelper::getLayoutPath('mod_banners', $params->get('layout', 'default'));