Changeset 495 for trunk/textrecs.cgi
- Timestamp:
- 05/03/13 15:36:40 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/textrecs.cgi
r494 r495 63 63 64 64 ##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 get DomRecs.65 # Don't die on bad parameters. Saves munging the return from getRecList. 66 66 #my $page = HTML::Template->new(filename => "$templatedir/textrecs.tmpl", 67 67 # loop_context_vars => 1, global_vars => 1, die_on_bad_params => 0); … … 74 74 print qq(Press the "Back" button to return to the standard record list.\n\n); 75 75 76 my $reclist = $dnsdb->get DomRecs(defrec => $webvar{defrec}, revrec => $webvar{revrec}, id => $webvar{id},76 my $reclist = $dnsdb->getRecList(defrec => $webvar{defrec}, revrec => $webvar{revrec}, id => $webvar{id}, 77 77 sortby => ($webvar{revrec} eq 'n' ? 'type,host' : 'type,val'), sortorder => 'ASC'); 78 78 foreach my $rec (@$reclist) {
Note:
See TracChangeset
for help on using the changeset viewer.