mirror of
https://github.com/webmin/webmin.git
synced 2025-08-19 01:15:14 +00:00
More ui-lib conversion
This commit is contained in:
@ -26,60 +26,38 @@ $default = $text{'opts_default'};
|
||||
$none = $text{'opts_none'};
|
||||
$no_ = $text{'opts_no'};
|
||||
|
||||
print "<form action=save_opts.cgi>\n";
|
||||
print "<table border width=100%>\n";
|
||||
print "<tr $tb> <td><b>$text{'smtpd_title'}</b></td></tr>\n";
|
||||
print "<tr $cb> <td><table width=100%>\n";
|
||||
# Start of form
|
||||
print &ui_form_start("save_opts.cgi");
|
||||
print &ui_table_start($text{'smtpd_title'}, "width=100%", 4);
|
||||
|
||||
print "<tr>\n";
|
||||
&option_radios_freefield("best_mx_transport", 25, $text{'opts_best_mx_transport_default'});
|
||||
print "</tr>\n";
|
||||
|
||||
print "<tr>\n";
|
||||
&option_radios_freefield("fallback_relay", 60, $default);
|
||||
print "</tr>\n";
|
||||
|
||||
print "<tr>\n";
|
||||
&option_yesno("ignore_mx_lookup_error", 'help');
|
||||
&option_yesno("smtp_skip_4xx_greeting", 'help');
|
||||
print "</tr>\n";
|
||||
|
||||
print "<tr>\n";
|
||||
&option_yesno("smtp_skip_quit_response", 'help');
|
||||
print "</tr>\n";
|
||||
|
||||
print "<tr>\n";
|
||||
&option_radios_freefield("smtp_destination_concurrency_limit", 15, $default);
|
||||
print "</tr>\n";
|
||||
|
||||
print "<tr>\n";
|
||||
&option_radios_freefield("smtp_destination_recipient_limit", 15, $default);
|
||||
print "</tr>\n";
|
||||
|
||||
print "<tr>\n";
|
||||
&option_freefield("smtp_connect_timeout", 15);
|
||||
&option_freefield("smtp_helo_timeout", 15);
|
||||
print "</tr>\n";
|
||||
|
||||
print "<tr>\n";
|
||||
&option_freefield("smtp_mail_timeout", 15);
|
||||
&option_freefield("smtp_rcpt_timeout", 15);
|
||||
print "</tr>\n";
|
||||
|
||||
print "<tr>\n";
|
||||
&option_freefield("smtp_data_init_timeout", 15);
|
||||
&option_freefield("smtp_data_xfer_timeout", 15);
|
||||
print "</tr>\n";
|
||||
|
||||
print "<tr>\n";
|
||||
&option_freefield("smtp_data_done_timeout", 15);
|
||||
&option_freefield("smtp_quit_timeout", 15);
|
||||
print "</tr>\n";
|
||||
|
||||
print &ui_table_end();
|
||||
print &ui_form_end([ [ undef, $text{'opts_save'} ] ]);
|
||||
|
||||
|
||||
print "</table></td></tr></table><p>\n";
|
||||
print "<input type=submit value=\"$text{'opts_save'}\"></form>\n";
|
||||
&ui_print_footer("", $text{'index_return'});
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user