diff options
author | Tim Almdal <tnalmdal@shaw.ca> | 2009-03-11 15:00:57 +0000 |
---|---|---|
committer | Tim Almdal <tnalmdal@shaw.ca> | 2009-03-11 15:00:57 +0000 |
commit | 4d5679b74952e41b5c3f04dc67b51d727fd96d34 (patch) | |
tree | e34f4be1ef242a5a4d6eed8e33ee0668558f9f94 | |
parent | 4dfc5435ef8673d0639c16375980426809599c99 (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.php | 3 |
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)) ?>" |