From 8c399c253036c9520fb951eee149e492838d297e Mon Sep 17 00:00:00 2001 From: Andreas Unterkircher Date: Sun, 8 Jul 2007 12:30:46 +0000 Subject: 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 --- templates/photo_index.tpl | 4 ++++ 1 file changed, 4 insertions(+) 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 -- cgit v1.2.3-18-g5258