diff options
Diffstat (limited to 'themes')
-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 5564484c..f77881bb 100644 --- a/themes/admin_default/views/admin.html.php +++ b/themes/admin_default/views/admin.html.php @@ -44,7 +44,7 @@ <?= $theme->admin_header_top() ?> <ul id="gLoginMenu"> <li class="first"><?= html::anchor(item::root()->url(), "← ".t("Back to the Gallery")) ?></li> - <li id="gLogoutLink"><a href="<?= url::site("logout?continue=items/1&csrf=$csrf") ?>"><?= t("Logout") ?></a></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() ?>"> ← <?= t("back to the ...") ?> |