Version Description
Download this release
Release Info
Developer | webdorado |
Plugin | Contact Form Builder – a plugin for creating contact and feedback forms |
Version | 1.0.9 |
Comparing to | |
See all releases |
Code changes from version 1.0.8 to 1.0.9
- contact-form-builder-insert.php +4 -4
- contact-form-builder.php +2 -2
- css/contact_form_maker_frontend.css +4 -0
- frontend/views/CFMViewForm_maker.php +2 -2
- readme.txt +1 -1
- session/index.html +0 -1
contact-form-builder-insert.php
CHANGED
@@ -44,7 +44,7 @@ function contact_form_maker_insert() {
|
|
44 |
`mail_mode` tinyint(4) NOT NULL DEFAULT '1',
|
45 |
`mail_mode_user` tinyint(4) NOT NULL DEFAULT '1',
|
46 |
PRIMARY KEY (`id`)
|
47 |
-
)
|
48 |
$wpdb->query($contactformmaker);
|
49 |
$contact_form_maker_row = $wpdb->get_var("SELECT * FROM " . $wpdb->prefix . "contactformmaker");
|
50 |
if (!$contact_form_maker_row) {
|
@@ -67,7 +67,7 @@ function contact_form_maker_insert() {
|
|
67 |
`group_id` int(11) NOT NULL,
|
68 |
`date` datetime NOT NULL,
|
69 |
`ip` varchar(32) NOT NULL,
|
70 |
-
PRIMARY KEY (`id`))
|
71 |
$wpdb->query($contactformmaker_submits);
|
72 |
$contactformmaker_themes = "CREATE TABLE IF NOT EXISTS `" . $wpdb->prefix . "contactformmaker_themes` (
|
73 |
`id` int(11) NOT NULL AUTO_INCREMENT,
|
@@ -75,7 +75,7 @@ function contact_form_maker_insert() {
|
|
75 |
`css` text NOT NULL,
|
76 |
`default` tinyint(4) NOT NULL,
|
77 |
PRIMARY KEY (`id`)
|
78 |
-
)
|
79 |
$wpdb->query($contactformmaker_themes);
|
80 |
$contact_form_maker_theme_row = $wpdb->get_var("SELECT * FROM `" . $wpdb->prefix . "contactformmaker_themes`");
|
81 |
if (!$contact_form_maker_theme_row) {
|
@@ -121,7 +121,7 @@ function contact_form_maker_insert() {
|
|
121 |
`form_id` int(11) NOT NULL,
|
122 |
`views` int(50) NOT NULL,
|
123 |
PRIMARY KEY (`form_id`)
|
124 |
-
)
|
125 |
$wpdb->query($contactformmaker_views);
|
126 |
$contactformmaker_blocked = "CREATE TABLE IF NOT EXISTS `" . $wpdb->prefix . "contactformmaker_blocked` (
|
127 |
`id` int(11) NOT NULL AUTO_INCREMENT,
|
44 |
`mail_mode` tinyint(4) NOT NULL DEFAULT '1',
|
45 |
`mail_mode_user` tinyint(4) NOT NULL DEFAULT '1',
|
46 |
PRIMARY KEY (`id`)
|
47 |
+
) DEFAULT CHARSET=utf8;";
|
48 |
$wpdb->query($contactformmaker);
|
49 |
$contact_form_maker_row = $wpdb->get_var("SELECT * FROM " . $wpdb->prefix . "contactformmaker");
|
50 |
if (!$contact_form_maker_row) {
|
67 |
`group_id` int(11) NOT NULL,
|
68 |
`date` datetime NOT NULL,
|
69 |
`ip` varchar(32) NOT NULL,
|
70 |
+
PRIMARY KEY (`id`)) DEFAULT CHARSET=utf8;";
|
71 |
$wpdb->query($contactformmaker_submits);
|
72 |
$contactformmaker_themes = "CREATE TABLE IF NOT EXISTS `" . $wpdb->prefix . "contactformmaker_themes` (
|
73 |
`id` int(11) NOT NULL AUTO_INCREMENT,
|
75 |
`css` text NOT NULL,
|
76 |
`default` tinyint(4) NOT NULL,
|
77 |
PRIMARY KEY (`id`)
|
78 |
+
) DEFAULT CHARSET=utf8;";
|
79 |
$wpdb->query($contactformmaker_themes);
|
80 |
$contact_form_maker_theme_row = $wpdb->get_var("SELECT * FROM `" . $wpdb->prefix . "contactformmaker_themes`");
|
81 |
if (!$contact_form_maker_theme_row) {
|
121 |
`form_id` int(11) NOT NULL,
|
122 |
`views` int(50) NOT NULL,
|
123 |
PRIMARY KEY (`form_id`)
|
124 |
+
) DEFAULT CHARSET=utf8;";
|
125 |
$wpdb->query($contactformmaker_views);
|
126 |
$contactformmaker_blocked = "CREATE TABLE IF NOT EXISTS `" . $wpdb->prefix . "contactformmaker_blocked` (
|
127 |
`id` int(11) NOT NULL AUTO_INCREMENT,
|
contact-form-builder.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Plugin Name: Contact Form Builder
|
4 |
* Plugin URI: http://web-dorado.com/products/wordpress-contact-form-builder.html
|
5 |
* Description: Contact Form Builder is an advanced plugin to add contact forms into your website. It comes along with multiple default templates which can be customized.
|
6 |
-
* Version: 1.0.
|
7 |
* Author: http://web-dorado.com/
|
8 |
* License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
|
9 |
*/
|
@@ -149,7 +149,7 @@ if (class_exists('WP_Widget')) {
|
|
149 |
// Activate plugin.
|
150 |
function contact_form_maker_activate() {
|
151 |
$version = get_option("wd_contact_form_maker_version");
|
152 |
-
$new_version = '1.0.
|
153 |
if ($version && version_compare($version, $new_version, '<')) {
|
154 |
require_once WD_BWG_DIR . "/contact-form-builder-update.php";
|
155 |
contact_form_maker_update($version);
|
3 |
* Plugin Name: Contact Form Builder
|
4 |
* Plugin URI: http://web-dorado.com/products/wordpress-contact-form-builder.html
|
5 |
* Description: Contact Form Builder is an advanced plugin to add contact forms into your website. It comes along with multiple default templates which can be customized.
|
6 |
+
* Version: 1.0.9
|
7 |
* Author: http://web-dorado.com/
|
8 |
* License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
|
9 |
*/
|
149 |
// Activate plugin.
|
150 |
function contact_form_maker_activate() {
|
151 |
$version = get_option("wd_contact_form_maker_version");
|
152 |
+
$new_version = '1.0.9';
|
153 |
if ($version && version_compare($version, $new_version, '<')) {
|
154 |
require_once WD_BWG_DIR . "/contact-form-builder-update.php";
|
155 |
contact_form_maker_update($version);
|
css/contact_form_maker_frontend.css
CHANGED
@@ -1,3 +1,7 @@
|
|
|
|
|
|
|
|
|
|
1 |
.wdform-page-and-images {
|
2 |
box-sizing: border-box;
|
3 |
}
|
1 |
+
.wdform_map img {
|
2 |
+
max-width: none !important;
|
3 |
+
}
|
4 |
+
|
5 |
.wdform-page-and-images {
|
6 |
box-sizing: border-box;
|
7 |
}
|
frontend/views/CFMViewForm_maker.php
CHANGED
@@ -1043,13 +1043,13 @@ class CFMViewForm_maker {
|
|
1043 |
$param['w_lat'] = explode('***', $param['w_lat']);
|
1044 |
$param['w_info'] = explode('***', $param['w_info']);
|
1045 |
foreach ($param['w_long'] as $key => $w_long ) {
|
1046 |
-
$marker .= 'long'.$key.'="'.$w_long.'" lat'.$key.'="'.$param['w_lat'][$key].'" info'.$key.'="'
|
1047 |
}
|
1048 |
|
1049 |
$rep ='<div type="type_map" class="wdform-field" style="width:'.($param['w_width']).'px"><div class="wdform-label-section" style="display: table-cell;"><span id="wdform_'.$id1.'_element_label'.$form_id.'" style="display: none;">'.$label.'</span></div><div class="wdform-element-section '.$param['w_class'].'" style="width: '.$param['w_width'].'px;"><div id="wdform_'.$id1.'_element'.$form_id.'" zoom="'.$param['w_zoom'].'" center_x="'.$param['w_center_x'].'" center_y="'.$param['w_center_y'].'" style="width: 100%; height: '.$param['w_height'].'px;" '.$marker.' '.$param['attributes'].'></div></div></div>';
|
1050 |
$onload_js .= 'if_gmap_init("wdform_' . $id1 . '", ' . $form_id . ');';
|
1051 |
foreach ($param['w_long'] as $key => $w_long) {
|
1052 |
-
$onload_js .= 'add_marker_on_map("wdform_'.$id1.'",'.$key.', "'.$w_long.'", "'.$param['w_lat'][$key].'", "'
|
1053 |
}
|
1054 |
break;
|
1055 |
}
|
1043 |
$param['w_lat'] = explode('***', $param['w_lat']);
|
1044 |
$param['w_info'] = explode('***', $param['w_info']);
|
1045 |
foreach ($param['w_long'] as $key => $w_long ) {
|
1046 |
+
$marker .= 'long'.$key.'="'.$w_long.'" lat'.$key.'="'.$param['w_lat'][$key].'" info'.$key.'="'.str_replace(array("\r\n", "\n", "\r"), '<br />', $param['w_info'][$key]).'"';
|
1047 |
}
|
1048 |
|
1049 |
$rep ='<div type="type_map" class="wdform-field" style="width:'.($param['w_width']).'px"><div class="wdform-label-section" style="display: table-cell;"><span id="wdform_'.$id1.'_element_label'.$form_id.'" style="display: none;">'.$label.'</span></div><div class="wdform-element-section '.$param['w_class'].'" style="width: '.$param['w_width'].'px;"><div id="wdform_'.$id1.'_element'.$form_id.'" zoom="'.$param['w_zoom'].'" center_x="'.$param['w_center_x'].'" center_y="'.$param['w_center_y'].'" style="width: 100%; height: '.$param['w_height'].'px;" '.$marker.' '.$param['attributes'].'></div></div></div>';
|
1050 |
$onload_js .= 'if_gmap_init("wdform_' . $id1 . '", ' . $form_id . ');';
|
1051 |
foreach ($param['w_long'] as $key => $w_long) {
|
1052 |
+
$onload_js .= 'add_marker_on_map("wdform_'.$id1.'",'.$key.', "'.$w_long.'", "'.$param['w_lat'][$key].'", "'.str_replace(array("\r\n", "\n", "\r"), '<br />', $param['w_info'][$key]).'", '.$form_id.',false);';
|
1053 |
}
|
1054 |
break;
|
1055 |
}
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: http://web-dorado.com/products/wordpress-contact-form-builder.html
|
|
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 Builder with recaptcha, contact form with google map, feedback form, feedback forms, contact us, wordpress contact form, email form, feedback, web form, contact me, email, contact manager, contact us form
|
5 |
Requires at least: 3.0
|
6 |
Tested up to: 4.0
|
7 |
-
Stable tag: 1.0.
|
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 Builder with recaptcha, contact form with google map, feedback form, feedback forms, contact us, wordpress contact form, email form, feedback, web form, contact me, email, contact manager, contact us form
|
5 |
Requires at least: 3.0
|
6 |
Tested up to: 4.0
|
7 |
+
Stable tag: 1.0.9
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
session/index.html
DELETED
@@ -1 +0,0 @@
|
|
1 |
-
<html><body bgcolor="#FFFFFF"></body></html>
|
|