X-Git-Url: https://git.nubati.net/cgi-bin/gitweb.cgi?p=phpfspot.git;a=blobdiff_plain;f=rpc.php;h=0bdccc9fde733c14972b02f1d8eaab7ab64635cb;hp=4599e11c8603598614ac292111bb499abc112276;hb=5c5ea48a8bd12db24bd0bf5172798eaac2649376;hpb=588923cbaafe421b32ec55e2dd4c4bb04df625dd diff --git a/rpc.php b/rpc.php index 4599e11..0bdccc9 100644 --- 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();