Changeset 1794 for trunk/gsdl/macros


Ignore:
Timestamp:
2000-12-15T13:03:42+13:00 (23 years ago)
Author:
sjboddie
Message:

Added ability to view gsdlsite.cfg and view/edit main.cfg configuration
files from within the status action.
Also added a "change password" link as it was previously impossible for
someone without administrator privileges to change their password.

Location:
trunk/gsdl/macros
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/macros/status.dm

    r1494 r1794  
    2828  </tr>
    2929</table>
     30<center>
     31<table width=_pagewidth_><tr><td>
    3032}
    3133
    3234_infofooter_ {
     35</td></tr></table>
    3336<p> _iconblankbar_
    3437</body>
     
    6568<a href="_gwcgi_?e=_compressedoptions_&a=um&uma=listusers" target=infoframe>_textlistusers_</a><br>
    6669<a href="_gwcgi_?e=_compressedoptions_&a=um&uma=adduser" target=infoframe>_textaddusers_</a><br>
     70<a href="_gwcgi_?e=_compressedoptions_&a=um&uma=changepasswd" target=infoframe>_textchangepasswd_</a>
    6771)
    6872
     
    7377<a href="_gwcgi_?e=_compressedoptions_&a=status&sp=browserinfo" target=infoframe>_textbrowsers_</a><br>
    7478<a href="_gwcgi_?e=_compressedoptions_&a=status&sp=protocolinfo" target=infoframe>_textprotocols_</a>
     79
     80<p><b>_textconfigfiles_</b><br>
     81<a href="_gwcgi_?e=_compressedoptions_&a=status&sp=gsdlsite" target=infoframe>_textgsdlsite_</a><br>
     82<a href="_gwcgi_?e=_compressedoptions_&a=status&sp=maincfg" target=infoframe>_textmaincfg_</a>
    7583
    7684<p><b>_textlogs_</b><br>
     
    8492_textlistusers_ {list users}
    8593_textaddusers_ {add a new user}
     94_textchangepasswd_ {change password}
    8695
    8796_textinfo_ {Information}
     
    91100_textbrowsers_ {browsers}
    92101_textprotocols_ {protocols}
     102
     103_textconfigfiles_ {Configuration files}
     104_textgsdlsite_ {gsdlsite.cfg}
     105_textmaincfg_ {main.cfg}_
    93106
    94107_textlogs_ {Logs}
     
    132145</center>
    133146}
     147
     148_maincfg_ {
     149<form name="maincfgform" method=post action="_gwcgi_">
     150<input type=hidden name="sp" value="changemaincfg">
     151<input type=hidden name="e" value="_decodedcompressedoptions_">
     152<p>_If_(_maincfgfile_,<textarea name="cfgfile" cols=72 rows=18 wrap=off>
     153_maincfgfile_
     154</textarea><input type=submit value="Submit Changes"><input type=reset>,
     155Error opening main.cfg)
     156</form>
     157}
     158
     159_changemaincfgfail_ {
     160<html>
     161<body bgcolor="\#ffffff" text="\#000000">
     162Failed to update main.cfg
     163_footer_
     164}
     165
     166_changemaincfgsuccess_ {
     167<html>
     168<body bgcolor="\#ffffff" text="\#000000">
     169main.cfg updated successfully
     170_footer_
     171}
     172
  • trunk/gsdl/macros/users.dm

    r1129 r1794  
    139139package userschangepasswd
    140140
    141 _pagetitle_ {Change password}
    142 _imagethispage_ {_imagegreenstone_}
     141_header_ {
     142<html>
     143<head>
     144<title>Change password</title>
     145</head>
     146<body bgcolor="#ffffff" text="#000000" link="#006666"
     147      alink="#cc9900" vlink="#666633">
     148}
    143149
    144150_content_ {
     
    168174package userschangepasswdok
    169175
    170 _pagetitle_ {Change password}
    171 _imagethispage_ {_imagegreenstone_}
     176_header_ {
     177<html>
     178<head>
     179<title>Change password</title>
     180</head>
     181<body bgcolor="#ffffff" text="#000000" link="#006666"
     182      alink="#cc9900" vlink="#666633">
     183}
    172184
    173185_content_ {
Note: See TracChangeset for help on using the changeset viewer.