view manuals/admin-manual/_templates/searchbox.html @ 944:76c410aff382

Fix two "memory leaks" Not really a leak as they are part of main and thus only executed once but this makes memory analysis easier.
author Andre Heinecke <andre.heinecke@intevation.de>
date Tue, 26 Aug 2014 17:03:03 +0200
parents b5a49960d5cb
children e83ce2c757f3
line wrap: on
line source
{#
    basic/searchbox.html
    ~~~~~~~~~~~~~~~~~~~~

    Sphinx sidebar template: quick search box.

    :copyright: Copyright 2007-2014 by the Sphinx team, see AUTHORS.
    :license: BSD, see LICENSE for details.
#}
{%- if pagename != "search" and builder != "singlehtml" %}
<div id="searchbox" style="display: none">
  <h3>{{ _('Quick search') }}</h3>
    <form class="search" action="{{ pathto('search') }}" method="get">
      <input type="text" name="q" />
      <input type="submit" value="{{ _('Go') }}" />
      <input type="hidden" name="check_keywords" value="yes" />
      <input type="hidden" name="area" value="default" />
    </form>
</div>
<p></p>
<script type="text/javascript">$('#searchbox').show(0);</script>
{%- endif %}

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