diff options
author | Bharat Mediratta <bharat@menalto.com> | 2009-09-13 14:14:01 -0700 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2009-09-13 14:14:06 -0700 |
commit | 827c845abbfe0767cb5063fea372477c24713b1e (patch) | |
tree | 5684921e37dacebe05e4142858c3c7b2b8bf665c | |
parent | 2a17de3401735d09e7c0660b7eb4dae9f50819fd (diff) |
Use the absolute url format for the root item. html::anchor() will
not prepend the base url to that.
-rw-r--r-- | themes/admin_default/views/admin.html.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/themes/admin_default/views/admin.html.php b/themes/admin_default/views/admin.html.php index 995e95ef..ef15ed25 100644 --- a/themes/admin_default/views/admin.html.php +++ b/themes/admin_default/views/admin.html.php @@ -43,7 +43,7 @@ <div id="gHeader"> <?= $theme->admin_header_top() ?> <ul id="gLoginMenu"> - <li class="first"><?= html::anchor("", "← ".t("Back to the Gallery")) ?></li> + <li class="first"><?= html::anchor(item::root()->abs_url(), "← ".t("Back to the Gallery")) ?></li> <li id="gLogoutLink"><a href="<?= url::site("logout?csrf=$csrf&continue=" . urlencode(item::root()->url())) ?>"><?= t("Logout") ?></a></li> </ul> <a id="gLogo" href="<?= item::root()->url() ?>" title="<?= t("go back to the Gallery")->for_html_attr() ?>"> |