Contact Form by WD – responsive drag & drop contact form builder tool - Version 1.7.17

Version Description

Download this release

Release Info

Developer webdorado
Plugin Icon 128x128 Contact Form by WD – responsive drag & drop contact form builder tool
Version 1.7.17
Comparing to
See all releases

Code changes from version 1.7.16 to 1.7.17

admin/controllers/FMControllerFromeditcountryinpopup_fmc.php DELETED
@@ -1,43 +0,0 @@
1
- <?php
2
-
3
- class FMControllerFromeditcountryinpopup {
4
- ////////////////////////////////////////////////////////////////////////////////////////
5
- // Events //
6
- ////////////////////////////////////////////////////////////////////////////////////////
7
- ////////////////////////////////////////////////////////////////////////////////////////
8
- // Constants //
9
- ////////////////////////////////////////////////////////////////////////////////////////
10
- ////////////////////////////////////////////////////////////////////////////////////////
11
- // Variables //
12
- ////////////////////////////////////////////////////////////////////////////////////////
13
- ////////////////////////////////////////////////////////////////////////////////////////
14
- // Constructor & Destructor //
15
- ////////////////////////////////////////////////////////////////////////////////////////
16
- public function __construct() {
17
- }
18
- ////////////////////////////////////////////////////////////////////////////////////////
19
- // Public Methods //
20
- ////////////////////////////////////////////////////////////////////////////////////////
21
- public function execute() {
22
- $this->display();
23
- }
24
-
25
- public function display() {
26
- require_once WD_FMC_DIR . "/admin/models/FMModelFromeditcountryinpopup.php";
27
- $model = new FMModelFromeditcountryinpopup();
28
-
29
- require_once WD_FMC_DIR . "/admin/views/FMViewFromeditcountryinpopup.php";
30
- $view = new FMViewFromeditcountryinpopup($model);
31
- $view->display();
32
- }
33
-
34
- ////////////////////////////////////////////////////////////////////////////////////////
35
- // Getters & Setters //
36
- ////////////////////////////////////////////////////////////////////////////////////////
37
- ////////////////////////////////////////////////////////////////////////////////////////
38
- // Private Methods //
39
- ////////////////////////////////////////////////////////////////////////////////////////
40
- ////////////////////////////////////////////////////////////////////////////////////////
41
- // Listeners //
42
- ////////////////////////////////////////////////////////////////////////////////////////
43
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
admin/controllers/FMControllerFrommapeditinpopup_fmc.php CHANGED
@@ -1,6 +1,6 @@
1
  <?php
2
 
3
- class FMControllerFrommapeditinpopup {
4
  ////////////////////////////////////////////////////////////////////////////////////////
5
  // Events //
6
  ////////////////////////////////////////////////////////////////////////////////////////
@@ -23,11 +23,11 @@ class FMControllerFrommapeditinpopup {
23
  }
24
 
25
  public function display() {
26
- require_once WD_FMC_DIR . "/admin/models/FMModelFrommapeditinpopup.php";
27
- $model = new FMModelFrommapeditinpopup();
28
 
29
- require_once WD_FMC_DIR . "/admin/views/FMViewFrommapeditinpopup.php";
30
- $view = new FMViewFrommapeditinpopup($model);
31
  $view->display();
32
  }
33
 
1
  <?php
2
 
3
+ class FMControllerFrommapeditinpopup_fmc {
4
  ////////////////////////////////////////////////////////////////////////////////////////
5
  // Events //
6
  ////////////////////////////////////////////////////////////////////////////////////////
23
  }
24
 
25
  public function display() {
26
+ require_once WD_FMC_DIR . "/admin/models/FMModelFrommapeditinpopup_fmc.php";
27
+ $model = new FMModelFrommapeditinpopup_fmc();
28
 
29
+ require_once WD_FMC_DIR . "/admin/views/FMViewFrommapeditinpopup_fmc.php";
30
+ $view = new FMViewFrommapeditinpopup_fmc($model);
31
  $view->display();
32
  }
33
 
admin/controllers/FMControllerGenerete_csv_fmc.php CHANGED
@@ -24,10 +24,10 @@ class FMControllerGenerete_csv_fmc {
24
 
25
  public function display() {
26
  require_once WD_FMC_DIR . "/admin/models/FMModelGenerete_csv_fmc.php";
27
- $model = new FMModelGenerete_csv();
28
 
29
  require_once WD_FMC_DIR . "/admin/views/FMViewGenerete_csv_fmc.php";
30
- $view = new FMViewGenerete_csv($model);
31
  $view->display();
32
  }
33
 
24
 
25
  public function display() {
26
  require_once WD_FMC_DIR . "/admin/models/FMModelGenerete_csv_fmc.php";
27
+ $model = new FMModelGenerete_csv_fmc();
28
 
29
  require_once WD_FMC_DIR . "/admin/views/FMViewGenerete_csv_fmc.php";
30
+ $view = new FMViewGenerete_csv_fmc($model);
31
  $view->display();
32
  }
33
 
admin/controllers/FMControllerGenerete_xml_fmc.php CHANGED
@@ -24,10 +24,10 @@ class FMControllerGenerete_xml_fmc {
24
 
25
  public function display() {
26
  require_once WD_FMC_DIR . "/admin/models/FMModelGenerete_xml_fmc.php";
27
- $model = new FMModelGenerete_xml();
28
 
29
  require_once WD_FMC_DIR . "/admin/views/FMViewGenerete_xml_fmc.php";
30
- $view = new FMViewGenerete_xml($model);
31
  $view->display();
32
  }
33
 
24
 
25
  public function display() {
26
  require_once WD_FMC_DIR . "/admin/models/FMModelGenerete_xml_fmc.php";
27
+ $model = new FMModelGenerete_xml_fmc();
28
 
29
  require_once WD_FMC_DIR . "/admin/views/FMViewGenerete_xml_fmc.php";
30
+ $view = new FMViewGenerete_xml_fmc($model);
31
  $view->display();
32
  }
33
 
admin/controllers/FMControllerShow_matrix_fmc.php DELETED
@@ -1,43 +0,0 @@
1
- <?php
2
-
3
- class FMControllerShow_matrix {
4
- ////////////////////////////////////////////////////////////////////////////////////////
5
- // Events //
6
- ////////////////////////////////////////////////////////////////////////////////////////
7
- ////////////////////////////////////////////////////////////////////////////////////////
8
- // Constants //
9
- ////////////////////////////////////////////////////////////////////////////////////////
10
- ////////////////////////////////////////////////////////////////////////////////////////
11
- // Variables //
12
- ////////////////////////////////////////////////////////////////////////////////////////
13
- ////////////////////////////////////////////////////////////////////////////////////////
14
- // Constructor & Destructor //
15
- ////////////////////////////////////////////////////////////////////////////////////////
16
- public function __construct() {
17
- }
18
- ////////////////////////////////////////////////////////////////////////////////////////
19
- // Public Methods //
20
- ////////////////////////////////////////////////////////////////////////////////////////
21
- public function execute() {
22
- $this->display();
23
- }
24
-
25
- public function display() {
26
- require_once WD_FMC_DIR . "/admin/models/FMModelShow_matrix.php";
27
- $model = new FMModelShow_matrix();
28
-
29
- require_once WD_FMC_DIR . "/admin/views/FMViewShow_matrix.php";
30
- $view = new FMViewShow_matrix($model);
31
- $view->display();
32
- }
33
-
34
- ////////////////////////////////////////////////////////////////////////////////////////
35
- // Getters & Setters //
36
- ////////////////////////////////////////////////////////////////////////////////////////
37
- ////////////////////////////////////////////////////////////////////////////////////////
38
- // Private Methods //
39
- ////////////////////////////////////////////////////////////////////////////////////////
40
- ////////////////////////////////////////////////////////////////////////////////////////
41
- // Listeners //
42
- ////////////////////////////////////////////////////////////////////////////////////////
43
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
admin/models/FMModelFromeditcountryinpopup_fmc.php DELETED
@@ -1,31 +0,0 @@
1
- <?php
2
-
3
- class FMModelFromeditcountryinpopup {
4
- ////////////////////////////////////////////////////////////////////////////////////////
5
- // Events //
6
- ////////////////////////////////////////////////////////////////////////////////////////
7
- ////////////////////////////////////////////////////////////////////////////////////////
8
- // Constants //
9
- ////////////////////////////////////////////////////////////////////////////////////////
10
- ////////////////////////////////////////////////////////////////////////////////////////
11
- // Variables //
12
- ////////////////////////////////////////////////////////////////////////////////////////
13
- ////////////////////////////////////////////////////////////////////////////////////////
14
- // Constructor & Destructor //
15
- ////////////////////////////////////////////////////////////////////////////////////////
16
- public function __construct() {
17
- }
18
- ////////////////////////////////////////////////////////////////////////////////////////
19
- // Public Methods //
20
- ////////////////////////////////////////////////////////////////////////////////////////
21
-
22
- ////////////////////////////////////////////////////////////////////////////////////////
23
- // Getters & Setters //
24
- ////////////////////////////////////////////////////////////////////////////////////////
25
- ////////////////////////////////////////////////////////////////////////////////////////
26
- // Private Methods //
27
- ////////////////////////////////////////////////////////////////////////////////////////
28
- ////////////////////////////////////////////////////////////////////////////////////////
29
- // Listeners //
30
- ////////////////////////////////////////////////////////////////////////////////////////
31
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
admin/models/FMModelFrommapeditinpopup_fmc.php CHANGED
@@ -1,6 +1,6 @@
1
  <?php
2
 
3
- class FMModelFrommapeditinpopup {
4
  ////////////////////////////////////////////////////////////////////////////////////////
5
  // Events //
6
  ////////////////////////////////////////////////////////////////////////////////////////
1
  <?php
2
 
3
+ class FMModelFrommapeditinpopup_fmc {
4
  ////////////////////////////////////////////////////////////////////////////////////////
5
  // Events //
6
  ////////////////////////////////////////////////////////////////////////////////////////
admin/models/FMModelGenerete_csv_fmc.php CHANGED
@@ -1,6 +1,6 @@
1
  <?php
2
 
3
- class FMModelGenerete_csv {
4
  ////////////////////////////////////////////////////////////////////////////////////////
5
  // Events //
6
  ////////////////////////////////////////////////////////////////////////////////////////
1
  <?php
2
 
3
+ class FMModelGenerete_csv_fmc {
4
  ////////////////////////////////////////////////////////////////////////////////////////
5
  // Events //
6
  ////////////////////////////////////////////////////////////////////////////////////////
admin/models/FMModelGenerete_xml_fmc.php CHANGED
@@ -1,6 +1,6 @@
1
  <?php
2
 
3
- class FMModelGenerete_xml {
4
  ////////////////////////////////////////////////////////////////////////////////////////
5
  // Events //
6
  ////////////////////////////////////////////////////////////////////////////////////////
1
  <?php
2
 
3
+ class FMModelGenerete_xml_fmc {
4
  ////////////////////////////////////////////////////////////////////////////////////////
5
  // Events //
6
  ////////////////////////////////////////////////////////////////////////////////////////
admin/models/FMModelShow_matrix_fmc.php DELETED
@@ -1,31 +0,0 @@
1
- <?php
2
-
3
- class FMModelShow_matrix {
4
- ////////////////////////////////////////////////////////////////////////////////////////
5
- // Events //
6
- ////////////////////////////////////////////////////////////////////////////////////////
7
- ////////////////////////////////////////////////////////////////////////////////////////
8
- // Constants //
9
- ////////////////////////////////////////////////////////////////////////////////////////
10
- ////////////////////////////////////////////////////////////////////////////////////////
11
- // Variables //
12
- ////////////////////////////////////////////////////////////////////////////////////////
13
- ////////////////////////////////////////////////////////////////////////////////////////
14
- // Constructor & Destructor //
15
- ////////////////////////////////////////////////////////////////////////////////////////
16
- public function __construct() {
17
- }
18
- ////////////////////////////////////////////////////////////////////////////////////////
19
- // Public Methods //
20
- ////////////////////////////////////////////////////////////////////////////////////////
21
-
22
- ////////////////////////////////////////////////////////////////////////////////////////
23
- // Getters & Setters //
24
- ////////////////////////////////////////////////////////////////////////////////////////
25
- ////////////////////////////////////////////////////////////////////////////////////////
26
- // Private Methods //
27
- ////////////////////////////////////////////////////////////////////////////////////////
28
- ////////////////////////////////////////////////////////////////////////////////////////
29
- // Listeners //
30
- ////////////////////////////////////////////////////////////////////////////////////////
31
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
admin/views/FMViewFromeditcountryinpopup_fmc.php DELETED
@@ -1,141 +0,0 @@
1
- <?php
2
-
3
- class FMViewFromeditcountryinpopup {
4
- ////////////////////////////////////////////////////////////////////////////////////////
5
- // Events //
6
- ////////////////////////////////////////////////////////////////////////////////////////
7
- ////////////////////////////////////////////////////////////////////////////////////////
8
- // Constants //
9
- ////////////////////////////////////////////////////////////////////////////////////////
10
- ////////////////////////////////////////////////////////////////////////////////////////
11
- // Variables //
12
- ////////////////////////////////////////////////////////////////////////////////////////
13
- private $model;
14
-
15
-
16
- ////////////////////////////////////////////////////////////////////////////////////////
17
- // Constructor & Destructor //
18
- ////////////////////////////////////////////////////////////////////////////////////////
19
- public function __construct($model) {
20
- $this->model = $model;
21
- }
22
- ////////////////////////////////////////////////////////////////////////////////////////
23
- // Public Methods //
24
- ////////////////////////////////////////////////////////////////////////////////////////
25
- public function display() {
26
- $id = ((isset($_GET['field_id'])) ? esc_html(stripslashes($_GET['field_id'])) : 0);
27
- wp_print_scripts('jquery');
28
- wp_print_scripts('jquery-ui-core');
29
- wp_print_scripts('jquery-ui-widget');
30
- wp_print_scripts('jquery-ui-mouse');
31
- wp_print_scripts('jquery-ui-slider');
32
- wp_print_scripts('jquery-ui-sortable');
33
- ?>
34
- <span style="position: absolute; right: 8px;">
35
- <img title="Add" style="cursor: pointer; vertical-align: middle;" src="<?php echo WD_FMC_URL . '/images/save.png'; ?>" onClick="save_list()" />
36
- <img title="Cancel" style=" cursor: pointer; vertical-align: middle;" src="<?php echo WD_FMC_URL . '/images/cancel_but.png'; ?>" onClick="window.parent.tb_remove();" />
37
- </span>
38
- <button class="button-secondary" onClick="select_all()">Select all</button>
39
- <button class="button-secondary" onClick="remove_all()">Remove all</button>
40
- <ul id="countries_list" style="list-style: none; padding: 0px;"></ul>
41
- <script>
42
- selec_coutries = [];
43
- coutries = ["", "Afghanistan", "Albania", "Algeria", "Andorra", "Angola", "Antigua and Barbuda", "Argentina", "Armenia", "Australia", "Austria", "Azerbaijan", "Bahamas", "Bahrain", "Bangladesh", "Barbados", "Belarus", "Belgium", "Belize", "Benin", "Bhutan", "Bolivia", "Bosnia and Herzegovina", "Botswana", "Brazil", "Brunei", "Bulgaria", "Burkina Faso", "Burundi", "Cambodia", "Cameroon", "Canada", "Cape Verde", "Central African Republic", "Chad", "Chile", "China", "Colombi", "Comoros", "Congo (Brazzaville)", "Congo", "Costa Rica", "Cote d'Ivoire", "Croatia", "Cuba", "Cyprus", "Czech Republic", "Denmark", "Djibouti", "Dominica", "Dominican Republic", "East Timor (Timor Timur)", "Ecuador", "Egypt", "El Salvador", "Equatorial Guinea", "Eritrea", "Estonia", "Ethiopia", "Fiji", "Finland", "France", "Gabon", "Gambia, The", "Georgia", "Germany", "Ghana", "Greece", "Grenada", "Guatemala", "Guinea", "Guinea-Bissau", "Guyana", "Haiti", "Honduras", "Hungary", "Iceland", "India", "Indonesia", "Iran", "Iraq", "Ireland", "Israel", "Italy", "Jamaica", "Japan", "Jordan", "Kazakhstan", "Kenya", "Kiribati", "Korea, North", "Korea, South", "Kuwait", "Kyrgyzstan", "Laos", "Latvia", "Lebanon", "Lesotho", "Liberia", "Libya", "Liechtenstein", "Lithuania", "Luxembourg", "Macedonia", "Madagascar", "Malawi", "Malaysia", "Maldives", "Mali", "Malta", "Marshall Islands", "Mauritania", "Mauritius", "Mexico", "Micronesia", "Moldova", "Monaco", "Mongolia", "Morocco", "Mozambique", "Myanmar", "Namibia", "Nauru", "Nepa", "Netherlands", "New Zealand", "Nicaragua", "Niger", "Nigeria", "Norway", "Oman", "Pakistan", "Palau", "Panama", "Papua New Guinea", "Paraguay", "Peru", "Philippines", "Poland", "Portugal", "Qatar", "Romania", "Russia", "Rwanda", "Saint Kitts and Nevis", "Saint Lucia", "Saint Vincent", "Samoa", "San Marino", "Sao Tome and Principe", "Saudi Arabia", "Senegal", "Serbia and Montenegro", "Seychelles", "Sierra Leone", "Singapore", "Slovakia", "Slovenia", "Solomon Islands", "Somalia", "South Africa", "Spain", "Sri Lanka", "Sudan", "Suriname", "Swaziland", "Sweden", "Switzerland", "Syria", "Taiwan", "Tajikistan", "Tanzania", "Thailand", "Togo", "Tonga", "Trinidad and Tobago", "Tunisia", "Turkey", "Turkmenistan", "Tuvalu", "Uganda", "Ukraine", "United Arab Emirates", "United Kingdom", "United States", "Uruguay", "Uzbekistan", "Vanuatu", "Vatican City", "Venezuela", "Vietnam", "Yemen", "Zambia", "Zimbabwe"];
44
- select_ = window.parent.document.getElementById('<?php echo $id ?>_elementform_id_temp');
45
- n = select_.childNodes.length;
46
- for (i = 0; i < n; i++) {
47
- selec_coutries.push(select_.childNodes[i].value);
48
- var ch = document.createElement('input');
49
- ch.setAttribute("type", "checkbox");
50
- ch.setAttribute("checked", "checked");
51
- ch.value = select_.childNodes[i].value;
52
- ch.id = i + "ch";
53
- //ch.setAttribute("id",i);
54
- var p = document.createElement('span');
55
- p.style.cssText = "color:#000000; font-size: 13px; cursor:move";
56
- p.innerHTML = select_.childNodes[i].value;
57
- var li = document.createElement('li');
58
- li.style.cssText = "margin:3px; vertical-align:middle";
59
- li.id = i;
60
- li.appendChild(ch);
61
- li.appendChild(p);
62
- document.getElementById('countries_list').appendChild(li);
63
- }
64
- cur = i;
65
- m = coutries.length;
66
- for (i = 0; i < m; i++) {
67
- isin = isValueInArray(selec_coutries, coutries[i]);
68
- if (!isin) {
69
- var ch = document.createElement('input');
70
- ch.setAttribute("type", "checkbox");
71
- ch.value = coutries[i];
72
- ch.id = cur + "ch";
73
-
74
- var p = document.createElement('span');
75
- p.style.cssText = "color:#000000; font-size: 13px; cursor:move";
76
- p.innerHTML = coutries[i];
77
- var li = document.createElement('li');
78
- li.style.cssText = "margin:3px; vertical-align:middle";
79
- li.id = cur;
80
- li.appendChild(ch);
81
- li.appendChild(p);
82
- document.getElementById('countries_list').appendChild(li);
83
- cur++;
84
- }
85
- }
86
- jQuery(function () {
87
- jQuery("#countries_list").sortable();
88
- jQuery("#countries_list").disableSelection();
89
- });
90
-
91
- function isValueInArray(arr, val) {
92
- inArray = false;
93
- for (x = 0; x < arr.length; x++) {
94
- if (val == arr[x]) {
95
- inArray = true;
96
- }
97
- }
98
- return inArray;
99
- }
100
- function save_list() {
101
- select_.innerHTML = ""
102
- ul = document.getElementById('countries_list');
103
- n = ul.childNodes.length;
104
- for (i = 0; i < n; i++) {
105
- if (ul.childNodes[i].tagName == "LI") {
106
- id = ul.childNodes[i].id;
107
- if (document.getElementById(id + 'ch').checked) {
108
- var option_ = document.createElement('option');
109
- option_.setAttribute("value", document.getElementById(id + 'ch').value);
110
- option_.innerHTML = document.getElementById(id + 'ch').value;
111
- select_.appendChild(option_);
112
- }
113
- }
114
- }
115
- window.parent.tb_remove();
116
- }
117
- function select_all() {
118
- for (i = 0; i < 194; i++) {
119
- document.getElementById(i + 'ch').checked = true;
120
- }
121
- }
122
- function remove_all() {
123
- for (i = 0; i < 194; i++) {
124
- document.getElementById(i + 'ch').checked = false;
125
- }
126
- }
127
- </script>
128
- <?php
129
- die();
130
- }
131
-
132
- ////////////////////////////////////////////////////////////////////////////////////////
133
- // Getters & Setters //
134
- ////////////////////////////////////////////////////////////////////////////////////////
135
- ////////////////////////////////////////////////////////////////////////////////////////
136
- // Private Methods //
137
- ////////////////////////////////////////////////////////////////////////////////////////
138
- ////////////////////////////////////////////////////////////////////////////////////////
139
- // Listeners //
140
- ////////////////////////////////////////////////////////////////////////////////////////
141
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
admin/views/FMViewFrommapeditinpopup_fmc.php CHANGED
@@ -1,6 +1,6 @@
1
  <?php
2
 
3
- class FMViewFrommapeditinpopup {
4
  ////////////////////////////////////////////////////////////////////////////////////////
5
  // Events //
6
  ////////////////////////////////////////////////////////////////////////////////////////
1
  <?php
2
 
3
+ class FMViewFrommapeditinpopup_fmc {
4
  ////////////////////////////////////////////////////////////////////////////////////////
5
  // Events //
6
  ////////////////////////////////////////////////////////////////////////////////////////
admin/views/FMViewGenerete_csv_fmc.php CHANGED
@@ -1,6 +1,6 @@
1
  <?php
2
 
3
- class FMViewGenerete_csv {
4
  ////////////////////////////////////////////////////////////////////////////////////////
5
  // Events //
6
  ////////////////////////////////////////////////////////////////////////////////////////
1
  <?php
2
 
3
+ class FMViewGenerete_csv_fmc {
4
  ////////////////////////////////////////////////////////////////////////////////////////
5
  // Events //
6
  ////////////////////////////////////////////////////////////////////////////////////////
admin/views/FMViewGenerete_xml_fmc.php CHANGED
@@ -1,6 +1,6 @@
1
  <?php
2
 
3
- class FMViewGenerete_xml {
4
  ////////////////////////////////////////////////////////////////////////////////////////
5
  // Events //
6
  ////////////////////////////////////////////////////////////////////////////////////////
1
  <?php
2
 
3
+ class FMViewGenerete_xml_fmc{
4
  ////////////////////////////////////////////////////////////////////////////////////////
5
  // Events //
6
  ////////////////////////////////////////////////////////////////////////////////////////
admin/views/FMViewManage_fmc.php CHANGED
@@ -434,7 +434,7 @@ class FMViewManage_fmc {
434
  </div>
435
 
436
  <div class="formmaker_table" width="100%">
437
- <div style="float: left; text-align: center;"><br />
438
  <span class="cfm_logo cfm_black">Contact</span>
439
  <span class="cfm_logo cfm_white">Form</span>
440
  <span class="cfm_logo cfm_black">Maker</span><br /><br />
@@ -1368,7 +1368,7 @@ class FMViewManage_fmc {
1368
  </div>
1369
 
1370
  <div class="formmaker_table" width="100%">
1371
- <div style="float: left; text-align: center;"><br />
1372
  <span class="cfm_logo cfm_black">Contact</span>
1373
  <span class="cfm_logo cfm_white">Form</span>
1374
  <span class="cfm_logo cfm_black">Maker</span><br /><br />
@@ -3456,7 +3456,7 @@ class FMViewManage_fmc {
3456
  ?>
3457
  <div>
3458
  <span style="font-size:13px;">Add Condition<span/>
3459
- <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;">
3460
  </div>
3461
  <?php
3462
 
@@ -3492,7 +3492,7 @@ class FMViewManage_fmc {
3492
  </select>
3493
 
3494
  <span>of the following match:</span>
3495
- <img src="<?php echo WD_FMC_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 $chose_paramss; ?>')" style="cursor: pointer; vertical-align: middle;">
3496
 
3497
  <img src="<?php echo WD_FMC_URL . '/images/page_delete.png'; ?>" onclick="delete_condition('<?php echo $k; ?>')" style="cursor: pointer; vertical-align: middle;">
3498
  </div>
@@ -3512,7 +3512,7 @@ class FMViewManage_fmc {
3512
 
3513
  ?>
3514
  <div id="condition_div<?php echo $k; ?>_<?php echo $key; ?>">
3515
- <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 $chose_paramss; ?>')" style="width:350px;"/>
3516
  <?php
3517
  foreach($labels as $key1 => $value)
3518
  {
434
  </div>
435
 
436
  <div class="formmaker_table" width="100%">
437
+ <div style="float: left; text-align: left;"><br />
438
  <span class="cfm_logo cfm_black">Contact</span>
439
  <span class="cfm_logo cfm_white">Form</span>
440
  <span class="cfm_logo cfm_black">Maker</span><br /><br />
1368
  </div>
1369
 
1370
  <div class="formmaker_table" width="100%">
1371
+ <div style="float: left; text-align: left;"><br />
1372
  <span class="cfm_logo cfm_black">Contact</span>
1373
  <span class="cfm_logo cfm_white">Form</span>
1374
  <span class="cfm_logo cfm_black">Maker</span><br /><br />
3456
  ?>
3457
  <div>
3458
  <span style="font-size:13px;">Add Condition<span/>
3459
+ <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;">
3460
  </div>
3461
  <?php
3462
 
3492
  </select>
3493
 
3494
  <span>of the following match:</span>
3495
+ <img src="<?php echo WD_FMC_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;">
3496
 
3497
  <img src="<?php echo WD_FMC_URL . '/images/page_delete.png'; ?>" onclick="delete_condition('<?php echo $k; ?>')" style="cursor: pointer; vertical-align: middle;">
3498
  </div>
3512
 
3513
  ?>
3514
  <div id="condition_div<?php echo $k; ?>_<?php echo $key; ?>">
3515
+ <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;"/>
3516
  <?php
3517
  foreach($labels as $key1 => $value)
3518
  {
admin/views/FMViewShow_matrix_fmc.php DELETED
@@ -1,127 +0,0 @@
1
- <?php
2
-
3
- class FMViewShow_matrix {
4
- ////////////////////////////////////////////////////////////////////////////////////////
5
- // Events //
6
- ////////////////////////////////////////////////////////////////////////////////////////
7
- ////////////////////////////////////////////////////////////////////////////////////////
8
- // Constants //
9
- ////////////////////////////////////////////////////////////////////////////////////////
10
- ////////////////////////////////////////////////////////////////////////////////////////
11
- // Variables //
12
- ////////////////////////////////////////////////////////////////////////////////////////
13
- private $model;
14
-
15
-
16
- ////////////////////////////////////////////////////////////////////////////////////////
17
- // Constructor & Destructor //
18
- ////////////////////////////////////////////////////////////////////////////////////////
19
- public function __construct($model) {
20
- $this->model = $model;
21
- }
22
- ////////////////////////////////////////////////////////////////////////////////////////
23
- // Public Methods //
24
- ////////////////////////////////////////////////////////////////////////////////////////
25
- public function display() {
26
- $matrix_params = ((isset($_GET['matrix_params'])) ? esc_html(stripslashes($_GET['matrix_params'])) : 0);
27
- $new_filename = str_replace("***matrix***", '', $matrix_params);
28
- $new_filename = explode('***', $matrix_params);
29
- $mat_params = array_slice($new_filename, 0, count($new_filename) - 1);
30
- $mat_rows = $mat_params[0];
31
- $mat_columns = $mat_params[$mat_rows + 1];
32
- ?>
33
- <table style="margin: 0 auto;">
34
- <tr>
35
- <td></td>
36
- <?php
37
- for ($k = 1; $k <= $mat_columns; $k++) {
38
- ?>
39
- <td style="background-color: #BBBBBB; padding: 5px;"><?php echo $mat_params[$mat_rows + 1 + $k]; ?></td>
40
- <?php
41
- }
42
- ?>
43
- </tr>
44
- <?php
45
- $aaa = Array();
46
- $var_checkbox = 1;
47
- for ($k = 1; $k <= $mat_rows; $k++) {
48
- ?>
49
- <tr>
50
- <td style="background-color: #BBBBBB; padding: 5px; "><?php echo $mat_params[$k]; ?></td>
51
- <?php
52
- if ($mat_params[$mat_rows + $mat_columns + 2] == "radio") {
53
- if ($mat_params[$mat_rows + $mat_columns + 2 + $k] == 0) {
54
- $checked = 0;
55
- $aaa[1] = "";
56
- }
57
- else {
58
- $aaa = explode("_", $mat_params[$mat_rows + $mat_columns + 2 + $k]);
59
- }
60
- for ($l = 1; $l <= $mat_columns; $l++) {
61
- if ($aaa[1] == $l) {
62
- $checked = "checked";
63
- }
64
- else {
65
- $checked = "";
66
- }
67
- ?>
68
- <td style="text-align: center;"><input type="radio" <?php echo $checked; ?> disabled /></td>
69
- <?php
70
- }
71
- }
72
- else {
73
- if ($mat_params[$mat_rows + $mat_columns + 2] == "checkbox") {
74
- for ($l = 1; $l <= $mat_columns; $l++) {
75
- if ($mat_params[$mat_rows+$mat_columns + 2 + $var_checkbox] == "1") {
76
- $checked = "checked";
77
- }
78
- else {
79
- $checked = "";
80
- }
81
- ?>
82
- <td style="text-align:center"><input type="checkbox" <?php echo $checked; ?> disabled /></td>
83
- <?php
84
- $var_checkbox++;
85
- }
86
- }
87
- else {
88
- if ($mat_params[$mat_rows + $mat_columns + 2] == "text") {
89
- for ($l = 1; $l <= $mat_columns; $l++) {
90
- $checked = $mat_params[$mat_rows + $mat_columns + 2 + $var_checkbox];
91
- ?>
92
- <td style="text-align:center"><input type="text" value="<?php echo $checked; ?>" disabled /></td>
93
- <?php
94
- $var_checkbox++;
95
- }
96
- }
97
- else {
98
- for ($l = 1; $l <= $mat_columns; $l++) {
99
- $checked = $mat_params[$mat_rows + $mat_columns + 2 + $var_checkbox];
100
- ?>
101
- <td style="text-align: center;"><?php echo $checked; ?></td>
102
- <?php
103
- $var_checkbox++;
104
- }
105
- }
106
- }
107
- }
108
- ?>
109
- </tr>
110
- <?php
111
- }
112
- ?>
113
- </table>
114
- <?php
115
- die();
116
- }
117
-
118
- ////////////////////////////////////////////////////////////////////////////////////////
119
- // Getters & Setters //
120
- ////////////////////////////////////////////////////////////////////////////////////////
121
- ////////////////////////////////////////////////////////////////////////////////////////
122
- // Private Methods //
123
- ////////////////////////////////////////////////////////////////////////////////////////
124
- ////////////////////////////////////////////////////////////////////////////////////////
125
- // Listeners //
126
- ////////////////////////////////////////////////////////////////////////////////////////
127
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
admin/views/FMViewSubmissions_fmc.php CHANGED
@@ -456,7 +456,7 @@ class FMViewSubmissions_fmc {
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_fmc', 'data_ip' => $data->ip, 'width' => '400', 'height' => '300', 'TB_iframe' => '1'), admin_url('admin-ajax.php')); ?>" title="Show submitter information"><?php echo $data->ip; ?></a>
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_fmc', '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++) {
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.16
7
  * Author: http://web-dorado.com/
8
  * License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
9
  */
@@ -60,18 +60,10 @@ add_action('wp_ajax_generete_xml_fmc', 'form_maker_ajax_cfm'); // Export xml.
60
  add_action('wp_ajax_FormMakerPreview_fmc', 'form_maker_ajax_cfm');
61
  add_action('wp_ajax_formcontactwdcaptcha', 'form_maker_ajax_cfm'); // Generete captcha image and save it code in session.
62
  add_action('wp_ajax_nopriv_formcontactwdcaptcha', 'form_maker_ajax_cfm'); // Generete captcha image and save it code in session for all users.
63
- // add_action('wp_ajax_paypal_info', 'form_maker_ajax_cfm'); // Paypal info in submissions page.
64
- add_action('wp_ajax_fromeditcountryinpopup_fmc', 'form_maker_ajax_cfm'); // Open country list.
65
- add_action('wp_ajax_product_option_fmc', 'form_maker_ajax_cfm'); // Open product options on add paypal field.
66
  add_action('wp_ajax_frommapeditinpopup_fmc', 'form_maker_ajax_cfm'); // Open map in submissions.
67
  add_action('wp_ajax_fromipinfoinpopup_fmc', 'form_maker_ajax_cfm'); // Open ip in submissions.
68
- add_action('wp_ajax_show_matrix_fmc', 'form_maker_ajax_cfm'); // Edit matrix in submissions.
69
  add_action('wp_ajax_FormMakerEditCSS_fmc', 'form_maker_ajax_cfm'); // Edit css from form options.
70
 
71
- // add_action('wp_ajax_checkpaypal', 'form_maker_ajax_cfm'); // Notify url from Paypal Sandbox.
72
- // add_action('wp_ajax_nopriv_checkpaypal', 'form_maker_ajax_cfm'); // Notify url from Paypal Sandbox for all users.
73
-
74
-
75
  function form_maker_ajax_cfm() {
76
  require_once(WD_FMC_DIR . '/framework/WDW_FMC_Library.php');
77
  $page = WDW_FMC_Library::get('action');
@@ -181,7 +173,7 @@ if (class_exists('WP_Widget')) {
181
  // Activate plugin.
182
  function form_maker_activate_cfm() {
183
  $version = get_option("wd_form_maker_version");
184
- $new_version = '1.7.16';
185
  if (!$version) {
186
  add_option("wd_form_maker_version", $new_version, '', 'no');
187
  global $wpdb;
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.17
7
  * Author: http://web-dorado.com/
8
  * License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
9
  */
60
  add_action('wp_ajax_FormMakerPreview_fmc', 'form_maker_ajax_cfm');
61
  add_action('wp_ajax_formcontactwdcaptcha', 'form_maker_ajax_cfm'); // Generete captcha image and save it code in session.
62
  add_action('wp_ajax_nopriv_formcontactwdcaptcha', 'form_maker_ajax_cfm'); // Generete captcha image and save it code in session for all users.
 
 
 
63
  add_action('wp_ajax_frommapeditinpopup_fmc', 'form_maker_ajax_cfm'); // Open map in submissions.
64
  add_action('wp_ajax_fromipinfoinpopup_fmc', 'form_maker_ajax_cfm'); // Open ip in submissions.
 
65
  add_action('wp_ajax_FormMakerEditCSS_fmc', 'form_maker_ajax_cfm'); // Edit css from form options.
66
 
 
 
 
 
67
  function form_maker_ajax_cfm() {
68
  require_once(WD_FMC_DIR . '/framework/WDW_FMC_Library.php');
69
  $page = WDW_FMC_Library::get('action');
173
  // Activate plugin.
174
  function form_maker_activate_cfm() {
175
  $version = get_option("wd_form_maker_version");
176
+ $new_version = '1.7.17';
177
  if (!$version) {
178
  add_option("wd_form_maker_version", $new_version, '', 'no');
179
  global $wpdb;
js/form_maker_manage.js CHANGED
@@ -890,7 +890,7 @@ function add_condition(ids1, labels1, types1, params1, all_ids, all_labels)
890
 
891
  var add_img = document.createElement('img');
892
  add_img.setAttribute('src',fmc_plugin_url + '/images/add.png');
893
- add_img.setAttribute('onClick','add_condition_fields("'+num+'", "'+ids1+'", "'+labels1+'", "'+types1.replace(/\'/g,"\\'")+'", "'+params1.replace(/\'/g,"\\'")+'")');
894
  add_img.style.cssText = "cursor: pointer; vertical-align: middle;";
895
 
896
  var delete_img = document.createElement('img');
890
 
891
  var add_img = document.createElement('img');
892
  add_img.setAttribute('src',fmc_plugin_url + '/images/add.png');
893
+ add_img.setAttribute('onClick','add_condition_fields("'+num+'", "'+ids1+'", "'+labels1.replace(/\'/g,"\\'").replace(/\"/g,"&quot;")+'", "'+types1.replace(/\'/g,"\\'")+'", "'+params1.replace(/\'/g,"\\'")+'")');
894
  add_img.style.cssText = "cursor: pointer; vertical-align: middle;";
895
 
896
  var delete_img = document.createElement('img');
readme.txt CHANGED
@@ -3,17 +3,16 @@ Contributors: webdorado
3
  Donate link: http://web-dorado.com/products/wordpress-contact-form-maker-plugin.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 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.16
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
11
  WordPress Contact Form Maker is a simple contact form builder, which allows the user with almost no knowledge of programming to create and edit different type of contact forms.
12
 
13
  == Description ==
14
-
15
- ### [WordPress Contact Form Maker](http://web-dorado.com/products/wordpress-contact-form-maker-plugin.html)
16
-
17
  WordPress Contact Form Maker is a simple contact form builder, which allows the user with almost no knowledge of programming to create and edit different type of contact forms. The product is similar to the WordPress Form Maker using most of its functionality, whereas there are also some differences. If want to build complicated contact forms with various field types like Date, Time, Single choice, Multiple choice, etc., than you can use [WordPress Form Builder](http://wordpress.org/extend/plugins/form-maker).
18
 
19
  The number of fields for the Contact Form Maker is unlimited and having large amount of fields will not cause any malfunctioning of the contact form. You can add different types of contact form fields, including inputs (e.g. e-mail, password, textarea, text input and etc.), Captcha (as well as possibility of adding Google standard ReCaptcha), custom and standard buttons, as well as Map field.
@@ -23,7 +22,6 @@ WordPress Contact Form Maker uses simple and easy to manage backend interface, t
23
  This contact form builder will be equally fit the needs of the novice and experienced developers and designers.
24
 
25
  The product has cross-browser compatibility, which allows using the Contact form for with any browser.
26
-
27
  ###IMPORTANT: If you think you found a bug in the Contact Form Maker or have any problem or question concerning Contact Form Maker, do not hesitate to contact us at [info@web-dorado.com](mailto:info@web-dorado.com).
28
 
29
 
3
  Donate link: http://web-dorado.com/products/wordpress-contact-form-maker-plugin.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 maker with recaptcha, contact form with google map, feedback form, feedback forms, contact us
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
 
11
  WordPress Contact Form Maker is a simple contact form builder, which allows the user with almost no knowledge of programming to create and edit different type of contact forms.
12
 
13
  == Description ==
14
+ [WordPress Contact Form Maker](http://web-dorado.com/products/wordpress-contact-form-maker-plugin.html)
15
+
 
16
  WordPress Contact Form Maker is a simple contact form builder, which allows the user with almost no knowledge of programming to create and edit different type of contact forms. The product is similar to the WordPress Form Maker using most of its functionality, whereas there are also some differences. If want to build complicated contact forms with various field types like Date, Time, Single choice, Multiple choice, etc., than you can use [WordPress Form Builder](http://wordpress.org/extend/plugins/form-maker).
17
 
18
  The number of fields for the Contact Form Maker is unlimited and having large amount of fields will not cause any malfunctioning of the contact form. You can add different types of contact form fields, including inputs (e.g. e-mail, password, textarea, text input and etc.), Captcha (as well as possibility of adding Google standard ReCaptcha), custom and standard buttons, as well as Map field.
22
  This contact form builder will be equally fit the needs of the novice and experienced developers and designers.
23
 
24
  The product has cross-browser compatibility, which allows using the Contact form for with any browser.
 
25
  ###IMPORTANT: If you think you found a bug in the Contact Form Maker or have any problem or question concerning Contact Form Maker, do not hesitate to contact us at [info@web-dorado.com](mailto:info@web-dorado.com).
26
 
27