WP Store Locator - Version 2.2.8

Version Description

Download this release

Release Info

Developer tijmensmit
Plugin Icon 128x128 WP Store Locator
Version 2.2.8
Comparing to
See all releases

Code changes from version 2.2.7 to 2.2.8

admin/EDD_SL_Plugin_Updater.php CHANGED
@@ -7,7 +7,7 @@ if ( ! defined( 'ABSPATH' ) ) exit;
7
  * Allows plugins to use their own update API.
8
  *
9
  * @author Easy Digital Downloads
10
- * @version 1.6.8
11
  */
12
  class EDD_SL_Plugin_Updater {
13
 
@@ -39,8 +39,8 @@ class EDD_SL_Plugin_Updater {
39
  $this->slug = basename( $_plugin_file, '.php' );
40
  $this->version = $_api_data['version'];
41
  $this->wp_override = isset( $_api_data['wp_override'] ) ? (bool) $_api_data['wp_override'] : false;
42
-
43
- $this->cache_key = md5( serialize( $this->slug . $this->api_data['license'] ) );
44
 
45
  $edd_plugin_data[ $this->slug ] = $this->api_data;
46
 
@@ -98,7 +98,7 @@ class EDD_SL_Plugin_Updater {
98
  $version_info = $this->get_cached_version_info();
99
 
100
  if ( false === $version_info ) {
101
- $version_info = $this->api_request( 'plugin_latest_version', array( 'slug' => $this->slug, 'beta' => ! empty( $this->api_data['beta'] ) ) );
102
 
103
  $this->set_version_info_cache( $version_info );
104
 
@@ -156,7 +156,7 @@ class EDD_SL_Plugin_Updater {
156
  $version_info = $this->get_cached_version_info();
157
 
158
  if ( false === $version_info ) {
159
- $version_info = $this->api_request( 'plugin_latest_version', array( 'slug' => $this->slug, 'beta' => ! empty( $this->api_data['beta'] ) ) );
160
 
161
  $this->set_version_info_cache( $version_info );
162
  }
@@ -255,13 +255,13 @@ class EDD_SL_Plugin_Updater {
255
  )
256
  );
257
 
258
- $cache_key = 'edd_api_request_' . md5( serialize( $this->slug . $this->api_data['license'] ) );
259
 
260
  // Get the transient where we store the api request for this plugin for 24 hours
261
  $edd_api_request_transient = $this->get_cached_version_info( $cache_key );
262
 
263
  //If we have no transient-saved value, run the API, set a fresh transient with the API value, and return that value too right now.
264
- if ( empty( $edd_api_request_transient ) ){
265
 
266
  $api_response = $this->api_request( 'plugin_information', $to_send );
267
 
@@ -276,6 +276,26 @@ class EDD_SL_Plugin_Updater {
276
  $_data = $edd_api_request_transient;
277
  }
278
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
279
  return $_data;
280
  }
281
 
@@ -324,6 +344,7 @@ class EDD_SL_Plugin_Updater {
324
  'license' => ! empty( $data['license'] ) ? $data['license'] : '',
325
  'item_name' => isset( $data['item_name'] ) ? $data['item_name'] : false,
326
  'item_id' => isset( $data['item_id'] ) ? $data['item_id'] : false,
 
327
  'slug' => $data['slug'],
328
  'author' => $data['author'],
329
  'url' => home_url(),
@@ -346,6 +367,12 @@ class EDD_SL_Plugin_Updater {
346
  $request->banners = maybe_unserialize( $request->banners );
347
  }
348
 
 
 
 
 
 
 
349
  return $request;
350
  }
351
 
@@ -370,7 +397,8 @@ class EDD_SL_Plugin_Updater {
370
  }
371
 
372
  $data = $edd_plugin_data[ $_REQUEST['slug'] ];
373
- $cache_key = md5( 'edd_plugin_' . sanitize_key( $_REQUEST['plugin'] ) . '_version_info' );
 
374
  $version_info = $this->get_cached_version_info( $cache_key );
375
 
376
  if( false === $version_info ) {
@@ -391,12 +419,19 @@ class EDD_SL_Plugin_Updater {
391
  $version_info = json_decode( wp_remote_retrieve_body( $request ) );
392
  }
393
 
 
394
  if ( ! empty( $version_info ) && isset( $version_info->sections ) ) {
395
  $version_info->sections = maybe_unserialize( $version_info->sections );
396
  } else {
397
  $version_info = false;
398
  }
399
 
 
 
 
 
 
 
400
  $this->set_version_info_cache( $version_info, $cache_key );
401
 
402
  }
7
  * Allows plugins to use their own update API.
8
  *
9
  * @author Easy Digital Downloads
10
+ * @version 1.6.12
11
  */
12
  class EDD_SL_Plugin_Updater {
13
 
39
  $this->slug = basename( $_plugin_file, '.php' );
40
  $this->version = $_api_data['version'];
41
  $this->wp_override = isset( $_api_data['wp_override'] ) ? (bool) $_api_data['wp_override'] : false;
42
+ $this->beta = ! empty( $this->api_data['beta'] ) ? true : false;
43
+ $this->cache_key = md5( serialize( $this->slug . $this->api_data['license'] . $this->beta ) );
44
 
45
  $edd_plugin_data[ $this->slug ] = $this->api_data;
46
 
98
  $version_info = $this->get_cached_version_info();
99
 
100
  if ( false === $version_info ) {
101
+ $version_info = $this->api_request( 'plugin_latest_version', array( 'slug' => $this->slug, 'beta' => $this->beta ) );
102
 
103
  $this->set_version_info_cache( $version_info );
104
 
156
  $version_info = $this->get_cached_version_info();
157
 
158
  if ( false === $version_info ) {
159
+ $version_info = $this->api_request( 'plugin_latest_version', array( 'slug' => $this->slug, 'beta' => $this->beta ) );
160
 
161
  $this->set_version_info_cache( $version_info );
162
  }
255
  )
256
  );
257
 
258
+ $cache_key = 'edd_api_request_' . md5( serialize( $this->slug . $this->api_data['license'] . $this->beta ) );
259
 
260
  // Get the transient where we store the api request for this plugin for 24 hours
261
  $edd_api_request_transient = $this->get_cached_version_info( $cache_key );
262
 
263
  //If we have no transient-saved value, run the API, set a fresh transient with the API value, and return that value too right now.
264
+ if ( empty( $edd_api_request_transient ) ) {
265
 
266
  $api_response = $this->api_request( 'plugin_information', $to_send );
267
 
276
  $_data = $edd_api_request_transient;
277
  }
278
 
279
+ // Convert sections into an associative array, since we're getting an object, but Core expects an array.
280
+ if ( isset( $_data->sections ) && ! is_array( $_data->sections ) ) {
281
+ $new_sections = array();
282
+ foreach ( $_data->sections as $key => $value ) {
283
+ $new_sections[ $key ] = $value;
284
+ }
285
+
286
+ $_data->sections = $new_sections;
287
+ }
288
+
289
+ // Convert banners into an associative array, since we're getting an object, but Core expects an array.
290
+ if ( isset( $_data->banners ) && ! is_array( $_data->banners ) ) {
291
+ $new_banners = array();
292
+ foreach ( $_data->banners as $key => $value ) {
293
+ $new_banners[ $key ] = $value;
294
+ }
295
+
296
+ $_data->banners = $new_banners;
297
+ }
298
+
299
  return $_data;
300
  }
301
 
344
  'license' => ! empty( $data['license'] ) ? $data['license'] : '',
345
  'item_name' => isset( $data['item_name'] ) ? $data['item_name'] : false,
346
  'item_id' => isset( $data['item_id'] ) ? $data['item_id'] : false,
347
+ 'version' => isset( $data['version'] ) ? $data['version'] : false,
348
  'slug' => $data['slug'],
349
  'author' => $data['author'],
350
  'url' => home_url(),
367
  $request->banners = maybe_unserialize( $request->banners );
368
  }
369
 
370
+ if( ! empty( $request->sections ) ) {
371
+ foreach( $request->sections as $key => $section ) {
372
+ $request->$key = (array) $section;
373
+ }
374
+ }
375
+
376
  return $request;
377
  }
378
 
397
  }
398
 
399
  $data = $edd_plugin_data[ $_REQUEST['slug'] ];
400
+ $beta = ! empty( $data['beta'] ) ? true : false;
401
+ $cache_key = md5( 'edd_plugin_' . sanitize_key( $_REQUEST['plugin'] ) . '_' . $beta . '_version_info' );
402
  $version_info = $this->get_cached_version_info( $cache_key );
403
 
404
  if( false === $version_info ) {
419
  $version_info = json_decode( wp_remote_retrieve_body( $request ) );
420
  }
421
 
422
+
423
  if ( ! empty( $version_info ) && isset( $version_info->sections ) ) {
424
  $version_info->sections = maybe_unserialize( $version_info->sections );
425
  } else {
426
  $version_info = false;
427
  }
428
 
429
+ if( ! empty( $version_info ) ) {
430
+ foreach( $version_info->sections as $key => $section ) {
431
+ $version_info->$key = (array) $section;
432
+ }
433
+ }
434
+
435
  $this->set_version_info_cache( $version_info, $cache_key );
436
 
437
  }
admin/class-admin.php CHANGED
@@ -387,6 +387,12 @@ if ( !class_exists( 'WPSL_Admin' ) ) {
387
  * @return void
388
  */
389
  public function maybe_show_pointer() {
 
 
 
 
 
 
390
 
391
  $dismissed_pointers = explode( ',', (string) get_user_meta( get_current_user_id(), 'dismissed_wp_pointers', true ) );
392
 
387
  * @return void
388
  */
389
  public function maybe_show_pointer() {
390
+
391
+ $disable_pointer = apply_filters( 'wpsl_disable_welcome_pointer', false );
392
+
393
+ if ( $disable_pointer ) {
394
+ return;
395
+ }
396
 
397
  $dismissed_pointers = explode( ',', (string) get_user_meta( get_current_user_id(), 'dismissed_wp_pointers', true ) );
398
 
admin/class-settings.php CHANGED
@@ -484,215 +484,262 @@ if ( !class_exists( 'WPSL_Settings' ) ) {
484
  );
485
  break;
486
  case 'region':
487
- $api_option_list = array (
488
- __('Select your region', 'wpsl') => '',
489
- __('Afghanistan', 'wpsl') => 'af',
490
- __('Albania', 'wpsl') => 'al',
491
- __('Algeria', 'wpsl') => 'dz',
492
- __('American Samoa', 'wpsl') => 'as',
493
- __('Andorra', 'wpsl') => 'ad',
494
- __('Anguilla', 'wpsl') => 'ai',
495
- __('Angola', 'wpsl') => 'ao',
496
- __('Antigua and Barbuda', 'wpsl') => 'ag',
497
- __('Argentina', 'wpsl') => 'ar',
498
- __('Armenia', 'wpsl') => 'am',
499
- __('Aruba', 'wpsl') => 'aw',
500
- __('Australia', 'wpsl') => 'au',
501
- __('Austria', 'wpsl') => 'at',
502
- __('Azerbaijan', 'wpsl') => 'az',
503
- __('Bahamas', 'wpsl') => 'bs',
504
- __('Bahrain', 'wpsl') => 'bh',
505
- __('Bangladesh', 'wpsl') => 'bd',
506
- __('Barbados', 'wpsl') => 'bb',
507
- __('Belarus', 'wpsl') => 'by',
508
- __('Belgium', 'wpsl') => 'be',
509
- __('Belize', 'wpsl') => 'bz',
510
- __('Benin', 'wpsl') => 'bj',
511
- __('Bermuda', 'wpsl') => 'bm',
512
- __('Bhutan', 'wpsl') => 'bt',
513
- __('Bolivia', 'wpsl') => 'bo',
514
- __('Bosnia and Herzegovina', 'wpsl') => 'ba',
515
- __('Botswana', 'wpsl') => 'bw',
516
- __('Brazil', 'wpsl') => 'br',
517
- __('British Indian Ocean Territory', 'wpsl') => 'io',
518
- __('Brunei', 'wpsl') => 'bn',
519
- __('Bulgaria', 'wpsl') => 'bg',
520
- __('Burkina Faso', 'wpsl') => 'bf',
521
- __('Burundi', 'wpsl') => 'bi',
522
- __('Cambodia', 'wpsl') => 'kh',
523
- __('Cameroon', 'wpsl') => 'cm',
524
- __('Canada', 'wpsl') => 'ca',
525
- __('Cape Verde', 'wpsl') => 'cv',
526
- __('Cayman Islands', 'wpsl') => 'ky',
527
- __('Central African Republic', 'wpsl') => 'cf',
528
- __('Chad', 'wpsl') => 'td',
529
- __('Chile', 'wpsl') => 'cl',
530
- __('China', 'wpsl') => 'cn',
531
- __('Christmas Island', 'wpsl') => 'cx',
532
- __('Cocos Islands', 'wpsl') => 'cc',
533
- __('Colombia', 'wpsl') => 'co',
534
- __('Comoros', 'wpsl') => 'km',
535
- __('Congo', 'wpsl') => 'cg',
536
- __('Costa Rica', 'wpsl') => 'cr',
537
- __('Côte d\'Ivoire', 'wpsl') => 'ci',
538
- __('Croatia', 'wpsl') => 'hr',
539
- __('Cuba', 'wpsl') => 'cu',
540
- __('Czech Republic', 'wpsl') => 'cz',
541
- __('Denmark', 'wpsl') => 'dk',
542
- __('Djibouti', 'wpsl') => 'dj',
543
- __('Democratic Republic of the Congo', 'wpsl') => 'cd',
544
- __('Dominica', 'wpsl') => 'dm',
545
- __('Dominican Republic', 'wpsl') => 'do',
546
- __('Ecuador', 'wpsl') => 'ec',
547
- __('Egypt', 'wpsl') => 'eg',
548
- __('El Salvador', 'wpsl') => 'sv',
549
- __('Equatorial Guinea', 'wpsl') => 'gq',
550
- __('Eritrea', 'wpsl') => 'er',
551
- __('Estonia', 'wpsl') => 'ee',
552
- __('Ethiopia', 'wpsl') => 'et',
553
- __('Fiji', 'wpsl') => 'fj',
554
- __('Finland', 'wpsl') => 'fi',
555
- __('France', 'wpsl') => 'fr',
556
- __('French Guiana', 'wpsl') => 'gf',
557
- __('Gabon', 'wpsl') => 'ga',
558
- __('Gambia', 'wpsl') => 'gm',
559
- __('Germany', 'wpsl') => 'de',
560
- __('Ghana', 'wpsl') => 'gh',
561
- __('Greenland', 'wpsl') => 'gl',
562
- __('Greece', 'wpsl') => 'gr',
563
- __('Grenada', 'wpsl') => 'gd',
564
- __('Guam', 'wpsl') => 'gu',
565
- __('Guadeloupe', 'wpsl') => 'gp',
566
- __('Guatemala', 'wpsl') => 'gt',
567
- __('Guinea', 'wpsl') => 'gn',
568
- __('Guinea-Bissau', 'wpsl') => 'gw',
569
- __('Haiti', 'wpsl') => 'ht',
570
- __('Honduras', 'wpsl') => 'hn',
571
- __('Hong Kong', 'wpsl') => 'hk',
572
- __('Hungary', 'wpsl') => 'hu',
573
- __('Iceland', 'wpsl') => 'is',
574
- __('India', 'wpsl') => 'in',
575
- __('Indonesia', 'wpsl') => 'id',
576
- __('Iran', 'wpsl') => 'ir',
577
- __('Iraq', 'wpsl') => 'iq',
578
- __('Ireland', 'wpsl') => 'ie',
579
- __('Israel', 'wpsl') => 'il',
580
- __('Italy', 'wpsl') => 'it',
581
- __('Jamaica', 'wpsl') => 'jm',
582
- __('Japan', 'wpsl') => 'jp',
583
- __('Jordan', 'wpsl') => 'jo',
584
- __('Kazakhstan', 'wpsl') => 'kz',
585
- __('Kenya', 'wpsl') => 'ke',
586
- __('Kuwait', 'wpsl') => 'kw',
587
- __('Kyrgyzstan', 'wpsl') => 'kg',
588
- __('Laos', 'wpsl') => 'la',
589
- __('Latvia', 'wpsl') => 'lv',
590
- __('Lebanon', 'wpsl') => 'lb',
591
- __('Lesotho', 'wpsl') => 'ls',
592
- __('Liberia', 'wpsl') => 'lr',
593
- __('Libya', 'wpsl') => 'ly',
594
- __('Liechtenstein', 'wpsl') => 'li',
595
- __('Lithuania', 'wpsl') => 'lt',
596
- __('Luxembourg', 'wpsl') => 'lu',
597
- __('Macau', 'wpsl') => 'mo',
598
- __('Macedonia', 'wpsl') => 'mk',
599
- __('Madagascar', 'wpsl') => 'mg',
600
- __('Malawi', 'wpsl') => 'mw',
601
- __('Malaysia ', 'wpsl') => 'my',
602
- __('Mali', 'wpsl') => 'ml',
603
- __('Marshall Islands', 'wpsl') => 'mh',
604
- __('Martinique', 'wpsl') => 'mq',
605
- __('Mauritania', 'wpsl') => 'mr',
606
- __('Mauritius', 'wpsl') => 'mu',
607
- __('Mexico', 'wpsl') => 'mx',
608
- __('Micronesia', 'wpsl') => 'fm',
609
- __('Moldova', 'wpsl') => 'md',
610
- __('Monaco' ,'wpsl') => 'mc',
611
- __('Mongolia', 'wpsl') => 'mn',
612
- __('Montenegro', 'wpsl') => 'me',
613
- __('Montserrat', 'wpsl') => 'ms',
614
- __('Morocco', 'wpsl') => 'ma',
615
- __('Mozambique', 'wpsl') => 'mz',
616
- __('Myanmar', 'wpsl') => 'mm',
617
- __('Namibia', 'wpsl') => 'na',
618
- __('Nauru', 'wpsl') => 'nr',
619
- __('Nepal', 'wpsl') => 'np',
620
- __('Netherlands', 'wpsl') => 'nl',
621
- __('Netherlands Antilles', 'wpsl') => 'an',
622
- __('New Zealand', 'wpsl') => 'nz',
623
- __('Nicaragua', 'wpsl') => 'ni',
624
- __('Niger', 'wpsl') => 'ne',
625
- __('Nigeria', 'wpsl') => 'ng',
626
- __('Niue', 'wpsl') => 'nu',
627
- __('Northern Mariana Islands', 'wpsl') => 'mp',
628
- __('Norway', 'wpsl') => 'no',
629
- __('Oman', 'wpsl') => 'om',
630
- __('Pakistan', 'wpsl') => 'pk',
631
- __('Panama' ,'wpsl') => 'pa',
632
- __('Papua New Guinea', 'wpsl') => 'pg',
633
- __('Paraguay' ,'wpsl') => 'py',
634
- __('Peru', 'wpsl') => 'pe',
635
- __('Philippines', 'wpsl') => 'ph',
636
- __('Pitcairn Islands', 'wpsl') => 'pn',
637
- __('Poland', 'wpsl') => 'pl',
638
- __('Portugal', 'wpsl') => 'pt',
639
- __('Qatar', 'wpsl') => 'qa',
640
- __('Reunion', 'wpsl') => 're',
641
- __('Romania', 'wpsl') => 'ro',
642
- __('Russia', 'wpsl') => 'ru',
643
- __('Rwanda', 'wpsl') => 'rw',
644
- __('Saint Helena', 'wpsl') => 'sh',
645
- __('Saint Kitts and Nevis', 'wpsl') => 'kn',
646
- __('Saint Vincent and the Grenadines', 'wpsl') => 'vc',
647
- __('Saint Lucia', 'wpsl') => 'lc',
648
- __('Samoa', 'wpsl') => 'ws',
649
- __('San Marino', 'wpsl') => 'sm',
650
- __('São Tomé and Príncipe', 'wpsl') => 'st',
651
- __('Saudi Arabia', 'wpsl') => 'sa',
652
- __('Senegal', 'wpsl') => 'sn',
653
- __('Serbia', 'wpsl') => 'rs',
654
- __('Seychelles', 'wpsl') => 'sc',
655
- __('Sierra Leone', 'wpsl') => 'sl',
656
- __('Singapore', 'wpsl') => 'sg',
657
- __('Slovakia', 'wpsl') => 'si',
658
- __('Solomon Islands', 'wpsl') => 'sb',
659
- __('Somalia', 'wpsl') => 'so',
660
- __('South Africa', 'wpsl') => 'za',
661
- __('South Korea', 'wpsl') => 'kr',
662
- __('Spain', 'wpsl') => 'es',
663
- __('Sri Lanka', 'wpsl') => 'lk',
664
- __('Sudan', 'wpsl') => 'sd',
665
- __('Swaziland', 'wpsl') => 'sz',
666
- __('Sweden', 'wpsl') => 'se',
667
- __('Switzerland', 'wpsl') => 'ch',
668
- __('Syria', 'wpsl') => 'sy',
669
- __('Taiwan', 'wpsl') => 'tw',
670
- __('Tajikistan', 'wpsl') => 'tj',
671
- __('Tanzania', 'wpsl') => 'tz',
672
- __('Thailand', 'wpsl') => 'th',
673
- __('Timor-Leste', 'wpsl') => 'tl',
674
- __('Tokelau' ,'wpsl') => 'tk',
675
- __('Togo', 'wpsl') => 'tg',
676
- __('Tonga', 'wpsl') => 'to',
677
- __('Trinidad and Tobago', 'wpsl') => 'tt',
678
- __('Tunisia', 'wpsl') => 'tn',
679
- __('Turkey', 'wpsl') => 'tr',
680
- __('Turkmenistan', 'wpsl') => 'tm',
681
- __('Tuvalu', 'wpsl') => 'tv',
682
- __('Uganda', 'wpsl') => 'ug',
683
- __('Ukraine', 'wpsl') => 'ua',
684
- __('United Arab Emirates', 'wpsl') => 'ae',
685
- __('United Kingdom', 'wpsl') => 'gb',
686
- __('United States', 'wpsl') => 'us',
687
- __('Uruguay', 'wpsl') => 'uy',
688
- __('Uzbekistan', 'wpsl') => 'uz',
689
- __('Wallis Futuna', 'wpsl') => 'wf',
690
- __('Venezuela', 'wpsl') => 've',
691
- __('Vietnam', 'wpsl') => 'vn',
692
- __('Yemen', 'wpsl') => 'ye',
693
- __('Zambia' ,'wpsl') => 'zm',
694
- __('Zimbabwe', 'wpsl') => 'zw'
695
- );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
696
  }
697
 
698
  // Make sure we have an array with a value.
484
  );
485
  break;
486
  case 'region':
487
+ $api_option_list = array (
488
+ __('Select your region', 'wpsl') => '',
489
+ __('Afghanistan', 'wpsl') => 'af',
490
+ __('Albania', 'wpsl') => 'al',
491
+ __('Algeria', 'wpsl') => 'dz',
492
+ __('American Samoa', 'wpsl') => 'as',
493
+ __('Andorra', 'wpsl') => 'ad',
494
+ __('Angola', 'wpsl') => 'ao',
495
+ __('Anguilla', 'wpsl') => 'ai',
496
+ __('Antarctica', 'wpsl') => 'aq',
497
+ __('Antigua and Barbuda', 'wpsl') => 'ag',
498
+ __('Argentina', 'wpsl') => 'ar',
499
+ __('Armenia', 'wpsl') => 'am',
500
+ __('Aruba', 'wpsl') => 'aw',
501
+ __('Ascension Island', 'wpsl') => 'ac',
502
+ __('Australia', 'wpsl') => 'au',
503
+ __('Austria', 'wpsl') => 'at',
504
+ __('Azerbaijan', 'wpsl') => 'az',
505
+ __('Bahamas', 'wpsl') => 'bs',
506
+ __('Bahrain', 'wpsl') => 'bh',
507
+ __('Bangladesh', 'wpsl') => 'bd',
508
+ __('Barbados', 'wpsl') => 'bb',
509
+ __('Belarus', 'wpsl') => 'by',
510
+ __('Belgium', 'wpsl') => 'be',
511
+ __('Belize', 'wpsl') => 'bz',
512
+ __('Benin', 'wpsl') => 'bj',
513
+ __('Bermuda', 'wpsl') => 'bm',
514
+ __('Bhutan', 'wpsl') => 'bt',
515
+ __('Bolivia', 'wpsl') => 'bo',
516
+ __('Bosnia and Herzegovina', 'wpsl') => 'ba',
517
+ __('Botswana', 'wpsl') => 'bw',
518
+ __('Bouvet Island', 'wpsl') => 'bv',
519
+ __('Brazil', 'wpsl') => 'br',
520
+ __('British Indian Ocean Territory', 'wpsl') => 'io',
521
+ __('British Virgin Islands', 'wpsl') => 'vg',
522
+ __('Brunei', 'wpsl') => 'bn',
523
+ __('Bulgaria', 'wpsl') => 'bg',
524
+ __('Burkina Faso', 'wpsl') => 'bf',
525
+ __('Burundi', 'wpsl') => 'bi',
526
+ __('Cambodia', 'wpsl') => 'kh',
527
+ __('Cameroon', 'wpsl') => 'cm',
528
+ __('Canada', 'wpsl') => 'ca',
529
+ __('Canary Islands', 'wpsl') => 'ic',
530
+ __('Cape Verde', 'wpsl') => 'cv',
531
+ __('Caribbean Netherlands', 'wpsl') => 'bq',
532
+ __('Cayman Islands', 'wpsl') => 'ky',
533
+ __('Central African Republic', 'wpsl') => 'cf',
534
+ __('Ceuta and Melilla', 'wpsl') => 'ea',
535
+ __('Chad', 'wpsl') => 'td',
536
+ __('Chile', 'wpsl') => 'cl',
537
+ __('China', 'wpsl') => 'cn',
538
+ __('Christmas Island', 'wpsl') => 'cx',
539
+ __('Clipperton Island', 'wpsl') => 'cp',
540
+ __('Cocos (Keeling) Islands', 'wpsl') => 'cc',
541
+ __('Colombia', 'wpsl') => 'co',
542
+ __('Comoros', 'wpsl') => 'km',
543
+ __('Congo (DRC', 'wpsl') => 'cd',
544
+ __('Congo (Republic)', 'wpsl') => 'cg',
545
+ __('Cook Islands', 'wpsl') => 'ck',
546
+ __('Costa Rica', 'wpsl') => 'cr',
547
+ __('Croatia', 'wpsl') => 'hr',
548
+ __('Cuba', 'wpsl') => 'cu',
549
+ __('Curaçao', 'wpsl') => 'cw',
550
+ __('Cyprus', 'wpsl') => 'cy',
551
+ __('Czech Republic', 'wpsl') => 'cz',
552
+ __('Côte d\'Ivoire', 'wpsl') => 'ci',
553
+ __('Denmark', 'wpsl') => 'dk',
554
+ __('Djibouti', 'wpsl') => 'dj',
555
+ __('Democratic Republic of the Congo', 'wpsl') => 'cd',
556
+ __('Dominica', 'wpsl') => 'dm',
557
+ __('Dominican Republic', 'wpsl') => 'do',
558
+ __('Ecuador', 'wpsl') => 'ec',
559
+ __('Egypt', 'wpsl') => 'eg',
560
+ __('El Salvador', 'wpsl') => 'sv',
561
+ __('Equatorial Guinea', 'wpsl') => 'gq',
562
+ __('Eritrea', 'wpsl') => 'er',
563
+ __('Estonia', 'wpsl') => 'ee',
564
+ __('Ethiopia', 'wpsl') => 'et',
565
+ __('Falkland Islands(Islas Malvinas)', 'wpsl') => 'fk',
566
+ __('Faroe Islands', 'wpsl') => 'fo',
567
+ __('Fiji', 'wpsl') => 'fj',
568
+ __('Finland', 'wpsl') => 'fi',
569
+ __('France', 'wpsl') => 'fr',
570
+ __('French Guiana', 'wpsl') => 'gf',
571
+ __('French Polynesia', 'wpsl') => 'pf',
572
+ __('French Southern Territories', 'wpsl') => 'tf',
573
+ __('Gabon', 'wpsl') => 'ga',
574
+ __('Gambia', 'wpsl') => 'gm',
575
+ __('Georgia', 'wpsl') => 'ge',
576
+ __('Germany', 'wpsl') => 'de',
577
+ __('Ghana', 'wpsl') => 'gh',
578
+ __('Gibraltar', 'wpsl') => 'gi',
579
+ __('Greece', 'wpsl') => 'gr',
580
+ __('Greenland', 'wpsl') => 'gl',
581
+ __('Grenada', 'wpsl') => 'gd',
582
+ __('Guam', 'wpsl') => 'gu',
583
+ __('Guadeloupe', 'wpsl') => 'gp',
584
+ __('Guam', 'wpsl') => 'gu',
585
+ __('Guatemala', 'wpsl') => 'gt',
586
+ __('Guernsey', 'wpsl') => 'gg',
587
+ __('Guinea', 'wpsl') => 'gn',
588
+ __('Guinea-Bissau', 'wpsl') => 'gw',
589
+ __('Guyana', 'wpsl') => 'gy',
590
+ __('Haiti', 'wpsl') => 'ht',
591
+ __('Heard and McDonald Islands', 'wpsl') => 'hm',
592
+ __('Honduras', 'wpsl') => 'hn',
593
+ __('Hong Kong', 'wpsl') => 'hk',
594
+ __('Hungary', 'wpsl') => 'hu',
595
+ __('Iceland', 'wpsl') => 'is',
596
+ __('India', 'wpsl') => 'in',
597
+ __('Indonesia', 'wpsl') => 'id',
598
+ __('Iran', 'wpsl') => 'ir',
599
+ __('Iraq', 'wpsl') => 'iq',
600
+ __('Ireland', 'wpsl') => 'ie',
601
+ __('Isle of Man', 'wpsl') => 'im',
602
+ __('Israel', 'wpsl') => 'il',
603
+ __('Italy', 'wpsl') => 'it',
604
+ __('Jamaica', 'wpsl') => 'jm',
605
+ __('Japan', 'wpsl') => 'jp',
606
+ __('Jersey', 'wpsl') => 'je',
607
+ __('Jordan', 'wpsl') => 'jo',
608
+ __('Kazakhstan', 'wpsl') => 'kz',
609
+ __('Kenya', 'wpsl') => 'ke',
610
+ __('Kiribati', 'wpsl') => 'ki',
611
+ __('Kosovo', 'wpsl') => 'xk',
612
+ __('Kuwait', 'wpsl') => 'kw',
613
+ __('Kyrgyzstan', 'wpsl') => 'kg',
614
+ __('Laos', 'wpsl') => 'la',
615
+ __('Latvia', 'wpsl') => 'lv',
616
+ __('Lebanon', 'wpsl') => 'lb',
617
+ __('Lesotho', 'wpsl') => 'ls',
618
+ __('Liberia', 'wpsl') => 'lr',
619
+ __('Libya', 'wpsl') => 'ly',
620
+ __('Liechtenstein', 'wpsl') => 'li',
621
+ __('Lithuania', 'wpsl') => 'lt',
622
+ __('Luxembourg', 'wpsl') => 'lu',
623
+ __('Macau', 'wpsl') => 'mo',
624
+ __('Macedonia (FYROM)', 'wpsl') => 'mk',
625
+ __('Madagascar', 'wpsl') => 'mg',
626
+ __('Malawi', 'wpsl') => 'mw',
627
+ __('Malaysia ', 'wpsl') => 'my',
628
+ __('Maldives ', 'wpsl') => 'mv',
629
+ __('Mali', 'wpsl') => 'ml',
630
+ __('Malta', 'wpsl') => 'mt',
631
+ __('Marshall Islands', 'wpsl') => 'mh',
632
+ __('Martinique', 'wpsl') => 'mq',
633
+ __('Mauritania', 'wpsl') => 'mr',
634
+ __('Mauritius', 'wpsl') => 'mu',
635
+ __('Mayotte', 'wpsl') => 'yt',
636
+ __('Mexico', 'wpsl') => 'mx',
637
+ __('Micronesia', 'wpsl') => 'fm',
638
+ __('Moldova', 'wpsl') => 'md',
639
+ __('Monaco' ,'wpsl') => 'mc',
640
+ __('Mongolia', 'wpsl') => 'mn',
641
+ __('Montenegro', 'wpsl') => 'me',
642
+ __('Montserrat', 'wpsl') => 'ms',
643
+ __('Morocco', 'wpsl') => 'ma',
644
+ __('Mozambique', 'wpsl') => 'mz',
645
+ __('Myanmar (Burma)', 'wpsl') => 'mm',
646
+ __('Namibia', 'wpsl') => 'na',
647
+ __('Nauru', 'wpsl') => 'nr',
648
+ __('Nepal', 'wpsl') => 'np',
649
+ __('Netherlands', 'wpsl') => 'nl',
650
+ __('Netherlands Antilles', 'wpsl') => 'an',
651
+ __('New Caledonia', 'wpsl') => 'nc',
652
+ __('New Zealand', 'wpsl') => 'nz',
653
+ __('Nicaragua', 'wpsl') => 'ni',
654
+ __('Niger', 'wpsl') => 'ne',
655
+ __('Nigeria', 'wpsl') => 'ng',
656
+ __('Niue', 'wpsl') => 'nu',
657
+ __('Norfolk Island', 'wpsl') => 'nf',
658
+ __('North Korea', 'wpsl') => 'kp',
659
+ __('Northern Mariana Islands', 'wpsl') => 'mp',
660
+ __('Norway', 'wpsl') => 'no',
661
+ __('Oman', 'wpsl') => 'om',
662
+ __('Pakistan', 'wpsl') => 'pk',
663
+ __('Palau', 'wpsl') => 'pw',
664
+ __('Palestine', 'wpsl') => 'ps',
665
+ __('Panama' ,'wpsl') => 'pa',
666
+ __('Papua New Guinea', 'wpsl') => 'pg',
667
+ __('Paraguay' ,'wpsl') => 'py',
668
+ __('Peru', 'wpsl') => 'pe',
669
+ __('Philippines', 'wpsl') => 'ph',
670
+ __('Pitcairn Islands', 'wpsl') => 'pn',
671
+ __('Poland', 'wpsl') => 'pl',
672
+ __('Portugal', 'wpsl') => 'pt',
673
+ __('Puerto Rico', 'wpsl') => 'pr',
674
+ __('Qatar', 'wpsl') => 'qa',
675
+ __('Reunion', 'wpsl') => 're',
676
+ __('Romania', 'wpsl') => 'ro',
677
+ __('Russia', 'wpsl') => 'ru',
678
+ __('Rwanda', 'wpsl') => 'rw',
679
+ __('Saint Helena', 'wpsl') => 'sh',
680
+ __('Saint Kitts and Nevis', 'wpsl') => 'kn',
681
+ __('Saint Vincent and the Grenadines', 'wpsl') => 'vc',
682
+ __('Saint Lucia', 'wpsl') => 'lc',
683
+ __('Samoa', 'wpsl') => 'ws',
684
+ __('San Marino', 'wpsl') => 'sm',
685
+ __('São Tomé and Príncipe', 'wpsl') => 'st',
686
+ __('Saudi Arabia', 'wpsl') => 'sa',
687
+ __('Senegal', 'wpsl') => 'sn',
688
+ __('Serbia', 'wpsl') => 'rs',
689
+ __('Seychelles', 'wpsl') => 'sc',
690
+ __('Sierra Leone', 'wpsl') => 'sl',
691
+ __('Singapore', 'wpsl') => 'sg',
692
+ __('Sint Maarten', 'wpsl') => 'sx',
693
+ __('Slovakia', 'wpsl') => 'sk',
694
+ __('Slovenia', 'wpsl') => 'si',
695
+ __('Solomon Islands', 'wpsl') => 'sb',
696
+ __('Somalia', 'wpsl') => 'so',
697
+ __('South Africa', 'wpsl') => 'za',
698
+ __('South Georgia and South Sandwich Islands', 'wpsl') => 'gs',
699
+ __('South Korea', 'wpsl') => 'kr',
700
+ __('South Sudan', 'wpsl') => 'ss',
701
+ __('Spain', 'wpsl') => 'es',
702
+ __('Sri Lanka', 'wpsl') => 'lk',
703
+ __('Sudan', 'wpsl') => 'sd',
704
+ __('Swaziland', 'wpsl') => 'sz',
705
+ __('Sweden', 'wpsl') => 'se',
706
+ __('Switzerland', 'wpsl') => 'ch',
707
+ __('Syria', 'wpsl') => 'sy',
708
+ __('São Tomé & Príncipe', 'wpsl') => 'st',
709
+ __('Taiwan', 'wpsl') => 'tw',
710
+ __('Tajikistan', 'wpsl') => 'tj',
711
+ __('Tanzania', 'wpsl') => 'tz',
712
+ __('Thailand', 'wpsl') => 'th',
713
+ __('Timor-Leste', 'wpsl') => 'tl',
714
+ __('Tokelau' ,'wpsl') => 'tk',
715
+ __('Togo', 'wpsl') => 'tg',
716
+ __('Tokelau' ,'wpsl') => 'tk',
717
+ __('Tonga', 'wpsl') => 'to',
718
+ __('Trinidad and Tobago', 'wpsl') => 'tt',
719
+ __('Tristan da Cunha', 'wpsl') => 'ta',
720
+ __('Tunisia', 'wpsl') => 'tn',
721
+ __('Turkey', 'wpsl') => 'tr',
722
+ __('Turkmenistan', 'wpsl') => 'tm',
723
+ __('Turks and Caicos Islands', 'wpsl') => 'tc',
724
+ __('Tuvalu', 'wpsl') => 'tv',
725
+ __('Uganda', 'wpsl') => 'ug',
726
+ __('Ukraine', 'wpsl') => 'ua',
727
+ __('United Arab Emirates', 'wpsl') => 'ae',
728
+ __('United Kingdom', 'wpsl') => 'gb',
729
+ __('United States', 'wpsl') => 'us',
730
+ __('Uruguay', 'wpsl') => 'uy',
731
+ __('Uzbekistan', 'wpsl') => 'uz',
732
+ __('Vanuatu', 'wpsl') => 'vu',
733
+ __('Vatican City', 'wpsl') => 'va',
734
+ __('Venezuela', 'wpsl') => 've',
735
+ __('Vietnam', 'wpsl') => 'vn',
736
+ __('Wallis Futuna', 'wpsl') => 'wf',
737
+ __('Western Sahara', 'wpsl') => 'eh',
738
+ __('Yemen', 'wpsl') => 'ye',
739
+ __('Zambia' ,'wpsl') => 'zm',
740
+ __('Zimbabwe', 'wpsl') => 'zw',
741
+ __('Åland Islands', 'wpsl') => 'ax'
742
+ );
743
  }
744
 
745
  // Make sure we have an array with a value.
admin/css/style.css CHANGED
@@ -129,6 +129,7 @@
129
  width:340px;
130
  }
131
 
 
132
  #wpsl-wrap.wpsl-settings input[type=text].textinput {
133
  width:255px;
134
  }
@@ -344,12 +345,19 @@
344
  overflow: hidden;
345
  }
346
 
347
- .wpsl-store-meta label {
 
348
  float: left;
349
  width: 95px;
350
  margin-top: 3px;
351
  }
352
 
 
 
 
 
 
 
353
  .wpsl-store-meta textarea,
354
  .wpsl-store-meta input[type="text"],
355
  .wpsl-store-meta input[type="email"],
129
  width:340px;
130
  }
131
 
132
+ #wpsl-api-region,
133
  #wpsl-wrap.wpsl-settings input[type=text].textinput {
134
  width:255px;
135
  }
345
  overflow: hidden;
346
  }
347
 
348
+ .wpsl-store-meta label,
349
+ .wpsl-store-meta legend {
350
  float: left;
351
  width: 95px;
352
  margin-top: 3px;
353
  }
354
 
355
+ .wpsl-store-meta fieldset label {
356
+ display: inline-block;
357
+ line-height: 1.4em;
358
+ margin: 0.25em 0 0.5em !important;
359
+ }
360
+
361
  .wpsl-store-meta textarea,
362
  .wpsl-store-meta input[type="text"],
363
  .wpsl-store-meta input[type="email"],
admin/css/style.min.css CHANGED
@@ -1 +1 @@
1
- #wpsl-wrap.wpsl-add-stores p,.wpsl-marker-list,.wpsl-store-meta p{overflow:hidden}.wpsl-info:before,[class*=" wpsl-icon-"]:before,[class^=wpsl-icon-]:before{font-family:fontello;font-style:normal;speak:none;text-decoration:inherit;font-variant:normal;text-transform:none;line-height:1em}@font-face{font-family:fontello;src:url(../font/fontello.eot?54620740);src:url(../font/fontello.eot?54620740#iefix) format('embedded-opentype'),url(../font/fontello.woff?54620740) format('woff'),url(../font/fontello.ttf?54620740) format('truetype'),url(../font/fontello.svg?54620740#fontello) format('svg');font-weight:400;font-style:normal}#wpsl-store-overview .widefat td,#wpsl-wrap .widefat td{padding:12px 7px}#wpsl-wrap.wpsl-settings h2{margin-bottom:15px}#wpsl-wrap .submit{padding:0!important;margin-bottom:-10px!important}#wpsl-store-overview .column-action a{float:left;margin-right:5px}#wpsl-store-overview p.search-box{margin:0 0 1em}.column-action{width:130px}#wpsl-delete-confirmation,.wpsl-hide{display:none}.wpsl-preloader{float:right;margin:4px 0 0 4px}#wpsl-mainnav{border-bottom:1px solid #CCC;float:left;margin-bottom:15px;padding-left:7px;width:99.4%}#wpsl-mainnav li a{display:block;padding:9px 12px;text-decoration:none}#wpsl-mainnav li{float:left;margin:0}#wpsl-wrap label,#wpsl-wrap.wpsl-add-stores label{width:85px;margin-top:6px}#wpsl-wrap.wpsl-add-stores label{float:left}#wpsl-wrap.wpsl-add-stores .wpsl-radioboxes label{float:none;margin-right:10px}#wpsl-wrap textarea{width:489px;resize:none}#wpsl-wrap textarea,.wpsl-tab #wpsl-hours{height:185px}#wpsl-wrap .wpsl-style-input textarea{width:509px;resize:none;margin-bottom:12px;height:165px}#wpsl-style-preview{float:left;margin-bottom:12px}.wpsl-style-preview-error{float:left;margin:6px 0 0 10px;color:#b91111}.wpsl-curve{float:left;border-radius:3px}.wpsl-store-meta .wpsl-error{border:1px solid #c01313}#wpsl-lookup-location{margin-bottom:7px}#wpsl-wrap input[type=email],#wpsl-wrap input[type=text],#wpsl-wrap input[type=url]{width:340px}#wpsl-wrap.wpsl-settings input[type=text].textinput{width:255px}.wpsl-add-store{float:left;width:100%;clear:both}#wpsl-wrap .metabox-holder{float:left;margin-right:20px}#wpsl-wrap .metabox-holder.wpsl-wide{width:100%;padding-top:0}#wpsl-wrap .wpsl-edit-header{margin-bottom:12px}#wpsl-wrap.wpsl-settings .metabox-holder{width:100%}#wpsl-wrap.wpsl-settings .metabox-holder h3:hover{cursor:auto}#wpsl-meta-nav li:hover,#wpsl-store-hours .dashicons:hover,.wpsl-add-period:hover,.wpsl-info:hover,[class*=" wpsl-icon-"]:hover,[class^=wpsl-icon-]:hover{cursor:pointer}#wpsl-gmap-wrap{float:left;width:100%;height:250px;border-radius:3px;margin-top:0;margin-bottom:20px}#wpsl-map-preview #wpsl-gmap-wrap{margin:6px 0 12px}#wpsl-gmap-wrap.wpsl-styles-preview{float:none;margin:0;border-radius:0;clear:both}#wpsl-style-url{display:none;margin:20px 0 0}.wpsl-marker-list li{float:left;padding:10px;margin-right:5px;text-align:center}.wpsl-marker-list li input[type=radio]{margin-right:0}.wpsl-marker-list img{display:block;margin-bottom:7px}.wpsl-active-marker,.wpsl-marker-list li:hover{background:#E4E4E4;border-radius:5px;cursor:pointer}#wpsl-license-form .postbox-container,#wpsl-settings-form .postbox-container{width:535px;clear:both}#wpsl-wrap .metabox-holder{padding-top:0}.wpsl-info{position:relative;margin-left:3px}.wpsl-info:before{content:'\e802';font-size:14px;font-weight:400;display:inline-block;width:1em;margin-right:.2em;text-align:center;margin-left:.2em}.wpsl-info.wpsl-required-setting:before{color:#b91111}.wpsl-info-text{position:absolute;padding:10px;left:-29px;bottom:28px;color:#eee;min-width:200px;background:#222;border-radius:3px}#wpsl-map-preview .wpsl-info-text{width:175px;min-width:0;left:-88px}#wpsl-map-preview .wpsl-info-text::after{left:auto;right:87px}#wpsl-map-preview .wpsl-info{position:absolute;margin-left:5px;top:5px}.wpsl-submit-wrap{position:relative;clear:both}.wpsl-search-settings .wpsl-info-text{white-space:nowrap}.wpsl-info-text:after{position:absolute;border-left:11px solid transparent;border-right:11px solid transparent;border-top:11px solid #222;content:"";left:27px;bottom:-10px}.wpsl-info-text a{color:#fff}#wpsl-settings-form label{position:relative;display:inline-block;font-weight:400;margin:0 10px 0 0;width:220px}#wpsl-save-settings{float:left;clear:both}#wpsl-settings-form .wpsl-radioboxes label{float:none;margin-right:10px;width:auto}#wpsl-faq dt{margin-bottom:4px;font-weight:700;font-size:110%}#wpsl-faq dd{margin-left:0}#wpsl-faq dl{margin-bottom:25px}.wp-list-table .column-action .button{margin:3px 5px 3px 0}.wpsl-store-meta label{float:left;width:95px;margin-top:3px}.wpsl-store-meta input[type=email],.wpsl-store-meta input[type=url],.wpsl-store-meta input[type=text],.wpsl-store-meta textarea{width:340px}.wpsl-store-meta textarea{resize:none}#wpsl-map-preview em,#wpsl-settings-form em,.wpsl-store-meta em{display:block}#wpsl-settings-form .wpsl-info em{display:inline}#wpsl-meta-nav{margin:19px 0 6px}#wpsl-meta-nav li{display:inline;margin-right:5px}#wpsl-meta-nav li a{padding:6px 9px;border-radius:3px 3px 0 0;border-bottom:none;text-decoration:none;outline:0}.wpsl-tab{padding:5px 15px;display:none;border:1px solid #eee;border-radius:0 3px 3px}div.wpsl-active{display:block;background:#fdfdfd}#wpsl-meta-nav .wpsl-active a{border:1px solid #eee;border-bottom:1px solid #fdfdfd;background:#fdfdfd;color:#444}.wpsl-star{color:#c01313}#wpsl-store-hours{border-collapse:collapse;margin:5px 0 20px}#wpsl-settings-form #wpsl-store-hours{width:100%}#wpsl-store-hours div{margin:0;padding:3px;background:#eee;border:1px solid #eee;border-radius:3px;white-space:nowrap}#wpsl-store-hours .wpsl-store-closed{border:none;background:0 0;margin-top:9px;margin-bottom:0}.wpsl-add-period,.wpsl-current-period{float:left}#wpsl-store-hours .wpsl-multiple-periods{float:left;clear:both;margin-top:8px}.wpsl-add-period span,.wpsl-current-period span{float:left;margin:6px 7px 0}.wpsl-add-period span{margin:6px 0 0 7px}#wpsl-store-hours .wpsl-remove-period{background:#999;border-radius:9px}.wpsl-add-period{border:none;background:#eee;border-radius:3px;font-size:13px;padding:3px 10px}.wpsl-default-hours{margin-top:25px}#wpsl-store-hours select{float:left}#wpsl-store-hours th{text-align:left;padding:8px 10px 8px 0;border-bottom:1px solid #eee}#wpsl-settings-form #wpsl-store-hours th{text-align:left}#wpsl-store-hours td{border-bottom:1px solid #eee;padding:7px 10px 7px 0;vertical-align:top}#wpsl-store-hours .wpsl-opening-day{min-width:80px;padding:17px 17px 0 0;text-align:left;vertical-align:top}.wpsl-twentyfour-format .wpsl-opening-hours{width:197px}.wpsl-twelve-format .wpsl-opening-hours{width:245px}#wpsl-settings-form #wpsl-store-hours .wpsl-opening-day{width:150px}#wpsl-settings-form #wpsl-store-hours td p{padding:10px 0 0;margin:0;text-align:left}#wpsl-store-hours .wpsl-add-period{height:30px}.wpsl-pre-38 .wpsl-add-period{height:27px}#wpsl-store-hours .dashicons{color:#999;margin:0 3px}#wpsl-store-hours .dashicons:hover,#wpsl-store-hours .wpsl-add-period:hover .dashicons{color:#444}#wpsl-wrap.wpsl-pre-38 .submit{margin-bottom:0!important}[class*=" wpsl-icon-"]:before,[class^=wpsl-icon-]:before{font-weight:400;display:inline-block;width:1em;margin-right:.2em;text-align:center;margin-left:.2em;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.wpsl-icon-location:before{content:'\e801'}.wpsl-icon-attention-circled:before{content:'\e802'}.wpsl-icon-cancel-circled:before{content:'\e803'}.wpsl-icon-plus-circled:before{content:'\e805'}#wpsl-store-hours .wpsl-icon-cancel-circled,#wpsl-store-hours .wpsl-icon-plus-circled{margin-top:1px;font-size:18px;display:inline-block;color:#999}#wpsl-store-hours .wpsl-icon-cancel-circled:hover,#wpsl-store-hours .wpsl-icon-plus-circled:hover{color:#444}.wpsl-add-on{float:left;position:relative;width:300px;height:240px;background:#fff;margin:20px 20px 0 0;border:1px solid #e8e8e8;border-radius:3px}.wpsl-add-on p{margin-top:0}.wpsl-add-on img{height:auto;max-width:100%;vertical-align:bottom}.wpsl-add-on>a{width:300px;display:inline-block}.wpsl-add-on a img:hover{opacity:.95}.wpsl-add-on .wpsl-add-on-desc{padding:20px}.wpsl-add-on-status{position:absolute;left:20px;bottom:20px}.wpsl-add-on-status p{margin:0 0 4px}
1
+ #wpsl-wrap.wpsl-add-stores p,.wpsl-marker-list,.wpsl-store-meta p{overflow:hidden}.wpsl-info:before,[class*=" wpsl-icon-"]:before,[class^=wpsl-icon-]:before{font-family:fontello;font-style:normal;speak:none;text-decoration:inherit;font-variant:normal;text-transform:none}@font-face{font-family:fontello;src:url(../font/fontello.eot?54620740);src:url(../font/fontello.eot?54620740#iefix) format('embedded-opentype'),url(../font/fontello.woff?54620740) format('woff'),url(../font/fontello.ttf?54620740) format('truetype'),url(../font/fontello.svg?54620740#fontello) format('svg');font-weight:400;font-style:normal}#wpsl-store-overview .widefat td,#wpsl-wrap .widefat td{padding:12px 7px}#wpsl-wrap.wpsl-settings h2{margin-bottom:15px}#wpsl-wrap .submit{padding:0!important;margin-bottom:-10px!important}#wpsl-store-overview .column-action a{float:left;margin-right:5px}#wpsl-store-overview p.search-box{margin:0 0 1em}.column-action{width:130px}#wpsl-delete-confirmation,.wpsl-hide{display:none}.wpsl-preloader{float:right;margin:4px 0 0 4px}#wpsl-mainnav{border-bottom:1px solid #CCC;float:left;margin-bottom:15px;padding-left:7px;width:99.4%}#wpsl-mainnav li a{display:block;padding:9px 12px;text-decoration:none}#wpsl-mainnav li{float:left;margin:0}#wpsl-wrap label,#wpsl-wrap.wpsl-add-stores label{width:85px;margin-top:6px}#wpsl-wrap.wpsl-add-stores label{float:left}#wpsl-wrap.wpsl-add-stores .wpsl-radioboxes label{float:none;margin-right:10px}#wpsl-wrap textarea{width:489px;resize:none}#wpsl-wrap textarea,.wpsl-tab #wpsl-hours{height:185px}#wpsl-wrap .wpsl-style-input textarea{width:509px;resize:none;margin-bottom:12px;height:165px}#wpsl-style-preview{float:left;margin-bottom:12px}.wpsl-style-preview-error{float:left;margin:6px 0 0 10px;color:#b91111}.wpsl-curve{float:left;border-radius:3px}.wpsl-store-meta .wpsl-error{border:1px solid #c01313}#wpsl-lookup-location{margin-bottom:7px}#wpsl-wrap input[type=email],#wpsl-wrap input[type=text],#wpsl-wrap input[type=url]{width:340px}#wpsl-api-region,#wpsl-wrap.wpsl-settings input[type=text].textinput{width:255px}.wpsl-add-store{float:left;width:100%;clear:both}#wpsl-wrap .metabox-holder{float:left;margin-right:20px}#wpsl-wrap .metabox-holder.wpsl-wide{width:100%;padding-top:0}#wpsl-wrap .wpsl-edit-header{margin-bottom:12px}#wpsl-wrap.wpsl-settings .metabox-holder{width:100%}#wpsl-wrap.wpsl-settings .metabox-holder h3:hover{cursor:auto}#wpsl-meta-nav li:hover,#wpsl-store-hours .dashicons:hover,.wpsl-add-period:hover,.wpsl-info:hover,[class*=" wpsl-icon-"]:hover,[class^=wpsl-icon-]:hover{cursor:pointer}#wpsl-gmap-wrap{float:left;width:100%;height:250px;border-radius:3px;margin-top:0;margin-bottom:20px}#wpsl-map-preview #wpsl-gmap-wrap{margin:6px 0 12px}#wpsl-gmap-wrap.wpsl-styles-preview{float:none;margin:0;border-radius:0;clear:both}#wpsl-style-url{display:none;margin:20px 0 0}.wpsl-marker-list li{float:left;padding:10px;margin-right:5px;text-align:center}.wpsl-marker-list li input[type=radio]{margin-right:0}.wpsl-marker-list img{display:block;margin-bottom:7px}.wpsl-active-marker,.wpsl-marker-list li:hover{background:#E4E4E4;border-radius:5px;cursor:pointer}#wpsl-license-form .postbox-container,#wpsl-settings-form .postbox-container{width:535px;clear:both}#wpsl-wrap .metabox-holder{padding-top:0}.wpsl-info{position:relative;margin-left:3px}.wpsl-info:before{content:'\e802';font-size:14px;font-weight:400;display:inline-block;width:1em;margin-right:.2em;text-align:center;line-height:1em;margin-left:.2em}.wpsl-info.wpsl-required-setting:before{color:#b91111}.wpsl-info-text{position:absolute;padding:10px;left:-29px;bottom:28px;color:#eee;min-width:200px;background:#222;border-radius:3px}#wpsl-map-preview .wpsl-info-text{width:175px;min-width:0;left:-88px}#wpsl-map-preview .wpsl-info-text::after{left:auto;right:87px}#wpsl-map-preview .wpsl-info{position:absolute;margin-left:5px;top:5px}.wpsl-submit-wrap{position:relative;clear:both}.wpsl-search-settings .wpsl-info-text{white-space:nowrap}.wpsl-info-text:after{position:absolute;border-left:11px solid transparent;border-right:11px solid transparent;border-top:11px solid #222;content:"";left:27px;bottom:-10px}.wpsl-info-text a{color:#fff}#wpsl-settings-form label{position:relative;display:inline-block;font-weight:400;margin:0 10px 0 0;width:220px}#wpsl-save-settings{float:left;clear:both}#wpsl-settings-form .wpsl-radioboxes label{float:none;margin-right:10px;width:auto}#wpsl-faq dt{margin-bottom:4px;font-weight:700;font-size:110%}#wpsl-faq dd{margin-left:0}#wpsl-faq dl{margin-bottom:25px}.wp-list-table .column-action .button{margin:3px 5px 3px 0}.wpsl-store-meta label,.wpsl-store-meta legend{float:left;width:95px;margin-top:3px}.wpsl-store-meta fieldset label{display:inline-block;line-height:1.4em;margin:.25em 0 .5em!important}.wpsl-store-meta input[type=email],.wpsl-store-meta input[type=url],.wpsl-store-meta input[type=text],.wpsl-store-meta textarea{width:340px}.wpsl-store-meta textarea{resize:none}#wpsl-map-preview em,#wpsl-settings-form em,.wpsl-store-meta em{display:block}#wpsl-settings-form .wpsl-info em{display:inline}#wpsl-meta-nav{margin:19px 0 6px}#wpsl-meta-nav li{display:inline;margin-right:5px}#wpsl-meta-nav li a{padding:6px 9px;border-radius:3px 3px 0 0;border-bottom:none;text-decoration:none;outline:0}.wpsl-tab{padding:5px 15px;display:none;border:1px solid #eee;border-radius:0 3px 3px}div.wpsl-active{display:block;background:#fdfdfd}#wpsl-meta-nav .wpsl-active a{border:1px solid #eee;border-bottom:1px solid #fdfdfd;background:#fdfdfd;color:#444}.wpsl-star{color:#c01313}#wpsl-store-hours{border-collapse:collapse;margin:5px 0 20px}#wpsl-settings-form #wpsl-store-hours{width:100%}#wpsl-store-hours div{margin:0;padding:3px;background:#eee;border:1px solid #eee;border-radius:3px;white-space:nowrap}#wpsl-store-hours .wpsl-store-closed{border:none;background:0 0;margin-top:9px;margin-bottom:0}.wpsl-add-period,.wpsl-current-period{float:left}#wpsl-store-hours .wpsl-multiple-periods{float:left;clear:both;margin-top:8px}.wpsl-add-period span,.wpsl-current-period span{float:left;margin:6px 7px 0}.wpsl-add-period span{margin:6px 0 0 7px}#wpsl-store-hours .wpsl-remove-period{background:#999;border-radius:9px}.wpsl-add-period{border:none;background:#eee;border-radius:3px;font-size:13px;padding:3px 10px}.wpsl-default-hours{margin-top:25px}#wpsl-store-hours select{float:left}#wpsl-store-hours th{text-align:left;padding:8px 10px 8px 0;border-bottom:1px solid #eee}#wpsl-settings-form #wpsl-store-hours th{text-align:left}#wpsl-store-hours td{border-bottom:1px solid #eee;padding:7px 10px 7px 0;vertical-align:top}#wpsl-store-hours .wpsl-opening-day{min-width:80px;padding:17px 17px 0 0;text-align:left;vertical-align:top}.wpsl-twentyfour-format .wpsl-opening-hours{width:197px}.wpsl-twelve-format .wpsl-opening-hours{width:245px}#wpsl-settings-form #wpsl-store-hours .wpsl-opening-day{width:150px}#wpsl-settings-form #wpsl-store-hours td p{padding:10px 0 0;margin:0;text-align:left}#wpsl-store-hours .wpsl-add-period{height:30px}.wpsl-pre-38 .wpsl-add-period{height:27px}#wpsl-store-hours .dashicons{color:#999;margin:0 3px}#wpsl-store-hours .dashicons:hover,#wpsl-store-hours .wpsl-add-period:hover .dashicons{color:#444}#wpsl-wrap.wpsl-pre-38 .submit{margin-bottom:0!important}[class*=" wpsl-icon-"]:before,[class^=wpsl-icon-]:before{font-weight:400;display:inline-block;width:1em;margin-right:.2em;text-align:center;line-height:1em;margin-left:.2em;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.wpsl-icon-location:before{content:'\e801'}.wpsl-icon-attention-circled:before{content:'\e802'}.wpsl-icon-cancel-circled:before{content:'\e803'}.wpsl-icon-plus-circled:before{content:'\e805'}#wpsl-store-hours .wpsl-icon-cancel-circled,#wpsl-store-hours .wpsl-icon-plus-circled{margin-top:1px;font-size:18px;display:inline-block;color:#999}#wpsl-store-hours .wpsl-icon-cancel-circled:hover,#wpsl-store-hours .wpsl-icon-plus-circled:hover{color:#444}.wpsl-add-on{float:left;position:relative;width:300px;height:240px;background:#fff;margin:20px 20px 0 0;border:1px solid #e8e8e8;border-radius:3px}.wpsl-add-on p{margin-top:0}.wpsl-add-on img{height:auto;max-width:100%;vertical-align:bottom}.wpsl-add-on>a{width:300px;display:inline-block}.wpsl-add-on a img:hover{opacity:.95}.wpsl-add-on .wpsl-add-on-desc{padding:20px}.wpsl-add-on-status{position:absolute;left:20px;bottom:20px}.wpsl-add-on-status p{margin:0 0 4px}
css/styles.css CHANGED
@@ -40,10 +40,12 @@
40
  /*
41
  Some themes set a box-shadow or max-width for all image /
42
  div elements, we disable it to prevent it from messing up the map
 
 
43
  */
44
- #wpsl-gmap div,
45
  #wpsl-gmap img,
46
- .wpsl-gmap-canvas div,
47
  .wpsl-gmap-canvas img {
48
  box-shadow: none !important;
49
  max-width: none !important;
@@ -57,6 +59,21 @@ div elements, we disable it to prevent it from messing up the map
57
  max-height: none !important;
58
  }
59
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
60
  #wpsl-wrap {
61
  position: relative;
62
  width: 100%;
@@ -752,12 +769,13 @@ table.wpsl-opening-hours td {
752
  .wpsl-gmap-canvas .wpsl-infobox:before {
753
  border-left:13px solid transparent;
754
  border-right:13px solid transparent;
755
- border-top:13px solid #ccc;
756
  bottom:-13px;
757
  left:38px;
758
  }
759
 
760
- #wpsl-checkbox-filter {
 
761
  display: block;
762
  float: left;
763
  margin: 5px 0 15px;
@@ -765,29 +783,35 @@ table.wpsl-opening-hours td {
765
  width: 100%;
766
  }
767
 
768
- #wpsl-checkbox-filter li {
 
769
  float: left;
770
  list-style: none;
771
  margin: 0 1% 0 0;
772
  }
773
 
774
- #wpsl-checkbox-filter.wpsl-checkbox-1-columns li {
 
775
  width: 99%;
776
  }
777
 
778
- #wpsl-checkbox-filter.wpsl-checkbox-2-columns li {
 
779
  width: 49%;
780
  }
781
 
782
- #wpsl-checkbox-filter.wpsl-checkbox-3-columns li {
 
783
  width: 32%;
784
  }
785
 
786
- #wpsl-checkbox-filter.wpsl-checkbox-4-columns li {
 
787
  width: 24%;
788
  }
789
 
790
- #wpsl-checkbox-filter input {
 
791
  margin-right: 5px;
792
  }
793
 
40
  /*
41
  Some themes set a box-shadow or max-width for all image /
42
  div elements, we disable it to prevent it from messing up the map
43
+
44
+ The .gv-iv- class is used in streetview, and they should not be included.
45
  */
46
+ #wpsl-gmap div:not[class^="gv-iv"],
47
  #wpsl-gmap img,
48
+ .wpsl-gmap-canvas div:not[class^="gv-iv"],
49
  .wpsl-gmap-canvas img {
50
  box-shadow: none !important;
51
  max-width: none !important;
59
  max-height: none !important;
60
  }
61
 
62
+ /*
63
+ Fix a problem where the background color used
64
+ in street view mode doesn't cover the control area.
65
+ */
66
+ #wpsl-gmap * {
67
+ box-sizing: content-box !important;
68
+ -webkit-box-sizing: content-box !important;
69
+ -moz-box-sizing: content-box !important;
70
+ }
71
+
72
+ #wpsl-gmap div.gm-iv-marker,
73
+ .wpsl-gmap-canvas div.gm-iv-marker {
74
+ backgroud-image: inherit;
75
+ }
76
+
77
  #wpsl-wrap {
78
  position: relative;
79
  width: 100%;
769
  .wpsl-gmap-canvas .wpsl-infobox:before {
770
  border-left:13px solid transparent;
771
  border-right:13px solid transparent;
772
+ border-top:13px solid #ccc;
773
  bottom:-13px;
774
  left:38px;
775
  }
776
 
777
+ #wpsl-checkbox-filter,
778
+ .wpsl-custom-checkboxes {
779
  display: block;
780
  float: left;
781
  margin: 5px 0 15px;
783
  width: 100%;
784
  }
785
 
786
+ #wpsl-checkbox-filter li,
787
+ .wpsl-custom-checkboxes li {
788
  float: left;
789
  list-style: none;
790
  margin: 0 1% 0 0;
791
  }
792
 
793
+ #wpsl-checkbox-filter.wpsl-checkbox-1-columns li,
794
+ .wpsl-custom-checkboxes.wpsl-checkbox-1-columns li {
795
  width: 99%;
796
  }
797
 
798
+ #wpsl-checkbox-filter.wpsl-checkbox-2-columns li,
799
+ .wpsl-custom-checkboxes.wpsl-checkbox-2-columns li {
800
  width: 49%;
801
  }
802
 
803
+ #wpsl-checkbox-filter.wpsl-checkbox-3-columns li,
804
+ .wpsl-custom-checkboxes.wpsl-checkbox-3-columns li {
805
  width: 32%;
806
  }
807
 
808
+ #wpsl-checkbox-filter.wpsl-checkbox-4-columns li,
809
+ .wpsl-custom-checkboxes.wpsl-checkbox-4-columns li {
810
  width: 24%;
811
  }
812
 
813
+ #wpsl-checkbox-filter input,
814
+ .wpsl-custom-checkboxes input {
815
  margin-right: 5px;
816
  }
817
 
css/styles.min.css CHANGED
@@ -1 +1 @@
1
- #wpsl-wrap,.wpsl-gmap-canvas{margin-bottom:20px;width:100%}#wpsl-result-list a,#wpsl-wrap [class*=" wpsl-icon-"]:focus,#wpsl-wrap [class^=wpsl-icon-]:active{outline:0}#wpsl-map-controls div:hover,#wpsl-reset-map:hover,#wpsl-search-btn:hover,.wpsl-dropdown{cursor:pointer}#wpsl-wrap,.wpsl-clearfix:after,.wpsl-contact-details{clear:both}@font-face{font-family:wpsl-fontello;src:url(../font/fontello.eot?28897909);src:url(../font/fontello.eot?28897909#iefix) format('embedded-opentype'),url(../font/fontello.woff?28897909) format('woff'),url(../font/fontello.ttf?28897909) format('truetype'),url(../font/fontello.svg?28897909#fontello) format('svg');font-weight:400;font-style:normal}#wpsl-gmap{float:right;width:66.5%;height:350px;margin-bottom:0}.wpsl-store-below #wpsl-gmap{float:none;width:100%}.wpsl-gmap-canvas{height:300px}.gm-style-mtc,.gmnoprint{z-index:9999!important}#wpsl-gmap div,#wpsl-gmap img,.wpsl-gmap-canvas div,.wpsl-gmap-canvas img{box-shadow:none!important;max-width:none!important;background:0 0}#wpsl-gmap img,.wpsl-gmap-canvas img{display:inline!important;opacity:1!important;max-height:none!important}#wpsl-wrap{position:relative;overflow:hidden}#wpsl-search-wrap{float:left;width:100%}#wpsl-search-wrap form{margin:0;padding:0;border:none;outline:0}#wpsl-gmap #wpsl-map-controls{position:absolute;height:28px;right:10px;bottom:24px;border-radius:2px;z-index:3;font-size:11px;white-space:nowrap;overflow:hidden}#wpsl-gmap #wpsl-map-controls.wpsl-street-view-exists{right:48px}#wpsl-map-controls .wpsl-direction-preloader{margin:5px 5px 0}#wpsl-map-controls div{float:left;background:#fff;border-radius:2px}#wpsl-wrap [class*=" wpsl-icon-"],#wpsl-wrap [class^=wpsl-icon-]{position:relative;float:left;padding:7px 9px 7px 8px;display:inline-block;font-family:wpsl-fontello;font-style:normal;font-weight:400;font-size:1.3em;color:#737373;speak:none;text-decoration:inherit;text-align:center;font-variant:normal;text-transform:none;line-height:1em;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}#wpsl-map-controls span{font-family:inherit;font-size:inherit}#wpsl-wrap .wpsl-ie [class*=" wpsl-icon-"],#wpsl-wrap .wpsl-ie [class^=wpsl-icon-]{padding:9px 8px 4px}#wpsl-wrap.wpsl-mobile [class*=" wpsl-icon-"],#wpsl-wrap.wpsl-mobile [class^=wpsl-icon-]{padding:8px 10px}#wpsl-wrap .wpsl-icon-reset{border-radius:2px 0 0 2px;z-index:2;padding-left:9px;padding-right:4px}#wpsl-wrap .wpsl-icon-direction{z-index:1}#wpsl-map-controls.wpsl-reset-exists .wpsl-icon-direction{border-radius:0 2px 2px 0}#wpsl-wrap .wpsl-active-icon,#wpsl-wrap [class*=" wpsl-icon-"]:hover,#wpsl-wrap [class^=wpsl-icon-]:hover{color:#000}#wpsl-wrap .wpsl-in-progress,#wpsl-wrap .wpsl-in-progress:hover{color:#c6c6c6}#wpsl-gmap #wpsl-reset-map{position:absolute;display:none;right:37px;top:37px;padding:6px 14px;background:#fff!important;background-clip:padding-box;border:1px solid rgba(0,0,0,.15);border-radius:2px;z-index:3}.gm-style-cc{word-wrap:normal}#wpsl-search-wrap .wpsl-input,#wpsl-search-wrap .wpsl-select-wrap{display:table}#wpsl-search-btn,#wpsl-search-wrap #wpsl-radius,#wpsl-search-wrap #wpsl-results,#wpsl-search-wrap .wpsl-input input,#wpsl-search-wrap .wpsl-input label{display:table-cell}#wpsl-search-wrap label{margin-bottom:0}#wpsl-search-input{width:179px;height:auto;padding:7px 12px;font-size:100%;margin:0}#wpsl-search-btn,#wpsl-search-wrap input{border:1px solid #d2d2d2;border-radius:3px}#wpsl-search-btn{padding:7px 10px;line-height:1.428571429;font-weight:400;color:#7c7c7c;background-color:#e6e6e6;background-repeat:repeat-x;background-image:-moz-linear-gradient(top,#f4f4f4,#e6e6e6);background-image:-ms-linear-gradient(top,#f4f4f4,#e6e6e6);background-image:-webkit-linear-gradient(top,#f4f4f4,#e6e6e6);background-image:-o-linear-gradient(top,#f4f4f4,#e6e6e6);background-image:linear-gradient(top,#f4f4f4,#e6e6e6);box-shadow:0 1px 2px rgba(64,64,64,.1);text-transform:none!important}#wpsl-search-input.wpsl-error{border:1px solid #bd0028!important}.wpsl-search{margin-bottom:12px;padding:12px 12px 0;background:#f4f3f3}.wpsl-search.wpsl-checkboxes-enabled{padding:12px}.wpsl-back{display:inline-block}#wpsl-result-list{width:33%;margin-right:.5%}.wpsl-store-below #wpsl-result-list{width:100%;margin:12px 0 0}#wpsl-direction-details,#wpsl-stores{height:350px;overflow-y:auto}#wpsl-direction-details,.wpsl-hide{display:none}#wpsl-result-list p{padding-left:10px}.wpsl-store-below #wpsl-result-list p{padding-left:0}.wpsl-direction-before{margin:14px 0 21px;padding-left:10px}.wpsl-store-below .wpsl-direction-before{padding-left:0}.wpsl-direction-before div{margin-top:10px}#wpsl-wrap #wpsl-result-list li{padding:10px;border-bottom:1px dotted #ccc;margin-left:0;overflow:hidden;list-style:none!important;text-indent:0}#wpsl-wrap #wpsl-result-list li li{padding:0;border-bottom:0;margin-left:14px;overflow:visible}#wpsl-wrap #wpsl-result-list ul li{list-style:disc!important}#wpsl-wrap #wpsl-result-list ol li{list-style:decimal!important}#wpsl-wrap.wpsl-store-below #wpsl-result-list li{padding:10px 10px 10px 0}#wpsl-result-list li p{padding-left:0;margin:0 0 20px}.wpsl-store-details.wpsl-store-listing{position:relative;padding-right:20px}.wpsl-store-details.wpsl-store-listing.wpsl-active-details:before,.wpsl-store-details.wpsl-store-listing:before{position:absolute;content:'';bottom:6px;right:0;border-top:5px solid #000;border-left:6px solid transparent;border-right:6px solid transparent}.wpsl-store-details.wpsl-store-listing.wpsl-active-details:before{border-bottom:5px solid #000;border-top:none;border-left:6px solid transparent;border-right:6px solid transparent}#wpsl-stores .wpsl-store-thumb{float:right;border-radius:3px;margin:7px 0 0 10px;padding:0;border:none}.wpsl-direction-index{float:left;width:8%;margin:0 5% 0 0}.wpsl-direction-txt{float:left;width:62%}.wpsl-direction-distance{float:left;width:20%;margin:0 0 0 5%}.wpsl-direction-txt span{display:block;margin-top:10px}.wpsl-country,.wpsl-directions,.wpsl-street{display:block;border-bottom:none!important}#wpsl-wrap #wpsl-result-list li.wpsl-preloader{position:relative;border-bottom:none;padding:10px 10px 10px 35px}.wpsl-preloader img{position:absolute;left:10px;top:50%;margin-top:-8px;box-shadow:none!important;border:none!important}.wpsl-preloader span{float:left;margin:-5px 0 0 11px}#wpsl-search-btn,#wpsl-search-wrap div{margin-right:10px;float:left}#wpsl-search-wrap .wpsl-select-wrap{position:relative;z-index:2;margin-right:0}#wpsl-search-wrap .wpsl-input-field{position:relative}#wpsl-radius,#wpsl-results{float:left;margin-right:15px;display:inline}#wpsl-category{z-index:1;clear:both}#wpsl-search-wrap .wpsl-dropdown div{position:absolute;float:none;margin:-1px 0 0;top:100%;left:-1px;right:-1px;border:1px solid #ccc;background:#fff;border-top:1px solid #eee;border-radius:0 0 3px 3px;opacity:0;overflow:hidden;-webkit-transition:all 150ms ease-in-out;-moz-transition:all 150ms ease-in-out;-ms-transition:all 150ms ease-in-out;transition:all 150ms ease-in-out}#wpsl-search-wrap .wpsl-dropdown.wpsl-active div{opacity:1}#wpsl-search-wrap .wpsl-input label{margin-right:0}#wpsl-radius{margin-right:10px}#wpsl-search select,#wpsl-search-wrap select,.wpsl-direction-details{display:none}#wpsl-search-wrap div label{float:left;margin-right:10px;line-height:32px}#wpsl-results label{width:auto}#wpsl-result-list ul{list-style:none;margin:0;padding:0}#wpsl-gmap .wpsl-info-window,.wpsl-gmap-canvas .wpsl-info-window{max-width:225px}.wpsl-info-window span,.wpsl-more-info-listings span{display:block}.wpsl-info-window .wpsl-no-margin{margin:0}.wpsl-more-info-listings{display:none}.wpsl-info-window span span{display:inline!important}#wpsl-wrap .wpsl-info-window p{margin:0 0 10px}.wpsl-store-hours{margin-top:10px}.wpsl-store-hours strong{display:block}#wpsl-gmap .wpsl-info-actions{display:block;margin:10px 0!important}.wpsl-info-actions a{float:left;margin-right:7px}.wpsl-info-actions .wpsl-zoom-here{margin-right:0}.wpsl-dropdown{position:relative;width:90px;border:1px solid #ccc;background:#fff;border-radius:3px;-webkit-user-select:none;-moz-user-select:none;user-select:none;margin-right:0!important;z-index:2}#wpsl-results .wpsl-dropdown{width:70px}.wpsl-dropdown ul{position:absolute;left:0;width:100%;height:100%;padding:0!important;margin:0!important;list-style:none;overflow:hidden}.wpsl-dropdown:hover{box-shadow:0 0 5px rgba(0,0,0,.15)}.wpsl-dropdown .wpsl-selected-item,.wpsl-dropdown li{position:relative;display:block;line-height:normal;color:#000;overflow:hidden}#wpsl-radius .wpsl-dropdown .wpsl-selected-item,#wpsl-radius .wpsl-dropdown li,#wpsl-results .wpsl-dropdown .wpsl-selected-item,#wpsl-results .wpsl-dropdown li{white-space:nowrap}.wpsl-selected-item:after{position:absolute;content:"";right:12px;top:50%;margin-top:-4px;border:6px solid transparent;border-top:8px solid #000}.wpsl-active .wpsl-selected-item:after{margin-top:-10px;border:6px solid transparent;border-bottom:8px solid #000}.wpsl-dropdown li:hover{background:#f8f9f8;position:relative;z-index:3;color:#000}.wpsl-dropdown .wpsl-selected-item,.wpsl-dropdown li,.wpsl-selected-item{list-style:none;padding:9px 12px!important;margin:0!important}.wpsl-selected-dropdown{font-weight:700}.wpsl-clearfix:after,.wpsl-clearfix:before{content:" ";display:table}#wpsl-wrap .wpsl-selected-item{position:static;padding-right:35px!important}#wpsl-category,.wpsl-input,.wpsl-select-wrap{position:relative;margin-bottom:10px}#wpsl-search-wrap .wpsl-scroll-required div{overflow-y:scroll}.wpsl-scroll-required ul{overflow:visible}.wpsl-provided-by{float:right;padding:5px 0;text-align:right;font-size:12px;width:100%}#wpsl-wrap .wpsl-results-only label{width:auto}.wpsl-contact-details,.wpsl-location-address,.wpsl-locations-details{margin-bottom:15px}table.wpsl-opening-hours td{vertical-align:top;padding:0 15px 0 0;text-align:left}table.wpsl-opening-hours time{display:block}table.wpsl-opening-hours{width:auto!important;font-size:100%!important}table.wpsl-opening-hours,table.wpsl-opening-hours td{border:none!important}.wpsl-gmap-canvas .wpsl-infobox{min-width:155px;max-width:350px!important;padding:10px;border-radius:4px;font-size:13px;font-weight:300;border:1px solid #ccc;background:#fff!important}.wpsl-gmap-canvas .wpsl-infobox:after,.wpsl-gmap-canvas .wpsl-infobox:before{position:absolute;content:"";left:40px;bottom:-11px}.wpsl-gmap-canvas .wpsl-infobox:after{border-left:11px solid transparent;border-right:11px solid transparent;border-top:11px solid #fff}.wpsl-gmap-canvas .wpsl-infobox:before{border-left:13px solid transparent;border-right:13px solid transparent;border-top:13px solid #ccc;bottom:-13px;left:38px}#wpsl-checkbox-filter{display:block;float:left;margin:5px 0 15px;padding:0;width:100%}#wpsl-checkbox-filter li{float:left;list-style:none;margin:0 1% 0 0}#wpsl-checkbox-filter.wpsl-checkbox-1-columns li{width:99%}#wpsl-checkbox-filter.wpsl-checkbox-2-columns li{width:49%}#wpsl-checkbox-filter.wpsl-checkbox-3-columns li{width:32%}#wpsl-checkbox-filter.wpsl-checkbox-4-columns li{width:24%}#wpsl-checkbox-filter input{margin-right:5px}#wpsl-result-list .wpsl-contact-details span{display:block!important}@media (max-width:825px){#wpsl-search-input{width:348px}.wpsl-results-only #wpsl-search-wrap .wpsl-dropdown{width:70px}#wpsl-search-wrap .wpsl-input{width:100%;margin-bottom:10px}#wpsl-category label,#wpsl-radius label,.wpsl-cat-results-filter #wpsl-search-wrap .wpsl-input,.wpsl-input label,.wpsl-no-filters #wpsl-search-wrap .wpsl-input,.wpsl-results-only #wpsl-search-wrap .wpsl-input{width:auto}}@media (max-width:720px){#wpsl-search-wrap .wpsl-dropdown{width:114px}}@media (max-width:675px){#wpsl-search-wrap #wpsl-search-btn{float:left;margin:0 5px 0 0}.wpsl-dropdown,.wpsl-results-only #wpsl-search-wrap .wpsl-input{width:100%}.wpsl-search{padding:2%}#wpsl-result-list p,#wpsl-wrap #wpsl-result-list li,.wpsl-direction-before{padding-left:0}.wpsl-input{margin-right:0}#wpsl-gmap,#wpsl-result-list{float:none;width:100%}#wpsl-gmap{margin-bottom:15px;margin-top:10px}#wpsl-result-list,.wpsl-cat-results-filter .wpsl-select-wrap,.wpsl-filter .wpsl-select-wrap{margin-bottom:10px}#wpsl-wrap #wpsl-result-list li.wpsl-preloader{padding-left:25px}.wpsl-preloader img{left:0}#wpsl-stores.wpsl-not-loaded{height:25px}#wpsl-reset-map{top:25px}#wpsl-category,#wpsl-search-btn,.wpsl-input,.wpsl-no-filters #wpsl-search-wrap .wpsl-input,.wpsl-select-wrap{margin-bottom:0}#wpsl-stores.wpsl-no-autoload{height:auto!important}#wpsl-checkbox-filter.wpsl-checkbox-3-columns li,#wpsl-checkbox-filter.wpsl-checkbox-4-columns li{width:49%}}@media (max-width:570px){#wpsl-search-wrap #wpsl-search-btn{margin-bottom:5px}.wpsl-search{padding:4%}#wpsl-search-input{width:98%!important}.wpsl-cat-results-filter #wpsl-search-input,.wpsl-cat-results-filter #wpsl-search-wrap .wpsl-input,.wpsl-no-results #wpsl-search-input,.wpsl-results-only #wpsl-search-input{width:100%!important}.wpsl-search-btn-wrap{margin-top:15px;clear:both}.wpsl-checkboxes-enabled .wpsl-search-btn-wrap{margin-top:0}#wpsl-search-btn,#wpsl-search-wrap div{margin-right:0}#wpsl-search-wrap div label{display:block;width:100%}.wpsl-select-wrap{width:100%}#wpsl-radius,#wpsl-results{width:50%}#wpsl-radius{margin-right:4%}#wpsl-search-wrap .wpsl-dropdown{width:96%!important}.wpsl-no-filters #wpsl-search-input,.wpsl-no-filters #wpsl-search-wrap .wpsl-input{width:100%!important}}@media (max-width:420px){#wpsl-checkbox-filter li{margin:0}#wpsl-checkbox-filter.wpsl-checkbox-1-columns li,#wpsl-checkbox-filter.wpsl-checkbox-2-columns li,#wpsl-checkbox-filter.wpsl-checkbox-3-columns li,#wpsl-checkbox-filter.wpsl-checkbox-4-columns li{width:100%}}
1
+ #wpsl-wrap,.wpsl-gmap-canvas{margin-bottom:20px;width:100%}#wpsl-result-list a,#wpsl-wrap [class*=" wpsl-icon-"]:focus,#wpsl-wrap [class^=wpsl-icon-]:active{outline:0}#wpsl-map-controls div:hover,#wpsl-reset-map:hover,#wpsl-search-btn:hover,.wpsl-dropdown{cursor:pointer}#wpsl-wrap,.wpsl-clearfix:after,.wpsl-contact-details{clear:both}@font-face{font-family:wpsl-fontello;src:url(../font/fontello.eot?28897909);src:url(../font/fontello.eot?28897909#iefix) format('embedded-opentype'),url(../font/fontello.woff?28897909) format('woff'),url(../font/fontello.ttf?28897909) format('truetype'),url(../font/fontello.svg?28897909#fontello) format('svg');font-weight:400;font-style:normal}#wpsl-gmap{float:right;width:66.5%;height:350px;margin-bottom:0}.wpsl-store-below #wpsl-gmap{float:none;width:100%}.wpsl-gmap-canvas{height:300px}.gm-style-mtc,.gmnoprint{z-index:9999!important}#wpsl-gmap div:not[class^=gv-iv],#wpsl-gmap img,.wpsl-gmap-canvas div:not[class^=gv-iv],.wpsl-gmap-canvas img{box-shadow:none!important;max-width:none!important;background:0 0}#wpsl-gmap img,.wpsl-gmap-canvas img{display:inline!important;opacity:1!important;max-height:none!important}#wpsl-gmap *{box-sizing:content-box!important;-webkit-box-sizing:content-box!important;-moz-box-sizing:content-box!important}#wpsl-gmap div.gm-iv-marker,.wpsl-gmap-canvas div.gm-iv-marker{backgroud-image:inherit}#wpsl-wrap{position:relative;overflow:hidden}#wpsl-search-wrap{float:left;width:100%}#wpsl-search-wrap form{margin:0;padding:0;border:none;outline:0}#wpsl-gmap #wpsl-map-controls{position:absolute;height:28px;right:10px;bottom:24px;border-radius:2px;z-index:3;font-size:11px;white-space:nowrap;overflow:hidden}#wpsl-gmap #wpsl-map-controls.wpsl-street-view-exists{right:48px}#wpsl-map-controls .wpsl-direction-preloader{margin:5px 5px 0}#wpsl-map-controls div{float:left;background:#fff;border-radius:2px}#wpsl-wrap [class*=" wpsl-icon-"],#wpsl-wrap [class^=wpsl-icon-]{position:relative;float:left;padding:7px 9px 7px 8px;display:inline-block;font-family:wpsl-fontello;font-style:normal;font-weight:400;font-size:1.3em;color:#737373;speak:none;text-decoration:inherit;text-align:center;font-variant:normal;text-transform:none;line-height:1em;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}#wpsl-map-controls span{font-family:inherit;font-size:inherit}#wpsl-wrap .wpsl-ie [class*=" wpsl-icon-"],#wpsl-wrap .wpsl-ie [class^=wpsl-icon-]{padding:9px 8px 4px}#wpsl-wrap.wpsl-mobile [class*=" wpsl-icon-"],#wpsl-wrap.wpsl-mobile [class^=wpsl-icon-]{padding:8px 10px}#wpsl-wrap .wpsl-icon-reset{border-radius:2px 0 0 2px;z-index:2;padding-left:9px;padding-right:4px}#wpsl-wrap .wpsl-icon-direction{z-index:1}#wpsl-map-controls.wpsl-reset-exists .wpsl-icon-direction{border-radius:0 2px 2px 0}#wpsl-wrap .wpsl-active-icon,#wpsl-wrap [class*=" wpsl-icon-"]:hover,#wpsl-wrap [class^=wpsl-icon-]:hover{color:#000}#wpsl-wrap .wpsl-in-progress,#wpsl-wrap .wpsl-in-progress:hover{color:#c6c6c6}#wpsl-gmap #wpsl-reset-map{position:absolute;display:none;right:37px;top:37px;padding:6px 14px;background:#fff!important;background-clip:padding-box;border:1px solid rgba(0,0,0,.15);border-radius:2px;z-index:3}.gm-style-cc{word-wrap:normal}#wpsl-search-wrap .wpsl-input,#wpsl-search-wrap .wpsl-select-wrap{display:table}#wpsl-search-btn,#wpsl-search-wrap #wpsl-radius,#wpsl-search-wrap #wpsl-results,#wpsl-search-wrap .wpsl-input input,#wpsl-search-wrap .wpsl-input label{display:table-cell}#wpsl-search-wrap label{margin-bottom:0}#wpsl-search-input{width:179px;height:auto;padding:7px 12px;font-size:100%;margin:0}#wpsl-search-btn,#wpsl-search-wrap input{border:1px solid #d2d2d2;border-radius:3px}#wpsl-search-btn{padding:7px 10px;line-height:1.428571429;font-weight:400;color:#7c7c7c;background-color:#e6e6e6;background-repeat:repeat-x;background-image:-moz-linear-gradient(top,#f4f4f4,#e6e6e6);background-image:-ms-linear-gradient(top,#f4f4f4,#e6e6e6);background-image:-webkit-linear-gradient(top,#f4f4f4,#e6e6e6);background-image:-o-linear-gradient(top,#f4f4f4,#e6e6e6);background-image:linear-gradient(top,#f4f4f4,#e6e6e6);box-shadow:0 1px 2px rgba(64,64,64,.1);text-transform:none!important}#wpsl-search-input.wpsl-error{border:1px solid #bd0028!important}.wpsl-search{margin-bottom:12px;padding:12px 12px 0;background:#f4f3f3}.wpsl-search.wpsl-checkboxes-enabled{padding:12px}.wpsl-back{display:inline-block}#wpsl-result-list{width:33%;margin-right:.5%}.wpsl-store-below #wpsl-result-list{width:100%;margin:12px 0 0}#wpsl-direction-details,#wpsl-stores{height:350px;overflow-y:auto}#wpsl-direction-details,.wpsl-hide{display:none}#wpsl-result-list p{padding-left:10px}.wpsl-store-below #wpsl-result-list p{padding-left:0}.wpsl-direction-before{margin:14px 0 21px;padding-left:10px}.wpsl-store-below .wpsl-direction-before{padding-left:0}.wpsl-direction-before div{margin-top:10px}#wpsl-wrap #wpsl-result-list li{padding:10px;border-bottom:1px dotted #ccc;margin-left:0;overflow:hidden;list-style:none!important;text-indent:0}#wpsl-wrap #wpsl-result-list li li{padding:0;border-bottom:0;margin-left:14px;overflow:visible}#wpsl-wrap #wpsl-result-list ul li{list-style:disc!important}#wpsl-wrap #wpsl-result-list ol li{list-style:decimal!important}#wpsl-wrap.wpsl-store-below #wpsl-result-list li{padding:10px 10px 10px 0}#wpsl-result-list li p{padding-left:0;margin:0 0 20px}.wpsl-store-details.wpsl-store-listing{position:relative;padding-right:20px}.wpsl-store-details.wpsl-store-listing.wpsl-active-details:before,.wpsl-store-details.wpsl-store-listing:before{position:absolute;content:'';bottom:6px;right:0;border-top:5px solid #000;border-left:6px solid transparent;border-right:6px solid transparent}.wpsl-store-details.wpsl-store-listing.wpsl-active-details:before{border-bottom:5px solid #000;border-top:none;border-left:6px solid transparent;border-right:6px solid transparent}#wpsl-stores .wpsl-store-thumb{float:right;border-radius:3px;margin:7px 0 0 10px;padding:0;border:none}.wpsl-direction-index{float:left;width:8%;margin:0 5% 0 0}.wpsl-direction-txt{float:left;width:62%}.wpsl-direction-distance{float:left;width:20%;margin:0 0 0 5%}.wpsl-direction-txt span{display:block;margin-top:10px}.wpsl-country,.wpsl-directions,.wpsl-street{display:block;border-bottom:none!important}#wpsl-wrap #wpsl-result-list li.wpsl-preloader{position:relative;border-bottom:none;padding:10px 10px 10px 35px}.wpsl-preloader img{position:absolute;left:10px;top:50%;margin-top:-8px;box-shadow:none!important;border:none!important}.wpsl-preloader span{float:left;margin:-5px 0 0 11px}#wpsl-search-btn,#wpsl-search-wrap div{margin-right:10px;float:left}#wpsl-search-wrap .wpsl-select-wrap{position:relative;z-index:2;margin-right:0}#wpsl-search-wrap .wpsl-input-field{position:relative}#wpsl-radius,#wpsl-results{float:left;margin-right:15px;display:inline}#wpsl-category{z-index:1;clear:both}#wpsl-search-wrap .wpsl-dropdown div{position:absolute;float:none;margin:-1px 0 0;top:100%;left:-1px;right:-1px;border:1px solid #ccc;background:#fff;border-top:1px solid #eee;border-radius:0 0 3px 3px;opacity:0;overflow:hidden;-webkit-transition:all 150ms ease-in-out;-moz-transition:all 150ms ease-in-out;-ms-transition:all 150ms ease-in-out;transition:all 150ms ease-in-out}#wpsl-search-wrap .wpsl-dropdown.wpsl-active div{opacity:1}#wpsl-search-wrap .wpsl-input label{margin-right:0}#wpsl-radius{margin-right:10px}#wpsl-search select,#wpsl-search-wrap select,.wpsl-direction-details{display:none}#wpsl-search-wrap div label{float:left;margin-right:10px;line-height:32px}#wpsl-results label{width:auto}#wpsl-result-list ul{list-style:none;margin:0;padding:0}#wpsl-gmap .wpsl-info-window,.wpsl-gmap-canvas .wpsl-info-window{max-width:225px}.wpsl-info-window span,.wpsl-more-info-listings span{display:block}.wpsl-info-window .wpsl-no-margin{margin:0}.wpsl-more-info-listings{display:none}.wpsl-info-window span span{display:inline!important}#wpsl-wrap .wpsl-info-window p{margin:0 0 10px}.wpsl-store-hours{margin-top:10px}.wpsl-store-hours strong{display:block}#wpsl-gmap .wpsl-info-actions{display:block;margin:10px 0!important}.wpsl-info-actions a{float:left;margin-right:7px}.wpsl-info-actions .wpsl-zoom-here{margin-right:0}.wpsl-dropdown{position:relative;width:90px;border:1px solid #ccc;background:#fff;border-radius:3px;-webkit-user-select:none;-moz-user-select:none;user-select:none;margin-right:0!important;z-index:2}#wpsl-results .wpsl-dropdown{width:70px}.wpsl-dropdown ul{position:absolute;left:0;width:100%;height:100%;padding:0!important;margin:0!important;list-style:none;overflow:hidden}.wpsl-dropdown:hover{box-shadow:0 0 5px rgba(0,0,0,.15)}.wpsl-dropdown .wpsl-selected-item,.wpsl-dropdown li{position:relative;display:block;line-height:normal;color:#000;overflow:hidden}#wpsl-radius .wpsl-dropdown .wpsl-selected-item,#wpsl-radius .wpsl-dropdown li,#wpsl-results .wpsl-dropdown .wpsl-selected-item,#wpsl-results .wpsl-dropdown li{white-space:nowrap}.wpsl-selected-item:after{position:absolute;content:"";right:12px;top:50%;margin-top:-4px;border:6px solid transparent;border-top:8px solid #000}.wpsl-active .wpsl-selected-item:after{margin-top:-10px;border:6px solid transparent;border-bottom:8px solid #000}.wpsl-dropdown li:hover{background:#f8f9f8;position:relative;z-index:3;color:#000}.wpsl-dropdown .wpsl-selected-item,.wpsl-dropdown li,.wpsl-selected-item{list-style:none;padding:9px 12px!important;margin:0!important}.wpsl-selected-dropdown{font-weight:700}.wpsl-clearfix:after,.wpsl-clearfix:before{content:" ";display:table}#wpsl-wrap .wpsl-selected-item{position:static;padding-right:35px!important}#wpsl-category,.wpsl-input,.wpsl-select-wrap{position:relative;margin-bottom:10px}#wpsl-search-wrap .wpsl-scroll-required div{overflow-y:scroll}.wpsl-scroll-required ul{overflow:visible}.wpsl-provided-by{float:right;padding:5px 0;text-align:right;font-size:12px;width:100%}#wpsl-wrap .wpsl-results-only label{width:auto}.wpsl-contact-details,.wpsl-location-address,.wpsl-locations-details{margin-bottom:15px}table.wpsl-opening-hours td{vertical-align:top;padding:0 15px 0 0;text-align:left}table.wpsl-opening-hours time{display:block}table.wpsl-opening-hours{width:auto!important;font-size:100%!important}table.wpsl-opening-hours,table.wpsl-opening-hours td{border:none!important}.wpsl-gmap-canvas .wpsl-infobox{min-width:155px;max-width:350px!important;padding:10px;border-radius:4px;font-size:13px;font-weight:300;border:1px solid #ccc;background:#fff!important}.wpsl-gmap-canvas .wpsl-infobox:after,.wpsl-gmap-canvas .wpsl-infobox:before{position:absolute;content:"";left:40px;bottom:-11px}.wpsl-gmap-canvas .wpsl-infobox:after{border-left:11px solid transparent;border-right:11px solid transparent;border-top:11px solid #fff}.wpsl-gmap-canvas .wpsl-infobox:before{border-left:13px solid transparent;border-right:13px solid transparent;border-top:13px solid #ccc;bottom:-13px;left:38px}#wpsl-checkbox-filter,.wpsl-custom-checkboxes{display:block;float:left;margin:5px 0 15px;padding:0;width:100%}#wpsl-checkbox-filter li,.wpsl-custom-checkboxes li{float:left;list-style:none;margin:0 1% 0 0}#wpsl-checkbox-filter.wpsl-checkbox-1-columns li,.wpsl-custom-checkboxes.wpsl-checkbox-1-columns li{width:99%}#wpsl-checkbox-filter.wpsl-checkbox-2-columns li,.wpsl-custom-checkboxes.wpsl-checkbox-2-columns li{width:49%}#wpsl-checkbox-filter.wpsl-checkbox-3-columns li,.wpsl-custom-checkboxes.wpsl-checkbox-3-columns li{width:32%}#wpsl-checkbox-filter.wpsl-checkbox-4-columns li,.wpsl-custom-checkboxes.wpsl-checkbox-4-columns li{width:24%}#wpsl-checkbox-filter input,.wpsl-custom-checkboxes input{margin-right:5px}#wpsl-result-list .wpsl-contact-details span{display:block!important}@media (max-width:825px){#wpsl-search-input{width:348px}.wpsl-results-only #wpsl-search-wrap .wpsl-dropdown{width:70px}#wpsl-search-wrap .wpsl-input{width:100%;margin-bottom:10px}#wpsl-category label,#wpsl-radius label,.wpsl-cat-results-filter #wpsl-search-wrap .wpsl-input,.wpsl-input label,.wpsl-no-filters #wpsl-search-wrap .wpsl-input,.wpsl-results-only #wpsl-search-wrap .wpsl-input{width:auto}}@media (max-width:720px){#wpsl-search-wrap .wpsl-dropdown{width:114px}}@media (max-width:675px){#wpsl-search-wrap #wpsl-search-btn{float:left;margin:0 5px 0 0}.wpsl-dropdown,.wpsl-results-only #wpsl-search-wrap .wpsl-input{width:100%}.wpsl-search{padding:2%}#wpsl-result-list p,#wpsl-wrap #wpsl-result-list li,.wpsl-direction-before{padding-left:0}.wpsl-input{margin-right:0}#wpsl-gmap,#wpsl-result-list{float:none;width:100%}#wpsl-gmap{margin-bottom:15px;margin-top:10px}#wpsl-result-list,.wpsl-cat-results-filter .wpsl-select-wrap,.wpsl-filter .wpsl-select-wrap{margin-bottom:10px}#wpsl-wrap #wpsl-result-list li.wpsl-preloader{padding-left:25px}.wpsl-preloader img{left:0}#wpsl-stores.wpsl-not-loaded{height:25px}#wpsl-reset-map{top:25px}#wpsl-category,#wpsl-search-btn,.wpsl-input,.wpsl-no-filters #wpsl-search-wrap .wpsl-input,.wpsl-select-wrap{margin-bottom:0}#wpsl-stores.wpsl-no-autoload{height:auto!important}#wpsl-checkbox-filter.wpsl-checkbox-3-columns li,#wpsl-checkbox-filter.wpsl-checkbox-4-columns li{width:49%}}@media (max-width:570px){#wpsl-search-wrap #wpsl-search-btn{margin-bottom:5px}.wpsl-search{padding:4%}#wpsl-search-input{width:98%!important}.wpsl-cat-results-filter #wpsl-search-input,.wpsl-cat-results-filter #wpsl-search-wrap .wpsl-input,.wpsl-no-results #wpsl-search-input,.wpsl-results-only #wpsl-search-input{width:100%!important}.wpsl-search-btn-wrap{margin-top:15px;clear:both}.wpsl-checkboxes-enabled .wpsl-search-btn-wrap{margin-top:0}#wpsl-search-btn,#wpsl-search-wrap div{margin-right:0}#wpsl-search-wrap div label{display:block;width:100%}.wpsl-select-wrap{width:100%}#wpsl-radius,#wpsl-results{width:50%}#wpsl-radius{margin-right:4%}#wpsl-search-wrap .wpsl-dropdown{width:96%!important}.wpsl-no-filters #wpsl-search-input,.wpsl-no-filters #wpsl-search-wrap .wpsl-input{width:100%!important}}@media (max-width:420px){#wpsl-checkbox-filter li{margin:0}#wpsl-checkbox-filter.wpsl-checkbox-1-columns li,#wpsl-checkbox-filter.wpsl-checkbox-2-columns li,#wpsl-checkbox-filter.wpsl-checkbox-3-columns li,#wpsl-checkbox-filter.wpsl-checkbox-4-columns li{width:100%}}
frontend/class-frontend.php CHANGED
@@ -96,7 +96,7 @@ if ( !class_exists( 'WPSL_Frontend' ) ) {
96
  */
97
  if ( $wpsl_settings['autoload'] && isset( $_GET['autoload'] ) && $_GET['autoload'] && !$wpsl_settings['debug'] && !isset( $_GET['skip_cache'] ) ) {
98
  $transient_name = $this->create_transient_name();
99
-
100
  if ( false === ( $store_data = get_transient( 'wpsl_autoload_' . $transient_name ) ) ) {
101
  $store_data = $this->find_nearby_locations();
102
 
@@ -125,13 +125,17 @@ if ( !class_exists( 'WPSL_Frontend' ) ) {
125
 
126
  global $wpsl, $wpsl_settings;
127
 
 
 
128
  // Include the set autoload limit.
129
- $name_section = array( $wpsl_settings['autoload_limit'] );
 
 
130
 
131
- /*
132
  * Check if we need to include the cat id(s) in the transient name.
133
- *
134
- * This can only happen if the user used the
135
  * 'category' attr on the wpsl shortcode.
136
  */
137
  if ( isset( $_GET['filter'] ) && $_GET['filter'] ) {
@@ -156,11 +160,22 @@ if ( !class_exists( 'WPSL_Frontend' ) ) {
156
  $lang_code = $wpsl->i18n->check_multilingual_code();
157
 
158
  if ( $lang_code ) {
159
- $name_section[] = '_' . $lang_code;
160
- }
161
 
162
  $transient_name = implode( '_', $name_section );
163
 
 
 
 
 
 
 
 
 
 
 
 
164
  return $transient_name;
165
  }
166
 
@@ -184,7 +199,7 @@ if ( !class_exists( 'WPSL_Frontend' ) ) {
184
  * Set the correct earth radius in either km or miles.
185
  * We need this to calculate the distance between two coordinates.
186
  */
187
- $radius = ( $wpsl_settings['distance_unit'] == 'km' ) ? 6371 : 3959;
188
 
189
  // The placeholder values for the prepared statement in the sql query.
190
  $placeholder_values = array(
@@ -1214,7 +1229,7 @@ if ( !class_exists( 'WPSL_Frontend' ) ) {
1214
 
1215
  // Only show the distance unit if we are dealing with the search radius.
1216
  if ( $list_type == 'search_radius' ) {
1217
- $distance_unit = ' '. esc_attr( $wpsl_settings['distance_unit'] );
1218
  } else {
1219
  $distance_unit = '';
1220
  }
@@ -1329,7 +1344,7 @@ if ( !class_exists( 'WPSL_Frontend' ) ) {
1329
  * @return string|void $category The ID of the selected option.
1330
  */
1331
  public function set_selected_category( $filter_type, $id = '' ) {
1332
-
1333
  $selected_id = isset( $_REQUEST['wpsl-widget-categories'] ) ? ( absint( $_REQUEST['wpsl-widget-categories'] ) ) : '';
1334
 
1335
  if ( $selected_id ) {
@@ -1374,9 +1389,9 @@ if ( !class_exists( 'WPSL_Frontend' ) ) {
1374
 
1375
  global $wpsl_settings;
1376
 
1377
- $required_defaults = array(
1378
  'max_results',
1379
- 'search_radius'
1380
  );
1381
 
1382
  // Strip out the default values that are wrapped in [].
@@ -1488,11 +1503,11 @@ if ( !class_exists( 'WPSL_Frontend' ) ) {
1488
  */
1489
  public function get_marker_props() {
1490
 
1491
- $marker_props = apply_filters( 'wpsl_marker_props', array(
1492
  'scaledSize' => '24,35', // 50% of the normal image to make it work on retina screens.
1493
  'origin' => '0,0',
1494
  'anchor' => '12,35'
1495
- ) );
1496
 
1497
  /*
1498
  * If this is not defined, the url path will default to
@@ -1503,25 +1518,9 @@ if ( !class_exists( 'WPSL_Frontend' ) ) {
1503
  $marker_props['url'] = WPSL_MARKER_URI;
1504
  }
1505
 
1506
- return $marker_props;
1507
- }
1508
-
1509
- /**
1510
- * Check if the map is draggable.
1511
- *
1512
- * @since 2.1.0
1513
- * @return array $draggable The draggable options.
1514
- */
1515
- public function maybe_draggable() {
1516
-
1517
- $draggable = apply_filters( 'wpsl_draggable_map', array(
1518
- 'enabled' => true,
1519
- 'disableRes' => '675' // breakpoint where the dragging is disabled in px.
1520
- ) );
1521
-
1522
- return $draggable;
1523
  }
1524
-
1525
  /**
1526
  * Get the URL to the admin-ajax.php
1527
  *
@@ -1543,6 +1542,26 @@ if ( !class_exists( 'WPSL_Frontend' ) ) {
1543
  return $ajax_url;
1544
  }
1545
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1546
  /**
1547
  * Load the required JS scripts.
1548
  *
@@ -1552,7 +1571,7 @@ if ( !class_exists( 'WPSL_Frontend' ) ) {
1552
  public function add_frontend_scripts() {
1553
 
1554
  global $wpsl_settings, $wpsl;
1555
-
1556
  // Only load the required js files on the store locator page or individual store pages.
1557
  if ( empty( $this->load_scripts ) ) {
1558
  return;
@@ -1585,12 +1604,13 @@ if ( !class_exists( 'WPSL_Frontend' ) ) {
1585
  'controlPosition' => $wpsl_settings['control_position'],
1586
  'url' => WPSL_URL,
1587
  'markerIconProps' => $this->get_marker_props(),
1588
- 'draggable' => $this->maybe_draggable(),
1589
  'storeUrl' => $wpsl_settings['store_url'],
1590
  'maxDropdownHeight' => apply_filters( 'wpsl_max_dropdown_height', 300 ),
1591
  'enableStyledDropdowns' => apply_filters( 'wpsl_enable_styled_dropdowns', true ),
1592
  'mapTabAnchor' => apply_filters( 'wpsl_map_tab_anchor', 'wpsl-map-tab' ),
1593
- 'mapTabAnchorReturn' => apply_filters( 'wpsl_map_tab_anchor_return', false )
 
 
1594
  );
1595
 
1596
  $locator_map_settings = array(
@@ -1612,7 +1632,7 @@ if ( !class_exists( 'WPSL_Frontend' ) ) {
1612
  'templateId' => $wpsl_settings['template_id'],
1613
  'maxResults' => $dropdown_defaults['max_results'],
1614
  'searchRadius' => $dropdown_defaults['search_radius'],
1615
- 'distanceUnit' => $wpsl_settings['distance_unit'],
1616
  'geoLocationTimout' => apply_filters( 'wpsl_geolocation_timeout', 5000 ),
1617
  'ajaxurl' => $this->get_ajax_url(),
1618
  'mapControls' => $this->get_map_controls()
@@ -1631,7 +1651,7 @@ if ( !class_exists( 'WPSL_Frontend' ) ) {
1631
 
1632
  /*
1633
  * If enabled, include the component filter settings.
1634
- *
1635
  * See https://developers.google.com/maps/documentation/javascript/geocoding#ComponentFiltering
1636
  */
1637
  if ( $wpsl_settings['api_region'] && $wpsl_settings['api_geocode_component'] ) {
@@ -1661,7 +1681,7 @@ if ( !class_exists( 'WPSL_Frontend' ) ) {
1661
  $base_settings['mapStyle'] = strip_tags( stripslashes( json_decode( $wpsl_settings['map_style'] ) ) );
1662
  }
1663
 
1664
- wp_enqueue_script( 'wpsl-js', WPSL_URL . 'js/wpsl-gmap'. $min .'.js', array( 'jquery' ), WPSL_VERSION_NUM, true );
1665
  wp_enqueue_script( 'underscore' );
1666
 
1667
  // Check if we need to include all the settings and labels or just a part of them.
@@ -1707,7 +1727,7 @@ if ( !class_exists( 'WPSL_Frontend' ) ) {
1707
  wp_localize_script( 'wpsl-js', 'wpslMap_' . $i, $map );
1708
 
1709
  $i++;
1710
- }
1711
  }
1712
  }
1713
 
96
  */
97
  if ( $wpsl_settings['autoload'] && isset( $_GET['autoload'] ) && $_GET['autoload'] && !$wpsl_settings['debug'] && !isset( $_GET['skip_cache'] ) ) {
98
  $transient_name = $this->create_transient_name();
99
+
100
  if ( false === ( $store_data = get_transient( 'wpsl_autoload_' . $transient_name ) ) ) {
101
  $store_data = $this->find_nearby_locations();
102
 
125
 
126
  global $wpsl, $wpsl_settings;
127
 
128
+ $name_section = array();
129
+
130
  // Include the set autoload limit.
131
+ if ( $wpsl_settings['autoload'] && $wpsl_settings['autoload_limit'] ) {
132
+ $name_section[] = absint( $wpsl_settings['autoload_limit'] );
133
+ }
134
 
135
+ /*
136
  * Check if we need to include the cat id(s) in the transient name.
137
+ *
138
+ * This can only happen if the user used the
139
  * 'category' attr on the wpsl shortcode.
140
  */
141
  if ( isset( $_GET['filter'] ) && $_GET['filter'] ) {
160
  $lang_code = $wpsl->i18n->check_multilingual_code();
161
 
162
  if ( $lang_code ) {
163
+ $name_section[] = $lang_code;
164
+ }
165
 
166
  $transient_name = implode( '_', $name_section );
167
 
168
+ /*
169
+ * If the distance unit filter ( wpsl_distance_unit ) is used to change the km / mi unit based on
170
+ * the location of the IP, then we include the km / mi in the transient name. This is done to
171
+ * prevent users from seeing the wrong distances from the cached data.
172
+ *
173
+ * This way one data set can include the distance in km, and the other one the distance in miles.
174
+ */
175
+ if ( has_filter( 'wpsl_distance_unit' ) ) {
176
+ $transient_name = $transient_name . '_' . wpsl_get_distance_unit();
177
+ }
178
+
179
  return $transient_name;
180
  }
181
 
199
  * Set the correct earth radius in either km or miles.
200
  * We need this to calculate the distance between two coordinates.
201
  */
202
+ $radius = ( wpsl_get_distance_unit() == 'km' ) ? 6371 : 3959;
203
 
204
  // The placeholder values for the prepared statement in the sql query.
205
  $placeholder_values = array(
1229
 
1230
  // Only show the distance unit if we are dealing with the search radius.
1231
  if ( $list_type == 'search_radius' ) {
1232
+ $distance_unit = ' '. esc_attr( wpsl_get_distance_unit() );
1233
  } else {
1234
  $distance_unit = '';
1235
  }
1344
  * @return string|void $category The ID of the selected option.
1345
  */
1346
  public function set_selected_category( $filter_type, $id = '' ) {
1347
+
1348
  $selected_id = isset( $_REQUEST['wpsl-widget-categories'] ) ? ( absint( $_REQUEST['wpsl-widget-categories'] ) ) : '';
1349
 
1350
  if ( $selected_id ) {
1389
 
1390
  global $wpsl_settings;
1391
 
1392
+ $required_defaults = array(
1393
  'max_results',
1394
+ 'search_radius'
1395
  );
1396
 
1397
  // Strip out the default values that are wrapped in [].
1503
  */
1504
  public function get_marker_props() {
1505
 
1506
+ $marker_props = array(
1507
  'scaledSize' => '24,35', // 50% of the normal image to make it work on retina screens.
1508
  'origin' => '0,0',
1509
  'anchor' => '12,35'
1510
+ );
1511
 
1512
  /*
1513
  * If this is not defined, the url path will default to
1518
  $marker_props['url'] = WPSL_MARKER_URI;
1519
  }
1520
 
1521
+ return apply_filters( 'wpsl_marker_props', $marker_props );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1522
  }
1523
+
1524
  /**
1525
  * Get the URL to the admin-ajax.php
1526
  *
1542
  return $ajax_url;
1543
  }
1544
 
1545
+ /**
1546
+ * Get the used travel direction mode.
1547
+ *
1548
+ * @since 2.2.8
1549
+ * @return string $travel_mode The used travel mode for the travel direcions
1550
+ */
1551
+ public function get_directions_travel_mode() {
1552
+
1553
+ $default = 'driving';
1554
+
1555
+ $travel_mode = apply_filters( 'wpsl_direction_travel_mode', $default );
1556
+ $allowed_modes = array( 'driving', 'bicycling', 'transit', 'walking' );
1557
+
1558
+ if ( !in_array( $travel_mode, $allowed_modes ) ) {
1559
+ $travel_mode = $default;
1560
+ }
1561
+
1562
+ return strtoupper( $travel_mode );
1563
+ }
1564
+
1565
  /**
1566
  * Load the required JS scripts.
1567
  *
1571
  public function add_frontend_scripts() {
1572
 
1573
  global $wpsl_settings, $wpsl;
1574
+
1575
  // Only load the required js files on the store locator page or individual store pages.
1576
  if ( empty( $this->load_scripts ) ) {
1577
  return;
1604
  'controlPosition' => $wpsl_settings['control_position'],
1605
  'url' => WPSL_URL,
1606
  'markerIconProps' => $this->get_marker_props(),
 
1607
  'storeUrl' => $wpsl_settings['store_url'],
1608
  'maxDropdownHeight' => apply_filters( 'wpsl_max_dropdown_height', 300 ),
1609
  'enableStyledDropdowns' => apply_filters( 'wpsl_enable_styled_dropdowns', true ),
1610
  'mapTabAnchor' => apply_filters( 'wpsl_map_tab_anchor', 'wpsl-map-tab' ),
1611
+ 'mapTabAnchorReturn' => apply_filters( 'wpsl_map_tab_anchor_return', false ),
1612
+ 'gestureHandling' => apply_filters( 'wpsl_gesture_handling', 'auto' ),
1613
+ 'directionsTravelMode' => $this->get_directions_travel_mode()
1614
  );
1615
 
1616
  $locator_map_settings = array(
1632
  'templateId' => $wpsl_settings['template_id'],
1633
  'maxResults' => $dropdown_defaults['max_results'],
1634
  'searchRadius' => $dropdown_defaults['search_radius'],
1635
+ 'distanceUnit' => wpsl_get_distance_unit(),
1636
  'geoLocationTimout' => apply_filters( 'wpsl_geolocation_timeout', 5000 ),
1637
  'ajaxurl' => $this->get_ajax_url(),
1638
  'mapControls' => $this->get_map_controls()
1651
 
1652
  /*
1653
  * If enabled, include the component filter settings.
1654
+ * @todo see https://developers.google.com/maps/documentation/javascript/releases#327
1655
  * See https://developers.google.com/maps/documentation/javascript/geocoding#ComponentFiltering
1656
  */
1657
  if ( $wpsl_settings['api_region'] && $wpsl_settings['api_geocode_component'] ) {
1681
  $base_settings['mapStyle'] = strip_tags( stripslashes( json_decode( $wpsl_settings['map_style'] ) ) );
1682
  }
1683
 
1684
+ wp_enqueue_script( 'wpsl-js', apply_filters( 'wpsl_gmap_js', WPSL_URL . 'js/wpsl-gmap'. $min .'.js' ), array( 'jquery' ), WPSL_VERSION_NUM, true );
1685
  wp_enqueue_script( 'underscore' );
1686
 
1687
  // Check if we need to include all the settings and labels or just a part of them.
1727
  wp_localize_script( 'wpsl-js', 'wpslMap_' . $i, $map );
1728
 
1729
  $i++;
1730
+ }
1731
  }
1732
  }
1733
 
frontend/underscore-functions.php CHANGED
@@ -78,7 +78,7 @@ function wpsl_create_underscore_templates( $template ) {
78
  $listing_template .= "\t\t" . '<div class="wpsl-direction-wrap">' . "\r\n";
79
 
80
  if ( !$wpsl_settings['hide_distance'] ) {
81
- $listing_template .= "\t\t\t" . '<%= distance %> ' . esc_html( $wpsl_settings['distance_unit'] ) . '' . "\r\n";
82
  }
83
 
84
  $listing_template .= "\t\t\t" . '<%= createDirectionUrl() %>' . "\r\n";
@@ -205,7 +205,7 @@ function wpsl_store_header_template( $location = 'info_window' ) {
205
  * It's possible the permalinks are enabled, but not included in the location data on
206
  * pages where the [wpsl_map] shortcode is used.
207
  *
208
- * So we need to check for undefined, which isn't necesary in all other cases.
209
  */
210
  if ( $location == 'wpsl_map') {
211
  $header_template = '<% if ( typeof permalink !== "undefined" ) { %>' . "\r\n";
78
  $listing_template .= "\t\t" . '<div class="wpsl-direction-wrap">' . "\r\n";
79
 
80
  if ( !$wpsl_settings['hide_distance'] ) {
81
+ $listing_template .= "\t\t\t" . '<%= distance %> ' . esc_html( wpsl_get_distance_unit() ) . '' . "\r\n";
82
  }
83
 
84
  $listing_template .= "\t\t\t" . '<%= createDirectionUrl() %>' . "\r\n";
205
  * It's possible the permalinks are enabled, but not included in the location data on
206
  * pages where the [wpsl_map] shortcode is used.
207
  *
208
+ * So we need to check for undefined, which isn't necessary in all other cases.
209
  */
210
  if ( $location == 'wpsl_map') {
211
  $header_template = '<% if ( typeof permalink !== "undefined" ) { %>' . "\r\n";
inc/class-i18n.php CHANGED
@@ -113,8 +113,10 @@ if ( !class_exists( 'WPSL_i18n' ) ) {
113
 
114
  global $wpsl_settings;
115
 
116
- if ( $this->wpml_exists() ) {
117
  $translation = $text;
 
 
118
  } else {
119
  $translation = stripslashes( $wpsl_settings[$name] );
120
  }
113
 
114
  global $wpsl_settings;
115
 
116
+ if ( defined( 'WPML_ST_VERSION' ) ) {
117
  $translation = $text;
118
+ } elseif ( defined( 'POLYLANG_VERSION' ) ) {
119
+ $translation = pll__( $text );
120
  } else {
121
  $translation = stripslashes( $wpsl_settings[$name] );
122
  }
inc/wpsl-functions.php CHANGED
@@ -537,4 +537,17 @@ function wpsl_deregister_other_gmaps() {
537
  wp_deregister_script( $script->handle );
538
  }
539
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
540
  }
537
  wp_deregister_script( $script->handle );
538
  }
539
  }
540
+ }
541
+
542
+ /**
543
+ * Return the used distance unit.
544
+ *
545
+ * @since 2.2.8
546
+ * @return string Either km or mi
547
+ */
548
+ function wpsl_get_distance_unit() {
549
+
550
+ global $wpsl_settings;
551
+
552
+ return apply_filters( 'wpsl_distance_unit', $wpsl_settings['distance_unit'] );
553
  }
js/wpsl-gmap.js CHANGED
@@ -77,6 +77,7 @@ function initializeGmap( mapId, mapIndex ) {
77
  mapTypeControl: Number( settings.mapTypeControl ) ? true : false,
78
  scrollwheel: Number( settings.scrollWheel ) ? true : false,
79
  streetViewControl: Number( settings.streetView ) ? true : false,
 
80
  zoomControlOptions: {
81
  position: google.maps.ControlPosition[ settings.controlPosition.toUpperCase() + '_TOP' ]
82
  }
@@ -87,15 +88,12 @@ function initializeGmap( mapId, mapIndex ) {
87
 
88
  map = new google.maps.Map( document.getElementById( mapId ), mapOptions );
89
 
90
- // Do we need to disable the dragging of the map?
91
- maybeDisableMapDrag( map );
92
-
93
  // Check if we need to apply a map style.
94
  maybeApplyMapStyle( settings.mapStyle );
95
 
96
  if ( ( typeof window[ "wpslMap_" + mapIndex ] !== "undefined" ) && ( typeof window[ "wpslMap_" + mapIndex ].locations !== "undefined" ) ) {
97
- bounds = new google.maps.LatLngBounds(),
98
- mapData = window[ "wpslMap_" + mapIndex ].locations;
99
 
100
  // Loop over the map data, create the infowindow object and add each marker.
101
  $.each( mapData, function( index ) {
@@ -237,7 +235,8 @@ function getMapSettings( mapIndex ) {
237
  mapStyle: wpslSettings.mapStyle,
238
  streetView: wpslSettings.streetView,
239
  scrollWheel: wpslSettings.scrollWheel,
240
- controlPosition: wpslSettings.controlPosition
 
241
  };
242
 
243
  // If there are settings that are set through the shortcode, then we use them instead of the default ones.
@@ -333,30 +332,6 @@ function newInfoWindow() {
333
  return infoWindow;
334
  }
335
 
336
- /**
337
- * Check if we need to disable dragging on the map.
338
- *
339
- * Disabling dragging fixes the problem on mobile devices where
340
- * users are scrolling down a page, but can't get past the map
341
- * because the map itself is being dragged instead of the page.
342
- *
343
- * @since 2.1.0
344
- * @param {object} map The map object.
345
- * @return {void}
346
- */
347
- function maybeDisableMapDrag( map ) {
348
- var disableRes = parseInt( wpslSettings.draggable.disableRes ),
349
- mapOption = {
350
- draggable: Boolean( wpslSettings.draggable.enabled )
351
- };
352
-
353
- if ( disableRes !== "NaN" && mapOption.draggable ) {
354
- mapOption.draggable = $( document ).width() > disableRes ? true : false;
355
- }
356
-
357
- map.setOptions( mapOption );
358
- }
359
-
360
  /**
361
  * Get the required marker settings.
362
  *
@@ -368,9 +343,13 @@ function getMarkerSettings() {
368
  markerProps = wpslSettings.markerIconProps,
369
  settings = {};
370
 
371
- // If no custom marker path is provided, then we stick with the default one.
372
  if ( typeof markerProps.url !== "undefined" ) {
373
- settings.url = markerProps.url;
 
 
 
 
374
  } else {
375
  settings.url = wpslSettings.url + "img/markers/";
376
  }
@@ -1001,7 +980,7 @@ function calcRoute( start, end ) {
1001
  request = {
1002
  origin: start,
1003
  destination: end,
1004
- travelMode: google.maps.DirectionsTravelMode.DRIVING,
1005
  unitSystem: google.maps.UnitSystem[ distanceUnit ]
1006
  };
1007
 
@@ -1320,7 +1299,8 @@ function makeAjaxRequest( startLatLng, resetMap, autoLoad, infoWindow ) {
1320
  * @returns {object} ajaxData The collected data.
1321
  */
1322
  function collectAjaxData( startLatLng, resetMap, autoLoad ) {
1323
- var maxResult, radius, customName, customValue,
 
1324
  categoryId = "",
1325
  isMobile = $( "#wpsl-wrap" ).hasClass( "wpsl-mobile" ),
1326
  defaultFilters = $( "#wpsl-wrap" ).hasClass( "wpsl-default-filters" ),
@@ -1384,22 +1364,33 @@ function collectAjaxData( startLatLng, resetMap, autoLoad ) {
1384
  // Include values from custom dropdowns.
1385
  if ( $( ".wpsl-custom-dropdown" ).length > 0 ) {
1386
  $( ".wpsl-custom-dropdown" ).each( function( index ) {
1387
- customName = '';
1388
- customValue = '';
1389
 
1390
  if ( isMobile || defaultFilters ) {
1391
- customName = $( this ).attr( "name" );
1392
- customValue = $( this ).val();
1393
  } else {
1394
- customName = $( this ).attr( "name" );
1395
- customValue = $( this ).next( ".wpsl-selected-item" ).attr( "data-value" );
1396
  }
1397
 
1398
- if ( customName && customValue ) {
1399
- ajaxData[customName] = customValue;
1400
  }
1401
  });
1402
  }
 
 
 
 
 
 
 
 
 
 
 
1403
  }
1404
 
1405
  /*
@@ -1407,7 +1398,7 @@ function collectAjaxData( startLatLng, resetMap, autoLoad ) {
1407
  * is based on a geolocation attempt before including the autoload param.
1408
  *
1409
  * Because if both the geolocation and autoload options are enabled,
1410
- * and the geolocation attempt was successfull, then we need to to include
1411
  * the skip_cache param.
1412
  *
1413
  * This makes sure the results don't come from an older transient based on the
@@ -1437,6 +1428,27 @@ function collectAjaxData( startLatLng, resetMap, autoLoad ) {
1437
  return ajaxData;
1438
  }
1439
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1440
  /**
1441
  * Check which no results msg we need to show.
1442
  *
@@ -1517,12 +1529,16 @@ function addMarker( latLng, storeId, infoWindowData, draggable, infoWindow ) {
1517
  var url, mapIcon, marker,
1518
  keepStartMarker = true;
1519
 
1520
- if ( storeId === 0 ) {
1521
- infoWindowData = {
1522
- store: wpslLabels.startPoint
1523
- };
1524
 
1525
- url = markerSettings.url + wpslSettings.startMarker;
 
 
 
 
1526
  } else {
1527
  url = markerSettings.url + wpslSettings.storeMarker;
1528
  }
77
  mapTypeControl: Number( settings.mapTypeControl ) ? true : false,
78
  scrollwheel: Number( settings.scrollWheel ) ? true : false,
79
  streetViewControl: Number( settings.streetView ) ? true : false,
80
+ gestureHandling: settings.gestureHandling,
81
  zoomControlOptions: {
82
  position: google.maps.ControlPosition[ settings.controlPosition.toUpperCase() + '_TOP' ]
83
  }
88
 
89
  map = new google.maps.Map( document.getElementById( mapId ), mapOptions );
90
 
 
 
 
91
  // Check if we need to apply a map style.
92
  maybeApplyMapStyle( settings.mapStyle );
93
 
94
  if ( ( typeof window[ "wpslMap_" + mapIndex ] !== "undefined" ) && ( typeof window[ "wpslMap_" + mapIndex ].locations !== "undefined" ) ) {
95
+ bounds = new google.maps.LatLngBounds(),
96
+ mapData = window[ "wpslMap_" + mapIndex ].locations;
97
 
98
  // Loop over the map data, create the infowindow object and add each marker.
99
  $.each( mapData, function( index ) {
235
  mapStyle: wpslSettings.mapStyle,
236
  streetView: wpslSettings.streetView,
237
  scrollWheel: wpslSettings.scrollWheel,
238
+ controlPosition: wpslSettings.controlPosition,
239
+ gestureHandling: wpslSettings.gestureHandling
240
  };
241
 
242
  // If there are settings that are set through the shortcode, then we use them instead of the default ones.
332
  return infoWindow;
333
  }
334
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
335
  /**
336
  * Get the required marker settings.
337
  *
343
  markerProps = wpslSettings.markerIconProps,
344
  settings = {};
345
 
346
+ // Use the correct marker path.
347
  if ( typeof markerProps.url !== "undefined" ) {
348
+ settings.url = markerProps.url;
349
+ } else if ( typeof markerProps.categoryMarkerUrl !== "undefined" ) {
350
+ settings.categoryMarkerUrl = markerProps.categoryMarkerUrl;
351
+ } else if ( typeof markerProps.alternateMarkerUrl !== "undefined" ) {
352
+ settings.alternateMarkerUrl = markerProps.alternateMarkerUrl;
353
  } else {
354
  settings.url = wpslSettings.url + "img/markers/";
355
  }
980
  request = {
981
  origin: start,
982
  destination: end,
983
+ travelMode: wpslSettings.directionsTravelMode,
984
  unitSystem: google.maps.UnitSystem[ distanceUnit ]
985
  };
986
 
1299
  * @returns {object} ajaxData The collected data.
1300
  */
1301
  function collectAjaxData( startLatLng, resetMap, autoLoad ) {
1302
+ var maxResult, radius, customDropdownName, customDropdownValue,
1303
+ customCheckboxName, customCheckboxValue,
1304
  categoryId = "",
1305
  isMobile = $( "#wpsl-wrap" ).hasClass( "wpsl-mobile" ),
1306
  defaultFilters = $( "#wpsl-wrap" ).hasClass( "wpsl-default-filters" ),
1364
  // Include values from custom dropdowns.
1365
  if ( $( ".wpsl-custom-dropdown" ).length > 0 ) {
1366
  $( ".wpsl-custom-dropdown" ).each( function( index ) {
1367
+ customDropdownName = '';
1368
+ customDropdownValue = '';
1369
 
1370
  if ( isMobile || defaultFilters ) {
1371
+ customDropdownName = $( this ).attr( "name" );
1372
+ customDropdownValue = $( this ).val();
1373
  } else {
1374
+ customDropdownName = $( this ).attr( "name" );
1375
+ customDropdownValue = $( this ).next( ".wpsl-selected-item" ).attr( "data-value" );
1376
  }
1377
 
1378
+ if ( customDropdownName && customDropdownValue ) {
1379
+ ajaxData[customDropdownName] = customDropdownValue;
1380
  }
1381
  });
1382
  }
1383
+
1384
+ // Include values from custom checkboxes
1385
+ if ( $( ".wpsl-custom-checkboxes" ).length > 0 ) {
1386
+ $( ".wpsl-custom-checkboxes" ).each( function( index ) {
1387
+ customCheckboxName = $( this ).attr( "data-name" );
1388
+
1389
+ if ( customCheckboxName ) {
1390
+ ajaxData[customCheckboxName] = getCustomCheckboxValue( customCheckboxName );
1391
+ }
1392
+ });
1393
+ }
1394
  }
1395
 
1396
  /*
1398
  * is based on a geolocation attempt before including the autoload param.
1399
  *
1400
  * Because if both the geolocation and autoload options are enabled,
1401
+ * and the geolocation attempt was successful, then we need to to include
1402
  * the skip_cache param.
1403
  *
1404
  * This makes sure the results don't come from an older transient based on the
1428
  return ajaxData;
1429
  }
1430
 
1431
+ /**
1432
+ * Get custom checkbox values by data-name group.
1433
+ *
1434
+ * If multiple selection are made, then the returned
1435
+ * values are comma separated
1436
+ *
1437
+ * @since 2.2.8
1438
+ * @param {string} customCheckboxName The data-name value of the custom checkbox
1439
+ * @return {string} customValue The collected checkbox values separated by a comma
1440
+ */
1441
+ function getCustomCheckboxValue( customCheckboxName ) {
1442
+ var dataName = $( "[data-name=" + customCheckboxName + "]" ),
1443
+ customValue = [];
1444
+
1445
+ $( dataName ).find( "input:checked" ).each( function( index ) {
1446
+ customValue.push( $( this ).val() );
1447
+ });
1448
+
1449
+ return customValue.join();
1450
+ }
1451
+
1452
  /**
1453
  * Check which no results msg we need to show.
1454
  *
1529
  var url, mapIcon, marker,
1530
  keepStartMarker = true;
1531
 
1532
+ if ( storeId === 0 ) {
1533
+ infoWindowData = {
1534
+ store: wpslLabels.startPoint
1535
+ };
1536
 
1537
+ url = markerSettings.url + wpslSettings.startMarker;
1538
+ } else if ( typeof infoWindowData.alternateMarkerUrl !== "undefined" && infoWindowData.alternateMarkerUrl ) {
1539
+ url = infoWindowData.alternateMarkerUrl;
1540
+ } else if ( typeof infoWindowData.categoryMarkerUrl !== "undefined" && infoWindowData.categoryMarkerUrl ) {
1541
+ url = infoWindowData.categoryMarkerUrl;
1542
  } else {
1543
  url = markerSettings.url + wpslSettings.storeMarker;
1544
  }
js/wpsl-gmap.min.js CHANGED
@@ -1 +1 @@
1
- jQuery(document).ready(function(e){function t(t,l){var d,u,f,h,S,b,y;u=n(l),y=Number(u.zoomLevel),f=i(),X=new google.maps.Geocoder,te=new google.maps.DirectionsRenderer,se=new google.maps.DirectionsService,d={zoom:Number(u.zoomLevel),center:u.startLatLng,mapTypeId:google.maps.MapTypeId[u.mapType.toUpperCase()],mapTypeControl:Number(u.mapTypeControl)?!0:!1,scrollwheel:Number(u.scrollWheel)?!0:!1,streetViewControl:Number(u.streetView)?!0:!1,zoomControlOptions:{position:google.maps.ControlPosition[u.controlPosition.toUpperCase()+"_TOP"]}},we=r(),ee=new google.maps.Map(document.getElementById(t),d),a(ee),p(u.mapStyle),"undefined"!=typeof window["wpslMap_"+l]&&"undefined"!=typeof window["wpslMap_"+l].locations&&(S=new google.maps.LatLngBounds,b=window["wpslMap_"+l].locations,e.each(b,function(e){h=new google.maps.LatLng(b[e].lat,b[e].lng),B(h,b[e].id,b[e],!1,f),S.extend(h)}),ee.fitBounds(S),google.maps.event.addListenerOnce(ee,"bounds_changed",function(e){return function(){e.getZoom()>y&&e.setZoom(y)}}(ee))),e("#wpsl-gmap").length&&(1==wpslSettings.autoComplete&&s(),!w()&&e(".wpsl-dropdown").length&&1==wpslSettings.enableStyledDropdowns?Q():(e("#wpsl-search-wrap select").show(),w()?e("#wpsl-wrap").addClass("wpsl-mobile"):e("#wpsl-wrap").addClass("wpsl-default-filters")),e(".wpsl-search").hasClass("wpsl-widget")||(1==wpslSettings.autoLocate?g(u.startLatLng,f):1==wpslSettings.autoLoad&&c(u.startLatLng,f)),1!=wpslSettings.mouseFocus||w()||e("#wpsl-search-input").focus(),m(f),v(u,ee,f),J()),o()}function s(){var t,s,o,n={};"undefined"==typeof wpslSettings.geocodeComponents||e.isEmptyObject(wpslSettings.geocodeComponents)||(n.componentRestrictions=wpslSettings.geocodeComponents),t=document.getElementById("wpsl-search-input"),s=new google.maps.places.Autocomplete(t,n),s.addListener("place_changed",function(){o=s.getPlace(),o.geometry&&(ne=o.geometry.location)})}function o(){"undefined"!=typeof wpslSettings.markerZoomTo&&1==wpslSettings.markerZoomTo&&google.maps.event.addListener(ee,"zoom_changed",function(){A()})}function n(e){var t,s,o,n=["zoomLevel","mapType","mapTypeControl","mapStyle","streetView","scrollWheel","controlPosition"],i={zoomLevel:wpslSettings.zoomLevel,mapType:wpslSettings.mapType,mapTypeControl:wpslSettings.mapTypeControl,mapStyle:wpslSettings.mapStyle,streetView:wpslSettings.streetView,scrollWheel:wpslSettings.scrollWheel,controlPosition:wpslSettings.controlPosition};if("undefined"!=typeof window["wpslMap_"+e]&&"undefined"!=typeof window["wpslMap_"+e].shortCode)for(t=0,s=n.length;s>t;t++)o=window["wpslMap_"+e].shortCode[n[t]],"undefined"!=typeof o&&(i[n[t]]=o);return i.startLatLng=l(e),i}function l(e){var t,s,o="";return"undefined"!=typeof window["wpslMap_"+e]&&"undefined"!=typeof window["wpslMap_"+e].locations&&(o=window["wpslMap_"+e].locations[0]),"undefined"!=typeof o&&"undefined"!=typeof o.lat&&"undefined"!=typeof o.lng?t=new google.maps.LatLng(o.lat,o.lng):""!==wpslSettings.startLatlng?(s=wpslSettings.startLatlng.split(","),t=new google.maps.LatLng(s[0],s[1])):t=new google.maps.LatLng(0,0),t}function i(){var e,t,s={};return"undefined"!=typeof wpslSettings.infoWindowStyle&&"infobox"==wpslSettings.infoWindowStyle?(e=wpslSettings.infoBoxClearance.split(","),t=wpslSettings.infoBoxPixelOffset.split(","),s={alignBottom:!0,boxClass:wpslSettings.infoBoxClass,closeBoxMargin:wpslSettings.infoBoxCloseMargin,closeBoxURL:wpslSettings.infoBoxCloseUrl,content:"",disableAutoPan:Number(wpslSettings.infoBoxDisableAutoPan)?!0:!1,enableEventPropagation:Number(wpslSettings.infoBoxEnableEventPropagation)?!0:!1,infoBoxClearance:new google.maps.Size(Number(e[0]),Number(e[1])),pixelOffset:new google.maps.Size(Number(t[0]),Number(t[1])),zIndex:Number(wpslSettings.infoBoxZindex)},ie=new InfoBox(s)):ie=new google.maps.InfoWindow,ie}function a(t){var s=parseInt(wpslSettings.draggable.disableRes),o={draggable:Boolean(wpslSettings.draggable.enabled)};"NaN"!==s&&o.draggable&&(o.draggable=e(document).width()>s?!0:!1),t.setOptions(o)}function r(){var e,t=wpslSettings.markerIconProps,s={};"undefined"!=typeof t.url?s.url=t.url:s.url=wpslSettings.url+"img/markers/";for(var o in t)t.hasOwnProperty(o)&&(e=t[o].split(","),2==e.length&&(s[o]=e));return s}function p(e){e=d(e),e&&ee.setOptions({styles:e})}function d(e){try{var t=JSON.parse(e);if(t&&"object"==typeof t&&null!==t)return t}catch(s){}return!1}function c(e,t){B(e,0,"",!0,t),M(e,fe,he,t)}function w(){return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}function g(t,s){if(navigator.geolocation){var o,n,l=!1,i=Number(wpslSettings.geoLocationTimout);o=setInterval(function(){e(".wpsl-icon-direction").toggleClass("wpsl-active-icon")},600),n=setTimeout(function(){u(o),c(t,s)},i),navigator.geolocation.getCurrentPosition(function(i){u(o),clearTimeout(n),F(l),f(t,i,fe,s),e(".wpsl-search").addClass("wpsl-geolocation-run")},function(o){if(e(".wpsl-icon-direction").hasClass("wpsl-user-activated")&&!e(".wpsl-search").hasClass("wpsl-geolocation-run")){switch(o.code){case o.PERMISSION_DENIED:alert(wpslGeolocationErrors.denied);break;case o.POSITION_UNAVAILABLE:alert(wpslGeolocationErrors.unavailable);break;case o.TIMEOUT:alert(wpslGeolocationErrors.timeout);break;default:alert(wpslGeolocationErrors.generalError)}e(".wpsl-icon-direction").removeClass("wpsl-active-icon")}else e(".wpsl-search").hasClass("wpsl-geolocation-run")||(clearTimeout(n),c(t,s))},{maximumAge:6e4,timeout:i,enableHighAccuracy:!0})}else alert(wpslGeolocationErrors.unavailable),c(t,s)}function u(t){clearInterval(t),e(".wpsl-icon-direction").removeClass("wpsl-active-icon")}function f(e,t,s,o){if("undefined"==typeof t)c(e,o);else{var n=new google.maps.LatLng(t.coords.latitude,t.coords.longitude);oe=t,N(n),ee.setCenter(n),B(n,0,"",!0,o),M(n,s,he,o)}}function m(t){e("#wpsl-search-btn").unbind("click").bind("click",function(s){var o=!1;return e("#wpsl-search-input").removeClass(),e("#wpsl-search-input").val()?(e("#wpsl-result-list ul").empty(),e("#wpsl-stores").show(),e(".wpsl-direction-before, .wpsl-direction-after").remove(),e("#wpsl-direction-details").hide(),fe=!1,h(),F(o),b(),1==wpslSettings.autoComplete&&"undefined"!=typeof ne?x(ne,t):I(t)):e("#wpsl-search-input").addClass("wpsl-error").focus(),!1})}function h(){"undefined"!=typeof wpslSettings.infoWindowStyle&&"infobox"==wpslSettings.infoWindowStyle&&"undefined"!=typeof de[0]&&de[0].close()}function v(t,s,o){google.maps.event.addListenerOnce(s,"tilesloaded",function(){e(".gm-style").append(wpslSettings.mapControls),e(".wpsl-icon-reset, #wpsl-reset-map").length>0&&(S(t.startLatLng,o),e(".wpsl-icon-reset").hide()),e(".wpsl-icon-direction").on("click",function(){e(this).addClass("wpsl-user-activated"),g(t.startLatLng,o)})})}function S(t,s){e(".wpsl-icon-reset, #wpsl-reset-map").on("click",function(){var o=!1,n=!0;e(this).hasClass("wpsl-in-progress")||(1==wpslSettings.autoLoad&&(he=1),(ee.getCenter().lat()!==ue.centerLatlng.lat()||ee.getCenter().lng()!==ue.centerLatlng.lng()||ee.getZoom()!==ue.zoomLevel)&&(F(o),e("#wpsl-search-input").val("").removeClass(),e(".wpsl-icon-reset").addClass("wpsl-in-progress"),ae&&ae.clearMarkers(),b(),y(),1==wpslSettings.autoLocate?f(t,oe,n,s):c(t,s)),e("#wpsl-stores").show(),e("#wpsl-direction-details").hide())})}function b(){"undefined"!=typeof re&&""!==re&&(re.setMap(null),re="")}function y(){var t,s,o,n,l,i,a,r,p=e("#wpsl-wrap").hasClass("wpsl-default-filters"),d=[wpslSettings.searchRadius+" "+wpslSettings.distanceUnit,wpslSettings.maxResults],c=["wpsl-radius","wpsl-results"];for(t=0,s=c.length;s>t;t++)e("#"+c[t]+" select").val(parseInt(d[t])),e("#"+c[t]+" li").removeClass(),"wpsl-radius"==c[t]?o=wpslSettings.searchRadius:"wpsl-results"==c[t]&&(o=wpslSettings.maxResults),e("#"+c[t]+" li").each(function(){e(this).text()===d[t]&&(e(this).addClass("wpsl-selected-dropdown"),e("#"+c[t]+" .wpsl-selected-item").html(d[t]).attr("data-value",o))});e("#wpsl-category").length&&(e("#wpsl-category select").val(0),e("#wpsl-category li").removeClass(),e("#wpsl-category li:first-child").addClass("wpsl-selected-dropdown"),n=e("#wpsl-category li:first-child").text(),e("#wpsl-category .wpsl-selected-item").html(n).attr("data-value",0)),e(".wpsl-custom-dropdown").length>0&&e(".wpsl-custom-dropdown").each(function(t){p?e(this).find("option").removeAttr("selected"):(l=e(this).siblings("div"),i=l.find("li:first-child"),a=i.text(),r=i.attr("data-value"),l.find("li").removeClass(),l.prev().html(a).attr("data-value",r))})}function L(t){var s,o,n,l,i;for(h(),i=t.parents("li").length>0?t.parents("li").data("store-id"):t.parents(".wpsl-info-window").data("store-id"),"undefined"!=typeof re&&""!==re&&(o=re.getPosition()),ge={centerLatlng:ee.getCenter(),zoomLevel:ee.getZoom()},s=0,l=ce.length;l>s;s++)0!=ce[s].storeId||"undefined"!=typeof o&&""!==o?ce[s].storeId==i&&(n=ce[s].getPosition()):o=ce[s].getPosition();o&&n?(e("#wpsl-direction-details ul").empty(),e(".wpsl-direction-before, .wpsl-direction-after").remove(),k(o,n)):alert(wpslLabels.generalError)}function C(e,t){var s,o,n;for(s=0,o=ce.length;o>s;s++)ce[s].storeId==e&&(n=ce[s],"start"==t?n.setAnimation(google.maps.Animation.BOUNCE):n.setAnimation(null))}function k(t,s){var o,n,l,i,a,r,p,d,c,w="",g={};d="km"==wpslSettings.distanceUnit?"METRIC":"IMPERIAL",g={origin:t,destination:s,travelMode:google.maps.DirectionsTravelMode.DRIVING,unitSystem:google.maps.UnitSystem[d]},se.route(g,function(t,s){if(s==google.maps.DirectionsStatus.OK){if(te.setMap(ee),te.setDirections(t),t.routes.length>0){for(a=t.routes[0],r=0;r<a.legs.length;r++)for(o=a.legs[r],p=0,n=o.steps.length;n>p;p++)l=o.steps[p],i=p+1,w=w+"<li><div class='wpsl-direction-index'>"+i+"</div><div class='wpsl-direction-txt'>"+l.instructions+"</div><div class='wpsl-direction-distance'>"+l.distance.text+"</div></li>";for(e("#wpsl-direction-details ul").append(w).before("<div class='wpsl-direction-before'><a class='wpsl-back' id='wpsl-direction-start' href='#'>"+wpslLabels.back+"</a><div><span class='wpsl-total-distance'>"+a.legs[0].distance.text+"</span> - <span class='wpsl-total-durations'>"+a.legs[0].duration.text+"</span></div></div>").after("<p class='wpsl-direction-after'>"+t.routes[0].copyrights+"</p>"),e("#wpsl-direction-details").show(),r=0,n=ce.length;n>r;r++)ce[r].setMap(null);ae&&ae.clearMarkers(),"undefined"!=typeof re&&""!==re&&re.setMap(null),e("#wpsl-stores").hide(),1==wpslSettings.templateId&&(c=e("#wpsl-gmap").offset(),e(window).scrollTop(c.top))}}else q(s)})}function I(t){var s,o={address:e("#wpsl-search-input").val()};"undefined"==typeof wpslSettings.geocodeComponents||e.isEmptyObject(wpslSettings.geocodeComponents)||(o.componentRestrictions=wpslSettings.geocodeComponents),X.geocode(o,function(e,o){o==google.maps.GeocoderStatus.OK?(s=e[0].geometry.location,x(s,t)):H(o)})}function x(e,t){var s=!1;B(e,0,"",!0,t),M(e,fe,s,t)}function N(t){var s;X.geocode({latLng:t},function(t,o){o==google.maps.GeocoderStatus.OK?(s=E(t),""!==s&&e("#wpsl-search-input").val(s)):H(o)})}function E(e){var t,s,o,n=e[0].address_components.length;for(o=0;n>o;o++)s=e[0].address_components[o].types,(/^postal_code$/.test(s)||/^postal_code_prefix,postal_code$/.test(s))&&(t=e[0].address_components[o].long_name);return t}function M(e,t,s,o){1==wpslSettings.directionRedirect?R(e,function(){P(e,t,s,o)}):P(e,t,s,o)}function R(e,t){X.geocode({latLng:e},function(e,s){s==google.maps.GeocoderStatus.OK?(pe=e[0].formatted_address,t()):H(s)})}function P(t,s,o,n){var l,i,a={},r="",p=!1,d=e("#wpsl-listing-template").html(),c=e("#wpsl-stores ul"),g=wpslSettings.url+"img/ajax-loader.gif";a=O(t,s,o),c.empty().append("<li class='wpsl-preloader'><img src='"+g+"'/>"+wpslLabels.preloader+"</li>"),e.get(wpslSettings.ajaxurl,a,function(s){e(".wpsl-preloader, .no-results").remove(),s.length>0?(e.each(s,function(e){_.extend(s[e],Ce),l=new google.maps.LatLng(s[e].lat,s[e].lng),B(l,s[e].id,s[e],p,n),r+=_.template(d)(s[e])}),e("#wpsl-result-list").off("click",".wpsl-directions"),c.empty(),c.append(r),e("#wpsl-result-list").on("click",".wpsl-directions",function(){return 1!=wpslSettings.directionRedirect?(L(e(this)),!1):void 0}),Z(),e("#wpsl-result-list p:empty").remove()):(B(t,0,"",!0,n),i=T(),c.html("<li class='no-results'>"+i+"</li>")),K(),1==wpslSettings.resetMap&&(e.isEmptyObject(ue)&&google.maps.event.addListenerOnce(ee,"tilesloaded",function(){ue={centerLatlng:ee.getCenter(),zoomLevel:ee.getZoom()},e("#wpsl-map-controls").addClass("wpsl-reset-exists"),e(".wpsl-icon-reset, #wpsl-reset-map").show()}),e(".wpsl-icon-reset").removeClass("wpsl-in-progress"))}),1!=wpslSettings.mouseFocus||w()||e("#wpsl-search-input").focus()}function O(t,s,o){var n,l,i,a,r="",p=e("#wpsl-wrap").hasClass("wpsl-mobile"),d=e("#wpsl-wrap").hasClass("wpsl-default-filters"),c={action:"store_search",lat:t.lat(),lng:t.lng()};return s?(c.max_results=wpslSettings.maxResults,c.radius=wpslSettings.searchRadius):(p||d?(n=parseInt(e("#wpsl-results .wpsl-dropdown").val()),l=parseInt(e("#wpsl-radius .wpsl-dropdown").val())):(n=parseInt(e("#wpsl-results .wpsl-selected-item").attr("data-value")),l=parseInt(e("#wpsl-radius .wpsl-selected-item").attr("data-value"))),isNaN(n)?c.max_results=wpslSettings.maxResults:c.max_results=n,isNaN(l)?c.radius=wpslSettings.searchRadius:c.radius=l,"undefined"!=typeof wpslSettings.categoryIds?c.filter=wpslSettings.categoryIds:e("#wpsl-category").length>0?(r=p||d?parseInt(e("#wpsl-category .wpsl-dropdown").val()):parseInt(e("#wpsl-category .wpsl-selected-item").attr("data-value")),isNaN(r)||0===r||(c.filter=r)):e("#wpsl-checkbox-filter").length>0&&e("#wpsl-checkbox-filter input:checked").length>0&&(c.filter=z()),e(".wpsl-custom-dropdown").length>0&&e(".wpsl-custom-dropdown").each(function(t){i="",a="",p||d?(i=e(this).attr("name"),a=e(this).val()):(i=e(this).attr("name"),a=e(this).next(".wpsl-selected-item").attr("data-value")),i&&a&&(c[i]=a)})),1==o&&("undefined"!=typeof oe?c.skip_cache=1:(c.autoload=1,"undefined"!=typeof wpslSettings.categoryIds&&(c.filter=wpslSettings.categoryIds))),"undefined"!=typeof wpslSettings.collectStatistics&&0==o&&(c.search=e("#wpsl-search-input").val()),c}function T(){var e;return e="undefined"!=typeof wpslSettings.noResults&&""!==wpslSettings.noResults?wpslSettings.noResults:wpslLabels.noResults}function z(){var t=e("#wpsl-checkbox-filter input:checked").map(function(){return e(this).val()});return t=t.get(),t=t.join(",")}function Z(){if(1==wpslSettings.markerClusters){var e=Number(wpslSettings.clusterZoom),t=Number(wpslSettings.clusterSize);isNaN(e)&&(e=""),isNaN(t)&&(t=""),ae=new MarkerClusterer(ee,ce,{gridSize:t,maxZoom:e})}}function B(e,t,s,o,n){var l,i,a,r=!0;0===t?(s={store:wpslLabels.startPoint},l=we.url+wpslSettings.startMarker):l=we.url+wpslSettings.storeMarker,i={url:l,scaledSize:new google.maps.Size(Number(we.scaledSize[0]),Number(we.scaledSize[1])),origin:new google.maps.Point(Number(we.origin[0]),Number(we.origin[1])),anchor:new google.maps.Point(Number(we.anchor[0]),Number(we.anchor[1]))},a=new google.maps.Marker({position:e,map:ee,optimized:!1,title:V(s.store),draggable:o,storeId:t,icon:i}),ce.push(a),google.maps.event.addListener(a,"click",function(o){return function(){0!=t?"undefined"!=typeof wpslSettings.markerStreetView&&1==wpslSettings.markerStreetView?G(e,function(){$(a,j(s),n,o)}):$(a,j(s),n,o):$(a,wpslLabels.startPoint,n,o),google.maps.event.clearListeners(n,"domready"),google.maps.event.addListener(n,"domready",function(){U(a,o),A()})}}(ee)),o&&google.maps.event.addListener(a,"dragend",function(e){F(r),ee.setCenter(e.latLng),N(e.latLng),M(e.latLng,fe,he=!1,n)})}function V(e){return e?e.replace(/&#(\d+);/g,function(e,t){return String.fromCharCode(t)}):void 0}function $(e,t,s,o){de.length=0,s.setContent(t),s.open(o,e),de.push(s),"undefined"!=typeof wpslSettings.infoWindowStyle&&"infobox"==wpslSettings.infoWindowStyle&&1==wpslSettings.markerClusters&&(le=e.storeId,s.setVisible(!0))}function U(t,s){e(".wpsl-info-actions a").on("click",function(o){var n=Number(wpslSettings.autoZoomLevel);if(o.stopImmediatePropagation(),e(this).hasClass("wpsl-directions")){if(1==wpslSettings.directionRedirect)return!0;L(e(this))}else e(this).hasClass("wpsl-streetview")?W(t,s):e(this).hasClass("wpsl-zoom-here")&&(s.setCenter(t.getPosition()),s.setZoom(n));return!1})}function A(){var t=ee.getZoom();t>=wpslSettings.autoZoomLevel?e(".wpsl-zoom-here").hide():e(".wpsl-zoom-here").show()}function W(t,s){var o=s.getStreetView();o.setPosition(t.getPosition()),o.setVisible(!0),e("#wpsl-map-controls").hide(),D(o,s)}function D(t,s){google.maps.event.addListener(t,"visible_changed",function(){if(!t.getVisible()){var o=s.getZoom();e("#wpsl-map-controls").show(),s.setZoom(o-1),s.setZoom(o)}})}function G(e,t){var s=new google.maps.StreetViewService;s.getPanoramaByLocation(e,50,function(e,s){me=s==google.maps.StreetViewStatus.OK?!0:!1,t()})}function j(t){var s,o;return o=e("#wpsl-base-gmap_0").length?e("#wpsl-cpt-info-window-template").html():e("#wpsl-info-window-template").html(),s=_.template(o)(t)}function K(){var e,t,s=Number(wpslSettings.autoZoomLevel),o=new google.maps.LatLngBounds;for(google.maps.event.addListenerOnce(ee,"bounds_changed",function(e){this.getZoom()>s&&this.setZoom(s)}),e=0,t=ce.length;t>e;e++)o.extend(ce[e].position);ee.fitBounds(o)}function F(e){var t,s;if(te.setMap(null),ce){for(s=0,t=ce.length;t>s;s++)e?1!=ce[s].draggable?ce[s].setMap(null):re=ce[s]:ce[s].setMap(null);ce.length=0}ae&&ae.clearMarkers()}function H(e){var t;switch(e){case"ZERO_RESULTS":t=wpslLabels.noResults;break;case"OVER_QUERY_LIMIT":t=wpslLabels.queryLimit;break;default:t=wpslLabels.generalError}alert(t)}function q(e){var t;switch(e){case"NOT_FOUND":case"ZERO_RESULTS":t=wpslLabels.noDirectionsFound;break;case"OVER_QUERY_LIMIT":t=wpslLabels.queryLimit;break;default:t=wpslLabels.generalError}alert(t)}function Q(){var t=Number(wpslSettings.maxDropdownHeight);e(".wpsl-dropdown").each(function(s){var o,n,l=e(this);l.$dropdownWrap=l.wrap("<div class='wpsl-dropdown'></div>").parent(),l.$selectedVal=l.val(),l.$dropdownElem=e("<div><ul/></div>").appendTo(l.$dropdownWrap),l.$dropdown=l.$dropdownElem.find("ul"),l.$options=l.$dropdownWrap.find("option"),l.hide().removeClass("wpsl-dropdown"),e.each(l.$options,function(){o=e(this).val()==l.$selectedVal?'class="wpsl-selected-dropdown"':"",l.$dropdown.append("<li data-value="+e(this).val()+" "+o+">"+e(this).text()+"</li>")}),l.$dropdownElem.before("<span data-value="+l.find(":selected").val()+" class='wpsl-selected-item'>"+l.find(":selected").text()+"</span>"),l.$dropdownItem=l.$dropdownElem.find("li"),l.$dropdownWrap.on("click",function(s){return e(this).hasClass("wpsl-active")?void e(this).removeClass("wpsl-active"):(Y(),e(this).toggleClass("wpsl-active"),n=0,e(this).hasClass("wpsl-active")?(l.$dropdownItem.each(function(t){n+=e(this).outerHeight()}),l.$dropdownElem.css("height",n+2+"px")):l.$dropdownElem.css("height",0),n>t&&(e(this).addClass("wpsl-scroll-required"),l.$dropdownElem.css("height",t+"px")),void s.stopPropagation())}),l.$dropdownItem.on("click",function(t){l.$dropdownWrap.find(e(".wpsl-selected-item")).html(e(this).text()).attr("data-value",e(this).attr("data-value")),l.$dropdownItem.removeClass("wpsl-selected-dropdown"),e(this).addClass("wpsl-selected-dropdown"),Y(),t.stopPropagation()})}),e(document).click(function(){Y()})}function Y(){e(".wpsl-dropdown").removeClass("wpsl-active"),e(".wpsl-dropdown div").css("height",0)}function J(){e(".wpsl-search").hasClass("wpsl-widget")&&(e("#wpsl-search-btn").trigger("click"),e(".wpsl-search").removeClass("wpsl-widget"))}var X,ee,te,se,oe,ne,le,ie,ae,re,pe,de=[],ce=[],we={},ge={},ue={},fe=!1,me=!1,he="undefined"!=typeof wpslSettings?wpslSettings.autoLoad:"";if(_.templateSettings={evaluate:/\<\%(.+?)\%\>/g,interpolate:/\<\%=(.+?)\%\>/g,escape:/\<\%-(.+?)\%\>/g},e(".wpsl-gmap-canvas").length&&(e("<img />").attr("src",wpslSettings.url+"img/ajax-loader.gif"),e(".wpsl-gmap-canvas").each(function(s){var o=e(this).attr("id");t(o,s)})),e("#wpsl-result-list").on("click",".wpsl-back",function(){var t,s;for(te.setMap(null),t=0,s=ce.length;s>t;t++)ce[t].setMap(ee);return"undefined"!=typeof re&&""!==re&&re.setMap(ee),ae&&Z(),ee.setCenter(ge.centerLatlng),ee.setZoom(ge.zoomLevel),e(".wpsl-direction-before, .wpsl-direction-after").remove(),e("#wpsl-stores").show(),e("#wpsl-direction-details").hide(),!1}),e("#wpsl-gmap").length&&("bounce"==wpslSettings.markerEffect?(e("#wpsl-stores").on("mouseenter","li",function(){C(e(this).data("store-id"),"start")}),e("#wpsl-stores").on("mouseleave","li",function(){C(e(this).data("store-id"),"stop")})):"info_window"==wpslSettings.markerEffect&&e("#wpsl-stores").on("mouseenter","li",function(){var t,s;for(t=0,s=ce.length;s>t;t++)ce[t].storeId==e(this).data("store-id")&&(google.maps.event.trigger(ce[t],"click"),ee.setCenter(ce[t].position))})),"undefined"!=typeof wpslSettings.infoWindowStyle&&"infobox"==wpslSettings.infoWindowStyle&&1==wpslSettings.markerClusters){var ve,Se,be,ye,Le;google.maps.event.addListener(ee,"zoom_changed",function(){google.maps.event.addListenerOnce(ee,"idle",function(){if("undefined"!=typeof ae&&(ve=ae.clusters_,ve.length))for(ye=0,Se=ve.length;Se>ye;ye++)for(Le=0,be=ve[ye].markers_.length;be>Le;Le++)if(ve[ye].markers_[Le].storeId==le){ie.getVisible()&&null===ve[ye].markers_[Le].map?ie.setVisible(!1):ie.getVisible()||null===ve[ye].markers_[Le].map||ie.setVisible(!0);break}})})}var Ce={formatPhoneNumber:function(e){return 1==wpslSettings.phoneUrl&&w()&&(e="<a href='tel:"+Ce.formatClickablePhoneNumber(e)+"'>"+e+"</a>"),e},formatClickablePhoneNumber:function(e){return-1!=e.indexOf("+")&&-1!=e.indexOf("(0)")&&(e=e.replace("(0)","")),e.replace(/(-| |\(|\)|\.|)/g,"")},createInfoWindowActions:function(t){var s,o="",n="";return e("#wpsl-gmap").length&&(me&&(o="<a class='wpsl-streetview' href='#'>"+wpslLabels.streetView+"</a>"),1==wpslSettings.markerZoomTo&&(n="<a class='wpsl-zoom-here' href='#'>"+wpslLabels.zoomHere+"</a>"),s="<div class='wpsl-info-actions'>"+Ce.createDirectionUrl(t)+o+n+"</div>"),s},createDirectionUrl:function(t){var s,o,n,l={};return 1==wpslSettings.directionRedirect?("undefined"==typeof pe&&(pe=""),l.target="target='_blank'","undefined"!=typeof t?l.src=e("[data-store-id="+t+"] .wpsl-directions").attr("href"):(n=this.zip?this.zip+", ":"",o=this.address+", "+this.city+", "+n+this.country,l.src="https://maps.google.com/maps?saddr="+Ce.rfc3986EncodeURIComponent(pe)+"&daddr="+Ce.rfc3986EncodeURIComponent(o))):l={src:"#",target:""},s="<a class='wpsl-directions' "+l.target+" href='"+l.src+"'>"+wpslLabels.directions+"</a>"},rfc3986EncodeURIComponent:function(e){return encodeURIComponent(e).replace(/[!'()*]/g,escape)}};if(e("#wpsl-stores").on("click",".wpsl-store-details",function(){var t,s,o=e(this).parents("li"),n=o.data("store-id");if("info window"==wpslSettings.moreInfoLocation)for(t=0,s=ce.length;s>t;t++)ce[t].storeId==n&&google.maps.event.trigger(ce[t],"click");else o.find(".wpsl-more-info-listings").is(":visible")?e(this).removeClass("wpsl-active-details"):e(this).addClass("wpsl-active-details"),o.siblings().find(".wpsl-store-details").removeClass("wpsl-active-details"),o.siblings().find(".wpsl-more-info-listings").hide(),o.find(".wpsl-more-info-listings").toggle();return"default"!=wpslSettings.templateId||"store listings"==wpslSettings.moreInfoLocation?!1:void 0}),e("a[href='#"+wpslSettings.mapTabAnchor+"']").length){var ke,Ie,xe=Number(wpslSettings.mapTabAnchorReturn)?!0:!1,_e=e("a[href='#"+wpslSettings.mapTabAnchor+"']");_e.on("click",function(){return setTimeout(function(){ke=ee.getZoom(),Ie=ee.getCenter(),google.maps.event.trigger(ee,"resize"),ee.setZoom(ke),ee.setCenter(Ie),K()},50),xe})}});
1
+ jQuery(document).ready(function(e){function t(t,l){var p,g,u,m,v,S,y;g=o(l),y=Number(g.zoomLevel),u=i(),X=new google.maps.Geocoder,te=new google.maps.DirectionsRenderer,se=new google.maps.DirectionsService,p={zoom:Number(g.zoomLevel),center:g.startLatLng,mapTypeId:google.maps.MapTypeId[g.mapType.toUpperCase()],mapTypeControl:Number(g.mapTypeControl)?!0:!1,scrollwheel:Number(g.scrollWheel)?!0:!1,streetViewControl:Number(g.streetView)?!0:!1,gestureHandling:g.gestureHandling,zoomControlOptions:{position:google.maps.ControlPosition[g.controlPosition.toUpperCase()+"_TOP"]}},we=a(),ee=new google.maps.Map(document.getElementById(t),p),r(g.mapStyle),"undefined"!=typeof window["wpslMap_"+l]&&"undefined"!=typeof window["wpslMap_"+l].locations&&(v=new google.maps.LatLngBounds,S=window["wpslMap_"+l].locations,e.each(S,function(e){m=new google.maps.LatLng(S[e].lat,S[e].lng),Z(m,S[e].id,S[e],!1,u),v.extend(m)}),ee.fitBounds(v),google.maps.event.addListenerOnce(ee,"bounds_changed",function(e){return function(){e.getZoom()>y&&e.setZoom(y)}}(ee))),e("#wpsl-gmap").length&&(1==wpslSettings.autoComplete&&s(),!c()&&e(".wpsl-dropdown").length&&1==wpslSettings.enableStyledDropdowns?Q():(e("#wpsl-search-wrap select").show(),c()?e("#wpsl-wrap").addClass("wpsl-mobile"):e("#wpsl-wrap").addClass("wpsl-default-filters")),e(".wpsl-search").hasClass("wpsl-widget")||(1==wpslSettings.autoLocate?w(g.startLatLng,u):1==wpslSettings.autoLoad&&d(g.startLatLng,u)),1!=wpslSettings.mouseFocus||c()||e("#wpsl-search-input").focus(),f(u),h(g,ee,u),J()),n()}function s(){var t,s,n,o={};"undefined"==typeof wpslSettings.geocodeComponents||e.isEmptyObject(wpslSettings.geocodeComponents)||(o.componentRestrictions=wpslSettings.geocodeComponents),t=document.getElementById("wpsl-search-input"),s=new google.maps.places.Autocomplete(t,o),s.addListener("place_changed",function(){n=s.getPlace(),n.geometry&&(oe=n.geometry.location)})}function n(){"undefined"!=typeof wpslSettings.markerZoomTo&&1==wpslSettings.markerZoomTo&&google.maps.event.addListener(ee,"zoom_changed",function(){A()})}function o(e){var t,s,n,o=["zoomLevel","mapType","mapTypeControl","mapStyle","streetView","scrollWheel","controlPosition"],i={zoomLevel:wpslSettings.zoomLevel,mapType:wpslSettings.mapType,mapTypeControl:wpslSettings.mapTypeControl,mapStyle:wpslSettings.mapStyle,streetView:wpslSettings.streetView,scrollWheel:wpslSettings.scrollWheel,controlPosition:wpslSettings.controlPosition,gestureHandling:wpslSettings.gestureHandling};if("undefined"!=typeof window["wpslMap_"+e]&&"undefined"!=typeof window["wpslMap_"+e].shortCode)for(t=0,s=o.length;s>t;t++)n=window["wpslMap_"+e].shortCode[o[t]],"undefined"!=typeof n&&(i[o[t]]=n);return i.startLatLng=l(e),i}function l(e){var t,s,n="";return"undefined"!=typeof window["wpslMap_"+e]&&"undefined"!=typeof window["wpslMap_"+e].locations&&(n=window["wpslMap_"+e].locations[0]),"undefined"!=typeof n&&"undefined"!=typeof n.lat&&"undefined"!=typeof n.lng?t=new google.maps.LatLng(n.lat,n.lng):""!==wpslSettings.startLatlng?(s=wpslSettings.startLatlng.split(","),t=new google.maps.LatLng(s[0],s[1])):t=new google.maps.LatLng(0,0),t}function i(){var e,t,s={};return"undefined"!=typeof wpslSettings.infoWindowStyle&&"infobox"==wpslSettings.infoWindowStyle?(e=wpslSettings.infoBoxClearance.split(","),t=wpslSettings.infoBoxPixelOffset.split(","),s={alignBottom:!0,boxClass:wpslSettings.infoBoxClass,closeBoxMargin:wpslSettings.infoBoxCloseMargin,closeBoxURL:wpslSettings.infoBoxCloseUrl,content:"",disableAutoPan:Number(wpslSettings.infoBoxDisableAutoPan)?!0:!1,enableEventPropagation:Number(wpslSettings.infoBoxEnableEventPropagation)?!0:!1,infoBoxClearance:new google.maps.Size(Number(e[0]),Number(e[1])),pixelOffset:new google.maps.Size(Number(t[0]),Number(t[1])),zIndex:Number(wpslSettings.infoBoxZindex)},ie=new InfoBox(s)):ie=new google.maps.InfoWindow,ie}function a(){var e,t=wpslSettings.markerIconProps,s={};"undefined"!=typeof t.url?s.url=t.url:"undefined"!=typeof t.categoryMarkerUrl?s.categoryMarkerUrl=t.categoryMarkerUrl:"undefined"!=typeof t.alternateMarkerUrl?s.alternateMarkerUrl=t.alternateMarkerUrl:s.url=wpslSettings.url+"img/markers/";for(var n in t)t.hasOwnProperty(n)&&(e=t[n].split(","),2==e.length&&(s[n]=e));return s}function r(e){e=p(e),e&&ee.setOptions({styles:e})}function p(e){try{var t=JSON.parse(e);if(t&&"object"==typeof t&&null!==t)return t}catch(s){}return!1}function d(e,t){Z(e,0,"",!0,t),E(e,fe,he,t)}function c(){return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}function w(t,s){if(navigator.geolocation){var n,o,l=!1,i=Number(wpslSettings.geoLocationTimout);n=setInterval(function(){e(".wpsl-icon-direction").toggleClass("wpsl-active-icon")},600),o=setTimeout(function(){g(n),d(t,s)},i),navigator.geolocation.getCurrentPosition(function(i){g(n),clearTimeout(o),K(l),u(t,i,fe,s),e(".wpsl-search").addClass("wpsl-geolocation-run")},function(n){if(e(".wpsl-icon-direction").hasClass("wpsl-user-activated")&&!e(".wpsl-search").hasClass("wpsl-geolocation-run")){switch(n.code){case n.PERMISSION_DENIED:alert(wpslGeolocationErrors.denied);break;case n.POSITION_UNAVAILABLE:alert(wpslGeolocationErrors.unavailable);break;case n.TIMEOUT:alert(wpslGeolocationErrors.timeout);break;default:alert(wpslGeolocationErrors.generalError)}e(".wpsl-icon-direction").removeClass("wpsl-active-icon")}else e(".wpsl-search").hasClass("wpsl-geolocation-run")||(clearTimeout(o),d(t,s))},{maximumAge:6e4,timeout:i,enableHighAccuracy:!0})}else alert(wpslGeolocationErrors.unavailable),d(t,s)}function g(t){clearInterval(t),e(".wpsl-icon-direction").removeClass("wpsl-active-icon")}function u(e,t,s,n){if("undefined"==typeof t)d(e,n);else{var o=new google.maps.LatLng(t.coords.latitude,t.coords.longitude);ne=t,I(o),ee.setCenter(o),Z(o,0,"",!0,n),E(o,s,he,n)}}function f(t){e("#wpsl-search-btn").unbind("click").bind("click",function(s){var n=!1;return e("#wpsl-search-input").removeClass(),e("#wpsl-search-input").val()?(e("#wpsl-result-list ul").empty(),e("#wpsl-stores").show(),e(".wpsl-direction-before, .wpsl-direction-after").remove(),e("#wpsl-direction-details").hide(),fe=!1,m(),K(n),S(),1==wpslSettings.autoComplete&&"undefined"!=typeof oe?x(oe,t):k(t)):e("#wpsl-search-input").addClass("wpsl-error").focus(),!1})}function m(){"undefined"!=typeof wpslSettings.infoWindowStyle&&"infobox"==wpslSettings.infoWindowStyle&&"undefined"!=typeof de[0]&&de[0].close()}function h(t,s,n){google.maps.event.addListenerOnce(s,"tilesloaded",function(){e(".gm-style").append(wpslSettings.mapControls),e(".wpsl-icon-reset, #wpsl-reset-map").length>0&&(v(t.startLatLng,n),e(".wpsl-icon-reset").hide()),e(".wpsl-icon-direction").on("click",function(){e(this).addClass("wpsl-user-activated"),w(t.startLatLng,n)})})}function v(t,s){e(".wpsl-icon-reset, #wpsl-reset-map").on("click",function(){var n=!1,o=!0;e(this).hasClass("wpsl-in-progress")||(1==wpslSettings.autoLoad&&(he=1),(ee.getCenter().lat()!==ue.centerLatlng.lat()||ee.getCenter().lng()!==ue.centerLatlng.lng()||ee.getZoom()!==ue.zoomLevel)&&(K(n),e("#wpsl-search-input").val("").removeClass(),e(".wpsl-icon-reset").addClass("wpsl-in-progress"),ae&&ae.clearMarkers(),S(),y(),1==wpslSettings.autoLocate?u(t,ne,o,s):d(t,s)),e("#wpsl-stores").show(),e("#wpsl-direction-details").hide())})}function S(){"undefined"!=typeof re&&""!==re&&(re.setMap(null),re="")}function y(){var t,s,n,o,l,i,a,r,p=e("#wpsl-wrap").hasClass("wpsl-default-filters"),d=[wpslSettings.searchRadius+" "+wpslSettings.distanceUnit,wpslSettings.maxResults],c=["wpsl-radius","wpsl-results"];for(t=0,s=c.length;s>t;t++)e("#"+c[t]+" select").val(parseInt(d[t])),e("#"+c[t]+" li").removeClass(),"wpsl-radius"==c[t]?n=wpslSettings.searchRadius:"wpsl-results"==c[t]&&(n=wpslSettings.maxResults),e("#"+c[t]+" li").each(function(){e(this).text()===d[t]&&(e(this).addClass("wpsl-selected-dropdown"),e("#"+c[t]+" .wpsl-selected-item").html(d[t]).attr("data-value",n))});e("#wpsl-category").length&&(e("#wpsl-category select").val(0),e("#wpsl-category li").removeClass(),e("#wpsl-category li:first-child").addClass("wpsl-selected-dropdown"),o=e("#wpsl-category li:first-child").text(),e("#wpsl-category .wpsl-selected-item").html(o).attr("data-value",0)),e(".wpsl-custom-dropdown").length>0&&e(".wpsl-custom-dropdown").each(function(t){p?e(this).find("option").removeAttr("selected"):(l=e(this).siblings("div"),i=l.find("li:first-child"),a=i.text(),r=i.attr("data-value"),l.find("li").removeClass(),l.prev().html(a).attr("data-value",r))})}function b(t){var s,n,o,l,i;for(m(),i=t.parents("li").length>0?t.parents("li").data("store-id"):t.parents(".wpsl-info-window").data("store-id"),"undefined"!=typeof re&&""!==re&&(n=re.getPosition()),ge={centerLatlng:ee.getCenter(),zoomLevel:ee.getZoom()},s=0,l=ce.length;l>s;s++)0!=ce[s].storeId||"undefined"!=typeof n&&""!==n?ce[s].storeId==i&&(o=ce[s].getPosition()):n=ce[s].getPosition();n&&o?(e("#wpsl-direction-details ul").empty(),e(".wpsl-direction-before, .wpsl-direction-after").remove(),C(n,o)):alert(wpslLabels.generalError)}function L(e,t){var s,n,o;for(s=0,n=ce.length;n>s;s++)ce[s].storeId==e&&(o=ce[s],"start"==t?o.setAnimation(google.maps.Animation.BOUNCE):o.setAnimation(null))}function C(t,s){var n,o,l,i,a,r,p,d,c,w="",g={};d="km"==wpslSettings.distanceUnit?"METRIC":"IMPERIAL",g={origin:t,destination:s,travelMode:wpslSettings.directionsTravelMode,unitSystem:google.maps.UnitSystem[d]},se.route(g,function(t,s){if(s==google.maps.DirectionsStatus.OK){if(te.setMap(ee),te.setDirections(t),t.routes.length>0){for(a=t.routes[0],r=0;r<a.legs.length;r++)for(n=a.legs[r],p=0,o=n.steps.length;o>p;p++)l=n.steps[p],i=p+1,w=w+"<li><div class='wpsl-direction-index'>"+i+"</div><div class='wpsl-direction-txt'>"+l.instructions+"</div><div class='wpsl-direction-distance'>"+l.distance.text+"</div></li>";for(e("#wpsl-direction-details ul").append(w).before("<div class='wpsl-direction-before'><a class='wpsl-back' id='wpsl-direction-start' href='#'>"+wpslLabels.back+"</a><div><span class='wpsl-total-distance'>"+a.legs[0].distance.text+"</span> - <span class='wpsl-total-durations'>"+a.legs[0].duration.text+"</span></div></div>").after("<p class='wpsl-direction-after'>"+t.routes[0].copyrights+"</p>"),e("#wpsl-direction-details").show(),r=0,o=ce.length;o>r;r++)ce[r].setMap(null);ae&&ae.clearMarkers(),"undefined"!=typeof re&&""!==re&&re.setMap(null),e("#wpsl-stores").hide(),1==wpslSettings.templateId&&(c=e("#wpsl-gmap").offset(),e(window).scrollTop(c.top))}}else q(s)})}function k(t){var s,n={address:e("#wpsl-search-input").val()};"undefined"==typeof wpslSettings.geocodeComponents||e.isEmptyObject(wpslSettings.geocodeComponents)||(n.componentRestrictions=wpslSettings.geocodeComponents),X.geocode(n,function(e,n){n==google.maps.GeocoderStatus.OK?(s=e[0].geometry.location,x(s,t)):F(n)})}function x(e,t){var s=!1;Z(e,0,"",!0,t),E(e,fe,s,t)}function I(t){var s;X.geocode({latLng:t},function(t,n){n==google.maps.GeocoderStatus.OK?(s=M(t),""!==s&&e("#wpsl-search-input").val(s)):F(n)})}function M(e){var t,s,n,o=e[0].address_components.length;for(n=0;o>n;n++)s=e[0].address_components[n].types,(/^postal_code$/.test(s)||/^postal_code_prefix,postal_code$/.test(s))&&(t=e[0].address_components[n].long_name);return t}function E(e,t,s,n){1==wpslSettings.directionRedirect?N(e,function(){P(e,t,s,n)}):P(e,t,s,n)}function N(e,t){X.geocode({latLng:e},function(e,s){s==google.maps.GeocoderStatus.OK?(pe=e[0].formatted_address,t()):F(s)})}function P(t,s,n,o){var l,i,a={},r="",p=!1,d=e("#wpsl-listing-template").html(),w=e("#wpsl-stores ul"),g=wpslSettings.url+"img/ajax-loader.gif";a=R(t,s,n),w.empty().append("<li class='wpsl-preloader'><img src='"+g+"'/>"+wpslLabels.preloader+"</li>"),e.get(wpslSettings.ajaxurl,a,function(s){e(".wpsl-preloader, .no-results").remove(),s.length>0?(e.each(s,function(e){_.extend(s[e],Ce),l=new google.maps.LatLng(s[e].lat,s[e].lng),Z(l,s[e].id,s[e],p,o),r+=_.template(d)(s[e])}),e("#wpsl-result-list").off("click",".wpsl-directions"),w.empty(),w.append(r),e("#wpsl-result-list").on("click",".wpsl-directions",function(){return 1!=wpslSettings.directionRedirect?(b(e(this)),!1):void 0}),z(),e("#wpsl-result-list p:empty").remove()):(Z(t,0,"",!0,o),i=T(),w.html("<li class='no-results'>"+i+"</li>")),H(),1==wpslSettings.resetMap&&(e.isEmptyObject(ue)&&google.maps.event.addListenerOnce(ee,"tilesloaded",function(){ue={centerLatlng:ee.getCenter(),zoomLevel:ee.getZoom()},e("#wpsl-map-controls").addClass("wpsl-reset-exists"),e(".wpsl-icon-reset, #wpsl-reset-map").show()}),e(".wpsl-icon-reset").removeClass("wpsl-in-progress"))}),1!=wpslSettings.mouseFocus||c()||e("#wpsl-search-input").focus()}function R(t,s,n){var o,l,i,a,r,p="",d=e("#wpsl-wrap").hasClass("wpsl-mobile"),c=e("#wpsl-wrap").hasClass("wpsl-default-filters"),w={action:"store_search",lat:t.lat(),lng:t.lng()};return s?(w.max_results=wpslSettings.maxResults,w.radius=wpslSettings.searchRadius):(d||c?(o=parseInt(e("#wpsl-results .wpsl-dropdown").val()),l=parseInt(e("#wpsl-radius .wpsl-dropdown").val())):(o=parseInt(e("#wpsl-results .wpsl-selected-item").attr("data-value")),l=parseInt(e("#wpsl-radius .wpsl-selected-item").attr("data-value"))),isNaN(o)?w.max_results=wpslSettings.maxResults:w.max_results=o,isNaN(l)?w.radius=wpslSettings.searchRadius:w.radius=l,"undefined"!=typeof wpslSettings.categoryIds?w.filter=wpslSettings.categoryIds:e("#wpsl-category").length>0?(p=d||c?parseInt(e("#wpsl-category .wpsl-dropdown").val()):parseInt(e("#wpsl-category .wpsl-selected-item").attr("data-value")),isNaN(p)||0===p||(w.filter=p)):e("#wpsl-checkbox-filter").length>0&&e("#wpsl-checkbox-filter input:checked").length>0&&(w.filter=U()),e(".wpsl-custom-dropdown").length>0&&e(".wpsl-custom-dropdown").each(function(t){i="",a="",d||c?(i=e(this).attr("name"),a=e(this).val()):(i=e(this).attr("name"),a=e(this).next(".wpsl-selected-item").attr("data-value")),i&&a&&(w[i]=a)}),e(".wpsl-custom-checkboxes").length>0&&e(".wpsl-custom-checkboxes").each(function(t){r=e(this).attr("data-name"),r&&(w[r]=O(r))})),1==n&&("undefined"!=typeof ne?w.skip_cache=1:(w.autoload=1,"undefined"!=typeof wpslSettings.categoryIds&&(w.filter=wpslSettings.categoryIds))),"undefined"!=typeof wpslSettings.collectStatistics&&0==n&&(w.search=e("#wpsl-search-input").val()),w}function O(t){var s=e("[data-name="+t+"]"),n=[];return e(s).find("input:checked").each(function(t){n.push(e(this).val())}),n.join()}function T(){var e;return e="undefined"!=typeof wpslSettings.noResults&&""!==wpslSettings.noResults?wpslSettings.noResults:wpslLabels.noResults}function U(){var t=e("#wpsl-checkbox-filter input:checked").map(function(){return e(this).val()});return t=t.get(),t=t.join(",")}function z(){if(1==wpslSettings.markerClusters){var e=Number(wpslSettings.clusterZoom),t=Number(wpslSettings.clusterSize);isNaN(e)&&(e=""),isNaN(t)&&(t=""),ae=new MarkerClusterer(ee,ce,{gridSize:t,maxZoom:e})}}function Z(e,t,s,n,o){var l,i,a,r=!0;0===t?(s={store:wpslLabels.startPoint},l=we.url+wpslSettings.startMarker):l="undefined"!=typeof s.alternateMarkerUrl&&s.alternateMarkerUrl?s.alternateMarkerUrl:"undefined"!=typeof s.categoryMarkerUrl&&s.categoryMarkerUrl?s.categoryMarkerUrl:we.url+wpslSettings.storeMarker,i={url:l,scaledSize:new google.maps.Size(Number(we.scaledSize[0]),Number(we.scaledSize[1])),origin:new google.maps.Point(Number(we.origin[0]),Number(we.origin[1])),anchor:new google.maps.Point(Number(we.anchor[0]),Number(we.anchor[1]))},a=new google.maps.Marker({position:e,map:ee,optimized:!1,title:B(s.store),draggable:n,storeId:t,icon:i}),ce.push(a),google.maps.event.addListener(a,"click",function(n){return function(){0!=t?"undefined"!=typeof wpslSettings.markerStreetView&&1==wpslSettings.markerStreetView?j(e,function(){$(a,G(s),o,n)}):$(a,G(s),o,n):$(a,wpslLabels.startPoint,o,n),google.maps.event.clearListeners(o,"domready"),google.maps.event.addListener(o,"domready",function(){V(a,n),A()})}}(ee)),n&&google.maps.event.addListener(a,"dragend",function(e){K(r),ee.setCenter(e.latLng),I(e.latLng),E(e.latLng,fe,he=!1,o)})}function B(e){return e?e.replace(/&#(\d+);/g,function(e,t){return String.fromCharCode(t)}):void 0}function $(e,t,s,n){de.length=0,s.setContent(t),s.open(n,e),de.push(s),"undefined"!=typeof wpslSettings.infoWindowStyle&&"infobox"==wpslSettings.infoWindowStyle&&1==wpslSettings.markerClusters&&(le=e.storeId,s.setVisible(!0))}function V(t,s){e(".wpsl-info-actions a").on("click",function(n){var o=Number(wpslSettings.autoZoomLevel);if(n.stopImmediatePropagation(),e(this).hasClass("wpsl-directions")){if(1==wpslSettings.directionRedirect)return!0;b(e(this))}else e(this).hasClass("wpsl-streetview")?W(t,s):e(this).hasClass("wpsl-zoom-here")&&(s.setCenter(t.getPosition()),s.setZoom(o));return!1})}function A(){var t=ee.getZoom();t>=wpslSettings.autoZoomLevel?e(".wpsl-zoom-here").hide():e(".wpsl-zoom-here").show()}function W(t,s){var n=s.getStreetView();n.setPosition(t.getPosition()),n.setVisible(!0),e("#wpsl-map-controls").hide(),D(n,s)}function D(t,s){google.maps.event.addListener(t,"visible_changed",function(){if(!t.getVisible()){var n=s.getZoom();e("#wpsl-map-controls").show(),s.setZoom(n-1),s.setZoom(n)}})}function j(e,t){var s=new google.maps.StreetViewService;s.getPanoramaByLocation(e,50,function(e,s){me=s==google.maps.StreetViewStatus.OK?!0:!1,t()})}function G(t){var s,n;return n=e("#wpsl-base-gmap_0").length?e("#wpsl-cpt-info-window-template").html():e("#wpsl-info-window-template").html(),s=_.template(n)(t)}function H(){var e,t,s=Number(wpslSettings.autoZoomLevel),n=new google.maps.LatLngBounds;for(google.maps.event.addListenerOnce(ee,"bounds_changed",function(e){this.getZoom()>s&&this.setZoom(s)}),e=0,t=ce.length;t>e;e++)n.extend(ce[e].position);ee.fitBounds(n)}function K(e){var t,s;if(te.setMap(null),ce){for(s=0,t=ce.length;t>s;s++)e?1!=ce[s].draggable?ce[s].setMap(null):re=ce[s]:ce[s].setMap(null);ce.length=0}ae&&ae.clearMarkers()}function F(e){var t;switch(e){case"ZERO_RESULTS":t=wpslLabels.noResults;break;case"OVER_QUERY_LIMIT":t=wpslLabels.queryLimit;break;default:t=wpslLabels.generalError}alert(t)}function q(e){var t;switch(e){case"NOT_FOUND":case"ZERO_RESULTS":t=wpslLabels.noDirectionsFound;break;case"OVER_QUERY_LIMIT":t=wpslLabels.queryLimit;break;default:t=wpslLabels.generalError}alert(t)}function Q(){var t=Number(wpslSettings.maxDropdownHeight);e(".wpsl-dropdown").each(function(s){var n,o,l=e(this);l.$dropdownWrap=l.wrap("<div class='wpsl-dropdown'></div>").parent(),l.$selectedVal=l.val(),l.$dropdownElem=e("<div><ul/></div>").appendTo(l.$dropdownWrap),l.$dropdown=l.$dropdownElem.find("ul"),l.$options=l.$dropdownWrap.find("option"),l.hide().removeClass("wpsl-dropdown"),e.each(l.$options,function(){n=e(this).val()==l.$selectedVal?'class="wpsl-selected-dropdown"':"",l.$dropdown.append("<li data-value="+e(this).val()+" "+n+">"+e(this).text()+"</li>")}),l.$dropdownElem.before("<span data-value="+l.find(":selected").val()+" class='wpsl-selected-item'>"+l.find(":selected").text()+"</span>"),l.$dropdownItem=l.$dropdownElem.find("li"),l.$dropdownWrap.on("click",function(s){return e(this).hasClass("wpsl-active")?void e(this).removeClass("wpsl-active"):(Y(),e(this).toggleClass("wpsl-active"),o=0,e(this).hasClass("wpsl-active")?(l.$dropdownItem.each(function(t){o+=e(this).outerHeight()}),l.$dropdownElem.css("height",o+2+"px")):l.$dropdownElem.css("height",0),o>t&&(e(this).addClass("wpsl-scroll-required"),l.$dropdownElem.css("height",t+"px")),void s.stopPropagation())}),l.$dropdownItem.on("click",function(t){l.$dropdownWrap.find(e(".wpsl-selected-item")).html(e(this).text()).attr("data-value",e(this).attr("data-value")),l.$dropdownItem.removeClass("wpsl-selected-dropdown"),e(this).addClass("wpsl-selected-dropdown"),Y(),t.stopPropagation()})}),e(document).click(function(){Y()})}function Y(){e(".wpsl-dropdown").removeClass("wpsl-active"),e(".wpsl-dropdown div").css("height",0)}function J(){e(".wpsl-search").hasClass("wpsl-widget")&&(e("#wpsl-search-btn").trigger("click"),e(".wpsl-search").removeClass("wpsl-widget"))}var X,ee,te,se,ne,oe,le,ie,ae,re,pe,de=[],ce=[],we={},ge={},ue={},fe=!1,me=!1,he="undefined"!=typeof wpslSettings?wpslSettings.autoLoad:"";if(_.templateSettings={evaluate:/\<\%(.+?)\%\>/g,interpolate:/\<\%=(.+?)\%\>/g,escape:/\<\%-(.+?)\%\>/g},e(".wpsl-gmap-canvas").length&&(e("<img />").attr("src",wpslSettings.url+"img/ajax-loader.gif"),e(".wpsl-gmap-canvas").each(function(s){var n=e(this).attr("id");t(n,s)})),e("#wpsl-result-list").on("click",".wpsl-back",function(){var t,s;for(te.setMap(null),t=0,s=ce.length;s>t;t++)ce[t].setMap(ee);return"undefined"!=typeof re&&""!==re&&re.setMap(ee),ae&&z(),ee.setCenter(ge.centerLatlng),ee.setZoom(ge.zoomLevel),e(".wpsl-direction-before, .wpsl-direction-after").remove(),e("#wpsl-stores").show(),e("#wpsl-direction-details").hide(),!1}),e("#wpsl-gmap").length&&("bounce"==wpslSettings.markerEffect?(e("#wpsl-stores").on("mouseenter","li",function(){L(e(this).data("store-id"),"start")}),e("#wpsl-stores").on("mouseleave","li",function(){L(e(this).data("store-id"),"stop")})):"info_window"==wpslSettings.markerEffect&&e("#wpsl-stores").on("mouseenter","li",function(){var t,s;for(t=0,s=ce.length;s>t;t++)ce[t].storeId==e(this).data("store-id")&&(google.maps.event.trigger(ce[t],"click"),ee.setCenter(ce[t].position))})),"undefined"!=typeof wpslSettings.infoWindowStyle&&"infobox"==wpslSettings.infoWindowStyle&&1==wpslSettings.markerClusters){var ve,Se,ye,be,Le;google.maps.event.addListener(ee,"zoom_changed",function(){google.maps.event.addListenerOnce(ee,"idle",function(){if("undefined"!=typeof ae&&(ve=ae.clusters_,ve.length))for(be=0,Se=ve.length;Se>be;be++)for(Le=0,ye=ve[be].markers_.length;ye>Le;Le++)if(ve[be].markers_[Le].storeId==le){ie.getVisible()&&null===ve[be].markers_[Le].map?ie.setVisible(!1):ie.getVisible()||null===ve[be].markers_[Le].map||ie.setVisible(!0);break}})})}var Ce={formatPhoneNumber:function(e){return 1==wpslSettings.phoneUrl&&c()&&(e="<a href='tel:"+Ce.formatClickablePhoneNumber(e)+"'>"+e+"</a>"),e},formatClickablePhoneNumber:function(e){return-1!=e.indexOf("+")&&-1!=e.indexOf("(0)")&&(e=e.replace("(0)","")),e.replace(/(-| |\(|\)|\.|)/g,"")},createInfoWindowActions:function(t){var s,n="",o="";return e("#wpsl-gmap").length&&(me&&(n="<a class='wpsl-streetview' href='#'>"+wpslLabels.streetView+"</a>"),1==wpslSettings.markerZoomTo&&(o="<a class='wpsl-zoom-here' href='#'>"+wpslLabels.zoomHere+"</a>"),s="<div class='wpsl-info-actions'>"+Ce.createDirectionUrl(t)+n+o+"</div>"),s},createDirectionUrl:function(t){var s,n,o,l={};return 1==wpslSettings.directionRedirect?("undefined"==typeof pe&&(pe=""),l.target="target='_blank'","undefined"!=typeof t?l.src=e("[data-store-id="+t+"] .wpsl-directions").attr("href"):(o=this.zip?this.zip+", ":"",n=this.address+", "+this.city+", "+o+this.country,l.src="https://maps.google.com/maps?saddr="+Ce.rfc3986EncodeURIComponent(pe)+"&daddr="+Ce.rfc3986EncodeURIComponent(n))):l={src:"#",target:""},s="<a class='wpsl-directions' "+l.target+" href='"+l.src+"'>"+wpslLabels.directions+"</a>"},rfc3986EncodeURIComponent:function(e){return encodeURIComponent(e).replace(/[!'()*]/g,escape)}};if(e("#wpsl-stores").on("click",".wpsl-store-details",function(){var t,s,n=e(this).parents("li"),o=n.data("store-id");if("info window"==wpslSettings.moreInfoLocation)for(t=0,s=ce.length;s>t;t++)ce[t].storeId==o&&google.maps.event.trigger(ce[t],"click");else n.find(".wpsl-more-info-listings").is(":visible")?e(this).removeClass("wpsl-active-details"):e(this).addClass("wpsl-active-details"),n.siblings().find(".wpsl-store-details").removeClass("wpsl-active-details"),n.siblings().find(".wpsl-more-info-listings").hide(),n.find(".wpsl-more-info-listings").toggle();return"default"!=wpslSettings.templateId||"store listings"==wpslSettings.moreInfoLocation?!1:void 0}),e("a[href='#"+wpslSettings.mapTabAnchor+"']").length){var ke,xe,Ie=Number(wpslSettings.mapTabAnchorReturn)?!0:!1,Me=e("a[href='#"+wpslSettings.mapTabAnchor+"']");Me.on("click",function(){return setTimeout(function(){ke=ee.getZoom(),xe=ee.getCenter(),google.maps.event.trigger(ee,"resize"),ee.setZoom(ke),ee.setCenter(xe),H()},50),Ie})}});
languages/wpsl.pot CHANGED
@@ -1,9 +1,9 @@
1
  #, fuzzy
2
  msgid ""
3
  msgstr ""
4
- "Project-Id-Version: WP Store Locator v2.2.5\n"
5
  "Report-Msgid-Bugs-To: \n"
6
- "POT-Creation-Date: 2016-12-11 16:49+0700\n"
7
  "PO-Revision-Date: 2015-09-01 13:49+0100\n"
8
  "Last-Translator: \n"
9
  "Language-Team: \n"
@@ -40,12 +40,12 @@ msgid "Security check failed. Please reload the page and try again."
40
  msgstr ""
41
 
42
  #: admin/class-admin.php:174 admin/class-admin.php:175
43
- #: admin/class-admin.php:455 admin/templates/map-settings.php:11
44
  msgid "Settings"
45
  msgstr ""
46
 
47
  #: admin/class-admin.php:181 admin/class-admin.php:182
48
- #: admin/class-admin.php:475
49
  msgid "Add-Ons"
50
  msgstr ""
51
 
@@ -70,7 +70,7 @@ msgid "The map preview requires all the location details."
70
  msgstr ""
71
 
72
  #: admin/class-admin.php:298 admin/class-metaboxes.php:525
73
- #: frontend/class-frontend.php:545
74
  msgid "Closed"
75
  msgstr ""
76
 
@@ -78,19 +78,19 @@ msgstr ""
78
  msgid "The code for the map style is invalid."
79
  msgstr ""
80
 
81
- #: admin/class-admin.php:410
82
  msgid "Welcome to WP Store Locator"
83
  msgstr ""
84
 
85
- #: admin/class-admin.php:411
86
  msgid "Sign up for the latest plugin updates and announcements."
87
  msgstr ""
88
 
89
- #: admin/class-admin.php:474
90
  msgid "Documentation"
91
  msgstr ""
92
 
93
- #: admin/class-admin.php:497
94
  #, php-format
95
  msgid "If you like this plugin please leave us a %s5 star%s rating."
96
  msgstr ""
@@ -234,7 +234,7 @@ msgid "Tel"
234
  msgstr ""
235
 
236
  #: admin/class-metaboxes.php:91 admin/templates/map-settings.php:522
237
- #: admin/templates/map-settings.php:523 frontend/class-frontend.php:793
238
  #: frontend/underscore-functions.php:32 frontend/underscore-functions.php:68
239
  #: frontend/underscore-functions.php:150 inc/wpsl-functions.php:146
240
  msgid "Fax"
@@ -242,7 +242,7 @@ msgstr ""
242
 
243
  #: admin/class-metaboxes.php:94 admin/templates/map-settings.php:526
244
  #: admin/templates/map-settings.php:527 admin/upgrade.php:198
245
- #: frontend/class-frontend.php:797 frontend/underscore-functions.php:35
246
  #: frontend/underscore-functions.php:71 frontend/underscore-functions.php:153
247
  #: inc/wpsl-functions.php:147
248
  msgid "Email"
@@ -250,7 +250,7 @@ msgstr ""
250
 
251
  #: admin/class-metaboxes.php:97 admin/templates/map-settings.php:530
252
  #: admin/templates/map-settings.php:531 admin/upgrade.php:202
253
- #: frontend/class-frontend.php:802 inc/wpsl-functions.php:148
254
  msgid "Url"
255
  msgstr ""
256
 
@@ -602,871 +602,1051 @@ msgid "Andorra"
602
  msgstr ""
603
 
604
  #: admin/class-settings.php:494
605
- msgid "Anguilla"
606
  msgstr ""
607
 
608
  #: admin/class-settings.php:495
609
- msgid "Angola"
610
  msgstr ""
611
 
612
  #: admin/class-settings.php:496
613
- msgid "Antigua and Barbuda"
614
  msgstr ""
615
 
616
  #: admin/class-settings.php:497
617
- msgid "Argentina"
618
  msgstr ""
619
 
620
  #: admin/class-settings.php:498
621
- msgid "Armenia"
622
  msgstr ""
623
 
624
  #: admin/class-settings.php:499
625
- msgid "Aruba"
626
  msgstr ""
627
 
628
  #: admin/class-settings.php:500
629
- msgid "Australia"
630
  msgstr ""
631
 
632
  #: admin/class-settings.php:501
633
- msgid "Austria"
634
  msgstr ""
635
 
636
  #: admin/class-settings.php:502
637
- msgid "Azerbaijan"
638
  msgstr ""
639
 
640
  #: admin/class-settings.php:503
641
- msgid "Bahamas"
642
  msgstr ""
643
 
644
  #: admin/class-settings.php:504
645
- msgid "Bahrain"
646
  msgstr ""
647
 
648
  #: admin/class-settings.php:505
649
- msgid "Bangladesh"
650
  msgstr ""
651
 
652
  #: admin/class-settings.php:506
653
- msgid "Barbados"
654
  msgstr ""
655
 
656
  #: admin/class-settings.php:507
657
- msgid "Belarus"
658
  msgstr ""
659
 
660
  #: admin/class-settings.php:508
661
- msgid "Belgium"
662
  msgstr ""
663
 
664
  #: admin/class-settings.php:509
665
- msgid "Belize"
666
  msgstr ""
667
 
668
  #: admin/class-settings.php:510
669
- msgid "Benin"
670
  msgstr ""
671
 
672
  #: admin/class-settings.php:511
673
- msgid "Bermuda"
674
  msgstr ""
675
 
676
  #: admin/class-settings.php:512
677
- msgid "Bhutan"
678
  msgstr ""
679
 
680
  #: admin/class-settings.php:513
681
- msgid "Bolivia"
682
  msgstr ""
683
 
684
  #: admin/class-settings.php:514
685
- msgid "Bosnia and Herzegovina"
686
  msgstr ""
687
 
688
  #: admin/class-settings.php:515
689
- msgid "Botswana"
690
  msgstr ""
691
 
692
  #: admin/class-settings.php:516
693
- msgid "Brazil"
694
  msgstr ""
695
 
696
  #: admin/class-settings.php:517
697
- msgid "British Indian Ocean Territory"
698
  msgstr ""
699
 
700
  #: admin/class-settings.php:518
701
- msgid "Brunei"
702
  msgstr ""
703
 
704
  #: admin/class-settings.php:519
705
- msgid "Bulgaria"
706
  msgstr ""
707
 
708
  #: admin/class-settings.php:520
709
- msgid "Burkina Faso"
710
  msgstr ""
711
 
712
  #: admin/class-settings.php:521
713
- msgid "Burundi"
714
  msgstr ""
715
 
716
  #: admin/class-settings.php:522
717
- msgid "Cambodia"
718
  msgstr ""
719
 
720
  #: admin/class-settings.php:523
721
- msgid "Cameroon"
722
  msgstr ""
723
 
724
  #: admin/class-settings.php:524
725
- msgid "Canada"
726
  msgstr ""
727
 
728
  #: admin/class-settings.php:525
729
- msgid "Cape Verde"
730
  msgstr ""
731
 
732
  #: admin/class-settings.php:526
733
- msgid "Cayman Islands"
734
  msgstr ""
735
 
736
  #: admin/class-settings.php:527
737
- msgid "Central African Republic"
738
  msgstr ""
739
 
740
  #: admin/class-settings.php:528
741
- msgid "Chad"
742
  msgstr ""
743
 
744
  #: admin/class-settings.php:529
745
- msgid "Chile"
746
  msgstr ""
747
 
748
  #: admin/class-settings.php:530
749
- msgid "China"
750
  msgstr ""
751
 
752
  #: admin/class-settings.php:531
753
- msgid "Christmas Island"
754
  msgstr ""
755
 
756
  #: admin/class-settings.php:532
757
- msgid "Cocos Islands"
758
  msgstr ""
759
 
760
  #: admin/class-settings.php:533
761
- msgid "Colombia"
762
  msgstr ""
763
 
764
  #: admin/class-settings.php:534
765
- msgid "Comoros"
766
  msgstr ""
767
 
768
  #: admin/class-settings.php:535
769
- msgid "Congo"
770
  msgstr ""
771
 
772
  #: admin/class-settings.php:536
773
- msgid "Costa Rica"
774
  msgstr ""
775
 
776
  #: admin/class-settings.php:537
777
- msgid "Côte d'Ivoire"
778
  msgstr ""
779
 
780
  #: admin/class-settings.php:538
781
- msgid "Croatia"
782
  msgstr ""
783
 
784
  #: admin/class-settings.php:539
785
- msgid "Cuba"
786
  msgstr ""
787
 
788
  #: admin/class-settings.php:540
789
- msgid "Czech Republic"
790
  msgstr ""
791
 
792
  #: admin/class-settings.php:541
793
- msgid "Denmark"
794
  msgstr ""
795
 
796
  #: admin/class-settings.php:542
797
- msgid "Djibouti"
798
  msgstr ""
799
 
800
  #: admin/class-settings.php:543
801
- msgid "Democratic Republic of the Congo"
802
  msgstr ""
803
 
804
  #: admin/class-settings.php:544
805
- msgid "Dominica"
806
  msgstr ""
807
 
808
  #: admin/class-settings.php:545
809
- msgid "Dominican Republic"
810
  msgstr ""
811
 
812
  #: admin/class-settings.php:546
813
- msgid "Ecuador"
814
  msgstr ""
815
 
816
  #: admin/class-settings.php:547
817
- msgid "Egypt"
818
  msgstr ""
819
 
820
  #: admin/class-settings.php:548
821
- msgid "El Salvador"
822
  msgstr ""
823
 
824
  #: admin/class-settings.php:549
825
- msgid "Equatorial Guinea"
826
  msgstr ""
827
 
828
  #: admin/class-settings.php:550
829
- msgid "Eritrea"
830
  msgstr ""
831
 
832
  #: admin/class-settings.php:551
833
- msgid "Estonia"
834
  msgstr ""
835
 
836
  #: admin/class-settings.php:552
837
- msgid "Ethiopia"
838
  msgstr ""
839
 
840
  #: admin/class-settings.php:553
841
- msgid "Fiji"
842
  msgstr ""
843
 
844
  #: admin/class-settings.php:554
845
- msgid "Finland"
846
  msgstr ""
847
 
848
  #: admin/class-settings.php:555
849
- msgid "France"
850
  msgstr ""
851
 
852
  #: admin/class-settings.php:556
853
- msgid "French Guiana"
854
  msgstr ""
855
 
856
  #: admin/class-settings.php:557
857
- msgid "Gabon"
858
  msgstr ""
859
 
860
  #: admin/class-settings.php:558
861
- msgid "Gambia"
862
  msgstr ""
863
 
864
  #: admin/class-settings.php:559
865
- msgid "Germany"
866
  msgstr ""
867
 
868
  #: admin/class-settings.php:560
869
- msgid "Ghana"
870
  msgstr ""
871
 
872
  #: admin/class-settings.php:561
873
- msgid "Greenland"
874
  msgstr ""
875
 
876
  #: admin/class-settings.php:562
877
- msgid "Greece"
878
  msgstr ""
879
 
880
  #: admin/class-settings.php:563
881
- msgid "Grenada"
882
  msgstr ""
883
 
884
  #: admin/class-settings.php:564
885
- msgid "Guam"
886
  msgstr ""
887
 
888
  #: admin/class-settings.php:565
889
- msgid "Guadeloupe"
890
  msgstr ""
891
 
892
  #: admin/class-settings.php:566
893
- msgid "Guatemala"
894
  msgstr ""
895
 
896
  #: admin/class-settings.php:567
897
- msgid "Guinea"
898
  msgstr ""
899
 
900
  #: admin/class-settings.php:568
901
- msgid "Guinea-Bissau"
902
  msgstr ""
903
 
904
  #: admin/class-settings.php:569
905
- msgid "Haiti"
906
  msgstr ""
907
 
908
  #: admin/class-settings.php:570
909
- msgid "Honduras"
910
  msgstr ""
911
 
912
  #: admin/class-settings.php:571
913
- msgid "Hong Kong"
914
  msgstr ""
915
 
916
  #: admin/class-settings.php:572
917
- msgid "Hungary"
918
  msgstr ""
919
 
920
  #: admin/class-settings.php:573
921
- msgid "Iceland"
922
  msgstr ""
923
 
924
  #: admin/class-settings.php:574
925
- msgid "India"
926
  msgstr ""
927
 
928
  #: admin/class-settings.php:575
929
- msgid "Indonesia"
930
  msgstr ""
931
 
932
  #: admin/class-settings.php:576
933
- msgid "Iran"
934
  msgstr ""
935
 
936
  #: admin/class-settings.php:577
937
- msgid "Iraq"
938
  msgstr ""
939
 
940
  #: admin/class-settings.php:578
941
- msgid "Ireland"
942
  msgstr ""
943
 
944
  #: admin/class-settings.php:579
945
- msgid "Israel"
946
  msgstr ""
947
 
948
  #: admin/class-settings.php:580
949
- msgid "Italy"
950
  msgstr ""
951
 
952
  #: admin/class-settings.php:581
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
953
  msgid "Jamaica"
954
  msgstr ""
955
 
956
- #: admin/class-settings.php:582
957
  msgid "Japan"
958
  msgstr ""
959
 
960
- #: admin/class-settings.php:583
 
 
 
 
961
  msgid "Jordan"
962
  msgstr ""
963
 
964
- #: admin/class-settings.php:584
965
  msgid "Kazakhstan"
966
  msgstr ""
967
 
968
- #: admin/class-settings.php:585
969
  msgid "Kenya"
970
  msgstr ""
971
 
972
- #: admin/class-settings.php:586
 
 
 
 
 
 
 
 
973
  msgid "Kuwait"
974
  msgstr ""
975
 
976
- #: admin/class-settings.php:587
977
  msgid "Kyrgyzstan"
978
  msgstr ""
979
 
980
- #: admin/class-settings.php:588
981
  msgid "Laos"
982
  msgstr ""
983
 
984
- #: admin/class-settings.php:589
985
  msgid "Latvia"
986
  msgstr ""
987
 
988
- #: admin/class-settings.php:590
989
  msgid "Lebanon"
990
  msgstr ""
991
 
992
- #: admin/class-settings.php:591
993
  msgid "Lesotho"
994
  msgstr ""
995
 
996
- #: admin/class-settings.php:592
997
  msgid "Liberia"
998
  msgstr ""
999
 
1000
- #: admin/class-settings.php:593
1001
  msgid "Libya"
1002
  msgstr ""
1003
 
1004
- #: admin/class-settings.php:594
1005
  msgid "Liechtenstein"
1006
  msgstr ""
1007
 
1008
- #: admin/class-settings.php:595
1009
  msgid "Lithuania"
1010
  msgstr ""
1011
 
1012
- #: admin/class-settings.php:596
1013
  msgid "Luxembourg"
1014
  msgstr ""
1015
 
1016
- #: admin/class-settings.php:597
1017
  msgid "Macau"
1018
  msgstr ""
1019
 
1020
- #: admin/class-settings.php:598
1021
- msgid "Macedonia"
1022
  msgstr ""
1023
 
1024
- #: admin/class-settings.php:599
1025
  msgid "Madagascar"
1026
  msgstr ""
1027
 
1028
- #: admin/class-settings.php:600
1029
  msgid "Malawi"
1030
  msgstr ""
1031
 
1032
- #: admin/class-settings.php:601
1033
  msgid "Malaysia "
1034
  msgstr ""
1035
 
1036
- #: admin/class-settings.php:602
 
 
 
 
1037
  msgid "Mali"
1038
  msgstr ""
1039
 
1040
- #: admin/class-settings.php:603
 
 
 
 
1041
  msgid "Marshall Islands"
1042
  msgstr ""
1043
 
1044
- #: admin/class-settings.php:604
1045
  msgid "Martinique"
1046
  msgstr ""
1047
 
1048
- #: admin/class-settings.php:605
1049
  msgid "Mauritania"
1050
  msgstr ""
1051
 
1052
- #: admin/class-settings.php:606
1053
  msgid "Mauritius"
1054
  msgstr ""
1055
 
1056
- #: admin/class-settings.php:607
 
 
 
 
1057
  msgid "Mexico"
1058
  msgstr ""
1059
 
1060
- #: admin/class-settings.php:608
1061
  msgid "Micronesia"
1062
  msgstr ""
1063
 
1064
- #: admin/class-settings.php:609
1065
  msgid "Moldova"
1066
  msgstr ""
1067
 
1068
- #: admin/class-settings.php:610
1069
  msgid "Monaco"
1070
  msgstr ""
1071
 
1072
- #: admin/class-settings.php:611
1073
  msgid "Mongolia"
1074
  msgstr ""
1075
 
1076
- #: admin/class-settings.php:612
1077
  msgid "Montenegro"
1078
  msgstr ""
1079
 
1080
- #: admin/class-settings.php:613
1081
  msgid "Montserrat"
1082
  msgstr ""
1083
 
1084
- #: admin/class-settings.php:614
1085
  msgid "Morocco"
1086
  msgstr ""
1087
 
1088
- #: admin/class-settings.php:615
1089
  msgid "Mozambique"
1090
  msgstr ""
1091
 
1092
- #: admin/class-settings.php:616
1093
- msgid "Myanmar"
1094
  msgstr ""
1095
 
1096
- #: admin/class-settings.php:617
1097
  msgid "Namibia"
1098
  msgstr ""
1099
 
1100
- #: admin/class-settings.php:618
1101
  msgid "Nauru"
1102
  msgstr ""
1103
 
1104
- #: admin/class-settings.php:619
1105
  msgid "Nepal"
1106
  msgstr ""
1107
 
1108
- #: admin/class-settings.php:620
1109
  msgid "Netherlands"
1110
  msgstr ""
1111
 
1112
- #: admin/class-settings.php:621
1113
  msgid "Netherlands Antilles"
1114
  msgstr ""
1115
 
1116
- #: admin/class-settings.php:622
 
 
 
 
1117
  msgid "New Zealand"
1118
  msgstr ""
1119
 
1120
- #: admin/class-settings.php:623
1121
  msgid "Nicaragua"
1122
  msgstr ""
1123
 
1124
- #: admin/class-settings.php:624
1125
  msgid "Niger"
1126
  msgstr ""
1127
 
1128
- #: admin/class-settings.php:625
1129
  msgid "Nigeria"
1130
  msgstr ""
1131
 
1132
- #: admin/class-settings.php:626
1133
  msgid "Niue"
1134
  msgstr ""
1135
 
1136
- #: admin/class-settings.php:627
 
 
 
 
 
 
 
 
1137
  msgid "Northern Mariana Islands"
1138
  msgstr ""
1139
 
1140
- #: admin/class-settings.php:628
1141
  msgid "Norway"
1142
  msgstr ""
1143
 
1144
- #: admin/class-settings.php:629
1145
  msgid "Oman"
1146
  msgstr ""
1147
 
1148
- #: admin/class-settings.php:630
1149
  msgid "Pakistan"
1150
  msgstr ""
1151
 
1152
- #: admin/class-settings.php:631
 
 
 
 
 
 
 
 
1153
  msgid "Panama"
1154
  msgstr ""
1155
 
1156
- #: admin/class-settings.php:632
1157
  msgid "Papua New Guinea"
1158
  msgstr ""
1159
 
1160
- #: admin/class-settings.php:633
1161
  msgid "Paraguay"
1162
  msgstr ""
1163
 
1164
- #: admin/class-settings.php:634
1165
  msgid "Peru"
1166
  msgstr ""
1167
 
1168
- #: admin/class-settings.php:635
1169
  msgid "Philippines"
1170
  msgstr ""
1171
 
1172
- #: admin/class-settings.php:636
1173
  msgid "Pitcairn Islands"
1174
  msgstr ""
1175
 
1176
- #: admin/class-settings.php:637
1177
  msgid "Poland"
1178
  msgstr ""
1179
 
1180
- #: admin/class-settings.php:638
1181
  msgid "Portugal"
1182
  msgstr ""
1183
 
1184
- #: admin/class-settings.php:639
 
 
 
 
1185
  msgid "Qatar"
1186
  msgstr ""
1187
 
1188
- #: admin/class-settings.php:640
1189
  msgid "Reunion"
1190
  msgstr ""
1191
 
1192
- #: admin/class-settings.php:641
1193
  msgid "Romania"
1194
  msgstr ""
1195
 
1196
- #: admin/class-settings.php:642
1197
  msgid "Russia"
1198
  msgstr ""
1199
 
1200
- #: admin/class-settings.php:643
1201
  msgid "Rwanda"
1202
  msgstr ""
1203
 
1204
- #: admin/class-settings.php:644
1205
  msgid "Saint Helena"
1206
  msgstr ""
1207
 
1208
- #: admin/class-settings.php:645
1209
  msgid "Saint Kitts and Nevis"
1210
  msgstr ""
1211
 
1212
- #: admin/class-settings.php:646
1213
  msgid "Saint Vincent and the Grenadines"
1214
  msgstr ""
1215
 
1216
- #: admin/class-settings.php:647
1217
  msgid "Saint Lucia"
1218
  msgstr ""
1219
 
1220
- #: admin/class-settings.php:648
1221
  msgid "Samoa"
1222
  msgstr ""
1223
 
1224
- #: admin/class-settings.php:649
1225
  msgid "San Marino"
1226
  msgstr ""
1227
 
1228
- #: admin/class-settings.php:650
1229
  msgid "São Tomé and Príncipe"
1230
  msgstr ""
1231
 
1232
- #: admin/class-settings.php:651
1233
  msgid "Saudi Arabia"
1234
  msgstr ""
1235
 
1236
- #: admin/class-settings.php:652
1237
  msgid "Senegal"
1238
  msgstr ""
1239
 
1240
- #: admin/class-settings.php:653
1241
  msgid "Serbia"
1242
  msgstr ""
1243
 
1244
- #: admin/class-settings.php:654
1245
  msgid "Seychelles"
1246
  msgstr ""
1247
 
1248
- #: admin/class-settings.php:655
1249
  msgid "Sierra Leone"
1250
  msgstr ""
1251
 
1252
- #: admin/class-settings.php:656
1253
  msgid "Singapore"
1254
  msgstr ""
1255
 
1256
- #: admin/class-settings.php:657
 
 
 
 
1257
  msgid "Slovakia"
1258
  msgstr ""
1259
 
1260
- #: admin/class-settings.php:658
 
 
 
 
1261
  msgid "Solomon Islands"
1262
  msgstr ""
1263
 
1264
- #: admin/class-settings.php:659
1265
  msgid "Somalia"
1266
  msgstr ""
1267
 
1268
- #: admin/class-settings.php:660
1269
  msgid "South Africa"
1270
  msgstr ""
1271
 
1272
- #: admin/class-settings.php:661
 
 
 
 
1273
  msgid "South Korea"
1274
  msgstr ""
1275
 
1276
- #: admin/class-settings.php:662
 
 
 
 
1277
  msgid "Spain"
1278
  msgstr ""
1279
 
1280
- #: admin/class-settings.php:663
1281
  msgid "Sri Lanka"
1282
  msgstr ""
1283
 
1284
- #: admin/class-settings.php:664
1285
  msgid "Sudan"
1286
  msgstr ""
1287
 
1288
- #: admin/class-settings.php:665
1289
  msgid "Swaziland"
1290
  msgstr ""
1291
 
1292
- #: admin/class-settings.php:666
1293
  msgid "Sweden"
1294
  msgstr ""
1295
 
1296
- #: admin/class-settings.php:667
1297
  msgid "Switzerland"
1298
  msgstr ""
1299
 
1300
- #: admin/class-settings.php:668
1301
  msgid "Syria"
1302
  msgstr ""
1303
 
1304
- #: admin/class-settings.php:669
 
 
 
 
1305
  msgid "Taiwan"
1306
  msgstr ""
1307
 
1308
- #: admin/class-settings.php:670
1309
  msgid "Tajikistan"
1310
  msgstr ""
1311
 
1312
- #: admin/class-settings.php:671
1313
  msgid "Tanzania"
1314
  msgstr ""
1315
 
1316
- #: admin/class-settings.php:672
1317
  msgid "Thailand"
1318
  msgstr ""
1319
 
1320
- #: admin/class-settings.php:673
1321
  msgid "Timor-Leste"
1322
  msgstr ""
1323
 
1324
- #: admin/class-settings.php:674
1325
  msgid "Tokelau"
1326
  msgstr ""
1327
 
1328
- #: admin/class-settings.php:675
1329
  msgid "Togo"
1330
  msgstr ""
1331
 
1332
- #: admin/class-settings.php:676
1333
  msgid "Tonga"
1334
  msgstr ""
1335
 
1336
- #: admin/class-settings.php:677
1337
  msgid "Trinidad and Tobago"
1338
  msgstr ""
1339
 
1340
- #: admin/class-settings.php:678
 
 
 
 
1341
  msgid "Tunisia"
1342
  msgstr ""
1343
 
1344
- #: admin/class-settings.php:679
1345
  msgid "Turkey"
1346
  msgstr ""
1347
 
1348
- #: admin/class-settings.php:680
1349
  msgid "Turkmenistan"
1350
  msgstr ""
1351
 
1352
- #: admin/class-settings.php:681
 
 
 
 
1353
  msgid "Tuvalu"
1354
  msgstr ""
1355
 
1356
- #: admin/class-settings.php:682
1357
  msgid "Uganda"
1358
  msgstr ""
1359
 
1360
- #: admin/class-settings.php:683
1361
  msgid "Ukraine"
1362
  msgstr ""
1363
 
1364
- #: admin/class-settings.php:684
1365
  msgid "United Arab Emirates"
1366
  msgstr ""
1367
 
1368
- #: admin/class-settings.php:685
1369
  msgid "United Kingdom"
1370
  msgstr ""
1371
 
1372
- #: admin/class-settings.php:686
1373
  msgid "United States"
1374
  msgstr ""
1375
 
1376
- #: admin/class-settings.php:687
1377
  msgid "Uruguay"
1378
  msgstr ""
1379
 
1380
- #: admin/class-settings.php:688
1381
  msgid "Uzbekistan"
1382
  msgstr ""
1383
 
1384
- #: admin/class-settings.php:689
1385
- msgid "Wallis Futuna"
1386
  msgstr ""
1387
 
1388
- #: admin/class-settings.php:690
 
 
 
 
1389
  msgid "Venezuela"
1390
  msgstr ""
1391
 
1392
- #: admin/class-settings.php:691
1393
  msgid "Vietnam"
1394
  msgstr ""
1395
 
1396
- #: admin/class-settings.php:692
 
 
 
 
 
 
 
 
1397
  msgid "Yemen"
1398
  msgstr ""
1399
 
1400
- #: admin/class-settings.php:693
1401
  msgid "Zambia"
1402
  msgstr ""
1403
 
1404
- #: admin/class-settings.php:694
1405
  msgid "Zimbabwe"
1406
  msgstr ""
1407
 
1408
- #: admin/class-settings.php:737
 
 
 
 
1409
  msgid "World view"
1410
  msgstr ""
1411
 
1412
- #: admin/class-settings.php:740 admin/class-settings.php:854
1413
  #: inc/wpsl-functions.php:215
1414
  msgid "Default"
1415
  msgstr ""
1416
 
1417
- #: admin/class-settings.php:743 inc/wpsl-functions.php:288
1418
  msgid "Roadmap"
1419
  msgstr ""
1420
 
1421
- #: admin/class-settings.php:884
1422
  msgid "Start location marker"
1423
  msgstr ""
1424
 
1425
- #: admin/class-settings.php:886
1426
  msgid "Store location marker"
1427
  msgstr ""
1428
 
1429
- #: admin/class-settings.php:968
1430
  msgid "Textarea"
1431
  msgstr ""
1432
 
1433
- #: admin/class-settings.php:969
1434
  msgid "Dropdowns (recommended)"
1435
  msgstr ""
1436
 
1437
- #: admin/class-settings.php:977
1438
  msgid "Bounces up and down"
1439
  msgstr ""
1440
 
1441
- #: admin/class-settings.php:978
1442
  msgid "Will open the info window"
1443
  msgstr ""
1444
 
1445
- #: admin/class-settings.php:979
1446
  msgid "Does not respond"
1447
  msgstr ""
1448
 
1449
- #: admin/class-settings.php:987
1450
  msgid "In the store listings"
1451
  msgstr ""
1452
 
1453
- #: admin/class-settings.php:988
1454
  msgid "In the info window on the map"
1455
  msgstr ""
1456
 
1457
- #: admin/class-settings.php:1020
1458
  msgid "Dropdown"
1459
  msgstr ""
1460
 
1461
- #: admin/class-settings.php:1021
1462
  msgid "Checkboxes"
1463
  msgstr ""
1464
 
1465
- #: admin/class-settings.php:1053
1466
  msgid "12 Hours"
1467
  msgstr ""
1468
 
1469
- #: admin/class-settings.php:1054
1470
  msgid "24 Hours"
1471
  msgstr ""
1472
 
@@ -2040,7 +2220,7 @@ msgid "Search radius"
2040
  msgstr ""
2041
 
2042
  #: admin/templates/map-settings.php:490 admin/templates/map-settings.php:491
2043
- #: frontend/class-frontend.php:1673 inc/wpsl-functions.php:135
2044
  msgid "No results found"
2045
  msgstr ""
2046
 
@@ -2048,7 +2228,7 @@ msgstr ""
2048
  msgid "Searching (preloader text)"
2049
  msgstr ""
2050
 
2051
- #: admin/templates/map-settings.php:499 frontend/class-frontend.php:1672
2052
  #: inc/wpsl-functions.php:133
2053
  msgid "Searching..."
2054
  msgstr ""
@@ -2064,7 +2244,7 @@ msgstr ""
2064
  msgid "Category filter"
2065
  msgstr ""
2066
 
2067
- #: admin/templates/map-settings.php:507 frontend/class-frontend.php:1297
2068
  msgid "Category"
2069
  msgstr ""
2070
 
@@ -2073,26 +2253,26 @@ msgid "Category first item"
2073
  msgstr ""
2074
 
2075
  #: admin/templates/map-settings.php:511 admin/upgrade.php:367
2076
- #: frontend/class-frontend.php:1300 inc/wpsl-functions.php:151
2077
  msgid "Any"
2078
  msgstr ""
2079
 
2080
  #: admin/templates/map-settings.php:514 admin/templates/map-settings.php:515
2081
- #: admin/upgrade.php:59 frontend/class-frontend.php:1674
2082
  #: frontend/underscore-functions.php:138 frontend/underscore-functions.php:168
2083
  #: inc/wpsl-functions.php:137
2084
  msgid "More info"
2085
  msgstr ""
2086
 
2087
  #: admin/templates/map-settings.php:518 admin/templates/map-settings.php:519
2088
- #: frontend/class-frontend.php:789 frontend/underscore-functions.php:29
2089
  #: frontend/underscore-functions.php:65 frontend/underscore-functions.php:147
2090
  #: inc/wpsl-functions.php:145
2091
  msgid "Phone"
2092
  msgstr ""
2093
 
2094
  #: admin/templates/map-settings.php:538 admin/templates/map-settings.php:539
2095
- #: frontend/class-frontend.php:1679 inc/wpsl-functions.php:130
2096
  msgid "Start location"
2097
  msgstr ""
2098
 
@@ -2100,7 +2280,7 @@ msgstr ""
2100
  msgid "Get directions"
2101
  msgstr ""
2102
 
2103
- #: admin/templates/map-settings.php:543 frontend/class-frontend.php:1677
2104
  #: inc/wpsl-functions.php:138
2105
  msgid "Directions"
2106
  msgstr ""
@@ -2110,24 +2290,24 @@ msgid "No directions found"
2110
  msgstr ""
2111
 
2112
  #: admin/templates/map-settings.php:547 admin/upgrade.php:151
2113
- #: frontend/class-frontend.php:1678 inc/wpsl-functions.php:139
2114
  msgid "No route could be found between the origin and destination"
2115
  msgstr ""
2116
 
2117
  #: admin/templates/map-settings.php:550 admin/templates/map-settings.php:551
2118
- #: admin/upgrade.php:77 frontend/class-frontend.php:1680
2119
  #: inc/wpsl-functions.php:140
2120
  msgid "Back"
2121
  msgstr ""
2122
 
2123
  #: admin/templates/map-settings.php:554 admin/templates/map-settings.php:555
2124
- #: admin/upgrade.php:143 frontend/class-frontend.php:1681
2125
  #: inc/wpsl-functions.php:141
2126
  msgid "Street view"
2127
  msgstr ""
2128
 
2129
  #: admin/templates/map-settings.php:558 admin/templates/map-settings.php:559
2130
- #: admin/upgrade.php:147 frontend/class-frontend.php:1682
2131
  #: inc/wpsl-functions.php:142
2132
  msgid "Zoom here"
2133
  msgstr ""
@@ -2136,7 +2316,7 @@ msgstr ""
2136
  msgid "General error"
2137
  msgstr ""
2138
 
2139
- #: admin/templates/map-settings.php:563 frontend/class-frontend.php:1675
2140
  #: inc/wpsl-functions.php:143
2141
  msgid "Something went wrong, please try again!"
2142
  msgstr ""
@@ -2152,7 +2332,7 @@ msgid ""
2152
  "the \"API key\" field at the top of this page."
2153
  msgstr ""
2154
 
2155
- #: admin/templates/map-settings.php:567 frontend/class-frontend.php:1676
2156
  #: inc/wpsl-functions.php:144
2157
  msgid "API usage limit reached"
2158
  msgstr ""
@@ -2242,37 +2422,37 @@ msgid ""
2242
  "view them on the %sAll Stores%s page."
2243
  msgstr ""
2244
 
2245
- #: frontend/class-frontend.php:726
2246
  msgid ""
2247
  "If you use the [wpsl_address] shortcode outside a store page you need to set "
2248
  "the ID attribute."
2249
  msgstr ""
2250
 
2251
- #: frontend/class-frontend.php:840
2252
  msgid ""
2253
  "If you use the [wpsl_hours] shortcode outside a store page you need to set "
2254
  "the ID attribute."
2255
  msgstr ""
2256
 
2257
- #: frontend/class-frontend.php:888
2258
  msgid ""
2259
  "If you use the [wpsl_map] shortcode outside a store page, then you need to "
2260
  "set the ID or category attribute."
2261
  msgstr ""
2262
 
2263
- #: frontend/class-frontend.php:1473
2264
  msgid "The application does not have permission to use the Geolocation API."
2265
  msgstr ""
2266
 
2267
- #: frontend/class-frontend.php:1474
2268
  msgid "Location information is unavailable."
2269
  msgstr ""
2270
 
2271
- #: frontend/class-frontend.php:1475
2272
  msgid "The geolocation request timed out."
2273
  msgstr ""
2274
 
2275
- #: frontend/class-frontend.php:1476
2276
  msgid "An unknown error occurred."
2277
  msgstr ""
2278
 
1
  #, fuzzy
2
  msgid ""
3
  msgstr ""
4
+ "Project-Id-Version: WP Store Locator v2.2.8\n"
5
  "Report-Msgid-Bugs-To: \n"
6
+ "POT-Creation-Date: 2017-04-29 14:48+0800\n"
7
  "PO-Revision-Date: 2015-09-01 13:49+0100\n"
8
  "Last-Translator: \n"
9
  "Language-Team: \n"
40
  msgstr ""
41
 
42
  #: admin/class-admin.php:174 admin/class-admin.php:175
43
+ #: admin/class-admin.php:461 admin/templates/map-settings.php:11
44
  msgid "Settings"
45
  msgstr ""
46
 
47
  #: admin/class-admin.php:181 admin/class-admin.php:182
48
+ #: admin/class-admin.php:481
49
  msgid "Add-Ons"
50
  msgstr ""
51
 
70
  msgstr ""
71
 
72
  #: admin/class-admin.php:298 admin/class-metaboxes.php:525
73
+ #: frontend/class-frontend.php:560
74
  msgid "Closed"
75
  msgstr ""
76
 
78
  msgid "The code for the map style is invalid."
79
  msgstr ""
80
 
81
+ #: admin/class-admin.php:416
82
  msgid "Welcome to WP Store Locator"
83
  msgstr ""
84
 
85
+ #: admin/class-admin.php:417
86
  msgid "Sign up for the latest plugin updates and announcements."
87
  msgstr ""
88
 
89
+ #: admin/class-admin.php:480
90
  msgid "Documentation"
91
  msgstr ""
92
 
93
+ #: admin/class-admin.php:503
94
  #, php-format
95
  msgid "If you like this plugin please leave us a %s5 star%s rating."
96
  msgstr ""
234
  msgstr ""
235
 
236
  #: admin/class-metaboxes.php:91 admin/templates/map-settings.php:522
237
+ #: admin/templates/map-settings.php:523 frontend/class-frontend.php:808
238
  #: frontend/underscore-functions.php:32 frontend/underscore-functions.php:68
239
  #: frontend/underscore-functions.php:150 inc/wpsl-functions.php:146
240
  msgid "Fax"
242
 
243
  #: admin/class-metaboxes.php:94 admin/templates/map-settings.php:526
244
  #: admin/templates/map-settings.php:527 admin/upgrade.php:198
245
+ #: frontend/class-frontend.php:812 frontend/underscore-functions.php:35
246
  #: frontend/underscore-functions.php:71 frontend/underscore-functions.php:153
247
  #: inc/wpsl-functions.php:147
248
  msgid "Email"
250
 
251
  #: admin/class-metaboxes.php:97 admin/templates/map-settings.php:530
252
  #: admin/templates/map-settings.php:531 admin/upgrade.php:202
253
+ #: frontend/class-frontend.php:817 inc/wpsl-functions.php:148
254
  msgid "Url"
255
  msgstr ""
256
 
602
  msgstr ""
603
 
604
  #: admin/class-settings.php:494
605
+ msgid "Angola"
606
  msgstr ""
607
 
608
  #: admin/class-settings.php:495
609
+ msgid "Anguilla"
610
  msgstr ""
611
 
612
  #: admin/class-settings.php:496
613
+ msgid "Antarctica"
614
  msgstr ""
615
 
616
  #: admin/class-settings.php:497
617
+ msgid "Antigua and Barbuda"
618
  msgstr ""
619
 
620
  #: admin/class-settings.php:498
621
+ msgid "Argentina"
622
  msgstr ""
623
 
624
  #: admin/class-settings.php:499
625
+ msgid "Armenia"
626
  msgstr ""
627
 
628
  #: admin/class-settings.php:500
629
+ msgid "Aruba"
630
  msgstr ""
631
 
632
  #: admin/class-settings.php:501
633
+ msgid "Ascension Island"
634
  msgstr ""
635
 
636
  #: admin/class-settings.php:502
637
+ msgid "Australia"
638
  msgstr ""
639
 
640
  #: admin/class-settings.php:503
641
+ msgid "Austria"
642
  msgstr ""
643
 
644
  #: admin/class-settings.php:504
645
+ msgid "Azerbaijan"
646
  msgstr ""
647
 
648
  #: admin/class-settings.php:505
649
+ msgid "Bahamas"
650
  msgstr ""
651
 
652
  #: admin/class-settings.php:506
653
+ msgid "Bahrain"
654
  msgstr ""
655
 
656
  #: admin/class-settings.php:507
657
+ msgid "Bangladesh"
658
  msgstr ""
659
 
660
  #: admin/class-settings.php:508
661
+ msgid "Barbados"
662
  msgstr ""
663
 
664
  #: admin/class-settings.php:509
665
+ msgid "Belarus"
666
  msgstr ""
667
 
668
  #: admin/class-settings.php:510
669
+ msgid "Belgium"
670
  msgstr ""
671
 
672
  #: admin/class-settings.php:511
673
+ msgid "Belize"
674
  msgstr ""
675
 
676
  #: admin/class-settings.php:512
677
+ msgid "Benin"
678
  msgstr ""
679
 
680
  #: admin/class-settings.php:513
681
+ msgid "Bermuda"
682
  msgstr ""
683
 
684
  #: admin/class-settings.php:514
685
+ msgid "Bhutan"
686
  msgstr ""
687
 
688
  #: admin/class-settings.php:515
689
+ msgid "Bolivia"
690
  msgstr ""
691
 
692
  #: admin/class-settings.php:516
693
+ msgid "Bosnia and Herzegovina"
694
  msgstr ""
695
 
696
  #: admin/class-settings.php:517
697
+ msgid "Botswana"
698
  msgstr ""
699
 
700
  #: admin/class-settings.php:518
701
+ msgid "Bouvet Island"
702
  msgstr ""
703
 
704
  #: admin/class-settings.php:519
705
+ msgid "Brazil"
706
  msgstr ""
707
 
708
  #: admin/class-settings.php:520
709
+ msgid "British Indian Ocean Territory"
710
  msgstr ""
711
 
712
  #: admin/class-settings.php:521
713
+ msgid "British Virgin Islands"
714
  msgstr ""
715
 
716
  #: admin/class-settings.php:522
717
+ msgid "Brunei"
718
  msgstr ""
719
 
720
  #: admin/class-settings.php:523
721
+ msgid "Bulgaria"
722
  msgstr ""
723
 
724
  #: admin/class-settings.php:524
725
+ msgid "Burkina Faso"
726
  msgstr ""
727
 
728
  #: admin/class-settings.php:525
729
+ msgid "Burundi"
730
  msgstr ""
731
 
732
  #: admin/class-settings.php:526
733
+ msgid "Cambodia"
734
  msgstr ""
735
 
736
  #: admin/class-settings.php:527
737
+ msgid "Cameroon"
738
  msgstr ""
739
 
740
  #: admin/class-settings.php:528
741
+ msgid "Canada"
742
  msgstr ""
743
 
744
  #: admin/class-settings.php:529
745
+ msgid "Canary Islands"
746
  msgstr ""
747
 
748
  #: admin/class-settings.php:530
749
+ msgid "Cape Verde"
750
  msgstr ""
751
 
752
  #: admin/class-settings.php:531
753
+ msgid "Caribbean Netherlands"
754
  msgstr ""
755
 
756
  #: admin/class-settings.php:532
757
+ msgid "Cayman Islands"
758
  msgstr ""
759
 
760
  #: admin/class-settings.php:533
761
+ msgid "Central African Republic"
762
  msgstr ""
763
 
764
  #: admin/class-settings.php:534
765
+ msgid "Ceuta and Melilla"
766
  msgstr ""
767
 
768
  #: admin/class-settings.php:535
769
+ msgid "Chad"
770
  msgstr ""
771
 
772
  #: admin/class-settings.php:536
773
+ msgid "Chile"
774
  msgstr ""
775
 
776
  #: admin/class-settings.php:537
777
+ msgid "China"
778
  msgstr ""
779
 
780
  #: admin/class-settings.php:538
781
+ msgid "Christmas Island"
782
  msgstr ""
783
 
784
  #: admin/class-settings.php:539
785
+ msgid "Clipperton Island"
786
  msgstr ""
787
 
788
  #: admin/class-settings.php:540
789
+ msgid "Cocos (Keeling) Islands"
790
  msgstr ""
791
 
792
  #: admin/class-settings.php:541
793
+ msgid "Colombia"
794
  msgstr ""
795
 
796
  #: admin/class-settings.php:542
797
+ msgid "Comoros"
798
  msgstr ""
799
 
800
  #: admin/class-settings.php:543
801
+ msgid "Congo (DRC"
802
  msgstr ""
803
 
804
  #: admin/class-settings.php:544
805
+ msgid "Congo (Republic)"
806
  msgstr ""
807
 
808
  #: admin/class-settings.php:545
809
+ msgid "Cook Islands"
810
  msgstr ""
811
 
812
  #: admin/class-settings.php:546
813
+ msgid "Costa Rica"
814
  msgstr ""
815
 
816
  #: admin/class-settings.php:547
817
+ msgid "Croatia"
818
  msgstr ""
819
 
820
  #: admin/class-settings.php:548
821
+ msgid "Cuba"
822
  msgstr ""
823
 
824
  #: admin/class-settings.php:549
825
+ msgid "Curaçao"
826
  msgstr ""
827
 
828
  #: admin/class-settings.php:550
829
+ msgid "Cyprus"
830
  msgstr ""
831
 
832
  #: admin/class-settings.php:551
833
+ msgid "Czech Republic"
834
  msgstr ""
835
 
836
  #: admin/class-settings.php:552
837
+ msgid "Côte d'Ivoire"
838
  msgstr ""
839
 
840
  #: admin/class-settings.php:553
841
+ msgid "Denmark"
842
  msgstr ""
843
 
844
  #: admin/class-settings.php:554
845
+ msgid "Djibouti"
846
  msgstr ""
847
 
848
  #: admin/class-settings.php:555
849
+ msgid "Democratic Republic of the Congo"
850
  msgstr ""
851
 
852
  #: admin/class-settings.php:556
853
+ msgid "Dominica"
854
  msgstr ""
855
 
856
  #: admin/class-settings.php:557
857
+ msgid "Dominican Republic"
858
  msgstr ""
859
 
860
  #: admin/class-settings.php:558
861
+ msgid "Ecuador"
862
  msgstr ""
863
 
864
  #: admin/class-settings.php:559
865
+ msgid "Egypt"
866
  msgstr ""
867
 
868
  #: admin/class-settings.php:560
869
+ msgid "El Salvador"
870
  msgstr ""
871
 
872
  #: admin/class-settings.php:561
873
+ msgid "Equatorial Guinea"
874
  msgstr ""
875
 
876
  #: admin/class-settings.php:562
877
+ msgid "Eritrea"
878
  msgstr ""
879
 
880
  #: admin/class-settings.php:563
881
+ msgid "Estonia"
882
  msgstr ""
883
 
884
  #: admin/class-settings.php:564
885
+ msgid "Ethiopia"
886
  msgstr ""
887
 
888
  #: admin/class-settings.php:565
889
+ msgid "Falkland Islands(Islas Malvinas)"
890
  msgstr ""
891
 
892
  #: admin/class-settings.php:566
893
+ msgid "Faroe Islands"
894
  msgstr ""
895
 
896
  #: admin/class-settings.php:567
897
+ msgid "Fiji"
898
  msgstr ""
899
 
900
  #: admin/class-settings.php:568
901
+ msgid "Finland"
902
  msgstr ""
903
 
904
  #: admin/class-settings.php:569
905
+ msgid "France"
906
  msgstr ""
907
 
908
  #: admin/class-settings.php:570
909
+ msgid "French Guiana"
910
  msgstr ""
911
 
912
  #: admin/class-settings.php:571
913
+ msgid "French Polynesia"
914
  msgstr ""
915
 
916
  #: admin/class-settings.php:572
917
+ msgid "French Southern Territories"
918
  msgstr ""
919
 
920
  #: admin/class-settings.php:573
921
+ msgid "Gabon"
922
  msgstr ""
923
 
924
  #: admin/class-settings.php:574
925
+ msgid "Gambia"
926
  msgstr ""
927
 
928
  #: admin/class-settings.php:575
929
+ msgid "Georgia"
930
  msgstr ""
931
 
932
  #: admin/class-settings.php:576
933
+ msgid "Germany"
934
  msgstr ""
935
 
936
  #: admin/class-settings.php:577
937
+ msgid "Ghana"
938
  msgstr ""
939
 
940
  #: admin/class-settings.php:578
941
+ msgid "Gibraltar"
942
  msgstr ""
943
 
944
  #: admin/class-settings.php:579
945
+ msgid "Greece"
946
  msgstr ""
947
 
948
  #: admin/class-settings.php:580
949
+ msgid "Greenland"
950
  msgstr ""
951
 
952
  #: admin/class-settings.php:581
953
+ msgid "Grenada"
954
+ msgstr ""
955
+
956
+ #: admin/class-settings.php:582 admin/class-settings.php:584
957
+ msgid "Guam"
958
+ msgstr ""
959
+
960
+ #: admin/class-settings.php:583
961
+ msgid "Guadeloupe"
962
+ msgstr ""
963
+
964
+ #: admin/class-settings.php:585
965
+ msgid "Guatemala"
966
+ msgstr ""
967
+
968
+ #: admin/class-settings.php:586
969
+ msgid "Guernsey"
970
+ msgstr ""
971
+
972
+ #: admin/class-settings.php:587
973
+ msgid "Guinea"
974
+ msgstr ""
975
+
976
+ #: admin/class-settings.php:588
977
+ msgid "Guinea-Bissau"
978
+ msgstr ""
979
+
980
+ #: admin/class-settings.php:589
981
+ msgid "Guyana"
982
+ msgstr ""
983
+
984
+ #: admin/class-settings.php:590
985
+ msgid "Haiti"
986
+ msgstr ""
987
+
988
+ #: admin/class-settings.php:591
989
+ msgid "Heard and McDonald Islands"
990
+ msgstr ""
991
+
992
+ #: admin/class-settings.php:592
993
+ msgid "Honduras"
994
+ msgstr ""
995
+
996
+ #: admin/class-settings.php:593
997
+ msgid "Hong Kong"
998
+ msgstr ""
999
+
1000
+ #: admin/class-settings.php:594
1001
+ msgid "Hungary"
1002
+ msgstr ""
1003
+
1004
+ #: admin/class-settings.php:595
1005
+ msgid "Iceland"
1006
+ msgstr ""
1007
+
1008
+ #: admin/class-settings.php:596
1009
+ msgid "India"
1010
+ msgstr ""
1011
+
1012
+ #: admin/class-settings.php:597
1013
+ msgid "Indonesia"
1014
+ msgstr ""
1015
+
1016
+ #: admin/class-settings.php:598
1017
+ msgid "Iran"
1018
+ msgstr ""
1019
+
1020
+ #: admin/class-settings.php:599
1021
+ msgid "Iraq"
1022
+ msgstr ""
1023
+
1024
+ #: admin/class-settings.php:600
1025
+ msgid "Ireland"
1026
+ msgstr ""
1027
+
1028
+ #: admin/class-settings.php:601
1029
+ msgid "Isle of Man"
1030
+ msgstr ""
1031
+
1032
+ #: admin/class-settings.php:602
1033
+ msgid "Israel"
1034
+ msgstr ""
1035
+
1036
+ #: admin/class-settings.php:603
1037
+ msgid "Italy"
1038
+ msgstr ""
1039
+
1040
+ #: admin/class-settings.php:604
1041
  msgid "Jamaica"
1042
  msgstr ""
1043
 
1044
+ #: admin/class-settings.php:605
1045
  msgid "Japan"
1046
  msgstr ""
1047
 
1048
+ #: admin/class-settings.php:606
1049
+ msgid "Jersey"
1050
+ msgstr ""
1051
+
1052
+ #: admin/class-settings.php:607
1053
  msgid "Jordan"
1054
  msgstr ""
1055
 
1056
+ #: admin/class-settings.php:608
1057
  msgid "Kazakhstan"
1058
  msgstr ""
1059
 
1060
+ #: admin/class-settings.php:609
1061
  msgid "Kenya"
1062
  msgstr ""
1063
 
1064
+ #: admin/class-settings.php:610
1065
+ msgid "Kiribati"
1066
+ msgstr ""
1067
+
1068
+ #: admin/class-settings.php:611
1069
+ msgid "Kosovo"
1070
+ msgstr ""
1071
+
1072
+ #: admin/class-settings.php:612
1073
  msgid "Kuwait"
1074
  msgstr ""
1075
 
1076
+ #: admin/class-settings.php:613
1077
  msgid "Kyrgyzstan"
1078
  msgstr ""
1079
 
1080
+ #: admin/class-settings.php:614
1081
  msgid "Laos"
1082
  msgstr ""
1083
 
1084
+ #: admin/class-settings.php:615
1085
  msgid "Latvia"
1086
  msgstr ""
1087
 
1088
+ #: admin/class-settings.php:616
1089
  msgid "Lebanon"
1090
  msgstr ""
1091
 
1092
+ #: admin/class-settings.php:617
1093
  msgid "Lesotho"
1094
  msgstr ""
1095
 
1096
+ #: admin/class-settings.php:618
1097
  msgid "Liberia"
1098
  msgstr ""
1099
 
1100
+ #: admin/class-settings.php:619
1101
  msgid "Libya"
1102
  msgstr ""
1103
 
1104
+ #: admin/class-settings.php:620
1105
  msgid "Liechtenstein"
1106
  msgstr ""
1107
 
1108
+ #: admin/class-settings.php:621
1109
  msgid "Lithuania"
1110
  msgstr ""
1111
 
1112
+ #: admin/class-settings.php:622
1113
  msgid "Luxembourg"
1114
  msgstr ""
1115
 
1116
+ #: admin/class-settings.php:623
1117
  msgid "Macau"
1118
  msgstr ""
1119
 
1120
+ #: admin/class-settings.php:624
1121
+ msgid "Macedonia (FYROM)"
1122
  msgstr ""
1123
 
1124
+ #: admin/class-settings.php:625
1125
  msgid "Madagascar"
1126
  msgstr ""
1127
 
1128
+ #: admin/class-settings.php:626
1129
  msgid "Malawi"
1130
  msgstr ""
1131
 
1132
+ #: admin/class-settings.php:627
1133
  msgid "Malaysia "
1134
  msgstr ""
1135
 
1136
+ #: admin/class-settings.php:628
1137
+ msgid "Maldives "
1138
+ msgstr ""
1139
+
1140
+ #: admin/class-settings.php:629
1141
  msgid "Mali"
1142
  msgstr ""
1143
 
1144
+ #: admin/class-settings.php:630
1145
+ msgid "Malta"
1146
+ msgstr ""
1147
+
1148
+ #: admin/class-settings.php:631
1149
  msgid "Marshall Islands"
1150
  msgstr ""
1151
 
1152
+ #: admin/class-settings.php:632
1153
  msgid "Martinique"
1154
  msgstr ""
1155
 
1156
+ #: admin/class-settings.php:633
1157
  msgid "Mauritania"
1158
  msgstr ""
1159
 
1160
+ #: admin/class-settings.php:634
1161
  msgid "Mauritius"
1162
  msgstr ""
1163
 
1164
+ #: admin/class-settings.php:635
1165
+ msgid "Mayotte"
1166
+ msgstr ""
1167
+
1168
+ #: admin/class-settings.php:636
1169
  msgid "Mexico"
1170
  msgstr ""
1171
 
1172
+ #: admin/class-settings.php:637
1173
  msgid "Micronesia"
1174
  msgstr ""
1175
 
1176
+ #: admin/class-settings.php:638
1177
  msgid "Moldova"
1178
  msgstr ""
1179
 
1180
+ #: admin/class-settings.php:639
1181
  msgid "Monaco"
1182
  msgstr ""
1183
 
1184
+ #: admin/class-settings.php:640
1185
  msgid "Mongolia"
1186
  msgstr ""
1187
 
1188
+ #: admin/class-settings.php:641
1189
  msgid "Montenegro"
1190
  msgstr ""
1191
 
1192
+ #: admin/class-settings.php:642
1193
  msgid "Montserrat"
1194
  msgstr ""
1195
 
1196
+ #: admin/class-settings.php:643
1197
  msgid "Morocco"
1198
  msgstr ""
1199
 
1200
+ #: admin/class-settings.php:644
1201
  msgid "Mozambique"
1202
  msgstr ""
1203
 
1204
+ #: admin/class-settings.php:645
1205
+ msgid "Myanmar (Burma)"
1206
  msgstr ""
1207
 
1208
+ #: admin/class-settings.php:646
1209
  msgid "Namibia"
1210
  msgstr ""
1211
 
1212
+ #: admin/class-settings.php:647
1213
  msgid "Nauru"
1214
  msgstr ""
1215
 
1216
+ #: admin/class-settings.php:648
1217
  msgid "Nepal"
1218
  msgstr ""
1219
 
1220
+ #: admin/class-settings.php:649
1221
  msgid "Netherlands"
1222
  msgstr ""
1223
 
1224
+ #: admin/class-settings.php:650
1225
  msgid "Netherlands Antilles"
1226
  msgstr ""
1227
 
1228
+ #: admin/class-settings.php:651
1229
+ msgid "New Caledonia"
1230
+ msgstr ""
1231
+
1232
+ #: admin/class-settings.php:652
1233
  msgid "New Zealand"
1234
  msgstr ""
1235
 
1236
+ #: admin/class-settings.php:653
1237
  msgid "Nicaragua"
1238
  msgstr ""
1239
 
1240
+ #: admin/class-settings.php:654
1241
  msgid "Niger"
1242
  msgstr ""
1243
 
1244
+ #: admin/class-settings.php:655
1245
  msgid "Nigeria"
1246
  msgstr ""
1247
 
1248
+ #: admin/class-settings.php:656
1249
  msgid "Niue"
1250
  msgstr ""
1251
 
1252
+ #: admin/class-settings.php:657
1253
+ msgid "Norfolk Island"
1254
+ msgstr ""
1255
+
1256
+ #: admin/class-settings.php:658
1257
+ msgid "North Korea"
1258
+ msgstr ""
1259
+
1260
+ #: admin/class-settings.php:659
1261
  msgid "Northern Mariana Islands"
1262
  msgstr ""
1263
 
1264
+ #: admin/class-settings.php:660
1265
  msgid "Norway"
1266
  msgstr ""
1267
 
1268
+ #: admin/class-settings.php:661
1269
  msgid "Oman"
1270
  msgstr ""
1271
 
1272
+ #: admin/class-settings.php:662
1273
  msgid "Pakistan"
1274
  msgstr ""
1275
 
1276
+ #: admin/class-settings.php:663
1277
+ msgid "Palau"
1278
+ msgstr ""
1279
+
1280
+ #: admin/class-settings.php:664
1281
+ msgid "Palestine"
1282
+ msgstr ""
1283
+
1284
+ #: admin/class-settings.php:665
1285
  msgid "Panama"
1286
  msgstr ""
1287
 
1288
+ #: admin/class-settings.php:666
1289
  msgid "Papua New Guinea"
1290
  msgstr ""
1291
 
1292
+ #: admin/class-settings.php:667
1293
  msgid "Paraguay"
1294
  msgstr ""
1295
 
1296
+ #: admin/class-settings.php:668
1297
  msgid "Peru"
1298
  msgstr ""
1299
 
1300
+ #: admin/class-settings.php:669
1301
  msgid "Philippines"
1302
  msgstr ""
1303
 
1304
+ #: admin/class-settings.php:670
1305
  msgid "Pitcairn Islands"
1306
  msgstr ""
1307
 
1308
+ #: admin/class-settings.php:671
1309
  msgid "Poland"
1310
  msgstr ""
1311
 
1312
+ #: admin/class-settings.php:672
1313
  msgid "Portugal"
1314
  msgstr ""
1315
 
1316
+ #: admin/class-settings.php:673
1317
+ msgid "Puerto Rico"
1318
+ msgstr ""
1319
+
1320
+ #: admin/class-settings.php:674
1321
  msgid "Qatar"
1322
  msgstr ""
1323
 
1324
+ #: admin/class-settings.php:675
1325
  msgid "Reunion"
1326
  msgstr ""
1327
 
1328
+ #: admin/class-settings.php:676
1329
  msgid "Romania"
1330
  msgstr ""
1331
 
1332
+ #: admin/class-settings.php:677
1333
  msgid "Russia"
1334
  msgstr ""
1335
 
1336
+ #: admin/class-settings.php:678
1337
  msgid "Rwanda"
1338
  msgstr ""
1339
 
1340
+ #: admin/class-settings.php:679
1341
  msgid "Saint Helena"
1342
  msgstr ""
1343
 
1344
+ #: admin/class-settings.php:680
1345
  msgid "Saint Kitts and Nevis"
1346
  msgstr ""
1347
 
1348
+ #: admin/class-settings.php:681
1349
  msgid "Saint Vincent and the Grenadines"
1350
  msgstr ""
1351
 
1352
+ #: admin/class-settings.php:682
1353
  msgid "Saint Lucia"
1354
  msgstr ""
1355
 
1356
+ #: admin/class-settings.php:683
1357
  msgid "Samoa"
1358
  msgstr ""
1359
 
1360
+ #: admin/class-settings.php:684
1361
  msgid "San Marino"
1362
  msgstr ""
1363
 
1364
+ #: admin/class-settings.php:685
1365
  msgid "São Tomé and Príncipe"
1366
  msgstr ""
1367
 
1368
+ #: admin/class-settings.php:686
1369
  msgid "Saudi Arabia"
1370
  msgstr ""
1371
 
1372
+ #: admin/class-settings.php:687
1373
  msgid "Senegal"
1374
  msgstr ""
1375
 
1376
+ #: admin/class-settings.php:688
1377
  msgid "Serbia"
1378
  msgstr ""
1379
 
1380
+ #: admin/class-settings.php:689
1381
  msgid "Seychelles"
1382
  msgstr ""
1383
 
1384
+ #: admin/class-settings.php:690
1385
  msgid "Sierra Leone"
1386
  msgstr ""
1387
 
1388
+ #: admin/class-settings.php:691
1389
  msgid "Singapore"
1390
  msgstr ""
1391
 
1392
+ #: admin/class-settings.php:692
1393
+ msgid "Sint Maarten"
1394
+ msgstr ""
1395
+
1396
+ #: admin/class-settings.php:693
1397
  msgid "Slovakia"
1398
  msgstr ""
1399
 
1400
+ #: admin/class-settings.php:694
1401
+ msgid "Slovenia"
1402
+ msgstr ""
1403
+
1404
+ #: admin/class-settings.php:695
1405
  msgid "Solomon Islands"
1406
  msgstr ""
1407
 
1408
+ #: admin/class-settings.php:696
1409
  msgid "Somalia"
1410
  msgstr ""
1411
 
1412
+ #: admin/class-settings.php:697
1413
  msgid "South Africa"
1414
  msgstr ""
1415
 
1416
+ #: admin/class-settings.php:698
1417
+ msgid "South Georgia and South Sandwich Islands"
1418
+ msgstr ""
1419
+
1420
+ #: admin/class-settings.php:699
1421
  msgid "South Korea"
1422
  msgstr ""
1423
 
1424
+ #: admin/class-settings.php:700
1425
+ msgid "South Sudan"
1426
+ msgstr ""
1427
+
1428
+ #: admin/class-settings.php:701
1429
  msgid "Spain"
1430
  msgstr ""
1431
 
1432
+ #: admin/class-settings.php:702
1433
  msgid "Sri Lanka"
1434
  msgstr ""
1435
 
1436
+ #: admin/class-settings.php:703
1437
  msgid "Sudan"
1438
  msgstr ""
1439
 
1440
+ #: admin/class-settings.php:704
1441
  msgid "Swaziland"
1442
  msgstr ""
1443
 
1444
+ #: admin/class-settings.php:705
1445
  msgid "Sweden"
1446
  msgstr ""
1447
 
1448
+ #: admin/class-settings.php:706
1449
  msgid "Switzerland"
1450
  msgstr ""
1451
 
1452
+ #: admin/class-settings.php:707
1453
  msgid "Syria"
1454
  msgstr ""
1455
 
1456
+ #: admin/class-settings.php:708
1457
+ msgid "São Tomé & Príncipe"
1458
+ msgstr ""
1459
+
1460
+ #: admin/class-settings.php:709
1461
  msgid "Taiwan"
1462
  msgstr ""
1463
 
1464
+ #: admin/class-settings.php:710
1465
  msgid "Tajikistan"
1466
  msgstr ""
1467
 
1468
+ #: admin/class-settings.php:711
1469
  msgid "Tanzania"
1470
  msgstr ""
1471
 
1472
+ #: admin/class-settings.php:712
1473
  msgid "Thailand"
1474
  msgstr ""
1475
 
1476
+ #: admin/class-settings.php:713
1477
  msgid "Timor-Leste"
1478
  msgstr ""
1479
 
1480
+ #: admin/class-settings.php:714 admin/class-settings.php:716
1481
  msgid "Tokelau"
1482
  msgstr ""
1483
 
1484
+ #: admin/class-settings.php:715
1485
  msgid "Togo"
1486
  msgstr ""
1487
 
1488
+ #: admin/class-settings.php:717
1489
  msgid "Tonga"
1490
  msgstr ""
1491
 
1492
+ #: admin/class-settings.php:718
1493
  msgid "Trinidad and Tobago"
1494
  msgstr ""
1495
 
1496
+ #: admin/class-settings.php:719
1497
+ msgid "Tristan da Cunha"
1498
+ msgstr ""
1499
+
1500
+ #: admin/class-settings.php:720
1501
  msgid "Tunisia"
1502
  msgstr ""
1503
 
1504
+ #: admin/class-settings.php:721
1505
  msgid "Turkey"
1506
  msgstr ""
1507
 
1508
+ #: admin/class-settings.php:722
1509
  msgid "Turkmenistan"
1510
  msgstr ""
1511
 
1512
+ #: admin/class-settings.php:723
1513
+ msgid "Turks and Caicos Islands"
1514
+ msgstr ""
1515
+
1516
+ #: admin/class-settings.php:724
1517
  msgid "Tuvalu"
1518
  msgstr ""
1519
 
1520
+ #: admin/class-settings.php:725
1521
  msgid "Uganda"
1522
  msgstr ""
1523
 
1524
+ #: admin/class-settings.php:726
1525
  msgid "Ukraine"
1526
  msgstr ""
1527
 
1528
+ #: admin/class-settings.php:727
1529
  msgid "United Arab Emirates"
1530
  msgstr ""
1531
 
1532
+ #: admin/class-settings.php:728
1533
  msgid "United Kingdom"
1534
  msgstr ""
1535
 
1536
+ #: admin/class-settings.php:729
1537
  msgid "United States"
1538
  msgstr ""
1539
 
1540
+ #: admin/class-settings.php:730
1541
  msgid "Uruguay"
1542
  msgstr ""
1543
 
1544
+ #: admin/class-settings.php:731
1545
  msgid "Uzbekistan"
1546
  msgstr ""
1547
 
1548
+ #: admin/class-settings.php:732
1549
+ msgid "Vanuatu"
1550
  msgstr ""
1551
 
1552
+ #: admin/class-settings.php:733
1553
+ msgid "Vatican City"
1554
+ msgstr ""
1555
+
1556
+ #: admin/class-settings.php:734
1557
  msgid "Venezuela"
1558
  msgstr ""
1559
 
1560
+ #: admin/class-settings.php:735
1561
  msgid "Vietnam"
1562
  msgstr ""
1563
 
1564
+ #: admin/class-settings.php:736
1565
+ msgid "Wallis Futuna"
1566
+ msgstr ""
1567
+
1568
+ #: admin/class-settings.php:737
1569
+ msgid "Western Sahara"
1570
+ msgstr ""
1571
+
1572
+ #: admin/class-settings.php:738
1573
  msgid "Yemen"
1574
  msgstr ""
1575
 
1576
+ #: admin/class-settings.php:739
1577
  msgid "Zambia"
1578
  msgstr ""
1579
 
1580
+ #: admin/class-settings.php:740
1581
  msgid "Zimbabwe"
1582
  msgstr ""
1583
 
1584
+ #: admin/class-settings.php:741
1585
+ msgid "Åland Islands"
1586
+ msgstr ""
1587
+
1588
+ #: admin/class-settings.php:784
1589
  msgid "World view"
1590
  msgstr ""
1591
 
1592
+ #: admin/class-settings.php:787 admin/class-settings.php:901
1593
  #: inc/wpsl-functions.php:215
1594
  msgid "Default"
1595
  msgstr ""
1596
 
1597
+ #: admin/class-settings.php:790 inc/wpsl-functions.php:288
1598
  msgid "Roadmap"
1599
  msgstr ""
1600
 
1601
+ #: admin/class-settings.php:931
1602
  msgid "Start location marker"
1603
  msgstr ""
1604
 
1605
+ #: admin/class-settings.php:933
1606
  msgid "Store location marker"
1607
  msgstr ""
1608
 
1609
+ #: admin/class-settings.php:1015
1610
  msgid "Textarea"
1611
  msgstr ""
1612
 
1613
+ #: admin/class-settings.php:1016
1614
  msgid "Dropdowns (recommended)"
1615
  msgstr ""
1616
 
1617
+ #: admin/class-settings.php:1024
1618
  msgid "Bounces up and down"
1619
  msgstr ""
1620
 
1621
+ #: admin/class-settings.php:1025
1622
  msgid "Will open the info window"
1623
  msgstr ""
1624
 
1625
+ #: admin/class-settings.php:1026
1626
  msgid "Does not respond"
1627
  msgstr ""
1628
 
1629
+ #: admin/class-settings.php:1034
1630
  msgid "In the store listings"
1631
  msgstr ""
1632
 
1633
+ #: admin/class-settings.php:1035
1634
  msgid "In the info window on the map"
1635
  msgstr ""
1636
 
1637
+ #: admin/class-settings.php:1067
1638
  msgid "Dropdown"
1639
  msgstr ""
1640
 
1641
+ #: admin/class-settings.php:1068
1642
  msgid "Checkboxes"
1643
  msgstr ""
1644
 
1645
+ #: admin/class-settings.php:1100
1646
  msgid "12 Hours"
1647
  msgstr ""
1648
 
1649
+ #: admin/class-settings.php:1101
1650
  msgid "24 Hours"
1651
  msgstr ""
1652
 
2220
  msgstr ""
2221
 
2222
  #: admin/templates/map-settings.php:490 admin/templates/map-settings.php:491
2223
+ #: frontend/class-frontend.php:1693 inc/wpsl-functions.php:135
2224
  msgid "No results found"
2225
  msgstr ""
2226
 
2228
  msgid "Searching (preloader text)"
2229
  msgstr ""
2230
 
2231
+ #: admin/templates/map-settings.php:499 frontend/class-frontend.php:1692
2232
  #: inc/wpsl-functions.php:133
2233
  msgid "Searching..."
2234
  msgstr ""
2244
  msgid "Category filter"
2245
  msgstr ""
2246
 
2247
+ #: admin/templates/map-settings.php:507 frontend/class-frontend.php:1312
2248
  msgid "Category"
2249
  msgstr ""
2250
 
2253
  msgstr ""
2254
 
2255
  #: admin/templates/map-settings.php:511 admin/upgrade.php:367
2256
+ #: frontend/class-frontend.php:1315 inc/wpsl-functions.php:151
2257
  msgid "Any"
2258
  msgstr ""
2259
 
2260
  #: admin/templates/map-settings.php:514 admin/templates/map-settings.php:515
2261
+ #: admin/upgrade.php:59 frontend/class-frontend.php:1694
2262
  #: frontend/underscore-functions.php:138 frontend/underscore-functions.php:168
2263
  #: inc/wpsl-functions.php:137
2264
  msgid "More info"
2265
  msgstr ""
2266
 
2267
  #: admin/templates/map-settings.php:518 admin/templates/map-settings.php:519
2268
+ #: frontend/class-frontend.php:804 frontend/underscore-functions.php:29
2269
  #: frontend/underscore-functions.php:65 frontend/underscore-functions.php:147
2270
  #: inc/wpsl-functions.php:145
2271
  msgid "Phone"
2272
  msgstr ""
2273
 
2274
  #: admin/templates/map-settings.php:538 admin/templates/map-settings.php:539
2275
+ #: frontend/class-frontend.php:1699 inc/wpsl-functions.php:130
2276
  msgid "Start location"
2277
  msgstr ""
2278
 
2280
  msgid "Get directions"
2281
  msgstr ""
2282
 
2283
+ #: admin/templates/map-settings.php:543 frontend/class-frontend.php:1697
2284
  #: inc/wpsl-functions.php:138
2285
  msgid "Directions"
2286
  msgstr ""
2290
  msgstr ""
2291
 
2292
  #: admin/templates/map-settings.php:547 admin/upgrade.php:151
2293
+ #: frontend/class-frontend.php:1698 inc/wpsl-functions.php:139
2294
  msgid "No route could be found between the origin and destination"
2295
  msgstr ""
2296
 
2297
  #: admin/templates/map-settings.php:550 admin/templates/map-settings.php:551
2298
+ #: admin/upgrade.php:77 frontend/class-frontend.php:1700
2299
  #: inc/wpsl-functions.php:140
2300
  msgid "Back"
2301
  msgstr ""
2302
 
2303
  #: admin/templates/map-settings.php:554 admin/templates/map-settings.php:555
2304
+ #: admin/upgrade.php:143 frontend/class-frontend.php:1701
2305
  #: inc/wpsl-functions.php:141
2306
  msgid "Street view"
2307
  msgstr ""
2308
 
2309
  #: admin/templates/map-settings.php:558 admin/templates/map-settings.php:559
2310
+ #: admin/upgrade.php:147 frontend/class-frontend.php:1702
2311
  #: inc/wpsl-functions.php:142
2312
  msgid "Zoom here"
2313
  msgstr ""
2316
  msgid "General error"
2317
  msgstr ""
2318
 
2319
+ #: admin/templates/map-settings.php:563 frontend/class-frontend.php:1695
2320
  #: inc/wpsl-functions.php:143
2321
  msgid "Something went wrong, please try again!"
2322
  msgstr ""
2332
  "the \"API key\" field at the top of this page."
2333
  msgstr ""
2334
 
2335
+ #: admin/templates/map-settings.php:567 frontend/class-frontend.php:1696
2336
  #: inc/wpsl-functions.php:144
2337
  msgid "API usage limit reached"
2338
  msgstr ""
2422
  "view them on the %sAll Stores%s page."
2423
  msgstr ""
2424
 
2425
+ #: frontend/class-frontend.php:741
2426
  msgid ""
2427
  "If you use the [wpsl_address] shortcode outside a store page you need to set "
2428
  "the ID attribute."
2429
  msgstr ""
2430
 
2431
+ #: frontend/class-frontend.php:855
2432
  msgid ""
2433
  "If you use the [wpsl_hours] shortcode outside a store page you need to set "
2434
  "the ID attribute."
2435
  msgstr ""
2436
 
2437
+ #: frontend/class-frontend.php:903
2438
  msgid ""
2439
  "If you use the [wpsl_map] shortcode outside a store page, then you need to "
2440
  "set the ID or category attribute."
2441
  msgstr ""
2442
 
2443
+ #: frontend/class-frontend.php:1488
2444
  msgid "The application does not have permission to use the Geolocation API."
2445
  msgstr ""
2446
 
2447
+ #: frontend/class-frontend.php:1489
2448
  msgid "Location information is unavailable."
2449
  msgstr ""
2450
 
2451
+ #: frontend/class-frontend.php:1490
2452
  msgid "The geolocation request timed out."
2453
  msgstr ""
2454
 
2455
+ #: frontend/class-frontend.php:1491
2456
  msgid "An unknown error occurred."
2457
  msgstr ""
2458
 
readme.txt CHANGED
@@ -5,7 +5,7 @@ Donate link: https://www.paypal.me/tijmensmit
5
  Tags: google maps, store locator, business locations, geocoding, stores, geo, zipcode locator, dealer locater, geocode, gmaps, google map, google map plugin, location finder, map tools, shop locator, wp google map
6
  Requires at least: 3.7
7
  Tested up to: 4.7
8
- Stable tag: 2.2.7
9
  License: GPLv3
10
  License URI: http://www.gnu.org/licenses/gpl.html
11
 
@@ -126,6 +126,19 @@ If you find a plugin or theme that causes a conflict, please report it on the [s
126
 
127
  == Changelog ==
128
 
 
 
 
 
 
 
 
 
 
 
 
 
 
129
  = 2.2.7, December 31, 2016 =
130
  * Changed: Included the latest version of the EDD_SL_Plugin_Updater class ( 1.6.8 ).
131
  * Changed: Reverted a change in the CSS file that ended up breaking the map for some users.
5
  Tags: google maps, store locator, business locations, geocoding, stores, geo, zipcode locator, dealer locater, geocode, gmaps, google map, google map plugin, location finder, map tools, shop locator, wp google map
6
  Requires at least: 3.7
7
  Tested up to: 4.7
8
+ Stable tag: 2.2.8
9
  License: GPLv3
10
  License URI: http://www.gnu.org/licenses/gpl.html
11
 
126
 
127
  == Changelog ==
128
 
129
+ = 2.2.8, April 30, 2017 =
130
+ * Added: Support for [Polylang](https://wordpress.org/plugins/polylang/).
131
+ * Added: A [wpsl_direction_travel_mode](https://wpstorelocator.co/document/wpsl_direction_travel_mode/) filter that enabled you to change the used [travel mode](https://developers.google.com/maps/documentation/javascript/directions#TravelModes) for the directions.
132
+ * Added: A [wpsl_distance_unit](https://wpstorelocator.co/document/wpsl_distance_unit/) filter.
133
+ * Added: A [wpsl_disable_welcome_pointer](https://wpstorelocator.co/document/wpsl_disable_welcome_pointer/) filter that enables you disable the newsletter signup on a multisite network.
134
+ * Added: Support for custom alternateMarkerUrl and categoryMarkerUrl data in the JS file, this allows you to set a custom marker for [individual locations](https://wpstorelocator.co/document/use-different-marker-for-each-location/) and for [categories](https://wpstorelocator.co/document/set-unique-category-markers/).
135
+ * Changed: Deprecated the [wpsl_draggable_map](https://wpstorelocator.co/document/wpsl_draggable_map/) filter and [replaced](https://wpstorelocator.co/document/wpsl_gesture_handling/) it with support for Google Maps [gestureHandling](https://developers.google.com/maps/documentation/javascript/interaction).
136
+ * Changed: Made sure the supported map regions on the settings page match with the list of supported regions from [Google](https://developers.google.com/maps/coverage).
137
+ * Changed: Included the latest version of the EDD_SL_Plugin_Updater class ( 1.6.12 ).
138
+ * Fixed: A fatal call to undefined function error when the plugin is activated through WP-CLI.
139
+ * Fixed: The controls in street view mode not having a background color, so the back button wasn't visible.
140
+ * Fixed: Prevented two consecutive underscores from showing up in the generated transient names if no autoload limit is set.
141
+
142
  = 2.2.7, December 31, 2016 =
143
  * Changed: Included the latest version of the EDD_SL_Plugin_Updater class ( 1.6.8 ).
144
  * Changed: Reverted a change in the CSS file that ended up breaking the map for some users.
wp-store-locator.php CHANGED
@@ -4,7 +4,7 @@ Plugin Name: WP Store Locator
4
  Description: An easy to use location management system that enables users to search for nearby physical stores
5
  Author: Tijmen Smit
6
  Author URI: https://wpstorelocator.co/
7
- Version: 2.2.7
8
  Text Domain: wpsl
9
  Domain Path: /languages/
10
  License: GPL v3
@@ -58,7 +58,7 @@ if ( !class_exists( 'WP_Store_locator' ) ) {
58
  public function define_constants() {
59
 
60
  if ( !defined( 'WPSL_VERSION_NUM' ) )
61
- define( 'WPSL_VERSION_NUM', '2.2.7' );
62
 
63
  if ( !defined( 'WPSL_URL' ) )
64
  define( 'WPSL_URL', plugin_dir_url( __FILE__ ) );
@@ -83,7 +83,7 @@ if ( !class_exists( 'WP_Store_locator' ) ) {
83
  require_once( WPSL_PLUGIN_DIR . 'inc/class-i18n.php' );
84
  require_once( WPSL_PLUGIN_DIR . 'frontend/class-frontend.php' );
85
 
86
- if ( is_admin() ) {
87
  require_once( WPSL_PLUGIN_DIR . 'admin/roles.php' );
88
  require_once( WPSL_PLUGIN_DIR . 'admin/class-admin.php' );
89
  }
4
  Description: An easy to use location management system that enables users to search for nearby physical stores
5
  Author: Tijmen Smit
6
  Author URI: https://wpstorelocator.co/
7
+ Version: 2.2.8
8
  Text Domain: wpsl
9
  Domain Path: /languages/
10
  License: GPL v3
58
  public function define_constants() {
59
 
60
  if ( !defined( 'WPSL_VERSION_NUM' ) )
61
+ define( 'WPSL_VERSION_NUM', '2.2.8' );
62
 
63
  if ( !defined( 'WPSL_URL' ) )
64
  define( 'WPSL_URL', plugin_dir_url( __FILE__ ) );
83
  require_once( WPSL_PLUGIN_DIR . 'inc/class-i18n.php' );
84
  require_once( WPSL_PLUGIN_DIR . 'frontend/class-frontend.php' );
85
 
86
+ if ( is_admin() || defined( 'WP_CLI' ) && WP_CLI ) {
87
  require_once( WPSL_PLUGIN_DIR . 'admin/roles.php' );
88
  require_once( WPSL_PLUGIN_DIR . 'admin/class-admin.php' );
89
  }