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

Last change on this file since 3725 was 3725, checked in by jrm21, 21 years ago

default title of the home page is now "greenstone digital library software"
rather than being an untitled document.

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