Gallery by BestWebSoft - Version 4.2.2

Version Description

  • 07.08.2014 =
  • Budfix : Security Exploit was fixed.
  • Update : The French language file is updated.
Download this release

Release Info

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

Code changes from version 4.2.1 to 4.2.2

bws_menu/bws_menu.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Function for displaying BestWebSoft menu
4
- * Version: 1.3.3
5
  */
6
 
7
  if ( ! function_exists( 'bws_add_menu_render' ) ) {
@@ -119,7 +119,7 @@ if ( ! function_exists( 'bws_add_menu_render' ) ) {
119
  ),
120
  'google-one/google-plus-one.php' => array(
121
  'name' => 'Google +1',
122
- 'description' => 'Allows you to celebrate liked the article.',
123
  'link' => 'http://bestwebsoft.com/plugin/google-plus-one/?k=ce7a88837f0a857b3a2bb142f470853c&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
124
  'download' => 'http://bestwebsoft.com/plugin/google-plus-one/?k=ce7a88837f0a857b3a2bb142f470853c&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version . '#download',
125
  'wp_install' => '/wp-admin/plugin-install.php?tab=search&type=term&s=Google+%2B1+bestwebsoft&plugin-search-input=Search+Plugins',
@@ -251,6 +251,31 @@ if ( ! function_exists( 'bws_add_menu_render' ) ) {
251
  'wp_install' => '/wp-admin/plugin-install.php?tab=search&s=User+Role+BestWebSoft&plugin-search-input=Search+Plugins',
252
  'settings' => 'admin.php?page=user-role.php',
253
  'pro_version' => 'user-role-pro/user-role-pro.php'
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
254
  )
255
  );
256
  $bws_plugins_pro = array(
@@ -305,7 +330,7 @@ if ( ! function_exists( 'bws_add_menu_render' ) ) {
305
  ),
306
  'google-one-pro/google-plus-one-pro.php' => array(
307
  'name' => 'Google +1 Pro',
308
- 'description' => 'Allows you to celebrate liked the article.',
309
  'link' => 'http://bestwebsoft.com/plugin/google-plus-one-pro/?k=f4b0a62d155c9df9601a0531ad5bd832&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
310
  'purchase' => 'http://bestwebsoft.com/plugin/google-plus-one-pro?k=f4b0a62d155c9df9601a0531ad5bd832&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version . '#purchase',
311
  'settings' => 'admin.php?page=google-plus-one-pro.php'
@@ -351,6 +376,13 @@ if ( ! function_exists( 'bws_add_menu_render' ) ) {
351
  'link' => 'http://bestwebsoft.com/plugin/sender-pro/?k=dc5d1a87bdc8aeab2de40ffb99b38054&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
352
  'purchase' => 'http://bestwebsoft.com/plugin/sender-pro/?k=dc5d1a87bdc8aeab2de40ffb99b38054&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version . '#purchase',
353
  'settings' => 'admin.php?page=sndrpr_settings'
 
 
 
 
 
 
 
354
  )
355
  );
356
 
@@ -483,8 +515,8 @@ if ( ! function_exists( 'bws_add_menu_render' ) ) {
483
  if ( ( isset( $_REQUEST['bwsmn_form_submit'] ) && check_admin_referer( plugin_basename(__FILE__), 'bwsmn_nonce_submit' ) ) ||
484
  ( isset( $_REQUEST['bwsmn_form_submit_custom_email'] ) && check_admin_referer( plugin_basename(__FILE__), 'bwsmn_nonce_submit_custom_email' ) ) ) {
485
  if ( isset( $_REQUEST['bwsmn_form_email'] ) ) {
486
- $bwsmn_form_email = trim( $_REQUEST['bwsmn_form_email'] );
487
- if ( $bwsmn_form_email == "" || !preg_match( "/^((?:[a-z0-9']+(?:[a-z0-9\-_\.']+)?@[a-z0-9]+(?:[a-z0-9\-\.]+)?\.[a-z]{2,5})[, ]*)+$/i", $bwsmn_form_email ) ) {
488
  $error = __( "Please enter a valid email address.", 'bestwebsoft' );
489
  } else {
490
  $email = $bwsmn_form_email;
@@ -506,19 +538,24 @@ if ( ! function_exists( 'bws_add_menu_render' ) ) {
506
  foreach ( $system_info['system_info'] as $key => $value ) {
507
  $message_text .= '<tr><td>'. $key .'</td><td>'. $value .'</td></tr>';
508
  }
509
- $message_text .= '</table>
510
- <h4>Active Plugins</h4>
511
- <table>';
512
- foreach ( $system_info['active_plugins'] as $key => $value ) {
513
- $message_text .= '<tr><td scope="row">'. $key .'</td><td scope="row">'. $value .'</td></tr>';
 
 
 
514
  }
515
- $message_text .= '</table>
516
- <h4>Inactive Plugins</h4>
517
- <table>';
518
- foreach ( $system_info['inactive_plugins'] as $key => $value ) {
519
- $message_text .= '<tr><td scope="row">'. $key .'</td><td scope="row">'. $value .'</td></tr>';
 
 
520
  }
521
- $message_text .= '</table></body></html>';
522
  $result = wp_mail( $email, 'System Info From ' . $home_url, $message_text, $headers );
523
  if ( $result != true )
524
  $error = __( "Sorry, email message could not be delivered.", 'bestwebsoft' );
@@ -866,12 +903,14 @@ if ( ! function_exists( 'bws_add_menu_render' ) ) {
866
  <table class="bws_system_info">
867
  <thead><tr><th><?php _e( 'Active Plugins', 'bestwebsoft' ); ?></th><th></th></tr></thead>
868
  <tbody>
869
- <?php foreach ( $system_info['active_plugins'] as $key => $value ) { ?>
870
- <tr>
871
- <td scope="row"><?php echo $key; ?></td>
872
- <td scope="row"><?php echo $value; ?></td>
873
- </tr>
874
- <?php } ?>
 
 
875
  </tbody>
876
  </table>
877
  <table class="bws_system_info">
1
  <?php
2
  /*
3
  * Function for displaying BestWebSoft menu
4
+ * Version: 1.3.7
5
  */
6
 
7
  if ( ! function_exists( 'bws_add_menu_render' ) ) {
119
  ),
120
  'google-one/google-plus-one.php' => array(
121
  'name' => 'Google +1',
122
+ 'description' => 'Allows you to see how many times your page has been liked on Google Search Engine as well as who has liked the article.',
123
  'link' => 'http://bestwebsoft.com/plugin/google-plus-one/?k=ce7a88837f0a857b3a2bb142f470853c&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
124
  'download' => 'http://bestwebsoft.com/plugin/google-plus-one/?k=ce7a88837f0a857b3a2bb142f470853c&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version . '#download',
125
  'wp_install' => '/wp-admin/plugin-install.php?tab=search&type=term&s=Google+%2B1+bestwebsoft&plugin-search-input=Search+Plugins',
251
  'wp_install' => '/wp-admin/plugin-install.php?tab=search&s=User+Role+BestWebSoft&plugin-search-input=Search+Plugins',
252
  'settings' => 'admin.php?page=user-role.php',
253
  'pro_version' => 'user-role-pro/user-role-pro.php'
254
+ ),
255
+ 'email-queue/email-queue.php' => array(
256
+ 'name' => 'Email Queue',
257
+ 'description' => 'Allows to manage email massages sent by BestWebSoft plugins.',
258
+ 'link' => 'http://bestwebsoft.com/plugin/email-queue/?k=e345e1b6623f0dca119bc2d9433b130b&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
259
+ 'download' => 'http://bestwebsoft.com/plugin/email-queue/?k=e345e1b6623f0dca119bc2d9433b130b&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version . '#download',
260
+ 'wp_install' => '/wp-admin/plugin-install.php?tab=search&s=Email+Queue+BestWebSoft&plugin-search-input=Search+Plugins',
261
+ 'settings' => 'admin.php?page=mlq_settings'
262
+ ),
263
+ 'limit-attempts/limit-attempts.php' => array(
264
+ 'name' => 'Limit Attempts',
265
+ 'description' => 'Allows you to limit rate of login attempts by the ip, and create whitelist and blacklist.',
266
+ 'link' => 'http://bestwebsoft.com/plugin/limit-attempts/?k=b14e1697ee4d008abcd4bd34d492573a&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
267
+ 'download' => 'http://bestwebsoft.com/plugin/limit-attempts/?k=b14e1697ee4d008abcd4bd34d492573a&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version . '#download',
268
+ 'wp_install' => '/wp-admin/plugin-install.php?tab=search&s=Limit+Attempts+BestWebSoft&plugin-search-input=Search+Plugins',
269
+ 'settings' => 'admin.php?page=limit-attempts.php',
270
+ 'pro_version' => 'limit-attempts-pro/limit-attempts-pro.php'
271
+ ),
272
+ 'job-board/job-board.php' => array(
273
+ 'name' => 'Job board',
274
+ 'description' => 'Allows to create a job-board page on your site.',
275
+ 'link' => 'http://bestwebsoft.com/plugin/job-board/?k=b0c504c9ce6edd6692e04222af3fed6f&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
276
+ 'download' => 'http://bestwebsoft.com/plugin/job-board/?k=b0c504c9ce6edd6692e04222af3fed6f&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version . '#download',
277
+ 'wp_install' => '/wp-admin/plugin-install.php?tab=search&type=term&s=Job+board+BestWebSoft&plugin-search-input=Search+Plugins',
278
+ 'settings' => 'admin.php?page=job-board.php'
279
  )
280
  );
281
  $bws_plugins_pro = array(
330
  ),
331
  'google-one-pro/google-plus-one-pro.php' => array(
332
  'name' => 'Google +1 Pro',
333
+ 'description' => 'Allows you to see how many times your page has been liked on Google Search Engine as well as who has liked the article.',
334
  'link' => 'http://bestwebsoft.com/plugin/google-plus-one-pro/?k=f4b0a62d155c9df9601a0531ad5bd832&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
335
  'purchase' => 'http://bestwebsoft.com/plugin/google-plus-one-pro?k=f4b0a62d155c9df9601a0531ad5bd832&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version . '#purchase',
336
  'settings' => 'admin.php?page=google-plus-one-pro.php'
376
  'link' => 'http://bestwebsoft.com/plugin/sender-pro/?k=dc5d1a87bdc8aeab2de40ffb99b38054&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
377
  'purchase' => 'http://bestwebsoft.com/plugin/sender-pro/?k=dc5d1a87bdc8aeab2de40ffb99b38054&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version . '#purchase',
378
  'settings' => 'admin.php?page=sndrpr_settings'
379
+ ),
380
+ 'limit-attempts-pro/limit-attempts-pro.php' => array(
381
+ 'name' => 'Limit Attempts Pro',
382
+ 'description' => 'Allows you to limit rate of login attempts by the ip, and create whitelist and blacklist.',
383
+ 'link' => 'http://bestwebsoft.com/plugin/limit-attempts-pro/?k=9d42cdf22c7fce2c4b6b447e6a2856e0&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
384
+ 'purchase' => 'http://bestwebsoft.com/plugin/limit-attempts-pro/?k=9d42cdf22c7fce2c4b6b447e6a2856e0&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version . '#purchase',
385
+ 'settings' => 'admin.php?page=limit-attempts-pro.php',
386
  )
387
  );
388
 
515
  if ( ( isset( $_REQUEST['bwsmn_form_submit'] ) && check_admin_referer( plugin_basename(__FILE__), 'bwsmn_nonce_submit' ) ) ||
516
  ( isset( $_REQUEST['bwsmn_form_submit_custom_email'] ) && check_admin_referer( plugin_basename(__FILE__), 'bwsmn_nonce_submit_custom_email' ) ) ) {
517
  if ( isset( $_REQUEST['bwsmn_form_email'] ) ) {
518
+ $bwsmn_form_email = esc_html( trim( $_REQUEST['bwsmn_form_email'] ) );
519
+ if ( $bwsmn_form_email == "" || ! is_email( $bwsmn_form_email ) ) {
520
  $error = __( "Please enter a valid email address.", 'bestwebsoft' );
521
  } else {
522
  $email = $bwsmn_form_email;
538
  foreach ( $system_info['system_info'] as $key => $value ) {
539
  $message_text .= '<tr><td>'. $key .'</td><td>'. $value .'</td></tr>';
540
  }
541
+ $message_text .= '</table>';
542
+ if ( ! empty( $system_info['active_plugins'] ) ) {
543
+ $message_text .= '<h4>Active Plugins</h4>
544
+ <table>';
545
+ foreach ( $system_info['active_plugins'] as $key => $value ) {
546
+ $message_text .= '<tr><td scope="row">'. $key .'</td><td scope="row">'. $value .'</td></tr>';
547
+ }
548
+ $message_text .= '</table>';
549
  }
550
+ if ( ! empty( $system_info['inactive_plugins'] ) ) {
551
+ $message_text .= '<h4>Inactive Plugins</h4>
552
+ <table>';
553
+ foreach ( $system_info['inactive_plugins'] as $key => $value ) {
554
+ $message_text .= '<tr><td scope="row">'. $key .'</td><td scope="row">'. $value .'</td></tr>';
555
+ }
556
+ $message_text .= '</table>';
557
  }
558
+ $message_text .= '</body></html>';
559
  $result = wp_mail( $email, 'System Info From ' . $home_url, $message_text, $headers );
560
  if ( $result != true )
561
  $error = __( "Sorry, email message could not be delivered.", 'bestwebsoft' );
903
  <table class="bws_system_info">
904
  <thead><tr><th><?php _e( 'Active Plugins', 'bestwebsoft' ); ?></th><th></th></tr></thead>
905
  <tbody>
906
+ <?php if ( ! empty( $system_info['active_plugins'] ) ) {
907
+ foreach ( $system_info['active_plugins'] as $key => $value ) { ?>
908
+ <tr>
909
+ <td scope="row"><?php echo $key; ?></td>
910
+ <td scope="row"><?php echo $value; ?></td>
911
+ </tr>
912
+ <?php }
913
+ } ?>
914
  </tbody>
915
  </table>
916
  <table class="bws_system_info">
bws_menu/css/style.css CHANGED
@@ -95,6 +95,7 @@ h4.bws_installed:before {
95
  margin: -9px auto -10px;
96
  position: relative;
97
  width: 46px;
 
98
  }
99
  .bws_product_description {
100
  padding: 0 10px;
95
  margin: -9px auto -10px;
96
  position: relative;
97
  width: 46px;
98
+ line-height: 19px;
99
  }
100
  .bws_product_description {
101
  padding: 0 10px;
bws_menu/icons/email-queue.png ADDED
Binary file
bws_menu/icons/job-board.png ADDED
Binary file
bws_menu/icons/limit-attempts.png ADDED
Binary file
gallery-plugin.php CHANGED
@@ -4,7 +4,7 @@ Plugin Name: Gallery
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: 4.2.1
8
  Author URI: http://bestwebsoft.com/
9
  License: GPLv2 or later
10
  */
@@ -141,10 +141,7 @@ if ( ! function_exists( 'gllr_settings' ) ) {
141
  }
142
 
143
  /* Get options from the database */
144
- if ( 1 == $wpmu )
145
- $gllr_options = get_site_option( 'gllr_options' );
146
- else
147
- $gllr_options = get_option( 'gllr_options' );
148
 
149
  /* Array merge incase this version has added new options */
150
  if ( ! isset( $gllr_options['plugin_option_version'] ) || $gllr_options['plugin_option_version'] != $gllr_plugin_info["Version"] ) {
@@ -356,12 +353,12 @@ if ( ! function_exists( 'gllr_post_custom_box' ) ) {
356
  $error = __( "The gallery temp directory (gallery-plugin/upload/files) is not available for record on your webserver. Please use the standard WP functionality to upload images (media library)", 'gallery' );
357
  $uploader = false;
358
  } ?>
359
- <div style="padding-top:10px;"><label for="uploadscreen"><?php echo __( 'Choose an image for upload:', 'gallery' ); ?></label>
360
  <input name="MAX_FILE_SIZE" value="1048576" type="hidden" />
361
  <div id="file-uploader-demo1" style="padding-top:10px;">
362
  <?php echo $error; ?>
363
  <noscript>
364
- <p><?php echo __( 'Please enable JavaScript to use the file uploader.', 'gallery' ); ?></p>
365
  </noscript>
366
  </div>
367
  <ul id="files" ></ul>
@@ -416,7 +413,7 @@ if ( ! function_exists( 'gllr_post_custom_box' ) ) {
416
  echo '<br />' . __( "Title", "gallery" ) . '<br /><input type="text" name="gllr_image_text['.$page->ID.']" value="' . get_post_meta( $page->ID, $key, TRUE ) . '" class="gllr_image_text" />';
417
  echo '<input type="text" name="gllr_order_text[' . $page->ID . ']" value="' . $page->menu_order . '" class="gllr_order_text ' . ( $page->menu_order == 0 ? "hidden" : '' ) . '" />';
418
  echo '<br />' . __( "Alt tag", "gallery" ) . '<br /><input type="text" name="gllr_image_alt_tag[' . $page->ID . ']" value="' . get_post_meta( $page->ID, $alt_tag_key, TRUE ) . '" class="gllr_image_alt_tag" />';
419
- echo '<br />' . __( "URL", "gallery" ) . '<br /><input type="text" name="gllr_link_url[' . $page->ID . ']" value="' . get_post_meta( $page->ID, $link_key, TRUE ).'" class="gllr_link_text" /><br /><span class="small_text">' . __( "(by click on image opens a link in a new window)", "gallery" ) . '</span>';
420
  echo '<a class="bws_plugin_pro_version" href="http://bestwebsoft.com/plugin/gallery-pro/?k=63a36f6bf5de0726ad6a43a165f38fe5&pn=79&v=' . $gllr_plugin_info["Version"] . '&wp_v=' . $wp_version . '" target="_blank" title="' . __( 'This setting is available in Pro version', 'gallery' ) . '">' .
421
  '<div>' . __( "Open the URL", "gallery" ) . '<br/><input disabled type="radio" value="_self" > ' . __( "Current window", "gallery" ) . '<br/><input disabled type="radio" value="_blank" > ' . __( "New window", "gallery" ) . '<br/>' .
422
  __( "Lightbox button URL", "gallery" ) . '<br><input class="gllrprfssnl_link_text" disabled type="text" value="" name="gllrprfssnl_lightbox_button_url"><br/>' .
@@ -535,7 +532,7 @@ if ( ! function_exists ( 'gllr_save_postdata' ) ) {
535
  "post_parent" => $post->ID ) );
536
  foreach ( $posts as $page ) {
537
  if ( isset( $_REQUEST['gllr_link_url'][ $page->ID ] ) ) {
538
- $value = htmlspecialchars( trim( $_REQUEST['gllr_link_url'][ $page->ID ] ) );
539
  if ( get_post_meta( $page->ID, $link_key, FALSE ) ) {
540
  /* Custom field has a value and this custom field exists in database */
541
  update_post_meta( $page->ID, $link_key, $value );
@@ -768,7 +765,7 @@ if ( ! function_exists( 'gllr_settings_page' ) ) {
768
  $gllr_request_options["custom_image_row_count"] = 1;
769
 
770
  $gllr_request_options["start_slideshow"] = ( isset( $_REQUEST['gllr_start_slideshow'] ) ) ? 1 : 0;
771
- $gllr_request_options["slideshow_interval"] = $_REQUEST['gllr_slideshow_interval'];
772
  $gllr_request_options["single_lightbox_for_multiple_galleries"] = ( isset( $_REQUEST['gllr_single_lightbox_for_multiple_galleries'] ) ) ? 1 : 0;
773
 
774
  $gllr_request_options["order_by"] = $_REQUEST['gllr_order_by'];
@@ -777,10 +774,10 @@ if ( ! function_exists( 'gllr_settings_page' ) ) {
777
 
778
  $gllr_request_options["return_link"] = ( isset( $_REQUEST['gllr_return_link'] ) ) ? 1 : 0;
779
  $gllr_request_options["return_link_page"] = $_REQUEST['gllr_return_link_page'];
780
- $gllr_request_options["return_link_url"] = strpos( $_REQUEST['gllr_return_link_url'], "http:" ) !== false ? trim( $_REQUEST['gllr_return_link_url'] ) : 'http://'.trim( $_REQUEST['gllr_return_link_url'] );
781
  $gllr_request_options["return_link_shortcode"] = ( isset( $_REQUEST['gllr_return_link_shortcode'] ) ) ? 1 : 0;
782
- $gllr_request_options["return_link_text"] = $_REQUEST['gllr_return_link_text'];
783
- $gllr_request_options["read_more_link_text"] = $_REQUEST['gllr_read_more_link_text'];
784
 
785
  if ( isset( $_REQUEST['gllr_add_to_search'] ) ) {
786
  if ( 0 == $wpmu && isset( $cstmsrch_options ) ) {
@@ -826,14 +823,14 @@ if ( ! function_exists( 'gllr_settings_page' ) ) {
826
  /* GO PRO */
827
  if ( isset( $_GET['action'] ) && 'go_pro' == $_GET['action'] ) {
828
  global $wpmu, $bstwbsftwppdtplgns_options;
829
- $bws_license_key = ( isset( $_POST['bws_license_key'] ) ) ? trim( $_POST['bws_license_key'] ) : "";
830
 
831
  if ( isset( $_POST['bws_license_submit'] ) && check_admin_referer( plugin_basename( __FILE__ ), 'bws_license_nonce_name' ) ) {
832
  if ( '' != $bws_license_key ) {
833
  if ( strlen( $bws_license_key ) != 18 ) {
834
  $error = __( "Wrong license key", 'gallery' );
835
  } else {
836
- $bws_license_plugin = trim( $_POST['bws_license_plugin'] );
837
  if ( isset( $bstwbsftwppdtplgns_options['go_pro'][ $bws_license_plugin ]['count'] ) && $bstwbsftwppdtplgns_options['go_pro'][ $bws_license_plugin ]['time'] < ( time() + (24 * 60 * 60) ) ) {
838
  $bstwbsftwppdtplgns_options['go_pro'][ $bws_license_plugin ]['count'] = $bstwbsftwppdtplgns_options['go_pro'][ $bws_license_plugin ]['count'] + 1;
839
  } else {
@@ -936,373 +933,371 @@ if ( ! function_exists( 'gllr_settings_page' ) ) {
936
  $error = __( "Please, enter Your license key", 'gallery' );
937
  }
938
  }
939
- }
940
- /* Display form on the setting page */
941
- ?>
942
- <div class="wrap">
943
- <div class="icon32 icon32-bws" id="icon-options-general"></div>
944
- <h2><?php _e( 'Gallery Settings', 'gallery' ); ?></h2>
945
- <h2 class="nav-tab-wrapper">
946
- <a class="nav-tab<?php if ( ! isset( $_GET['action'] ) ) echo ' nav-tab-active'; ?>" href="admin.php?page=gallery-plugin.php"><?php _e( 'Settings', 'gallery' ); ?></a>
947
- <a class="nav-tab" href="http://bestwebsoft.com/plugin/gallery-plugin/#faq" target="_blank"><?php _e( 'FAQ', 'gallery' ); ?></a>
948
- <a class="nav-tab bws_go_pro_tab<?php if ( isset( $_GET['action'] ) && 'go_pro' == $_GET['action'] ) echo ' nav-tab-active'; ?>" href="admin.php?page=gallery-plugin.php&amp;action=go_pro"><?php _e( 'Go PRO', 'gallery' ); ?></a>
949
- </h2>
950
- <div id="gllr_settings_message" class="updated fade" <?php if ( ! isset( $_REQUEST['gllr_form_submit'] ) || "" != $error ) echo "style=\"display:none\""; ?>><p><strong><?php echo $message; ?></strong></p></div>
951
- <div class="error" <?php if ( "" == $error ) echo "style=\"display:none\""; ?>><p><strong><?php echo $error; ?></strong></p></div>
952
- <?php if ( ! isset( $_GET['action'] ) ) { ?>
953
- <div id="gllr_settings_notice" class="updated fade" style="display:none"><p><strong><?php _e( "Notice:", 'gallery' ); ?></strong> <?php _e( "The plugin's settings have been changed. In order to save them please don't forget to click the 'Save Changes' button.", 'gallery' ); ?></p></div>
954
- <p><?php _e( "If you would like to add a Single Gallery to your page or post, just copy and paste this shortcode into your post or page:", 'gallery' ); ?> [print_gllr id=Your_gallery_post_id]</p>
955
- <noscript>
956
- <p><?php _e( 'Please enable JavaScript to use the option to renew images.', 'gallery' ); ?></p>
957
- </noscript>
958
- <table class="form-table">
959
- <tr valign="top">
960
- <th scope="row"><?php _e( 'Update images for gallery', 'gallery' ); ?> </th>
961
- <td style="position:relative">
962
- <input type="button" value="<?php _e( 'Update images' ); ?>" id="ajax_update_images" name="ajax_update_images" class="button" onclick="javascript:gllr_update_images();"> <div id="gllr_img_loader"><img src="<?php echo plugins_url( 'images/ajax-loader.gif', __FILE__ ); ?>" alt="loader" /></div>
963
- </td>
964
- </tr>
965
- </table>
966
- <script type="text/javascript">
967
- var update_img_message = "<?php _e( 'Updating images...', 'gallery' ) ?>",
968
- not_found_img_info = "<?php _e( 'No image found', 'gallery'); ?>",
969
- img_success = "<?php _e( 'All images are updated', 'gallery' ); ?>",
970
- img_error = "<?php _e( 'Error.', 'gallery' ); ?>";
971
- </script>
972
- <br/>
973
- <form id="gllr_settings_form" method="post" action="admin.php?page=gallery-plugin.php">
974
  <table class="form-table">
975
- <tr valign="top" class="gllr_width_labels">
976
- <th scope="row"><?php _e( 'Image size for the album cover', 'gallery' ); ?> </th>
977
- <td>
978
- <label for="custom_image_size_name"><?php _e( 'Image size', 'gallery' ); ?></label> <?php echo $gllr_options["gllr_custom_size_name"][0]; ?><br />
979
- <label for="custom_image_size_w"><?php _e( 'Width (in px)', 'gallery' ); ?></label> <input type="text" name="gllr_custom_image_size_w_album" value="<?php echo $gllr_options["gllr_custom_size_px"][0][0]; ?>" /><br />
980
- <label for="custom_image_size_h"><?php _e( 'Height (in px)', 'gallery' ); ?></label> <input type="text" name="gllr_custom_image_size_h_album" value="<?php echo $gllr_options["gllr_custom_size_px"][0][1]; ?>" />
981
- </td>
982
- </tr>
983
- <tr valign="top" class="gllr_width_labels">
984
- <th scope="row"><?php _e( 'Gallery image size', 'gallery' ); ?> </th>
985
- <td>
986
- <label for="custom_image_size_name"><?php _e( 'Image size', 'gallery' ); ?></label> <?php echo $gllr_options["gllr_custom_size_name"][1]; ?><br />
987
- <label for="custom_image_size_w"><?php _e( 'Width (in px)', 'gallery' ); ?></label> <input type="text" name="gllr_custom_image_size_w_photo" value="<?php echo $gllr_options["gllr_custom_size_px"][1][0]; ?>" /><br />
988
- <label for="custom_image_size_h"><?php _e( 'Height (in px)', 'gallery' ); ?></label> <input type="text" name="gllr_custom_image_size_h_photo" value="<?php echo $gllr_options["gllr_custom_size_px"][1][1]; ?>" />
989
- </td>
990
- </tr>
991
  <tr valign="top">
992
- <td colspan="2"><span style="color: #888888;font-size: 10px;"><?php _e( 'WordPress will create a new thumbnail with the specified dimensions when you upload a new photo.', 'gallery' ); ?></span></td>
 
 
 
993
  </tr>
994
  </table>
995
- <div class="bws_pro_version_bloc">
996
- <div class="bws_pro_version_table_bloc">
997
- <div class="bws_table_bg"></div>
998
- <table class="form-table bws_pro_version">
999
- <tr valign="top" class="gllr_width_labels">
1000
- <th scope="row"><?php _e( 'Gallery image size in the lightbox', 'gallery' ); ?> </th>
1001
- <td>
1002
- <label for="custom_image_size_name"><?php _e( 'Image size', 'gallery' ); ?></label> full-photo<br />
1003
- <label for="custom_image_size_w"><?php _e( 'Max width (in px)', 'gallery' ); ?></label> <input disabled class="gllrprfssnl_size_photo_full" type="text" name="gllrprfssnl_custom_image_size_w_full" value="1024"/><br />
1004
- <label for="custom_image_size_h"><?php _e( 'Max height (in px)', 'gallery' ); ?></label> <input disabled class="gllrprfssnl_size_photo_full" type="text" name="gllrprfssnl_custom_image_size_h_full" value="1024"/><br />
1005
- <input disabled type="checkbox" name="gllrprfssnl_size_photo_full" value="1" /> <?php _e( 'Display a full size image in the lightbox', 'gallery' ); ?>
1006
- </td>
1007
- </tr>
1008
- <tr valign="top" class="gllr_width_labels">
1009
- <th scope="row"><?php _e( 'Crop position', 'gallery' ); ?></th>
1010
- <td>
1011
- <label><?php _e( 'Horizontal', 'gallery' ); ?></label>
1012
- <select>
1013
- <option value="left"><?php _e( 'left', 'gallery' ); ?></option>
1014
- <option value="center"><?php _e( 'center', 'gallery' ); ?></option>
1015
- <option value="right"><?php _e( 'right', 'gallery' ); ?></option>
1016
- </select>
1017
- <br />
1018
- <label><?php _e( 'Vertical', 'gallery' ); ?></label>
1019
- <select>
1020
- <option value="top"><?php _e( 'top', 'gallery' ); ?></option>
1021
- <option value="center"><?php _e( 'center', 'gallery' ); ?></option>
1022
- <option value="bottom"><?php _e( 'bottom', 'gallery' ); ?></option>
1023
- </select>
1024
- </td>
1025
- </tr>
1026
- <tr valign="top">
1027
- <th scope="row"><?php _e( 'Lightbox background', 'gallery' ); ?> </th>
1028
- <td>
1029
- <input disabled class="button button-small gllrprfssnl_lightbox_default" type="button" value="<?php _e( 'Default', 'gallery' ); ?>"> <br />
1030
- <input disabled type="text" size="8" value="0.7" name="gllrprfssnl_background_lightbox_opacity" /> <?php _e( 'Background transparency (from 0 to 1)', 'gallery' ); ?><br />
1031
- <?php if ( 3.5 <= $wp_version ) { ?>
1032
- <input disabled id="gllrprfssnl_background_lightbox_color" type="minicolors" name="gllrprfssnl_background_lightbox_color" value="#777777" id="gllrprfssnl_background_lightbox_color" /> <?php _e( 'Select a background color', 'gallery' ); ?>
1033
- <?php } else { ?>
1034
- <input disabled id="gllrprfssnl_background_lightbox_color" type="text" name="gllrprfssnl_background_lightbox_color" value="#777777" id="gllrprfssnl_background_lightbox_color" /><span id="gllrprfssnl_background_lightbox_color_small" style="background-color:#777777"></span> <?php _e( 'Background color', 'gallery' ); ?>
1035
- <div id="colorPickerDiv_backgraund" style="z-index: 100; background:#eee; border:1px solid #ccc; position:absolute; display:none;"></div>
1036
- <?php } ?>
1037
- </td>
1038
- </tr>
1039
- <tr valign="top">
1040
- <th scope="row" colspan="2">
1041
- * <?php _e( 'If you upgrade to Pro version all your settings and galleries will be saved.', 'gallery' ); ?>
1042
- </th>
1043
- </tr>
1044
- </table>
1045
- </div>
1046
- <div class="bws_pro_version_tooltip">
1047
- <div class="bws_info">
1048
- <?php _e( 'Unlock premium options by upgrading to a PRO version.', 'gallery' ); ?>
1049
- <a href="http://bestwebsoft.com/plugin/gallery-pro/?k=63a36f6bf5de0726ad6a43a165f38fe5&pn=79&v=<?php echo $gllr_plugin_info["Version"]; ?>&wp_v=<?php echo $wp_version; ?>" target="_blank" title="Gallery Pro Plugin"><?php _e( 'Learn More', 'gallery' ); ?></a>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1050
  </div>
1051
- <div class="bws_pro_links">
1052
- <span class="bws_trial_info">
1053
- <a href="http://bestwebsoft.com/plugin/gallery-pro/?k=63a36f6bf5de0726ad6a43a165f38fe5&pn=79&v=<?php echo $gllr_plugin_info["Version"]; ?>&wp_v=<?php echo $wp_version; ?>#trial" target="_blank" title="Gallery Pro Plugin"><?php _e( 'Start Your Trial', 'gallery' ); ?></a>
1054
- <?php _e( 'or', 'gallery' ); ?>
1055
- </span>
1056
- <a class="bws_button" href="http://bestwebsoft.com/plugin/gallery-pro/?k=63a36f6bf5de0726ad6a43a165f38fe5&pn=79&v=<?php echo $gllr_plugin_info["Version"]; ?>&wp_v=<?php echo $wp_version; ?>#purchase" target="_blank" title="Gallery Pro Plugin">
1057
- <?php _e( 'Go', 'gallery' ); ?> <strong>PRO</strong>
1058
- </a>
1059
- </div>
1060
- <div class="clear"></div>
1061
  </div>
1062
- </div>
1063
- <table class="form-table">
1064
- <tr valign="top">
1065
- <th scope="row"><?php _e( 'Images with border', 'gallery' ); ?></th>
1066
- <td>
1067
- <input type="checkbox" name="gllr_border_images" value="1" <?php if ( 1 == $gllr_options["border_images"] ) echo 'checked="checked"'; ?> /><br />
1068
- <input type="text" value="<?php echo $gllr_options["border_images_width"]; ?>" name="gllr_border_images_width" /> <?php _e( 'Border width in px, just numbers', 'gallery' ); ?><br />
1069
- <?php if ( 3.5 <= $wp_version ) { ?>
1070
- <input type="minicolors" name="gllr_border_images_color" value="<?php echo $gllr_options["border_images_color"]; ?>" id="gllr_border_images_color" /> <?php _e( 'Select a border color', 'gallery' ); ?>
1071
- <?php } else { ?>
1072
- <input type="text" name="gllr_border_images_color" value="<?php echo $gllr_options["border_images_color"]; ?>" id="gllr_border_images_color" /><span id="gllr_border_images_color_small" style="background-color:<?php echo $gllr_options["border_images_color"]; ?>"></span> <?php _e( 'Select a border color', 'gallery' ); ?>
1073
- <div id="colorPickerDiv" style="z-index: 100; background:#eee; border:1px solid #ccc; position:absolute; display:none;"></div>
1074
- <?php } ?>
1075
- </td>
1076
- </tr>
1077
- <tr valign="top">
1078
- <th scope="row"><?php _e( 'Number of images in the row', 'gallery' ); ?> </th>
1079
- <td>
1080
- <input type="text" name="gllr_custom_image_row_count" value="<?php echo $gllr_options["custom_image_row_count"]; ?>" />
1081
- </td>
1082
- </tr>
1083
- <tr valign="top">
1084
- <th scope="row"><?php _e( 'Start slideshow', 'gallery' ); ?> </th>
1085
- <td>
1086
- <input type="checkbox" name="gllr_start_slideshow" value="1" <?php if ( 1 == $gllr_options["start_slideshow"] ) echo 'checked="checked"'; ?> />
1087
- </td>
1088
- </tr>
1089
- <tr valign="top">
1090
- <th scope="row"><?php _e( 'Slideshow interval', 'gallery' ); ?> </th>
1091
- <td>
1092
- <input type="text" name="gllr_slideshow_interval" value="<?php echo $gllr_options["slideshow_interval"]; ?>" />
1093
- </td>
1094
- </tr>
1095
- <tr valign="top">
1096
- <th scope="row"><?php _e( 'Use single lightbox for multiple galleries on one page', 'gallery' ); ?> </th>
1097
- <td>
1098
- <input type="checkbox" name="gllr_single_lightbox_for_multiple_galleries" value="1" <?php if ( 1 == $gllr_options["single_lightbox_for_multiple_galleries"] ) echo 'checked="checked"'; ?> />
1099
- </td>
1100
- </tr>
1101
- <tr valign="top">
1102
- <th scope="row"><?php _e( 'Sort images by', 'gallery' ); ?></th>
1103
- <td>
1104
- <label class="label_radio"><input type="radio" name="gllr_order_by" value="ID" <?php if ( 'ID' == $gllr_options["order_by"] ) echo 'checked="checked"'; ?> /> <?php _e( 'Attachment ID', 'gallery' ); ?></label><br />
1105
- <label class="label_radio"><input type="radio" name="gllr_order_by" value="title" <?php if ( 'title' == $gllr_options["order_by"] ) echo 'checked="checked"'; ?> /> <?php _e( 'Image Name', 'gallery' ); ?></label><br />
1106
- <label class="label_radio"><input type="radio" name="gllr_order_by" value="date" <?php if ( 'date' == $gllr_options["order_by"] ) echo 'checked="checked"'; ?> /> <?php _e( 'Date', 'gallery' ); ?></label><br />
1107
- <label class="label_radio"><input type="radio" name="gllr_order_by" value="menu_order" <?php if ( 'menu_order' == $gllr_options["order_by"] ) echo 'checked="checked"'; ?> /> <?php _e( 'Sorting order (the input field for sorting order in the Insert / Upload Media Gallery dialog)', 'gallery' ); ?></label><br />
1108
- <label class="label_radio"><input type="radio" name="gllr_order_by" value="rand" <?php if ( 'rand' == $gllr_options["order_by"] ) echo 'checked="checked"'; ?> /> <?php _e( 'Random', 'gallery' ); ?></label>
1109
- </td>
1110
- </tr>
1111
- <tr valign="top">
1112
- <th scope="row"><?php _e( 'Sort images', 'gallery' ); ?></th>
1113
- <td>
1114
- <label class="label_radio"><input type="radio" name="gllr_order" value="ASC" <?php if ( 'ASC' == $gllr_options["order"] ) echo 'checked="checked"'; ?> /> <?php _e( 'ASC (ascending order from lowest to highest values - 1, 2, 3; a, b, c)', 'gallery' ); ?></label><br />
1115
- <label class="label_radio"><input type="radio" name="gllr_order" value="DESC" <?php if ( 'DESC' == $gllr_options["order"] ) echo 'checked="checked"'; ?> /> <?php _e( 'DESC (descending order from highest to lowest values - 3, 2, 1; c, b, a)', 'gallery' ); ?></label>
1116
- </td>
1117
- </tr>
1118
- <tr valign="top">
1119
- <th scope="row"><?php _e( 'Display text above the image', 'gallery' ); ?></th>
1120
- <td>
1121
- <label><input type="checkbox" name="gllr_image_text" value="1" <?php if ( 1 == $gllr_options["image_text"] ) echo 'checked="checked"'; ?> /> <?php _e( 'Turn off the checkbox, if you want to display text just in a lightbox', 'gallery' ); ?></label>
1122
- </td>
1123
- </tr>
1124
- <tr valign="top">
1125
- <th scope="row"><?php _e( 'Display the Back link', 'gallery' ); ?></th>
1126
- <td>
1127
- <input type="checkbox" name="gllr_return_link" value="1" <?php if ( 1 == $gllr_options["return_link"] ) echo 'checked="checked"'; ?> />
1128
- </td>
1129
- </tr>
1130
- <tr valign="top">
1131
- <th scope="row"><?php _e( 'Display the Back link in the shortcode', 'gallery' ); ?> </th>
1132
- <td>
1133
- <input type="checkbox" name="gllr_return_link_shortcode" value="1" <?php if ( 1 == $gllr_options["return_link_shortcode"] ) echo 'checked="checked"'; ?> />
1134
- </td>
1135
- </tr>
1136
- <tr valign="top">
1137
- <th scope="row"><?php _e( 'The Back link text', 'gallery' ); ?> </th>
1138
- <td>
1139
- <input type="text" name="gllr_return_link_text" value="<?php echo $gllr_options["return_link_text"]; ?>" style="width:200px;" />
1140
- </td>
1141
- </tr>
1142
- <tr valign="top">
1143
- <th scope="row"><?php _e( 'The Back link URL', 'gallery' ); ?></th>
1144
- <td>
1145
- <label><input type="radio" value="gallery_template_url" name="gllr_return_link_page" <?php if ( 'gallery_template_url' == $gllr_options["return_link_page"] ) echo 'checked="checked"'; ?> /><?php _e( 'Gallery page (Page with Gallery Template)', 'gallery'); ?></label><br />
1146
- <input type="radio" value="custom_url" name="gllr_return_link_page" id="gllr_return_link_url" <?php if ( 'custom_url' == $gllr_options["return_link_page"] ) echo 'checked="checked"'; ?> /> <input type="text" onfocus="document.getElementById('gllr_return_link_url').checked = true;" value="<?php echo $gllr_options["return_link_url"]; ?>" name="gllr_return_link_url">
1147
- <?php _e( '(Full URL to custom page)' , 'gallery'); ?>
1148
- </td>
1149
- </tr>
1150
- <tr valign="top">
1151
- <th scope="row"><?php _e( 'The Read More link text', 'gallery' ); ?></th>
1152
- <td>
1153
- <input type="text" name="gllr_read_more_link_text" value="<?php echo $gllr_options["read_more_link_text"]; ?>" style="width:200px;" />
1154
- </td>
1155
- </tr>
1156
- <tr valign="top">
1157
- <th scope="row"><?php _e( 'Add gallery to the search', 'gallery' ); ?></th>
1158
- <td>
1159
- <?php
1160
- $all_plugins = get_plugins();
1161
- $active_plugins = get_option( 'active_plugins' );
1162
- if ( ! function_exists( 'is_plugin_active_for_network' ) )
1163
- require_once( ABSPATH . '/wp-admin/includes/plugin.php' );
1164
- if ( array_key_exists( 'custom-search-plugin/custom-search-plugin.php', $all_plugins ) ) {
1165
- if ( 0 < count( preg_grep( '/custom-search-plugin\/custom-search-plugin.php/', $active_plugins ) ) || is_plugin_active_for_network( 'custom-search-plugin/custom-search-plugin.php' ) ) { ?>
1166
- <input type="checkbox" name="gllr_add_to_search" value="1" <?php if ( isset( $cstmsrch_options ) && in_array( 'gallery', $cstmsrch_options ) ) echo "checked=\"checked\""; ?> />
1167
- <span style="color: #888888;font-size: 10px;"> (<?php _e( 'Using', 'gallery' ); ?> <a href="admin.php?page=custom_search.php">Custom Search</a> <?php _e( 'powered by', 'gallery' ); ?> <a href="http://bestwebsoft.com/plugin/">bestwebsoft.com</a>)</span>
1168
  <?php } else { ?>
1169
- <input disabled="disabled" type="checkbox" name="gllr_add_to_search" value="1" <?php if ( isset( $cstmsrch_options ) && in_array( 'gallery', $cstmsrch_options ) ) echo "checked=\"checked\""; ?> />
1170
- <span style="color: #888888;font-size: 10px;">(<?php _e( 'Using Custom Search powered by', 'gallery' ); ?> <a href="http://bestwebsoft.com/plugin/">bestwebsoft.com</a>) <a href="<?php echo bloginfo("url"); ?>/wp-admin/plugins.php"><?php _e( 'Activate Custom Search', 'gallery' ); ?></a></span>
1171
- <?php }
1172
- } else { ?>
1173
- <input disabled="disabled" type="checkbox" name="gllr_add_to_search" value="1" />
1174
- <span style="color: #888888;font-size: 10px;">(<?php _e( 'Using Custom Search powered by', 'gallery' ); ?> <a href="http://bestwebsoft.com/plugin/">bestwebsoft.com</a>) <a href="http://bestwebsoft.com/plugin/custom-search-plugin/"><?php _e( 'Download Custom Search', 'gallery' ); ?></a></span>
1175
- <?php } ?>
1176
- </td>
1177
- </tr>
1178
- </table>
1179
- <div class="bws_pro_version_bloc">
1180
- <div class="bws_pro_version_table_bloc">
1181
- <div class="bws_table_bg"></div>
1182
- <table class="form-table bws_pro_version">
1183
- <tr valign="top" class="gllr_width_labels">
1184
- <th scope="row"><?php _e( 'Use pagination for images', 'gallery' ); ?> </th>
1185
- <td>
1186
- <input type="checkbox" name="gllrprfssnl_images_pagination" value="1" /> <br />
1187
- <label><input type="text" name="gllrprfssnl_images_per_page" value="" style="width:100px;" /> <?php _e( 'per page', 'gallery' ); ?></label>
1188
- </td>
1189
- </tr>
1190
- <tr valign="top" class="gllr_width_labels">
1191
- <th scope="row"><?php _e( 'The lightbox helper', 'gallery' ); ?> </th>
1192
- <td>
1193
- <label><input type="radio" name="gllrprfssnl_fancybox_helper" value="none" /> <?php _e( 'Do not use', 'gallery' ); ?></label><br />
1194
- <label><input type="radio" name="gllrprfssnl_fancybox_helper" value="button" /> <?php _e( 'Button helper', 'gallery' ); ?></label><br />
1195
- <label><input type="radio" name="gllrprfssnl_fancybox_helper" value="thumbnail" /> <?php _e( 'Thumbnail helper', 'gallery' ); ?></label>
1196
- </td>
1197
- </tr>
1198
- <tr valign="top" class="gllr_width_labels">
1199
- <th scope="row"><?php _e( 'Display Like buttons in the lightbox', 'gallery' ); ?></th>
1200
- <td>
1201
- <input disabled type="checkbox" name="gllrprfssnl_like_button_fb" value="1" /> <?php _e( 'FaceBook', 'gallery' ); ?><br />
1202
- <input disabled type="checkbox" name="gllrprfssnl_like_button_twit" value="1" /> <?php _e( 'Twitter', 'gallery' ); ?><br />
1203
- <input disabled type="checkbox" name="gllrprfssnl_like_button_pint" value="1" /> <?php _e( 'Pinterest', 'gallery' ); ?><br />
1204
- <input disabled type="checkbox" name="gllrprfssnl_like_button_g_plusone" value="1" /> <?php _e( 'Google +1', 'gallery' ); ?>
1205
- </td>
1206
- </tr>
1207
- <tr valign="top" class="gllr_width_labels">
1208
- <th scope="row"><?php _e( 'Slug for gallery item', 'gallery' ); ?></th>
1209
- <td>
1210
- <input type="text" name="gllrprfssnl_slug" value="gallery" disabled /> <span style="color: #888888;font-size: 10px;"><?php _e( 'for any structure of permalinks except the default structure', 'gallery' ); ?></span>
1211
- </td>
1212
- </tr>
1213
- <tr valign="top">
1214
- <th scope="row"><?php _e( 'Title for lightbox button', 'gallery' ); ?></th>
1215
- <td>
1216
- <input type="text" name="gllrprfssnl_lightbox_button_text" value="" />
1217
- </td>
1218
- </tr>
1219
- <tr valign="top">
1220
- <th scope="row" colspan="2">
1221
- * <?php _e( 'If you upgrade to Pro version all your settings and galleries will be saved.', 'gallery' ); ?>
1222
- </th>
1223
- </tr>
1224
- </table>
1225
- </div>
1226
- <div class="bws_pro_version_tooltip">
1227
- <div class="bws_info">
1228
- <?php _e( 'Unlock premium options by upgrading to a PRO version.', 'gallery' ); ?>
1229
- <a href="http://bestwebsoft.com/plugin/gallery-pro/?k=63a36f6bf5de0726ad6a43a165f38fe5&pn=79&v=<?php echo $gllr_plugin_info["Version"]; ?>&wp_v=<?php echo $wp_version; ?>" target="_blank" title="Gallery Pro Plugin"><?php _e( 'Learn More', 'gallery' ); ?></a>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1230
  </div>
1231
- <div class="bws_pro_links">
1232
- <span class="bws_trial_info">
1233
- <a href="http://bestwebsoft.com/plugin/gallery-pro/?k=63a36f6bf5de0726ad6a43a165f38fe5&pn=79&v=<?php echo $gllr_plugin_info["Version"]; ?>&wp_v=<?php echo $wp_version; ?>#trial" target="_blank" title="Gallery Pro Plugin"><?php _e( 'Start Your Trial', 'gallery' ); ?></a>
1234
- <?php _e( 'or', 'gallery' ); ?>
1235
- </span>
1236
- <a class="bws_button" href="http://bestwebsoft.com/plugin/gallery-pro/?k=63a36f6bf5de0726ad6a43a165f38fe5&pn=79&v=<?php echo $gllr_plugin_info["Version"]; ?>&wp_v=<?php echo $wp_version; ?>#purchase" target="_blank" title="Gallery Pro Plugin">
1237
- <?php _e( 'Go', 'gallery' ); ?> <strong>PRO</strong>
1238
- </a>
 
 
 
 
 
 
 
1239
  </div>
1240
- <div class="clear"></div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1241
  </div>
1242
  </div>
1243
- <input type="hidden" name="gllr_form_submit" value="submit" />
1244
- <p class="submit">
1245
- <input type="submit" class="button-primary" value="<?php _e( 'Save Changes' ) ?>" />
1246
- </p>
1247
- <?php wp_nonce_field( plugin_basename( __FILE__ ), 'gllr_nonce_name' ); ?>
1248
- </form>
1249
- <div class="bws-plugin-reviews">
1250
- <div class="bws-plugin-reviews-rate">
1251
- <?php _e( 'If you enjoy our plugin, please give it 5 stars on WordPress', 'gallery' ); ?>:
1252
- <a href="http://wordpress.org/support/view/plugin-reviews/gallery-plugin/" target="_blank" title="Gallery reviews"><?php _e( 'Rate the plugin', 'gallery' ); ?></a>
1253
- </div>
1254
- <div class="bws-plugin-reviews-support">
1255
- <?php _e( 'If there is something wrong about it, please contact us', 'gallery' ); ?>:
1256
- <a href="http://support.bestwebsoft.com">http://support.bestwebsoft.com</a>
1257
- </div>
1258
- </div>
1259
- <?php } elseif ( 'go_pro' == $_GET['action'] ) { ?>
1260
- <?php if ( isset( $pro_plugin_is_activated ) && true === $pro_plugin_is_activated ) { ?>
1261
- <script type="text/javascript">
1262
- window.setTimeout( function() {
1263
- window.location.href = 'admin.php?page=gallery-plugin-pro.php';
1264
- }, 5000 );
1265
- </script>
1266
- <p><?php _e( "Congratulations! The PRO version of the plugin is successfully download and activated.", 'gallery' ); ?></p>
1267
- <p>
1268
- <?php _e( "Please, go to", 'gallery' ); ?> <a href="admin.php?page=gallery-plugin-pro.php"><?php _e( 'the setting page', 'gallery' ); ?></a>
1269
- (<?php _e( "You will be redirected automatically in 5 seconds.", 'gallery' ); ?>)
1270
- </p>
1271
- <?php } else { ?>
1272
- <form method="post" action="admin.php?page=gallery-plugin.php&amp;action=go_pro">
1273
  <p>
1274
- <?php _e( 'You can download and activate', 'gallery' ); ?>
1275
- <a href="http://bestwebsoft.com/plugin/gallery-pro/?k=63a36f6bf5de0726ad6a43a165f38fe5&pn=79&v=<?php echo $gllr_plugin_info["Version"]; ?>&wp_v=<?php echo $wp_version; ?>" target="_blank" title="Gallery Pro">PRO</a>
1276
- <?php _e( 'version of this plugin by entering Your license key.', 'gallery' ); ?><br />
1277
- <span style="color: #888888;font-size: 10px;">
1278
- <?php _e( 'You can find your license key on your personal page Client area, by clicking on the link', 'gallery' ); ?>
1279
- <a href="http://bestwebsoft.com/wp-login.php">http://bestwebsoft.com/wp-login.php</a>
1280
- <?php _e( '(your username is the email you specify when purchasing the product).', 'gallery' ); ?>
1281
- </span>
1282
  </p>
1283
- <?php if ( isset( $bstwbsftwppdtplgns_options['go_pro']['gallery-plugin-pro/gallery-plugin-pro.php']['count'] ) &&
1284
- '5' < $bstwbsftwppdtplgns_options['go_pro']['gallery-plugin-pro/gallery-plugin-pro.php']['count'] &&
1285
- $bstwbsftwppdtplgns_options['go_pro']['gallery-plugin-pro/gallery-plugin-pro.php']['time'] < ( time() + ( 24 * 60 * 60 ) ) ) { ?>
1286
- <p>
1287
- <input disabled="disabled" type="text" name="bws_license_key" value="<?php echo $bws_license_key; ?>" />
1288
- <input disabled="disabled" type="submit" class="button-primary" value="<?php _e( 'Activate', 'gallery' ); ?>" /> <?php _e( 'or', 'gallery' ); ?> <a href="http://bestwebsoft.com/plugin/gallery-pro/#trial" target="_blank"><?php _e( 'Start Your Free 7-Day Trial Now', 'gallery' ); ?></a>
1289
- </p>
1290
  <p>
1291
- <?php _e( "Unfortunately, you have exceeded the number of available tries per day. Please, upload the plugin manually.", 'gallery' ); ?>
1292
- </p>
1293
- <?php } else { ?>
1294
- <p>
1295
- <input type="text" name="bws_license_key" value="<?php echo $bws_license_key; ?>" />
1296
- <input type="hidden" name="bws_license_plugin" value="gallery-plugin-pro/gallery-plugin-pro.php" />
1297
- <input type="hidden" name="bws_license_submit" value="submit" />
1298
- <input type="submit" class="button-primary" value="<?php _e( 'Activate', 'gallery' ); ?>" /> <?php _e( 'or', 'gallery' ); ?> <a href="http://bestwebsoft.com/plugin/gallery-pro/#trial" target="_blank"><?php _e( 'Start Your Free 7-Day Trial Now', 'gallery' ); ?></a>
1299
- <?php wp_nonce_field( plugin_basename(__FILE__), 'bws_license_nonce_name' ); ?>
1300
  </p>
1301
- <?php } ?>
1302
- </form>
1303
- <?php }
1304
- } ?>
1305
- </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1306
  <?php }
1307
  }
1308
 
@@ -1471,8 +1466,7 @@ if ( ! function_exists ( 'gllr_shortcode' ) ) {
1471
  $image_attributes = wp_get_attachment_image_src( $id, 'album-thumb' );
1472
  } else {
1473
  $image_attributes = wp_get_attachment_image_src( $attachments, 'album-thumb' );
1474
- }
1475
- ?>
1476
  <li>
1477
  <a rel="bookmark" href="<?php echo get_permalink(); ?>" title="<?php echo htmlspecialchars( $post->post_title ); ?>">
1478
  <img style="width:<?php echo $gllr_options['gllr_custom_size_px'][0][0]; ?>px;" alt="<?php echo htmlspecialchars( $post->post_title ); ?>" title="<?php echo htmlspecialchars( $post->post_title ); ?>" src="<?php echo $image_attributes[0]; ?>" />
@@ -1578,7 +1572,7 @@ if ( ! function_exists ( 'gllr_shortcode' ) ) {
1578
  }<?php if ( 1 == $gllr_options['start_slideshow'] ) { ?>,
1579
  'onComplete': function() {
1580
  clearTimeout( jQuery.fancybox.slider );
1581
- jQuery.fancybox.slider = setTimeout( "jQuery.fancybox.next()",<?php echo empty( $gllr_options['slideshow_interval'] )? 2000 : $gllr_options['slideshow_interval'] ; ?> );
1582
  }<?php } ?>
1583
  });
1584
  });
@@ -1719,12 +1713,12 @@ if ( ! function_exists( 'upload_gallery_image' ) ) {
1719
  $filename = str_replace( "." . $ext, "", $pathinfo['basename'] );
1720
  /*$filename = md5(uniqid());*/
1721
 
1722
- if( $this->allowedExtensions && ! in_array( strtolower( $ext ), $this->allowedExtensions ) ){
1723
  $these = implode( ', ', $this->allowedExtensions );
1724
  return "{error:'File has an invalid extension, it should be one of $these .'}";
1725
  }
1726
 
1727
- if( ! $replaceOldFile ){
1728
  /* Don't overwrite previous files that were uploaded */
1729
  while ( file_exists( $uploadDirectory . $filename . '.' . $ext ) ) {
1730
  $filename .= rand( 10, 99 );
@@ -1770,7 +1764,7 @@ if ( ! function_exists ( 'gllr_update_image' ) ) {
1770
 
1771
  $string_parent_id = implode( ",", $array_parent_id );
1772
 
1773
- $result_attachment_id = $wpdb->get_results( "SELECT ID FROM " . $wpdb->posts . " WHERE post_type = 'attachment' AND post_mime_type LIKE 'image%' AND post_parent IN (" . $string_parent_id . ")" );
1774
  echo json_encode( $result_attachment_id );
1775
  break;
1776
  case 'update_image':
@@ -1817,14 +1811,14 @@ if ( ! function_exists ( 'gllr_wp_generate_attachment_metadata' ) ) {
1817
  foreach ( $image_size as $s ) {
1818
  $sizes[ $s ] = array( 'width' => '', 'height' => '', 'crop' => FALSE );
1819
  if ( isset( $_wp_additional_image_sizes[ $s ]['width'] ) )
1820
- $sizes[ $s]['width'] = intval( $_wp_additional_image_sizes[$s]['width'] ); /* For theme-added sizes */
1821
  else
1822
  $sizes[ $s ]['width'] = get_option( "{$s}_size_w" ); /* For default sizes set in options */
1823
- if ( isset( $_wp_additional_image_sizes[$s]['height'] ) )
1824
- $sizes[ $s ]['height'] = intval( $_wp_additional_image_sizes[$s]['height'] ); /* For theme-added sizes */
1825
  else
1826
  $sizes[ $s ]['height'] = get_option( "{$s}_size_h" ); /* For default sizes set in options */
1827
- if ( isset( $_wp_additional_image_sizes[$s]['crop'] ) )
1828
  $sizes[ $s ]['crop'] = intval( $_wp_additional_image_sizes[$s]['crop'] ); /* For theme-added sizes */
1829
  else
1830
  $sizes[ $s ]['crop'] = get_option( "{$s}_crop" ); /* For default sizes set in options */
@@ -1936,7 +1930,7 @@ if ( ! function_exists ( 'gllr_image_resize' ) ) {
1936
  /* Set correct file permissions */
1937
  $stat = stat( dirname( $destfilename ));
1938
  $perms = $stat['mode'] & 0000666; /* Same permissions as parent folder, strip off the executable bits */
1939
- @ chmod( $destfilename, $perms );
1940
 
1941
  return $destfilename;
1942
  }
@@ -1995,6 +1989,7 @@ if ( ! function_exists ( 'gllr_plugin_banner' ) ) {
1995
  if ( 'plugins.php' == $hook_suffix ) {
1996
  global $bstwbsftwppdtplgns_cookie_add, $gllr_plugin_info;
1997
  $banner_array = array(
 
1998
  array( 'sndr_hide_banner_on_plugin_page', 'sender/sender.php', '0.5' ),
1999
  array( 'srrl_hide_banner_on_plugin_page', 'user-role/user-role.php', '1.4' ),
2000
  array( 'pdtr_hide_banner_on_plugin_page', 'updater/updater.php', '1.12' ),
@@ -2070,8 +2065,6 @@ if ( ! function_exists ( 'gllr_plugin_banner' ) ) {
2070
  }
2071
  /* Activate plugin */
2072
  register_activation_hook( __FILE__, 'gllr_plugin_install' );
2073
- /* Delete plugin */
2074
- register_uninstall_hook( __FILE__, 'gllr_plugin_uninstall' );
2075
 
2076
  /* Additional links on the plugin page */
2077
  add_filter( 'plugin_action_links', 'gllr_plugin_action_links', 10, 2 );
@@ -2107,4 +2100,6 @@ add_action( 'wp_ajax_upload_gallery_image', 'upload_gallery_image' );
2107
  add_action( 'wp_ajax_gllr_update_image', 'gllr_update_image' );
2108
 
2109
  add_action( 'admin_notices', 'gllr_plugin_banner' );
 
 
2110
  ?>
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: 4.2.2
8
  Author URI: http://bestwebsoft.com/
9
  License: GPLv2 or later
10
  */
141
  }
142
 
143
  /* Get options from the database */
144
+ $gllr_options = ( 1 == $wpmu ) ? get_site_option( 'gllr_options' ) : get_option( 'gllr_options' );
 
 
 
145
 
146
  /* Array merge incase this version has added new options */
147
  if ( ! isset( $gllr_options['plugin_option_version'] ) || $gllr_options['plugin_option_version'] != $gllr_plugin_info["Version"] ) {
353
  $error = __( "The gallery temp directory (gallery-plugin/upload/files) is not available for record on your webserver. Please use the standard WP functionality to upload images (media library)", 'gallery' );
354
  $uploader = false;
355
  } ?>
356
+ <div style="padding-top:10px;"><label for="uploadscreen"><?php _e( 'Choose an image for upload:', 'gallery' ); ?></label>
357
  <input name="MAX_FILE_SIZE" value="1048576" type="hidden" />
358
  <div id="file-uploader-demo1" style="padding-top:10px;">
359
  <?php echo $error; ?>
360
  <noscript>
361
+ <p><?php _e( 'Please enable JavaScript to use the file uploader.', 'gallery' ); ?></p>
362
  </noscript>
363
  </div>
364
  <ul id="files" ></ul>
413
  echo '<br />' . __( "Title", "gallery" ) . '<br /><input type="text" name="gllr_image_text['.$page->ID.']" value="' . get_post_meta( $page->ID, $key, TRUE ) . '" class="gllr_image_text" />';
414
  echo '<input type="text" name="gllr_order_text[' . $page->ID . ']" value="' . $page->menu_order . '" class="gllr_order_text ' . ( $page->menu_order == 0 ? "hidden" : '' ) . '" />';
415
  echo '<br />' . __( "Alt tag", "gallery" ) . '<br /><input type="text" name="gllr_image_alt_tag[' . $page->ID . ']" value="' . get_post_meta( $page->ID, $alt_tag_key, TRUE ) . '" class="gllr_image_alt_tag" />';
416
+ echo '<br />' . __( "URL", "gallery" ) . '<br /><input type="text" name="gllr_link_url[' . $page->ID . ']" value="' . get_post_meta( $page->ID, $link_key, TRUE ) . '" class="gllr_link_text" /><br /><span class="small_text">' . __( "(by click on image opens a link in a new window)", "gallery" ) . '</span>';
417
  echo '<a class="bws_plugin_pro_version" href="http://bestwebsoft.com/plugin/gallery-pro/?k=63a36f6bf5de0726ad6a43a165f38fe5&pn=79&v=' . $gllr_plugin_info["Version"] . '&wp_v=' . $wp_version . '" target="_blank" title="' . __( 'This setting is available in Pro version', 'gallery' ) . '">' .
418
  '<div>' . __( "Open the URL", "gallery" ) . '<br/><input disabled type="radio" value="_self" > ' . __( "Current window", "gallery" ) . '<br/><input disabled type="radio" value="_blank" > ' . __( "New window", "gallery" ) . '<br/>' .
419
  __( "Lightbox button URL", "gallery" ) . '<br><input class="gllrprfssnl_link_text" disabled type="text" value="" name="gllrprfssnl_lightbox_button_url"><br/>' .
532
  "post_parent" => $post->ID ) );
533
  foreach ( $posts as $page ) {
534
  if ( isset( $_REQUEST['gllr_link_url'][ $page->ID ] ) ) {
535
+ $value = esc_url( trim( $_REQUEST['gllr_link_url'][ $page->ID ] ) );
536
  if ( get_post_meta( $page->ID, $link_key, FALSE ) ) {
537
  /* Custom field has a value and this custom field exists in database */
538
  update_post_meta( $page->ID, $link_key, $value );
765
  $gllr_request_options["custom_image_row_count"] = 1;
766
 
767
  $gllr_request_options["start_slideshow"] = ( isset( $_REQUEST['gllr_start_slideshow'] ) ) ? 1 : 0;
768
+ $gllr_request_options["slideshow_interval"] = intval( $_REQUEST['gllr_slideshow_interval'] );
769
  $gllr_request_options["single_lightbox_for_multiple_galleries"] = ( isset( $_REQUEST['gllr_single_lightbox_for_multiple_galleries'] ) ) ? 1 : 0;
770
 
771
  $gllr_request_options["order_by"] = $_REQUEST['gllr_order_by'];
774
 
775
  $gllr_request_options["return_link"] = ( isset( $_REQUEST['gllr_return_link'] ) ) ? 1 : 0;
776
  $gllr_request_options["return_link_page"] = $_REQUEST['gllr_return_link_page'];
777
+ $gllr_request_options["return_link_url"] = strpos( $_REQUEST['gllr_return_link_url'], "http:" ) !== false ? esc_url( $_REQUEST['gllr_return_link_url'] ) : 'http://' . esc_url( $_REQUEST['gllr_return_link_url'] );
778
  $gllr_request_options["return_link_shortcode"] = ( isset( $_REQUEST['gllr_return_link_shortcode'] ) ) ? 1 : 0;
779
+ $gllr_request_options["return_link_text"] = stripslashes( esc_html( $_REQUEST['gllr_return_link_text'] ) );
780
+ $gllr_request_options["read_more_link_text"] = stripslashes( esc_html( $_REQUEST['gllr_read_more_link_text'] ) );
781
 
782
  if ( isset( $_REQUEST['gllr_add_to_search'] ) ) {
783
  if ( 0 == $wpmu && isset( $cstmsrch_options ) ) {
823
  /* GO PRO */
824
  if ( isset( $_GET['action'] ) && 'go_pro' == $_GET['action'] ) {
825
  global $wpmu, $bstwbsftwppdtplgns_options;
826
+ $bws_license_key = ( isset( $_POST['bws_license_key'] ) ) ? trim( esc_html( $_POST['bws_license_key'] ) ) : "";
827
 
828
  if ( isset( $_POST['bws_license_submit'] ) && check_admin_referer( plugin_basename( __FILE__ ), 'bws_license_nonce_name' ) ) {
829
  if ( '' != $bws_license_key ) {
830
  if ( strlen( $bws_license_key ) != 18 ) {
831
  $error = __( "Wrong license key", 'gallery' );
832
  } else {
833
+ $bws_license_plugin = stripslashes( esc_html( $_POST['bws_license_plugin'] ) );
834
  if ( isset( $bstwbsftwppdtplgns_options['go_pro'][ $bws_license_plugin ]['count'] ) && $bstwbsftwppdtplgns_options['go_pro'][ $bws_license_plugin ]['time'] < ( time() + (24 * 60 * 60) ) ) {
835
  $bstwbsftwppdtplgns_options['go_pro'][ $bws_license_plugin ]['count'] = $bstwbsftwppdtplgns_options['go_pro'][ $bws_license_plugin ]['count'] + 1;
836
  } else {
933
  $error = __( "Please, enter Your license key", 'gallery' );
934
  }
935
  }
936
+ } /* Display form on the setting page */ ?>
937
+ <div class="wrap">
938
+ <div class="icon32 icon32-bws" id="icon-options-general"></div>
939
+ <h2><?php _e( 'Gallery Settings', 'gallery' ); ?></h2>
940
+ <h2 class="nav-tab-wrapper">
941
+ <a class="nav-tab<?php if ( ! isset( $_GET['action'] ) ) echo ' nav-tab-active'; ?>" href="admin.php?page=gallery-plugin.php"><?php _e( 'Settings', 'gallery' ); ?></a>
942
+ <a class="nav-tab" href="http://bestwebsoft.com/plugin/gallery-plugin/#faq" target="_blank"><?php _e( 'FAQ', 'gallery' ); ?></a>
943
+ <a class="nav-tab bws_go_pro_tab<?php if ( isset( $_GET['action'] ) && 'go_pro' == $_GET['action'] ) echo ' nav-tab-active'; ?>" href="admin.php?page=gallery-plugin.php&amp;action=go_pro"><?php _e( 'Go PRO', 'gallery' ); ?></a>
944
+ </h2>
945
+ <div id="gllr_settings_message" class="updated fade" <?php if ( ! isset( $_REQUEST['gllr_form_submit'] ) || "" != $error ) echo "style=\"display:none\""; ?>><p><strong><?php echo $message; ?></strong></p></div>
946
+ <div class="error" <?php if ( "" == $error ) echo "style=\"display:none\""; ?>><p><strong><?php echo $error; ?></strong></p></div>
947
+ <?php if ( ! isset( $_GET['action'] ) ) { ?>
948
+ <div id="gllr_settings_notice" class="updated fade" style="display:none"><p><strong><?php _e( "Notice:", 'gallery' ); ?></strong> <?php _e( "The plugin's settings have been changed. In order to save them please don't forget to click the 'Save Changes' button.", 'gallery' ); ?></p></div>
949
+ <p><?php _e( "If you would like to add a Single Gallery to your page or post, just copy and paste this shortcode into your post or page:", 'gallery' ); ?> [print_gllr id=Your_gallery_post_id]</p>
950
+ <noscript>
951
+ <p><?php _e( 'Please enable JavaScript to use the option to renew images.', 'gallery' ); ?></p>
952
+ </noscript>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
953
  <table class="form-table">
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
954
  <tr valign="top">
955
+ <th scope="row"><?php _e( 'Update images for gallery', 'gallery' ); ?> </th>
956
+ <td style="position:relative">
957
+ <input type="button" value="<?php _e( 'Update images' ); ?>" id="ajax_update_images" name="ajax_update_images" class="button" onclick="javascript:gllr_update_images();"> <div id="gllr_img_loader"><img src="<?php echo plugins_url( 'images/ajax-loader.gif', __FILE__ ); ?>" alt="loader" /></div>
958
+ </td>
959
  </tr>
960
  </table>
961
+ <script type="text/javascript">
962
+ var update_img_message = "<?php _e( 'Updating images...', 'gallery' ) ?>",
963
+ not_found_img_info = "<?php _e( 'No image found', 'gallery'); ?>",
964
+ img_success = "<?php _e( 'All images are updated', 'gallery' ); ?>",
965
+ img_error = "<?php _e( 'Error.', 'gallery' ); ?>";
966
+ </script>
967
+ <br/>
968
+ <form id="gllr_settings_form" method="post" action="admin.php?page=gallery-plugin.php">
969
+ <table class="form-table">
970
+ <tr valign="top" class="gllr_width_labels">
971
+ <th scope="row"><?php _e( 'Image size for the album cover', 'gallery' ); ?> </th>
972
+ <td>
973
+ <label for="custom_image_size_name"><?php _e( 'Image size', 'gallery' ); ?></label> <?php echo $gllr_options["gllr_custom_size_name"][0]; ?><br />
974
+ <label for="custom_image_size_w"><?php _e( 'Width (in px)', 'gallery' ); ?></label> <input type="text" name="gllr_custom_image_size_w_album" value="<?php echo $gllr_options["gllr_custom_size_px"][0][0]; ?>" /><br />
975
+ <label for="custom_image_size_h"><?php _e( 'Height (in px)', 'gallery' ); ?></label> <input type="text" name="gllr_custom_image_size_h_album" value="<?php echo $gllr_options["gllr_custom_size_px"][0][1]; ?>" />
976
+ </td>
977
+ </tr>
978
+ <tr valign="top" class="gllr_width_labels">
979
+ <th scope="row"><?php _e( 'Gallery image size', 'gallery' ); ?> </th>
980
+ <td>
981
+ <label for="custom_image_size_name"><?php _e( 'Image size', 'gallery' ); ?></label> <?php echo $gllr_options["gllr_custom_size_name"][1]; ?><br />
982
+ <label for="custom_image_size_w"><?php _e( 'Width (in px)', 'gallery' ); ?></label> <input type="text" name="gllr_custom_image_size_w_photo" value="<?php echo $gllr_options["gllr_custom_size_px"][1][0]; ?>" /><br />
983
+ <label for="custom_image_size_h"><?php _e( 'Height (in px)', 'gallery' ); ?></label> <input type="text" name="gllr_custom_image_size_h_photo" value="<?php echo $gllr_options["gllr_custom_size_px"][1][1]; ?>" />
984
+ </td>
985
+ </tr>
986
+ <tr valign="top">
987
+ <td colspan="2"><span style="color: #888888;font-size: 10px;"><?php _e( 'WordPress will create a new thumbnail with the specified dimensions when you upload a new photo.', 'gallery' ); ?></span></td>
988
+ </tr>
989
+ </table>
990
+ <div class="bws_pro_version_bloc">
991
+ <div class="bws_pro_version_table_bloc">
992
+ <div class="bws_table_bg"></div>
993
+ <table class="form-table bws_pro_version">
994
+ <tr valign="top" class="gllr_width_labels">
995
+ <th scope="row"><?php _e( 'Gallery image size in the lightbox', 'gallery' ); ?> </th>
996
+ <td>
997
+ <label for="custom_image_size_name"><?php _e( 'Image size', 'gallery' ); ?></label> full-photo<br />
998
+ <label for="custom_image_size_w"><?php _e( 'Max width (in px)', 'gallery' ); ?></label> <input disabled class="gllrprfssnl_size_photo_full" type="text" name="gllrprfssnl_custom_image_size_w_full" value="1024"/><br />
999
+ <label for="custom_image_size_h"><?php _e( 'Max height (in px)', 'gallery' ); ?></label> <input disabled class="gllrprfssnl_size_photo_full" type="text" name="gllrprfssnl_custom_image_size_h_full" value="1024"/><br />
1000
+ <input disabled type="checkbox" name="gllrprfssnl_size_photo_full" value="1" /> <?php _e( 'Display a full size image in the lightbox', 'gallery' ); ?>
1001
+ </td>
1002
+ </tr>
1003
+ <tr valign="top" class="gllr_width_labels">
1004
+ <th scope="row"><?php _e( 'Crop position', 'gallery' ); ?></th>
1005
+ <td>
1006
+ <label><?php _e( 'Horizontal', 'gallery' ); ?></label>
1007
+ <select>
1008
+ <option value="left"><?php _e( 'left', 'gallery' ); ?></option>
1009
+ <option value="center"><?php _e( 'center', 'gallery' ); ?></option>
1010
+ <option value="right"><?php _e( 'right', 'gallery' ); ?></option>
1011
+ </select>
1012
+ <br />
1013
+ <label><?php _e( 'Vertical', 'gallery' ); ?></label>
1014
+ <select>
1015
+ <option value="top"><?php _e( 'top', 'gallery' ); ?></option>
1016
+ <option value="center"><?php _e( 'center', 'gallery' ); ?></option>
1017
+ <option value="bottom"><?php _e( 'bottom', 'gallery' ); ?></option>
1018
+ </select>
1019
+ </td>
1020
+ </tr>
1021
+ <tr valign="top">
1022
+ <th scope="row"><?php _e( 'Lightbox background', 'gallery' ); ?> </th>
1023
+ <td>
1024
+ <input disabled class="button button-small gllrprfssnl_lightbox_default" type="button" value="<?php _e( 'Default', 'gallery' ); ?>"> <br />
1025
+ <input disabled type="text" size="8" value="0.7" name="gllrprfssnl_background_lightbox_opacity" /> <?php _e( 'Background transparency (from 0 to 1)', 'gallery' ); ?><br />
1026
+ <?php if ( 3.5 <= $wp_version ) { ?>
1027
+ <input disabled id="gllrprfssnl_background_lightbox_color" type="minicolors" name="gllrprfssnl_background_lightbox_color" value="#777777" id="gllrprfssnl_background_lightbox_color" /> <?php _e( 'Select a background color', 'gallery' ); ?>
1028
+ <?php } else { ?>
1029
+ <input disabled id="gllrprfssnl_background_lightbox_color" type="text" name="gllrprfssnl_background_lightbox_color" value="#777777" id="gllrprfssnl_background_lightbox_color" /><span id="gllrprfssnl_background_lightbox_color_small" style="background-color:#777777"></span> <?php _e( 'Background color', 'gallery' ); ?>
1030
+ <div id="colorPickerDiv_backgraund" style="z-index: 100; background:#eee; border:1px solid #ccc; position:absolute; display:none;"></div>
1031
+ <?php } ?>
1032
+ </td>
1033
+ </tr>
1034
+ <tr valign="top">
1035
+ <th scope="row" colspan="2">
1036
+ * <?php _e( 'If you upgrade to Pro version all your settings and galleries will be saved.', 'gallery' ); ?>
1037
+ </th>
1038
+ </tr>
1039
+ </table>
1040
+ </div>
1041
+ <div class="bws_pro_version_tooltip">
1042
+ <div class="bws_info">
1043
+ <?php _e( 'Unlock premium options by upgrading to a PRO version.', 'gallery' ); ?>
1044
+ <a href="http://bestwebsoft.com/plugin/gallery-pro/?k=63a36f6bf5de0726ad6a43a165f38fe5&pn=79&v=<?php echo $gllr_plugin_info["Version"]; ?>&wp_v=<?php echo $wp_version; ?>" target="_blank" title="Gallery Pro Plugin"><?php _e( 'Learn More', 'gallery' ); ?></a>
1045
+ </div>
1046
+ <div class="bws_pro_links">
1047
+ <span class="bws_trial_info">
1048
+ <a href="http://bestwebsoft.com/plugin/gallery-pro/?k=63a36f6bf5de0726ad6a43a165f38fe5&pn=79&v=<?php echo $gllr_plugin_info["Version"]; ?>&wp_v=<?php echo $wp_version; ?>#trial" target="_blank" title="Gallery Pro Plugin"><?php _e( 'Start Your Trial', 'gallery' ); ?></a>
1049
+ <?php _e( 'or', 'gallery' ); ?>
1050
+ </span>
1051
+ <a class="bws_button" href="http://bestwebsoft.com/plugin/gallery-pro/?k=63a36f6bf5de0726ad6a43a165f38fe5&pn=79&v=<?php echo $gllr_plugin_info["Version"]; ?>&wp_v=<?php echo $wp_version; ?>#purchase" target="_blank" title="Gallery Pro Plugin">
1052
+ <?php _e( 'Go', 'gallery' ); ?> <strong>PRO</strong>
1053
+ </a>
1054
+ </div>
1055
+ <div class="clear"></div>
1056
  </div>
 
 
 
 
 
 
 
 
 
 
1057
  </div>
1058
+ <table class="form-table">
1059
+ <tr valign="top">
1060
+ <th scope="row"><?php _e( 'Images with border', 'gallery' ); ?></th>
1061
+ <td>
1062
+ <input type="checkbox" name="gllr_border_images" value="1" <?php if ( 1 == $gllr_options["border_images"] ) echo 'checked="checked"'; ?> /><br />
1063
+ <input type="text" value="<?php echo $gllr_options["border_images_width"]; ?>" name="gllr_border_images_width" /> <?php _e( 'Border width in px, just numbers', 'gallery' ); ?><br />
1064
+ <?php if ( 3.5 <= $wp_version ) { ?>
1065
+ <input type="minicolors" name="gllr_border_images_color" value="<?php echo $gllr_options["border_images_color"]; ?>" id="gllr_border_images_color" /> <?php _e( 'Select a border color', 'gallery' ); ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1066
  <?php } else { ?>
1067
+ <input type="text" name="gllr_border_images_color" value="<?php echo $gllr_options["border_images_color"]; ?>" id="gllr_border_images_color" /><span id="gllr_border_images_color_small" style="background-color:<?php echo $gllr_options["border_images_color"]; ?>"></span> <?php _e( 'Select a border color', 'gallery' ); ?>
1068
+ <div id="colorPickerDiv" style="z-index: 100; background:#eee; border:1px solid #ccc; position:absolute; display:none;"></div>
1069
+ <?php } ?>
1070
+ </td>
1071
+ </tr>
1072
+ <tr valign="top">
1073
+ <th scope="row"><?php _e( 'Number of images in the row', 'gallery' ); ?> </th>
1074
+ <td>
1075
+ <input type="text" name="gllr_custom_image_row_count" value="<?php echo $gllr_options["custom_image_row_count"]; ?>" />
1076
+ </td>
1077
+ </tr>
1078
+ <tr valign="top">
1079
+ <th scope="row"><?php _e( 'Start slideshow', 'gallery' ); ?> </th>
1080
+ <td>
1081
+ <input type="checkbox" name="gllr_start_slideshow" value="1" <?php if ( 1 == $gllr_options["start_slideshow"] ) echo 'checked="checked"'; ?> />
1082
+ </td>
1083
+ </tr>
1084
+ <tr valign="top">
1085
+ <th scope="row"><?php _e( 'Slideshow interval', 'gallery' ); ?> </th>
1086
+ <td>
1087
+ <input type="text" name="gllr_slideshow_interval" value="<?php echo $gllr_options["slideshow_interval"]; ?>" />
1088
+ </td>
1089
+ </tr>
1090
+ <tr valign="top">
1091
+ <th scope="row"><?php _e( 'Use single lightbox for multiple galleries on one page', 'gallery' ); ?> </th>
1092
+ <td>
1093
+ <input type="checkbox" name="gllr_single_lightbox_for_multiple_galleries" value="1" <?php if ( 1 == $gllr_options["single_lightbox_for_multiple_galleries"] ) echo 'checked="checked"'; ?> />
1094
+ </td>
1095
+ </tr>
1096
+ <tr valign="top">
1097
+ <th scope="row"><?php _e( 'Sort images by', 'gallery' ); ?></th>
1098
+ <td>
1099
+ <label class="label_radio"><input type="radio" name="gllr_order_by" value="ID" <?php if ( 'ID' == $gllr_options["order_by"] ) echo 'checked="checked"'; ?> /> <?php _e( 'Attachment ID', 'gallery' ); ?></label><br />
1100
+ <label class="label_radio"><input type="radio" name="gllr_order_by" value="title" <?php if ( 'title' == $gllr_options["order_by"] ) echo 'checked="checked"'; ?> /> <?php _e( 'Image Name', 'gallery' ); ?></label><br />
1101
+ <label class="label_radio"><input type="radio" name="gllr_order_by" value="date" <?php if ( 'date' == $gllr_options["order_by"] ) echo 'checked="checked"'; ?> /> <?php _e( 'Date', 'gallery' ); ?></label><br />
1102
+ <label class="label_radio"><input type="radio" name="gllr_order_by" value="menu_order" <?php if ( 'menu_order' == $gllr_options["order_by"] ) echo 'checked="checked"'; ?> /> <?php _e( 'Sorting order (the input field for sorting order in the Insert / Upload Media Gallery dialog)', 'gallery' ); ?></label><br />
1103
+ <label class="label_radio"><input type="radio" name="gllr_order_by" value="rand" <?php if ( 'rand' == $gllr_options["order_by"] ) echo 'checked="checked"'; ?> /> <?php _e( 'Random', 'gallery' ); ?></label>
1104
+ </td>
1105
+ </tr>
1106
+ <tr valign="top">
1107
+ <th scope="row"><?php _e( 'Sort images', 'gallery' ); ?></th>
1108
+ <td>
1109
+ <label class="label_radio"><input type="radio" name="gllr_order" value="ASC" <?php if ( 'ASC' == $gllr_options["order"] ) echo 'checked="checked"'; ?> /> <?php _e( 'ASC (ascending order from lowest to highest values - 1, 2, 3; a, b, c)', 'gallery' ); ?></label><br />
1110
+ <label class="label_radio"><input type="radio" name="gllr_order" value="DESC" <?php if ( 'DESC' == $gllr_options["order"] ) echo 'checked="checked"'; ?> /> <?php _e( 'DESC (descending order from highest to lowest values - 3, 2, 1; c, b, a)', 'gallery' ); ?></label>
1111
+ </td>
1112
+ </tr>
1113
+ <tr valign="top">
1114
+ <th scope="row"><?php _e( 'Display text above the image', 'gallery' ); ?></th>
1115
+ <td>
1116
+ <label><input type="checkbox" name="gllr_image_text" value="1" <?php if ( 1 == $gllr_options["image_text"] ) echo 'checked="checked"'; ?> /> <?php _e( 'Turn off the checkbox, if you want to display text just in a lightbox', 'gallery' ); ?></label>
1117
+ </td>
1118
+ </tr>
1119
+ <tr valign="top">
1120
+ <th scope="row"><?php _e( 'Display the Back link', 'gallery' ); ?></th>
1121
+ <td>
1122
+ <input type="checkbox" name="gllr_return_link" value="1" <?php if ( 1 == $gllr_options["return_link"] ) echo 'checked="checked"'; ?> />
1123
+ </td>
1124
+ </tr>
1125
+ <tr valign="top">
1126
+ <th scope="row"><?php _e( 'Display the Back link in the shortcode', 'gallery' ); ?> </th>
1127
+ <td>
1128
+ <input type="checkbox" name="gllr_return_link_shortcode" value="1" <?php if ( 1 == $gllr_options["return_link_shortcode"] ) echo 'checked="checked"'; ?> />
1129
+ </td>
1130
+ </tr>
1131
+ <tr valign="top">
1132
+ <th scope="row"><?php _e( 'The Back link text', 'gallery' ); ?> </th>
1133
+ <td>
1134
+ <input type="text" name="gllr_return_link_text" value="<?php echo $gllr_options["return_link_text"]; ?>" style="width:200px;" />
1135
+ </td>
1136
+ </tr>
1137
+ <tr valign="top">
1138
+ <th scope="row"><?php _e( 'The Back link URL', 'gallery' ); ?></th>
1139
+ <td>
1140
+ <label><input type="radio" value="gallery_template_url" name="gllr_return_link_page" <?php if ( 'gallery_template_url' == $gllr_options["return_link_page"] ) echo 'checked="checked"'; ?> /><?php _e( 'Gallery page (Page with Gallery Template)', 'gallery'); ?></label><br />
1141
+ <input type="radio" value="custom_url" name="gllr_return_link_page" id="gllr_return_link_url" <?php if ( 'custom_url' == $gllr_options["return_link_page"] ) echo 'checked="checked"'; ?> /> <input type="text" onfocus="document.getElementById('gllr_return_link_url').checked = true;" value="<?php echo $gllr_options["return_link_url"]; ?>" name="gllr_return_link_url">
1142
+ <?php _e( '(Full URL to custom page)' , 'gallery'); ?>
1143
+ </td>
1144
+ </tr>
1145
+ <tr valign="top">
1146
+ <th scope="row"><?php _e( 'The Read More link text', 'gallery' ); ?></th>
1147
+ <td>
1148
+ <input type="text" name="gllr_read_more_link_text" value="<?php echo $gllr_options["read_more_link_text"]; ?>" style="width:200px;" />
1149
+ </td>
1150
+ </tr>
1151
+ <tr valign="top">
1152
+ <th scope="row"><?php _e( 'Add gallery to the search', 'gallery' ); ?></th>
1153
+ <td>
1154
+ <?php
1155
+ $all_plugins = get_plugins();
1156
+ $active_plugins = get_option( 'active_plugins' );
1157
+ if ( ! function_exists( 'is_plugin_active_for_network' ) )
1158
+ require_once( ABSPATH . '/wp-admin/includes/plugin.php' );
1159
+ if ( array_key_exists( 'custom-search-plugin/custom-search-plugin.php', $all_plugins ) ) {
1160
+ if ( 0 < count( preg_grep( '/custom-search-plugin\/custom-search-plugin.php/', $active_plugins ) ) || is_plugin_active_for_network( 'custom-search-plugin/custom-search-plugin.php' ) ) { ?>
1161
+ <input type="checkbox" name="gllr_add_to_search" value="1" <?php if ( isset( $cstmsrch_options ) && in_array( 'gallery', $cstmsrch_options ) ) echo "checked=\"checked\""; ?> />
1162
+ <span style="color: #888888;font-size: 10px;"> (<?php _e( 'Using', 'gallery' ); ?> <a href="admin.php?page=custom_search.php">Custom Search</a> <?php _e( 'powered by', 'gallery' ); ?> <a href="http://bestwebsoft.com/plugin/">bestwebsoft.com</a>)</span>
1163
+ <?php } else { ?>
1164
+ <input disabled="disabled" type="checkbox" name="gllr_add_to_search" value="1" <?php if ( isset( $cstmsrch_options ) && in_array( 'gallery', $cstmsrch_options ) ) echo "checked=\"checked\""; ?> />
1165
+ <span style="color: #888888;font-size: 10px;">(<?php _e( 'Using Custom Search powered by', 'gallery' ); ?> <a href="http://bestwebsoft.com/plugin/">bestwebsoft.com</a>) <a href="<?php echo bloginfo("url"); ?>/wp-admin/plugins.php"><?php _e( 'Activate Custom Search', 'gallery' ); ?></a></span>
1166
+ <?php }
1167
+ } else { ?>
1168
+ <input disabled="disabled" type="checkbox" name="gllr_add_to_search" value="1" />
1169
+ <span style="color: #888888;font-size: 10px;">(<?php _e( 'Using Custom Search powered by', 'gallery' ); ?> <a href="http://bestwebsoft.com/plugin/">bestwebsoft.com</a>) <a href="http://bestwebsoft.com/plugin/custom-search-plugin/"><?php _e( 'Download Custom Search', 'gallery' ); ?></a></span>
1170
+ <?php } ?>
1171
+ </td>
1172
+ </tr>
1173
+ </table>
1174
+ <div class="bws_pro_version_bloc">
1175
+ <div class="bws_pro_version_table_bloc">
1176
+ <div class="bws_table_bg"></div>
1177
+ <table class="form-table bws_pro_version">
1178
+ <tr valign="top" class="gllr_width_labels">
1179
+ <th scope="row"><?php _e( 'Use pagination for images', 'gallery' ); ?></th>
1180
+ <td>
1181
+ <input type="checkbox" name="gllrprfssnl_images_pagination" value="1" /><br />
1182
+ <label><input type="text" name="gllrprfssnl_images_per_page" value="" style="width:100px;" /> <?php _e( 'per page', 'gallery' ); ?></label>
1183
+ </td>
1184
+ </tr>
1185
+ <tr valign="top" class="gllr_width_labels">
1186
+ <th scope="row"><?php _e( 'The lightbox helper', 'gallery' ); ?></th>
1187
+ <td>
1188
+ <label><input type="radio" name="gllrprfssnl_fancybox_helper" value="none" /> <?php _e( 'Do not use', 'gallery' ); ?></label><br />
1189
+ <label><input type="radio" name="gllrprfssnl_fancybox_helper" value="button" /> <?php _e( 'Button helper', 'gallery' ); ?></label><br />
1190
+ <label><input type="radio" name="gllrprfssnl_fancybox_helper" value="thumbnail" /> <?php _e( 'Thumbnail helper', 'gallery' ); ?></label>
1191
+ </td>
1192
+ </tr>
1193
+ <tr valign="top" class="gllr_width_labels">
1194
+ <th scope="row"><?php _e( 'Display Like buttons in the lightbox', 'gallery' ); ?></th>
1195
+ <td>
1196
+ <input disabled type="checkbox" name="gllrprfssnl_like_button_fb" value="1" /> <?php _e( 'FaceBook', 'gallery' ); ?><br />
1197
+ <input disabled type="checkbox" name="gllrprfssnl_like_button_twit" value="1" /> <?php _e( 'Twitter', 'gallery' ); ?><br />
1198
+ <input disabled type="checkbox" name="gllrprfssnl_like_button_pint" value="1" /> <?php _e( 'Pinterest', 'gallery' ); ?><br />
1199
+ <input disabled type="checkbox" name="gllrprfssnl_like_button_g_plusone" value="1" /> <?php _e( 'Google +1', 'gallery' ); ?>
1200
+ </td>
1201
+ </tr>
1202
+ <tr valign="top" class="gllr_width_labels">
1203
+ <th scope="row"><?php _e( 'Slug for gallery item', 'gallery' ); ?></th>
1204
+ <td>
1205
+ <input type="text" name="gllrprfssnl_slug" value="gallery" disabled /> <span style="color: #888888;font-size: 10px;"><?php _e( 'for any structure of permalinks except the default structure', 'gallery' ); ?></span>
1206
+ </td>
1207
+ </tr>
1208
+ <tr valign="top">
1209
+ <th scope="row"><?php _e( 'Title for lightbox button', 'gallery' ); ?></th>
1210
+ <td>
1211
+ <input type="text" name="gllrprfssnl_lightbox_button_text" value="" />
1212
+ </td>
1213
+ </tr>
1214
+ <tr valign="top">
1215
+ <th scope="row" colspan="2">
1216
+ * <?php _e( 'If you upgrade to Pro version all your settings and galleries will be saved.', 'gallery' ); ?>
1217
+ </th>
1218
+ </tr>
1219
+ </table>
1220
  </div>
1221
+ <div class="bws_pro_version_tooltip">
1222
+ <div class="bws_info">
1223
+ <?php _e( 'Unlock premium options by upgrading to a PRO version.', 'gallery' ); ?>
1224
+ <a href="http://bestwebsoft.com/plugin/gallery-pro/?k=63a36f6bf5de0726ad6a43a165f38fe5&pn=79&v=<?php echo $gllr_plugin_info["Version"]; ?>&wp_v=<?php echo $wp_version; ?>" target="_blank" title="Gallery Pro Plugin"><?php _e( 'Learn More', 'gallery' ); ?></a>
1225
+ </div>
1226
+ <div class="bws_pro_links">
1227
+ <span class="bws_trial_info">
1228
+ <a href="http://bestwebsoft.com/plugin/gallery-pro/?k=63a36f6bf5de0726ad6a43a165f38fe5&pn=79&v=<?php echo $gllr_plugin_info["Version"]; ?>&wp_v=<?php echo $wp_version; ?>#trial" target="_blank" title="Gallery Pro Plugin"><?php _e( 'Start Your Trial', 'gallery' ); ?></a>
1229
+ <?php _e( 'or', 'gallery' ); ?>
1230
+ </span>
1231
+ <a class="bws_button" href="http://bestwebsoft.com/plugin/gallery-pro/?k=63a36f6bf5de0726ad6a43a165f38fe5&pn=79&v=<?php echo $gllr_plugin_info["Version"]; ?>&wp_v=<?php echo $wp_version; ?>#purchase" target="_blank" title="Gallery Pro Plugin">
1232
+ <?php _e( 'Go', 'gallery' ); ?> <strong>PRO</strong>
1233
+ </a>
1234
+ </div>
1235
+ <div class="clear"></div>
1236
  </div>
1237
+ </div>
1238
+ <input type="hidden" name="gllr_form_submit" value="submit" />
1239
+ <p class="submit">
1240
+ <input type="submit" class="button-primary" value="<?php _e( 'Save Changes' ) ?>" />
1241
+ </p>
1242
+ <?php wp_nonce_field( plugin_basename( __FILE__ ), 'gllr_nonce_name' ); ?>
1243
+ </form>
1244
+ <div class="bws-plugin-reviews">
1245
+ <div class="bws-plugin-reviews-rate">
1246
+ <?php _e( 'If you enjoy our plugin, please give it 5 stars on WordPress', 'gallery' ); ?>:
1247
+ <a href="http://wordpress.org/support/view/plugin-reviews/gallery-plugin/" target="_blank" title="Gallery reviews"><?php _e( 'Rate the plugin', 'gallery' ); ?></a>
1248
+ </div>
1249
+ <div class="bws-plugin-reviews-support">
1250
+ <?php _e( 'If there is something wrong about it, please contact us', 'gallery' ); ?>:
1251
+ <a href="http://support.bestwebsoft.com">http://support.bestwebsoft.com</a>
1252
  </div>
1253
  </div>
1254
+ <?php } elseif ( 'go_pro' == $_GET['action'] ) { ?>
1255
+ <?php if ( isset( $pro_plugin_is_activated ) && true === $pro_plugin_is_activated ) { ?>
1256
+ <script type="text/javascript">
1257
+ window.setTimeout( function() {
1258
+ window.location.href = 'admin.php?page=gallery-plugin-pro.php';
1259
+ }, 5000 );
1260
+ </script>
1261
+ <p><?php _e( "Congratulations! The PRO version of the plugin is successfully download and activated.", 'gallery' ); ?></p>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1262
  <p>
1263
+ <?php _e( "Please, go to", 'gallery' ); ?> <a href="admin.php?page=gallery-plugin-pro.php"><?php _e( 'the setting page', 'gallery' ); ?></a>
1264
+ (<?php _e( "You will be redirected automatically in 5 seconds.", 'gallery' ); ?>)
 
 
 
 
 
 
1265
  </p>
1266
+ <?php } else { ?>
1267
+ <form method="post" action="admin.php?page=gallery-plugin.php&amp;action=go_pro">
 
 
 
 
 
1268
  <p>
1269
+ <?php _e( 'You can download and activate', 'gallery' ); ?>
1270
+ <a href="http://bestwebsoft.com/plugin/gallery-pro/?k=63a36f6bf5de0726ad6a43a165f38fe5&pn=79&v=<?php echo $gllr_plugin_info["Version"]; ?>&wp_v=<?php echo $wp_version; ?>" target="_blank" title="Gallery Pro">PRO</a>
1271
+ <?php _e( 'version of this plugin by entering Your license key.', 'gallery' ); ?><br />
1272
+ <span style="color: #888888;font-size: 10px;">
1273
+ <?php _e( 'You can find your license key on your personal page Client area, by clicking on the link', 'gallery' ); ?>
1274
+ <a href="http://bestwebsoft.com/wp-login.php">http://bestwebsoft.com/wp-login.php</a>
1275
+ <?php _e( '(your username is the email you specify when purchasing the product).', 'gallery' ); ?>
1276
+ </span>
 
1277
  </p>
1278
+ <?php if ( isset( $bstwbsftwppdtplgns_options['go_pro']['gallery-plugin-pro/gallery-plugin-pro.php']['count'] ) &&
1279
+ '5' < $bstwbsftwppdtplgns_options['go_pro']['gallery-plugin-pro/gallery-plugin-pro.php']['count'] &&
1280
+ $bstwbsftwppdtplgns_options['go_pro']['gallery-plugin-pro/gallery-plugin-pro.php']['time'] < ( time() + ( 24 * 60 * 60 ) ) ) { ?>
1281
+ <p>
1282
+ <input disabled="disabled" type="text" name="bws_license_key" value="<?php echo $bws_license_key; ?>" />
1283
+ <input disabled="disabled" type="submit" class="button-primary" value="<?php _e( 'Activate', 'gallery' ); ?>" /> <?php _e( 'or', 'gallery' ); ?> <a href="http://bestwebsoft.com/plugin/gallery-pro/#trial" target="_blank"><?php _e( 'Start Your Free 7-Day Trial Now', 'gallery' ); ?></a>
1284
+ </p>
1285
+ <p>
1286
+ <?php _e( "Unfortunately, you have exceeded the number of available tries per day. Please, upload the plugin manually.", 'gallery' ); ?>
1287
+ </p>
1288
+ <?php } else { ?>
1289
+ <p>
1290
+ <input type="text" name="bws_license_key" value="<?php echo $bws_license_key; ?>" />
1291
+ <input type="hidden" name="bws_license_plugin" value="gallery-plugin-pro/gallery-plugin-pro.php" />
1292
+ <input type="hidden" name="bws_license_submit" value="submit" />
1293
+ <input type="submit" class="button-primary" value="<?php _e( 'Activate', 'gallery' ); ?>" /> <?php _e( 'or', 'gallery' ); ?> <a href="http://bestwebsoft.com/plugin/gallery-pro/#trial" target="_blank"><?php _e( 'Start Your Free 7-Day Trial Now', 'gallery' ); ?></a>
1294
+ <?php wp_nonce_field( plugin_basename(__FILE__), 'bws_license_nonce_name' ); ?>
1295
+ </p>
1296
+ <?php } ?>
1297
+ </form>
1298
+ <?php }
1299
+ } ?>
1300
+ </div>
1301
  <?php }
1302
  }
1303
 
1466
  $image_attributes = wp_get_attachment_image_src( $id, 'album-thumb' );
1467
  } else {
1468
  $image_attributes = wp_get_attachment_image_src( $attachments, 'album-thumb' );
1469
+ } ?>
 
1470
  <li>
1471
  <a rel="bookmark" href="<?php echo get_permalink(); ?>" title="<?php echo htmlspecialchars( $post->post_title ); ?>">
1472
  <img style="width:<?php echo $gllr_options['gllr_custom_size_px'][0][0]; ?>px;" alt="<?php echo htmlspecialchars( $post->post_title ); ?>" title="<?php echo htmlspecialchars( $post->post_title ); ?>" src="<?php echo $image_attributes[0]; ?>" />
1572
  }<?php if ( 1 == $gllr_options['start_slideshow'] ) { ?>,
1573
  'onComplete': function() {
1574
  clearTimeout( jQuery.fancybox.slider );
1575
+ jQuery.fancybox.slider = setTimeout( "jQuery.fancybox.next()",<?php echo empty( $gllr_options['slideshow_interval'] ) ? 2000 : $gllr_options['slideshow_interval'] ; ?> );
1576
  }<?php } ?>
1577
  });
1578
  });
1713
  $filename = str_replace( "." . $ext, "", $pathinfo['basename'] );
1714
  /*$filename = md5(uniqid());*/
1715
 
1716
+ if ( $this->allowedExtensions && ! in_array( strtolower( $ext ), $this->allowedExtensions ) ) {
1717
  $these = implode( ', ', $this->allowedExtensions );
1718
  return "{error:'File has an invalid extension, it should be one of $these .'}";
1719
  }
1720
 
1721
+ if ( ! $replaceOldFile ) {
1722
  /* Don't overwrite previous files that were uploaded */
1723
  while ( file_exists( $uploadDirectory . $filename . '.' . $ext ) ) {
1724
  $filename .= rand( 10, 99 );
1764
 
1765
  $string_parent_id = implode( ",", $array_parent_id );
1766
 
1767
+ $result_attachment_id = $wpdb->get_results( "SELECT `ID` FROM " . $wpdb->posts . " WHERE `post_type` = 'attachment' AND `post_mime_type` LIKE 'image%' AND `post_parent` IN (" . $string_parent_id . ")" );
1768
  echo json_encode( $result_attachment_id );
1769
  break;
1770
  case 'update_image':
1811
  foreach ( $image_size as $s ) {
1812
  $sizes[ $s ] = array( 'width' => '', 'height' => '', 'crop' => FALSE );
1813
  if ( isset( $_wp_additional_image_sizes[ $s ]['width'] ) )
1814
+ $sizes[ $s ]['width'] = intval( $_wp_additional_image_sizes[ $s ]['width'] ); /* For theme-added sizes */
1815
  else
1816
  $sizes[ $s ]['width'] = get_option( "{$s}_size_w" ); /* For default sizes set in options */
1817
+ if ( isset( $_wp_additional_image_sizes[ $s ]['height'] ) )
1818
+ $sizes[ $s ]['height'] = intval( $_wp_additional_image_sizes[ $s ]['height'] ); /* For theme-added sizes */
1819
  else
1820
  $sizes[ $s ]['height'] = get_option( "{$s}_size_h" ); /* For default sizes set in options */
1821
+ if ( isset( $_wp_additional_image_sizes[ $s ]['crop'] ) )
1822
  $sizes[ $s ]['crop'] = intval( $_wp_additional_image_sizes[$s]['crop'] ); /* For theme-added sizes */
1823
  else
1824
  $sizes[ $s ]['crop'] = get_option( "{$s}_crop" ); /* For default sizes set in options */
1930
  /* Set correct file permissions */
1931
  $stat = stat( dirname( $destfilename ));
1932
  $perms = $stat['mode'] & 0000666; /* Same permissions as parent folder, strip off the executable bits */
1933
+ @chmod( $destfilename, $perms );
1934
 
1935
  return $destfilename;
1936
  }
1989
  if ( 'plugins.php' == $hook_suffix ) {
1990
  global $bstwbsftwppdtplgns_cookie_add, $gllr_plugin_info;
1991
  $banner_array = array(
1992
+ array( 'lmtttmpts_hide_banner_on_plugin_page', 'limit-attempts/limit-attempts.php', '1.0.2' ),
1993
  array( 'sndr_hide_banner_on_plugin_page', 'sender/sender.php', '0.5' ),
1994
  array( 'srrl_hide_banner_on_plugin_page', 'user-role/user-role.php', '1.4' ),
1995
  array( 'pdtr_hide_banner_on_plugin_page', 'updater/updater.php', '1.12' ),
2065
  }
2066
  /* Activate plugin */
2067
  register_activation_hook( __FILE__, 'gllr_plugin_install' );
 
 
2068
 
2069
  /* Additional links on the plugin page */
2070
  add_filter( 'plugin_action_links', 'gllr_plugin_action_links', 10, 2 );
2100
  add_action( 'wp_ajax_gllr_update_image', 'gllr_update_image' );
2101
 
2102
  add_action( 'admin_notices', 'gllr_plugin_banner' );
2103
+ /* Delete plugin */
2104
+ register_uninstall_hook( __FILE__, 'gllr_plugin_uninstall' );
2105
  ?>
languages/gallery-bg_BG.mo CHANGED
File without changes
languages/gallery-bg_BG.po CHANGED
File without changes
languages/gallery-cs_CZ.mo CHANGED
File without changes
languages/gallery-de_DE.mo CHANGED
File without changes
languages/gallery-de_DE.po CHANGED
File without changes
languages/gallery-fr_FR.mo CHANGED
Binary file
languages/gallery-fr_FR.po CHANGED
@@ -2,8 +2,8 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: gallery\n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2014-07-11 11:53+0300\n"
6
- "PO-Revision-Date: 2014-07-11 11:53+0300\n"
7
  "Last-Translator: bestwebsoft.com <plugins@bestwebsoft.com>\n"
8
  "Language-Team: Didier, L Capronnier <lcapronnier@yahoo.com>\n"
9
  "Language: fr_FR\n"
@@ -113,7 +113,7 @@ msgid "Please make a choice"
113
  msgstr "Merci de faire un choix"
114
 
115
  #: gallery-plugin.php:374
116
- #: gallery-plugin.php:1103
117
  msgid "Sort images by"
118
  msgstr "Trier les images par"
119
 
@@ -163,7 +163,6 @@ msgid "Lightbox button URL"
163
  msgstr "URL du bouton pour Lightbox"
164
 
165
  #: gallery-plugin.php:423
166
- #, fuzzy
167
  msgid "Description"
168
  msgstr "Description"
169
 
@@ -192,7 +191,7 @@ msgid "Publishing"
192
  msgstr "Public"
193
 
194
  #: gallery-plugin.php:641
195
- #: gallery-plugin.php:1107
196
  msgid "Date"
197
  msgstr "Date"
198
 
@@ -201,7 +200,7 @@ msgid "Settings are saved"
201
  msgstr "Paramètres sauvegardés."
202
 
203
  #: gallery-plugin.php:834
204
- #: gallery-plugin.php:874
205
  msgid "Wrong license key"
206
  msgstr "Clé de licence incorrecte"
207
 
@@ -209,515 +208,510 @@ msgstr "Clé de licence incorrecte"
209
  msgid "Something went wrong. Try again later. If the error will appear again, please, contact us <a href=http://support.bestwebsoft.com>BestWebSoft</a>. We are sorry for inconvenience."
210
  msgstr "Il est survenu une erreur. Essayer de nouveau. Si l'erreur se produit de nouveau, merci de contacter <a href=http://support.bestwebsoft.com>BestWebSoft</a>. Nous sommes désolés pour le désagrément."
211
 
212
- #: gallery-plugin.php:876
213
  msgid "This license key is bind to another site"
214
  msgstr "La clé de licence correspond à un autre site."
215
 
216
- #: gallery-plugin.php:878
217
- #: gallery-plugin.php:1292
218
  msgid "Unfortunately, you have exceeded the number of available tries per day. Please, upload the plugin manually."
219
  msgstr "Désoler mais vous avez dépassé le nombre d'essai de la journée. Merci de télécharger l'extension manuellement."
220
 
221
- #: gallery-plugin.php:880
222
- #, fuzzy
223
  msgid "This license key is valid, but your license has expired."
224
- msgstr "La clé de licence correspond à un autre site."
225
 
226
- #: gallery-plugin.php:882
227
  msgid "Unfortunately, the PRO licence was already installed to this domain. The PRO Trial license can be installed only once."
228
- msgstr ""
229
 
230
- #: gallery-plugin.php:899
231
  msgid "Failed to open the zip archive. Please, upload the plugin manually"
232
  msgstr "Erreur d'ouverture de l'archive zip. Merci de télécharger l'extension manuellement."
233
 
234
- #: gallery-plugin.php:905
235
  msgid "Your server does not support either ZipArchive or Phar. Please, upload the plugin manually"
236
  msgstr "Votre server n'a pas le support du format des archives ZIP ou Phar. Merci de télécharger l'extension manuellement."
237
 
238
- #: gallery-plugin.php:909
239
- #: gallery-plugin.php:918
240
  msgid "Failed to download the zip archive. Please, upload the plugin manually"
241
  msgstr "Erreur de téléchargement de l'archive ZIP. Merci de télécharger l'extension manuellement."
242
 
243
- #: gallery-plugin.php:922
244
  msgid "Something went wrong. Try again later or upload the plugin manually. We are sorry for inconvienience."
245
  msgstr "Il est survenu une erreur. Essayer de nouveau ou bien télécharger l'extension manuellement.Nous sommes désolés pour le désagrément."
246
 
247
- #: gallery-plugin.php:937
248
  msgid "Please, enter Your license key"
249
  msgstr "Merci de saisir votre clé de liecence"
250
 
251
- #: gallery-plugin.php:945
252
  msgid "Gallery Settings"
253
  msgstr "Paramètres de la galerie"
254
 
255
- #: gallery-plugin.php:947
256
- #: gallery-plugin.php:1314
257
- #: gallery-plugin.php:1330
258
  msgid "Settings"
259
  msgstr "Réglages"
260
 
261
- #: gallery-plugin.php:948
262
- #: gallery-plugin.php:1315
263
  msgid "FAQ"
264
  msgstr "FAQ"
265
 
266
- #: gallery-plugin.php:949
267
  msgid "Go PRO"
268
  msgstr "Choisir la version PRO"
269
 
270
- #: gallery-plugin.php:954
271
  msgid "Notice:"
272
  msgstr "Avertissement :"
273
 
274
- #: gallery-plugin.php:954
275
  msgid "The plugin's settings have been changed. In order to save them please don't forget to click the 'Save Changes' button."
276
  msgstr "Les paramètres de l'extension ont été changés. Afin de pouvoir les enregistrer, merci de cliquer sur le bouton 'Enregistrer les modifications'."
277
 
278
- #: gallery-plugin.php:955
279
  msgid "If you would like to add a Single Gallery to your page or post, just copy and paste this shortcode into your post or page:"
280
  msgstr "Si vous voulez ajouter la galerie dans une page ou un article, copier le code court suivant dans le contenu de votre page ou de votre article:"
281
 
282
- #: gallery-plugin.php:957
283
  msgid "Please enable JavaScript to use the option to renew images."
284
  msgstr "Merci d'activer JavaScript pour utiliser l'option de mise à jour des images."
285
 
286
- #: gallery-plugin.php:961
287
  msgid "Update images for gallery"
288
  msgstr "Mettre à jour les images pour la galerie"
289
 
290
- #: gallery-plugin.php:963
291
  msgid "Update images"
292
  msgstr "Mettre à jour les images"
293
 
294
- #: gallery-plugin.php:968
295
  msgid "Updating images..."
296
  msgstr "Mise à jour des images..."
297
 
298
- #: gallery-plugin.php:969
299
  msgid "No image found"
300
  msgstr "Pas d'image trouvée"
301
 
302
- #: gallery-plugin.php:970
303
  msgid "All images are updated"
304
  msgstr "Toutes les images ont été mises à jour"
305
 
306
- #: gallery-plugin.php:971
307
  msgid "Error."
308
  msgstr "Erreur."
309
 
310
- #: gallery-plugin.php:977
311
  msgid "Image size for the album cover"
312
  msgstr "Taille de la vignette de l'album"
313
 
314
- #: gallery-plugin.php:979
315
- #: gallery-plugin.php:987
316
- #: gallery-plugin.php:1003
317
  msgid "Image size"
318
  msgstr "Taille de l'image"
319
 
320
- #: gallery-plugin.php:980
321
- #: gallery-plugin.php:988
322
  msgid "Width (in px)"
323
  msgstr "Largeur (en pixels)"
324
 
325
- #: gallery-plugin.php:981
326
- #: gallery-plugin.php:989
327
  msgid "Height (in px)"
328
  msgstr "Hauteur (en pixels)"
329
 
330
- #: gallery-plugin.php:985
331
  msgid "Gallery image size"
332
  msgstr "Taille de l'image de la galerie"
333
 
334
- #: gallery-plugin.php:993
335
  msgid "WordPress will create a new thumbnail with the specified dimensions when you upload a new photo."
336
  msgstr "WordPress créera une copie de la miniature avec les dimensions spécifiées quand vous envoyez une nouvelle photo."
337
 
338
- #: gallery-plugin.php:1001
339
  msgid "Gallery image size in the lightbox"
340
  msgstr "Taille de l'image de la galerie"
341
 
342
- #: gallery-plugin.php:1004
343
  msgid "Max width (in px)"
344
  msgstr "Largeur maximum (en pixels)"
345
 
346
- #: gallery-plugin.php:1005
347
  msgid "Max height (in px)"
348
  msgstr "Hauteur maximum (en pixels)"
349
 
350
- #: gallery-plugin.php:1006
351
  msgid "Display a full size image in the lightbox"
352
  msgstr "Afficher une image en taille normale dans la boite"
353
 
354
- #: gallery-plugin.php:1010
355
  msgid "Crop position"
356
  msgstr "Point de base"
357
 
358
- #: gallery-plugin.php:1012
359
  msgid "Horizontal"
360
  msgstr "Horizontale"
361
 
362
- #: gallery-plugin.php:1014
363
  msgid "left"
364
  msgstr "gauche"
365
 
366
- #: gallery-plugin.php:1015
367
- #: gallery-plugin.php:1022
368
  msgid "center"
369
  msgstr "centré"
370
 
371
- #: gallery-plugin.php:1016
372
  msgid "right"
373
  msgstr "droite"
374
 
375
- #: gallery-plugin.php:1019
376
  msgid "Vertical"
377
  msgstr "Verticale"
378
 
379
- #: gallery-plugin.php:1021
380
  msgid "top"
381
  msgstr "haut"
382
 
383
- #: gallery-plugin.php:1023
384
  msgid "bottom"
385
  msgstr "bas"
386
 
387
- #: gallery-plugin.php:1028
388
  msgid "Lightbox background"
389
  msgstr "Fond de la boite"
390
 
391
- #: gallery-plugin.php:1030
392
  msgid "Default"
393
  msgstr "Défaut"
394
 
395
- #: gallery-plugin.php:1031
396
  msgid "Background transparency (from 0 to 1)"
397
  msgstr "Transparence du fond (de 0 à 1)"
398
 
399
- #: gallery-plugin.php:1033
400
  msgid "Select a background color"
401
  msgstr "Choisir une couleur pour le fond"
402
 
403
- #: gallery-plugin.php:1035
404
  msgid "Background color"
405
  msgstr "Couleur du fond"
406
 
407
- #: gallery-plugin.php:1042
408
- #: gallery-plugin.php:1222
409
  msgid "If you upgrade to Pro version all your settings and galleries will be saved."
410
  msgstr "Si vous passez à  la version Pro, tous ces paramètres seront enregistrés."
411
 
412
- #: gallery-plugin.php:1049
413
- #: gallery-plugin.php:1229
414
  msgid "Unlock premium options by upgrading to a PRO version."
415
  msgstr "Déploquer les options premium en migrant vers la version PRO."
416
 
417
- #: gallery-plugin.php:1050
418
- #: gallery-plugin.php:1230
419
- #: gallery-plugin.php:2049
420
  msgid "Learn More"
421
  msgstr "En savoir plus"
422
 
423
- #: gallery-plugin.php:1054
424
- #: gallery-plugin.php:1234
425
  msgid "Start Your Trial"
426
- msgstr ""
427
 
428
- #: gallery-plugin.php:1055
429
- #: gallery-plugin.php:1235
430
- #: gallery-plugin.php:1289
431
- #: gallery-plugin.php:1299
432
  msgid "or"
433
- msgstr ""
434
 
435
- #: gallery-plugin.php:1058
436
- #: gallery-plugin.php:1238
437
  msgid "Go"
438
  msgstr "Allez"
439
 
440
- #: gallery-plugin.php:1066
441
  msgid "Images with border"
442
  msgstr "Image avec bordure"
443
 
444
- #: gallery-plugin.php:1069
445
  msgid "Border width in px, just numbers"
446
  msgstr "Taille de la bordure en pixel, juste le nombre"
447
 
448
- #: gallery-plugin.php:1071
449
- #: gallery-plugin.php:1073
450
  msgid "Select a border color"
451
  msgstr "Choisir une couleur pour la bordure"
452
 
453
- #: gallery-plugin.php:1079
454
  msgid "Number of images in the row"
455
  msgstr "Nombre d'images par ligne"
456
 
457
- #: gallery-plugin.php:1085
458
  msgid "Start slideshow"
459
  msgstr "Démarer le diaporama"
460
 
461
- #: gallery-plugin.php:1091
462
  msgid "Slideshow interval"
463
  msgstr "Interval de transition pour le diaporama"
464
 
465
- #: gallery-plugin.php:1097
466
  msgid "Use single lightbox for multiple galleries on one page"
467
  msgstr "Utiliser un seul diaporama pour plusieures galeries sur une seule page"
468
 
469
- #: gallery-plugin.php:1105
470
  msgid "Attachment ID"
471
  msgstr "ID du fichier"
472
 
473
- #: gallery-plugin.php:1106
474
  msgid "Image Name"
475
  msgstr "Nom de l'image "
476
 
477
- #: gallery-plugin.php:1108
478
  msgid "Sorting order (the input field for sorting order in the Insert / Upload Media Gallery dialog)"
479
  msgstr "Ordre de tri (le nombre dans la fenêtre d'insertion / téléchargement de la galerie)"
480
 
481
- #: gallery-plugin.php:1109
482
  msgid "Random"
483
  msgstr "Aléatoire"
484
 
485
- #: gallery-plugin.php:1113
486
  msgid "Sort images"
487
  msgstr "Trier les images"
488
 
489
- #: gallery-plugin.php:1115
490
  msgid "ASC (ascending order from lowest to highest values - 1, 2, 3; a, b, c)"
491
  msgstr "ASC (ordre ascendant de la plus petite à la plus grande valeur - 1, 2, 3; a, b, c)"
492
 
493
- #: gallery-plugin.php:1116
494
  msgid "DESC (descending order from highest to lowest values - 3, 2, 1; c, b, a)"
495
  msgstr "DESC (ordre descendant de la plus grade à la plus petite - 3, 2, 1; c, b, a)"
496
 
497
- #: gallery-plugin.php:1120
498
  msgid "Display text above the image"
499
  msgstr "Aficher le texte au dessus de l'image"
500
 
501
- #: gallery-plugin.php:1122
502
  msgid "Turn off the checkbox, if you want to display text just in a lightbox"
503
  msgstr "Si vous voulez juste afficher du texte dans une boite, désactiver l'option"
504
 
505
- #: gallery-plugin.php:1126
506
  msgid "Display the Back link"
507
  msgstr "Afficher le lien de retour"
508
 
509
- #: gallery-plugin.php:1132
510
  msgid "Display the Back link in the shortcode"
511
  msgstr "Afficher le lien de retour dans le code court"
512
 
513
- #: gallery-plugin.php:1138
514
  msgid "The Back link text"
515
  msgstr "Le text pour le lien de retour"
516
 
517
- #: gallery-plugin.php:1144
518
  msgid "The Back link URL"
519
  msgstr "L'URL pour le lien de retour"
520
 
521
- #: gallery-plugin.php:1146
522
  msgid "Gallery page (Page with Gallery Template)"
523
  msgstr "Page de la galerie (Page avec le modèle de galerie)"
524
 
525
- #: gallery-plugin.php:1148
526
  msgid "(Full URL to custom page)"
527
  msgstr "(URL complète pour la page spécifique)"
528
 
529
- #: gallery-plugin.php:1152
530
  msgid "The Read More link text"
531
  msgstr "Texte pour le lien \"Read More\""
532
 
533
- #: gallery-plugin.php:1158
534
  msgid "Add gallery to the search"
535
  msgstr "Ajouter les galeries à la recherche"
536
 
537
- #: gallery-plugin.php:1168
538
  msgid "Using"
539
  msgstr "Utilisant"
540
 
541
- #: gallery-plugin.php:1168
542
  msgid "powered by"
543
  msgstr "fournis par"
544
 
545
- #: gallery-plugin.php:1171
546
- #: gallery-plugin.php:1175
547
  msgid "Using Custom Search powered by"
548
  msgstr "Utiliser les recherche personalisées fournies par"
549
 
550
- #: gallery-plugin.php:1171
551
  msgid "Activate Custom Search"
552
  msgstr "Activer les recherche personalisées"
553
 
554
- #: gallery-plugin.php:1175
555
  msgid "Download Custom Search"
556
  msgstr "Télécharger les recherches personalisées"
557
 
558
- #: gallery-plugin.php:1185
559
- #, fuzzy
560
  msgid "Use pagination for images"
561
- msgstr "Mise à jour des images..."
562
 
563
- #: gallery-plugin.php:1188
564
  msgid "per page"
565
- msgstr ""
566
 
567
- #: gallery-plugin.php:1192
568
  msgid "The lightbox helper"
569
  msgstr "L'aide de lightbox"
570
 
571
- #: gallery-plugin.php:1194
572
  msgid "Do not use"
573
  msgstr "Ne pas utliser"
574
 
575
- #: gallery-plugin.php:1195
576
  msgid "Button helper"
577
  msgstr "Bouton pour l'assistant"
578
 
579
- #: gallery-plugin.php:1196
580
  msgid "Thumbnail helper"
581
  msgstr "Assistant de la galerie"
582
 
583
- #: gallery-plugin.php:1200
584
  msgid "Display Like buttons in the lightbox"
585
  msgstr "Afficher les boutons des réseaux sociaux dans la boite"
586
 
587
- #: gallery-plugin.php:1202
588
  msgid "FaceBook"
589
  msgstr "FaceBook"
590
 
591
- #: gallery-plugin.php:1203
592
  msgid "Twitter"
593
  msgstr "Twitter"
594
 
595
- #: gallery-plugin.php:1204
596
  msgid "Pinterest"
597
  msgstr "Pinterest"
598
 
599
- #: gallery-plugin.php:1205
600
  msgid "Google +1"
601
  msgstr "Google +1"
602
 
603
- #: gallery-plugin.php:1209
604
  msgid "Slug for gallery item"
605
  msgstr "Racine pour les pages des galeries"
606
 
607
- #: gallery-plugin.php:1211
608
  msgid "for any structure of permalinks except the default structure"
609
  msgstr "pour toute forme de permaliens à l'exception de la forme par défaut"
610
 
611
- #: gallery-plugin.php:1215
612
  msgid "Title for lightbox button"
613
  msgstr "Titre pour le bouton lightbox"
614
 
615
- #: gallery-plugin.php:1246
616
  msgid "Save Changes"
617
  msgstr "Sauvegarder"
618
 
619
- #: gallery-plugin.php:1252
620
  msgid "If you enjoy our plugin, please give it 5 stars on WordPress"
621
  msgstr "Si notre extension vous satisfait, merci de la notée avec 5 étoiles dans Wordpress"
622
 
623
- #: gallery-plugin.php:1253
624
  msgid "Rate the plugin"
625
  msgstr "Noter l'extension"
626
 
627
- #: gallery-plugin.php:1256
628
  msgid "If there is something wrong about it, please contact us"
629
  msgstr "Si vous avez des questions, merci de nous contacter"
630
 
631
- #: gallery-plugin.php:1267
632
  msgid "Congratulations! The PRO version of the plugin is successfully download and activated."
633
  msgstr "Félicitations! La version PRO de cette extension a été téléchargée et activée avec succès."
634
 
635
- #: gallery-plugin.php:1269
636
  msgid "Please, go to"
637
  msgstr "Merci d'allez à"
638
 
639
- #: gallery-plugin.php:1269
640
  msgid "the setting page"
641
  msgstr "la page des paramètres"
642
 
643
- #: gallery-plugin.php:1270
644
  msgid "You will be redirected automatically in 5 seconds."
645
  msgstr "Vous allez être redirigé automatiquement dans 5 secondes"
646
 
647
- #: gallery-plugin.php:1275
648
  msgid "You can download and activate"
649
  msgstr "Vous pouvez la télécharger et l'activer"
650
 
651
- #: gallery-plugin.php:1277
652
  msgid "version of this plugin by entering Your license key."
653
  msgstr "version de cette extension en donnant votre clé de licence."
654
 
655
- #: gallery-plugin.php:1279
656
  msgid "You can find your license key on your personal page Client area, by clicking on the link"
657
  msgstr "Vous pouvez trouver votre clé de licence sur votre page personnelle dans la zone cliente en cliquant sur le lien"
658
 
659
- #: gallery-plugin.php:1281
660
  msgid "(your username is the email you specify when purchasing the product)."
661
  msgstr "(votre nom d'utilisateur est l'adresse e-mail que vous avez donné lors de l'achat de l'extension)."
662
 
663
- #: gallery-plugin.php:1289
664
- #: gallery-plugin.php:1299
665
  msgid "Activate"
666
  msgstr "Activer"
667
 
668
- #: gallery-plugin.php:1289
669
- #: gallery-plugin.php:1299
670
  msgid "Start Your Free 7-Day Trial Now"
671
- msgstr ""
672
 
673
- #: gallery-plugin.php:1316
674
  msgid "Support"
675
  msgstr "Soutien"
676
 
677
- #: gallery-plugin.php:1444
678
  #: template/gallery-single-template.php:14
679
  msgid "Download high resolution image"
680
  msgstr "Télécharger l'image en haute résolution"
681
 
682
- #: gallery-plugin.php:1553
683
  #: template/gallery-single-template.php:77
684
  msgid "Sorry, nothing found."
685
  msgstr "Désolé, rien n'a été trouvé"
686
 
687
- #: gallery-plugin.php:1575
688
  #: template/gallery-single-template.php:104
689
  msgid "Image"
690
  msgstr "Image "
691
 
692
- #: gallery-plugin.php:1866
693
  msgid "Image size not defined"
694
  msgstr "Taille de l'image non définie"
695
 
696
- #: gallery-plugin.php:1881
697
  msgid "We can update only PNG, JPEG, GIF, WPMP or XBM filetype. For other, please, manually reload image."
698
  msgstr "Il n'est possible de mettre à jour que les images de type PNG, JPEG, GIF, WPMP or XBM. Pour les autres, merci de faire une mise à jour manuelle."
699
 
700
- #: gallery-plugin.php:1892
701
  msgid "Image size changes not defined"
702
  msgstr "La modification de la taille n'est pas définie"
703
 
704
- #: gallery-plugin.php:1921
705
- #: gallery-plugin.php:1924
706
- #: gallery-plugin.php:1929
707
  msgid "Invalid path"
708
  msgstr "Chemin invalide"
709
 
710
- #: gallery-plugin.php:2052
711
  msgid "It’s time to upgrade your <strong>Gallery plugin</strong> to <strong>PRO</strong> version!"
712
  msgstr "Il est peut-être temps de passer votre extension <strong>Gallery</strong> vers la version <strong>PRO</strong> !"
713
 
714
- #: gallery-plugin.php:2053
715
  msgid "Extend standard plugin functionality with new great options"
716
  msgstr "Etend les fonctions standards avec de nouveaux paramètres."
717
 
718
- #~ msgid "Go!"
719
- #~ msgstr "Allez!"
720
-
721
  #~ msgid "Not set"
722
  #~ msgstr "Not set"
723
 
@@ -883,6 +877,9 @@ msgstr "Etend les fonctions standards avec de nouveaux paramètres."
883
  #~ msgid "Details"
884
  #~ msgstr "Détails"
885
 
 
 
 
886
  #~ msgid "Environment"
887
  #~ msgstr "Environment"
888
 
@@ -898,6 +895,9 @@ msgstr "Etend les fonctions standards avec de nouveaux paramètres."
898
  #~ msgid "Send to custom email &#187;"
899
  #~ msgstr "Envoyer un e-mail spécifique &#187;"
900
 
 
 
 
901
  #~ msgid ""
902
  #~ "This functionality is available in the Pro version of the plugin. For "
903
  #~ "more details, please follow the link"
2
  msgstr ""
3
  "Project-Id-Version: gallery\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2014-08-07 13:52+0300\n"
6
+ "PO-Revision-Date: 2014-08-07 14:58+0300\n"
7
  "Last-Translator: bestwebsoft.com <plugins@bestwebsoft.com>\n"
8
  "Language-Team: Didier, L Capronnier <lcapronnier@yahoo.com>\n"
9
  "Language: fr_FR\n"
113
  msgstr "Merci de faire un choix"
114
 
115
  #: gallery-plugin.php:374
116
+ #: gallery-plugin.php:1102
117
  msgid "Sort images by"
118
  msgstr "Trier les images par"
119
 
163
  msgstr "URL du bouton pour Lightbox"
164
 
165
  #: gallery-plugin.php:423
 
166
  msgid "Description"
167
  msgstr "Description"
168
 
191
  msgstr "Public"
192
 
193
  #: gallery-plugin.php:641
194
+ #: gallery-plugin.php:1106
195
  msgid "Date"
196
  msgstr "Date"
197
 
200
  msgstr "Paramètres sauvegardés."
201
 
202
  #: gallery-plugin.php:834
203
+ #: gallery-plugin.php:873
204
  msgid "Wrong license key"
205
  msgstr "Clé de licence incorrecte"
206
 
208
  msgid "Something went wrong. Try again later. If the error will appear again, please, contact us <a href=http://support.bestwebsoft.com>BestWebSoft</a>. We are sorry for inconvenience."
209
  msgstr "Il est survenu une erreur. Essayer de nouveau. Si l'erreur se produit de nouveau, merci de contacter <a href=http://support.bestwebsoft.com>BestWebSoft</a>. Nous sommes désolés pour le désagrément."
210
 
211
+ #: gallery-plugin.php:875
212
  msgid "This license key is bind to another site"
213
  msgstr "La clé de licence correspond à un autre site."
214
 
215
+ #: gallery-plugin.php:877
216
+ #: gallery-plugin.php:1291
217
  msgid "Unfortunately, you have exceeded the number of available tries per day. Please, upload the plugin manually."
218
  msgstr "Désoler mais vous avez dépassé le nombre d'essai de la journée. Merci de télécharger l'extension manuellement."
219
 
220
+ #: gallery-plugin.php:879
 
221
  msgid "This license key is valid, but your license has expired."
222
+ msgstr "La clé de licence est valide, mais elle a expirée."
223
 
224
+ #: gallery-plugin.php:881
225
  msgid "Unfortunately, the PRO licence was already installed to this domain. The PRO Trial license can be installed only once."
226
+ msgstr "Malheuresement la licence PRO a déjà été installée sur ce domaine. La licence PRO d'évaluation peut être installée une seule fois."
227
 
228
+ #: gallery-plugin.php:898
229
  msgid "Failed to open the zip archive. Please, upload the plugin manually"
230
  msgstr "Erreur d'ouverture de l'archive zip. Merci de télécharger l'extension manuellement."
231
 
232
+ #: gallery-plugin.php:904
233
  msgid "Your server does not support either ZipArchive or Phar. Please, upload the plugin manually"
234
  msgstr "Votre server n'a pas le support du format des archives ZIP ou Phar. Merci de télécharger l'extension manuellement."
235
 
236
+ #: gallery-plugin.php:908
237
+ #: gallery-plugin.php:917
238
  msgid "Failed to download the zip archive. Please, upload the plugin manually"
239
  msgstr "Erreur de téléchargement de l'archive ZIP. Merci de télécharger l'extension manuellement."
240
 
241
+ #: gallery-plugin.php:921
242
  msgid "Something went wrong. Try again later or upload the plugin manually. We are sorry for inconvienience."
243
  msgstr "Il est survenu une erreur. Essayer de nouveau ou bien télécharger l'extension manuellement.Nous sommes désolés pour le désagrément."
244
 
245
+ #: gallery-plugin.php:936
246
  msgid "Please, enter Your license key"
247
  msgstr "Merci de saisir votre clé de liecence"
248
 
249
+ #: gallery-plugin.php:944
250
  msgid "Gallery Settings"
251
  msgstr "Paramètres de la galerie"
252
 
253
+ #: gallery-plugin.php:946
254
+ #: gallery-plugin.php:1313
255
+ #: gallery-plugin.php:1329
256
  msgid "Settings"
257
  msgstr "Réglages"
258
 
259
+ #: gallery-plugin.php:947
260
+ #: gallery-plugin.php:1314
261
  msgid "FAQ"
262
  msgstr "FAQ"
263
 
264
+ #: gallery-plugin.php:948
265
  msgid "Go PRO"
266
  msgstr "Choisir la version PRO"
267
 
268
+ #: gallery-plugin.php:953
269
  msgid "Notice:"
270
  msgstr "Avertissement :"
271
 
272
+ #: gallery-plugin.php:953
273
  msgid "The plugin's settings have been changed. In order to save them please don't forget to click the 'Save Changes' button."
274
  msgstr "Les paramètres de l'extension ont été changés. Afin de pouvoir les enregistrer, merci de cliquer sur le bouton 'Enregistrer les modifications'."
275
 
276
+ #: gallery-plugin.php:954
277
  msgid "If you would like to add a Single Gallery to your page or post, just copy and paste this shortcode into your post or page:"
278
  msgstr "Si vous voulez ajouter la galerie dans une page ou un article, copier le code court suivant dans le contenu de votre page ou de votre article:"
279
 
280
+ #: gallery-plugin.php:956
281
  msgid "Please enable JavaScript to use the option to renew images."
282
  msgstr "Merci d'activer JavaScript pour utiliser l'option de mise à jour des images."
283
 
284
+ #: gallery-plugin.php:960
285
  msgid "Update images for gallery"
286
  msgstr "Mettre à jour les images pour la galerie"
287
 
288
+ #: gallery-plugin.php:962
289
  msgid "Update images"
290
  msgstr "Mettre à jour les images"
291
 
292
+ #: gallery-plugin.php:967
293
  msgid "Updating images..."
294
  msgstr "Mise à jour des images..."
295
 
296
+ #: gallery-plugin.php:968
297
  msgid "No image found"
298
  msgstr "Pas d'image trouvée"
299
 
300
+ #: gallery-plugin.php:969
301
  msgid "All images are updated"
302
  msgstr "Toutes les images ont été mises à jour"
303
 
304
+ #: gallery-plugin.php:970
305
  msgid "Error."
306
  msgstr "Erreur."
307
 
308
+ #: gallery-plugin.php:976
309
  msgid "Image size for the album cover"
310
  msgstr "Taille de la vignette de l'album"
311
 
312
+ #: gallery-plugin.php:978
313
+ #: gallery-plugin.php:986
314
+ #: gallery-plugin.php:1002
315
  msgid "Image size"
316
  msgstr "Taille de l'image"
317
 
318
+ #: gallery-plugin.php:979
319
+ #: gallery-plugin.php:987
320
  msgid "Width (in px)"
321
  msgstr "Largeur (en pixels)"
322
 
323
+ #: gallery-plugin.php:980
324
+ #: gallery-plugin.php:988
325
  msgid "Height (in px)"
326
  msgstr "Hauteur (en pixels)"
327
 
328
+ #: gallery-plugin.php:984
329
  msgid "Gallery image size"
330
  msgstr "Taille de l'image de la galerie"
331
 
332
+ #: gallery-plugin.php:992
333
  msgid "WordPress will create a new thumbnail with the specified dimensions when you upload a new photo."
334
  msgstr "WordPress créera une copie de la miniature avec les dimensions spécifiées quand vous envoyez une nouvelle photo."
335
 
336
+ #: gallery-plugin.php:1000
337
  msgid "Gallery image size in the lightbox"
338
  msgstr "Taille de l'image de la galerie"
339
 
340
+ #: gallery-plugin.php:1003
341
  msgid "Max width (in px)"
342
  msgstr "Largeur maximum (en pixels)"
343
 
344
+ #: gallery-plugin.php:1004
345
  msgid "Max height (in px)"
346
  msgstr "Hauteur maximum (en pixels)"
347
 
348
+ #: gallery-plugin.php:1005
349
  msgid "Display a full size image in the lightbox"
350
  msgstr "Afficher une image en taille normale dans la boite"
351
 
352
+ #: gallery-plugin.php:1009
353
  msgid "Crop position"
354
  msgstr "Point de base"
355
 
356
+ #: gallery-plugin.php:1011
357
  msgid "Horizontal"
358
  msgstr "Horizontale"
359
 
360
+ #: gallery-plugin.php:1013
361
  msgid "left"
362
  msgstr "gauche"
363
 
364
+ #: gallery-plugin.php:1014
365
+ #: gallery-plugin.php:1021
366
  msgid "center"
367
  msgstr "centré"
368
 
369
+ #: gallery-plugin.php:1015
370
  msgid "right"
371
  msgstr "droite"
372
 
373
+ #: gallery-plugin.php:1018
374
  msgid "Vertical"
375
  msgstr "Verticale"
376
 
377
+ #: gallery-plugin.php:1020
378
  msgid "top"
379
  msgstr "haut"
380
 
381
+ #: gallery-plugin.php:1022
382
  msgid "bottom"
383
  msgstr "bas"
384
 
385
+ #: gallery-plugin.php:1027
386
  msgid "Lightbox background"
387
  msgstr "Fond de la boite"
388
 
389
+ #: gallery-plugin.php:1029
390
  msgid "Default"
391
  msgstr "Défaut"
392
 
393
+ #: gallery-plugin.php:1030
394
  msgid "Background transparency (from 0 to 1)"
395
  msgstr "Transparence du fond (de 0 à 1)"
396
 
397
+ #: gallery-plugin.php:1032
398
  msgid "Select a background color"
399
  msgstr "Choisir une couleur pour le fond"
400
 
401
+ #: gallery-plugin.php:1034
402
  msgid "Background color"
403
  msgstr "Couleur du fond"
404
 
405
+ #: gallery-plugin.php:1041
406
+ #: gallery-plugin.php:1221
407
  msgid "If you upgrade to Pro version all your settings and galleries will be saved."
408
  msgstr "Si vous passez à  la version Pro, tous ces paramètres seront enregistrés."
409
 
410
+ #: gallery-plugin.php:1048
411
+ #: gallery-plugin.php:1228
412
  msgid "Unlock premium options by upgrading to a PRO version."
413
  msgstr "Déploquer les options premium en migrant vers la version PRO."
414
 
415
+ #: gallery-plugin.php:1049
416
+ #: gallery-plugin.php:1229
417
+ #: gallery-plugin.php:2052
418
  msgid "Learn More"
419
  msgstr "En savoir plus"
420
 
421
+ #: gallery-plugin.php:1053
422
+ #: gallery-plugin.php:1233
423
  msgid "Start Your Trial"
424
+ msgstr "Débuter votre essai"
425
 
426
+ #: gallery-plugin.php:1054
427
+ #: gallery-plugin.php:1234
428
+ #: gallery-plugin.php:1288
429
+ #: gallery-plugin.php:1298
430
  msgid "or"
431
+ msgstr "ou"
432
 
433
+ #: gallery-plugin.php:1057
434
+ #: gallery-plugin.php:1237
435
  msgid "Go"
436
  msgstr "Allez"
437
 
438
+ #: gallery-plugin.php:1065
439
  msgid "Images with border"
440
  msgstr "Image avec bordure"
441
 
442
+ #: gallery-plugin.php:1068
443
  msgid "Border width in px, just numbers"
444
  msgstr "Taille de la bordure en pixel, juste le nombre"
445
 
446
+ #: gallery-plugin.php:1070
447
+ #: gallery-plugin.php:1072
448
  msgid "Select a border color"
449
  msgstr "Choisir une couleur pour la bordure"
450
 
451
+ #: gallery-plugin.php:1078
452
  msgid "Number of images in the row"
453
  msgstr "Nombre d'images par ligne"
454
 
455
+ #: gallery-plugin.php:1084
456
  msgid "Start slideshow"
457
  msgstr "Démarer le diaporama"
458
 
459
+ #: gallery-plugin.php:1090
460
  msgid "Slideshow interval"
461
  msgstr "Interval de transition pour le diaporama"
462
 
463
+ #: gallery-plugin.php:1096
464
  msgid "Use single lightbox for multiple galleries on one page"
465
  msgstr "Utiliser un seul diaporama pour plusieures galeries sur une seule page"
466
 
467
+ #: gallery-plugin.php:1104
468
  msgid "Attachment ID"
469
  msgstr "ID du fichier"
470
 
471
+ #: gallery-plugin.php:1105
472
  msgid "Image Name"
473
  msgstr "Nom de l'image "
474
 
475
+ #: gallery-plugin.php:1107
476
  msgid "Sorting order (the input field for sorting order in the Insert / Upload Media Gallery dialog)"
477
  msgstr "Ordre de tri (le nombre dans la fenêtre d'insertion / téléchargement de la galerie)"
478
 
479
+ #: gallery-plugin.php:1108
480
  msgid "Random"
481
  msgstr "Aléatoire"
482
 
483
+ #: gallery-plugin.php:1112
484
  msgid "Sort images"
485
  msgstr "Trier les images"
486
 
487
+ #: gallery-plugin.php:1114
488
  msgid "ASC (ascending order from lowest to highest values - 1, 2, 3; a, b, c)"
489
  msgstr "ASC (ordre ascendant de la plus petite à la plus grande valeur - 1, 2, 3; a, b, c)"
490
 
491
+ #: gallery-plugin.php:1115
492
  msgid "DESC (descending order from highest to lowest values - 3, 2, 1; c, b, a)"
493
  msgstr "DESC (ordre descendant de la plus grade à la plus petite - 3, 2, 1; c, b, a)"
494
 
495
+ #: gallery-plugin.php:1119
496
  msgid "Display text above the image"
497
  msgstr "Aficher le texte au dessus de l'image"
498
 
499
+ #: gallery-plugin.php:1121
500
  msgid "Turn off the checkbox, if you want to display text just in a lightbox"
501
  msgstr "Si vous voulez juste afficher du texte dans une boite, désactiver l'option"
502
 
503
+ #: gallery-plugin.php:1125
504
  msgid "Display the Back link"
505
  msgstr "Afficher le lien de retour"
506
 
507
+ #: gallery-plugin.php:1131
508
  msgid "Display the Back link in the shortcode"
509
  msgstr "Afficher le lien de retour dans le code court"
510
 
511
+ #: gallery-plugin.php:1137
512
  msgid "The Back link text"
513
  msgstr "Le text pour le lien de retour"
514
 
515
+ #: gallery-plugin.php:1143
516
  msgid "The Back link URL"
517
  msgstr "L'URL pour le lien de retour"
518
 
519
+ #: gallery-plugin.php:1145
520
  msgid "Gallery page (Page with Gallery Template)"
521
  msgstr "Page de la galerie (Page avec le modèle de galerie)"
522
 
523
+ #: gallery-plugin.php:1147
524
  msgid "(Full URL to custom page)"
525
  msgstr "(URL complète pour la page spécifique)"
526
 
527
+ #: gallery-plugin.php:1151
528
  msgid "The Read More link text"
529
  msgstr "Texte pour le lien \"Read More\""
530
 
531
+ #: gallery-plugin.php:1157
532
  msgid "Add gallery to the search"
533
  msgstr "Ajouter les galeries à la recherche"
534
 
535
+ #: gallery-plugin.php:1167
536
  msgid "Using"
537
  msgstr "Utilisant"
538
 
539
+ #: gallery-plugin.php:1167
540
  msgid "powered by"
541
  msgstr "fournis par"
542
 
543
+ #: gallery-plugin.php:1170
544
+ #: gallery-plugin.php:1174
545
  msgid "Using Custom Search powered by"
546
  msgstr "Utiliser les recherche personalisées fournies par"
547
 
548
+ #: gallery-plugin.php:1170
549
  msgid "Activate Custom Search"
550
  msgstr "Activer les recherche personalisées"
551
 
552
+ #: gallery-plugin.php:1174
553
  msgid "Download Custom Search"
554
  msgstr "Télécharger les recherches personalisées"
555
 
556
+ #: gallery-plugin.php:1184
 
557
  msgid "Use pagination for images"
558
+ msgstr "Utiliser la pagination pour les images"
559
 
560
+ #: gallery-plugin.php:1187
561
  msgid "per page"
562
+ msgstr "par page"
563
 
564
+ #: gallery-plugin.php:1191
565
  msgid "The lightbox helper"
566
  msgstr "L'aide de lightbox"
567
 
568
+ #: gallery-plugin.php:1193
569
  msgid "Do not use"
570
  msgstr "Ne pas utliser"
571
 
572
+ #: gallery-plugin.php:1194
573
  msgid "Button helper"
574
  msgstr "Bouton pour l'assistant"
575
 
576
+ #: gallery-plugin.php:1195
577
  msgid "Thumbnail helper"
578
  msgstr "Assistant de la galerie"
579
 
580
+ #: gallery-plugin.php:1199
581
  msgid "Display Like buttons in the lightbox"
582
  msgstr "Afficher les boutons des réseaux sociaux dans la boite"
583
 
584
+ #: gallery-plugin.php:1201
585
  msgid "FaceBook"
586
  msgstr "FaceBook"
587
 
588
+ #: gallery-plugin.php:1202
589
  msgid "Twitter"
590
  msgstr "Twitter"
591
 
592
+ #: gallery-plugin.php:1203
593
  msgid "Pinterest"
594
  msgstr "Pinterest"
595
 
596
+ #: gallery-plugin.php:1204
597
  msgid "Google +1"
598
  msgstr "Google +1"
599
 
600
+ #: gallery-plugin.php:1208
601
  msgid "Slug for gallery item"
602
  msgstr "Racine pour les pages des galeries"
603
 
604
+ #: gallery-plugin.php:1210
605
  msgid "for any structure of permalinks except the default structure"
606
  msgstr "pour toute forme de permaliens à l'exception de la forme par défaut"
607
 
608
+ #: gallery-plugin.php:1214
609
  msgid "Title for lightbox button"
610
  msgstr "Titre pour le bouton lightbox"
611
 
612
+ #: gallery-plugin.php:1245
613
  msgid "Save Changes"
614
  msgstr "Sauvegarder"
615
 
616
+ #: gallery-plugin.php:1251
617
  msgid "If you enjoy our plugin, please give it 5 stars on WordPress"
618
  msgstr "Si notre extension vous satisfait, merci de la notée avec 5 étoiles dans Wordpress"
619
 
620
+ #: gallery-plugin.php:1252
621
  msgid "Rate the plugin"
622
  msgstr "Noter l'extension"
623
 
624
+ #: gallery-plugin.php:1255
625
  msgid "If there is something wrong about it, please contact us"
626
  msgstr "Si vous avez des questions, merci de nous contacter"
627
 
628
+ #: gallery-plugin.php:1266
629
  msgid "Congratulations! The PRO version of the plugin is successfully download and activated."
630
  msgstr "Félicitations! La version PRO de cette extension a été téléchargée et activée avec succès."
631
 
632
+ #: gallery-plugin.php:1268
633
  msgid "Please, go to"
634
  msgstr "Merci d'allez à"
635
 
636
+ #: gallery-plugin.php:1268
637
  msgid "the setting page"
638
  msgstr "la page des paramètres"
639
 
640
+ #: gallery-plugin.php:1269
641
  msgid "You will be redirected automatically in 5 seconds."
642
  msgstr "Vous allez être redirigé automatiquement dans 5 secondes"
643
 
644
+ #: gallery-plugin.php:1274
645
  msgid "You can download and activate"
646
  msgstr "Vous pouvez la télécharger et l'activer"
647
 
648
+ #: gallery-plugin.php:1276
649
  msgid "version of this plugin by entering Your license key."
650
  msgstr "version de cette extension en donnant votre clé de licence."
651
 
652
+ #: gallery-plugin.php:1278
653
  msgid "You can find your license key on your personal page Client area, by clicking on the link"
654
  msgstr "Vous pouvez trouver votre clé de licence sur votre page personnelle dans la zone cliente en cliquant sur le lien"
655
 
656
+ #: gallery-plugin.php:1280
657
  msgid "(your username is the email you specify when purchasing the product)."
658
  msgstr "(votre nom d'utilisateur est l'adresse e-mail que vous avez donné lors de l'achat de l'extension)."
659
 
660
+ #: gallery-plugin.php:1288
661
+ #: gallery-plugin.php:1298
662
  msgid "Activate"
663
  msgstr "Activer"
664
 
665
+ #: gallery-plugin.php:1288
666
+ #: gallery-plugin.php:1298
667
  msgid "Start Your Free 7-Day Trial Now"
668
+ msgstr "Débuter votre période d'essai de 7 jours"
669
 
670
+ #: gallery-plugin.php:1315
671
  msgid "Support"
672
  msgstr "Soutien"
673
 
674
+ #: gallery-plugin.php:1446
675
  #: template/gallery-single-template.php:14
676
  msgid "Download high resolution image"
677
  msgstr "Télécharger l'image en haute résolution"
678
 
679
+ #: gallery-plugin.php:1555
680
  #: template/gallery-single-template.php:77
681
  msgid "Sorry, nothing found."
682
  msgstr "Désolé, rien n'a été trouvé"
683
 
684
+ #: gallery-plugin.php:1577
685
  #: template/gallery-single-template.php:104
686
  msgid "Image"
687
  msgstr "Image "
688
 
689
+ #: gallery-plugin.php:1868
690
  msgid "Image size not defined"
691
  msgstr "Taille de l'image non définie"
692
 
693
+ #: gallery-plugin.php:1883
694
  msgid "We can update only PNG, JPEG, GIF, WPMP or XBM filetype. For other, please, manually reload image."
695
  msgstr "Il n'est possible de mettre à jour que les images de type PNG, JPEG, GIF, WPMP or XBM. Pour les autres, merci de faire une mise à jour manuelle."
696
 
697
+ #: gallery-plugin.php:1894
698
  msgid "Image size changes not defined"
699
  msgstr "La modification de la taille n'est pas définie"
700
 
701
+ #: gallery-plugin.php:1923
702
+ #: gallery-plugin.php:1926
703
+ #: gallery-plugin.php:1931
704
  msgid "Invalid path"
705
  msgstr "Chemin invalide"
706
 
707
+ #: gallery-plugin.php:2055
708
  msgid "It’s time to upgrade your <strong>Gallery plugin</strong> to <strong>PRO</strong> version!"
709
  msgstr "Il est peut-être temps de passer votre extension <strong>Gallery</strong> vers la version <strong>PRO</strong> !"
710
 
711
+ #: gallery-plugin.php:2056
712
  msgid "Extend standard plugin functionality with new great options"
713
  msgstr "Etend les fonctions standards avec de nouveaux paramètres."
714
 
 
 
 
715
  #~ msgid "Not set"
716
  #~ msgstr "Not set"
717
 
877
  #~ msgid "Details"
878
  #~ msgstr "Détails"
879
 
880
+ #~ msgid "Already Installed"
881
+ #~ msgstr "Déjà installé"
882
+
883
  #~ msgid "Environment"
884
  #~ msgstr "Environment"
885
 
895
  #~ msgid "Send to custom email &#187;"
896
  #~ msgstr "Envoyer un e-mail spécifique &#187;"
897
 
898
+ #~ msgid "Go!"
899
+ #~ msgstr "Allez!"
900
+
901
  #~ msgid ""
902
  #~ "This functionality is available in the Pro version of the plugin. For "
903
  #~ "more details, please follow the link"
languages/gallery-pt_BR.mo CHANGED
File without changes
languages/gallery-pt_BR.po CHANGED
File without changes
languages/gallery-ru_RU.mo CHANGED
File without changes
languages/gallery-ru_RU.po CHANGED
File without changes
languages/gallery-sk_SK.mo CHANGED
File without changes
languages/gallery-sk_SK.po CHANGED
File without changes
languages/gallery-sr_RS.mo CHANGED
File without changes
languages/gallery-sr_RS.po CHANGED
File without changes
languages/gallery-tr.mo CHANGED
File without changes
languages/gallery-tr.po CHANGED
File without changes
languages/gallery-uk.mo CHANGED
File without changes
languages/gallery-uk.po CHANGED
File without changes
languages/gallery-zh_CN.mo CHANGED
File without changes
languages/gallery-zh_CN.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=1&product_id=94
4
  Tags: add album, add gallery, add picture, add pictures, album, foto, fotoalbum, gallery, galery, galary, gallary, gellery, gellary, gelary, gallerie, gallery decription, gallery image, image, multiple pictures, photo, photoalbum, photogallery, pictures, slide show, slideshow, upload images, upload photos, view images, view pictures, website gallery
5
  Requires at least: 3.0
6
- Tested up to: 3.9.1
7
- Stable tag: 4.2.1
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -172,6 +172,10 @@ Please make sure that the problem hasn't been discussed yet on our forum (<a hre
172
 
173
  == Changelog ==
174
 
 
 
 
 
175
  = V4.2.1 - 11.07.2014 =
176
  * Budfix : We fixed the bug of htmlspecialchars in image metadata.
177
  * Budfix : We fixed the bug of displaying sidebar in Twenty Fourteen theme.
@@ -442,6 +446,9 @@ Please make sure that the problem hasn't been discussed yet on our forum (<a hre
442
 
443
  == Upgrade Notice ==
444
 
 
 
 
445
  = V4.2.1 =
446
  We fixed the bug of htmlspecialchars in image metadata. We fixed the bug of displaying sidebar in Twenty Fourteen theme. The bug related to editing input fields of images in the admin panel on mobile devices was fixed.
447
 
3
  Donate link: https://www.2checkout.com/checkout/purchase?sid=1430388&quantity=1&product_id=94
4
  Tags: add album, add gallery, add picture, add pictures, album, foto, fotoalbum, gallery, galery, galary, gallary, gellery, gellary, gelary, gallerie, gallery decription, gallery image, image, multiple pictures, photo, photoalbum, photogallery, pictures, slide show, slideshow, upload images, upload photos, view images, view pictures, website gallery
5
  Requires at least: 3.0
6
+ Tested up to: 4.0-beta3
7
+ Stable tag: 4.2.2
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
172
 
173
  == Changelog ==
174
 
175
+ = V4.2.2 - 07.08.2014 =
176
+ * Budfix : Security Exploit was fixed.
177
+ * Update : The French language file is updated.
178
+
179
  = V4.2.1 - 11.07.2014 =
180
  * Budfix : We fixed the bug of htmlspecialchars in image metadata.
181
  * Budfix : We fixed the bug of displaying sidebar in Twenty Fourteen theme.
446
 
447
  == Upgrade Notice ==
448
 
449
+ = V4.2.2 =
450
+ Security Exploit was fixed. The French language file is updated.
451
+
452
  = V4.2.1 =
453
  We fixed the bug of htmlspecialchars in image metadata. We fixed the bug of displaying sidebar in Twenty Fourteen theme. The bug related to editing input fields of images in the admin panel on mobile devices was fixed.
454
 
template/gallery-single-template.php CHANGED
File without changes
template/gallery-template.php CHANGED
File without changes