';
$dispatcher = vDispatcher::getInstance();
$returnValues = $dispatcher->trigger('plgVmBuildTabs', array(&$view, &$load_template));
foreach ( $load_template as $tab_content => $tab_title ) {
$html .= '
';
$html .= $view->renderLayout ( $tab_content );
$html .= '
';
}
$html .= '
';
echo $html;
}
/**
* Admin UI Tabs Imitation
* Gives A Tab Based Navigation Back And Loads The Templates With A Nice Design
* @param $return = return the start tag or the closing tag - choose 'start' or 'end'
* @params $language = pass the language string
*/
static function imitateTabs($return,$language = '') {
if ($return == 'start') {
vmJsApi::addJScript ( 'vm.cookietab','
var virtuemartcookie="vm-tab";
');
$html = '