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 domain <TMPL_VAR NAME=domain>: <TMPL_VAR NAME=errmsg></div>
|
---|
9 | </TMPL_IF>
|
---|
10 |
|
---|
11 | <div id="borderme">
|
---|
12 |
|
---|
13 | <table width="98%">
|
---|
14 | <tr><th colspan="3" align="center">Domain list</th></tr>
|
---|
15 | <tr><td align="left"><TMPL_INCLUDE NAME="pgcount.tmpl"></td>
|
---|
16 | <td align="center">
|
---|
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">insert letter search here</td></tr>
|
---|
21 |
|
---|
22 | <tr><td colspan="3" align="right"><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=newdomain">New Domain</a></td></tr>
|
---|
23 | </table>
|
---|
24 |
|
---|
25 | <table width="98%" border="0" cellspacing="4" 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 | <th><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 | <th><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 | <th 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>
|
---|
32 | <TMPL_ELSE>
|
---|
33 | <td class="datahead_l">Domain</td>
|
---|
34 | <td class="datahead_s">Status</td>
|
---|
35 | <td class="datahead_s">Group</td>
|
---|
36 | </TMPL_IF>
|
---|
37 | <td class="datahead_s">Change Status</td>
|
---|
38 | <td class="datahead_s">Delete</td>
|
---|
39 | </tr>
|
---|
40 | <TMPL_IF name=domtable>
|
---|
41 | <TMPL_LOOP name=domtable>
|
---|
42 | <tr class="row<TMPL_VAR name=bg>">
|
---|
43 | <td align="left"><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=reclist&id=<TMPL_VAR NAME=domainid>&defrec=n"><TMPL_VAR NAME=domain></a></td>
|
---|
44 | <td><TMPL_VAR name=status></td>
|
---|
45 | <td><TMPL_VAR name=group></td>
|
---|
46 | <td align="center"><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=domlist<TMPL_IF NAME=offset>&offset=<TMPL_VAR NAME=offset></TMPL_IF>&id=<TMPL_VAR NAME=domainid>&action=<TMPL_IF NAME=mkactive>domon<TMPL_ELSE>domoff</TMPL_IF>"><TMPL_IF NAME=mkactive>activate<TMPL_ELSE>deactivate</TMPL_IF></a></td>
|
---|
47 | <td align="center"><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=deldom&id=<TMPL_VAR NAME=domainid>"><img src="images/trash2.png" alt="[ Delete ]" /></a></td>
|
---|
48 | </tr>
|
---|
49 | </TMPL_LOOP>
|
---|
50 | <TMPL_ELSE>
|
---|
51 | <tr><td colspan="5">No domains found</td></tr>
|
---|
52 | </TMPL_IF>
|
---|
53 | </table>
|
---|
54 |
|
---|
55 | </div>
|
---|
56 |
|
---|
57 | </td>
|
---|
58 | </tr>
|
---|
59 | </table>
|
---|