From d9ee4599c943bf674f180a5fab849ec256658a41 Mon Sep 17 00:00:00 2001 From: Andreas Unterkircher Date: Sun, 13 Jan 2008 18:35:00 +0100 Subject: issue100, add/remove tag and tag-condition use HTTP POST Signed-off-by: Andreas Unterkircher --- phpfspot.class.php | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'phpfspot.class.php') diff --git a/phpfspot.class.php b/phpfspot.class.php index 0954040..8646ff1 100644 --- a/phpfspot.class.php +++ b/phpfspot.class.php @@ -643,6 +643,9 @@ class PHPFSPOT { if(!in_array($tag, $_SESSION['selected_tags'])) array_push($_SESSION['selected_tags'], $tag); + + + return "ok"; } // addTag() @@ -663,6 +666,8 @@ class PHPFSPOT { sort($_SESSION['selected_tags']); } + return "ok"; + } // delTag() /** @@ -1447,6 +1452,8 @@ class PHPFSPOT { { $_SESSION['tag_condition'] = $mode; + return "ok"; + } // setTagCondition() /** -- cgit v1.2.3-18-g5258