source: trunk/templates/domlist.tmpl@ 378

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

/trunk

Factor out the template side of the result/warning/error messages
into a separate include file. Probably should have been done and
committed with the rest of r376.

File size: 2.7 KB
Line 
1<!-- <TMPL_VAR NAME=sid> -->
2<table class="wholepage"><tr>
3<TMPL_INCLUDE NAME="menu.tmpl">
4
5<td align="center" valign="top">
6
7<TMPL_INCLUDE NAME="msgblock.tmpl">
8
9<table width="98%">
10<tr><th colspan="3"><div class="center maintitle"><TMPL_IF domlist>Domain<TMPL_ELSE>Reverse zone</TMPL_IF> list</div></th></tr>
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>
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>
26</table>
27
28<table width="98%" border="0" cellspacing="4" cellpadding="3">
29<tr>
30<TMPL_LOOP NAME=colheads>
31<td class="datahead_<TMPL_IF firstcol>l<TMPL_ELSE>s</TMPL_IF>"><a href="dns.cgi?sid=<TMPL_VAR
32NAME=sid>&amp;page=<TMPL_VAR NAME=page><TMPL_IF NAME=offset>&amp;offset=<TMPL_VAR
33NAME=offset></TMPL_IF>&amp;sortby=<TMPL_VAR NAME=sortby>&amp;order=<TMPL_VAR NAME=order>"><TMPL_VAR
34NAME=colname></a><TMPL_IF NAME=sortorder>&nbsp;<img alt="<TMPL_VAR NAME=sortorder>"
35src="images/<TMPL_VAR NAME=sortorder>.png" /></TMPL_IF></td>
36</TMPL_LOOP>
37<TMPL_IF domain_edit> <td class="datahead_s">Change Status</td></TMPL_IF>
38<TMPL_IF domain_delete> <td class="datahead_s">Delete</td></TMPL_IF>
39</tr>
40<TMPL_IF name=domtable>
41<TMPL_LOOP name=domtable>
42<tr class="row<TMPL_IF __odd__>1<TMPL_ELSE>0</TMPL_IF>">
43 <td align="left"><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&amp;page=reclist&amp;id=<TMPL_VAR NAME=domainid>&amp;defrec=n<TMPL_UNLESS domlist>&amp;revrec=y</TMPL_UNLESS>"><TMPL_VAR NAME=domain></a></td>
44 <td><TMPL_IF status>Active<TMPL_ELSE>Inactive</TMPL_IF></td>
45 <td><TMPL_VAR name=group></td>
46<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>
47<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=domainid>"><img src="images/trash2.png" alt="[ Delete ]" /></a></td></TMPL_IF>
48</tr>
49</TMPL_LOOP>
50<TMPL_ELSE>
51<tr><td colspan="5" align="center">No <TMPL_IF domlist>domains<TMPL_ELSE>reverse zones</TMPL_IF> found</td></tr>
52</TMPL_IF>
53</table>
54
55</td>
56</tr>
57</table>
Note: See TracBrowser for help on using the repository browser.