X-Git-Url: https://git.nubati.net/cgi-bin/gitweb.cgi?p=phpfspot.git;a=blobdiff_plain;f=rpc.php;h=0bdccc9fde733c14972b02f1d8eaab7ab64635cb;hp=48b4c40502b3c07aa6839b98c435fa221d30c7d0;hb=39c86688aa230ba5010a821580e891b20c4e1a32;hpb=d902cdfd067b6ae1356c537b4d5605307f3ed524 diff --git a/rpc.php b/rpc.php index 48b4c40..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(); @@ -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();