mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-21 22:03:49 -07:00
Remove unnecessary file hashes for in-forum file-listing (#1192)
It's already done by file_list_v2.php
This commit is contained in:
parent
dd5471ef6a
commit
da2559364b
2 changed files with 1 additions and 3 deletions
|
@ -148,8 +148,7 @@ class TorrentFileList
|
||||||
$allItems .= "<li><span class=\"b\">$key</span><ul>$html_v2</ul></li>";
|
$allItems .= "<li><span class=\"b\">$key</span><ul>$html_v2</ul></li>";
|
||||||
} else {
|
} else {
|
||||||
$length = $value['']['length'];
|
$length = $value['']['length'];
|
||||||
$root = bin2hex($value['']['pieces root'] ?? '');
|
$allItems .= "<li><span>$key<i>$length</i></span></li>";
|
||||||
$allItems .= "<li><span>$key<i>$length</i><p>$root</p></span></li>";
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -339,7 +339,6 @@ $('#tor-filelist-btn').click(function(){
|
||||||
}
|
}
|
||||||
#tor-filelist i { color: #7A7A7A; padding-left: 4px; }
|
#tor-filelist i { color: #7A7A7A; padding-left: 4px; }
|
||||||
#tor-filelist s { color: #0000FF; text-decoration: none; }
|
#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 > 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 .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%;}
|
#tor-filelist ul li span { padding-left: 20px; background: transparent url('styles/images/page.gif') no-repeat 3px 50%;}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue