source: trunk/templates/admin/showusers.tmpl@ 518

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

/trunk

Finally merge conversion to HTML::Template from /branches/htmlform

  • Node "hack" showed conflict due to having been added to all branches in parallel
  • editDisplay.html was apparently changed enough that the merged delete caused an irrelevant conflict

Closes #3.

File size: 1.8 KB
Line 
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">
7<fieldset><legend class="noshow">&nbsp;</legend>
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">
22<fieldset><legend class="noshow">&nbsp;</legend>
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">
34<fieldset><legend class="noshow">&nbsp;</legend>
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.