summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorAndreas Unterkircher <unki@netshadow.at>2007-07-07 09:50:07 +0000
committerAndreas Unterkircher <unki@netshadow.at>2007-07-07 09:50:07 +0000
commitbcf2be54a7c2b02fdba03b509befafd0c6b50946 (patch)
treedc1386af75be6d1251baa4690ac5a52d0d0d4e31 /templates
parent873c2c27c91e4d64fd2ec3f07e3de47caf8e076b (diff)
issue31, a mini preview of the previous and next photo is now shown in a single photo view
git-svn-id: file:///var/lib/svn/phpfspot/trunk@175 fa6a889d-dae6-447d-9e79-4ba9a3039384
Diffstat (limited to 'templates')
-rw-r--r--templates/single_photo.tpl13
1 files changed, 13 insertions, 0 deletions
diff --git a/templates/single_photo.tpl b/templates/single_photo.tpl
index 5ad2450..5b5c7ac 100644
--- a/templates/single_photo.tpl
+++ b/templates/single_photo.tpl
@@ -77,6 +77,19 @@
<a class="smalltag" href="javascript:Tags('add', '{$id}');" onclick="click(this);" onclick="click(this);">{$name}</a><br />
{ /foreach }
{ /if }
+ <br />
+ { if $prev_img }
+ <u>Previous:</u><br />
+ <a href="{$previous_url}" onclick="click(this);">
+ <img src="phpfspot_img.php?idx={$prev_img}&amp;width={$mini_width}" /><br />
+ </a>
+ { /if}
+ { if $next_img }
+ <u>Next:</u><br />
+ <a href="{$next_url}" onclick="click(this);">
+ <img src="phpfspot_img.php?idx={$next_img}&amp;width={$mini_width}" /><br />
+ </a>
+ { /if}
</div>
</td>
</tr>