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