source: main/tags/2.50-cdrom/gsdl/macros/exported_home.dm@ 30140

Last change on this file since 30140 was 5848, checked in by kjdon, 21 years ago

this is a new simple home.dm that will replace the normal home.dm in exported collections. We need to think about this more cos if someone has changed their homepage, they will lose the changes on the cd.

  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
File size: 3.5 KB
Line 
1package home
2
3# This file is used as the homepage for collections exported to CD-ROM - the CDs dont contain the functionality to run the collector etc, so we remove that stuff from the home page.
4
5# set the title of the home page to be "greenstone digital library"
6# in the currently chosen language
7
8_pagetitle_ {_textimagegreenstone_}
9
10#######################################################################
11# java images/scripts
12#######################################################################
13
14# the _javalinks_ macros are the flashy image links at the top right of
15# the page. this is overridden here as we don't want 'home'
16# links on this page
17
18_javalinks_ {_imagehelp__imagepref_}
19_javalinks_ [v=1] {_imagehelp_<br>_imagepref_}
20
21#######################################################################
22# icons
23#######################################################################
24
25_iconselectcollection_ {<img align=texttop src="_httpiconselcolgr_" width=_widthselcolgr_ height=_heightselcolgr_ alt="_altselcolgr_" title="_altselcolgr_">}
26_iconmusiclibrary_ {<img align=texttop src="_httpicontmusic_" border=1 alt="meldex music library" title="meldex music library">}
27
28_imagecollection_ {<img src="_httpimg_/gsdlhead.gif">}
29
30#######################################################################
31# http macros
32#
33# These contain the url without any quotes
34#######################################################################
35
36_httppagegsdl_ {_httppagex_(gsdl)}
37_httppagehomehelp_ {_httppagex_(homehelp)}
38_httppagehomepref_ {_httppagex_(homepref)}
39
40#######################################################################
41# images
42#######################################################################
43
44_imagehelp_ {_gsimage_(_home:httppagehomehelp_,_httpiconchelpof_,_httpiconchelpon_,help,_textimagehelp_)}
45_imagepref_ {_gsimage_(_home:httppagehomepref_,_httpiconcprefof_,_httpiconcprefon_,pref,_textimagepref_)}
46
47#######################################################################
48# page content
49#######################################################################
50
51_content_ {
52<center>
53<p>_iconselectcollection_
54</center>
55<p>_homeextra_
56
57<center>
58<p>_iconblankbar_
59</center>
60}
61
62package homehelp
63
64_imagecollection_ {<a href="_httppagehome_"><img src="_httpimg_/gsdlhead.gif" border="0"></a>}
65
66_collectionlist_ {}
67
68_javalinks_ {_imagehome_}
69_javalinks_ [v=1] {
70_imagehome_<br>
71}
72
73_content_ {
74<center>
75<p>_iconblankbar_
76</center>
77<p>
78<table border=0 cellspacing=0 cellpadding=0>
79 <tr>
80 <td valign=top align=center>_imagegreenstone_</td>
81 <td valign=top>_gsdl:textgreenstone1_
82 <br><br>
83 </td>
84 </tr>
85</table>
86
87<center>
88<p>_iconblankbar_
89</center>
90_If_(_collectionlist_,_collectionlist_,_textnocollections_)
91
92<center>
93<p>_iconblankbar_
94</center>
95}
96
97
98package homepref
99
100_imagecollection_ {<a href="_httppagehome_"><img src="_httpimg_/gsdlhead.gif" border="0"></a>}
101
102_javalinks_ {_homepref:imagehome_}
103_javalinks_ [v=1] {
104_homepref:imagehome_<br>
105}
106
107_pagescriptextra_ {_preferences:pagescriptextra_}
108
109
110_imagehome_ {_gsimage_(_homepref:httppagehome_,_httpiconchomeof_,_httpiconchomeon_,homer,_textimagehome_)}
111_httppagehome_ {_httppagex_(home)}
112
113_content_ {
114<center>
115<p>_iconblankbar_
116</center>
117
118<form name=PrefForm method=get action="_gwcgi_">
119<h3>_preferences:textpresentationprefs_</h3>
120
121<table border="0">
122<tr valign="top">
123<td>_preferences:textlanguage_</td>
124<td>_languageoption_</td>
125</tr>
126<tr valign="top">
127<td>_preferences:textencoding_</td>
128<td>_encodingoption_</td>
129</tr>
130<tr valign="top">
131_preferences:formatoption_
132</tr>
133</table>
134<p>_iconblankbar_
135}
Note: See TracBrowser for help on using the repository browser.