Version Description
- 2014/03/05
- minor bug fix
- working on those lightbox skins :)
Download this release
Release Info
Developer | WebFactory |
Plugin | Google Maps Widget – Ultimate Google Maps Plugin |
Version | 1.47 |
Comparing to | |
See all releases |
Code changes from version 1.46 to 1.47
- gmw-widget.php +4 -6
- google-maps-widget.php +2 -2
- readme.txt +6 -1
gmw-widget.php
CHANGED
@@ -105,9 +105,9 @@ class GoogleMapsWidget extends WP_Widget {
|
|
105 |
}
|
106 |
|
107 |
$lightbox_skins[] = array('val' => '', 'label' => __('Light (default)', 'google-maps-widget'));
|
108 |
-
|
109 |
-
|
110 |
-
|
111 |
|
112 |
$thumb_link_types[] = array('val' => 'lightbox', 'label' => __('Lightbox', 'google-maps-widget'));
|
113 |
$thumb_link_types[] = array('val' => 'custom', 'label' => __('Custom link', 'google-maps-widget'));
|
@@ -181,12 +181,10 @@ class GoogleMapsWidget extends WP_Widget {
|
|
181 |
GMW::create_select_options($zoom_levels, $lightbox_zoom);
|
182 |
echo '</select></p>';
|
183 |
|
184 |
-
/* temporarily disabled
|
185 |
echo '<p><label class="gmw-label" for="' . $this->get_field_id('lightbox_skin') . '">' . __('Skin', 'google-maps-widget') . ':</label>';
|
186 |
echo '<select id="' . $this->get_field_id('lightbox_skin') . '" name="' . $this->get_field_name('lightbox_skin') . '">';
|
187 |
GMW::create_select_options($lightbox_skins, $lightbox_skin);
|
188 |
echo '</select></p>';
|
189 |
-
*/
|
190 |
|
191 |
echo '<p><label for="' . $this->get_field_id('lightbox_bubble') . '">' . __('Show Address Bubble', 'google-maps-widget') . ': </label>';
|
192 |
echo '<input ' . checked('1', $lightbox_bubble, false) . ' value="1" type="checkbox" id="' . $this->get_field_id('lightbox_bubble') . '" name="' . $this->get_field_name('lightbox_bubble') . '">';
|
@@ -231,7 +229,7 @@ class GoogleMapsWidget extends WP_Widget {
|
|
231 |
$instance['lightbox_title'] = isset($new_instance['lightbox_title']);
|
232 |
$instance['lightbox_header'] = trim($new_instance['lightbox_header']);
|
233 |
$instance['lightbox_footer'] = trim($new_instance['lightbox_footer']);
|
234 |
-
|
235 |
|
236 |
return $instance;
|
237 |
}
|
105 |
}
|
106 |
|
107 |
$lightbox_skins[] = array('val' => '', 'label' => __('Light (default)', 'google-maps-widget'));
|
108 |
+
//$lightbox_skins[] = array('val' => 'dark', 'label' => __('Dark', 'google-maps-widget'));
|
109 |
+
//$lightbox_skins[] = array('val' => 'white-square', 'label' => __('White with square corners', 'google-maps-widget'));
|
110 |
+
//$lightbox_skins[] = array('val' => 'black-square', 'label' => __('Black with square corners', 'google-maps-widget'));
|
111 |
|
112 |
$thumb_link_types[] = array('val' => 'lightbox', 'label' => __('Lightbox', 'google-maps-widget'));
|
113 |
$thumb_link_types[] = array('val' => 'custom', 'label' => __('Custom link', 'google-maps-widget'));
|
181 |
GMW::create_select_options($zoom_levels, $lightbox_zoom);
|
182 |
echo '</select></p>';
|
183 |
|
|
|
184 |
echo '<p><label class="gmw-label" for="' . $this->get_field_id('lightbox_skin') . '">' . __('Skin', 'google-maps-widget') . ':</label>';
|
185 |
echo '<select id="' . $this->get_field_id('lightbox_skin') . '" name="' . $this->get_field_name('lightbox_skin') . '">';
|
186 |
GMW::create_select_options($lightbox_skins, $lightbox_skin);
|
187 |
echo '</select></p>';
|
|
|
188 |
|
189 |
echo '<p><label for="' . $this->get_field_id('lightbox_bubble') . '">' . __('Show Address Bubble', 'google-maps-widget') . ': </label>';
|
190 |
echo '<input ' . checked('1', $lightbox_bubble, false) . ' value="1" type="checkbox" id="' . $this->get_field_id('lightbox_bubble') . '" name="' . $this->get_field_name('lightbox_bubble') . '">';
|
229 |
$instance['lightbox_title'] = isset($new_instance['lightbox_title']);
|
230 |
$instance['lightbox_header'] = trim($new_instance['lightbox_header']);
|
231 |
$instance['lightbox_footer'] = trim($new_instance['lightbox_footer']);
|
232 |
+
$instance['lightbox_skin'] = $new_instance['lightbox_skin'];
|
233 |
|
234 |
return $instance;
|
235 |
}
|
google-maps-widget.php
CHANGED
@@ -4,7 +4,7 @@ Plugin Name: Google Maps Widget
|
|
4 |
Plugin URI: http://www.googlemapswidget.com/
|
5 |
Description: Display a single-image super-fast loading Google map in a widget. A larger, full featured map is available on click in a lightbox.
|
6 |
Author: Web factory Ltd
|
7 |
-
Version: 1.
|
8 |
Author URI: http://www.webfactoryltd.com/
|
9 |
Text Domain: google-maps-widget
|
10 |
Domain Path: lang
|
@@ -31,7 +31,7 @@ if (!defined('ABSPATH')) {
|
|
31 |
}
|
32 |
|
33 |
|
34 |
-
define('GMW_VER', '1.
|
35 |
define('GMW_OPTIONS', 'gmw_options');
|
36 |
define('GMW_CRON', 'gmw_cron');
|
37 |
|
4 |
Plugin URI: http://www.googlemapswidget.com/
|
5 |
Description: Display a single-image super-fast loading Google map in a widget. A larger, full featured map is available on click in a lightbox.
|
6 |
Author: Web factory Ltd
|
7 |
+
Version: 1.47
|
8 |
Author URI: http://www.webfactoryltd.com/
|
9 |
Text Domain: google-maps-widget
|
10 |
Domain Path: lang
|
31 |
}
|
32 |
|
33 |
|
34 |
+
define('GMW_VER', '1.47');
|
35 |
define('GMW_OPTIONS', 'gmw_options');
|
36 |
define('GMW_CRON', 'gmw_cron');
|
37 |
|
readme.txt
CHANGED
@@ -6,7 +6,7 @@ License: GPLv2 or later
|
|
6 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
7 |
Requires at least: 3.3
|
8 |
Tested up to: 3.8.1
|
9 |
-
Stable tag: 1.
|
10 |
|
11 |
Displays a single-image super-fast loading Google map in a widget. A larger map with all the usual features is available on click in a lightbox.
|
12 |
|
@@ -99,6 +99,11 @@ If you can figure it out open a thread in the support forums.
|
|
99 |
4. Widget options - lightbox map
|
100 |
|
101 |
== Changelog ==
|
|
|
|
|
|
|
|
|
|
|
102 |
= 1.45 =
|
103 |
* 2014/03/04
|
104 |
* switched to <a href="http://www.jacklmoore.com/colorbox/">Colorbox</a> lightbox script
|
6 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
7 |
Requires at least: 3.3
|
8 |
Tested up to: 3.8.1
|
9 |
+
Stable tag: 1.47
|
10 |
|
11 |
Displays a single-image super-fast loading Google map in a widget. A larger map with all the usual features is available on click in a lightbox.
|
12 |
|
99 |
4. Widget options - lightbox map
|
100 |
|
101 |
== Changelog ==
|
102 |
+
= 1.47 =
|
103 |
+
* 2014/03/05
|
104 |
+
* minor bug fix
|
105 |
+
* working on those lightbox skins :)
|
106 |
+
|
107 |
= 1.45 =
|
108 |
* 2014/03/04
|
109 |
* switched to <a href="http://www.jacklmoore.com/colorbox/">Colorbox</a> lightbox script
|