summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-09-13 14:14:01 -0700
committerBharat Mediratta <bharat@menalto.com>2009-09-13 14:14:06 -0700
commit827c845abbfe0767cb5063fea372477c24713b1e (patch)
tree5684921e37dacebe05e4142858c3c7b2b8bf665c
parent2a17de3401735d09e7c0660b7eb4dae9f50819fd (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.php2
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("", "&larr; ".t("Back to the Gallery")) ?></li>
+ <li class="first"><?= html::anchor(item::root()->abs_url(), "&larr; ".t("Back to the Gallery")) ?></li>
<li id="gLogoutLink"><a href="<?= url::site("logout?csrf=$csrf&amp;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() ?>">