issue6, first implementation of paged photo index view
[phpfspot.git] / rpc.php
diff --git a/rpc.php b/rpc.php
index 4599e11c8603598614ac292111bb499abc112276..6775647ca6acd84a1b8564bee1c204051ac39e3c 100644 (file)
--- a/rpc.php
+++ b/rpc.php
@@ -73,8 +73,14 @@ class PHPFSPOT_RPC {
             $fspot->resetTags();
             break;
 
+         case 'tagcondition':
+
+            $fspot->setTagCondition($_GET['mode']);
+            break;
+
          case 'show_photo_index':
 
+            $_SESSION['begin_with'] = $_GET['begin_with'];
             $fspot->showPhotoIndex();
             break;
    
@@ -88,6 +94,11 @@ class PHPFSPOT_RPC {
             $fspot->showCredits();
             break;
 
+         case 'search':
+
+            $fspot->startSearch($_GET['for']);
+            break;
+
       }
 
    } // process_ajax_request();