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 --- phpfspot.class.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'phpfspot.class.php') diff --git a/phpfspot.class.php b/phpfspot.class.php index 25d144c..2df0250 100644 --- a/phpfspot.class.php +++ b/phpfspot.class.php @@ -361,6 +361,8 @@ class PHPFSPOT { $this->tmpl->assign('next_img', $next_img); } $this->tmpl->assign('mini_width', $this->cfg->mini_width); + $this->tmpl->assign('photo_number', $i); + $this->tmpl->assign('photo_count', count($all_photos)); $this->tmpl->show("single_photo.tpl"); -- cgit v1.2.3-18-g5258