diff options
| author | Tim Almdal <tnalmdal@shaw.ca> | 2009-11-06 22:14:32 -0800 |
|---|---|---|
| committer | Tim Almdal <tnalmdal@shaw.ca> | 2009-11-06 22:14:32 -0800 |
| commit | c40735c922b53eb32be1ae39a030362eea52e602 (patch) | |
| tree | cfe908300e98eed1e22d5ba46e2629ed40565b9a /modules/gallery/views/login_current_user.html.php | |
| parent | 44ae88e8e17713cab81a5cf08820e18896615196 (diff) | |
| parent | 3e0a81a39490f58840e3144b88d9c963e69f8f79 (diff) | |
Merge branch 'master' into talmdal_dev
Diffstat (limited to 'modules/gallery/views/login_current_user.html.php')
| -rw-r--r-- | modules/gallery/views/login_current_user.html.php | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/modules/gallery/views/login_current_user.html.php b/modules/gallery/views/login_current_user.html.php new file mode 100644 index 00000000..e3b3688f --- /dev/null +++ b/modules/gallery/views/login_current_user.html.php @@ -0,0 +1,11 @@ +<?php defined("SYSPATH") or die("No direct script access.") ?> +<li> + <? $name = $menu->label->for_html() ?> + <? if (identity::is_writable()): ?> + <?= 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 ?> +</li> |
