Completed
Push — master ( f30d75...dd2a08 )
by Matt
16:32
created
includes/admin/class-gmb-settings.php 1 patch
Spacing   +65 added lines, -65 removed lines patch added patch discarded remove patch
@@ -33,17 +33,17 @@  discard block
 block discarded – undo
33 33
 		$this->plugin_slug = Google_Maps_Builder()->get_plugin_slug();
34 34
 
35 35
 		//Create Settings submenu
36
-		add_action( 'admin_init', array( $this, 'mninit' ) );
37
-		add_action( 'admin_menu', array( $this, 'add_page' ) );
36
+		add_action('admin_init', array($this, 'mninit'));
37
+		add_action('admin_menu', array($this, 'add_page'));
38 38
 
39 39
 		// Load admin style sheet and JavaScript.
40
-		add_action( 'wp_ajax_hide_welcome', array( $this, 'hide_welcome_callback' ) );
41
-		add_action( 'cmb2_render_lat_lng_default', array( $this, 'cmb2_render_lat_lng_default' ), 10, 2 );
40
+		add_action('wp_ajax_hide_welcome', array($this, 'hide_welcome_callback'));
41
+		add_action('cmb2_render_lat_lng_default', array($this, 'cmb2_render_lat_lng_default'), 10, 2);
42 42
 
43 43
 		//Add links/information to plugin row meta
44
-		add_filter( 'plugin_row_meta', array( $this, 'add_plugin_meta_links' ), 10, 2 );
45
-		add_filter( 'plugin_action_links', array( $this, 'add_plugin_page_links' ), 10, 2 );
46
-		add_filter( 'cmb2_get_metabox_form_format', array( $this, 'gmb_modify_cmb2_form_output' ), 10, 3 );
44
+		add_filter('plugin_row_meta', array($this, 'add_plugin_meta_links'), 10, 2);
45
+		add_filter('plugin_action_links', array($this, 'add_plugin_page_links'), 10, 2);
46
+		add_filter('cmb2_get_metabox_form_format', array($this, 'gmb_modify_cmb2_form_output'), 10, 3);
47 47
 
48 48
 	}
49 49
 
@@ -53,7 +53,7 @@  discard block
 block discarded – undo
53 53
 	 */
54 54
 	public function mninit() {
55 55
 
56
-		register_setting( self::$key, self::$key );
56
+		register_setting(self::$key, self::$key);
57 57
 	}
58 58
 
59 59
 	/**
@@ -64,11 +64,11 @@  discard block
 block discarded – undo
64 64
 
65 65
 		$this->options_page = add_submenu_page(
66 66
 			'edit.php?post_type=google_maps',
67
-			__( 'Google Maps Builder Settings', $this->plugin_slug ),
68
-			__( 'Settings', $this->plugin_slug ),
67
+			__('Google Maps Builder Settings', $this->plugin_slug),
68
+			__('Settings', $this->plugin_slug),
69 69
 			'manage_options',
70 70
 			self::$key,
71
-			array( $this, 'admin_page_display' )
71
+			array($this, 'admin_page_display')
72 72
 		);
73 73
 
74 74
 	}
@@ -82,7 +82,7 @@  discard block
 block discarded – undo
82 82
 	public function hide_welcome_callback() {
83 83
 		global $current_user;
84 84
 		$user_id = $current_user->ID;
85
-		add_user_meta( $user_id, 'gmb_hide_welcome', 'true', true );
85
+		add_user_meta($user_id, 'gmb_hide_welcome', 'true', true);
86 86
 		wp_die(); // ajax call must die to avoid trailing 0 in your response
87 87
 	}
88 88
 
@@ -93,7 +93,7 @@  discard block
 block discarded – undo
93 93
 	 */
94 94
 	public function admin_page_display() {
95 95
 
96
-		include( 'views/settings-page.php' );
96
+		include('views/settings-page.php');
97 97
 
98 98
 	}
99 99
 
@@ -106,7 +106,7 @@  discard block
 block discarded – undo
106 106
 	public function general_option_fields() {
107 107
 
108 108
 		// Only need to initiate the array once per page-load
109
-		if ( ! empty( self::$plugin_options ) ) {
109
+		if ( ! empty(self::$plugin_options)) {
110 110
 			return self::$plugin_options;
111 111
 		}
112 112
 
@@ -114,41 +114,41 @@  discard block
 block discarded – undo
114 114
 
115 115
 		self::$plugin_options = array(
116 116
 			'id'         => 'plugin_options',
117
-			'show_on'    => array( 'key' => 'options-page', 'value' => array( self::$key, ), ),
117
+			'show_on'    => array('key' => 'options-page', 'value' => array(self::$key,),),
118 118
 			'show_names' => true,
119 119
 			'fields'     => array(
120 120
 				array(
121
-					'name'    => __( 'Post Type Slug', $this->plugin_slug ),
122
-					'desc'    => sprintf( __( 'Customize the default slug for the Maps Builder post type. %1$sResave (flush) permalinks%2$s after customizing.', $this->plugin_slug ), '<a href="' . esc_url( '/wp-admin/options-permalink.php' ) . '">"', '</a>' ),
121
+					'name'    => __('Post Type Slug', $this->plugin_slug),
122
+					'desc'    => sprintf(__('Customize the default slug for the Maps Builder post type. %1$sResave (flush) permalinks%2$s after customizing.', $this->plugin_slug), '<a href="'.esc_url('/wp-admin/options-permalink.php').'">"', '</a>'),
123 123
 					'default' => 'google-maps',
124
-					'id'      => $prefix . 'custom_slug',
124
+					'id'      => $prefix.'custom_slug',
125 125
 					'type'    => 'text_small'
126 126
 				),
127 127
 				array(
128
-					'name'    => __( 'Menu Position', $this->plugin_slug ),
129
-					'desc'    => sprintf( __( 'Set the menu position for Google Maps Builder. See the %1$smenu_position arg%2$s.', $this->plugin_slug ), '<a href="' . esc_url( 'http://codex.wordpress.org/Function_Reference/register_post_type#menu_position' ) . '" class="new-window" target="_blank">', '</a>' ),
128
+					'name'    => __('Menu Position', $this->plugin_slug),
129
+					'desc'    => sprintf(__('Set the menu position for Google Maps Builder. See the %1$smenu_position arg%2$s.', $this->plugin_slug), '<a href="'.esc_url('http://codex.wordpress.org/Function_Reference/register_post_type#menu_position').'" class="new-window" target="_blank">', '</a>'),
130 130
 					'default' => '21.3',
131
-					'id'      => $prefix . 'menu_position',
131
+					'id'      => $prefix.'menu_position',
132 132
 					'type'    => 'text_small'
133 133
 				),
134 134
 				array(
135
-					'name'    => __( 'Has Archive', $this->plugin_slug ),
136
-					'id'      => $prefix . 'has_archive',
137
-					'desc'    => sprintf( __( 'Controls the post type archive page. See %1s$Resave (flush) permalinks%2s$ after customizing.', $this->plugin_slug ), '<a href="' . esc_url( '/wp-admin/options-permalink.php' ) . '">"', '</a>' ),
135
+					'name'    => __('Has Archive', $this->plugin_slug),
136
+					'id'      => $prefix.'has_archive',
137
+					'desc'    => sprintf(__('Controls the post type archive page. See %1s$Resave (flush) permalinks%2s$ after customizing.', $this->plugin_slug), '<a href="'.esc_url('/wp-admin/options-permalink.php').'">"', '</a>'),
138 138
 					'type'    => 'radio_inline',
139 139
 					'options' => array(
140
-						'true'  => __( 'Yes', 'cmb' ),
141
-						'false' => __( 'No', 'cmb' ),
140
+						'true'  => __('Yes', 'cmb'),
141
+						'false' => __('No', 'cmb'),
142 142
 					),
143 143
 				),
144 144
 				array(
145
-					'name'    => __( 'Opening Map Builder', $this->plugin_slug ),
146
-					'id'      => $prefix . 'open_builder',
147
-					'desc'    => __( 'Do you want the Map Builder customizer to open by default when editing maps?', $this->plugin_slug ),
145
+					'name'    => __('Opening Map Builder', $this->plugin_slug),
146
+					'id'      => $prefix.'open_builder',
147
+					'desc'    => __('Do you want the Map Builder customizer to open by default when editing maps?', $this->plugin_slug),
148 148
 					'type'    => 'radio_inline',
149 149
 					'options' => array(
150
-						'true'  => __( 'Yes', 'cmb' ),
151
-						'false' => __( 'No', 'cmb' ),
150
+						'true'  => __('Yes', 'cmb'),
151
+						'false' => __('No', 'cmb'),
152 152
 					),
153 153
 				),
154 154
 			),
@@ -167,7 +167,7 @@  discard block
 block discarded – undo
167 167
 	public function map_option_fields() {
168 168
 
169 169
 		// Only need to initiate the array once per page-load
170
-		if ( ! empty( self::$plugin_options ) ) {
170
+		if ( ! empty(self::$plugin_options)) {
171 171
 			return self::$plugin_options;
172 172
 		}
173 173
 
@@ -175,18 +175,18 @@  discard block
 block discarded – undo
175 175
 
176 176
 		self::$plugin_options = array(
177 177
 			'id'         => 'plugin_options',
178
-			'show_on'    => array( 'key' => 'options-page', 'value' => array( self::$key, ), ),
178
+			'show_on'    => array('key' => 'options-page', 'value' => array(self::$key,),),
179 179
 			'show_names' => true,
180 180
 			'fields'     => array(
181 181
 				array(
182
-					'name' => __( 'Google Maps API Key', $this->plugin_slug ),
183
-					'desc' => sprintf( __( 'The Google Maps JavaScript API v3 does not require an API key to function correctly. However, Google strongly encourages you to load the Maps API using an APIs Console key which allows you to monitor your Maps API usage. %1$sLearn how to obtain an API key%2$s.', $this->plugin_slug ), '<a href="' . esc_url( 'https://developers.google.com/maps/documentation/javascript/tutorial#api_key' ) . '" target="_blank" class="new-window">', '</a>' ),
184
-					'id'   => $prefix . 'maps_api_key',
182
+					'name' => __('Google Maps API Key', $this->plugin_slug),
183
+					'desc' => sprintf(__('The Google Maps JavaScript API v3 does not require an API key to function correctly. However, Google strongly encourages you to load the Maps API using an APIs Console key which allows you to monitor your Maps API usage. %1$sLearn how to obtain an API key%2$s.', $this->plugin_slug), '<a href="'.esc_url('https://developers.google.com/maps/documentation/javascript/tutorial#api_key').'" target="_blank" class="new-window">', '</a>'),
184
+					'id'   => $prefix.'maps_api_key',
185 185
 					'type' => 'text',
186 186
 				),
187 187
 				array(
188
-					'name'           => __( 'Map Size', $this->plugin_slug ),
189
-					'id'             => $prefix . 'width_height',
188
+					'name'           => __('Map Size', $this->plugin_slug),
189
+					'id'             => $prefix.'width_height',
190 190
 					'type'           => 'width_height',
191 191
 					'width_std'      => '100',
192 192
 					'width_unit_std' => '%',
@@ -196,8 +196,8 @@  discard block
 block discarded – undo
196 196
 					'desc'           => '',
197 197
 				),
198 198
 				array(
199
-					'name'    => __( 'Map Location', $this->plugin_slug ),
200
-					'id'      => $prefix . 'lat_lng',
199
+					'name'    => __('Map Location', $this->plugin_slug),
200
+					'id'      => $prefix.'lat_lng',
201 201
 					'type'    => 'lat_lng_default',
202 202
 					'lat_std' => '32.7153292',
203 203
 					'lng_std' => '-117.15725509',
@@ -218,7 +218,7 @@  discard block
 block discarded – undo
218 218
 	 * @param $field
219 219
 	 * @param $meta
220 220
 	 */
221
-	function cmb2_render_lat_lng_default( $field, $meta ) {
221
+	function cmb2_render_lat_lng_default($field, $meta) {
222 222
 
223 223
 		$meta = wp_parse_args(
224 224
 			$meta, array(
@@ -230,25 +230,25 @@  discard block
 block discarded – undo
230 230
 
231 231
 		//Geolocate
232 232
 		$output = '<div id="geolocate-wrap" class="clear">';
233
-		$output .= '<label class="geocode-label size-label">' . __( 'Geolocate Position', $this->plugin_slug ) . ':</label>';
233
+		$output .= '<label class="geocode-label size-label">'.__('Geolocate Position', $this->plugin_slug).':</label>';
234 234
 		$output .= '<div class="geolocate-radio-wrap size-labels-wrap">';
235
-		$output .= '<label class="yes-label label-left"><input id="geolocate_map_yes" type="radio" name="' . $field->args['id'] . '[geolocate_map]" class="geolocate_map_radio radio-left" value="yes" ' . ( $meta['geolocate_map'] === 'yes' ? 'checked="checked"' : '' ) . '>' . __( 'Yes', $this->plugin_slug ) . '</label>';
235
+		$output .= '<label class="yes-label label-left"><input id="geolocate_map_yes" type="radio" name="'.$field->args['id'].'[geolocate_map]" class="geolocate_map_radio radio-left" value="yes" '.($meta['geolocate_map'] === 'yes' ? 'checked="checked"' : '').'>'.__('Yes', $this->plugin_slug).'</label>';
236 236
 
237
-		$output .= '<label class="no-label label-left"><input id="geolocate_map_no" type="radio" name="' . $field->args['id'] . '[geolocate_map]" class="geolocate_map_radio radio-left" value="no" ' . ( $meta['geolocate_map'] === 'no' ? 'checked="checked"' : '' ) . ' >' . __( 'No', $this->plugin_slug ) . '</label>';
237
+		$output .= '<label class="no-label label-left"><input id="geolocate_map_no" type="radio" name="'.$field->args['id'].'[geolocate_map]" class="geolocate_map_radio radio-left" value="no" '.($meta['geolocate_map'] === 'no' ? 'checked="checked"' : '').' >'.__('No', $this->plugin_slug).'</label>';
238 238
 		$output .= '</div>';
239 239
 		$output .= '</div>';
240 240
 
241 241
 		//lat_lng
242 242
 		$output .= '<div id="lat-lng-wrap"><div class="coordinates-wrap clear">';
243
-		$output .= '<div class="lat-lng-wrap lat-wrap clear"><span>' . __( 'Latitude', $this->plugin_slug ) . ': </span>
244
-						<input type="text" class="regular-text latitude" name="' . $field->args['id'] . '[latitude]" id="' . $field->args['id'] . '-latitude" value="' . ( $meta['latitude'] ? $meta['latitude'] : $field->args['lat_std'] ) . '" /></div><div class="lat-lng-wrap lng-wrap clear"><span>' . __( 'Longitude', $this->plugin_slug ) . ': </span>
245
-								<input type="text" class="regular-text longitude" name="' . $field->args['id'] . '[longitude]" id="' . $field->args['id'] . '-longitude" value="' . ( $meta['longitude'] ? $meta['longitude'] : $field->args['lng_std'] ) . '" />
243
+		$output .= '<div class="lat-lng-wrap lat-wrap clear"><span>'.__('Latitude', $this->plugin_slug).': </span>
244
+						<input type="text" class="regular-text latitude" name="' . $field->args['id'].'[latitude]" id="'.$field->args['id'].'-latitude" value="'.($meta['latitude'] ? $meta['latitude'] : $field->args['lat_std']).'" /></div><div class="lat-lng-wrap lng-wrap clear"><span>'.__('Longitude', $this->plugin_slug).': </span>
245
+								<input type="text" class="regular-text longitude" name="' . $field->args['id'].'[longitude]" id="'.$field->args['id'].'-longitude" value="'.($meta['longitude'] ? $meta['longitude'] : $field->args['lng_std']).'" />
246 246
 								</div>';
247
-		$output .= '<p class="small-desc">' . sprintf( __( 'For quick lat/lng lookup use <a href="%s" class="new-window"  target="_blank">this service</a>', $this->plugin_slug ), esc_url( 'http://www.latlong.net/' ) ) . '</p>';
247
+		$output .= '<p class="small-desc">'.sprintf(__('For quick lat/lng lookup use <a href="%s" class="new-window"  target="_blank">this service</a>', $this->plugin_slug), esc_url('http://www.latlong.net/')).'</p>';
248 248
 		$output .= '</div><!-- /.search-coordinates-wrap -->';
249 249
 
250 250
 		$output .= '</div>'; //end #geolocate-wrap
251
-		$output .= '<p class="cmb2-metabox-description">' . __( 'When creating a new map the plugin will use your current longitude and latitude for the base location. If you see a blank space instead of the map, this is most likely because you have denied permission for location sharing. You may also specify a default longitude and latitude by turning off this option.', $this->plugin_slug ) . '</p>';
251
+		$output .= '<p class="cmb2-metabox-description">'.__('When creating a new map the plugin will use your current longitude and latitude for the base location. If you see a blank space instead of the map, this is most likely because you have denied permission for location sharing. You may also specify a default longitude and latitude by turning off this option.', $this->plugin_slug).'</p>';
252 252
 
253 253
 
254 254
 		echo $output;
@@ -274,27 +274,27 @@  discard block
 block discarded – undo
274 274
 	 *
275 275
 	 * @return mixed
276 276
 	 */
277
-	function add_plugin_page_links( $links, $file ) {
277
+	function add_plugin_page_links($links, $file) {
278 278
 
279
-		if ( $file == GMB_PLUGIN_BASE ) {
279
+		if ($file == GMB_PLUGIN_BASE) {
280 280
 
281 281
 			// Add Widget Page link to our plugin
282
-			$settings_link = '<a href="edit.php?post_type=google_maps&page=' . self::$key . '" title="' . __( 'Visit the Google Maps Builder plugin settings page', $this->plugin_slug ) . '">' . __( 'Settings', $this->plugin_slug ) . '</a>';
282
+			$settings_link = '<a href="edit.php?post_type=google_maps&page='.self::$key.'" title="'.__('Visit the Google Maps Builder plugin settings page', $this->plugin_slug).'">'.__('Settings', $this->plugin_slug).'</a>';
283 283
 			$go_pro_link   = '<a href="
284
-https://wordimpress.com/plugins/maps-builder-pro?utm_source=MBF&utm_medium=BANNER&utm_content=LISTING&utm_campaign=MBF%20LISTING" title="' . __( 'Upgrade to Maps Builder Pro', $this->plugin_slug ) . '" target="_blank">' . __( 'Upgrade to Pro', $this->plugin_slug ) . '</a>';
285
-			array_unshift( $links, $settings_link );
286
-			array_push( $links, $go_pro_link );
284
+https://wordimpress.com/plugins/maps-builder-pro?utm_source=MBF&utm_medium=BANNER&utm_content=LISTING&utm_campaign=MBF%20LISTING" title="' . __('Upgrade to Maps Builder Pro', $this->plugin_slug).'" target="_blank">'.__('Upgrade to Pro', $this->plugin_slug).'</a>';
285
+			array_unshift($links, $settings_link);
286
+			array_push($links, $go_pro_link);
287 287
 		}
288 288
 
289 289
 		return $links;
290 290
 	}
291 291
 
292
-	function add_plugin_meta_links( $meta, $file ) {
292
+	function add_plugin_meta_links($meta, $file) {
293 293
 
294
-		if ( $file == GMB_PLUGIN_BASE ) {
295
-			$meta[] = "<a href='http://wordpress.org/support/view/plugin-reviews/google-maps-builder' target='_blank' title='" . __( 'Rate Google Maps Builder on WordPress.org', $this->plugin_slug ) . "'>" . __( 'Rate Plugin', $this->plugin_slug ) . "</a>";
296
-			$meta[] = '<a href="http://wordpress.org/support/plugin/google-maps-builder/" target="_blank" title="' . __( 'Get plugin support via the WordPress community', $this->plugin_slug ) . '">' . __( 'Support', $this->plugin_slug ) . '</a>';
297
-			$meta[] = __( 'Thank you for using Maps Builder', $this->plugin_slug );
294
+		if ($file == GMB_PLUGIN_BASE) {
295
+			$meta[] = "<a href='http://wordpress.org/support/view/plugin-reviews/google-maps-builder' target='_blank' title='".__('Rate Google Maps Builder on WordPress.org', $this->plugin_slug)."'>".__('Rate Plugin', $this->plugin_slug)."</a>";
296
+			$meta[] = '<a href="http://wordpress.org/support/plugin/google-maps-builder/" target="_blank" title="'.__('Get plugin support via the WordPress community', $this->plugin_slug).'">'.__('Support', $this->plugin_slug).'</a>';
297
+			$meta[] = __('Thank you for using Maps Builder', $this->plugin_slug);
298 298
 		}
299 299
 
300 300
 		return $meta;
@@ -313,12 +313,12 @@  discard block
 block discarded – undo
313 313
 	 *
314 314
 	 * @return string
315 315
 	 */
316
-	function gmb_modify_cmb2_form_output( $form_format, $object_id, $cmb ) {
316
+	function gmb_modify_cmb2_form_output($form_format, $object_id, $cmb) {
317 317
 
318 318
 		//only modify the give settings form
319
-		if ( 'gmb_settings' == $object_id && 'plugin_options' == $cmb->cmb_id ) {
319
+		if ('gmb_settings' == $object_id && 'plugin_options' == $cmb->cmb_id) {
320 320
 
321
-			return '<form class="cmb-form" method="post" id="%1$s" enctype="multipart/form-data" encoding="multipart/form-data"><input type="hidden" name="object_id" value="%2$s">%3$s<div class="gmb-submit-wrap"><input type="submit" name="submit-cmb" value="' . __( 'Save Settings', 'give' ) . '" class="button-primary"></div></form>';
321
+			return '<form class="cmb-form" method="post" id="%1$s" enctype="multipart/form-data" encoding="multipart/form-data"><input type="hidden" name="object_id" value="%2$s">%3$s<div class="gmb-submit-wrap"><input type="submit" name="submit-cmb" value="'.__('Save Settings', 'give').'" class="button-primary"></div></form>';
322 322
 		}
323 323
 
324 324
 		return $form_format;
@@ -336,6 +336,6 @@  discard block
 block discarded – undo
336 336
  *
337 337
  * @return mixed        Option value
338 338
  */
339
-function gmb_get_option( $key = '' ) {
340
-	return cmb2_get_option( Google_Maps_Builder_Settings::key(), $key );
339
+function gmb_get_option($key = '') {
340
+	return cmb2_get_option(Google_Maps_Builder_Settings::key(), $key);
341 341
 }
Please login to merge, or discard this patch.
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/settings-page.php 1 patch
Spacing   +20 added lines, -20 removed lines patch added patch discarded remove patch
@@ -18,24 +18,24 @@  discard block
 block discarded – undo
18 18
 
19 19
 	<?php global $current_user;
20 20
 	$user_id = $current_user->ID;
21
-		delete_user_meta($user_id, 'gmb_hide_welcome' ); //ONLY FOR TESTING
21
+		delete_user_meta($user_id, 'gmb_hide_welcome'); //ONLY FOR TESTING
22 22
 	// Check that the user hasn't already clicked to ignore the welcome message and that they have appropriate permissions
23
-	if ( ! get_user_meta( $user_id, 'gmb_hide_welcome' ) && current_user_can( 'install_plugins' ) ) {
23
+	if ( ! get_user_meta($user_id, 'gmb_hide_welcome') && current_user_can('install_plugins')) {
24 24
 		?>
25 25
 		<div class="gmb-container welcome-header clear">
26 26
 			<div class="row">
27 27
 
28 28
 				<div class="gmb-col-md-9">
29
-					<h1 class="main-heading"><?php _e( 'Welcome to Maps Builder', $this->plugin_slug ); ?><?php echo Google_Maps_Builder()->meta['Version']; ?></h1>
29
+					<h1 class="main-heading"><?php _e('Welcome to Maps Builder', $this->plugin_slug); ?><?php echo Google_Maps_Builder()->meta['Version']; ?></h1>
30 30
 
31
-					<p class="main-subheading"><?php _e( 'Thanks for using Maps Builder', $this->plugin_slug ); ?> <?php echo Google_Maps_Builder()->meta['Version']; ?>. <?php echo sprintf( __( 'To get started, read over the %1$sdocumentation%2$s, take a gander at the settings, and build yourself some maps! If you enjoy this plugin please consider telling a friend, rating it %3$s5-stars%2$s, or purchasing the %4$sPro%2$s edition.', $this->plugin_slug ), '<a href="https://wordimpress.com/documentation/maps-builder-pro/" target="_blank">', '</a>', '<a href="https://wordpress.org/support/view/plugin-reviews/google-maps-builder?filter=5#postform" target="_blank">', '<a href="https://wordimpress.com/plugins/maps-builder-pro?utm_source=MBF&amp;utm_medium=BANNER&amp;utm_content=SETTINGS&amp;utm_campaign=MBF%20Settings" target="_blank">' ); ?></p>
32
-					<?php include( 'social-media.php' ); ?>
31
+					<p class="main-subheading"><?php _e('Thanks for using Maps Builder', $this->plugin_slug); ?> <?php echo Google_Maps_Builder()->meta['Version']; ?>. <?php echo sprintf(__('To get started, read over the %1$sdocumentation%2$s, take a gander at the settings, and build yourself some maps! If you enjoy this plugin please consider telling a friend, rating it %3$s5-stars%2$s, or purchasing the %4$sPro%2$s edition.', $this->plugin_slug), '<a href="https://wordimpress.com/documentation/maps-builder-pro/" target="_blank">', '</a>', '<a href="https://wordpress.org/support/view/plugin-reviews/google-maps-builder?filter=5#postform" target="_blank">', '<a href="https://wordimpress.com/plugins/maps-builder-pro?utm_source=MBF&amp;utm_medium=BANNER&amp;utm_content=SETTINGS&amp;utm_campaign=MBF%20Settings" target="_blank">'); ?></p>
32
+					<?php include('social-media.php'); ?>
33 33
 
34 34
 				</div>
35 35
 
36 36
 				<div class="gmb-col-md-3">
37 37
 					<div class="logo-svg">
38
-						<?php include( 'mascot-svg.php' ); ?>
38
+						<?php include('mascot-svg.php'); ?>
39 39
 					</div>
40 40
 				</div>
41 41
 			</div>
@@ -43,11 +43,11 @@  discard block
 block discarded – undo
43 43
 
44 44
 	<?php } ?>
45 45
 
46
-	<div class="logo-svg logo-svg-small pull-right" <?php echo( ! get_user_meta( $user_id, 'gmb_hide_welcome' ) ?
47
-		'style="display:none;"' : '' ); ?>>
48
-		<div class="gmb-plugin-heading"><?php _e( 'Maps Builder - Free Edition', $this->plugin_slug ); ?></div>
49
-		<?php include( 'logo-svg.php' ); ?>
50
-		<a href="https://wordimpress.com/plugins/maps-builder-pro?utm_source=MBF&utm_medium=BANNER&utm_content=SETTINGS&utm_campaign=MBF%20Settings" target="_blank" class="button button-primary gmb-orange-btn gmb-settings-header-btn"><?php _e( 'Upgrade to Pro', $this->plugin_slug ); ?></a>
46
+	<div class="logo-svg logo-svg-small pull-right" <?php echo( ! get_user_meta($user_id, 'gmb_hide_welcome') ?
47
+		'style="display:none;"' : ''); ?>>
48
+		<div class="gmb-plugin-heading"><?php _e('Maps Builder - Free Edition', $this->plugin_slug); ?></div>
49
+		<?php include('logo-svg.php'); ?>
50
+		<a href="https://wordimpress.com/plugins/maps-builder-pro?utm_source=MBF&utm_medium=BANNER&utm_content=SETTINGS&utm_campaign=MBF%20Settings" target="_blank" class="button button-primary gmb-orange-btn gmb-settings-header-btn"><?php _e('Upgrade to Pro', $this->plugin_slug); ?></a>
51 51
 	</div>
52 52
 
53 53
 
@@ -59,12 +59,12 @@  discard block
 block discarded – undo
59 59
 	 *
60 60
 	 * @see: http://code.tutsplus.com/tutorials/the-complete-guide-to-the-wordpress-settings-api-part-5-tabbed-navigation-for-your-settings-page--wp-24971
61 61
 	 */
62
-	$active_tab = isset( $_GET['tab'] ) ? $_GET['tab'] : 'map_options';
62
+	$active_tab = isset($_GET['tab']) ? $_GET['tab'] : 'map_options';
63 63
 	?>
64 64
 	<h2 class="nav-tab-wrapper">
65
-		<a href="?post_type=google_maps&page=<?php echo self::$key; ?>" class="nav-tab <?php echo $active_tab == 'map_options' ? 'nav-tab-active' : ''; ?>"><?php _e( 'Map Options', $this->plugin_slug ); ?></a>
66
-		<a href="?post_type=google_maps&page=<?php echo self::$key; ?>&tab=general_settings" class="nav-tab <?php echo $active_tab == 'general_settings' ? 'nav-tab-active' : ''; ?>"><?php _e( 'General Options', $this->plugin_slug ); ?></a>
67
-		<a href="?post_type=google_maps&page=<?php echo self::$key; ?>&tab=system_info" class="nav-tab <?php echo $active_tab == 'system_info' ? 'nav-tab-active' : ''; ?>"><?php _e( 'System Info', $this->plugin_slug ); ?></a>
65
+		<a href="?post_type=google_maps&page=<?php echo self::$key; ?>" class="nav-tab <?php echo $active_tab == 'map_options' ? 'nav-tab-active' : ''; ?>"><?php _e('Map Options', $this->plugin_slug); ?></a>
66
+		<a href="?post_type=google_maps&page=<?php echo self::$key; ?>&tab=general_settings" class="nav-tab <?php echo $active_tab == 'general_settings' ? 'nav-tab-active' : ''; ?>"><?php _e('General Options', $this->plugin_slug); ?></a>
67
+		<a href="?post_type=google_maps&page=<?php echo self::$key; ?>&tab=system_info" class="nav-tab <?php echo $active_tab == 'system_info' ? 'nav-tab-active' : ''; ?>"><?php _e('System Info', $this->plugin_slug); ?></a>
68 68
 	</h2>
69 69
 
70 70
 
@@ -72,18 +72,18 @@  discard block
 block discarded – undo
72 72
 	/**
73 73
 	 * Get the appropriate tab
74 74
 	 */
75
-	switch ( $active_tab ) {
75
+	switch ($active_tab) {
76 76
 		case 'map_options':
77
-			include( 'tab-map-options.php' );
77
+			include('tab-map-options.php');
78 78
 			break;
79 79
 		case 'general_settings':
80
-			include( 'tab-general-settings.php' );
80
+			include('tab-general-settings.php');
81 81
 			break;
82 82
 		case 'system_info':
83
-			include( 'tab-system-info.php' );
83
+			include('tab-system-info.php');
84 84
 			break;
85 85
 		default :
86
-			include( 'tab-map-options.php' );
86
+			include('tab-map-options.php');
87 87
 			break;
88 88
 	}
89 89
 	?>
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.