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

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.24
Comparing to
See all releases

Code changes from version 1.7.23 to 1.7.24

admin/models/FMModelGenerete_csv_fmc.php CHANGED
@@ -238,11 +238,11 @@ class FMModelGenerete_csv_fmc {
238
 
239
  if($is_paypal)
240
  {
241
- $item_total = $wpdb->get_results($wpdb->prepare("SELECT `element_value` FROM " . $wpdb->prefix . "formmaker_submits where group_id=%d AND element_label=%s",$i,'item_total'));
242
 
243
- $total = $wpdb->get_results($wpdb->prepare("SELECT `element_value` FROM " . $wpdb->prefix . "formmaker_submits where group_id=%d AND element_label=%s",$i,'total'));
244
 
245
- $payment_status = $wpdb->get_results($wpdb->prepare("SELECT `element_value` FROM " . $wpdb->prefix . "formmaker_submits where group_id=%d AND element_label=%s",$i,'0'));
246
 
247
  $data_temp['Item Total'] = $item_total;
248
  $data_temp['Total'] = $total;
238
 
239
  if($is_paypal)
240
  {
241
+ $item_total = $wpdb->get_var($wpdb->prepare("SELECT `element_value` FROM " . $wpdb->prefix . "formmaker_submits where group_id=%d AND element_label=%s",$i,'item_total'));
242
 
243
+ $total = $wpdb->get_var($wpdb->prepare("SELECT `element_value` FROM " . $wpdb->prefix . "formmaker_submits where group_id=%d AND element_label=%s",$i,'total'));
244
 
245
+ $payment_status = $wpdb->get_var($wpdb->prepare("SELECT `element_value` FROM " . $wpdb->prefix . "formmaker_submits where group_id=%d AND element_label=%s",$i,'0'));
246
 
247
  $data_temp['Item Total'] = $item_total;
248
  $data_temp['Total'] = $total;
admin/models/FMModelGenerete_xml_fmc.php CHANGED
@@ -238,13 +238,13 @@ class FMModelGenerete_xml_fmc {
238
 
239
 
240
 
241
- $item_total = $wpdb->get_results($wpdb->prepare("SELECT `element_value` FROM " . $wpdb->prefix . "formmaker_submits where group_id=%d AND element_label=%s",$i,'item_total'));
242
 
243
 
244
- $total = $wpdb->get_results($wpdb->prepare("SELECT `element_value` FROM " . $wpdb->prefix . "formmaker_submits where group_id=%d AND element_label=%s",$i,'total'));
245
 
246
 
247
- $payment_status = $wpdb->get_results($wpdb->prepare("SELECT `element_value` FROM " . $wpdb->prefix . "formmaker_submits where group_id=%d AND element_label=%s",$i,'0'));
248
 
249
 
250
  if($item_total)
238
 
239
 
240
 
241
+ $item_total = $wpdb->get_var($wpdb->prepare("SELECT `element_value` FROM " . $wpdb->prefix . "formmaker_submits where group_id=%d AND element_label=%s",$i,'item_total'));
242
 
243
 
244
+ $total = $wpdb->get_var($wpdb->prepare("SELECT `element_value` FROM " . $wpdb->prefix . "formmaker_submits where group_id=%d AND element_label=%s",$i,'total'));
245
 
246
 
247
+ $payment_status = $wpdb->get_var($wpdb->prepare("SELECT `element_value` FROM " . $wpdb->prefix . "formmaker_submits where group_id=%d AND element_label=%s",$i,'0'));
248
 
249
 
250
  if($item_total)
admin/views/FMViewManage_fmc.php CHANGED
@@ -81,6 +81,7 @@ class FMViewManage_fmc {
81
  <span>Email to send submissions to</span><span class="sorting-indicator"></span></a>
82
  </th>
83
  <th class="table_big_col" style="width: 140px;">Shortcode</th>
 
84
  <th class="table_big_col">Edit</th>
85
  <th class="table_big_col"><a title="Delete selected items" href="" onclick="if (confirm('Do you want to delete selected items?')) {
86
  spider_set_input_value('task', 'delete_all');
@@ -113,6 +114,9 @@ class FMViewManage_fmc {
113
  <td class="table_big_col" style="padding-left: 0; padding-right: 0; width: 140px;">
114
  <input type="text" value='[wd_contact_form id="<?php echo $row_data->id; ?>"]' onclick="spider_select_value(this)" size="12" readonly="readonly" style="padding-left: 1px; padding-right: 1px;width: 139px;"/>
115
  </td>
 
 
 
116
  <td class="table_big_col">
117
  <a onclick="spider_set_input_value('task', 'edit<?php echo $old; ?>');
118
  spider_set_input_value('current_id', '<?php echo $row_data->id; ?>');
@@ -186,9 +190,12 @@ class FMViewManage_fmc {
186
  document.getElementById('take').style.display = "none";
187
  document.getElementById('page_bar').style.display = "none";
188
  document.getElementById('saving').style.display = "block";
189
- jQuery('.wdform_section .wdform_column').each(function() {
190
- if(!jQuery(this).html())
191
- jQuery(this).remove();
 
 
 
192
  });
193
  remove_whitespace(document.getElementById('take'));
194
  l_id_array = [<?php echo $labels['id']?>];
81
  <span>Email to send submissions to</span><span class="sorting-indicator"></span></a>
82
  </th>
83
  <th class="table_big_col" style="width: 140px;">Shortcode</th>
84
+ <th class="table_large_col">PHP function</th>
85
  <th class="table_big_col">Edit</th>
86
  <th class="table_big_col"><a title="Delete selected items" href="" onclick="if (confirm('Do you want to delete selected items?')) {
87
  spider_set_input_value('task', 'delete_all');
114
  <td class="table_big_col" style="padding-left: 0; padding-right: 0; width: 140px;">
115
  <input type="text" value='[wd_contact_form id="<?php echo $row_data->id; ?>"]' onclick="spider_select_value(this)" size="12" readonly="readonly" style="padding-left: 1px; padding-right: 1px;width: 139px;"/>
116
  </td>
117
+ <td class="table_large_col" style="padding-left: 0; padding-right: 0;">
118
+ <input type="text" value='&#60;?php wd_contact_form_maker(<?php echo $row_data->id; ?>); ?&#62;' onclick="spider_select_value(this)" readonly="readonly" style="padding-left: 1px; padding-right: 1px;"/>
119
+ </td>
120
  <td class="table_big_col">
121
  <a onclick="spider_set_input_value('task', 'edit<?php echo $old; ?>');
122
  spider_set_input_value('current_id', '<?php echo $row_data->id; ?>');
190
  document.getElementById('take').style.display = "none";
191
  document.getElementById('page_bar').style.display = "none";
192
  document.getElementById('saving').style.display = "block";
193
+ jQuery('.wdform_section').each(function() {
194
+ var this2 = this;
195
+ jQuery(this2).find('.wdform_column').each(function() {
196
+ if(!jQuery(this).html() && jQuery(this2).children().length>1)
197
+ jQuery(this).remove();
198
+ });
199
  });
200
  remove_whitespace(document.getElementById('take'));
201
  l_id_array = [<?php echo $labels['id']?>];
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.23
7
  * Author: WebDorado
8
  * Author URI: http://web-dorado.com/
9
  * License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
@@ -152,6 +152,13 @@ function contact_fm_shortcode($attrs) {
152
  return $new_shortcode;
153
  }
154
 
 
 
 
 
 
 
 
155
  function Contact_Form_maker_fornt_end_main($content) {
156
  global $contact_form_maker_generate_action;
157
  if (!get_option('form_maker_pro_active', FALSE)) {
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.24
7
  * Author: WebDorado
8
  * Author URI: http://web-dorado.com/
9
  * License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
152
  return $new_shortcode;
153
  }
154
 
155
+ function wd_contact_form_maker($id) {
156
+ require_once (WD_FMC_DIR . '/frontend/controllers/FMControllerForm_maker_fmc.php');
157
+ $controller = new FMControllerForm_maker_fmc();
158
+ $form = $controller->execute($id);
159
+ echo $form;
160
+ }
161
+
162
  function Contact_Form_maker_fornt_end_main($content) {
163
  global $contact_form_maker_generate_action;
164
  if (!get_option('form_maker_pro_active', FALSE)) {
css/form_maker_tables.css CHANGED
@@ -237,7 +237,11 @@ div.wd_preview a {
237
 
238
  .table_large_col {
239
  text-align: center !important;
240
- width: 140px;
 
 
 
 
241
  }
242
 
243
  .table_medium_col_uncenter {
237
 
238
  .table_large_col {
239
  text-align: center !important;
240
+ width: 200px;
241
+ }
242
+
243
+ .table_large_col input{
244
+ width: 180px;
245
  }
246
 
247
  .table_medium_col_uncenter {
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://web-dorado.com/products/wordpress-contact-form-maker-plugin.
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
5
  Requires at least: 3.0
6
  Tested up to: 4.1
7
- Stable tag: 1.7.23
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
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
5
  Requires at least: 3.0
6
  Tested up to: 4.1
7
+ Stable tag: 1.7.24
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10