added widget class to saved arch block on search page
added header to search results where there are results
This commit is contained in:
parent
a1fc1be9da
commit
7dbf112092
2 changed files with 5 additions and 4 deletions
|
@ -9,8 +9,9 @@ function search_saved_searches() {
|
||||||
);
|
);
|
||||||
|
|
||||||
if(count($r)) {
|
if(count($r)) {
|
||||||
|
$o .= '<div id="saved-search-list" class="widget">';
|
||||||
$o .= '<h3>' . t('Saved Searches') . '</h3>' . "\r\n";
|
$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) {
|
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";
|
$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);
|
$o .= conversation($a,$r,'search',false);
|
||||||
|
|
||||||
|
|
|
@ -2017,11 +2017,11 @@ margin-left: 90px;
|
||||||
background-color: #ffffff;
|
background-color: #ffffff;
|
||||||
}
|
}
|
||||||
|
|
||||||
#contact-edit-banner-name { font-size: 1.5em; margin-left: 30px; }
|
#contact-edit-banner-name { font-size: 1.5em; margin-left: 30px; font-variant: small-caps; }
|
||||||
#contact-edit-photo-wrapper {position: relative; float: left; padding: 20px;}
|
#contact-edit-photo-wrapper {position: relative; float: left; padding: 20px;}
|
||||||
#contact-edit-direction-icon { position: absolute; top: 60px; left:0px;}
|
#contact-edit-direction-icon { position: absolute; top: 60px; left:0px;}
|
||||||
#contact-edit-nav-wrapper { margin-left: 210px; }
|
#contact-edit-nav-wrapper { margin-left: 210px; }
|
||||||
#contact-edit-links { float: left; margin-top: 43px; }
|
#contact-edit-links { float: left; margin-top: 23px; }
|
||||||
#contact-drop-links {/*position: absolute; top: 150px; left: 348px;*/}
|
#contact-drop-links {/*position: absolute; top: 150px; left: 348px;*/}
|
||||||
#contact-edit-nav-wrapper .icon {
|
#contact-edit-nav-wrapper .icon {
|
||||||
border: 1px solid #babdb6;
|
border: 1px solid #babdb6;
|
||||||
|
|
Loading…
Reference in a new issue