mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-12-18 22:43:47 +01:00
Move "Connect as" label translation to template
This commit is contained in:
parent
69addc15ea
commit
81c8a486d9
2 changed files with 1 additions and 3 deletions
|
@ -1600,8 +1600,6 @@ class LSsession {
|
|||
if (!self :: $template)
|
||||
self :: setTemplate('base_connected.tpl');
|
||||
|
||||
LStemplate :: assign('connected_as',_("Connected as"));
|
||||
|
||||
LStemplate :: display(self :: $template);
|
||||
}
|
||||
|
||||
|
|
|
@ -45,7 +45,7 @@
|
|||
</select>
|
||||
<input type='submit' value='->'/>
|
||||
</form>
|
||||
{if $displaySelfAccess}{$connected_as|escape:"htmlall"} <span id='user_name'>{$LSsession_username|escape:"htmlall"}</span>{/if}
|
||||
{if $displaySelfAccess}{tr msg="Connected as"|escape:"htmlall"} <span id='user_name'>{$LSsession_username|escape:"htmlall"}</span>{/if}
|
||||
<a href='?LSsession_refresh=1'><img src='{img name='refresh'}' alt="{tr msg="Refresh my access rights"}" title="{tr msg="Refresh my access rights"}" /></a>
|
||||
{if $displayLogoutBtn} <a href='?LSsession_logout'><img src='{img name='logout'}' alt='Logout' title='Logout' /></a>{/if}
|
||||
</td>
|
||||
|
|
Loading…
Reference in a new issue