diff --git a/public/include/config/global.inc.dist.php b/public/include/config/global.inc.dist.php index bbfb7c41..c5a298c7 100644 --- a/public/include/config/global.inc.dist.php +++ b/public/include/config/global.inc.dist.php @@ -161,6 +161,7 @@ $config['payout_system'] = 'prop'; $config['archive_shares'] = true; // URL prefix for block searches, used for block links, default: `http://explorer.litecoin.net/search?q=` +// If empty, the block link to the block information page will be removed $config['blockexplorer'] = 'http://explorer.litecoin.net/search?q='; // Link to blockchain information, used for difficulty link, default: `http://allchains.info` @@ -204,7 +205,7 @@ $config['difficulty'] = 20; * Default: * reward_type = `fixed` * reward = 50 - * + * **/ $config['reward_type'] = 'fixed'; $config['reward'] = 50; diff --git a/public/templates/mmcFE/statistics/pool/authenticated.tpl b/public/templates/mmcFE/statistics/pool/authenticated.tpl index b85a3926..65cafbb1 100644 --- a/public/templates/mmcFE/statistics/pool/authenticated.tpl +++ b/public/templates/mmcFE/statistics/pool/authenticated.tpl @@ -19,13 +19,20 @@ Current Active Workers {$GLOBAL.workers} + {if $GLOBAL.blockexplorer} Next Network Block {$CURRENTBLOCK + 1}    (Current: {$CURRENTBLOCK}) + {else} + + Next Network Block + {$CURRENTBLOCK + 1}    (Current: {$CURRENTBLOCK}) + + {/if} Last Block Found - {$LASTBLOCK|default:"0"} + {if $GLOBAL.blockexplorer}{$LASTBLOCK|default:"0"}{else}{$LASTBLOCK|default:"0"}{/if} Current Difficulty