Add page header/title options to all pages
-All pages (including the reward and error pages) were updated to include options for displaying a configurable page header with title, image, description and in some cases a last updated date
-The error page was restructured slightly to display a different description based on the type of error (page not found error vs problem loading page error)
-Added new setting options to the `shared_pages` setting for `page_title_image` which allows changing the page title image displayed on applicable pages and also determines whether it uses a flip/spin animation or not
-Added a collection of new `page_header` settings to all pages that control displaying the new page title + image + description and also moved the last updated date from applicable pages into this section as well
-Existing `show_last_updated` settings that were moved a level deeper into the `page_header` have been automatically mapped to the new setting location upon statup to help older installs to work better out-of-the-box
-Added new css rules to the styles.scss file to support the new page header/title options
-Added a number of new locale strings for page titles and descriptions, and moved a few locale strings around to different names internally that were already using the same naming scheme for different elements (such as api_title being moved to api_documentation for example)
-Started adding new locale strings with replacement text such as {1} and {2} that get automatically replaced with proper values when loaded to allow for locale strings that support dynamic text
-Fixed an issue with too much empty space in the page header (especially in mobile and tablet modes) when `show_panels` was set to false on any page
This commit is contained in:
+37
-7
@@ -17,7 +17,8 @@ exports.menu_node = "Nodes",
|
||||
exports.menu_network = "Network",
|
||||
exports.menu_claim_address = "Claim Address",
|
||||
|
||||
exports.ex_title = "Block Explorer",
|
||||
exports.ex_title = "{1} Block Explorer",
|
||||
exports.ex_description = "A listing of all verified {1} transactions",
|
||||
exports.ex_search_title = "Search",
|
||||
exports.ex_search_button = "Search",
|
||||
exports.ex_search_message = "Search by block height, block hash, tx hash or address",
|
||||
@@ -28,7 +29,9 @@ exports.ex_latest_transactions = "Latest Transactions",
|
||||
exports.ex_summary = "Block Summary",
|
||||
exports.ex_supply = "Coin Supply",
|
||||
exports.ex_block = "Block",
|
||||
exports.tx_title = "Transaction Details",
|
||||
|
||||
exports.tx_title = "{1} Transaction Details",
|
||||
exports.tx_description = "Viewing tx data from {1} block # {2}",
|
||||
exports.tx_block_hash = "Block Hash",
|
||||
exports.tx_recipients = "Recipients",
|
||||
exports.tx_contributors = "Contributor(s)",
|
||||
@@ -38,13 +41,18 @@ exports.tx_nonstandard = "NONSTANDARD TX",
|
||||
exports.view_raw_tx_data = "View Raw Transaction Data",
|
||||
exports.view_block = "View Block",
|
||||
|
||||
exports.block_title = "Block Details",
|
||||
exports.block_title = "{1} Block Details",
|
||||
exports.block_description = "Viewing block data from {1} block # {2}",
|
||||
exports.block_previous = "Previous Block",
|
||||
exports.block_next = "Next Block",
|
||||
exports.block_genesis = "GENESIS",
|
||||
exports.view_raw_block_data = "View Raw Block Data",
|
||||
exports.view_tx = "View Transaction",
|
||||
|
||||
exports.error_title = "{1} Block Explorer Error",
|
||||
exports.error_description = "The page you are looking for cannot be found",
|
||||
exports.error_description_alt = "An error occurred which prevented the page from loading correctly",
|
||||
|
||||
exports.difficulty = "Difficulty",
|
||||
exports.network = "Network",
|
||||
exports.masternodecount = "Masternodes",
|
||||
@@ -67,13 +75,25 @@ exports.hidden_recipient = "Hidden Recipient",
|
||||
exports.unknown_address = "Unknown Address",
|
||||
exports.unknown_sender = "Unknown Sender",
|
||||
exports.unknown_recipient = "Unknown Recipient",
|
||||
exports.last_updated = "Last Updated",
|
||||
exports.initial_index_alert = "Blockchain data is currently being synchronized. You may browse the site during this time, but keep in mind that data may not yet be fully accurate and some functionality may not work until synchronization is complete.",
|
||||
|
||||
exports.a_title = "{1} Wallet Address Details",
|
||||
exports.a_description = "Viewing balance and transaction data from {1} address {2}",
|
||||
exports.a_menu_showing = "Showing",
|
||||
exports.a_menu_txs = "transactions",
|
||||
exports.a_menu_all = "All",
|
||||
exports.a_qr = "QR Code",
|
||||
|
||||
exports.mn_title = "{1} Masternodes",
|
||||
exports.mn_description = "A listing of all masternodes known to be active on the {1} network",
|
||||
exports.mn_masternode_list = "Masternode List",
|
||||
|
||||
exports.move_title = "{1} Coin Movements",
|
||||
exports.move_description = "A listing of larger movements where {1} or more {2} coins were sent in a single transaction",
|
||||
|
||||
exports.rl_title = "Top {1} Coin Holders",
|
||||
exports.rl_description = "A listing of the richest {1} wallet addresses and breakdown of the current coin distribution",
|
||||
exports.rl_received_coins = "Top 100 - Received Coins",
|
||||
exports.rl_current_balance = "Top 100 - Current Balance",
|
||||
exports.rl_received = "Received",
|
||||
@@ -85,16 +105,18 @@ exports.rl_top75 = "Top 51-75",
|
||||
exports.rl_top100 = "Top 76-100",
|
||||
exports.rl_hundredplus = "101+",
|
||||
|
||||
exports.net_title = "{1} Network Peers",
|
||||
exports.net_description = "A listing of {1} network peers that have connected to the explorer node in the last 24 hours",
|
||||
exports.net_addnodes = "Add Nodes",
|
||||
exports.net_connections = "Connections",
|
||||
exports.net_address = "Address",
|
||||
exports.net_protocol = "Protocol",
|
||||
exports.net_subversion = "Sub-version",
|
||||
exports.net_country = "Country",
|
||||
exports.net_warning = "This is simply a sub sample of the network based on wallets connected to this node.",
|
||||
|
||||
exports.api_title = "API Documentation",
|
||||
exports.api_message = "The block explorer provides an API allowing users and/or applications to retrieve information from the network without the need for a local wallet.",
|
||||
exports.api_title = "{1} Public API",
|
||||
exports.api_description = "A listing of public API endpoints for retrieving {1} coin data from the network without the need for a local wallet",
|
||||
exports.api_documentation = "API Documentation",
|
||||
exports.api_calls = "API Calls",
|
||||
exports.api_getnetworkhashps = "Returns the current network hashrate. (hash/s)",
|
||||
exports.api_getdifficulty = "Returns the current difficulty.",
|
||||
@@ -116,6 +138,8 @@ exports.api_getnextrewardestimate = 'Returns an estimate for the next block rewa
|
||||
exports.api_getnextrewardwhenstr = 'Returns a string describing how long until the votes are tallied and the next block reward is computed.',
|
||||
|
||||
// Markets view
|
||||
exports.mkt_title = "{1} Market Details",
|
||||
exports.mkt_description = "Viewing {1} market data for the {2} exchange",
|
||||
exports.mkt_hours = "24 hours",
|
||||
exports.mkt_view_chart = "View 24 hour summary",
|
||||
exports.mkt_view_summary = "View 24 hour chart",
|
||||
@@ -138,10 +162,16 @@ exports.mkt_type = "Type",
|
||||
exports.mkt_time_stamp = "Time Stamp",
|
||||
exports.mkt_select = "Market Select",
|
||||
|
||||
// Claim address view
|
||||
exports.claim_title = "{1} Wallet Address Claim",
|
||||
exports.claim_description = "Verify ownership of your {1} wallet address and set a custom display name in the explorer",
|
||||
|
||||
// Heavycoin
|
||||
exports.heavy_vote = "Vote",
|
||||
// Heavycoin rewards view
|
||||
exports.heavy_title = "Reward/voting information",
|
||||
exports.heavy_title = "{1} Reward/Voting Details",
|
||||
exports.heavy_description = "Viewing {1} voting data and coin reward change details",
|
||||
exports.heavy_reward_voting_info = "Reward/voting information",
|
||||
exports.heavy_cap = "Coin Cap",
|
||||
exports.heavy_phase = "Phase",
|
||||
exports.heavy_maxvote = "Max Vote",
|
||||
|
||||
+152
-15
@@ -241,6 +241,15 @@ exports.shared_pages = {
|
||||
// position: Determine where the search box should appear on the website
|
||||
// valid options: inside-header, below-header
|
||||
"position": "inside-header"
|
||||
},
|
||||
// page_title_image: A collection of settings that pertain to the page title image for each page
|
||||
"page_title_image": {
|
||||
// image_path: The path to an image file that is displayed in the header section of all pages next to the page title (NOTE: This image can be enabled/disabled on a per-page basis)
|
||||
// NOTE: The path root is /public
|
||||
// The optimum logo size is 48x48 as the image will be forced to this size when displayed
|
||||
"image_path": "/img/page-title-img.png",
|
||||
// enable_animation: Enable/disable the flip/spin animation on the page title image (true/false)
|
||||
"enable_animation": true
|
||||
}
|
||||
},
|
||||
// page_footer: A collection of settings that pertain to the page footer that is displayed at the bottom of all pages
|
||||
@@ -285,8 +294,17 @@ exports.shared_pages = {
|
||||
exports.index_page = {
|
||||
// show_panels: Determine whether to show the panels configured in the shared_pages.page_header section across the top of this page (true/false)
|
||||
"show_panels": true,
|
||||
// show_last_updated: Determine whether to show a label above the transaction data with the last updated date (true/false)
|
||||
"show_last_updated": true,
|
||||
// page_header: a collection of settings that pertain to the index page header
|
||||
"page_header": {
|
||||
// show_img: Determine whether to show the page title image defined in the "shared_pages.page_header.page_title_image" setting (true/false)
|
||||
"show_img": true,
|
||||
// show_title: Determine whether to show the page title as defined in "locale.ex_title" (true/false)
|
||||
"show_title": true,
|
||||
// show_last_updated: Determine whether to show a label below the page title with the last updated date (true/false)
|
||||
"show_last_updated": true,
|
||||
// show_description: Determine whether to show the page description as defined in "locale.ex_description" (true/false)
|
||||
"show_description": true
|
||||
},
|
||||
// transaction_table: a collection of settings that pertain to the transaction table on the index page
|
||||
// Table data is populated via the /ext/getlasttxs api
|
||||
"transaction_table": {
|
||||
@@ -305,6 +323,15 @@ exports.index_page = {
|
||||
exports.block_page = {
|
||||
// show_panels: Determine whether to show the panels configured in the shared_pages.page_header section across the top of this page (true/false)
|
||||
"show_panels": false,
|
||||
// page_header: a collection of settings that pertain to the block page header
|
||||
"page_header": {
|
||||
// show_img: Determine whether to show the page title image defined in the "shared_pages.page_header.page_title_image" setting (true/false)
|
||||
"show_img": true,
|
||||
// show_title: Determine whether to show the page title as defined in "locale.block_title" (true/false)
|
||||
"show_title": true,
|
||||
// show_description: Determine whether to show the page description as defined in "locale.block_description" (true/false)
|
||||
"show_description": true
|
||||
},
|
||||
// genesis_block: Your coins genesis block hash is used to determine the beginning of the blockchain
|
||||
// For many bitcoin clones you can use the following cmd to get the block hash of the genesis block: coin-cli getblockhash 0
|
||||
// NOTE: If this value is not entered correctly it will not be possible for the explorer to find or navigate to the genesis block, neither via block or transaction hash
|
||||
@@ -315,6 +342,15 @@ exports.block_page = {
|
||||
exports.transaction_page = {
|
||||
// show_panels: Determine whether to show the panels configured in the shared_pages.page_header section across the top of this page (true/false)
|
||||
"show_panels": false,
|
||||
// page_header: a collection of settings that pertain to the transaction/tx page header
|
||||
"page_header": {
|
||||
// show_img: Determine whether to show the page title image defined in the "shared_pages.page_header.page_title_image" setting (true/false)
|
||||
"show_img": true,
|
||||
// show_title: Determine whether to show the page title as defined in "locale.tx_title" (true/false)
|
||||
"show_title": true,
|
||||
// show_description: Determine whether to show the page description as defined in "locale.tx_description" (true/false)
|
||||
"show_description": true
|
||||
},
|
||||
// genesis_tx: Your coins genesis transaction hash is used to determine the beginning of the blockchain
|
||||
// For many bitcoin clones you can use the following cmd to find the list of transaction hashes from the genesis block: coin-cli getblock 00014f36c648cdbc750f7dd28487a23cd9e0b0f95f5fccc5b5d01367e3f57469
|
||||
// NOTE: If this value is not entered correctly it will not be possible for the explorer to find or navigate to the genesis block by searching for the genesis transaction hash
|
||||
@@ -325,6 +361,15 @@ exports.transaction_page = {
|
||||
exports.address_page = {
|
||||
// show_panels: Determine whether to show the panels configured in the shared_pages.page_header section across the top of this page (true/false)
|
||||
"show_panels": false,
|
||||
// page_header: a collection of settings that pertain to the address page header
|
||||
"page_header": {
|
||||
// show_img: Determine whether to show the page title image defined in the "shared_pages.page_header.page_title_image" setting (true/false)
|
||||
"show_img": true,
|
||||
// show_title: Determine whether to show the page title as defined in "locale.a_title" (true/false)
|
||||
"show_title": true,
|
||||
// show_description: Determine whether to show the page description as defined in "locale.a_description" (true/false)
|
||||
"show_description": true
|
||||
},
|
||||
// show_sent_received: Determine whether to show Total Sent and Total Received columns at the top of the address page
|
||||
"show_sent_received": false,
|
||||
// enable_hidden_address_view: Determine whether to allow viewing the special 'hidden_address' wallet address which is populated anytime a private/hidden wallet address is involved in a transaction
|
||||
@@ -349,7 +394,16 @@ exports.address_page = {
|
||||
// error_page: a collection of settings that pertain to the error page
|
||||
exports.error_page = {
|
||||
// show_panels: Determine whether to show the panels configured in the shared_pages.page_header section across the top of this page (true/false)
|
||||
"show_panels": false
|
||||
"show_panels": false,
|
||||
// page_header: a collection of settings that pertain to the error page header
|
||||
"page_header": {
|
||||
// show_img: Determine whether to show the page title image defined in the "shared_pages.page_header.page_title_image" setting (true/false)
|
||||
"show_img": true,
|
||||
// show_title: Determine whether to show the page title as defined in "locale.error_title" (true/false)
|
||||
"show_title": true,
|
||||
// show_description: Determine whether to show the page description as defined in "locale.error_description" (true/false)
|
||||
"show_description": true
|
||||
}
|
||||
};
|
||||
|
||||
/* Additional Pages (can be enabled/disabled via settings) */
|
||||
@@ -361,8 +415,19 @@ exports.masternodes_page = {
|
||||
"enabled": true,
|
||||
// show_panels: Determine whether to show the panels configured in the shared_pages.page_header section across the top of this page (true/false)
|
||||
"show_panels": false,
|
||||
// show_last_updated: determine whether to show a label above the masternode data with the last updated date (true/false)
|
||||
"show_last_updated": true,
|
||||
// show_panels: Determine whether to show the panels configured in the shared_pages.page_header section across the top of this page (true/false)
|
||||
"show_panels": false,
|
||||
// page_header: a collection of settings that pertain to the masternodes page header
|
||||
"page_header": {
|
||||
// show_img: Determine whether to show the page title image defined in the "shared_pages.page_header.page_title_image" setting (true/false)
|
||||
"show_img": true,
|
||||
// show_title: Determine whether to show the page title as defined in "locale.mn_title" (true/false)
|
||||
"show_title": true,
|
||||
// show_last_updated: Determine whether to show a label below the page title with the last updated date (true/false)
|
||||
"show_last_updated": true,
|
||||
// show_description: Determine whether to show the page description as defined in "locale.mn_description" (true/false)
|
||||
"show_description": true
|
||||
},
|
||||
// masternode_table: a collection of settings that pertain to the masternode table on the masternodes page
|
||||
// Table data is populated via the /ext/getmasternodelist api
|
||||
"masternode_table": {
|
||||
@@ -380,8 +445,17 @@ exports.movement_page = {
|
||||
"enabled": true,
|
||||
// show_panels: Determine whether to show the panels configured in the shared_pages.page_header section across the top of this page (true/false)
|
||||
"show_panels": false,
|
||||
// show_last_updated: determine whether to show a label above the movement data with the last updated date (true/false)
|
||||
"show_last_updated": true,
|
||||
// page_header: a collection of settings that pertain to the movement page header
|
||||
"page_header": {
|
||||
// show_img: Determine whether to show the page title image defined in the "shared_pages.page_header.page_title_image" setting (true/false)
|
||||
"show_img": true,
|
||||
// show_title: Determine whether to show the page title as defined in "locale.move_title" (true/false)
|
||||
"show_title": true,
|
||||
// show_last_updated: Determine whether to show a label below the page title with the last updated date (true/false)
|
||||
"show_last_updated": true,
|
||||
// show_description: Determine whether to show the page description as defined in "locale.move_description" (true/false)
|
||||
"show_description": true
|
||||
},
|
||||
// movement_table: a collection of settings that pertain to the movement table on the movement page
|
||||
// Table data is populated via the /ext/getlasttxs api
|
||||
"movement_table": {
|
||||
@@ -409,8 +483,19 @@ exports.network_page = {
|
||||
"enabled": true,
|
||||
// show_panels: Determine whether to show the panels configured in the shared_pages.page_header section across the top of this page (true/false)
|
||||
"show_panels": false,
|
||||
// show_last_updated: determine whether to show a label above the network data with the last updated date (true/false)
|
||||
"show_last_updated": true,
|
||||
// show_panels: Determine whether to show the panels configured in the shared_pages.page_header section across the top of this page (true/false)
|
||||
"show_panels": false,
|
||||
// page_header: a collection of settings that pertain to the network page header
|
||||
"page_header": {
|
||||
// show_img: Determine whether to show the page title image defined in the "shared_pages.page_header.page_title_image" setting (true/false)
|
||||
"show_img": true,
|
||||
// show_title: Determine whether to show the page title as defined in "locale.net_title" (true/false)
|
||||
"show_title": true,
|
||||
// show_last_updated: Determine whether to show a label below the page title with the last updated date (true/false)
|
||||
"show_last_updated": true,
|
||||
// show_description: Determine whether to show the page description as defined in "locale.net_description" (true/false)
|
||||
"show_description": true
|
||||
},
|
||||
// connections_table: a collection of settings that pertain to the connections table on the network page
|
||||
// Table data is populated via the /ext/getnetworkpeers api
|
||||
"connections_table": {
|
||||
@@ -444,8 +529,17 @@ exports.richlist_page = {
|
||||
"enabled": true,
|
||||
// show_panels: Determine whether to show the panels configured in the shared_pages.page_header section across the top of this page (true/false)
|
||||
"show_panels": false,
|
||||
// show_last_updated: determine whether to show a label above the richlist/top100 data with the last updated date (true/false)
|
||||
"show_last_updated": true,
|
||||
// page_header: a collection of settings that pertain to the richlist/top100 page header
|
||||
"page_header": {
|
||||
// show_img: Determine whether to show the page title image defined in the "shared_pages.page_header.page_title_image" setting (true/false)
|
||||
"show_img": true,
|
||||
// show_title: Determine whether to show the page title as defined in "locale.rl_title" (true/false)
|
||||
"show_title": true,
|
||||
// show_last_updated: Determine whether to show a label below the page title with the last updated date (true/false)
|
||||
"show_last_updated": true,
|
||||
// show_description: Determine whether to show the page description as defined in "locale.rl_description" (true/false)
|
||||
"show_description": true
|
||||
},
|
||||
// show_current_balance: Determine whether to show the top 100 list of wallet addresses that currently have the most coins in a single wallet (true/false)
|
||||
"show_current_balance": true,
|
||||
// show_received_coins: Determine whether to show the top 100 list of wallet addresses that have the highest total number of coins received based on adding up all received transactions (true/false)
|
||||
@@ -486,8 +580,17 @@ exports.markets_page = {
|
||||
"enabled": false,
|
||||
// show_panels: Determine whether to show the panels configured in the shared_pages.page_header section across the top of this page (true/false)
|
||||
"show_panels": false,
|
||||
// show_last_updated: determine whether to show a label above the market data with the last updated date (true/false)
|
||||
"show_last_updated": true,
|
||||
// page_header: a collection of settings that pertain to the markets page header
|
||||
"page_header": {
|
||||
// show_img: Determine whether to show the page title image defined in the "shared_pages.page_header.page_title_image" setting (true/false)
|
||||
"show_img": true,
|
||||
// show_title: Determine whether to show the page title as defined in "locale.mkt_title" (true/false)
|
||||
"show_title": true,
|
||||
// show_last_updated: Determine whether to show a label below the page title with the last updated date (true/false)
|
||||
"show_last_updated": true,
|
||||
// show_description: Determine whether to show the page description as defined in "locale.mkt_description" (true/false)
|
||||
"show_description": true
|
||||
},
|
||||
// show_market_dropdown_menu: Determine whether the markets menu in the page header will function as a dropdown or a single-click menu item that opens the default market (true/false)
|
||||
// If set to true, the markets header menu will function as a dropdown that allows selecting from all available markets
|
||||
// If set to false, the markets header menu will function as a single-click menu item that opens the default market only
|
||||
@@ -601,6 +704,15 @@ exports.api_page = {
|
||||
"enabled": true,
|
||||
// show_panels: Determine whether to show the panels configured in the shared_pages.page_header section across the top of this page (true/false)
|
||||
"show_panels": false,
|
||||
// page_header: a collection of settings that pertain to the api page header
|
||||
"page_header": {
|
||||
// show_img: Determine whether to show the page title image defined in the "shared_pages.page_header.page_title_image" setting (true/false)
|
||||
"show_img": true,
|
||||
// show_title: Determine whether to show the page title as defined in "locale.api_title" (true/false)
|
||||
"show_title": true,
|
||||
// show_description: Determine whether to show the page description as defined in "locale.api_description" (true/false)
|
||||
"show_description": true
|
||||
},
|
||||
// sample_data: a collection of settings that pertain to the sample data that is used to display example api links to real data
|
||||
"sample_data": {
|
||||
// blockindex: This value can be any valid block height number from your coins blockchain
|
||||
@@ -827,6 +939,15 @@ exports.claim_address_page = {
|
||||
"enabled": true,
|
||||
// show_panels: Determine whether to show the panels configured in the shared_pages.page_header section across the top of this page (true/false)
|
||||
"show_panels": false,
|
||||
// page_header: a collection of settings that pertain to the claim address page header
|
||||
"page_header": {
|
||||
// show_img: Determine whether to show the page title image defined in the "shared_pages.page_header.page_title_image" setting (true/false)
|
||||
"show_img": true,
|
||||
// show_title: Determine whether to show the page title as defined in "locale.claim_title" (true/false)
|
||||
"show_title": true,
|
||||
// show_description: Determine whether to show the page description as defined in "locale.claim_description" (true/false)
|
||||
"show_description": true
|
||||
},
|
||||
// show_header_menu: Show/hide the "Claim Address" header menu item (true/false)
|
||||
// If set to false, the claim address page can still be accessed via the claim link on each address page
|
||||
// NOTE: The "claim_address_page.enabled" setting must also be set to true or else the header item will automatically be hidden as well
|
||||
@@ -940,8 +1061,17 @@ exports.blockchain_specific = {
|
||||
"enabled": true,
|
||||
// show_panels: Determine whether to show the panels configured in the shared_pages.page_header section across the top of this page (true/false)
|
||||
"show_panels": false,
|
||||
// show_last_updated: determine whether to show a label above the reward data with the last updated date (true/false)
|
||||
"show_last_updated": true
|
||||
// page_header: a collection of settings that pertain to the reward page header
|
||||
"page_header": {
|
||||
// show_img: Determine whether to show the page title image defined in the "shared_pages.page_header.page_title_image" setting (true/false)
|
||||
"show_img": true,
|
||||
// show_title: Determine whether to show the page title as defined in "locale.reward_title" (true/false)
|
||||
"show_title": true,
|
||||
// show_last_updated: Determine whether to show a label below the page title with the last updated date (true/false)
|
||||
"show_last_updated": true,
|
||||
// show_description: Determine whether to show the page description as defined in "locale.reward_description" (true/false)
|
||||
"show_description": true
|
||||
}
|
||||
},
|
||||
//api_cmds: A collection of settings that pertain to the list of customizable heavycoin rpc api commands
|
||||
// Not all blockchains utilize the same rpc cmds for accessing the internal daemon api. Use these settings to set alternate names for similar api cmds.
|
||||
@@ -1193,6 +1323,13 @@ exports.loadSettings = function loadSettings() {
|
||||
json_settings = fix_deprecated_setting(json_settings, 'social_links', 'shared_pages.page_footer.social_links');
|
||||
// fix old deprecated settings from v1.99
|
||||
json_settings = fix_deprecated_setting(json_settings, 'shared_pages.page_header.show_search', 'shared_pages.page_header.search.enabled');
|
||||
json_settings = fix_deprecated_setting(json_settings, 'index_page.show_last_updated', 'index_page.page_header.show_last_updated');
|
||||
json_settings = fix_deprecated_setting(json_settings, 'masternodes_page.show_last_updated', 'masternodes_page.page_header.show_last_updated');
|
||||
json_settings = fix_deprecated_setting(json_settings, 'movement_page.show_last_updated', 'movement_page.page_header.show_last_updated');
|
||||
json_settings = fix_deprecated_setting(json_settings, 'network_page.show_last_updated', 'network_page.page_header.show_last_updated');
|
||||
json_settings = fix_deprecated_setting(json_settings, 'richlist_page.show_last_updated', 'richlist_page.page_header.show_last_updated');
|
||||
json_settings = fix_deprecated_setting(json_settings, 'markets_page.show_last_updated', 'markets_page.page_header.show_last_updated');
|
||||
json_settings = fix_deprecated_setting(json_settings, 'blockchain_specific.heavycoin.reward_page.show_last_updated', 'blockchain_specific.heavycoin.reward_page.page_header.show_last_updated');
|
||||
// check if social_links setting exists
|
||||
if (json_settings.shared_pages.page_footer.social_links != null) {
|
||||
// loop through the social links to look for and change image_url to image_path
|
||||
|
||||
Reference in New Issue
Block a user