From d1e42b47b0148983ca7c508591082383620d00ff Mon Sep 17 00:00:00 2001 From: kanoi Date: Sat, 4 Apr 2015 13:04:00 +1100 Subject: [PATCH] php - change 'last 7 days' message --- pool/page_workers.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pool/page_workers.php b/pool/page_workers.php index ad917fdb..08ec594c 100644 --- a/pool/page_workers.php +++ b/pool/page_workers.php @@ -38,7 +38,7 @@ function workuser($data, $user, &$offset, &$totshare, &$totdiff, { $days = intval($ans['oldworkers']); if ($days != 0) - $title = ' (last '.$days.' day'. + $title = ' (active during the last '.$days.' day'. (($days==1)?'':'s').')'; } $all = array(); @@ -178,7 +178,7 @@ function doworker($data, $user) $pg .= worktotal($offset, $totshare, $totdiff, $totinvalid, $totrate, $blockacc, $blockreward); - if ($blockacc > 0 && $blockreward > 0) + if (false && $blockacc > 0 && $blockreward > 0) { $btc = btcfmt($totdiff / $blockacc * $blockreward); $pg .= '';