From 7ebba88f04fbe5fad558332533116b8757c83b49 Mon Sep 17 00:00:00 2001 From: Sebastian Grewe Date: Tue, 14 May 2013 16:31:41 +0200 Subject: [PATCH] adding new shares/minute to mini stats --- public/include/smarty_globals.inc.php | 1 + public/templates/mmcFE/global/header.tpl | 1 + 2 files changed, 2 insertions(+) diff --git a/public/include/smarty_globals.inc.php b/public/include/smarty_globals.inc.php index 10b97b2b..b707e0d9 100644 --- a/public/include/smarty_globals.inc.php +++ b/public/include/smarty_globals.inc.php @@ -31,6 +31,7 @@ $aGlobal = array( 'websitename' => $settings->getValue('websitename'), 'ltc_usd' => $settings->getValue('btcesell'), 'hashrate' => $iCurrentPoolHashrate, + 'sharerate' => $statistics->getCurrentShareRate(), 'workers' => $iCurrentActiveWorkers, 'roundshares' => $aRoundShares, 'statstime' => $settings->getValue('statstime'), diff --git a/public/templates/mmcFE/global/header.tpl b/public/templates/mmcFE/global/header.tpl index 33bc0b85..2d7f1992 100644 --- a/public/templates/mmcFE/global/header.tpl +++ b/public/templates/mmcFE/global/header.tpl @@ -6,6 +6,7 @@
  • Ł/usd: {$GLOBAL.ltc_usd}    
  • Pool Hashrate: {$GLOBAL.hashrate / 1000} MH/s    
  • +
  • Pool Sharerate: {$GLOBAL.sharerate} Shares/m    
  • Pool Workers: {$GLOBAL.workers}