Browse Source

php - truncate btc usernames in the page header

master
kanoi 10 years ago
parent
commit
d0bad02a01
  1. 2
      pool/page.php

2
pool/page.php

@ -315,6 +315,8 @@ function pgtop($info, $dotop, $user, $douser)
} }
else else
{ {
if (substr($who, 0, 1) == '1' && strlen($who) > 12)
$who = substr($who, 0, 11) . '…';
$top .= " $top .= "
<span class=topwho>$who&nbsp;</span> <span class=topwho>$who&nbsp;</span>
<span class=topdes>Hash Rate:</span> <span class=topdes>Hash Rate:</span>

Loading…
Cancel
Save