diff options
author | Andreas Unterkircher <unki@netshadow.at> | 2007-06-05 20:21:28 +0000 |
---|---|---|
committer | Andreas Unterkircher <unki@netshadow.at> | 2007-06-05 20:21:28 +0000 |
commit | 193a2982417fb5b004c47cc96dcd112e1b07e47d (patch) | |
tree | 20bcab4ee39da221bd4b35cb8e44bde6ba529ea3 /rpc.php | |
parent | ac63881d744ce0eea0ab6d2ec6510cfecea0954a (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.php | 26 |
1 files changed, 26 insertions, 0 deletions
@@ -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(); |