draw single photo with AJAX refresh
authorAndreas Unterkircher <unki@netshadow.at>
Mon, 4 Jun 2007 20:10:35 +0000 (20:10 +0000)
committerAndreas Unterkircher <unki@netshadow.at>
Mon, 4 Jun 2007 20:10:35 +0000 (20:10 +0000)
git-svn-id: file:///var/lib/svn/phpfspot/trunk@13 fa6a889d-dae6-447d-9e79-4ba9a3039384

rpc.php

diff --git a/rpc.php b/rpc.php
index ac08129b66b777aca8d1c49d2687201da62930a2..2bb96280344ec53164e1ebc6bbea756e6854446d 100644 (file)
--- a/rpc.php
+++ b/rpc.php
@@ -44,7 +44,10 @@ class PHPFSPOT_RPC {
 
       switch($_GET['action']) {
          case 'showphoto':
-            print "test";
+
+            $fspot->prepare_single_photo($_GET['id']);
+            $fspot->tmpl->show("body.tpl");
+
             break;
       }