friendica/view/templates/searchbox.tpl

19 wiersze
631 B
Smarty
Czysty Zwykły widok Historia

2015-05-24 18:01:08 +00:00
<div id="{{$id}}" class="input-group">
<form action="search" method="get">
{{strip}}
<input type="text" name="q" id="search-text" placeholder="{{$search_label}}" value="{{$s}}">
{{if $search_options}}
2015-08-24 10:12:14 +00:00
<select name="search-option" id="search-options">
{{foreach $search_options as $value => $label}}
<option value="{{$value}}">{{$label}}</option>
{{/foreach}}
</select>
{{/if}}
<input type="submit" name="submit" id="search-submit" value="{{$search_label}}"/>
{{if $s}}
<a href="search/saved/add?term={{$q}}&amp;return_url={{$return_url}}">{{$save_label}}</a>
{{/if}}
{{/strip}}
</form>
2015-05-24 18:01:08 +00:00
</div>