Skip to content

Commit

Permalink
Merge branch 'master' of git@github.com:gallery/gallery3 into beta3_s…
Browse files Browse the repository at this point in the history
…taging
  • Loading branch information
bharat committed Sep 13, 2009
2 parents 51f6329 + 711cdde commit 2dacf62
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion themes/default/views/page.html.php
Expand Up @@ -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>
Expand Down

0 comments on commit 2dacf62

Please sign in to comment.