- Timestamp:
- 02/29/12 17:16:16 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dns.cgi
r250 r253 540 540 } 541 541 542 $page->param(defrec => $webvar{defrec}); 543 $page->param(revrec => $webvar{revrec}); 544 $page->param(fwdzone => $webvar{revrec} eq 'n'); 545 542 546 if ($webvar{recact} eq 'new') { 543 547 … … 548 552 $page->param(recact => "add"); 549 553 $page->param(parentid => $webvar{parentid}); 550 $page->param(defrec => $webvar{defrec});551 $page->param(revrec => $webvar{revrec});552 $page->param(fwdzone => $webvar{revrec} eq 'n');553 554 554 555 fill_recdata(); … … 600 601 $page->param(recact => "add"); 601 602 $page->param(parentid => $webvar{parentid}); 602 $page->param(defrec => $webvar{defrec});603 $page->param(revrec => $webvar{revrec});604 603 $page->param(id => $webvar{id}); 605 $page->param(fwdzone => $webvar{revrec} eq 'n');606 604 fill_recdata(); # populate the form... er, mostly. 607 605 if ($config{log_failures}) { … … 625 623 $page->param(parentid => $webvar{parentid}); 626 624 $page->param(id => $webvar{id}); 627 $page->param(defrec => $webvar{defrec});628 $page->param(revrec => $webvar{revrec});629 625 my $recdata = getRecLine($dbh, $webvar{defrec}, $webvar{revrec}, $webvar{id}); 630 626 $page->param(name => $recdata->{host}); … … 672 668 $page->param(recact => "update"); 673 669 $page->param(parentid => $webvar{parentid}); 674 $page->param(defrec => $webvar{defrec});675 670 $page->param(id => $webvar{id}); 676 671 fill_recdata();
Note:
See TracChangeset
for help on using the changeset viewer.