This commit is contained in:
Xeng 2024-04-12 10:26:28 +02:00 committed by GitHub
commit 3c93814ae9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2205,10 +2205,12 @@ $tableTheme = (FM_THEME == "dark") ? "text-white bg-dark table-dark" : "bg-white
<tfoot>
<tr>
<td class="gray" colspan="<?php echo (!FM_IS_WIN && !$hide_Cols) ? (FM_READONLY ? '6' :'7') : (FM_READONLY ? '4' : '5') ?>">
<?php echo lng('FullSize').': <span class="badge text-bg-light border-radius-0">'.fm_get_filesize($all_files_size).'</span>' ?>
<?php echo lng('File').': <span class="badge text-bg-light border-radius-0">'.$num_files.'</span>' ?>
<?php echo lng('Folder').': <span class="badge text-bg-light border-radius-0">'.$num_folders.'</span>' ?>
</td>
<?php echo lng('FullSize').((FM_THEME == "dark") ? ': <span class="badge text-bg-dark border-radius-0">':': <span class="badge text-bg-light border-radius-0">').fm_get_filesize($all_files_size).'</span>' ?>
<?php echo lng('File').((FM_THEME == "dark") ? ': <span class="badge text-bg-dark border-radius-0">':': <span class="badge text-bg-light border-radius-0">').$num_files.'</span>' ?>
<?php echo lng('Folder').((FM_THEME == "dark") ? ': <span class="badge text-bg-dark border-radius-0">':': <span class="badge text-bg-light border-radius-0">').$num_folders.'</span>' ?>
<?php echo lng('PartitionSize').((FM_THEME == "dark") ? ': <span class="badge text-bg-dark border-radius-0">':': <span class="badge text-bg-light border-radius-0">').fm_get_filesize(@disk_free_space($path)) .'</span> '?>
<?php echo lng('FreeOf').((FM_THEME == "dark") ? ': <span class="badge text-bg-dark border-radius-0">':': <span class="badge text-bg-light border-radius-0">').fm_get_filesize(@disk_total_space($path)).'</span>'; ?>
</td>
</tr>
</tfoot>
<?php } ?>
@ -3481,7 +3483,8 @@ class FM_Zipper_Tar
$this->data = array(
'lang' => 'en',
'error_reporting' => true,
'show_hidden' => true
'show_hidden' => true,
'theme' => "dark"
);
$data = false;
if (strlen($CONFIG)) {