Use the absolute url format for the root item. html::anchor() will

not prepend the base url to that.
This commit is contained in:
Bharat Mediratta
2009-09-13 14:14:06 -07:00
parent 2a17de3401
commit 827c845abb
+1 -1
View File
@@ -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() ?>">