CoreFiles by mySites.guru
default.php46 lines, 1,863 bytes, from Joomla_5.2.2-Stable-Full_Package.zip
Raw History Compare with 5.2.1
md5
0e85326c7e50d207f068ee053a145b17
sha1
6e295a348b02c6e60c85a02286c6f681257056eb
sha256
c3a41a6fe0e629801e484d92978f53ea3e3c39ee1bf933d44a9554d7369ac6b3
<?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;

/** @var \Joomla\Component\Wrapper\Site\View\Wrapper\HtmlView $this */
$this->getDocument()->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>

The same content is in 117 releases, Joomla 5.2.0-alpha1 to 6.2.1-rc1. See them all, or every version of this file.