diff --git a/filelist.php b/filelist.php
index c127cdd10..0b10895c6 100644
--- a/filelist.php
+++ b/filelist.php
@@ -78,10 +78,7 @@ $files = $torrent->$t_version_field()->$t_files_field();
$allFiles = '';
foreach ($files as $file) {
- $path = clean_tor_dirname(implode('/', $file->path));
- $size = humn_size($file->length, 2);
- $hash = ($t_hash_field === 'sha1' && isset($file->$t_hash_field)) ? "SHA1: {$file->$t_hash_field}" : $file->$t_hash_field;
- $allFiles .= '
' . $path . ' | ' . $size . ' | ' . $hash . ' |
';
+ $allFiles .= '
' . clean_tor_dirname(implode('/', $file->path)) . ' | ' . humn_size($file->length, 2) . ' | ' . $file->$t_hash_field . ' |
';
}
$data = [
@@ -125,19 +122,19 @@ table {
border: collapse;
width: auto;
margin: 20px auto;
- font-family: -apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";
+ font-family: "Segoe UI","Noto Sans",Helvetica,sans-serif;
background-color: #2c2c2c;
}
th, td {
- padding: 8px;
+ padding: 10px;
text-align: left;
color: #acacac;
width: auto;
}
td {
- border: 2px solid #353535;
+ border: 3px solid #353535;
}
th {
@@ -202,7 +199,7 @@ sup {
-$allFiles
+ {$allFiles}
Generated by TorrentPier