summaryrefslogtreecommitdiff
path: root/themes
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-09-13 18:55:48 -0700
committerBharat Mediratta <bharat@menalto.com>2009-09-13 18:55:48 -0700
commitc527e70f26a85403633c9c8c7d32cc3b30cf625e (patch)
tree76d626b67200ee142ebb8a94240cb2d7aa50e6cb /themes
parent71a2e3624e05302725281c19b23beba252183a15 (diff)
parent6c0732e16fa904125d9d437f8f3e96d377c448d9 (diff)
Merge branch 'master' of git@github.com:gallery/gallery3 into beta3_staging
Diffstat (limited to 'themes')
-rw-r--r--themes/admin_default/views/admin.html.php2
-rw-r--r--themes/admin_default/views/block.html.php3
-rw-r--r--themes/default/views/block.html.php2
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(), "&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() ?>">
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">