CoreFiles by mySites.guru
mod_wrapper.php28 lines, 1,210 bytes, from Joomla_3.9.1-Stable-Full_Package.zip
Raw History Compare with 3.9.0
md5
ab6ffd1116672a0926d4104474d7d194
sha1
52562c2c0e554b0fc80539c80641ba13fc38c57b
sha256
0bd5b970a50e0ddb941d779e89ac2c902bba33a2af9e5e122bd4ff7a64febc7b
<?php
/**
 * @package     Joomla.Site
 * @subpackage  mod_wrapper
 *
 * @copyright   Copyright (C) 2005 - 2018 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 wrapper functions only once
JLoader::register('ModWrapperHelper', __DIR__ . '/helper.php');

$params = ModWrapperHelper::getParams($params);

$load            = $params->get('load');
$url             = htmlspecialchars($params->get('url'), ENT_COMPAT, 'UTF-8');
$target          = htmlspecialchars($params->get('target'), ENT_COMPAT, 'UTF-8');
$width           = htmlspecialchars($params->get('width'), ENT_COMPAT, 'UTF-8');
$height          = htmlspecialchars($params->get('height'), ENT_COMPAT, 'UTF-8');
$scroll          = htmlspecialchars($params->get('scrolling'), ENT_COMPAT, 'UTF-8');
$moduleclass_sfx = htmlspecialchars($params->get('moduleclass_sfx'), ENT_COMPAT, 'UTF-8');
$frameborder     = htmlspecialchars($params->get('frameborder'), ENT_COMPAT, 'UTF-8');
$ititle          = $module->title;
$id              = $module->id;

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

The same content is in 29 releases, Joomla 3.8.4-rc to 3.9.1. See them all, or every version of this file.