From 5af7e8af76d047523c0042a79a36230e3933cc04 Mon Sep 17 00:00:00 2001 From: Benjamin Renard Date: Tue, 17 Feb 2009 13:55:07 +0000 Subject: [PATCH] =?UTF-8?q?-=20LSsession=20:=20Traduction=20du=20"Connect?= =?UTF-8?q?=C3=A9=20en=20tant=20que"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- trunk/includes/class/class.LSsession.php | 3 +++ trunk/templates/default/top.tpl | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/trunk/includes/class/class.LSsession.php b/trunk/includes/class/class.LSsession.php index 446cdc7b..0279bd84 100644 --- a/trunk/includes/class/class.LSsession.php +++ b/trunk/includes/class/class.LSsession.php @@ -1073,6 +1073,9 @@ class LSsession { } if (!self :: $template) self :: setTemplate('empty.tpl'); + + $GLOBALS['Smarty'] -> assign('connected_as',_("Connected as")); + $GLOBALS['Smarty'] -> display(self :: $template); } diff --git a/trunk/templates/default/top.tpl b/trunk/templates/default/top.tpl index 1c34679b..1e7bb37f 100644 --- a/trunk/templates/default/top.tpl +++ b/trunk/templates/default/top.tpl @@ -47,7 +47,7 @@ - Connecté en tant que {$LSsession_username} Logout + {$connected_as} {$LSsession_username} Logout