X-Git-Url: https://sipb.mit.edu/gitweb.cgi/ikiwiki.git/blobdiff_plain/3215b5a9821d69a2216c2cdf2b64cd3eb27f7370..f47af2b8c488f3426edd8181f72bf2177e267c73:/templates/searchquery.tmpl diff --git a/templates/searchquery.tmpl b/templates/searchquery.tmpl index 0d6eb6398..15bc78e28 100644 --- a/templates/searchquery.tmpl +++ b/templates/searchquery.tmpl @@ -1,5 +1,5 @@ $setmap{prefix,title,S} -$setmap{prefix,link,LINK} +$setmap{prefix,link,XLINK} $set{thousand,$.}$set{decimal,.}$setmap{BN,,Any Country,uk,England,fr,France} ${ $def{PREV, @@ -33,7 +33,7 @@ $def{NEXT,$if{$ne{$last,$msize},}}
-
+
$env{HELPLINK} @@ -54,7 +54,7 @@ $if{$not{$msizeexact}, $nice{$add{$topdoc,1}}$if{$ne{$add{$topdoc,1},$last},-$nice{$last}} of exactly $nice{$msize} matches} }
-
+ $list{$map{$queryterms,$list{$html{$uniq{$unstem{$_}}},,/,}: $nice{$freq{$_}}},Term frequencies: ,$. ,}
Search took $time seconds @@ -70,15 +70,16 @@ $if{$field{language},Language: $html{$field{language}}
} $if{$field{size},Size: $html{$filesize{$field{size}}}
} -}
$html{$or{$field{caption},$field{title},$field{url},Untitled}}
+
$html{$or{$field{caption},$field{title},$field{url},Untitled}}
$highlight{$field{sample},$terms}$if{$field{sample},...}
$percentage% relevant$. matching: $list{$map{$terms,$html{$prettyterm{$_}}},$. , and }${for lynx:}

-
+
+
${suppress next, prev, and page links if there's only one page} $if{$ne{$lastpage,1}, $set{a,$if{$opt{pagelink_height}, HEIGHT=$opt{pagelink_height}}$if{$opt{pagelink_width}, WIDTH=$opt{pagelink_width}}} @@ -97,7 +98,7 @@ $if{$ne{$opt{y},$lastpage},...} $NEXT } }} -

+
$if{$dbname,} $if{$ne{$topdoc,0},} $if{$ne{$hitsperpage,10},}