Version Description
- Fixed: Add selected images to gallery.
- Fixed: Controll buttons and filmstrip conflict in lightbox.
Download this release
Release Info
Developer | webdorado |
Plugin | Photo Gallery by WD – Responsive Photo Gallery |
Version | 1.2.83 |
Comparing to | |
See all releases |
Code changes from version 1.2.82 to 1.2.83
- admin/views/BWGViewAlbums_bwg.php +1 -1
- admin/views/BWGViewEditThumb.php +1 -1
- admin/views/BWGViewGalleries_bwg.php +4 -4
- admin/views/BWGViewOptions_bwg.php +1 -1
- admin/views/BWGViewTags_bwg.php +2 -2
- admin/views/BWGViewThemes_bwg.php +2 -2
- admin/views/BWGViewUninstall_bwg.php +1 -1
- frontend/views/BWGViewGalleryBox.php +1 -1
- photo-gallery.php +3 -3
- readme.txt +5 -1
admin/views/BWGViewAlbums_bwg.php
CHANGED
@@ -64,7 +64,7 @@ class BWGViewAlbums_bwg {
|
|
64 |
<input class="button-secondary" type="submit" onclick="spider_set_input_value('task', 'save_order')" value="<?php _e("Save Order", 'bwg_back'); ?>" />
|
65 |
<input class="button-secondary" type="submit" onclick="spider_set_input_value('task', 'publish_all')" value="<?php _e("Publish", 'bwg_back'); ?>" />
|
66 |
<input class="button-secondary" type="submit" onclick="spider_set_input_value('task', 'unpublish_all')" value="<?php _e("Unpublish", 'bwg_back'); ?>" />
|
67 |
-
<input class="button-secondary" type="submit" onclick="if (confirm('<?php
|
68 |
spider_set_input_value('task', 'delete_all');
|
69 |
} else {
|
70 |
return false;
|
64 |
<input class="button-secondary" type="submit" onclick="spider_set_input_value('task', 'save_order')" value="<?php _e("Save Order", 'bwg_back'); ?>" />
|
65 |
<input class="button-secondary" type="submit" onclick="spider_set_input_value('task', 'publish_all')" value="<?php _e("Publish", 'bwg_back'); ?>" />
|
66 |
<input class="button-secondary" type="submit" onclick="spider_set_input_value('task', 'unpublish_all')" value="<?php _e("Unpublish", 'bwg_back'); ?>" />
|
67 |
+
<input class="button-secondary" type="submit" onclick="if (confirm('<?php echo addslashes(__("Do you want to delete selected items?", 'bwg_back')); ?>')) {
|
68 |
spider_set_input_value('task', 'delete_all');
|
69 |
} else {
|
70 |
return false;
|
admin/views/BWGViewEditThumb.php
CHANGED
@@ -739,7 +739,7 @@ class BWGViewEditThumb {
|
|
739 |
</div>
|
740 |
</div>
|
741 |
<div class="reset_cont">
|
742 |
-
<a class="reset_img" onclick="if (confirm('<?php
|
743 |
</div>
|
744 |
<div class="flip_cont" >
|
745 |
<img title="Flip Both" class="effect" onclick="spider_rotate('both', 'bwg_rotate_image')" src="<?php echo WD_BWG_URL . '/images/effects/flip_both.png'; ?>"/>
|
739 |
</div>
|
740 |
</div>
|
741 |
<div class="reset_cont">
|
742 |
+
<a class="reset_img" onclick="if (confirm('<?php echo addslashes(__("Do you want to reset the image?", 'bwg_back')); ?>')) spider_rotate('recover', 'bwg_rotate_image'); else return false; "><?php _e("Reset image", 'bwg_back'); ?></a>
|
743 |
</div>
|
744 |
<div class="flip_cont" >
|
745 |
<img title="Flip Both" class="effect" onclick="spider_rotate('both', 'bwg_rotate_image')" src="<?php echo WD_BWG_URL . '/images/effects/flip_both.png'; ?>"/>
|
admin/views/BWGViewGalleries_bwg.php
CHANGED
@@ -64,7 +64,7 @@ class BWGViewGalleries_bwg {
|
|
64 |
<input class="button-secondary" type="submit" onclick="spider_set_input_value('task', 'save_order')" value="<?php _e("Save Order", 'bwg_back'); ?>" />
|
65 |
<input class="button-secondary" type="submit" onclick="spider_set_input_value('task', 'publish_all')" value="<?php _e("Publish", 'bwg_back'); ?>" />
|
66 |
<input class="button-secondary" type="submit" onclick="spider_set_input_value('task', 'unpublish_all')" value="<?php _e("Unpublish", 'bwg_back'); ?>" />
|
67 |
-
<input class="button-secondary" type="submit" onclick="if (confirm('<?php
|
68 |
spider_set_input_value('task', 'delete_all');
|
69 |
} else {
|
70 |
return false;
|
@@ -367,7 +367,7 @@ class BWGViewGalleries_bwg {
|
|
367 |
span_edit_recover.setAttribute('class', "edit_thumb");
|
368 |
div_edit.appendChild(span_edit_recover);
|
369 |
var a_recover = document.createElement('a');
|
370 |
-
a_recover.setAttribute('onclick', 'if (confirm("<?php
|
371 |
a_recover.innerHTML = "<?php _e("Reset", 'bwg_back'); ?>";
|
372 |
span_edit_recover.appendChild(a_recover);
|
373 |
}
|
@@ -744,7 +744,7 @@ class BWGViewGalleries_bwg {
|
|
744 |
<input class="button-secondary" type="submit" onclick="spider_set_input_value('ajax_task', 'image_unpublish_all');
|
745 |
spider_ajax_save('galleries_form');
|
746 |
return false;" value="<?php _e("Unpublish", 'bwg_back'); ?>" />
|
747 |
-
<input class="button-secondary spider_delete_button" type="submit" onclick="if (confirm('<?php
|
748 |
spider_set_input_value('ajax_task', 'image_delete_all');
|
749 |
spider_ajax_save('galleries_form');
|
750 |
return false;
|
@@ -922,7 +922,7 @@ class BWGViewGalleries_bwg {
|
|
922 |
$query_url = add_query_arg(array('TB_iframe' => '1'), $query_url);
|
923 |
?>
|
924 |
<span class="edit_thumb"><a class="thickbox thickbox-preview" href="<?php echo $query_url; ?>"><?php _e("Edit", 'bwg_back'); ?></a></span> |
|
925 |
-
<span class="edit_thumb"><a onclick="if (confirm('<?php
|
926 |
spider_set_input_value('ajax_task', 'recover');
|
927 |
spider_set_input_value('image_current_id', '<?php echo $row_data->id; ?>');
|
928 |
spider_ajax_save('galleries_form');
|
64 |
<input class="button-secondary" type="submit" onclick="spider_set_input_value('task', 'save_order')" value="<?php _e("Save Order", 'bwg_back'); ?>" />
|
65 |
<input class="button-secondary" type="submit" onclick="spider_set_input_value('task', 'publish_all')" value="<?php _e("Publish", 'bwg_back'); ?>" />
|
66 |
<input class="button-secondary" type="submit" onclick="spider_set_input_value('task', 'unpublish_all')" value="<?php _e("Unpublish", 'bwg_back'); ?>" />
|
67 |
+
<input class="button-secondary" type="submit" onclick="if (confirm('<?php echo addslashes(__("Do you want to delete selected items?", 'bwg_back')); ?>')) {
|
68 |
spider_set_input_value('task', 'delete_all');
|
69 |
} else {
|
70 |
return false;
|
367 |
span_edit_recover.setAttribute('class', "edit_thumb");
|
368 |
div_edit.appendChild(span_edit_recover);
|
369 |
var a_recover = document.createElement('a');
|
370 |
+
a_recover.setAttribute('onclick', 'if (confirm("<?php echo addslashes(__("Do you want to reset the image?", 'bwg_back')); ?>")) { spider_set_input_value("ajax_task", "recover"); spider_set_input_value("image_current_id", "' + bwg_j + '"); spider_ajax_save("galleries_form");} return false;');
|
371 |
a_recover.innerHTML = "<?php _e("Reset", 'bwg_back'); ?>";
|
372 |
span_edit_recover.appendChild(a_recover);
|
373 |
}
|
744 |
<input class="button-secondary" type="submit" onclick="spider_set_input_value('ajax_task', 'image_unpublish_all');
|
745 |
spider_ajax_save('galleries_form');
|
746 |
return false;" value="<?php _e("Unpublish", 'bwg_back'); ?>" />
|
747 |
+
<input class="button-secondary spider_delete_button" type="submit" onclick="if (confirm('<?php echo addslashes(__("Do you want to delete selected items?", 'bwg_back')); ?>')) {
|
748 |
spider_set_input_value('ajax_task', 'image_delete_all');
|
749 |
spider_ajax_save('galleries_form');
|
750 |
return false;
|
922 |
$query_url = add_query_arg(array('TB_iframe' => '1'), $query_url);
|
923 |
?>
|
924 |
<span class="edit_thumb"><a class="thickbox thickbox-preview" href="<?php echo $query_url; ?>"><?php _e("Edit", 'bwg_back'); ?></a></span> |
|
925 |
+
<span class="edit_thumb"><a onclick="if (confirm('<?php echo addslashes(__("Do you want to reset the image?", 'bwg_back')); ?>')) {
|
926 |
spider_set_input_value('ajax_task', 'recover');
|
927 |
spider_set_input_value('image_current_id', '<?php echo $row_data->id; ?>');
|
928 |
spider_ajax_save('galleries_form');
|
admin/views/BWGViewOptions_bwg.php
CHANGED
@@ -92,7 +92,7 @@ class BWGViewOptions_bwg {
|
|
92 |
<div style="display: inline-block; width: 100%;">
|
93 |
<div style="float: right;">
|
94 |
<input class="button-primary" type="submit" onclick="if (spider_check_required('title', 'Title')) {return false;}; spider_set_input_value('task', 'save')" value="<?php _e("Save", 'bwg_back'); ?>" />
|
95 |
-
<input class="button-secondary" type="submit" onclick="if (confirm('<?php
|
96 |
spider_set_input_value('task', 'reset');
|
97 |
} else {
|
98 |
return false;
|
92 |
<div style="display: inline-block; width: 100%;">
|
93 |
<div style="float: right;">
|
94 |
<input class="button-primary" type="submit" onclick="if (spider_check_required('title', 'Title')) {return false;}; spider_set_input_value('task', 'save')" value="<?php _e("Save", 'bwg_back'); ?>" />
|
95 |
+
<input class="button-secondary" type="submit" onclick="if (confirm('<?php echo addslashes(__("Do you want to reset to default?", 'bwg_back')); ?>')) {
|
96 |
spider_set_input_value('task', 'reset');
|
97 |
} else {
|
98 |
return false;
|
admin/views/BWGViewTags_bwg.php
CHANGED
@@ -55,12 +55,12 @@ class BWGViewTags_bwg {
|
|
55 |
<span class="tag_icon"></span>
|
56 |
<h2><?php _e("Tags", 'bwg_back'); ?></h2>
|
57 |
<div class="buttons_div">
|
58 |
-
<input class="button-secondary" type="submit" value="<?php
|
59 |
spider_set_input_value('task', 'edit_tags');
|
60 |
} else {
|
61 |
return false;
|
62 |
}" />
|
63 |
-
<input class="button-secondary" type="submit" value="<?php
|
64 |
spider_set_input_value('task', 'delete_all');
|
65 |
} else {
|
66 |
return false;
|
55 |
<span class="tag_icon"></span>
|
56 |
<h2><?php _e("Tags", 'bwg_back'); ?></h2>
|
57 |
<div class="buttons_div">
|
58 |
+
<input class="button-secondary" type="submit" value="<?php echo addslashes(__("Save", 'bwg_back')); ?>" onclick="if (confirm('Do you want to save items?')){
|
59 |
spider_set_input_value('task', 'edit_tags');
|
60 |
} else {
|
61 |
return false;
|
62 |
}" />
|
63 |
+
<input class="button-secondary" type="submit" value="<?php echo addslashes(__("Delete", 'bwg_back')); ?>" onclick="if (confirm('Do you want to delete selected items?')) {
|
64 |
spider_set_input_value('task', 'delete_all');
|
65 |
} else {
|
66 |
return false;
|
admin/views/BWGViewThemes_bwg.php
CHANGED
@@ -80,7 +80,7 @@ class BWGViewThemes_bwg {
|
|
80 |
spider_form_submit(event, 'themes_form')"><?php _e("Add new", 'bwg_back'); ?></a>
|
81 |
</h2>
|
82 |
<div class="buttons_div">
|
83 |
-
<input class="button-secondary" type="submit" onclick="if (confirm('<?php echo __('Do you want to delete selected items?', 'bwg_back'); ?>')) {
|
84 |
spider_set_input_value('task', 'delete_all');
|
85 |
} else {
|
86 |
return false;
|
@@ -264,7 +264,7 @@ class BWGViewThemes_bwg {
|
|
264 |
<input class="button-secondary" type="submit" onclick="if (spider_check_required('name', 'Name')) {return false;}; spider_set_input_value('task', 'save')" value="<?php _e("Save", 'bwg_back'); ?>"/>
|
265 |
<input class="button-secondary" type="submit" onclick="if (spider_check_required('name', 'Name')) {return false;}; spider_set_input_value('task', 'apply')" value="<?php _e("Apply", 'bwg_back'); ?>"/>
|
266 |
<input class="button-secondary" type="submit" onclick="spider_set_input_value('task', 'cancel')" value="<?php _e("Cancel", 'bwg_back'); ?>"/>
|
267 |
-
<input title="Reset to default theme" class="button-primary" type="submit" onclick="if (confirm('<?php
|
268 |
spider_set_input_value('task', 'reset');
|
269 |
} else {
|
270 |
return false;
|
80 |
spider_form_submit(event, 'themes_form')"><?php _e("Add new", 'bwg_back'); ?></a>
|
81 |
</h2>
|
82 |
<div class="buttons_div">
|
83 |
+
<input class="button-secondary" type="submit" onclick="if (confirm('<?php echo addslashes(__('Do you want to delete selected items?', 'bwg_back')); ?>')) {
|
84 |
spider_set_input_value('task', 'delete_all');
|
85 |
} else {
|
86 |
return false;
|
264 |
<input class="button-secondary" type="submit" onclick="if (spider_check_required('name', 'Name')) {return false;}; spider_set_input_value('task', 'save')" value="<?php _e("Save", 'bwg_back'); ?>"/>
|
265 |
<input class="button-secondary" type="submit" onclick="if (spider_check_required('name', 'Name')) {return false;}; spider_set_input_value('task', 'apply')" value="<?php _e("Apply", 'bwg_back'); ?>"/>
|
266 |
<input class="button-secondary" type="submit" onclick="spider_set_input_value('task', 'cancel')" value="<?php _e("Cancel", 'bwg_back'); ?>"/>
|
267 |
+
<input title="Reset to default theme" class="button-primary" type="submit" onclick="if (confirm('<?php echo addslashes(__("Do you want to reset to default?", 'bwg_back')); ?>')) {
|
268 |
spider_set_input_value('task', 'reset');
|
269 |
} else {
|
270 |
return false;
|
admin/views/BWGViewUninstall_bwg.php
CHANGED
@@ -80,7 +80,7 @@ class BWGViewUninstall_bwg {
|
|
80 |
</p>
|
81 |
<p style="text-align: center;">
|
82 |
<input type="submit" value="UNINSTALL" class="button-primary" onclick="if (check_yes.checked) {
|
83 |
-
if (confirm('<?php
|
84 |
spider_set_input_value('task', 'uninstall');
|
85 |
} else {
|
86 |
return false;
|
80 |
</p>
|
81 |
<p style="text-align: center;">
|
82 |
<input type="submit" value="UNINSTALL" class="button-primary" onclick="if (check_yes.checked) {
|
83 |
+
if (confirm('<?php echo addslashes(__("You are About to Uninstall Photo Gallery from WordPress. This Action Is Not Reversible.", 'bwg_back')); ?>')) {
|
84 |
spider_set_input_value('task', 'uninstall');
|
85 |
} else {
|
86 |
return false;
|
frontend/views/BWGViewGalleryBox.php
CHANGED
@@ -500,7 +500,7 @@ class BWGViewGalleryBox {
|
|
500 |
height: <?php echo $image_filmstrip_height; ?>px;
|
501 |
position: absolute;
|
502 |
width: <?php echo $image_width; ?>px;
|
503 |
-
z-index:
|
504 |
<?php echo $theme_row->lightbox_filmstrip_pos; ?>: 0;
|
505 |
}
|
506 |
.bwg_filmstrip {
|
500 |
height: <?php echo $image_filmstrip_height; ?>px;
|
501 |
position: absolute;
|
502 |
width: <?php echo $image_width; ?>px;
|
503 |
+
z-index: 10150;
|
504 |
<?php echo $theme_row->lightbox_filmstrip_pos; ?>: 0;
|
505 |
}
|
506 |
.bwg_filmstrip {
|
photo-gallery.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
* Plugin Name: Photo Gallery
|
5 |
* Plugin URI: https://web-dorado.com/products/wordpress-photo-gallery-plugin.html
|
6 |
* Description: This plugin is a fully responsive gallery plugin with advanced functionality. It allows having different image galleries for your posts and pages. You can create unlimited number of galleries, combine them into albums, and provide descriptions and tags.
|
7 |
-
* Version: 1.2.
|
8 |
* Author: WebDorado
|
9 |
* Author URI: https://web-dorado.com/
|
10 |
* License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
|
@@ -1900,7 +1900,7 @@ function bwg_activate() {
|
|
1900 |
));
|
1901 |
}
|
1902 |
$version = get_option("wd_bwg_version");
|
1903 |
-
$new_version = '1.2.
|
1904 |
if ($version && version_compare($version, $new_version, '<')) {
|
1905 |
require_once WD_BWG_DIR . "/update/bwg_update.php";
|
1906 |
bwg_update($version);
|
@@ -1948,7 +1948,7 @@ wp_oembed_add_provider( '#https://instagr(\.am|am\.com)/p/.*#i', 'https://api.in
|
|
1948 |
|
1949 |
function bwg_update_hook() {
|
1950 |
$version = get_option("wd_bwg_version");
|
1951 |
-
$new_version = '1.2.
|
1952 |
if ($version && version_compare($version, $new_version, '<')) {
|
1953 |
require_once WD_BWG_DIR . "/update/bwg_update.php";
|
1954 |
bwg_update($version);
|
4 |
* Plugin Name: Photo Gallery
|
5 |
* Plugin URI: https://web-dorado.com/products/wordpress-photo-gallery-plugin.html
|
6 |
* Description: This plugin is a fully responsive gallery plugin with advanced functionality. It allows having different image galleries for your posts and pages. You can create unlimited number of galleries, combine them into albums, and provide descriptions and tags.
|
7 |
+
* Version: 1.2.83
|
8 |
* Author: WebDorado
|
9 |
* Author URI: https://web-dorado.com/
|
10 |
* License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
|
1900 |
));
|
1901 |
}
|
1902 |
$version = get_option("wd_bwg_version");
|
1903 |
+
$new_version = '1.2.83';
|
1904 |
if ($version && version_compare($version, $new_version, '<')) {
|
1905 |
require_once WD_BWG_DIR . "/update/bwg_update.php";
|
1906 |
bwg_update($version);
|
1948 |
|
1949 |
function bwg_update_hook() {
|
1950 |
$version = get_option("wd_bwg_version");
|
1951 |
+
$new_version = '1.2.83';
|
1952 |
if ($version && version_compare($version, $new_version, '<')) {
|
1953 |
require_once WD_BWG_DIR . "/update/bwg_update.php";
|
1954 |
bwg_update($version);
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: https://web-dorado.com/products/wordpress-photo-gallery-plugin.html
|
|
4 |
Tags: photo, photo gallery, image gallery, video gallery, gallery, galleries, wordpress gallery plugin, images gallery, album, photo albums, simple gallery, best gallery plugin, free photo gallery, wp gallery, wordpress gallery, website gallery, gallery shortcode, best gallery, picture, pictures, gallery slider, photo album, photogallery, widget gallery, image, images, photos, gallery lightbox, photoset, wordpress photo gallery plugin, wp gallery plugins, responsive wordpress photo gallery, media, image album, filterable gallery, banner rotator, fullscreen gallery, fotogalerie, galleria, galerie, galeri, responsive gallery, add album, add gallery, add pictures, fotoalbum, foto, gallery decription, multiple pictures, photoalbum, upload images, upload photos, view images, view pictures, admin, AJAX, comments, gallery image, image lightbox, image rotate, image slideshow, image slider, jquery, jquery gallery, slide show, slideshow, thumbnail, thumbnail view, thumbnails, thumbs, responsive, watermarking, watermarks,fullscreen slider, lightbox, photography, sidebar, slide, youtube, vimeo, videos, instagram, facebook, mosaic, facebook integration, instagram feed, Flickr, Dailymotion, widget, youtube gallery
|
5 |
Requires at least: 3.4
|
6 |
Tested up to: 4.4
|
7 |
-
Stable tag: 1.2.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -215,6 +215,10 @@ Yes, it is possible to add advertising and/or watermark over the images. In both
|
|
215 |
|
216 |
== Changelog ==
|
217 |
|
|
|
|
|
|
|
|
|
218 |
= 1.2.82 =
|
219 |
* Added: "Load More..." translation.
|
220 |
* Fixed: "lightbox_ctrl_btn_pos" bug.
|
4 |
Tags: photo, photo gallery, image gallery, video gallery, gallery, galleries, wordpress gallery plugin, images gallery, album, photo albums, simple gallery, best gallery plugin, free photo gallery, wp gallery, wordpress gallery, website gallery, gallery shortcode, best gallery, picture, pictures, gallery slider, photo album, photogallery, widget gallery, image, images, photos, gallery lightbox, photoset, wordpress photo gallery plugin, wp gallery plugins, responsive wordpress photo gallery, media, image album, filterable gallery, banner rotator, fullscreen gallery, fotogalerie, galleria, galerie, galeri, responsive gallery, add album, add gallery, add pictures, fotoalbum, foto, gallery decription, multiple pictures, photoalbum, upload images, upload photos, view images, view pictures, admin, AJAX, comments, gallery image, image lightbox, image rotate, image slideshow, image slider, jquery, jquery gallery, slide show, slideshow, thumbnail, thumbnail view, thumbnails, thumbs, responsive, watermarking, watermarks,fullscreen slider, lightbox, photography, sidebar, slide, youtube, vimeo, videos, instagram, facebook, mosaic, facebook integration, instagram feed, Flickr, Dailymotion, widget, youtube gallery
|
5 |
Requires at least: 3.4
|
6 |
Tested up to: 4.4
|
7 |
+
Stable tag: 1.2.83
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
215 |
|
216 |
== Changelog ==
|
217 |
|
218 |
+
= 1.2.83 =
|
219 |
+
* Fixed: Add selected images to gallery.
|
220 |
+
* Fixed: Controll buttons and filmstrip conflict in lightbox.
|
221 |
+
|
222 |
= 1.2.82 =
|
223 |
* Added: "Load More..." translation.
|
224 |
* Fixed: "lightbox_ctrl_btn_pos" bug.
|