blur on big image link buttons
[phpfspot.git] / rpc.php
diff --git a/rpc.php b/rpc.php
index 4599e11c8603598614ac292111bb499abc112276..0bdccc9fde733c14972b02f1d8eaab7ab64635cb 100644 (file)
--- a/rpc.php
+++ b/rpc.php
@@ -73,6 +73,11 @@ class PHPFSPOT_RPC {
             $fspot->resetTags();
             break;
 
+         case 'tagcondition':
+
+            $fspot->setTagCondition($_GET['mode']);
+            break;
+
          case 'show_photo_index':
 
             $fspot->showPhotoIndex();
@@ -88,6 +93,11 @@ class PHPFSPOT_RPC {
             $fspot->showCredits();
             break;
 
+         case 'search':
+
+            $fspot->startSearch($_GET['for']);
+            break;
+
       }
 
    } // process_ajax_request();