source: branches/stable/templates/admin/showusers.tmpl@ 652

Last change on this file since 652 was 593, checked in by Kris Deugau, 12 years ago

/branches/stable

Merge /trunk r517 (merge /branches/htmlform)
Conflicts all resolved towards /trunk.
Fix a minor syntax error with "while (@data..." -> "while (my @data..."
(may cause merge conflicts later)

File size: 1.8 KB
RevLine 
[484]1Notes:
2<ul>
3<li>Admin users automatically get all other priviledges.
4<li>Everyone has basic read access.
5</ul>
6<hr>Add new user:<form action="admin.cgi" method="POST">
[513]7<fieldset><legend class="noshow">&nbsp;</legend>
[484]8Username: <input name=username><br>
9Password: <input name=password> <input type=checkbox name=preenc>Password is pre-encrypted (MUST be crypt() encrypted)<br>
10<input type=submit value='Add user'><input type=hidden name=action value=newuser>
11</fieldset></form>
12
13<hr>Users with access:
14
15<table border="1">
16<tr><td></td><td align="center" colspan="3">General access</td></tr>
17<tr><td>Username</td><td>Add new</td><td>Change</td><td>Delete</td><td>Systems/Networking</td><td>Admin user</td></tr>
18
19<TMPL_LOOP name=userlist>
20<tr>
21<form action="admin.cgi" method="POST">
[513]22<fieldset><legend class="noshow">&nbsp;</legend>
[484]23<input type="hidden" name="action" value="updacl">
24<td><TMPL_VAR NAME=username><input type="hidden" name="username" value="<TMPL_VAR NAME=username>"></td>
25<td><input type=checkbox name="add"<TMPL_IF can_add> checked="checked"</TMPL_IF>></td>
26<td><input type=checkbox name="change"<TMPL_IF can_change> checked="checked"</TMPL_IF>></td>
27<td><input type=checkbox name="del"<TMPL_IF can_del> checked="checked"</TMPL_IF>></td>
28<td><input type=checkbox name="sysnet"<TMPL_IF sysnet> checked="checked"</TMPL_IF>></td>
29<td><input type=checkbox name="admin"<TMPL_IF is_admin> checked="checked"</TMPL_IF>></td>
30<td><input type=submit value="Update"></td>
31</fieldset></form>
32<td>
33<form action="admin.cgi" method="POST">
[513]34<fieldset><legend class="noshow">&nbsp;</legend>
[484]35<input type=hidden name=action value=deluser>
36<input type=hidden name=username value="<TMPL_VAR NAME=username>">
37<input type=submit value="Delete user">
38</fieldset></form>
39</td>
40<td><TMPL_VAR NAME=acl></td>
41</tr>
42</TMPL_LOOP>
43</table>
Note: See TracBrowser for help on using the repository browser.