diff --git a/include/lib/output_html_tab.class.php b/include/lib/output_html_tab.class.php index c8af50d90..56544f257 100644 --- a/include/lib/output_html_tab.class.php +++ b/include/lib/output_html_tab.class.php @@ -48,6 +48,7 @@ class Output_Html_Tab $this->a_tabs=[]; $this->class_tab="tabs"; $this->class_tab_selected="tabs_selected"; + $this->set_mode("tab"); } /** @@ -232,6 +233,7 @@ class Output_Html_Tab break; default: + throw new Exception('OUTPUTHTMLTAB01'); break; } if ( $this->get_mode()=="row") { @@ -253,7 +255,14 @@ class Output_Html_Tab } private function print_div($p_index) { - printf('