summaryrefslogtreecommitdiffstats
path: root/phpfspot.class.php
diff options
context:
space:
mode:
authorAndreas Unterkircher <unki@netshadow.at>2007-07-21 07:34:27 +0000
committerAndreas Unterkircher <unki@netshadow.at>2007-07-21 07:34:27 +0000
commit4079ac52ab60d1d48bd79514d62955b3ee4ebe5e (patch)
tree7a89aacfe9116d276bec925c6fb145379667e207 /phpfspot.class.php
parent360b97e6da3d53e9ff5f5a92b6388a9a82824c24 (diff)
issue57, display photo counter in single photo view
git-svn-id: file:///var/lib/svn/phpfspot/trunk@228 fa6a889d-dae6-447d-9e79-4ba9a3039384
Diffstat (limited to 'phpfspot.class.php')
-rw-r--r--phpfspot.class.php2
1 files changed, 2 insertions, 0 deletions
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");