From: Andreas Unterkircher Date: Sun, 8 Jul 2007 12:30:46 +0000 (+0000) Subject: issue32, hide navigation photo if user tag-selection result in empty view X-Git-Tag: phpfspot-1.2~155 X-Git-Url: https://git.nubati.net/cgi-bin/gitweb.cgi?p=phpfspot.git;a=commitdiff_plain;h=8c399c253036c9520fb951eee149e492838d297e issue32, hide navigation photo if user tag-selection result in empty view git-svn-id: file:///var/lib/svn/phpfspot/trunk@180 fa6a889d-dae6-447d-9e79-4ba9a3039384 --- 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