芝麻web文件管理V1.00
编辑当前文件:/home2/sdektunc/public_html/administrator/components/com_menus/tmpl/menus/default.php
* @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; use Joomla\CMS\Factory; use Joomla\CMS\HTML\HTMLHelper; use Joomla\CMS\Language\Text; use Joomla\CMS\Layout\LayoutHelper; use Joomla\CMS\Router\Route; use Joomla\CMS\Uri\Uri; HTMLHelper::_('behavior.multiselect'); $uri = Uri::getInstance(); $return = base64_encode($uri); $user = Factory::getUser(); $listOrder = $this->escape($this->state->get('list.ordering')); $listDirn = $this->escape($this->state->get('list.direction')); $modMenuId = (int) $this->get('ModMenuId'); $itemIds = []; foreach ($this->items as $item) { if ($user->authorise('core.edit', 'com_menus')) { $itemIds[] = $item->id; } } $this->document->addScriptOptions('menus-default', ['items' => $itemIds]); /** @var Joomla\CMS\WebAsset\WebAssetManager $wa */ $wa = $this->document->getWebAssetManager(); $wa->useScript('com_menus.admin-menus'); ?>
$this, 'options' => array('filterButton' => false))); ?> items)) : ?>
,
,
items as $i => $item) : $canEdit = $user->authorise('core.edit', 'com_menus.menu.' . (int) $item->id); $canManageItems = $user->authorise('core.manage', 'com_menus.menu.' . (int) $item->id); ?>
id, false, 'cid', 'cb', $item->title); ?>
escape($item->title); ?>
escape($item->title); ?> description)) : ?>
(escape($item->description); ?>)
count_published; ?>
count_published; ?>
count_unpublished; ?>
count_unpublished; ?>
count_trashed; ?>
count_trashed; ?>
modules[$item->menutype])) : ?>
modules[$item->menutype] as &$module) : ?> authorise('core.edit', 'com_modules.module.' . (int) $module->id)) : ?> id . '&return=' . $return . '&tmpl=component&layout=modal'); ?>
escape($module->title), $this->escape($module->access_title), $this->escape($module->position)); ?>
escape($module->title), $this->escape($module->access_title), $this->escape($module->position)); ?>
modules[$item->menutype] as &$module) : ?> authorise('core.edit', 'com_modules.module.' . (int) $module->id)) : ?> id . '&return=' . $return . '&tmpl=component&layout=modal'); ?> id . 'Modal', array( 'title' => Text::_('COM_MENUS_EDIT_MODULE_SETTINGS'), 'backdrop' => 'static', 'keyboard' => false, 'closeButton' => false, 'url' => $link, 'height' => '400px', 'width' => '800px', 'bodyHeight' => 70, 'modalWidth' => 80, 'footer' => '
' . Text::_('JLIB_HTML_BEHAVIOR_CLOSE') . '
' . '
' . Text::_('JSAVE') . '
' . '
' . Text::_('JAPPLY') . '
', ) ); ?> menutype . '&tmpl=component&layout=modal'); ?>
Text::_('COM_MENUS_ADD_MENU_MODULE'), 'backdrop' => 'static', 'keyboard' => false, 'closeButton' => false, 'url' => $link, 'height' => '400px', 'width' => '800px', 'bodyHeight' => 70, 'modalWidth' => 80, 'footer' => '
' . Text::_('JLIB_HTML_BEHAVIOR_CLOSE') . '
' . '
' . Text::_('JSAVE') . '
' . '
' . Text::_('JAPPLY') . '
', ) ); ?>
id; ?>
pagination->getListFooter(); ?>