mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-21 13:54:02 -07:00
Update file_list_v2.php (#1197)
This commit is contained in:
parent
6ac521f831
commit
59777ba68a
1 changed files with 3 additions and 3 deletions
|
@ -66,7 +66,7 @@ $data = [
|
||||||
'client' => isset($torrent['created by']) ? htmlCHR(substr($torrent['created by'], 0, 20)) : 'unknown client',
|
'client' => isset($torrent['created by']) ? htmlCHR(substr($torrent['created by'], 0, 20)) : 'unknown client',
|
||||||
'date' => (isset($torrent['creation date']) && is_numeric($torrent['creation date'])) ? delta_time($torrent['creation date']) : 'unknown',
|
'date' => (isset($torrent['creation date']) && is_numeric($torrent['creation date'])) ? delta_time($torrent['creation date']) : 'unknown',
|
||||||
'size' => humn_size($row['size']),
|
'size' => humn_size($row['size']),
|
||||||
'site_url' => TOPIC_URL . $topic_id,
|
'topic_url' => TOPIC_URL . $topic_id,
|
||||||
];
|
];
|
||||||
|
|
||||||
header('Cache-Control: public, max-age=3600');
|
header('Cache-Control: public, max-age=3600');
|
||||||
|
@ -79,7 +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">
|
<meta name="robots" content="index">
|
||||||
<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">
|
<link rel="shortcut icon" href="favicon.png" type="image/x-icon">
|
||||||
|
|
||||||
<title>{$data['name']} ({$data['size']}) | {$bb_cfg['sitename']}</title>
|
<title>{$data['name']} ({$data['size']}) | {$bb_cfg['sitename']}</title>
|
||||||
</head>
|
</head>
|
||||||
|
@ -150,7 +150,7 @@ sup {
|
||||||
opacity: 0.97;
|
opacity: 0.97;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
<a href = "{$data['site_url']}" style = "font-family: Monospace; color: #569904;">🠔 Back to the topic</a>
|
<a href = "{$data['topic_url']}" style = "font-family: Monospace; color: #569904;">🠔 Back to the topic</a>
|
||||||
<center>
|
<center>
|
||||||
<h2 style="color: #b3b3b3; font-family: Monospace;">Name: {$data['name']} | Age: ({$data['date']}) | Size: {$data['size']}</h2>
|
<h2 style="color: #b3b3b3; font-family: Monospace;">Name: {$data['name']} | Age: ({$data['date']}) | Size: {$data['size']}</h2>
|
||||||
<p>
|
<p>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue