[19] | 1 | <!-- <TMPL_VAR NAME=sid> -->
|
---|
| 2 | <table class="wholepage"><tr>
|
---|
| 3 | <TMPL_INCLUDE NAME="menu.tmpl">
|
---|
| 4 |
|
---|
| 5 | <td align="center">
|
---|
[22] | 6 |
|
---|
| 7 | <TMPL_IF del_failed>
|
---|
[23] | 8 | <div class='errmsg'>Error deleting group <TMPL_VAR NAME=delgroupname>: <TMPL_VAR NAME=errmsg></div>
|
---|
[22] | 9 | </TMPL_IF>
|
---|
| 10 |
|
---|
[19] | 11 | <table width="98%">
|
---|
[38] | 12 | <tr><td colspan="3" align="center"><span class="pgtitle">Manage groups</span></td></tr>
|
---|
[19] | 13 | <tr><td><TMPL_INCLUDE NAME="pgcount.tmpl"></td>
|
---|
| 14 | <td>
|
---|
| 15 | <TMPL_INCLUDE NAME="fpnla.tmpl">
|
---|
[38] | 16 | </td><td align="right">insert search box here</td></tr>
|
---|
[19] | 17 |
|
---|
[38] | 18 | <tr><td colspan="3" align="center">insert letter search here</td></tr>
|
---|
[19] | 19 |
|
---|
[38] | 20 | <tr><td colspan="3" align="right"><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=newgrp">New Group</a></td></tr>
|
---|
[19] | 21 | </table>
|
---|
| 22 |
|
---|
[38] | 23 | <table border="0" cellspacing="5" cellpadding="3">
|
---|
[19] | 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 -->
|
---|
[38] | 27 | <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>
|
---|
| 28 | <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>
|
---|
| 29 | <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>
|
---|
| 30 | <td class="underline">Group</td>
|
---|
| 31 | <td class="underline">Parent Group</td>
|
---|
| 32 | <td class="underline">Users</td>
|
---|
| 33 | <td class="underline" align="center">Domains</td>
|
---|
[19] | 34 | </TMPL_IF>
|
---|
[38] | 35 | <td class="underline">Delete</td>
|
---|
[19] | 36 | </tr>
|
---|
[20] | 37 | <TMPL_IF name=grouptable>
|
---|
| 38 | <TMPL_LOOP name=grouptable>
|
---|
[19] | 39 | <tr class="row<TMPL_VAR name=bg>">
|
---|
[38] | 40 | <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>
|
---|
| 41 | <td><TMPL_VAR name=pgroup></td>
|
---|
| 42 | <td><TMPL_VAR name=nusers></td>
|
---|
| 43 | <td><TMPL_VAR name=ndomains></td>
|
---|
| 44 | <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>
|
---|
[19] | 45 | </tr>
|
---|
| 46 | </TMPL_LOOP>
|
---|
| 47 | <TMPL_ELSE>
|
---|
[38] | 48 | <tr><td colspan="5">No groups found</td></tr>
|
---|
[19] | 49 | </TMPL_IF>
|
---|
| 50 | </table>
|
---|
| 51 |
|
---|
| 52 | </td>
|
---|
[38] | 53 | </tr>
|
---|
[19] | 54 | </table>
|
---|