source: trunk/templates/domlist.tmpl@ 39

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

/trunk

XHTML strict, pass 2
fixed up a collection of things found to be broken (mostly relating to hardcoded group bits)
added a collection of notes-to-self to notes

File size: 2.7 KB
RevLine 
[2]1<!-- <TMPL_VAR NAME=sid> -->
2<table class="wholepage"><tr>
3<TMPL_INCLUDE NAME="menu.tmpl">
4
5<td align="center">
[22]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
[39]11<div id="borderme">
12
[2]13<table width="98%">
[39]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]17<TMPL_INCLUDE NAME="fpnla.tmpl">
[38]18</td><td align="right">insert search box here</td></tr>
[2]19
[38]20<tr><td colspan="3" align="center">insert letter search here</td></tr>
[2]21
[38]22<tr><td colspan="3" align="right"><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&amp;page=newdomain">New Domain</a></td></tr>
[2]23</table>
24
[39]25<table width="98%" border="0" cellspacing="4" cellpadding="3">
[2]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 -->
[39]29 <th><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&amp;page=domlist&amp;offset=<TMPL_VAR NAME=offset>">Domain<TMPL_IF NAME=sortdomain>&nbsp;<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>&amp;page=domlist&amp;offset=<TMPL_VAR NAME=offset>">Status<TMPL_IF NAME=sortstatus>&nbsp;<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>&amp;page=domlist&amp;offset=<TMPL_VAR NAME=offset>">Group<TMPL_IF NAME=sortgroup>&nbsp;<img border="0" alt='<TMPL_VAR NAME=sortorder>' src="images/<TMPL_VAR NAME=sortorder>.png" /></TMPL_IF></a></td>
[2]32<TMPL_ELSE>
[39]33 <td class="datahead_l">Domain</td>
34 <td class="datahead_s">Status</td>
35 <td class="datahead_s">Group</td>
[2]36</TMPL_IF>
[39]37 <td class="datahead_s">Change Status</td>
38 <td class="datahead_s">Delete</td>
[2]39</tr>
40<TMPL_IF name=domtable>
41<TMPL_LOOP name=domtable>
42<tr class="row<TMPL_VAR name=bg>">
[39]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_VAR NAME=domain></a></td>
[38]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>&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>
47 <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>
[2]48</tr>
49</TMPL_LOOP>
50<TMPL_ELSE>
[38]51<tr><td colspan="5">No domains found</td></tr>
[2]52</TMPL_IF>
53</table>
54
[39]55</div>
56
[2]57</td>
[30]58</tr>
[2]59</table>
Note: See TracBrowser for help on using the repository browser.