diff --git a/src/includes/class/class.LSsession.php b/src/includes/class/class.LSsession.php index 03222b83..c3919822 100644 --- a/src/includes/class/class.LSsession.php +++ b/src/includes/class/class.LSsession.php @@ -1600,8 +1600,6 @@ class LSsession { if (!self :: $template) self :: setTemplate('base_connected.tpl'); - LStemplate :: assign('connected_as',_("Connected as")); - LStemplate :: display(self :: $template); } diff --git a/src/templates/default/base_connected.tpl b/src/templates/default/base_connected.tpl index 36c5d943..6f280a11 100644 --- a/src/templates/default/base_connected.tpl +++ b/src/templates/default/base_connected.tpl @@ -45,7 +45,7 @@ - {if $displaySelfAccess}{$connected_as|escape:"htmlall"} {$LSsession_username|escape:"htmlall"}{/if} + {if $displaySelfAccess}{tr msg="Connected as"|escape:"htmlall"} {$LSsession_username|escape:"htmlall"}{/if} {tr msg= {if $displayLogoutBtn} Logout{/if}