summaryrefslogtreecommitdiffstats
path: root/phpfspot.class.php
diff options
context:
space:
mode:
authorAndreas Unterkircher <unki@netshadow.at>2007-06-07 15:30:35 +0000
committerAndreas Unterkircher <unki@netshadow.at>2007-06-07 15:30:35 +0000
commit588923cbaafe421b32ec55e2dd4c4bb04df625dd (patch)
treebaecba852259a680b3379cbdfc1fd3654397f91f /phpfspot.class.php
parentfe544d65af90df49390155616b9c864ea60ff2e5 (diff)
some nice credit page
git-svn-id: file:///var/lib/svn/phpfspot/trunk@44 fa6a889d-dae6-447d-9e79-4ba9a3039384
Diffstat (limited to 'phpfspot.class.php')
-rw-r--r--phpfspot.class.php18
1 files changed, 14 insertions, 4 deletions
diff --git a/phpfspot.class.php b/phpfspot.class.php
index ab5cb9e..5df3115 100644
--- a/phpfspot.class.php
+++ b/phpfspot.class.php
@@ -98,9 +98,11 @@ class PHPFSPOT {
}
}
- if(isset($photo)) {
- $this->tmpl->assign('image_url', 'phpfspot_img.php?idx='. $photo ."&amp;width=". $this->cfg->photo_width);
- }
+
+ $details = $this->get_photo_details($photo);
+
+ $this->tmpl->assign('image_name', $details['name']);
+ $this->tmpl->assign('image_url', 'phpfspot_img.php?idx='. $photo ."&amp;width=". $this->cfg->photo_width);
if($previous_img) {
$this->tmpl->assign('previous_url', "javascript:showImage(". $previous_img .");");
@@ -263,7 +265,15 @@ class PHPFSPOT {
$this->tmpl->assign('image_url', $image_url);
$this->tmpl->show("bubble_details.tpl");
- }
+ } // showBubbleDetails()
+
+ public function showCredits()
+ {
+ $this->tmpl->assign('version', $this->cfg->version);
+ $this->tmpl->assign('product', $this->cfg->product);
+ $this->tmpl->show("credits.tpl");
+
+ } // showCredits()
}