Version Description
bug fixed in condition fileds
Download this release
Release Info
Developer | webdorado |
Plugin | Form Maker by WD – user-friendly drag & drop Form Builder plugin |
Version | 1.7.17 |
Comparing to | |
See all releases |
Code changes from version 1.7.16 to 1.7.17
- admin/views/FMViewManage_fm.php +3 -3
- admin/views/FMViewSubmissions_fm.php +1 -1
- css/form_maker_tables.css +5 -0
- form-maker.php +2 -2
- form_maker_insert.php +5 -5
- form_maker_update.php +3 -3
- frontend/views/FMViewForm_maker.php +5 -5
- js/form_maker_manage.js +1 -1
- js/formmaker_div_free.js +2 -0
- readme.txt +9 -3
admin/views/FMViewManage_fm.php
CHANGED
@@ -3453,7 +3453,7 @@ class FMViewManage_fm {
|
|
3453 |
?>
|
3454 |
<div>
|
3455 |
<span style="font-size:13px;">Add Condition<span/>
|
3456 |
-
<img src="<?php echo WD_FM_URL . '/images/add_condition.png'; ?>" title="add" onclick="add_condition('<?php echo $chose_ids; ?>', '<?php echo htmlspecialchars(addslashes($chose_labels)); ?>', '<?php echo $chose_types; ?>', '<?php echo addslashes($chose_paramss); ?>', '<?php echo $all_ids_cond; ?>', '<?php echo htmlspecialchars(addslashes($all_labels_cond)); ?>')" style="cursor: pointer; vertical-align: middle; margin-left:15px;">
|
3457 |
</div>
|
3458 |
<?php
|
3459 |
|
@@ -3489,7 +3489,7 @@ class FMViewManage_fm {
|
|
3489 |
</select>
|
3490 |
|
3491 |
<span>of the following match:</span>
|
3492 |
-
<img src="<?php echo WD_FM_URL . '/images/add.png'; ?>" title="add" onclick="add_condition_fields(<?php echo $k; ?>,'<?php echo $chose_ids; ?>', '<?php echo addslashes($chose_labels); ?>', '<?php echo $chose_types; ?>', '<?php echo addslashes($chose_paramss); ?>')" style="cursor: pointer; vertical-align: middle;">
|
3493 |
|
3494 |
<img src="<?php echo WD_FM_URL . '/images/page_delete.png'; ?>" onclick="delete_condition('<?php echo $k; ?>')" style="cursor: pointer; vertical-align: middle;">
|
3495 |
</div>
|
@@ -3509,7 +3509,7 @@ class FMViewManage_fm {
|
|
3509 |
|
3510 |
?>
|
3511 |
<div id="condition_div<?php echo $k; ?>_<?php echo $key; ?>">
|
3512 |
-
<select id="field_labels<?php echo $k; ?>_<?php echo $key; ?>" onchange="change_choices(this.options[this.selectedIndex].id+'_<?php echo $key; ?>','<?php echo $chose_ids; ?>', '<?php echo $chose_types; ?>', '<?php echo addslashes($chose_paramss); ?>')" style="width:350px;"/>
|
3513 |
<?php
|
3514 |
foreach($labels as $key1 => $value)
|
3515 |
{
|
3453 |
?>
|
3454 |
<div>
|
3455 |
<span style="font-size:13px;">Add Condition<span/>
|
3456 |
+
<img src="<?php echo WD_FM_URL . '/images/add_condition.png'; ?>" title="add" onclick="add_condition('<?php echo $chose_ids; ?>', '<?php echo htmlspecialchars(addslashes($chose_labels)); ?>', '<?php echo $chose_types; ?>', '<?php echo htmlspecialchars(addslashes($chose_paramss)); ?>', '<?php echo $all_ids_cond; ?>', '<?php echo htmlspecialchars(addslashes($all_labels_cond)); ?>')" style="cursor: pointer; vertical-align: middle; margin-left:15px;">
|
3457 |
</div>
|
3458 |
<?php
|
3459 |
|
3489 |
</select>
|
3490 |
|
3491 |
<span>of the following match:</span>
|
3492 |
+
<img src="<?php echo WD_FM_URL . '/images/add.png'; ?>" title="add" onclick="add_condition_fields(<?php echo $k; ?>,'<?php echo $chose_ids; ?>', '<?php echo htmlspecialchars(addslashes($chose_labels)); ?>', '<?php echo $chose_types; ?>', '<?php echo htmlspecialchars(addslashes($chose_paramss)); ?>')" style="cursor: pointer; vertical-align: middle;">
|
3493 |
|
3494 |
<img src="<?php echo WD_FM_URL . '/images/page_delete.png'; ?>" onclick="delete_condition('<?php echo $k; ?>')" style="cursor: pointer; vertical-align: middle;">
|
3495 |
</div>
|
3509 |
|
3510 |
?>
|
3511 |
<div id="condition_div<?php echo $k; ?>_<?php echo $key; ?>">
|
3512 |
+
<select id="field_labels<?php echo $k; ?>_<?php echo $key; ?>" onchange="change_choices(this.options[this.selectedIndex].id+'_<?php echo $key; ?>','<?php echo $chose_ids; ?>', '<?php echo $chose_types; ?>', '<?php echo htmlspecialchars(addslashes($chose_paramss)); ?>')" style="width:350px;"/>
|
3513 |
<?php
|
3514 |
foreach($labels as $key1 => $value)
|
3515 |
{
|
admin/views/FMViewSubmissions_fm.php
CHANGED
@@ -456,7 +456,7 @@ class FMViewSubmissions_fm {
|
|
456 |
</a>
|
457 |
</td>
|
458 |
<td class="table_medium_col_uncenter submitterip_fc sub-align" id="submitterip_fc" <?php echo $style_ip; ?>>
|
459 |
-
<a class="thickbox-preview" href="<?php echo add_query_arg(array('action' => 'fromipinfoinpopup', 'data_ip' => $data->ip, 'width' => '400', 'height' => '300', 'TB_iframe' => '1'), admin_url('admin-ajax.php')); ?>" title="Show submitter information"
|
460 |
</td>
|
461 |
<?php
|
462 |
for ($h = 0; $h < $m; $h++) {
|
456 |
</a>
|
457 |
</td>
|
458 |
<td class="table_medium_col_uncenter submitterip_fc sub-align" id="submitterip_fc" <?php echo $style_ip; ?>>
|
459 |
+
<a class="thickbox-preview" href="<?php echo add_query_arg(array('action' => 'fromipinfoinpopup', 'data_ip' => $data->ip, 'width' => '400', 'height' => '300', 'TB_iframe' => '1'), admin_url('admin-ajax.php')); ?>" title="Show submitter information" <?php echo (!in_array($data->ip, $blocked_ips)) ? '' : 'style="color: #FF0000;"'; ?>><?php echo $data->ip; ?></a>
|
460 |
</td>
|
461 |
<?php
|
462 |
for ($h = 0; $h < $m; $h++) {
|
css/form_maker_tables.css
CHANGED
@@ -1,3 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
1 |
#manage_form fieldset {
|
2 |
clear: both;
|
3 |
float: left;
|
1 |
+
#TB_window,
|
2 |
+
#TB_overlay {
|
3 |
+
z-index: 10200;
|
4 |
+
}
|
5 |
+
|
6 |
#manage_form fieldset {
|
7 |
clear: both;
|
8 |
float: left;
|
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: http://web-dorado.com/
|
8 |
* License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
|
9 |
*/
|
@@ -161,7 +161,7 @@ if (class_exists('WP_Widget')) {
|
|
161 |
// Activate plugin.
|
162 |
function form_maker_activate() {
|
163 |
$version = get_option("wd_form_maker_version");
|
164 |
-
$new_version = '1.7.
|
165 |
if (!$version) {
|
166 |
add_option("wd_form_maker_version", $new_version, '', 'no');
|
167 |
global $wpdb;
|
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.17
|
7 |
* Author: http://web-dorado.com/
|
8 |
* License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
|
9 |
*/
|
161 |
// Activate plugin.
|
162 |
function form_maker_activate() {
|
163 |
$version = get_option("wd_form_maker_version");
|
164 |
+
$new_version = '1.7.17';
|
165 |
if (!$version) {
|
166 |
add_option("wd_form_maker_version", $new_version, '', 'no');
|
167 |
global $wpdb;
|
form_maker_insert.php
CHANGED
@@ -55,7 +55,7 @@ function from_maker_insert() {
|
|
55 |
`mail_attachment` tinyint(4) NOT NULL DEFAULT '1',
|
56 |
`mail_attachment_user` tinyint(4) NOT NULL DEFAULT '1',
|
57 |
PRIMARY KEY (`id`)
|
58 |
-
)
|
59 |
$wpdb->query($formmaker);
|
60 |
$plugin_path = WD_FM_URL;
|
61 |
install_demo_forms();
|
@@ -68,7 +68,7 @@ function from_maker_insert() {
|
|
68 |
`date` datetime NOT NULL,
|
69 |
`ip` varchar(32) NOT NULL,
|
70 |
PRIMARY KEY (`id`)
|
71 |
-
)
|
72 |
$wpdb->query($formmaker_submits);
|
73 |
|
74 |
$formmaker_themes = "CREATE TABLE IF NOT EXISTS `" . $wpdb->prefix . "formmaker_themes` (
|
@@ -77,7 +77,7 @@ function from_maker_insert() {
|
|
77 |
`css` text NOT NULL,
|
78 |
`default` tinyint(4) NOT NULL,
|
79 |
PRIMARY KEY (`id`)
|
80 |
-
)
|
81 |
$wpdb->query($formmaker_themes);
|
82 |
|
83 |
$formmaker_blocked = "CREATE TABLE IF NOT EXISTS `" . $wpdb->prefix . "formmaker_blocked` (
|
@@ -132,7 +132,7 @@ function from_maker_insert() {
|
|
132 |
`form_id` int(11) NOT NULL,
|
133 |
`views` int(50) NOT NULL,
|
134 |
PRIMARY KEY (`form_id`)
|
135 |
-
)
|
136 |
$wpdb->query($formmaker_views);
|
137 |
|
138 |
$formmaker_sessions = "CREATE TABLE IF NOT EXISTS `" . $wpdb->prefix . "formmaker_sessions` (
|
@@ -160,7 +160,7 @@ function from_maker_insert() {
|
|
160 |
`total` float NOT NULL,
|
161 |
`currency` varchar(24) NOT NULL,
|
162 |
PRIMARY KEY (`id`)
|
163 |
-
)
|
164 |
$wpdb->query($formmaker_sessions);
|
165 |
|
166 |
$formmaker_query = "CREATE TABLE IF NOT EXISTS `" . $wpdb->prefix . "formmaker_query` (
|
55 |
`mail_attachment` tinyint(4) NOT NULL DEFAULT '1',
|
56 |
`mail_attachment_user` tinyint(4) NOT NULL DEFAULT '1',
|
57 |
PRIMARY KEY (`id`)
|
58 |
+
) DEFAULT CHARSET=utf8;";
|
59 |
$wpdb->query($formmaker);
|
60 |
$plugin_path = WD_FM_URL;
|
61 |
install_demo_forms();
|
68 |
`date` datetime NOT NULL,
|
69 |
`ip` varchar(32) NOT NULL,
|
70 |
PRIMARY KEY (`id`)
|
71 |
+
) DEFAULT CHARSET=utf8;";
|
72 |
$wpdb->query($formmaker_submits);
|
73 |
|
74 |
$formmaker_themes = "CREATE TABLE IF NOT EXISTS `" . $wpdb->prefix . "formmaker_themes` (
|
77 |
`css` text NOT NULL,
|
78 |
`default` tinyint(4) NOT NULL,
|
79 |
PRIMARY KEY (`id`)
|
80 |
+
) DEFAULT CHARSET=utf8;";
|
81 |
$wpdb->query($formmaker_themes);
|
82 |
|
83 |
$formmaker_blocked = "CREATE TABLE IF NOT EXISTS `" . $wpdb->prefix . "formmaker_blocked` (
|
132 |
`form_id` int(11) NOT NULL,
|
133 |
`views` int(50) NOT NULL,
|
134 |
PRIMARY KEY (`form_id`)
|
135 |
+
) DEFAULT CHARSET=utf8;";
|
136 |
$wpdb->query($formmaker_views);
|
137 |
|
138 |
$formmaker_sessions = "CREATE TABLE IF NOT EXISTS `" . $wpdb->prefix . "formmaker_sessions` (
|
160 |
`total` float NOT NULL,
|
161 |
`currency` varchar(24) NOT NULL,
|
162 |
PRIMARY KEY (`id`)
|
163 |
+
) DEFAULT CHARSET=utf8;";
|
164 |
$wpdb->query($formmaker_sessions);
|
165 |
|
166 |
$formmaker_query = "CREATE TABLE IF NOT EXISTS `" . $wpdb->prefix . "formmaker_query` (
|
form_maker_update.php
CHANGED
@@ -116,14 +116,14 @@ function form_maker_update_until_mvc() {
|
|
116 |
`form_id` int(11) NOT NULL,
|
117 |
`views` int(50) NOT NULL,
|
118 |
PRIMARY KEY (`form_id`)
|
119 |
-
)
|
120 |
$form_maker_theme_table = "CREATE TABLE IF NOT EXISTS `" . $wpdb->prefix . "formmaker_themes` (
|
121 |
`id` int(11) NOT NULL AUTO_INCREMENT,
|
122 |
`title` varchar(200) NOT NULL,
|
123 |
`css` text NOT NULL,
|
124 |
`default` tinyint(4) NOT NULL,
|
125 |
PRIMARY KEY (`id`)
|
126 |
-
)
|
127 |
$table_name = $wpdb->prefix . "formmaker_themes";
|
128 |
$plugin_path = WD_FM_URL;
|
129 |
if ($wpdb->get_var("SHOW TABLES LIKE '" . $wpdb->prefix . "formmaker_themes'") != $wpdb->prefix . "formmaker_themes")
|
@@ -422,7 +422,7 @@ function before_reset()
|
|
422 |
`total` varchar(200) NOT NULL,
|
423 |
`currency` varchar(24) NOT NULL,
|
424 |
PRIMARY KEY (`id`)
|
425 |
-
)
|
426 |
$wpdb->query($form_maker_sessions_table);
|
427 |
if (!get_site_option('formmaker_cureent_version')) {
|
428 |
// if ($wpdb->get_var("SHOW TABLES LIKE '" . $wpdb->prefix . "formmaker_themes'") == $wpdb->prefix . "formmaker_themes")
|
116 |
`form_id` int(11) NOT NULL,
|
117 |
`views` int(50) NOT NULL,
|
118 |
PRIMARY KEY (`form_id`)
|
119 |
+
) DEFAULT CHARSET=utf8";
|
120 |
$form_maker_theme_table = "CREATE TABLE IF NOT EXISTS `" . $wpdb->prefix . "formmaker_themes` (
|
121 |
`id` int(11) NOT NULL AUTO_INCREMENT,
|
122 |
`title` varchar(200) NOT NULL,
|
123 |
`css` text NOT NULL,
|
124 |
`default` tinyint(4) NOT NULL,
|
125 |
PRIMARY KEY (`id`)
|
126 |
+
) DEFAULT CHARSET=utf8 AUTO_INCREMENT=17";
|
127 |
$table_name = $wpdb->prefix . "formmaker_themes";
|
128 |
$plugin_path = WD_FM_URL;
|
129 |
if ($wpdb->get_var("SHOW TABLES LIKE '" . $wpdb->prefix . "formmaker_themes'") != $wpdb->prefix . "formmaker_themes")
|
422 |
`total` varchar(200) NOT NULL,
|
423 |
`currency` varchar(24) NOT NULL,
|
424 |
PRIMARY KEY (`id`)
|
425 |
+
) DEFAULT CHARSET=utf8 AUTO_INCREMENT=17";
|
426 |
$wpdb->query($form_maker_sessions_table);
|
427 |
if (!get_site_option('formmaker_cureent_version')) {
|
428 |
// if ($wpdb->get_var("SHOW TABLES LIKE '" . $wpdb->prefix . "formmaker_themes'") == $wpdb->prefix . "formmaker_themes")
|
frontend/views/FMViewForm_maker.php
CHANGED
@@ -1165,7 +1165,7 @@ class FMViewForm_maker {
|
|
1165 |
}
|
1166 |
if (isset($w_disabled_fields[5]) && $w_disabled_fields[5]=='no') {
|
1167 |
$g++;
|
1168 |
-
$address_fields .= '<span style="float: '.(($g%2==0) ? 'right' : 'left').'; width: 48%; padding-bottom: 8px;display: inline-block;"><select type="text" id="wdform_'.$id1.'_country'.$form_id.'" name="wdform_'.($id1+5).'_country'.$form_id.'" style="width:100%" '.$param['attributes'].'>'.$w_options.'</select><label class="mini_label">'.$w_mini_labels[5].'</span>';
|
1169 |
}
|
1170 |
$rep.='</div><div class="wdform-element-section '.$param['w_class'].'" style="'.$param['w_field_label_pos2'].' width: '.$param['w_size'].'px;"><div>
|
1171 |
'.$address_fields.'</div></div></div>';
|
@@ -1988,10 +1988,10 @@ class FMViewForm_maker {
|
|
1988 |
$param['w_field_label_pos1'] = ($param['w_field_label_pos']=="left" ? "float: left;" : "");
|
1989 |
$param['w_field_label_pos2'] = ($param['w_field_label_pos']=="left" ? "" : "display:block;");
|
1990 |
|
1991 |
-
$rep ='<div type="type_mark_map" class="wdform-field" style="width:'.$wdformfieldsize.'px"><div class="wdform-label-section" style="'.$param['w_field_label_pos1'].'; width: '.$param['w_field_label_size'].'px;"><span class="wdform-label">'.$label.'</span></div><div class="wdform-element-section '.$param['w_class'].'" style="'.$param['w_field_label_pos2'].' width: '.$param['w_width'].'px;"><input type="hidden" id="wdform_'.$id1.'_long'.$form_id.'" name="wdform_'.$id1.'_long'.$form_id.'" value="'.$param['w_long'].'"><input type="hidden" id="wdform_'.$id1.'_lat'.$form_id.'" name="wdform_'.$id1.'_lat'.$form_id.'" value="'.$param['w_lat'].'"><div id="wdform_'.$id1.'_element'.$form_id.'" long0="'.$param['w_long'].'" lat0="'.$param['w_lat'].'" zoom="'.$param['w_zoom'].'" info0="'
|
1992 |
|
1993 |
$onload_js .='if_gmap_init("wdform_'.$id1.'", '.$form_id.');';
|
1994 |
-
$onload_js .='add_marker_on_map("wdform_'.$id1.'", 0, "'.$param['w_long'].'", "'.$param['w_lat'].'", "'
|
1995 |
|
1996 |
break;
|
1997 |
}
|
@@ -2017,7 +2017,7 @@ class FMViewForm_maker {
|
|
2017 |
$param['w_lat'] = explode('***',$param['w_lat']);
|
2018 |
$param['w_info'] = explode('***',$param['w_info']);
|
2019 |
foreach($param['w_long'] as $key => $w_long ) {
|
2020 |
-
$marker.='long'.$key.'="'.$w_long.'" lat'.$key.'="'.$param['w_lat'][$key].'" info'.$key.'="'
|
2021 |
}
|
2022 |
|
2023 |
$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>';
|
@@ -2025,7 +2025,7 @@ class FMViewForm_maker {
|
|
2025 |
$onload_js .='if_gmap_init("wdform_'.$id1.'", '.$form_id.');';
|
2026 |
|
2027 |
foreach($param['w_long'] as $key => $w_long ) {
|
2028 |
-
$onload_js .='add_marker_on_map("wdform_'.$id1.'",'.$key.', "'.$w_long.'", "'.$param['w_lat'][$key].'", "'
|
2029 |
}
|
2030 |
break;
|
2031 |
}
|
1165 |
}
|
1166 |
if (isset($w_disabled_fields[5]) && $w_disabled_fields[5]=='no') {
|
1167 |
$g++;
|
1168 |
+
$address_fields .= '<span style="float: '.(($g%2==0) ? 'right' : 'left').'; width: 48%; padding-bottom: 8px;display: inline-block;"><select type="text" id="wdform_'.$id1.'_country'.$form_id.'" name="wdform_'.($id1+5).'_country'.$form_id.'" style="width:100%" '.$param['attributes'].'>'.$w_options.'</select><label class="mini_label">'.$w_mini_labels[5].'</label></span>';
|
1169 |
}
|
1170 |
$rep.='</div><div class="wdform-element-section '.$param['w_class'].'" style="'.$param['w_field_label_pos2'].' width: '.$param['w_size'].'px;"><div>
|
1171 |
'.$address_fields.'</div></div></div>';
|
1988 |
$param['w_field_label_pos1'] = ($param['w_field_label_pos']=="left" ? "float: left;" : "");
|
1989 |
$param['w_field_label_pos2'] = ($param['w_field_label_pos']=="left" ? "" : "display:block;");
|
1990 |
|
1991 |
+
$rep ='<div type="type_mark_map" class="wdform-field" style="width:'.$wdformfieldsize.'px"><div class="wdform-label-section" style="'.$param['w_field_label_pos1'].'; width: '.$param['w_field_label_size'].'px;"><span class="wdform-label">'.$label.'</span></div><div class="wdform-element-section '.$param['w_class'].'" style="'.$param['w_field_label_pos2'].' width: '.$param['w_width'].'px;"><input type="hidden" id="wdform_'.$id1.'_long'.$form_id.'" name="wdform_'.$id1.'_long'.$form_id.'" value="'.$param['w_long'].'"><input type="hidden" id="wdform_'.$id1.'_lat'.$form_id.'" name="wdform_'.$id1.'_lat'.$form_id.'" value="'.$param['w_lat'].'"><div id="wdform_'.$id1.'_element'.$form_id.'" long0="'.$param['w_long'].'" lat0="'.$param['w_lat'].'" zoom="'.$param['w_zoom'].'" info0="'.str_replace(array("\r\n", "\n", "\r"), '<br />', $param['w_info']).'" center_x="'.$param['w_center_x'].'" center_y="'.$param['w_center_y'].'" style="width: 100%; height: '.$param['w_height'].'px;" '.$param['attributes'].'></div></div></div> ';
|
1992 |
|
1993 |
$onload_js .='if_gmap_init("wdform_'.$id1.'", '.$form_id.');';
|
1994 |
+
$onload_js .='add_marker_on_map("wdform_'.$id1.'", 0, "'.$param['w_long'].'", "'.$param['w_lat'].'", "'.str_replace(array("\r\n", "\n", "\r"), '<br />', $param['w_info']).'", '.$form_id.',true);';
|
1995 |
|
1996 |
break;
|
1997 |
}
|
2017 |
$param['w_lat'] = explode('***',$param['w_lat']);
|
2018 |
$param['w_info'] = explode('***',$param['w_info']);
|
2019 |
foreach($param['w_long'] as $key => $w_long ) {
|
2020 |
+
$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]).'"';
|
2021 |
}
|
2022 |
|
2023 |
$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>';
|
2025 |
$onload_js .='if_gmap_init("wdform_'.$id1.'", '.$form_id.');';
|
2026 |
|
2027 |
foreach($param['w_long'] as $key => $w_long ) {
|
2028 |
+
$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);';
|
2029 |
}
|
2030 |
break;
|
2031 |
}
|
js/form_maker_manage.js
CHANGED
@@ -908,7 +908,7 @@ function add_condition(ids1, labels1, types1, params1, all_ids, all_labels)
|
|
908 |
|
909 |
var add_img = document.createElement('img');
|
910 |
add_img.setAttribute('src',plugin_url + '/images/add.png');
|
911 |
-
add_img.setAttribute('onClick','add_condition_fields("'+num+'", "'+ids1+'", "'+labels1+'", "'+types1.replace(/\'/g,"\\'")+'", "'+params1.replace(/\'/g,"\\'")+'")');
|
912 |
add_img.style.cssText = "cursor: pointer; vertical-align: middle;";
|
913 |
|
914 |
var delete_img = document.createElement('img');
|
908 |
|
909 |
var add_img = document.createElement('img');
|
910 |
add_img.setAttribute('src',plugin_url + '/images/add.png');
|
911 |
+
add_img.setAttribute('onClick','add_condition_fields("'+num+'", "'+ids1+'", "'+labels1.replace(/\'/g,"\\'").replace(/\"/g,""")+'", "'+types1.replace(/\'/g,"\\'")+'", "'+params1.replace(/\'/g,"\\'")+'")');
|
912 |
add_img.style.cssText = "cursor: pointer; vertical-align: middle;";
|
913 |
|
914 |
var delete_img = document.createElement('img');
|
js/formmaker_div_free.js
CHANGED
@@ -2598,6 +2598,7 @@ function change_func(id, label) {
|
|
2598 |
}
|
2599 |
|
2600 |
function change_in_value(id, label) {
|
|
|
2601 |
document.getElementById(id).setAttribute("value", label);
|
2602 |
}
|
2603 |
|
@@ -29658,6 +29659,7 @@ function gen_form_fields()
|
|
29658 |
if(document.getElementById(id+"_elementform_id_temp"+k).getAttribute('other')=='1')
|
29659 |
w_allow_other_num=tt;
|
29660 |
w_choices[tt]=document.getElementById(id+"_elementform_id_temp"+k).value;
|
|
|
29661 |
if(w_choices[tt][w_choices[tt].length-1]==' ')
|
29662 |
w_choices[tt]=w_choices[tt].substring(0, w_choices[tt].length-1);
|
29663 |
w_choices_checked[tt]=document.getElementById(id+"_elementform_id_temp"+k).checked;
|
2598 |
}
|
2599 |
|
2600 |
function change_in_value(id, label) {
|
2601 |
+
label = label.replace(/"/g, """);
|
2602 |
document.getElementById(id).setAttribute("value", label);
|
2603 |
}
|
2604 |
|
29659 |
if(document.getElementById(id+"_elementform_id_temp"+k).getAttribute('other')=='1')
|
29660 |
w_allow_other_num=tt;
|
29661 |
w_choices[tt]=document.getElementById(id+"_elementform_id_temp"+k).value;
|
29662 |
+
w_choices[tt] = w_choices[tt].replace(/"/g, """);
|
29663 |
if(w_choices[tt][w_choices[tt].length-1]==' ')
|
29664 |
w_choices[tt]=w_choices[tt].substring(0, w_choices[tt].length-1);
|
29665 |
w_choices_checked[tt]=document.getElementById(id+"_elementform_id_temp"+k).checked;
|
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.0
|
7 |
-
Stable tag: 1.7.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -111,8 +111,12 @@ Survey tools are also very convenient for adding rating systems for the posts, e
|
|
111 |
* Submissions section displays the amount of entries, as well as views and conversion rate for each separate form.
|
112 |
* Conditional fileds.
|
113 |
* CC and BCC mail options for sending out the submitted form
|
114 |
-
*
|
115 |
-
|
|
|
|
|
|
|
|
|
116 |
Upgrade to [WordPress Form Maker Pro](http://web-dorado.com/products/wordpress-form.html) to add features:
|
117 |
|
118 |
* unlimited number of form fields
|
@@ -214,6 +218,8 @@ In case you are upgrading your Form Maker to paid version, but still want to pre
|
|
214 |
8. Form Maker - Select form Columns
|
215 |
|
216 |
== Changelog ==
|
|
|
|
|
217 |
|
218 |
= 1.7.16 =
|
219 |
show submitter information in popup (Country, CountryCode, City, Latitude, Longitude)
|
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.0
|
7 |
+
Stable tag: 1.7.17
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
111 |
* Submissions section displays the amount of entries, as well as views and conversion rate for each separate form.
|
112 |
* Conditional fileds.
|
113 |
* CC and BCC mail options for sending out the submitted form
|
114 |
+
* 41 responsive theme with customizable design
|
115 |
+
* Displaying the country, country code and other date in the Submissions section IP pop-up
|
116 |
+
* MySQL Mapping possibility for storing entered data to another MySQL database.
|
117 |
+
* Possibility to choose whether to save the data to database or just have the information emailed to the Administrator.
|
118 |
+
* Possibility to insert separate Country select list for the custom fields rather than address.
|
119 |
+
|
120 |
Upgrade to [WordPress Form Maker Pro](http://web-dorado.com/products/wordpress-form.html) to add features:
|
121 |
|
122 |
* unlimited number of form fields
|
218 |
8. Form Maker - Select form Columns
|
219 |
|
220 |
== Changelog ==
|
221 |
+
= 1.7.17 =
|
222 |
+
bug fixed in condition fileds
|
223 |
|
224 |
= 1.7.16 =
|
225 |
show submitter information in popup (Country, CountryCode, City, Latitude, Longitude)
|