From bc88b04ae96a034fed24a7819c292137ab7b4162 Mon Sep 17 00:00:00 2001 From: Jonny Bravo Date: Mon, 22 Feb 2016 13:41:16 -0500 Subject: [PATCH 1/2] added PH and EH --- include/smarty_globals.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/smarty_globals.inc.php b/include/smarty_globals.inc.php index bf0cd8f76..3c165261a 100644 --- a/include/smarty_globals.inc.php +++ b/include/smarty_globals.inc.php @@ -47,7 +47,7 @@ if (! $statistics_ajax_long_refresh_interval = $setting->getValue('statistics_ajax_long_refresh_interval')) $statistics_ajax_long_refresh_interval = 10; // Small helper array -$aHashunits = array( '1' => 'KH/s', '0.001' => 'MH/s', '0.000001' => 'GH/s', '0.000000001' => 'TH/s' ); +$aHashunits = array( '1' => 'KH/s', '0.001' => 'MH/s', '0.000001' => 'GH/s', '0.000000001' => 'TH/s', '0.000000000001' => 'PH/s', '0.000000000000001' => 'EH/s' ); // Global data for Smarty $aGlobal = array( From 7f7a1894c6733f18b8525f91452bfc66b2174f8a Mon Sep 17 00:00:00 2001 From: Jonny Bravo Date: Mon, 22 Feb 2016 13:41:34 -0500 Subject: [PATCH 2/2] added PH and EH --- include/config/admin_settings.inc.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/config/admin_settings.inc.php b/include/config/admin_settings.inc.php index 9b88597e9..3dd2a4daf 100644 --- a/include/config/admin_settings.inc.php +++ b/include/config/admin_settings.inc.php @@ -197,21 +197,21 @@ ); $aSettings['statistics'][] = array( 'display' => 'Pool Hashrate Modifier', 'type' => 'select', - 'options' => array( '1' => 'KH/s', '0.001' => 'MH/s', '0.000001' => 'GH/s', '0.000000001' => 'TH/s' ), + 'options' => array( '1' => 'KH/s', '0.001' => 'MH/s', '0.000001' => 'GH/s', '0.000000001' => 'TH/s', '0.000000000001' => 'PH/s', '0.000000000000001' => 'EH/s' ), 'default' => '1', 'name' => 'statistics_pool_hashrate_modifier', 'value' => $setting->getValue('statistics_pool_hashrate_modifier'), 'tooltip' => 'Auto-adjust displayed pool hashrates to a certain limit.' ); $aSettings['statistics'][] = array( 'display' => 'Network Hashrate Modifier', 'type' => 'select', - 'options' => array( '1' => 'KH/s', '0.001' => 'MH/s', '0.000001' => 'GH/s', '0.000000001' => 'TH/s' ), + 'options' => array( '1' => 'KH/s', '0.001' => 'MH/s', '0.000001' => 'GH/s', '0.000000001' => 'TH/s', '0.000000000001' => 'PH/s', '0.000000000000001' => 'EH/s' ), 'default' => '1', 'name' => 'statistics_network_hashrate_modifier', 'value' => $setting->getValue('statistics_network_hashrate_modifier'), 'tooltip' => 'Auto-adjust displayed network hashrates to a certain limit.' ); $aSettings['statistics'][] = array( 'display' => 'Personal Hashrate Modifier', 'type' => 'select', - 'options' => array( '1' => 'KH/s', '0.001' => 'MH/s', '0.000001' => 'GH/s', '0.000000001' => 'TH/s' ), + 'options' => array( '1' => 'KH/s', '0.001' => 'MH/s', '0.000001' => 'GH/s', '0.000000001' => 'TH/s', '0.000000000001' => 'PH/s', '0.000000000000001' => 'EH/s' ), 'default' => '1', 'name' => 'statistics_personal_hashrate_modifier', 'value' => $setting->getValue('statistics_personal_hashrate_modifier'), 'tooltip' => 'Auto-adjust displayed personal hashrates to a certain limit.'