source: trunk/greenorg/macros/style.dm@ 6778

Last change on this file since 6778 was 6778, checked in by mdewsnip, 20 years ago

Extra macros necessary to support the "PREFERENCES" button.

  • Property svn:keywords set to Author Date Id Revision
File size: 3.0 KB
Line 
1#######################################################################
2# PAGE STYLES
3#######################################################################
4
5package Style
6
7# to use this style system output
8# _header_
9# all your page content, then
10# _footer_
11
12# use the page parameter 'style' to choose the appropriate style
13
14# the style system uses
15# _pagetitle_ - what gets displayed at the top of the browser window
16# _pagescriptextra_ - any extra javascript you want included in the header
17# _pagebannerextra_ - anything extra you want displayed in the page banner
18# _pagefooterextra_ - anything extra you want displayed in the footer
19
20# defaults for the above macros
21_pagetitle_ {_collectionname_}
22_pagescriptextra_ {}
23_pagebannerextra_ {}
24_pagefooterextra_ {}
25
26# it also relies on lots of Globals, the most important of these are:
27# _cookie_ - put in the cgi header
28# _globalscripts_ - javascript stuff
29# _httpiconchalk_ - the image down the left of the page
30# _imagecollection_
31# _imagehome_
32# _imagehelp_
33# _imagepref_
34# _imagethispage_
35# _linkotherversion_
36
37
38_header_ {
39<html>
40<head>
41<title>Greenstone Digital Library Software</title>
42<link rel="stylesheet" type="text/css" href="_httpimg_/style.css">
43<script src="/greenorg/images/scripts.js">
44</script>
45<script>
46<!--
47_pagescriptextra_
48// -->
49</script>
50</head>
51
52<body background="_httpimg_/chalk.gif" class="default" bgcolor="#ffffff">
53
54<table border="0" cellspacing="0" cellpadding="0" width="_pagewidth_" class="default">
55<tr><td><img src="_httpimg_/spacer.gif" width="80"></td><td>
56
57<table width="_pagewidth_">
58<tr valign=top>
59<td><a href="_httppagex_(home)"><img src="_httpimg_/gsdlhead.gif" border="0"></a></td>
60<td align=right>_javalinks_</td>
61</tr>
62</table>
63
64<p>
65<nobr>
66<a href="_httppagex_(download)" onMouseover="roll('download',1);" onMouseOut="roll('download',0);"><img
67name="download" src="_httpimg_/dlof.gif" onLoad="gbutton(this,'_httpimg_/dlon.gif');" border="0"></a><img
68src="_httpimg_/tspace.gif" width="25" height="17"><a href="_httppagex_(examples)" onMouseover="roll('exmpl',1);" onMouseOut="roll('exmpl',0);"><img
69name="exmpl" src="_httpimg_/exmplof.gif" onLoad="gbutton(this,'_httpimg_/exmplon.gif');" border="0"></a><img
70src="_httpimg_/tspace.gif" width="25" height="17"><a href="_httppagex_(docs)" onMouseover="roll('docs',1);" onMouseOut="roll('docs',0);"><img
71name="docs" src="_httpimg_/docsof.gif" onLoad="gbutton(this,'_httpimg_/docson.gif');" border="0"></a><img
72src="_httpimg_/tspace.gif" width="25" height="17"><a href="_httppagex_(faq)" onMouseover="roll('faq',1);" onMouseOut="roll('faq',0);"><img
73name="faq" src="_httpimg_/faqof.gif" onLoad="gbutton(this,'_httpimg_/faqon.gif');" border="0"></a><img
74src="_httpimg_/tspace.gif" width="25" height="17"><a href="_httppagex_(support)" onMouseover="roll('sup',1);" onMouseOut="roll('sup',0);"><img
75name="sup" src="_httpimg_/supof.gif" onLoad="gbutton(this,'_httpimg_/supon.gif');" border="0"></a>
76</nobr>
77</p>
78}
79
80_footer_ {
81</td></tr></table>
82<p>&nbsp;</p>
83</body>
84</html>
85}
Note: See TracBrowser for help on using the repository browser.