Remove unnecessary file hashes for in-forum file-listing (#1192)

It's already done by file_list_v2.php
This commit is contained in:
Cønstantine Kovalensky 2023-12-05 17:54:30 +04:00 committed by GitHub
commit da2559364b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 3 deletions

View file

@ -148,8 +148,7 @@ class TorrentFileList
$allItems .= "<li><span class=\"b\">$key</span><ul>$html_v2</ul></li>";
} else {
$length = $value['']['length'];
$root = bin2hex($value['']['pieces root'] ?? '');
$allItems .= "<li><span>$key<i>$length</i><p>$root</p></span></li>";
$allItems .= "<li><span>$key<i>$length</i></span></li>";
}
}

View file

@ -339,7 +339,6 @@ $('#tor-filelist-btn').click(function(){
}
#tor-filelist i { color: #7A7A7A; padding-left: 4px; }
#tor-filelist s { color: #0000FF; text-decoration: none; }
#tor-filelist p { color: #7C7C7C; text-decoration: none; }
#tor-filelist .b > s { color: #800000; }
#tor-filelist .b { font-weight: bold; padding-left: 20px; background: transparent url('styles/images/folder.gif') no-repeat 3px 50%;}
#tor-filelist ul li span { padding-left: 20px; background: transparent url('styles/images/page.gif') no-repeat 3px 50%;}