Version Description
Download this release
Release Info
Developer | webdorado |
Plugin | Form Maker by WD – user-friendly drag & drop Form Builder plugin |
Version | 1.7.24 |
Comparing to | |
See all releases |
Code changes from version 1.7.23 to 1.7.24
- admin/models/FMModelGenerete_csv.php +3 -3
- admin/models/FMModelGenerete_xml.php +3 -3
- admin/views/FMViewManage_fm.php +10 -3
- css/form_maker_tables.css +5 -1
- form-maker.php +8 -1
- readme.txt +1 -1
admin/models/FMModelGenerete_csv.php
CHANGED
@@ -238,11 +238,11 @@ class FMModelGenerete_csv {
|
|
238 |
|
239 |
if($is_paypal)
|
240 |
{
|
241 |
-
$item_total = $wpdb->
|
242 |
|
243 |
-
$total = $wpdb->
|
244 |
|
245 |
-
$payment_status = $wpdb->
|
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.php
CHANGED
@@ -238,13 +238,13 @@ class FMModelGenerete_xml {
|
|
238 |
|
239 |
|
240 |
|
241 |
-
$item_total = $wpdb->
|
242 |
|
243 |
|
244 |
-
$total = $wpdb->
|
245 |
|
246 |
|
247 |
-
$payment_status = $wpdb->
|
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_fm.php
CHANGED
@@ -81,6 +81,7 @@ class FMViewManage_fm {
|
|
81 |
<span>Email to send submissions to</span><span class="sorting-indicator"></span></a>
|
82 |
</th>
|
83 |
<th class="table_big_col">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_fm {
|
|
113 |
<td class="table_big_col" style="padding-left: 0; padding-right: 0;">
|
114 |
<input type="text" value='[Form id="<?php echo $row_data->id; ?>"]' onclick="spider_select_value(this)" size="12" readonly="readonly" style="padding-left: 1px; padding-right: 1px;"/>
|
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_fm {
|
|
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
|
190 |
-
|
191 |
-
|
|
|
|
|
|
|
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">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;">
|
115 |
<input type="text" value='[Form id="<?php echo $row_data->id; ?>"]' onclick="spider_select_value(this)" size="12" readonly="readonly" style="padding-left: 1px; padding-right: 1px;"/>
|
116 |
</td>
|
117 |
+
<td class="table_large_col" style="padding-left: 0; padding-right: 0;">
|
118 |
+
<input type="text" value='<?php wd_form_maker(<?php echo $row_data->id; ?>); ?>' 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']?>];
|
css/form_maker_tables.css
CHANGED
@@ -228,7 +228,11 @@ div.wd_preview a {
|
|
228 |
|
229 |
.table_large_col {
|
230 |
text-align: center !important;
|
231 |
-
width:
|
|
|
|
|
|
|
|
|
232 |
}
|
233 |
|
234 |
.table_medium_col_uncenter {
|
228 |
|
229 |
.table_large_col {
|
230 |
text-align: center !important;
|
231 |
+
width: 200px;
|
232 |
+
}
|
233 |
+
|
234 |
+
.table_large_col input{
|
235 |
+
width: 180px;
|
236 |
}
|
237 |
|
238 |
.table_medium_col_uncenter {
|
form-maker.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Plugin Name: 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.
|
7 |
* Author: WebDorado
|
8 |
* Author URI: http://web-dorado.com/
|
9 |
* License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
|
@@ -166,6 +166,13 @@ function fm_shortcode($attrs) {
|
|
166 |
return $new_shortcode;
|
167 |
}
|
168 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
169 |
function Form_maker_fornt_end_main($content) {
|
170 |
global $form_maker_generate_action;
|
171 |
if ($form_maker_generate_action) {
|
3 |
* Plugin Name: 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
|
166 |
return $new_shortcode;
|
167 |
}
|
168 |
|
169 |
+
function wd_form_maker($id) {
|
170 |
+
require_once (WD_FM_DIR . '/frontend/controllers/FMControllerForm_maker.php');
|
171 |
+
$controller = new FMControllerForm_maker();
|
172 |
+
$form = $controller->execute($id);
|
173 |
+
echo $form;
|
174 |
+
}
|
175 |
+
|
176 |
function Form_maker_fornt_end_main($content) {
|
177 |
global $form_maker_generate_action;
|
178 |
if ($form_maker_generate_action) {
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: http://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
|
5 |
Requires at least: 3.0
|
6 |
Tested up to: 4.1
|
7 |
-
Stable tag: 1.7.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
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
|
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 |
|