diff options
author | Andreas Unterkircher <unki@netshadow.at> | 2008-03-27 20:12:28 +0100 |
---|---|---|
committer | Andreas Unterkircher <unki@netshadow.at> | 2008-03-27 20:12:28 +0100 |
commit | 0b79deeea3e8d6058eb5651200dbe127c02e0019 (patch) | |
tree | 770b4ec02954aaccd15409f508f3e61a46cb9495 /phpfspot.class.php | |
parent | 09deb2461c15d514cfaaa02ee78ab2dfc421a3c7 (diff) |
make the full photo name available for the lightbox effect
Signed-off-by: Andreas Unterkircher <unki@netshadow.at>
Diffstat (limited to 'phpfspot.class.php')
-rw-r--r-- | phpfspot.class.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/phpfspot.class.php b/phpfspot.class.php index 76c6ba8..7e7d4dd 100644 --- a/phpfspot.class.php +++ b/phpfspot.class.php @@ -983,6 +983,7 @@ class PHPFSPOT { $img_width[$thumbs] = Array(); $img_id[$thumbs] = Array(); $img_name[$thumbs] = Array(); + $img_fullname[$thumbs] = Array(); $img_title = Array(); for($i = $begin_with; $i < $end_with; $i++) { @@ -992,6 +993,7 @@ class PHPFSPOT { $images[$thumbs] = $photos[$i]; $img_id[$thumbs] = $i; $img_name[$thumbs] = htmlspecialchars($this->getPhotoName($photos[$i], 15)); + $img_fullname[$thumbs] = htmlspecialchars($this->getPhotoName($photos[$i], 0)); $img_title[$thumbs] = "Click to view photo ". htmlspecialchars($this->getPhotoName($photos[$i], 0)); $thumb_path = $this->get_thumb_path($this->cfg->thumb_width, $photos[$i]); @@ -1130,6 +1132,7 @@ class PHPFSPOT { $this->tmpl->assign('img_height', $img_height); $this->tmpl->assign('img_id', $img_id); $this->tmpl->assign('img_name', $img_name); + $this->tmpl->assign('img_fullname', $img_fullname); $this->tmpl->assign('img_title', $img_title); $this->tmpl->assign('thumbs', $thumbs); |