mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-07-26 09:43:54 -04:00
Fix i18n for "Logged in as" string
This commit is contained in:
@@ -5,9 +5,13 @@
|
||||
title="<?= t("Login to Gallery") ?>"
|
||||
id="gLoginLink"><?= t("Login") ?></a></li>
|
||||
<? else: ?>
|
||||
<li class="first"><?= t("Logged in as ") ?><a href="<?= url::site("form/edit/users/{$user->id}") ?>"
|
||||
title="<?= t("Edit Your Profile") ?>"
|
||||
id="gUserProfileLink" class="gDialogLink"><?= $user->full_name ?></a></li>
|
||||
<li class="first"><?=
|
||||
t('Logged in as %name',
|
||||
array('name' =>
|
||||
'<a href="' . url::site("form/edit/users/{$user->id}") .
|
||||
'" title="' . t("Edit Your Profile") .
|
||||
'" id="gUserProfileLink" class="gDialogLink">' .
|
||||
$user->full_name . '</a>')) ?></li>
|
||||
<li><a href="<?= url::site("logout?continue=" . url::current(true)) ?>"
|
||||
id="gLogoutLink"><?= t("Logout") ?></a></li>
|
||||
<? endif; ?>
|
||||
|
||||
Reference in New Issue
Block a user