1 | <!-- <TMPL_VAR NAME=sid> -->
|
---|
2 | <table class="wholepage"><tr>
|
---|
3 | <TMPL_INCLUDE NAME="menu.tmpl">
|
---|
4 |
|
---|
5 | <td align="center">
|
---|
6 | <table width="98%">
|
---|
7 | <tr><td colspan=3 align=center><span class="pgtitle">Manage groups</span></td></tr>
|
---|
8 | <tr><td><TMPL_INCLUDE NAME="pgcount.tmpl"></td>
|
---|
9 | <td>
|
---|
10 | <TMPL_INCLUDE NAME="fpnla.tmpl">
|
---|
11 | </td><td align=right>insert search box here</td></tr>
|
---|
12 |
|
---|
13 | <tr><td colspan=3 align=center>insert letter search here</td></tr>
|
---|
14 |
|
---|
15 | <tr><td colspan=3 align=right><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=newgrp">New Group</a></td></tr>
|
---|
16 | </table>
|
---|
17 |
|
---|
18 | <table border=0 cellspacing="5" cellpadding="3">
|
---|
19 | <tr>
|
---|
20 | <TMPL_IF NAME=foobarbaz>
|
---|
21 | <!-- This block to be un-TMPL_IF'ed once we care about sort order - by default, we sort by domain, ascending -->
|
---|
22 | <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>
|
---|
23 | <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>
|
---|
24 | <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=sortgroup> <img border=0 alt='<TMPL_VAR NAME=sortorder>' src="images/<TMPL_VAR NAME=sortorder>.png"></TMPL_IF></a></td>
|
---|
25 | <TMPL_ELSE>
|
---|
26 | <td class="underline" nowrap>Group</td>
|
---|
27 | <td class="underline" nowrap width="5%">Parent Group</td>
|
---|
28 | <td class="underline" nowrap width="5%">Users</td>
|
---|
29 | <td class="underline" align="center" nowrap width="5%">Domains</td>
|
---|
30 | </TMPL_IF>
|
---|
31 | <td class="underline" width="1%">Delete</td>
|
---|
32 | </tr>
|
---|
33 | <TMPL_IF name=grptable>
|
---|
34 | <TMPL_LOOP name=grptable>
|
---|
35 | <tr class="row<TMPL_VAR name=bg>">
|
---|
36 | <td><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=grpman&id=<TMPL_VAR NAME=grpid>"><TMPL_VAR NAME=grpname></a></td>
|
---|
37 | <td width="5%" nowrap><TMPL_VAR name=pgrp></td>
|
---|
38 | <td width="5%" nowrap><TMPL_VAR name=nusers></td>
|
---|
39 | <td width="5%" nowrap><TMPL_VAR name=ndomains></td>
|
---|
40 | <td width="1%" nowrap align=center><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=delgrp&id=<TMPL_VAR NAME=grpid>"><img src="images/trash2.png" border=0></a></td>
|
---|
41 | </tr>
|
---|
42 | </TMPL_LOOP>
|
---|
43 | <TMPL_ELSE>
|
---|
44 | <tr><td colspan=5>No groups found</td></tr>
|
---|
45 | </TMPL_IF>
|
---|
46 | </table>
|
---|
47 |
|
---|
48 | </td>
|
---|
49 | </table>
|
---|