* @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; use Joomla\CMS\Router\Route; use Joomla\CMS\Uri\Uri; $module = $displayData['module']; $params = $displayData['params']; $attribs = $displayData['attribs']; if ((string) $module->content === '') { return; } $id = $module->id; // Permission checks $user = Factory::getUser(); $canEdit = $user->authorise('core.edit', 'com_modules.module.' . $id) && $user->authorise('core.manage', 'com_modules'); $canChange = $user->authorise('core.edit.state', 'com_modules.module.' . $id) && $user->authorise('core.manage', 'com_modules'); $moduleTag = $params->get('module_tag', 'div'); $bootstrapSize = (int) $params->get('bootstrap_size', 12); $moduleClass = $bootstrapSize ? 'col-md-' . $bootstrapSize : 'col-md-12'; $headerTag = htmlspecialchars($params->get('header_tag', 'h2'), ENT_QUOTES, 'UTF-8'); $moduleClassSfx = $params->get('moduleclass_sfx', ''); // Temporarily store header class in variable $headerClass = $params->get('header_class') ? ' class="' . htmlspecialchars($params->get('header_class'), ENT_QUOTES, 'UTF-8') . '"' : ''; // Get the module icon $headerIcon = $params->get('header_icon') ? '' : ''; ?>
< class="card mb-3 "> showtitle) : ?>
isRtl() ? 'start' : 'end'; ?> showtitle) : ?> <> title, ENT_QUOTES, 'UTF-8'); ?> >
content; ?>
>