Changeset 495 for trunk/textrecs.cgi


Ignore:
Timestamp:
05/03/13 15:36:40 (12 years ago)
Author:
Kris Deugau
Message:

/trunk

Rename getDomRecs to getRecList since it's used for group default
records, domain records, and reverse zone records.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/textrecs.cgi

    r494 r495  
    6363
    6464##fixme:  do we support both HTML-plain and true plaintext?  could be done, with another $webvar{}
    65 # Don't die on bad parameters.  Saves munging the return from getDomRecs.
     65# Don't die on bad parameters.  Saves munging the return from getRecList.
    6666#my $page = HTML::Template->new(filename => "$templatedir/textrecs.tmpl",
    6767#       loop_context_vars => 1, global_vars => 1, die_on_bad_params => 0);
     
    7474print qq(Press the "Back" button to return to the standard record list.\n\n);
    7575
    76 my $reclist = $dnsdb->getDomRecs(defrec => $webvar{defrec}, revrec => $webvar{revrec}, id => $webvar{id},
     76my $reclist = $dnsdb->getRecList(defrec => $webvar{defrec}, revrec => $webvar{revrec}, id => $webvar{id},
    7777        sortby => ($webvar{revrec} eq 'n' ? 'type,host' : 'type,val'), sortorder => 'ASC');
    7878foreach my $rec (@$reclist) {
Note: See TracChangeset for help on using the changeset viewer.