projects
/
phpfspot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
moved tag-search code into general getphotoselection function
[phpfspot.git]
/
rpc.php
diff --git
a/rpc.php
b/rpc.php
index 4599e11c8603598614ac292111bb499abc112276..0bdccc9fde733c14972b02f1d8eaab7ab64635cb 100644
(file)
--- a/
rpc.php
+++ b/
rpc.php
@@
-73,6
+73,11
@@
class PHPFSPOT_RPC {
$fspot->resetTags();
break;
$fspot->resetTags();
break;
+ case 'tagcondition':
+
+ $fspot->setTagCondition($_GET['mode']);
+ break;
+
case 'show_photo_index':
$fspot->showPhotoIndex();
case 'show_photo_index':
$fspot->showPhotoIndex();
@@
-88,6
+93,11
@@
class PHPFSPOT_RPC {
$fspot->showCredits();
break;
$fspot->showCredits();
break;
+ case 'search':
+
+ $fspot->startSearch($_GET['for']);
+ break;
+
}
} // process_ajax_request();
}
} // process_ajax_request();