From 8feadc59a2913efc4bbb708ac99974d66aeca30b Mon Sep 17 00:00:00 2001 From: nicoschtein Date: Tue, 8 Oct 2013 12:08:11 -0300 Subject: [PATCH 1/3] [FIX] Honor Pool Hashrate modifier with unit. --- public/templates/mmcFE/statistics/default.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/templates/mmcFE/statistics/default.tpl b/public/templates/mmcFE/statistics/default.tpl index 5fa45522..236bd535 100644 --- a/public/templates/mmcFE/statistics/default.tpl +++ b/public/templates/mmcFE/statistics/default.tpl @@ -3,7 +3,7 @@ Pool Hash Rate - {$GLOBAL.hashrate / 1000} Mhash/s + {$GLOBAL.hashrate|number_format:"3"} {$GLOBAL.hashunits.pool} Current Total Miners From c8150a7021d6bf7d750233687dcc6b14026fa5f1 Mon Sep 17 00:00:00 2001 From: nicoschtein Date: Tue, 8 Oct 2013 12:17:41 -0300 Subject: [PATCH 2/3] [FIX] Disable Block Explorer Link and Chain Info on mmcFE Theme --- public/templates/mmcFE/statistics/default.tpl | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/public/templates/mmcFE/statistics/default.tpl b/public/templates/mmcFE/statistics/default.tpl index 236bd535..e70b3aa8 100644 --- a/public/templates/mmcFE/statistics/default.tpl +++ b/public/templates/mmcFE/statistics/default.tpl @@ -11,11 +11,19 @@ Current Block - {$CURRENTBLOCK} + {if ! $GLOBAL.website.blockexplorer.disabled} + {$CURRENTBLOCK} + {else} + {$CURRENTBLOCK} + {/if} Current Difficulty - {$DIFFICULTY} + {if ! $GLOBAL.website.chaininfo.disabled} + {$DIFFICULTY} + {else} + {$DIFFICULTY} + {/if} From 98bcabc3628ff7c7369b01660a7f3587c38bbecf Mon Sep 17 00:00:00 2001 From: nicoschtein Date: Tue, 8 Oct 2013 12:28:02 -0300 Subject: [PATCH 3/3] [FIX] Disable Block Explorer Link on mmcFE Theme Last Block Found Next Network Block --- public/templates/mmcFE/statistics/pool/default.tpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/templates/mmcFE/statistics/pool/default.tpl b/public/templates/mmcFE/statistics/pool/default.tpl index 13415e93..de72be1f 100644 --- a/public/templates/mmcFE/statistics/pool/default.tpl +++ b/public/templates/mmcFE/statistics/pool/default.tpl @@ -19,7 +19,7 @@ Current Active Workers {$GLOBAL.workers} - {if $GLOBAL.website.blockexplorer.url} + {if !$GLOBAL.website.blockexplorer.disabled} Next Network Block {$CURRENTBLOCK + 1}    (Current: {$CURRENTBLOCK}) @@ -32,7 +32,7 @@ {/if} Last Block Found - {if $GLOBAL.website.blockexplorer.url}{$LASTBLOCK|default:"0"}{else}{$LASTBLOCK|default:"0"}{/if} + {if !$GLOBAL.website.blockexplorer.disabled}{$LASTBLOCK|default:"0"}{else}{$LASTBLOCK|default:"0"}{/if} Current Difficulty