nav_set_selected('search');
-
- $o = '<h3>' . t('Search') . '</h3>';
-
if(x($a->data,'search'))
$search = notags(trim($a->data['search']));
else
$search = ((x($_GET,'tag')) ? notags(trim(rawurldecode($_GET['tag']))) : '');
}
-
- $o .= search($search,'search-box','search',((local_user()) ? true : false), false);
+ // contruct a wrapper for the search header
+ $o .= replace_macros(get_markup_template("content_wrapper.tpl"),array(
+ 'name' => "search-header",
+ '$title' => t("Search"),
+ '$title_size' => 3,
+ '$content' => search($search,'search-box','search',((local_user()) ? true : false), false)
+ ));
if(strpos($search,'#') === 0) {
$tag = true;
return dirfind_content($a);
}
- if(x($_GET,'search-option'))
+ if(x($_GET,'search-option'))
switch($_GET['search-option']) {
case 'fulltext':
break;
--- /dev/null
+
+<div {{if $name}}id="{{$name}}-wrapper"{{/if}} class="general-content-wrapper">
+ {{* give different possibilities for the size of the heading *}}
+ {{if $title_size}}
+ <h{{$title_size}} {{if $name}}id="{{$name}}-heading"{{/if}}>{{$title}}</h{{$title_size}}>
+ {{else}}
+ {{include file="section_title.tpl"}}
+ {{/if}}
+
+ {{* output the content *}}
+ {{$content}}
+</div>
color: $link_color;
font-size: 20px;
}
-
+/* Section-Content-Wrapper */
+#search-header-wrapper {
+ padding: 15px;
+ padding-bottom: 20px;
+ margin-bottom: 20px;
+ border: none;
+ /*background-color: #fff;*/
+ background-color: rgba(255,255,255,$contentbg_transp);
+ border-radius: 4px;
+ position: relative;
+ /*overflow: hidden;*/
+ color: #555;
+ box-shadow: 0 0 3px #dadada;
+ -webkit-box-shadow: 0 0 3px #dadada;
+ -moz-box-shadow: 0 0 3px #dadada;
+}
/* PAGES */
{{if $saved}}
<div class="widget" id="saved-search-list">
<h3 id="search">{{$title}}</h3>
-
+
<ul role="menu" id="saved-search-ul">
{{foreach $saved as $search}}
<li role="menuitem" class="saved-search-li clear">