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

Last change on this file since 2909 was 2909, checked in by sjboddie, 20 years ago

Added title image to default home page

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