fieldsets = $this->form->getFieldsets('params'); $input = JFactory::getApplication()->input; // In case of modal $isModal = $input->get('layout') === 'modal' ? true : false; $layout = $isModal ? 'modal' : 'edit'; $tmpl = $isModal || $input->get('tmpl', '', 'cmd') === 'component' ? '&tmpl=component' : ''; JFactory::getDocument()->addScriptDeclaration(" Joomla.submitbutton = function(task) { if (task === 'plugin.cancel' || document.formvalidator.isValid(document.getElementById('style-form'))) { Joomla.submitform(task, document.getElementById('style-form')); if (task !== 'plugin.apply') { if (self !== top ) { window.top.setTimeout('window.parent.location = window.top.location.href', 1000); window.parent.jQuery('#plugin" . $this->item->extension_id . "Modal').modal('hide'); } } } }; "); ?>
'general')); ?>
item->xml) : ?> item->xml->description) : ?>

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

form->getValue('folder'); ?> / form->getValue('element'); ?>
item->xml->description); $this->fieldset = 'description'; $long_description = JLayoutHelper::render('joomla.edit.fieldset', $this); if (!$long_description) { $truncated = JHtml::_('string.truncate', $short_description, 550, true, false); if (strlen($truncated) > 500) { $long_description = $short_description; $short_description = JHtml::_('string.truncate', $truncated, 250); if ($short_description == $long_description) { $long_description = ''; } } } ?>

fieldset = 'basic'; $html = JLayoutHelper::render('joomla.edit.fieldset', $this); echo $html ? '
' . $html : ''; ?>
form->getLabel('ordering'); ?>
form->getInput('ordering'); ?>
form->getLabel('folder'); ?>
form->getInput('folder'); ?>
form->getLabel('element'); ?>
form->getInput('element'); ?>
fieldsets = array(); $this->ignore_fieldsets = array('basic', 'description'); echo JLayoutHelper::render('joomla.edit.params', $this); ?>