if (!is_null($tab)) { $html = ob_get_clean(); if (!$tabStarted) { echo JHtml::_('tabs.start', 'Tabs'); echo JHtml::_('tabs.panel', $tab, $tabIndex++); echo $html; $html = ''; $tabStarted = true; } echo $html; echo JHtml::_('tabs.panel', $button->Tab, $tabIndex++); } $tab = $button->Tab; ob_start(); } echo SmartIconsHelper::button($button); } if ($button == $lastButton) { $html = ob_get_clean(); echo $html; //Last tab if ($configuration->display_mode == 3) { SmartIconsHelper::plugins(); } } } if ($tabStarted) { echo JHtml::_('tabs.end'); } if ($configuration->display_mode == 2 && $firstTab == true || count($buttons) == 0 && $configuration->display_mode != 4) { SmartIconsHelper::plugins();