mirror of
https://github.com/webmin/webmin.git
synced 2026-02-03 06:03:28 +00:00
Add placeholder for the local file in backup destination
This commit is contained in:
@@ -26,7 +26,9 @@ sub dump_form
|
||||
print &ui_table_row(&hlink($text{'dump_dest'}, "dest"),
|
||||
&ui_radio("mode", $_[0]->{'host'} ? 1 : 0,
|
||||
[ [ 0, $text{'dump_file'}." ".
|
||||
&ui_textbox("file", $_[0]->{'file'}, 50).
|
||||
&ui_textbox("file", $_[0]->{'file'}, 50, undef, undef,
|
||||
$config{'date_subs'} ?
|
||||
'placeholder="/backups/filename-%y-%m-%d-%H-%M-%S.tar.gz"' : undef).
|
||||
" ".&file_chooser_button("file")."<br>" ],
|
||||
[ 1, &text('dump_host',
|
||||
&ui_textbox("host", $_[0]->{'host'}, 20),
|
||||
|
||||
@@ -23,7 +23,9 @@ sub dump_form
|
||||
print &ui_table_row(&hlink($text{'dump_dest'}, "dest"),
|
||||
&ui_radio("mode", $_[0]->{'host'} ? 1 : 0,
|
||||
[ [ 0, $text{'dump_file'}." ".
|
||||
&ui_textbox("file", $_[0]->{'file'}, 50).
|
||||
&ui_textbox("file", $_[0]->{'file'}, 50, undef, undef,
|
||||
$config{'date_subs'} ?
|
||||
'placeholder="/backups/filename-%y-%m-%d-%H-%M-%S.tar.gz"' : undef).
|
||||
" ".&file_chooser_button("file")."<br>" ],
|
||||
[ 1, &text('dump_host',
|
||||
&ui_textbox("host", $_[0]->{'host'}, 15),
|
||||
|
||||
@@ -37,7 +37,9 @@ sub dump_form
|
||||
print &ui_table_row(&hlink($text{'dump_dest'}, "dest"),
|
||||
&ui_radio("mode", $_[0]->{'host'} ? 1 : 0,
|
||||
[ [ 0, $text{'dump_file'}." ".
|
||||
&ui_textbox("file", $_[0]->{'file'}, 50).
|
||||
&ui_textbox("file", $_[0]->{'file'}, 50, undef, undef,
|
||||
$config{'date_subs'} ?
|
||||
'placeholder="/backups/filename-%y-%m-%d-%H-%M-%S.tar.gz"' : undef).
|
||||
" ".&file_chooser_button("file")."<br>" ],
|
||||
[ 1, &text('dump_host',
|
||||
&ui_textbox("host", $_[0]->{'host'}, 20),
|
||||
|
||||
Reference in New Issue
Block a user