1 | package preferences
|
---|
2 |
|
---|
3 |
|
---|
4 | #######################################################################
|
---|
5 | # page content
|
---|
6 | #######################################################################
|
---|
7 |
|
---|
8 | _pagetitle_ {_collectionname_: _textpreferences_}
|
---|
9 | _imagethispage_ {_iconthispage_}
|
---|
10 |
|
---|
11 |
|
---|
12 | # these macros will be overridden at runtime
|
---|
13 | _caseoption_ {
|
---|
14 | <input type=radio name=k value=1
|
---|
15 | checked>_textignorecase_<br>
|
---|
16 | <input type=radio name=k value=0
|
---|
17 | >_textmatchcase_
|
---|
18 | }
|
---|
19 |
|
---|
20 | _stemoption_ {
|
---|
21 | <input type=radio name=s value=1
|
---|
22 | >_textstem_<br>
|
---|
23 | <input type=radio name=s value=0
|
---|
24 | checked>_textnostem_
|
---|
25 | }
|
---|
26 |
|
---|
27 | _maxdocoption_ {
|
---|
28 | <select name="m">
|
---|
29 | <option value="50" selected>50
|
---|
30 | <option value="100" >100
|
---|
31 | <option value="200" >200
|
---|
32 | <option value="500" >500
|
---|
33 | </select>
|
---|
34 | }
|
---|
35 |
|
---|
36 | _hitsperpageoption_ {
|
---|
37 | <select name="o">
|
---|
38 | <option value="10" selected>10
|
---|
39 | <option value="20" >20
|
---|
40 | <option value="50" >50
|
---|
41 | <option value="100" >100
|
---|
42 | <option value="500" >all
|
---|
43 | </select>
|
---|
44 | }
|
---|
45 |
|
---|
46 | _content_ {
|
---|
47 | <blockquote>
|
---|
48 |
|
---|
49 | <form name=PrefForm method=get action="_gwcgi_">
|
---|
50 | <_font_>
|
---|
51 |
|
---|
52 | <input type="hidden" name="e" value="_compressedoptions_">
|
---|
53 | <input type="hidden" name="q" value="_querystring_">
|
---|
54 | <input type="hidden" name="a" value="q">
|
---|
55 | <input type="hidden" name="r" value="1">
|
---|
56 |
|
---|
57 | <p>_caseoption_
|
---|
58 |
|
---|
59 | <p>_stemoption_
|
---|
60 |
|
---|
61 | <p>
|
---|
62 | _textprefop_
|
---|
63 |
|
---|
64 | <table width="100%">
|
---|
65 | <tr><td>
|
---|
66 | <input type="submit" value="_textsetprefs_">
|
---|
67 | </td></tr></table>
|
---|
68 | </blockquote>
|
---|
69 | </font>
|
---|
70 | </form>
|
---|
71 | }
|
---|
72 |
|
---|
73 |
|
---|
74 | #######################################################################
|
---|
75 | # https
|
---|
76 | #######################################################################
|
---|
77 |
|
---|
78 | _httpiconhpref_ {_httpimg_/h\_pref.gif}
|
---|
79 | _httpiconhpref_ [language=mi] {_httpimg_/mh\_pref.gif}
|
---|
80 | _widthhpref_ {200}
|
---|
81 | _widthhpref_ [language=mi] {220}
|
---|
82 | _heighthpref_ {57}
|
---|
83 |
|
---|
84 |
|
---|
85 | #######################################################################
|
---|
86 | # icons
|
---|
87 | #######################################################################
|
---|
88 |
|
---|
89 | _iconthispage_ {<img src="_httpiconhpref_" alt="_textpreferences_" width="_widthhpref_" height="_heighthpref_">}
|
---|
90 | _iconthispage_ [language=mi] {<img src="_httpimg_/mh\_pref.gif" alt="" width="220" height="57">}
|
---|
91 |
|
---|
92 |
|
---|
93 | #######################################################################
|
---|
94 | # english macros
|
---|
95 | #######################################################################
|
---|
96 |
|
---|
97 | _textpreferences_ {Preferences}
|
---|
98 | _textignorecase_ { ignore case differences}
|
---|
99 | _textmatchcase_ { upper/lower case must match}
|
---|
100 | _textstem_ { ignore word endings}
|
---|
101 | _textnostem_ { whole word must match}
|
---|
102 | _textprefop_ {Return up to _maxdocoption_ hits with _hitsperpageoption_ hits per page.}
|
---|
103 | _textsetprefs_ {Set these preferences}
|
---|
104 |
|
---|
105 | #######################################################################
|
---|
106 | # maori macros
|
---|
107 | #######################################################################
|
---|
108 |
|
---|
109 | _textpreferences_ [language=mi] {Whiriwhiringa}
|
---|
110 | _textignorecase_ [language=mi] { hei aha te pü matua me te pü iti}
|
---|
111 | _textmatchcase_ [language=mi] { me tika te pü matua me te pü iti}
|
---|
112 | _textstem_ [language=mi] { hei aha te kümuri}
|
---|
113 | _textnostem_ [language=mi] { me tika te kümuri}
|
---|
114 | _textprefop_ [language=mi] {Whakahokia mai te _maxdocoption_ kupu, ä, kia _hitsperpageoption_ kupu ki ia whärangi.}
|
---|
115 | _textsetprefs_ [language=mi] {Whakamaua}
|
---|
116 |
|
---|
117 |
|
---|
118 |
|
---|
119 |
|
---|
120 |
|
---|