]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - templates/searchquery.tmpl
Only store titlesort in meta pagestate if it differs from title
[git.ikiwiki.info.git] / templates / searchquery.tmpl
index 33a7cb6fad600b400f268bf44a1a7c6ba1948800..782b12cab0cee051ed41eda88bfdaf2e3b1e8187 100644 (file)
@@ -1,3 +1,5 @@
+$setmap{prefix,title,S}
+$setmap{prefix,link,XLINK}
 $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,