Changeset 239 for trunk/templates
- Timestamp:
- 02/23/12 15:36:59 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/templates/domlist.tmpl
r147 r239 9 9 </TMPL_IF> 10 10 <TMPL_IF errmsg> 11 <div class= 'errmsg'><TMPL_VAR NAME=errmsg></div>11 <div class="errmsg"><TMPL_VAR NAME=errmsg></div> 12 12 </TMPL_IF> 13 13 14 14 <table width="98%"> 15 <tr><th colspan="3"><div class="center maintitle"> Domainlist</div></th></tr>15 <tr><th colspan="3"><div class="center maintitle"><TMPL_IF domlist>Domain<TMPL_ELSE>Reverse zone</TMPL_IF> list</div></th></tr> 16 16 <tr> 17 17 <td class="leftthird"><TMPL_INCLUDE NAME="pgcount.tmpl"></td> … … 19 19 <td class="rightthird"><TMPL_INCLUDE NAME="sbox.tmpl"></td> 20 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>&page=newdomain">New Domain</a></TMPL_IF></td></tr> 21 <TMPL_IF domlist><tr><td colspan="3" align="center"><TMPL_INCLUDE NAME="lettsearch.tmpl"></td></tr></TMPL_IF> 22 <tr><td colspan="3" align="right"> 23 <TMPL_IF domain_create> 24 <TMPL_IF domlist> 25 <a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=newdomain">New Domain</a> 26 <TMPL_ELSE> 27 <a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=newrevzone">New Reverse Zone</a> 28 </TMPL_IF> 29 </TMPL_IF> 30 </td></tr> 23 31 </table> 24 32 … … 37 45 <TMPL_IF name=domtable> 38 46 <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>&page=reclist&id=<TMPL_VAR NAME=domainid>&defrec=n "><TMPL_VAR NAME=domain></a></td>41 <td><TMPL_ VAR name=status></td>47 <tr class="row<TMPL_IF __odd__>1<TMPL_ELSE>0</TMPL_IF>"> 48 <td align="left"><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=reclist&id=<TMPL_VAR NAME=domainid>&defrec=n<TMPL_UNLESS domlist>&revrec=y</TMPL_UNLESS>"><TMPL_VAR NAME=domain></a></td> 49 <td><TMPL_IF status>Active<TMPL_ELSE>Inactive</TMPL_IF></td> 42 50 <td><TMPL_VAR name=group></td> 43 <TMPL_IF domain_edit> <td 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>&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>&page= deldom&id=<TMPL_VAR NAME=domainid>"><img src="images/trash2.png" alt="[ Delete ]" /></a></td></TMPL_IF>51 <TMPL_IF domain_edit> <td align="center"><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=<TMPL_VAR NAME=curpage><TMPL_IF NAME=offset>&offset=<TMPL_VAR NAME=offset></TMPL_IF>&id=<TMPL_VAR NAME=domainid>&domstatus=<TMPL_IF status>domoff<TMPL_ELSE>domon</TMPL_IF>"><TMPL_IF status>deactivate<TMPL_ELSE>activate</TMPL_IF></a></td></TMPL_IF> 52 <TMPL_IF domain_delete> <td align="center"><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=<TMPL_IF domlist>deldom<TMPL_ELSE>delrevzone</TMPL_IF>&id=<TMPL_VAR NAME=domainid>"><img src="images/trash2.png" alt="[ Delete ]" /></a></td></TMPL_IF> 45 53 </tr> 46 54 </TMPL_LOOP> 47 55 <TMPL_ELSE> 48 <tr><td colspan="5" align="center">No domainsfound</td></tr>56 <tr><td colspan="5" align="center">No <TMPL_IF domlist>domains<TMPL_ELSE>reverse zones</TMPL_IF> found</td></tr> 49 57 </TMPL_IF> 50 58 </table>
Note:
See TracChangeset
for help on using the changeset viewer.