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>
|
---|
22 | <td colspan="2"><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=edgroup&gid=<TMPL_VAR NAME=gid>">Edit Current Group</a></td>
|
---|
23 | <td align="right"><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=newgrp">New Group</a></td>
|
---|
24 | </tr>
|
---|
25 | </table>
|
---|
26 |
|
---|
27 | <table width="98%" border="0" cellspacing="4" cellpadding="3">
|
---|
28 | <tr>
|
---|
29 | <TMPL_LOOP NAME=colheads>
|
---|
30 | <td class="datahead_<TMPL_IF firstcol>l<TMPL_ELSE>s</TMPL_IF>"><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=<TMPL_VAR NAME=page><TMPL_IF NAME=offset>&offset=<TMPL_VAR NAME=offset></TMPL_IF>&sortby=<TMPL_VAR NAME=sortby>&order=<TMPL_VAR NAME=order>"><TMPL_VAR NAME=colname></a><TMPL_IF NAME=sortorder> <img alt="<TMPL_VAR NAME=sortorder>" src="images/<TMPL_VAR NAME=sortorder>.png" /></TMPL_IF></td></TMPL_LOOP>
|
---|
31 | <td class="datahead_s">Delete</td>
|
---|
32 | </tr>
|
---|
33 | <TMPL_IF name=grouptable>
|
---|
34 | <TMPL_LOOP name=grouptable>
|
---|
35 | <tr class="row<TMPL_VAR name=bg>">
|
---|
36 | <td align="left"><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=edgroup&gid=<TMPL_VAR NAME=groupid>"><TMPL_VAR NAME=groupname></a></td>
|
---|
37 | <td><TMPL_VAR name=pgroup></td>
|
---|
38 | <td><TMPL_VAR name=nusers></td>
|
---|
39 | <td><TMPL_VAR name=ndomains></td>
|
---|
40 | <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>
|
---|
41 | </tr>
|
---|
42 | </TMPL_LOOP>
|
---|
43 | <TMPL_ELSE>
|
---|
44 | <tr><td colspan="5" align="center">No groups found</td></tr>
|
---|
45 | </TMPL_IF>
|
---|
46 | </table>
|
---|
47 |
|
---|
48 | </div>
|
---|
49 |
|
---|
50 | </td>
|
---|
51 | </tr>
|
---|
52 | </table>
|
---|