From f333bdcc0ea496d8fbdffa4525fc3728272a261c Mon Sep 17 00:00:00 2001 From: Frederick Behrends Date: Tue, 31 Dec 2013 04:39:27 +0100 Subject: [PATCH] moved blockchainsettings to extra page in admin settings --- public/include/config/admin_settings.inc.php | 40 ++++++++++---------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/public/include/config/admin_settings.inc.php b/public/include/config/admin_settings.inc.php index 3292ab40..aab74e86 100644 --- a/public/include/config/admin_settings.inc.php +++ b/public/include/config/admin_settings.inc.php @@ -62,48 +62,48 @@ $aSettings['website'][] = array( 'name' => 'website_mobile_theme', 'value' => $setting->getValue('website_mobile_theme'), 'tooltip' => 'The mobile theme used for your pool.' ); -$aSettings['website'][] = array( - 'display' => 'Blockexplorer URL', 'type' => 'text', - 'size' => 50, - 'default' => 'http://explorer.litecoin.net/block/', - 'name' => 'website_blockexplorer_url', 'value' => $setting->getValue('website_blockexplorer_url'), - 'tooltip' => 'URL to the blockexplorer website for your blockchain. Will append the blockhash to the URL. Leave empty to disabled this.' -); -$aSettings['website'][] = array( +$aSettings['blockchain'][] = array( 'display' => 'Disable Blockexplorer', 'type' => 'select', 'options' => array( 0 => 'No', 1 => 'Yes' ), 'default' => 0, 'name' => 'website_blockexplorer_disabled', 'value' => $setting->getValue('website_blockexplorer_disabled'), 'tooltip' => 'Enabled or disable the blockexplorer URL feature. Will remove any links using the blockexplorer URL.' ); -$aSettings['website'][] = array( - 'display' => 'Transactionexplorer URL', 'type' => 'text', +$aSettings['blockchain'][] = array( + 'display' => 'Blockexplorer URL', 'type' => 'text', 'size' => 50, - 'default' => 'http://explorer.litecoin.net/tx/', - 'name' => 'website_transactionexplorer_url', 'value' => $setting->getValue('website_transactionexplorer_url'), - 'tooltip' => 'URL to the transactionexplorer website for your blockchain. Will append the transactionid to the URL. Leave empty to disabled this.' + 'default' => 'http://explorer.litecoin.net/block/', + 'name' => 'website_blockexplorer_url', 'value' => $setting->getValue('website_blockexplorer_url'), + 'tooltip' => 'URL to the blockexplorer website for your blockchain. Will append the blockhash to the URL. Leave empty to disabled this.' ); -$aSettings['website'][] = array( +$aSettings['blockchain'][] = array( 'display' => 'Disable Transactionexplorer', 'type' => 'select', 'options' => array( 0 => 'No', 1 => 'Yes' ), 'default' => 0, 'name' => 'website_transactionexplorer_disabled', 'value' => $setting->getValue('website_transactionexplorer_disabled'), 'tooltip' => 'Enabled or disable the transactionexplorer URL feature. Will remove any links using the transactionexplorer URL.' ); -$aSettings['website'][] = array( - 'display' => 'Chaininfo URL', 'type' => 'text', +$aSettings['blockchain'][] = array( + 'display' => 'Transactionexplorer URL', 'type' => 'text', 'size' => 50, - 'default' => 'http://allchains.info', - 'name' => 'website_chaininfo_url', 'value' => $setting->getValue('website_chaininfo_url'), - 'tooltip' => 'URL to the chaininfo website for your blockchain. Leave empty to disabled this.' + 'default' => 'http://explorer.litecoin.net/tx/', + 'name' => 'website_transactionexplorer_url', 'value' => $setting->getValue('website_transactionexplorer_url'), + 'tooltip' => 'URL to the transactionexplorer website for your blockchain. Will append the transactionid to the URL. Leave empty to disabled this.' ); -$aSettings['website'][] = array( +$aSettings['blockchain'][] = array( 'display' => 'Disable Chaininfo', 'type' => 'select', 'options' => array( 0 => 'No', 1 => 'Yes' ), 'default' => 0, 'name' => 'website_chaininfo_disabled', 'value' => $setting->getValue('website_chaininfo_disabled'), 'tooltip' => 'Enabled or disable the chainfo URL feature. Will remove any links using the chaininfo URL.' ); +$aSettings['blockchain'][] = array( + 'display' => 'Chaininfo URL', 'type' => 'text', + 'size' => 50, + 'default' => 'http://allchains.info', + 'name' => 'website_chaininfo_url', 'value' => $setting->getValue('website_chaininfo_url'), + 'tooltip' => 'URL to the chaininfo website for your blockchain. Leave empty to disabled this.' +); $aSettings['wallet'][] = array( 'display' => 'Cold Coins', 'type' => 'text', 'size' => 6,