Gallery by BestWebSoft - Version 3.8.3

Version Description

  • 04.01.2013 =
  • Bugfix : The bug with the ability to order images in a single gallery page was fixed.
Download this release

Release Info

Developer bestwebsoft
Plugin Icon 128x128 Gallery by BestWebSoft
Version 3.8.3
Comparing to
See all releases

Code changes from version 3.8.2 to 3.8.3

Files changed (2) hide show
  1. gallery-plugin.php +45 -46
  2. readme.txt +9 -1
gallery-plugin.php CHANGED
@@ -4,7 +4,7 @@ Plugin Name: Gallery Plugin
4
  Plugin URI: http://bestwebsoft.com/plugin/
5
  Description: This plugin allows you to implement gallery page into web site.
6
  Author: BestWebSoft
7
- Version: 3.8.2
8
  Author URI: http://bestwebsoft.com/
9
  License: GPLv2 or later
10
  */
@@ -592,7 +592,8 @@ if( ! function_exists( 'bws_add_menu_render' ) ) {
592
  array( 'adsense-plugin\/adsense-plugin.php', 'Google AdSense Plugin', 'http://wordpress.org/extend/plugins/adsense-plugin/', 'http://bestwebsoft.com/plugin/google-adsense-plugin/', '/wp-admin/plugin-install.php?tab=search&type=term&s=Adsense+Plugin+bestwebsoft&plugin-search-input=Search+Plugins', 'admin.php?page=adsense-plugin.php' ),
593
  array( 'custom-search-plugin\/custom-search-plugin.php', 'Custom Search Plugin', 'http://wordpress.org/extend/plugins/custom-search-plugin/', 'http://bestwebsoft.com/plugin/custom-search-plugin/', '/wp-admin/plugin-install.php?tab=search&type=term&s=Custom+Search+plugin+bestwebsoft&plugin-search-input=Search+Plugins', 'admin.php?page=custom_search.php' ),
594
  array( 'quotes-and-tips\/quotes-and-tips.php', 'Quotes and Tips', 'http://wordpress.org/extend/plugins/quotes-and-tips/', 'http://bestwebsoft.com/plugin/quotes-and-tips/', '/wp-admin/plugin-install.php?tab=search&type=term&s=Quotes+and+Tips+bestwebsoft&plugin-search-input=Search+Plugins', 'admin.php?page=quotes-and-tips.php' ),
595
- array( 'google-sitemap-plugin\/google-sitemap-plugin.php', 'Google sitemap plugin', 'http://wordpress.org/extend/plugins/google-sitemap-plugin/', 'http://bestwebsoft.com/plugin/google-sitemap-plugin/', '/wp-admin/plugin-install.php?tab=search&type=term&s=Google+sitemap+plugin+bestwebsoft&plugin-search-input=Search+Plugins', 'admin.php?page=google-sitemap-plugin.php' )
 
596
  );
597
  foreach( $array_plugins as $plugins ) {
598
  if( 0 < count( preg_grep( "/".$plugins[0]."/", $active_plugins ) ) ) {
@@ -948,52 +949,50 @@ if ( ! function_exists ( 'gllr_add_admin_script' ) ) {
948
  if( $wp_version >= 3.5 && $_REQUEST['page'] == 'gallery-plugin.php' ) { ?>
949
  <link rel="stylesheet" media="screen" type="text/css" href="<?php echo plugins_url( 'minicolors/jquery.miniColors.css', __FILE__ ); ?>" />
950
  <script type="text/javascript" src="<?php echo plugins_url( 'minicolors/jquery.miniColors.js', __FILE__ ); ?>"></script>
951
- <?php }
952
- if( $_REQUEST['page'] == 'gallery-plugin.php' ) { ?>
953
- <script type="text/javascript">
954
- (function($) {
955
- $(document).ready(function(){
956
- $('.gllr_image_block img').css('cursor', 'all-scroll' );
957
- $('.gllr_order_message').removeClass('hidden');
958
- var d=false;
959
- $( '#Upload-File .gallery' ).sortable({
960
- stop: function(event, ui) {
961
- $('.gllr_order_text').removeClass('hidden');
962
- var g=$('#Upload-File .gallery').sortable('toArray');
963
- var f=g.length;
964
- $.each( g,
965
- function( k,l ){
966
- var j=d?(f-k):(1+k);
967
- $('.gllr_order_text[name^="gllr_order_text['+l+']"]').val(j);
968
- }
969
- )
970
- }
971
- });
972
- <?php if( $wp_version < 3.5 ) { ?>
973
- var gllr_farbtastic = $.farbtastic('#colorPickerDiv', function(color) {
974
- gllr_farbtastic.setColor(color);
975
- $('#gllr_border_images_color').val(color);
976
- $('#gllr_border_images_color_small').css('background-color', color);
977
- });
978
- $('#gllr_border_images_color').click(function(){
979
- $('#colorPickerDiv').show();
980
- });
981
- $('#gllr_border_images_color_small').click(function(){
982
- $('#colorPickerDiv').show();
983
- });
984
- $(document).mousedown(function(){
985
- $('#colorPickerDiv').each(function(){
986
- var display = $(this).css('display');
987
- if ( display == 'block' )
988
- jQuery(this).fadeOut(2);
989
- });
990
  });
991
- <?php } ?>
992
  });
993
- })(jQuery);
994
- </script>
995
- <?php }
996
- }
 
997
  }
998
 
999
  if ( ! function_exists ( 'gllr_admin_head' ) ) {
4
  Plugin URI: http://bestwebsoft.com/plugin/
5
  Description: This plugin allows you to implement gallery page into web site.
6
  Author: BestWebSoft
7
+ Version: 3.8.3
8
  Author URI: http://bestwebsoft.com/
9
  License: GPLv2 or later
10
  */
592
  array( 'adsense-plugin\/adsense-plugin.php', 'Google AdSense Plugin', 'http://wordpress.org/extend/plugins/adsense-plugin/', 'http://bestwebsoft.com/plugin/google-adsense-plugin/', '/wp-admin/plugin-install.php?tab=search&type=term&s=Adsense+Plugin+bestwebsoft&plugin-search-input=Search+Plugins', 'admin.php?page=adsense-plugin.php' ),
593
  array( 'custom-search-plugin\/custom-search-plugin.php', 'Custom Search Plugin', 'http://wordpress.org/extend/plugins/custom-search-plugin/', 'http://bestwebsoft.com/plugin/custom-search-plugin/', '/wp-admin/plugin-install.php?tab=search&type=term&s=Custom+Search+plugin+bestwebsoft&plugin-search-input=Search+Plugins', 'admin.php?page=custom_search.php' ),
594
  array( 'quotes-and-tips\/quotes-and-tips.php', 'Quotes and Tips', 'http://wordpress.org/extend/plugins/quotes-and-tips/', 'http://bestwebsoft.com/plugin/quotes-and-tips/', '/wp-admin/plugin-install.php?tab=search&type=term&s=Quotes+and+Tips+bestwebsoft&plugin-search-input=Search+Plugins', 'admin.php?page=quotes-and-tips.php' ),
595
+ array( 'google-sitemap-plugin\/google-sitemap-plugin.php', 'Google sitemap plugin', 'http://wordpress.org/extend/plugins/google-sitemap-plugin/', 'http://bestwebsoft.com/plugin/google-sitemap-plugin/', '/wp-admin/plugin-install.php?tab=search&type=term&s=Google+sitemap+plugin+bestwebsoft&plugin-search-input=Search+Plugins', 'admin.php?page=google-sitemap-plugin.php' ),
596
+ array( 'updater\/updater.php', 'Updater', 'http://wordpress.org/extend/plugins/updater/', 'http://bestwebsoft.com/plugin/updater/', '/wp-admin/plugin-install.php?tab=search&s=updater+bestwebsoft&plugin-search-input=Search+Plugins', 'admin.php?page=updater-options' )
597
  );
598
  foreach( $array_plugins as $plugins ) {
599
  if( 0 < count( preg_grep( "/".$plugins[0]."/", $active_plugins ) ) ) {
949
  if( $wp_version >= 3.5 && $_REQUEST['page'] == 'gallery-plugin.php' ) { ?>
950
  <link rel="stylesheet" media="screen" type="text/css" href="<?php echo plugins_url( 'minicolors/jquery.miniColors.css', __FILE__ ); ?>" />
951
  <script type="text/javascript" src="<?php echo plugins_url( 'minicolors/jquery.miniColors.js', __FILE__ ); ?>"></script>
952
+ <?php } ?>
953
+ <script type="text/javascript">
954
+ (function($) {
955
+ $(document).ready(function(){
956
+ $('.gllr_image_block img').css('cursor', 'all-scroll' );
957
+ $('.gllr_order_message').removeClass('hidden');
958
+ var d=false;
959
+ $( '#Upload-File .gallery' ).sortable({
960
+ stop: function(event, ui) {
961
+ $('.gllr_order_text').removeClass('hidden');
962
+ var g=$('#Upload-File .gallery').sortable('toArray');
963
+ var f=g.length;
964
+ $.each( g,
965
+ function( k,l ){
966
+ var j=d?(f-k):(1+k);
967
+ $('.gllr_order_text[name^="gllr_order_text['+l+']"]').val(j);
968
+ }
969
+ )
970
+ }
971
+ });
972
+ <?php if( $wp_version < 3.5 && $_REQUEST['page'] == 'gallery-plugin.php' ) { ?>
973
+ var gllr_farbtastic = $.farbtastic('#colorPickerDiv', function(color) {
974
+ gllr_farbtastic.setColor(color);
975
+ $('#gllr_border_images_color').val(color);
976
+ $('#gllr_border_images_color_small').css('background-color', color);
977
+ });
978
+ $('#gllr_border_images_color').click(function(){
979
+ $('#colorPickerDiv').show();
980
+ });
981
+ $('#gllr_border_images_color_small').click(function(){
982
+ $('#colorPickerDiv').show();
983
+ });
984
+ $(document).mousedown(function(){
985
+ $('#colorPickerDiv').each(function(){
986
+ var display = $(this).css('display');
987
+ if ( display == 'block' )
988
+ jQuery(this).fadeOut(2);
 
 
989
  });
 
990
  });
991
+ <?php } ?>
992
+ });
993
+ })(jQuery);
994
+ </script>
995
+ <?php }
996
  }
997
 
998
  if ( ! function_exists ( 'gllr_admin_head' ) ) {
readme.txt CHANGED
@@ -4,7 +4,9 @@ Donate link: https://www.2checkout.com/checkout/purchase?sid=1430388&quantity=10
4
  Tags: gallery, image, gallery image, album, foto, fotoalbum, website gallery, multiple pictures, pictures, photo, photoalbum, photogallery
5
  Requires at least: 3.0
6
  Tested up to: 3.5
7
- Stable tag: 3.8.2
 
 
8
 
9
  This plugin allows you to implement gallery page into your web site.
10
 
@@ -121,6 +123,9 @@ Just setup a necessary order and click 'Save' button.
121
 
122
  == Changelog ==
123
 
 
 
 
124
  = V3.8.2 - 03.01.2013 =
125
  * Bugfix : The bug with drag'n drop and left admin's panel menu animations when hovered was fixed.
126
 
@@ -241,6 +246,9 @@ Just setup a necessary order and click 'Save' button.
241
 
242
  == Upgrade Notice ==
243
 
 
 
 
244
  = V3.8.2 =
245
  The bug with drag'n drop and left admin's panel menu animations when hovered was fixed.
246
 
4
  Tags: gallery, image, gallery image, album, foto, fotoalbum, website gallery, multiple pictures, pictures, photo, photoalbum, photogallery
5
  Requires at least: 3.0
6
  Tested up to: 3.5
7
+ Stable tag: 3.8.3
8
+ License: GPLv2 or later
9
+ License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
11
  This plugin allows you to implement gallery page into your web site.
12
 
123
 
124
  == Changelog ==
125
 
126
+ = V3.8.3 - 04.01.2013 =
127
+ * Bugfix : The bug with the ability to order images in a single gallery page was fixed.
128
+
129
  = V3.8.2 - 03.01.2013 =
130
  * Bugfix : The bug with drag'n drop and left admin's panel menu animations when hovered was fixed.
131
 
246
 
247
  == Upgrade Notice ==
248
 
249
+ = V3.8.3 =
250
+ The bug with the ability to order images in a single gallery page was fixed.
251
+
252
  = V3.8.2 =
253
  The bug with drag'n drop and left admin's panel menu animations when hovered was fixed.
254