Changeset 269 for trunk/dns.cgi


Ignore:
Timestamp:
03/07/12 15:47:14 (13 years ago)
Author:
Kris Deugau
Message:

/trunk

addRDNS() complete except for handling $revpatt.
See #26

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dns.cgi

    r268 r269  
    445445  fill_grouplist("grouplist");
    446446
     447  # prepopulate revpatt with the matching default record
     448# getRecByName($dbh, (revrec => $webvar{revrec}, defrec => $webvar{defrec}, host => 'string'));
     449
    447450  if ($webvar{add_failed}) {
    448451    $page->param(add_failed => 1);
     
    472475  } else {
    473476    logaction(0, $session->param("username"), $webvar{group}, "Failed adding reverse zone $webvar{revzone} ($msg)");
    474     changepage(page => "newrevzone", add_failed => 1, revzone => $webvar{revzone}, revpatt => $webvar{revpatt},
    475       errmsg => $msg);
     477    changepage(page => "newrevzone", revrec => 'y', add_failed => 1, revzone => $webvar{revzone},
     478        revpatt => $webvar{revpatt}, errmsg => $msg);
    476479  }
    477480
Note: See TracChangeset for help on using the changeset viewer.