diff --git a/public/templates/mmcFE/statistics/default.tpl b/public/templates/mmcFE/statistics/default.tpl index 5fa45522..e70b3aa8 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 @@ -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} 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