Changeset 628


Ignore:
Timestamp:
04/30/14 17:12:02 (11 years ago)
Author:
Kris Deugau
Message:

/trunk

Clean up minor infoblurb formatting snafu when an added or updated record
generates a warning, and fix a minor validation glitch missed when
timestamp support was added in r543.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/dns.cgi

    r608 r628  
    743743      my %pageparams = (page => "reclist", id => $webvar{parentid},
    744744        defrec => $webvar{defrec}, revrec => $webvar{revrec});
    745       $pageparams{warnmsg} = $msg."<br><br>\n".$DNSDB::resultstr if $code eq 'WARN';
     745      $pageparams{warnmsg} = $msg."<br />\n".$DNSDB::resultstr if $code eq 'WARN';
    746746      $pageparams{resultmsg} = $DNSDB::resultstr if $code eq 'OK';
    747747      changepage(%pageparams);
     
    802802      my %pageparams = (page => "reclist", id => $webvar{parentid},
    803803        defrec => $webvar{defrec}, revrec => $webvar{revrec});
    804       $pageparams{warnmsg} = $msg."<br><br>\n".$DNSDB::resultstr if $code eq 'WARN';
     804      $pageparams{warnmsg} = $msg."<br />\n".$DNSDB::resultstr if $code eq 'WARN';
    805805      $pageparams{resultmsg} = $DNSDB::resultstr if $code eq 'OK';
    806806      changepage(%pageparams);
     
    14831483      my %pageparams = (page => "loclist", id => $webvar{parentid},
    14841484        defrec => $webvar{defrec}, revrec => $webvar{revrec});
    1485       $pageparams{warnmsg} = $msg."<br><br>\n".$DNSDB::resultstr if $code eq 'WARN';
     1485      $pageparams{warnmsg} = $msg."<br />\n".$DNSDB::resultstr if $code eq 'WARN';
    14861486      $pageparams{resultmsg} = $DNSDB::resultstr if $code eq 'OK';
    14871487      changepage(%pageparams);
  • trunk/templates/record.tmpl

    r604 r628  
    8787        <tr class="datalinelight">
    8888                <td>Timestamp<br />(blank or 0 disables timestamp)</td>
    89                 <td>Valid <input type="radio" name="expires" value="until"<TMPL_IF stamp_until> checked="checked"</TMPL_IF>>until
    90                 <input type="radio" name="expires" value="after"<TMPL_UNLESS stamp_until> checked="checked"</TMPL_UNLESS>>after:
     89                <td>Valid <input type="radio" name="expires" value="until"<TMPL_IF stamp_until> checked="checked"</TMPL_IF> />until
     90                <input type="radio" name="expires" value="after"<TMPL_UNLESS stamp_until> checked="checked"</TMPL_UNLESS> />after:
    9191                <input type="text" name="stamp" value="<TMPL_VAR NAME=stamp>" />
    9292                </td>
Note: See TracChangeset for help on using the changeset viewer.