[24] | 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 border=0 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 border=0 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 border=0 alt='<TMPL_VAR NAME=sortorder>' src="images/<TMPL_VAR NAME=sortorder>.png"></TMPL_IF></a></td>
|
---|
| 30 | <TMPL_ELSE>
|
---|
[25] | 31 | <td class="underline" nowrap>Username</td>
|
---|
| 32 | <td class="underline" nowrap>Full name</td>
|
---|
[24] | 33 | <td class="underline" nowrap>Type</td>
|
---|
| 34 | <td class="underline" nowrap width="5%">Group</td>
|
---|
| 35 | <td class="underline" nowrap>Status</td>
|
---|
| 36 | </TMPL_IF>
|
---|
| 37 | <td class="underline" width="1%">Delete</td>
|
---|
| 38 | </tr>
|
---|
| 39 | <TMPL_IF name=usertable>
|
---|
| 40 | <TMPL_LOOP name=usertable>
|
---|
| 41 | <tr class="row<TMPL_VAR name=bg>">
|
---|
| 42 | <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>
|
---|
| 43 | <td width="5%" nowrap><TMPL_VAR name=userfull></td>
|
---|
| 44 | <td width="5%" nowrap><TMPL_VAR name=usertype></td>
|
---|
| 45 | <td width="5%" nowrap><TMPL_VAR name=usergroup></td>
|
---|
| 46 | <td width="1%" nowrap align=center><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=useradmin<TMPL_IF
|
---|
| 47 | NAME=offset>&offset=<TMPL_VAR NAME=offset></TMPL_IF>&id=<TMPL_VAR NAME=userid>&action=<TMPL_IF
|
---|
| 48 | NAME=mkactive>useron<TMPL_ELSE>useroff</TMPL_IF>"><TMPL_IF
|
---|
| 49 | NAME=mkactive>enabled<TMPL_ELSE>disabled</TMPL_IF></a></td>
|
---|
| 50 | <td width="1%" nowrap align=center><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=deluser&id=<TMPL_VAR NAME=userid>"><img src="images/trash2.png" border=0></a></td>
|
---|
| 51 | </tr>
|
---|
| 52 | </TMPL_LOOP>
|
---|
| 53 | <TMPL_ELSE>
|
---|
| 54 | <tr><td colspan=5>No users found</td></tr>
|
---|
| 55 | </TMPL_IF>
|
---|
| 56 | </table>
|
---|
| 57 |
|
---|
| 58 | </td>
|
---|
| 59 | </table>
|
---|