Spade
Mini Shell
| Directory:~$ /home/lmsyaran/public_html/joomla5/components/com_wrapper/tmpl/wrapper/ |
| [Home] [System Details] [Kill Me] |
<?php
/**
* @package Joomla.Site
* @subpackage com_wrapper
*
* @copyright (C) 2006 Open Source Matters, Inc.
<https://www.joomla.org>
* @license GNU General Public License version 2 or later; see
LICENSE.txt
*/
defined('_JEXEC') or die;
use Joomla\CMS\Language\Text;
$this->document->getWebAssetManager()
->registerAndUseScript('com_wrapper.iframe',
'com_wrapper/iframe-height.min.js', [], ['defer' =>
true]);
?>
<div class="com-wrapper contentpane">
<?php if ($this->params->get('show_page_heading')) :
?>
<div class="page-header">
<h1>
<?php if
($this->escape($this->params->get('page_heading'))) :
?>
<?php echo
$this->escape($this->params->get('page_heading')); ?>
<?php else : ?>
<?php echo
$this->escape($this->params->get('page_title')); ?>
<?php endif; ?>
</h1>
</div>
<?php endif; ?>
<iframe <?php echo $this->wrapper->load; ?>
id="blockrandom"
name="iframe"
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')); ?>"
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'));
?>"
<?php else : ?>
title="<?php echo
$this->escape($this->params->get('page_title'));
?>"
<?php endif; ?>
class="com-wrapper__iframe wrapper <?php echo
$this->pageclass_sfx; ?>">
<?php echo Text::_('COM_WRAPPER_NO_IFRAMES'); ?>
</iframe>
</div>