view manuals/theme/better/searchbox.html @ 983:427e2e18b8c8

Move Shell functions into util Due to a bug in mingw only one c file may include shlobj.h as there is an unguarded inline definition in there leading to multiple definition errors. Thus the get_program_data get_program_files utility functions.
author Andre Heinecke <andre.heinecke@intevation.de>
date Fri, 29 Aug 2014 17:11:35 +0200
parents 519b14c5260d
children
line wrap: on
line source
{%- if pagename != "search" %}
<form class="search" action="{{ pathto('search') }}" method="get">
  <input type="text" name="q"
   placeholder="{{ _('type to search') }}" />
  {#- I have not been able to make this look good. #}
  {#- <input type="submit" value="{{ _('Search') }}" /> #}
  <input type="hidden" name="check_keywords" value="yes" />
  <input type="hidden" name="area" value="default" />
</form>
<script type="text/javascript">$('#searchbox').show(0);</script>
{%- endif %}

http://wald.intevation.org/projects/trustbridge/