Changeset 35 for trunk/templates


Ignore:
Timestamp:
11/13/09 18:05:34 (15 years ago)
Author:
Kris Deugau
Message:

/trunk

checkpoint - my Net::DNS vs DBD::Pg weirdness went away

  • clean up return-message handling for AXFR
  • check AXFR host to remove taint flag so IO::Socket doesn't whine
  • rearrange statement handles in DNSDB::importAXFR
  • add some flags to fail on no records at all, no SOA, or no NS records
  • tweak template to put error in a row at the top of the import form vs an uncontrolled div
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/templates/axfr.tmpl

    r34 r35  
    33<TMPL_INCLUDE NAME="menu.tmpl">
    44
    5 <td align="center">
     5<td align="center" valign="top">
    66
    77<form action="dns.cgi" method="POST">
     
    5656        <td><TMPL_VAR NAME=domain></td>
    5757<TMPL_IF domok> <td>Imported OK</td>
    58 <TMPL_ELSE><TMPL_IF domwarn>    <td class="warn">Warning: <TMPL_VAR NAME=domwarn></td>
     58<TMPL_ELSE><TMPL_IF domwarn>    <td class="warn">Import OK but:<br />
     59<TMPL_VAR NAME=domwarn></td>
    5960<TMPL_ELSE>     <td class="err">Failed: <TMPL_VAR NAME=domerr></td>
    6061</TMPL_IF></TMPL_IF>
Note: See TracChangeset for help on using the changeset viewer.