Gallery by BestWebSoft - Version 3.8.5

Version Description

  • 14.02.2013 =
  • Update : We updated displaying fancybox for iPhone and iPad.
  • Update : We updated all functionality for wordpress 3.5.1.
Download this release

Release Info

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

Code changes from version 3.8.4 to 3.8.5

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.4
8
  Author URI: http://bestwebsoft.com/
9
  License: GPLv2 or later
10
  */
@@ -1112,7 +1112,7 @@ if ( ! function_exists ( 'gllr_shortcode' ) ) {
1112
  </a>
1113
  <?php } ?>
1114
  </p>
1115
- <div style="width:<?php echo $gllr_options['gllr_custom_size_px'][1][0]+$gllr_border_images; ?>px; <?php if( 0 == $gllr_options["image_text"] ) echo "visibility:hidden;"; ?>" class="gllr_single_image_text"><?php echo get_post_meta( $attachment->ID, $key, true ); ?>&nbsp;</div>
1116
  </div>
1117
  <?php if( $count_image_block%$gllr_options['custom_image_row_count'] == $gllr_options['custom_image_row_count']-1 ) { ?>
1118
  </div>
@@ -1332,6 +1332,24 @@ if( ! function_exists( 'upload_gallery_image' ) ){
1332
  }
1333
  }
1334
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1335
  register_activation_hook( __FILE__, 'gllr_plugin_install' ); // activate plugin
1336
  register_uninstall_hook( __FILE__, 'gllr_plugin_uninstall' ); // deactivate plugin
1337
 
@@ -1367,4 +1385,6 @@ add_action( 'wp_enqueue_scripts', 'gllr_wp_head' );
1367
  add_shortcode( 'print_gllr', 'gllr_shortcode' );
1368
 
1369
  add_action( 'wp_ajax_upload_gallery_image', 'upload_gallery_image' );
 
 
1370
  ?>
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.5
8
  Author URI: http://bestwebsoft.com/
9
  License: GPLv2 or later
10
  */
1112
  </a>
1113
  <?php } ?>
1114
  </p>
1115
+ <div style="width:<?php echo $gllr_options['gllr_custom_size_px'][1][0]+$gllr_border_images; ?>px; <?php if( 0 == $gllr_options["image_text"] ) echo "visibility:hidden;"; ?>" display="none important!" class="gllr_single_image_text"><?php echo get_post_meta( $attachment->ID, $key, true ); ?>&nbsp;</div>
1116
  </div>
1117
  <?php if( $count_image_block%$gllr_options['custom_image_row_count'] == $gllr_options['custom_image_row_count']-1 ) { ?>
1118
  </div>
1332
  }
1333
  }
1334
 
1335
+ if( ! function_exists( 'gllr_add_for_ios' ) ) {
1336
+ function gllr_add_for_ios() {
1337
+ echo "<meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">"; ?>
1338
+ <!-- Start ios -->
1339
+ <script type="text/javascript">
1340
+ (function($){
1341
+ $(document).ready(function(){
1342
+ $('#fancybox-overlay').css({
1343
+ 'width' : $(document).width()
1344
+ });
1345
+ });
1346
+ })(jQuery);
1347
+ </script>
1348
+ <!-- End ios -->
1349
+ <?php
1350
+ }
1351
+ }
1352
+
1353
  register_activation_hook( __FILE__, 'gllr_plugin_install' ); // activate plugin
1354
  register_uninstall_hook( __FILE__, 'gllr_plugin_uninstall' ); // deactivate plugin
1355
 
1385
  add_shortcode( 'print_gllr', 'gllr_shortcode' );
1386
 
1387
  add_action( 'wp_ajax_upload_gallery_image', 'upload_gallery_image' );
1388
+
1389
+ add_action( 'wp_head', 'gllr_add_for_ios' );
1390
  ?>
languages/gallery-fr_FR.mo CHANGED
File without changes
languages/gallery-fr_FR.po CHANGED
File without changes
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: bestwebsoft
3
  Donate link: https://www.2checkout.com/checkout/purchase?sid=1430388&quantity=10&product_id=13
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.4
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -123,6 +123,10 @@ Just setup a necessary order and click 'Save' button.
123
 
124
  == Changelog ==
125
 
 
 
 
 
126
  = V3.8.4 - 25.01.2013 =
127
  * Update : French language file was updated.
128
 
@@ -249,6 +253,9 @@ Just setup a necessary order and click 'Save' button.
249
 
250
  == Upgrade Notice ==
251
 
 
 
 
252
  = V3.8.4 =
253
  French language file was updated.
254
 
3
  Donate link: https://www.2checkout.com/checkout/purchase?sid=1430388&quantity=10&product_id=13
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.1
7
+ Stable tag: 3.8.5
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
123
 
124
  == Changelog ==
125
 
126
+ = V3.8.5 - 14.02.2013 =
127
+ * Update : We updated displaying fancybox for iPhone and iPad.
128
+ * Update : We updated all functionality for wordpress 3.5.1.
129
+
130
  = V3.8.4 - 25.01.2013 =
131
  * Update : French language file was updated.
132
 
253
 
254
  == Upgrade Notice ==
255
 
256
+ = V3.8.5 =
257
+ We updated displaying fancybox for iPhone and iPad. We updated all functionality for wordpress 3.5.1.
258
+
259
  = V3.8.4 =
260
  French language file was updated.
261