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

Last change on this file since 14119 was 7343, checked in by jrm21, 20 years ago

added a comment at the start of all macro files about using UTF-8

  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
File size: 4.7 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>_userslistusers:textcomment_</td><td colspan=2><input type="text" name="umc" value="_users:usersargc_" size=50></td></tr>
80<tr><td></td><td colspan=2><input type="submit" name=beu value="submit">
81<input type="submit" name=uma value="cancel"></td></tr>
82</table>
83</form>
84}
85
86_footer_ {
87</body>
88</html>
89}
90
91
92
93
94package usersdeleteuser
95
96_header_ {
97<html>
98<head>
99<title>_textdeleteuser_</title>
100</head>
101<body bgcolor="#ffffff" text="#000000" link="#006666"
102 alink="#cc9900" vlink="#666633">
103}
104
105_content_ {
106
107<p>
108<table border=0>
109<tr><td>
110<form name="deleteuser" method="post" action="_gwcgi_">
111<input type=hidden name="e" value="_decodedcompressedoptions_">
112<input type=hidden name="a" value="um">
113<input type=hidden name="uma" value="_cgiarguma_">
114<input type=hidden name="umun" value="_cgiargumun_">
115<font color=red>_textremwarn_</font>
116<input type="submit" name=cm value="no">
117<input type="submit" name=cm value="yes">
118</form>
119</td></tr>
120</table>
121}
122
123_footer_ {
124</body>
125</html>
126}
127
128
129
130package userschangepasswd
131
132_header_ {
133<html>
134<head>
135<title>_textchangepw_</title>
136</head>
137<body bgcolor="#ffffff" text="#000000" link="#006666"
138 alink="#cc9900" vlink="#666633">
139}
140
141_content_ {
142<h2>_textchangepw_</h2>
143<p><font color=gray>_usersedituser:textaboutpassword_</font>
144
145<p>_users:messagestatus_
146
147<p>
148<form name="changepasswd" method="post" action="_gwcgi_">
149<input type=hidden name="e" value="_decodedcompressedoptions_">
150<input type=hidden name="a" value="um">
151<input type=hidden name="uma" value="_cgiarguma_">
152<table border=0>
153<tr><td align=right>_textoldpw_</td><td><input type="password" name="umpw" size=9></td></tr>
154<tr><td align=right>_textnewpw_</td><td><input type="password" name="umnpw1" size=9></td></tr>
155<tr><td align=right>_textretype_</td><td><input type="password" name="umnpw2" size=9></td></tr>
156<tr><td></td><td><input type="submit" name=bcp value="submit"></td></tr>
157</table>
158</table>
159</form>
160
161}
162
163
164package userschangepasswdok
165
166_header_ {
167<html>
168<head>
169<title>_userschangepasswd:textchangepw_</title>
170</head>
171<body bgcolor="#ffffff" text="#000000" link="#006666"
172 alink="#cc9900" vlink="#666633">
173}
174
175_content_ {
176<h2>_userschangepasswd:textchangepw_</h2>
177
178<p>_textsuccess_
179}
180
181
182
183package users
184
185_messageinvalidusername_ {<font color=red>_textinvalidusername_</font>}
186_messageinvalidpassword_ {<font color=red>_textinvalidpassword_</font>}
187_messageemptypassword_ {<font color=red>_textemptypassword_</font>}
188_messageuserexists_ {<font color=red>_textuserexists_</font>}
189
190_messageusernameempty_ {<font color=red>_textusernameempty_</font>}
191_messagepasswordempty_ {<font color=red>_textpasswordempty_</font>}
192_messagenewpass1empty_ {<font color=red>_textnewpass1empty_</font>}
193_messagenewpass2empty_ {_messagenewpass1empty_}
194_messagenewpassmismatch_ {<font color=red>_textnewpassmismatch_</font>}
195_messagenewinvalidpassword_ {<font color=red>_textnewinvalidpassword_</font>}
196_messagefailed_ {<font color=red>_textfailed_</font>}
Note: See TracBrowser for help on using the repository browser.