From: Andreas Unterkircher Date: Mon, 4 Jun 2007 20:10:35 +0000 (+0000) Subject: draw single photo with AJAX refresh X-Git-Tag: phpfspot-1.2~322 X-Git-Url: https://git.nubati.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=01d597aa4940beb0af2404096e2a1abdf1582f3a;p=phpfspot.git draw single photo with AJAX refresh git-svn-id: file:///var/lib/svn/phpfspot/trunk@13 fa6a889d-dae6-447d-9e79-4ba9a3039384 --- 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; }