From 4079ac52ab60d1d48bd79514d62955b3ee4ebe5e Mon Sep 17 00:00:00 2001 From: Andreas Unterkircher Date: Sat, 21 Jul 2007 07:34:27 +0000 Subject: issue57, display photo counter in single photo view git-svn-id: file:///var/lib/svn/phpfspot/trunk@228 fa6a889d-dae6-447d-9e79-4ba9a3039384 --- templates/single_photo.tpl | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'templates') diff --git a/templates/single_photo.tpl b/templates/single_photo.tpl index 8dfd433..0d04e17 100644 --- a/templates/single_photo.tpl +++ b/templates/single_photo.tpl @@ -3,7 +3,17 @@ Photo {$image_name}
-  {$description}
+ {if $photo_count > 0} + {$photo_number} of {$photo_count} + {if $photo_count == 1} + Photo + {else} + Photos + {/if} + {if $description} +  {$description}
+ {/if} + {/if} {if $extern_link } -- cgit v1.2.3-18-g5258