#11372 Add checkbox to div and fix div style

This commit is contained in:
miguel angel rasteu 2023-05-30 15:51:07 +02:00
parent b9a53c71c8
commit 8102d6921d
1 changed files with 13 additions and 1 deletions

View File

@ -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(