diff options
Diffstat (limited to 'themes')
-rw-r--r-- | themes/admin_default/views/admin.html.php | 2 | ||||
-rw-r--r-- | themes/admin_default/views/block.html.php | 3 | ||||
-rw-r--r-- | themes/default/views/block.html.php | 2 |
3 files changed, 6 insertions, 1 deletions
diff --git a/themes/admin_default/views/admin.html.php b/themes/admin_default/views/admin.html.php index f77881bb..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(item::root()->url(), "← ".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() ?>"> diff --git a/themes/admin_default/views/block.html.php b/themes/admin_default/views/block.html.php index 21512d02..6cbea76e 100644 --- a/themes/admin_default/views/block.html.php +++ b/themes/admin_default/views/block.html.php @@ -1,4 +1,7 @@ <?php defined("SYSPATH") or die("No direct script access.") ?> +<? if ($anchor): ?> +<a name="<?= $anchor ?>"></a> +<? endif ?> <div block_id="<?= $id ?>" id="<?= $css_id ?>" class="gBlock ui-widget"> <div class="ui-dialog-titlebar ui-widget-header ui-helper-clearfix ui-icon-right"> <? if ($css_id != "gBlockAdder"): ?> diff --git a/themes/default/views/block.html.php b/themes/default/views/block.html.php index 37504861..e8cff833 100644 --- a/themes/default/views/block.html.php +++ b/themes/default/views/block.html.php @@ -1,5 +1,7 @@ <?php defined("SYSPATH") or die("No direct script access.") ?> +<? if ($anchor): ?> <a name="<?= $anchor ?>"></a> +<? endif ?> <div id="<?= $css_id ?>" class="gBlock"> <h2><?= $title ?></h2> <div class="gBlockContent"> |