mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-21 22:03:49 -07:00
Added showing info_hash v2 in viewtopic.php (#870)
This commit is contained in:
parent
072b5a074f
commit
e368f45f49
2 changed files with 3 additions and 1 deletions
|
@ -212,6 +212,7 @@ if ($tor_reged && $tor_info) {
|
||||||
'FILESIZE' => $tor_file_size,
|
'FILESIZE' => $tor_file_size,
|
||||||
'MAGNET' => $tor_magnet,
|
'MAGNET' => $tor_magnet,
|
||||||
'HASH' => strtoupper(bin2hex($tor_info['info_hash'])),
|
'HASH' => strtoupper(bin2hex($tor_info['info_hash'])),
|
||||||
|
'HASH_V2' => !empty($tor_info['info_hash_v2']) ? strtoupper(bin2hex($tor_info['info_hash_v2'])) : false,
|
||||||
'DOWNLOAD_COUNT' => declension((int)$download_count, 'times'),
|
'DOWNLOAD_COUNT' => declension((int)$download_count, 'times'),
|
||||||
'REGED_TIME' => bb_date($tor_info['reg_time']),
|
'REGED_TIME' => bb_date($tor_info['reg_time']),
|
||||||
'REGED_DELTA' => delta_time($tor_info['reg_time']),
|
'REGED_DELTA' => delta_time($tor_info['reg_time']),
|
||||||
|
|
|
@ -156,7 +156,8 @@
|
||||||
<td width="70%">
|
<td width="70%">
|
||||||
{postrow.attach.tor_reged.TRACKER_LINK}
|
{postrow.attach.tor_reged.TRACKER_LINK}
|
||||||
[ <span title="{postrow.attach.tor_reged.REGED_DELTA}">{postrow.attach.tor_reged.REGED_TIME}</span> ]
|
[ <span title="{postrow.attach.tor_reged.REGED_DELTA}">{postrow.attach.tor_reged.REGED_TIME}</span> ]
|
||||||
· {postrow.attach.tor_reged.HASH}
|
<br><br>info_hash: {postrow.attach.tor_reged.HASH}
|
||||||
|
<!-- IF postrow.attach.tor_reged.HASH_V2 --><br>info_hash v2: {postrow.attach.tor_reged.HASH_V2}<!-- ENDIF -->
|
||||||
</td>
|
</td>
|
||||||
<td width="15%" rowspan="4" class="tCenter pad_6">
|
<td width="15%" rowspan="4" class="tCenter pad_6">
|
||||||
<!-- IF postrow.attach.tor_reged.TOR_FROZEN -->
|
<!-- IF postrow.attach.tor_reged.TOR_FROZEN -->
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue