aboutsummaryrefslogtreecommitdiffstats
path: root/mod/search.php
diff options
context:
space:
mode:
authorMichael Vogel <icarus@dabo.de>2012-05-25 16:19:10 +0200
committerMichael Vogel <icarus@dabo.de>2012-05-25 16:19:10 +0200
commita71e3134bf7250b60cafd1e51098eea70c3459de (patch)
tree456f59d30e5f4b8d22f4bfdac0c55e7323cd0427 /mod/search.php
parent8c80fe0bf51fa472ddf9bf225490e47ea1bf4a7f (diff)
parentd1345e505406b1a1cdc3fc26a1734916c8abc89d (diff)
downloadvolse-hubzilla-a71e3134bf7250b60cafd1e51098eea70c3459de.tar.gz
volse-hubzilla-a71e3134bf7250b60cafd1e51098eea70c3459de.tar.bz2
volse-hubzilla-a71e3134bf7250b60cafd1e51098eea70c3459de.zip
Merge remote branch 'upstream/master'
Diffstat (limited to 'mod/search.php')
-rw-r--r--mod/search.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/mod/search.php b/mod/search.php
index 635c87b70..3e6bf68aa 100644
--- a/mod/search.php
+++ b/mod/search.php
@@ -80,7 +80,7 @@ function search_content(&$a) {
$o = '<div id="live-search"></div>' . "\r\n";
- $o .= '<h3>' . t('Search This Site') . '</h3>';
+ $o .= '<h3>' . t('Search') . '</h3>';
if(x($a->data,'search'))
$search = notags(trim($a->data['search']));
@@ -101,6 +101,10 @@ function search_content(&$a) {
$tag = true;
$search = substr($search,1);
}
+ if(strpos($search,'@') === 0) {
+ require_once('mod/dirfind.php');
+ return dirfind_content($a);
+ }
if(! $search)
return $o;