Friendica Communications Platform (please note that this is a clone of the repository at github, issues are handled there) https://friendi.ca
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
622B

  1. <div id="{{$id}}" class="input-group">
  2. <form action="search" method="get">
  3. {{strip}}
  4. <input type="text" name="q" id="search-text" placeholder="{{$search_label}}" value="{{$s}}">
  5. {{if $search_options}}
  6. <select name="search-option" id="search-options">
  7. {{foreach $search_options as $value => $label}}
  8. <option value="{{$value}}">{{$label}}</option>
  9. {{/foreach}}
  10. </select>
  11. {{/if}}
  12. <input type="submit" name="submit" id="search-submit" value="{{$search_label}}"/>
  13. {{if $s}}
  14. <a href="search/saved/add/{{$q}}?return_url={{$return_url}}">{{$save_label}}</a>
  15. {{/if}}
  16. {{/strip}}
  17. </form>
  18. </div>