芝麻web文件管理V1.00
编辑当前文件:/home2/sdektunc/.trash/administrator.3/components/com_categories/tmpl/category/edit.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\Associations; use Joomla\CMS\Language\Text; use Joomla\CMS\Layout\LayoutHelper; use Joomla\CMS\Router\Route; use Joomla\CMS\Workflow\WorkflowServiceInterface; /** @var Joomla\CMS\WebAsset\WebAssetManager $wa */ $wa = $this->document->getWebAssetManager(); $wa->useScript('keepalive') ->useScript('form.validate'); $app = Factory::getApplication(); $input = $app->input; $assoc = Associations::isEnabled(); // Are associations implemented for this extension? $extensionassoc = array_key_exists('item_associations', $this->form->getFieldsets()); // Fieldsets to not automatically render by /layouts/joomla/edit/params.php $this->ignore_fieldsets = ['jmetadata', 'item_associations']; $c = Factory::getApplication()->bootComponent($this->state->get('category.extension')); if ($c instanceof WorkflowServiceInterface) { $wcontext = $c->getCategoryWorkflowContext($this->state->get('category.section')); if (!$c->isWorkflowActive($wcontext)) { $this->ignore_fieldsets[] = 'workflow'; } } $this->useCoreUI = true; // In case of modal $isModal = $input->get('layout') === 'modal'; $layout = $isModal ? 'modal' : 'edit'; $tmpl = $isModal || $input->get('tmpl', '', 'cmd') === 'component' ? '&tmpl=component' : ''; ?>
'general', 'recall' => true, 'breakpoint' => 768]); ?>
form->getLabel('description'); ?> form->getInput('description'); ?>
canDo->get('core.admin')) : ?>
form->getInput('rules'); ?>
form->getInput('extension'); ?>