#11372 Add checkbox to div and fix div style
This commit is contained in:
parent
b9a53c71c8
commit
8102d6921d
|
@ -879,7 +879,19 @@ function filemanager_file_explorer(
|
|||
if ($allowZipFiles === true) {
|
||||
$uploadFileElements .= ui_print_help_tip(__('The zip upload in this dir, easy to upload multiple files.'), true);
|
||||
$uploadFileElements .= html_print_input_file('file', true, false);
|
||||
$uploadFileElements .= html_print_checkbox('decompress', 1, false, true).__('Decompress');
|
||||
$uploadFileElements .= html_print_div(
|
||||
[
|
||||
'id' => 'checkbox-decompress',
|
||||
'content' => html_print_checkbox(
|
||||
'decompress',
|
||||
1,
|
||||
false,
|
||||
true,
|
||||
).__('Decompress'),
|
||||
'style' => 'margin-top:25px',
|
||||
],
|
||||
true
|
||||
);
|
||||
$uploadFileElements .= html_print_input_hidden('upload_file_or_zip', 1, true);
|
||||
} else {
|
||||
$uploadFileElements .= html_print_div(
|
||||
|
|
Loading…
Reference in New Issue