projects
/
phpfspot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
move phpfspot cfg in a dist-config. ignore phpfspot_cfg.php from now
[phpfspot.git]
/
rpc.php
diff --git
a/rpc.php
b/rpc.php
index 4599e11c8603598614ac292111bb499abc112276..b5d5d357f162aa50568d05a84d4bc550077f5cee 100644
(file)
--- a/
rpc.php
+++ b/
rpc.php
@@
-73,8
+73,14
@@
class PHPFSPOT_RPC {
$fspot->resetTags();
break;
$fspot->resetTags();
break;
+ case 'tagcondition':
+
+ $fspot->setTagCondition($_GET['mode']);
+ break;
+
case 'show_photo_index':
case 'show_photo_index':
+ $_SESSION['begin_with'] = $_GET['begin_with'];
$fspot->showPhotoIndex();
break;
$fspot->showPhotoIndex();
break;
@@
-88,6
+94,11
@@
class PHPFSPOT_RPC {
$fspot->showCredits();
break;
$fspot->showCredits();
break;
+ case 'tag_search':
+
+ $fspot->startTagSearch($_GET['for']);
+ break;
+
}
} // process_ajax_request();
}
} // process_ajax_request();