- LSsession : Traduction du "Connecté en tant que"
authorBenjamin Renard <brenard@easter-eggs.com>
Tue, 17 Feb 2009 13:55:07 +0000 (13:55 +0000)
committerBenjamin Renard <brenard@easter-eggs.com>
Tue, 17 Feb 2009 13:55:07 +0000 (13:55 +0000)
trunk/includes/class/class.LSsession.php
trunk/templates/default/top.tpl

index 446cdc7..0279bd8 100644 (file)
@@ -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);
   }
   
index 1c34679..1e7bb37 100644 (file)
@@ -47,7 +47,7 @@
       </ul>
     </td>
     <td id='status'>
-    Connecté en tant que <span id='user_name'>{$LSsession_username}</span> <a href='index.php?LSsession_logout'><img src='{$LS_IMAGES_DIR}/logout.png' alt='Logout' title='Logout' /></a>
+    {$connected_as} <span id='user_name'>{$LSsession_username}</span> <a href='index.php?LSsession_logout'><img src='{$LS_IMAGES_DIR}/logout.png' alt='Logout' title='Logout' /></a>
     </td>
   </tr>
   <tr>