diff options
| author | Bharat Mediratta <bharat@menalto.com> | 2010-01-24 14:57:13 -0800 |
|---|---|---|
| committer | Bharat Mediratta <bharat@menalto.com> | 2010-01-24 14:57:13 -0800 |
| commit | cc912935731c216a57e4c291548ec503a0c1607e (patch) | |
| tree | 0ebfdf14a4f8cd183df31cde5be8e3226641d580 /modules/gallery/views/login_current_user.html.php | |
| parent | 5b84919d6e55a8c43f60cf8b695c3696340d001b (diff) | |
| parent | eb32e1052df4da268f01a84b809d756d9c9b85b7 (diff) | |
Merge branch 'bharat_dev' of git@github.com:gallery/gallery3 into bharat_dev
Diffstat (limited to 'modules/gallery/views/login_current_user.html.php')
| -rw-r--r-- | modules/gallery/views/login_current_user.html.php | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/modules/gallery/views/login_current_user.html.php b/modules/gallery/views/login_current_user.html.php index e3b3688f..94525576 100644 --- a/modules/gallery/views/login_current_user.html.php +++ b/modules/gallery/views/login_current_user.html.php @@ -1,11 +1,7 @@ <?php defined("SYSPATH") or die("No direct script access.") ?> <li> <? $name = $menu->label->for_html() ?> - <? if (identity::is_writable()): ?> + <? $hover_text = t("Your profile")->for_html_attr() ?> <?= t("Logged in as %name", array("name" => html::mark_clean( - "<a href='$menu->url' title='" . t("Edit your profile")->for_html_attr() . - "' id='$menu->id' class='g-dialog-link'>{$name}</a>"))) ?> - <? else: ?> - <?= t("Logged in as %name", array("name" => $name)) ?> - <? endif ?> + "<a href='$menu->url' title='$hover_text' id='$menu->id'>{$name}</a>"))) ?> </li> |
