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

Last change on this file since 156 was 156, checked in by sjboddie, 25 years ago

more changes to macro files

  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
File size: 3.8 KB
Line 
1package query
2
3#######################################################################
4# navigation bar
5#
6# these macros must be overridden for any collections using
7# options different from the default (i.e. search, titles and authors)
8#######################################################################
9
10_imagequerybar_ {
11<center>
12<nobr>_icontabsearchgreen__icontabspacer__imagebrowsetitles__icontabspacer2__imagebrowseauthors_</nobr>
13</center>
14<p>
15}
16
17_imagequerybar_[version=text] {
18_imagebrowsetitles_<br>
19_imagebrowseauthors_<br>
20<p>
21}
22
23
24#######################################################################
25# https
26#######################################################################
27
28_httpiconthispage_ {_httpiconhsearch_}
29_widthiconthispage_ {_widthiconhsearch_}
30_heighticonthispage_ {_heighticonhsearch_}
31
32
33#######################################################################
34# icons
35#######################################################################
36
37_iconthispage_ {<img src="_httpiconthispage_" alt="_texticonthispage_" width="_widthiconthispage_" height="_heighticonthispage_">}
38_iconthispage_ [version=text] {<h2>_texticonthispage_</h2>}
39
40_iconqueryresultsbar_ {<img src="_httpiconqryresb_" width="_widthqryresb_" height="_heightqryresb_" alt="_texticonqueryresultsbar_">}
41_iconqueryresultsbar_[version=text] {_texticonqueryresultsbar_}
42
43
44#######################################################################
45# images
46#######################################################################
47
48_imagethispage_ {_iconthispage_}
49
50
51#######################################################################
52# page content
53#######################################################################
54
55_pagetitle_ {_collectionname_: Search page}
56
57_noqueryheader_ {
58_imagequerybar_
59_queryform_
60
61<p>
62_iconblankbar_<br>
63}
64
65_queryheader_ {
66_imagequerybar_
67_queryform_
68
69<_font_>
70<center><p>_iconqueryresultsbar_</center><br>
71<small>_freqmsg_</small><br>
72_resultline_
73</font>
74
75<p>
76}
77
78
79# default to be overridden for each page
80_links_ {}
81
82_queryfooter_ {
83_links_
84}
85
86_queryform_ {
87<form name=QueryForm method=get action="_gwcgi_">
88
89<input type=hidden name="a" value="q">
90<input type=hidden name="e" value="_compressedoptions_">
91<input type=hidden name="r" value="1">
92
93<center>
94<table><tr><td>
95<_font_>
96<nobr>
97_textselect_<br>
98</nobr>
99</font>
100</td></tr><tr><td>
101<_font_>
102<nobr>
103<input type="text" name="q" value="_querystring_" size="50">
104<input type="submit" value="_textbeginsearch_" name="b">
105</nobr>
106</font>
107</td></tr></table>
108</center>
109</font>
110</form>
111}
112
113#######################################################################
114# English text
115#######################################################################
116
117_texticonthispage_ {search}
118_textsome_ {some}
119_textall_ {all}
120_texticonqueryresultsbar_ {}
121_textfm1_ {Word count: }
122_textmt2_ {More than }
123_textndmtq_ {No documents matched the query}
124_textdmtq2_ { document matched the query}
125_textdmtq3_ { documents matched the query}
126_textmatches_ {Matches }
127_textbeginsearch_ {Begin Search}
128
129# the textselect macro will be overridden for most collections
130_textselect_ {Search _hselection_ of _jselection_ in _nselection_ language for
131_querytypeselection_ of the words}
132
133#######################################################################
134# Maori text
135#######################################################################
136
137_texticonthispage_ [language=mi] {rapu}
138_textsome_ [language=mi] {&euml;tehi}
139_textall_ [language=mi] {te katoa}
140_textbeginsearch_ [language=mi] {Rapua}
141_textfm1_ [language=mi] {Kia hia ng&auml; kupu: }
142_textmt2_ [language=mi] {Neke atu i te }
143_textndmtq_ [language=mi] {k&auml;ore he pukapuka e p&auml; ana ki &auml;u kupu rapu}
144_textdmtq2_ [language=mi] { te pukapuka e p&auml; ana ki &auml;u kupu rapu}
145_textdmtq3_ [language=mi] { ng&auml; pukapuka e p&auml; ana ki &auml;u kupu rapu}
146
147
148
Note: See TracBrowser for help on using the repository browser.