mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-11-18 08:19:05 +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)
|
if (!self :: $template)
|
||||||
self :: setTemplate('base_connected.tpl');
|
self :: setTemplate('base_connected.tpl');
|
||||||
|
|
||||||
LStemplate :: assign('connected_as',_("Connected as"));
|
|
||||||
|
|
||||||
LStemplate :: display(self :: $template);
|
LStemplate :: display(self :: $template);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -45,7 +45,7 @@
|
||||||
</select>
|
</select>
|
||||||
<input type='submit' value='->'/>
|
<input type='submit' value='->'/>
|
||||||
</form>
|
</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>
|
<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}
|
{if $displayLogoutBtn} <a href='?LSsession_logout'><img src='{img name='logout'}' alt='Logout' title='Logout' /></a>{/if}
|
||||||
</td>
|
</td>
|
||||||
|
|
Loading…
Reference in a new issue