summaryrefslogtreecommitdiffstats
path: root/rpc.php
diff options
context:
space:
mode:
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();