2015-05-24 20:01:08 +02:00
|
|
|
<div id="{{$id}}" class="input-group">
|
|
|
|
<form action="{{$action_url}}" method="get" >
|
|
|
|
{{strip}}
|
2017-06-24 10:17:16 +02:00
|
|
|
<input type="text" name="search" id="search-text" placeholder="{{$search_label}}" value="{{$s}}" autofocus />
|
2015-08-24 12:12:14 +02:00
|
|
|
{{if $searchoption}}
|
|
|
|
<select name="search-option" id="search-options">
|
2015-08-24 11:55:29 +02:00
|
|
|
<option value="fulltext">{{$searchoption.0}}</option>
|
|
|
|
<option value="tags">{{$searchoption.1}}</option>
|
|
|
|
<option value="contacts">{{$searchoption.2}}</option>
|
2015-08-25 05:54:50 +02:00
|
|
|
{{if $searchoption.3}}<option value="forums">{{$searchoption.3}}</option>{{/if}}
|
2015-08-24 11:55:29 +02:00
|
|
|
</select>
|
2015-08-24 12:12:14 +02:00
|
|
|
{{/if}}
|
2015-08-24 11:55:29 +02:00
|
|
|
|
2015-05-24 20:01:08 +02:00
|
|
|
<input type="submit" name="submit" id="search-submit" value="{{$search_label}}" />
|
|
|
|
{{if $savedsearch}}
|
2015-07-12 17:43:50 +02:00
|
|
|
<input type="submit" name="save" id="search-save" value="{{$save_label}}" />
|
2015-05-24 20:01:08 +02:00
|
|
|
{{/if}}
|
|
|
|
{{/strip}}
|
|
|
|
</form>
|
|
|
|
</div>
|