X-Git-Url: https://git.nubati.net/cgi-bin/gitweb.cgi?p=phpfspot.git;a=blobdiff_plain;f=phpfspot.class.php;h=2df02508df014e28fee09c55c70d92c8d29678f4;hp=25d144c2dcbe255b0cd7270b1090b13946d1c8a2;hb=29136b0fe2cbc7c1ba524f3483701f1a257ecb7c;hpb=005562e4a4fb2b37fc6f1d4a8ca4a9c11ab42ed1 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");