Google Maps Plugin by Intergeo - Version 2.2.4

Version Description

  • 2018-12-06
Download this release

Release Info

Developer codeinwp
Plugin Icon 128x128 Google Maps Plugin by Intergeo
Version 2.2.4
Comparing to
See all releases

Code changes from version 2.2.3 to 2.2.4

CHANGELOG.md CHANGED
@@ -1,7 +1,11 @@
1
 
2
- ### v2.2.3 - 2018-03-12
3
  **Changes:**
4
-
 
 
 
 
5
  ### v2.2.3 - 2018-03-12
6
  **Changes:**
7
  * Improves copy maps workflow.
1
 
2
+ ### v2.2.4 - 2018-12-06
3
  **Changes:**
4
+ * Fixed problem with Custom Styles option not working
5
+ * Fixed problem with markers colors not working properly
6
+ * Fixed problem with maps with driving directions
7
+ * Tested with WP 5.0
8
+
9
  ### v2.2.3 - 2018-03-12
10
  **Changes:**
11
  * Improves copy maps workflow.
css/frontend.css CHANGED
@@ -1,5 +1,5 @@
1
  /*
2
- * Version: 2.2.3
3
  */
4
 
5
  .intergeo_map_canvas img {
1
  /*
2
+ * Version: 2.2.4
3
  */
4
 
5
  .intergeo_map_canvas img {
index.php CHANGED
@@ -4,7 +4,7 @@
4
  * Plugin Name: Intergeo - Google Maps Plugin - Lite
5
  * Plugin URI: http://themeisle.com/plugins/intergeo-maps-lite/
6
  * Description: A simple, easy and quite powerful Google Map tool to create, manage and embed custom Google Maps into your WordPress posts and pages. The plugin allows you to deeply customize look and feel of a map, add overlays like markers, rectangles, circles, polylines and polygons to your map. It could even be integraded with your Google Adsense account and show ad on your maps.
7
- * Version: 2.2.3
8
  * Author: Themeisle
9
  * Author URI: http://themeisle.com
10
  * License: GPL v2.0 or later
@@ -16,7 +16,7 @@
16
  */
17
 
18
  define( 'INTERGEO_PLUGIN_NAME', 'intergeo' );
19
- define( 'INTERGEO_VERSION', '2.2.3' );
20
  define( 'INTERGEO_ABSPATH', dirname( __FILE__ ) );
21
  define( 'INTERGEO_ABSURL', plugins_url( '/', __FILE__ ) );
22
  defined( 'WPLANG' ) || define( 'WPLANG', '' );
@@ -56,7 +56,7 @@ function intergeo_action_links( $links, $file ) {
56
  array_unshift(
57
  $links,
58
  sprintf( '<a href="%s">%s</a>', add_query_arg( 'page', INTERGEO_PLUGIN_NAME, admin_url( 'upload.php' ) ), __( 'Maps', 'intergeo-maps' ) ),
59
- sprintf( '<a href="%s">%s</a>', admin_url( 'options-media.php' ), __( 'Settings', 'intergeo-maps' ) )
60
  );
61
  }
62
 
@@ -336,9 +336,11 @@ function intergeo_map_popup_init() {
336
  'marker' => __( 'marker', 'intergeo-maps' ),
337
  'error' => array(
338
  'style' => __( 'Styles are broken. Please, fix it and try again.', 'intergeo-maps' ),
339
- 'directions' => __( 'Direction was not found.', 'intergeo-maps' ),
 
340
  ),
341
  ),
 
342
  )
343
  );
344
  wp_enqueue_style( 'wp-color-picker' );
@@ -545,6 +547,16 @@ function intergeo_filter_overlays_marker( $marker ) {
545
  );
546
  }
547
 
 
 
 
 
 
 
 
 
 
 
548
  /**
549
  * Filter polyline.
550
  *
4
  * Plugin Name: Intergeo - Google Maps Plugin - Lite
5
  * Plugin URI: http://themeisle.com/plugins/intergeo-maps-lite/
6
  * Description: A simple, easy and quite powerful Google Map tool to create, manage and embed custom Google Maps into your WordPress posts and pages. The plugin allows you to deeply customize look and feel of a map, add overlays like markers, rectangles, circles, polylines and polygons to your map. It could even be integraded with your Google Adsense account and show ad on your maps.
7
+ * Version: 2.2.4
8
  * Author: Themeisle
9
  * Author URI: http://themeisle.com
10
  * License: GPL v2.0 or later
16
  */
17
 
18
  define( 'INTERGEO_PLUGIN_NAME', 'intergeo' );
19
+ define( 'INTERGEO_VERSION', '2.2.4' );
20
  define( 'INTERGEO_ABSPATH', dirname( __FILE__ ) );
21
  define( 'INTERGEO_ABSURL', plugins_url( '/', __FILE__ ) );
22
  defined( 'WPLANG' ) || define( 'WPLANG', '' );
56
  array_unshift(
57
  $links,
58
  sprintf( '<a href="%s">%s</a>', add_query_arg( 'page', INTERGEO_PLUGIN_NAME, admin_url( 'upload.php' ) ), __( 'Maps', 'intergeo-maps' ) ),
59
+ sprintf( '<a href="%s">%s</a>', intergeo_settings_url(), __( 'Settings', 'intergeo-maps' ) )
60
  );
61
  }
62
 
336
  'marker' => __( 'marker', 'intergeo-maps' ),
337
  'error' => array(
338
  'style' => __( 'Styles are broken. Please, fix it and try again.', 'intergeo-maps' ),
339
+ 'directions' => __( 'Directions were not found. Error: ', 'intergeo-maps' ),
340
+ 'shortcode' => __( 'Unable to render shortcode properly. Error: ', 'intergeo-maps' ),
341
  ),
342
  ),
343
+ 'show_error' => is_user_logged_in() ? 1 : 0,
344
  )
345
  );
346
  wp_enqueue_style( 'wp-color-picker' );
547
  );
548
  }
549
 
550
+
551
+ /**
552
+ * Returns the settings URL.
553
+ *
554
+ * @return string The settings URL.
555
+ */
556
+ function intergeo_settings_url() {
557
+ return admin_url( 'options-general.php?page=' . INTERGEO_PLUGIN_NAME );
558
+ }
559
+
560
  /**
561
  * Filter polyline.
562
  *
js/editor.js CHANGED
@@ -458,7 +458,7 @@ if (!window.intergeo.maps) {
458
  '%mode%': f.find('#intergeo_ppp_drctn_mode > :selected').text()
459
  }));
460
  } else {
461
- alert(intergeo_options.l10n.error.directions);
462
  }
463
  });
464
  d.html.find('.intergeo_tlbr_drctn_from').val(i);
@@ -807,6 +807,7 @@ if (!window.intergeo.maps) {
807
  f[i].push(k);
808
  g.find('.intergeo_tlbr_' + i + '_path').val(k.pathToString());
809
  d('#intergeo_tlbr_' + i + 's').append(g);
 
810
  },
811
  _normalize: function(h) {
812
  var g = function(j) {
@@ -1020,6 +1021,12 @@ if (!window.intergeo.maps) {
1020
  var f = this,
1021
  e = d('#intergeo_drctn_ppp'),
1022
  g = e.find('.intergeo_ppp_frm');
 
 
 
 
 
 
1023
  g.bind('submit.firsttime', function() {
1024
  var h, i, j, l, k;
1025
  if (g.attr('data-position') !== '') {
@@ -1262,6 +1269,12 @@ if (!window.intergeo.maps) {
1262
  }
1263
  }
1264
  });
 
 
 
 
 
 
1265
  });
1266
 
1267
  })(jQuery, google.maps, intergeo.maps);
458
  '%mode%': f.find('#intergeo_ppp_drctn_mode > :selected').text()
459
  }));
460
  } else {
461
+ alert(intergeo_options.l10n.error.directions + j);
462
  }
463
  });
464
  d.html.find('.intergeo_tlbr_drctn_from').val(i);
807
  f[i].push(k);
808
  g.find('.intergeo_tlbr_' + i + '_path').val(k.pathToString());
809
  d('#intergeo_tlbr_' + i + 's').append(g);
810
+ f.drawing.setDrawingMode(null);
811
  },
812
  _normalize: function(h) {
813
  var g = function(j) {
1021
  var f = this,
1022
  e = d('#intergeo_drctn_ppp'),
1023
  g = e.find('.intergeo_ppp_frm');
1024
+
1025
+ var from = new c.places.Autocomplete(e.find('.intergeo_tlbr_marker_address').get(0));
1026
+ from.bindTo('bounds', f.map);
1027
+ var to = new c.places.Autocomplete(e.find('.intergeo_tlbr_marker_address').get(1));
1028
+ to.bindTo('bounds', f.map);
1029
+
1030
  g.bind('submit.firsttime', function() {
1031
  var h, i, j, l, k;
1032
  if (g.attr('data-position') !== '') {
1269
  }
1270
  }
1271
  });
1272
+
1273
+ d(".intergeo_add_drawing_tool_bttn").click(function() {
1274
+ f.drawing.setDrawingMode(null);
1275
+ f.drawing.setDrawingMode(d(this).attr('data-drawing-type'));
1276
+ return false;
1277
+ });
1278
  });
1279
 
1280
  })(jQuery, google.maps, intergeo.maps);
js/rendering.js CHANGED
@@ -1,5 +1,6 @@
1
  /* global intergeo_options */
2
  /* global google */
 
3
  //noinspection JSUnresolvedVariable
4
  (function (c, b) {
5
  var a = function (d, f) {
@@ -371,7 +372,7 @@
371
  mapTypeId: b.MapTypeId.ROADMAP
372
  }, d.options.map || {}));
373
  if (d.options.styles && d.options.styles.type) {
374
- if (d.options.styles.type === -1) {
375
  try {
376
  d.map.setOptions({
377
  styles: d.options.styles.custom || []
@@ -392,6 +393,8 @@
392
  }, function (l, e) {
393
  if (e === b.GeocoderStatus.OK) {
394
  d.map.setCenter(l[0].geometry.location);
 
 
395
  }
396
  });
397
  }
1
  /* global intergeo_options */
2
  /* global google */
3
+ /* global alert */
4
  //noinspection JSUnresolvedVariable
5
  (function (c, b) {
6
  var a = function (d, f) {
372
  mapTypeId: b.MapTypeId.ROADMAP
373
  }, d.options.map || {}));
374
  if (d.options.styles && d.options.styles.type) {
375
+ if (d.options.styles.type === '-1') {
376
  try {
377
  d.map.setOptions({
378
  styles: d.options.styles.custom || []
393
  }, function (l, e) {
394
  if (e === b.GeocoderStatus.OK) {
395
  d.map.setCenter(l[0].geometry.location);
396
+ } else if( intergeo_options.show_error === 1 ) {
397
+ alert(intergeo_options.l10n.error.shortcode + e);
398
  }
399
  });
400
  }
readme.md CHANGED
@@ -1,8 +1,8 @@
1
  # Google Maps Plugin by Intergeo #
2
- **Contributors:** [codeinwp](https://profiles.wordpress.org/codeinwp), [intergeomaps](https://profiles.wordpress.org/intergeomaps), [hardeepasrani](https://profiles.wordpress.org/hardeepasrani), [themeisle](https://profiles.wordpress.org/themeisle), [Madalin_ThemeIsle](https://profiles.wordpress.org/Madalin_ThemeIsle), [uriahs-victor](https://profiles.wordpress.org/uriahs-victor), [rozroz](https://profiles.wordpress.org/rozroz)
3
  **Tags:** directions, easy map, google, google map, google map plugin, google maps, latitude, location, longitude, map, map directions, map markers, map plugin, map widget, maps, marker, polygons, polylines, routes, store locator, streetview, wp google map, wp google maps, wp maps,plugin,admin,widget,shortcode,google maps, maps, map, map markers, google, google map, maps api, wp maps, wp google maps, easy map, embed, marker, placemark, icon, geocode, shortcode, custom post type, multisite, marker clustering
4
  **Requires at least:** 3.5
5
- **Tested up to:** 4.9
6
  **Stable tag:** trunk
7
  **License:** GPL v2.0 or later
8
  **License URI:** http://www.opensource.org/licenses/gpl-license.php
@@ -128,6 +128,14 @@ function filter_intergeo_map_settings( $options ) {
128
  }`
129
 
130
  ## Changelog ##
 
 
 
 
 
 
 
 
131
  ### 2.2.3 - 2018-03-12 ###
132
 
133
  * Improves copy maps workflow.
1
  # Google Maps Plugin by Intergeo #
2
+ **Contributors:** [codeinwp](https://profiles.wordpress.org/codeinwp), [intergeomaps](https://profiles.wordpress.org/intergeomaps), [hardeepasrani](https://profiles.wordpress.org/hardeepasrani), [themeisle](https://profiles.wordpress.org/themeisle), [Madalin_ThemeIsle](https://profiles.wordpress.org/Madalin_ThemeIsle), [uriahs-victor](https://profiles.wordpress.org/uriahs-victor), [contactashish13](https://profiles.wordpress.org/contactashish13)
3
  **Tags:** directions, easy map, google, google map, google map plugin, google maps, latitude, location, longitude, map, map directions, map markers, map plugin, map widget, maps, marker, polygons, polylines, routes, store locator, streetview, wp google map, wp google maps, wp maps,plugin,admin,widget,shortcode,google maps, maps, map, map markers, google, google map, maps api, wp maps, wp google maps, easy map, embed, marker, placemark, icon, geocode, shortcode, custom post type, multisite, marker clustering
4
  **Requires at least:** 3.5
5
+ **Tested up to:** 5.0
6
  **Stable tag:** trunk
7
  **License:** GPL v2.0 or later
8
  **License URI:** http://www.opensource.org/licenses/gpl-license.php
128
  }`
129
 
130
  ## Changelog ##
131
+ ### 2.2.4 - 2018-12-06 ###
132
+
133
+ * Fixed problem with Custom Styles option not working
134
+ * Fixed problem with markers colors not working properly
135
+ * Fixed problem with maps with driving directions
136
+ * Tested with WP 5.0
137
+
138
+
139
  ### 2.2.3 - 2018-03-12 ###
140
 
141
  * Improves copy maps workflow.
readme.txt CHANGED
@@ -1,8 +1,8 @@
1
  === Google Maps Plugin by Intergeo ===
2
- Contributors: codeinwp,intergeomaps,hardeepasrani,themeisle,Madalin_ThemeIsle,uriahs-victor,rozroz
3
  Tags: directions, easy map, google, google map, google map plugin, google maps, latitude, location, longitude, map, map directions, map markers, map plugin, map widget, maps, marker, polygons, polylines, routes, store locator, streetview, wp google map, wp google maps, wp maps,plugin,admin,widget,shortcode,google maps, maps, map, map markers, google, google map, maps api, wp maps, wp google maps, easy map, embed, marker, placemark, icon, geocode, shortcode, custom post type, multisite, marker clustering
4
  Requires at least: 3.5
5
- Tested up to: 4.9
6
  Stable tag: trunk
7
  License: GPL v2.0 or later
8
  License URI: http://www.opensource.org/licenses/gpl-license.php
@@ -128,6 +128,14 @@ function filter_intergeo_map_settings( $options ) {
128
  }`
129
 
130
  == Changelog ==
 
 
 
 
 
 
 
 
131
  = 2.2.3 - 2018-03-12 =
132
 
133
  * Improves copy maps workflow.
1
  === Google Maps Plugin by Intergeo ===
2
+ Contributors: codeinwp,intergeomaps,hardeepasrani,themeisle,Madalin_ThemeIsle,uriahs-victor,contactashish13
3
  Tags: directions, easy map, google, google map, google map plugin, google maps, latitude, location, longitude, map, map directions, map markers, map plugin, map widget, maps, marker, polygons, polylines, routes, store locator, streetview, wp google map, wp google maps, wp maps,plugin,admin,widget,shortcode,google maps, maps, map, map markers, google, google map, maps api, wp maps, wp google maps, easy map, embed, marker, placemark, icon, geocode, shortcode, custom post type, multisite, marker clustering
4
  Requires at least: 3.5
5
+ Tested up to: 5.0
6
  Stable tag: trunk
7
  License: GPL v2.0 or later
8
  License URI: http://www.opensource.org/licenses/gpl-license.php
128
  }`
129
 
130
  == Changelog ==
131
+ = 2.2.4 - 2018-12-06 =
132
+
133
+ * Fixed problem with Custom Styles option not working
134
+ * Fixed problem with markers colors not working properly
135
+ * Fixed problem with maps with driving directions
136
+ * Tested with WP 5.0
137
+
138
+
139
  = 2.2.3 - 2018-03-12 =
140
 
141
  * Improves copy maps workflow.
templates/iframe/adsense.php CHANGED
@@ -11,7 +11,7 @@ if ( ! intergeo_is_agency() ) {
11
  <li class="intergeo_tlbr_ul_li_ul_li">
12
  <p class="intergeo_tlbr_grp_dsc">
13
  <?php
14
- printf( esc_html__( 'To make AdSense working on your maps, you have to setup your publisher ID. You can do it at the %1$ssettings page%2$s.', 'intergeo-maps' ), '<a href="' . admin_url( 'options-media.php' ) . '" target="_blank">', '</a>' )
15
  ?>
16
  </p>
17
  </li>
11
  <li class="intergeo_tlbr_ul_li_ul_li">
12
  <p class="intergeo_tlbr_grp_dsc">
13
  <?php
14
+ printf( esc_html__( 'To make AdSense working on your maps, you have to setup your publisher ID. You can do it at the %1$ssettings page%2$s.', 'intergeo-maps' ), '<a href="' . intergeo_settings_url() . '" target="_blank">', '</a>' )
15
  ?>
16
  </p>
17
  </li>
templates/iframe/form.php CHANGED
@@ -23,17 +23,29 @@
23
  <li class="intergeo_tlbr_ul_li">
24
  <?php include INTERGEO_ABSPATH . '/templates/iframe/styles.php'; ?>
25
  </li>
 
 
 
26
  <li class="intergeo_tlbr_ul_li">
27
  <?php include INTERGEO_ABSPATH . '/templates/iframe/directions.php'; ?>
28
  </li>
 
 
 
29
  <li class="intergeo_tlbr_ul_li">
30
  <?php include INTERGEO_ABSPATH . '/templates/iframe/layers.php'; ?>
31
  </li>
 
 
 
32
  <li class="intergeo_tlbr_ul_li">
33
  <?php include INTERGEO_ABSPATH . '/templates/iframe/adsense.php'; ?>
34
  </li>
35
  <?php
36
- include INTERGEO_ABSPATH . '/templates/iframe/extra.php';
 
 
 
37
  ?>
38
  </ul>
39
  </div>
23
  <li class="intergeo_tlbr_ul_li">
24
  <?php include INTERGEO_ABSPATH . '/templates/iframe/styles.php'; ?>
25
  </li>
26
+ <?php
27
+ if ( intergeo_is_personal() ) {
28
+ ?>
29
  <li class="intergeo_tlbr_ul_li">
30
  <?php include INTERGEO_ABSPATH . '/templates/iframe/directions.php'; ?>
31
  </li>
32
+ <?php
33
+ }
34
+ ?>
35
  <li class="intergeo_tlbr_ul_li">
36
  <?php include INTERGEO_ABSPATH . '/templates/iframe/layers.php'; ?>
37
  </li>
38
+ <?php
39
+ if ( intergeo_is_personal() ) {
40
+ ?>
41
  <li class="intergeo_tlbr_ul_li">
42
  <?php include INTERGEO_ABSPATH . '/templates/iframe/adsense.php'; ?>
43
  </li>
44
  <?php
45
+ }
46
+ if ( intergeo_is_personal() ) {
47
+ include INTERGEO_ABSPATH . '/templates/iframe/extra.php';
48
+ }
49
  ?>
50
  </ul>
51
  </div>
templates/iframe/overlays.php CHANGED
@@ -72,7 +72,10 @@ $markers ++;
72
 
73
  </li>
74
 
75
- <li class="intergeo_tlbr_ul_li_ul_li">
 
 
 
76
  <script id="intergeo_tlbr_polyline_tmpl" type="text/html">
77
  <table class="intergeo_tlbr_cntrl_tbl intergeo_tlbr_overlay intergeo_tlbr_polyline" border="0" cellspacing="0" cellpadding="0">
78
  <tr>
@@ -94,65 +97,92 @@ $markers ++;
94
  </table>
95
  </script>
96
  <span class="intergeo_tlbr_cntrl_ttl"><?php esc_html_e( 'Polylines', 'intergeo-maps' ); ?></span>
97
- <div id="intergeo_tlbr_polylines" class="intergeo_tlbr_cntrl_items">
98
- <?php
99
- if ( ! empty( $json['overlays']['polyline'] ) ) :
100
- $i = 0;
101
- foreach ( $json['overlays']['polyline'] as $overlay ) :
102
- $path = array();
103
- foreach ( $overlay['path'] as $point ) :
104
- $path[] = implode( ',', $point );
105
- endforeach;
106
- ?>
107
- <table class="intergeo_tlbr_cntrl_tbl intergeo_tlbr_overlay intergeo_tlbr_polyline" border="0" cellspacing="0" cellpadding="0">
108
- <tr>
109
- <td>
110
- #<?php echo $i + 1; ?> <?php esc_html_e( 'polyline', 'intergeo-maps' ); ?>
111
- </td>
112
- <td>
113
- <input type="hidden" class="intergeo_tlbr_polyline_path" name="overlays_polyline[<?php echo $i; ?>][path]" value="<?php echo implode( ';', $path ); ?>" data-position="<?php echo $i; ?>">
114
- <input type="hidden" class="intergeo_tlbr_polyline_weight" name="overlays_polyline[<?php echo $i; ?>][weight]" value="<?php echo esc_attr( $overlay['weight'] ); ?>">
115
- <input type="hidden" class="intergeo_tlbr_polyline_opacity" name="overlays_polyline[<?php echo $i; ?>][opacity]" value="<?php echo esc_attr( $overlay['opacity'] ); ?>">
116
- <input type="hidden" class="intergeo_tlbr_polyline_color" name="overlays_polyline[<?php echo $i++; ?>][color]" value="<?php echo esc_attr( $overlay['color'] ); ?>">
 
 
 
 
 
 
 
 
117
 
118
- <a class="intergeo_tlbr_actn_delete intergeo_tlbr_actn" href="javascript:;" title="<?php esc_attr_e( 'Delete polyline', 'intergeo-maps' ); ?>"></a>
119
- <a class="intergeo_tlbr_actn_edit intergeo_tlbr_actn" href="javascript:;" title="<?php esc_attr_e( 'Edit polyline', 'intergeo-maps' ); ?>"></a>
120
 
121
- <span class="intergeo_tlbr_clr_prvw" style="background-color:<?php echo esc_attr( $overlay['color'] ); ?>;opacity:<?php echo esc_attr( $overlay['opacity'] ); ?>"></span>
122
- </td>
123
- </tr>
124
- </table>
125
  <?php endforeach; ?>
126
  <?php endif; ?>
 
 
 
 
 
 
 
 
 
 
 
 
127
  </div>
128
  </li>
129
  <li class="intergeo_tlbr_ul_li_ul_li">
130
  <script id="intergeo_tlbr_rectangle_tmpl" type="text/html">
131
  <table class="intergeo_tlbr_cntrl_tbl intergeo_tlbr_overlay intergeo_tlbr_rectangle" border="0" cellspacing="0" cellpadding="0">
132
  <tr>
133
- <td>
134
- #%num% <?php esc_html_e( 'rectangle', 'intergeo-maps' ); ?>
135
- </td>
136
- <td>
137
- <input type="hidden" class="intergeo_tlbr_rectangle_path" name="overlays_rectangle[%pos%][path]" data-position="%pos%">
138
- <input type="hidden" class="intergeo_tlbr_rectangle_weight" name="overlays_rectangle[%pos%][weight]">
139
- <input type="hidden" class="intergeo_tlbr_rectangle_stroke_opacity" name="overlays_rectangle[%pos%][stroke_opacity]">
140
- <input type="hidden" class="intergeo_tlbr_rectangle_position" name="overlays_rectangle[%pos%][position]">
141
- <input type="hidden" class="intergeo_tlbr_rectangle_stroke_color" name="overlays_rectangle[%pos%][stroke_color]">
142
- <input type="hidden" class="intergeo_tlbr_rectangle_fill_opacity" name="overlays_rectangle[%pos%][fill_opacity]">
143
- <input type="hidden" class="intergeo_tlbr_rectangle_fill_color" name="overlays_rectangle[%pos%][fill_color]">
144
-
145
- <a class="intergeo_tlbr_actn_delete intergeo_tlbr_actn" href="javascript:;" title="<?php esc_attr_e( 'Delete rectangle', 'intergeo-maps' ); ?>"></a>
146
- <a class="intergeo_tlbr_actn_edit intergeo_tlbr_actn" href="javascript:;" title="<?php esc_attr_e( 'Edit rectangle', 'intergeo-maps' ); ?>"></a>
147
-
148
- <span class="intergeo_tlbr_clr_prvw" style="background-color:black;opacity:0.3;-ms-filter:'progid:DXImageTransform.Microsoft.Alpha(Opacity=30)';filter:alpha(opacity=30);"></span>
149
- <span class="intergeo_tlbr_clr_prvw" style="background-color:black;"></span>
150
- </td>
151
  </tr>
152
  </table>
153
  </script>
154
  <span class="intergeo_tlbr_cntrl_ttl"><?php esc_html_e( 'Rectangles', 'intergeo-maps' ); ?></span>
155
- <div id="intergeo_tlbr_rectangles" class="intergeo_tlbr_cntrl_items">
 
 
 
 
 
 
 
156
  <?php
157
  if ( ! empty( $json['overlays']['rectangle'] ) ) :
158
  $i = 0;
@@ -199,6 +229,18 @@ $markers ++;
199
  </table>
200
  <?php endforeach; ?>
201
  <?php endif; ?>
 
 
 
 
 
 
 
 
 
 
 
 
202
  </div>
203
  </li>
204
  <li class="intergeo_tlbr_ul_li_ul_li">
@@ -206,28 +248,35 @@ $markers ++;
206
  <table class="intergeo_tlbr_cntrl_tbl intergeo_tlbr_overlay intergeo_tlbr_circle" border="0" cellspacing="0" cellpadding="0">
207
  <tr>
208
  <td>
209
- #%num% <?php esc_html_e( 'circle', 'intergeo-maps' ); ?>
210
  </td>
211
  <td>
212
- <input type="hidden" class="intergeo_tlbr_circle_path" name="overlays_circle[%pos%][path]" data-position="%pos%">
213
- <input type="hidden" class="intergeo_tlbr_circle_weight" name="overlays_circle[%pos%][weight]">
214
- <input type="hidden" class="intergeo_tlbr_circle_stroke_opacity" name="overlays_circle[%pos%][stroke_opacity]">
215
- <input type="hidden" class="intergeo_tlbr_circle_position" name="overlays_circle[%pos%][position]">
216
- <input type="hidden" class="intergeo_tlbr_circle_stroke_color" name="overlays_circle[%pos%][stroke_color]">
217
- <input type="hidden" class="intergeo_tlbr_circle_fill_opacity" name="overlays_circle[%pos%][fill_opacity]">
218
- <input type="hidden" class="intergeo_tlbr_circle_fill_color" name="overlays_circle[%pos%][fill_color]">
219
-
220
- <a class="intergeo_tlbr_actn_delete intergeo_tlbr_actn" href="javascript:;" title="<?php esc_attr_e( 'Delete rectangle', 'intergeo-maps' ); ?>"></a>
221
- <a class="intergeo_tlbr_actn_edit intergeo_tlbr_actn" href="javascript:;" title="<?php esc_attr_e( 'Edit rectangle', 'intergeo-maps' ); ?>"></a>
222
-
223
- <span class="intergeo_tlbr_clr_prvw" style="background-color:black;opacity:0.3;-ms-filter:'progid:DXImageTransform.Microsoft.Alpha(Opacity=30)';filter:alpha(opacity=30);"></span>
224
- <span class="intergeo_tlbr_clr_prvw" style="background-color:black;"></span>
225
  </td>
226
  </tr>
227
  </table>
228
  </script>
229
  <span class="intergeo_tlbr_cntrl_ttl"><?php esc_html_e( 'Circles', 'intergeo-maps' ); ?></span>
230
- <div id="intergeo_tlbr_circles" class="intergeo_tlbr_cntrl_items">
 
 
 
 
 
 
 
231
  <?php
232
  if ( ! empty( $json['overlays']['circle'] ) ) :
233
  $i = 0;
@@ -274,6 +323,18 @@ $markers ++;
274
  </table>
275
  <?php endforeach; ?>
276
  <?php endif; ?>
 
 
 
 
 
 
 
 
 
 
 
 
277
  </div>
278
  </li>
279
  <li class="intergeo_tlbr_ul_li_ul_li">
@@ -281,28 +342,35 @@ $markers ++;
281
  <table class="intergeo_tlbr_cntrl_tbl intergeo_tlbr_overlay intergeo_tlbr_polygon" border="0" cellspacing="0" cellpadding="0">
282
  <tr>
283
  <td>
284
- #%num% <?php esc_html_e( 'polygon', 'intergeo-maps' ); ?>
285
  </td>
286
  <td>
287
- <input type="hidden" class="intergeo_tlbr_polygon_path" name="overlays_polygon[%pos%][path]" data-position="%pos%">
288
- <input type="hidden" class="intergeo_tlbr_polygon_weight" name="overlays_polygon[%pos%][weight]">
289
- <input type="hidden" class="intergeo_tlbr_polygon_stroke_opacity" name="overlays_polygon[%pos%][stroke_opacity]">
290
- <input type="hidden" class="intergeo_tlbr_polygon_position" name="overlays_polygon[%pos%][position]">
291
- <input type="hidden" class="intergeo_tlbr_polygon_stroke_color" name="overlays_polygon[%pos%][stroke_color]">
292
- <input type="hidden" class="intergeo_tlbr_polygon_fill_opacity" name="overlays_polygon[%pos%][fill_opacity]">
293
- <input type="hidden" class="intergeo_tlbr_polygon_fill_color" name="overlays_polygon[%pos%][fill_color]">
294
-
295
- <a class="intergeo_tlbr_actn_delete intergeo_tlbr_actn" href="javascript:;" title="<?php esc_attr_e( 'Delete polygon', 'intergeo-maps' ); ?>"></a>
296
- <a class="intergeo_tlbr_actn_edit intergeo_tlbr_actn" href="javascript:;" title="<?php esc_attr_e( 'Edit polygon', 'intergeo-maps' ); ?>"></a>
297
-
298
- <span class="intergeo_tlbr_clr_prvw" style="background-color:black;opacity:0.3;-ms-filter:'progid:DXImageTransform.Microsoft.Alpha(Opacity=30)';filter:alpha(opacity=30);"></span>
299
- <span class="intergeo_tlbr_clr_prvw" style="background-color:black;"></span>
300
  </td>
301
  </tr>
302
  </table>
303
  </script>
304
  <span class="intergeo_tlbr_cntrl_ttl"><?php esc_html_e( 'Polygons', 'intergeo-maps' ); ?></span>
305
- <div id="intergeo_tlbr_polygons" class="intergeo_tlbr_cntrl_items">
 
 
 
 
 
 
 
306
  <?php
307
  if ( ! empty( $json['overlays']['polygon'] ) ) :
308
  $i = 0;
@@ -349,6 +417,21 @@ $markers ++;
349
  </table>
350
  <?php endforeach; ?>
351
  <?php endif; ?>
 
 
 
 
 
 
 
 
 
 
 
 
352
  </div>
353
  </li>
 
 
 
354
  </ul>
72
 
73
  </li>
74
 
75
+ <?php
76
+ if ( intergeo_is_personal() ) {
77
+ ?>
78
+ <li class="intergeo_tlbr_ul_li_ul_li">
79
  <script id="intergeo_tlbr_polyline_tmpl" type="text/html">
80
  <table class="intergeo_tlbr_cntrl_tbl intergeo_tlbr_overlay intergeo_tlbr_polyline" border="0" cellspacing="0" cellpadding="0">
81
  <tr>
97
  </table>
98
  </script>
99
  <span class="intergeo_tlbr_cntrl_ttl"><?php esc_html_e( 'Polylines', 'intergeo-maps' ); ?></span>
100
+ <div class="intergeo_tlbr_cntrl_items" style="display:block">
101
+ <div class="intergeo_tlbr_cntrl_item">
102
+ <a class="intergeo_tlbr_cntrl_more_info" href="javascript:;">[?]</a>
103
+ </div>
104
+ <p class="intergeo_tlbr_cntrl_dsc">
105
+ <?php esc_html_e( 'Click on button and then on the map to start drawing.', 'intergeo-maps' ); ?>
106
+ </p>
107
+
108
+ <div id="intergeo_tlbr_polylines">
109
+ <?php
110
+ if ( ! empty( $json['overlays']['polyline'] ) ) :
111
+ $i = 0;
112
+ foreach ( $json['overlays']['polyline'] as $overlay ) :
113
+ $path = array();
114
+ foreach ( $overlay['path'] as $point ) :
115
+ $path[] = implode( ',', $point );
116
+ endforeach;
117
+ ?>
118
+ <table class="intergeo_tlbr_cntrl_tbl intergeo_tlbr_overlay intergeo_tlbr_polyline" border="0" cellspacing="0" cellpadding="0">
119
+ <tr>
120
+ <td>
121
+ #<?php echo $i + 1; ?> <?php esc_html_e( 'polyline', 'intergeo-maps' ); ?>
122
+ </td>
123
+ <td>
124
+ <input type="hidden" class="intergeo_tlbr_polyline_path" name="overlays_polyline[<?php echo $i; ?>][path]" value="<?php echo implode( ';', $path ); ?>" data-position="<?php echo $i; ?>">
125
+ <input type="hidden" class="intergeo_tlbr_polyline_weight" name="overlays_polyline[<?php echo $i; ?>][weight]" value="<?php echo esc_attr( $overlay['weight'] ); ?>">
126
+ <input type="hidden" class="intergeo_tlbr_polyline_opacity" name="overlays_polyline[<?php echo $i; ?>][opacity]" value="<?php echo esc_attr( $overlay['opacity'] ); ?>">
127
+ <input type="hidden" class="intergeo_tlbr_polyline_color" name="overlays_polyline[<?php echo $i++; ?>][color]" value="<?php echo esc_attr( $overlay['color'] ); ?>">
128
 
129
+ <a class="intergeo_tlbr_actn_delete intergeo_tlbr_actn" href="javascript:;" title="<?php esc_attr_e( 'Delete polyline', 'intergeo-maps' ); ?>"></a>
130
+ <a class="intergeo_tlbr_actn_edit intergeo_tlbr_actn" href="javascript:;" title="<?php esc_attr_e( 'Edit polyline', 'intergeo-maps' ); ?>"></a>
131
 
132
+ <span class="intergeo_tlbr_clr_prvw" style="background-color:<?php echo esc_attr( $overlay['color'] ); ?>;opacity:<?php echo esc_attr( $overlay['opacity'] ); ?>"></span>
133
+ </td>
134
+ </tr>
135
+ </table>
136
  <?php endforeach; ?>
137
  <?php endif; ?>
138
+ </div>
139
+
140
+
141
+ <table class="intergeo_tlbr_cntrl_tbl intergeo_tlbr_marker_add" border="0" cellspacing="0" cellpadding="0">
142
+ <tr>
143
+ <td class="intergeo_tlbr_polyline_title_td_add">
144
+
145
+ <input type="button" id="intergeo_add_polyline_bttn" class="intergeo_add_drawing_tool_bttn button button-secondary button-small" data-drawing-type="polyline" value="<?php esc_html_e( 'Add Polyline', 'intergeo-maps' ); ?>">
146
+
147
+ </td>
148
+ </tr>
149
+ </table>
150
  </div>
151
  </li>
152
  <li class="intergeo_tlbr_ul_li_ul_li">
153
  <script id="intergeo_tlbr_rectangle_tmpl" type="text/html">
154
  <table class="intergeo_tlbr_cntrl_tbl intergeo_tlbr_overlay intergeo_tlbr_rectangle" border="0" cellspacing="0" cellpadding="0">
155
  <tr>
156
+ <td>
157
+ #%num% <?php esc_html_e( 'rectangle', 'intergeo-maps' ); ?>
158
+ </td>
159
+ <td>
160
+ <input type="hidden" class="intergeo_tlbr_rectangle_path" name="overlays_rectangle[%pos%][path]" data-position="%pos%">
161
+ <input type="hidden" class="intergeo_tlbr_rectangle_weight" name="overlays_rectangle[%pos%][weight]">
162
+ <input type="hidden" class="intergeo_tlbr_rectangle_stroke_opacity" name="overlays_rectangle[%pos%][stroke_opacity]">
163
+ <input type="hidden" class="intergeo_tlbr_rectangle_position" name="overlays_rectangle[%pos%][position]">
164
+ <input type="hidden" class="intergeo_tlbr_rectangle_stroke_color" name="overlays_rectangle[%pos%][stroke_color]">
165
+ <input type="hidden" class="intergeo_tlbr_rectangle_fill_opacity" name="overlays_rectangle[%pos%][fill_opacity]">
166
+ <input type="hidden" class="intergeo_tlbr_rectangle_fill_color" name="overlays_rectangle[%pos%][fill_color]">
167
+
168
+ <a class="intergeo_tlbr_actn_delete intergeo_tlbr_actn" href="javascript:;" title="<?php esc_attr_e( 'Delete rectangle', 'intergeo-maps' ); ?>"></a>
169
+ <a class="intergeo_tlbr_actn_edit intergeo_tlbr_actn" href="javascript:;" title="<?php esc_attr_e( 'Edit rectangle', 'intergeo-maps' ); ?>"></a>
170
+
171
+ <span class="intergeo_tlbr_clr_prvw" style="background-color:black;opacity:0.3;-ms-filter:'progid:DXImageTransform.Microsoft.Alpha(Opacity=30)';filter:alpha(opacity=30);"></span>
172
+ <span class="intergeo_tlbr_clr_prvw" style="background-color:black;"></span>
173
+ </td>
174
  </tr>
175
  </table>
176
  </script>
177
  <span class="intergeo_tlbr_cntrl_ttl"><?php esc_html_e( 'Rectangles', 'intergeo-maps' ); ?></span>
178
+ <div class="intergeo_tlbr_cntrl_items" style="display:block">
179
+ <div class="intergeo_tlbr_cntrl_item">
180
+ <a class="intergeo_tlbr_cntrl_more_info" href="javascript:;">[?]</a>
181
+ </div>
182
+ <p class="intergeo_tlbr_cntrl_dsc">
183
+ <?php esc_html_e( 'Click on button and then on the map to start drawing.', 'intergeo-maps' ); ?>
184
+ </p>
185
+ <div id="intergeo_tlbr_rectangles">
186
  <?php
187
  if ( ! empty( $json['overlays']['rectangle'] ) ) :
188
  $i = 0;
229
  </table>
230
  <?php endforeach; ?>
231
  <?php endif; ?>
232
+
233
+ <table class="intergeo_tlbr_cntrl_tbl intergeo_tlbr_marker_add" border="0" cellspacing="0" cellpadding="0">
234
+ <tr>
235
+ <td class="intergeo_tlbr_rectangle_title_td_add">
236
+
237
+ <input type="button" id="intergeo_add_rectangle_bttn" class="intergeo_add_drawing_tool_bttn button button-secondary button-small" data-drawing-type="rectangle" value="<?php esc_html_e( 'Add Rectangle', 'intergeo-maps' ); ?>">
238
+
239
+ </td>
240
+ </tr>
241
+ </table>
242
+ </div>
243
+
244
  </div>
245
  </li>
246
  <li class="intergeo_tlbr_ul_li_ul_li">
248
  <table class="intergeo_tlbr_cntrl_tbl intergeo_tlbr_overlay intergeo_tlbr_circle" border="0" cellspacing="0" cellpadding="0">
249
  <tr>
250
  <td>
251
+ #%num% <?php esc_html_e( 'circle', 'intergeo-maps' ); ?>
252
  </td>
253
  <td>
254
+ <input type="hidden" class="intergeo_tlbr_circle_path" name="overlays_circle[%pos%][path]" data-position="%pos%">
255
+ <input type="hidden" class="intergeo_tlbr_circle_weight" name="overlays_circle[%pos%][weight]">
256
+ <input type="hidden" class="intergeo_tlbr_circle_stroke_opacity" name="overlays_circle[%pos%][stroke_opacity]">
257
+ <input type="hidden" class="intergeo_tlbr_circle_position" name="overlays_circle[%pos%][position]">
258
+ <input type="hidden" class="intergeo_tlbr_circle_stroke_color" name="overlays_circle[%pos%][stroke_color]">
259
+ <input type="hidden" class="intergeo_tlbr_circle_fill_opacity" name="overlays_circle[%pos%][fill_opacity]">
260
+ <input type="hidden" class="intergeo_tlbr_circle_fill_color" name="overlays_circle[%pos%][fill_color]">
261
+
262
+ <a class="intergeo_tlbr_actn_delete intergeo_tlbr_actn" href="javascript:;" title="<?php esc_attr_e( 'Delete rectangle', 'intergeo-maps' ); ?>"></a>
263
+ <a class="intergeo_tlbr_actn_edit intergeo_tlbr_actn" href="javascript:;" title="<?php esc_attr_e( 'Edit rectangle', 'intergeo-maps' ); ?>"></a>
264
+
265
+ <span class="intergeo_tlbr_clr_prvw" style="background-color:black;opacity:0.3;-ms-filter:'progid:DXImageTransform.Microsoft.Alpha(Opacity=30)';filter:alpha(opacity=30);"></span>
266
+ <span class="intergeo_tlbr_clr_prvw" style="background-color:black;"></span>
267
  </td>
268
  </tr>
269
  </table>
270
  </script>
271
  <span class="intergeo_tlbr_cntrl_ttl"><?php esc_html_e( 'Circles', 'intergeo-maps' ); ?></span>
272
+ <div class="intergeo_tlbr_cntrl_items" style="display:block">
273
+ <div class="intergeo_tlbr_cntrl_item">
274
+ <a class="intergeo_tlbr_cntrl_more_info" href="javascript:;">[?]</a>
275
+ </div>
276
+ <p class="intergeo_tlbr_cntrl_dsc">
277
+ <?php esc_html_e( 'Click on button and then on the map to start drawing.', 'intergeo-maps' ); ?>
278
+ </p>
279
+ <div id="intergeo_tlbr_circles">
280
  <?php
281
  if ( ! empty( $json['overlays']['circle'] ) ) :
282
  $i = 0;
323
  </table>
324
  <?php endforeach; ?>
325
  <?php endif; ?>
326
+
327
+ <table class="intergeo_tlbr_cntrl_tbl intergeo_tlbr_marker_add" border="0" cellspacing="0" cellpadding="0">
328
+ <tr>
329
+ <td class="intergeo_tlbr_circle_title_td_add">
330
+
331
+ <input type="button" id="intergeo_add_circle_bttn" class="intergeo_add_drawing_tool_bttn button button-secondary button-small" data-drawing-type="circle" value="<?php esc_html_e( 'Add Circle', 'intergeo-maps' ); ?>">
332
+
333
+ </td>
334
+ </tr>
335
+ </table>
336
+ </div>
337
+
338
  </div>
339
  </li>
340
  <li class="intergeo_tlbr_ul_li_ul_li">
342
  <table class="intergeo_tlbr_cntrl_tbl intergeo_tlbr_overlay intergeo_tlbr_polygon" border="0" cellspacing="0" cellpadding="0">
343
  <tr>
344
  <td>
345
+ #%num% <?php esc_html_e( 'polygon', 'intergeo-maps' ); ?>
346
  </td>
347
  <td>
348
+ <input type="hidden" class="intergeo_tlbr_polygon_path" name="overlays_polygon[%pos%][path]" data-position="%pos%">
349
+ <input type="hidden" class="intergeo_tlbr_polygon_weight" name="overlays_polygon[%pos%][weight]">
350
+ <input type="hidden" class="intergeo_tlbr_polygon_stroke_opacity" name="overlays_polygon[%pos%][stroke_opacity]">
351
+ <input type="hidden" class="intergeo_tlbr_polygon_position" name="overlays_polygon[%pos%][position]">
352
+ <input type="hidden" class="intergeo_tlbr_polygon_stroke_color" name="overlays_polygon[%pos%][stroke_color]">
353
+ <input type="hidden" class="intergeo_tlbr_polygon_fill_opacity" name="overlays_polygon[%pos%][fill_opacity]">
354
+ <input type="hidden" class="intergeo_tlbr_polygon_fill_color" name="overlays_polygon[%pos%][fill_color]">
355
+
356
+ <a class="intergeo_tlbr_actn_delete intergeo_tlbr_actn" href="javascript:;" title="<?php esc_attr_e( 'Delete polygon', 'intergeo-maps' ); ?>"></a>
357
+ <a class="intergeo_tlbr_actn_edit intergeo_tlbr_actn" href="javascript:;" title="<?php esc_attr_e( 'Edit polygon', 'intergeo-maps' ); ?>"></a>
358
+
359
+ <span class="intergeo_tlbr_clr_prvw" style="background-color:black;opacity:0.3;-ms-filter:'progid:DXImageTransform.Microsoft.Alpha(Opacity=30)';filter:alpha(opacity=30);"></span>
360
+ <span class="intergeo_tlbr_clr_prvw" style="background-color:black;"></span>
361
  </td>
362
  </tr>
363
  </table>
364
  </script>
365
  <span class="intergeo_tlbr_cntrl_ttl"><?php esc_html_e( 'Polygons', 'intergeo-maps' ); ?></span>
366
+ <div class="intergeo_tlbr_cntrl_items" style="display:block">
367
+ <div class="intergeo_tlbr_cntrl_item">
368
+ <a class="intergeo_tlbr_cntrl_more_info" href="javascript:;">[?]</a>
369
+ </div>
370
+ <p class="intergeo_tlbr_cntrl_dsc">
371
+ <?php esc_html_e( 'Click on button and then on the map to start drawing.', 'intergeo-maps' ); ?>
372
+ </p>
373
+ <div id="intergeo_tlbr_polygons">
374
  <?php
375
  if ( ! empty( $json['overlays']['polygon'] ) ) :
376
  $i = 0;
417
  </table>
418
  <?php endforeach; ?>
419
  <?php endif; ?>
420
+
421
+ <table class="intergeo_tlbr_cntrl_tbl intergeo_tlbr_marker_add" border="0" cellspacing="0" cellpadding="0">
422
+ <tr>
423
+ <td class="intergeo_tlbr_polygon_title_td_add">
424
+
425
+ <input type="button" id="intergeo_add_polygon_bttn" class="intergeo_add_drawing_tool_bttn button button-secondary button-small" data-drawing-type="polygon" value="<?php esc_html_e( 'Add Polygon', 'intergeo-maps' ); ?>">
426
+
427
+ </td>
428
+ </tr>
429
+ </table>
430
+ </div>
431
+
432
  </div>
433
  </li>
434
+ <?php
435
+ }
436
+ ?>
437
  </ul>
templates/iframe/popups.php CHANGED
@@ -44,8 +44,11 @@
44
  <tr>
45
  <td>
46
  <select name="intergeo_tlbr_marker_icon_select" id="intergeo_tlbr_marker_icon_select" class="intergeo_tlbr_marker_icon_select intergeo_tlbr_cntrl_txt">
47
- <option value="//maps.google.com/mapfiles/ms/icons/red-dot.png" data-imagesrc="//maps.google.com/mapfiles/ms/icons/red-dot.png"><?php _e( 'Default', 'intergeo-maps' ); ?></option>
48
- <option value="//maps.google.com/mapfiles/ms/icons/blue-dot.png" data-imagesrc="//maps.google.com/mapfiles/ms/icons/blue-dot.png"><?php _e( 'Blue', 'intergeo-maps' ); ?></option>
 
 
 
49
  <?php
50
  if ( intergeo_is_personal() ) :
51
  ?>
@@ -56,7 +59,7 @@
56
  class="intergeo_tlbr_marker_icon intergeo_tlbr_cntrl_txt"
57
  placeholder="<?php esc_attr_e( 'Enter icon URL', 'intergeo-maps' ); ?>"
58
  title="<?php esc_attr_e( 'Enter icon URL', 'intergeo-maps' ); ?>"
59
- value="//maps.google.com/mapfiles/ms/icons/red-dot.png"
60
  >
61
  </td>
62
  </tr>
@@ -197,7 +200,7 @@
197
  <tr>
198
  <td>
199
  <input type="text"
200
- id="intergeo_ppp_drctn_from" class="intergeo_tlbr_cntrl_txt"
201
  title="<?php esc_attr_e( 'The start location from which to calculate directions', 'intergeo-maps' ); ?>"
202
  placeholder="<?php esc_attr_e( 'The start location from which to calculate directions', 'intergeo-maps' ); ?>">
203
  </td>
@@ -205,7 +208,7 @@
205
  <tr>
206
  <td>
207
  <input type="text"
208
- id="intergeo_ppp_drctn_to" class="intergeo_tlbr_cntrl_txt"
209
  title="<?php esc_attr_e( 'The end location to which to calculate directions', 'intergeo-maps' ); ?>"
210
  placeholder="<?php esc_attr_e( 'The end location to which to calculate directions', 'intergeo-maps' ); ?>">
211
  </td>
44
  <tr>
45
  <td>
46
  <select name="intergeo_tlbr_marker_icon_select" id="intergeo_tlbr_marker_icon_select" class="intergeo_tlbr_marker_icon_select intergeo_tlbr_cntrl_txt">
47
+ <option value="https://maps.google.com/mapfiles/ms/icons/red-dot.png" data-imagesrc="https://maps.google.com/mapfiles/ms/icons/red-dot.png"><?php _e( 'Default', 'intergeo-maps' ); ?></option>
48
+ <option value="https://maps.google.com/mapfiles/ms/icons/blue-dot.png" data-imagesrc="https://maps.google.com/mapfiles/ms/icons/blue-dot.png"><?php _e( 'Blue', 'intergeo-maps' ); ?></option>
49
+ <option value="https://maps.google.com/mapfiles/ms/icons/yellow-dot.png" data-imagesrc="https://maps.google.com/mapfiles/ms/icons/yellow-dot.png"><?php _e( 'Yellow', 'intergeo-maps' ); ?></option>
50
+ <option value="https://maps.google.com/mapfiles/ms/icons/green-dot.png" data-imagesrc="https://maps.google.com/mapfiles/ms/icons/green-dot.png"><?php _e( 'Green', 'intergeo-maps' ); ?></option>
51
+ <option value="https://maps.google.com/mapfiles/ms/icons/orange-dot.png" data-imagesrc="https://maps.google.com/mapfiles/ms/icons/orange-dot.png"><?php _e( 'Orange', 'intergeo-maps' ); ?></option>
52
  <?php
53
  if ( intergeo_is_personal() ) :
54
  ?>
59
  class="intergeo_tlbr_marker_icon intergeo_tlbr_cntrl_txt"
60
  placeholder="<?php esc_attr_e( 'Enter icon URL', 'intergeo-maps' ); ?>"
61
  title="<?php esc_attr_e( 'Enter icon URL', 'intergeo-maps' ); ?>"
62
+ value="https://maps.google.com/mapfiles/ms/icons/red-dot.png"
63
  >
64
  </td>
65
  </tr>
200
  <tr>
201
  <td>
202
  <input type="text"
203
+ id="intergeo_ppp_drctn_from" class="intergeo_tlbr_marker_address intergeo_tlbr_cntrl_txt"
204
  title="<?php esc_attr_e( 'The start location from which to calculate directions', 'intergeo-maps' ); ?>"
205
  placeholder="<?php esc_attr_e( 'The start location from which to calculate directions', 'intergeo-maps' ); ?>">
206
  </td>
208
  <tr>
209
  <td>
210
  <input type="text"
211
+ id="intergeo_ppp_drctn_to" class="intergeo_tlbr_marker_address intergeo_tlbr_cntrl_txt"
212
  title="<?php esc_attr_e( 'The end location to which to calculate directions', 'intergeo-maps' ); ?>"
213
  placeholder="<?php esc_attr_e( 'The end location to which to calculate directions', 'intergeo-maps' ); ?>">
214
  </td>
templates/iframe/styles.php CHANGED
@@ -78,7 +78,7 @@
78
  </textarea>
79
  </div>
80
  <p class="intergeo_tlbr_cntrl_dsc">
81
- <?php printf( esc_html__( 'Creating styles by hand and testing your code to see how they look is potentially time-consuming. Instead, you can use the %1$s Styled Map Wizard %2$s to set up the JSON for your maps styles.', 'intergeo-maps' ), '<a href="http://gmaps-samples-v3.googlecode.com/svn/trunk/styledmaps/wizard/index.html" target="_blank">', '</a>' ); ?>
82
  </p>
83
  </div>
84
  </li>
78
  </textarea>
79
  </div>
80
  <p class="intergeo_tlbr_cntrl_dsc">
81
+ <?php printf( esc_html__( 'Creating styles by hand and testing your code to see how they look is potentially time-consuming. Instead, you can use the %1$s Styled Map Wizard %2$s to set up the JSON for your maps styles.', 'intergeo-maps' ), '<a href="https://mapstyle.withgoogle.com" target="_blank">', '</a>' ); ?>
82
  </p>
83
  </div>
84
  </li>
themeisle-hash.json CHANGED
@@ -1 +1 @@
1
- {"index.php":"e04b9c2ece43a6786457cac27da91f89"}
1
+ {"index.php":"67cf27efd3519a39ff86c91c88cf2c40"}
vendor/autoload.php CHANGED
@@ -4,4 +4,4 @@
4
 
5
  require_once __DIR__ . '/composer' . '/autoload_real.php';
6
 
7
- return ComposerAutoloaderInit3c8b4624d96fe81c126450cc8e1ea59d::getLoader();
4
 
5
  require_once __DIR__ . '/composer' . '/autoload_real.php';
6
 
7
+ return ComposerAutoloaderInit0df49950d5c45f5a33cc99a042d21267::getLoader();
vendor/codeinwp/themeisle-sdk/class-themeisle-sdk-feedback-deactivate.php CHANGED
@@ -515,12 +515,12 @@ if ( ! class_exists( 'ThemeIsle_SDK_Feedback_Deactivate' ) ) :
515
  return '<div id="' . $this->product->get_key() . '">'
516
  . '<ul class="ti-list">' . $list . '</ul>'
517
  . '<div class="actions">'
518
- . get_submit_button(
519
- $button_submit, 'secondary', $this->product->get_key() . 'ti-deactivate-yes', false, array(
520
- 'data-after-text' => $button_submit,
521
- 'disabled' => true,
522
- )
523
- )
524
  . get_submit_button( $button_cancel, 'primary', $this->product->get_key() . 'ti-deactivate-no', false )
525
  . '</div></div>';
526
  }
515
  return '<div id="' . $this->product->get_key() . '">'
516
  . '<ul class="ti-list">' . $list . '</ul>'
517
  . '<div class="actions">'
518
+ . get_submit_button(
519
+ $button_submit, 'secondary', $this->product->get_key() . 'ti-deactivate-yes', false, array(
520
+ 'data-after-text' => $button_submit,
521
+ 'disabled' => true,
522
+ )
523
+ )
524
  . get_submit_button( $button_cancel, 'primary', $this->product->get_key() . 'ti-deactivate-no', false )
525
  . '</div></div>';
526
  }
vendor/codeinwp/themeisle-sdk/class-themeisle-sdk-licenser.php CHANGED
@@ -49,7 +49,8 @@ if ( ! class_exists( 'ThemeIsle_SDK_Licenser' ) ) :
49
  * @param ThemeIsle_SDK_Product $product The product object.
50
  */
51
  public function __construct( $product ) {
52
- $this->product = $product;
 
53
  $this->product_key = $this->product->get_key() . '-update-response';
54
  if ( ! $this->product->requires_license() ) {
55
  $this->license_key = 'free';
@@ -517,6 +518,39 @@ if ( ! class_exists( 'ThemeIsle_SDK_Licenser' ) ) :
517
  delete_transient( $this->product_key );
518
  }
519
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
520
  /**
521
  * Check for updates
522
  *
@@ -525,49 +559,29 @@ if ( ! class_exists( 'ThemeIsle_SDK_Licenser' ) ) :
525
  function check_for_update() {
526
  $theme = wp_get_theme( $this->product->get_slug() );
527
  $update_data = get_transient( $this->product_key );
 
528
  if ( false === $update_data ) {
529
  $failed = false;
530
- if ( empty( $this->license_key ) ) {
531
- return false;
532
- }
533
- $api_params = array(
534
- 'edd_action' => 'get_version',
535
- 'version' => $this->product->get_version(),
536
- 'license' => $this->license_key,
537
- 'name' => $this->product->get_name(),
538
- 'slug' => $this->product->get_slug(),
539
- 'author' => $this->product->get_store_name(),
540
- 'url' => rawurlencode( home_url() ),
541
- );
542
- $response = wp_remote_post(
543
- $this->product->get_store_url(), array(
544
- 'timeout' => 15,
545
- 'sslverify' => false,
546
- 'body' => $api_params,
547
- )
548
- );
549
- // make sure the response was successful
550
- if ( is_wp_error( $response ) || 200 != wp_remote_retrieve_response_code( $response ) ) {
551
- $failed = true;
552
- }
553
- $update_data = json_decode( wp_remote_retrieve_body( $response ) );
554
- if ( ! is_object( $update_data ) ) {
555
  $failed = true;
556
  }
557
- // if the response failed, try again in 30 minutes
558
  if ( $failed ) {
559
  $data = new stdClass;
560
  $data->new_version = $this->product->get_version();
561
  set_transient( $this->product_key, $data, strtotime( '+30 minutes' ) );
562
 
563
  return false;
564
- }
565
- // if the status is 'ok', return the update arguments
566
- if ( ! $failed ) {
567
  $update_data->sections = maybe_unserialize( $update_data->sections );
568
  set_transient( $this->product_key, $update_data, strtotime( '+12 hours' ) );
569
  }
570
  }
 
 
 
571
  if ( version_compare( $this->product->get_version(), $update_data->new_version, '>=' ) ) {
572
  return false;
573
  }
@@ -618,34 +632,14 @@ if ( ! class_exists( 'ThemeIsle_SDK_Licenser' ) ) :
618
  * @return false||object
619
  */
620
  private function api_request( $_action = '', $_data = '' ) {
621
- if ( empty( $this->license_key ) ) {
622
- return;
623
- }
624
- $api_params = array(
625
- 'edd_action' => 'get_version',
626
- 'license' => $this->license_key,
627
- 'name' => rawurlencode( $this->product->get_name() ),
628
- 'slug' => rawurlencode( $this->product->get_slug() ),
629
- 'author' => $this->product->get_store_name(),
630
- 'url' => rawurlencode( home_url() ),
631
- );
632
- $request = wp_remote_post(
633
- $this->product->get_store_url(), array(
634
- 'timeout' => 15,
635
- 'sslverify' => false,
636
- 'body' => $api_params,
637
- )
638
- );
639
- if ( ! is_wp_error( $request ) ) :
640
- $request = json_decode( wp_remote_retrieve_body( $request ) );
641
- if ( $request && isset( $request->sections ) ) {
642
- $request->sections = maybe_unserialize( $request->sections );
643
- }
644
-
645
- return $request;
646
- else :
647
  return false;
648
- endif;
 
 
 
 
649
  }
650
 
651
  /**
49
  * @param ThemeIsle_SDK_Product $product The product object.
50
  */
51
  public function __construct( $product ) {
52
+ $this->product = $product;
53
+
54
  $this->product_key = $this->product->get_key() . '-update-response';
55
  if ( ! $this->product->requires_license() ) {
56
  $this->license_key = 'free';
518
  delete_transient( $this->product_key );
519
  }
520
 
521
+ /**
522
+ * Check remote api for latest version.
523
+ *
524
+ * @return bool|mixed Update api response.
525
+ */
526
+ private function get_version_data() {
527
+ $api_params = array(
528
+ 'edd_action' => 'get_version',
529
+ 'version' => $this->product->get_version(),
530
+ 'license' => $this->license_key,
531
+ 'name' => $this->product->get_name(),
532
+ 'slug' => $this->product->get_slug(),
533
+ 'author' => $this->product->get_store_name(),
534
+ 'url' => rawurlencode( home_url() ),
535
+ );
536
+ $response = wp_remote_post(
537
+ $this->product->get_store_url(), array(
538
+ 'timeout' => 15,
539
+ 'sslverify' => false,
540
+ 'body' => $api_params,
541
+ )
542
+ );
543
+ if ( is_wp_error( $response ) || 200 != wp_remote_retrieve_response_code( $response ) ) {
544
+ return false;
545
+ }
546
+ $update_data = json_decode( wp_remote_retrieve_body( $response ) );
547
+ if ( ! is_object( $update_data ) ) {
548
+ return false;
549
+ }
550
+
551
+ return $update_data;
552
+ }
553
+
554
  /**
555
  * Check for updates
556
  *
559
  function check_for_update() {
560
  $theme = wp_get_theme( $this->product->get_slug() );
561
  $update_data = get_transient( $this->product_key );
562
+
563
  if ( false === $update_data ) {
564
  $failed = false;
565
+
566
+ $update_data = $this->get_version_data();
567
+ if ( empty( $update_data ) ) {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
568
  $failed = true;
569
  }
570
+ // If the response failed, try again in 30 minutes.
571
  if ( $failed ) {
572
  $data = new stdClass;
573
  $data->new_version = $this->product->get_version();
574
  set_transient( $this->product_key, $data, strtotime( '+30 minutes' ) );
575
 
576
  return false;
577
+ } else {
 
 
578
  $update_data->sections = maybe_unserialize( $update_data->sections );
579
  set_transient( $this->product_key, $update_data, strtotime( '+12 hours' ) );
580
  }
581
  }
582
+ if ( ! isset( $update_data->new_version ) ) {
583
+ return false;
584
+ }
585
  if ( version_compare( $this->product->get_version(), $update_data->new_version, '>=' ) ) {
586
  return false;
587
  }
632
  * @return false||object
633
  */
634
  private function api_request( $_action = '', $_data = '' ) {
635
+ $update_data = $this->get_version_data();
636
+ if ( empty( $update_data ) ) {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
637
  return false;
638
+ }
639
+ if ( $update_data && isset( $update_data->sections ) ) {
640
+ $update_data->sections = maybe_unserialize( $update_data->sections );
641
+ }
642
+ return $update_data;
643
  }
644
 
645
  /**
vendor/codeinwp/themeisle-sdk/class-themeisle-sdk-logger.php CHANGED
@@ -170,16 +170,16 @@ if ( ! class_exists( 'ThemeIsle_SDK_Logger' ) ) :
170
  return '<div >'
171
  . '<p>' . $heading . '</p>'
172
  . '<div class="actions">'
173
- . get_submit_button(
174
- $button_submit, 'primary ' . $this->product->get_key() . '-ti-logger', $this->product->get_key() . 'ti-logger-yes', false, array(
175
- 'data-ti-log-enable' => 1,
176
- )
177
- )
178
- . get_submit_button(
179
- $button_cancel, 'secondary ' . $this->product->get_key() . '-ti-logger', $this->product->get_key() . 'ti-logger-no', false, array(
180
- 'data-ti-log-enable' => 0,
181
- )
182
- )
183
  . '</div></div>';
184
  }
185
 
170
  return '<div >'
171
  . '<p>' . $heading . '</p>'
172
  . '<div class="actions">'
173
+ . get_submit_button(
174
+ $button_submit, 'primary ' . $this->product->get_key() . '-ti-logger', $this->product->get_key() . 'ti-logger-yes', false, array(
175
+ 'data-ti-log-enable' => 1,
176
+ )
177
+ )
178
+ . get_submit_button(
179
+ $button_cancel, 'secondary ' . $this->product->get_key() . '-ti-logger', $this->product->get_key() . 'ti-logger-no', false, array(
180
+ 'data-ti-log-enable' => 0,
181
+ )
182
+ )
183
  . '</div></div>';
184
  }
185
 
vendor/codeinwp/themeisle-sdk/class-themeisle-sdk-product.php CHANGED
@@ -60,7 +60,38 @@ if ( ! class_exists( 'ThemeIsle_SDK_Product' ) ) :
60
  /**
61
  * @var array $allowed_authors The allowed authors.
62
  */
63
- private $allowed_authors = array( 'proteusthemes.com', 'anarieldesign.com', 'prothemedesign.com', 'cssigniter.com' );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
64
  /**
65
  * @var bool $requires_license Either user needs to activate it with license.
66
  */
@@ -168,6 +199,9 @@ if ( ! class_exists( 'ThemeIsle_SDK_Product' ) ) :
168
  if ( strpos( $this->author_url, $author ) !== false ) {
169
  return true;
170
  }
 
 
 
171
  }
172
 
173
  return false;
@@ -278,6 +312,52 @@ if ( ! class_exists( 'ThemeIsle_SDK_Product' ) ) :
278
  return $versions;
279
  }
280
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
281
  /**
282
  * Return theme versions.
283
  *
@@ -315,22 +395,22 @@ if ( ! class_exists( 'ThemeIsle_SDK_Product' ) ) :
315
  * @return array Array of versions.
316
  */
317
  private function get_api_versions() {
318
- if ( ! $this->is_wordpress_available() ) {
319
- return array();
320
- }
321
 
322
  $cache_key = $this->get_key() . '_' . preg_replace( '/[^0-9a-zA-Z ]/m', '', $this->version ) . 'versions';
323
- $cache_versions = get_transient( $this->get_key() . '_' . preg_replace( '/[^0-9a-zA-Z ]/m', '', $this->version ) . 'versions' );
324
- if ( false == $cache_versions ) {
325
  $versions = array();
326
- if ( $this->get_type() === 'plugin' ) {
327
- $versions = $this->get_plugin_versions();
328
- }
329
-
330
- if ( $this->get_type() === 'theme' ) {
331
- $versions = $this->get_theme_versions();
 
 
 
332
  }
333
- set_transient( $cache_key, $versions, MONTH_IN_SECONDS );
334
  } else {
335
  $versions = is_array( $cache_versions ) ? $cache_versions : array();
336
  }
60
  /**
61
  * @var array $allowed_authors The allowed authors.
62
  */
63
+ private $allowed_authors = array(
64
+ 'proteusthemes.com',
65
+ 'anarieldesign.com',
66
+ 'prothemedesign.com',
67
+ 'cssigniter.com',
68
+ );
69
+ /**
70
+ * @var array $allowed_external_products The allowed external_products.
71
+ */
72
+ private $allowed_products = array(
73
+ 'zermatt',
74
+ 'neto',
75
+ 'olsen',
76
+ 'benson',
77
+ 'romero',
78
+ 'carmack',
79
+ 'puzzle',
80
+ 'broadsheet',
81
+ 'girlywp',
82
+ 'veggie',
83
+ 'zeko',
84
+ 'maishawp',
85
+ 'didi',
86
+ 'liber',
87
+ 'medicpress-pt',
88
+ 'adrenaline-pt',
89
+ 'consultpress-pt',
90
+ 'legalpress-pt',
91
+ 'gympress-pt',
92
+ 'readable-pt',
93
+ 'bolts-pt',
94
+ );
95
  /**
96
  * @var bool $requires_license Either user needs to activate it with license.
97
  */
199
  if ( strpos( $this->author_url, $author ) !== false ) {
200
  return true;
201
  }
202
+ if ( in_array( $this->get_slug(), $this->allowed_products ) ) {
203
+ return true;
204
+ }
205
  }
206
 
207
  return false;
312
  return $versions;
313
  }
314
 
315
+ /**
316
+ * @return string Return license key, if available.
317
+ */
318
+ private function get_license() {
319
+ $license_data = get_option( $this->get_key() . '_license_data', '' );
320
+
321
+ if ( empty( $license_data ) ) {
322
+ return '';
323
+ }
324
+ if ( ! isset( $license_data->key ) ) {
325
+ return '';
326
+ }
327
+
328
+ return $license_data->key;
329
+ }
330
+
331
+ /**
332
+ * @return array Array of available versions.
333
+ */
334
+ private function get_pro_versions() {
335
+ $license = $this->get_license();
336
+ $store_url = trailingslashit( $this->store_url );
337
+ $url = sprintf( '%s?edd_action=get_versions&name=%s&url=%s&license=%s', $store_url, urlencode( $this->get_name() ), urlencode( get_site_url() ), $license );
338
+ $response = wp_remote_get( $url );
339
+ if ( is_wp_error( $response ) ) {
340
+ return array();
341
+ }
342
+ $response = wp_remote_retrieve_body( $response );
343
+ $response = json_decode( $response );
344
+ if ( ! is_object( $response ) ) {
345
+ return array();
346
+ }
347
+ if ( ! isset( $response->versions ) ) {
348
+ return array();
349
+ }
350
+ $versions = array();
351
+ foreach ( $response->versions as $key => $version ) {
352
+ $versions[] = array(
353
+ 'version' => $version->version,
354
+ 'url' => $version->file,
355
+ );
356
+ }
357
+
358
+ return $versions;
359
+ }
360
+
361
  /**
362
  * Return theme versions.
363
  *
395
  * @return array Array of versions.
396
  */
397
  private function get_api_versions() {
 
 
 
398
 
399
  $cache_key = $this->get_key() . '_' . preg_replace( '/[^0-9a-zA-Z ]/m', '', $this->version ) . 'versions';
400
+ $cache_versions = get_transient( $cache_key );
401
+ if ( false === $cache_versions ) {
402
  $versions = array();
403
+ if ( ! $this->is_wordpress_available() ) {
404
+ $versions = $this->get_pro_versions();
405
+ } else {
406
+ if ( $this->get_type() === 'plugin' ) {
407
+ $versions = $this->get_plugin_versions();
408
+ }
409
+ if ( $this->get_type() === 'theme' ) {
410
+ $versions = $this->get_theme_versions();
411
+ }
412
  }
413
+ set_transient( $cache_key, $versions, 5 * DAY_IN_SECONDS );
414
  } else {
415
  $versions = is_array( $cache_versions ) ? $cache_versions : array();
416
  }
vendor/codeinwp/themeisle-sdk/class-themeisle-sdk-widget-dashboard-blog.php CHANGED
@@ -108,144 +108,173 @@ if ( ! class_exists( 'ThemeIsle_SDK_Widget_Dashboard_Blog' ) ) :
108
  */
109
  function render_dashboard_widget() {
110
  $this->setup_feeds();
 
 
 
111
  ?>
112
  <style type="text/css">
113
- #themeisle ul {
114
- margin-bottom: 0px;
115
- }
116
-
117
  #themeisle ul li.ti-dw-recommend-item {
118
-
119
  padding-left: 7px;
120
  border-top: 1px solid #eee;
121
-
122
  margin-bottom: 0px;
123
  padding-top: 6px;
124
  }
125
 
126
  #themeisle h2.hndle {
127
- background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB0AAAAdCAYAAABWk2cPAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAALfSURBVEhL7VW/ayJBFL7/5ZqziBzIcSCHxUE4hAiCgnAQsBASOAikEAIeCAaCiJAyIBICQURYwoJoEUmxa6MWioWxURu30mq77b57s86acX+oOQhp8sFjdmbfzrfve2/efMI74IP0VTB0gz/th/8iNbQxOt0eOmoN6WgAn78cwJeoYcLf78KrSPVneU3isEQZoz0D3pt03jhDrDTERJXxWM3A5yAOIPmgce/t2IvUGFzjkDa+7C5RTx0gWbxG0v8bBXUG3fLReigk4rh55gtbsAfpGDfhVTS+VA19bYbH7BkqU/56AzNU7nrYpbI7qfbEcxfBkSOHJGO27Vk0htqEYoXvARdS+tsEJyAJY1GRkOxnGTdq2zuaRZOkJ1Wi1+h7ODlJB/l1kYRKZVyKhMwoSmUw5M4uWMhIcl9f1l1qB2m/aMkZQIE2d5BeDTGiSD0VfC4jZPmSKiO+LMJGuoRE1bkiOIW00CAdW3NuxzLmxhD1hyHmug7dbBRD9KdLc4dR6Zfgn0ffXN2EjVSMLIcOrWxuwiyyPhYGI7X0m/agqPeIib5+yit/LWILKYuUlrTa5kbMwjko7J0AXc1RLZwifRF58Us1YXMzYSMV5WQ5ZWsG5VnYaG1BxM7zKBRzOAkHac460gxK9sUnVBqbu9rhKCS9lRaq1/poCeUq7tL6uPnjSLeoBRo9/KXjslqP4Na1gbiQssiULK9gP+VVqPnFQMblnwi+WmTfIji5amLES1mn/mz9yCFVuddZdiFlIJlTK+JtH2/AaPMogzipzrZ+4yQ1qCL1JSaNDL6bf81y1aOb5R6Vhow6G1tPNK9Borl0R2NLRiEaxNEF9Wa3yrHBSarTbeHot7ySqVmYR4AucDYuaJyzkfptZ0e/FeGa03m3jOQPizCAo0QG9W2ktL5HgGt45JRgaBh1x9R1WHY0KCTnLZOW5Kw0miuZq01ITGa6Z18Db9I3xAfpm+IdSIF/du91gSA2+I8AAAAASUVORK5CYII=');
128
  background-repeat: no-repeat;
129
- background-position: 90% 50%;
130
- background-size: 29px;
131
  }
132
 
133
- .ti-dw-feed-item {
 
 
 
 
 
 
 
 
 
 
134
  display: flex;
135
  align-items: center;
 
 
 
 
136
  }
137
 
138
- .ti-dw-feed-item a {
139
- float: left;
140
- width: 89.9%;
141
  }
142
 
143
- .ti-dw-feed-item .ti-dw-day-container {
144
- width: 100%;
145
- letter-spacing: 3px;
146
- display: block;
147
  }
148
 
149
  .ti-dw-feed-item .ti-dw-month-container {
150
-
151
- width: 100%;
152
- display: block;
153
- font-weight: 600;
154
- padding: 0px;
155
- margin-top: -6px;
156
  text-transform: uppercase;
157
  font-size: 10px;
158
  letter-spacing: 1px;
 
159
  }
160
 
161
  .ti-dw-feed-item .ti-dw-date-container {
162
- float: left;
163
- min-height: 30px;
164
- margin-right: 0.1%;
165
- width: 10%;
 
 
 
 
 
 
 
 
 
 
 
 
166
  text-align: center;
167
  }
168
 
 
 
 
 
169
  .ti-dw-recommend-item span {
170
  color: #72777c;
171
  }
172
 
173
  .ti-dw-powered-by {
174
- font-style: italic;
175
- text-align: right;
176
- margin-top:3px;
 
 
 
 
 
177
  }
178
 
179
  </style>
180
- <ul>
181
  <?php
182
  foreach ( $this->items as $item ) {
183
  ?>
184
- <li class="ti-dw-feed-item"><span class="ti-dw-date-container"><span
185
- class="ti-dw-day-container"><?php echo date( 'd', $item['date'] ); ?></span> <span
186
- class="ti-dw-month-container"><?php echo substr( date( 'M', $item['date'] ), 0, 3 ); ?></span></span><a
187
- href="
188
- <?php
189
- echo add_query_arg(
190
- array(
191
- 'utm_campaign' => 'feed',
192
- 'utm_medium' => 'dashboard_widget',
193
- ), $item['link']
194
- );
195
- ?>
196
- " target="_blank"><?php echo $item['title']; ?></a>
197
- <div class="clear"></div>
 
198
  </li>
199
  <?php
200
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
201
 
202
- $recommend = apply_filters( 'themeisle_sdk_recommend_plugin_or_theme', array() );
203
- if ( is_array( $recommend ) && ! empty( $recommend ) ) {
204
 
205
- $type = $recommend['type'];
206
- if ( ( $type == 'theme' && current_user_can( 'install_themes' ) ) || ( $type == 'plugin' && current_user_can( 'install_plugins' ) ) ) {
207
- add_thickbox();
208
  $url = add_query_arg(
209
  array(
210
- 'theme' => $recommend['slug'],
211
- ), network_admin_url( 'theme-install.php' )
 
212
  );
213
-
214
- if ( 'plugin' === $type ) {
215
-
216
- $url = add_query_arg(
217
- array(
218
- 'tab' => 'plugin-information',
219
- 'plugin' => $recommend['slug'],
220
- ), network_admin_url( 'plugin-install.php' )
221
- );
222
- }
223
- ?>
224
- <li class="ti-dw-recommend-item ">
225
  <span class="ti-dw-recommend"><?php echo apply_filters( 'themeisle_sdk_dashboard_popular_label', sprintf( 'Popular %s', ucwords( $type ) ) ); ?>
226
  : </span>
227
- <?php
228
- echo trim(
229
- str_replace(
230
- array(
231
- 'lite',
232
- 'Lite',
233
- ), '', $recommend['name']
234
- )
235
- );
236
- ?>
237
- (<a class="thickbox open-plugin-details-modal"
238
- href="<?php echo $url . '&TB_iframe=true&width=600&height=500'; ?>"><?php echo apply_filters( 'themeisle_sdk_dashboard_install_label', 'Install' ); ?></a>)
239
- </li>
240
- <li class="ti-dw-powered-by">
241
- Powered by <?php echo esc_attr( $this->product->get_friendly_name() ); ?>
242
- </li>
243
-
244
  <?php
245
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
246
  }
247
- ?>
248
- </ul>
249
 
250
  <?php
251
 
108
  */
109
  function render_dashboard_widget() {
110
  $this->setup_feeds();
111
+ if ( empty( $this->items ) || ! is_array( $this->items ) ) {
112
+ return;
113
+ }
114
  ?>
115
  <style type="text/css">
 
 
 
 
116
  #themeisle ul li.ti-dw-recommend-item {
 
117
  padding-left: 7px;
118
  border-top: 1px solid #eee;
 
119
  margin-bottom: 0px;
120
  padding-top: 6px;
121
  }
122
 
123
  #themeisle h2.hndle {
124
+ background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA3Ny4xMiA3Ny4xMiI+PHRpdGxlPkFzc2V0IDM8L3RpdGxlPjxwYXRoIGQ9Ik03NS43Niw0Ny42cS0xLjUsNi40Ni00LjA3LDkuMjZBMzYuMjIsMzYuMjIsMCwwLDEsNjMuMjYsNjNhNTEsNTEsMCwwLDEtOS43OSw0LjZoLS4xNXY0LjgyQTQuNjYsNC42NiwwLDAsMSw1Miw3NS43Niw0LjA3LDQuMDcsMCwwLDEsNDksNzcuMTJhNCw0LDAsMCwxLTIuMTgtLjYxQTQuOTQsNC45NCwwLDAsMSw0NS4xOSw3NWE0LjQyLDQuNDIsMCwwLDEtNy41NCwwLDQuOTQsNC45NCwwLDAsMS0xLjU4LDEuNSwzLjc1LDMuNzUsMCwwLDEtMiwuNjFBNC4yNyw0LjI3LDAsMCwxLDMwLjI3LDc1YTQuOTQsNC45NCwwLDAsMS0xLjU4LDEuNSw0LDQsMCwwLDEtMi4xOC42MSwzLjkzLDMuOTMsMCwwLDEtMy4xNi0xLjQzLDUuMyw1LjMsMCwwLDEtMS4yMS0zLjU0LDEzLjgxLDEzLjgxLDAsMCwxLTguNTgsMywxMy4yMywxMy4yMywwLDAsMS05LTMuNDdBMTguMjEsMTguMjEsMCwwLDAsOSw3MC43OWExNC4yNiwxNC4yNiwwLDAsMS03LjgzLTUuNDIsMTYuMTIsMTYuMTIsMCwwLDAsNS4xOS4wNywxMi44OSwxMi44OSwwLDAsMCw0LjktMS43M1EzLjE1LDU1LjQzLDEuMDUsNTAuNDZhMTgsMTgsMCwwLDEtMS02LjkzQTQwLDQwLDAsMCwxLDEuMjEsMzQsMjYuNTksMjYuNTksMCwwLDEsNS4yNywyNC4xUTguNDQsMTkuNDMsMTMsMTkuNDNhMy40MSwzLjQxLDAsMCwxLDMuNDcsMi4yNmMuNi0uOCwxLjItMS41NiwxLjgxLTIuMjZsLjQ1LS40NS43NS0uNzUsMS4wNS0xLjgxYTM1LjIsMzUuMiwwLDAsMSwyLjExLTMuMzIsMjguNTcsMjguNTcsMCwwLDEsOS4xMi03LjY4QTIzLjQsMjMuNCwwLDAsMSw0Mi45MywyLjU2YTIyLjIyLDIyLjIyLDAsMCwxLDIuNzEuMTVBOC4xNiw4LjE2LDAsMCwxLDUxLjgxLDAsOC42OSw4LjY5LDAsMCwxLDU4LDIuNDFhMS41MSwxLjUxLDAsMCwxLC4xNS42OGMwLC4yNS0uNTUuOTMtMS42NiwybC0uMy4zYTkuNjksOS42OSwwLDAsMSwxLjU4LjgzYy41NS4zNS44My42NS44My45YTEuNjIsMS42MiwwLDAsMS0uNiwxbC0uMTUuMTVxNi43OCw2LDguNTgsMTYuMjdBMy4zLDMuMywwLDAsMSw2OSwyMy4zNWE2LjQ4LDYuNDgsMCwwLDEsNC4yMiwyLjFxMy45MiwzLjMyLDMuOTIsMTEuOUE0Mi4wNSw0Mi4wNSwwLDAsMSw3NS43Niw0Ny42Wk01My42Miw1NC4wN2EyNCwyNCwwLDAsMS0xNCw0LjUyQTIxLjQxLDIxLjQxLDAsMCwxLDI3LDU0LjY3LDI0LjI4LDI0LjI4LDAsMCwxLDE4LjUzLDQ1YTI5LDI5LDAsMCwxLTMtMTMsMzEuNzgsMzEuNzgsMCwwLDEsLjkxLTcuNTNBMzIuMTcsMzIuMTcsMCwwLDAsMTEuOSw0MS4yN2EzMy41LDMzLjUsMCwwLDAsMi43OSwxMy40LDI5LjEsMjkuMSwwLDAsMCw3LjksMTAuODUsNC42OCw0LjY4LDAsMCwxLDEuNjYtMS44OCw0LjE3LDQuMTcsMCwwLDEsNC40NC0uMDgsNC41LDQuNSwwLDAsMSwxLjU4LDEuNjZBNC4yLDQuMiwwLDAsMSwzNCw2M2EzLjgzLDMuODMsMCwwLDEsMiwuNiw0LjUsNC41LDAsMCwxLDEuNTgsMS42Niw0LjI3LDQuMjcsMCwwLDEsNy41NCwwLDQuNSw0LjUsMCwwLDEsMS41OC0xLjY2LDQuMTcsNC4xNywwLDAsMSw0LjQ0LjA4LDMuODYsMy44NiwwLDAsMSwxLjUxLDEuNzMsMzAuMTcsMzAuMTcsMCwwLDAsNy42OC05Ljk0LDMxLjE4LDMxLjE4LDAsMCwwLDMuMTYtMTIuMzVBMjguMzksMjguMzksMCwwLDEsNTMuNjIsNTQuMDdaTTI4Ljc3LDY1LjM3YTMuMSwzLjEsMCwwLDAtNC4zNywwLDMuMDYsMy4wNiwwLDAsMC0uOSwyLjI2djQuODJhMy4zMiwzLjMyLDAsMCwwLC45LDIuMzMsMi45MywyLjkzLDAsMCwwLDQuMzcsMCwzLjMyLDMuMzIsMCwwLDAsLjktMi4zM1Y2Ny42M0EzLjA2LDMuMDYsMCwwLDAsMjguNzcsNjUuMzdabS45LTQ4YTQuMjQsNC4yNCwwLDAsMCwzLjQ3LDEuNzMsNC40NSw0LjQ1LDAsMCwwLDMuNTQtMS43Myw2LDYsMCwwLDAsMS40My0zLjkyLDUuNyw1LjcsMCwwLDAtMS40My0zLjg0QTQuNTMsNC41MywwLDAsMCwzMy4xNCw4YTQuMzEsNC4zMSwwLDAsMC0zLjQ3LDEuNjYsNS43OSw1Ljc5LDAsMCwwLTEuMzUsMy43N0E2LjMzLDYuMzMsMCwwLDAsMjkuNjcsMTcuNFptNi40OCw0OGEzLjEsMy4xLDAsMCwwLTQuMzcsMCwzLjA2LDMuMDYsMCwwLDAtLjksMi4yNnY0LjgyYTMuMzIsMy4zMiwwLDAsMCwuOSwyLjMzLDIuOTMsMi45MywwLDAsMCw0LjM3LDAsMy4zMiwzLjMyLDAsMCwwLC45LTIuMzNWNjcuNjNBMy4wNiwzLjA2LDAsMCwwLDM2LjE1LDY1LjM3Wm0tNC4wNy01NC4zYTIuMzcsMi4zNywwLDAsMSwyLTEsMi4xNywyLjE3LDAsMCwxLDEuODgsMSw0LjEsNC4xLDAsMCwxLDAsNC41MiwyLjE3LDIuMTcsMCwwLDEtMS44OCwxLDIuMzcsMi4zNywwLDAsMS0yLTEsMy43MiwzLjcyLDAsMCwxLS43NS0yLjM0QTMuNDksMy40OSwwLDAsMSwzMi4wOCwxMS4wN1ptNSw5LjQxYTIwLjYxLDIwLjYxLDAsMCwwLTMuNTQsMTIuMjgsMTcuMTUsMTcuMTUsMCwwLDAsNC4wNywxMSwxMi40MywxMi40MywwLDAsMCw5Ljg3LDQuNDUsMTUuMywxNS4zLDAsMCwwLDktMywxMywxMywwLDAsMCwuNi0zLjMycTAtMy4zMi0zLjE2LTMuMzFhOC41OCw4LjU4LDAsMCwwLTIsLjNxLTcuODMsMS41LTExLjU5LS4zLTQuNTMtMi4xMi00LjUyLTkuMzRBMzcuOTIsMzcuOTIsMCwwLDEsMzcuMDUsMjAuNDhaTTYxLjQ1LDE3QTEyLjg0LDEyLjg0LDAsMCwwLDUxLjIxLDEyLjJhMTUuMTEsMTUuMTEsMCwwLDAtNi40LDEuNDMsMTcuODMsMTcuODMsMCwwLDAtNS41LDRxLTYuMTgsMjAuNjQsNi4xOCwyMC42NEEyNC43NSwyNC43NSwwLDAsMCw0OSwzNy44MWEzOC45MiwzOC45MiwwLDAsMSw0LjgyLS40NmMxLjgxLDAsMy4wNi40NiwzLjc3LDEuMzZxMS4zNSwxLjUuNzUsNS4xMmEyMS43MiwyMS43MiwwLDAsMCw1LTcuMTVBMjEuMzgsMjEuMzgsMCwwLDAsNjUuMDcsMjgsMTcuNDQsMTcuNDQsMCwwLDAsNjEuNDUsMTdaTTQzLjYsNjUuMzdhMi43MiwyLjcyLDAsMCwwLTIuMS0uOSwzLDMsMCwwLDAtMi4xOS45LDMuMDYsMy4wNiwwLDAsMC0uOSwyLjI2djQuODJhMy4zMiwzLjMyLDAsMCwwLC45LDIuMzMsMi44NCwyLjg0LDAsMCwwLDIuMTksMSwyLjYxLDIuNjEsMCwwLDAsMi4xLTEsMy40NSwzLjQ1LDAsMCwwLC44My0yLjMzVjY3LjYzQTMuMTcsMy4xNywwLDAsMCw0My42LDY1LjM3Wm03LjQ2LDBhMywzLDAsMCwwLTIuMTgtLjksMi43MywyLjczLDAsMCwwLTIuMTEuOSwzLjE3LDMuMTcsMCwwLDAtLjgzLDIuMjZ2NC44MmEzLjQ1LDMuNDUsMCwwLDAsLjgzLDIuMzMsMi42MSwyLjYxLDAsMCwwLDIuMTEsMSwyLjgzLDIuODMsMCwwLDAsMi4xOC0xLDMuMzIsMy4zMiwwLDAsMCwuOS0yLjMzVjY3LjYzQTMuMDYsMy4wNiwwLDAsMCw1MS4wNiw2NS4zN1oiLz48L3N2Zz4=');
125
  background-repeat: no-repeat;
126
+ background-position: 92% 50%;
127
+ background-size: 30px;
128
  }
129
 
130
+ #themeisle .inside {
131
+ padding: 0;
132
+ }
133
+
134
+ .ti-feed-list {
135
+ padding: 0 12px 5px;
136
+ margin-bottom: 10px;
137
+ border-bottom: 1px solid #eee;
138
+ }
139
+
140
+ .ti-dw-feed-item a {
141
  display: flex;
142
  align-items: center;
143
+ margin-bottom: 5px;
144
+ padding: 5px;
145
+ transition: .2s ease;
146
+ border-radius: 3px;
147
  }
148
 
149
+ .ti-dw-feed-item a:hover {
150
+ background-color: #f8f8f8;
 
151
  }
152
 
153
+ .ti-dw-feed-item a:hover .ti-dw-date-container {
154
+ opacity: .9;
 
 
155
  }
156
 
157
  .ti-dw-feed-item .ti-dw-month-container {
158
+ margin-top: -5px;
 
 
 
 
 
159
  text-transform: uppercase;
160
  font-size: 10px;
161
  letter-spacing: 1px;
162
+ font-weight: 700;
163
  }
164
 
165
  .ti-dw-feed-item .ti-dw-date-container {
166
+ border-radius: 3px;
167
+ transition: .2s ease;
168
+ min-height: 35px;
169
+ margin-right: 5px;
170
+ min-width: 35px;
171
+ text-align: center;
172
+ border: 1px solid #2a6f97;
173
+ color: #fff;
174
+ background: #2ea2cc;
175
+ display: flex;
176
+ flex-direction: column;
177
+ justify-content: center;
178
+ }
179
+
180
+ .ti-dw-footer {
181
+ padding: 0 12px 5px;
182
  text-align: center;
183
  }
184
 
185
+ .ti-dw-recommend-item {
186
+ display: block;
187
+ }
188
+
189
  .ti-dw-recommend-item span {
190
  color: #72777c;
191
  }
192
 
193
  .ti-dw-powered-by {
194
+ font-size: 11px;
195
+ margin-top: 3px;
196
+ display: block;
197
+ color: #72777c;
198
+ }
199
+
200
+ .ti-dw-powered-by span {
201
+ font-weight: 600;
202
  }
203
 
204
  </style>
205
+ <ul class="ti-feed-list">
206
  <?php
207
  foreach ( $this->items as $item ) {
208
  ?>
209
+ <li class="ti-dw-feed-item">
210
+ <a href="
211
+ <?php
212
+ echo add_query_arg(
213
+ array(
214
+ 'utm_campaign' => 'feed',
215
+ 'utm_medium' => 'dashboard_widget',
216
+ ), $item['link']
217
+ );
218
+ ?>
219
+ " target="_blank">
220
+ <span class="ti-dw-date-container"><span
221
+ class="ti-dw-day-container"><?php echo date( 'd', $item['date'] ); ?></span> <span
222
+ class="ti-dw-month-container"><?php echo substr( date( 'M', $item['date'] ), 0, 3 ); ?></span></span><?php echo $item['title']; ?>
223
+ </a>
224
  </li>
225
  <?php
226
  }
227
+ ?>
228
+ </ul>
229
+ <?php
230
+ $recommend = apply_filters( 'themeisle_sdk_recommend_plugin_or_theme', array() );
231
+ if ( is_array( $recommend ) && ! empty( $recommend ) ) {
232
+
233
+ $type = $recommend['type'];
234
+ if ( ( $type == 'theme' && current_user_can( 'install_themes' ) ) || ( $type == 'plugin' && current_user_can( 'install_plugins' ) ) ) {
235
+ add_thickbox();
236
+ $url = add_query_arg(
237
+ array(
238
+ 'theme' => $recommend['slug'],
239
+ ), network_admin_url( 'theme-install.php' )
240
+ );
241
 
242
+ if ( 'plugin' === $type ) {
 
243
 
 
 
 
244
  $url = add_query_arg(
245
  array(
246
+ 'tab' => 'plugin-information',
247
+ 'plugin' => $recommend['slug'],
248
+ ), network_admin_url( 'plugin-install.php' )
249
  );
250
+ }
251
+ ?>
252
+ <div class="ti-dw-footer">
253
+ <span class="ti-dw-recommend-item ">
 
 
 
 
 
 
 
 
254
  <span class="ti-dw-recommend"><?php echo apply_filters( 'themeisle_sdk_dashboard_popular_label', sprintf( 'Popular %s', ucwords( $type ) ) ); ?>
255
  : </span>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
256
  <?php
257
+ echo trim(
258
+ str_replace(
259
+ array(
260
+ 'lite',
261
+ 'Lite',
262
+ ), '', $recommend['name']
263
+ )
264
+ );
265
+ ?>
266
+ (<a class="thickbox open-plugin-details-modal"
267
+ href="<?php echo $url . '&TB_iframe=true&width=600&height=500'; ?>"><?php echo apply_filters( 'themeisle_sdk_dashboard_install_label', 'Install' ); ?></a>)
268
+ </span>
269
+ <span class="ti-dw-powered-by">
270
+ Powered by <span><?php echo esc_attr( $this->product->get_friendly_name() ); ?></span>
271
+ </span>
272
+ </div>
273
+
274
+ <?php
275
  }
276
+ }
277
+ ?>
278
 
279
  <?php
280
 
vendor/codeinwp/themeisle-sdk/load.php CHANGED
@@ -11,7 +11,7 @@
11
  */
12
 
13
  // Current SDK version and path.
14
- $themeisle_sdk_version = '2.1.1';
15
  $themeisle_sdk_path = dirname( __FILE__ );
16
 
17
  global $themeisle_sdk_max_version;
11
  */
12
 
13
  // Current SDK version and path.
14
+ $themeisle_sdk_version = '2.2.8';
15
  $themeisle_sdk_path = dirname( __FILE__ );
16
 
17
  global $themeisle_sdk_max_version;
vendor/composer/autoload_real.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
- class ComposerAutoloaderInit3c8b4624d96fe81c126450cc8e1ea59d
6
  {
7
  private static $loader;
8
 
@@ -19,9 +19,9 @@ class ComposerAutoloaderInit3c8b4624d96fe81c126450cc8e1ea59d
19
  return self::$loader;
20
  }
21
 
22
- spl_autoload_register(array('ComposerAutoloaderInit3c8b4624d96fe81c126450cc8e1ea59d', 'loadClassLoader'), true, true);
23
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
24
- spl_autoload_unregister(array('ComposerAutoloaderInit3c8b4624d96fe81c126450cc8e1ea59d', 'loadClassLoader'));
25
 
26
  $map = require __DIR__ . '/autoload_namespaces.php';
27
  foreach ($map as $namespace => $path) {
@@ -42,14 +42,14 @@ class ComposerAutoloaderInit3c8b4624d96fe81c126450cc8e1ea59d
42
 
43
  $includeFiles = require __DIR__ . '/autoload_files.php';
44
  foreach ($includeFiles as $fileIdentifier => $file) {
45
- composerRequire3c8b4624d96fe81c126450cc8e1ea59d($fileIdentifier, $file);
46
  }
47
 
48
  return $loader;
49
  }
50
  }
51
 
52
- function composerRequire3c8b4624d96fe81c126450cc8e1ea59d($fileIdentifier, $file)
53
  {
54
  if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
55
  require $file;
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
+ class ComposerAutoloaderInit0df49950d5c45f5a33cc99a042d21267
6
  {
7
  private static $loader;
8
 
19
  return self::$loader;
20
  }
21
 
22
+ spl_autoload_register(array('ComposerAutoloaderInit0df49950d5c45f5a33cc99a042d21267', 'loadClassLoader'), true, true);
23
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
24
+ spl_autoload_unregister(array('ComposerAutoloaderInit0df49950d5c45f5a33cc99a042d21267', 'loadClassLoader'));
25
 
26
  $map = require __DIR__ . '/autoload_namespaces.php';
27
  foreach ($map as $namespace => $path) {
42
 
43
  $includeFiles = require __DIR__ . '/autoload_files.php';
44
  foreach ($includeFiles as $fileIdentifier => $file) {
45
+ composerRequire0df49950d5c45f5a33cc99a042d21267($fileIdentifier, $file);
46
  }
47
 
48
  return $loader;
49
  }
50
  }
51
 
52
+ function composerRequire0df49950d5c45f5a33cc99a042d21267($fileIdentifier, $file)
53
  {
54
  if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
55
  require $file;
vendor/composer/installed.json CHANGED
@@ -6,15 +6,15 @@
6
  "source": {
7
  "type": "git",
8
  "url": "https://github.com/Codeinwp/themeisle-sdk.git",
9
- "reference": "9d866559c6090f0e7e70fe3e5a4be8672461a11a"
10
  },
11
  "dist": {
12
  "type": "zip",
13
- "url": "https://api.github.com/repos/Codeinwp/themeisle-sdk/zipball/9d866559c6090f0e7e70fe3e5a4be8672461a11a",
14
- "reference": "9d866559c6090f0e7e70fe3e5a4be8672461a11a",
15
  "shasum": ""
16
  },
17
- "time": "2018-02-16 16:31:29",
18
  "type": "library",
19
  "installation-source": "dist",
20
  "autoload": {
6
  "source": {
7
  "type": "git",
8
  "url": "https://github.com/Codeinwp/themeisle-sdk.git",
9
+ "reference": "951cde6e799e00d46a52416b62221fd771ddc326"
10
  },
11
  "dist": {
12
  "type": "zip",
13
+ "url": "https://api.github.com/repos/Codeinwp/themeisle-sdk/zipball/951cde6e799e00d46a52416b62221fd771ddc326",
14
+ "reference": "951cde6e799e00d46a52416b62221fd771ddc326",
15
  "shasum": ""
16
  },
17
+ "time": "2018-11-26 14:24:47",
18
  "type": "library",
19
  "installation-source": "dist",
20
  "autoload": {