Changeset 95 for trunk/templates
- Timestamp:
- 04/15/11 17:53:45 (14 years ago)
- Location:
- trunk/templates
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/templates/domlist.tmpl
r44 r95 5 5 <td align="center"> 6 6 7 <TMPL_IF del_failed>8 <div class='errmsg'> Error deleting domain <TMPL_VAR NAME=domain>:<TMPL_VAR NAME=errmsg></div>7 <TMPL_IF errmsg> 8 <div class='errmsg'><TMPL_VAR NAME=errmsg></div> 9 9 </TMPL_IF> 10 10 … … 19 19 </tr> 20 20 <tr><td colspan="3" align="center"><TMPL_INCLUDE NAME="lettsearch.tmpl"></td></tr> 21 <tr><td colspan="3" align="right">< a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=newdomain">New Domain</a></td></tr>21 <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> 22 22 </table> 23 23 … … 31 31 src="images/<TMPL_VAR NAME=sortorder>.png" /></TMPL_IF></td> 32 32 </TMPL_LOOP> 33 <td class="datahead_s">Change Status</td>34 <td class="datahead_s">Delete</td>33 <TMPL_IF domain_edit> <td class="datahead_s">Change Status</td></TMPL_IF> 34 <TMPL_IF domain_delete> <td class="datahead_s">Delete</td></TMPL_IF> 35 35 </tr> 36 36 <TMPL_IF name=domtable> … … 40 40 <td><TMPL_VAR name=status></td> 41 41 <td><TMPL_VAR name=group></td> 42 <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>&action=<TMPL_IF NAME=mkactive>domon<TMPL_ELSE>domoff</TMPL_IF>"><TMPL_IF NAME=mkactive>activate<TMPL_ELSE>deactivate</TMPL_IF></a></td>43 <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>42 <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>&action=<TMPL_IF NAME=mkactive>domon<TMPL_ELSE>domoff</TMPL_IF>"><TMPL_IF NAME=mkactive>activate<TMPL_ELSE>deactivate</TMPL_IF></a></td></TMPL_IF> 43 <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> 44 44 </tr> 45 45 </TMPL_LOOP> -
trunk/templates/reclist.tmpl
r76 r95 5 5 <td align="center" valign="top"> 6 6 7 <TMPL_IF del_failed>8 <div class='errmsg'> Error deleting record:<TMPL_VAR NAME=errmsg></div>7 <TMPL_IF errmsg> 8 <div class='errmsg'><TMPL_VAR NAME=errmsg></div> 9 9 </TMPL_IF> 10 10 … … 41 41 <tr class="darkrowheader"> 42 42 <td colspan="4">Records</td> 43 <td align="right"><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=record&parentid=<TMPL_VAR NAME=id>&defrec=<TMPL_VAR NAME=defrec>&recact=new">Add record</a></td>43 <TMPL_IF record_create> <td align="right"><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=record&parentid=<TMPL_VAR NAME=id>&defrec=<TMPL_VAR NAME=defrec>&recact=new">Add record</a></td></TMPL_IF> 44 44 <td align="right"><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=log&id=<TMPL_VAR NAME=id><TMPL_IF logdom>&ltype=dom</TMPL_IF>">View log</a></td> 45 45 </tr> … … 56 56 NAME=defrec>"><TMPL_VAR NAME=colname></a><TMPL_IF NAME=sortorder> <img alt="<TMPL_VAR 57 57 NAME=sortorder>" src="images/<TMPL_VAR NAME=sortorder>.png" /></TMPL_IF></td></TMPL_LOOP> 58 <td>Delete</td>58 <TMPL_IF record_delete> <td>Delete</td></TMPL_IF> 59 59 </tr> 60 60 <TMPL_LOOP NAME=reclist> 61 61 <tr class="row<TMPL_VAR NAME=row>"> 62 <td>< a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=record&parentid=<TMPL_VAR NAME=id>&defrec=<TMPL_VAR NAME=defrec>&recact=edit&id=<TMPL_VAR NAME=record_id>"><TMPL_VAR NAME=host></a></td>62 <td><TMPL_IF record_edit><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=record&parentid=<TMPL_VAR NAME=id>&defrec=<TMPL_VAR NAME=defrec>&recact=edit&id=<TMPL_VAR NAME=record_id>"><TMPL_VAR NAME=host></a><TMPL_ELSE><TMPL_VAR NAME=host></TMPL_IF></td> 63 63 <td><TMPL_VAR NAME=type></td> 64 64 <td><TMPL_VAR NAME=val></td> … … 67 67 <td><TMPL_VAR NAME=port></td> 68 68 <td><TMPL_VAR NAME=ttl></td> 69 <td align="center"><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=delrec&id=<TMPL_VAR NAME=record_id>&defrec=<TMPL_VAR NAME=defrec>&parentid=<TMPL_VAR NAME=id>"><img src="images/trash2.png" alt="[ Delete ]" /></a></td>69 <TMPL_IF record_delete> <td align="center"><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=delrec&id=<TMPL_VAR NAME=record_id>&defrec=<TMPL_VAR NAME=defrec>&parentid=<TMPL_VAR NAME=id>"><img src="images/trash2.png" alt="[ Delete ]" /></a></td></TMPL_IF> 70 70 </tr> 71 71 </TMPL_LOOP>
Note:
See TracChangeset
for help on using the changeset viewer.