view manuals/theme/better/searchbox.html @ 1118:fd85a02d771d

(issue54) Implement a privilege drop to execute the program after installation. This commit is extremly ugly as I accidentally worked in a working tree that was partially merged with default. To review the real change please check the commit that will merge this branch into default.
author Andre Heinecke <andre.heinecke@intevation.de>
date Tue, 16 Sep 2014 19:45:19 +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/