* @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; use Joomla\CMS\Router\Route; /** @var \Joomla\Component\Templates\Administrator\View\Style\HtmlView $this */ /** @var Joomla\CMS\WebAsset\WebAssetManager $wa */ $wa = $this->getDocument()->getWebAssetManager(); $wa->useScript('keepalive') ->useScript('form.validate'); $this->useCoreUI = true; $user = $this->getCurrentUser(); ?>
'details', 'recall' => true, 'breakpoint' => 768]); ?>

item->template); ?>

item->client_id == 0 ? Text::_('JSITE') : Text::_('JADMINISTRATOR'); ?>
fieldset = 'description'; $short_description = Text::_($this->item->xml->description); $long_description = LayoutHelper::render('joomla.edit.fieldset', $this); if (!$long_description) { $truncated = HTMLHelper::_('string.truncate', $short_description, 550, true, false); if (strlen($truncated) > 500) { $long_description = $short_description; $short_description = HTMLHelper::_('string.truncate', $truncated, 250); if ($short_description == $long_description) { $long_description = ''; } } } ?>

fieldset = 'basic'; $html = LayoutHelper::render('joomla.edit.fieldset', $this); echo $html ? '
' . $html : ''; ?>
fields = [ 'home', 'client_id', 'template' ]; ?> form->renderField('inheritable'); ?> form->renderField('parent'); ?>
fieldsets = []; $this->ignore_fieldsets = ['basic', 'description', 'assigned']; echo LayoutHelper::render('joomla.edit.params', $this); ?> authorise('core.edit', 'com_menus') && $this->item->client_id == 0 && $this->canDo->get('core.edit.state')) : ?> form->getGroup('assigned')) : ?> ignore_fieldsets = ['basic']; $this->fieldset = 'assigned'; foreach ($this->form->getFieldsets() as $fieldSet) { if ($fieldSet->name !== 'assigned') { $this->ignore_fieldsets[] = $fieldSet->name; } } echo LayoutHelper::render('joomla.edit.fieldset', $this); ?>
loadTemplate('assignment'); ?>