Contact Form by WD – responsive drag & drop contact form builder tool - Version 1.7.30

Version Description

Download this release

Release Info

Developer webdorado
Plugin Icon 128x128 Contact Form by WD – responsive drag & drop contact form builder tool
Version 1.7.30
Comparing to
See all releases

Code changes from version 1.7.29 to 1.7.30

admin/views/FMViewFormMakerEditCSS_fmc.php CHANGED
@@ -40,7 +40,7 @@ class FMViewFormMakerEditCSS_fmc {
40
  <script src="<?php echo WD_FMC_URL . '/js/layout/htmlmixed.js'; ?>" type="text/javascript"></script>
41
  <script src="<?php echo WD_FMC_URL . '/js/layout/xml.js'; ?>" type="text/javascript"></script>
42
  <script src="<?php echo WD_FMC_URL . '/js/layout/php.js'; ?>" type="text/javascript"></script>
43
- <link media="all" type="text/css" href="<?php echo WD_FM_URL . '/css/codemirror.css'; ?>" rel="stylesheet">
44
 
45
  <style>
46
  .CodeMirror {
40
  <script src="<?php echo WD_FMC_URL . '/js/layout/htmlmixed.js'; ?>" type="text/javascript"></script>
41
  <script src="<?php echo WD_FMC_URL . '/js/layout/xml.js'; ?>" type="text/javascript"></script>
42
  <script src="<?php echo WD_FMC_URL . '/js/layout/php.js'; ?>" type="text/javascript"></script>
43
+ <link media="all" type="text/css" href="<?php echo WD_FMC_URL . '/css/codemirror.css'; ?>" rel="stylesheet">
44
 
45
  <style>
46
  .CodeMirror {
contact-form-maker.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: Contact Form Maker
4
  * Plugin URI: http://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.29
7
  * Author: WebDorado
8
  * Author URI: http://web-dorado.com/
9
  * License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
3
  * Plugin Name: Contact Form Maker
4
  * Plugin URI: http://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.30
7
  * Author: WebDorado
8
  * Author URI: http://web-dorado.com/
9
  * License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
frontend/views/FMViewForm_maker_fmc.php CHANGED
@@ -23,6 +23,10 @@ class FMViewForm_maker_fmc {
23
  // Public Methods //
24
  ////////////////////////////////////////////////////////////////////////////////////////
25
  public function display($id) {
 
 
 
 
26
  $form_maker_front_end = "";
27
  $result = $this->model->showform($id);
28
  if (!$result) {
@@ -121,7 +125,7 @@ class FMViewForm_maker_fmc {
121
  $form_currency = $currency_sign[array_search($row->payment_currency, $currency_code)];
122
  }
123
  $form_paypal_tax = $row->tax;
124
- $form_maker_front_end .= '<form name="form' . $id . '" action="' . $_SERVER['REQUEST_URI'] . '" method="post" id="form' . $id . '" class="form' . $id . '" enctype="multipart/form-data" onsubmit="check_required(\'submit\', \'' . $id . '\'); return false;">
125
  <div id="' . $id . 'pages" class="wdform_page_navigation" show_title="' . $row->show_title . '" show_numbers="' . $row->show_numbers . '" type="' . $row->pagination . '"></div>
126
  <input type="hidden" id="counter' . $id . '" value="' . $row->counter . '" name="counter' . $id . '" />
127
  <input type="hidden" id="Itemid' . $id . '" value="" name="Itemid' . $id . '" />';
@@ -3226,7 +3230,7 @@ class FMViewForm_maker_fmc {
3226
  if (window.before_reset) {
3227
  before_reset();
3228
  }
3229
- window.location = "<?php echo $_SERVER['REQUEST_URI'] ?>";
3230
  return;
3231
  }
3232
  if (window.before_submit) {
@@ -3346,7 +3350,7 @@ class FMViewForm_maker_fmc {
3346
  $form_maker_front_end .= 'WDF_GRADING_TEXT = \'' . addslashes(__("Your score should be less than", 'form_maker')) . '\';';
3347
  $form_maker_front_end .= 'WDF_INVALID_GRADING_' . $id . ' = \'' . addslashes(sprintf(__("Your score should be less than", 'form_maker'), '`grading_label`', '`grading_total`')) . '\';';
3348
  $form_maker_front_end .= 'WDF_INVALID_EMAIL = \'' . addslashes(__("This is not a valid email address.", 'form_maker')) . '\';';
3349
- $form_maker_front_end .= 'REQUEST_URI_' . $id . ' = "' . $_SERVER['REQUEST_URI'] . '";';
3350
  $form_maker_front_end .= 'ReqFieldMsg_' . $id . ' =\'`FIELDNAME` ' . addslashes(__('field is required.', 'form_maker')) . '\';';
3351
  $form_maker_front_end .= 'RangeFieldMsg_' . $id . ' =\'' . addslashes(__('The', 'form_maker')) . ' `FIELDNAME` ' . addslashes(__('value must be between', 'form_maker')) . ' `FROM` - `TO`\';';
3352
  $form_maker_front_end .= 'FormCurrency_' . $id . ' = "' . $form_currency . '";';
23
  // Public Methods //
24
  ////////////////////////////////////////////////////////////////////////////////////////
25
  public function display($id) {
26
+
27
+
28
+ $current_url=htmlentities($_SERVER['REQUEST_URI']);
29
+
30
  $form_maker_front_end = "";
31
  $result = $this->model->showform($id);
32
  if (!$result) {
125
  $form_currency = $currency_sign[array_search($row->payment_currency, $currency_code)];
126
  }
127
  $form_paypal_tax = $row->tax;
128
+ $form_maker_front_end .= '<form name="form' . $id . '" action="' . $current_url . '" method="post" id="form' . $id . '" class="form' . $id . '" enctype="multipart/form-data" onsubmit="check_required(\'submit\', \'' . $id . '\'); return false;">
129
  <div id="' . $id . 'pages" class="wdform_page_navigation" show_title="' . $row->show_title . '" show_numbers="' . $row->show_numbers . '" type="' . $row->pagination . '"></div>
130
  <input type="hidden" id="counter' . $id . '" value="' . $row->counter . '" name="counter' . $id . '" />
131
  <input type="hidden" id="Itemid' . $id . '" value="" name="Itemid' . $id . '" />';
3230
  if (window.before_reset) {
3231
  before_reset();
3232
  }
3233
+ window.location = "<?php echo $current_url ?>";
3234
  return;
3235
  }
3236
  if (window.before_submit) {
3350
  $form_maker_front_end .= 'WDF_GRADING_TEXT = \'' . addslashes(__("Your score should be less than", 'form_maker')) . '\';';
3351
  $form_maker_front_end .= 'WDF_INVALID_GRADING_' . $id . ' = \'' . addslashes(sprintf(__("Your score should be less than", 'form_maker'), '`grading_label`', '`grading_total`')) . '\';';
3352
  $form_maker_front_end .= 'WDF_INVALID_EMAIL = \'' . addslashes(__("This is not a valid email address.", 'form_maker')) . '\';';
3353
+ $form_maker_front_end .= 'REQUEST_URI_' . $id . ' = "' . $current_url . '";';
3354
  $form_maker_front_end .= 'ReqFieldMsg_' . $id . ' =\'`FIELDNAME` ' . addslashes(__('field is required.', 'form_maker')) . '\';';
3355
  $form_maker_front_end .= 'RangeFieldMsg_' . $id . ' =\'' . addslashes(__('The', 'form_maker')) . ' `FIELDNAME` ' . addslashes(__('value must be between', 'form_maker')) . ' `FROM` - `TO`\';';
3356
  $form_maker_front_end .= 'FormCurrency_' . $id . ' = "' . $form_currency . '";';
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: webdorado
3
  Donate link: http://web-dorado.com/products/wordpress-contact-form-maker-plugin.html
4
  Tags: form, forms, contact form, contact forms, contact form plugin,contact forms plugin, forms plugin, Contact Form Builder, contact form manager, multiple contac forms, custom form, Contact form maker with recaptcha, contact form with google map, feedback form, feedback forms, contact us, admin, captcha, contact, database, email, javascript, jquery, page, plugin, survey, widget, custom form, forms creator, input, validation, send copy
5
  Requires at least: 3.4
6
- Tested up to: 4.1
7
- Stable tag: 1.7.29
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
3
  Donate link: http://web-dorado.com/products/wordpress-contact-form-maker-plugin.html
4
  Tags: form, forms, contact form, contact forms, contact form plugin,contact forms plugin, forms plugin, Contact Form Builder, contact form manager, multiple contac forms, custom form, Contact form maker with recaptcha, contact form with google map, feedback form, feedback forms, contact us, admin, captcha, contact, database, email, javascript, jquery, page, plugin, survey, widget, custom form, forms creator, input, validation, send copy
5
  Requires at least: 3.4
6
+ Tested up to: 4.2
7
+ Stable tag: 1.7.30
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10