Now you can set search options so that searching for contacts or forums isn't occult science anymore.
This commit is contained in:
parent
109620ae99
commit
3ff196f00d
6 changed files with 46 additions and 8 deletions
|
|
@ -14,13 +14,13 @@ function dirfind_init(&$a) {
|
|||
|
||||
|
||||
|
||||
function dirfind_content(&$a) {
|
||||
function dirfind_content(&$a, $prefix = "") {
|
||||
|
||||
$community = false;
|
||||
|
||||
$local = get_config('system','poco_local_search');
|
||||
|
||||
$search = notags(trim($_REQUEST['search']));
|
||||
$search = $prefix.notags(trim($_REQUEST['search']));
|
||||
|
||||
if(strpos($search,'@') === 0)
|
||||
$search = substr($search,1);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue