Handle hostnames with upper-case letters
[webmin.git] / proftpd / edit_net.cgi
1 #!/usr/local/bin/perl
2 # edit_net.cgi
3 # Display networking options
4
5 require './proftpd-lib.pl';
6 &ui_print_header(undef, $text{'net_title'}, "",
7         undef, undef, undef, undef, &restart_button());
8 $conf = &get_config();
9
10 print "<form action=save_net.cgi>\n";
11 print "<table border width=100%>\n";
12 print "<tr $tb> <td><b>$text{'net_header'}</b></td> </tr>\n";
13 print "<tr $cb> <td><table width=100%>\n";
14
15 print "<tr>\n";
16 print &choice_input($text{'net_type'}, 'ServerType', $conf, 'inetd',
17                     $text{'net_inetd'}, 'inetd',
18                     $text{'net_stand'}, 'standalone');
19 print &text_input($text{'net_port'}, 'Port', $conf, '21', 6);
20 print "</tr>\n";
21
22 print "</table></td></tr></table>\n";
23 print "<input type=submit value='$text{'save'}'></form>\n";
24
25 &ui_print_footer("", $text{'index_return'});
26