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 group <TMPL_VAR NAME=delgroupname>: <TMPL_VAR NAME=errmsg></div>
|
---|
9 | </TMPL_IF>
|
---|
10 |
|
---|
11 | <div id="borderme">
|
---|
12 |
|
---|
13 | <table width="98%">
|
---|
14 | <tr><td colspan="3" align="center"><span class="pgtitle">Manage groups</span></td></tr>
|
---|
15 | <tr><td><TMPL_INCLUDE NAME="pgcount.tmpl"></td>
|
---|
16 | <td>
|
---|
17 | <TMPL_INCLUDE NAME="fpnla.tmpl">
|
---|
18 | </td><td align="right">insert search box here</td></tr>
|
---|
19 |
|
---|
20 | <tr><td colspan="3" align="center"><TMPL_INCLUDE NAME="lettsearch.tmpl"></td></tr>
|
---|
21 |
|
---|
22 | <tr><td colspan="3" align="right"><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=newgrp">New Group</a></td></tr>
|
---|
23 | </table>
|
---|
24 |
|
---|
25 | <table border="0" cellspacing="5" cellpadding="3">
|
---|
26 | <tr>
|
---|
27 | <TMPL_IF NAME=foobarbaz>
|
---|
28 | <!-- This block to be un-TMPL_IF'ed once we care about sort order - by default, we sort by domain, ascending -->
|
---|
29 | <td class="underline"><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>
|
---|
30 | <td class="underline"><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>
|
---|
31 | <td class="underline" align="center"><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> <TMPL_ELSE>
|
---|
32 | <td class="underline">Group</td>
|
---|
33 | <td class="underline">Parent Group</td>
|
---|
34 | <td class="underline">Users</td>
|
---|
35 | <td class="underline" align="center">Domains</td>
|
---|
36 | </TMPL_IF>
|
---|
37 | <td class="underline">Delete</td>
|
---|
38 | </tr>
|
---|
39 | <TMPL_IF name=grouptable>
|
---|
40 | <TMPL_LOOP name=grouptable>
|
---|
41 | <tr class="row<TMPL_VAR name=bg>">
|
---|
42 | <td><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=grpman&action=chgroup&group=<TMPL_VAR NAME=groupid>"><TMPL_VAR NAME=groupname></a></td>
|
---|
43 | <td><TMPL_VAR name=pgroup></td>
|
---|
44 | <td><TMPL_VAR name=nusers></td>
|
---|
45 | <td><TMPL_VAR name=ndomains></td>
|
---|
46 | <td align="center"><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=delgrp&id=<TMPL_VAR NAME=groupid>"><img src="images/trash2.png" alt="[ Delete ]" /></a></td>
|
---|
47 | </tr>
|
---|
48 | </TMPL_LOOP>
|
---|
49 | <TMPL_ELSE>
|
---|
50 | <tr><td colspan="5">No groups found</td></tr>
|
---|
51 | </TMPL_IF>
|
---|
52 | </table>
|
---|
53 |
|
---|
54 | </div>
|
---|
55 |
|
---|
56 | </td>
|
---|
57 | </tr>
|
---|
58 | </table>
|
---|