| Server IP : 45.162.171.154 / Your IP : 216.73.216.5 Web Server : Apache System : Linux vxct2015.avnam.net 5.4.106-1-pve #1 SMP PVE 5.4.106-1 (Fri, 19 Mar 2021 11:08:47 +0100) x86_64 User : lpg.com.ar ( 1041) PHP Version : 8.3.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /usr/libexec/webmin/bind8/ |
Upload File : |
#!/usr/bin/perl
# conf_files.cgi
# Display global files options
use strict;
use warnings;
no warnings 'redefine';
no warnings 'uninitialized';
# Globals
our (%access, %text);
require './bind8-lib.pl'; ## no critic
$access{'defaults'} || &error($text{'files_ecannot'});
&ui_print_header(undef, $text{'files_title'}, "",
undef, undef, undef, undef, &restart_links());
&ReadParse();
my $conf = &get_config();
my $options = &find("options", $conf);
my $mems = $options->{'members'};
# Start of the form
print &ui_form_start("save_files.cgi", "post");
print &ui_table_start($text{'files_header'}, "width=100%", 4);
print &opt_input($text{'files_stats'}, "statistics-file", $mems,
$text{'default'}, 40, &file_chooser_button("statistics_file"));
print &opt_input($text{'files_dump'}, "dump-file", $mems,
$text{'default'}, 40, &file_chooser_button("dump_file"));
print &opt_input($text{'files_pid'}, "pid-file", $mems,
$text{'default'}, 40, &file_chooser_button("pid_file"));
print &opt_input($text{'files_xfer'}, "named-xfer", $mems,
$text{'default'}, 40, &file_chooser_button("named_xfer"));
print &ui_table_end();
print &ui_form_end([ [ undef, $text{'save'} ] ]);
&ui_print_footer("", $text{'index_return'});