From 01d597aa4940beb0af2404096e2a1abdf1582f3a Mon Sep 17 00:00:00 2001 From: Andreas Unterkircher Date: Mon, 4 Jun 2007 20:10:35 +0000 Subject: draw single photo with AJAX refresh git-svn-id: file:///var/lib/svn/phpfspot/trunk@13 fa6a889d-dae6-447d-9e79-4ba9a3039384 --- rpc.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'rpc.php') 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; } -- cgit v1.2.3-18-g5258