diff --git a/htdocs/index.php b/htdocs/index.php index 00c8b5e1373..ad58570e4a1 100644 --- a/htdocs/index.php +++ b/htdocs/index.php @@ -99,7 +99,7 @@ print "\n"; * Tableau de bord d'états Dolibarr (statistiques) * Non affiché pour un utilisateur externe */ -$langs->load("other"); + if ($user->societe_id == 0) { print '
'; @@ -184,6 +184,7 @@ if ($user->societe_id == 0) } else $board=$boardloaded[$classe]; $var=!$var; + $langs->load("other"); print ''.img_object($titres[$key],$icons[$key]).''; print ''.$titres[$key].''; print ''.$board->nb[$val].'';