芝麻web文件管理V1.00
编辑当前文件:/home2/sdektunc/.trash/administrator.5/components/com_menus/tmpl/item/edit_modules.php
* @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->useStyle('com_menus.admin-item-edit-modules') ->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', array( 'title' => Text::_('COM_MENUS_EDIT_MODULE_SETTINGS'), 'backdrop' => 'static', 'keyboard' => false, 'closeButton' => false, 'bodyHeight' => '70', 'modalWidth' => '80', 'footer' => '
' . Text::_('JLIB_HTML_BEHAVIOR_CLOSE') . '
' . '
' . Text::_('JSAVE') . '
' . '
' . Text::_('JAPPLY') . '
', ) ); ?> fields = array('toggle_modules_assigned','toggle_modules_published'); echo LayoutHelper::render('joomla.menu.edit_modules', $this); ?>
modules as $i => &$module) : ?> menuid)) : ?> except || $module->menuid < 0) : ?> published) : ?>
escape($module->title); ?>
escape($module->access_title); ?>
escape($module->position); ?>
menuid)) : ?> except) : ?>
menuid > 0) : ?>
menuid < 0) : ?>
published) : ?>