Google Captcha (reCAPTCHA) by BestWebSoft - Version 1.03

Version Description

  • 06.06.2014 =
  • New : The Polish language file is added.
  • New : The Ukrainian language file is added.
  • New : Renew captcha automaticly if was entered wrong value (thanks to Yaroslav Rogoza, github.com/rogyar).
  • Update : We updated all functionality for wordpress 3.9.1.
  • Bugfix : Problem with checking captcha for sites with https was fixed.
Download this release

Release Info

Developer bestwebsoft
Plugin Icon 128x128 Google Captcha (reCAPTCHA) by BestWebSoft
Version 1.03
Comparing to
See all releases

Code changes from version 1.02 to 1.03

bws_menu/bws_menu.php CHANGED
@@ -1,14 +1,14 @@
1
  <?php
2
  /*
3
  * Function for displaying BestWebSoft menu
4
- * Version: 1.2.3
5
  */
6
 
7
  if ( ! function_exists( 'bws_add_menu_render' ) ) {
8
  function bws_add_menu_render() {
9
  global $wpdb, $wpmu, $wp_version, $bws_plugin_info;
10
  $error = $message = $bwsmn_form_email = '';
11
- $bws_donate_link = 'https://www.2checkout.com/checkout/purchase?sid=1430388&quantity=10&product_id=13';
12
 
13
  if ( ! function_exists( 'is_plugin_active_for_network' ) )
14
  require_once( ABSPATH . 'wp-admin/includes/plugin.php' );
@@ -198,7 +198,8 @@ if ( ! function_exists( 'bws_add_menu_render' ) ) {
198
  'link' => 'http://bestwebsoft.com/plugin/sender/?k=89c297d14ba85a8417a0f2fc05e089c7&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
199
  'download' => 'http://bestwebsoft.com/plugin/sender/?k=89c297d14ba85a8417a0f2fc05e089c7&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version . '#download',
200
  'wp_install' => '/wp-admin/plugin-install.php?tab=search&s=Sender+Bestwebsoft&plugin-search-input=Search+Plugins',
201
- 'settings' => 'admin.php?page=sndr_settings'
 
202
  ),
203
  'subscriber/subscriber.php' => array(
204
  'name' => 'Subscriber',
@@ -214,7 +215,8 @@ if ( ! function_exists( 'bws_add_menu_render' ) ) {
214
  'link' => 'http://bestwebsoft.com/plugin/contact-form-multi/?k=83cdd9e72a9f4061122ad28a67293c72&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
215
  'download' => 'http://bestwebsoft.com/plugin/contact-form-multi/?k=83cdd9e72a9f4061122ad28a67293c72&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version . '#download',
216
  'wp_install' => '/wp-admin/plugin-install.php?tab=search&s=Contact+Form+Multi+Bestwebsoft&plugin-search-input=Search+Plugins',
217
- 'settings' => ''
 
218
  ),
219
  'bws-google-maps/bws-google-maps.php' => array(
220
  'name' => 'BestWebSoft Google Maps',
@@ -222,7 +224,8 @@ if ( ! function_exists( 'bws_add_menu_render' ) ) {
222
  'link' => 'http://bestwebsoft.com/plugin/bws-google-maps/?k=d8fac412d7359ebaa4ff53b46572f9f7&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
223
  'download' => 'http://bestwebsoft.com/plugin/bws-google-maps/?k=d8fac412d7359ebaa4ff53b46572f9f7&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version . '#download',
224
  'wp_install' => '/wp-admin/plugin-install.php?tab=search&s=BestWebSoft+Google+Maps&plugin-search-input=Search+Plugins',
225
- 'settings' => 'admin.php?page=bws-google-maps.php'
 
226
  ),
227
  'bws-google-analytics/bws-google-analytics.php' => array(
228
  'name' => 'BestWebSoft Google Analytics',
@@ -231,6 +234,23 @@ if ( ! function_exists( 'bws_add_menu_render' ) ) {
231
  'download' => 'http://bestwebsoft.com/plugin/bws-google-analytics/?k=261c74cad753fb279cdf5a5db63fbd43&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version . '#download',
232
  'wp_install' => '/wp-admin/plugin-install.php?tab=search&s=BestWebSoft+Google+Analytics&plugin-search-input=Search+Plugins',
233
  'settings' => 'admin.php?page=bws-google-analytics.php'
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
234
  )
235
  );
236
  $bws_plugins_pro = array(
@@ -303,6 +323,34 @@ if ( ! function_exists( 'bws_add_menu_render' ) ) {
303
  'link' => 'http://bestwebsoft.com/plugin/pdf-print-pro/?k=fd43a0e659ddc170a9060027cbfdcc3a&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
304
  'purchase' => 'http://bestwebsoft.com/plugin/pdf-print-pro?k=fd43a0e659ddc170a9060027cbfdcc3a&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version . '#purchase',
305
  'settings' => 'admin.php?page=pdf-print-pro.php'
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
306
  )
307
  );
308
 
@@ -475,8 +523,7 @@ if ( ! function_exists( 'bws_add_menu_render' ) ) {
475
  if ( $result != true )
476
  $error = __( "Sorry, email message could not be delivered.", 'bestwebsoft' );
477
  }
478
- }
479
- ?>
480
  <div class="wrap">
481
  <div class="icon32 icon32-bws" id="icon-options-general"></div>
482
  <h2>BestWebSoft</h2>
@@ -487,7 +534,7 @@ if ( ! function_exists( 'bws_add_menu_render' ) ) {
487
  <?php } ?>
488
  <a class="nav-tab<?php if ( isset( $_GET['action'] ) && 'system_status' == $_GET['action'] ) echo ' nav-tab-active'; ?>" href="admin.php?page=bws_plugins&amp;action=system_status"><?php _e( 'System status', 'bestwebsoft' ); ?></a>
489
  </h2>
490
- <?php if ( !isset( $_GET['action'] ) ) { ?>
491
  <ul class="subsubsub">
492
  <li><a <?php if ( !isset( $_GET['sub'] ) ) echo 'class="current" '; ?>href="admin.php?page=bws_plugins"><?php _e( 'All', 'bestwebsoft' ); ?></a></li> |
493
  <li><a <?php if ( isset( $_GET['sub'] ) && 'installed' == $_GET['sub'] ) echo 'class="current" '; ?>href="admin.php?page=bws_plugins&amp;sub=installed"><?php _e( 'Installed', 'bestwebsoft' ); ?></a></li> |
@@ -497,7 +544,6 @@ if ( ! function_exists( 'bws_add_menu_render' ) ) {
497
  <?php if ( ( isset( $_GET['sub'] ) && 'installed' == $_GET['sub'] ) || !isset( $_GET['sub'] ) ) { ?>
498
  <h4 class="bws_installed"><?php _e( 'Installed plugins', 'bestwebsoft' ); ?></h4>
499
  <?php foreach ( $all_plugins as $key_plugin => $value_plugin ) {
500
-
501
  if ( isset( $bws_plugins_pro[ $key_plugin ] ) ) {
502
  $key_plugin_explode = explode( '-plugin-pro/', $key_plugin );
503
  if ( isset( $key_plugin_explode[1] ) )
@@ -523,7 +569,7 @@ if ( ! function_exists( 'bws_add_menu_render' ) ) {
523
  <div class="bws_product_title"><?php echo $value_plugin["Name"]; ?></div>
524
  <div class="bws_product_content">
525
  <div class="bws_product_icon">
526
- <div class="bws_product_icon_pro"></div>
527
  <img src="<?php echo plugins_url( "icons/" , __FILE__ ) . $icon . '.png'; ?>"/>
528
  </div>
529
  <div class="bws_product_description"><?php echo $value_plugin["Description"]; ?></div>
@@ -571,7 +617,7 @@ if ( ! function_exists( 'bws_add_menu_render' ) ) {
571
  <div class="bws_product_title"><?php echo $value_plugin["Name"]; ?></div>
572
  <div class="bws_product_content">
573
  <div class="bws_product_icon">
574
- <div class="bws_product_icon_pro"></div>
575
  <img src="<?php echo plugins_url( "icons/" , __FILE__ ) . $icon . '.png'; ?>"/>
576
  </div>
577
  <div class="bws_product_description"><?php echo $bws_plugins_pro[ $key_plugin ]["description"]; ?></div>
@@ -636,15 +682,14 @@ if ( ! function_exists( 'bws_add_menu_render' ) ) {
636
  $key_plugin_explode = explode( '/', $key_plugin );
637
  $icon = $key_plugin_explode[0];
638
  }
639
- }
640
- ?>
641
  <div class="bws_product_box">
642
  <div class="bws_product">
643
  <div class="bws_product_title"><?php echo $value_plugin["name"]; ?></div>
644
  <div class="bws_product_content">
645
  <div class="bws_product_icon">
646
  <?php if ( isset( $bws_plugins[ $key_plugin ]['pro_version'] ) && isset( $bws_plugins_pro[ $bws_plugins[ $key_plugin ]['pro_version'] ] ) ) { ?>
647
- <div class="bws_product_icon_pro"></div>
648
  <?php } ?>
649
  <img src="<?php echo plugins_url( "icons/" , __FILE__ ) . $icon . '.png'; ?>"/>
650
  </div>
@@ -671,8 +716,7 @@ if ( ! function_exists( 'bws_add_menu_render' ) ) {
671
  } ?>
672
  <?php } elseif ( 'themes' == $_GET['action'] ) { ?>
673
  <div id="availablethemes">
674
- <?php
675
- global $tabs, $tab, $paged, $type, $theme_field_defaults;
676
  include( ABSPATH . 'wp-admin/includes/theme-install.php' );
677
  include( ABSPATH . 'wp-admin/includes/class-wp-themes-list-table.php' );
678
  include( ABSPATH . 'wp-admin/includes/class-wp-theme-install-list-table.php' );
@@ -695,77 +739,109 @@ if ( ! function_exists( 'bws_add_menu_render' ) ) {
695
  'infinite_scroll' => true,
696
  ) );
697
  $themes = $theme_class->items;
698
- foreach ( $themes as $theme ) {
699
- ?><div class="available-theme installable-theme"><?php
700
- global $themes_allowedtags;
701
- if ( empty( $theme ) )
702
- return;
 
703
 
704
- $name = wp_kses( $theme->name, $themes_allowedtags );
705
- $author = wp_kses( $theme->author, $themes_allowedtags );
706
- $preview_title = sprintf( __('Preview &#8220;%s&#8221;'), $name );
707
- $preview_url = add_query_arg( array(
708
- 'tab' => 'theme-information',
709
- 'theme' => $theme->slug,
710
- ), self_admin_url( 'theme-install.php' ) );
711
 
712
- $actions = array();
713
 
714
- $install_url = add_query_arg( array(
715
- 'action' => 'install-theme',
716
- 'theme' => $theme->slug,
717
- ), self_admin_url( 'update.php' ) );
718
 
719
- $update_url = add_query_arg( array(
720
- 'action' => 'upgrade-theme',
721
- 'theme' => $theme->slug,
722
- ), self_admin_url( 'update.php' ) );
723
 
724
- $status = 'install';
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
725
  $installed_theme = wp_get_theme( $theme->slug );
726
- if ( $installed_theme->exists() ) {
727
- if ( version_compare( $installed_theme->get('Version'), $theme->version, '=' ) )
728
- $status = 'latest_installed';
729
- elseif ( version_compare( $installed_theme->get('Version'), $theme->version, '>' ) )
730
- $status = 'newer_installed';
731
- else
732
- $status = 'update_available';
733
- }
734
- switch ( $status ) {
735
- default:
736
- case 'install':
737
- $actions[] = '<a class="install-now" href="' . esc_url( wp_nonce_url( $install_url, 'install-theme_' . $theme->slug ) ) . '" title="' . esc_attr( sprintf( __( 'Install %s' ), $name ) ) . '">' . __( 'Install Now' ) . '</a>';
738
- break;
739
- case 'update_available':
740
- $actions[] = '<a class="install-now" href="' . esc_url( wp_nonce_url( $update_url, 'upgrade-theme_' . $theme->slug ) ) . '" title="' . esc_attr( sprintf( __( 'Update to version %s' ), $theme->version ) ) . '">' . __( 'Update' ) . '</a>';
741
- break;
742
- case 'newer_installed':
743
- case 'latest_installed':
744
- $actions[] = '<span class="install-now" title="' . esc_attr__( 'This theme is already installed and is up to date' ) . '">' . _x( 'Installed', 'theme' ) . '</span>';
745
- break;
746
- }
747
- $actions[] = '<a class="install-theme-preview" href="' . esc_url( $preview_url ) . '" title="' . esc_attr( sprintf( __( 'Preview %s' ), $name ) ) . '">' . __( 'Preview' ) . '</a>';
748
- $actions = apply_filters( 'theme_install_actions', $actions, $theme );
749
  ?>
750
- <a class="screenshot install-theme-preview" href="<?php echo esc_url( $preview_url ); ?>" title="<?php echo esc_attr( $preview_title ); ?>">
751
- <img src='<?php echo esc_url( $theme->screenshot_url ); ?>' width='150' />
752
- </a>
753
- <h3><?php echo $name; ?></h3>
754
- <div class="theme-author"><?php printf( __( 'By %s' ), $author ); ?></div>
755
- <div class="action-links">
756
- <ul>
757
- <?php foreach ( $actions as $action ): ?>
758
- <li><?php echo $action; ?></li>
759
- <?php endforeach; ?>
760
- <li class="hide-if-no-js"><a href="#" class="theme-detail"><?php _e('Details') ?></a></li>
761
- </ul>
 
 
 
 
 
 
 
762
  </div>
763
- <?php $theme_class->install_theme_info( $theme );
764
- ?></div>
765
- <?php }
766
- // end foreach $theme_names
767
- $theme_class->theme_installer();
768
- ?>
769
  </div>
770
  <?php } elseif ( 'system_status' == $_GET['action'] ) { ?>
771
  <div class="updated fade" <?php if ( ! ( isset( $_REQUEST['bwsmn_form_submit'] ) || isset( $_REQUEST['bwsmn_form_submit_custom_email'] ) ) || $error != "" ) echo "style=\"display:none\""; ?>><p><strong><?php echo $message; ?></strong></p></div>
@@ -797,8 +873,7 @@ if ( ! function_exists( 'bws_add_menu_render' ) ) {
797
  <table class="bws_system_info">
798
  <thead><tr><th><?php _e( 'Inactive Plugins', 'bestwebsoft' ); ?></th><th></th></tr></thead>
799
  <tbody>
800
- <?php
801
- if ( ! empty( $system_info['inactive_plugins'] ) ) {
802
  foreach ( $system_info['inactive_plugins'] as $key => $value ) { ?>
803
  <tr>
804
  <td scope="row"><?php echo $key; ?></td>
@@ -828,7 +903,7 @@ if ( ! function_exists( 'bws_add_menu_render' ) ) {
828
  <?php } ?>
829
  </div>
830
  <?php }
831
- }
832
 
833
  if ( ! function_exists ( 'bws_plugin_init' ) ) {
834
  function bws_plugin_init() {
@@ -837,13 +912,13 @@ if ( ! function_exists ( 'bws_plugin_init' ) ) {
837
  }
838
  }
839
 
840
- if ( ! function_exists ( 'bws_admin_head' ) ) {
841
- function bws_admin_head() {
842
  global $wp_version;
843
  if ( $wp_version < 3.8 )
844
- wp_enqueue_style( 'pdfprnt-stylesheet', plugins_url( 'css/general_style_wp_before_3.8.css', __FILE__ ) );
845
  else
846
- wp_enqueue_style( 'pdfprnt-stylesheet', plugins_url( 'css/general_style.css', __FILE__ ) );
847
 
848
  if ( isset( $_GET['page'] ) && $_GET['page'] == "bws_plugins" ) {
849
  wp_enqueue_style( 'bws_menu_style', plugins_url( 'css/style.css', __FILE__ ) );
@@ -856,6 +931,21 @@ if ( ! function_exists ( 'bws_admin_head' ) ) {
856
  }
857
  }
858
 
859
- add_action( 'init', 'bws_plugin_init' );
860
- add_action( 'admin_enqueue_scripts', 'bws_admin_head' );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
861
  ?>
1
  <?php
2
  /*
3
  * Function for displaying BestWebSoft menu
4
+ * Version: 1.3.2
5
  */
6
 
7
  if ( ! function_exists( 'bws_add_menu_render' ) ) {
8
  function bws_add_menu_render() {
9
  global $wpdb, $wpmu, $wp_version, $bws_plugin_info;
10
  $error = $message = $bwsmn_form_email = '';
11
+ $bws_donate_link = 'https://www.2checkout.com/checkout/purchase?sid=1430388&quantity=1&product_id=94';
12
 
13
  if ( ! function_exists( 'is_plugin_active_for_network' ) )
14
  require_once( ABSPATH . 'wp-admin/includes/plugin.php' );
198
  'link' => 'http://bestwebsoft.com/plugin/sender/?k=89c297d14ba85a8417a0f2fc05e089c7&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
199
  'download' => 'http://bestwebsoft.com/plugin/sender/?k=89c297d14ba85a8417a0f2fc05e089c7&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version . '#download',
200
  'wp_install' => '/wp-admin/plugin-install.php?tab=search&s=Sender+Bestwebsoft&plugin-search-input=Search+Plugins',
201
+ 'settings' => 'admin.php?page=sndr_settings',
202
+ 'pro_version' => 'sender-pro/sender-pro.php'
203
  ),
204
  'subscriber/subscriber.php' => array(
205
  'name' => 'Subscriber',
215
  'link' => 'http://bestwebsoft.com/plugin/contact-form-multi/?k=83cdd9e72a9f4061122ad28a67293c72&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
216
  'download' => 'http://bestwebsoft.com/plugin/contact-form-multi/?k=83cdd9e72a9f4061122ad28a67293c72&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version . '#download',
217
  'wp_install' => '/wp-admin/plugin-install.php?tab=search&s=Contact+Form+Multi+Bestwebsoft&plugin-search-input=Search+Plugins',
218
+ 'settings' => '',
219
+ 'pro_version' => 'contact-form-multi-pro/contact-form-multi-pro.php'
220
  ),
221
  'bws-google-maps/bws-google-maps.php' => array(
222
  'name' => 'BestWebSoft Google Maps',
224
  'link' => 'http://bestwebsoft.com/plugin/bws-google-maps/?k=d8fac412d7359ebaa4ff53b46572f9f7&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
225
  'download' => 'http://bestwebsoft.com/plugin/bws-google-maps/?k=d8fac412d7359ebaa4ff53b46572f9f7&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version . '#download',
226
  'wp_install' => '/wp-admin/plugin-install.php?tab=search&s=BestWebSoft+Google+Maps&plugin-search-input=Search+Plugins',
227
+ 'settings' => 'admin.php?page=bws-google-maps.php',
228
+ 'pro_version' => 'bws-google-maps-pro/bws-google-maps-pro.php'
229
  ),
230
  'bws-google-analytics/bws-google-analytics.php' => array(
231
  'name' => 'BestWebSoft Google Analytics',
234
  'download' => 'http://bestwebsoft.com/plugin/bws-google-analytics/?k=261c74cad753fb279cdf5a5db63fbd43&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version . '#download',
235
  'wp_install' => '/wp-admin/plugin-install.php?tab=search&s=BestWebSoft+Google+Analytics&plugin-search-input=Search+Plugins',
236
  'settings' => 'admin.php?page=bws-google-analytics.php'
237
+ ),
238
+ 'db-manager/db-manager.php' => array(
239
+ 'name' => 'DB manager',
240
+ 'description' => 'Allows you to download the latest version of PhpMyadmin and Dumper and manage your site.',
241
+ 'link' => 'http://bestwebsoft.com/plugin/db-manager/?k=01ed9731780d87f85f5901064b7d76d8&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
242
+ 'download' => 'http://bestwebsoft.com/plugin/db-manager/?k=01ed9731780d87f85f5901064b7d76d8&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version . '#download',
243
+ 'wp_install' => 'http://bestwebsoft.com/plugin/db-manager/?k=01ed9731780d87f85f5901064b7d76d8&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version . '#download',
244
+ 'settings' => 'admin.php?page=db-manager.php'
245
+ ),
246
+ 'user-role/user-role.php' => array(
247
+ 'name' => 'User Role',
248
+ 'description' => 'Allows to change wordpress user role capabilities.',
249
+ 'link' => 'http://bestwebsoft.com/plugin/user-role/?k=dfe2244835c6fbf601523964b3f34ccc&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
250
+ 'download' => 'http://bestwebsoft.com/plugin/user-role/?k=dfe2244835c6fbf601523964b3f34ccc&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version . '#download',
251
+ 'wp_install' => 'http://bestwebsoft.com/plugin/user-role/?k=dfe2244835c6fbf601523964b3f34ccc&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version . '#download',
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(
323
  'link' => 'http://bestwebsoft.com/plugin/pdf-print-pro/?k=fd43a0e659ddc170a9060027cbfdcc3a&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
324
  'purchase' => 'http://bestwebsoft.com/plugin/pdf-print-pro?k=fd43a0e659ddc170a9060027cbfdcc3a&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version . '#purchase',
325
  'settings' => 'admin.php?page=pdf-print-pro.php'
326
+ ),
327
+ 'bws-google-maps-pro/bws-google-maps-pro.php' => array(
328
+ 'name' => 'BestWebSoft Google Maps Pro',
329
+ 'description' => 'Easy to set up and insert Google Maps to your website.',
330
+ 'link' => 'http://bestwebsoft.com/plugin/bws-google-maps-pro/?k=117c3f9fc17f2c83ef430a8a9dc06f56&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
331
+ 'purchase' => 'http://bestwebsoft.com/plugin/bws-google-maps-pro/?k=117c3f9fc17f2c83ef430a8a9dc06f56&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version . '#purchase',
332
+ 'settings' => 'admin.php?page=bws-google-maps-pro.php'
333
+ ),
334
+ 'contact-form-multi-pro/contact-form-multi-pro.php' => array(
335
+ 'name' => 'Contact Form Multi Pro',
336
+ 'description' => 'This plugin is an exclusive add-on to the Contact Form Pro. Allows to create multiple contact forms.',
337
+ 'link' => 'http://bestwebsoft.com/plugin/contact-form-multi-pro/?k=fde3a18581c143654f060c398b07e8ac&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
338
+ 'purchase' => 'http://bestwebsoft.com/plugin/contact-form-multi-pro/?k=fde3a18581c143654f060c398b07e8ac&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version . '#purchase',
339
+ 'settings' => ''
340
+ ),
341
+ 'user-role-pro/user-role-pro.php' => array(
342
+ 'name' => 'User Role Pro',
343
+ 'description' => 'Allows to change wordpress user role capabilities.',
344
+ 'link' => 'http://bestwebsoft.com/plugin/user-role-pro/?k=cfa9cea6613fb3d7c0a3622fa2faaf46&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
345
+ 'purchase' => 'http://bestwebsoft.com/plugin/user-role-pro/?k=cfa9cea6613fb3d7c0a3622fa2faaf46&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version . '#purchase',
346
+ 'settings' => 'admin.php?page=user-role-pro.php'
347
+ ),
348
+ 'sender-pro/sender-pro.php' => array(
349
+ 'name' => 'Sender Pro',
350
+ 'description' => 'You can send mails to all users or to certain categories of users.',
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
 
523
  if ( $result != true )
524
  $error = __( "Sorry, email message could not be delivered.", 'bestwebsoft' );
525
  }
526
+ } ?>
 
527
  <div class="wrap">
528
  <div class="icon32 icon32-bws" id="icon-options-general"></div>
529
  <h2>BestWebSoft</h2>
534
  <?php } ?>
535
  <a class="nav-tab<?php if ( isset( $_GET['action'] ) && 'system_status' == $_GET['action'] ) echo ' nav-tab-active'; ?>" href="admin.php?page=bws_plugins&amp;action=system_status"><?php _e( 'System status', 'bestwebsoft' ); ?></a>
536
  </h2>
537
+ <?php if ( !isset( $_GET['action'] ) ) { ?>
538
  <ul class="subsubsub">
539
  <li><a <?php if ( !isset( $_GET['sub'] ) ) echo 'class="current" '; ?>href="admin.php?page=bws_plugins"><?php _e( 'All', 'bestwebsoft' ); ?></a></li> |
540
  <li><a <?php if ( isset( $_GET['sub'] ) && 'installed' == $_GET['sub'] ) echo 'class="current" '; ?>href="admin.php?page=bws_plugins&amp;sub=installed"><?php _e( 'Installed', 'bestwebsoft' ); ?></a></li> |
544
  <?php if ( ( isset( $_GET['sub'] ) && 'installed' == $_GET['sub'] ) || !isset( $_GET['sub'] ) ) { ?>
545
  <h4 class="bws_installed"><?php _e( 'Installed plugins', 'bestwebsoft' ); ?></h4>
546
  <?php foreach ( $all_plugins as $key_plugin => $value_plugin ) {
 
547
  if ( isset( $bws_plugins_pro[ $key_plugin ] ) ) {
548
  $key_plugin_explode = explode( '-plugin-pro/', $key_plugin );
549
  if ( isset( $key_plugin_explode[1] ) )
569
  <div class="bws_product_title"><?php echo $value_plugin["Name"]; ?></div>
570
  <div class="bws_product_content">
571
  <div class="bws_product_icon">
572
+ <div class="bws_product_icon_pro">PRO</div>
573
  <img src="<?php echo plugins_url( "icons/" , __FILE__ ) . $icon . '.png'; ?>"/>
574
  </div>
575
  <div class="bws_product_description"><?php echo $value_plugin["Description"]; ?></div>
617
  <div class="bws_product_title"><?php echo $value_plugin["Name"]; ?></div>
618
  <div class="bws_product_content">
619
  <div class="bws_product_icon">
620
+ <div class="bws_product_icon_pro">PRO</div>
621
  <img src="<?php echo plugins_url( "icons/" , __FILE__ ) . $icon . '.png'; ?>"/>
622
  </div>
623
  <div class="bws_product_description"><?php echo $bws_plugins_pro[ $key_plugin ]["description"]; ?></div>
682
  $key_plugin_explode = explode( '/', $key_plugin );
683
  $icon = $key_plugin_explode[0];
684
  }
685
+ } ?>
 
686
  <div class="bws_product_box">
687
  <div class="bws_product">
688
  <div class="bws_product_title"><?php echo $value_plugin["name"]; ?></div>
689
  <div class="bws_product_content">
690
  <div class="bws_product_icon">
691
  <?php if ( isset( $bws_plugins[ $key_plugin ]['pro_version'] ) && isset( $bws_plugins_pro[ $bws_plugins[ $key_plugin ]['pro_version'] ] ) ) { ?>
692
+ <div class="bws_product_icon_pro">PRO</div>
693
  <?php } ?>
694
  <img src="<?php echo plugins_url( "icons/" , __FILE__ ) . $icon . '.png'; ?>"/>
695
  </div>
716
  } ?>
717
  <?php } elseif ( 'themes' == $_GET['action'] ) { ?>
718
  <div id="availablethemes">
719
+ <?php global $tabs, $tab, $paged, $type, $theme_field_defaults;
 
720
  include( ABSPATH . 'wp-admin/includes/theme-install.php' );
721
  include( ABSPATH . 'wp-admin/includes/class-wp-themes-list-table.php' );
722
  include( ABSPATH . 'wp-admin/includes/class-wp-theme-install-list-table.php' );
739
  'infinite_scroll' => true,
740
  ) );
741
  $themes = $theme_class->items;
742
+ if ( $wp_version < '3.9' ) {
743
+ foreach ( $themes as $theme ) { ?>
744
+ <div class="available-theme installable-theme"><?php
745
+ global $themes_allowedtags;
746
+ if ( empty( $theme ) )
747
+ return;
748
 
749
+ $name = wp_kses( $theme->name, $themes_allowedtags );
750
+ $author = wp_kses( $theme->author, $themes_allowedtags );
751
+ $preview_title = sprintf( __('Preview &#8220;%s&#8221;'), $name );
752
+ $preview_url = add_query_arg( array(
753
+ 'tab' => 'theme-information',
754
+ 'theme' => $theme->slug,
755
+ ), self_admin_url( 'theme-install.php' ) );
756
 
757
+ $actions = array();
758
 
759
+ $install_url = add_query_arg( array(
760
+ 'action' => 'install-theme',
761
+ 'theme' => $theme->slug,
762
+ ), self_admin_url( 'update.php' ) );
763
 
764
+ $update_url = add_query_arg( array(
765
+ 'action' => 'upgrade-theme',
766
+ 'theme' => $theme->slug,
767
+ ), self_admin_url( 'update.php' ) );
768
 
769
+ $status = 'install';
770
+ $installed_theme = wp_get_theme( $theme->slug );
771
+ if ( $installed_theme->exists() ) {
772
+ if ( version_compare( $installed_theme->get('Version'), $theme->version, '=' ) )
773
+ $status = 'latest_installed';
774
+ elseif ( version_compare( $installed_theme->get('Version'), $theme->version, '>' ) )
775
+ $status = 'newer_installed';
776
+ else
777
+ $status = 'update_available';
778
+ }
779
+ switch ( $status ) {
780
+ default:
781
+ case 'install':
782
+ $actions[] = '<a class="install-now" href="' . esc_url( wp_nonce_url( $install_url, 'install-theme_' . $theme->slug ) ) . '" title="' . esc_attr( sprintf( __( 'Install %s' ), $name ) ) . '">' . __( 'Install Now' ) . '</a>';
783
+ break;
784
+ case 'update_available':
785
+ $actions[] = '<a class="install-now" href="' . esc_url( wp_nonce_url( $update_url, 'upgrade-theme_' . $theme->slug ) ) . '" title="' . esc_attr( sprintf( __( 'Update to version %s' ), $theme->version ) ) . '">' . __( 'Update' ) . '</a>';
786
+ break;
787
+ case 'newer_installed':
788
+ case 'latest_installed':
789
+ $actions[] = '<span class="install-now" title="' . esc_attr__( 'This theme is already installed and is up to date' ) . '">' . _x( 'Installed', 'theme' ) . '</span>';
790
+ break;
791
+ }
792
+ $actions[] = '<a class="install-theme-preview" href="' . esc_url( $preview_url ) . '" title="' . esc_attr( sprintf( __( 'Preview %s' ), $name ) ) . '">' . __( 'Preview' ) . '</a>';
793
+ $actions = apply_filters( 'theme_install_actions', $actions, $theme ); ?>
794
+ <a class="screenshot install-theme-preview" href="<?php echo esc_url( $preview_url ); ?>" title="<?php echo esc_attr( $preview_title ); ?>">
795
+ <img src='<?php echo esc_url( $theme->screenshot_url ); ?>' width='150' />
796
+ </a>
797
+ <h3><?php echo $name; ?></h3>
798
+ <div class="theme-author"><?php printf( __( 'By %s' ), $author ); ?></div>
799
+ <div class="action-links">
800
+ <ul>
801
+ <?php foreach ( $actions as $action ): ?>
802
+ <li><?php echo $action; ?></li>
803
+ <?php endforeach; ?>
804
+ <li class="hide-if-no-js"><a href="#" class="theme-detail"><?php _e('Details') ?></a></li>
805
+ </ul>
806
+ </div>
807
+ <?php $theme_class->install_theme_info( $theme ); ?>
808
+ </div>
809
+ <?php }
810
+ // end foreach $theme_names
811
+ $theme_class->theme_installer();
812
+ } else { ?>
813
+ <div class="theme-browser">
814
+ <div class="themes">
815
+ <?php foreach ( $themes as $key => $theme ) {
816
  $installed_theme = wp_get_theme( $theme->slug );
817
+ if ( $installed_theme->exists() )
818
+ $theme->installed = true;
819
+ else
820
+ $theme->installed = false;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
821
  ?>
822
+ <div class="theme" tabindex="0">
823
+ <?php if ( $theme->screenshot_url ) { ?>
824
+ <div class="theme-screenshot">
825
+ <img src="<?php echo $theme->screenshot_url; ?>" alt="" />
826
+ </div>
827
+ <?php } else { ?>
828
+ <div class="theme-screenshot blank"></div>
829
+ <?php } ?>
830
+ <div class="theme-author"><?php printf( __( 'By %s' ), $theme->author ); ?></div>
831
+ <h3 class="theme-name"><?php echo $theme->name; ?></h3>
832
+ <div class="theme-actions">
833
+ <a class="button button-secondary preview install-theme-preview" href="theme-install.php?theme=<?php echo $theme->slug ?>"><?php esc_html_e( 'Learn More' ); ?></a>
834
+ </div>
835
+ <?php if ( $theme->installed ) { ?>
836
+ <div class="theme-installed"><?php _e( 'Already Installed' ); ?></div>
837
+ <?php } ?>
838
+ </div>
839
+ <?php } ?>
840
+ <br class="clear" />
841
  </div>
842
+ </div>
843
+ <div class="theme-overlay"></div>
844
+ <?php } ?>
 
 
 
845
  </div>
846
  <?php } elseif ( 'system_status' == $_GET['action'] ) { ?>
847
  <div class="updated fade" <?php if ( ! ( isset( $_REQUEST['bwsmn_form_submit'] ) || isset( $_REQUEST['bwsmn_form_submit_custom_email'] ) ) || $error != "" ) echo "style=\"display:none\""; ?>><p><strong><?php echo $message; ?></strong></p></div>
873
  <table class="bws_system_info">
874
  <thead><tr><th><?php _e( 'Inactive Plugins', 'bestwebsoft' ); ?></th><th></th></tr></thead>
875
  <tbody>
876
+ <?php if ( ! empty( $system_info['inactive_plugins'] ) ) {
 
877
  foreach ( $system_info['inactive_plugins'] as $key => $value ) { ?>
878
  <tr>
879
  <td scope="row"><?php echo $key; ?></td>
903
  <?php } ?>
904
  </div>
905
  <?php }
906
+ }
907
 
908
  if ( ! function_exists ( 'bws_plugin_init' ) ) {
909
  function bws_plugin_init() {
912
  }
913
  }
914
 
915
+ if ( ! function_exists ( 'bws_admin_enqueue_scripts' ) ) {
916
+ function bws_admin_enqueue_scripts() {
917
  global $wp_version;
918
  if ( $wp_version < 3.8 )
919
+ wp_enqueue_style( 'bws-admin-stylesheet', plugins_url( 'css/general_style_wp_before_3.8.css', __FILE__ ) );
920
  else
921
+ wp_enqueue_style( 'bws-admin-stylesheet', plugins_url( 'css/general_style.css', __FILE__ ) );
922
 
923
  if ( isset( $_GET['page'] ) && $_GET['page'] == "bws_plugins" ) {
924
  wp_enqueue_style( 'bws_menu_style', plugins_url( 'css/style.css', __FILE__ ) );
931
  }
932
  }
933
 
934
+ if ( ! function_exists ( 'bws_admin_head' ) ) {
935
+ function bws_admin_head() {
936
+ if ( isset( $_GET['page'] ) && $_GET['page'] == "bws_plugins" ) { ?>
937
+ <noscript>
938
+ <style type="text/css">
939
+ .bws_product_button {
940
+ display: inline-block;
941
+ }
942
+ </style>
943
+ </noscript>
944
+ <?php }
945
+ }
946
+ }
947
+
948
+ add_action( 'admin_init', 'bws_plugin_init' );
949
+ add_action( 'admin_enqueue_scripts', 'bws_admin_enqueue_scripts' );
950
+ add_action( 'admin_head', 'bws_admin_head' );
951
  ?>
bws_menu/css/general_style.css CHANGED
@@ -49,30 +49,139 @@
49
  /*
50
  * styles for pro_version settings and tooltip
51
  */
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
52
  table.bws_pro_version {
53
  background: #E0E0E0;
54
  border: 1px solid #AAA;
55
  margin-bottom: 5px;
56
- width: auto !important;
57
- float: left;
 
 
58
  }
59
  table.bws_pro_version th,
60
  table.bws_pro_version td {
61
- color: #555;
62
  padding-left: 10px;
63
  }
64
- td.bws_pro_version {
65
- background: #E0E0E0;
66
- border: 1px solid #AAA;
67
- }
68
  .bws_pro_version_tooltip {
69
  background: #FFF;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
70
  border: 1px solid #AAA;
 
 
 
71
  }
72
- .form-table.bws_pro_version .bws_pro_version_tooltip th {
73
- font-weight: normal;
74
- padding-bottom: 10px;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
75
  }
 
76
  /*
77
  * styles for banner
78
  */
49
  /*
50
  * styles for pro_version settings and tooltip
51
  */
52
+ td.bws_pro_version,
53
+ tr.bws_pro_version,
54
+ .nav-tab.bws_plugin_menu_pro_version,
55
+ .nav-tab.bws_plugin_menu_pro_version:hover {
56
+ background: rgba(248, 226, 104, 0.11) url("../images/pattern_bg.png");
57
+ border: 1px solid #AAA;
58
+ }
59
+ td.bws_pro_version_tooltip {
60
+ border: 1px solid #AAA;
61
+ position: inherit;
62
+ }
63
+ .bws_pro_version_bloc {
64
+ position: relative;
65
+ margin: 5px 0;
66
+ border: 1px solid #AAAAAA;
67
+ max-width: 800px;
68
+ }
69
+ .bws_table_bg {
70
+ background: #f8e268 url("../images/pattern.png");
71
+ opacity: 0.11;
72
+ filter:progid:DXImageTransform.Microsoft.Alpha(opacity=11); /* IE 5.5+*/
73
+ -moz-opacity: 0.11; /* Mozilla 1.6 и ниже */
74
+ width: 100%;
75
+ height: 100%;
76
+ position: absolute;
77
+ z-index: 1;
78
+ }
79
+ .bws_pro_version_table_bloc table.bws_pro_version {
80
+ background: transparent;
81
+ margin: 0;
82
+ border: none;
83
+ width: 100%;
84
+ }
85
  table.bws_pro_version {
86
  background: #E0E0E0;
87
  border: 1px solid #AAA;
88
  margin-bottom: 5px;
89
+ width: auto;
90
+ }
91
+ table.bws_pro_version tbody {
92
+ display: block;
93
  }
94
  table.bws_pro_version th,
95
  table.bws_pro_version td {
 
96
  padding-left: 10px;
97
  }
 
 
 
 
98
  .bws_pro_version_tooltip {
99
  background: #FFF;
100
+ border-top: 1px solid #AAA;
101
+ position: relative;
102
+ z-index: 2;
103
+ padding: 10px;
104
+ font-size: 14px;
105
+ }
106
+ .bws_pro_version_tooltip .bws_button {
107
+ background: #dd5738;
108
+ border: none;
109
+ text-decoration: none;
110
+ color: #fff;
111
+ padding: 5px 17px;
112
+ border-radius: 2px;
113
+ margin: 5px 10px;
114
+ float: right;
115
+ }
116
+ .bws_pro_version_tooltip .bws_info {
117
+ float: left;
118
+ padding-top: 10px;
119
+ }
120
+ .bws_pro_version_tooltip .bws_pro_links {
121
+ float: right;
122
+ }
123
+ .bws_pro_version_tooltip .bws_trial_info {
124
+ padding-top: 10px;
125
+ display: inline-block;
126
+ }
127
+ div.bws_pro_version {
128
+ padding: 5px 10px;
129
+ }
130
+ a.bws_plugin_pro_version {
131
+ display: block;
132
+ background: rgba(248, 226, 104, 0.11) url("../images/pattern_bg.png");
133
  border: 1px solid #AAA;
134
+ padding: 5px;
135
+ text-decoration: none;
136
+ color: #666;
137
  }
138
+ .bws_pro_version_single_link,
139
+ .bws_pro_version_single_link:hover {
140
+ text-decoration: none;
141
+ color: #666;
142
+ }
143
+ /* style for mini-block (ex. google map) */
144
+ .bws_pro_version_bloc_mini .bws_pro_version_table_bloc table.bws_pro_version {
145
+ width: auto;
146
+ }
147
+ .bws_pro_version_bloc_mini .bws_pro_version_tooltip {
148
+ padding: 10px 61px;
149
+ text-align: center;
150
+ width: 200px;
151
+ }
152
+ .bws_pro_version_bloc_mini .bws_pro_version_tooltip a {
153
+ display: inline-block;
154
+ line-height: 1.5;
155
+ }
156
+ .bws_pro_version_bloc_mini .bws_pro_version_tooltip .bws_button {
157
+ margin: 10px 10px 5px;
158
+ padding: 5px 50px;
159
+ float: none;
160
+ }
161
+ /* #### Mobile Phones Portrait or Landscape #### */
162
+ @media screen and (max-device-width: 640px) {
163
+ .bws_pro_version_tooltip {
164
+ padding: 10px;
165
+ text-align: center;
166
+ }
167
+ .bws_pro_version_tooltip .bws_info {
168
+ float: none;
169
+ text-align: center;
170
+ }
171
+ .bws_pro_version_tooltip a {
172
+ display: inline-block;
173
+ line-height: 1.5;
174
+ }
175
+ .bws_pro_version_tooltip .bws_info a {
176
+ display: block;
177
+ }
178
+ .bws_pro_version_tooltip .bws_button {
179
+ margin: 10px 10px 5px;
180
+ padding: 5px 50px;
181
+ float: none;
182
+ }
183
  }
184
+
185
  /*
186
  * styles for banner
187
  */
bws_menu/css/general_style_wp_before_3.8.css CHANGED
@@ -1,34 +1,34 @@
1
  #adminmenu #toplevel_page_bws_plugins div.wp-menu-image {
2
- background: url("../images/icon_16.png") no-repeat scroll center center transparent;
3
  }
4
  #wpadminbar li#wp-admin-bar-pdfprnt-bar-menu a:hover span.admin-bar-menu-bws-icon {
5
- background: url("../images/icon_16_c.png") no-repeat scroll center center transparent;
6
  }
7
  #adminmenu #toplevel_page_bws_plugins:hover div.wp-menu-image,
8
  #adminmenu #toplevel_page_bws_plugins.wp-has-current-submenu div.wp-menu-image {
9
- background: url("../images/icon_16_c.png") no-repeat scroll center center transparent;
10
  }
11
  .wrap #icon-options-general.icon32-bws {
12
- background: url("../images/icon_36.png") no-repeat scroll left top transparent;
13
  }
14
  #toplevel_page_bws_plugins .wp-submenu .wp-first-item {
15
- display: none;
16
  }
17
  /*
18
  * styles for rate-support div on the settings page
19
  */
20
  .bws-plugin-reviews {
21
- background: none repeat scroll 0 0 #BEE1F1;
22
- border: 1px solid #70A8C2;
23
- border-radius: 3px;
24
- max-width: 700px;
25
  }
26
  .bws-plugin-reviews-rate {
27
- padding: 10px;
28
- border-bottom: 1px dashed #70A8C2;
29
  }
30
  .bws-plugin-reviews-support {
31
- padding: 10px;
32
  }
33
  /*
34
  * styles for Go PRO tab
@@ -48,29 +48,140 @@
48
  /*
49
  * styles for pro_version settings and tooltip
50
  */
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
51
  table.bws_pro_version {
52
  background: #E0E0E0;
53
  border: 1px solid #AAA;
54
  margin-bottom: 5px;
55
- width: auto !important;
56
- float: left;
 
 
57
  }
58
  table.bws_pro_version th,
59
  table.bws_pro_version td {
60
- color: #555;
61
  padding-left: 10px;
62
  }
63
- td.bws_pro_version {
64
- background: #E0E0E0;
65
- border: 1px solid #AAA;
66
- }
67
  .bws_pro_version_tooltip {
68
  background: #FFF;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
69
  border: 1px solid #AAA;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
70
  }
71
- .form-table.bws_pro_version .bws_pro_version_tooltip th {
72
- font-weight: normal;
73
- padding-bottom: 10px;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
74
  }
75
  /*
76
  * styles for banner
1
  #adminmenu #toplevel_page_bws_plugins div.wp-menu-image {
2
+ background: url("../images/icon_16.png") no-repeat scroll center center transparent;
3
  }
4
  #wpadminbar li#wp-admin-bar-pdfprnt-bar-menu a:hover span.admin-bar-menu-bws-icon {
5
+ background: url("../images/icon_16_c.png") no-repeat scroll center center transparent;
6
  }
7
  #adminmenu #toplevel_page_bws_plugins:hover div.wp-menu-image,
8
  #adminmenu #toplevel_page_bws_plugins.wp-has-current-submenu div.wp-menu-image {
9
+ background: url("../images/icon_16_c.png") no-repeat scroll center center transparent;
10
  }
11
  .wrap #icon-options-general.icon32-bws {
12
+ background: url("../images/icon_36.png") no-repeat scroll left top transparent;
13
  }
14
  #toplevel_page_bws_plugins .wp-submenu .wp-first-item {
15
+ display: none;
16
  }
17
  /*
18
  * styles for rate-support div on the settings page
19
  */
20
  .bws-plugin-reviews {
21
+ background: none repeat scroll 0 0 #BEE1F1;
22
+ border: 1px solid #70A8C2;
23
+ border-radius: 3px;
24
+ max-width: 700px;
25
  }
26
  .bws-plugin-reviews-rate {
27
+ padding: 10px;
28
+ border-bottom: 1px dashed #70A8C2;
29
  }
30
  .bws-plugin-reviews-support {
31
+ padding: 10px;
32
  }
33
  /*
34
  * styles for Go PRO tab
48
  /*
49
  * styles for pro_version settings and tooltip
50
  */
51
+ td.bws_pro_version,
52
+ tr.bws_pro_version,
53
+ .nav-tab.bws_plugin_menu_pro_version,
54
+ .nav-tab.bws_plugin_menu_pro_version:hover {
55
+ background: rgba(248, 226, 104, 0.11) url("../images/pattern_bg.png");
56
+ border: 1px solid #AAA;
57
+ }
58
+ .nav-tab.bws_plugin_menu_pro_version:hover {
59
+ color: #AAAAAA;
60
+ }
61
+ td.bws_pro_version_tooltip {
62
+ border: 1px solid #AAA;
63
+ position: inherit;
64
+ }
65
+ .bws_pro_version_bloc {
66
+ position: relative;
67
+ margin: 5px 0;
68
+ border: 1px solid #AAAAAA;
69
+ max-width: 800px;
70
+ }
71
+ .bws_table_bg {
72
+ background: #f8e268 url("../images/pattern.png");
73
+ opacity: 0.11;
74
+ filter:progid:DXImageTransform.Microsoft.Alpha(opacity=11); /* IE 5.5+*/
75
+ -moz-opacity: 0.11; /* Mozilla 1.6 и ниже */
76
+ width: 100%;
77
+ height: 100%;
78
+ position: absolute;
79
+ z-index: 1;
80
+ }
81
+ .bws_pro_version_table_bloc table.bws_pro_version {
82
+ background: transparent;
83
+ margin: 0;
84
+ border: none;
85
+ width: 100%;
86
+ }
87
  table.bws_pro_version {
88
  background: #E0E0E0;
89
  border: 1px solid #AAA;
90
  margin-bottom: 5px;
91
+ width: auto;
92
+ }
93
+ table.bws_pro_version tbody {
94
+ display: block;
95
  }
96
  table.bws_pro_version th,
97
  table.bws_pro_version td {
 
98
  padding-left: 10px;
99
  }
 
 
 
 
100
  .bws_pro_version_tooltip {
101
  background: #FFF;
102
+ border-top: 1px solid #AAA;
103
+ position: relative;
104
+ z-index: 2;
105
+ padding: 10px;
106
+ font-size: 14px;
107
+ }
108
+ .bws_pro_version_tooltip .bws_button {
109
+ background: #dd5738;
110
+ border: none;
111
+ text-decoration: none;
112
+ color: #fff;
113
+ padding: 5px 17px;
114
+ border-radius: 2px;
115
+ margin: 5px 10px;
116
+ float: right;
117
+ }
118
+ .bws_pro_version_tooltip .bws_info {
119
+ float: left;
120
+ padding-top: 10px;
121
+ }
122
+ .bws_pro_version_tooltip .bws_pro_links {
123
+ float: right;
124
+ }
125
+ .bws_pro_version_tooltip .bws_trial_info {
126
+ padding-top: 10px;
127
+ display: inline-block;
128
+ }
129
+ div.bws_pro_version {
130
+ padding: 5px 10px;
131
+ }
132
+ a.bws_plugin_pro_version {
133
+ display: block;
134
+ background: rgba(248, 226, 104, 0.11) url("../images/pattern_bg.png");
135
  border: 1px solid #AAA;
136
+ padding: 5px;
137
+ text-decoration: none;
138
+ color: #666;
139
+ }
140
+ .bws_pro_version_single_link,
141
+ .bws_pro_version_single_link:hover {
142
+ text-decoration: none;
143
+ color: #666;
144
+ }
145
+ /* style for mini-block (ex. google map) */
146
+ .bws_pro_version_bloc_mini .bws_pro_version_table_bloc table.bws_pro_version {
147
+ width: auto;
148
+ }
149
+ .bws_pro_version_bloc_mini .bws_pro_version_tooltip {
150
+ padding: 10px 61px;
151
+ text-align: center;
152
+ width: 200px;
153
+ }
154
+ .bws_pro_version_bloc_mini .bws_pro_version_tooltip a {
155
+ display: inline-block;
156
+ line-height: 1.5;
157
  }
158
+ .bws_pro_version_bloc_mini .bws_pro_version_tooltip .bws_button {
159
+ margin: 10px 10px 5px;
160
+ padding: 5px 50px;
161
+ float: none;
162
+ }
163
+ /* #### Mobile Phones Portrait or Landscape #### */
164
+ @media screen and (max-device-width: 640px) {
165
+ .bws_pro_version_tooltip {
166
+ padding: 10px;
167
+ text-align: center;
168
+ }
169
+ .bws_pro_version_tooltip .bws_info {
170
+ float: none;
171
+ text-align: center;
172
+ }
173
+ .bws_pro_version_tooltip a {
174
+ display: inline-block;
175
+ line-height: 1.5;
176
+ }
177
+ .bws_pro_version_tooltip .bws_info a {
178
+ display: block;
179
+ }
180
+ .bws_pro_version_tooltip .bws_button {
181
+ margin: 10px 10px 5px;
182
+ padding: 5px 50px;
183
+ float: none;
184
+ }
185
  }
186
  /*
187
  * styles for banner
bws_menu/css/style.css CHANGED
@@ -29,14 +29,24 @@ h4.bws_recommended {
29
  color: #999;
30
  font-weight: bold;
31
  text-transform: uppercase;
32
- font-size: 14px;
33
- padding-left: 15px;
34
  }
35
- h4.bws_installed {
36
- background: url("../icons/icon.png") no-repeat 0 5px;
 
 
 
 
 
 
 
 
37
  }
38
- h4.bws_recommended {
39
- background: url("../icons/icon.png") no-repeat 0 -11px;
 
 
 
40
  }
41
  .bws_product_box {
42
  background: none repeat scroll 0 0 #FFFFFF;
@@ -76,11 +86,15 @@ h4.bws_recommended {
76
  color: #fff;
77
  }
78
  .bws_product_icon_pro {
79
- background: url("../icons/pro.png") no-repeat scroll center top rgba(0, 0, 0, 0);
 
 
 
 
80
  height: 20px;
81
- margin-bottom: -19px;
82
  position: relative;
83
- top: -9px;
84
  }
85
  .bws_product_description {
86
  padding: 0 10px;
@@ -114,7 +128,7 @@ h4.bws_recommended {
114
  padding: 7px 5px 8px;
115
  font-size: 14px;
116
  min-width: 103px;
117
- display: inline-block;
118
  }
119
  .bws_product_button:hover{
120
  background: #008726;
@@ -136,4 +150,9 @@ h4.bws_recommended {
136
  }
137
  .bws_product_button.bws_donate_button:hover {
138
  background: #D69108 !important;
 
 
 
 
 
139
  }
29
  color: #999;
30
  font-weight: bold;
31
  text-transform: uppercase;
32
+ font-size: 14px;
 
33
  }
34
+ h4.bws_installed:before,
35
+ h4.bws_recommended:before {
36
+ border-radius: 9px;
37
+ content: "";
38
+ display: inline-block;
39
+ height: 8px;
40
+ position: relative;
41
+ top: -1px;
42
+ width: 8px;
43
+ margin-right: 7px;
44
  }
45
+ h4.bws_recommended:before {
46
+ background: #0074a2;
47
+ }
48
+ h4.bws_installed:before {
49
+ background: #00a22e;
50
  }
51
  .bws_product_box {
52
  background: none repeat scroll 0 0 #FFFFFF;
86
  color: #fff;
87
  }
88
  .bws_product_icon_pro {
89
+ background: #F26E50;
90
+ border-radius: 4px;
91
+ color: #FFF;
92
+ font-size: 15px;
93
+ font-weight: bold;
94
  height: 20px;
95
+ margin: -9px auto -10px;
96
  position: relative;
97
+ width: 46px;
98
  }
99
  .bws_product_description {
100
  padding: 0 10px;
128
  padding: 7px 5px 8px;
129
  font-size: 14px;
130
  min-width: 103px;
131
+ display: none;
132
  }
133
  .bws_product_button:hover{
134
  background: #008726;
150
  }
151
  .bws_product_button.bws_donate_button:hover {
152
  background: #D69108 !important;
153
+ }
154
+
155
+ /* theme page after WP 3.9 */
156
+ .toplevel_page_bws_plugins #availablethemes .theme-browser {
157
+ margin-top: 25px;
158
  }
bws_menu/icons/db-manager.png ADDED
Binary file
bws_menu/icons/icon.png DELETED
Binary file
bws_menu/icons/pro.png DELETED
Binary file
bws_menu/icons/user-role.png ADDED
Binary file
bws_menu/images/pattern.png ADDED
Binary file
bws_menu/images/pattern_bg.png ADDED
Binary file
bws_menu/js/bws_menu.js CHANGED
@@ -17,9 +17,7 @@
17
  });
18
  max = max - parseInt( $( '.bws_product_links' ).css( 'padding-top' ) ) - parseInt( $( '.bws_product_links' ).css( 'padding-bottom' ) );
19
  $( '.bws_product_links' ).css( 'height', max + 'px' );
20
-
21
- $( '.bws_product_button' ).css( 'display', 'none' );
22
-
23
  $( '.bws_product_box' ).hover( function() {
24
  if ( $( this ).children( '.bws_product' ).children( '.bws_product_content' ).children( '.bws_product_description' ).length > 0 ) {
25
  $( this ).children( '.bws_product' ).addClass( 'bws_product_pro' );
17
  });
18
  max = max - parseInt( $( '.bws_product_links' ).css( 'padding-top' ) ) - parseInt( $( '.bws_product_links' ).css( 'padding-bottom' ) );
19
  $( '.bws_product_links' ).css( 'height', max + 'px' );
20
+
 
 
21
  $( '.bws_product_box' ).hover( function() {
22
  if ( $( this ).children( '.bws_product' ).children( '.bws_product_content' ).children( '.bws_product_description' ).length > 0 ) {
23
  $( this ).children( '.bws_product' ).addClass( 'bws_product_pro' );
google-captcha.php CHANGED
@@ -4,7 +4,7 @@ Plugin Name: Google Captcha (reCAPTCHA)
4
  Plugin URI: http://bestwebsoft.com/plugin/
5
  Description: Plugin Google Captcha intended to prove that the visitor is a human being and not a spam robot.
6
  Author: BestWebSoft
7
- Version: 1.02
8
  Author URI: http://bestwebsoft.com/
9
  License: GPLv3 or later
10
  */
@@ -29,7 +29,8 @@ License: GPLv3 or later
29
  if ( ! function_exists( 'google_capthca_admin_menu' ) ) {
30
  function google_capthca_admin_menu() {
31
  global $bstwbsftwppdtplgns_options, $wpmu, $bstwbsftwppdtplgns_added_menu;
32
- $bws_menu_version = '1.2.3';
 
33
  $base = plugin_basename( __FILE__ );
34
 
35
  if ( ! isset( $bstwbsftwppdtplgns_options ) ) {
@@ -216,12 +217,12 @@ if ( ! function_exists( 'gglcptch_settings_page' ) ) {
216
  /* Private and public keys */
217
  $gglcptch_keys = array(
218
  'public' => array(
219
- 'display_name' => 'Public Key',
220
  'form_name' => 'gglcptch_public_key',
221
  'error_msg' => '',
222
  ),
223
  'private' => array(
224
- 'display_name' => 'Private Key',
225
  'form_name' => 'gglcptch_private_key',
226
  'error_msg' => '',
227
  ),
@@ -275,6 +276,10 @@ if ( ! function_exists( 'gglcptch_settings_page' ) ) {
275
  } ?>
276
  <div class="wrap">
277
  <h2><?php _e( 'Google Captcha Settings', 'google_captcha' ); ?></h2>
 
 
 
 
278
  <div class="updated fade" <?php if ( ! isset( $_POST['gglcptch_save_changes'] ) || "" != $error ) echo 'style="display:none"'; ?>><p><strong><?php _e( 'Settings saved', 'google_captcha' ); ?></strong></p></div>
279
  <div class="error" <?php if ( "" == $error ) echo 'style="display:none"'; ?>><p><strong><?php echo $error; ?></strong></p></div>
280
  <p><?php _e( 'If you would like to add the Google Captcha to your own form, just copy and paste this shortcode to your post or page:', 'google_captcha' ); echo ' [bws_google_captcha]'; ?></p>
@@ -400,8 +405,10 @@ if ( ! function_exists( 'gglcptch_display' ) ) {
400
  <?php }
401
  return false;
402
  }
403
-
404
- return recaptcha_get_html( $publickey );
 
 
405
  }
406
  }
407
 
4
  Plugin URI: http://bestwebsoft.com/plugin/
5
  Description: Plugin Google Captcha intended to prove that the visitor is a human being and not a spam robot.
6
  Author: BestWebSoft
7
+ Version: 1.03
8
  Author URI: http://bestwebsoft.com/
9
  License: GPLv3 or later
10
  */
29
  if ( ! function_exists( 'google_capthca_admin_menu' ) ) {
30
  function google_capthca_admin_menu() {
31
  global $bstwbsftwppdtplgns_options, $wpmu, $bstwbsftwppdtplgns_added_menu;
32
+ $bws_menu_info = get_plugin_data( plugin_dir_path( __FILE__ ) . "bws_menu/bws_menu.php" );
33
+ $bws_menu_version = $bws_menu_info["Version"];
34
  $base = plugin_basename( __FILE__ );
35
 
36
  if ( ! isset( $bstwbsftwppdtplgns_options ) ) {
217
  /* Private and public keys */
218
  $gglcptch_keys = array(
219
  'public' => array(
220
+ 'display_name' => __( 'Public Key', 'google_captcha' ),
221
  'form_name' => 'gglcptch_public_key',
222
  'error_msg' => '',
223
  ),
224
  'private' => array(
225
+ 'display_name' => __( 'Private Key', 'google_captcha' ),
226
  'form_name' => 'gglcptch_private_key',
227
  'error_msg' => '',
228
  ),
276
  } ?>
277
  <div class="wrap">
278
  <h2><?php _e( 'Google Captcha Settings', 'google_captcha' ); ?></h2>
279
+ <h2 class="nav-tab-wrapper">
280
+ <a class="nav-tab nav-tab-active" href="admin.php?page=google-captcha.php"><?php _e( 'Settings', 'google_captcha' ); ?></a>
281
+ <a class="nav-tab" href="http://bestwebsoft.com/plugin/google-captcha/#faq" target="_blank"><?php _e( 'FAQ', 'google_captcha' ); ?></a>
282
+ </h2>
283
  <div class="updated fade" <?php if ( ! isset( $_POST['gglcptch_save_changes'] ) || "" != $error ) echo 'style="display:none"'; ?>><p><strong><?php _e( 'Settings saved', 'google_captcha' ); ?></strong></p></div>
284
  <div class="error" <?php if ( "" == $error ) echo 'style="display:none"'; ?>><p><strong><?php echo $error; ?></strong></p></div>
285
  <p><?php _e( 'If you would like to add the Google Captcha to your own form, just copy and paste this shortcode to your post or page:', 'google_captcha' ); echo ' [bws_google_captcha]'; ?></p>
405
  <?php }
406
  return false;
407
  }
408
+ if ( is_ssl() )
409
+ return recaptcha_get_html( $publickey, '', true );
410
+ else
411
+ return recaptcha_get_html( $publickey );
412
  }
413
  }
414
 
js/script.js CHANGED
@@ -28,6 +28,7 @@
28
  $( '#recaptcha_widget_div' ).after( '<label id="gglcptch_error" style="color:#f00;">' + gglcptch_error_msg + '</label>' );
29
  gglcptch_match = false;
30
  }
 
31
  } else {
32
  /* correct catcha */
33
  gglcptch_match = true;
28
  $( '#recaptcha_widget_div' ).after( '<label id="gglcptch_error" style="color:#f00;">' + gglcptch_error_msg + '</label>' );
29
  gglcptch_match = false;
30
  }
31
+ $('#recaptcha_reload').click();
32
  } else {
33
  /* correct catcha */
34
  gglcptch_match = true;
languages/google_captcha-pl_PL.mo ADDED
Binary file
languages/google_captcha-pl_PL.po ADDED
@@ -0,0 +1,222 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: google_captcha\n"
4
+ "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2014-04-22 17:44+0300\n"
6
+ "PO-Revision-Date: \n"
7
+ "Last-Translator: \n"
8
+ "Language-Team: the BestWebSoft Team <plugin@bestwebsoft.com>\n"
9
+ "Language: pl_PL\n"
10
+ "MIME-Version: 1.0\n"
11
+ "Content-Type: text/plain; charset=UTF-8\n"
12
+ "Content-Transfer-Encoding: 8bit\n"
13
+ "X-Poedit-KeywordsList: __;_e\n"
14
+ "X-Poedit-Basepath: ..\n"
15
+ "X-Poedit-SourceCharset: utf-8\n"
16
+ "X-Generator: Poedit 1.5.4\n"
17
+ "Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 "
18
+ "|| n%100>=20) ? 1 : 2);\n"
19
+ "X-Poedit-SearchPath-0: .\n"
20
+
21
+ #: google-captcha.php:73 google-captcha.php:277
22
+ msgid "Google Captcha Settings"
23
+ msgstr "Ustawienia Google Captcha"
24
+
25
+ #: google-captcha.php:73
26
+ msgid "Google Captcha"
27
+ msgstr "Google Captcha"
28
+
29
+ #: google-captcha.php:86
30
+ msgid "requires"
31
+ msgstr "wymaga"
32
+
33
+ #: google-captcha.php:86
34
+ msgid ""
35
+ "or higher, that is why it has been deactivated! Please upgrade WordPress and "
36
+ "try again."
37
+ msgstr ""
38
+ "lub wersji nowszej, dlatego wtyczka jest nieaktywna! Zaktualizuj swoją "
39
+ "platformę WordPress i spróbuj ponownie."
40
+
41
+ #: google-captcha.php:86
42
+ msgid "Back to the WordPress"
43
+ msgstr "Wróć do WordPress"
44
+
45
+ #: google-captcha.php:86
46
+ msgid "Plugins page"
47
+ msgstr "Strona Wtyczki"
48
+
49
+ #: google-captcha.php:219
50
+ msgid "Public Key"
51
+ msgstr "Klucz publiczny"
52
+
53
+ #: google-captcha.php:224
54
+ msgid "Private Key"
55
+ msgstr "Klucz prywatny"
56
+
57
+ #: google-captcha.php:232
58
+ msgid "Login form"
59
+ msgstr "Formularz logowania"
60
+
61
+ #: google-captcha.php:233
62
+ msgid "Registration form"
63
+ msgstr "Formularz rejestracji"
64
+
65
+ #: google-captcha.php:234
66
+ msgid "Reset password form"
67
+ msgstr "Formularz odzyskiwania hasła"
68
+
69
+ #: google-captcha.php:235
70
+ msgid "Comments form"
71
+ msgstr "Formularz komentarza"
72
+
73
+ #: google-captcha.php:250
74
+ msgid "Enter public key"
75
+ msgstr "Wprowadź klucz publiczny"
76
+
77
+ #: google-captcha.php:251 google-captcha.php:257
78
+ msgid "WARNING: The captcha will not display while you don't fill key fields."
79
+ msgstr ""
80
+ "OSTRZEŻENIE: Kod captcha nie będzie wyświetlany, jeżeli nie wprowadzisz "
81
+ "kluczy."
82
+
83
+ #: google-captcha.php:256
84
+ msgid "Enter private key"
85
+ msgstr "Wprowadź klucz prywatny"
86
+
87
+ #: google-captcha.php:278
88
+ msgid "Settings saved"
89
+ msgstr "Ustawienia zapisane"
90
+
91
+ #: google-captcha.php:280
92
+ msgid ""
93
+ "If you would like to add the Google Captcha to your own form, just copy and "
94
+ "paste this shortcode to your post or page:"
95
+ msgstr ""
96
+ "Jeżeli chcesz umieścić wtyczkę Google Captcha we własnym formularzu, po "
97
+ "prostu skopiuj i wklej ten kod w swoim poście lub na swojej stronie:"
98
+
99
+ #: google-captcha.php:282
100
+ msgid "Authentication"
101
+ msgstr "Uwierzytelnianie"
102
+
103
+ #: google-captcha.php:283
104
+ #, php-format
105
+ msgid "Before you are able to do something, you must to register %s here %s"
106
+ msgstr "Aby móc cokolwiek zrobić, musisz się zarejestrować %s tutaj %s"
107
+
108
+ #: google-captcha.php:284
109
+ msgid "Enter public and private keys, that you get after registration."
110
+ msgstr ""
111
+ "Wprowadź swój klucz publiczny i prywatny, uzyskane po dokonaniu rejestracji."
112
+
113
+ #: google-captcha.php:296
114
+ msgid "Options"
115
+ msgstr "Opcje"
116
+
117
+ #: google-captcha.php:299
118
+ msgid "Enable Google Captcha for:"
119
+ msgstr "Włącz Google Captcha na stronach:"
120
+
121
+ #: google-captcha.php:308 google-captcha.php:311 google-captcha.php:315
122
+ msgid "Contact form"
123
+ msgstr "Formularz kontaktowy"
124
+
125
+ #: google-captcha.php:309 google-captcha.php:312 google-captcha.php:316
126
+ msgid "powered by"
127
+ msgstr "opracowany przez"
128
+
129
+ #: google-captcha.php:312
130
+ msgid "Activate contact form"
131
+ msgstr "Włącz formularz kontaktowy"
132
+
133
+ #: google-captcha.php:316
134
+ msgid "Download contact form"
135
+ msgstr "Pobierz formularz kontaktowy"
136
+
137
+ #: google-captcha.php:321
138
+ msgid "Hide captcha for:"
139
+ msgstr "Ukryj kod captcha dla:"
140
+
141
+ #: google-captcha.php:329
142
+ msgid "Theme:"
143
+ msgstr "Motyw:"
144
+
145
+ #: google-captcha.php:340
146
+ msgid "Save Changes"
147
+ msgstr "Zapisz zmiany"
148
+
149
+ #: google-captcha.php:346
150
+ msgid "If you enjoy our plugin, please give it 5 stars on WordPress"
151
+ msgstr ""
152
+ "Jeżeli podoba Ci się nasza wtyczka, oceń ją 5 gwiazdkami w witrynie WordPress"
153
+
154
+ #: google-captcha.php:347
155
+ msgid "Rate the plugin"
156
+ msgstr "Oceń wtyczkę"
157
+
158
+ #: google-captcha.php:350
159
+ msgid "If there is something wrong about it, please contact us"
160
+ msgstr "Jeżeli coś Ci się w niej nie podoba, skontaktuj się z nami"
161
+
162
+ #: google-captcha.php:389
163
+ msgid "Error: You have entered an incorrect CAPTCHA value."
164
+ msgstr "Błąd: wprowadzono nieprawidłowy kod CAPTCHA."
165
+
166
+ #: google-captcha.php:397
167
+ msgid "To use Google Captcha you must get the keys from"
168
+ msgstr "Aby korzystać z Google Captcha, musisz najpierw uzyskać klucze"
169
+
170
+ #: google-captcha.php:397
171
+ msgid "here"
172
+ msgstr "stąd"
173
+
174
+ #: google-captcha.php:397
175
+ msgid "and enter them on the"
176
+ msgstr "i wprowadzić je na"
177
+
178
+ #: google-captcha.php:397
179
+ msgid "plugin setting page"
180
+ msgstr "stronie ustawień wtyczki"
181
+
182
+ #: google-captcha.php:448 google-captcha.php:490 google-captcha.php:512
183
+ msgid ""
184
+ "Error: You have entered an incorrect CAPTCHA value. Click the BACK button on "
185
+ "your browser, and try again."
186
+ msgstr ""
187
+ "Błąd: wprowadzono nieprawidłowy kod CAPTCHA. Kliknij przycisk WSTECZ na "
188
+ "pasku przeglądarki i spróbuj ponownie."
189
+
190
+ #: google-captcha.php:526 google-captcha.php:537
191
+ msgid "Settings"
192
+ msgstr "Ustawienia"
193
+
194
+ #: google-captcha.php:538
195
+ msgid "FAQ"
196
+ msgstr "FAQ"
197
+
198
+ #: google-captcha.php:539
199
+ msgid "Support"
200
+ msgstr "Wsparcie"
201
+
202
+ #~ msgid "Red"
203
+ #~ msgstr "Czerwony"
204
+
205
+ #~ msgid "White"
206
+ #~ msgstr "Biały"
207
+
208
+ #~ msgid "Blackglass"
209
+ #~ msgstr "Czarne szkło"
210
+
211
+ #~ msgid "Clean"
212
+ #~ msgstr "Czysty"
213
+
214
+ #~ msgid "Activated theme"
215
+ #~ msgstr "Motyw aktywny"
216
+
217
+ #~ msgid "Themes"
218
+ #~ msgstr "Motywy"
219
+
220
+ #~ msgid "WARNING: The captcha will not display while you not fill key fields."
221
+ #~ msgstr ""
222
+ #~ "UWAGA: kod CAPTCHA nie będzie wyświetlany, jeżeli niie wprowadzisz kluczy."
languages/google_captcha-ru_RU.mo CHANGED
Binary file
languages/google_captcha-ru_RU.po CHANGED
@@ -2,7 +2,7 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: google_captcha\n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2014-04-04 14:30+0300\n"
6
  "PO-Revision-Date: \n"
7
  "Last-Translator: bestwebsoft.com <plugins@bestwebsoft.com>\n"
8
  "Language-Team: the BestWebSoft Team <plugin@bestwebsoft.com>\n"
@@ -44,19 +44,27 @@ msgstr "Вернуться назад на WordPress"
44
  msgid "Plugins page"
45
  msgstr "Страницу плагинов"
46
 
47
- #: google-captcha.php:181
 
 
 
 
 
 
 
 
48
  msgid "Login form"
49
  msgstr "Форма логина"
50
 
51
- #: google-captcha.php:182
52
  msgid "Registration form"
53
  msgstr "Форма регистрации"
54
 
55
- #: google-captcha.php:183
56
  msgid "Reset password form"
57
  msgstr "Форма восстановления пароля"
58
 
59
- #: google-captcha.php:184
60
  msgid "Comments form"
61
  msgstr "Форма комментариев"
62
 
@@ -191,18 +199,6 @@ msgstr "FAQ"
191
  msgid "Support"
192
  msgstr "Поддержка"
193
 
194
- #~ msgid "Red"
195
- #~ msgstr "Red"
196
-
197
- #~ msgid "White"
198
- #~ msgstr "White"
199
-
200
- #~ msgid "Blackglass"
201
- #~ msgstr "Blackglass"
202
-
203
- #~ msgid "Clean"
204
- #~ msgstr "Clean"
205
-
206
  #, fuzzy
207
  #~ msgid "Activated theme"
208
  #~ msgstr "Активировать Contact form"
2
  msgstr ""
3
  "Project-Id-Version: google_captcha\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2014-04-22 17:41+0300\n"
6
  "PO-Revision-Date: \n"
7
  "Last-Translator: bestwebsoft.com <plugins@bestwebsoft.com>\n"
8
  "Language-Team: the BestWebSoft Team <plugin@bestwebsoft.com>\n"
44
  msgid "Plugins page"
45
  msgstr "Страницу плагинов"
46
 
47
+ #: google-captcha.php:219
48
+ msgid "Public Key"
49
+ msgstr "Открытый ключ"
50
+
51
+ #: google-captcha.php:224
52
+ msgid "Private Key"
53
+ msgstr "Закрытый ключ"
54
+
55
+ #: google-captcha.php:232
56
  msgid "Login form"
57
  msgstr "Форма логина"
58
 
59
+ #: google-captcha.php:233
60
  msgid "Registration form"
61
  msgstr "Форма регистрации"
62
 
63
+ #: google-captcha.php:234
64
  msgid "Reset password form"
65
  msgstr "Форма восстановления пароля"
66
 
67
+ #: google-captcha.php:235
68
  msgid "Comments form"
69
  msgstr "Форма комментариев"
70
 
199
  msgid "Support"
200
  msgstr "Поддержка"
201
 
 
 
 
 
 
 
 
 
 
 
 
 
202
  #, fuzzy
203
  #~ msgid "Activated theme"
204
  #~ msgstr "Активировать Contact form"
languages/google_captcha-uk.mo ADDED
Binary file
languages/google_captcha-uk.po ADDED
@@ -0,0 +1,210 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: google_captcha\n"
4
+ "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2014-04-22 17:41+0300\n"
6
+ "PO-Revision-Date: \n"
7
+ "Last-Translator: Валентин <valentine.kogut.bws@gmail.com>\n"
8
+ "Language-Team: the BestWebSoft Team <plugin@bestwebsoft.com>\n"
9
+ "Language: uk\n"
10
+ "MIME-Version: 1.0\n"
11
+ "Content-Type: text/plain; charset=UTF-8\n"
12
+ "Content-Transfer-Encoding: 8bit\n"
13
+ "X-Poedit-KeywordsList: __;_e\n"
14
+ "X-Poedit-Basepath: ..\n"
15
+ "X-Poedit-SourceCharset: UTF-8\n"
16
+ "X-Generator: Poedit 1.5.4\n"
17
+ "X-Poedit-SearchPath-0: .\n"
18
+
19
+ #: google-captcha.php:73 google-captcha.php:277
20
+ msgid "Google Captcha Settings"
21
+ msgstr "Налаштування Google Captcha"
22
+
23
+ #: google-captcha.php:73
24
+ msgid "Google Captcha"
25
+ msgstr "Google Captcha"
26
+
27
+ #: google-captcha.php:86
28
+ msgid "requires"
29
+ msgstr "вимагає"
30
+
31
+ #: google-captcha.php:86
32
+ msgid ""
33
+ "or higher, that is why it has been deactivated! Please upgrade WordPress and "
34
+ "try again."
35
+ msgstr ""
36
+ "або вище, тому плагін було деактивовано! Оновіть WordPress та спробуйте ще "
37
+ "раз."
38
+
39
+ #: google-captcha.php:86
40
+ msgid "Back to the WordPress"
41
+ msgstr "Повернутися на WordPress"
42
+
43
+ #: google-captcha.php:86
44
+ msgid "Plugins page"
45
+ msgstr "Сторінка плагінів"
46
+
47
+ #: google-captcha.php:219
48
+ msgid "Public Key"
49
+ msgstr "Відкритий ключ"
50
+
51
+ #: google-captcha.php:224
52
+ msgid "Private Key"
53
+ msgstr "Закритий ключ"
54
+
55
+ #: google-captcha.php:232
56
+ msgid "Login form"
57
+ msgstr "Форма логіну"
58
+
59
+ #: google-captcha.php:233
60
+ msgid "Registration form"
61
+ msgstr "Форма реєстрації"
62
+
63
+ #: google-captcha.php:234
64
+ msgid "Reset password form"
65
+ msgstr "Форма відновлення паролю"
66
+
67
+ #: google-captcha.php:235
68
+ msgid "Comments form"
69
+ msgstr "Форма коментарів"
70
+
71
+ #: google-captcha.php:250
72
+ msgid "Enter public key"
73
+ msgstr "Введіть відкритий ключ"
74
+
75
+ #: google-captcha.php:251 google-captcha.php:257
76
+ msgid "WARNING: The captcha will not display while you don't fill key fields."
77
+ msgstr ""
78
+ "УВАГА: Капча не буде відображатись поки ви не заповнете необхідні поля."
79
+
80
+ #: google-captcha.php:256
81
+ msgid "Enter private key"
82
+ msgstr "Введіть закритий ключ"
83
+
84
+ #: google-captcha.php:278
85
+ msgid "Settings saved"
86
+ msgstr "Налаштування збережено"
87
+
88
+ #: google-captcha.php:280
89
+ msgid ""
90
+ "If you would like to add the Google Captcha to your own form, just copy and "
91
+ "paste this shortcode to your post or page:"
92
+ msgstr ""
93
+ "Якщо ви хочете додати Google Captcha в свою форму, просто вставте цей "
94
+ "шорткод в контент сторінки чи посту"
95
+
96
+ #: google-captcha.php:282
97
+ msgid "Authentication"
98
+ msgstr "Ідентифікація"
99
+
100
+ #: google-captcha.php:283
101
+ #, php-format
102
+ msgid "Before you are able to do something, you must to register %s here %s"
103
+ msgstr "Щоб виконувати якісь дії, спершу ви повинні зареєструватись %s тут %s"
104
+
105
+ #: google-captcha.php:284
106
+ msgid "Enter public and private keys, that you get after registration."
107
+ msgstr "Введіть відкритий і закритий ключі, які ви отримали після реєстрації."
108
+
109
+ #: google-captcha.php:296
110
+ msgid "Options"
111
+ msgstr "Опції"
112
+
113
+ #: google-captcha.php:299
114
+ msgid "Enable Google Captcha for:"
115
+ msgstr "Відображати Google Captcha для:"
116
+
117
+ #: google-captcha.php:308 google-captcha.php:311 google-captcha.php:315
118
+ msgid "Contact form"
119
+ msgstr "Контактна форма"
120
+
121
+ #: google-captcha.php:309 google-captcha.php:312 google-captcha.php:316
122
+ msgid "powered by"
123
+ msgstr "розроблено компанією"
124
+
125
+ #: google-captcha.php:312
126
+ msgid "Activate contact form"
127
+ msgstr "Активувати Контактну форму"
128
+
129
+ #: google-captcha.php:316
130
+ msgid "Download contact form"
131
+ msgstr "Завантажити Контактну форму"
132
+
133
+ #: google-captcha.php:321
134
+ msgid "Hide captcha for:"
135
+ msgstr "Не відображати Google Captcha для:"
136
+
137
+ #: google-captcha.php:329
138
+ msgid "Theme:"
139
+ msgstr "Тема:"
140
+
141
+ #: google-captcha.php:340
142
+ msgid "Save Changes"
143
+ msgstr "Зберегти зміни"
144
+
145
+ #: google-captcha.php:346
146
+ msgid "If you enjoy our plugin, please give it 5 stars on WordPress"
147
+ msgstr ""
148
+ "Якщо вам подобається наш плагін, будь ласка, поставте нам 5 зірочок на "
149
+ "WordPress"
150
+
151
+ #: google-captcha.php:347
152
+ msgid "Rate the plugin"
153
+ msgstr "Оцініть плагін"
154
+
155
+ #: google-captcha.php:350
156
+ msgid "If there is something wrong about it, please contact us"
157
+ msgstr "Якщо у вас виникли проблеми, будь ласка, повідомте нам"
158
+
159
+ #: google-captcha.php:389
160
+ msgid "Error: You have entered an incorrect CAPTCHA value."
161
+ msgstr "Помилка: Ви ввели невірне значення Captcha."
162
+
163
+ #: google-captcha.php:397
164
+ msgid "To use Google Captcha you must get the keys from"
165
+ msgstr "Щоб використовувати Google Captcha, вам необхідно отримати ключі з"
166
+
167
+ #: google-captcha.php:397
168
+ msgid "here"
169
+ msgstr "тут"
170
+
171
+ #: google-captcha.php:397
172
+ msgid "and enter them on the"
173
+ msgstr "і вставити їх у"
174
+
175
+ #: google-captcha.php:397
176
+ msgid "plugin setting page"
177
+ msgstr "сторінка налаштувань плагіну"
178
+
179
+ #: google-captcha.php:448 google-captcha.php:490 google-captcha.php:512
180
+ msgid ""
181
+ "Error: You have entered an incorrect CAPTCHA value. Click the BACK button on "
182
+ "your browser, and try again."
183
+ msgstr ""
184
+ "Помилка: Ви ввели невірне значення Captcha. Клікніть НАЗАД у своєму браузері "
185
+ "та спробуйте ще раз."
186
+
187
+ #: google-captcha.php:526 google-captcha.php:537
188
+ msgid "Settings"
189
+ msgstr "Налаштування"
190
+
191
+ #: google-captcha.php:538
192
+ msgid "FAQ"
193
+ msgstr "FAQ"
194
+
195
+ #: google-captcha.php:539
196
+ msgid "Support"
197
+ msgstr "Підтримка"
198
+
199
+ #, fuzzy
200
+ #~ msgid "Activated theme"
201
+ #~ msgstr "Активировать Contact form"
202
+
203
+ #, fuzzy
204
+ #~ msgid "Themes"
205
+ #~ msgstr "Тема:"
206
+
207
+ #~ msgid "WARNING: The captcha will not display while you not fill key fields."
208
+ #~ msgstr ""
209
+ #~ "ПРЕДУПРЕЖДЕНИЕ: Google Captcha не будет отображаться пока вы не заполните "
210
+ #~ "ключевые поля."
readme.txt CHANGED
@@ -1,9 +1,10 @@
1
  === Google Captcha (reCAPTCHA) ===
2
  Contributors: bestwebsoft
3
- Tags: captcha, recaptcha, google, google captcha, reCAPTCHA, re captcha, re-captcha, text captcha, spam, antispam, login, registration, comment, lost password, shortcode, capcha, catcha, captha
 
4
  Requires at least: 3.0
5
- Tested up to: 3.8.1
6
- Stable tag: 1.02
7
  License: GPLv3 or later
8
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
9
 
@@ -16,6 +17,10 @@ This captcha can be used for login, registration, password recovery, comments fo
16
 
17
  http://www.youtube.com/watch?v=10ImOhmM0Cs
18
 
 
 
 
 
19
  = Copyrights for resources used in this plugin =
20
 
21
  1. In Google Captcha plugin we used the "lib/recaptchalib.php" file. The Licence for this file is in the "lib/license.txt" file.
@@ -36,7 +41,9 @@ There is also a premium version of the plugin <a href="http://bestwebsoft.com/pl
36
 
37
  = Translation =
38
 
 
39
  * Russian (ru_RU)
 
40
 
41
  If you would like to create your own language pack or update the existing one, you can send <a href="http://codex.wordpress.org/Translating_WordPress" target="_blank">the text of PO and MO files</a> for <a href="http://support.bestwebsoft.com" target="_blank">BestWebSoft</a> and we'll add it to the plugin. You can download the latest version of the program for work with PO and MO files <a href="http://www.poedit.net/download.php" target="_blank">Poedit</a>.
42
 
@@ -134,6 +141,13 @@ Please make sure that the problem hasn't been discussed yet on our forum (<a hre
134
 
135
  == Changelog ==
136
 
 
 
 
 
 
 
 
137
  = V1.02 - 03.04.2014 =
138
  * Update : Screenshots are updated.
139
  * Update : BWS plugins section is updated.
@@ -149,6 +163,9 @@ Please make sure that the problem hasn't been discussed yet on our forum (<a hre
149
 
150
  == Upgrade Notice ==
151
 
 
 
 
152
  = V1.02 =
153
  Screenshots are updated. BWS plugins section is updated. Plugin optimization is done.
154
 
1
  === Google Captcha (reCAPTCHA) ===
2
  Contributors: bestwebsoft
3
+ Donate link: https://www.2checkout.com/checkout/purchase?sid=1430388&quantity=1&product_id=94
4
+ Tags: antispam, anti-spam, capcha, anti-spam security, arithmetic actions, captcha, captha, capcha, catcha, cpatcha, captcha theme, comment, digitize books, digitize newspapers, digitize radio shows, google, gogle, google captcha, login, lost password, re captcha, recaptcha, re-captcha, registration, shortcode, site keys, spam, text captcha.
5
  Requires at least: 3.0
6
+ Tested up to: 3.9.1
7
+ Stable tag: 1.03
8
  License: GPLv3 or later
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
17
 
18
  http://www.youtube.com/watch?v=10ImOhmM0Cs
19
 
20
+ <a href="http://wordpress.org/plugins/google-captcha/faq/" target="_blank">FAQ</a>
21
+
22
+ <a href="http://support.bestwebsoft.com" target="_blank">Support</a>
23
+
24
  = Copyrights for resources used in this plugin =
25
 
26
  1. In Google Captcha plugin we used the "lib/recaptchalib.php" file. The Licence for this file is in the "lib/license.txt" file.
41
 
42
  = Translation =
43
 
44
+ * Polish (pl_PL) (thanks to <a href="mailto:ryszard.glegola@translanet.com ">Ryszard Glegola</a>, www.translanet.com)
45
  * Russian (ru_RU)
46
+ * Ukrainian (uk)
47
 
48
  If you would like to create your own language pack or update the existing one, you can send <a href="http://codex.wordpress.org/Translating_WordPress" target="_blank">the text of PO and MO files</a> for <a href="http://support.bestwebsoft.com" target="_blank">BestWebSoft</a> and we'll add it to the plugin. You can download the latest version of the program for work with PO and MO files <a href="http://www.poedit.net/download.php" target="_blank">Poedit</a>.
49
 
141
 
142
  == Changelog ==
143
 
144
+ = V1.03 - 06.06.2014 =
145
+ * New : The Polish language file is added.
146
+ * New : The Ukrainian language file is added.
147
+ * New : Renew captcha automaticly if was entered wrong value (thanks to Yaroslav Rogoza, github.com/rogyar).
148
+ * Update : We updated all functionality for wordpress 3.9.1.
149
+ * Bugfix : Problem with checking captcha for sites with https was fixed.
150
+
151
  = V1.02 - 03.04.2014 =
152
  * Update : Screenshots are updated.
153
  * Update : BWS plugins section is updated.
163
 
164
  == Upgrade Notice ==
165
 
166
+ = V1.03 =
167
+ The Polish language file is added. The Ukrainian language file is added. Renew captcha automaticly if was entered wrong value (thanks to Yaroslav Rogoza, github.com/rogyar). We updated all functionality for wordpress 3.9.1. Problem with checking captcha for sites with https was fixed.
168
+
169
  = V1.02 =
170
  Screenshots are updated. BWS plugins section is updated. Plugin optimization is done.
171