Changeset 7 for trunk/templates


Ignore:
Timestamp:
09/04/09 17:53:55 (15 years ago)
Author:
Kris Deugau
Message:

/trunk

checkpoint

Location:
trunk/templates
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/templates/deldom.tmpl

    r6 r7  
    55<td align="center">
    66<h3>Are you really sure you want to delete domain <TMPL_VAR NAME=domain>?</h3>
    7 <a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=deldom&del=cancel&id=<TMPL_VAR NAME=id>&">cancel</a> &nbsp; | &nbsp; <a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=deldom&del=ok&id=<TMPL_VAR NAME=id>&">confirm</a>
     7<a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=deldom&del=cancel&id=<TMPL_VAR NAME=id>">cancel</a> &nbsp; | &nbsp; <a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=deldom&del=ok&id=<TMPL_VAR NAME=id>">confirm</a>
    88</td></tr></table>
    99
    1010<TMPL_ELSE>
    11 <TMPL_IF del_failed>
    12 <!-- Need to find failure mode to cause/test this -->
    13 <h1>FOO!</h1>
    14 <TMPL_VAR NAME=errmsg>
    15 <TMPL_ELSE>
    16 <TMPL_INCLUDE NAME="domlist.tmpl">
     11 <TMPL_IF del_failed>
     12  <div class='errmsg'>Error deleting domain <TMPL_VAR NAME=domain>: <TMPL_VAR NAME=errmsg></div>
     13 </TMPL_IF>
     14 <TMPL_INCLUDE NAME="domlist.tmpl">
    1715</TMPL_IF>
    18 </TMPL_IF>
  • trunk/templates/domlist.tmpl

    r4 r7  
    4242        <td width="1%" nowrap><TMPL_VAR name=group></td>
    4343        <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>&defrec=w"><img src="images/trash2.png" border=0></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>
    4545</tr>
    4646</TMPL_LOOP>
Note: See TracChangeset for help on using the changeset viewer.