summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2009-03-11 15:00:57 +0000
committerTim Almdal <tnalmdal@shaw.ca>2009-03-11 15:00:57 +0000
commit4d5679b74952e41b5c3f04dc67b51d727fd96d34 (patch)
treee34f4be1ef242a5a4d6eed8e33ee0668558f9f94
parent4dfc5435ef8673d0639c16375980426809599c99 (diff)
Fix ticket #119. Display the full name of the user in the same block
as the Modify profile and logout links.
-rw-r--r--modules/user/views/login.html.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/user/views/login.html.php b/modules/user/views/login.html.php
index 0fef8533..d06f2a45 100644
--- a/modules/user/views/login.html.php
+++ b/modules/user/views/login.html.php
@@ -5,7 +5,8 @@
title="<?= t("Login to Gallery") ?>"
id="gLoginLink"><?= t("Login") ?></a></li>
<? else: ?>
- <li class="first"><a href="<?= url::site("form/edit/users/{$user->id}") ?>"
+ <li class="first"><?= t("Logged in as %name", array("name" => $user->full_name)) ?></li>
+ <li><a href="<?= url::site("form/edit/users/{$user->id}") ?>"
title="<?= t("Edit Your Profile") ?>"
id="gUserProfileLink" class="gDialogLink"><?= t("Modify Profile") ?></a></li>
<li><a href="<?= url::site("logout?continue=" . url::current(true)) ?>"