source: gsdl/trunk/macros/users.dm@ 15085

Last change on this file since 15085 was 15085, checked in by kjdon, 16 years ago

added a list of predefined groups to the help for groups on edit/add user pages of admin facility

  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
File size: 4.8 KB
Line 
1# this file must be UTF-8 encoded
2
3package userslistusers
4
5_header_ {
6<html>
7<head>
8<title>_textlocu_</title>
9</head>
10<body bgcolor="#ffffff" text="#000000" link="#006666"
11 alink="#cc9900" vlink="#666633">
12}
13
14_content_ {}
15
16_contentstart_ {
17<h2>_textlocu_</h2>
18
19
20<table border=0 cellspacing=1 cellpadding=3 width=100%>
21<tr>
22 <th bgcolor="\#d0d0d0">_textuser_</th>
23 <th bgcolor="\#d0d0d0">_textas_</th>
24 <th bgcolor="\#d0d0d0">_textgroups_</th>
25 <th bgcolor="\#d0d0d0">_textcomment_</th>
26 <th>&nbsp;</th>
27</tr>
28}
29
30_contentend_ {
31</table>
32}
33
34_footer_ {
35</body>
36</html>
37}
38
39
40
41package usersedituser
42
43_header_ {
44<html>
45<head>
46<title>_If_("_cgiarguma_" eq "edituser",_textedituser_,_textadduser_)</title>
47</head>
48<body bgcolor="#ffffff" text="#000000" link="#006666"
49 alink="#cc9900" vlink="#666633">
50}
51
52_content_ {
53<h2>_If_("_cgiarguma_" eq "edituser",_textedituser_,_textadduser_)</h2>
54
55
56_users:messagestatus_
57
58<form name="edituser" method="post" action="_gwcgi_">
59<input type=hidden name="e" value="_decodedcompressedoptions_">
60<input type=hidden name="a" value="um">
61<input type=hidden name="uma" value="_cgiarguma_">
62
63<table border=0>
64<tr><td>_authen:textusername_</td><td><input type="text" name="umun" value="_users:usersargun_" size=15></td>
65<td><font color=gray>_textaboutusername_</font></td>
66</tr>
67<tr><td>_authen:textpassword_</td><td><input type="text" name="umpw" value="_users:usersargpw_" size=9></td>
68<td><font color=gray>_textaboutpassword_
69_If_("_cgiarguma_" eq "edituser",_textoldpass_)
70</font></td></tr>
71<tr><td>_userslistusers:textas_</td><td>
72<select name="umus">
73<option value="enabled">_textenabled_
74<option value="disabled"_If_("_users:usersargus_" ne "enabled", selected)>_textdisabled_
75</select>
76</td></tr>
77<tr><td>_userslistusers:textgroups_</td><td><input type="text" name="umug" value="_users:usersargug_" size=15></td>
78<td><font color=gray>_textaboutgroups_</font></td></tr>
79<tr><td></td><td></td>
80<td><font color=gray>_textavailablegroups_</font></td></tr>
81<tr><td>_userslistusers:textcomment_</td><td colspan=2><input type="text" name="umc" value="_users:usersargc_" size=50></td></tr>
82<tr><td></td><td colspan=2><input type="submit" name=beu value="submit">
83<input type="submit" name=uma value="cancel"></td></tr>
84</table>
85</form>
86}
87
88_footer_ {
89</body>
90</html>
91}
92
93
94
95
96package usersdeleteuser
97
98_header_ {
99<html>
100<head>
101<title>_textdeleteuser_</title>
102</head>
103<body bgcolor="#ffffff" text="#000000" link="#006666"
104 alink="#cc9900" vlink="#666633">
105}
106
107_content_ {
108
109<p>
110<table border=0>
111<tr><td>
112<form name="deleteuser" method="post" action="_gwcgi_">
113<input type=hidden name="e" value="_decodedcompressedoptions_">
114<input type=hidden name="a" value="um">
115<input type=hidden name="uma" value="_cgiarguma_">
116<input type=hidden name="umun" value="_cgiargumun_">
117<font color=red>_textremwarn_</font>
118<input type="submit" name=cm value="no">
119<input type="submit" name=cm value="yes">
120</form>
121</td></tr>
122</table>
123}
124
125_footer_ {
126</body>
127</html>
128}
129
130
131
132package userschangepasswd
133
134_header_ {
135<html>
136<head>
137<title>_textchangepw_</title>
138</head>
139<body bgcolor="#ffffff" text="#000000" link="#006666"
140 alink="#cc9900" vlink="#666633">
141}
142
143_content_ {
144<h2>_textchangepw_</h2>
145<p><font color=gray>_usersedituser:textaboutpassword_</font>
146
147<p>_users:messagestatus_
148
149<p>
150<form name="changepasswd" method="post" action="_gwcgi_">
151<input type=hidden name="e" value="_decodedcompressedoptions_">
152<input type=hidden name="a" value="um">
153<input type=hidden name="uma" value="_cgiarguma_">
154<table border=0>
155<tr><td align=right>_textoldpw_</td><td><input type="password" name="umpw" size=9></td></tr>
156<tr><td align=right>_textnewpw_</td><td><input type="password" name="umnpw1" size=9></td></tr>
157<tr><td align=right>_textretype_</td><td><input type="password" name="umnpw2" size=9></td></tr>
158<tr><td></td><td><input type="submit" name=bcp value="submit"></td></tr>
159</table>
160</table>
161</form>
162
163}
164
165
166package userschangepasswdok
167
168_header_ {
169<html>
170<head>
171<title>_userschangepasswd:textchangepw_</title>
172</head>
173<body bgcolor="#ffffff" text="#000000" link="#006666"
174 alink="#cc9900" vlink="#666633">
175}
176
177_content_ {
178<h2>_userschangepasswd:textchangepw_</h2>
179
180<p>_textsuccess_
181}
182
183
184
185package users
186
187_messageinvalidusername_ {<font color=red>_textinvalidusername_</font>}
188_messageinvalidpassword_ {<font color=red>_textinvalidpassword_</font>}
189_messageemptypassword_ {<font color=red>_textemptypassword_</font>}
190_messageuserexists_ {<font color=red>_textuserexists_</font>}
191
192_messageusernameempty_ {<font color=red>_textusernameempty_</font>}
193_messagepasswordempty_ {<font color=red>_textpasswordempty_</font>}
194_messagenewpass1empty_ {<font color=red>_textnewpass1empty_</font>}
195_messagenewpass2empty_ {_messagenewpass1empty_}
196_messagenewpassmismatch_ {<font color=red>_textnewpassmismatch_</font>}
197_messagenewinvalidpassword_ {<font color=red>_textnewinvalidpassword_</font>}
198_messagefailed_ {<font color=red>_textfailed_</font>}
Note: See TracBrowser for help on using the repository browser.