view doc/help/theme/better/searchbox.html @ 1259:f1e461340ede

(issue44) Move check if the SW was updated into setLastModifiedSWDate setLastModifiedSWDate is ideally only called once to register a new version so this is the best place to note if an update has been installed.
author Andre Heinecke <andre.heinecke@intevation.de>
date Fri, 26 Sep 2014 13:18:46 +0200
parents cf1fdb254c41
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/