From d0bad02a011c608df858f0432f0a662af839fd86 Mon Sep 17 00:00:00 2001 From: kanoi Date: Tue, 7 Oct 2014 15:31:18 +1100 Subject: [PATCH] php - truncate btc usernames in the page header --- pool/page.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pool/page.php b/pool/page.php index d3e060ac..51dd8826 100644 --- a/pool/page.php +++ b/pool/page.php @@ -315,6 +315,8 @@ function pgtop($info, $dotop, $user, $douser) } else { + if (substr($who, 0, 1) == '1' && strlen($who) > 12) + $who = substr($who, 0, 11) . '…'; $top .= " $who  Hash Rate: