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

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

* empty log message *

  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
File size: 3.2 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# icons
21#######################################################################
22
23_iconthispage_ {<img src="_httpiconhsearch_" alt="_texticonthispage_" width="_widthhsearch_" height="_heighthsearch_">}
24_iconthispage_ [v=1] {<h2>_texticonthispage_</h2>}
25
26_iconqueryresultsbar_ {<img src="_httpiconqryresb_" width="_widthqryresb_" height="_heightqryresb_" alt="_texticonqueryresultsbar_">}
27_iconqueryresultsbar_[v=1] {_texticonqueryresultsbar_}
28
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>}
33
34#######################################################################
35# images
36#######################################################################
37
38_imagethispage_ {_iconthispage_}
39
40
41#######################################################################
42# page content
43#######################################################################
44
45_pagetitle_ {_If_(_cgiargq_,_textquerytitle_,_textnoquerytitle_)}
46
47_content_ {
48<center>
49_navigationbar_
50</center>
51_queryform_
52_If_(_searchhistorylist_,<center>
53_searchhistorylist_
54</center>)
55_If_(_cgiargq_,<center>_iconqueryresultsbar_</center><br>
56<small>
57_freqmsg_
58_textpostprocess_</small><br>
59_resultline_
60,<center>_iconblankbar_</center>)<br>
61}
62
63_queryform_ {
64<!-- query form -->
65<form name=QueryForm method=get action="_gwcgi_">
66
67<input type=hidden name="a" value="q">
68<input type=hidden name="e" value="_decodedcompressedoptions_">
69<input type=hidden name="r" value="1">
70<input type=hidden name="hs" value="1">
71
72<center>
73<table><tr><td>
74<nobr>
75_textselect_<br>
76</nobr>
77</td></tr><tr><td>
78<nobr>
79<input type="text" name="q" value="_cgiargq_" size="50">
80<input type="submit" value="_textbeginsearch_">
81</nobr>
82</td></tr></table>
83</center>
84</form>
85<!-- end of query form -->
86}
87
88# we want to put the links to previous/next pages of results
89# in the footer
90_pagefooterextra_ {
91<center>
92<table cellspacing=0 cellpadding=0 width=_pagewidth_>
93<tr>
94<td align=left>_If_(_prevfirst_,<a href="_httpquery_&r=_prevfirst_">_iconprev__textmatches__prevfirst_ - _prevlast_</a>)</td>
95<td align=right>_If_(_nextfirst_,<a href="_httpquery_&r=_nextfirst_">_textmatches__nextfirst_ - _nextlast__iconnext_</a>)</td>
96</tr></table>
97</center>
98}
99
100#######################################################################
101# English text
102#######################################################################
103
104# moved to english.dm
105
106
107
108#######################################################################
109# Maori text
110#######################################################################
111
112#moved to maori.dm
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
Note: See TracBrowser for help on using the repository browser.