Mercurial > trustbridge
view manuals/theme/better/searchbox.html @ 1070:f110a3f6e387
(issue114) Fine tune ACL propagation
using mkdir_p the ACL of the parent directories would
propagate to all subdirectories and objects in the directory.
Now we only use ACL propagation in the last directory to make
sure that files we might create in that directory inherit the
correct (resitricted) ACL
author | Andre Heinecke <andre.heinecke@intevation.de> |
---|---|
date | Wed, 10 Sep 2014 16:41:36 +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 %}