File "mod_wrapper.php"

Full Path: /home/asmplong/www/ancien-site-2019/site/modules/mod_wrapper/mod_wrapper.php
File size: 938 bytes
MIME-type: text/x-php
Charset: utf-8

<?php
/**
 * @version		$Id: mod_wrapper.php 20806 2011-02-21 19:44:59Z dextercowley $
 * @package		Joomla.Site
 * @subpackage	mod_wrapper
 * @copyright	Copyright (C) 2005 - 2011 Open Source Matters, Inc. All rights reserved.
 * @license		GNU General Public License version 2 or later; see LICENSE.txt
 */

// no direct access
defined('_JEXEC') or die;

// Include the syndicate functions only once
require_once dirname(__FILE__).'/helper.php';

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

$load	= $params->get('load');
$url	= htmlspecialchars($params->get('url'));
$target = htmlspecialchars($params->get('target'));
$width	= htmlspecialchars($params->get('width'));
$height = htmlspecialchars($params->get('height'));
$scroll = htmlspecialchars($params->get('scrolling'));
$moduleclass_sfx = htmlspecialchars($params->get('moduleclass_sfx'));

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