summaryrefslogtreecommitdiff
path: root/themes/default/views/photo.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/photo.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/photo.html.php')
-rw-r--r--themes/default/views/photo.html.php6
1 files changed, 3 insertions, 3 deletions
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">