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('
',$this->a_tabs[$p_index]->get_id());
+ $class="";
+ if ( $this->get_mode() == "row") {
+ $class="tab_row";
+ }
+
+ printf('
',
+ $this->a_tabs[$p_index]->get_id(),
+ $class);
echo $this->a_tabs[$p_index]->get_content();
echo '
';
diff --git a/include/upgrade-plugin.php b/include/upgrade-plugin.php
index 099db9f73..1c9d56b4d 100644
--- a/include/upgrade-plugin.php
+++ b/include/upgrade-plugin.php
@@ -51,9 +51,12 @@ if ( $xml == NULL) {
$a_plugin=$xml->xpath('//plugins/plugin');
$nb_plugin=count($a_plugin);
echo _("Les extensions doivent être activées dans le dossier après installation");
+echo '
';
+echo _("Recherche").HtmlInput::filter_table("tab_plugin",'0,1,2,3',1);
+echo '
';
?>
-