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

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