mirror of
https://github.com/joomla/joomla-cms.git
synced 2024-06-27 07:33:41 +00:00
[4] deprecated iframe attributes (#32913)
Co-authored-by: Quy <quy@fluxbb.org>
This commit is contained in:
parent
abd251b72a
commit
ca53fb7c85
|
@ -6,12 +6,9 @@
|
|||
COM_WRAPPER="Wrapper"
|
||||
COM_WRAPPER_FIELD_ADD_DESC="By default, http:// will be added unless it detects http:// or https:// in the URL you provide. This allows you to switch off this functionality."
|
||||
COM_WRAPPER_FIELD_ADD_LABEL="Auto Add"
|
||||
COM_WRAPPER_FIELD_FRAME_LABEL="Frame Border"
|
||||
COM_WRAPPER_FIELD_HEIGHT_LABEL="Height"
|
||||
COM_WRAPPER_FIELD_HEIGHTAUTO_LABEL="Auto Height"
|
||||
COM_WRAPPER_FIELD_LABEL_SCROLLBARSPARAMS="Scroll Bar Parameters"
|
||||
COM_WRAPPER_FIELD_LAZYLOADING_LABEL="Lazy Loading"
|
||||
COM_WRAPPER_FIELD_SCROLLBARS_LABEL="Scroll Bars"
|
||||
COM_WRAPPER_FIELD_URL_LABEL="URL"
|
||||
COM_WRAPPER_FIELD_VALUE_AUTO="Auto"
|
||||
COM_WRAPPER_XML_DESCRIPTION="Displays an iframe to wrap an external page or site into Joomla!"
|
||||
|
|
|
@ -33,8 +33,6 @@ $this->document->getWebAssetManager()
|
|||
src="<?php echo $this->escape($this->wrapper->url); ?>"
|
||||
width="<?php echo $this->escape($this->params->get('width')); ?>"
|
||||
height="<?php echo $this->escape($this->params->get('height')); ?>"
|
||||
scrolling="<?php echo $this->escape($this->params->get('scrolling')); ?>"
|
||||
frameborder="<?php echo $this->escape($this->params->get('frameborder', 1)); ?>"
|
||||
loading="<?php echo $this->params->get('lazyloading', 'lazy'); ?>"
|
||||
<?php if ($this->escape($this->params->get('page_heading'))) : ?>
|
||||
title="<?php echo $this->escape($this->params->get('page_heading')); ?>"
|
||||
|
|
|
@ -27,18 +27,6 @@
|
|||
|
||||
<!-- Scroll. -->
|
||||
<fieldset name="basic" label="COM_WRAPPER_FIELD_LABEL_SCROLLBARSPARAMS">
|
||||
<field
|
||||
name="scrolling"
|
||||
type="list"
|
||||
label="COM_WRAPPER_FIELD_SCROLLBARS_LABEL"
|
||||
default="auto"
|
||||
validate="options"
|
||||
>
|
||||
<option value="no">JNO</option>
|
||||
<option value="yes">JYES</option>
|
||||
<option value="auto">COM_WRAPPER_FIELD_VALUE_AUTO</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="width"
|
||||
type="text"
|
||||
|
@ -80,16 +68,6 @@
|
|||
<option value="1">JYES</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="frameborder"
|
||||
type="radio"
|
||||
label="COM_WRAPPER_FIELD_FRAME_LABEL"
|
||||
layout="joomla.form.field.radio.switcher"
|
||||
default="1"
|
||||
>
|
||||
<option value="0">JNO</option>
|
||||
<option value="1">JYES</option>
|
||||
</field>
|
||||
<field
|
||||
name="lazyloading"
|
||||
type="radio"
|
||||
|
|
|
@ -6,13 +6,10 @@
|
|||
MOD_WRAPPER="Wrapper"
|
||||
MOD_WRAPPER_FIELD_ADD_LABEL="Auto Add http://"
|
||||
MOD_WRAPPER_FIELD_AUTOHEIGHT_LABEL="Auto Height"
|
||||
MOD_WRAPPER_FIELD_FRAME_LABEL="Frame Border"
|
||||
MOD_WRAPPER_FIELD_HEIGHT_LABEL="Height"
|
||||
MOD_WRAPPER_FIELD_LAZYLOADING_LABEL="Lazy Loading"
|
||||
MOD_WRAPPER_FIELD_SCROLL_LABEL="Scroll Bars"
|
||||
MOD_WRAPPER_FIELD_TARGET_LABEL="Target Name"
|
||||
MOD_WRAPPER_FIELD_URL_LABEL="URL"
|
||||
MOD_WRAPPER_FIELD_VALUE_AUTO="Auto"
|
||||
MOD_WRAPPER_FIELD_WIDTH_LABEL="Width"
|
||||
MOD_WRAPPER_NO_IFRAMES="No iframes"
|
||||
MOD_WRAPPER_XML_DESCRIPTION="This module shows an iframe window to specified location."
|
||||
|
|
|
@ -19,8 +19,6 @@ $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');
|
||||
$frameborder = htmlspecialchars($params->get('frameborder'), ENT_COMPAT, 'UTF-8');
|
||||
$ititle = $module->title;
|
||||
$id = $module->id;
|
||||
$lazyloading = $params->get('lazyloading', 'lazy');
|
||||
|
|
|
@ -43,18 +43,6 @@
|
|||
<option value="1">JYES</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="scrolling"
|
||||
type="list"
|
||||
label="MOD_WRAPPER_FIELD_SCROLL_LABEL"
|
||||
default="auto"
|
||||
validate="options"
|
||||
>
|
||||
<option value="auto">MOD_WRAPPER_FIELD_VALUE_AUTO</option>
|
||||
<option value="no">JNO</option>
|
||||
<option value="yes">JYES</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="width"
|
||||
type="text"
|
||||
|
@ -83,18 +71,6 @@
|
|||
<option value="1">JYES</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="frameborder"
|
||||
type="radio"
|
||||
layout="joomla.form.field.radio.switcher"
|
||||
label="MOD_WRAPPER_FIELD_FRAME_LABEL"
|
||||
default="1"
|
||||
filter="integer"
|
||||
>
|
||||
<option value="0">JNO</option>
|
||||
<option value="1">JYES</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="target"
|
||||
type="text"
|
||||
|
|
|
@ -22,8 +22,6 @@ $wa->registerAndUseScript('com_wrapper.iframe', 'com_wrapper/iframe-height.min.j
|
|||
src="<?php echo $url; ?>"
|
||||
width="<?php echo $width; ?>"
|
||||
height="<?php echo $height; ?>"
|
||||
scrolling="<?php echo $scroll; ?>"
|
||||
frameborder="<?php echo $frameborder; ?>"
|
||||
loading="<?php echo $lazyloading; ?>"
|
||||
title="<?php echo $ititle; ?>"
|
||||
class="mod-wrapper wrapper">
|
||||
|
|
Loading…
Reference in New Issue
Block a user