From 193a2982417fb5b004c47cc96dcd112e1b07e47d Mon Sep 17 00:00:00 2001 From: Andreas Unterkircher Date: Tue, 5 Jun 2007 20:21:28 +0000 Subject: ajax based add/remove/reset tag list git-svn-id: file:///var/lib/svn/phpfspot/trunk@16 fa6a889d-dae6-447d-9e79-4ba9a3039384 --- rpc.php | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) (limited to 'rpc.php') diff --git a/rpc.php b/rpc.php index 2bb9628..d8d0743 100644 --- a/rpc.php +++ b/rpc.php @@ -49,6 +49,32 @@ class PHPFSPOT_RPC { $fspot->tmpl->show("body.tpl"); break; + + case 'show_available_tags': + + $fspot->getAvailableTags(); + break; + + case 'show_selected_tags': + + $fspot->getSelectedTags(); + break; + + case 'addtag': + + $fspot->addTag($_GET['id']); + break; + + case 'deltag': + + $fspot->delTag($_GET['id']); + break; + + case 'resettags': + + $fspot->resetTags(); + break; + } } // process_ajax_request(); -- cgit v1.2.3-18-g5258