source: trunk/gsdl/macros/query.dm@ 876

Last change on this file since 876 was 876, checked in by sjboddie, 24 years ago

lots of changes - including separating out all language strings
into separate files.

  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
File size: 3.5 KB
Line 
1package 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
19#######################################################################
20# https
21#######################################################################
22
23_httpiconthispage_ {_httpiconhsearch_}
24_widthiconthispage_ {_widthiconhsearch_}
25_heighticonthispage_ {_heighticonhsearch_}
26
27_httpiconhsearch_ {_httpimg_/h\_search.gif}
28_httpiconhsearch_ [l=mi] {_httpimg_/mh\_srch.gif}
29_widthhsearch_ {200}
30_heighthsearch_ {57}
31
32
33#######################################################################
34# icons
35#######################################################################
36
37_iconthispage_ {<img src="_httpiconthispage_" alt="_texticonthispage_" width="_widthiconthispage_" height="_heighticonthispage_">}
38_iconthispage_ [v=1] {<h2>_texticonthispage_</h2>}
39
40_iconqueryresultsbar_ {<img src="_httpiconqryresb_" width="_widthqryresb_" height="_heightqryresb_" alt="_texticonqueryresultsbar_">}
41_iconqueryresultsbar_[v=1] {_texticonqueryresultsbar_}
42
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>}
47
48#######################################################################
49# images
50#######################################################################
51
52_imagethispage_ {_iconthispage_}
53
54
55#######################################################################
56# page content
57#######################################################################
58
59_pagetitle_ {_If_(_cgiargq_,_textquerytitle_,_textnoquerytitle_)}
60
61_content_ {
62<center>
63_navigationbar_
64</center>
65_queryform_
66_If_(_cgiargq_,<center>_iconqueryresultsbar_</center><br>
67<small>
68_freqmsg_
69_textpostprocess_</small><br>
70_resultline_
71,<center>_iconblankbar_</center>)<br>
72}
73
74_queryform_ {
75<!-- query form -->
76<form name=QueryForm method=get action="_gwcgi_">
77
78<input type=hidden name="a" value="q">
79<input type=hidden name="e" value="_decodedcompressedoptions_">
80<input type=hidden name="r" value="1">
81
82<center>
83<table><tr><td>
84<nobr>
85_textselect_<br>
86</nobr>
87</td></tr><tr><td>
88<nobr>
89<input type="text" name="q" value="_cgiargq_" size="50">
90<input type="submit" value="_textbeginsearch_">
91</nobr>
92</td></tr></table>
93</center>
94</form>
95<!-- end of query form -->
96}
97
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
110#######################################################################
111# English text
112#######################################################################
113
114# moved to english.dm
115
116
117
118#######################################################################
119# Maori text
120#######################################################################
121
122#moved to maori.dm
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
Note: See TracBrowser for help on using the repository browser.