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

Last change on this file since 2910 was 2910, checked in by sjboddie, 21 years ago

Added blurb to default home page

  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
File size: 3.5 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_}
12_javalinks_ [v=1] {_imagehelp_}
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
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
44#######################################################################
45# page content
46#######################################################################
47
48_content_ {
49<center>
50<p>_iconselectcollection_
51</center>
52<p>_homeextra_
53
54<center>
55<p>_iconblankbar_
56</center>
57<p><table>
58_textgocollector_
59_textgoadmin_
60_textgogreenstone_
61_textgodocs_
62</table>
63<center>
64<p>_iconblankbar_
65</center>
66_textaboutgreenstone_
67<center>
68<p>_iconblankbar_
69</center>
70}
71
72# the _textgocollector_ and _textgoadmin_ macros may be overridden
73# to be empty from within the receptionist if the collector or admin
74# facilities are disabled
75_textgocollector_ {
76<tr valign=top>
77<td valign=top>_imagecollector_</td>
78<td>_textimagecollector_</td>
79</tr>
80}
81
82_textgoadmin_ {
83<tr valign=top>
84<td valign=top>_imageadmin_</td>
85<td>_textimageadmin_</td>
86</tr>
87}
88
89_textgogreenstone_ {
90<tr valign=top>
91<td valign=top>_imagegogreenstone_</td>
92<td>_textimagegogreenstone_</td>
93</tr>
94}
95
96_textgodocs_ {
97<tr valign=top>
98<td valign=top>_imagegodocs_</td>
99<td>Greenstone manuals</td>
100</tr>
101}
102
103package homehelp
104
105_collectionlist_ {}
106
107_javalinks_ {_imagehome_}
108_javalinks_ [v=1] {
109_imagehome_<br>
110}
111
112_content_ {
113<center>
114<p>_iconblankbar_
115</center>
116<p>
117<table border=0 cellspacing=0 cellpadding=0>
118 <tr>
119 <td valign=top align=center>_imagegreenstone_</td>
120 <td valign=top>_gsdl:textgreenstone1_
121 <br><br>
122 </td>
123 </tr>
124</table>
125
126<center>
127<p>_iconblankbar_
128</center>
129_If_(_collectionlist_,_collectionlist_,_textnocollections_)
130
131<center>
132<p>_iconblankbar_
133</center>
134<p>_text4buts_
135<p><table>
136_home:textgocollector_
137_home:textgoadmin_
138_home:textgogreenstone_
139_home:textgodocs_
140</table>
141<center>
142<p>_iconblankbar_
143</center>
144}
Note: See TracBrowser for help on using the repository browser.