__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
<?php
/**
* @package Joomla.Administrator
* @subpackage Templates.Atum
*
* @copyright (C) 2019 Open Source Matters, Inc. <https://www.joomla.org>
* @license GNU General Public License version 2 or later; see LICENSE.txt
*
* Module chrome for rendering the module in a submenu
*/
defined('_JEXEC') or die;
use Joomla\CMS\Factory;
use Joomla\CMS\Helper\ModuleHelper;
use Joomla\CMS\Language\Text;
$modulePosition = $displayData['modules'];
$renderer = Factory::getDocument()->loadRenderer('module');
$modules = ModuleHelper::getModules($modulePosition);
$moduleHtml = [];
$moduleCollapsedHtml = [];
foreach ($modules as $key => $mod) {
$out = $renderer->render($mod);
if ($out !== '') {
if (strpos($out, 'data-bs-toggle="modal"') !== false) {
$dom = new \DOMDocument();
$dom->loadHTML('<?xml encoding="utf-8" ?>' . $out);
$els = $dom->getElementsByTagName('a');
if ($els[0]) {
$moduleCollapsedHtml[] = $dom->saveHTML($els[0]);
} else {
$moduleCollapsedHtml[] = $out;
}
} else {
$moduleCollapsedHtml[] = $out;
}
$moduleHtml[] = $out;
}
}
?>
<div class="header-items d-flex ms-auto">
<?php
foreach ($moduleHtml as $mod) {
echo '<div class="header-item">' . $mod . '</div>';
}
?>
<div class="header-more d-none" id="header-more-items" >
<button class="header-more-btn dropdown-toggle" type="button" title="<?php echo Text::_('TPL_ATUM_MORE_ELEMENTS'); ?>" data-bs-toggle="dropdown" aria-expanded="false">
<div class="header-item-icon"><span class="icon-ellipsis-h" aria-hidden="true"></span></div>
<div class="visually-hidden"><?php echo Text::_('TPL_ATUM_MORE_ELEMENTS'); ?></div>
</button>
<div class="header-dd-items dropdown-menu">
<?php
foreach ($moduleCollapsedHtml as $key => $mod) {
echo '<div class="header-dd-item dropdown-item" data-item="' . $key . '">' . $mod . '</div>';
}
?>
</div>
</div>
</div>
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| chromes | Folder | 0775 |
|
|
| status.php | File | 2.1 KB | 0664 |
|