dépôts
/
ikiwiki
/
search.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add authentication and multiple database support
[ikiwiki/search.git]
/
templates
/
searchform.tmpl
diff --git
a/templates/searchform.tmpl
b/templates/searchform.tmpl
index
cb65d12
..
f8baf55
100644
(file)
--- a/
templates/searchform.tmpl
+++ b/
templates/searchform.tmpl
@@
-1,6
+1,12
@@
<form method="get" action="<TMPL_VAR SEARCHACTION>" id="searchform">
<div>
<form method="get" action="<TMPL_VAR SEARCHACTION>" id="searchform">
<div>
+<input type="hidden" id="searchdo" name="do" value="search" />
+<TMPL_LOOP NAME="SEARCHDB">
+<input type="hidden" id="searchdb" name="DB" value="<TMPL_VAR DB>" />
+</TMPL_LOOP>
<input type="text" id="searchbox" name="P" value="" size="16"
<input type="text" id="searchbox" name="P" value="" size="16"
-<TMPL_IF HTML5>placeholder="search"</TMPL_IF> />
+<TMPL_IF HTML5>placeholder="search <TMPL_LOOP NAME="SEARCHDB"
+><TMPL_UNLESS NAME="__first__">, </TMPL_UNLESS
+><TMPL_VAR DB></TMPL_LOOP>"</TMPL_IF> />
</div>
</form>
</div>
</form>