annotate doc/help/_templates/searchbox.html @ 1248:9f5893faa60b

(issue143) Only show warning when multiple users exist. This enumerates the ProfileList registry key and looks for SID's starting with S-1-5-21- (like the certificate installer does) and count the users. Only when more then one users are found the warning is shown. Otherwise the nss-installer will be removed.
author Andre Heinecke <andre.heinecke@intevation.de>
date Thu, 25 Sep 2014 12:04:54 +0200
parents 4a329513ee86
children
rev   line source
1238
4a329513ee86 (help) Share _template directory with client and admin help.
Emanuel Schuetze <emanuel@intevation.de>
parents:
diff changeset
1 {#
4a329513ee86 (help) Share _template directory with client and admin help.
Emanuel Schuetze <emanuel@intevation.de>
parents:
diff changeset
2 basic/searchbox.html
4a329513ee86 (help) Share _template directory with client and admin help.
Emanuel Schuetze <emanuel@intevation.de>
parents:
diff changeset
3 ~~~~~~~~~~~~~~~~~~~~
4a329513ee86 (help) Share _template directory with client and admin help.
Emanuel Schuetze <emanuel@intevation.de>
parents:
diff changeset
4
4a329513ee86 (help) Share _template directory with client and admin help.
Emanuel Schuetze <emanuel@intevation.de>
parents:
diff changeset
5 Sphinx sidebar template: quick search box.
4a329513ee86 (help) Share _template directory with client and admin help.
Emanuel Schuetze <emanuel@intevation.de>
parents:
diff changeset
6
4a329513ee86 (help) Share _template directory with client and admin help.
Emanuel Schuetze <emanuel@intevation.de>
parents:
diff changeset
7 :copyright: Copyright 2007-2014 by the Sphinx team, see AUTHORS.
4a329513ee86 (help) Share _template directory with client and admin help.
Emanuel Schuetze <emanuel@intevation.de>
parents:
diff changeset
8 :license: BSD, see LICENSE for details.
4a329513ee86 (help) Share _template directory with client and admin help.
Emanuel Schuetze <emanuel@intevation.de>
parents:
diff changeset
9 #}
4a329513ee86 (help) Share _template directory with client and admin help.
Emanuel Schuetze <emanuel@intevation.de>
parents:
diff changeset
10 {%- if pagename != "search" and builder != "singlehtml" %}
4a329513ee86 (help) Share _template directory with client and admin help.
Emanuel Schuetze <emanuel@intevation.de>
parents:
diff changeset
11 <div id="searchbox" style="display: none">
4a329513ee86 (help) Share _template directory with client and admin help.
Emanuel Schuetze <emanuel@intevation.de>
parents:
diff changeset
12 <h3>Suche</h3>
4a329513ee86 (help) Share _template directory with client and admin help.
Emanuel Schuetze <emanuel@intevation.de>
parents:
diff changeset
13 <form class="search" action="{{ pathto('search') }}" method="get">
4a329513ee86 (help) Share _template directory with client and admin help.
Emanuel Schuetze <emanuel@intevation.de>
parents:
diff changeset
14 <input type="text" name="q" />
4a329513ee86 (help) Share _template directory with client and admin help.
Emanuel Schuetze <emanuel@intevation.de>
parents:
diff changeset
15 <input type="submit" value="{{ _('Go') }}" />
4a329513ee86 (help) Share _template directory with client and admin help.
Emanuel Schuetze <emanuel@intevation.de>
parents:
diff changeset
16 <input type="hidden" name="check_keywords" value="yes" />
4a329513ee86 (help) Share _template directory with client and admin help.
Emanuel Schuetze <emanuel@intevation.de>
parents:
diff changeset
17 <input type="hidden" name="area" value="default" />
4a329513ee86 (help) Share _template directory with client and admin help.
Emanuel Schuetze <emanuel@intevation.de>
parents:
diff changeset
18 </form>
4a329513ee86 (help) Share _template directory with client and admin help.
Emanuel Schuetze <emanuel@intevation.de>
parents:
diff changeset
19 </div>
4a329513ee86 (help) Share _template directory with client and admin help.
Emanuel Schuetze <emanuel@intevation.de>
parents:
diff changeset
20 <p></p>
4a329513ee86 (help) Share _template directory with client and admin help.
Emanuel Schuetze <emanuel@intevation.de>
parents:
diff changeset
21 <script type="text/javascript">$('#searchbox').show(0);</script>
4a329513ee86 (help) Share _template directory with client and admin help.
Emanuel Schuetze <emanuel@intevation.de>
parents:
diff changeset
22 {%- endif %}

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