diff options
author | Joey Hess <joey@kodama.kitenet.net> | 2008-06-04 15:24:05 -0400 |
---|---|---|
committer | Joey Hess <joey@kodama.kitenet.net> | 2008-06-04 15:24:28 -0400 |
commit | 3215b5a9821d69a2216c2cdf2b64cd3eb27f7370 (patch) | |
tree | 1ba239c5123030ed7fd6d525e9bd476c2108be1b /templates | |
parent | a3d8f4904ecd3aef35bacc43845546dd352a7977 (diff) |
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.tmpl | 8 |
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, |