mirror of
https://github.com/webmin/webmin.git
synced 2025-07-21 23:40:34 +00:00
strict/warn
This commit is contained in:
@ -1,16 +1,20 @@
|
||||
#!/usr/local/bin/perl
|
||||
# Show a form for adding a record to multiple domains at once
|
||||
use strict;
|
||||
use warnings;
|
||||
our (%text, %in, %config);
|
||||
|
||||
require './bind8-lib.pl';
|
||||
&ReadParse();
|
||||
&error_setup($text{'rmass_err'});
|
||||
@d = split(/\0/, $in{'d'});
|
||||
my @d = split(/\0/, $in{'d'});
|
||||
@d || &error($text{'rmass_enone'});
|
||||
|
||||
&ui_print_header(undef, $text{'rmass_title'}, "");
|
||||
|
||||
print &ui_form_start("mass_rcreate.cgi", "post");
|
||||
foreach $d (@d) {
|
||||
my $dc;
|
||||
foreach my $d (@d) {
|
||||
print &ui_hidden("d", $d),"\n";
|
||||
$dc++;
|
||||
}
|
||||
@ -20,7 +24,7 @@ print &ui_table_start($text{'rmass_header'}, undef, 2);
|
||||
print &ui_table_row($text{'umass_sel'}, $dc);
|
||||
|
||||
# Type to add
|
||||
@rtypes = ( 'A', 'CNAME', 'NS', 'MX', 'PTR', 'TXT', 'SPF',
|
||||
my @rtypes = ( 'A', 'CNAME', 'NS', 'MX', 'PTR', 'TXT', 'SPF',
|
||||
$config{'support_aaaa'} ? ( "AAAA" ) : ( ) );
|
||||
print &ui_table_row($text{'rmass_type'},
|
||||
&ui_select("type", "A",
|
||||
|
Reference in New Issue
Block a user