]> git.mxchange.org Git - friendica.git/blobdiff - mod/dirfind.php
Added help text
[friendica.git] / mod / dirfind.php
index 34c54dd9185877b23fbf5a00b55cc7860c22bc84..0c6d79480f5fc17ac120451b8c84ef64849885dc 100644 (file)
@@ -17,11 +17,16 @@ function dirfind_init(&$a) {
 function dirfind_content(&$a) {
 
        $search = notags(trim($_REQUEST['search']));
+
+       if(strpos($search,'@') === 0)
+               $search = substr($search,1);
        
        $o = '';
 
-       $o .= '<h2>' . t('People Search') . ' - ' . $search . '</h2>';
-       
+       $o .= replace_macros(get_markup_template("section_title.tpl"),array(
+               '$title' => sprintf( t('People Search - %s'), $search)
+       ));
+
        if($search) {
 
                $p = (($a->pager['page'] != 1) ? '&p=' . $a->pager['page'] : '');