fieldsets as $name => $fieldset) { if (!isset($fieldset->repeat) || isset($fieldset->repeat) && $fieldset->repeat == false) { $label = !empty($fieldset->label) ? JText::_($fieldset->label, true) : JText::_('COM_PLUGINS_' . $fieldset->name . '_FIELDSET_LABEL', true); $optionsname = 'options-' . $fieldset->name; echo JHtml::_('bootstrap.addTab', 'myTab', $optionsname, $label); if (isset($fieldset->description) && trim($fieldset->description)) { echo '
' . $this->escape(JText::_($fieldset->description)) . '
'; } $hidden_fields = ''; foreach ($this->form->getFieldset($name) as $field) { if (!$field->hidden) { ?>