* @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; /** @var Joomla\CMS\WebAsset\WebAssetManager $wa */ $wa = $this->document->getWebAssetManager(); $wa->useScript('keepalive') ->useScript('form.validate'); $this->fieldsets = $this->form->getFieldsets('params'); $this->useCoreUI = true; $input = Factory::getApplication()->input; // 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]); ?>
item->xml) : ?> item->xml->description) : ?>

item->xml) { echo ($text = (string) $this->item->xml->name) ? Text::_($text) : $this->item->name; } else { echo Text::_('COM_PLUGINS_XML_ERR'); } ?>

form->getValue('folder'); ?> / form->getValue('element'); ?>
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 = array( 'enabled', 'access', 'ordering', 'folder', 'element', 'note', ); ?>
fieldsets = array(); $this->ignore_fieldsets = array('basic', 'description'); echo LayoutHelper::render('joomla.edit.params', $this); ?>