AAAAPK SGB\®)ÕÐ tmpl/.htaccessnu W+A„¶
Order allow,deny
Deny from all
PK SGB\¦V‰ tmpl/index.htmlnu W+A„¶
PK SGB\XC½" tmpl/default.phpnu W+A„¶
PK SGB\‘(¼Jœ œ mod_wrapper.phpnu W+A„¶ 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'));
$frameborder = htmlspecialchars($params->get('frameborder'));
require JModuleHelper::getLayoutPath('mod_wrapper', $params->get('layout', 'default'));
PK SGB\_W8ðÇ Ç mod_wrapper.xmlnu W+A„¶
mod_wrapper
Joomla! Project
October 2004
Copyright (C) 2005 - 2014 Open Source Matters. All rights reserved.
GNU General Public License version 2 or later; see LICENSE.txt
admin@joomla.org
www.joomla.org
2.5.0
MOD_WRAPPER_XML_DESCRIPTION
mod_wrapper.php
tmpl
helper.php
index.html
en-GB.mod_wrapper.ini
en-GB.mod_wrapper.sys.ini
PK SGB\¦V‰
index.htmlnu W+A„¶
PK SGB\®)ÕÐ .htaccessnu W+A„¶
Order allow,deny
Deny from all
PK SGB\‡fŒ Œ
helper.phpnu W+A„¶ def('url', '');
$params->def('scrolling', 'auto');
$params->def('height', '200');
$params->def('height_auto', '0');
$params->def('width', '100%');
$params->def('add', '1');
$params->def('name', 'wrapper');
$url = $params->get('url');
if ($params->get('add'))
{
// adds 'http://' if none is set
if (substr($url, 0, 1) == '/') {
// relative url in component. use server http_host.
$url = 'http://'.$_SERVER['HTTP_HOST'].$url;
}
elseif (!strstr($url, 'http') && !strstr($url, 'https')) {
$url = 'http://'.$url;
}
else {
$url = $url;
}
}
// auto height control
if ($params->def('height_auto')) {
$load = 'onload="iFrameHeight()"';
}
else {
$load = '';
}
$params->set('load', $load);
$params->set('url', $url);
return $params;
}
}
PK SGB\®)ÕÐ tmpl/.htaccessnu W+A„¶ PK SGB\¦V‰ ½ tmpl/index.htmlnu W+A„¶ PK SGB\XC½" tmpl/default.phpnu W+A„¶ PK SGB\‘(¼Jœ œ j mod_wrapper.phpnu W+A„¶ PK SGB\_W8ðÇ Ç E mod_wrapper.xmlnu W+A„¶ PK SGB\¦V‰
K index.htmlnu W+A„¶ PK SGB\®)ÕÐ ¤ .htaccessnu W+A„¶ PK SGB\‡fŒ Œ
\ helper.phpnu W+A„¶ PK h "