source: trunk/gsdl/macros/exported_home.dm@ 10872

Last change on this file since 10872 was 10872, checked in by jrm21, 18 years ago

extensive modifications of generated HTML to support HTML4 and CSS.
Style sheets are the images/ directory. This should make it much easier
to make custom themes for collections, merely by modifying the style
sheet.

  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
File size: 3.2 KB
Line 
1# this file must be UTF-8 encoded
2
3package home
4
5# 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.
6
7# set the title of the home page to be "greenstone digital library"
8# in the currently chosen language
9
10_pagetitle_ {_textdescrgreenstone_}
11
12#######################################################################
13# global navigation links
14#######################################################################
15
16# overridden here as we don't want 'home' links on this page
17
18_globallinks_ {_helplink_ _preflink_}
19
20_helplink_ {_navtab_(_home:httppagehomehelp_,_linktextHELP_,_textdescrhelp_)}
21_preflink_ {_navtab_(_home:httppagehomepref_,_linktextPREFERENCES_,_textdescrpref_)}
22
23#######################################################################
24# icons
25#######################################################################
26
27_iconmusiclibrary_ {<img src="_httpicontmusic_" border="1" alt="meldex music library" title="meldex music library">}
28
29_imagecollection_ {<img src="_httpimg_/gsdlhead.gif" alt="_textdescrgreenstone_">}
30
31#######################################################################
32# http macros
33#
34# These contain the url without any quotes
35#######################################################################
36
37_httppagegsdl_ {_httppagex_(gsdl)}
38_httppagehomehelp_ {_httppagex_(homehelp)}
39_httppagehomepref_ {_httppagex_(homepref)}
40
41#######################################################################
42# page content
43#######################################################################
44
45_content_ {
46<div id="content">
47<div class="divbar">
48<p class="navbar">
49_textdescrselcol_
50</p>
51</div>
52
53<div class="section">
54_homeextra_
55</div>
56
57<div class="divbar">&nbsp;</div>
58}
59
60package homehelp
61
62_imagecollection_ {<a href="_httppagehome_"><img src="_httpimg_/gsdlhead.gif" border="0"></a>}
63
64_collectionlist_ {}
65
66_globallinks_ {_homelink_}
67
68_content_ {
69<div id="content">
70
71<div class="divbar">&nbsp;</div>
72
73<div class="section">
74<p>
75<table border="0" cellspacing="0" cellpadding="0">
76 <tr>
77 <td valign="top" align="center">_imagegreenstone_</td>
78 <td valign="top">_gsdl:textgreenstone1_
79 <br><br>
80 </td>
81 </tr>
82</table>
83</div>
84
85<div class="divbar">&nbsp;</div>
86
87<div class="section">
88_If_(_collectionlist_,_collectionlist_,_textnocollections_)
89</div>
90
91<div class="divbar">&nbsp;</div>
92
93</div>
94}
95
96
97package homepref
98_pagetitle_ {_preferences:textpreferences_ - _textdescrgreenstone_}
99
100_imagecollection_ {<a href="_httppagehome_"><img src="_httpimg_/gsdlhead.gif" border="0"></a>}
101
102_globallinks_ {_homelink_}
103
104_pagescriptextra_ {_preferences:pagescriptextra_}
105
106_content_ {
107<div id="content">
108
109<div class="divbar">&nbsp;</div>
110
111<div class="section">
112<form name="PrefForm" method="get" action="_gwcgi_">
113<h3>_preferences:textpresentationprefs_</h3>
114
115<table border="0">
116<tr valign="top">
117<td>_preferences:textlanguage_</td>
118<td>_languageoption_</td>
119</tr>
120<tr valign="top">
121<td>_preferences:textencoding_</td>
122<td>_encodingoption_</td>
123</tr>
124<tr valign="top">
125_preferences:formatoption_
126</tr>
127</table>
128</div>
129
130<div class="divbar">&nbsp;</div>
131
132</div> <!-- \_homepref:content\_ -->
133}
Note: See TracBrowser for help on using the repository browser.