Version Description
- Fixed: Include styles/scripts on form pages only.
Download this release
Release Info
Developer | webdorado |
Plugin | Form Maker by WD – user-friendly drag & drop Form Builder plugin |
Version | 1.12.32 |
Comparing to | |
See all releases |
Code changes from version 1.12.31 to 1.12.32
- admin/controllers/Generete_xml.php +2 -2
- form-maker.php +3 -3
- framework/WDW_FM_Library.php +1 -1
- frontend/views/form_maker.php +11 -11
- js/form_maker_submissions.js +3 -3
- readme.txt +5 -2
admin/controllers/Generete_xml.php
CHANGED
@@ -46,7 +46,7 @@ class FMControllerGenerete_xml extends FMAdminController {
|
|
46 |
fwrite($output, '<form title="' . $title . '">' . PHP_EOL);
|
47 |
}
|
48 |
foreach ( $data as $key1 => $value1 ) {
|
49 |
-
|
50 |
fwrite($output, PHP_TAB . '<submission id="' . $key1 . '">' . PHP_EOL);
|
51 |
foreach ( $value1 as $key => $value ) {
|
52 |
fwrite($output, PHP_TAB . PHP_TAB . '<field title="' . $key . '">' . PHP_EOL);
|
@@ -54,7 +54,7 @@ class FMControllerGenerete_xml extends FMAdminController {
|
|
54 |
fwrite($output, PHP_TAB . PHP_TAB . '</field>' . PHP_EOL);
|
55 |
}
|
56 |
fwrite($output, PHP_TAB . '</submission>' . PHP_EOL);
|
57 |
-
|
58 |
}
|
59 |
if ( $send_header == 1 ) {
|
60 |
fwrite($output, '</form>');
|
46 |
fwrite($output, '<form title="' . $title . '">' . PHP_EOL);
|
47 |
}
|
48 |
foreach ( $data as $key1 => $value1 ) {
|
49 |
+
if ( !empty($key1) ) {
|
50 |
fwrite($output, PHP_TAB . '<submission id="' . $key1 . '">' . PHP_EOL);
|
51 |
foreach ( $value1 as $key => $value ) {
|
52 |
fwrite($output, PHP_TAB . PHP_TAB . '<field title="' . $key . '">' . PHP_EOL);
|
54 |
fwrite($output, PHP_TAB . PHP_TAB . '</field>' . PHP_EOL);
|
55 |
}
|
56 |
fwrite($output, PHP_TAB . '</submission>' . PHP_EOL);
|
57 |
+
}
|
58 |
}
|
59 |
if ( $send_header == 1 ) {
|
60 |
fwrite($output, '</form>');
|
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.12.
|
7 |
* Author: WebDorado Form Builder Team
|
8 |
* Author URI: https://web-dorado.com/wordpress-plugins-bundle.html
|
9 |
* License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
|
@@ -95,8 +95,8 @@ final class WDFM {
|
|
95 |
$this->plugin_url = plugins_url(plugin_basename(dirname(__FILE__)));
|
96 |
$this->front_urls = $this->get_front_urls();
|
97 |
$this->main_file = plugin_basename(__FILE__);
|
98 |
-
$this->plugin_version = '1.12.
|
99 |
-
$this->db_version = '2.12.
|
100 |
$this->menu_postfix = ($this->is_free == 2 ? '_fmc' : '_fm');
|
101 |
$this->plugin_postfix = ($this->is_free == 2 ? '_fmc' : '');
|
102 |
$this->menu_slug = 'manage' . $this->menu_postfix;
|
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.12.32
|
7 |
* Author: WebDorado Form Builder Team
|
8 |
* Author URI: https://web-dorado.com/wordpress-plugins-bundle.html
|
9 |
* License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
|
95 |
$this->plugin_url = plugins_url(plugin_basename(dirname(__FILE__)));
|
96 |
$this->front_urls = $this->get_front_urls();
|
97 |
$this->main_file = plugin_basename(__FILE__);
|
98 |
+
$this->plugin_version = '1.12.32';
|
99 |
+
$this->db_version = '2.12.32';
|
100 |
$this->menu_postfix = ($this->is_free == 2 ? '_fmc' : '_fm');
|
101 |
$this->plugin_postfix = ($this->is_free == 2 ? '_fmc' : '');
|
102 |
$this->menu_slug = 'manage' . $this->menu_postfix;
|
framework/WDW_FM_Library.php
CHANGED
@@ -5086,7 +5086,7 @@ class WDW_FM_Library {
|
|
5086 |
}
|
5087 |
|
5088 |
public static function not_display_posts() {
|
5089 |
-
|
5090 |
}
|
5091 |
|
5092 |
public static function get_user_submission_ids( $email_address ) {
|
5086 |
}
|
5087 |
|
5088 |
public static function not_display_posts() {
|
5089 |
+
return array('fmemailverification','cfmemailverification','form-maker','form-maker_fmc');
|
5090 |
}
|
5091 |
|
5092 |
public static function get_user_submission_ids( $email_address ) {
|
frontend/views/form_maker.php
CHANGED
@@ -17,17 +17,6 @@ class FMViewForm_maker {
|
|
17 |
*/
|
18 |
public function __construct( $model = array() ) {
|
19 |
$this->model = $model;
|
20 |
-
|
21 |
-
wp_enqueue_script('jquery');
|
22 |
-
wp_enqueue_script('jquery-ui-widget');
|
23 |
-
wp_enqueue_script('jquery-effects-shake');
|
24 |
-
wp_enqueue_script(WDFMInstance(self::PLUGIN)->handle_prefix . '-frontend');
|
25 |
-
|
26 |
-
wp_enqueue_style(WDFMInstance(self::PLUGIN)->handle_prefix . '-jquery-ui');
|
27 |
-
wp_enqueue_style(WDFMInstance(self::PLUGIN)->handle_prefix . '-frontend');
|
28 |
-
wp_enqueue_style(WDFMInstance(self::PLUGIN)->handle_prefix . '-googlefonts');
|
29 |
-
wp_enqueue_style(WDFMInstance(self::PLUGIN)->handle_prefix . '-animate');
|
30 |
-
wp_enqueue_style('dashicons');
|
31 |
}
|
32 |
|
33 |
/**
|
@@ -41,6 +30,17 @@ class FMViewForm_maker {
|
|
41 |
* @return string
|
42 |
*/
|
43 |
public function display( $result = array(), $fm_settings = array(), $form_id = 0, $formType = 'embedded' ) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
44 |
$current_user = wp_get_current_user();
|
45 |
if ( $current_user->ID != 0 ) {
|
46 |
$wp_username = $current_user->display_name;
|
17 |
*/
|
18 |
public function __construct( $model = array() ) {
|
19 |
$this->model = $model;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
20 |
}
|
21 |
|
22 |
/**
|
30 |
* @return string
|
31 |
*/
|
32 |
public function display( $result = array(), $fm_settings = array(), $form_id = 0, $formType = 'embedded' ) {
|
33 |
+
wp_enqueue_script('jquery');
|
34 |
+
wp_enqueue_script('jquery-ui-widget');
|
35 |
+
wp_enqueue_script('jquery-effects-shake');
|
36 |
+
wp_enqueue_script(WDFMInstance(self::PLUGIN)->handle_prefix . '-frontend');
|
37 |
+
|
38 |
+
wp_enqueue_style(WDFMInstance(self::PLUGIN)->handle_prefix . '-jquery-ui');
|
39 |
+
wp_enqueue_style(WDFMInstance(self::PLUGIN)->handle_prefix . '-frontend');
|
40 |
+
wp_enqueue_style(WDFMInstance(self::PLUGIN)->handle_prefix . '-googlefonts');
|
41 |
+
wp_enqueue_style(WDFMInstance(self::PLUGIN)->handle_prefix . '-animate');
|
42 |
+
wp_enqueue_style('dashicons');
|
43 |
+
|
44 |
$current_user = wp_get_current_user();
|
45 |
if ( $current_user->ID != 0 ) {
|
46 |
$wp_username = $current_user->display_name;
|
js/form_maker_submissions.js
CHANGED
@@ -187,7 +187,7 @@ function set_columns_history_checked() {
|
|
187 |
if ( checkboxs.length != show_hide_column_ids.length ) {
|
188 |
jQuery('#ChBAll').addClass('fm-remove_before');
|
189 |
}
|
190 |
-
if ( checkboxs.length == show_hide_column_ids.length) {
|
191 |
jQuery('#ChBAll').removeClass('fm-remove_before');
|
192 |
}
|
193 |
jQuery.each( show_hide_column_ids, function ( i, val) {
|
@@ -199,9 +199,9 @@ function set_columns_history_checked() {
|
|
199 |
function set_all_column_checkbox_checked() {
|
200 |
var ChBAll = jQuery('#ChBAll');
|
201 |
var checkboxs = jQuery('#ChBDiv input[type=checkbox]');
|
202 |
-
if ( checkboxs.length == checkboxs.filter(":checked").length ) {
|
203 |
ChBAll.removeClass('fm-remove_before').prop('checked', true);
|
204 |
-
}
|
205 |
else {
|
206 |
ChBAll.addClass('fm-remove_before').prop('checked', false);
|
207 |
}
|
187 |
if ( checkboxs.length != show_hide_column_ids.length ) {
|
188 |
jQuery('#ChBAll').addClass('fm-remove_before');
|
189 |
}
|
190 |
+
if ( checkboxs.length == show_hide_column_ids.length ) {
|
191 |
jQuery('#ChBAll').removeClass('fm-remove_before');
|
192 |
}
|
193 |
jQuery.each( show_hide_column_ids, function ( i, val) {
|
199 |
function set_all_column_checkbox_checked() {
|
200 |
var ChBAll = jQuery('#ChBAll');
|
201 |
var checkboxs = jQuery('#ChBDiv input[type=checkbox]');
|
202 |
+
if ( checkboxs.length == checkboxs.filter(":checked").length ) {
|
203 |
ChBAll.removeClass('fm-remove_before').prop('checked', true);
|
204 |
+
}
|
205 |
else {
|
206 |
ChBAll.addClass('fm-remove_before').prop('checked', false);
|
207 |
}
|
readme.txt
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
=== Form Maker by WD - user-friendly drag & drop Form Builder plugin ===
|
2 |
Contributors: webdorado,10web,wdsupport,formmakersupport
|
3 |
Tags: form, form builder, contact form, custom form, feedback, contact, web contact form, captcha, email, form manager, forms, survey
|
4 |
-
Requires at least:
|
5 |
Tested up to: 4.9
|
6 |
-
Stable tag: 1.12.
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
@@ -452,6 +452,9 @@ Where **{{field_id}}** is the ID of the field you wish to prefill. Also, **{{par
|
|
452 |
|
453 |
== Changelog ==
|
454 |
|
|
|
|
|
|
|
455 |
= 1.12.31 =
|
456 |
* Improved: CSV, XML export.
|
457 |
* Improved: default email design
|
1 |
=== Form Maker by WD - user-friendly drag & drop Form Builder plugin ===
|
2 |
Contributors: webdorado,10web,wdsupport,formmakersupport
|
3 |
Tags: form, form builder, contact form, custom form, feedback, contact, web contact form, captcha, email, form manager, forms, survey
|
4 |
+
Requires at least: 4.6
|
5 |
Tested up to: 4.9
|
6 |
+
Stable tag: 1.12.32
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
452 |
|
453 |
== Changelog ==
|
454 |
|
455 |
+
= 1.12.32 =
|
456 |
+
* Fixed: Include styles/scripts on form pages only.
|
457 |
+
|
458 |
= 1.12.31 =
|
459 |
* Improved: CSV, XML export.
|
460 |
* Improved: default email design
|