diff options
-rw-r--r-- | templates/single_photo.tpl | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/templates/single_photo.tpl b/templates/single_photo.tpl index 2243b56..716a78e 100644 --- a/templates/single_photo.tpl +++ b/templates/single_photo.tpl @@ -14,7 +14,11 @@ <table> <tr> <td colspan="3"> + { if $next_url == "" } <a href="javascript:showPhotoIndex();"> + { else } + <a href="{$next_url}"> + { /if } <img src="{$image_url}" /> </a> </td> |