mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-21 13:54:02 -07:00
Updated
This commit is contained in:
parent
e479f46513
commit
9c70ba0b6a
2 changed files with 21 additions and 0 deletions
|
@ -518,6 +518,14 @@ if ($tor_reged && $tor_info) {
|
|||
$template->assign_vars(['SEEDER_LAST_SEEN' => sprintf($lang['SEEDER_LAST_SEEN'], $last_seen_time)]);
|
||||
$template->assign_vars(['SEEDER_USERNAME' => $last_seeder_username]);
|
||||
}
|
||||
|
||||
// Show external peers
|
||||
if ($bb_cfg['tracker']['multitracker']['enabled']) {
|
||||
$template->assign_vars([
|
||||
'MULTI_SEED_COUNT' => (int)$tor_info['ext_seeders'],
|
||||
'MULTI_LEECH_COUNT' => (int)$tor_info['ext_leechers'],
|
||||
]);
|
||||
}
|
||||
}
|
||||
|
||||
$template->assign_block_vars('tor_title', ['U_DOWNLOAD_LINK' => $download_link]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue