source: trunk/templates/domlist.tmpl@ 7

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

/trunk

checkpoint

File size: 3.6 KB
Line 
1<!-- <TMPL_VAR NAME=sid> -->
2<table class="wholepage"><tr>
3<TMPL_INCLUDE NAME="menu.tmpl">
4
5<td align="center">
6<table width="98%">
7<tr><td colspan=3 align=center>Domain list</td></tr>
8<tr><td>Listing <TMPL_VAR NAME=nstart> - <TMPL_VAR NAME=npglast> of <TMPL_VAR NAME=ndomains> Domains</td>
9<td>
10<TMPL_IF navfirst><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=domlist&offset=0"><img src="images/frev.png" border=0>first</a><TMPL_ELSE><img src="images/frev.png" border=0>first</TMPL_IF>&nbsp;
11<TMPL_IF navprev><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=domlist&offset=<TMPL_VAR NAME=prevoffs>"><img src="images/rev.png" border=0>previous</a><TMPL_ELSE><img src="images/rev.png" border=0>previous</TMPL_IF>&nbsp;
12<TMPL_IF navnext><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=domlist&offset=<TMPL_VAR NAME=nextoffs>">next<img src="images/fwd.png" border=0></a><TMPL_ELSE>next<img src="images/fwd.png" border=0></TMPL_IF>&nbsp;
13<TMPL_IF navlast><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=domlist&offset=<TMPL_VAR NAME=lastoffs>">last<img src="images/ffwd.png" border=0></a><TMPL_ELSE>last<img src="images/ffwd.png" border=0></TMPL_IF>&nbsp;
14<TMPL_IF navall><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=domlist&offset=all">all</a><TMPL_ELSE>all</TMPL_IF>
15</td><td align=right>insert search box here</td></tr>
16
17<tr><td colspan=3 align=center>insert letter search here</td></tr>
18
19<tr><td colspan=3 align=right><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=newdomain">New Domain</a></td></tr>
20</table>
21
22<table border=0 cellspacing="5" cellpadding="3">
23<tr>
24<TMPL_IF NAME=foobarbaz>
25<!-- This block to be un-TMPL_IF'ed once we care about sort order - by default, we sort by domain, ascending -->
26 <td class="underline" nowrap><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=domlist&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>
27 <td class="underline" nowrap><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=domlist&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>
28 <td class="underline" align="center" nowrap><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=domlist&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>
29<TMPL_ELSE>
30 <td class="underline" nowrap>Domain</td>
31 <td class="underline" nowrap>Status</td>
32 <td class="underline" align="center" nowrap>Group</td>
33</TMPL_IF>
34 <td class="underline" align="center" nowrap>Change Status</td>
35 <td class="underline" width="1%">Delete</td>
36</tr>
37<TMPL_IF name=domtable>
38<TMPL_LOOP name=domtable>
39<tr class="row<TMPL_VAR name=bg>">
40 <td><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=reclist&id=<TMPL_VAR NAME=domainid>&defrec=n"><TMPL_VAR NAME=domain></a></td>
41 <td width="1%" nowrap><TMPL_VAR name=status></td>
42 <td width="1%" nowrap><TMPL_VAR name=group></td>
43 <td width="1%" nowrap align=center><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=domlist<TMPL_IF NAME=offset>&offset=<TMPL_VAR NAME=offset></TMPL_IF>&id=<TMPL_VAR NAME=domainid>&action=<TMPL_IF NAME=mkactive>domon<TMPL_ELSE>domoff</TMPL_IF>"><TMPL_IF NAME=mkactive>activate<TMPL_ELSE>deactivate</TMPL_IF></a></td>
44 <td width="1%" nowrap align=center><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=deldom&id=<TMPL_VAR NAME=domainid>"><img src="images/trash2.png" border=0></a></td>
45</tr>
46</TMPL_LOOP>
47<TMPL_ELSE>
48<tr><td colspan=5>No domains found</td></tr>
49</TMPL_IF>
50</table>
51
52</td>
53</table>
Note: See TracBrowser for help on using the repository browser.