summaryrefslogtreecommitdiff
path: root/themes/default
diff options
context:
space:
mode:
Diffstat (limited to 'themes/default')
-rw-r--r--themes/default/views/header.html.php7
-rw-r--r--themes/default/views/photo.html.php6
2 files changed, 7 insertions, 6 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">
diff --git a/themes/default/views/photo.html.php b/themes/default/views/photo.html.php
index e4d47d61..31458094 100644
--- a/themes/default/views/photo.html.php
+++ b/themes/default/views/photo.html.php
@@ -8,9 +8,9 @@
<a href="" class="buttonlink">Full size (1024x768)</a>
<a href="" class="buttonlink">Slideshow</a>
- <img id="photo-id-1" alt="photo" src="images/thumbnail.jpg" />
- <h1>Photo title</h1>
- <p>Photo description: Lorem ipsum dolor sit amet.</p>
+ <img id="photo-id-<?= $item->id ?>" alt="photo" src="<?= $item->resize_url() ?>" />
+ <h1><?= $item->title ?></h1>
+ <p><?= $item->description ?></p>
</div>
<div id="gComments">