Update tinyfilemanager.php (#874)

This commit is contained in:
ririko5834 2022-10-31 16:49:21 +01:00 committed by GitHub
parent 805308a013
commit 2c0e6d216e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2149,7 +2149,9 @@ $tableTheme = (FM_THEME == "dark") ? "text-white bg-dark table-dark" : "bg-white
<?php echo lng('FullSize').': <span class="badge badge-light">'.fm_get_filesize($all_files_size).'</span>' ?>
<?php echo lng('File').': <span class="badge badge-light">'.$num_files.'</span>' ?>
<?php echo lng('Folder').': <span class="badge badge-light">'.$num_folders.'</span>' ?>
<?php if (function_exists('disk_free_space') && function_exists('disk_total_space')) { ?>
<?php echo lng('PartitionSize').': <span class="badge badge-light">'.fm_get_filesize(@disk_free_space($path)) .'</span> '.lng('FreeOf').' <span class="badge badge-light">'.fm_get_filesize(@disk_total_space($path)).'</span>'; ?>
<?php } ?>
</td>
</tr>
</tfoot>