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