mirror of
https://github.com/unraid/webgui.git
synced 2026-04-28 13:59:21 -05:00
Show message when too many files for browsing
This commit is contained in:
@@ -109,5 +109,5 @@ foreach ($list as $row) {
|
||||
echo "</tbody>";
|
||||
$objs = $dirs+$files;
|
||||
$totaltext = $files==0 ? '' : '('.my_scale($total,$unit).' '.$unit.' '._('total').')';
|
||||
if (!$total && $objs) echo "<tbody><tr><td colspan='5' style='text-align:center'>"._('No listing: Too many files')."</td></tr></tbody>";
|
||||
if ($first && $files) echo "<tbody><tr><td colspan='5' style='text-align:center'>"._('No listing: Too many files')."</td></tr></tbody>";
|
||||
echo "<tfoot><tr><td></td><td colspan='4'>$objs "._('object'.($objs==1?'':'s')).": $dirs "._('director'.($dirs==1?'y':'ies')).", $files "._('file'.($files==1?'':'s'))." $totaltext</td></tr></tfoot>";
|
||||
|
||||
Reference in New Issue
Block a user