mirror of
https://github.com/webmin/webmin.git
synced 2026-03-20 16:50:24 +00:00
Fix slave file option
This commit is contained in:
@@ -78,6 +78,7 @@ if ($in{'file_def'} == 0) {
|
||||
&error(&text('create_efile2', $file));
|
||||
}
|
||||
elsif ($in{'file_def'} == 2) {
|
||||
# Automatically choose a filename
|
||||
$file = &automatic_filename($in{'zone'}, $in{'rev'}, $base,
|
||||
$view ? $view->{'value'} : undef);
|
||||
}
|
||||
|
||||
@@ -39,7 +39,7 @@ if (@views) {
|
||||
print &ui_table_row($text{'slave_file'},
|
||||
&ui_radio("file_def", 2, [ [ 1, $text{'slave_none'} ],
|
||||
[ 2, $text{'slave_auto'} ],
|
||||
[ 3, &ui_filebox("file", undef, 30) ] ]), 3);
|
||||
[ 0, &ui_filebox("file", undef, 30) ] ]), 3);
|
||||
|
||||
# Master servers
|
||||
print &ui_table_row($text{'slave_masters'},
|
||||
|
||||
Reference in New Issue
Block a user