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

Last change on this file since 2909 was 2909, checked in by sjboddie, 22 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
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>
[276]66}
[1390]67
[1759]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_ {
[1957]72<tr valign=top>
73<td valign=top>_imagecollector_</td>
[2777]74<td>_textimagecollector_</td>
[1759]75</tr>
76}
77
78_textgoadmin_ {
[1957]79<tr valign=top>
80<td valign=top>_imageadmin_</td>
[2777]81<td>_textimageadmin_</td>
[1759]82</tr>
[1975]83}
84
85_textgogreenstone_ {
86<tr valign=top>
87<td valign=top>_imagegogreenstone_</td>
[2777]88<td>_textimagegogreenstone_</td>
[1975]89</tr>
90}
[2329]91
[2562]92_textgodocs_ {
93<tr valign=top>
94<td valign=top>_imagegodocs_</td>
95<td>Greenstone manuals</td>
96</tr>
97}
98
[2329]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>
[2777]116 <td valign=top>_gsdl:textgreenstone1_
[2329]117 <br><br>
118 </td>
119 </tr>
120</table>
121
122<center>
123<p>_iconblankbar_
124</center>
[2777]125_If_(_collectionlist_,_collectionlist_,_textnocollections_)
[2329]126
127<center>
128<p>_iconblankbar_
129</center>
[2777]130<p>_text4buts_
[2329]131<p><table>
132_home:textgocollector_
133_home:textgoadmin_
134_home:textgogreenstone_
[2562]135_home:textgodocs_
[2329]136</table>
137<center>
138<p>_iconblankbar_
139</center>
140}
Note: See TracBrowser for help on using the repository browser.