source: trunk/templates/domlist.tmpl@ 422

Last change on this file since 422 was 403, checked in by Kris Deugau, 12 years ago

/trunk

Flush out another bug introduced by the getZoneList() update done
in r397 - zone ID not set due to the change from domainid to
domain_id in the template.

File size: 2.7 KB
RevLine 
[2]1<!-- <TMPL_VAR NAME=sid> -->
2<table class="wholepage"><tr>
3<TMPL_INCLUDE NAME="menu.tmpl">
4
[100]5<td align="center" valign="top">
[22]6
[378]7<TMPL_INCLUDE NAME="msgblock.tmpl">
[22]8
[2]9<table width="98%">
[239]10<tr><th colspan="3"><div class="center maintitle"><TMPL_IF domlist>Domain<TMPL_ELSE>Reverse zone</TMPL_IF> list</div></th></tr>
[41]11<tr>
12<td class="leftthird"><TMPL_INCLUDE NAME="pgcount.tmpl"></td>
13<td align="center"><TMPL_INCLUDE NAME="fpnla.tmpl"></td>
14<td class="rightthird"><TMPL_INCLUDE NAME="sbox.tmpl"></td>
15</tr>
[239]16<TMPL_IF domlist><tr><td colspan="3" align="center"><TMPL_INCLUDE NAME="lettsearch.tmpl"></td></tr></TMPL_IF>
17<tr><td colspan="3" align="right">
18<TMPL_IF domain_create>
19<TMPL_IF domlist>
20<a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&amp;page=newdomain">New Domain</a>
21<TMPL_ELSE>
22<a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&amp;page=newrevzone">New Reverse Zone</a>
23</TMPL_IF>
24</TMPL_IF>
25</td></tr>
[2]26</table>
27
[39]28<table width="98%" border="0" cellspacing="4" cellpadding="3">
[2]29<tr>
[379]30<TMPL_LOOP NAME=colheads> <td class="datahead_<TMPL_IF __first__>l<TMPL_ELSE>s</TMPL_IF>"><a href="dns.cgi?sid=<TMPL_VAR
31 NAME=sid>&amp;page=<TMPL_VAR NAME=page><TMPL_IF NAME=offset>&amp;offset=<TMPL_VAR
32 NAME=offset></TMPL_IF>&amp;sortby=<TMPL_VAR NAME=sortby>&amp;order=<TMPL_VAR NAME=order>"><TMPL_VAR
33 NAME=colname></a><TMPL_IF NAME=sortorder>&nbsp;<img alt="<TMPL_VAR NAME=sortorder>" src="images/<TMPL_VAR
34 NAME=sortorder>.png" /></TMPL_IF></td>
[44]35</TMPL_LOOP>
[95]36<TMPL_IF domain_edit> <td class="datahead_s">Change Status</td></TMPL_IF>
37<TMPL_IF domain_delete> <td class="datahead_s">Delete</td></TMPL_IF>
[2]38</tr>
39<TMPL_IF name=domtable>
40<TMPL_LOOP name=domtable>
[397]41<tr class="row<TMPL_IF __odd__>0<TMPL_ELSE>1</TMPL_IF>">
42 <td align="left"><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&amp;page=reclist&amp;id=<TMPL_VAR NAME=domain_id>&amp;defrec=n<TMPL_UNLESS domlist>&amp;revrec=y</TMPL_UNLESS>"><TMPL_VAR NAME=domain></a></td>
[239]43 <td><TMPL_IF status>Active<TMPL_ELSE>Inactive</TMPL_IF></td>
[38]44 <td><TMPL_VAR name=group></td>
[275]45<TMPL_IF domain_edit> <td align="center"><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&amp;page=<TMPL_VAR NAME=curpage><TMPL_IF NAME=offset>&amp;offset=<TMPL_VAR NAME=offset></TMPL_IF>&amp;id=<TMPL_VAR NAME=domainid>&amp;zonestatus=<TMPL_IF status>domoff<TMPL_ELSE>domon</TMPL_IF>"><TMPL_IF status>deactivate<TMPL_ELSE>activate</TMPL_IF></a></td></TMPL_IF>
[403]46<TMPL_IF domain_delete> <td align="center"><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&amp;page=<TMPL_IF domlist>deldom<TMPL_ELSE>delrevzone</TMPL_IF>&amp;id=<TMPL_VAR NAME=domain_id>"><img src="images/trash2.png" alt="[ Delete ]" /></a></td></TMPL_IF>
[2]47</tr>
48</TMPL_LOOP>
49<TMPL_ELSE>
[239]50<tr><td colspan="5" align="center">No <TMPL_IF domlist>domains<TMPL_ELSE>reverse zones</TMPL_IF> found</td></tr>
[2]51</TMPL_IF>
52</table>
53
54</td>
[30]55</tr>
[2]56</table>
Note: See TracBrowser for help on using the repository browser.