1 | package 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 |
|
---|
62 | package 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 |
|
---|
98 | package 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 | }
|
---|