source: main/trunk/greenstone2/macros/status.dm@ 30742

Last change on this file since 30742 was 28898, checked in by ak19, 10 years ago
  1. The cgiargq query variable is now no longer escaped in the 3 simply or large forms that use it. fqv and other js escaped fields are unchanged, since the jssafe now ensures that backslashes are escaped for macro files, so these resolve correctly in query.dm. 2. securitytools.cpp and .h updated to additionally escape back slashes for macro files when javascript escaping. This is done by default, since jssafe variants of cgiargs are all that are used, and they're used in macro files. 3. Encoded versions of decodedcompressedoptions are now used in all macro files. They're always used in attributes, so the attrsafe version which is set in receptionist.cpp is used.
  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
File size: 3.6 KB
RevLine 
[7343]1# this file must be UTF-8 encoded
2
[198]3package status
4
[10872]5_header_ {<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
6<html>
[198]7<head>
8<title>_1_</title>
[10919]9
10_Style:cssheader_
[198]11</head>
[10872]12<body>
[198]13}
14
15_footer_ {</body>
16</html>
17}
18
[10872]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
[725]24<head>
25<title>_1_</title>
[10919]26_Style:cssheader_
[725]27</head>
[198]28
[10872]29<body>
30
31<div id="content">
32
33<div class="divbar">&nbsp;</div>
34<h2 style="text-align: center">_1_</h2>
35<div class="divbar">&nbsp;</div>
36
[725]37}
38
39_infofooter_ {
[10872]40<div class="divbar">&nbsp;</div>
41
42</div> <!-- content -->
43
[725]44</body>
45</html>
46}
47
48
[198]49_frameset_ {
[10872]50<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN">
[198]51<html>
52<head>
[876]53<title>_titlewelcome_</title>
[198]54</head>
55
[10872]56<frameset cols="180,*" frameborder=0>
57 <noframes><body>
[876]58 <p>_textframebrowser_</p>
[198]59 </body>
60 </noframes>
[10872]61 <frame src="_gwcgi_?e=_compressedoptions_&amp;a=status&amp;p=select" name="navframe">
62 <frame src="_gwcgi_?e=_compressedoptions_&amp;a=status&amp;p=welcome" name="infoframe">
[198]63</frameset>
64
65</html>
66}
67
68_select_ {
[10872]69<a href="_httppagehome_" target="_top"><img class="icon" src="_httpimg_/gsdl.gif" alt="_textdescrhome_" title="_textdescrhome_"></a>
[1129]70<p>
[10872]71<a href="_gwcgi_?e=_compressedoptions_&amp;a=status&amp;p=welcome" target=infoframe>_textadminhome_</a><br>
[1266]72<a href="_httppagehome_" target=\_top>_textreturnhome_</a>
[381]73
[1837]74<p><b>_textconfigfiles_</b><br>
[18652]75<a href="_gwcgi_?e=_compressedoptions_&amp;a=status&amp;p=llssite" target=infoframe>_textllssite_</a><br>
[10872]76<a href="_gwcgi_?e=_compressedoptions_&amp;a=status&amp;p=maincfg" target=infoframe>_textmaincfg_</a>
[1837]77
78<p><b>_textlogs_</b><br>
[10872]79<a href="_gwcgi_?e=_compressedoptions_&amp;a=status&amp;p=usagelog" target=infoframe>_textusagelog_</a><br>
80<a href="_gwcgi_?e=_compressedoptions_&amp;a=status&amp;p=errorlog" target=infoframe>_texterrorlog_</a>
[1837]81
[381]82_If_("_cgiarguma_" ne "\_cgiarguma\_",
[876]83<p><b>_textusermanage_</b><br>
[10872]84<a href="_gwcgi_?e=_compressedoptions_&amp;a=um&amp;uma=listusers" target=infoframe>_textlistusers_</a><br>
85<a href="_gwcgi_?e=_compressedoptions_&amp;a=um&amp;uma=adduser" target=infoframe>_textaddusers_</a><br>
86<a href="_gwcgi_?e=_compressedoptions_&amp;a=um&amp;uma=changepasswd" target=infoframe>_textchangepasswd_</a>
[381]87)
88
[876]89<p><b>_textinfo_</b><br>
[10872]90<a href="_gwcgi_?e=_compressedoptions_&amp;a=status&amp;p=generalinfo" target=infoframe>_textgeneral_</a><br>
91<a href="_gwcgi_?e=_compressedoptions_&amp;a=status&amp;p=argumentinfo" target=infoframe>_textarguments_</a><br>
92<a href="_gwcgi_?e=_compressedoptions_&amp;a=status&amp;p=actioninfo" target=infoframe>_textactions_</a><br>
93<a href="_gwcgi_?e=_compressedoptions_&amp;a=status&amp;p=browserinfo" target=infoframe>_textbrowsers_</a><br>
94<a href="_gwcgi_?e=_compressedoptions_&amp;a=status&amp;p=protocolinfo" target=infoframe>_textprotocols_</a>
[1129]95}
[602]96
[18652]97_textllssite_ {llssite.cfg}
[2078]98_textmaincfg_ {main.cfg}
[1794]99
[1129]100_welcome_ {
[2935]101<b>_textversion_: _versionnum_</b>
102
103<p>_textmaas_
[1129]104<ul>
[2780]105<li>_textvol_
106<li>_textcmuc_
107<li>_textati_
[1129]108</ul>
[2780]109_texttsaa_
[10872]110</p>
111<div class="divbar">&nbsp;</div>
112<b>_textcolstat_</b>
[602]113<p>
[2780]114_textcwoa_
[1129]115<p>
[2780]116_textcafi_
[1129]117<br>
[2780]118_textcctv_
[10872]119</p>
[198]120}
[1794]121
122_maincfg_ {
123<form name="maincfgform" method=post action="_gwcgi_">
[1796]124<input type=hidden name="p" value="changemaincfg">
[28898]125<input type=hidden name="e" value="_decodedcompressedoptionsAttrsafe_">
[1794]126<p>_If_(_maincfgfile_,<textarea name="cfgfile" cols=72 rows=18 wrap=off>
127_maincfgfile_
[2244]128</textarea>
[2780]129<br><input type=submit value="_textsubc_"><input type=reset>,_texteom_)
[1794]130</form>
131}
132
133_changemaincfgfail_ {
134<html>
[10872]135<body>
[2780]136_textftum_
[1794]137_footer_
138}
139
140_changemaincfgsuccess_ {
141<html>
[10872]142<body>
[2780]143_textmus_
[1794]144_footer_
145}
Note: See TracBrowser for help on using the repository browser.