source: trunk/templates/domlist.tmpl@ 42

Last change on this file since 42 was 41, checked in by Kris Deugau, 15 years ago

/trunk

Look-n-feel cleanup, checkpoint

File size: 2.8 KB
Line 
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="datatablewrapper">
12
13<table width="98%">
14<tr><th colspan="3" align="center">Domain list</th></tr>
15<tr>
16<td class="leftthird"><TMPL_INCLUDE NAME="pgcount.tmpl"></td>
17<td align="center"><TMPL_INCLUDE NAME="fpnla.tmpl"></td>
18<td class="rightthird"><TMPL_INCLUDE NAME="sbox.tmpl"></td>
19</tr>
20<tr><td colspan="3" align="center"><TMPL_INCLUDE NAME="lettsearch.tmpl"></td></tr>
21<tr><td colspan="3" align="right"><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&amp;page=newdomain">New Domain</a></td></tr>
22</table>
23
24<table width="98%" border="0" cellspacing="4" cellpadding="3">
25<tr>
26 <td class="datahead_l"><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&amp;page=domlist&amp;<TMPL_IF NAME=offset>offset=<TMPL_VAR NAME=offset>&amp;</TMPL_IF>sortby=domain&amp;order=<TMPL_VAR NAME=domorder>">Domain</a><TMPL_IF NAME=sortdomain>&nbsp;<img alt="<TMPL_VAR NAME=sortorder>" src="images/<TMPL_VAR NAME=sortorder>.png" /></TMPL_IF></td>
27 <td class="datahead_s"><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&amp;page=domlist&amp;<TMPL_IF NAME=offset>offset=<TMPL_VAR NAME=offset>&amp;</TMPL_IF>sortby=status&amp;order=<TMPL_VAR NAME=statorder>">Status</a><TMPL_IF NAME=sortstatus>&nbsp;<img alt="<TMPL_VAR NAME=sortorder>" src="images/<TMPL_VAR NAME=sortorder>.png" /></TMPL_IF></td>
28 <td class="datahead_s"><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&amp;page=domlist&amp;<TMPL_IF NAME=offset>offset=<TMPL_VAR NAME=offset>&amp;</TMPL_IF>sortby=group&amp;order=<TMPL_VAR NAME=grporder>">Group</a><TMPL_IF NAME=sortgroup>&nbsp;<img alt="<TMPL_VAR NAME=sortorder>" src="images/<TMPL_VAR NAME=sortorder>.png" /></TMPL_IF></td>
29 <td class="datahead_s">Change Status</td>
30 <td class="datahead_s">Delete</td>
31</tr>
32<TMPL_IF name=domtable>
33<TMPL_LOOP name=domtable>
34<tr class="row<TMPL_VAR name=bg>">
35 <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_VAR NAME=domain></a></td>
36 <td><TMPL_VAR name=status></td>
37 <td><TMPL_VAR name=group></td>
38 <td align="center"><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&amp;page=domlist<TMPL_IF NAME=offset>&amp;offset=<TMPL_VAR NAME=offset></TMPL_IF>&amp;id=<TMPL_VAR NAME=domainid>&amp;action=<TMPL_IF NAME=mkactive>domon<TMPL_ELSE>domoff</TMPL_IF>"><TMPL_IF NAME=mkactive>activate<TMPL_ELSE>deactivate</TMPL_IF></a></td>
39 <td align="center"><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&amp;page=deldom&amp;id=<TMPL_VAR NAME=domainid>"><img src="images/trash2.png" alt="[ Delete ]" /></a></td>
40</tr>
41</TMPL_LOOP>
42<TMPL_ELSE>
43<tr><td colspan="5" align="center">No domains found</td></tr>
44</TMPL_IF>
45</table>
46
47</div>
48
49</td>
50</tr>
51</table>
Note: See TracBrowser for help on using the repository browser.