From 6137005a40de0efbae16f4b5e810bb6af3abe59e Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Sun, 20 Jan 2008 20:43:20 +0100 Subject: Sync with upstream commit 405e8a703126cc5de426063dedbd2394b747782a (Wed Jan 9, release 2.20). --- aggregatepost.tmpl | 3 +++ atomitem.tmpl | 43 +++++++++++++++++++++++++++++++------------ atompage.tmpl | 26 +++++++++++++++++++++++++- misc.tmpl | 2 +- page.tmpl | 2 +- recentchanges.tmpl | 2 +- 6 files changed, 62 insertions(+), 16 deletions(-) diff --git a/aggregatepost.tmpl b/aggregatepost.tmpl index 5b0f2f4..739a576 100644 --- a/aggregatepost.tmpl +++ b/aggregatepost.tmpl @@ -8,5 +8,8 @@ [[meta permalink=""]] + +[[meta copyright=""]] + [[meta author=""]] [[meta authorurl=""]] diff --git a/atomitem.tmpl b/atomitem.tmpl index 4dc2d07..1b1d686 100644 --- a/atomitem.tmpl +++ b/atomitem.tmpl @@ -1,25 +1,44 @@ <TMPL_VAR TITLE> + + - + + + + +
+ + + + + + +
+
+ + +
+ +
+
+
- - - - - + + + - + - -
- -
-
+ +
+ +
+
diff --git a/atompage.tmpl b/atompage.tmpl index 1bca3e7..acc4737 100644 --- a/atompage.tmpl +++ b/atompage.tmpl @@ -5,8 +5,32 @@ - + + + + + + + +
+ + + + + + +
+
+ + + +
+ +
+
+
+
ikiwiki diff --git a/misc.tmpl b/misc.tmpl index 32e2c93..184920e 100644 --- a/misc.tmpl +++ b/misc.tmpl @@ -1,6 +1,6 @@ - + diff --git a/page.tmpl b/page.tmpl index a02345f..3a1ac9e 100644 --- a/page.tmpl +++ b/page.tmpl @@ -1,6 +1,6 @@ - + <TMPL_VAR TITLE> diff --git a/recentchanges.tmpl b/recentchanges.tmpl index e954503..e03482f 100644 --- a/recentchanges.tmpl +++ b/recentchanges.tmpl @@ -1,6 +1,6 @@ - + -- cgit v1.2.3 From e39521bb357bf6f996b6c775e5b3d5cd6a5eb0a7 Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Fri, 8 Feb 2008 04:01:13 +0100 Subject: Sync with ikiwiki 2.30. --- change.tmpl | 36 ++++++++++++++++++++++++++ notifymail.tmpl | 4 --- recentchanges.tmpl | 74 ++++-------------------------------------------------- 3 files changed, 41 insertions(+), 73 deletions(-) create mode 100644 change.tmpl delete mode 100644 notifymail.tmpl diff --git a/change.tmpl b/change.tmpl new file mode 100644 index 0000000..16ef08a --- /dev/null +++ b/change.tmpl @@ -0,0 +1,36 @@ +[[meta author=""""""]] + +[[meta authorurl=""""""]] + +[[meta title="""update of 's """]] + +
+ + +
+
+
+
+ diff --git a/notifymail.tmpl b/notifymail.tmpl deleted file mode 100644 index e3a1dd3..0000000 --- a/notifymail.tmpl +++ /dev/null @@ -1,4 +0,0 @@ -The following change was made by : - - - diff --git a/recentchanges.tmpl b/recentchanges.tmpl index e03482f..340a157 100644 --- a/recentchanges.tmpl +++ b/recentchanges.tmpl @@ -1,71 +1,7 @@ - - - - - -<TMPL_VAR TITLE> - - - - + +
- - - -
- -/ - + +
- -
-
- - - - - - - - - - - - - - - - - - - - - - -
usertimechanges
- - - "> - diff - - - - - - -
- - -
-
-
-
-
- - - - - + -- cgit v1.2.3 From ca952f3eaea5227909b8cf574ee2d8fa34aa21b7 Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Wed, 28 May 2008 23:33:30 +0200 Subject: Sync with ikiwiki 2.47. --- aggregatepost.tmpl | 12 ++++++------ change.tmpl | 15 +++++++++++---- editpage.tmpl | 1 + estseek.conf | 2 +- misc.tmpl | 4 ++++ page.tmpl | 1 + 6 files changed, 24 insertions(+), 11 deletions(-) diff --git a/aggregatepost.tmpl b/aggregatepost.tmpl index 739a576..8b89367 100644 --- a/aggregatepost.tmpl +++ b/aggregatepost.tmpl @@ -1,15 +1,15 @@ -[[tag ]] +[[!tag ]] -[[meta title=""]] +[[!meta title=""]] -[[meta permalink=""]] +[[!meta permalink=""]] -[[meta copyright=""]] +[[!meta copyright=""]] -[[meta author=""]] -[[meta authorurl=""]] +[[!meta author=""]] +[[!meta authorurl=""]] diff --git a/change.tmpl b/change.tmpl index 16ef08a..4a99cf5 100644 --- a/change.tmpl +++ b/change.tmpl @@ -1,13 +1,13 @@ -[[meta author=""""""]] +[[!meta author=""""""]] -[[meta authorurl=""""""]] +[[!meta authorurl=""""""]] -[[meta title="""update of 's """]] +[[!meta title="""change to on """]] + +
+
+
+
+
+
diff --git a/editpage.tmpl b/editpage.tmpl index cf4950e..b0bb0ec 100644 --- a/editpage.tmpl +++ b/editpage.tmpl @@ -41,6 +41,7 @@ together before saving. + diff --git a/estseek.conf b/estseek.conf index 43bd303..2abf413 100644 --- a/estseek.conf +++ b/estseek.conf @@ -25,7 +25,7 @@ relkeynum: 0 spcache: wildmax: 256 qxpndcmd: -helpfile: estseek.help +helpfile: /usr/share/hyperestraier/estseek.help deftitle: attrwidth: 80 dispproxy: diff --git a/misc.tmpl b/misc.tmpl index 184920e..7f65217 100644 --- a/misc.tmpl +++ b/misc.tmpl @@ -2,7 +2,11 @@ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> + + + + <TMPL_VAR TITLE> diff --git a/page.tmpl b/page.tmpl index 3a1ac9e..249ee2e 100644 --- a/page.tmpl +++ b/page.tmpl @@ -104,6 +104,7 @@ License:
Last edited +
-- cgit v1.2.3 From 97c3d476913ea0f61ebc631afcd21289e92327b7 Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Wed, 28 May 2008 23:54:08 +0200 Subject: Add hyperestraier help file. --- estseek.help | 94 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 94 insertions(+) create mode 100644 estseek.help diff --git a/estseek.help b/estseek.help new file mode 100644 index 0000000..d8f72d1 --- /dev/null +++ b/estseek.help @@ -0,0 +1,94 @@ +
+

Help

+

What is This?

+

This is a full-text search system. You can search for documents including some specified words.

+

How to Use

+

Input search phrase into the field at the top of the page. For example, if you search for documents including "computer", input the following.

+
computer
+
+

If you search for documents including both of "network" and "socket", input the following.

+
network socket
+
+

It is the same as the following.

+
network & socket
+
+

If you search for documents including "network" followed by "socket", input the following.

+
"network socket"
+
+

If you search for documents including one or both of "network" and "socket", input the following.

+
network | socket
+
+

If you search for documents including "network" but without "socket", input the following.

+
network ! socket
+
+

Note that the priority of "|" is higher than that of space, "&", and "!". So, the following is to search for documents including one of "F1", "F-1", "Formula One", and including one of "champion" and "victory".

+
F1 | F-1 | "Formula One" & champion | victory
+
+

If you search for documents including some words beginning with "inter", input the following.

inter*
+
+

If you search for documents including some words ending with "sphere", input the following.

+
*sphere
+
+

If you search for documents matching some words matching regular expressions of "^un.*able$", input the following.

+
*^un.*able$*
+
+

Search with an Attribute

+

If you search for documents whose title includes "introduction", input the following into "with [...]" field.

+
@title STRINC introduction
+
+

If you want to ignore case, input the following.

+
@title ISTRINC introduction
+
+

If you search for documents whose size is less than 10000 bytes, input the following.

+
@size NUMLT 10000
+
+

The following attributes are supported.

+
    +
  • @uri : the URI (URL)
  • +
  • @title : the title, as with "Subject" of mail
  • +
  • @author : the name of the author, as with "From" of mail
  • +
  • @cdate : the creation date, as with "Date" of mail
  • +
  • @mdate : the modification date, as with "Date" of mail
  • +
  • @size : the size (file size)
  • +
+

The following operators for attributes are supported.

+
    +
  • STREQ : is equal to the string
  • +
  • STRNE : is not equal to the string
  • +
  • STRINC : includes the string
  • +
  • STRBW : begins with the string
  • +
  • STREW : ends with the string
  • +
  • STRAND : includes all tokens in the string
  • +
  • STROR : includes at least one token in the string
  • +
  • STROREQ : is equal to at least one token in the string
  • +
  • STRRX : matches regular expressions of the string
  • +
  • NUMEQ : is equal to the number or date
  • +
  • NUMNE : is not equal to the number or date
  • +
  • NUMGT : is greater than the number or date
  • +
  • NUMGE : is greater than or equal to the number or date
  • +
  • NUMLT : is less than the number or date
  • +
  • NUMLE : is less than or equal to the number or date
  • +
  • NUMBT : is between the two numbers or dates
  • +
+

If an operator is leaded by "!", the meaning is inverted. If an operator is leaded by "I", case of the value is ignored. If no operator is specified, all documents with the attribute correspond regardless of the value. STRAND, STROR, STROREQ, and NUMBT take plural parameters separated by space. Range of NUMBT is inclusive of border values. Two or more attribute names can be listed with separated by "," to mean logical addition.

+

Order of the Result

+

By default, the order of the result is descending by score. If you want ascending order of title, input the following into the "order by [...]" field.

+
@title STRA
+
+

If you want descending order of the size, input the following.

+
@size NUMD
+
+

The following operators for order are supported.

+
    +
  • STRA : ascending by string
  • +
  • STRD : descending by string
  • +
  • NUMA : ascending by number or date
  • +
  • NUMD : descending by number or date
  • +
+

Other Faculties

+

"[...] per page" specifies the number of shown documents per page. If documents over one page correspond, you can move to another page via anchors of "PREV" and "NEXT" at the bottom of the page.

+

"clip by [...]" specifies strength of clipping similar documents. It is useful if too similar documents occupy the page.

+

Each of "[detail]" links in the result is to show detail information. Each of "[similar]" links in the result is to search for similar documents. Each of "[include]" links in the result is to include clipped documents.

+

Information

+

See the project site for more detail.

+
-- cgit v1.2.3 From b6a83290e8ee61e98302294fd545318e2fa9ecaa Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Thu, 29 May 2008 01:04:19 +0200 Subject: Oversat estseek.help til dansk. --- estseek.conf | 2 +- estseek.help | 133 ++++++++++++++++++++++++++++++----------------------------- 2 files changed, 68 insertions(+), 67 deletions(-) diff --git a/estseek.conf b/estseek.conf index 2abf413..43bd303 100644 --- a/estseek.conf +++ b/estseek.conf @@ -25,7 +25,7 @@ relkeynum: 0 spcache: wildmax: 256 qxpndcmd: -helpfile: /usr/share/hyperestraier/estseek.help +helpfile: estseek.help deftitle: attrwidth: 80 dispproxy: diff --git a/estseek.help b/estseek.help index d8f72d1..98bde47 100644 --- a/estseek.help +++ b/estseek.help @@ -1,94 +1,95 @@
-

Help

-

What is This?

-

This is a full-text search system. You can search for documents including some specified words.

-

How to Use

-

Input search phrase into the field at the top of the page. For example, if you search for documents including "computer", input the following.

+

Hjælp

+

Hvad er dette?

+

Dette er et fuldttekst-søgesystem. Du kan søge efter dokumenter som indeholder nogle bestemte ord.

+

Hvordan det bruges

+

Indtast søgefrase i feltet øverst på siden. Hvis du eksempelvis søger efter dokumenter som indeholder "computer", så indtast følgende.

computer
 
-

If you search for documents including both of "network" and "socket", input the following.

-
network socket
+

Hvis du søger efter dokumenter som indeholder både "netværk" og "sokkel", så indtast følgende.

+
netværk sokkel
 
-

It is the same as the following.

-
network & socket
+

Det er det samme dom følgende.

+
netværk & sokkel
 
-

If you search for documents including "network" followed by "socket", input the following.

-
"network socket"
+

Hvis du søger efter dokumenter som indeholder "netværk" efterfulgt af "solkel", så indtast følgende.

+
"netværk sokkel"
 
-

If you search for documents including one or both of "network" and "socket", input the following.

-
network | socket
+

Hvis du søger efter dokumenter som indeholder det ene eller begge af "netværk" og "sokkel", så indtast følgende.

+
netværk | sokkel
 
-

If you search for documents including "network" but without "socket", input the following.

-
network ! socket
+

Hvis du søger efter dokumenter som indeholder "netværk" men ikke "sokkel", så indtast følgende.

+
netværk ! sokkel
 
-

Note that the priority of "|" is higher than that of space, "&", and "!". So, the following is to search for documents including one of "F1", "F-1", "Formula One", and including one of "champion" and "victory".

-
F1 | F-1 | "Formula One" & champion | victory
+

Bemærk at "|" prioriteres højere end for mellemrum, "&", og "!". Så følgende vil søge efter dokumenter som indeholder een af "F1", "F-1", "Formel 1", og indeholder een af "vinder" og "sejr".

+
F1 | F-1 | "Formel 1" & vinder | sejr
 
-

If you search for documents including some words beginning with "inter", input the following.

inter*
+

Hvis du søger efter dokumenter som indeholder ord der begynder med "inter", så indtast følgende.

inter*
 
-

If you search for documents including some words ending with "sphere", input the following.

-
*sphere
+

Hvis du søger efter dokumenter som indeholder ord der slutter med "isme", så indtast følgende.

+
*isme
 
-

If you search for documents matching some words matching regular expressions of "^un.*able$", input the following.

-
*^un.*able$*
+

Hvis du søger efter dokumenter som stemmer overens med med det regulære udtryk "^u.*svarlig$", så indtast følgende.

+
*^u.*svarlig$*
 
-

Search with an Attribute

+

Søgning med en egenskab

If you search for documents whose title includes "introduction", input the following into "with [...]" field.

-
@title STRINC introduction
+

Hvis du søger efter dokumenter hvis titel indeholder "introduktion", så indtast følgende i "med [...]" feltet.

+
@title STRINC introduktion
 
-

If you want to ignore case, input the following.

-
@title ISTRINC introduction
+

Hvis det er uvæsentligt om det står med store bogstaver eller ej, så indtast følgende.

+
@title ISTRINC introduktion
 
-

If you search for documents whose size is less than 10000 bytes, input the following.

+

Hvis du søger efter dokumenter hvis størrelse er mindre end 10000 bytes, så indtast følgende.

@size NUMLT 10000
 
-

The following attributes are supported.

+

Følgende egenskaber er understøttet.

    -
  • @uri : the URI (URL)
  • -
  • @title : the title, as with "Subject" of mail
  • -
  • @author : the name of the author, as with "From" of mail
  • -
  • @cdate : the creation date, as with "Date" of mail
  • -
  • @mdate : the modification date, as with "Date" of mail
  • -
  • @size : the size (file size)
  • +
  • @uri : adressen (URL)
  • +
  • @title : titeln, som med "Emne" i email
  • +
  • @author : navnet på forfatteren, som med "Fra" i email
  • +
  • @cdate : oprettelsesdato, som med "Dato" i email
  • +
  • @mdate : redigeringsdato, som med "Dato" for email
  • +
  • @size : størrelsen (filstørrelse)
-

The following operators for attributes are supported.

+

Følgende operatorer for egneskaber er understøttet.

    -
  • STREQ : is equal to the string
  • -
  • STRNE : is not equal to the string
  • -
  • STRINC : includes the string
  • -
  • STRBW : begins with the string
  • -
  • STREW : ends with the string
  • -
  • STRAND : includes all tokens in the string
  • -
  • STROR : includes at least one token in the string
  • -
  • STROREQ : is equal to at least one token in the string
  • -
  • STRRX : matches regular expressions of the string
  • -
  • NUMEQ : is equal to the number or date
  • -
  • NUMNE : is not equal to the number or date
  • -
  • NUMGT : is greater than the number or date
  • -
  • NUMGE : is greater than or equal to the number or date
  • -
  • NUMLT : is less than the number or date
  • -
  • NUMLE : is less than or equal to the number or date
  • -
  • NUMBT : is between the two numbers or dates
  • +
  • STREQ : er identisk med tekststrengen
  • +
  • STRNE : er ikke identisk med tekststrengen
  • +
  • STRINC : indeholder tekststrengen
  • +
  • STRBW : begynder med tekststrengen
  • +
  • STREW : ender med tekststrengen
  • +
  • STRAND : indeholder alle stumper i tekststrengen
  • +
  • STROR : indeholder mindst een af stumperne i tekststrengen
  • +
  • STROREQ : mindst een af stumperne er identiske i tekststrengen
  • +
  • STRRX : regulært udtryk stemmer overens med tekststrengen
  • +
  • NUMEQ : er identisk med nummeret eller datoen
  • +
  • NUMNE : er ikke identisk med nummeret eller datoen
  • +
  • NUMGT : er større end nummeret eller datoen
  • +
  • NUMGE : er større end eller identisk med nummeret eller datoen
  • +
  • NUMLT : er mindre end nummeret eller datoen
  • +
  • NUMLE : er mindre end eller identisk med nummeret eller datoen
  • +
  • NUMBT : ligger mellem de to numre eller datoer
-

If an operator is leaded by "!", the meaning is inverted. If an operator is leaded by "I", case of the value is ignored. If no operator is specified, all documents with the attribute correspond regardless of the value. STRAND, STROR, STROREQ, and NUMBT take plural parameters separated by space. Range of NUMBT is inclusive of border values. Two or more attribute names can be listed with separated by "," to mean logical addition.

-

Order of the Result

-

By default, the order of the result is descending by score. If you want ascending order of title, input the following into the "order by [...]" field.

-
@title STRA
+

Hvis en operator er angivet med "!" foran, er meningen omendt. Hvis en operator er angivet med "I" foran, tages der ikke højde for forskel på store/små bogstaver. Hvis ingen operator er angivetied, passer alle dokumenter som indeholder egenskaben uanset dens værdi. STRAND, STROR, STROREQ, og NUMBT tager flere parametre adksilt af mellemrum. Rækkevidden af NUMBT er inklusive grænseværdier. To eller flere egenskabsnavne kan opremses adskilt af "," som betyder logisk tilføjelse.

+

Sortering af resultatet

+

om standard sorteres resultatet nedad efter kvalitet. Ønsker du omvendt sortering, så indtast følgende i "sorteret efter [...]"-feltet.

+
@titel STRA
 
-

If you want descending order of the size, input the following.

+

Hvis du ønsker faldende orden for størrelsen, indtast følgende.

@size NUMD
 
-

The following operators for order are supported.

+

Følgende operatorer for sortering er understøttet.

    -
  • STRA : ascending by string
  • -
  • STRD : descending by string
  • -
  • NUMA : ascending by number or date
  • -
  • NUMD : descending by number or date
  • +
  • STRA : stigende efter tekststreng
  • +
  • STRD : faldende efter tekststreng
  • +
  • NUMA : stigende efter nummer eller dato
  • +
  • NUMD : faldende efter nummer eller dato
-

Other Faculties

-

"[...] per page" specifies the number of shown documents per page. If documents over one page correspond, you can move to another page via anchors of "PREV" and "NEXT" at the bottom of the page.

-

"clip by [...]" specifies strength of clipping similar documents. It is useful if too similar documents occupy the page.

-

Each of "[detail]" links in the result is to show detail information. Each of "[similar]" links in the result is to search for similar documents. Each of "[include]" links in the result is to include clipped documents.

+

Andre områder

+

"[...] per side" angiver antal sider der skal vises per side. Hvis flere dokumenter end en sidefuld passer, kan du gå til en anden side med ankrene "PREV" og "NEXT" i bunden af siden.

+

"beskær ved [...]" angiver hvor kraftigt der fraklippes beslægtede dokumenter. Det kan bruges hvis alt for nært beslægtede dokumenter fylder op på siden.

+

Hver "[detail]"-henvisning i resultatet er til at vise detaljer. Hver "[similar]"-henvisning i resultatet er til at søge efter lignende dokumenter. Hver "[include]"-henvisning i resultatet er til at medtage fraklip i resultet.

Information

-

See the project site for more detail.

+

See projektsiden for flere delajer.

-- cgit v1.2.3 From 2fb8dbca8338e24e7018355295d8248eba6e1132 Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Sat, 14 Jun 2008 02:22:32 +0200 Subject: Sync with ikiwiki 2.49. --- inlinepage.tmpl | 2 +- page.tmpl | 2 +- passwordmail.tmpl | 13 +++++-- searchform.tmpl | 4 +- searchquery.tmpl | 112 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 124 insertions(+), 9 deletions(-) create mode 100644 searchquery.tmpl diff --git a/inlinepage.tmpl b/inlinepage.tmpl index a736dac..71d57b0 100644 --- a/inlinepage.tmpl +++ b/inlinepage.tmpl @@ -46,7 +46,7 @@ License:
    -
  • Edit
  • +
  • Edit
  • diff --git a/page.tmpl b/page.tmpl index 249ee2e..b903adb 100644 --- a/page.tmpl +++ b/page.tmpl @@ -30,7 +30,7 @@
      -
    • Edit
    • +
    • Edit
    • RecentChanges
    • diff --git a/passwordmail.tmpl b/passwordmail.tmpl index 8484d39..aa8a68c 100644 --- a/passwordmail.tmpl +++ b/passwordmail.tmpl @@ -1,10 +1,15 @@ -Someone[1], possibly you, requested that you be emailed the password for user - on [2]. +Someone[1], possibly you, requested that the password for + on [2] be reset. -The password is: +To change your password, visit the following url, and enter a new password: + + + +This url can only be used once to change your password, and it will also +stop working the next time you successfully log in. -- ikiwiki -[1] The user requesting the password was at IP address +[1] Their IP address was [2] Located at diff --git a/searchform.tmpl b/searchform.tmpl index 7c4fdb0..d49cf22 100644 --- a/searchform.tmpl +++ b/searchform.tmpl @@ -1,7 +1,5 @@
      - - - +
      diff --git a/searchquery.tmpl b/searchquery.tmpl new file mode 100644 index 0000000..0d6eb63 --- /dev/null +++ b/searchquery.tmpl @@ -0,0 +1,112 @@ +$setmap{prefix,title,S} +$setmap{prefix,link,LINK} +$set{thousand,$.}$set{decimal,.}$setmap{BN,,Any Country,uk,England,fr,France} +${ +$def{PREV, +$if{$ne{$topdoc,0},, +} +} + +$def{NEXT, +$if{$ne{$last,$msize},, +} +} + +$def{P,} +$def{PAGE,$if{$gt{$1,9},$if{$gt{$1,99},$P{$1,$div{$1,100}}}$P{$1,$mod{$div{$1,10},10}}}$P{$1,$mod{$1,10}}} + +$def{S,$1} +$def{SPAGE,$if{$gt{$1,9},$if{$gt{$1,99},$S{$1,$div{$1,100}}}$S{$1,$mod{$div{$1,10},10}}}$S{$1,$mod{$1,10}}} +} + +$def{PREV,$if{$ne{$topdoc,0},}} + +$def{PAGE,} + +$def{SPAGE,} + +$def{NEXT,$if{$ne{$last,$msize},}} + +

      + +

      +
      + + +$env{HELPLINK} +
      + +$or{$html{$error}, +$if{$eq{$msize,0}, +$if{$query,No documents match your query, +
      Searching $nice{$dbsize} documents +}, +$if{$not{$msizeexact}, + $nice{$add{$topdoc,1}}-$nice{$last} of about $nice{$msize} matches, + $if{$and{$eq{$last,$msize},$eq{$topdoc,0}}, + All $nice{$msize} matches, + $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 + +$hitlist{ +} +
      +${$percentage%} +
      +
      +
      +
      + +Modified:
      $html{$date{$field{modtime},%Y-%m-%d}}

      +$if{$field{language},Language: $html{$field{language}}
      } +$if{$field{size},Size: $html{$filesize{$field{size}}}
      } +
      +
      $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}}} + +${1-W ... X-(this)-Y ...} +$set{w,$min{3,$add{$thispage,-1}}} +$set{x,$max{$add{$opt{w},1},$add{$thispage,-3}}} +$set{y,$min{$lastpage,$add{$thispage,8}}} +$PREV +$map{$range{1,$opt{w}},$PAGE{$_}} +$if{$ne{$add{$opt{w},1},$opt{x}},...} +$map{$range{$opt{x},$add{$thispage,-1}},$PAGE{$_}} +$SPAGE{$thispage} +$map{$range{$add{$thispage,1},$opt{y}},$PAGE{$_}} +$if{$ne{$opt{y},$lastpage},...} +$NEXT +} +}} +

      +$if{$dbname,} +$if{$ne{$topdoc,0},} +$if{$ne{$hitsperpage,10},} +$if{$fmt,} +$if{$cgi{COLLAPSE},} +$if{$queryterms,} + + +$list{$relevants,} +$if{$cgi{THRESHOLD},} +
      +
      -- cgit v1.2.3 From 16dcd6d3af047971985cabce68d9e06b4a399fad Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Sat, 14 Jun 2008 11:49:19 +0200 Subject: Translated searchquery.tmpl. --- searchquery.tmpl | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/searchquery.tmpl b/searchquery.tmpl index 0d6eb63..b9ec4fb 100644 --- a/searchquery.tmpl +++ b/searchquery.tmpl @@ -1,6 +1,6 @@ $setmap{prefix,title,S} $setmap{prefix,link,LINK} -$set{thousand,$.}$set{decimal,.}$setmap{BN,,Any Country,uk,England,fr,France} +$set{thousand,$.}$set{decimal,.}$setmap{BN,,Ethvert land,dk,Danmark,uk,England,fr,Frankrig} ${ $def{PREV, $if{$ne{$topdoc,0},} $def{SPAGE,$if{$gt{$1,9},$if{$gt{$1,99},$S{$1,$div{$1,100}}}$S{$1,$mod{$div{$1,10},10}}}$S{$1,$mod{$1,10}}} } -$def{PREV,$if{$ne{$topdoc,0},}} +$def{PREV,$if{$ne{$topdoc,0},}} $def{PAGE,} $def{SPAGE,} -$def{NEXT,$if{$ne{$last,$msize},}} +$def{NEXT,$if{$ne{$last,$msize},}}

      @@ -35,28 +35,28 @@ $def{NEXT,$if{$ne{$last,$msize},}} ACTION="$html{$env{CGIURL}}" TARGET="_top">

      - + $env{HELPLINK}
      $or{$html{$error}, $if{$eq{$msize,0}, -$if{$query,No documents match your query, -
      Searching $nice{$dbsize} documents +$if{$query,Ingen dokumenter matcher din forespørgsel, +
      Gennemsøgte $nice{$dbsize} dokumenter }, $if{$not{$msizeexact}, - $nice{$add{$topdoc,1}}-$nice{$last} of about $nice{$msize} matches, + $nice{$add{$topdoc,1}}-$nice{$last} af omkring $nice{$msize} matches, $if{$and{$eq{$last,$msize},$eq{$topdoc,0}}, - All $nice{$msize} matches, - $nice{$add{$topdoc,1}}$if{$ne{$add{$topdoc,1},$last},-$nice{$last}} of exactly $nice{$msize} matches} + Alle $nice{$msize} matches, + $nice{$add{$topdoc,1}}$if{$ne{$add{$topdoc,1},$last},-$nice{$last}} af nøjagtigt $nice{$msize} matches} }
      -$list{$map{$queryterms,$list{$html{$uniq{$unstem{$_}}},,/,}: $nice{$freq{$_}}},Term frequencies: ,$. ,} -
      Search took $time seconds +$list{$map{$queryterms,$list{$html{$uniq{$unstem{$_}}},,/,}: $nice{$freq{$_}}},Udtryks hyppigheder: ,$. ,} +
      Søgning tog $time sekunder $hitlist{ -} +$percentage% relevant$. matchede: +$list{$map{$terms,$html{$prettyterm{$_}}},$. , aog }${for lynx:}

      }

      ${$percentage%} @@ -66,15 +66,15 @@ ${$percentag
 <div style='float:left;margin-top:2px;font-size:x-small;'>
 <span title= Modified:
      $html{$date{$field{modtime},%Y-%m-%d}}
      -$if{$field{language},Language: $html{$field{language}}
      } -$if{$field{size},Size: $html{$filesize{$field{size}}}
      } +$if{$field{language},Sprog: $html{$field{language}}
      } +$if{$field{size},Størrelse: $html{$filesize{$field{size}}}
      }
      $html{$or{$field{caption},$field{title},$field{url},Untitled}}
      +
      $html{$or{$field{caption},$field{title},$field{url},Uden navn}}
      $highlight{$field{sample},$terms}$if{$field{sample},...}
      -$percentage% relevant$. matching: -$list{$map{$terms,$html{$prettyterm{$_}}},$. , and }${for lynx:}


      -- cgit v1.2.3