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 54308aa25ca3e109e2e4d7c7ada4e958b72a1b44..1d20ab19e3e17a140313a0a433bf6b4f4204d9f6 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);