3 # Display networking options
5 require './proftpd-lib.pl';
6 &ui_print_header(undef, $text{'net_title'}, "",
7 undef, undef, undef, undef, &restart_button());
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";
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);
22 print "</table></td></tr></table>\n";
23 print "<input type=submit value='$text{'save'}'></form>\n";
25 &ui_print_footer("", $text{'index_return'});