From 8a53f55ddd451744dd5c19986abd38e4af3c72c4 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sat, 26 Jun 2010 15:19:13 +0000 Subject: [PATCH] Look: Minor enhancement --- htdocs/main.inc.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/htdocs/main.inc.php b/htdocs/main.inc.php index 454e6a0acd1..638f713a7f9 100644 --- a/htdocs/main.inc.php +++ b/htdocs/main.inc.php @@ -984,7 +984,8 @@ function top_menu($head, $title='', $target='', $disablejs=0, $disablehead=0, $a $htmltext.='
'.$langs->trans("PreviousConnexion").': '.dol_print_date($user->datepreviouslogin,"dayhour"); $htmltext.='
'.$langs->trans("AuthenticationMode").': '.$_SESSION["dol_authmode"]; $htmltext.='
'.$langs->trans("CurrentTheme").': '.$conf->theme; - $htmltext.='
'.$langs->trans("CurrentUserLanguage").': '.$langs->getDefaultLang(); + $s=picto_from_langcode($conf->global->MAIN_LANG_DEFAULT); + $htmltext.='
'.$langs->trans("CurrentUserLanguage").': '.($s?$s.' ':'').$langs->getDefaultLang(); $htmltext.='
'.$langs->trans("Browser").': '.$conf->browser->name.' ('.$_SERVER['HTTP_USER_AGENT'].')'; if (! empty($conf->browser->phone)) $htmltext.='
'.$langs->trans("Phone").': '.$conf->browser->phone;