CoreFiles by mySites.guru
outline.php35 lines, 1,046 bytes, from Joomla_6.2.1-Stable-Full_Package.zip
Raw History Compare with 6.2.0
md5
d12881b7635290337b50292649977539
sha1
772321edb8ac16da3a80ae1c86b72896505b1873
sha256
3178e156cb0d6bab02d0e8c0a7d45652a2f175b266fb49fcddc039596a5610af
<?php

/**
 * @package     Joomla.Site
 * @subpackage  Layout
 *
 * @copyright   (C) 2019 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\Factory;
use Joomla\CMS\Language\Text;

Factory::getApplication()->getDocument()
    ->getWebAssetManager()
    ->registerAndUseStyle('layouts.chromes.outline', 'layouts/chromes/outline.css');

$module = $displayData['module'];

?>
<div class="mod-preview">
    <div class="mod-preview-info">
        <div class="mod-preview-position">
            <?php echo Text::sprintf('JGLOBAL_PREVIEW_POSITION', htmlspecialchars((string) $module->position, ENT_QUOTES, 'UTF-8')); ?>
        </div>
        <div class="mod-preview-style">
            <?php echo Text::sprintf('JGLOBAL_PREVIEW_STYLE', htmlspecialchars((string) $module->style, ENT_QUOTES, 'UTF-8')); ?>
        </div>
    </div>
    <div class="mod-preview-wrapper">
        <?php echo $module->content; ?>
    </div>
</div>

The same content is in 3 releases, Joomla 5.4.11 to 6.3.0-alpha1. See them all, or every version of this file.