source: branches/stable/templates/domlist.tmpl@ 283

Last change on this file since 283 was 147, checked in by Kris Deugau, 13 years ago

/trunk

UI consistency tweak - report group and domain deletions the
same way as user delete/update

File size: 2.4 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_IF resultmsg>
8<div class="result"><TMPL_VAR NAME=resultmsg></div>
9</TMPL_IF>
10<TMPL_IF errmsg>
11<div class='errmsg'><TMPL_VAR NAME=errmsg></div>
12</TMPL_IF>
13
14<table width="98%">
15<tr><th colspan="3"><div class="center maintitle">Domain list</div></th></tr>
16<tr>
17<td class="leftthird"><TMPL_INCLUDE NAME="pgcount.tmpl"></td>
18<td align="center"><TMPL_INCLUDE NAME="fpnla.tmpl"></td>
19<td class="rightthird"><TMPL_INCLUDE NAME="sbox.tmpl"></td>
20</tr>
21<tr><td colspan="3" align="center"><TMPL_INCLUDE NAME="lettsearch.tmpl"></td></tr>
22<tr><td colspan="3" align="right"><TMPL_IF domain_create><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&amp;page=newdomain">New Domain</a></TMPL_IF></td></tr>
23</table>
24
25<table width="98%" border="0" cellspacing="4" cellpadding="3">
26<tr>
27<TMPL_LOOP NAME=colheads>
28<td class="datahead_<TMPL_IF firstcol>l<TMPL_ELSE>s</TMPL_IF>"><a href="dns.cgi?sid=<TMPL_VAR
29NAME=sid>&amp;page=<TMPL_VAR NAME=page><TMPL_IF NAME=offset>&amp;offset=<TMPL_VAR
30NAME=offset></TMPL_IF>&amp;sortby=<TMPL_VAR NAME=sortby>&amp;order=<TMPL_VAR NAME=order>"><TMPL_VAR
31NAME=colname></a><TMPL_IF NAME=sortorder>&nbsp;<img alt="<TMPL_VAR NAME=sortorder>"
32src="images/<TMPL_VAR NAME=sortorder>.png" /></TMPL_IF></td>
33</TMPL_LOOP>
34<TMPL_IF domain_edit> <td class="datahead_s">Change Status</td></TMPL_IF>
35<TMPL_IF domain_delete> <td class="datahead_s">Delete</td></TMPL_IF>
36</tr>
37<TMPL_IF name=domtable>
38<TMPL_LOOP name=domtable>
39<tr class="row<TMPL_VAR name=bg>">
40 <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>
41 <td><TMPL_VAR name=status></td>
42 <td><TMPL_VAR name=group></td>
43<TMPL_IF domain_edit> <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;domstatus=<TMPL_IF NAME=mkactive>domon<TMPL_ELSE>domoff</TMPL_IF>"><TMPL_IF NAME=mkactive>activate<TMPL_ELSE>deactivate</TMPL_IF></a></td></TMPL_IF>
44<TMPL_IF domain_delete> <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></TMPL_IF>
45</tr>
46</TMPL_LOOP>
47<TMPL_ELSE>
48<tr><td colspan="5" align="center">No domains found</td></tr>
49</TMPL_IF>
50</table>
51
52</td>
53</tr>
54</table>
Note: See TracBrowser for help on using the repository browser.