aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
authorDevlon Duthie <duthied@gmail.com>2011-09-25 16:01:05 -0500
committerDevlon Duthie <duthied@gmail.com>2011-09-25 16:01:05 -0500
commit7dbf11209267bab3b1ee7910fee0a6c67a49a001 (patch)
tree10a0a24761cb5e3b7abbc9575a2773951d0db3ec /mod
parenta1fc1be9da21d64f4c2a789b1686fa7b7348d2c0 (diff)
downloadvolse-hubzilla-7dbf11209267bab3b1ee7910fee0a6c67a49a001.tar.gz
volse-hubzilla-7dbf11209267bab3b1ee7910fee0a6c67a49a001.tar.bz2
volse-hubzilla-7dbf11209267bab3b1ee7910fee0a6c67a49a001.zip
added widget class to saved arch block on search page
added header to search results where there are results
Diffstat (limited to 'mod')
-rw-r--r--mod/search.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/mod/search.php b/mod/search.php
index d150b2e1e..2ce3c8dcd 100644
--- a/mod/search.php
+++ b/mod/search.php
@@ -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";
}
@@ -140,7 +141,7 @@ function search_content(&$a) {
);
-
+ $o .= '<h2>Search results for: ' . $search . '</h2>';
$o .= conversation($a,$r,'search',false);