summaryrefslogtreecommitdiffstats
path: root/templates/single_photo.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/single_photo.tpl')
-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>