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