Contact Form Email - Version 1.2.45

Version Description

  • Removed unneeded code blocks
Download this release

Release Info

Developer codepeople
Plugin Icon 128x128 Contact Form Email
Version 1.2.45
Comparing to
See all releases

Code changes from version 1.2.44 to 1.2.45

Files changed (3) hide show
  1. README.txt +13 -8
  2. bannerdk.php +0 -111
  3. form-to-email.php +1 -3
README.txt CHANGED
@@ -8,7 +8,7 @@ Stable tag: trunk
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
11
- Contact form that sends the data to email and also to a database list and CSV file. Contact form with form builder.
12
 
13
  == Description ==
14
 
@@ -28,9 +28,9 @@ Contact Form to Email features:
28
  ► Supports GDPR compliant forms
29
  ► ... and more features (see below)
30
 
31
- The main purpose of the **Contact Form to Email** is, as the name indicates, to create **contact forms** and **send their data email addresses**.
32
 
33
- In addition to that basic feature it also **saves the contact form data into a database**, provides **printable reports** and the option to **export selected data to CSV/Excel** files.
34
 
35
  = Contact Form to Email Main Features: =
36
 
@@ -49,11 +49,13 @@ In addition to that basic feature it also **saves the contact form data into a d
49
  * **Enable/Disable notifications:** Both email notifications to administrators and email confirmation to users can be optionally enabled or disabled form the settings area.
50
 
51
 
52
- = Contact Form to Email - More features =
53
 
54
- There are also commercial versions of the Contact Form to Email with other features not listed here that can be get at https://form2email.dwbooster.com/download
55
 
56
- One of the commercial features - available only in the Platinum version of the plugin - is the option to convert the form in a payment form / booking form with integration with mulitple payment gateways: PayPal Standard, PayPal Pro, Stripe, Authorize.net, Skrill, Mollie / iDeal, TargetPay / iDeal, SagePay, RedSys TPV and Sage Payments.
 
 
57
 
58
  = Contact Form to Email Messages List =
59
 
@@ -448,6 +450,9 @@ When you click a field already added into the contact form builder area, you can
448
 
449
  == Changelog ==
450
 
 
 
 
451
  = 1.2.44 =
452
  * Typo/language fixes
453
 
@@ -887,5 +892,5 @@ When you click a field already added into the contact form builder area, you can
887
 
888
  == Upgrade Notice ==
889
 
890
- = 1.2.44 =
891
- * Typo/language fixes
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
11
+ Contact form with visual form builder. Contact form that sends the data to email, to a database list and to CSV / Excel files.
12
 
13
  == Description ==
14
 
28
  ► Supports GDPR compliant forms
29
  ► ... and more features (see below)
30
 
31
+ The **Contact Form to Email** is a powerful and easy WordPress plugin to create **contact forms** and **send their data email addresses**.
32
 
33
+ **Contact Form to Email** also **saves the contact form data into a database**, provides **printable reports** and the option to **export selected data to CSV/Excel** files.
34
 
35
  = Contact Form to Email Main Features: =
36
 
49
  * **Enable/Disable notifications:** Both email notifications to administrators and email confirmation to users can be optionally enabled or disabled form the settings area.
50
 
51
 
52
+ = Contact Form to Email - More features =
53
 
54
+ There are also commercial versions of the Contact Form to Email with other features not listed here that can be get at https://form2email.dwbooster.com/download
55
 
56
+ Commercial version can be converted in a payment form / booking form with integration with mulitple payment gateways: PayPal Standard, PayPal Pro, Stripe, Authorize.net, Skrill, Mollie / iDeal, TargetPay / iDeal, SagePay, RedSys TPV and Sage Payments.
57
+
58
+ Commercial version also features a ultra-powerful visual form builder, file upload fields, conditional logic, multi-page forms, WooCommerce integration, etc...
59
 
60
  = Contact Form to Email Messages List =
61
 
450
 
451
  == Changelog ==
452
 
453
+ = 1.2.45 =
454
+ * Removed unneeded code blocks
455
+
456
  = 1.2.44 =
457
  * Typo/language fixes
458
 
892
 
893
  == Upgrade Notice ==
894
 
895
+ = 1.2.45 =
896
+ * Removed unneeded code blocks
bannerdk.php CHANGED
@@ -1,111 +0,0 @@
1
- <?php
2
- global $codepeople_cftedk_banner_plugins;
3
- if(empty($codepeople_cftedk_banner_plugins)) $codepeople_cftedk_banner_plugins = array();
4
- if(!function_exists( 'codepeople_add_promotecftedk_banner' ))
5
- {
6
- function codepeople_add_promotecftedk_banner($wp_admin_bar)
7
- {
8
- global $codepeople_cftedk_banner_plugins;
9
-
10
- if( empty($codepeople_cftedk_banner_plugins) || !is_admin() ) return;
11
-
12
- // Take action over the banner
13
- if(isset($_POST['codepeople_cftedk_banner_nonce']) && wp_verify_nonce($_POST['codepeople_cftedk_banner_nonce'], __FILE__))
14
- {
15
- if(
16
- !empty($_POST['codepeople_cftedk_banner_plugin']) &&
17
- !empty($codepeople_cftedk_banner_plugins[$_POST['codepeople_cftedk_banner_plugin']])
18
- )
19
- {
20
- set_transient( 'codepeople_cftedk_banner_'.$_POST['codepeople_cftedk_banner_plugin'], -1, 0);
21
- if(
22
- !empty($_POST['codepeople_cftedk_banner_action']) &&
23
- $_POST['codepeople_cftedk_banner_action'] == 'set-review' &&
24
- !empty($codepeople_cftedk_banner_plugins[$_POST['codepeople_cftedk_banner_plugin']]['plugin_url'])
25
- )
26
- {
27
- print '<script>document.location.href="'.esc_js($codepeople_cftedk_banner_plugins[$_POST['codepeople_cftedk_banner_plugin']]['plugin_url']).'";</script>';
28
- }
29
- }
30
- }
31
-
32
- $minimum_days = 86400*1; // 1 days after review
33
- $now = time();
34
-
35
- foreach($codepeople_cftedk_banner_plugins as $plugin_slug => $plugin_data )
36
- {
37
-
38
- $valuePromo = get_transient( 'codepeople_promote_banner_'.$plugin_slug );
39
- if( $valuePromo === false || $valuePromo > 0) // display only after review answer
40
- {
41
- return;
42
- }
43
-
44
- $value = get_transient( 'codepeople_cftedk_banner_'.$plugin_slug );
45
- if( $value === false )
46
- {
47
- $value = $now;
48
- set_transient( 'codepeople_cftedk_banner_'.$plugin_slug, $value, 0 );
49
- }
50
-
51
- if($minimum_days <= abs($now-$value) && 0<$value)
52
- {
53
- ?>
54
- <style>
55
- #codepeople-cftedkreview-banner{width:calc( 100% - 20px );width:-webkit-calc( 100% - 20px );width:-moz-calc( 100% - 20px );width:-o-calc( 100% - 20px );margin-top:5px;border:10px solid #008a15;background:#FFF;display:table;}
56
- #codepeople-cftedkreview-banner form{float:left; padding:0 5px;}
57
- #codepeople-cftedkreview-banner .codepeople-cftedkreview-banner-picture{width:120px;padding:10px 10px 10px 10px;float:left;text-align:center;}
58
- #codepeople-cftedkreview-banner .codepeople-cftedkreview-banner-content{float: left;padding:10px;width: calc( 100% - 160px );width: -webkit-calc( 100% - 160px );width: -moz-calc( 100% - 160px );width: -o-calc( 100% - 160px );}
59
- #codepeople-cftedkreview-banner .codepeople-cftedkreview-banner-buttons{padding-top:20px;}
60
- #codepeople-cftedkreview-banner .no-thank-button,
61
- #codepeople-cftedkreview-banner .main-button{height: 28px;border-width:1px;border-style:solid;border-radius:5px;text-decoration: none;}
62
- #codepeople-cftedkreview-banner .main-button{background: #00ba15;border-color: #009a15 #008a15 #008a15;-webkit-box-shadow: 0 1px 0 #006799;box-shadow: 0 1px 0 #006799;color: #fff;text-decoration: none;text-shadow: 0 -1px 1px #006799,1px 0 1px #006799,0 1px 1px #006799,-1px 0 1px #006799;}
63
- #codepeople-cftedkreview-banner .no-thank-button {color: #555;border-color: #cccccc;background: #f7f7f7;-webkit-box-shadow: 0 1px 0 #cccccc;box-shadow: 0 1px 0 #cccccc;vertical-align: top;}
64
- #codepeople-cftedkreview-banner .main-button:hover,#codepeople-cftedkreview-banner .main-button:focus{background: #00be15;border-color: #008a15;color: #fff;}
65
- #codepeople-cftedkreview-banner .no-thank-button:hover,
66
- #codepeople-cftedkreview-banner .no-thank-button:focus{background: #fafafa;border-color: #999;color: #23282d;}
67
- @media screen AND (max-width:760px)
68
- {
69
- #codepeople-cftedkreview-banner{position:relative;top:50px;}
70
- #codepeople-cftedkreview-banner .codepeople-cftedkreview-banner-picture{display:none;}
71
- #codepeople-cftedkreview-banner .codepeople-cftedkreview-banner-content{width:calc( 100% - 20px );width:-webkit-calc( 100% - 20px );width:-moz-calc( 100% - 20px );width:-o-calc( 100% - 20px );}
72
- }
73
- </style>
74
- <div id="codepeople-cftedkreview-banner">
75
- <div class="codepeople-cftedkreview-banner-picture">
76
- <img alt="" src="<?php echo plugins_url('', __FILE__); ?>/images/form-builder-th.png" style="width:120px;border:1px dotted black;padding:1px;">
77
- </div>
78
- <div class="codepeople-cftedkreview-banner-content">
79
- <div class="codepeople-cftedkreview-banner-text">
80
- <p><strong>Want to upgrade to a full featured version of the <span style="color:#1582AB;font-weight:bold;">"<?php print $plugin_data[ 'plugin_name' ]; ?>"</span> plugin with a huge discount?</strong>
81
- </p><p>With the commercial versions you get a fully functional Visual Form Builder, premium support service and a lot more of features.
82
- </p><p>For a limited time you have this <strong>personal invitation</strong> to
83
- upgrade to any of the commercial versions with a <span style="color:#1582AB;font-weight:bold;">25% discount</span>. Thank you!</p>
84
- </div>
85
- <div class="codepeople-cftedkreview-banner-buttons">
86
- <form method="post" target="_blank">
87
- <button class="main-button" onclick="jQuery(this).closest('[id=\'codepeople-cftedkreview-banner\']').hide();">Yes, Upgrade with a 25% Discount</button>
88
- <input type="hidden" name="codepeople_cftedk_banner_plugin" value="<?php echo esc_attr($plugin_slug); ?>" />
89
- <input type="hidden" name="codepeople_cftedk_banner_action" value="set-review" />
90
- <input type="hidden" name="codepeople_cftedk_banner_nonce" value="<?php echo wp_create_nonce(__FILE__); ?>" />
91
- </form>
92
- <form method="post">
93
- <button class="no-thank-button">No Thanks, don't want to see this message again.</button>
94
- <input type="hidden" name="codepeople_cftedk_banner_plugin" value="<?php echo esc_attr($plugin_slug); ?>" />
95
- <input type="hidden" name="codepeople_cftedk_banner_action" value="not-thanks" />
96
- <input type="hidden" name="codepeople_cftedk_banner_nonce" value="<?php echo wp_create_nonce(__FILE__); ?>" />
97
- </form>
98
- <div style="clear:both;display:block;"></div>
99
- </div>
100
- <div style="clear:both;"></div>
101
- </div>
102
- <div style="clear:both;"></div>
103
- </div>
104
- <?php
105
- return;
106
- }
107
- }
108
- }
109
- add_action( 'admin_bar_menu', 'codepeople_add_promotecftedk_banner' );
110
- } // End codepeople_promote_banner block
111
- ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
form-to-email.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Contact Form Email
4
  Plugin URI: https://form2email.dwbooster.com/download
5
  Description: Contact form that sends the data to email and also to a database list and CSV file.
6
- Version: 1.2.44
7
  Author: CodePeople
8
  Author URI: https://form2email.dwbooster.com
9
  Text Domain: contact-form-to-email
@@ -81,8 +81,6 @@ if ( is_admin() ) {
81
  $codepeople_promote_banner_plugins[ 'contact-form-to-email' ] = array( 'plugin_name' => 'Contact Form Email', 'plugin_url' => 'https://wordpress.org/support/plugin/contact-form-to-email/reviews/#new-post');
82
  require_once 'banner.php';
83
 
84
- $codepeople_cftedk_banner_plugins[ 'contact-form-to-email' ] = array( 'plugin_name' => 'Contact Form Email', 'plugin_url' => 'https://form2email.dwbooster.com/download?dk='.md5(date("Y-m-d")."locomp25"));
85
- require_once 'bannerdk.php';
86
 
87
 
88
  ?>
3
  Plugin Name: Contact Form Email
4
  Plugin URI: https://form2email.dwbooster.com/download
5
  Description: Contact form that sends the data to email and also to a database list and CSV file.
6
+ Version: 1.2.45
7
  Author: CodePeople
8
  Author URI: https://form2email.dwbooster.com
9
  Text Domain: contact-form-to-email
81
  $codepeople_promote_banner_plugins[ 'contact-form-to-email' ] = array( 'plugin_name' => 'Contact Form Email', 'plugin_url' => 'https://wordpress.org/support/plugin/contact-form-to-email/reviews/#new-post');
82
  require_once 'banner.php';
83
 
 
 
84
 
85
 
86
  ?>