X-Git-Url: https://git.nubati.net/cgi-bin/gitweb.cgi?p=phpfspot.git;a=blobdiff_plain;f=rpc.php;h=b5d5d357f162aa50568d05a84d4bc550077f5cee;hp=4599e11c8603598614ac292111bb499abc112276;hb=605439cc3bceba0e1974448a5c669e33303fcc90;hpb=588923cbaafe421b32ec55e2dd4c4bb04df625dd diff --git a/rpc.php b/rpc.php index 4599e11..b5d5d35 100644 --- 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 'tag_search': + + $fspot->startTagSearch($_GET['for']); + break; + } } // process_ajax_request();