some error handling on thumbnail generation
[phpfspot.git] / rpc.php
diff --git a/rpc.php b/rpc.php
index 48b4c40502b3c07aa6839b98c435fa221d30c7d0..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();
@@ -83,6 +88,16 @@ class PHPFSPOT_RPC {
             $fspot->showBubbleDetails($_GET['id'], $_GET['direction']);
             break;
 
+         case 'showcredits':
+
+            $fspot->showCredits();
+            break;
+
+         case 'search':
+
+            $fspot->startSearch($_GET['for']);
+            break;
+
       }
 
    } // process_ajax_request();