Completed
Push — master ( 469a46...77ce4a )
by Devin
53:00 queued 33:07
created
includes/admin/admin-actions.php 2 patches
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@  discard block
 block discarded – undo
10 10
  */
11 11
 
12 12
 // Exit if accessed directly
13
-if ( ! defined( 'ABSPATH' ) ) exit;
13
+if ( ! defined('ABSPATH')) exit;
14 14
 
15 15
 /**
16 16
  * Processes all GMB actions sent via POST and GET by looking for the 'gmb-action'
@@ -20,12 +20,12 @@  discard block
 block discarded – undo
20 20
  * @return void
21 21
  */
22 22
 function gmb_process_actions() {
23
-	if ( isset( $_POST['gmb_action'] ) ) {
24
-		do_action( 'gmb_' . $_POST['gmb_action'], $_POST );
23
+	if (isset($_POST['gmb_action'])) {
24
+		do_action('gmb_'.$_POST['gmb_action'], $_POST);
25 25
 	}
26 26
 
27
-	if ( isset( $_GET['gmb_action'] ) ) {
28
-		do_action( 'gmb_' . $_GET['gmb_action'], $_GET );
27
+	if (isset($_GET['gmb_action'])) {
28
+		do_action('gmb_'.$_GET['gmb_action'], $_GET);
29 29
 	}
30 30
 }
31
-add_action( 'admin_init', 'gmb_process_actions' );
31
+add_action('admin_init', 'gmb_process_actions');
Please login to merge, or discard this patch.
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,9 @@
 block discarded – undo
10 10
  */
11 11
 
12 12
 // Exit if accessed directly
13
-if ( ! defined( 'ABSPATH' ) ) exit;
13
+if ( ! defined( 'ABSPATH' ) ) {
14
+	exit;
15
+}
14 16
 
15 17
 /**
16 18
  * Processes all GMB actions sent via POST and GET by looking for the 'gmb-action'
Please login to merge, or discard this patch.
includes/admin/system-info.php 1 patch
Spacing   +106 added lines, -106 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@  discard block
 block discarded – undo
11 11
  */
12 12
 
13 13
 // Exit if accessed directly
14
-if ( ! defined( 'ABSPATH' ) ) {
14
+if ( ! defined('ABSPATH')) {
15 15
 	exit;
16 16
 }
17 17
 
@@ -24,7 +24,7 @@  discard block
 block discarded – undo
24 24
  */
25 25
 function gmb_system_info_callback() {
26 26
 
27
-	if ( ! current_user_can( 'install_plugins' ) ) {
27
+	if ( ! current_user_can('install_plugins')) {
28 28
 		return;
29 29
 	}
30 30
 
@@ -32,7 +32,7 @@  discard block
 block discarded – undo
32 32
 	<textarea readonly="readonly" onclick="this.focus(); this.select()" id="system-info-textarea" name="gmb-sysinfo" title="To copy the system info, click below then press Ctrl + C (PC) or Cmd + C (Mac)."><?php echo gmb_tools_sysinfo_get(); ?></textarea>
33 33
 	<p class="submit">
34 34
 		<input type="hidden" name="gmb_action" value="download_sysinfo" />
35
-		<?php submit_button( __( 'Download System Info File', 'google-maps-builder' ), 'secondary', 'gmb-download-sysinfo', false ); ?>
35
+		<?php submit_button(__('Download System Info File', 'google-maps-builder'), 'secondary', 'gmb-download-sysinfo', false); ?>
36 36
 	</p>
37 37
 	<style>
38 38
 		.gmb_forms_page_gmb-settings .gmb-submit-wrap {
@@ -55,63 +55,63 @@  discard block
 block discarded – undo
55 55
 function gmb_tools_sysinfo_get() {
56 56
 	global $wpdb, $gmb_options;
57 57
 
58
-	if ( ! class_exists( 'Browser' ) ) {
59
-		require_once GMB_PLUGIN_PATH . 'includes/libraries/browser.php';
58
+	if ( ! class_exists('Browser')) {
59
+		require_once GMB_PLUGIN_PATH.'includes/libraries/browser.php';
60 60
 	}
61 61
 
62 62
 	$browser = new Browser();
63 63
 
64 64
 	// Get theme info
65
-	if ( get_bloginfo( 'version' ) < '3.4' ) {
66
-		$theme_data = get_theme_data( get_stylesheet_directory() . '/style.css' );
67
-		$theme      = $theme_data['Name'] . ' ' . $theme_data['Version'];
65
+	if (get_bloginfo('version') < '3.4') {
66
+		$theme_data = get_theme_data(get_stylesheet_directory().'/style.css');
67
+		$theme      = $theme_data['Name'].' '.$theme_data['Version'];
68 68
 	} else {
69 69
 		$theme_data = wp_get_theme();
70
-		$theme      = $theme_data->Name . ' ' . $theme_data->Version;
70
+		$theme      = $theme_data->Name.' '.$theme_data->Version;
71 71
 	}
72 72
 
73 73
 	// Try to identify the hosting provider
74 74
 	$host = gmb_get_host();
75 75
 
76
-	$return = '### Begin System Info ###' . "\n\n";
76
+	$return = '### Begin System Info ###'."\n\n";
77 77
 
78 78
 	// Start with the basics...
79
-	$return .= '-- Site Info' . "\n\n";
80
-	$return .= 'Site URL:                 ' . site_url() . "\n";
81
-	$return .= 'Home URL:                 ' . home_url() . "\n";
82
-	$return .= 'Multisite:                ' . ( is_multisite() ? 'Yes' : 'No' ) . "\n";
79
+	$return .= '-- Site Info'."\n\n";
80
+	$return .= 'Site URL:                 '.site_url()."\n";
81
+	$return .= 'Home URL:                 '.home_url()."\n";
82
+	$return .= 'Multisite:                '.(is_multisite() ? 'Yes' : 'No')."\n";
83 83
 
84
-	$return = apply_filters( 'gmb_sysinfo_after_site_info', $return );
84
+	$return = apply_filters('gmb_sysinfo_after_site_info', $return);
85 85
 
86 86
 	// Can we determine the site's host?
87
-	if ( $host ) {
88
-		$return .= "\n" . '-- Hosting Provider' . "\n\n";
89
-		$return .= 'Host:                     ' . $host . "\n";
87
+	if ($host) {
88
+		$return .= "\n".'-- Hosting Provider'."\n\n";
89
+		$return .= 'Host:                     '.$host."\n";
90 90
 
91
-		$return = apply_filters( 'gmb_sysinfo_after_host_info', $return );
91
+		$return = apply_filters('gmb_sysinfo_after_host_info', $return);
92 92
 	}
93 93
 
94 94
 	// The local users' browser information, handled by the Browser class
95
-	$return .= "\n" . '-- User Browser' . "\n\n";
95
+	$return .= "\n".'-- User Browser'."\n\n";
96 96
 	$return .= $browser;
97 97
 
98
-	$return = apply_filters( 'gmb_sysinfo_after_user_browser', $return );
98
+	$return = apply_filters('gmb_sysinfo_after_user_browser', $return);
99 99
 
100 100
 	// WordPress configuration
101
-	$return .= "\n" . '-- WordPress Configuration' . "\n\n";
102
-	$return .= 'Version:                  ' . get_bloginfo( 'version' ) . "\n";
103
-	$return .= 'Language:                 ' . ( defined( 'WPLANG' ) && WPLANG ? WPLANG : 'en_US' ) . "\n";
104
-	$return .= 'Permalink Structure:      ' . ( get_option( 'permalink_structure' ) ? get_option( 'permalink_structure' ) : 'Default' ) . "\n";
105
-	$return .= 'Active Theme:             ' . $theme . "\n";
106
-	$return .= 'Show On Front:            ' . get_option( 'show_on_front' ) . "\n";
101
+	$return .= "\n".'-- WordPress Configuration'."\n\n";
102
+	$return .= 'Version:                  '.get_bloginfo('version')."\n";
103
+	$return .= 'Language:                 '.(defined('WPLANG') && WPLANG ? WPLANG : 'en_US')."\n";
104
+	$return .= 'Permalink Structure:      '.(get_option('permalink_structure') ? get_option('permalink_structure') : 'Default')."\n";
105
+	$return .= 'Active Theme:             '.$theme."\n";
106
+	$return .= 'Show On Front:            '.get_option('show_on_front')."\n";
107 107
 
108 108
 	// Only show page specs if frontpage is set to 'page'
109
-	if ( get_option( 'show_on_front' ) == 'page' ) {
110
-		$front_page_id = get_option( 'page_on_front' );
111
-		$blog_page_id  = get_option( 'page_for_posts' );
109
+	if (get_option('show_on_front') == 'page') {
110
+		$front_page_id = get_option('page_on_front');
111
+		$blog_page_id  = get_option('page_for_posts');
112 112
 
113
-		$return .= 'Page On Front:            ' . ( $front_page_id != 0 ? get_the_title( $front_page_id ) . ' (#' . $front_page_id . ')' : 'Unset' ) . "\n";
114
-		$return .= 'Page For Posts:           ' . ( $blog_page_id != 0 ? get_the_title( $blog_page_id ) . ' (#' . $blog_page_id . ')' : 'Unset' ) . "\n";
113
+		$return .= 'Page On Front:            '.($front_page_id != 0 ? get_the_title($front_page_id).' (#'.$front_page_id.')' : 'Unset')."\n";
114
+		$return .= 'Page For Posts:           '.($blog_page_id != 0 ? get_the_title($blog_page_id).' (#'.$blog_page_id.')' : 'Unset')."\n";
115 115
 	}
116 116
 
117 117
 	// Make sure wp_remote_post() is working
@@ -120,140 +120,140 @@  discard block
 block discarded – undo
120 120
 	$params = array(
121 121
 		'sslverify'  => false,
122 122
 		'timeout'    => 60,
123
-		'user-agent' => 'Maps Builder/' . GMB_VERSION,
123
+		'user-agent' => 'Maps Builder/'.GMB_VERSION,
124 124
 		'body'       => $request
125 125
 	);
126 126
 
127
-	$response = wp_remote_post( 'https://www.paypal.com/cgi-bin/webscr', $params );
127
+	$response = wp_remote_post('https://www.paypal.com/cgi-bin/webscr', $params);
128 128
 
129
-	if ( ! is_wp_error( $response ) && $response['response']['code'] >= 200 && $response['response']['code'] < 300 ) {
129
+	if ( ! is_wp_error($response) && $response['response']['code'] >= 200 && $response['response']['code'] < 300) {
130 130
 		$WP_REMOTE_POST = 'wp_remote_post() works';
131 131
 	} else {
132 132
 		$WP_REMOTE_POST = 'wp_remote_post() does not work';
133 133
 	}
134 134
 
135
-	$return .= 'Remote Post:              ' . $WP_REMOTE_POST . "\n";
136
-	$return .= 'Table Prefix:             ' . 'Length: ' . strlen( $wpdb->prefix ) . '   Status: ' . ( strlen( $wpdb->prefix ) > 16 ? 'ERROR: Too long' : 'Acceptable' ) . "\n";
137
-	$return .= 'Admin AJAX:               ' . ( gmb_test_ajax_works() ? 'Accessible' : 'Inaccessible' ) . "\n";
138
-	$return .= 'WP_DEBUG:                 ' . ( defined( 'WP_DEBUG' ) ? WP_DEBUG ? 'Enabled' : 'Disabled' : 'Not set' ) . "\n";
139
-	$return .= 'Memory Limit:             ' . WP_MEMORY_LIMIT . "\n";
140
-	$return .= 'Registered Post Stati:    ' . implode( ', ', get_post_stati() ) . "\n";
135
+	$return .= 'Remote Post:              '.$WP_REMOTE_POST."\n";
136
+	$return .= 'Table Prefix:             '.'Length: '.strlen($wpdb->prefix).'   Status: '.(strlen($wpdb->prefix) > 16 ? 'ERROR: Too long' : 'Acceptable')."\n";
137
+	$return .= 'Admin AJAX:               '.(gmb_test_ajax_works() ? 'Accessible' : 'Inaccessible')."\n";
138
+	$return .= 'WP_DEBUG:                 '.(defined('WP_DEBUG') ? WP_DEBUG ? 'Enabled' : 'Disabled' : 'Not set')."\n";
139
+	$return .= 'Memory Limit:             '.WP_MEMORY_LIMIT."\n";
140
+	$return .= 'Registered Post Stati:    '.implode(', ', get_post_stati())."\n";
141 141
 
142
-	$return = apply_filters( 'gmb_sysinfo_after_wordpress_config', $return );
142
+	$return = apply_filters('gmb_sysinfo_after_wordpress_config', $return);
143 143
 
144 144
 	// GMB configuration
145
-	$return .= "\n" . '-- Maps Builder Configuration' . "\n\n";
146
-	$return .= 'Version:                  ' . GMB_VERSION . "\n";
147
-	$return .= 'Upgraded From:            ' . get_option( 'gmb_version_upgraded_from', 'None' ) . "\n";
145
+	$return .= "\n".'-- Maps Builder Configuration'."\n\n";
146
+	$return .= 'Version:                  '.GMB_VERSION."\n";
147
+	$return .= 'Upgraded From:            '.get_option('gmb_version_upgraded_from', 'None')."\n";
148 148
 
149
-	$return = apply_filters( 'gmb_sysinfo_after_gmb_config', $return );
149
+	$return = apply_filters('gmb_sysinfo_after_gmb_config', $return);
150 150
 
151 151
 
152 152
 	// Must-use plugins
153 153
 	$muplugins = get_mu_plugins();
154
-	if ( count( $muplugins > 0 ) ) {
155
-		$return .= "\n" . '-- Must-Use Plugins' . "\n\n";
154
+	if (count($muplugins > 0)) {
155
+		$return .= "\n".'-- Must-Use Plugins'."\n\n";
156 156
 
157
-		foreach ( $muplugins as $plugin => $plugin_data ) {
158
-			$return .= $plugin_data['Name'] . ': ' . $plugin_data['Version'] . "\n";
157
+		foreach ($muplugins as $plugin => $plugin_data) {
158
+			$return .= $plugin_data['Name'].': '.$plugin_data['Version']."\n";
159 159
 		}
160 160
 
161
-		$return = apply_filters( 'gmb_sysinfo_after_wordpress_mu_plugins', $return );
161
+		$return = apply_filters('gmb_sysinfo_after_wordpress_mu_plugins', $return);
162 162
 	}
163 163
 
164 164
 	// WordPress active plugins
165
-	$return .= "\n" . '-- WordPress Active Plugins' . "\n\n";
165
+	$return .= "\n".'-- WordPress Active Plugins'."\n\n";
166 166
 
167 167
 	$plugins        = get_plugins();
168
-	$active_plugins = get_option( 'active_plugins', array() );
168
+	$active_plugins = get_option('active_plugins', array());
169 169
 
170
-	foreach ( $plugins as $plugin_path => $plugin ) {
171
-		if ( ! in_array( $plugin_path, $active_plugins ) ) {
170
+	foreach ($plugins as $plugin_path => $plugin) {
171
+		if ( ! in_array($plugin_path, $active_plugins)) {
172 172
 			continue;
173 173
 		}
174 174
 
175
-		$return .= $plugin['Name'] . ': ' . $plugin['Version'] . "\n";
175
+		$return .= $plugin['Name'].': '.$plugin['Version']."\n";
176 176
 	}
177 177
 
178
-	$return = apply_filters( 'gmb_sysinfo_after_wordpress_plugins', $return );
178
+	$return = apply_filters('gmb_sysinfo_after_wordpress_plugins', $return);
179 179
 
180 180
 	// WordPress inactive plugins
181
-	$return .= "\n" . '-- WordPress Inactive Plugins' . "\n\n";
181
+	$return .= "\n".'-- WordPress Inactive Plugins'."\n\n";
182 182
 
183
-	foreach ( $plugins as $plugin_path => $plugin ) {
184
-		if ( in_array( $plugin_path, $active_plugins ) ) {
183
+	foreach ($plugins as $plugin_path => $plugin) {
184
+		if (in_array($plugin_path, $active_plugins)) {
185 185
 			continue;
186 186
 		}
187 187
 
188
-		$return .= $plugin['Name'] . ': ' . $plugin['Version'] . "\n";
188
+		$return .= $plugin['Name'].': '.$plugin['Version']."\n";
189 189
 	}
190 190
 
191
-	$return = apply_filters( 'gmb_sysinfo_after_wordpress_plugins_inactive', $return );
191
+	$return = apply_filters('gmb_sysinfo_after_wordpress_plugins_inactive', $return);
192 192
 
193
-	if ( is_multisite() ) {
193
+	if (is_multisite()) {
194 194
 		// WordPress Multisite active plugins
195
-		$return .= "\n" . '-- Network Active Plugins' . "\n\n";
195
+		$return .= "\n".'-- Network Active Plugins'."\n\n";
196 196
 
197 197
 		$plugins        = wp_get_active_network_plugins();
198
-		$active_plugins = get_site_option( 'active_sitewide_plugins', array() );
198
+		$active_plugins = get_site_option('active_sitewide_plugins', array());
199 199
 
200
-		foreach ( $plugins as $plugin_path ) {
201
-			$plugin_base = plugin_basename( $plugin_path );
200
+		foreach ($plugins as $plugin_path) {
201
+			$plugin_base = plugin_basename($plugin_path);
202 202
 
203
-			if ( ! array_key_exists( $plugin_base, $active_plugins ) ) {
203
+			if ( ! array_key_exists($plugin_base, $active_plugins)) {
204 204
 				continue;
205 205
 			}
206 206
 
207
-			$plugin = get_plugin_data( $plugin_path );
208
-			$return .= $plugin['Name'] . ': ' . $plugin['Version'] . "\n";
207
+			$plugin = get_plugin_data($plugin_path);
208
+			$return .= $plugin['Name'].': '.$plugin['Version']."\n";
209 209
 		}
210 210
 
211
-		$return = apply_filters( 'gmb_sysinfo_after_wordpress_ms_plugins', $return );
211
+		$return = apply_filters('gmb_sysinfo_after_wordpress_ms_plugins', $return);
212 212
 	}
213 213
 
214 214
 	// Server configuration (really just versioning)
215
-	$return .= "\n" . '-- Webserver Configuration' . "\n\n";
216
-	$return .= 'PHP Version:              ' . PHP_VERSION . "\n";
217
-	$return .= 'MySQL Version:            ' . $wpdb->db_version() . "\n";
218
-	$return .= 'Webserver Info:           ' . $_SERVER['SERVER_SOFTWARE'] . "\n";
215
+	$return .= "\n".'-- Webserver Configuration'."\n\n";
216
+	$return .= 'PHP Version:              '.PHP_VERSION."\n";
217
+	$return .= 'MySQL Version:            '.$wpdb->db_version()."\n";
218
+	$return .= 'Webserver Info:           '.$_SERVER['SERVER_SOFTWARE']."\n";
219 219
 
220
-	$return = apply_filters( 'gmb_sysinfo_after_webserver_config', $return );
220
+	$return = apply_filters('gmb_sysinfo_after_webserver_config', $return);
221 221
 
222 222
 	// PHP configs... now we're getting to the important stuff
223
-	$return .= "\n" . '-- PHP Configuration' . "\n\n";
224
-	$return .= 'Safe Mode:                ' . ( ini_get( 'safe_mode' ) ? 'Enabled' : 'Disabled' . "\n" );
225
-	$return .= 'Memory Limit:             ' . ini_get( 'memory_limit' ) . "\n";
226
-	$return .= 'Upload Max Size:          ' . ini_get( 'upload_max_filesize' ) . "\n";
227
-	$return .= 'Post Max Size:            ' . ini_get( 'post_max_size' ) . "\n";
228
-	$return .= 'Upload Max Filesize:      ' . ini_get( 'upload_max_filesize' ) . "\n";
229
-	$return .= 'Time Limit:               ' . ini_get( 'max_execution_time' ) . "\n";
230
-	$return .= 'Max Input Vars:           ' . ini_get( 'max_input_vars' ) . "\n";
231
-	$return .= 'Display Errors:           ' . ( ini_get( 'display_errors' ) ? 'On (' . ini_get( 'display_errors' ) . ')' : 'N/A' ) . "\n";
232
-
233
-	$return = apply_filters( 'gmb_sysinfo_after_php_config', $return );
223
+	$return .= "\n".'-- PHP Configuration'."\n\n";
224
+	$return .= 'Safe Mode:                '.(ini_get('safe_mode') ? 'Enabled' : 'Disabled'."\n");
225
+	$return .= 'Memory Limit:             '.ini_get('memory_limit')."\n";
226
+	$return .= 'Upload Max Size:          '.ini_get('upload_max_filesize')."\n";
227
+	$return .= 'Post Max Size:            '.ini_get('post_max_size')."\n";
228
+	$return .= 'Upload Max Filesize:      '.ini_get('upload_max_filesize')."\n";
229
+	$return .= 'Time Limit:               '.ini_get('max_execution_time')."\n";
230
+	$return .= 'Max Input Vars:           '.ini_get('max_input_vars')."\n";
231
+	$return .= 'Display Errors:           '.(ini_get('display_errors') ? 'On ('.ini_get('display_errors').')' : 'N/A')."\n";
232
+
233
+	$return = apply_filters('gmb_sysinfo_after_php_config', $return);
234 234
 
235 235
 	// PHP extensions and such
236
-	$return .= "\n" . '-- PHP Extensions' . "\n\n";
237
-	$return .= 'cURL:                     ' . ( function_exists( 'curl_init' ) ? 'Supported' : 'Not Supported' ) . "\n";
238
-	$return .= 'fsockopen:                ' . ( function_exists( 'fsockopen' ) ? 'Supported' : 'Not Supported' ) . "\n";
239
-	$return .= 'SOAP Client:              ' . ( class_exists( 'SoapClient' ) ? 'Installed' : 'Not Installed' ) . "\n";
240
-	$return .= 'Suhosin:                  ' . ( extension_loaded( 'suhosin' ) ? 'Installed' : 'Not Installed' ) . "\n";
236
+	$return .= "\n".'-- PHP Extensions'."\n\n";
237
+	$return .= 'cURL:                     '.(function_exists('curl_init') ? 'Supported' : 'Not Supported')."\n";
238
+	$return .= 'fsockopen:                '.(function_exists('fsockopen') ? 'Supported' : 'Not Supported')."\n";
239
+	$return .= 'SOAP Client:              '.(class_exists('SoapClient') ? 'Installed' : 'Not Installed')."\n";
240
+	$return .= 'Suhosin:                  '.(extension_loaded('suhosin') ? 'Installed' : 'Not Installed')."\n";
241 241
 
242
-	$return = apply_filters( 'gmb_sysinfo_after_php_ext', $return );
242
+	$return = apply_filters('gmb_sysinfo_after_php_ext', $return);
243 243
 
244 244
 
245 245
 	// The rest of this is only relevant is session is enabled
246
-	if ( isset( $_SESSION ) ) {
247
-		$return .= 'Session Name:             ' . esc_html( ini_get( 'session.name' ) ) . "\n";
248
-		$return .= 'Cookie Path:              ' . esc_html( ini_get( 'session.cookie_path' ) ) . "\n";
249
-		$return .= 'Save Path:                ' . esc_html( ini_get( 'session.save_path' ) ) . "\n";
250
-		$return .= 'Use Cookies:              ' . ( ini_get( 'session.use_cookies' ) ? 'On' : 'Off' ) . "\n";
251
-		$return .= 'Use Only Cookies:         ' . ( ini_get( 'session.use_only_cookies' ) ? 'On' : 'Off' ) . "\n";
246
+	if (isset($_SESSION)) {
247
+		$return .= 'Session Name:             '.esc_html(ini_get('session.name'))."\n";
248
+		$return .= 'Cookie Path:              '.esc_html(ini_get('session.cookie_path'))."\n";
249
+		$return .= 'Save Path:                '.esc_html(ini_get('session.save_path'))."\n";
250
+		$return .= 'Use Cookies:              '.(ini_get('session.use_cookies') ? 'On' : 'Off')."\n";
251
+		$return .= 'Use Only Cookies:         '.(ini_get('session.use_only_cookies') ? 'On' : 'Off')."\n";
252 252
 	}
253 253
 
254
-	$return = apply_filters( 'gmb_sysinfo_after_session_config', $return );
254
+	$return = apply_filters('gmb_sysinfo_after_session_config', $return);
255 255
 
256
-	$return .= "\n" . '### End System Info ###';
256
+	$return .= "\n".'### End System Info ###';
257 257
 
258 258
 	return $return;
259 259
 }
@@ -267,17 +267,17 @@  discard block
 block discarded – undo
267 267
  */
268 268
 function gmb_tools_sysinfo_download() {
269 269
 
270
-	if ( ! current_user_can( 'install_plugins' ) ) {
270
+	if ( ! current_user_can('install_plugins')) {
271 271
 		return;
272 272
 	}
273 273
 
274 274
 	nocache_headers();
275 275
 
276
-	header( 'Content-Type: text/plain' );
277
-	header( 'Content-Disposition: attachment; filename="gmb-system-info.txt"' );
276
+	header('Content-Type: text/plain');
277
+	header('Content-Disposition: attachment; filename="gmb-system-info.txt"');
278 278
 
279
-	echo wp_strip_all_tags( $_POST['gmb-sysinfo'] );
279
+	echo wp_strip_all_tags($_POST['gmb-sysinfo']);
280 280
 	gmb_die();
281 281
 }
282 282
 
283
-add_action( 'gmb_download_sysinfo', 'gmb_tools_sysinfo_download' );
284 283
\ No newline at end of file
284
+add_action('gmb_download_sysinfo', 'gmb_tools_sysinfo_download');
285 285
\ No newline at end of file
Please login to merge, or discard this patch.
includes/admin/views/tab-system-info.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -15,9 +15,9 @@
 block discarded – undo
15 15
 	<div class="row">
16 16
 		<div class="gmb-col-md-10">
17 17
 
18
-			<h3><?php _e( 'System Info', $this->plugin_slug ); ?></h3>
18
+			<h3><?php _e('System Info', $this->plugin_slug); ?></h3>
19 19
 
20
-			<p><?php _e( 'The following displays useful information about your website that may be requested from you for support reasons.', $this->plugin_slug ); ?></p>
20
+			<p><?php _e('The following displays useful information about your website that may be requested from you for support reasons.', $this->plugin_slug); ?></p>
21 21
 
22 22
 			<form class="gmb-form" method="post" id="system_settings" enctype="multipart/form-data" encoding="multipart/form-data">
23 23
 				<?php gmb_system_info_callback(); ?>
Please login to merge, or discard this patch.
includes/admin/views/tab-general-settings.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -15,11 +15,11 @@
 block discarded – undo
15 15
 	<div class="row">
16 16
 		<div class="gmb-col-md-10">
17 17
 
18
-			<h3><?php _e( 'General Settings', $this->plugin_slug ); ?></h3>
18
+			<h3><?php _e('General Settings', $this->plugin_slug); ?></h3>
19 19
 
20
-			<p><?php _e( 'Customize how Google Maps Builder functions within WordPress.', $this->plugin_slug ); ?></p>
20
+			<p><?php _e('Customize how Google Maps Builder functions within WordPress.', $this->plugin_slug); ?></p>
21 21
 
22
-			<?php cmb2_metabox_form( $this->general_option_fields(), self::$key ); ?>
22
+			<?php cmb2_metabox_form($this->general_option_fields(), self::$key); ?>
23 23
 		</div>
24 24
 		<div class="gmb-col-md-2">
25 25
 
Please login to merge, or discard this patch.
includes/admin/views/markers.php 1 patch
Spacing   +179 added lines, -179 removed lines patch added patch discarded remove patch
@@ -13,33 +13,33 @@  discard block
 block discarded – undo
13 13
 			<div class="inner-modal">
14 14
 				<button type="button" class="gmb-modal-close">&times;</button>
15 15
 				<div class="marker-description-wrap clear">
16
-					<h3><?php _e( 'Customize Map Marker', $this->plugin_slug ); ?></h3>
16
+					<h3><?php _e('Customize Map Marker', $this->plugin_slug); ?></h3>
17 17
 
18
-					<p><?php _e( 'Customize your Google Maps markers by selecting a marker graphic and icon. Integration made possible from the excellent Maps Icon library.', $this->plugin_slug ); ?></p>
18
+					<p><?php _e('Customize your Google Maps markers by selecting a marker graphic and icon. Integration made possible from the excellent Maps Icon library.', $this->plugin_slug); ?></p>
19 19
 				</div>
20 20
 
21 21
 				<div class="marker-row clear">
22
-					<h3><?php _e( 'Step 1: Select a Marker', $this->plugin_slug ); ?></h3>
22
+					<h3><?php _e('Step 1: Select a Marker', $this->plugin_slug); ?></h3>
23 23
 
24 24
 					<div class="marker-item" data-marker="MAP_PIN" data-toggle="map-svg-icons">
25 25
 						<div class="marker-svg">
26 26
 							<svg version="1.0" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="50px" height="50px" viewBox="0 0 100 165" enable-background="new 0 0 100 165" xml:space="preserve"><path fill="#428BCA" d="M50,0C22.382,0,0,21.966,0,49.054C0,76.151,50,165,50,165s50-88.849,50-115.946C100,21.966,77.605,0,50,0z"></path>
27 27
 				</svg>
28 28
 						</div>
29
-						<div class="marker-description"><?php _e( 'Map Pin', $this->plugin_slug ); ?></div>
29
+						<div class="marker-description"><?php _e('Map Pin', $this->plugin_slug); ?></div>
30 30
 					</div>
31 31
 
32 32
 					<div class="marker-item" data-marker="SQUARE_PIN" data-toggle="map-svg-icons">
33 33
 						<div class="marker-svg">
34 34
 							<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="50px" height="50px" viewBox="0 0 100 120" enable-background="new 0 0 100 120" xml:space="preserve"><polygon fill="#428BCA" points="100,0 0,0 0,100 36.768,100 50.199,119.876 63.63,100 100,100 "></polygon></svg>
35 35
 						</div>
36
-						<div class="marker-description"><?php _e( 'Square Pin', $this->plugin_slug ); ?></div>
36
+						<div class="marker-description"><?php _e('Square Pin', $this->plugin_slug); ?></div>
37 37
 					</div>
38 38
 					<div class="marker-item" data-marker="default" data-toggle="default-icons-row">
39 39
 						<div class="marker-svg default-marker">
40
-							<img src="<?php echo apply_filters( 'gmb_default_marker', GMB_PLUGIN_URL . 'assets/img/spotlight-poi.png' ); ?>" class="default-marker" />
40
+							<img src="<?php echo apply_filters('gmb_default_marker', GMB_PLUGIN_URL.'assets/img/spotlight-poi.png'); ?>" class="default-marker" />
41 41
 						</div>
42
-						<div class="marker-description"><?php _e( 'Default', $this->plugin_slug ); ?></div>
42
+						<div class="marker-description"><?php _e('Default', $this->plugin_slug); ?></div>
43 43
 					</div>
44 44
 
45 45
 				</div>
@@ -50,10 +50,10 @@  discard block
 block discarded – undo
50 50
 						<div class="marker-color-picker-wrap">
51 51
 							<input type="text" name="color" id="color" value="#428BCA" class="color-picker marker-color" />
52 52
 						</div>
53
-						<p class="color-desc"><?php _e( 'Customize the marker color?', $this->plugin_slug ); ?></p>
53
+						<p class="color-desc"><?php _e('Customize the marker color?', $this->plugin_slug); ?></p>
54 54
 					</div>
55 55
 
56
-					<h3><?php _e( 'Step 2: Select a Marker Icon', $this->plugin_slug ); ?></h3>
56
+					<h3><?php _e('Step 2: Select a Marker Icon', $this->plugin_slug); ?></h3>
57 57
 
58 58
 					<div class="icon">
59 59
 						<div class="icon-inner">
@@ -216,7 +216,7 @@  discard block
 block discarded – undo
216 216
 						<div class="marker-color-picker-wrap">
217 217
 							<input type="text" name="color" id="color" class="color-picker label-color" value="#444444" />
218 218
 						</div>
219
-						<p class="color-desc"><?php _e( 'Customize the icon color?', $this->plugin_slug ); ?></p>
219
+						<p class="color-desc"><?php _e('Customize the icon color?', $this->plugin_slug); ?></p>
220 220
 					</div>
221 221
 
222 222
 				</div>
@@ -225,515 +225,515 @@  discard block
 block discarded – undo
225 225
 
226 226
 				<div class="marker-icon-row default-icons-row gmb-hidden clear">
227 227
 
228
-					<h3><?php _e( 'Step 2: Select a Marker Icon', $this->plugin_slug ); ?></h3>
228
+					<h3><?php _e('Step 2: Select a Marker Icon', $this->plugin_slug); ?></h3>
229 229
 
230 230
 					<ul class="map-icons-list">
231 231
 						<li>
232
-							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL . 'assets/img/default-icons/blue-blank.png' ?>" alt=""></a>
232
+							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL.'assets/img/default-icons/blue-blank.png' ?>" alt=""></a>
233 233
 						</li>
234 234
 						<li>
235
-							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL . 'assets/img/default-icons/blue-dot.png' ?>" alt=""></a>
235
+							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL.'assets/img/default-icons/blue-dot.png' ?>" alt=""></a>
236 236
 						</li>
237 237
 						<li>
238
-							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL . 'assets/img/default-icons/blue_MarkerA.png' ?>" alt=""></a>
238
+							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL.'assets/img/default-icons/blue_MarkerA.png' ?>" alt=""></a>
239 239
 						</li>
240 240
 						<li>
241
-							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL . 'assets/img/default-icons/blue_MarkerB.png' ?>" alt=""></a>
241
+							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL.'assets/img/default-icons/blue_MarkerB.png' ?>" alt=""></a>
242 242
 						</li>
243 243
 						<li>
244
-							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL . 'assets/img/default-icons/blue_MarkerC.png' ?>" alt=""></a>
244
+							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL.'assets/img/default-icons/blue_MarkerC.png' ?>" alt=""></a>
245 245
 						</li>
246 246
 						<li>
247
-							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL . 'assets/img/default-icons/blue_MarkerD.png' ?>" alt=""></a>
247
+							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL.'assets/img/default-icons/blue_MarkerD.png' ?>" alt=""></a>
248 248
 						</li>
249 249
 						<li>
250
-							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL . 'assets/img/default-icons/blue_MarkerE.png' ?>" alt=""></a>
250
+							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL.'assets/img/default-icons/blue_MarkerE.png' ?>" alt=""></a>
251 251
 						</li>
252 252
 						<li>
253
-							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL . 'assets/img/default-icons/blue_MarkerF.png' ?>" alt=""></a>
253
+							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL.'assets/img/default-icons/blue_MarkerF.png' ?>" alt=""></a>
254 254
 						</li>
255 255
 						<li>
256
-							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL . 'assets/img/default-icons/blue_MarkerG.png' ?>" alt=""></a>
256
+							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL.'assets/img/default-icons/blue_MarkerG.png' ?>" alt=""></a>
257 257
 						</li>
258 258
 						<li>
259
-							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL . 'assets/img/default-icons/blue_MarkerH.png' ?>" alt=""></a>
259
+							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL.'assets/img/default-icons/blue_MarkerH.png' ?>" alt=""></a>
260 260
 						</li>
261 261
 						<li>
262
-							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL . 'assets/img/default-icons/blue_MarkerI.png' ?>" alt=""></a>
262
+							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL.'assets/img/default-icons/blue_MarkerI.png' ?>" alt=""></a>
263 263
 						</li>
264 264
 						<li>
265
-							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL . 'assets/img/default-icons/blue_MarkerJ.png' ?>" alt=""></a>
265
+							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL.'assets/img/default-icons/blue_MarkerJ.png' ?>" alt=""></a>
266 266
 						</li>
267 267
 						<li>
268
-							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL . 'assets/img/default-icons/blue_MarkerK.png' ?>" alt=""></a>
268
+							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL.'assets/img/default-icons/blue_MarkerK.png' ?>" alt=""></a>
269 269
 						</li>
270 270
 						<li>
271
-							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL . 'assets/img/default-icons/blue_MarkerL.png' ?>" alt=""></a>
271
+							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL.'assets/img/default-icons/blue_MarkerL.png' ?>" alt=""></a>
272 272
 						</li>
273 273
 						<li>
274
-							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL . 'assets/img/default-icons/blue_MarkerM.png' ?>" alt=""></a>
274
+							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL.'assets/img/default-icons/blue_MarkerM.png' ?>" alt=""></a>
275 275
 						</li>
276 276
 						<li>
277
-							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL . 'assets/img/default-icons/blue_MarkerN.png' ?>" alt=""></a>
277
+							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL.'assets/img/default-icons/blue_MarkerN.png' ?>" alt=""></a>
278 278
 						</li>
279 279
 						<li>
280
-							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL . 'assets/img/default-icons/blue_MarkerO.png' ?>" alt=""></a>
280
+							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL.'assets/img/default-icons/blue_MarkerO.png' ?>" alt=""></a>
281 281
 						</li>
282 282
 						<li>
283
-							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL . 'assets/img/default-icons/blue_MarkerP.png' ?>" alt=""></a>
283
+							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL.'assets/img/default-icons/blue_MarkerP.png' ?>" alt=""></a>
284 284
 						</li>
285 285
 						<li>
286
-							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL . 'assets/img/default-icons/blue_MarkerQ.png' ?>" alt=""></a>
286
+							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL.'assets/img/default-icons/blue_MarkerQ.png' ?>" alt=""></a>
287 287
 						</li>
288 288
 						<li>
289
-							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL . 'assets/img/default-icons/blue_MarkerR.png' ?>" alt=""></a>
289
+							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL.'assets/img/default-icons/blue_MarkerR.png' ?>" alt=""></a>
290 290
 						</li>
291 291
 						<li>
292
-							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL . 'assets/img/default-icons/blue_MarkerS.png' ?>" alt=""></a>
292
+							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL.'assets/img/default-icons/blue_MarkerS.png' ?>" alt=""></a>
293 293
 						</li>
294 294
 						<li>
295
-							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL . 'assets/img/default-icons/blue_MarkerT.png' ?>" alt=""></a>
295
+							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL.'assets/img/default-icons/blue_MarkerT.png' ?>" alt=""></a>
296 296
 						</li>
297 297
 						<li>
298
-							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL . 'assets/img/default-icons/blue_MarkerU.png' ?>" alt=""></a>
298
+							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL.'assets/img/default-icons/blue_MarkerU.png' ?>" alt=""></a>
299 299
 						</li>
300 300
 						<li>
301
-							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL . 'assets/img/default-icons/blue_MarkerV.png' ?>" alt=""></a>
301
+							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL.'assets/img/default-icons/blue_MarkerV.png' ?>" alt=""></a>
302 302
 						</li>
303 303
 						<li>
304
-							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL . 'assets/img/default-icons/blue_MarkerW.png' ?>" alt=""></a>
304
+							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL.'assets/img/default-icons/blue_MarkerW.png' ?>" alt=""></a>
305 305
 						</li>
306 306
 						<li>
307
-							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL . 'assets/img/default-icons/blue_MarkerX.png' ?>" alt=""></a>
307
+							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL.'assets/img/default-icons/blue_MarkerX.png' ?>" alt=""></a>
308 308
 						</li>
309 309
 						<li>
310
-							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL . 'assets/img/default-icons/blue_MarkerY.png' ?>" alt=""></a>
310
+							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL.'assets/img/default-icons/blue_MarkerY.png' ?>" alt=""></a>
311 311
 						</li>
312 312
 						<li>
313
-							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL . 'assets/img/default-icons/blue_MarkerZ.png' ?>" alt=""></a>
313
+							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL.'assets/img/default-icons/blue_MarkerZ.png' ?>" alt=""></a>
314 314
 						</li>
315 315
 						<li>
316
-							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL . 'assets/img/default-icons/brown-blank.png' ?>" alt=""></a>
316
+							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL.'assets/img/default-icons/brown-blank.png' ?>" alt=""></a>
317 317
 						</li>
318 318
 						<li>
319
-							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL . 'assets/img/default-icons/brown-dot.png' ?>" alt=""></a>
319
+							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL.'assets/img/default-icons/brown-dot.png' ?>" alt=""></a>
320 320
 						</li>
321 321
 						<li>
322
-							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL . 'assets/img/default-icons/brown_MarkerA.png' ?>" alt=""></a>
322
+							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL.'assets/img/default-icons/brown_MarkerA.png' ?>" alt=""></a>
323 323
 						</li>
324 324
 						<li>
325
-							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL . 'assets/img/default-icons/brown_MarkerB.png' ?>" alt=""></a>
325
+							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL.'assets/img/default-icons/brown_MarkerB.png' ?>" alt=""></a>
326 326
 						</li>
327 327
 						<li>
328
-							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL . 'assets/img/default-icons/brown_MarkerC.png' ?>" alt=""></a>
328
+							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL.'assets/img/default-icons/brown_MarkerC.png' ?>" alt=""></a>
329 329
 						</li>
330 330
 						<li>
331
-							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL . 'assets/img/default-icons/brown_MarkerD.png' ?>" alt=""></a>
331
+							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL.'assets/img/default-icons/brown_MarkerD.png' ?>" alt=""></a>
332 332
 						</li>
333 333
 						<li>
334
-							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL . 'assets/img/default-icons/brown_MarkerE.png' ?>" alt=""></a>
334
+							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL.'assets/img/default-icons/brown_MarkerE.png' ?>" alt=""></a>
335 335
 						</li>
336 336
 						<li>
337
-							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL . 'assets/img/default-icons/brown_MarkerF.png' ?>" alt=""></a>
337
+							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL.'assets/img/default-icons/brown_MarkerF.png' ?>" alt=""></a>
338 338
 						</li>
339 339
 						<li>
340
-							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL . 'assets/img/default-icons/brown_MarkerG.png' ?>" alt=""></a>
340
+							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL.'assets/img/default-icons/brown_MarkerG.png' ?>" alt=""></a>
341 341
 						</li>
342 342
 						<li>
343
-							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL . 'assets/img/default-icons/brown_MarkerH.png' ?>" alt=""></a>
343
+							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL.'assets/img/default-icons/brown_MarkerH.png' ?>" alt=""></a>
344 344
 						</li>
345 345
 						<li>
346
-							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL . 'assets/img/default-icons/brown_MarkerI.png' ?>" alt=""></a>
346
+							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL.'assets/img/default-icons/brown_MarkerI.png' ?>" alt=""></a>
347 347
 						</li>
348 348
 						<li>
349
-							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL . 'assets/img/default-icons/brown_MarkerJ.png' ?>" alt=""></a>
349
+							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL.'assets/img/default-icons/brown_MarkerJ.png' ?>" alt=""></a>
350 350
 						</li>
351 351
 						<li>
352
-							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL . 'assets/img/default-icons/brown_MarkerK.png' ?>" alt=""></a>
352
+							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL.'assets/img/default-icons/brown_MarkerK.png' ?>" alt=""></a>
353 353
 						</li>
354 354
 						<li>
355
-							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL . 'assets/img/default-icons/brown_MarkerL.png' ?>" alt=""></a>
355
+							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL.'assets/img/default-icons/brown_MarkerL.png' ?>" alt=""></a>
356 356
 						</li>
357 357
 						<li>
358
-							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL . 'assets/img/default-icons/brown_MarkerM.png' ?>" alt=""></a>
358
+							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL.'assets/img/default-icons/brown_MarkerM.png' ?>" alt=""></a>
359 359
 						</li>
360 360
 						<li>
361
-							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL . 'assets/img/default-icons/brown_MarkerN.png' ?>" alt=""></a>
361
+							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL.'assets/img/default-icons/brown_MarkerN.png' ?>" alt=""></a>
362 362
 						</li>
363 363
 						<li>
364
-							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL . 'assets/img/default-icons/brown_MarkerO.png' ?>" alt=""></a>
364
+							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL.'assets/img/default-icons/brown_MarkerO.png' ?>" alt=""></a>
365 365
 						</li>
366 366
 						<li>
367
-							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL . 'assets/img/default-icons/brown_MarkerP.png' ?>" alt=""></a>
367
+							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL.'assets/img/default-icons/brown_MarkerP.png' ?>" alt=""></a>
368 368
 						</li>
369 369
 						<li>
370
-							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL . 'assets/img/default-icons/brown_MarkerQ.png' ?>" alt=""></a>
370
+							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL.'assets/img/default-icons/brown_MarkerQ.png' ?>" alt=""></a>
371 371
 						</li>
372 372
 						<li>
373
-							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL . 'assets/img/default-icons/brown_MarkerR.png' ?>" alt=""></a>
373
+							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL.'assets/img/default-icons/brown_MarkerR.png' ?>" alt=""></a>
374 374
 						</li>
375 375
 						<li>
376
-							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL . 'assets/img/default-icons/brown_MarkerS.png' ?>" alt=""></a>
376
+							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL.'assets/img/default-icons/brown_MarkerS.png' ?>" alt=""></a>
377 377
 						</li>
378 378
 						<li>
379
-							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL . 'assets/img/default-icons/brown_MarkerT.png' ?>" alt=""></a>
379
+							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL.'assets/img/default-icons/brown_MarkerT.png' ?>" alt=""></a>
380 380
 						</li>
381 381
 						<li>
382
-							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL . 'assets/img/default-icons/brown_MarkerU.png' ?>" alt=""></a>
382
+							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL.'assets/img/default-icons/brown_MarkerU.png' ?>" alt=""></a>
383 383
 						</li>
384 384
 						<li>
385
-							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL . 'assets/img/default-icons/brown_MarkerV.png' ?>" alt=""></a>
385
+							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL.'assets/img/default-icons/brown_MarkerV.png' ?>" alt=""></a>
386 386
 						</li>
387 387
 						<li>
388
-							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL . 'assets/img/default-icons/brown_MarkerW.png' ?>" alt=""></a>
388
+							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL.'assets/img/default-icons/brown_MarkerW.png' ?>" alt=""></a>
389 389
 						</li>
390 390
 						<li>
391
-							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL . 'assets/img/default-icons/brown_MarkerX.png' ?>" alt=""></a>
391
+							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL.'assets/img/default-icons/brown_MarkerX.png' ?>" alt=""></a>
392 392
 						</li>
393 393
 						<li>
394
-							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL . 'assets/img/default-icons/brown_MarkerY.png' ?>" alt=""></a>
394
+							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL.'assets/img/default-icons/brown_MarkerY.png' ?>" alt=""></a>
395 395
 						</li>
396 396
 						<li>
397
-							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL . 'assets/img/default-icons/brown_MarkerZ.png' ?>" alt=""></a>
397
+							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL.'assets/img/default-icons/brown_MarkerZ.png' ?>" alt=""></a>
398 398
 						</li>
399 399
 						<li>
400
-							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL . 'assets/img/default-icons/darkgreen-blank.png' ?>" alt=""></a>
400
+							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL.'assets/img/default-icons/darkgreen-blank.png' ?>" alt=""></a>
401 401
 						</li>
402 402
 						<li>
403
-							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL . 'assets/img/default-icons/darkgreen-dot.png' ?>" alt=""></a>
403
+							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL.'assets/img/default-icons/darkgreen-dot.png' ?>" alt=""></a>
404 404
 						</li>
405 405
 						<li>
406
-							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL . 'assets/img/default-icons/darkgreen_MarkerA.png' ?>" alt=""></a>
406
+							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL.'assets/img/default-icons/darkgreen_MarkerA.png' ?>" alt=""></a>
407 407
 						</li>
408 408
 						<li>
409
-							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL . 'assets/img/default-icons/darkgreen_MarkerB.png' ?>" alt=""></a>
409
+							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL.'assets/img/default-icons/darkgreen_MarkerB.png' ?>" alt=""></a>
410 410
 						</li>
411 411
 						<li>
412
-							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL . 'assets/img/default-icons/darkgreen_MarkerC.png' ?>" alt=""></a>
412
+							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL.'assets/img/default-icons/darkgreen_MarkerC.png' ?>" alt=""></a>
413 413
 						</li>
414 414
 						<li>
415
-							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL . 'assets/img/default-icons/darkgreen_MarkerD.png' ?>" alt=""></a>
415
+							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL.'assets/img/default-icons/darkgreen_MarkerD.png' ?>" alt=""></a>
416 416
 						</li>
417 417
 						<li>
418
-							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL . 'assets/img/default-icons/darkgreen_MarkerE.png' ?>" alt=""></a>
418
+							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL.'assets/img/default-icons/darkgreen_MarkerE.png' ?>" alt=""></a>
419 419
 						</li>
420 420
 						<li>
421
-							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL . 'assets/img/default-icons/darkgreen_MarkerF.png' ?>" alt=""></a>
421
+							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL.'assets/img/default-icons/darkgreen_MarkerF.png' ?>" alt=""></a>
422 422
 						</li>
423 423
 						<li>
424
-							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL . 'assets/img/default-icons/darkgreen_MarkerG.png' ?>" alt=""></a>
424
+							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL.'assets/img/default-icons/darkgreen_MarkerG.png' ?>" alt=""></a>
425 425
 						</li>
426 426
 						<li>
427
-							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL . 'assets/img/default-icons/darkgreen_MarkerH.png' ?>" alt=""></a>
427
+							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL.'assets/img/default-icons/darkgreen_MarkerH.png' ?>" alt=""></a>
428 428
 						</li>
429 429
 						<li>
430
-							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL . 'assets/img/default-icons/darkgreen_MarkerI.png' ?>" alt=""></a>
430
+							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL.'assets/img/default-icons/darkgreen_MarkerI.png' ?>" alt=""></a>
431 431
 						</li>
432 432
 						<li>
433
-							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL . 'assets/img/default-icons/darkgreen_MarkerJ.png' ?>" alt=""></a>
433
+							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL.'assets/img/default-icons/darkgreen_MarkerJ.png' ?>" alt=""></a>
434 434
 						</li>
435 435
 						<li>
436
-							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL . 'assets/img/default-icons/darkgreen_MarkerK.png' ?>" alt=""></a>
436
+							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL.'assets/img/default-icons/darkgreen_MarkerK.png' ?>" alt=""></a>
437 437
 						</li>
438 438
 						<li>
439
-							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL . 'assets/img/default-icons/darkgreen_MarkerL.png' ?>" alt=""></a>
439
+							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL.'assets/img/default-icons/darkgreen_MarkerL.png' ?>" alt=""></a>
440 440
 						</li>
441 441
 						<li>
442
-							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL . 'assets/img/default-icons/darkgreen_MarkerM.png' ?>" alt=""></a>
442
+							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL.'assets/img/default-icons/darkgreen_MarkerM.png' ?>" alt=""></a>
443 443
 						</li>
444 444
 						<li>
445
-							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL . 'assets/img/default-icons/darkgreen_MarkerN.png' ?>" alt=""></a>
445
+							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL.'assets/img/default-icons/darkgreen_MarkerN.png' ?>" alt=""></a>
446 446
 						</li>
447 447
 						<li>
448
-							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL . 'assets/img/default-icons/darkgreen_MarkerO.png' ?>" alt=""></a>
448
+							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL.'assets/img/default-icons/darkgreen_MarkerO.png' ?>" alt=""></a>
449 449
 						</li>
450 450
 						<li>
451
-							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL . 'assets/img/default-icons/darkgreen_MarkerP.png' ?>" alt=""></a>
451
+							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL.'assets/img/default-icons/darkgreen_MarkerP.png' ?>" alt=""></a>
452 452
 						</li>
453 453
 						<li>
454
-							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL . 'assets/img/default-icons/darkgreen_MarkerQ.png' ?>" alt=""></a>
454
+							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL.'assets/img/default-icons/darkgreen_MarkerQ.png' ?>" alt=""></a>
455 455
 						</li>
456 456
 						<li>
457
-							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL . 'assets/img/default-icons/darkgreen_MarkerR.png' ?>" alt=""></a>
457
+							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL.'assets/img/default-icons/darkgreen_MarkerR.png' ?>" alt=""></a>
458 458
 						</li>
459 459
 						<li>
460
-							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL . 'assets/img/default-icons/darkgreen_MarkerS.png' ?>" alt=""></a>
460
+							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL.'assets/img/default-icons/darkgreen_MarkerS.png' ?>" alt=""></a>
461 461
 						</li>
462 462
 						<li>
463
-							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL . 'assets/img/default-icons/darkgreen_MarkerT.png' ?>" alt=""></a>
463
+							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL.'assets/img/default-icons/darkgreen_MarkerT.png' ?>" alt=""></a>
464 464
 						</li>
465 465
 						<li>
466
-							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL . 'assets/img/default-icons/darkgreen_MarkerU.png' ?>" alt=""></a>
466
+							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL.'assets/img/default-icons/darkgreen_MarkerU.png' ?>" alt=""></a>
467 467
 						</li>
468 468
 						<li>
469
-							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL . 'assets/img/default-icons/darkgreen_MarkerV.png' ?>" alt=""></a>
469
+							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL.'assets/img/default-icons/darkgreen_MarkerV.png' ?>" alt=""></a>
470 470
 						</li>
471 471
 						<li>
472
-							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL . 'assets/img/default-icons/darkgreen_MarkerW.png' ?>" alt=""></a>
472
+							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL.'assets/img/default-icons/darkgreen_MarkerW.png' ?>" alt=""></a>
473 473
 						</li>
474 474
 						<li>
475
-							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL . 'assets/img/default-icons/darkgreen_MarkerX.png' ?>" alt=""></a>
475
+							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL.'assets/img/default-icons/darkgreen_MarkerX.png' ?>" alt=""></a>
476 476
 						</li>
477 477
 						<li>
478
-							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL . 'assets/img/default-icons/darkgreen_MarkerY.png' ?>" alt=""></a>
478
+							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL.'assets/img/default-icons/darkgreen_MarkerY.png' ?>" alt=""></a>
479 479
 						</li>
480 480
 						<li>
481
-							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL . 'assets/img/default-icons/darkgreen_MarkerZ.png' ?>" alt=""></a>
481
+							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL.'assets/img/default-icons/darkgreen_MarkerZ.png' ?>" alt=""></a>
482 482
 						</li>
483 483
 						<li>
484
-							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL . 'assets/img/default-icons/green-blank.png' ?>" alt=""></a>
484
+							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL.'assets/img/default-icons/green-blank.png' ?>" alt=""></a>
485 485
 						</li>
486 486
 						<li>
487
-							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL . 'assets/img/default-icons/green-dot.png' ?>" alt=""></a>
487
+							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL.'assets/img/default-icons/green-dot.png' ?>" alt=""></a>
488 488
 						</li>
489 489
 						<li>
490
-							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL . 'assets/img/default-icons/green_MarkerA.png' ?>" alt=""></a>
490
+							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL.'assets/img/default-icons/green_MarkerA.png' ?>" alt=""></a>
491 491
 						</li>
492 492
 						<li>
493
-							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL . 'assets/img/default-icons/green_MarkerB.png' ?>" alt=""></a>
493
+							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL.'assets/img/default-icons/green_MarkerB.png' ?>" alt=""></a>
494 494
 						</li>
495 495
 						<li>
496
-							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL . 'assets/img/default-icons/green_MarkerC.png' ?>" alt=""></a>
496
+							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL.'assets/img/default-icons/green_MarkerC.png' ?>" alt=""></a>
497 497
 						</li>
498 498
 						<li>
499
-							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL . 'assets/img/default-icons/green_MarkerD.png' ?>" alt=""></a>
499
+							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL.'assets/img/default-icons/green_MarkerD.png' ?>" alt=""></a>
500 500
 						</li>
501 501
 						<li>
502
-							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL . 'assets/img/default-icons/green_MarkerE.png' ?>" alt=""></a>
502
+							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL.'assets/img/default-icons/green_MarkerE.png' ?>" alt=""></a>
503 503
 						</li>
504 504
 						<li>
505
-							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL . 'assets/img/default-icons/green_MarkerF.png' ?>" alt=""></a>
505
+							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL.'assets/img/default-icons/green_MarkerF.png' ?>" alt=""></a>
506 506
 						</li>
507 507
 						<li>
508
-							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL . 'assets/img/default-icons/green_MarkerG.png' ?>" alt=""></a>
508
+							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL.'assets/img/default-icons/green_MarkerG.png' ?>" alt=""></a>
509 509
 						</li>
510 510
 						<li>
511
-							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL . 'assets/img/default-icons/green_MarkerH.png' ?>" alt=""></a>
511
+							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL.'assets/img/default-icons/green_MarkerH.png' ?>" alt=""></a>
512 512
 						</li>
513 513
 						<li>
514
-							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL . 'assets/img/default-icons/green_MarkerI.png' ?>" alt=""></a>
514
+							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL.'assets/img/default-icons/green_MarkerI.png' ?>" alt=""></a>
515 515
 						</li>
516 516
 						<li>
517
-							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL . 'assets/img/default-icons/green_MarkerJ.png' ?>" alt=""></a>
517
+							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL.'assets/img/default-icons/green_MarkerJ.png' ?>" alt=""></a>
518 518
 						</li>
519 519
 						<li>
520
-							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL . 'assets/img/default-icons/green_MarkerK.png' ?>" alt=""></a>
520
+							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL.'assets/img/default-icons/green_MarkerK.png' ?>" alt=""></a>
521 521
 						</li>
522 522
 						<li>
523
-							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL . 'assets/img/default-icons/green_MarkerL.png' ?>" alt=""></a>
523
+							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL.'assets/img/default-icons/green_MarkerL.png' ?>" alt=""></a>
524 524
 						</li>
525 525
 						<li>
526
-							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL . 'assets/img/default-icons/green_MarkerM.png' ?>" alt=""></a>
526
+							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL.'assets/img/default-icons/green_MarkerM.png' ?>" alt=""></a>
527 527
 						</li>
528 528
 						<li>
529
-							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL . 'assets/img/default-icons/green_MarkerN.png' ?>" alt=""></a>
529
+							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL.'assets/img/default-icons/green_MarkerN.png' ?>" alt=""></a>
530 530
 						</li>
531 531
 						<li>
532
-							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL . 'assets/img/default-icons/green_MarkerO.png' ?>" alt=""></a>
532
+							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL.'assets/img/default-icons/green_MarkerO.png' ?>" alt=""></a>
533 533
 						</li>
534 534
 						<li>
535
-							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL . 'assets/img/default-icons/green_MarkerP.png' ?>" alt=""></a>
535
+							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL.'assets/img/default-icons/green_MarkerP.png' ?>" alt=""></a>
536 536
 						</li>
537 537
 						<li>
538
-							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL . 'assets/img/default-icons/green_MarkerQ.png' ?>" alt=""></a>
538
+							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL.'assets/img/default-icons/green_MarkerQ.png' ?>" alt=""></a>
539 539
 						</li>
540 540
 						<li>
541
-							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL . 'assets/img/default-icons/green_MarkerR.png' ?>" alt=""></a>
541
+							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL.'assets/img/default-icons/green_MarkerR.png' ?>" alt=""></a>
542 542
 						</li>
543 543
 						<li>
544
-							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL . 'assets/img/default-icons/green_MarkerS.png' ?>" alt=""></a>
544
+							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL.'assets/img/default-icons/green_MarkerS.png' ?>" alt=""></a>
545 545
 						</li>
546 546
 						<li>
547
-							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL . 'assets/img/default-icons/green_MarkerT.png' ?>" alt=""></a>
547
+							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL.'assets/img/default-icons/green_MarkerT.png' ?>" alt=""></a>
548 548
 						</li>
549 549
 						<li>
550
-							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL . 'assets/img/default-icons/green_MarkerU.png' ?>" alt=""></a>
550
+							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL.'assets/img/default-icons/green_MarkerU.png' ?>" alt=""></a>
551 551
 						</li>
552 552
 						<li>
553
-							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL . 'assets/img/default-icons/green_MarkerV.png' ?>" alt=""></a>
553
+							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL.'assets/img/default-icons/green_MarkerV.png' ?>" alt=""></a>
554 554
 						</li>
555 555
 						<li>
556
-							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL . 'assets/img/default-icons/green_MarkerW.png' ?>" alt=""></a>
556
+							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL.'assets/img/default-icons/green_MarkerW.png' ?>" alt=""></a>
557 557
 						</li>
558 558
 						<li>
559
-							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL . 'assets/img/default-icons/green_MarkerX.png' ?>" alt=""></a>
559
+							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL.'assets/img/default-icons/green_MarkerX.png' ?>" alt=""></a>
560 560
 						</li>
561 561
 						<li>
562
-							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL . 'assets/img/default-icons/green_MarkerY.png' ?>" alt=""></a>
562
+							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL.'assets/img/default-icons/green_MarkerY.png' ?>" alt=""></a>
563 563
 						</li>
564 564
 						<li>
565
-							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL . 'assets/img/default-icons/orange-blank.png' ?>" alt=""></a>
565
+							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL.'assets/img/default-icons/orange-blank.png' ?>" alt=""></a>
566 566
 						</li>
567 567
 						<li>
568
-							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL . 'assets/img/default-icons/orange-dot.png' ?>" alt=""></a>
568
+							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL.'assets/img/default-icons/orange-dot.png' ?>" alt=""></a>
569 569
 						</li>
570 570
 						<li>
571
-							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL . 'assets/img/default-icons/orange_MarkerA.png' ?>" alt=""></a>
571
+							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL.'assets/img/default-icons/orange_MarkerA.png' ?>" alt=""></a>
572 572
 						</li>
573 573
 						<li>
574
-							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL . 'assets/img/default-icons/orange_MarkerB.png' ?>" alt=""></a>
574
+							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL.'assets/img/default-icons/orange_MarkerB.png' ?>" alt=""></a>
575 575
 						</li>
576 576
 						<li>
577
-							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL . 'assets/img/default-icons/orange_MarkerC.png' ?>" alt=""></a>
577
+							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL.'assets/img/default-icons/orange_MarkerC.png' ?>" alt=""></a>
578 578
 						</li>
579 579
 						<li>
580
-							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL . 'assets/img/default-icons/orange_MarkerD.png' ?>" alt=""></a>
580
+							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL.'assets/img/default-icons/orange_MarkerD.png' ?>" alt=""></a>
581 581
 						</li>
582 582
 						<li>
583
-							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL . 'assets/img/default-icons/orange_MarkerE.png' ?>" alt=""></a>
583
+							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL.'assets/img/default-icons/orange_MarkerE.png' ?>" alt=""></a>
584 584
 						</li>
585 585
 						<li>
586
-							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL . 'assets/img/default-icons/orange_MarkerF.png' ?>" alt=""></a>
586
+							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL.'assets/img/default-icons/orange_MarkerF.png' ?>" alt=""></a>
587 587
 						</li>
588 588
 						<li>
589
-							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL . 'assets/img/default-icons/orange_MarkerG.png' ?>" alt=""></a>
589
+							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL.'assets/img/default-icons/orange_MarkerG.png' ?>" alt=""></a>
590 590
 						</li>
591 591
 						<li>
592
-							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL . 'assets/img/default-icons/orange_MarkerH.png' ?>" alt=""></a>
592
+							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL.'assets/img/default-icons/orange_MarkerH.png' ?>" alt=""></a>
593 593
 						</li>
594 594
 						<li>
595
-							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL . 'assets/img/default-icons/orange_MarkerI.png' ?>" alt=""></a>
595
+							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL.'assets/img/default-icons/orange_MarkerI.png' ?>" alt=""></a>
596 596
 						</li>
597 597
 						<li>
598
-							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL . 'assets/img/default-icons/orange_MarkerJ.png' ?>" alt=""></a>
598
+							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL.'assets/img/default-icons/orange_MarkerJ.png' ?>" alt=""></a>
599 599
 						</li>
600 600
 						<li>
601
-							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL . 'assets/img/default-icons/orange_MarkerK.png' ?>" alt=""></a>
601
+							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL.'assets/img/default-icons/orange_MarkerK.png' ?>" alt=""></a>
602 602
 						</li>
603 603
 						<li>
604
-							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL . 'assets/img/default-icons/orange_MarkerL.png' ?>" alt=""></a>
604
+							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL.'assets/img/default-icons/orange_MarkerL.png' ?>" alt=""></a>
605 605
 						</li>
606 606
 						<li>
607
-							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL . 'assets/img/default-icons/orange_MarkerM.png' ?>" alt=""></a>
607
+							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL.'assets/img/default-icons/orange_MarkerM.png' ?>" alt=""></a>
608 608
 						</li>
609 609
 						<li>
610
-							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL . 'assets/img/default-icons/orange_MarkerN.png' ?>" alt=""></a>
610
+							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL.'assets/img/default-icons/orange_MarkerN.png' ?>" alt=""></a>
611 611
 						</li>
612 612
 						<li>
613
-							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL . 'assets/img/default-icons/orange_MarkerO.png' ?>" alt=""></a>
613
+							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL.'assets/img/default-icons/orange_MarkerO.png' ?>" alt=""></a>
614 614
 						</li>
615 615
 						<li>
616
-							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL . 'assets/img/default-icons/orange_MarkerP.png' ?>" alt=""></a>
616
+							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL.'assets/img/default-icons/orange_MarkerP.png' ?>" alt=""></a>
617 617
 						</li>
618 618
 						<li>
619
-							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL . 'assets/img/default-icons/orange_MarkerQ.png' ?>" alt=""></a>
619
+							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL.'assets/img/default-icons/orange_MarkerQ.png' ?>" alt=""></a>
620 620
 						</li>
621 621
 						<li>
622
-							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL . 'assets/img/default-icons/orange_MarkerR.png' ?>" alt=""></a>
622
+							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL.'assets/img/default-icons/orange_MarkerR.png' ?>" alt=""></a>
623 623
 						</li>
624 624
 						<li>
625
-							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL . 'assets/img/default-icons/orange_MarkerS.png' ?>" alt=""></a>
625
+							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL.'assets/img/default-icons/orange_MarkerS.png' ?>" alt=""></a>
626 626
 						</li>
627 627
 						<li>
628
-							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL . 'assets/img/default-icons/orange_MarkerT.png' ?>" alt=""></a>
628
+							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL.'assets/img/default-icons/orange_MarkerT.png' ?>" alt=""></a>
629 629
 						</li>
630 630
 						<li>
631
-							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL . 'assets/img/default-icons/orange_MarkerU.png' ?>" alt=""></a>
631
+							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL.'assets/img/default-icons/orange_MarkerU.png' ?>" alt=""></a>
632 632
 						</li>
633 633
 						<li>
634
-							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL . 'assets/img/default-icons/orange_MarkerV.png' ?>" alt=""></a>
634
+							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL.'assets/img/default-icons/orange_MarkerV.png' ?>" alt=""></a>
635 635
 						</li>
636 636
 						<li>
637
-							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL . 'assets/img/default-icons/orange_MarkerW.png' ?>" alt=""></a>
637
+							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL.'assets/img/default-icons/orange_MarkerW.png' ?>" alt=""></a>
638 638
 						</li>
639 639
 						<li>
640
-							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL . 'assets/img/default-icons/orange_MarkerX.png' ?>" alt=""></a>
640
+							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL.'assets/img/default-icons/orange_MarkerX.png' ?>" alt=""></a>
641 641
 						</li>
642 642
 						<li>
643
-							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL . 'assets/img/default-icons/orange_MarkerY.png' ?>" alt=""></a>
643
+							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL.'assets/img/default-icons/orange_MarkerY.png' ?>" alt=""></a>
644 644
 						</li>
645 645
 						<li>
646
-							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL . 'assets/img/default-icons/orange_MarkerZ.png' ?>" alt=""></a>
646
+							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL.'assets/img/default-icons/orange_MarkerZ.png' ?>" alt=""></a>
647 647
 						</li>
648 648
 						<li>
649
-							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL . 'assets/img/default-icons/paleblue-blank.png' ?>" alt=""></a>
649
+							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL.'assets/img/default-icons/paleblue-blank.png' ?>" alt=""></a>
650 650
 						</li>
651 651
 						<li>
652
-							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL . 'assets/img/default-icons/paleblue-dot.png' ?>" alt=""></a>
652
+							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL.'assets/img/default-icons/paleblue-dot.png' ?>" alt=""></a>
653 653
 						</li>
654 654
 						<li>
655
-							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL . 'assets/img/default-icons/paleblue_MarkerA.png' ?>" alt=""></a>
655
+							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL.'assets/img/default-icons/paleblue_MarkerA.png' ?>" alt=""></a>
656 656
 						</li>
657 657
 						<li>
658
-							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL . 'assets/img/default-icons/paleblue_MarkerB.png' ?>" alt=""></a>
658
+							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL.'assets/img/default-icons/paleblue_MarkerB.png' ?>" alt=""></a>
659 659
 						</li>
660 660
 						<li>
661
-							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL . 'assets/img/default-icons/paleblue_MarkerC.png' ?>" alt=""></a>
661
+							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL.'assets/img/default-icons/paleblue_MarkerC.png' ?>" alt=""></a>
662 662
 						</li>
663 663
 						<li>
664
-							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL . 'assets/img/default-icons/paleblue_MarkerD.png' ?>" alt=""></a>
664
+							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL.'assets/img/default-icons/paleblue_MarkerD.png' ?>" alt=""></a>
665 665
 						</li>
666 666
 						<li>
667
-							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL . 'assets/img/default-icons/paleblue_MarkerE.png' ?>" alt=""></a>
667
+							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL.'assets/img/default-icons/paleblue_MarkerE.png' ?>" alt=""></a>
668 668
 						</li>
669 669
 						<li>
670
-							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL . 'assets/img/default-icons/paleblue_MarkerF.png' ?>" alt=""></a>
670
+							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL.'assets/img/default-icons/paleblue_MarkerF.png' ?>" alt=""></a>
671 671
 						</li>
672 672
 						<li>
673
-							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL . 'assets/img/default-icons/paleblue_MarkerG.png' ?>" alt=""></a>
673
+							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL.'assets/img/default-icons/paleblue_MarkerG.png' ?>" alt=""></a>
674 674
 						</li>
675 675
 						<li>
676
-							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL . 'assets/img/default-icons/paleblue_MarkerH.png' ?>" alt=""></a>
676
+							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL.'assets/img/default-icons/paleblue_MarkerH.png' ?>" alt=""></a>
677 677
 						</li>
678 678
 						<li>
679
-							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL . 'assets/img/default-icons/paleblue_MarkerI.png' ?>" alt=""></a>
679
+							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL.'assets/img/default-icons/paleblue_MarkerI.png' ?>" alt=""></a>
680 680
 						</li>
681 681
 						<li>
682
-							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL . 'assets/img/default-icons/paleblue_MarkerJ.png' ?>" alt=""></a>
682
+							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL.'assets/img/default-icons/paleblue_MarkerJ.png' ?>" alt=""></a>
683 683
 						</li>
684 684
 						<li>
685
-							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL . 'assets/img/default-icons/paleblue_MarkerK.png' ?>" alt=""></a>
685
+							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL.'assets/img/default-icons/paleblue_MarkerK.png' ?>" alt=""></a>
686 686
 						</li>
687 687
 						<li>
688
-							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL . 'assets/img/default-icons/paleblue_MarkerL.png' ?>" alt=""></a>
688
+							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL.'assets/img/default-icons/paleblue_MarkerL.png' ?>" alt=""></a>
689 689
 						</li>
690 690
 						<li>
691
-							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL . 'assets/img/default-icons/paleblue_MarkerM.png' ?>" alt=""></a>
691
+							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL.'assets/img/default-icons/paleblue_MarkerM.png' ?>" alt=""></a>
692 692
 						</li>
693 693
 						<li>
694
-							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL . 'assets/img/default-icons/paleblue_MarkerN.png' ?>" alt=""></a>
694
+							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL.'assets/img/default-icons/paleblue_MarkerN.png' ?>" alt=""></a>
695 695
 						</li>
696 696
 						<li>
697
-							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL . 'assets/img/default-icons/paleblue_MarkerO.png' ?>" alt=""></a>
697
+							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL.'assets/img/default-icons/paleblue_MarkerO.png' ?>" alt=""></a>
698 698
 						</li>
699 699
 						<li>
700
-							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL . 'assets/img/default-icons/paleblue_MarkerP.png' ?>" alt=""></a>
700
+							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL.'assets/img/default-icons/paleblue_MarkerP.png' ?>" alt=""></a>
701 701
 						</li>
702 702
 						<li>
703
-							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL . 'assets/img/default-icons/paleblue_MarkerQ.png' ?>" alt=""></a>
703
+							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL.'assets/img/default-icons/paleblue_MarkerQ.png' ?>" alt=""></a>
704 704
 						</li>
705 705
 						<li>
706
-							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL . 'assets/img/default-icons/paleblue_MarkerR.png' ?>" alt=""></a>
706
+							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL.'assets/img/default-icons/paleblue_MarkerR.png' ?>" alt=""></a>
707 707
 						</li>
708 708
 						<li>
709
-							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL . 'assets/img/default-icons/paleblue_MarkerS.png' ?>" alt=""></a>
709
+							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL.'assets/img/default-icons/paleblue_MarkerS.png' ?>" alt=""></a>
710 710
 						</li>
711 711
 						<li>
712
-							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL . 'assets/img/default-icons/paleblue_MarkerT.png' ?>" alt=""></a>
712
+							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL.'assets/img/default-icons/paleblue_MarkerT.png' ?>" alt=""></a>
713 713
 						</li>
714 714
 						<li>
715
-							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL . 'assets/img/default-icons/paleblue_MarkerU.png' ?>" alt=""></a>
715
+							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL.'assets/img/default-icons/paleblue_MarkerU.png' ?>" alt=""></a>
716 716
 						</li>
717 717
 						<li>
718
-							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL . 'assets/img/default-icons/paleblue_MarkerV.png' ?>" alt=""></a>
718
+							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL.'assets/img/default-icons/paleblue_MarkerV.png' ?>" alt=""></a>
719 719
 						</li>
720 720
 						<li>
721
-							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL . 'assets/img/default-icons/paleblue_MarkerW.png' ?>" alt=""></a>
721
+							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL.'assets/img/default-icons/paleblue_MarkerW.png' ?>" alt=""></a>
722 722
 						</li>
723 723
 						<li>
724
-							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL . 'assets/img/default-icons/paleblue_MarkerX.png' ?>" alt=""></a>
724
+							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL.'assets/img/default-icons/paleblue_MarkerX.png' ?>" alt=""></a>
725 725
 						</li>
726 726
 						<li>
727
-							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL . 'assets/img/default-icons/paleblue_MarkerY.png' ?>" alt=""></a>
727
+							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL.'assets/img/default-icons/paleblue_MarkerY.png' ?>" alt=""></a>
728 728
 						</li>
729 729
 						<li>
730
-							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL . 'assets/img/default-icons/paleblue_MarkerZ.png' ?>" alt=""></a>
730
+							<a href="#" class="maps-icon"><img src="<?php echo GMB_PLUGIN_URL.'assets/img/default-icons/paleblue_MarkerZ.png' ?>" alt=""></a>
731 731
 						</li>
732 732
 					</ul>
733 733
 				</div>
734 734
 
735 735
 				<div class="save-marker-icon clear">
736
-					<p class="save-text"><?php _e( 'Marker is ready to be set.', $this->plugin_slug ); ?></p>
736
+					<p class="save-text"><?php _e('Marker is ready to be set.', $this->plugin_slug); ?></p>
737 737
 					<button class="button button-primary button-large save-marker-button" data-marker="" data-marker-color="#428BCA" data-label="" data-label-color="#FFFFFF" data-marker-index="">Set Marker</button>
738 738
 				</div>
739 739
 
Please login to merge, or discard this patch.
includes/admin/views/tab-map-options.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
 
19 19
 			<h3><?php _e('Default Map Settings', $this->plugin_slug); ?></h3>
20 20
 			<p><?php _e('The following settings allow you to customize how Google Maps Builder functions within WordPress.', $this->plugin_slug); ?></p>
21
-			<?php cmb2_metabox_form( $this->map_option_fields(), self::$key ); ?>
21
+			<?php cmb2_metabox_form($this->map_option_fields(), self::$key); ?>
22 22
 		</div>
23 23
 
24 24
 		<div class="gmb-col-md-2">
Please login to merge, or discard this patch.
includes/admin/views/social-media.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@  discard block
 block discarded – undo
33 33
 	<!--/.google-plus -->
34 34
 
35 35
 	<div class="wordimpress-logo">
36
-		<a href="https://wordimpress.com/" title="<?php _e( 'Visit the Developers site of Google Maps Builder', $this->plugin_slug ); ?>" target="_blank" class="logo-link"></a>
36
+		<a href="https://wordimpress.com/" title="<?php _e('Visit the Developers site of Google Maps Builder', $this->plugin_slug); ?>" target="_blank" class="logo-link"></a>
37 37
 	</div>
38 38
 
39 39
 	<div class="go-pro">
@@ -44,5 +44,5 @@  discard block
 block discarded – undo
44 44
 <!-- /.social-items-wrap -->
45 45
 
46 46
 
47
-<a href="#" class="hide-welcome" title="<?php _e( 'Hide the Google Maps Builder Welcome Message', $this->plugin_slug ); ?>"><?php _e( 'Hide Welcome', $this->plugin_slug ); ?>
47
+<a href="#" class="hide-welcome" title="<?php _e('Hide the Google Maps Builder Welcome Message', $this->plugin_slug); ?>"><?php _e('Hide Welcome', $this->plugin_slug); ?>
48 48
 	<span></span></a>
Please login to merge, or discard this patch.
includes/admin/upgrades/upgrade-functions.php 1 patch
Spacing   +43 added lines, -43 removed lines patch added patch discarded remove patch
@@ -7,7 +7,7 @@  discard block
 block discarded – undo
7 7
  */
8 8
 
9 9
 // Exit if accessed directly
10
-if ( ! defined( 'ABSPATH' ) ) {
10
+if ( ! defined('ABSPATH')) {
11 11
 	exit;
12 12
 }
13 13
 
@@ -23,31 +23,31 @@  discard block
 block discarded – undo
23 23
 	//delete_option( 'gmb_refid_upgraded' );
24 24
 
25 25
 	// Don't show notices on the upgrades page
26
-	if ( isset( $_GET['page'] ) && $_GET['page'] == 'gmb-upgrades' ) {
26
+	if (isset($_GET['page']) && $_GET['page'] == 'gmb-upgrades') {
27 27
 		return;
28 28
 	}
29 29
 
30 30
 	//Check to see if we have any posts
31
-	$gmb_posts = get_posts( array( 'post_type' => 'google_maps', 'posts_per_page' => 10 ) );
32
-	if(empty($gmb_posts)){
33
-		update_option( 'gmb_refid_upgraded', 'upgraded' );//mark as updated
31
+	$gmb_posts = get_posts(array('post_type' => 'google_maps', 'posts_per_page' => 10));
32
+	if (empty($gmb_posts)) {
33
+		update_option('gmb_refid_upgraded', 'upgraded'); //mark as updated
34 34
 		return; //Don't run if there's no posts!
35 35
 	}
36 36
 
37
-	$gmb_version = get_option( 'gmb_version' );
37
+	$gmb_version = get_option('gmb_version');
38 38
 
39
-	if ( ! $gmb_version ) {
39
+	if ( ! $gmb_version) {
40 40
 		// 2.0 is the first version to use this option so we must add it
41 41
 		$gmb_version = '2.0';
42 42
 	}
43
-	update_option( 'gmb_version', GMB_VERSION );
43
+	update_option('gmb_version', GMB_VERSION);
44 44
 
45
-	$gmb_version = preg_replace( '/[^0-9.].*/', '', $gmb_version );
45
+	$gmb_version = preg_replace('/[^0-9.].*/', '', $gmb_version);
46 46
 
47
-	if ( version_compare( $gmb_version, '2.0', '<=' ) && ! get_option( 'gmb_refid_upgraded' ) ) {
47
+	if (version_compare($gmb_version, '2.0', '<=') && ! get_option('gmb_refid_upgraded')) {
48 48
 		printf(
49
-			'<div class="updated"><p><strong>Google Maps Builder Notice:</strong> ' . esc_html__( 'Google has updated their Maps API to use the new Google Places ID rather than previous Reference ID. The old method will soon be deprecated and eventually go offline. We are being proactive and would like to update your maps to use the new Places ID. Once you upgrade, your maps should work just fine but remember to make a backup prior to upgrading. If you choose not to upgrade Google will eventually take the old reference ID offline (no date has been given). Please contact WordImpress support via our website if you have any further questions or issues. %sClick here to upgrade your maps to use the new Places ID%s', 'gmb' ) . '</p></div>',
50
-			'<br><a href="' . esc_url( admin_url( 'options.php?page=gmb-upgrades' ) ) . '" class="button button-primary" style="margin-top:10px;">',
49
+			'<div class="updated"><p><strong>Google Maps Builder Notice:</strong> '.esc_html__('Google has updated their Maps API to use the new Google Places ID rather than previous Reference ID. The old method will soon be deprecated and eventually go offline. We are being proactive and would like to update your maps to use the new Places ID. Once you upgrade, your maps should work just fine but remember to make a backup prior to upgrading. If you choose not to upgrade Google will eventually take the old reference ID offline (no date has been given). Please contact WordImpress support via our website if you have any further questions or issues. %sClick here to upgrade your maps to use the new Places ID%s', 'gmb').'</p></div>',
50
+			'<br><a href="'.esc_url(admin_url('options.php?page=gmb-upgrades')).'" class="button button-primary" style="margin-top:10px;">',
51 51
 			'</a>'
52 52
 		);
53 53
 	}
@@ -55,7 +55,7 @@  discard block
 block discarded – undo
55 55
 
56 56
 }
57 57
 
58
-add_action( 'admin_notices', 'gmb_show_upgrade_notices' );
58
+add_action('admin_notices', 'gmb_show_upgrade_notices');
59 59
 
60 60
 
61 61
 /**
@@ -67,11 +67,11 @@  discard block
 block discarded – undo
67 67
  */
68 68
 function gmb_add_upgrade_submenu_page() {
69 69
 
70
-	$gmb_upgrades_screen = add_submenu_page( null, __( 'Maps Builder Upgrades', 'gmb' ), __( 'Maps Builder Upgrades', 'gmb' ), 'activate_plugins', 'gmb-upgrades', 'gmb_upgrades_screen' );
70
+	$gmb_upgrades_screen = add_submenu_page(null, __('Maps Builder Upgrades', 'gmb'), __('Maps Builder Upgrades', 'gmb'), 'activate_plugins', 'gmb-upgrades', 'gmb_upgrades_screen');
71 71
 
72 72
 }
73 73
 
74
-add_action( 'admin_menu', 'gmb_add_upgrade_submenu_page', 10 );
74
+add_action('admin_menu', 'gmb_add_upgrade_submenu_page', 10);
75 75
 
76 76
 /**
77 77
  * Triggers all upgrade functions
@@ -83,31 +83,31 @@  discard block
 block discarded – undo
83 83
  */
84 84
 function gmb_trigger_upgrades() {
85 85
 
86
-	if ( ! current_user_can( 'activate_plugins' ) ) {
87
-		wp_die( __( 'You do not have permission to do plugin upgrades', 'gmb' ), __( 'Error', 'gmb' ), array( 'response' => 403 ) );
86
+	if ( ! current_user_can('activate_plugins')) {
87
+		wp_die(__('You do not have permission to do plugin upgrades', 'gmb'), __('Error', 'gmb'), array('response' => 403));
88 88
 	}
89 89
 
90
-	$gmb_version = get_option( 'gmb_version' );
90
+	$gmb_version = get_option('gmb_version');
91 91
 
92 92
 	//Is the option above in the db?
93
-	if ( ! $gmb_version ) {
93
+	if ( ! $gmb_version) {
94 94
 		// 2.0 is the first version to use this option so we must add it
95 95
 		$gmb_version = '2.0';
96
-		add_option( 'gmb_version', $gmb_version );
96
+		add_option('gmb_version', $gmb_version);
97 97
 	}
98 98
 
99
-	if ( version_compare( GMB_VERSION, $gmb_version, '>=' ) && ! get_option( 'gmb_refid_upgraded' ) ) {
99
+	if (version_compare(GMB_VERSION, $gmb_version, '>=') && ! get_option('gmb_refid_upgraded')) {
100 100
 		gmb_v2_upgrades();
101 101
 	}
102 102
 
103
-	update_option( 'gmb_version', $gmb_version );
103
+	update_option('gmb_version', $gmb_version);
104 104
 
105
-	if ( DOING_AJAX ) {
106
-		die( 'complete' );
105
+	if (DOING_AJAX) {
106
+		die('complete');
107 107
 	} // Let AJAX know that the upgrade is complete
108 108
 }
109 109
 
110
-add_action( 'wp_ajax_gmb_trigger_upgrades', 'gmb_trigger_upgrades' );
110
+add_action('wp_ajax_gmb_trigger_upgrades', 'gmb_trigger_upgrades');
111 111
 
112 112
 
113 113
 /**
@@ -120,7 +120,7 @@  discard block
 block discarded – undo
120 120
 function gmb_v2_upgrades() {
121 121
 
122 122
 	//Set key variables
123
-	$google_api_key = gmb_get_option( 'gmb_api_key' );
123
+	$google_api_key = gmb_get_option('gmb_api_key');
124 124
 
125 125
 	//Loop through maps
126 126
 	$args = array(
@@ -129,28 +129,28 @@  discard block
 block discarded – undo
129 129
 	);
130 130
 
131 131
 	// The Query
132
-	$the_query = new WP_Query( $args );
132
+	$the_query = new WP_Query($args);
133 133
 
134 134
 	// The CPT Loop
135
-	if ( $the_query->have_posts() ) : while ( $the_query->have_posts() ) : $the_query->the_post();
135
+	if ($the_query->have_posts()) : while ($the_query->have_posts()) : $the_query->the_post();
136 136
 
137 137
 		//Repeater markers data
138
-		$markers = get_post_meta( get_the_ID(), 'gmb_markers_group', true );
138
+		$markers = get_post_meta(get_the_ID(), 'gmb_markers_group', true);
139 139
 
140 140
 		//If no markers skip
141
-		if ( ! empty( $markers ) ) {
141
+		if ( ! empty($markers)) {
142 142
 
143 143
 			//Markers loop
144
-			foreach ( $markers as $key => $marker ) {
144
+			foreach ($markers as $key => $marker) {
145 145
 
146
-				$ref_id   = isset( $marker['reference'] ) ? $marker['reference'] : '';
147
-				$place_id = isset( $marker['place_id'] ) ? $marker['place_id'] : '';
146
+				$ref_id   = isset($marker['reference']) ? $marker['reference'] : '';
147
+				$place_id = isset($marker['place_id']) ? $marker['place_id'] : '';
148 148
 
149 149
 				//No ref ID -> skip; If place_id already there skip
150
-				if ( empty( $ref_id ) ) {
150
+				if (empty($ref_id)) {
151 151
 					continue;
152 152
 				}
153
-				if ( ! empty( $place_id ) ) {
153
+				if ( ! empty($place_id)) {
154 154
 					continue;
155 155
 				}
156 156
 				//cURL the Google API for the Google Place ID
@@ -162,7 +162,7 @@  discard block
 block discarded – undo
162 162
 					'https://maps.googleapis.com/maps/api/place/details/json'
163 163
 				);
164 164
 
165
-				$response = wp_remote_get( $google_places_url,
165
+				$response = wp_remote_get($google_places_url,
166 166
 					array(
167 167
 						'timeout'   => 15,
168 168
 						'sslverify' => false
@@ -170,29 +170,29 @@  discard block
 block discarded – undo
170 170
 				);
171 171
 
172 172
 				// make sure the response came back okay
173
-				if ( is_wp_error( $response ) ) {
173
+				if (is_wp_error($response)) {
174 174
 					return;
175 175
 				}
176 176
 
177 177
 				// decode the license data
178
-				$response = json_decode( $response['body'], true );
178
+				$response = json_decode($response['body'], true);
179 179
 
180 180
 				//Place ID is there, now let's update the widget data
181
-				if ( isset( $response['result']['place_id'] ) ) {
181
+				if (isset($response['result']['place_id'])) {
182 182
 
183 183
 					//Add Place ID to markers array
184
-					$markers[ $key ]['place_id'] = $response['result']['place_id'];
184
+					$markers[$key]['place_id'] = $response['result']['place_id'];
185 185
 
186 186
 				}
187 187
 
188 188
 				//Pause for 2 seconds so we don't overwhelm the Google API with requests
189
-				sleep( 2 );
189
+				sleep(2);
190 190
 
191 191
 
192 192
 			} //end foreach
193 193
 
194 194
 			//Update repeater data with new data
195
-			update_post_meta( get_the_ID(), 'gmb_markers_group', $markers );
195
+			update_post_meta(get_the_ID(), 'gmb_markers_group', $markers);
196 196
 
197 197
 		} //endif
198 198
 
@@ -202,6 +202,6 @@  discard block
 block discarded – undo
202 202
 	wp_reset_postdata();
203 203
 
204 204
 	//Update our options and GTF out
205
-	update_option( 'gmb_refid_upgraded', 'upgraded' );
205
+	update_option('gmb_refid_upgraded', 'upgraded');
206 206
 
207 207
 }
Please login to merge, or discard this patch.
includes/admin/upgrades/upgrades.php 2 patches
Spacing   +16 added lines, -16 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@  discard block
 block discarded – undo
9 9
  */
10 10
 
11 11
 // Exit if accessed directly
12
-if ( ! defined( 'ABSPATH' ) ) {
12
+if ( ! defined('ABSPATH')) {
13 13
 	exit;
14 14
 }
15 15
 
@@ -21,12 +21,12 @@  discard block
 block discarded – undo
21 21
  */
22 22
 function gmb_upgrades_screen() {
23 23
 
24
-	$action = isset( $_GET['gmb-upgrade'] ) ? sanitize_text_field( $_GET['gmb-upgrade'] ) : '';
25
-	$step   = isset( $_GET['step'] ) ? absint( $_GET['step'] ) : 1;
26
-	$total  = isset( $_GET['total'] ) ? absint( $_GET['total'] ) : false;
27
-	$custom = isset( $_GET['custom'] ) ? absint( $_GET['custom'] ) : 0;
28
-	$number = isset( $_GET['number'] ) ? absint( $_GET['number'] ) : 100;
29
-	$steps  = round( ( $total / $number ), 0 );
24
+	$action = isset($_GET['gmb-upgrade']) ? sanitize_text_field($_GET['gmb-upgrade']) : '';
25
+	$step   = isset($_GET['step']) ? absint($_GET['step']) : 1;
26
+	$total  = isset($_GET['total']) ? absint($_GET['total']) : false;
27
+	$custom = isset($_GET['custom']) ? absint($_GET['custom']) : 0;
28
+	$number = isset($_GET['number']) ? absint($_GET['number']) : 100;
29
+	$steps  = round(($total / $number), 0);
30 30
 
31 31
 	$doing_upgrade_args = array(
32 32
 		'page'        => 'gmb-upgrades',
@@ -36,23 +36,23 @@  discard block
 block discarded – undo
36 36
 		'custom'      => $custom,
37 37
 		'steps'       => $steps
38 38
 	);
39
-	update_option( 'gmb_doing_upgrade', $doing_upgrade_args );
40
-	if ( $step > $steps ) {
39
+	update_option('gmb_doing_upgrade', $doing_upgrade_args);
40
+	if ($step > $steps) {
41 41
 		// Prevent a weird case where the estimate was off. Usually only a couple.
42 42
 		$steps = $step;
43 43
 	}
44 44
 	?>
45 45
 	<div class="wrap">
46
-		<h2><?php _e( 'Maps Builder - Upgrade', 'gmb' ); ?></h2>
46
+		<h2><?php _e('Maps Builder - Upgrade', 'gmb'); ?></h2>
47 47
 
48
-		<?php if ( ! empty( $action ) ) : ?>
48
+		<?php if ( ! empty($action)) : ?>
49 49
 
50 50
 			<div id="gmb-upgrade-status">
51
-				<p><?php _e( 'The upgrade process has started, please be patient. This could take several minutes. You will be automatically redirected when the upgrade is finished.', 'gmb' ); ?></p>
51
+				<p><?php _e('The upgrade process has started, please be patient. This could take several minutes. You will be automatically redirected when the upgrade is finished.', 'gmb'); ?></p>
52 52
 
53
-				<?php if ( ! empty( $total ) ) : ?>
53
+				<?php if ( ! empty($total)) : ?>
54 54
 					<p>
55
-						<strong><?php printf( __( 'Step %d of approximately %d running', 'gmb' ), $step, $steps ); ?></strong>
55
+						<strong><?php printf(__('Step %d of approximately %d running', 'gmb'), $step, $steps); ?></strong>
56 56
 					</p>
57 57
 				<?php endif; ?>
58 58
 			</div>
@@ -66,8 +66,8 @@  discard block
 block discarded – undo
66 66
 
67 67
 			<div id="gmb-upgrade-status" class="updated" style="margin-top:15px;">
68 68
 				<p style="margin-bottom:8px;">
69
-					<?php _e( 'The upgrade process has started, please do not close your browser or refresh. This could take several minutes. You will be automatically redirected when the upgrade has finished.', 'gmb' ); ?>
70
-					<img src="<?php echo GMB_PLUGIN_URL . '/assets/img/loading.gif'; ?>" id="gmb-upgrade-loader" style="position:relative; top:3px;" />
69
+					<?php _e('The upgrade process has started, please do not close your browser or refresh. This could take several minutes. You will be automatically redirected when the upgrade has finished.', 'gmb'); ?>
70
+					<img src="<?php echo GMB_PLUGIN_URL.'/assets/img/loading.gif'; ?>" id="gmb-upgrade-loader" style="position:relative; top:3px;" />
71 71
 				</p>
72 72
 			</div>
73 73
 			<script type="text/javascript">
Please login to merge, or discard this patch.
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -62,11 +62,14 @@
 block discarded – undo
62 62
 				}, 250 );
63 63
 			</script>
64 64
 
65
-		<?php else : ?>
65
+		<?php else {
66
+	: ?>
66 67
 
67 68
 			<div id="gmb-upgrade-status" class="updated" style="margin-top:15px;">
68 69
 				<p style="margin-bottom:8px;">
69
-					<?php _e( 'The upgrade process has started, please do not close your browser or refresh. This could take several minutes. You will be automatically redirected when the upgrade has finished.', 'gmb' ); ?>
70
+					<?php _e( 'The upgrade process has started, please do not close your browser or refresh. This could take several minutes. You will be automatically redirected when the upgrade has finished.', 'gmb' );
71
+}
72
+?>
70 73
 					<img src="<?php echo GMB_PLUGIN_URL . '/assets/img/loading.gif'; ?>" id="gmb-upgrade-loader" style="position:relative; top:3px;" />
71 74
 				</p>
72 75
 			</div>
Please login to merge, or discard this patch.