mirror of
https://github.com/torrentpier/torrentpier.git
synced 2025-03-12 04:35:42 -07:00
List with numbers in tracker stats (#1074)
This commit is contained in:
parent
6757c75446
commit
e3ad9041bf
@ -115,8 +115,10 @@ if ($client_full || !$stats_cache = CACHE('tr_cache')->get('tracker_clients_stat
|
||||
$clients_percentage = $stats_cache;
|
||||
}
|
||||
|
||||
$n = 1;
|
||||
foreach (array_slice($clients_percentage, 0, $numwant) as $client => $value) {
|
||||
$client_list .= ($client_full) ? ("$client => $value<br>") : get_user_torrent_client($client) . " => $value<br>";
|
||||
$client_list .= ($client_full) ? ("$client => $value<br>") : "$n. " . get_user_torrent_client($client) . " => $value<br>";
|
||||
$n++;
|
||||
}
|
||||
|
||||
function commify_callback($matches)
|
||||
|
Loading…
x
Reference in New Issue
Block a user