1 | <!-- <TMPL_VAR NAME=sid> -->
|
---|
2 | <table class="wholepage"><tr>
|
---|
3 | <TMPL_INCLUDE NAME="menu.tmpl">
|
---|
4 |
|
---|
5 | <td align="center">
|
---|
6 |
|
---|
7 | <TMPL_IF del_failed>
|
---|
8 | <div class='errmsg'>Error deleting user <TMPL_VAR NAME=delusername>: <TMPL_VAR NAME=errmsg></div>
|
---|
9 | </TMPL_IF>
|
---|
10 |
|
---|
11 | <table width="98%">
|
---|
12 | <tr><td colspan="3" align="center"><span class="pgtitle">Manage users</span></td></tr>
|
---|
13 | <tr><td><TMPL_INCLUDE NAME="pgcount.tmpl"></td>
|
---|
14 | <td>
|
---|
15 | <TMPL_INCLUDE NAME="fpnla.tmpl">
|
---|
16 | </td><td align="right">insert search box here</td></tr>
|
---|
17 |
|
---|
18 | <tr><td colspan="3" align="center">insert letter search here</td></tr>
|
---|
19 |
|
---|
20 | <tr><td colspan="3" align="right"><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=newuser">New User</a></td></tr>
|
---|
21 | </table>
|
---|
22 |
|
---|
23 | <table border="0" cellspacing="5" cellpadding="3">
|
---|
24 | <tr>
|
---|
25 | <TMPL_IF NAME=foobarbaz>
|
---|
26 | <!-- This block to be un-TMPL_IF'ed once we care about sort order - by default, we sort by domain, ascending -->
|
---|
27 | <td class="underline" nowrap><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=domlist&offset=<TMPL_VAR NAME=offset>">Domain<TMPL_IF NAME=sortdomain> <img alt='<TMPL_VAR NAME=sortorder>' src="images/<TMPL_VAR NAME=sortorder>.png" /></TMPL_IF></a></td>
|
---|
28 | <td class="underline" nowrap><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=domlist&offset=<TMPL_VAR NAME=offset>">Status<TMPL_IF NAME=sortstatus> <img alt='<TMPL_VAR NAME=sortorder>' src="images/<TMPL_VAR NAME=sortorder>.png" /></TMPL_IF></a></td>
|
---|
29 | <td class="underline" align="center" nowrap><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=domlist&offset=<TMPL_VAR NAME=offset>">Group<TMPL_IF NAME=sortuser> <img alt='<TMPL_VAR NAME=sortorder>' src="images/<TMPL_VAR NAME=sortorder>.png" /></TMPL_IF></a></td> <TMPL_ELSE>
|
---|
30 | <td>Username</td>
|
---|
31 | <td>Full name</td>
|
---|
32 | <td>Type</td>
|
---|
33 | <td>Group</td>
|
---|
34 | <td>Status</td>
|
---|
35 | </TMPL_IF>
|
---|
36 | <td>Delete</td>
|
---|
37 | </tr>
|
---|
38 | <TMPL_IF name=usertable>
|
---|
39 | <TMPL_LOOP name=usertable>
|
---|
40 | <tr class="row<TMPL_VAR name=bg>">
|
---|
41 | <td><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=userman&action=chuser&user=<TMPL_VAR NAME=userid>"><TMPL_VAR NAME=username></a></td>
|
---|
42 | <td><TMPL_VAR name=userfull></td>
|
---|
43 | <td><TMPL_VAR name=usertype></td>
|
---|
44 | <td><TMPL_VAR name=usergroup></td>
|
---|
45 | <td align="center"><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=useradmin<TMPL_IF NAME=offset>&offset=<TMPL_VAR NAME=offset></TMPL_IF>&id=<TMPL_VAR NAME=userid>&action=<TMPL_IF NAME=mkactive>useron<TMPL_ELSE>useroff</TMPL_IF>"><TMPL_IF NAME=mkactive>enabled<TMPL_ELSE>disabled</TMPL_IF></a></td>
|
---|
46 | <td align="center"><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=deluser&id=<TMPL_VAR NAME=userid>"><img src="images/trash2.png" alt="[ Delete ]" /></a></td>
|
---|
47 | </tr>
|
---|
48 | </TMPL_LOOP>
|
---|
49 | <TMPL_ELSE>
|
---|
50 | <tr><td colspan="5">No users found</td></tr>
|
---|
51 | </TMPL_IF>
|
---|
52 | </table>
|
---|
53 |
|
---|
54 | </td>
|
---|
55 | </tr>
|
---|
56 | </table>
|
---|