summaryrefslogtreecommitdiff
path: root/themes/default/views/header.html.php
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2008-11-05 07:42:52 +0000
committerBharat Mediratta <bharat@menalto.com>2008-11-05 07:42:52 +0000
commitd21f3437e64fb67f306eaec40e778e77176796ff (patch)
tree1895709d0e920ecd332696b50dba796862e654e5 /themes/default/views/header.html.php
parent581e931c439a726fbd6a0b0068debd2cd76e349d (diff)
Add the photo controller, and tie it to the photo page in our theme.
Implement a real breadcrumb.
Diffstat (limited to 'themes/default/views/header.html.php')
-rw-r--r--themes/default/views/header.html.php7
1 files changed, 4 insertions, 3 deletions
diff --git a/themes/default/views/header.html.php b/themes/default/views/header.html.php
index fd2df051..acecb885 100644
--- a/themes/default/views/header.html.php
+++ b/themes/default/views/header.html.php
@@ -41,9 +41,10 @@
</ul>
<ul id="gBreadcrumbs">
- <li class="root"><a href="#">Home</a></li>
- <li><a href="#">Friends &amp; Family</a></li>
- <li class="active"><span>Christmas 2007</span></li>
+ <? foreach ($parents as $parent): ?>
+ <li><a href="<?= url::site("album/{$parent->id}") ?>"><?= $parent->title ?></a></li>
+ <? endforeach ?>
+ <li class="active"><span><?= $item->title ?></span></li>
</ul>
<form id="gSearchForm">