source: main/trunk/greenstone2/macros/exported_home.dm@ 32001

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

In the language files, renamed the _tabtext*_ macros to be called _label*_.
The new nav_css.dm macro file re-defines the _tabtext*_ macros and some of
the macros from base.dm/style.dm/home.dm to do with the navigation bar
and the home/help/preferences links have also been moved into nav_css.dm

A separate nav_ns4.dm macro (not committed here) exists that can be used
instead of nav_css.dm and uses the old behaviour of the roll-over images
for the navigation bar.

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