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

Last change on this file since 2910 was 2910, checked in by sjboddie, 22 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
RevLine 
[128]1package home
2
[276]3#######################################################################
[283]4# java images/scripts
[276]5#######################################################################
6
[283]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'
[644]9# links on this page
[276]10
[2340]11_javalinks_ {_imagehelp_}
12_javalinks_ [v=1] {_imagehelp_}
[276]13
14#######################################################################
[644]15# icons
16#######################################################################
17
[1957]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">}
[644]20
[2909]21_imagecollection_ {<img src="_httpimg_/gsdlhead.gif">}
22
[644]23#######################################################################
24# http macros
25#
26# These contain the url without any quotes
27#######################################################################
28
[1975]29_httppagegsdl_ {_httppagex_(gsdl)}
[2340]30_httppagehomehelp_ {_httppagex_(homehelp)}
[644]31
[2340]32
[644]33#######################################################################
[1479]34# images
35#######################################################################
36
[1759]37
[2777]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_)}
[2340]42_imagehelp_ {_gsimage_(_home:httppagehomehelp_,_httpiconchelpof_,_httpiconchelpon_,help,_textimagehelp_)}
[1479]43
44#######################################################################
[283]45# page content
[276]46#######################################################################
47
[283]48_content_ {
[1116]49<center>
[1092]50<p>_iconselectcollection_
[1116]51</center>
[1092]52<p>_homeextra_
[644]53
[1116]54<center>
[1092]55<p>_iconblankbar_
[1116]56</center>
[1479]57<p><table>
[1759]58_textgocollector_
59_textgoadmin_
[1975]60_textgogreenstone_
[2562]61_textgodocs_
[1479]62</table>
63<center>
64<p>_iconblankbar_
[1975]65</center>
[2910]66_textaboutgreenstone_
67<center>
68<p>_iconblankbar_
69</center>
[276]70}
[1390]71
[1759]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_ {
[1957]76<tr valign=top>
77<td valign=top>_imagecollector_</td>
[2777]78<td>_textimagecollector_</td>
[1759]79</tr>
80}
81
82_textgoadmin_ {
[1957]83<tr valign=top>
84<td valign=top>_imageadmin_</td>
[2777]85<td>_textimageadmin_</td>
[1759]86</tr>
[1975]87}
88
89_textgogreenstone_ {
90<tr valign=top>
91<td valign=top>_imagegogreenstone_</td>
[2777]92<td>_textimagegogreenstone_</td>
[1975]93</tr>
94}
[2329]95
[2562]96_textgodocs_ {
97<tr valign=top>
98<td valign=top>_imagegodocs_</td>
99<td>Greenstone manuals</td>
100</tr>
101}
102
[2329]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>
[2777]120 <td valign=top>_gsdl:textgreenstone1_
[2329]121 <br><br>
122 </td>
123 </tr>
124</table>
125
126<center>
127<p>_iconblankbar_
128</center>
[2777]129_If_(_collectionlist_,_collectionlist_,_textnocollections_)
[2329]130
131<center>
132<p>_iconblankbar_
133</center>
[2777]134<p>_text4buts_
[2329]135<p><table>
136_home:textgocollector_
137_home:textgoadmin_
138_home:textgogreenstone_
[2562]139_home:textgodocs_
[2329]140</table>
141<center>
142<p>_iconblankbar_
143</center>
144}
Note: See TracBrowser for help on using the repository browser.