source: trunk/gsdl/macros/status.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.7 KB
Line 
1# this file must be UTF-8 encoded
2
3package status
4
5_header_ {<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
6<html>
7<head>
8<title>_1_</title>
9<link rel="stylesheet" href="_httpimg_/style.css" type="text/css"
10 title="Greenstone Style" charset="UTF-8">
11</head>
12<body>
13}
14
15_footer_ {</body>
16</html>
17}
18
19# frames need to be transitional, not strict, for target=""
20_infoheader_ {<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
21
22<html>
23
24<head>
25<title>_1_</title>
26<link rel="stylesheet" href="_httpimg_/style.css" type="text/css"
27 title="Greenstone Style" charset="UTF-8">
28</head>
29
30<body>
31
32<div id="content">
33
34<div class="divbar">&nbsp;</div>
35<h2 style="text-align: center">_1_</h2>
36<div class="divbar">&nbsp;</div>
37
38}
39
40_infofooter_ {
41<div class="divbar">&nbsp;</div>
42
43</div> <!-- content -->
44
45</body>
46</html>
47}
48
49
50_frameset_ {
51<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN">
52<html>
53<head>
54<title>_titlewelcome_</title>
55</head>
56
57<frameset cols="180,*" frameborder=0>
58 <noframes><body>
59 <p>_textframebrowser_</p>
60 </body>
61 </noframes>
62 <frame src="_gwcgi_?e=_compressedoptions_&amp;a=status&amp;p=select" name="navframe">
63 <frame src="_gwcgi_?e=_compressedoptions_&amp;a=status&amp;p=welcome" name="infoframe">
64</frameset>
65
66</html>
67}
68
69_select_ {
70<a href="_httppagehome_" target="_top"><img class="icon" src="_httpimg_/gsdl.gif" alt="_textdescrhome_" title="_textdescrhome_"></a>
71<p>
72<a href="_gwcgi_?e=_compressedoptions_&amp;a=status&amp;p=welcome" target=infoframe>_textadminhome_</a><br>
73<a href="_httppagehome_" target=\_top>_textreturnhome_</a>
74
75<p><b>_textconfigfiles_</b><br>
76<a href="_gwcgi_?e=_compressedoptions_&amp;a=status&amp;p=gsdlsite" target=infoframe>_textgsdlsite_</a><br>
77<a href="_gwcgi_?e=_compressedoptions_&amp;a=status&amp;p=maincfg" target=infoframe>_textmaincfg_</a>
78
79<p><b>_textlogs_</b><br>
80<a href="_gwcgi_?e=_compressedoptions_&amp;a=status&amp;p=usagelog" target=infoframe>_textusagelog_</a><br>
81<a href="_gwcgi_?e=_compressedoptions_&amp;a=status&amp;p=errorlog" target=infoframe>_texterrorlog_</a>
82
83_If_("_cgiarguma_" ne "\_cgiarguma\_",
84<p><b>_textusermanage_</b><br>
85<a href="_gwcgi_?e=_compressedoptions_&amp;a=um&amp;uma=listusers" target=infoframe>_textlistusers_</a><br>
86<a href="_gwcgi_?e=_compressedoptions_&amp;a=um&amp;uma=adduser" target=infoframe>_textaddusers_</a><br>
87<a href="_gwcgi_?e=_compressedoptions_&amp;a=um&amp;uma=changepasswd" target=infoframe>_textchangepasswd_</a>
88)
89
90<p><b>_textinfo_</b><br>
91<a href="_gwcgi_?e=_compressedoptions_&amp;a=status&amp;p=generalinfo" target=infoframe>_textgeneral_</a><br>
92<a href="_gwcgi_?e=_compressedoptions_&amp;a=status&amp;p=argumentinfo" target=infoframe>_textarguments_</a><br>
93<a href="_gwcgi_?e=_compressedoptions_&amp;a=status&amp;p=actioninfo" target=infoframe>_textactions_</a><br>
94<a href="_gwcgi_?e=_compressedoptions_&amp;a=status&amp;p=browserinfo" target=infoframe>_textbrowsers_</a><br>
95<a href="_gwcgi_?e=_compressedoptions_&amp;a=status&amp;p=protocolinfo" target=infoframe>_textprotocols_</a>
96}
97
98_textgsdlsite_ {gsdlsite.cfg}
99_textmaincfg_ {main.cfg}
100
101_welcome_ {
102<b>_textversion_: _versionnum_</b>
103
104<p>_textmaas_
105<ul>
106<li>_textvol_
107<li>_textcmuc_
108<li>_textati_
109</ul>
110_texttsaa_
111</p>
112<div class="divbar">&nbsp;</div>
113<b>_textcolstat_</b>
114<p>
115_textcwoa_
116<p>
117_textcafi_
118<br>
119_textcctv_
120</p>
121}
122
123_maincfg_ {
124<form name="maincfgform" method=post action="_gwcgi_">
125<input type=hidden name="p" value="changemaincfg">
126<input type=hidden name="e" value="_decodedcompressedoptions_">
127<p>_If_(_maincfgfile_,<textarea name="cfgfile" cols=72 rows=18 wrap=off>
128_maincfgfile_
129</textarea>
130<br><input type=submit value="_textsubc_"><input type=reset>,_texteom_)
131</form>
132}
133
134_changemaincfgfail_ {
135<html>
136<body>
137_textftum_
138_footer_
139}
140
141_changemaincfgsuccess_ {
142<html>
143<body>
144_textmus_
145_footer_
146}
Note: See TracBrowser for help on using the repository browser.