issue6, first implementation of paged photo index view
[phpfspot.git] / rpc.php
diff --git a/rpc.php b/rpc.php
index 48b4c40502b3c07aa6839b98c435fa221d30c7d0..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;
    
@@ -83,6 +89,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();