Version Description
Fixed: Bug on arithmetic captcha
Download this release
Release Info
Developer | webdorado |
Plugin | Form Maker by WD – user-friendly drag & drop Form Builder plugin |
Version | 1.10.10 |
Comparing to | |
See all releases |
Code changes from version 1.10.9 to 1.10.10
- admin/models/FMModelManage_fm.php +1 -1
- form-maker.php +3 -3
- frontend/views/FMViewForm_maker.php +1 -1
- readme.txt +8 -5
admin/models/FMModelManage_fm.php
CHANGED
@@ -1470,7 +1470,7 @@ class FMModelManage_fm {
|
|
1470 |
$param['w_operations'] = $param['w_operations'] ? $param['w_operations'] : '+, -, *, /';
|
1471 |
$param['w_input_size'] = $param['w_input_size'] ? $param['w_input_size'] : 60;
|
1472 |
|
1473 |
-
$rep ='<div id="wdform_field'.$id.'" type="type_arithmetic_captcha" class="wdform_field" style="display: table-cell;">'.$arrows.'<div align="left" id="'.$id.'_label_sectionform_id_temp" class="'.$param['w_class'].'" style="display:'.$param['w_field_label_pos'].'; width: '.$param['w_field_label_size'].'px;"><span id="'.$id.'_element_labelform_id_temp" class="label" style="vertical-align: top;">'.$label.'</span></div><div align="left" id="'.$id.'_element_sectionform_id_temp" class="'.$param['w_class'].'" style="display: '.$param['w_field_label_pos'].';"><input type="hidden" value="type_captcha" name="'.$id.'_typeform_id_temp" id="'.$id.'_typeform_id_temp"><div style="display: table;"><div style="display: table-row;"><div style="display: table-cell;"><img type="captcha" operations_count="'.$param['w_count'].'" operations="'.$param['w_operations'].'" input_size="'.$param['w_input_size'].'" src="' . add_query_arg(array('action' => 'formmakerwdmathcaptcha', 'operations_count' => $param['w_count'], 'operations' => $param['w_operations'], 'i' => 'form_id_temp'), admin_url('admin-ajax.php')) . '" id="_wd_arithmetic_captchaform_id_temp" class="arithmetic_captcha_img" onclick="captcha_refresh("_wd_arithmetic_captcha","form_id_temp")" '.$param['attributes'].'></div><div style="display: table-cell;"><input type="text" class="arithmetic_captcha_input" id="_wd_arithmetic_captcha_inputform_id_temp" name="arithmetic_captcha_input" onkeypress="return check_isnum(event)" style="width: '.$param['w_input_size'].'px;" '.$param['attributes'].' disabled/></div><div style="display: table-cell; vertical-align: middle;"><div class="captcha_refresh" id="_element_refreshform_id_temp" onclick="captcha_refresh("_wd_arithmetic_captcha","form_id_temp")" '.$param['attributes'].'></div></div></div></div></div></div>';
|
1474 |
|
1475 |
break;
|
1476 |
}
|
1470 |
$param['w_operations'] = $param['w_operations'] ? $param['w_operations'] : '+, -, *, /';
|
1471 |
$param['w_input_size'] = $param['w_input_size'] ? $param['w_input_size'] : 60;
|
1472 |
|
1473 |
+
$rep ='<div id="wdform_field'.$id.'" type="type_arithmetic_captcha" class="wdform_field" style="display: table-cell;">'.$arrows.'<div align="left" id="'.$id.'_label_sectionform_id_temp" class="'.$param['w_class'].'" style="display:'.$param['w_field_label_pos'].'; width: '.$param['w_field_label_size'].'px;"><span id="'.$id.'_element_labelform_id_temp" class="label" style="vertical-align: top;">'.$label.'</span></div><div align="left" id="'.$id.'_element_sectionform_id_temp" class="'.$param['w_class'].'" style="display: '.$param['w_field_label_pos'].';"><input type="hidden" value="type_captcha" name="'.$id.'_typeform_id_temp" id="'.$id.'_typeform_id_temp"><div style="display: table;"><div style="display: table-row;"><div style="display: table-cell;"><img type="captcha" operations_count="'.$param['w_count'].'" operations="'.$param['w_operations'].'" input_size="'.$param['w_input_size'].'" src="' . add_query_arg(array('action' => 'formmakerwdmathcaptcha', 'operations_count' => $param['w_count'], 'operations' => urlencode($param['w_operations']), 'i' => 'form_id_temp'), admin_url('admin-ajax.php')) . '" id="_wd_arithmetic_captchaform_id_temp" class="arithmetic_captcha_img" onclick="captcha_refresh("_wd_arithmetic_captcha","form_id_temp")" '.$param['attributes'].'></div><div style="display: table-cell;"><input type="text" class="arithmetic_captcha_input" id="_wd_arithmetic_captcha_inputform_id_temp" name="arithmetic_captcha_input" onkeypress="return check_isnum(event)" style="width: '.$param['w_input_size'].'px;" '.$param['attributes'].' disabled/></div><div style="display: table-cell; vertical-align: middle;"><div class="captcha_refresh" id="_element_refreshform_id_temp" onclick="captcha_refresh("_wd_arithmetic_captcha","form_id_temp")" '.$param['attributes'].'></div></div></div></div></div></div>';
|
1474 |
|
1475 |
break;
|
1476 |
}
|
form-maker.php
CHANGED
@@ -3,8 +3,8 @@
|
|
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.10.
|
7 |
-
* Author: WebDorado
|
8 |
* Author URI: https://web-dorado.com/
|
9 |
* License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
|
10 |
*/
|
@@ -279,7 +279,7 @@ function register_fmemailverification_cpt(){
|
|
279 |
// Activate plugin.
|
280 |
function form_maker_activate() {
|
281 |
$version = get_option("wd_form_maker_version");
|
282 |
-
$new_version = '1.10.
|
283 |
global $wpdb;
|
284 |
if (!$version) {
|
285 |
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.10.10
|
7 |
+
* Author: WebDorado, Form Builder Support
|
8 |
* Author URI: https://web-dorado.com/
|
9 |
* License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
|
10 |
*/
|
279 |
// Activate plugin.
|
280 |
function form_maker_activate() {
|
281 |
$version = get_option("wd_form_maker_version");
|
282 |
+
$new_version = '1.10.10';
|
283 |
global $wpdb;
|
284 |
if (!$version) {
|
285 |
add_option("wd_form_maker_version", $new_version, '', 'no');
|
frontend/views/FMViewForm_maker.php
CHANGED
@@ -2846,7 +2846,7 @@ class FMViewForm_maker {
|
|
2846 |
$param['w_input_size'] = $param['w_input_size'] ? $param['w_input_size'] : 60;
|
2847 |
|
2848 |
$rep ='<div type="type_arithmetic_captcha" class="wdform-field">
|
2849 |
-
<div align="left" class="wdform-label-section" style="display:'.$param['w_field_label_pos1'].'; width: '.$param['w_field_label_size'].'px;"><span class="wdform-label" style="vertical-align: top;">'.$label.'</span></div><div class="wdform-element-section '.$param['w_class'].'" style="display: '.$param['w_field_label_pos2'].';"><div style="display: table;"><div style="display: table-row;"><div style="display: table-cell; vertical-align: middle;"><img type="captcha" operations_count="'.$param['w_count'].'" operations="'.$param['w_operations'].'" src="' . add_query_arg(array('action' => 'formmakerwdmathcaptcha', 'operations_count' => $param['w_count'], 'operations' => $param['w_operations'], 'i' => $form_id), admin_url('admin-ajax.php')) . '" id="wd_arithmetic_captcha'.$form_id.'" class="arithmetic_captcha_img" '.$param['attributes'].'></div><div style="display: table-cell;"><input type="text" class="arithmetic_captcha_input" id="wd_arithmetic_captcha_input'.$form_id.'" name="arithmetic_captcha_input" onkeypress="return check_isnum(event)" style="width: '.$param['w_input_size'].'px;" '.$param['attributes'].'/></div><div style="display: table-cell; vertical-align: middle;"><div class="captcha_refresh" id="_element_refresh'.$form_id.'" '.$param['attributes'].'></div></div></div></div></div></div>';
|
2850 |
|
2851 |
$onload_js .='jQuery("#wd_arithmetic_captcha'.$form_id.'").click(function() { captcha_refresh("wd_arithmetic_captcha","'.$form_id.'") });';
|
2852 |
$onload_js .='jQuery("#_element_refresh'.$form_id.'").click(function() {captcha_refresh("wd_arithmetic_captcha","'.$form_id.'")});';
|
2846 |
$param['w_input_size'] = $param['w_input_size'] ? $param['w_input_size'] : 60;
|
2847 |
|
2848 |
$rep ='<div type="type_arithmetic_captcha" class="wdform-field">
|
2849 |
+
<div align="left" class="wdform-label-section" style="display:'.$param['w_field_label_pos1'].'; width: '.$param['w_field_label_size'].'px;"><span class="wdform-label" style="vertical-align: top;">'.$label.'</span></div><div class="wdform-element-section '.$param['w_class'].'" style="display: '.$param['w_field_label_pos2'].';"><div style="display: table;"><div style="display: table-row;"><div style="display: table-cell; vertical-align: middle;"><img type="captcha" operations_count="'.$param['w_count'].'" operations="'.$param['w_operations'].'" src="' . add_query_arg(array('action' => 'formmakerwdmathcaptcha', 'operations_count' => $param['w_count'], 'operations' => urlencode($param['w_operations']), 'i' => $form_id), admin_url('admin-ajax.php')) . '" id="wd_arithmetic_captcha'.$form_id.'" class="arithmetic_captcha_img" '.$param['attributes'].'></div><div style="display: table-cell;"><input type="text" class="arithmetic_captcha_input" id="wd_arithmetic_captcha_input'.$form_id.'" name="arithmetic_captcha_input" onkeypress="return check_isnum(event)" style="width: '.$param['w_input_size'].'px;" '.$param['attributes'].'/></div><div style="display: table-cell; vertical-align: middle;"><div class="captcha_refresh" id="_element_refresh'.$form_id.'" '.$param['attributes'].'></div></div></div></div></div></div>';
|
2850 |
|
2851 |
$onload_js .='jQuery("#wd_arithmetic_captcha'.$form_id.'").click(function() { captcha_refresh("wd_arithmetic_captcha","'.$form_id.'") });';
|
2852 |
$onload_js .='jQuery("#_element_refresh'.$form_id.'").click(function() {captcha_refresh("wd_arithmetic_captcha","'.$form_id.'")});';
|
readme.txt
CHANGED
@@ -1,14 +1,14 @@
|
|
1 |
-
=== Form ===
|
2 |
-
Contributors: webdorado
|
3 |
Donate link: https://web-dorado.com/products/wordpress-form.html
|
4 |
-
Tags:
|
5 |
Requires at least: 3.4
|
6 |
Tested up to: 4.7
|
7 |
-
Stable tag: 1.10.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
11 |
-
|
12 |
|
13 |
== Description ==
|
14 |
|
@@ -314,6 +314,9 @@ Email field should be used since it verifies that an entry format fulfills examp
|
|
314 |
|
315 |
== Changelog ==
|
316 |
|
|
|
|
|
|
|
317 |
= 1.10.9 =
|
318 |
* Changed: New logo
|
319 |
|
1 |
+
=== Form Maker by WD - user-friendly drag & drop Form Builder plugin ===
|
2 |
+
Contributors: webdorado,formmakersupport
|
3 |
Donate link: https://web-dorado.com/products/wordpress-form.html
|
4 |
+
Tags: form, form builder, contact form, custom form, feedback, contact, contact forms, captcha, email, form manager, forms, survey
|
5 |
Requires at least: 3.4
|
6 |
Tested up to: 4.7
|
7 |
+
Stable tag: 1.10.10
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
11 |
+
Form Maker is a fresh and innovative form builder. This form builder is for generating various kinds of feedback forms.
|
12 |
|
13 |
== Description ==
|
14 |
|
314 |
|
315 |
== Changelog ==
|
316 |
|
317 |
+
= 1.10.10 =
|
318 |
+
Fixed: Bug on arithmetic captcha
|
319 |
+
|
320 |
= 1.10.9 =
|
321 |
* Changed: New logo
|
322 |
|