diff options
Diffstat (limited to 'searchquery.tmpl')
-rw-r--r-- | searchquery.tmpl | 25 |
1 files changed, 13 insertions, 12 deletions
diff --git a/searchquery.tmpl b/searchquery.tmpl index b8943fe..7408fa8 100644 --- a/searchquery.tmpl +++ b/searchquery.tmpl @@ -25,7 +25,7 @@ $def{PREV,$if{$ne{$topdoc,0},<INPUT TYPE=submit NAME="<" VALUE="Forrige">}} $def{PAGE,<INPUT TYPE=submit NAME="[" VALUE="$1">} -$def{SPAGE,<INPUT TYPE=submit NAME="[" VALUE="$1" DISABLED=disabled>} +$def{SPAGE,<INPUT TYPE=submit NAME="[" VALUE="$1" DISABLED=deaktiveret>} $def{NEXT,$if{$ne{$last,$msize},<INPUT TYPE=submit NAME=">" VALUE="Næste">}} @@ -33,28 +33,28 @@ $def{NEXT,$if{$ne{$last,$msize},<INPUT TYPE=submit NAME=">" VALUE="Næste">}} <FORM NAME=P METHOD=GET ACTION="$html{$env{CGIURL}}" TARGET="_top"> -<center> +<div style="text-align:center"> <INPUT NAME=P VALUE="$html{$query}" SIZE=65> <INPUT TYPE=SUBMIT VALUE="Søg"> $env{HELPLINK} <hr> <SELECT NAME=DEFAULTOP> -<OPTION VALUE=or $if{$eq{$defaultop,or},SELECTED}>Matcher ethvert ord -<OPTION VALUE=and $if{$eq{$defaultop,and},SELECTED}>Matcher alle ord +<OPTION VALUE=or $if{$eq{$defaultop,or},SELECTED}>Modsvarer ethvert ord +<OPTION VALUE=and $if{$eq{$defaultop,and},SELECTED}>Modsvarer alle ord </SELECT> $or{$html{$error}, $if{$eq{$msize,0}, -$if{$query,Ingen dokumenter matcher din forespørgsel, +$if{$query,Ingen dokumenter modsvarer din forespørgsel, <hr>Gennemsøgte $nice{$dbsize} dokumenter }, $if{$not{$msizeexact}, - $nice{$add{$topdoc,1}}-$nice{$last} af omkring $nice{$msize} matches, + $nice{$add{$topdoc,1}}-$nice{$last} ud af omkring $nice{$msize} fundne, $if{$and{$eq{$last,$msize},$eq{$topdoc,0}}, - Alle $nice{$msize} matches, - $nice{$add{$topdoc,1}}$if{$ne{$add{$topdoc,1},$last},-$nice{$last}} af nøjagtigt $nice{$msize} matches} + Alle $nice{$msize} fundne, + $nice{$add{$topdoc,1}}$if{$ne{$add{$topdoc,1},$last},-$nice{$last}} ud af nøjagtigt $nice{$msize} fundne} } <hr> -</center> +</div> $list{$map{$queryterms,$list{$html{$uniq{$unstem{$_}}},<b>,</b>/<b>,</b>}: $nice{$freq{$_}}},Udtryks hyppigheder: ,$. ,} <br><small>Søgning tog $time sekunder</small> <table> @@ -73,12 +73,13 @@ $if{$field{size},<span title="$html{$field{size}} bytes">Størrelse: <b>$html{$f <td><B><A HREF="$field{url}">$html{$or{$field{caption},$field{title},$field{url},Uden navn}}</A></B><BR> <small>$highlight{$field{sample},$terms}$if{$field{sample},...}</small><br> <small> -$percentage% relevant$. matchede: +$percentage% relevant$. fundne: <i>$list{$map{$terms,$html{$prettyterm{$_}}},$. ,</i> og <i>}</i></small>${for lynx:}<p></td></tr>} </table> -<br><center> +<br /> +<div style="text-align:center"> ${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 } }} -</center><br> +</div><br /> $if{$dbname,<INPUT TYPE=hidden NAME=DB VALUE="$html{$dbname}">} $if{$ne{$topdoc,0},<INPUT TYPE=hidden NAME=TOPDOC VALUE=$topdoc>} $if{$ne{$hitsperpage,10},<INPUT TYPE=hidden NAME=HITSPERPAGE VALUE=$hitsperpage>} |