diff --git a/htdocs/admin/dict.php b/htdocs/admin/dict.php index e1c125e1609..61f17356f21 100644 --- a/htdocs/admin/dict.php +++ b/htdocs/admin/dict.php @@ -187,12 +187,12 @@ $tabrowid[14]= ""; $tabrowid[15]= ""; // Condition to show dictionnary in setup page -$tabcond[1] = $conf->societe->enabled; +$tabcond[1] = true; $tabcond[2] = true; $tabcond[3] = true; $tabcond[4] = true; $tabcond[5] = $conf->societe->enabled; -$tabcond[6] = true; +$tabcond[6] = $conf->agenda->enabled; $tabcond[7] = $conf->tax->enabled; $tabcond[8] = $conf->societe->enabled; $tabcond[9] = true; @@ -638,23 +638,33 @@ else */ $var=true; + $lastlineisempty=false; print '
| '.$langs->trans("Dictionnary").' | '.$langs->trans("Table").' | |
| '.$langs->trans("Module").' | '; + print ''.$langs->trans("Dictionnary").' | '; + print ''.$langs->trans("Table").' | '; + print '
| '.$tablib[$i].' | '.$tabname[$i].' | |