Version Description
Download this release
Release Info
Developer | webdorado |
Plugin | Contact Form by WD – responsive drag & drop contact form builder tool |
Version | 1.7.15 |
Comparing to | |
See all releases |
Code changes from version 1.7.14 to 1.7.15
- contact-form-maker.php +2 -10
- css/form_maker_frontend.css +0 -4
- frontend/models/FMModelForm_maker_fmc.php +11 -10
- frontend/views/FMViewForm_maker_fmc.php +5 -23
- readme.txt +1 -1
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.
|
7 |
* Author: http://web-dorado.com/
|
8 |
* License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
|
9 |
*/
|
@@ -374,12 +374,4 @@ function form_maker_language_load_cfm() {
|
|
374 |
}
|
375 |
add_action('init', 'form_maker_language_load_cfm');
|
376 |
|
377 |
-
|
378 |
-
if (session_id() == '' || (function_exists('session_status') && (session_status() == PHP_SESSION_NONE))) {
|
379 |
-
@session_start();
|
380 |
-
}
|
381 |
-
session_save_path(WD_FMC_DIR . '/session');
|
382 |
-
}
|
383 |
-
add_action('init', 'form_maker_sesseion_path_cfm');
|
384 |
-
|
385 |
-
?>
|
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.15
|
7 |
* Author: http://web-dorado.com/
|
8 |
* License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
|
9 |
*/
|
374 |
}
|
375 |
add_action('init', 'form_maker_language_load_cfm');
|
376 |
|
377 |
+
?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
css/form_maker_frontend.css
CHANGED
@@ -2,10 +2,6 @@
|
|
2 |
width: inherit !important;
|
3 |
}
|
4 |
|
5 |
-
div.wdform-element-section {
|
6 |
-
width: initial !important;
|
7 |
-
}
|
8 |
-
|
9 |
.radio-div,
|
10 |
.radio-div *,
|
11 |
.checkbox-div,
|
2 |
width: inherit !important;
|
3 |
}
|
4 |
|
|
|
|
|
|
|
|
|
5 |
.radio-div,
|
6 |
.radio-div *,
|
7 |
.checkbox-div,
|
frontend/models/FMModelForm_maker_fmc.php
CHANGED
@@ -1854,14 +1854,14 @@ class FMModelForm_maker_fmc {
|
|
1854 |
$replyto = $row->reply_to_user;
|
1855 |
}
|
1856 |
$attachment_user = array();
|
1857 |
-
if($row->mail_attachment_user) {
|
1858 |
-
for($k=0; $k<count($all_files); $k++) {
|
1859 |
-
if(isset($all_files[$k]['tmp_name']
|
1860 |
-
$attachment_user[k]
|
1861 |
}
|
1862 |
}
|
1863 |
}
|
1864 |
-
if($row->mail_mode_user) {
|
1865 |
$content_type = "text/html";
|
1866 |
$mode = 1;
|
1867 |
$list_user = wordwrap($list, 70, "\n", true);
|
@@ -1967,14 +1967,15 @@ class FMModelForm_maker_fmc {
|
|
1967 |
$fromname = $row->from_mail;
|
1968 |
}
|
1969 |
$attachment = array();
|
1970 |
-
if($row->mail_attachment) {
|
1971 |
-
for($k=0
|
1972 |
-
if(isset($all_files[$k]['tmp_name']
|
1973 |
-
$attachment[k]=$all_files[$k]['tmp_name'];
|
|
|
1974 |
}
|
1975 |
}
|
1976 |
|
1977 |
-
if($row->mail_mode) {
|
1978 |
$content_type = "text/html";
|
1979 |
$mode = 1;
|
1980 |
$list = wordwrap($list, 70, "\n", true);
|
1854 |
$replyto = $row->reply_to_user;
|
1855 |
}
|
1856 |
$attachment_user = array();
|
1857 |
+
if ($row->mail_attachment_user) {
|
1858 |
+
for ($k = 0; $k < count($all_files); $k++) {
|
1859 |
+
if (isset($all_files[$k]['tmp_name'])) {
|
1860 |
+
$attachment_user[$k] = $all_files[$k]['tmp_name'];
|
1861 |
}
|
1862 |
}
|
1863 |
}
|
1864 |
+
if ($row->mail_mode_user) {
|
1865 |
$content_type = "text/html";
|
1866 |
$mode = 1;
|
1867 |
$list_user = wordwrap($list, 70, "\n", true);
|
1967 |
$fromname = $row->from_mail;
|
1968 |
}
|
1969 |
$attachment = array();
|
1970 |
+
if ($row->mail_attachment) {
|
1971 |
+
for ($k = 0; $k < count($all_files); $k++) {
|
1972 |
+
if (isset($all_files[$k]['tmp_name'])) {
|
1973 |
+
$attachment[$k]=$all_files[$k]['tmp_name'];
|
1974 |
+
}
|
1975 |
}
|
1976 |
}
|
1977 |
|
1978 |
+
if ($row->mail_mode) {
|
1979 |
$content_type = "text/html";
|
1980 |
$mode = 1;
|
1981 |
$list = wordwrap($list, 70, "\n", true);
|
frontend/views/FMViewForm_maker_fmc.php
CHANGED
@@ -1691,7 +1691,7 @@ class FMViewForm_maker_fmc {
|
|
1691 |
if($required) {
|
1692 |
$rep.='<span class="wdform-required">'.$required_sym.'</span>';
|
1693 |
}
|
1694 |
-
$rep.='</div><div class="wdform-element-section '.$param['w_class'].'" style="'.$param['w_field_label_pos2'].';"><input type="text" value="'.$param['w_date'].'" class="wdform-date" id="wdform_'.$id1.'_element'.$form_id.'" name="wdform_'.$id1.'_element'.$form_id.'" maxlength="10" '.$param['attributes'].'><input id="wdform_'.$id1.'_button'.$form_id.'" class="wdform-calendar-button" type="reset" value="'.$param['w_but_val'].'" format="'.$param['w_format'].'" onclick="return showCalendar(\'wdform_'.$id1.'_element'.$form_id.'\' , \'
|
1695 |
|
1696 |
if($required) {
|
1697 |
$check_js.='
|
@@ -3193,18 +3193,9 @@ class FMViewForm_maker_fmc {
|
|
3193 |
}
|
3194 |
}
|
3195 |
|
3196 |
-
function
|
3197 |
-
if (formOldFunctionOnLoad<?php echo $id ?>) {
|
3198 |
-
formOldFunctionOnLoad<?php echo $id ?>();
|
3199 |
-
}
|
3200 |
formOnload<?php echo $id ?>();
|
3201 |
-
}
|
3202 |
-
function formLoadBody<?php echo $id ?>() {
|
3203 |
-
formOldFunctionOnLoad<?php echo $id ?> = window.onload;
|
3204 |
-
window.onload = formAddToOnload<?php echo $id ?>;
|
3205 |
-
}
|
3206 |
-
var formOldFunctionOnLoad<?php echo $id ?> = null;
|
3207 |
-
formLoadBody<?php echo $id ?>();
|
3208 |
|
3209 |
form_view_count<?php echo $id ?>=0;
|
3210 |
jQuery(document).ready(function () {
|
@@ -3528,18 +3519,9 @@ class FMViewForm_maker_fmc {
|
|
3528 |
}
|
3529 |
}';
|
3530 |
$form_maker_front_end .= '
|
3531 |
-
function
|
3532 |
-
if (formOldFunctionOnLoad' . $id . ') {
|
3533 |
-
formOldFunctionOnLoad' . $id . '();
|
3534 |
-
}
|
3535 |
formOnload' . $id . '();
|
3536 |
-
}
|
3537 |
-
function formLoadBody' . $id . '() {
|
3538 |
-
formOldFunctionOnLoad' . $id . ' = window.onload;
|
3539 |
-
window.onload = formAddToOnload' . $id . ';
|
3540 |
-
}
|
3541 |
-
var formOldFunctionOnLoad' . $id . ' = null;
|
3542 |
-
formLoadBody' . $id . '();';
|
3543 |
if (isset($_POST["counter" . $id])) {
|
3544 |
$counter = esc_html($_POST["counter" . $id]);
|
3545 |
}
|
1691 |
if($required) {
|
1692 |
$rep.='<span class="wdform-required">'.$required_sym.'</span>';
|
1693 |
}
|
1694 |
+
$rep.='</div><div class="wdform-element-section '.$param['w_class'].'" style="'.$param['w_field_label_pos2'].';"><input type="text" value="'.$param['w_date'].'" class="wdform-date" id="wdform_'.$id1.'_element'.$form_id.'" name="wdform_'.$id1.'_element'.$form_id.'" maxlength="10" '.$param['attributes'].'><input id="wdform_'.$id1.'_button'.$form_id.'" class="wdform-calendar-button" type="reset" value="'.$param['w_but_val'].'" format="'.$param['w_format'].'" onclick="return showCalendar(\'wdform_'.$id1.'_element'.$form_id.'\' , \''.$param['w_format'].'\')" '.$param['attributes'].' ></div></div>';
|
1695 |
|
1696 |
if($required) {
|
1697 |
$check_js.='
|
3193 |
}
|
3194 |
}
|
3195 |
|
3196 |
+
jQuery(window).load(function () {
|
|
|
|
|
|
|
3197 |
formOnload<?php echo $id ?>();
|
3198 |
+
});
|
|
|
|
|
|
|
|
|
|
|
|
|
3199 |
|
3200 |
form_view_count<?php echo $id ?>=0;
|
3201 |
jQuery(document).ready(function () {
|
3519 |
}
|
3520 |
}';
|
3521 |
$form_maker_front_end .= '
|
3522 |
+
jQuery(window).load(function () {
|
|
|
|
|
|
|
3523 |
formOnload' . $id . '();
|
3524 |
+
});';
|
|
|
|
|
|
|
|
|
|
|
|
|
3525 |
if (isset($_POST["counter" . $id])) {
|
3526 |
$counter = esc_html($_POST["counter" . $id]);
|
3527 |
}
|
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: 3.9
|
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, 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: 3.9
|
7 |
+
Stable tag: 1.7.15
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|