[FIX] Placed under Statistics
This commit is contained in:
parent
c8ac14a35f
commit
f14af44d4c
@ -151,6 +151,21 @@ $aSettings['statistics'][] = array(
|
|||||||
'name' => 'statistics_personal_hashrate_modifier', 'value' => $setting->getValue('statistics_personal_hashrate_modifier'),
|
'name' => 'statistics_personal_hashrate_modifier', 'value' => $setting->getValue('statistics_personal_hashrate_modifier'),
|
||||||
'tooltip' => 'Auto-adjust displayed personal hashrates to a certain limit.'
|
'tooltip' => 'Auto-adjust displayed personal hashrates to a certain limit.'
|
||||||
);
|
);
|
||||||
|
$aSettings['statistics'][] = array(
|
||||||
|
'display' => 'Enable Google analytics', 'type' => 'select',
|
||||||
|
'options' => array( 0 => 'No', 1 => 'Yes' ),
|
||||||
|
'default' => 0,
|
||||||
|
'name' => 'statistics_analytics_enabled', 'value' => $setting->getValue('statistics_analytics_enabled'),
|
||||||
|
'tooltip' => 'Enable or Disable Google Analytics.'
|
||||||
|
);
|
||||||
|
$aSettings['statistics'][] = array(
|
||||||
|
'display' => 'Google Analytics Code', 'type' => 'textarea',
|
||||||
|
'size' => 5,
|
||||||
|
'height' => 10,
|
||||||
|
'default' => 'Code from Google Analytics',
|
||||||
|
'name' => 'statistics_analytics_code', 'value' => $setting->getValue('statistics_analytics_code'),
|
||||||
|
'tooltip' => '.'
|
||||||
|
);
|
||||||
$aSettings['acl'][] = array(
|
$aSettings['acl'][] = array(
|
||||||
'display' => 'Pool Statistics', 'type' => 'select',
|
'display' => 'Pool Statistics', 'type' => 'select',
|
||||||
'options' => array( 0 => 'Private', 1 => 'Public'),
|
'options' => array( 0 => 'Private', 1 => 'Public'),
|
||||||
@ -263,21 +278,6 @@ $aSettings['recaptcha'][] = array(
|
|||||||
'name' => 'recaptcha_public_key', 'value' => $setting->getValue('recaptcha_public_key'),
|
'name' => 'recaptcha_public_key', 'value' => $setting->getValue('recaptcha_public_key'),
|
||||||
'tooltip' => 'Your public key as given by your re-Captcha account.'
|
'tooltip' => 'Your public key as given by your re-Captcha account.'
|
||||||
);
|
);
|
||||||
$aSettings['analytics'][] = array(
|
|
||||||
'display' => 'Enable Google analytics', 'type' => 'select',
|
|
||||||
'options' => array( 0 => 'No', 1 => 'Yes' ),
|
|
||||||
'default' => 0,
|
|
||||||
'name' => 'analytics_enabled', 'value' => $setting->getValue('analytics_enabled'),
|
|
||||||
'tooltip' => 'Enable or Disable Google Analytics.'
|
|
||||||
);
|
|
||||||
$aSettings['analytics'][] = array(
|
|
||||||
'display' => 'Google Analytics Code', 'type' => 'textarea',
|
|
||||||
'size' => 5,
|
|
||||||
'height' => 10,
|
|
||||||
'default' => 'Code from Google Analytics',
|
|
||||||
'name' => 'analytics_code', 'value' => $setting->getValue('analytics_code'),
|
|
||||||
'tooltip' => '.'
|
|
||||||
);
|
|
||||||
$aSettings['monitoring'][] = array(
|
$aSettings['monitoring'][] = array(
|
||||||
'display' => 'Uptime Robot Private API Key', 'type' => 'text',
|
'display' => 'Uptime Robot Private API Key', 'type' => 'text',
|
||||||
'size' => 25,
|
'size' => 25,
|
||||||
|
|||||||
@ -93,8 +93,8 @@ $setting->getValue('website_blockexplorer_url') ? $aGlobal['website']['blockexpl
|
|||||||
$setting->getValue('website_chaininfo_url') ? $aGlobal['website']['chaininfo']['url'] = $setting->getValue('website_chaininfo_url') : $aGlobal['website']['chaininfo']['url'] = 'http://allchains.info';
|
$setting->getValue('website_chaininfo_url') ? $aGlobal['website']['chaininfo']['url'] = $setting->getValue('website_chaininfo_url') : $aGlobal['website']['chaininfo']['url'] = 'http://allchains.info';
|
||||||
|
|
||||||
// Google Analytics
|
// Google Analytics
|
||||||
$aGlobal['analytics']['enabled'] = $setting->getValue('analytics_enabled');
|
$aGlobal['analytics']['enabled'] = $setting->getValue('statistics_analytics_enabled');
|
||||||
$aGlobal['analytics']['code'] = $setting->getValue('analytics_code');
|
$aGlobal['analytics']['code'] = $setting->getValue('statistics_analytics_code');
|
||||||
|
|
||||||
// ACLs
|
// ACLs
|
||||||
$aGlobal['acl']['pool']['statistics'] = $setting->getValue('acl_pool_statistics');
|
$aGlobal['acl']['pool']['statistics'] = $setting->getValue('acl_pool_statistics');
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user