0fe28e83ee
Universal: PR Check / Branch Policy (pull_request) Failing after 2s
Generic: Repo Health / Access control (pull_request) Successful in 1s
Generic: Repo Health / Site Health (pull_request) Has been skipped
Joomla: Extension CI / Release Readiness Check (pull_request) Failing after 6s
Universal: Secret Scanning / Gitleaks Secret Scan (pull_request) Successful in 9s
Universal: PR Check / Validate PR (pull_request) Failing after 16s
Generic: Project CI / Lint & Validate (pull_request) Successful in 32s
Joomla: Extension CI / Lint & Validate (pull_request) Failing after 44s
Universal: Pre-Release / Build Pre-Release (${{ inputs.stability || 'development' }}) (pull_request_target) Failing after 8s
RC Revert / Rename rc/ back to dev/ (pull_request) Has been skipped
Branch Cleanup / Delete merged branch (pull_request) Successful in 2s
Universal: Workflow Sync Trigger / Sync workflows to live repos (pull_request) Failing after 3s
Universal: Build & Release / Promote to RC (pull_request) Has been skipped
Generic: Project CI / Tests (pull_request) Has been cancelled
Joomla: Extension CI / Tests (PHP 8.2) (pull_request) Has been cancelled
Joomla: Extension CI / Tests (PHP 8.3) (pull_request) Has been cancelled
Joomla: Extension CI / PHPStan Analysis (pull_request) Has been cancelled
Joomla: Extension CI / Build RC Pre-Release (pull_request) Has been cancelled
Universal: PR Check / Build RC Package (pull_request) Has been cancelled
Universal: PR Check / Report Issues (pull_request) Has been cancelled
Generic: Repo Health / Scripts governance (pull_request) Has been cancelled
Generic: Repo Health / Repository health (pull_request) Has been cancelled
Generic: Repo Health / Report Issues (pull_request) Has been cancelled
40 lines
1.6 KiB
PHP
40 lines
1.6 KiB
PHP
<?php
|
|
/**
|
|
* Copyright (C) 2026 Moko Consulting <hello@mokoconsulting.tech>
|
|
*
|
|
* This file is part of a Moko Consulting project.
|
|
*
|
|
* SPDX-License-Identifier: GPL-3.0-or-later
|
|
*/
|
|
|
|
/**
|
|
* Default layout override for mod_wrapper.
|
|
* Adds showtitle support.
|
|
*/
|
|
|
|
defined('_JEXEC') or die;
|
|
|
|
$suffix = htmlspecialchars($params->get('moduleclass_sfx', ''), ENT_COMPAT, 'UTF-8');
|
|
$headerTag = htmlspecialchars($params->get('header_tag', 'h3'), ENT_COMPAT, 'UTF-8');
|
|
$headerClass = htmlspecialchars($params->get('header_class', ''), ENT_COMPAT, 'UTF-8');
|
|
$url = htmlspecialchars($params->get('url', ''), ENT_COMPAT, 'UTF-8');
|
|
$width = htmlspecialchars($params->get('width', '100%'), ENT_COMPAT, 'UTF-8');
|
|
$height = htmlspecialchars($params->get('height', '500'), ENT_COMPAT, 'UTF-8');
|
|
$scrolling = $params->get('scrolling', 'auto');
|
|
$frameborder = $params->get('frameborder', 0) ? '1' : '0';
|
|
?>
|
|
<div class="mod-wrapper<?php echo $suffix ? ' ' . $suffix : ''; ?>">
|
|
<?php if ($module->showtitle) : ?>
|
|
<<?php echo $headerTag; ?> class="mod-wrapper__title<?php echo $headerClass ? ' ' . $headerClass : ''; ?>"><?php echo $module->title; ?></<?php echo $headerTag; ?>>
|
|
<?php endif; ?>
|
|
<iframe src="<?php echo $url; ?>"
|
|
width="<?php echo $width; ?>"
|
|
height="<?php echo $height; ?>"
|
|
scrolling="<?php echo $scrolling; ?>"
|
|
frameborder="<?php echo $frameborder; ?>"
|
|
title="<?php echo htmlspecialchars($module->title, ENT_COMPAT, 'UTF-8'); ?>"
|
|
class="mod-wrapper__iframe"
|
|
loading="lazy">
|
|
</iframe>
|
|
</div>
|