1 | package query
|
---|
2 |
|
---|
3 |
|
---|
4 | #######################################################################
|
---|
5 | # Macros whose values are set from within the server at runtime. These
|
---|
6 | # are here only for reference and to set default values if required.
|
---|
7 | #######################################################################
|
---|
8 |
|
---|
9 | _quotedquery_ {}
|
---|
10 | _freqmsg_ {}
|
---|
11 | _resultline_ {}
|
---|
12 | _thisfirst_ {}
|
---|
13 | _thislast_ {}
|
---|
14 | _nextfirst_ {}
|
---|
15 | _nextlast_ {}
|
---|
16 | _prevfirst_ {}
|
---|
17 | _prevlast_ {}
|
---|
18 | _searchhistorylist_ {}
|
---|
19 |
|
---|
20 | #######################################################################
|
---|
21 | # icons
|
---|
22 | #######################################################################
|
---|
23 |
|
---|
24 | _iconthispage_ {<img src="_httpiconhsearch_" alt="_texticonthispage_" width="_widthhsearch_" height="_heighthsearch_">}
|
---|
25 | _iconthispage_ [v=1] {<h2>_texticonthispage_</h2>}
|
---|
26 |
|
---|
27 | _iconqueryresultsbar_ {<img src="_httpiconqryresb_" width="_widthqryresb_" height="_heightqryresb_" alt="_texticonqueryresultsbar_">}
|
---|
28 | _iconqueryresultsbar_[v=1] {_texticonqueryresultsbar_}
|
---|
29 |
|
---|
30 | # _iconnext_ and _iconprev_ are overridden in this package as we
|
---|
31 | # don't want alt text here
|
---|
32 | _iconnext_{<img src="_httpiconmore_" width=_widthmore_ height=_heightmore_ border=0 align=top>}
|
---|
33 | _iconprev_{<img src="_httpiconless_" width=_widthless_ height=_heightless_ border=0 align=top>}
|
---|
34 |
|
---|
35 | #######################################################################
|
---|
36 | # images
|
---|
37 | #######################################################################
|
---|
38 |
|
---|
39 | _imagethispage_ {_iconthispage_}
|
---|
40 |
|
---|
41 |
|
---|
42 | #######################################################################
|
---|
43 | # page content
|
---|
44 | #######################################################################
|
---|
45 |
|
---|
46 | _pagetitle_ {_If_(_cgiargq_,_textquerytitle_,_textnoquerytitle_)}
|
---|
47 |
|
---|
48 | _content_ {
|
---|
49 | <center>
|
---|
50 | _navigationbar_
|
---|
51 | </center>
|
---|
52 | _queryform_
|
---|
53 | _If_(_searchhistorylist_,<center>
|
---|
54 | _searchhistorylist_
|
---|
55 | </center>)
|
---|
56 | _If_(_cgiargq_,<center>_iconqueryresultsbar_</center><br>
|
---|
57 | <small>
|
---|
58 | _freqmsg_
|
---|
59 | _textpostprocess_</small><br>
|
---|
60 | _resultline_
|
---|
61 | ,<center>_iconblankbar_</center>)<br>
|
---|
62 | }
|
---|
63 |
|
---|
64 | _queryform_ {
|
---|
65 | <!-- query form -->
|
---|
66 | <form name=QueryForm method=get action="_gwcgi_">
|
---|
67 |
|
---|
68 | <input type=hidden name="a" value="q">
|
---|
69 | <input type=hidden name="e" value="_decodedcompressedoptions_">
|
---|
70 | <input type=hidden name="r" value="1">
|
---|
71 | <input type=hidden name="hs" value="1">
|
---|
72 |
|
---|
73 | <center>
|
---|
74 | <table><tr><td>
|
---|
75 | <nobr>
|
---|
76 | _textselect_<br>
|
---|
77 | </nobr>
|
---|
78 | </td></tr><tr><td>
|
---|
79 | <nobr>
|
---|
80 | <input type="text" name="q" value="_cgiargq_" size="50">
|
---|
81 | <input type="submit" value="_textbeginsearch_">
|
---|
82 | </nobr>
|
---|
83 | </td></tr></table>
|
---|
84 | </center>
|
---|
85 | </form>
|
---|
86 | <!-- end of query form -->
|
---|
87 | }
|
---|
88 |
|
---|
89 | # we want to put the links to previous/next pages of results
|
---|
90 | # in the footer
|
---|
91 | _pagefooterextra_ {
|
---|
92 | <center>
|
---|
93 | <table cellspacing=0 cellpadding=0 width=_pagewidth_>
|
---|
94 | <tr>
|
---|
95 | <td align=left>_If_(_prevfirst_,<a href="_httpquery_&r=_prevfirst_">_iconprev__textmatches__prevfirst_ - _prevlast_</a>)</td>
|
---|
96 | <td align=right>_If_(_nextfirst_,<a href="_httpquery_&r=_nextfirst_">_textmatches__nextfirst_ - _nextlast__iconnext_</a>)</td>
|
---|
97 | </tr></table>
|
---|
98 | </center>
|
---|
99 | }
|
---|
100 |
|
---|
101 | #######################################################################
|
---|
102 | # English text
|
---|
103 | #######################################################################
|
---|
104 |
|
---|
105 | # moved to english.dm
|
---|
106 |
|
---|
107 |
|
---|
108 |
|
---|
109 | #######################################################################
|
---|
110 | # Maori text
|
---|
111 | #######################################################################
|
---|
112 |
|
---|
113 | #moved to maori.dm
|
---|
114 |
|
---|
115 |
|
---|
116 |
|
---|
117 |
|
---|
118 |
|
---|
119 |
|
---|
120 |
|
---|
121 |
|
---|
122 |
|
---|
123 |
|
---|
124 |
|
---|
125 |
|
---|
126 |
|
---|
127 |
|
---|
128 |
|
---|