Changeset 446 for trunk/dns.cgi


Ignore:
Timestamp:
01/04/13 17:06:46 (12 years ago)
Author:
Kris Deugau
Message:

/trunk

Fine-tune new reverse zone process to support setting a default
location.
Also make sure that an initial new location will be created as a
two-character alphabetic ID, since we're being paranoid about what
tinydns will accept for these.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dns.cgi

    r436 r446  
    449449
    450450  fill_grouplist("grouplist");
     451  my $loclist = getLocDropdown($dbh, $curgroup);
     452  $page->param(loclist => $loclist);
    451453
    452454  # prepopulate revpatt with the matching default record
     
    473475
    474476  my ($code,$msg) = addRDNS($dbh, $webvar{revzone}, $webvar{revpatt}, $webvar{group},
    475         ($webvar{makeactive} eq 'on' ? 1 : 0));
     477        ($webvar{makeactive} eq 'on' ? 1 : 0), $webvar{location});
    476478
    477479  if ($code eq 'OK') {
Note: See TracChangeset for help on using the changeset viewer.