diff options
-rw-r--r-- | templates/photo_index.tpl | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/templates/photo_index.tpl b/templates/photo_index.tpl index 9ac7458..5b44449 100644 --- a/templates/photo_index.tpl +++ b/templates/photo_index.tpl @@ -68,7 +68,9 @@ <tr> <td style="text-align: left; width: 32px;"> { if $previous_url == "" } + { if $count != 0 } <img src="resources/arrow_left_gray.png" alt="first page reached" /> + { /if } { else } <a href="{$previous_url}"> <img src="resources/arrow_left.png" alt="previous photo" /> @@ -84,7 +86,9 @@ </td> <td style="text-align: right; width: 32px;"> { if $next_url == "" } + { if $count != 0 } <img src="resources/arrow_right_gray.png" alt="last page reached" /> + { /if } { else } <a href="{$next_url}"> <img src="resources/arrow_right.png" alt="next photo" /> |