Version Description
Download this release
Release Info
Developer | webdorado |
Plugin | Photo Gallery by WD – Responsive Photo Gallery |
Version | 1.1.11 |
Comparing to | |
See all releases |
Code changes from version 1.1.10 to 1.1.11
- admin/views/BWGViewBWGShortcode.php +2 -2
- admin/views/BWGViewWidget.php +1 -1
- admin/views/BWGViewWidgetSlideshow.php +1 -1
- admin/views/BWGViewWidgetTags.php +1 -1
- images/best-wordpress-gallery-hover.png +0 -0
- images/bwg_edit_but.png +0 -0
- js/bwg_editor_button.js +2 -1
- photo-gallery.php +2 -11
- readme.txt +2 -2
admin/views/BWGViewBWGShortcode.php
CHANGED
@@ -65,7 +65,6 @@ class BWGViewBWGShortcode {
|
|
65 |
<title>Photo Gallery</title>
|
66 |
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
67 |
<script language="javascript" type="text/javascript" src="<?php echo get_option("siteurl"); ?>/wp-includes/js/tinymce/tiny_mce_popup.js"></script>
|
68 |
-
<link rel="stylesheet" href="<?php echo get_option("siteurl"); ?>/wp-includes/js/tinymce/themes/advanced/skins/wp_theme/dialog.css?ver=342-20110630100">
|
69 |
<script language="javascript" type="text/javascript" src="<?php echo get_option("siteurl"); ?>/wp-includes/js/tinymce/utils/mctabs.js"></script>
|
70 |
<script language="javascript" type="text/javascript" src="<?php echo get_option("siteurl"); ?>/wp-includes/js/tinymce/utils/form_utils.js"></script>
|
71 |
<?php
|
@@ -1191,7 +1190,8 @@ class BWGViewBWGShortcode {
|
|
1191 |
tinyMCE.activeEditor.setContent(all_content.replace(content, "[Best_Wordpress_Gallery" + tagtext + "]"));
|
1192 |
}
|
1193 |
else {
|
1194 |
-
window.tinyMCE.execInstanceCommand('content', 'mceInsertContent', false, short_code);
|
|
|
1195 |
// window.tinyMCE.activeEditor.dom.setAttrib(window.tinyMCE.activeEditor.selection.getNode(), "title", "Best_Wordpress_Gallery" + tagtext);
|
1196 |
}
|
1197 |
tinyMCEPopup.editor.execCommand('mceRepaint');
|
65 |
<title>Photo Gallery</title>
|
66 |
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
67 |
<script language="javascript" type="text/javascript" src="<?php echo get_option("siteurl"); ?>/wp-includes/js/tinymce/tiny_mce_popup.js"></script>
|
|
|
68 |
<script language="javascript" type="text/javascript" src="<?php echo get_option("siteurl"); ?>/wp-includes/js/tinymce/utils/mctabs.js"></script>
|
69 |
<script language="javascript" type="text/javascript" src="<?php echo get_option("siteurl"); ?>/wp-includes/js/tinymce/utils/form_utils.js"></script>
|
70 |
<?php
|
1190 |
tinyMCE.activeEditor.setContent(all_content.replace(content, "[Best_Wordpress_Gallery" + tagtext + "]"));
|
1191 |
}
|
1192 |
else {
|
1193 |
+
// window.tinyMCE.execInstanceCommand('content', 'mceInsertContent', false, short_code);
|
1194 |
+
window.tinyMCE.execCommand('mceInsertContent', false, short_code);
|
1195 |
// window.tinyMCE.activeEditor.dom.setAttrib(window.tinyMCE.activeEditor.selection.getNode(), "title", "Best_Wordpress_Gallery" + tagtext);
|
1196 |
}
|
1197 |
tinyMCEPopup.editor.execCommand('mceRepaint');
|
admin/views/BWGViewWidget.php
CHANGED
@@ -27,7 +27,7 @@ class BWGViewWidget {
|
|
27 |
|
28 |
function widget($args, $instance) {
|
29 |
extract($args);
|
30 |
-
$title = $instance['title'];
|
31 |
$type = (isset($instance['type']) ? $instance['type'] : "gallery");
|
32 |
$gallery_id = (isset($instance['gallery_id']) ? $instance['gallery_id'] : 0);
|
33 |
$album_id = (isset($instance['album_id']) ? $instance['album_id'] : 0);
|
27 |
|
28 |
function widget($args, $instance) {
|
29 |
extract($args);
|
30 |
+
$title = (isset($instance['title']) ? $instance['title'] : "");
|
31 |
$type = (isset($instance['type']) ? $instance['type'] : "gallery");
|
32 |
$gallery_id = (isset($instance['gallery_id']) ? $instance['gallery_id'] : 0);
|
33 |
$album_id = (isset($instance['album_id']) ? $instance['album_id'] : 0);
|
admin/views/BWGViewWidgetSlideshow.php
CHANGED
@@ -27,7 +27,7 @@ class BWGViewWidgetSlideshow {
|
|
27 |
|
28 |
function widget($args, $instance) {
|
29 |
extract($args);
|
30 |
-
$title = $instance['title'];
|
31 |
$gallery_id = (isset($instance['gallery_id']) ? $instance['gallery_id'] : 0);
|
32 |
$width = (isset($instance['width']) ? $instance['width'] : 200);
|
33 |
$height = (isset($instance['height']) ? $instance['height'] : 200);
|
27 |
|
28 |
function widget($args, $instance) {
|
29 |
extract($args);
|
30 |
+
$title = (isset($instance['title']) ? $instance['title'] : '');
|
31 |
$gallery_id = (isset($instance['gallery_id']) ? $instance['gallery_id'] : 0);
|
32 |
$width = (isset($instance['width']) ? $instance['width'] : 200);
|
33 |
$height = (isset($instance['height']) ? $instance['height'] : 200);
|
admin/views/BWGViewWidgetTags.php
CHANGED
@@ -27,7 +27,7 @@ class BWGViewWidgetTags {
|
|
27 |
|
28 |
function widget($args, $instance) {
|
29 |
extract($args);
|
30 |
-
$title = $instance['title'];
|
31 |
$type = (isset($instance['type']) ? $instance['type'] : "text");
|
32 |
$show_name = (isset($instance['show_name']) ? $instance['show_name'] : 0);
|
33 |
$count = (isset($instance['count']) ? $instance['count'] : 0);
|
27 |
|
28 |
function widget($args, $instance) {
|
29 |
extract($args);
|
30 |
+
$title = (isset($instance['title']) ? $instance['title'] : '');
|
31 |
$type = (isset($instance['type']) ? $instance['type'] : "text");
|
32 |
$show_name = (isset($instance['show_name']) ? $instance['show_name'] : 0);
|
33 |
$count = (isset($instance['count']) ? $instance['count'] : 0);
|
images/best-wordpress-gallery-hover.png
DELETED
Binary file
|
images/bwg_edit_but.png
ADDED
Binary file
|
js/bwg_editor_button.js
CHANGED
@@ -24,7 +24,8 @@
|
|
24 |
});
|
25 |
ed.addButton('bwg_mce', {
|
26 |
title:'Insert Photo Gallery',
|
27 |
-
cmd:'mcebwg_mce'
|
|
|
28 |
});
|
29 |
ed.onMouseDown.add(function (d, f) {
|
30 |
if (f.target.nodeName == "IMG" && d.dom.hasClass(f.target, "bwg_shortcode")) {
|
24 |
});
|
25 |
ed.addButton('bwg_mce', {
|
26 |
title:'Insert Photo Gallery',
|
27 |
+
cmd:'mcebwg_mce',
|
28 |
+
image: bwg_plugin_url + '/images/bwg_edit_but.png'
|
29 |
});
|
30 |
ed.onMouseDown.add(function (d, f) {
|
31 |
if (f.target.nodeName == "IMG" && d.dom.hasClass(f.target, "bwg_shortcode")) {
|
photo-gallery.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
* Plugin Name: Photo Gallery
|
5 |
* Plugin URI: http://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.1.
|
8 |
* Author: http://web-dorado.com/
|
9 |
* License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
|
10 |
*/
|
@@ -346,15 +346,6 @@ function bwg_admin_ajax() {
|
|
346 |
var bwg_admin_ajax = '<?php echo add_query_arg(array('action' => 'BWGShortcode'), admin_url('admin-ajax.php')); ?>';
|
347 |
var bwg_plugin_url = '<?php echo WD_BWG_URL; ?>';
|
348 |
</script>
|
349 |
-
<style type="text/css">
|
350 |
-
.wp_themeSkin span.mce_bwg_mce {
|
351 |
-
background:url('<?php echo WD_BWG_URL . '/images/best-wordpress-gallery.png'; ?>') no-repeat !important;
|
352 |
-
}
|
353 |
-
.wp_themeSkin .mceButtonEnabled:hover span.mce_bwg_mce,
|
354 |
-
.wp_themeSkin .mceButtonActive span.mce_bwg_mce {
|
355 |
-
background:url('<?php echo WD_BWG_URL . '/images/best-wordpress-gallery-hover.png'; ?>') no-repeat !important;
|
356 |
-
}
|
357 |
-
</style>
|
358 |
<?php
|
359 |
}
|
360 |
add_action('admin_head', 'bwg_admin_ajax');
|
@@ -2390,7 +2381,7 @@ function bwg_activate() {
|
|
2390 |
));
|
2391 |
}
|
2392 |
$version = get_option("wd_bwg_version");
|
2393 |
-
$new_version = '1.1.
|
2394 |
if ($version && version_compare($version, $new_version, '<')) {
|
2395 |
require_once WD_BWG_DIR . "/update/bwg_update.php";
|
2396 |
bwg_update($version);
|
4 |
* Plugin Name: Photo Gallery
|
5 |
* Plugin URI: http://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.1.11
|
8 |
* Author: http://web-dorado.com/
|
9 |
* License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
|
10 |
*/
|
346 |
var bwg_admin_ajax = '<?php echo add_query_arg(array('action' => 'BWGShortcode'), admin_url('admin-ajax.php')); ?>';
|
347 |
var bwg_plugin_url = '<?php echo WD_BWG_URL; ?>';
|
348 |
</script>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
349 |
<?php
|
350 |
}
|
351 |
add_action('admin_head', 'bwg_admin_ajax');
|
2381 |
));
|
2382 |
}
|
2383 |
$version = get_option("wd_bwg_version");
|
2384 |
+
$new_version = '1.1.11';
|
2385 |
if ($version && version_compare($version, $new_version, '<')) {
|
2386 |
require_once WD_BWG_DIR . "/update/bwg_update.php";
|
2387 |
bwg_update($version);
|
readme.txt
CHANGED
@@ -3,8 +3,8 @@ Contributors: webdorado
|
|
3 |
Donate link: http://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
|
5 |
Requires at least: 3.0
|
6 |
-
Tested up to: 3.
|
7 |
-
Stable tag: 1.1.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
3 |
Donate link: http://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
|
5 |
Requires at least: 3.0
|
6 |
+
Tested up to: 3.9
|
7 |
+
Stable tag: 1.1.11
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|