source: trunk/gsdl/macros/home.dm@ 2913

Last change on this file since 2913 was 2913, checked in by nzdl, 20 years ago

* empty log message *

  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
File size: 4.6 KB
Line 
1package home
2
3#######################################################################
4# java images/scripts
5#######################################################################
6
7# the _javalinks_ macros are the flashy image links at the top right of
8# the page. this is overridden here as we don't want 'home'
9# links on this page
10
11_javalinks_ {_imagehelp__imagepref_}
12_javalinks_ [v=1] {_imagehelp_<br>_imagepref_}
13
14#######################################################################
15# icons
16#######################################################################
17
18_iconselectcollection_ {<img align=texttop src="_httpiconselcolgr_" width=_widthselcolgr_ height=_heightselcolgr_ alt=_altselcolgr_>}
19_iconmusiclibrary_ {<img align=texttop src="_httpicontmusic_" border=1 alt="meldex music library">}
20
21_imagecollection_ {<img src="_httpimg_/gsdlhead.gif">}
22
23#######################################################################
24# http macros
25#
26# These contain the url without any quotes
27#######################################################################
28
29_httppagegsdl_ {_httppagex_(gsdl)}
30_httppagehomehelp_ {_httppagex_(homehelp)}
31_httppagehomepref_ {_httppagex_(homepref)}
32
33#######################################################################
34# images
35#######################################################################
36
37
38_imagecollector_ {_gsimage_(_httppagecollector_,_httpimg_/ccolof.gif,_httpimg_/ccolon.gif,col,_collector:textcollector_)}
39_imageadmin_ {_gsimage_(_httppagestatus_,_httpimg_/cadminof.gif,_httpimg_/cadminon.gif,admin,_textadmin_)}
40_imagegogreenstone_ {_gsimage_(_home:httppagegsdl_,_httpimg_/cabgsof.gif,_httpimg_/cabgson.gif,gogs,_textabgs_)}
41_imagegodocs_ {_gsimage_(_home:httppagedocs_,_httpimg_/cgsdocof.gif,_httpimg_/cgsdocon.gif,docs,_textgsdocs_)}
42_imagehelp_ {_gsimage_(_home:httppagehomehelp_,_httpiconchelpof_,_httpiconchelpon_,help,_textimagehelp_)}
43_imagepref_ {_gsimage_(_home:httppagehomepref_,_httpiconcprefof_,_httpiconcprefon_,pref,_textimagepref_)}
44
45#######################################################################
46# page content
47#######################################################################
48
49_content_ {
50<center>
51<p>_iconselectcollection_
52</center>
53<p>_homeextra_
54
55<center>
56<p>_iconblankbar_
57</center>
58<p><table>
59_textgocollector_
60_textgoadmin_
61_textgogreenstone_
62_textgodocs_
63</table>
64<center>
65<p>_iconblankbar_
66</center>
67_textaboutgreenstone_
68<center>
69<p>_iconblankbar_
70</center>
71}
72
73# the _textgocollector_ and _textgoadmin_ macros may be overridden
74# to be empty from within the receptionist if the collector or admin
75# facilities are disabled
76_textgocollector_ {
77<tr valign=top>
78<td valign=top>_imagecollector_</td>
79<td>_textimagecollector_</td>
80</tr>
81}
82
83_textgoadmin_ {
84<tr valign=top>
85<td valign=top>_imageadmin_</td>
86<td>_textimageadmin_</td>
87</tr>
88}
89
90_textgogreenstone_ {
91<tr valign=top>
92<td valign=top>_imagegogreenstone_</td>
93<td>_textimagegogreenstone_</td>
94</tr>
95}
96
97_textgodocs_ {
98<tr valign=top>
99<td valign=top>_imagegodocs_</td>
100<td>_textimagegodocs_</td>
101</tr>
102}
103
104package homehelp
105
106_imagecollection_ {<img src="_httpimg_/gsdlhead.gif">}
107
108_collectionlist_ {}
109
110_javalinks_ {_imagehome_}
111_javalinks_ [v=1] {
112_imagehome_<br>
113}
114
115_content_ {
116<center>
117<p>_iconblankbar_
118</center>
119<p>
120<table border=0 cellspacing=0 cellpadding=0>
121 <tr>
122 <td valign=top align=center>_imagegreenstone_</td>
123 <td valign=top>_gsdl:textgreenstone1_
124 <br><br>
125 </td>
126 </tr>
127</table>
128
129<center>
130<p>_iconblankbar_
131</center>
132_If_(_collectionlist_,_collectionlist_,_textnocollections_)
133
134<center>
135<p>_iconblankbar_
136</center>
137<p>_text4buts_
138<p><table>
139_home:textgocollector_
140_home:textgoadmin_
141_home:textgogreenstone_
142_home:textgodocs_
143</table>
144<center>
145<p>_iconblankbar_
146</center>
147}
148
149
150package homepref
151
152_imagecollection_ {<img src="_httpimg_/gsdlhead.gif">}
153
154_javalinks_ {_homepref:imagehome_}
155_javalinks_ [v=1] {
156_homepref:imagehome_<br>
157}
158
159_pagescriptextra_ {_preferences:pagescriptextra_}
160
161
162_imagehome_ {_gsimage_(_homepref:httppagehome_,_httpiconchomeof_,_httpiconchomeon_,homer,_textimagehome_)}
163_httppagehome_ {_httppagex_(home)}
164
165_content_ {
166<center>
167<p>_iconblankbar_
168</center>
169
170<form name=PrefForm method=get action="_gwcgi_">
171<h3>_preferences:textpresentationprefs_</h3>
172
173<table border="0">
174<tr valign="top">
175<td>_preferences:textlanguage_</td>
176<td><select name="l" onChange="updatel();">
177<option value="en" _If_("_cgiargl_" eq "en", selected)>English
178<option value="fr" _If_("_cgiargl_" eq "fr", selected)>French
179<option value="es" _If_("_cgiargl_" eq "es", selected)>Spanish
180</select>
181</td>
182</tr>
183<tr valign="top">
184_preferences:formatoption_
185</tr>
186</table>
187<p>_iconblankbar_
188}
Note: See TracBrowser for help on using the repository browser.