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