]> git.mxchange.org Git - friendica.git/blobdiff - mod/search.php
Merge pull request #10 from duthied/master
[friendica.git] / mod / search.php
index d150b2e1e42488b7910cdff737a06d5cc9265a31..396b50738efd0869adbf42fea044cb6a6d800e8e 100644 (file)
@@ -9,8 +9,9 @@ function search_saved_searches() {
        );
 
        if(count($r)) {
+               $o .= '<div id="saved-search-list" class="widget">';
                $o .= '<h3>' . t('Saved Searches') . '</h3>' . "\r\n";
-               $o .= '<div id="saved-search-list"><ul id="saved-search-ul">' . "\r\n";
+               $o .= '<ul id="saved-search-ul">' . "\r\n";
                foreach($r as $rr) {
                        $o .= '<li class="saved-search-li clear"><a href="search/?f=&remove=1&search=' . $rr['term'] . '" class="icon drophide savedsearchdrop" title="' . t('Remove term') . '" onclick="return confirmDelete();" onmouseover="imgbright(this);" onmouseout="imgdull(this);" ></a> <a href="search/?f&search=' . $rr['term'] . '" class="savedsearchterm" >' . $rr['term'] . '</a></li>' . "\r\n";
                }
@@ -67,6 +68,8 @@ function search_content(&$a) {
                notice( t('Public access denied.') . EOL);
                return;
        }
+       
+       nav_set_selected('search');
 
        require_once("include/bbcode.php");
        require_once('include/security.php');
@@ -140,7 +143,7 @@ function search_content(&$a) {
 
        );
 
-
+       $o .= '<h2>Search results for: ' . $search . '</h2>';
 
        $o .= conversation($a,$r,'search',false);