Form Maker by WD – user-friendly drag & drop Form Builder plugin - Version 1.7.92

Version Description

Fixed: Bug in mailing

Download this release

Release Info

Developer webdorado
Plugin Icon 128x128 Form Maker by WD – user-friendly drag & drop Form Builder plugin
Version 1.7.92
Comparing to
See all releases

Code changes from version 1.7.91 to 1.7.92

admin/views/FMViewManage_fm.php CHANGED
@@ -3109,13 +3109,19 @@ class FMViewManage_fm {
3109
  for ($i = 0; $i < $fields_count - 1; $i++) {
3110
  ?>
3111
  <div>
3112
- <input type="radio" name="from_mail" id="from_mail<?php echo $i; ?>" value="<?php echo substr($fields[$i], strrpos($fields[$i], '*:*new_field*:*')+15, strlen($fields[$i])); ?>" <?php echo (substr($fields[$i], strrpos($fields[$i], '*:*new_field*:*')+15, strlen($fields[$i])) == $row->from_mail ? 'checked="checked"' : '' ); ?> onclick="wdhide('mail_from_other')" />
3113
  <label for="from_mail<?php echo $i; ?>"><?php echo substr($fields[$i + 1], 0, strpos($fields[$i + 1], '*:*w_field_label*:*')); ?></label>
3114
  </div>
3115
  <?php
3116
- if (substr($fields[$i], strrpos($fields[$i], '*:*new_field*:*') + 15, strlen($fields[$i])) == $row->from_mail) {
3117
- $is_other = FALSE;
3118
- }
 
 
 
 
 
 
3119
  }
3120
  ?>
3121
  <div style="<?php echo ($fields_count == 1) ? 'display:none;' : ''; ?>">
@@ -3172,13 +3178,19 @@ class FMViewManage_fm {
3172
  for ($i = 0; $i < $fields_count - 1; $i++) {
3173
  ?>
3174
  <div>
3175
- <input type="radio" name="reply_to" id="reply_to<?php echo $i; ?>" value="<?php echo substr($fields[$i], strrpos($fields[$i], '*:*new_field*:*') + 15, strlen($fields[$i])); ?>" <?php echo (substr($fields[$i], strrpos($fields[$i], '*:*new_field*:*') + 15, strlen($fields[$i])) == $row->reply_to ? 'checked="checked"' : ''); ?> onclick="wdhide('reply_to_other')" />
3176
  <label for="reply_to<?php echo $i; ?>"><?php echo substr($fields[$i + 1], 0, strpos($fields[$i + 1], '*:*w_field_label*:*')); ?></label>
3177
  </div>
3178
  <?php
3179
- if (substr($fields[$i], strrpos($fields[$i], '*:*new_field*:*') + 15, strlen($fields[$i])) == $row->reply_to) {
3180
- $is_other = FALSE;
3181
- }
 
 
 
 
 
 
3182
  }
3183
  ?>
3184
  <div style="<?php echo ($fields_count == 1) ? 'display: none;' : ''; ?>">
@@ -3335,7 +3347,7 @@ class FMViewManage_fm {
3335
  for ($i = 0; $i < $fields_count - 1; $i++) {
3336
  ?>
3337
  <div>
3338
- <input type="checkbox" name="send_to<?php echo $i; ?>" id="send_to<?php echo $i; ?>" value="<?php echo (strlen($fields[$i])!=1 ? substr($fields[$i], strrpos($fields[$i], '*:*new_field*:*')+15, strlen($fields[$i])) : $fields[$i]); ?>" <?php echo (is_numeric(strpos($row->send_to, '*'.(strlen($fields[$i])!=1 ? substr($fields[$i], strrpos($fields[$i], '*:*new_field*:*')+15, strlen($fields[$i])) : $fields[$i]).'*')) ? 'checked="checked"' : '' ); ?> style="margin: 0px 5px 0px 0px;" />
3339
  <label for="send_to<?php echo $i; ?>"><?php echo substr($fields[$i + 1], 0, strpos($fields[$i + 1], '*:*w_field_label*:*')); ?></label>
3340
  </div>
3341
  <?php
3109
  for ($i = 0; $i < $fields_count - 1; $i++) {
3110
  ?>
3111
  <div>
3112
+ <input type="radio" name="from_mail" id="from_mail<?php echo $i; ?>" value="<?php echo (strlen($fields[$i])!=1 ? substr($fields[$i], strrpos($fields[$i], '*:*new_field*:*')+15, strlen($fields[$i])) : $fields[$i]); ?>" <?php echo ((strlen($fields[$i])!=1 ? substr($fields[$i], strrpos($fields[$i], '*:*new_field*:*')+15, strlen($fields[$i])) : $fields[$i]) == $row->from_mail ? 'checked="checked"' : '' ); ?> onclick="wdhide('mail_from_other')" />
3113
  <label for="from_mail<?php echo $i; ?>"><?php echo substr($fields[$i + 1], 0, strpos($fields[$i + 1], '*:*w_field_label*:*')); ?></label>
3114
  </div>
3115
  <?php
3116
+ if(strlen($fields[$i])!=1) {
3117
+ if (substr($fields[$i], strrpos($fields[$i], '*:*new_field*:*') + 15, strlen($fields[$i])) == $row->from_mail) {
3118
+ $is_other = FALSE;
3119
+ }
3120
+ }
3121
+ else {
3122
+ if($fields[$i] == $row->from_mail)
3123
+ $is_other=false;
3124
+ }
3125
  }
3126
  ?>
3127
  <div style="<?php echo ($fields_count == 1) ? 'display:none;' : ''; ?>">
3178
  for ($i = 0; $i < $fields_count - 1; $i++) {
3179
  ?>
3180
  <div>
3181
+ <input type="radio" name="reply_to" id="reply_to<?php echo $i; ?>" value="<?php echo (strlen($fields[$i])!=1 ? substr($fields[$i], strrpos($fields[$i], '*:*new_field*:*')+15, strlen($fields[$i])) : $fields[$i]); ?>" <?php echo ((strlen($fields[$i])!=1 ? substr($fields[$i], strrpos($fields[$i], '*:*new_field*:*')+15, strlen($fields[$i])) : $fields[$i]) == $row->reply_to ? 'checked="checked"' : '' ); ?> onclick="wdhide('reply_to_other')" />
3182
  <label for="reply_to<?php echo $i; ?>"><?php echo substr($fields[$i + 1], 0, strpos($fields[$i + 1], '*:*w_field_label*:*')); ?></label>
3183
  </div>
3184
  <?php
3185
+ if(strlen($fields[$i])!=1) {
3186
+ if (substr($fields[$i], strrpos($fields[$i], '*:*new_field*:*') + 15, strlen($fields[$i])) == $row->reply_to) {
3187
+ $is_other = FALSE;
3188
+ }
3189
+ }
3190
+ else {
3191
+ if($fields[$i] == $row->reply_to)
3192
+ $is_other=false;
3193
+ }
3194
  }
3195
  ?>
3196
  <div style="<?php echo ($fields_count == 1) ? 'display: none;' : ''; ?>">
3347
  for ($i = 0; $i < $fields_count - 1; $i++) {
3348
  ?>
3349
  <div>
3350
+ <input type="checkbox" name="send_to<?php echo $i; ?>" id="send_to<?php echo $i; ?>" value="<?php echo (strlen($fields[$i])!=1 ? substr($fields[$i], strrpos($fields[$i], '*:*new_field*:*')+15, strlen($fields[$i])) : $fields[$i]); ?>" <?php echo (is_numeric(strpos($row->send_to, '*'.(strlen($fields[$i])!=1 ? substr($fields[$i], strrpos($fields[$i], '*:*new_field*:*')+15, strlen($fields[$i])) : $fields[$i]).'*')) ? 'checked="checked"' : '' ); ?> style="margin: 0px 5px 0px 0px;" />
3351
  <label for="send_to<?php echo $i; ?>"><?php echo substr($fields[$i + 1], 0, strpos($fields[$i + 1], '*:*w_field_label*:*')); ?></label>
3352
  </div>
3353
  <?php
form-maker.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: Form Maker
4
  * Plugin URI: https://web-dorado.com/products/form-maker-wordpress.html
5
  * Description: This plugin is a modern and advanced tool for easy and fast creating of a WordPress Form. The backend interface is intuitive and user friendly which allows users far from scripting and programming to create WordPress Forms.
6
- * Version: 1.7.91
7
  * Author: WebDorado
8
  * Author URI: https://web-dorado.com/
9
  * License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
@@ -269,7 +269,7 @@ function register_fmemailverification_cpt(){
269
  // Activate plugin.
270
  function form_maker_activate() {
271
  $version = get_option("wd_form_maker_version");
272
- $new_version = '1.7.91';
273
  global $wpdb;
274
  if (!$version) {
275
  add_option("wd_form_maker_version", $new_version, '', 'no');
3
  * Plugin Name: Form Maker
4
  * Plugin URI: https://web-dorado.com/products/form-maker-wordpress.html
5
  * Description: This plugin is a modern and advanced tool for easy and fast creating of a WordPress Form. The backend interface is intuitive and user friendly which allows users far from scripting and programming to create WordPress Forms.
6
+ * Version: 1.7.92
7
  * Author: WebDorado
8
  * Author URI: https://web-dorado.com/
9
  * License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
269
  // Activate plugin.
270
  function form_maker_activate() {
271
  $version = get_option("wd_form_maker_version");
272
+ $new_version = '1.7.92';
273
  global $wpdb;
274
  if (!$version) {
275
  add_option("wd_form_maker_version", $new_version, '', 'no');
frontend/models/FMModelForm_maker.php CHANGED
@@ -2191,7 +2191,7 @@ class FMModelForm_maker {
2191
  $from = '';
2192
  }
2193
 
2194
- $headers = "MIME-Version: 1.0\n" . $from . " Content-Type: " . $content_type . "; charset=\"" . get_option('blog_charset') . "\"\n";
2195
  if ($replyto) {
2196
  $headers .= "Reply-To: <" . $replyto . ">\r\n";
2197
  }
@@ -2325,7 +2325,7 @@ class FMModelForm_maker {
2325
  $from = "";
2326
  }
2327
 
2328
- $headers = "MIME-Version: 1.0\n" . $from . " Content-Type: " . $content_type . "; charset=\"" . get_option('blog_charset') . "\"\n";
2329
  if ($replyto) {
2330
  $headers .= "Reply-To: <" . $replyto . ">\r\n";
2331
  }
@@ -2758,7 +2758,7 @@ class FMModelForm_maker {
2758
  else {
2759
  $from_mail = '';
2760
  }
2761
- $headers = "MIME-Version: 1.0\n" . $from_mail . " Content-Type: text/html; charset=\"" . get_option('blog_charset') . "\"\n";
2762
  for ($k = 0; $k < count($all_files); $k++) {
2763
  // $attachment[$k] = dirname(__FILE__) . '/uploads/' . $all_files[$k]['name'];
2764
  $attachment[$k]= $all_files[$k]['name'];
@@ -3203,7 +3203,7 @@ class FMModelForm_maker {
3203
  if ($row->mail) {
3204
  if ($c) {
3205
  // $headers_form_mail = "From: " . $c . " <" . $c . ">" . "\r\n";
3206
- $headers = "MIME-Version: 1.0\n" . "From: '" . $c . "' <" . $c . ">" . "\r\n" . "Content-Type: text/html; charset=\"" . get_option('blog_charset') . "\"\n";
3207
  }
3208
  // else {
3209
  // $headers_form_mail = "";
2191
  $from = '';
2192
  }
2193
 
2194
+ $headers = $from . " Content-Type: " . $content_type . "; charset=\"" . get_option('blog_charset') . "\"\n";
2195
  if ($replyto) {
2196
  $headers .= "Reply-To: <" . $replyto . ">\r\n";
2197
  }
2325
  $from = "";
2326
  }
2327
 
2328
+ $headers = $from . " Content-Type: " . $content_type . "; charset=\"" . get_option('blog_charset') . "\"\n";
2329
  if ($replyto) {
2330
  $headers .= "Reply-To: <" . $replyto . ">\r\n";
2331
  }
2758
  else {
2759
  $from_mail = '';
2760
  }
2761
+ $headers =$from_mail . " Content-Type: text/html; charset=\"" . get_option('blog_charset') . "\"\n";
2762
  for ($k = 0; $k < count($all_files); $k++) {
2763
  // $attachment[$k] = dirname(__FILE__) . '/uploads/' . $all_files[$k]['name'];
2764
  $attachment[$k]= $all_files[$k]['name'];
3203
  if ($row->mail) {
3204
  if ($c) {
3205
  // $headers_form_mail = "From: " . $c . " <" . $c . ">" . "\r\n";
3206
+ $headers = "From: '" . $c . "' <" . $c . ">" . "\r\n" . "Content-Type: text/html; charset=\"" . get_option('blog_charset') . "\"\n";
3207
  }
3208
  // else {
3209
  // $headers_form_mail = "";
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://web-dorado.com/products/wordpress-form.html
4
  Tags: form, forms, form builder, form maker, form manager, form plugin, form with recaptcha, forms plugin, multiple forms, paypal form, survey form, feedback form, feedback forms, contact form,contact form plugin, contact form builder, form creator, email form, secure form, web form, form to email, contact forms, custom forms, form widget, captcha form, wordpress contact form ,recaptcha contact form, form creation, contact form with auto reply, widget contact form, builder, feedback, contacts form plugin , custom contact form, contact us form, formular, formulario, admin, captcha, contact, database, email, javascript, jquery, page, plugin, survey, widget, custom form, forms creator, input, validation, send copy, form with captcha , pdf
5
  Requires at least: 3.4
6
  Tested up to: 4.3
7
- Stable tag: 1.7.91
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -299,16 +299,19 @@ The Form Maker (Pro version) has simple PayPal integration. This allows the user
299
 
300
  == Changelog ==
301
 
 
 
 
302
  = 1.7.91 =
303
- Changed: Themes
304
- Fixed: Bug in block ip
305
 
306
  = 1.7.90 =
307
- Fixed: Bug in CSV/XML export
308
 
309
  = 1.7.89 =
310
- Fixed: Conflict with some plugins
311
- Changed: Styles
312
 
313
  = 1.7.88 =
314
  New: Doublescroll in submissions page
4
  Tags: form, forms, form builder, form maker, form manager, form plugin, form with recaptcha, forms plugin, multiple forms, paypal form, survey form, feedback form, feedback forms, contact form,contact form plugin, contact form builder, form creator, email form, secure form, web form, form to email, contact forms, custom forms, form widget, captcha form, wordpress contact form ,recaptcha contact form, form creation, contact form with auto reply, widget contact form, builder, feedback, contacts form plugin , custom contact form, contact us form, formular, formulario, admin, captcha, contact, database, email, javascript, jquery, page, plugin, survey, widget, custom form, forms creator, input, validation, send copy, form with captcha , pdf
5
  Requires at least: 3.4
6
  Tested up to: 4.3
7
+ Stable tag: 1.7.92
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
299
 
300
  == Changelog ==
301
 
302
+ = 1.7.92 =
303
+ Fixed: Bug in mailing
304
+
305
  = 1.7.91 =
306
+ Changed: Themes
307
+ Fixed: Bug in block ip
308
 
309
  = 1.7.90 =
310
+ Fixed: Bug in CSV/XML export
311
 
312
  = 1.7.89 =
313
+ Fixed: Conflict with some plugins
314
+ Changed: Styles
315
 
316
  = 1.7.88 =
317
  New: Doublescroll in submissions page
tmp-form-maker-readme.pot CHANGED
@@ -655,6 +655,12 @@ msgstr ""
655
  msgid "Conversion Rate of a form: The percentage of submitted forms to the overall number of views. "
656
  msgstr ""
657
 
 
 
 
 
 
 
658
  #. Found in changelog paragraph.
659
  msgid "Fixed: Bug in CSV/XML export"
660
  msgstr ""
655
  msgid "Conversion Rate of a form: The percentage of submitted forms to the overall number of views. "
656
  msgstr ""
657
 
658
+ #. Found in changelog paragraph.
659
+ msgid ""
660
+ "Changed: Themes<br />\n"
661
+ "Fixed: Bug in block ip"
662
+ msgstr ""
663
+
664
  #. Found in changelog paragraph.
665
  msgid "Fixed: Bug in CSV/XML export"
666
  msgstr ""