Changeset 23 for trunk/dns.cgi
- Timestamp:
- 10/20/09 14:47:36 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dns.cgi
r22 r23 392 392 if (!defined($webvar{del})) { 393 393 $page->param(del_getconf => 1); 394 $page->param(groupname => groupName($dbh,$webvar{id}));394 # $page->param(groupname => groupName($dbh,$webvar{id})); 395 395 # print some neato things? 396 396 … … 400 400 } elsif ($webvar{del} eq 'ok') { 401 401 my ($code,$msg) = delGroup($dbh, $webvar{id}); 402 push @debugbits, groupName($dbh, $webvar{id}); 402 403 if ($code ne 'OK') { 403 404 # need to find failure mode … … 414 415 changepage(page => "grpman"); 415 416 } 416 417 $page->param(delgroupname => groupName($dbh, $webvar{id})); 417 418 } 418 419 … … 539 540 $rec->{sid} = $webvar{sid}; 540 541 $rec->{id} = $id; 542 $rec->{distance} = 'n/a' unless ($rec->{type} eq 'MX' || $rec->{type} eq 'SRV'); 543 $rec->{weight} = 'n/a' unless ($rec->{type} eq 'SRV'); 544 $rec->{port} = 'n/a' unless ($rec->{type} eq 'SRV'); 541 545 $row++; 542 546 } 543 547 $page->param(reclist => $foo2); 544 548 } 549 545 550 546 551 # fill in record type list on add/update/edit record template
Note:
See TracChangeset
for help on using the changeset viewer.