diff --git a/components/com_wrapper/views/wrapper/tmpl/default.php b/components/com_wrapper/views/wrapper/tmpl/default.php index e6703af18a0d1..844ec1a36ea31 100644 --- a/components/com_wrapper/views/wrapper/tmpl/default.php +++ b/components/com_wrapper/views/wrapper/tmpl/default.php @@ -28,10 +28,10 @@ id="blockrandom" name="iframe" src="escape($this->wrapper->url); ?>" - width="escape($this->params->get('width')); ?>" - height="escape($this->params->get('height')); ?>" - scrolling="escape($this->params->get('scrolling')); ?>" - frameborder="escape($this->params->get('frameborder', 1)); ?>" + style="width: escape($this->params->get('width')); ?>; + height: escape($this->params->get('height')); ?>; + overflow: escape($this->params->get('overflow')); ?>; + border: escape($this->params->get('border')); ?>;" escape($this->params->get('page_heading'))) : ?> title="escape($this->params->get('page_heading')); ?>" diff --git a/components/com_wrapper/views/wrapper/tmpl/default.xml b/components/com_wrapper/views/wrapper/tmpl/default.xml index f0c1e350de42e..520ed57e3fd30 100644 --- a/components/com_wrapper/views/wrapper/tmpl/default.xml +++ b/components/com_wrapper/views/wrapper/tmpl/default.xml @@ -29,14 +29,14 @@
- - + + @@ -51,10 +51,10 @@ @@ -88,15 +88,15 @@ - - + +
diff --git a/modules/mod_wrapper/helper.php b/modules/mod_wrapper/helper.php index 37e9fb7c3c075..09835bab140db 100644 --- a/modules/mod_wrapper/helper.php +++ b/modules/mod_wrapper/helper.php @@ -28,8 +28,8 @@ class ModWrapperHelper public static function getParams(&$params) { $params->def('url', ''); - $params->def('scrolling', 'auto'); - $params->def('height', '200'); + $params->def('overflow', 'auto'); + $params->def('height', '200px'); $params->def('height_auto', '0'); $params->def('width', '100%'); $params->def('add', '1'); diff --git a/modules/mod_wrapper/mod_wrapper.php b/modules/mod_wrapper/mod_wrapper.php index 5caea9455544f..a13d8a4fc50af 100644 --- a/modules/mod_wrapper/mod_wrapper.php +++ b/modules/mod_wrapper/mod_wrapper.php @@ -19,9 +19,9 @@ $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'); +$overflow = htmlspecialchars($params->get('overflow'), ENT_COMPAT, 'UTF-8'); $moduleclass_sfx = htmlspecialchars($params->get('moduleclass_sfx'), ENT_COMPAT, 'UTF-8'); -$frameborder = htmlspecialchars($params->get('frameborder'), ENT_COMPAT, 'UTF-8'); +$border = htmlspecialchars($params->get('border'), ENT_COMPAT, 'UTF-8'); $ititle = $module->title; $id = $module->id; diff --git a/modules/mod_wrapper/mod_wrapper.xml b/modules/mod_wrapper/mod_wrapper.xml index 3c3639956e627..1efbce2d93bfb 100644 --- a/modules/mod_wrapper/mod_wrapper.xml +++ b/modules/mod_wrapper/mod_wrapper.xml @@ -44,15 +44,15 @@ - - + + - - + +