aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorJoey Hess <joey@kodama.kitenet.net>2008-06-04 15:24:05 -0400
committerJoey Hess <joey@kodama.kitenet.net>2008-06-04 15:24:28 -0400
commit3215b5a9821d69a2216c2cdf2b64cd3eb27f7370 (patch)
tree1ba239c5123030ed7fd6d525e9bd476c2108be1b /templates
parenta3d8f4904ecd3aef35bacc43845546dd352a7977 (diff)
downloadikiwiki-3215b5a9821d69a2216c2cdf2b64cd3eb27f7370.tar
ikiwiki-3215b5a9821d69a2216c2cdf2b64cd3eb27f7370.tar.gz
finishing touches on the new search plugin
- Add a Help link. - If the pageterm is too long, hash it.
Diffstat (limited to 'templates')
-rw-r--r--templates/searchquery.tmpl8
1 files changed, 1 insertions, 7 deletions
diff --git a/templates/searchquery.tmpl b/templates/searchquery.tmpl
index bf36f3330..0d6eb6398 100644
--- a/templates/searchquery.tmpl
+++ b/templates/searchquery.tmpl
@@ -36,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,