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

Last change on this file since 128 was 128, checked in by rjmcnab, 25 years ago

Moved from collection's directory.

  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
File size: 2.1 KB
Line 
1package query
2
3####################
4# query page icons #
5####################
6
7_iconqueryresultsbar_ {<img src="_httpimg_/qryresb.gif" width="537"
8height="17" alt="_texticonqueryresultsbar_">}
9_iconqueryresultsbar_[version=text] {_texticonqueryresultsbar_}
10
11_imagethispage_ {<img src="_httpimg_/h\_search.gif" alt="search" width="200" height="57">}
12
13#########################
14# English language text #
15#########################
16
17_texticonqueryresultsbar_ {}
18_textfm1_ {Word count: }
19_textmt2_ {More than }
20_textndmtq_ {No documents matched the query}
21_textdmtq2_ { documents matched the query}
22_textdmtq3_ { documents matched the query}
23
24_textmatches_ {Matches }
25
26_textbeginsearch_ {Begin Search}
27
28_textsome_ {some}
29_textall_ {all}
30
31
32##############
33# query page #
34##############
35
36_pagetitle_ {_collectionname_: Search}
37
38_noqueryheader_ {
39_imagequerybar_
40_queryform_
41
42<p>
43_iconblankbar_<br>
44}
45
46_queryheader_ {
47_imagequerybar_
48_queryform_
49
50<_font_>
51<center><p>_iconqueryresultsbar_</center><br>
52<small>_freqmsg_</small><br>
53_resultline_
54</font>
55
56<p>
57}
58
59
60_imagequerybar_ {
61<center>
62<nobr>_icontabsearchgreen__icontabspacer__imagebrowsetitles__icontabspacer__imagebrowseauthors_</nobr>
63</center>
64<p>
65}
66
67_imagequerybar_[version=text] {_imagebrowsetitles_<br>
68_imagebrowseauthors_<br>
69<p>
70}
71
72
73# default to be overridden for each page
74_links_ {}
75
76_queryfooter_ {
77_links_
78}
79
80
81# these selection macros are overridden for each page
82_indexselection_ {
83<select name="i">
84<option value="t">titles
85<option value="c"selected>chapters
86</select>
87}
88
89_querytypeselection_ {
90<select name="t">
91<option value="1" selected>some
92<option value="0" >all
93</select>
94}
95
96
97_queryform_ {
98<form name=QueryForm method=get action="_gwcgi_">
99
100<input type=hidden name="a" value="q">
101<input type=hidden name="e" value="_compressedoptions_">
102<input type=hidden name="r" value="1">
103
104<center>
105<table><tr><td>
106<_font_>
107<nobr>
108Search _indexselection_ for _querytypeselection_ of the words<br>
109</nobr>
110</font>
111</td></tr><tr><td>
112<_font_>
113<nobr>
114<input type="text" name="q" value="_querystring_" size="50">
115<input type="submit" value="_textbeginsearch_" name="b">
116</nobr>
117</font>
118</td></tr></table>
119</center>
120</font>
121</form>
122}
Note: See TracBrowser for help on using the repository browser.