summaryrefslogtreecommitdiffstats
path: root/rpc.php
diff options
context:
space:
mode:
authorAndreas Unterkircher <unki@netshadow.at>2007-06-05 20:21:28 +0000
committerAndreas Unterkircher <unki@netshadow.at>2007-06-05 20:21:28 +0000
commit193a2982417fb5b004c47cc96dcd112e1b07e47d (patch)
tree20bcab4ee39da221bd4b35cb8e44bde6ba529ea3 /rpc.php
parentac63881d744ce0eea0ab6d2ec6510cfecea0954a (diff)
ajax based add/remove/reset tag list
git-svn-id: file:///var/lib/svn/phpfspot/trunk@16 fa6a889d-dae6-447d-9e79-4ba9a3039384
Diffstat (limited to 'rpc.php')
-rw-r--r--rpc.php26
1 files changed, 26 insertions, 0 deletions
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();