Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge branch 'master' of git@github.com:gallery/gallery3 into beta3_s…

…taging
  • Loading branch information...
commit 2dacf6268674ba0fc76fe6bd19ae18cc47e1445e 2 parents 51f6329 + 711cdde
@bharat bharat authored
Showing with 6 additions and 1 deletion.
  1. +6 −1 themes/default/views/page.html.php
View
7 themes/default/views/page.html.php
@@ -95,7 +95,12 @@
<ul class="gBreadcrumbs">
<? foreach ($parents as $parent): ?>
<li>
- <a href="<?= $parent->url("show={$theme->item()->id}") ?>">
+ <!-- Adding ?show=<id> causes Gallery3 to display the page
+ containing that photo. For now, we just do it for
+ the immediate parent so that when you go back up a
+ level you're on the right page. -->
+ <a href="<?= $parent->url($parent == $theme->item()->parent() ?
+ "show={$theme->item()->id}" : null) ?>">
<?= html::purify($parent->title) ?>
</a>
</li>
Please sign in to comment.
Something went wrong with that request. Please try again.