Mercurial > trustbridge
view doc/help/theme/better/searchbox.html @ 1332:8362e30f7b55
(issue139) Check that pid is not running if the lock can be aquired
If the lock on the lockfile can be aquired it might still be
possible that another process is running. So we read the
pid from the lockfile and check if another process with the
same installation prefix as us is running.
author | Andre Heinecke <andre.heinecke@intevation.de> |
---|---|
date | Wed, 15 Oct 2014 14:19: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 %}