1 | package userslistusers
|
---|
2 |
|
---|
3 | _header_ {
|
---|
4 | <html>
|
---|
5 | <head>
|
---|
6 | <title>List of current users</title>
|
---|
7 | </head>
|
---|
8 | <body bgcolor="#ffffff" text="#000000" link="#006666"
|
---|
9 | alink="#cc9900" vlink="#666633">
|
---|
10 | }
|
---|
11 |
|
---|
12 | _content_ {}
|
---|
13 |
|
---|
14 | _contentstart_ {
|
---|
15 | <h2>List of current users</h2>
|
---|
16 |
|
---|
17 |
|
---|
18 | <table border=0 cellspacing=1 cellpadding=3 width=100%>
|
---|
19 | <tr>
|
---|
20 | <th bgcolor="\#d0d0d0">user</th>
|
---|
21 | <th bgcolor="\#d0d0d0">account status</th>
|
---|
22 | <th bgcolor="\#d0d0d0">groups</th>
|
---|
23 | <th bgcolor="\#d0d0d0">comment</th>
|
---|
24 | <th> </th>
|
---|
25 | </tr>
|
---|
26 | }
|
---|
27 |
|
---|
28 | _contentend_ {
|
---|
29 | </table>
|
---|
30 | }
|
---|
31 |
|
---|
32 | _textadduser_ {add a new user}
|
---|
33 | _textedituser_ {edit}
|
---|
34 | _textdeleteuser_ {delete}
|
---|
35 |
|
---|
36 | _footer_ {
|
---|
37 | </body>
|
---|
38 | </html>
|
---|
39 | }
|
---|
40 |
|
---|
41 |
|
---|
42 |
|
---|
43 | package usersedituser
|
---|
44 |
|
---|
45 | _header_ {
|
---|
46 | <html>
|
---|
47 | <head>
|
---|
48 | <title>_If_("_cgiarguma_" eq "edituser",Edit user information,Add a new user)</title>
|
---|
49 | </head>
|
---|
50 | <body bgcolor="#ffffff" text="#000000" link="#006666"
|
---|
51 | alink="#cc9900" vlink="#666633">
|
---|
52 | }
|
---|
53 |
|
---|
54 | _content_ {
|
---|
55 | <h2>_If_("_cgiarguma_" eq "edituser",Edit user information,Add a new user)</h2>
|
---|
56 |
|
---|
57 |
|
---|
58 | _users:messagestatus_
|
---|
59 |
|
---|
60 | <form name="edituser" method="post" action="_gwcgi_">
|
---|
61 | <input type=hidden name="e" value="_decodedcompressedoptions_">
|
---|
62 | <input type=hidden name="a" value="um">
|
---|
63 | <input type=hidden name="uma" value="_cgiarguma_">
|
---|
64 |
|
---|
65 | <table border=0>
|
---|
66 | <tr><td>username</td><td><input type="text" name="umun" value="_users:usersargun_" size=15></td>
|
---|
67 | <td><font color=gray>Usernames must be between
|
---|
68 | 2 and 30 characters long. They can
|
---|
69 | contain alphanumeric characters, '.', and '_'.
|
---|
70 | </font></td>
|
---|
71 | </tr>
|
---|
72 | <tr><td>password</td><td><input type="text" name="umpw" value="_users:usersargpw_" size=9></td>
|
---|
73 | <td><font color=gray>
|
---|
74 | Passwords must be between 3 and 8 characters long. They can contain
|
---|
75 | any normal printable ASCII characters.
|
---|
76 | _If_("_cgiarguma_" eq "edituser",If this field is blank the old password will be kept.)
|
---|
77 | </font></td></tr>
|
---|
78 | <tr><td>account status</td><td>
|
---|
79 | <select name="umus">
|
---|
80 | <option value="enabled">enabled
|
---|
81 | <option value="disabled"_If_("_users:usersargus_" ne "enabled", selected)>disabled
|
---|
82 | </select>
|
---|
83 | </td></tr>
|
---|
84 | <tr><td>groups</td><td><input type="text" name="umug" value="_users:usersargug_" size=15></td>
|
---|
85 | <td><font color=gray>
|
---|
86 | Groups is a comma separated list, do not put spaces after the commas.
|
---|
87 | </font></td></tr>
|
---|
88 | <tr><td>comment</td><td colspan=2><input type="text" name="umc" value="_users:usersargc_" size=50></td></tr>
|
---|
89 | <tr><td></td><td colspan=2><input type="submit" name=beu value="submit">
|
---|
90 | <input type="submit" name=uma value="cancel"></td></tr>
|
---|
91 | </table>
|
---|
92 | </form>
|
---|
93 | }
|
---|
94 |
|
---|
95 | _footer_ {
|
---|
96 | </body>
|
---|
97 | </html>
|
---|
98 | }
|
---|
99 |
|
---|
100 |
|
---|
101 |
|
---|
102 |
|
---|
103 | package usersdeleteuser
|
---|
104 |
|
---|
105 | _header_ {
|
---|
106 | <html>
|
---|
107 | <head>
|
---|
108 | <title>Delete a user</title>
|
---|
109 | </head>
|
---|
110 | <body bgcolor="#ffffff" text="#000000" link="#006666"
|
---|
111 | alink="#cc9900" vlink="#666633">
|
---|
112 | }
|
---|
113 |
|
---|
114 | _content_ {
|
---|
115 |
|
---|
116 | <p>
|
---|
117 | <table border=0>
|
---|
118 | <tr><td>
|
---|
119 | <form name="deleteuser" method="post" action="_gwcgi_">
|
---|
120 | <input type=hidden name="e" value="_decodedcompressedoptions_">
|
---|
121 | <input type=hidden name="a" value="um">
|
---|
122 | <input type=hidden name="uma" value="_cgiarguma_">
|
---|
123 | <input type=hidden name="umun" value="_cgiargumun_">
|
---|
124 | <font color=red>Do you really want to permanently remove user <b>_cgiargumun_</b>?</font>
|
---|
125 | <input type="submit" name=cm value="no">
|
---|
126 | <input type="submit" name=cm value="yes">
|
---|
127 | </form>
|
---|
128 | </td></tr>
|
---|
129 | </table>
|
---|
130 | }
|
---|
131 |
|
---|
132 | _footer_ {
|
---|
133 | </body>
|
---|
134 | </html>
|
---|
135 | }
|
---|
136 |
|
---|
137 |
|
---|
138 |
|
---|
139 | package userschangepasswd
|
---|
140 |
|
---|
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 | }
|
---|
149 |
|
---|
150 | _content_ {
|
---|
151 | <h2>Change password</h2>
|
---|
152 | <p><font color=gray>Passwords must be between 3 and 8 characters long.
|
---|
153 | They can contain any normal printable ASCII characters.</font>
|
---|
154 |
|
---|
155 | <p>_users:messagestatus_
|
---|
156 |
|
---|
157 | <p>
|
---|
158 | <form name="changepasswd" method="post" action="_gwcgi_">
|
---|
159 | <input type=hidden name="e" value="_decodedcompressedoptions_">
|
---|
160 | <input type=hidden name="a" value="um">
|
---|
161 | <input type=hidden name="uma" value="_cgiarguma_">
|
---|
162 | <table border=0>
|
---|
163 | <tr><td align=right>old password</td><td><input type="text" name="umpw" size=9></td></tr>
|
---|
164 | <tr><td align=right>new password</td><td><input type="password" name="umnpw1" size=9></td></tr>
|
---|
165 | <tr><td align=right>retype new password</td><td><input type="password" name="umnpw2" size=9></td></tr>
|
---|
166 | <tr><td></td><td><input type="submit" name=bcp value="submit"></td></tr>
|
---|
167 | </table>
|
---|
168 | </table>
|
---|
169 | </form>
|
---|
170 |
|
---|
171 | }
|
---|
172 |
|
---|
173 |
|
---|
174 | package userschangepasswdok
|
---|
175 |
|
---|
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 | }
|
---|
184 |
|
---|
185 | _content_ {
|
---|
186 | <h2>Change password</h2>
|
---|
187 |
|
---|
188 | <p>Your password was successfully changed.
|
---|
189 | }
|
---|
190 |
|
---|
191 |
|
---|
192 |
|
---|
193 | package users
|
---|
194 |
|
---|
195 | _messageinvalidusername_ {<font color=red>The username is invalid.</font> }
|
---|
196 | _messageinvalidpassword_ {<font color=red>The password is invalid.</font> }
|
---|
197 | _messageemptypassword_ {<font color=red>Please enter an initial password for this user.</font> }
|
---|
198 | _messageuserexists_ {<font color=red>This user already exists,
|
---|
199 | please enter in another username.</font> }
|
---|
200 |
|
---|
201 | _messageusernameempty_ {<font color=red>Please enter your username.</font> }
|
---|
202 | _messagepasswordempty_ {<font color=red>You must enter your old password.</font> }
|
---|
203 | _messagenewpass1empty_ {<font color=red>Enter your new password and then retype it.</font> }
|
---|
204 | _messagenewpass2empty_ {_messagenewpass1empty_}
|
---|
205 | _messagenewpassmismatch_ {<font color=red>The two versions of your new password did not match.</font> }
|
---|
206 | _messagenewinvalidpassword_ {<font color=red>You entered an invalid password.</font> }
|
---|
207 | _messagefailed_ {<font color=red>Either your username or password was incorrect.</font> }
|
---|