source: trunk/gsdl/macros/html.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: 1.4 KB
Line 
1# this file must be UTF-8 encoded
2
3package html
4
5_header_ {<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN">
6<html>
7<head></head>
8}
9
10_footer_ {</html>}
11
12_pagetitle_ {_collectionname_}
13
14_content_ {
15<frameset rows="90,*" noresize frameborder=0>
16 <frame frameborder=0 src="_gwcgi_?e=_compressedoptions_&a=p&p=nav">
17 <frame frameborder=0 src="_cgiarghp_">
18 <noframes>
19 <p>_textframebrowser_</p>
20 </noframes>
21</frameset>
22}
23
24
25package nav
26
27_header_ {_cgihead_
28_htmlhead_
29
30<div id="banner">
31<div class="pageinfo">
32<p class="bannerlinks">_globallinks_</p>
33</div>
34</div>
35<div class="bannerextra">_pagebannerextra_</div>
36
37}
38
39_faoheader_ [v=1] {_cgihead_
40_htmlhead_
41_globallinks_
42}
43
44# need transitional for target=""
45_htmlhead_ {
46<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
47
48<html>
49<head>
50<title>_pagetitle_</title>
51<base target="_top">
52_globalscripts_
53<link rel="stylesheet" href="_httpimg_/style.css" type="text/css"
54 title="Greenstone Style" charset="UTF-8">
55<link rel="alternate stylesheet" href="_httpimg_/style-print.css"
56 type="text/css" title="Printer" charset="UTF-8" media="print, screen">
57<link rel="stylesheet" href="_httpimg_/style-print.css" type="text/css"
58 title="Printer" charset="UTF-8" media="print">
59</head>
60
61<body>
62}
63
64_footer_ {</body>
65</html>
66}
67
68_content_ {
69<div class="navbar">
70<p class="navbar">
71_optnavigationbar_
72</p>
73</div>
74}
Note: See TracBrowser for help on using the repository browser.