]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - templates/searchquery.tmpl
web commit by intrigeri: added suggestion to move functionnality from the core to...
[git.ikiwiki.info.git] / templates / searchquery.tmpl
index 33a7cb6fad600b400f268bf44a1a7c6ba1948800..0d6eb6398cb40d26ad7bb7673cab6f9307b0086c 100644 (file)
@@ -1,3 +1,5 @@
+$setmap{prefix,title,S}
+$setmap{prefix,link,LINK}
 $set{thousand,$.}$set{decimal,.}$setmap{BN,,Any Country,uk,England,fr,France}
 ${
 $def{PREV,
@@ -34,18 +36,12 @@ ACTION="$html{$env{CGIURL}}" TARGET="_top">
 <center>
 <INPUT NAME=P VALUE="$html{$query}" SIZE=65>
 <INPUT TYPE=SUBMIT VALUE="Search">
+$env{HELPLINK}
 <hr>
 <SELECT NAME=DEFAULTOP>
 <OPTION VALUE=or $if{$eq{$defaultop,or},SELECTED}>Matching any words
 <OPTION VALUE=and $if{$eq{$defaultop,and},SELECTED}>Matching all words
 </SELECT>
-$if{$opt{topterms},
- <div title="Suggested terms to add to your query"
- style="text-align:left;background:#cfc;border:1px solid green;padding:2px;font:11px verdana$. arial$. helvetica$. sans-serif;">
- $map{$topterms,<span style="white-space:nowrap"><INPUT TYPE=checkbox NAME=X VALUE="$prettyterm{$_}" onClick="C(this)">$prettyterm{$_}</span> }
- <BR><NOSCRIPT><INPUT TYPE=hidden NAME=ADD VALUE=1></NOSCRIPT>
- </div>
-}
 $or{$html{$error},
 $if{$eq{$msize,0},
 $if{$query,No documents match your query,