[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 |
|
---|
[40] | 11 | <div id="borderme">
|
---|
| 12 |
|
---|
[19] | 13 | <table width="98%">
|
---|
[38] | 14 | <tr><td colspan="3" align="center"><span class="pgtitle">Manage groups</span></td></tr>
|
---|
[19] | 15 | <tr><td><TMPL_INCLUDE NAME="pgcount.tmpl"></td>
|
---|
| 16 | <td>
|
---|
| 17 | <TMPL_INCLUDE NAME="fpnla.tmpl">
|
---|
[38] | 18 | </td><td align="right">insert search box here</td></tr>
|
---|
[19] | 19 |
|
---|
[40] | 20 | <tr><td colspan="3" align="center"><TMPL_INCLUDE NAME="lettsearch.tmpl"></td></tr>
|
---|
[19] | 21 |
|
---|
[38] | 22 | <tr><td colspan="3" align="right"><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=newgrp">New Group</a></td></tr>
|
---|
[19] | 23 | </table>
|
---|
| 24 |
|
---|
[38] | 25 | <table border="0" cellspacing="5" cellpadding="3">
|
---|
[19] | 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 -->
|
---|
[38] | 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>
|
---|
[19] | 36 | </TMPL_IF>
|
---|
[38] | 37 | <td class="underline">Delete</td>
|
---|
[19] | 38 | </tr>
|
---|
[20] | 39 | <TMPL_IF name=grouptable>
|
---|
| 40 | <TMPL_LOOP name=grouptable>
|
---|
[19] | 41 | <tr class="row<TMPL_VAR name=bg>">
|
---|
[38] | 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>
|
---|
[19] | 47 | </tr>
|
---|
| 48 | </TMPL_LOOP>
|
---|
| 49 | <TMPL_ELSE>
|
---|
[38] | 50 | <tr><td colspan="5">No groups found</td></tr>
|
---|
[19] | 51 | </TMPL_IF>
|
---|
| 52 | </table>
|
---|
| 53 |
|
---|
[40] | 54 | </div>
|
---|
| 55 |
|
---|
[19] | 56 | </td>
|
---|
[38] | 57 | </tr>
|
---|
[19] | 58 | </table>
|
---|