diff options
author | Bharat Mediratta <bharat@menalto.com> | 2009-01-03 20:14:06 +0000 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2009-01-03 20:14:06 +0000 |
commit | 3d9e5e439e63404159c1ef763c8b07dd15a367ec (patch) | |
tree | fe7483df1a468f1443f60bc154edeb3fecd29a1f /themes | |
parent | 8ed5200101ac6feb48795b2fd8b2fb4a3462d45e (diff) |
Stay on the right page when we navigate up in the breadcrumb.
Introduce a "show" parameter which contains the id of the item that we
want to show when we go to the parent's page.
Diffstat (limited to 'themes')
-rw-r--r-- | themes/default/views/header.html.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/themes/default/views/header.html.php b/themes/default/views/header.html.php index c94527e9..262f6540 100644 --- a/themes/default/views/header.html.php +++ b/themes/default/views/header.html.php @@ -12,7 +12,7 @@ <? if ($page_type != "tag"): ?> <ul id="gBreadcrumbs"> <? foreach ($parents as $parent): ?> - <li><a href="<?= url::site("albums/{$parent->id}") ?>"><?= $parent->title ?></a></li> + <li><a href="<?= url::site("albums/{$parent->id}?show=$item->id") ?>"><?= $parent->title ?></a></li> <? endforeach ?> <li class="active"><?= $item->title ?></li> </ul> |