projects
/
phpfspot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
draw single photo with AJAX refresh
[phpfspot.git]
/
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;
}