summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Unterkircher <unki@netshadow.at>2007-06-04 20:10:35 +0000
committerAndreas Unterkircher <unki@netshadow.at>2007-06-04 20:10:35 +0000
commit01d597aa4940beb0af2404096e2a1abdf1582f3a (patch)
treeec093cc0a2f51f35f20620919e583add649ec56f
parentc4aa146f3a1e8fdf75a0fc0e024c144692d92cfc (diff)
draw single photo with AJAX refresh
git-svn-id: file:///var/lib/svn/phpfspot/trunk@13 fa6a889d-dae6-447d-9e79-4ba9a3039384
-rw-r--r--rpc.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/rpc.php b/rpc.php
index ac08129..2bb9628 100644
--- 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;
}