Handle hostnames with upper-case letters
[webmin.git] / frox / edit_ftp.cgi
1 #!/usr/local/bin/perl
2 # Show FTP protocol options
3
4 require './frox-lib.pl';
5 &ui_print_header(undef, $text{'ftp_title'}, "");
6 $conf = &get_config();
7
8 print &ui_form_start("save_ftp.cgi", "post");
9 print &ui_table_start($text{'ftp_header'}, "width=100%", 4);
10
11 print &config_yesno($conf, "APConv", undef, undef, "no");
12
13 print &config_yesno($conf, "PAConv", undef, undef, "no");
14
15 print &config_yesno($conf, "BounceDefend", undef, undef, "yes");
16
17 print &config_yesno($conf, "SameAddress", undef, undef, "yes");
18
19 print &config_yesno($conf, "AllowNonASCII", undef, undef, "no");
20
21 print &config_yesno($conf, "TransparentData", undef, undef, "no");
22
23 print &config_opt_range($conf, "ControlPorts", 3);
24
25 print &config_opt_range($conf, "PassivePorts", 3);
26
27 print &config_opt_range($conf, "ActivePorts", 3);
28
29 print &ui_table_end();
30 print &ui_form_end([ [ 'save', $text{'save'} ] ], "100%");
31
32 &ui_print_footer("", $text{'index_return'});
33