X-Git-Url: https://git.nubati.net/cgi-bin/gitweb.cgi?p=phpfspot.git;a=blobdiff_plain;f=templates%2Fphoto_index.tpl;fp=templates%2Fphoto_index.tpl;h=5b44449af8bc72cb17e76b02a479befaef5b5b4b;hp=9ac74585afaf38509d3bfb99e2815eb9f0a85376;hb=8c399c253036c9520fb951eee149e492838d297e;hpb=7d9e5791c2e628361997ef5cb849ae4c75a2c395 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 @@ { if $previous_url == "" } + { if $count != 0 } first page reached + { /if } { else } previous photo @@ -84,7 +86,9 @@ { if $next_url == "" } + { if $count != 0 } last page reached + { /if } { else } next photo