芝麻web文件管理V1.00
编辑当前文件:/home2/sdektunc/www/administrator/components/com_modules/tmpl/module/edit_assignment.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\Multilanguage; use Joomla\CMS\Language\Text; use Joomla\Component\Menus\Administrator\Helper\MenusHelper; use Joomla\Component\Modules\Administrator\Helper\ModulesHelper; // Initialise related data. $menuTypes = MenusHelper::getMenuLinks(); $this->document->getWebAssetManager() ->useScript('joomla.treeselectmenu') ->useScript('com_modules.admin-module-edit-assignment'); ?>
item->client_id), 'value', 'text', $this->item->assignment, true); ?>
links)) : ?>
title; ?>
links as $i => $link) : ?> level) { echo '
'; } elseif ($prevlevel > $link->level) { echo str_repeat('
', $prevlevel - $link->level); } else { echo ''; } $selected = 0; if ($this->item->assignment == 0) { $selected = 1; } elseif ($this->item->assignment < 0) { $selected = in_array(-$link->value, $this->item->assigned); } elseif ($this->item->assignment > 0) { $selected = in_array($link->value, $this->item->assigned); } ?>
type, array('separator', 'heading', 'alias', 'url')); $id = 'jform_menuselect'; ?>
>
text; ?> language != '' && $link->language != '*') : ?> language_image) : ?> language_image . '.gif', $link->language_title, array('title' => $link->language_title), true); ?> language_title . '">' . $link->language_sef . ''; ?> published == 0) : ?> ' . Text::_('JUNPUBLISHED') . ''; ?> ' . Text::_('COM_MODULES_MENU_ITEM_' . strtoupper($link->type)) . ''; ?>
links[$i + 1])) { echo str_repeat('
', $link->level); } $prevlevel = $link->level; ?>