403Webshell
Server IP : 104.21.84.107  /  Your IP : 104.23.243.196
Web Server : Apache/2.4.63 (Ubuntu)
System : Linux adminpruebas-Virtual-Machine 6.14.0-37-generic #37-Ubuntu SMP PREEMPT_DYNAMIC Fri Nov 14 22:10:32 UTC 2025 x86_64
User : www-data ( 33)
PHP Version : 8.4.5
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/www/html/pregrados/tec-regencia-farmacia/administrator/templates/atum/html/layouts/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/html/pregrados/tec-regencia-farmacia/administrator/templates/atum/html/layouts/status.php
<?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>

Youez - 2016 - github.com/yon3zu
LinuXploit