Text update
authorSteve Sutton <steve@gaslightmedia.com>
Fri, 29 Jun 2018 12:45:37 +0000 (08:45 -0400)
committerSteve Sutton <steve@gaslightmedia.com>
Fri, 29 Jun 2018 12:45:37 +0000 (08:45 -0400)
Change name for menu

classes/serverBandwidthSupport.php
setup/adminMenus.php
views/adminServerStatsConfig.html

index 60b911f..ae3dd0e 100644 (file)
@@ -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);
 
index 4307f72..439547f 100644 (file)
@@ -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(){
index e190d2c..58d979d 100644 (file)
@@ -2,20 +2,20 @@
 
     <!--  Server Settings  -->
     <div id="glm-table-serverstats-server" class="glm-settings-table">
-    
+
     {if $settingsUpdated}<h2 class="glm-notice glm-flash-updated glm-right">Settings Updated</h2>{/if}
     {if $settingsUpdateError}<span class="glm-error glm-flash-updated glm-right">Settings Update Error</span>{/if}
-    
+
     {if $dbError != ''}
         <h2 class="glm-error">Unable to test database connection!</h2>
         <p><b>Error reported:</b> {$dbError}</p>
-    {/if}    
+    {/if}
         <h2>Server Bandwidth Statistics Configuration</h2>
         <form action="{$thisUrl}?page={$thisPage}" method="post" enctype="multipart/form-data">
             <input type="hidden" name="option" value="submit">
-            
+
             <table class="glm-admin-table">
-            
+
                 <!-- Settings for talking with the Bandwidth Database -->
                 <tr>
                     <th class="glm-required">Database Name:</th>
@@ -46,7 +46,7 @@
                     <th class="glm-required">Website Name:</th>
                     <td {if !$website}class="glm-form-bad-input glm-form-bad-input-misc"{/if}>
                         <input type="text" name="website" value="{$website}" class="glm-form-text-input-medium">
-                        <br>This is the name of the Website as it's listed in the server stats database. Normally does not include 'www'.
+                        <br>This is the name of the Website as it's listed in the server stats database. Normally does include 'www'.
                     </td>
                 </tr>
                 <tr>
         </form>
     </div>
     <script type="text/javascript">
-        
+
         jQuery(document).ready(function($) {
 
-            // Flash certain elements for a short time after display      
+            // Flash certain elements for a short time after display
             $(".glm-flash-updated").fadeOut(500).fadeIn(500).fadeOut(500).fadeIn(500).fadeOut(500).fadeIn(500).fadeOut(500).fadeIn(500).fadeOut(500).fadeIn(500).fadeOut(500);
-                    
+
         });
     </script>