Multi cache pool support

This commit is contained in:
bergware
2020-04-12 04:35:41 +02:00
parent cd682b613b
commit 5ab3f38880
+2 -1
View File
@@ -86,9 +86,10 @@ foreach ($files as $row) {
$file = pathinfo($name);
$devs = explode(',',$set?:$fix);
$text = my_devs($devs);
$fext = strtolower($file['fext']);
$tag = strpos($text,',')===false ? '' : 'warning';
echo "<tr>";
echo "<td data='{$row['fext']}'><div class='icon-file icon-{$row['fext']}'></div></td>";
echo "<td data='$fext'><div class='icon-file icon-$fext'></div></td>";
echo "<td><a href=\"".htmlspecialchars(trim_slash($dir.'/'.$file['basename']))."\" download target=\"_blank\" class=\"".($tag?:'none')."\">".htmlspecialchars($file['basename'])."</a></td>";
echo "<td data='$size' class='$tag'>".my_scale($size,$unit)." $unit</td>";
echo "<td data='$time' class='$tag'>".my_time($time,$fmt)."</td>";