mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-21 13:54:02 -07:00
CSS improvement for file listing (#1083)
This commit is contained in:
parent
e74dcfd379
commit
d2e56aa0c8
1 changed files with 3 additions and 1 deletions
|
@ -67,7 +67,8 @@ $data = [
|
||||||
'client' => htmlCHR(substr($tor['created by'] ?? 'unknown client', 0, 20)),
|
'client' => htmlCHR(substr($tor['created by'] ?? 'unknown client', 0, 20)),
|
||||||
'size' => humn_size($files['size']),
|
'size' => humn_size($files['size']),
|
||||||
'hash' => bin2hex($row['info_hash_v2']),
|
'hash' => bin2hex($row['info_hash_v2']),
|
||||||
'date' => (isset($tor['creation date']) && is_numeric($tor['creation date'])) ? delta_time($tor['creation date']) : 'unknown'
|
'date' => (isset($tor['creation date']) && is_numeric($tor['creation date'])) ? delta_time($tor['creation date']) : 'unknown',
|
||||||
|
'site_url' => FULL_URL
|
||||||
];
|
];
|
||||||
|
|
||||||
echo <<<EOF
|
echo <<<EOF
|
||||||
|
@ -78,6 +79,7 @@ echo <<<EOF
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||||
<meta name="robots" content="index, follow, noarchive">
|
<meta name="robots" content="index, follow, noarchive">
|
||||||
<meta name="description" content="File listing for topic - $topic_id | {$data['name']} ({$data['size']})">
|
<meta name="description" content="File listing for topic - $topic_id | {$data['name']} ({$data['size']})">
|
||||||
|
<link rel="shortcut icon" href="{$data['site_url']}favicon.png" type="image/x-icon">
|
||||||
|
|
||||||
<title>{$data['name']} ({$data['size']}) | {$data['hash']} | {$bb_cfg['sitename']}</title>
|
<title>{$data['name']} ({$data['size']}) | {$data['hash']} | {$bb_cfg['sitename']}</title>
|
||||||
</head>
|
</head>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue