Version Description
- Added: Category filter
Download this release
Release Info
Developer | webdorado |
Plugin | WD Google Maps – Google Maps builder Plugin |
Version | 1.0.21 |
Comparing to | |
See all releases |
Code changes from version 1.0.20 to 1.0.21
- admin/views/GMWDViewMaps_gmwd.php +66 -10
- gmwd_admin_class.php +1 -1
- js/admin_main.js +1 -1
- readme.txt +4 -1
- wd-google-maps.php +1 -1
admin/views/GMWDViewMaps_gmwd.php
CHANGED
@@ -645,6 +645,9 @@ class GMWDViewMaps_gmwd extends GMWDView{
|
|
645 |
<li>
|
646 |
<a href="#settings-marker-listing" <?php echo (GMWDHelper::get('active_settings_tab') == "settings-marker-listing") ? 'class="wd-settings-active-tab"' : ''; ?> ><?php _e("Marker Listing","gmwd");?></a>
|
647 |
</li>
|
|
|
|
|
|
|
648 |
<li>
|
649 |
<a href="#settings-advanced" <?php echo (GMWDHelper::get('active_settings_tab') == "settings-advanced") ? 'class="wd-settings-active-tab"' : ''; ?> ><?php _e("Advanced Settings","gmwd");?></a>
|
650 |
</li>
|
@@ -671,6 +674,9 @@ class GMWDViewMaps_gmwd extends GMWDView{
|
|
671 |
<div id="settings-marker-listing" class="wd-left wd-settings-container" <?php echo GMWDHelper::get('active_settings_tab') == "settings-marker-listing" ? '' : 'style="display:none;"'; ?>>
|
672 |
<?php $this->settings_marker_listing($row, $lists); ?>
|
673 |
</div>
|
|
|
|
|
|
|
674 |
<div id="settings-advanced" class="wd-left wd-settings-container" <?php echo GMWDHelper::get('active_settings_tab') == "settings-advanced" ? '' : 'style="display:none;"'; ?>>
|
675 |
<?php $this->settings_advanced($row, $lists); ?>
|
676 |
</div>
|
@@ -1207,15 +1213,7 @@ class GMWDViewMaps_gmwd extends GMWDView{
|
|
1207 |
</select>
|
1208 |
</td>
|
1209 |
</tr>
|
1210 |
-
|
1211 |
-
<td><label title="<?php _e("Disable/enable category filter.","gmwd");?>"><?php _e("Enable Category Filter","gmwd"); ?>:</label></td>
|
1212 |
-
<td>
|
1213 |
-
<input type="radio" class="inputbox gmwd_disabled_field" id="enable_category_filter0" name="enable_category_filter" <?php echo (($row->enable_category_filter) ? '' : 'checked="checked"'); ?> value="0" disabled readonly>
|
1214 |
-
<label for="enable_category_filter0"><?php _e("No","gmwd"); ?></label>
|
1215 |
-
<input type="radio" class="inputbox gmwd_disabled_field" id="enable_category_filter1" name="enable_category_filter" <?php echo (($row->enable_category_filter) ? 'checked="checked"' : ''); ?> value="1" disabled readonly >
|
1216 |
-
<label for="enable_category_filter1"><?php _e("Yes","gmwd"); ?></label>
|
1217 |
-
</td>
|
1218 |
-
</tr>
|
1219 |
<tr>
|
1220 |
<td><label title="<?php _e(" Disable/enable marker list on the map.","gmwd");?>"><?php _e("Enable List Inside Map","gmwd"); ?>:</label></td>
|
1221 |
<td>
|
@@ -1244,7 +1242,65 @@ class GMWDViewMaps_gmwd extends GMWDView{
|
|
1244 |
|
1245 |
<?php
|
1246 |
}
|
1247 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1248 |
private function settings_advanced($row, $lists){
|
1249 |
?>
|
1250 |
<table class="settings_table">
|
645 |
<li>
|
646 |
<a href="#settings-marker-listing" <?php echo (GMWDHelper::get('active_settings_tab') == "settings-marker-listing") ? 'class="wd-settings-active-tab"' : ''; ?> ><?php _e("Marker Listing","gmwd");?></a>
|
647 |
</li>
|
648 |
+
<li>
|
649 |
+
<a href="#settings-marker_category_filter " <?php echo (GMWDHelper::get('active_settings_tab') == "settings-marker_category_filter") ? 'class="wd-settings-active-tab"' : ''; ?> ><?php _e("Marker Category Filter","gmwd");?></a>
|
650 |
+
</li>
|
651 |
<li>
|
652 |
<a href="#settings-advanced" <?php echo (GMWDHelper::get('active_settings_tab') == "settings-advanced") ? 'class="wd-settings-active-tab"' : ''; ?> ><?php _e("Advanced Settings","gmwd");?></a>
|
653 |
</li>
|
674 |
<div id="settings-marker-listing" class="wd-left wd-settings-container" <?php echo GMWDHelper::get('active_settings_tab') == "settings-marker-listing" ? '' : 'style="display:none;"'; ?>>
|
675 |
<?php $this->settings_marker_listing($row, $lists); ?>
|
676 |
</div>
|
677 |
+
<div id="settings-marker_category_filter" class="wd-left wd-settings-container" <?php echo GMWDHelper::get('active_settings_tab') == "settings-marker_category_filter" ? '' : 'style="display:none;"'; ?>>
|
678 |
+
<?php $this->settings_marker_category_filter($row, $lists); ?>
|
679 |
+
</div>
|
680 |
<div id="settings-advanced" class="wd-left wd-settings-container" <?php echo GMWDHelper::get('active_settings_tab') == "settings-advanced" ? '' : 'style="display:none;"'; ?>>
|
681 |
<?php $this->settings_advanced($row, $lists); ?>
|
682 |
</div>
|
1213 |
</select>
|
1214 |
</td>
|
1215 |
</tr>
|
1216 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1217 |
<tr>
|
1218 |
<td><label title="<?php _e(" Disable/enable marker list on the map.","gmwd");?>"><?php _e("Enable List Inside Map","gmwd"); ?>:</label></td>
|
1219 |
<td>
|
1242 |
|
1243 |
<?php
|
1244 |
}
|
1245 |
+
private function settings_marker_category_filter($row, $lists){
|
1246 |
+
?>
|
1247 |
+
<div class="gmwd_pro_option gmwd_pro_option_msg"><?php _e("Marker category filter is avalibale only in the Paid version.","gmwd");?></div>
|
1248 |
+
<table class="settings_table">
|
1249 |
+
<tr>
|
1250 |
+
<td><label title="<?php _e("Disable/enable category filter.","gmwd");?>"><?php _e("Enable Category Filter","gmwd"); ?>:</label></td>
|
1251 |
+
<td>
|
1252 |
+
<input type="radio" class="inputbox gmwd_disabled_field" id="enable_category_filter0" name="enable_category_filter" checked value="0" disabled readonly >
|
1253 |
+
<label for="enable_category_filter0"><?php _e("No","gmwd"); ?></label>
|
1254 |
+
<input type="radio" class="inputbox gmwd_disabled_field" id="enable_category_filter1" name="enable_category_filter" value="1" disabled readonly >
|
1255 |
+
<label for="enable_category_filter1"><?php _e("Yes","gmwd"); ?></label>
|
1256 |
+
</td>
|
1257 |
+
</tr>
|
1258 |
+
<tr>
|
1259 |
+
<td><label for="category_filter_type" title="<?php _e("Select the view type of your markers category filter.","gmwd");?>"><?php _e("Category Filter View","gmwd"); ?>:</label></td>
|
1260 |
+
<td>
|
1261 |
+
<select name="category_filter_type" id="category_filter_type" class="gmwd_disabled_field" disabled readonly>
|
1262 |
+
<option>Select</option>
|
1263 |
+
</select>
|
1264 |
+
</td>
|
1265 |
+
</tr>
|
1266 |
+
<tr>
|
1267 |
+
<td><label title="<?php _e(" Disable/enable marker category filter on the map.","gmwd");?>"><?php _e("Enable Category Filter Inside Map","gmwd"); ?>:</label></td>
|
1268 |
+
<td>
|
1269 |
+
<input type="radio" class="inputbox gmwd_disabled_field" id="marker_categories_inside_map0" name="marker_categories_inside_map" checked value="0" disabled readonly>
|
1270 |
+
<label for="marker_categories_inside_map0"><?php _e("No","gmwd"); ?></label>
|
1271 |
+
<input type="radio" class="inputbox gmwd_disabled_field" id="marker_categories_inside_map1" name="marker_categories_inside_map" value="1" disabled readonly>
|
1272 |
+
<label for="marker_categories_inside_map1"><?php _e("Yes","gmwd"); ?></label>
|
1273 |
+
</td>
|
1274 |
+
</tr>
|
1275 |
+
<tr>
|
1276 |
+
<td><label for="imcategory_filter_type" title="<?php _e("Select the view type of your inside map markers category filter.","gmwd");?>"><?php _e("Inside Map Category Filter View","gmwd"); ?>:</label></td>
|
1277 |
+
<td>
|
1278 |
+
<select name="imcategory_filter_type" id="imcategory_filter_type" class="gmwd_disabled_field" disabled readonly>
|
1279 |
+
<option>Select</option>
|
1280 |
+
</select>
|
1281 |
+
</td>
|
1282 |
+
</tr>
|
1283 |
+
<tr>
|
1284 |
+
<td><label for="category_filter_im_position" title="<?php _e("Select the inside map marker category filter position.","gmwd");?>"><?php _e("Inside Map Category Filter Position","gmwd"); ?>:</label></td>
|
1285 |
+
<td>
|
1286 |
+
<select name="category_filter_im_position" id="category_filter_im_position" class="gmwd_disabled_field" disabled readonly>
|
1287 |
+
<option>Select</option>
|
1288 |
+
</select>
|
1289 |
+
</td>
|
1290 |
+
</tr>
|
1291 |
+
<tr>
|
1292 |
+
<td><label title="<?php _e(" Show/hide marker category icon.","gmwd");?>"><?php _e("Show Category Icon","gmwd"); ?>:</label></td>
|
1293 |
+
<td>
|
1294 |
+
<input type="radio" class="inputbox gmwd_disabled_field" id="show_cat_icon0" name="show_cat_icon" checked value="0" disabled readonly>
|
1295 |
+
<label for="show_cat_icon0"><?php _e("No","gmwd"); ?></label>
|
1296 |
+
<input type="radio" class="inputbox gmwd_disabled_field" id="show_cat_icon1" name="show_cat_icon" value="1" disabled readonly>
|
1297 |
+
<label for="show_cat_icon1"><?php _e("Yes","gmwd"); ?></label>
|
1298 |
+
</td>
|
1299 |
+
</tr>
|
1300 |
+
</table>
|
1301 |
+
|
1302 |
+
<?php
|
1303 |
+
}
|
1304 |
private function settings_advanced($row, $lists){
|
1305 |
?>
|
1306 |
<table class="settings_table">
|
gmwd_admin_class.php
CHANGED
@@ -11,7 +11,7 @@ class GMWDAdmin{
|
|
11 |
// Variables //
|
12 |
////////////////////////////////////////////////////////////////////////////////////////
|
13 |
protected static $instance = null;
|
14 |
-
private static $version = '1.0.
|
15 |
////////////////////////////////////////////////////////////////////////////////////////
|
16 |
// Constructor & Destructor //
|
17 |
////////////////////////////////////////////////////////////////////////////////////////
|
11 |
// Variables //
|
12 |
////////////////////////////////////////////////////////////////////////////////////////
|
13 |
protected static $instance = null;
|
14 |
+
private static $version = '1.0.21';
|
15 |
////////////////////////////////////////////////////////////////////////////////////////
|
16 |
// Constructor & Destructor //
|
17 |
////////////////////////////////////////////////////////////////////////////////////////
|
js/admin_main.js
CHANGED
@@ -72,7 +72,7 @@ function gmwdOpenMediaUploader(e,id,callback){
|
|
72 |
}
|
73 |
function gmwdFormSubmit(task){
|
74 |
if(typeof task == "undefinded"){
|
75 |
-
task
|
76 |
}
|
77 |
var adminForm = jQuery("#adminForm");
|
78 |
if(task != ""){
|
72 |
}
|
73 |
function gmwdFormSubmit(task){
|
74 |
if(typeof task == "undefinded"){
|
75 |
+
task = "";
|
76 |
}
|
77 |
var adminForm = jQuery("#adminForm");
|
78 |
if(task != ""){
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: https://web-dorado.com/products/wordpress-google-maps-plugin.html
|
|
4 |
Tags: directions, google map, google map plugin, google maps, google maps plugin, map, map markers, map plugin, map widget, maps, wp google map, wp google maps
|
5 |
Requires at least: 3.4
|
6 |
Tested up to: 4.6
|
7 |
-
Stable tag: 1.0.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -113,6 +113,9 @@ After downloading the ZIP file of the Google Maps WD plugin,
|
|
113 |
|
114 |
== Changelog ==
|
115 |
|
|
|
|
|
|
|
116 |
= 1.0.20 =
|
117 |
* Fixed: Minor bug
|
118 |
|
4 |
Tags: directions, google map, google map plugin, google maps, google maps plugin, map, map markers, map plugin, map widget, maps, wp google map, wp google maps
|
5 |
Requires at least: 3.4
|
6 |
Tested up to: 4.6
|
7 |
+
Stable tag: 1.0.21
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
113 |
|
114 |
== Changelog ==
|
115 |
|
116 |
+
= 1.0.21 =
|
117 |
+
* Added: Category filter
|
118 |
+
|
119 |
= 1.0.20 =
|
120 |
* Fixed: Minor bug
|
121 |
|
wd-google-maps.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
* Plugin Name: Google Maps WD
|
5 |
* Plugin URI: https://web-dorado.com/products/wordpress-google-maps-plugin.html
|
6 |
* Description: Google Maps WD is an intuitive tool for creating Google maps with advanced markers, custom layers and overlays for your website.
|
7 |
-
* Version: 1.0.
|
8 |
* Author: WebDorado
|
9 |
* Author URI: http://web-dorado.com/
|
10 |
* License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
|
4 |
* Plugin Name: Google Maps WD
|
5 |
* Plugin URI: https://web-dorado.com/products/wordpress-google-maps-plugin.html
|
6 |
* Description: Google Maps WD is an intuitive tool for creating Google maps with advanced markers, custom layers and overlays for your website.
|
7 |
+
* Version: 1.0.21
|
8 |
* Author: WebDorado
|
9 |
* Author URI: http://web-dorado.com/
|
10 |
* License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
|