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="datatablewrapper">
|
---|
12 |
|
---|
13 | <table width="98%">
|
---|
14 | <tr><th colspan="3" align="center">Manage groups</th></tr>
|
---|
15 | <tr>
|
---|
16 | <td class="leftthird"><TMPL_INCLUDE NAME="pgcount.tmpl"></td>
|
---|
17 | <td align="center"><TMPL_INCLUDE NAME="fpnla.tmpl"></td>
|
---|
18 | <td class="rightthird"><TMPL_INCLUDE NAME="sbox.tmpl"></td>
|
---|
19 | </tr>
|
---|
20 | <tr><td colspan="3" align="center"><TMPL_INCLUDE NAME="lettsearch.tmpl"></td></tr>
|
---|
21 | <tr><td colspan="3" align="right"><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=newgrp">New Group</a></td></tr>
|
---|
22 | </table>
|
---|
23 |
|
---|
24 | <table width="98%" border="0" cellspacing="4" cellpadding="3">
|
---|
25 | <tr>
|
---|
26 | <TMPL_IF foobarbaz>
|
---|
27 | <td class="datahead_l"><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=grpman&<TMPL_IF
|
---|
28 | NAME=offset>offset=<TMPL_VAR NAME=offset>&</TMPL_IF>sortby=group&order=<TMPL_VAR
|
---|
29 | NAME=grporder>">Group</a><TMPL_IF NAME=sortgrp> <img alt="<TMPL_VAR NAME=sortorder>" src="images/<TMPL_VAR
|
---|
30 | NAME=sortorder>.png" /></TMPL_IF></td>
|
---|
31 | <td class="datahead_s"><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=grpman&<TMPL_IF
|
---|
32 | NAME=offset>offset=<TMPL_VAR NAME=offset>&</TMPL_IF>sortby=parent&order=<TMPL_VAR
|
---|
33 | NAME=parentorder>">Parent Group</a><TMPL_IF NAME=sortparent> <img alt="<TMPL_VAR NAME=sortorder>"
|
---|
34 | src="images/<TMPL_VAR NAME=sortorder>.png" /></TMPL_IF></td>
|
---|
35 | <td class="datahead_s"><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=grpman&<TMPL_IF
|
---|
36 | NAME=offset>offset=<TMPL_VAR NAME=offset>&</TMPL_IF>sortby=nusers&order=<TMPL_VAR
|
---|
37 | NAME=nusersorder>">Users</a><TMPL_IF NAME=sortnusers> <img alt="<TMPL_VAR NAME=sortorder>"
|
---|
38 | src="images/<TMPL_VAR NAME=sortorder>.png" /></TMPL_IF></td>
|
---|
39 | <td class="datahead_s"><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=grpman&<TMPL_IF
|
---|
40 | NAME=offset>offset=<TMPL_VAR NAME=offset>&</TMPL_IF>sortby=ndomains&order=<TMPL_VAR
|
---|
41 | NAME=ndomainsorder>">Domains</a><TMPL_IF NAME=sortndomains> <img alt="<TMPL_VAR NAME=sortorder>"
|
---|
42 | src="images/<TMPL_VAR NAME=sortorder>.png" /></TMPL_IF></td>
|
---|
43 | <TMPL_ELSE>
|
---|
44 | <TMPL_LOOP NAME=colheads>
|
---|
45 | <td class="datahead_<TMPL_IF firstcol>l<TMPL_ELSE>s</TMPL_IF>"><a href="dns.cgi?sid=<TMPL_VAR
|
---|
46 | NAME=sid>&page=<TMPL_VAR NAME=page><TMPL_IF NAME=offset>&offset=<TMPL_VAR
|
---|
47 | NAME=offset></TMPL_IF>&sortby=<TMPL_VAR NAME=sortby>&order=<TMPL_VAR NAME=order>"><TMPL_VAR
|
---|
48 | NAME=colname><TMPL_VAR NAME=sortby></a><TMPL_IF NAME=sortorder> <img alt="<TMPL_VAR NAME=sortorder>"
|
---|
49 | src="images/<TMPL_VAR NAME=sortorder>.png" /></TMPL_IF></td>
|
---|
50 | </TMPL_LOOP>
|
---|
51 | </TMPL_IF>
|
---|
52 | <td class="datahead_s">Delete</td>
|
---|
53 | </tr>
|
---|
54 | <TMPL_IF name=grouptable>
|
---|
55 | <TMPL_LOOP name=grouptable>
|
---|
56 | <tr class="row<TMPL_VAR name=bg>">
|
---|
57 | <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>
|
---|
58 | <td><TMPL_VAR name=pgroup></td>
|
---|
59 | <td><TMPL_VAR name=nusers></td>
|
---|
60 | <td><TMPL_VAR name=ndomains></td>
|
---|
61 | <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>
|
---|
62 | </tr>
|
---|
63 | </TMPL_LOOP>
|
---|
64 | <TMPL_ELSE>
|
---|
65 | <tr><td colspan="5" align="center">No groups found</td></tr>
|
---|
66 | </TMPL_IF>
|
---|
67 | </table>
|
---|
68 |
|
---|
69 | </div>
|
---|
70 |
|
---|
71 | </td>
|
---|
72 | </tr>
|
---|
73 | </table>
|
---|