Contact Form Email - Version 1.2.90

Version Description

  • Code improvements
Download this release

Release Info

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

Code changes from version 1.2.89 to 1.2.90

README.txt CHANGED
@@ -456,6 +456,9 @@ When you click a field already added into the contact form builder area, you can
456
 
457
  == Changelog ==
458
 
 
 
 
459
  = 1.2.89 =
460
  * Update for compatibility with WordPress 5.2
461
 
@@ -1027,5 +1030,5 @@ When you click a field already added into the contact form builder area, you can
1027
 
1028
  == Upgrade Notice ==
1029
 
1030
- = 1.2.89 =
1031
- * Update for compatibility with WordPress 5.2
456
 
457
  == Changelog ==
458
 
459
+ = 1.2.90 =
460
+ * Code improvements
461
+
462
  = 1.2.89 =
463
  * Update for compatibility with WordPress 5.2
464
 
1030
 
1031
  == Upgrade Notice ==
1032
 
1033
+ = 1.2.90 =
1034
+ * Code improvements
cp-admin-int-message-list.inc.php CHANGED
@@ -106,7 +106,7 @@ $nonce = wp_create_nonce( 'cfte_message_actions_plist' );
106
  <script type="text/javascript">
107
  function cp_editItem(id)
108
  {
109
- document.location = 'admin.php?page=<?php echo $this->menu_parameter; ?>&cal=<?php echo $_GET["cal"]; ?>&edititem='+id+'&r='+Math.random( );
110
  }
111
  function cp_deleteMessageItem(id)
112
  {
106
  <script type="text/javascript">
107
  function cp_editItem(id)
108
  {
109
+ document.location = 'admin.php?page=<?php echo $this->menu_parameter; ?>&cal=<?php echo intval($_GET["cal"]); ?>&edititem='+id+'&r='+Math.random( );
110
  }
111
  function cp_deleteMessageItem(id)
112
  {
cp-admin-int.inc.php CHANGED
@@ -125,7 +125,7 @@ if ( 'POST' == $_SERVER['REQUEST_METHOD'] && isset( $_POST[$this->prefix.'_post_
125
  <div style="border:1px dotted black;padding:5px 15px 5px 15px;font-size:75%;background-color:#ffffcc">
126
  <p><strong><u>Important note:</u></strong>
127
  It is <strong>strongly recommended to use a "from" email address that belongs to the website domain name</strong>, for example if your website is
128
- <em>http://<?php echo $_SERVER["HTTP_HOST"]; ?></em> then use an email address like <em>admin@<?php echo str_replace('www.','',$_SERVER["HTTP_HOST"]); ?></em>, this will help to skip a lot of anti-spam restrictions.
129
  Avoid using emails like "<em>...@gmail.com</em>", "<em>...@hotmail.com</em>", "<em>...@aol.com</em>" as "from" addresses since these are identified as originated
130
  at external servers and reach to the spam folder or are completely blocked. This isn't a mandatory requirement but it is strongly recommended.</p>
131
  </div>
125
  <div style="border:1px dotted black;padding:5px 15px 5px 15px;font-size:75%;background-color:#ffffcc">
126
  <p><strong><u>Important note:</u></strong>
127
  It is <strong>strongly recommended to use a "from" email address that belongs to the website domain name</strong>, for example if your website is
128
+ <em>http://<?php echo html_entities($_SERVER["HTTP_HOST"]); ?></em> then use an email address like <em>admin@<?php echo str_replace('www.','',$_SERVER["HTTP_HOST"]); ?></em>, this will help to skip a lot of anti-spam restrictions.
129
  Avoid using emails like "<em>...@gmail.com</em>", "<em>...@hotmail.com</em>", "<em>...@aol.com</em>" as "from" addresses since these are identified as originated
130
  at external servers and reach to the spam folder or are completely blocked. This isn't a mandatory requirement but it is strongly recommended.</p>
131
  </div>
cp-main-class.inc.php CHANGED
@@ -1025,8 +1025,10 @@ class CP_ContactFormToEmail extends CP_CFTEMAIL_BaseClass {
1025
  $this->add_field_verify($wpdb->prefix.$this->table_items,'vs_text_nextbtn'," varchar(250) NOT NULL default ''");
1026
 
1027
  $this->add_field_verify($wpdb->prefix.$this->table_items, "onsubmitaction", "VARCHAR(10)");
1028
- $this->add_field_verify($wpdb->prefix.$this->table_items, "fp_return_message", "text");
1029
  $this->add_field_verify($wpdb->prefix.$this->table_items, "fp_enableemail", "VARCHAR(10)");
 
 
1030
 
1031
  $wpdb->update ( $wpdb->prefix.$this->table_items,
1032
  array(
1025
  $this->add_field_verify($wpdb->prefix.$this->table_items,'vs_text_nextbtn'," varchar(250) NOT NULL default ''");
1026
 
1027
  $this->add_field_verify($wpdb->prefix.$this->table_items, "onsubmitaction", "VARCHAR(10)");
1028
+ $this->add_field_verify($wpdb->prefix.$this->table_items, "fp_return_message", "text");
1029
  $this->add_field_verify($wpdb->prefix.$this->table_items, "fp_enableemail", "VARCHAR(10)");
1030
+
1031
+ $this->add_field_verify($wpdb->prefix.$this->table_items, "fp_emailfrommethod", "text");
1032
 
1033
  $wpdb->update ( $wpdb->prefix.$this->table_items,
1034
  array(
cp-publish-wizzard.inc.php CHANGED
@@ -53,7 +53,7 @@ if ($this->get_param('cp_contactformtoemail_do_action_loaded') == 'wizard') {
53
  <div style="clear:both"></div>
54
  <!--<p class="cpmvcontainer">* Note: If the form was published in a new page or post it will be a 'draft', you have to publish the page/post in the future if needed.</p>--><br />
55
  <div style="clear:both"></div>
56
- <button class="button button-primary cpmvcontainer" type="button" id="nextBtn" onclick="window.open('?page=<?php echo $this->prefix; ?>&cal=<?php echo $this->get_param("cp_contactformtoemail_id"); ?>');">Edit the contact form settings</button>
57
  <div style="clear:both"></div>
58
  </div>
59
  </div>
53
  <div style="clear:both"></div>
54
  <!--<p class="cpmvcontainer">* Note: If the form was published in a new page or post it will be a 'draft', you have to publish the page/post in the future if needed.</p>--><br />
55
  <div style="clear:both"></div>
56
+ <button class="button button-primary cpmvcontainer" type="button" id="nextBtn" onclick="window.open('?page=<?php echo $this->prefix; ?>&cal=<?php echo intval($this->get_param("cp_contactformtoemail_id")); ?>');">Edit the contact form settings</button>
57
  <div style="clear:both"></div>
58
  </div>
59
  </div>
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.89
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.90
7
  Author: CodePeople
8
  Author URI: https://form2email.dwbooster.com
9
  Text Domain: contact-form-to-email