diff --git a/htdocs/main.inc.php b/htdocs/main.inc.php index 57718b85ac2..3f981d4ac82 100644 --- a/htdocs/main.inc.php +++ b/htdocs/main.inc.php @@ -783,8 +783,12 @@ function top_menu($head, $title="", $target="") // Lien logout if (! isset($_SERVER["REMOTE_USER"]) || ! $_SERVER["REMOTE_USER"]) { - $title=$langs->trans("Logout"); - $title.='
'.$langs->trans("ConnectedSince").': '.dolibarr_print_date($user->datelastlogin,"dayhour"); + $title=$langs->trans("Logout").'
'; + $title.='
'.$langs->trans("User").': '.$user->fullname; + $title.='
'.$langs->trans("Login").': '.$user->login; + $title.='
'.$langs->trans("Administrator").': '.yn($user->admin); + $title.='
'.$langs->trans("Type").': '.($user->societe_id?$langs->trans("External"):$langs->trans("Internal")); + $title.='
'.$langs->trans("ConnectedSince").': '.dolibarr_print_date($user->datelastlogin,"dayhour"); if ($dolibarr_main_authentication) $title.='
'.$langs->trans("AuthenticationMode").': '.$dolibarr_main_authentication; $text='';