further renaming of showImage() to showPhoto()
authorAndreas Unterkircher <unki@netshadow.at>
Fri, 23 May 2008 09:58:39 +0000 (11:58 +0200)
committerAndreas Unterkircher <unki@netshadow.at>
Fri, 23 May 2008 09:58:39 +0000 (11:58 +0200)
Signed-off-by: Andreas Unterkircher <unki@netshadow.at>
phpfspot.class.php

index 54308aa..1d20ab1 100644 (file)
@@ -649,12 +649,12 @@ class PHPFSPOT {
       $this->tmpl->assign('current_img', $photo);
 
       if($previous_img) {
-         $this->tmpl->assign('previous_url', "javascript:showImage(". $previous_img .");");
+         $this->tmpl->assign('previous_url', "javascript:showPhoto(". $previous_img .");");
          $this->tmpl->assign('prev_img', $previous_img);
       }
 
       if($next_img) {
-         $this->tmpl->assign('next_url', "javascript:showImage(". $next_img .");");
+         $this->tmpl->assign('next_url', "javascript:showPhoto(". $next_img .");");
          $this->tmpl->assign('next_img', $next_img);
       }
       $this->tmpl->assign('mini_width', $this->cfg->mini_width);