mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-21 05:43:55 -07:00
Update styles for file list (#1067)
This commit is contained in:
parent
c4ad384342
commit
b12c8e4d4b
1 changed files with 2 additions and 2 deletions
|
@ -36,7 +36,7 @@ $file_list = $torrent->fileTreeTable($tor['info']['file tree']);
|
||||||
|
|
||||||
$date = '';
|
$date = '';
|
||||||
$name = htmlCHR($tor['info']['name'] ?? '');
|
$name = htmlCHR($tor['info']['name'] ?? '');
|
||||||
$client = htmlCHR(substr($tor['created by'], 0, 20) ?? 'unknown');
|
$client = htmlCHR(substr($tor['created by'] ?? 'unknown client', 0, 20));
|
||||||
if (isset($tor['creation date']) && is_numeric($tor['creation date'])) {
|
if (isset($tor['creation date']) && is_numeric($tor['creation date'])) {
|
||||||
$date = date("d M Y | G:i:s T", $tor['creation date']);
|
$date = date("d M Y | G:i:s T", $tor['creation date']);
|
||||||
}
|
}
|
||||||
|
@ -96,7 +96,7 @@ echo implode('', $file_list['list']);
|
||||||
|
|
||||||
echo '</center>
|
echo '</center>
|
||||||
</table>
|
</table>
|
||||||
<p style = "width: 100%; left: 0; position: absolute; bottom: 0px; text-align: center">Generated by <a href = "https://github.com/torrentpier/torrentpier" target="_blank">TorrentPier</a></p>
|
<p>Generated by <a href = "https://github.com/torrentpier/torrentpier" target="_blank">TorrentPier</a></p>
|
||||||
</body>
|
</body>
|
||||||
</html>';
|
</html>';
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue