From eba31c2ed4e0413cc7f027c507a0bbecc75404e9 Mon Sep 17 00:00:00 2001 From: Steve Sutton Date: Fri, 29 Jun 2018 08:45:37 -0400 Subject: [PATCH] Text update Change name for menu --- classes/serverBandwidthSupport.php | 14 +++++++------- setup/adminMenus.php | 6 +++--- views/adminServerStatsConfig.html | 18 +++++++++--------- 3 files changed, 19 insertions(+), 19 deletions(-) diff --git a/classes/serverBandwidthSupport.php b/classes/serverBandwidthSupport.php index 60b911f..ae3dd0e 100644 --- a/classes/serverBandwidthSupport.php +++ b/classes/serverBandwidthSupport.php @@ -512,13 +512,13 @@ class glmServerStatsBandwidthSupport // We don't have a config option, so create a default one. $config = array( - 'active' => true, - 'db_name' => 'bandwidth', - 'db_host' => 'bandwidth.gaslightmedia.com', - 'db_user' => 'bandwidthRO', - 'db_pass' => ',Wv4W*~^bL_vF3F4PbGsS', - 'website' => 'www.gaslightmedia.com', - 'target' => '10000' + 'active' => true, + 'db_name' => 'bandwidth', + 'db_host' => 'bandwidth.gaslightmedia.com', + 'db_user' => 'bandwidthRO', + 'db_pass' => ',Wv4W*~^bL_vF3F4PbGsS', + 'website' => 'www.gaslightmedia.com', + 'target' => '10000' ); add_option('glmServerStatsConfigData', $config); diff --git a/setup/adminMenus.php b/setup/adminMenus.php index 4307f72..439547f 100644 --- a/setup/adminMenus.php +++ b/setup/adminMenus.php @@ -16,7 +16,7 @@ $mainServerStatsMenuSlug = 'glm-server-stats-main-menu'; if (current_user_can('editor') || current_user_can('administrator')) { add_menu_page( "GLM Bandwidth", - 'GLM Bandiwdth', + 'GLM Bandwidth', 'edit_pages', $mainServerStatsMenuSlug, function() { @@ -26,8 +26,8 @@ if (current_user_can('editor') || current_user_can('administrator')) { '3.100' ); add_menu_page( - 'GLM Info', - 'GLM Info', + 'GLM Notifications', + 'GLM Notifications', 'edit_pages', 'glm-info-main-menu', function(){ diff --git a/views/adminServerStatsConfig.html b/views/adminServerStatsConfig.html index e190d2c..58d979d 100644 --- a/views/adminServerStatsConfig.html +++ b/views/adminServerStatsConfig.html @@ -2,20 +2,20 @@
- + {if $settingsUpdated}

Settings Updated

{/if} {if $settingsUpdateError}Settings Update Error{/if} - + {if $dbError != ''}

Unable to test database connection!

Error reported: {$dbError}

- {/if} + {/if}

Server Bandwidth Statistics Configuration

- + - + @@ -46,7 +46,7 @@ @@ -61,12 +61,12 @@ -- 2.17.1
Database Name:Website Name: -
This is the name of the Website as it's listed in the server stats database. Normally does not include 'www'. +
This is the name of the Website as it's listed in the server stats database. Normally does include 'www'.