Contact Form by BestWebSoft - Version 4.1.5

Version Description

  • 09.04.2019 =
  • Bugfix : The ability to translate GDPR Compliance has been fixed.
Download this release

Release Info

Developer bestwebsoft
Plugin Icon 128x128 Contact Form by BestWebSoft
Version 4.1.5
Comparing to
See all releases

Code changes from version 4.1.4 to 4.1.5

contact_form.php CHANGED
@@ -6,7 +6,7 @@ Description: Simple contact form plugin any WordPress website must have.
6
  Author: BestWebSoft
7
  Text Domain: contact-form-plugin
8
  Domain Path: /languages
9
- Version: 4.1.4
10
  Author URI: https://bestwebsoft.com/
11
  License: GPLv2 or later
12
  */
@@ -34,37 +34,38 @@ License: GPLv2 or later
34
  if ( ! function_exists( 'cntctfrm_admin_menu' ) ) {
35
  function cntctfrm_admin_menu() {
36
  global $submenu, $cntctfrm_plugin_info, $wp_version;
37
-
38
- $cntctfrm_settings = add_menu_page(
39
- __( 'Contact Form Settings', 'contact-form-plugin' ), /* $page_title */
40
- 'Contact Form', /* $menu_title */
41
- 'manage_options', /* $capability */
42
- 'contact_form.php', /* $menu_slug */
43
- 'cntctfrm_settings_page' /* $callable_function */
44
- );
45
- add_submenu_page(
46
- 'contact_form.php',
47
- __( 'Contact Form Settings', 'contact-form-plugin' ),
48
- __( 'Settings', 'contact-form-plugin' ),
49
- 'manage_options',
50
- 'contact_form.php',
51
- 'cntctfrm_settings_page'
52
- );
53
- add_submenu_page(
54
- 'contact_form.php',
55
- 'BWS Panel',
56
- 'BWS Panel',
57
- 'manage_options',
58
- 'cntctfrm-bws-panel',
59
- 'bws_add_menu_render'
60
- );
61
- if ( isset( $submenu['contact_form.php'] ) )
62
- $submenu['contact_form.php'][] = array(
63
- '<span style="color:#d86463"> ' . __( 'Upgrade to Pro', 'contact-form-plugin' ) . '</span>',
64
  'manage_options',
65
- 'https://bestwebsoft.com/products/wordpress/plugins/contact-form/?k=697c5e74f39779ce77850e11dbe21962&pn=77&v=' . $cntctfrm_plugin_info["Version"] . '&wp_v=' . $wp_version );
66
-
67
- add_action( "load-{$cntctfrm_settings}", 'cntctfrm_add_tabs' );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
68
  }
69
  }
70
 
@@ -346,7 +347,6 @@ if ( ! function_exists( 'cntctfrm_get_option_defaults' ) ) {
346
  'language' => array(),
347
  'change_label' => 0,
348
  'gdpr_link' => '',
349
- 'gdpr_text' => '',
350
  'name_label' => array( 'default' => __( "Name", 'contact-form-plugin' ) . ':' ),
351
  'address_label' => array( 'default' => __( "Address", 'contact-form-plugin' ) . ':' ),
352
  'email_label' => array( 'default' => __( "Email Address", 'contact-form-plugin' ) . ':' ),
@@ -357,6 +357,7 @@ if ( ! function_exists( 'cntctfrm_get_option_defaults' ) ) {
357
  'attachment_tooltip' => array( 'default' => __( "Supported file types: HTML, TXT, CSS, GIF, PNG, JPEG, JPG, TIFF, BMP, AI, EPS, PS, CSV, RTF, PDF, DOC, DOCX, XLS, XLSX, ZIP, RAR, WAV, MP3, PPT.", 'contact-form-plugin' ) ),
358
  'send_copy_label' => array( 'default' => __( "Send me a copy", 'contact-form-plugin' ) ),
359
  'gdpr_label' => array( 'default' => __( "I consent to having this site collect my personal data.", 'contact-form-plugin' ) ),
 
360
  'submit_label' => array( 'default' => __( "Submit", 'contact-form-plugin' ) ),
361
  'name_error' => array( 'default' => __( "Your name is required.", 'contact-form-plugin' ) ),
362
  'address_error' => array( 'default' => __( "Address is required.", 'contact-form-plugin' ) ),
@@ -913,9 +914,9 @@ if ( ! function_exists( 'cntctfrm_display_form' ) ) {
913
  <input type="checkbox" value="" required name="cntctfrm_contact_gdpr" id="cntctfrm_contact_gdpr"' . ( $gdpr == '1' ? ' checked="checked" ' : "" ) . ' />
914
  <label for="cntctfrm_contact_gdpr">' . $cntctfrm_options['gdpr_label'][ $lang ] . '</label>';
915
  if( ! empty( $cntctfrm_options['gdpr_link'] ) ) {
916
- $content .= ' ' . '<a target="_blank" href="' . $cntctfrm_options['gdpr_link'] . '">' . $cntctfrm_options['gdpr_text'] . '</a>';
917
  } else {
918
- $content .= '<span>' . ' ' . $cntctfrm_options['gdpr_text'] . '</span>';
919
  }
920
  $content .= '</div>';
921
  $content .= '</div>';
6
  Author: BestWebSoft
7
  Text Domain: contact-form-plugin
8
  Domain Path: /languages
9
+ Version: 4.1.5
10
  Author URI: https://bestwebsoft.com/
11
  License: GPLv2 or later
12
  */
34
  if ( ! function_exists( 'cntctfrm_admin_menu' ) ) {
35
  function cntctfrm_admin_menu() {
36
  global $submenu, $cntctfrm_plugin_info, $wp_version;
37
+ if ( ! is_plugin_active( 'contact-form-pro/contact_form_pro.php') ) {
38
+ $cntctfrm_settings = add_menu_page(
39
+ __( 'Contact Form Settings', 'contact-form-plugin' ), /* $page_title */
40
+ 'Contact Form', /* $menu_title */
41
+ 'manage_options', /* $capability */
42
+ 'contact_form.php', /* $menu_slug */
43
+ 'cntctfrm_settings_page' /* $callable_function */
44
+ );
45
+ add_submenu_page(
46
+ 'contact_form.php',
47
+ __( 'Contact Form Settings', 'contact-form-plugin' ),
48
+ __( 'Settings', 'contact-form-plugin' ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
49
  'manage_options',
50
+ 'contact_form.php',
51
+ 'cntctfrm_settings_page'
52
+ );
53
+ add_submenu_page(
54
+ 'contact_form.php',
55
+ 'BWS Panel',
56
+ 'BWS Panel',
57
+ 'manage_options',
58
+ 'cntctfrm-bws-panel',
59
+ 'bws_add_menu_render'
60
+ );
61
+ if ( isset( $submenu['contact_form.php'] ) )
62
+ $submenu['contact_form.php'][] = array(
63
+ '<span style="color:#d86463"> ' . __( 'Upgrade to Pro', 'contact-form-plugin' ) . '</span>',
64
+ 'manage_options',
65
+ 'https://bestwebsoft.com/products/wordpress/plugins/contact-form/?k=697c5e74f39779ce77850e11dbe21962&pn=77&v=' . $cntctfrm_plugin_info["Version"] . '&wp_v=' . $wp_version );
66
+
67
+ add_action( "load-{$cntctfrm_settings}", 'cntctfrm_add_tabs' );
68
+ }
69
  }
70
  }
71
 
347
  'language' => array(),
348
  'change_label' => 0,
349
  'gdpr_link' => '',
 
350
  'name_label' => array( 'default' => __( "Name", 'contact-form-plugin' ) . ':' ),
351
  'address_label' => array( 'default' => __( "Address", 'contact-form-plugin' ) . ':' ),
352
  'email_label' => array( 'default' => __( "Email Address", 'contact-form-plugin' ) . ':' ),
357
  'attachment_tooltip' => array( 'default' => __( "Supported file types: HTML, TXT, CSS, GIF, PNG, JPEG, JPG, TIFF, BMP, AI, EPS, PS, CSV, RTF, PDF, DOC, DOCX, XLS, XLSX, ZIP, RAR, WAV, MP3, PPT.", 'contact-form-plugin' ) ),
358
  'send_copy_label' => array( 'default' => __( "Send me a copy", 'contact-form-plugin' ) ),
359
  'gdpr_label' => array( 'default' => __( "I consent to having this site collect my personal data.", 'contact-form-plugin' ) ),
360
+ 'gdpr_text_button' => array( 'default' => __( "Learn more", 'contact-form-plugin' ) ),
361
  'submit_label' => array( 'default' => __( "Submit", 'contact-form-plugin' ) ),
362
  'name_error' => array( 'default' => __( "Your name is required.", 'contact-form-plugin' ) ),
363
  'address_error' => array( 'default' => __( "Address is required.", 'contact-form-plugin' ) ),
914
  <input type="checkbox" value="" required name="cntctfrm_contact_gdpr" id="cntctfrm_contact_gdpr"' . ( $gdpr == '1' ? ' checked="checked" ' : "" ) . ' />
915
  <label for="cntctfrm_contact_gdpr">' . $cntctfrm_options['gdpr_label'][ $lang ] . '</label>';
916
  if( ! empty( $cntctfrm_options['gdpr_link'] ) ) {
917
+ $content .= ' ' . '<a target="_blank" href="' . $cntctfrm_options['gdpr_link'] . '">' . $cntctfrm_options['gdpr_text_button'][ $lang ] . '</a>';
918
  } else {
919
+ $content .= '<span>' . ' ' . $cntctfrm_options['gdpr_text_button'][ $lang ] . '</span>';
920
  }
921
  $content .= '</div>';
922
  $content .= '</div>';
css/style.css CHANGED
@@ -171,6 +171,16 @@ div.cntctfrm_info {
171
  margin-bottom: 8px;
172
  padding-top: 3px;
173
  }
 
 
 
 
 
 
 
 
 
 
174
  @media screen and (max-width: 600px) {
175
  #cntctfrm_nav_container {
176
  border: none;
171
  margin-bottom: 8px;
172
  padding-top: 3px;
173
  }
174
+ @media screen and (max-width: 1350px) {
175
+ #cntctfrm_additional_settings_tab .form-table td {
176
+ display: inline-block;
177
+ }
178
+ #cntctfrm_gdpr_link_options {
179
+ padding: 5px;
180
+ display: table-caption;
181
+ text-align: left;
182
+ }
183
+ }
184
  @media screen and (max-width: 600px) {
185
  #cntctfrm_nav_container {
186
  border: none;
includes/class-cntctfrm-settings.php CHANGED
@@ -168,7 +168,6 @@ if ( ! class_exists( 'Cntctfrm_Settings_Tabs' ) ) {
168
  $this->options['send_copy'] = isset( $_POST['cntctfrm_send_copy'] ) ? $_POST['cntctfrm_send_copy'] : 0;
169
  $this->options['gdpr'] = isset( $_POST['cntctfrm_gdpr'] ) ? $_POST['cntctfrm_gdpr'] : 0;
170
  $this->options['gdpr_link'] = isset( $_POST['cntctfrm_gdpr_link'] ) ? $_POST['cntctfrm_gdpr_link'] : '';
171
- $this->options['gdpr_text'] = isset( $_POST['cntctfrm_gdpr_text'] ) ? $_POST['cntctfrm_gdpr_text'] : '';
172
 
173
  $this->options['delete_attached_file'] = isset( $_POST['cntctfrm_delete_attached_file'] ) ? $_POST['cntctfrm_delete_attached_file'] : 0;
174
 
@@ -266,6 +265,7 @@ if ( ! class_exists( 'Cntctfrm_Settings_Tabs' ) ) {
266
  $this->options['attachment_tooltip'][ $key ] = stripcslashes( htmlspecialchars( $_POST['cntctfrm_attachment_tooltip'][ $key ] ) );
267
  $this->options['send_copy_label'][ $key ] = stripcslashes( htmlspecialchars( $_POST['cntctfrm_send_copy_label'][ $key ] ) );
268
  $this->options['gdpr_label'][ $key ] = stripcslashes( htmlspecialchars( $_POST['cntctfrm_gdpr_label'][ $key ] ) );
 
269
  $this->options['thank_text'][ $key ] = stripcslashes( htmlspecialchars( $_POST['cntctfrm_thank_text'][ $key ] ) );
270
  $this->options['submit_label'][ $key ] = stripcslashes( htmlspecialchars( $_POST['cntctfrm_submit_label'][ $key ] ) );
271
  $this->options['name_error'][ $key ] = stripcslashes( htmlspecialchars( $_POST['cntctfrm_name_error'][ $key ] ) );
@@ -295,6 +295,7 @@ if ( ! class_exists( 'Cntctfrm_Settings_Tabs' ) ) {
295
  $this->options['attachment_tooltip'] = $option_defaults['attachment_tooltip'];
296
  $this->options['send_copy_label'] = $option_defaults['send_copy_label'];
297
  $this->options['gdpr_label'] = $option_defaults['gdpr_label'];
 
298
  $this->options['thank_text'] = $_POST['cntctfrm_thank_text'];
299
  $this->options['submit_label'] = $option_defaults['submit_label'];
300
  $this->options['name_error'] = $option_defaults['name_error'];
@@ -323,6 +324,7 @@ if ( ! class_exists( 'Cntctfrm_Settings_Tabs' ) ) {
323
  $this->options['attachment_tooltip']['default'] = $option_defaults['attachment_tooltip']['default'];
324
  $this->options['send_copy_label']['default'] = $option_defaults['send_copy_label']['default'];
325
  $this->options['gdpr_label']['default'] = $option_defaults['gdpr_label']['default'];
 
326
  $this->options['submit_label']['default'] = $option_defaults['submit_label']['default'];
327
  $this->options['name_error']['default'] = $option_defaults['name_error']['default'];
328
  $this->options['address_error']['default'] = $option_defaults['address_error']['default'];
@@ -887,10 +889,6 @@ if ( ! class_exists( 'Cntctfrm_Settings_Tabs' ) ) {
887
  <?php _e( "Link to Privacy Policy Page", 'contact-form-plugin' ); ?>
888
  <input type="url" id="cntctfrm_gdpr_link" name="cntctfrm_gdpr_link" value="<?php echo $this->options['gdpr_link']; ?>" />
889
  </label>
890
- <label class="cntctfrm_privacy_policy_text" >
891
- <?php _e( "Text for Privacy Policy Link", 'contact-form-plugin' ); ?>
892
- <input type="text" id="cntctfrm_gdpr_text" name="cntctfrm_gdpr_text" value="<?php echo $this->options['gdpr_text']; ?>" />
893
- </label>
894
  </div>
895
  <div style="clear: both;">
896
  <?php if ( array_key_exists( 'subscriber/subscriber.php', $all_plugins ) || array_key_exists( 'subscriber-pro/subscriber-pro.php', $all_plugins ) ) {
@@ -1089,6 +1087,7 @@ if ( ! class_exists( 'Cntctfrm_Settings_Tabs' ) ) {
1089
  <input type="text" maxlength="250" name="cntctfrm_attachment_tooltip[default]" value="<?php echo $this->options['attachment_tooltip']['default']; ?>" /> <span class="bws_info"><?php _e( "Tips below the Attachment block", 'contact-form-plugin' ); ?></span><br />
1090
  <input type="text" maxlength="250" name="cntctfrm_send_copy_label[default]" value="<?php echo $this->options['send_copy_label']['default']; ?>" /> <span class="bws_info"><?php _e( "Send me a copy", 'contact-form-plugin' ); ?></span><br />
1091
  <input type="text" maxlength="250" name="cntctfrm_gdpr_label[default]" value="<?php echo $this->options['gdpr_label']['default']; ?>" /> <span class="bws_info"><?php _e( "I consent to having this site collect my personal data.", 'contact-form-plugin' ); ?></span><br />
 
1092
  <input type="text" maxlength="250" name="cntctfrm_submit_label[default]" value="<?php echo $this->options['submit_label']['default']; ?>" /> <span class="bws_info"><?php _e( "Submit", 'contact-form-plugin' ); ?></span><br />
1093
  <input type="text" maxlength="250" name="cntctfrm_name_error[default]" value="<?php echo $this->options['name_error']['default']; ?>" /> <span class="bws_info"><?php _e( "Error message for the Name field", 'contact-form-plugin' ); ?></span><br />
1094
  <input type="text" maxlength="250" name="cntctfrm_address_error[default]" value="<?php echo $this->options['address_error']['default']; ?>" /> <span class="bws_info"><?php _e( "Error message for the Address field", 'contact-form-plugin' ); ?></span><br />
@@ -1128,6 +1127,7 @@ if ( ! class_exists( 'Cntctfrm_Settings_Tabs' ) ) {
1128
  <input type="text" maxlength="250" name="cntctfrm_attachment_tooltip[<?php echo $val; ?>]" value="<?php if ( isset( $this->options['attachment_tooltip'][ $val ] ) ) echo $this->options['attachment_tooltip'][ $val ]; ?>" /> <span class="bws_info"><?php _e( "Tips below the Attachment block", 'contact-form-plugin' ); ?></span><br />
1129
  <input type="text" maxlength="250" name="cntctfrm_send_copy_label[<?php echo $val; ?>]" value="<?php if ( isset( $this->options['send_copy_label'][ $val ] ) ) echo $this->options['send_copy_label'][ $val ]; ?>" /> <span class="bws_info"><?php _e( "Send me a copy", 'contact-form-plugin' ); ?></span><br />
1130
  <input type="text" maxlength="250" name="cntctfrm_gdpr_label[<?php echo $val; ?>]" value="<?php if ( isset( $this->options['gdpr_label'][ $val ] ) ) echo $this->options['gdpr_label'][ $val ]; ?>" /> <span class="bws_info"><?php _e( "I consent to having this site collect my personal data.", 'contact-form-plugin' ); ?></span><br />
 
1131
  <input type="text" maxlength="250" name="cntctfrm_submit_label[<?php echo $val; ?>]" value="<?php if ( isset( $this->options['submit_label'][ $val ] ) ) echo $this->options['submit_label'][ $val ]; ?>" /> <span class="bws_info"><?php _e( "Submit", 'contact-form-plugin' ); ?></span><br />
1132
  <input type="text" maxlength="250" name="cntctfrm_name_error[<?php echo $val; ?>]" value="<?php if ( isset( $this->options['name_error'][ $val ] ) ) echo $this->options['name_error'][ $val ]; ?>" /> <span class="bws_info"><?php _e( "Error message for the Name field", 'contact-form-plugin' ); ?></span><br />
1133
  <input type="text" maxlength="250" name="cntctfrm_address_error[<?php echo $val; ?>]" value="<?php if ( isset( $this->options['address_error'][ $val ] ) ) echo $this->options['address_error'][ $val ]; ?>" /> <span class="bws_info"><?php _e( "Error message for the Address field", 'contact-form-plugin' ); ?></span><br />
@@ -1676,9 +1676,9 @@ if ( ! class_exists( 'Cntctfrm_Settings_Tabs' ) ) {
1676
  <input type="checkbox" value="" name="cntctfrm_contact_gdpr" id="cntctfrm_contact_gdpr" class="bws_no_bind_notice" style="margin: 0;" />
1677
  <label for="cntctfrm_contact_gdpr"><?php echo $this->options['gdpr_label']['default']; ?></label>
1678
  <?php if( ! empty( $this->options['gdpr_link'] ) ) { ?>
1679
- <a href="<?php $this->options['gdpr_link'] ?>" target="_blank"><?php echo $this->options['gdpr_text']; ?></a>
1680
  <?php } else { ?>
1681
- <span><?php echo $this->options['gdpr_text']; ?></span>
1682
  <?php } ?>
1683
  </div>
1684
  </li>
168
  $this->options['send_copy'] = isset( $_POST['cntctfrm_send_copy'] ) ? $_POST['cntctfrm_send_copy'] : 0;
169
  $this->options['gdpr'] = isset( $_POST['cntctfrm_gdpr'] ) ? $_POST['cntctfrm_gdpr'] : 0;
170
  $this->options['gdpr_link'] = isset( $_POST['cntctfrm_gdpr_link'] ) ? $_POST['cntctfrm_gdpr_link'] : '';
 
171
 
172
  $this->options['delete_attached_file'] = isset( $_POST['cntctfrm_delete_attached_file'] ) ? $_POST['cntctfrm_delete_attached_file'] : 0;
173
 
265
  $this->options['attachment_tooltip'][ $key ] = stripcslashes( htmlspecialchars( $_POST['cntctfrm_attachment_tooltip'][ $key ] ) );
266
  $this->options['send_copy_label'][ $key ] = stripcslashes( htmlspecialchars( $_POST['cntctfrm_send_copy_label'][ $key ] ) );
267
  $this->options['gdpr_label'][ $key ] = stripcslashes( htmlspecialchars( $_POST['cntctfrm_gdpr_label'][ $key ] ) );
268
+ $this->options['gdpr_text_button'][ $key ] = stripcslashes( htmlspecialchars( $_POST['cntctfrm_gdpr_text_button'][ $key ] ) );
269
  $this->options['thank_text'][ $key ] = stripcslashes( htmlspecialchars( $_POST['cntctfrm_thank_text'][ $key ] ) );
270
  $this->options['submit_label'][ $key ] = stripcslashes( htmlspecialchars( $_POST['cntctfrm_submit_label'][ $key ] ) );
271
  $this->options['name_error'][ $key ] = stripcslashes( htmlspecialchars( $_POST['cntctfrm_name_error'][ $key ] ) );
295
  $this->options['attachment_tooltip'] = $option_defaults['attachment_tooltip'];
296
  $this->options['send_copy_label'] = $option_defaults['send_copy_label'];
297
  $this->options['gdpr_label'] = $option_defaults['gdpr_label'];
298
+ $this->options['gdpr_text_button'] = $option_defaults['gdpr_text_button'];
299
  $this->options['thank_text'] = $_POST['cntctfrm_thank_text'];
300
  $this->options['submit_label'] = $option_defaults['submit_label'];
301
  $this->options['name_error'] = $option_defaults['name_error'];
324
  $this->options['attachment_tooltip']['default'] = $option_defaults['attachment_tooltip']['default'];
325
  $this->options['send_copy_label']['default'] = $option_defaults['send_copy_label']['default'];
326
  $this->options['gdpr_label']['default'] = $option_defaults['gdpr_label']['default'];
327
+ $this->options['gdpr_text_button']['default'] = $option_defaults['gdpr_text_button']['default'];
328
  $this->options['submit_label']['default'] = $option_defaults['submit_label']['default'];
329
  $this->options['name_error']['default'] = $option_defaults['name_error']['default'];
330
  $this->options['address_error']['default'] = $option_defaults['address_error']['default'];
889
  <?php _e( "Link to Privacy Policy Page", 'contact-form-plugin' ); ?>
890
  <input type="url" id="cntctfrm_gdpr_link" name="cntctfrm_gdpr_link" value="<?php echo $this->options['gdpr_link']; ?>" />
891
  </label>
 
 
 
 
892
  </div>
893
  <div style="clear: both;">
894
  <?php if ( array_key_exists( 'subscriber/subscriber.php', $all_plugins ) || array_key_exists( 'subscriber-pro/subscriber-pro.php', $all_plugins ) ) {
1087
  <input type="text" maxlength="250" name="cntctfrm_attachment_tooltip[default]" value="<?php echo $this->options['attachment_tooltip']['default']; ?>" /> <span class="bws_info"><?php _e( "Tips below the Attachment block", 'contact-form-plugin' ); ?></span><br />
1088
  <input type="text" maxlength="250" name="cntctfrm_send_copy_label[default]" value="<?php echo $this->options['send_copy_label']['default']; ?>" /> <span class="bws_info"><?php _e( "Send me a copy", 'contact-form-plugin' ); ?></span><br />
1089
  <input type="text" maxlength="250" name="cntctfrm_gdpr_label[default]" value="<?php echo $this->options['gdpr_label']['default']; ?>" /> <span class="bws_info"><?php _e( "I consent to having this site collect my personal data.", 'contact-form-plugin' ); ?></span><br />
1090
+ <input type="text" maxlength="250" name="cntctfrm_gdpr_text_button[default]" value="<?php echo $this->options['gdpr_text_button']['default']; ?>" /> <span class="bws_info"><?php _e( "Learn more", 'contact-form-plugin' ); ?></span><br />
1091
  <input type="text" maxlength="250" name="cntctfrm_submit_label[default]" value="<?php echo $this->options['submit_label']['default']; ?>" /> <span class="bws_info"><?php _e( "Submit", 'contact-form-plugin' ); ?></span><br />
1092
  <input type="text" maxlength="250" name="cntctfrm_name_error[default]" value="<?php echo $this->options['name_error']['default']; ?>" /> <span class="bws_info"><?php _e( "Error message for the Name field", 'contact-form-plugin' ); ?></span><br />
1093
  <input type="text" maxlength="250" name="cntctfrm_address_error[default]" value="<?php echo $this->options['address_error']['default']; ?>" /> <span class="bws_info"><?php _e( "Error message for the Address field", 'contact-form-plugin' ); ?></span><br />
1127
  <input type="text" maxlength="250" name="cntctfrm_attachment_tooltip[<?php echo $val; ?>]" value="<?php if ( isset( $this->options['attachment_tooltip'][ $val ] ) ) echo $this->options['attachment_tooltip'][ $val ]; ?>" /> <span class="bws_info"><?php _e( "Tips below the Attachment block", 'contact-form-plugin' ); ?></span><br />
1128
  <input type="text" maxlength="250" name="cntctfrm_send_copy_label[<?php echo $val; ?>]" value="<?php if ( isset( $this->options['send_copy_label'][ $val ] ) ) echo $this->options['send_copy_label'][ $val ]; ?>" /> <span class="bws_info"><?php _e( "Send me a copy", 'contact-form-plugin' ); ?></span><br />
1129
  <input type="text" maxlength="250" name="cntctfrm_gdpr_label[<?php echo $val; ?>]" value="<?php if ( isset( $this->options['gdpr_label'][ $val ] ) ) echo $this->options['gdpr_label'][ $val ]; ?>" /> <span class="bws_info"><?php _e( "I consent to having this site collect my personal data.", 'contact-form-plugin' ); ?></span><br />
1130
+ <input type="text" maxlength="250" name="cntctfrm_gdpr_text_button[<?php echo $val; ?>]" value="<?php if ( isset( $this->options['gdpr_text_button'][ $val ] ) ) echo $this->options['gdpr_text_button'][ $val ]; ?>" /> <span class="bws_info"><?php _e( "Learn more", 'contact-form-plugin' ); ?></span><br />
1131
  <input type="text" maxlength="250" name="cntctfrm_submit_label[<?php echo $val; ?>]" value="<?php if ( isset( $this->options['submit_label'][ $val ] ) ) echo $this->options['submit_label'][ $val ]; ?>" /> <span class="bws_info"><?php _e( "Submit", 'contact-form-plugin' ); ?></span><br />
1132
  <input type="text" maxlength="250" name="cntctfrm_name_error[<?php echo $val; ?>]" value="<?php if ( isset( $this->options['name_error'][ $val ] ) ) echo $this->options['name_error'][ $val ]; ?>" /> <span class="bws_info"><?php _e( "Error message for the Name field", 'contact-form-plugin' ); ?></span><br />
1133
  <input type="text" maxlength="250" name="cntctfrm_address_error[<?php echo $val; ?>]" value="<?php if ( isset( $this->options['address_error'][ $val ] ) ) echo $this->options['address_error'][ $val ]; ?>" /> <span class="bws_info"><?php _e( "Error message for the Address field", 'contact-form-plugin' ); ?></span><br />
1676
  <input type="checkbox" value="" name="cntctfrm_contact_gdpr" id="cntctfrm_contact_gdpr" class="bws_no_bind_notice" style="margin: 0;" />
1677
  <label for="cntctfrm_contact_gdpr"><?php echo $this->options['gdpr_label']['default']; ?></label>
1678
  <?php if( ! empty( $this->options['gdpr_link'] ) ) { ?>
1679
+ <a href="<?php $this->options['gdpr_link'] ?>" target="_blank"><?php echo $this->options['gdpr_text_button']['default']; ?></a>
1680
  <?php } else { ?>
1681
+ <span><?php echo $this->options['gdpr_text_button']['default']; ?></span>
1682
  <?php } ?>
1683
  </div>
1684
  </li>
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://bestwebsoft.com/donate/
4
  Tags: contact, contact form, feedback form, contact us form, contact button, email form, contac, form, web-page feedback, cf, cf plugin, contact form plugin
5
  Requires at least: 3.9
6
  Tested up to: 5.1.1
7
- Stable tag: 4.1.4
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -40,7 +40,7 @@ https://www.youtube.com/watch?v=F_piQa0hmkU
40
  * Address
41
  * Phone number
42
  * File attachments
43
- * Multiple file selection [NEW]
44
  * Enable additional pre-build fields
45
  * Enable two column layout
46
  * Change the width for contact form
@@ -224,6 +224,9 @@ Please make sure that the problem hasn't been discussed yet on our forum (<https
224
 
225
  == Changelog ==
226
 
 
 
 
227
  = V4.1.4 - 26.03.2019 =
228
  * NEW : The ability to attach multiple files has been added.
229
 
@@ -731,6 +734,9 @@ Please make sure that the problem hasn't been discussed yet on our forum (<https
731
 
732
  == Upgrade Notice ==
733
 
 
 
 
734
  = V4.1.4 =
735
  * New features added.
736
 
4
  Tags: contact, contact form, feedback form, contact us form, contact button, email form, contac, form, web-page feedback, cf, cf plugin, contact form plugin
5
  Requires at least: 3.9
6
  Tested up to: 5.1.1
7
+ Stable tag: 4.1.5
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
40
  * Address
41
  * Phone number
42
  * File attachments
43
+ * Multiple file selection
44
  * Enable additional pre-build fields
45
  * Enable two column layout
46
  * Change the width for contact form
224
 
225
  == Changelog ==
226
 
227
+ = V4.1.5 - 09.04.2019 =
228
+ * Bugfix : The ability to translate GDPR Compliance has been fixed.
229
+
230
  = V4.1.4 - 26.03.2019 =
231
  * NEW : The ability to attach multiple files has been added.
232
 
734
 
735
  == Upgrade Notice ==
736
 
737
+ = V4.1.4 =
738
+ * Bugs fixed.
739
+
740
  = V4.1.4 =
741
  * New features added.
742
 
screenshot-10.png CHANGED
Binary file
screenshot-11.png CHANGED
Binary file
screenshot-12.png CHANGED
Binary file
screenshot-13.png CHANGED
Binary file
screenshot-14.png CHANGED
Binary file
screenshot-16.png CHANGED
Binary file
screenshot-4.png CHANGED
Binary file
screenshot-5.png CHANGED
Binary file
screenshot-6.png CHANGED
Binary file
screenshot-8.png CHANGED
Binary file
screenshot-9.png CHANGED
Binary file