* @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; $fieldSets = $this->form->getFieldsets('params'); echo HTMLHelper::_('bootstrap.startAccordion', 'collapseTypes'); $i = 0; foreach ($fieldSets as $name => $fieldSet) : $label = !empty($fieldSet->label) ? $fieldSet->label : 'COM_MODULES_' . strtoupper($name) . '_FIELDSET_LABEL'; $class = isset($fieldSet->class) && !empty($fieldSet->class) ? $fieldSet->class : ''; if (isset($fieldSet->description) && trim($fieldSet->description)) : echo '

' . $this->escape(Text::_($fieldSet->description)) . '

'; endif; ?>