Version Description
- Improved errors detection
Download this release
Release Info
Developer | codepeople |
Plugin | Contact Form Email |
Version | 1.2.52 |
Comparing to | |
See all releases |
Code changes from version 1.2.50 to 1.2.52
- README.txt +8 -2
- classes/cp-base-class.inc.php +1 -1
- cp-admin-int-list.inc.php +1 -1
- cp-feedback.php +11 -5
- form-to-email.php +1 -1
README.txt
CHANGED
@@ -454,6 +454,12 @@ When you click a field already added into the contact form builder area, you can
|
|
454 |
|
455 |
== Changelog ==
|
456 |
|
|
|
|
|
|
|
|
|
|
|
|
|
457 |
= 1.2.50 =
|
458 |
* Database creating encoding fix
|
459 |
|
@@ -911,5 +917,5 @@ When you click a field already added into the contact form builder area, you can
|
|
911 |
|
912 |
== Upgrade Notice ==
|
913 |
|
914 |
-
= 1.2.
|
915 |
-
*
|
454 |
|
455 |
== Changelog ==
|
456 |
|
457 |
+
= 1.2.52 =
|
458 |
+
* Improved errors detection
|
459 |
+
|
460 |
+
= 1.2.51 =
|
461 |
+
* Fixed bug in multisite installations
|
462 |
+
|
463 |
= 1.2.50 =
|
464 |
* Database creating encoding fix
|
465 |
|
917 |
|
918 |
== Upgrade Notice ==
|
919 |
|
920 |
+
= 1.2.52 =
|
921 |
+
* Improved errors detection
|
classes/cp-base-class.inc.php
CHANGED
@@ -15,7 +15,7 @@ class CP_CFTEMAIL_BaseClass {
|
|
15 |
if ($networkwide) {
|
16 |
$old_blog = $wpdb->blogid;
|
17 |
// Get all blog ids
|
18 |
-
$blogids = $wpdb->get_col(
|
19 |
foreach ($blogids as $blog_id) {
|
20 |
switch_to_blog($blog_id);
|
21 |
$this->_install();
|
15 |
if ($networkwide) {
|
16 |
$old_blog = $wpdb->blogid;
|
17 |
// Get all blog ids
|
18 |
+
$blogids = $wpdb->get_col( "SELECT blog_id FROM $wpdb->blogs" );
|
19 |
foreach ($blogids as $blog_id) {
|
20 |
switch_to_blog($blog_id);
|
21 |
$this->_install();
|
cp-admin-int-list.inc.php
CHANGED
@@ -385,7 +385,7 @@ $nonce = wp_create_nonce( 'cfte_update_actions_plist' );
|
|
385 |
<fieldset class="cpfieldset"><legend>Improvements</legend>
|
386 |
<div><label for="addon-cfficalattachment-20180730" style="font-weight:bold;"><input type="checkbox" disabled id="addon-cfficalattachment-20180730" name="cfte_addons" value="addon-cfficalattachment-20180730" >iCal Export Attached</label> <div style="font-style:italic;padding-left:20px;">The add-on allows to attach an iCal file with the date of a field</div></div><div>
|
387 |
<label for="addon-uploads-20160330" style="font-weight:bold;"><input type="checkbox" disabled id="addon-uploads-20160330" name="cfte_addons" value="addon-uploads-20160330" >Uploads</label> <div style="font-style:italic;padding-left:20px;">The add-on allows to add the uploaded files to the Media Library, and the support for new mime types</div></div><div>
|
388 |
-
<label for="addon-signature-20171025" style="font-weight:bold;"><input type="checkbox" disabled id="addon-signature-20171025" name="cfte_addons" value="addon-signature-20171025"
|
389 |
</fieldset>
|
390 |
|
391 |
|
385 |
<fieldset class="cpfieldset"><legend>Improvements</legend>
|
386 |
<div><label for="addon-cfficalattachment-20180730" style="font-weight:bold;"><input type="checkbox" disabled id="addon-cfficalattachment-20180730" name="cfte_addons" value="addon-cfficalattachment-20180730" >iCal Export Attached</label> <div style="font-style:italic;padding-left:20px;">The add-on allows to attach an iCal file with the date of a field</div></div><div>
|
387 |
<label for="addon-uploads-20160330" style="font-weight:bold;"><input type="checkbox" disabled id="addon-uploads-20160330" name="cfte_addons" value="addon-uploads-20160330" >Uploads</label> <div style="font-style:italic;padding-left:20px;">The add-on allows to add the uploaded files to the Media Library, and the support for new mime types</div></div><div>
|
388 |
+
<label for="addon-signature-20171025" style="font-weight:bold;"><input type="checkbox" disabled id="addon-signature-20171025" name="cfte_addons" value="addon-signature-20171025">Signature Fields</label> <div style="font-style:italic;padding-left:20px;">The add-on allows to replace form fields with "Signature" fields</div></div>
|
389 |
</fieldset>
|
390 |
|
391 |
|
cp-feedback.php
CHANGED
@@ -82,10 +82,13 @@ $( window ).load(function() {
|
|
82 |
'<h3><strong>If you have a moment, please let us know why you are deactivating:</strong></h3>'+
|
83 |
'<form id="cpfeedbackform">'+
|
84 |
|
85 |
-
'<div class="abcreasonblock"><input type="radio" name="abcm_reason" onclick="cpabc_update_reason(this);" value="no-work">
|
86 |
-
'<div id="abcm_nowork" style="margin-left:25px;display:none;padding:10px;border:1px dotted gray;color:#660000"><strong>We can help!</strong> We offer <strong>free support</strong> for this plugin
|
|
|
|
|
|
|
87 |
|
88 |
-
'<div class="abcreasonblock"><input type="radio" name="abcm_reason" onclick="cpabc_update_reason(this);" value="-"> I don\'t like to share
|
89 |
|
90 |
'<div class="abcreasonblock"><input type="radio" name="abcm_reason" onclick="cpabc_update_reason(this);" value="temporary-deactivation"> It\'s a temporary deactivation. I\'m just debugging an issue.<br /></div>'+
|
91 |
|
@@ -162,6 +165,7 @@ function cpabc_update_reason(field)
|
|
162 |
document.getElementById("abcm_other").style.display = 'none';
|
163 |
document.getElementById("abcm_otherplugin").style.display = 'none';
|
164 |
document.getElementById("abcm_nowork").style.display = 'none';
|
|
|
165 |
if (field.value == '-')
|
166 |
{
|
167 |
document.getElementById("abcdeactivatebtn").value = 'Skip & Deactivate';
|
@@ -172,8 +176,10 @@ function cpabc_update_reason(field)
|
|
172 |
document.getElementById("abcm_other").style.display = '';
|
173 |
else if (field.value == 'better-plugin')
|
174 |
document.getElementById("abcm_otherplugin").style.display = '';
|
175 |
-
else if (field.value == 'no-work')
|
176 |
-
document.getElementById("
|
|
|
|
|
177 |
}
|
178 |
|
179 |
</script> <?php
|
82 |
'<h3><strong>If you have a moment, please let us know why you are deactivating:</strong></h3>'+
|
83 |
'<form id="cpfeedbackform">'+
|
84 |
|
85 |
+
'<div class="abcreasonblock"><input type="radio" name="abcm_reason" onclick="cpabc_update_reason(this);" value="no-work-email-not-received"> Didn\'t work: Emails not received<br />'+
|
86 |
+
'<div id="abcm_nowork" style="margin-left:25px;display:none;padding:10px;border:1px dotted gray;color:#660000"><strong>We can help!</strong> We offer <strong>free support</strong> for this plugin with <strong>timely answers</strong> and <strong>solution for almost 100% of cases</strong>. <a href="https://form2email.dwbooster.com/contact-us?priority-support=yes"><strong>Send a message to support</strong></a> and we will be happy to help.</div></div>'+
|
87 |
+
|
88 |
+
'<div class="abcreasonblock"><input type="radio" name="abcm_reason" onclick="cpabc_update_reason(this);" value="no-work-form-not-displayed"> Didn\'t work: Form not displayed<br />'+
|
89 |
+
'<div id="abcm_nowork2" style="margin-left:25px;display:none;padding:10px;border:1px dotted gray;color:#660000"><strong>We can help!</strong> We offer <strong>free support</strong> for this plugin with <strong>timely answers</strong> and <strong>solution for almost 100% of cases</strong>. <a href="https://form2email.dwbooster.com/contact-us?priority-support=yes"><strong>Send a message to support</strong></a> and we will be happy to help.</div></div>'+
|
90 |
|
91 |
+
'<div class="abcreasonblock"><input type="radio" name="abcm_reason" onclick="cpabc_update_reason(this);" value="-"> I don\'t like to share this information with you<br /></div>'+
|
92 |
|
93 |
'<div class="abcreasonblock"><input type="radio" name="abcm_reason" onclick="cpabc_update_reason(this);" value="temporary-deactivation"> It\'s a temporary deactivation. I\'m just debugging an issue.<br /></div>'+
|
94 |
|
165 |
document.getElementById("abcm_other").style.display = 'none';
|
166 |
document.getElementById("abcm_otherplugin").style.display = 'none';
|
167 |
document.getElementById("abcm_nowork").style.display = 'none';
|
168 |
+
document.getElementById("abcm_nowork2").style.display = 'none';
|
169 |
if (field.value == '-')
|
170 |
{
|
171 |
document.getElementById("abcdeactivatebtn").value = 'Skip & Deactivate';
|
176 |
document.getElementById("abcm_other").style.display = '';
|
177 |
else if (field.value == 'better-plugin')
|
178 |
document.getElementById("abcm_otherplugin").style.display = '';
|
179 |
+
else if (field.value == 'no-work-form-not-displayed')
|
180 |
+
document.getElementById("abcm_nowork2").style.display = '';
|
181 |
+
else if (field.value == 'no-work-email-not-received')
|
182 |
+
document.getElementById("abcm_nowork").style.display = '';
|
183 |
}
|
184 |
|
185 |
</script> <?php
|
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.
|
7 |
Author: CodePeople
|
8 |
Author URI: https://form2email.dwbooster.com
|
9 |
Text Domain: contact-form-to-email
|
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.52
|
7 |
Author: CodePeople
|
8 |
Author URI: https://form2email.dwbooster.com
|
9 |
Text Domain: contact-form-to-email
|