Version Description
- Obsolete Code removed
- Unused Files removed
- Code Optimized
Download this release
Release Info
Developer | contact-banker |
Plugin | Contact Bank: WordPress Form Builder for Contact Forms |
Version | 2.1.30 |
Comparing to | |
See all releases |
Code changes from version 2.1.29 to 2.1.30
- contact-bank.php +1 -1
- lib/contact_view-class.php +0 -1
- readme.txt +8 -2
- views/add_contact_email.php +0 -2
- views/automatic-plugin-update.php +0 -1
- views/contact_bank_form_preview.php +186 -189
- views/contact_bank_layout_settings.php +99 -106
- views/contact_bank_pro_version.php +0 -403
- views/contact_view.php +12 -16
- views/dashboard.php +2 -6
- views/footer.php +3 -3
- views/includes_common_after.php +481 -497
contact-bank.php
CHANGED
@@ -4,7 +4,7 @@ Plugin Name: Contact Bank Lite Edition
|
|
4 |
Plugin URI: http://tech-banker.com
|
5 |
Description: Build Complex, Powerful Contact Forms in Just Seconds. No Programming Knowledge Required! Yeah, It's Really That Easy.
|
6 |
Author: Tech Banker
|
7 |
-
Version: 2.1.
|
8 |
Author URI: http://tech-banker.com
|
9 |
License: GPLv3 or later
|
10 |
*/
|
4 |
Plugin URI: http://tech-banker.com
|
5 |
Description: Build Complex, Powerful Contact Forms in Just Seconds. No Programming Knowledge Required! Yeah, It's Really That Easy.
|
6 |
Author: Tech Banker
|
7 |
+
Version: 2.1.30
|
8 |
Author URI: http://tech-banker.com
|
9 |
License: GPLv3 or later
|
10 |
*/
|
lib/contact_view-class.php
CHANGED
@@ -342,7 +342,6 @@ else
|
|
342 |
{
|
343 |
$id = $element["dynamic_id"];
|
344 |
$control_type = $element["control_type"];
|
345 |
-
|
346 |
if($event == "add")
|
347 |
{
|
348 |
$wpdb->query
|
342 |
{
|
343 |
$id = $element["dynamic_id"];
|
344 |
$control_type = $element["control_type"];
|
|
|
345 |
if($event == "add")
|
346 |
{
|
347 |
$wpdb->query
|
readme.txt
CHANGED
@@ -2,8 +2,8 @@
|
|
2 |
Contributors: contact-banker, Gallery-Bank
|
3 |
Tags: advanced form, best contact form plugin, contact form builder, contact manager, contact us form, custom form, feedback form, web form, contact us, contact bank, contact form, forms
|
4 |
Requires at least: 3.1
|
5 |
-
Tested up to: 4.
|
6 |
-
Stable tag: 2.1.
|
7 |
License: GPLv3 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
9 |
|
@@ -549,6 +549,12 @@ In order to set Shortcode for a Form, you need to follow these steps :
|
|
549 |
|
550 |
== Changelog ==
|
551 |
|
|
|
|
|
|
|
|
|
|
|
|
|
552 |
= 2.1.29 =
|
553 |
|
554 |
* Success Message Redirect Bug Fixed
|
2 |
Contributors: contact-banker, Gallery-Bank
|
3 |
Tags: advanced form, best contact form plugin, contact form builder, contact manager, contact us form, custom form, feedback form, web form, contact us, contact bank, contact form, forms
|
4 |
Requires at least: 3.1
|
5 |
+
Tested up to: 4.7
|
6 |
+
Stable tag: 2.1.30
|
7 |
License: GPLv3 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
9 |
|
549 |
|
550 |
== Changelog ==
|
551 |
|
552 |
+
= 2.1.30 =
|
553 |
+
|
554 |
+
* Obsolete Code removed
|
555 |
+
* Unused Files removed
|
556 |
+
* Code Optimized
|
557 |
+
|
558 |
= 2.1.29 =
|
559 |
|
560 |
* Success Message Redirect Bug Fixed
|
views/add_contact_email.php
CHANGED
@@ -21,7 +21,6 @@ else
|
|
21 |
{
|
22 |
$form_id = isset($_REQUEST["form_id"]) ? intval($_REQUEST["form_id"]) : 0;
|
23 |
isset($_REQUEST["email_id"]) ? $email_id = intval($_REQUEST["email_id"]) : $email_id = "";
|
24 |
-
|
25 |
$fields_email = $wpdb->get_results
|
26 |
(
|
27 |
$wpdb->prepare
|
@@ -374,7 +373,6 @@ else
|
|
374 |
<label class="layout-control-label"><?php _e( "Message", contact_bank ); ?> :</label>
|
375 |
<div class="layout-controls">
|
376 |
<div class="layout-span8">
|
377 |
-
|
378 |
<?php
|
379 |
$distribution = isset($email_data->body_content) ? htmlspecialchars_decode($email_data->body_content) : "";
|
380 |
wp_editor( $distribution, $id ="uxEmailTemplate", array("media_buttons" => true, "textarea_rows" => 8, "tabindex" => 4 ) );
|
21 |
{
|
22 |
$form_id = isset($_REQUEST["form_id"]) ? intval($_REQUEST["form_id"]) : 0;
|
23 |
isset($_REQUEST["email_id"]) ? $email_id = intval($_REQUEST["email_id"]) : $email_id = "";
|
|
|
24 |
$fields_email = $wpdb->get_results
|
25 |
(
|
26 |
$wpdb->prepare
|
373 |
<label class="layout-control-label"><?php _e( "Message", contact_bank ); ?> :</label>
|
374 |
<div class="layout-controls">
|
375 |
<div class="layout-span8">
|
|
|
376 |
<?php
|
377 |
$distribution = isset($email_data->body_content) ? htmlspecialchars_decode($email_data->body_content) : "";
|
378 |
wp_editor( $distribution, $id ="uxEmailTemplate", array("media_buttons" => true, "textarea_rows" => 8, "tabindex" => 4 ) );
|
views/automatic-plugin-update.php
CHANGED
@@ -11,7 +11,6 @@ switch($cb_role)
|
|
11 |
case "author":
|
12 |
$cb_user_role_permission = "publish_posts";
|
13 |
break;
|
14 |
-
|
15 |
}
|
16 |
if (!current_user_can($cb_user_role_permission))
|
17 |
{
|
11 |
case "author":
|
12 |
$cb_user_role_permission = "publish_posts";
|
13 |
break;
|
|
|
14 |
}
|
15 |
if (!current_user_can($cb_user_role_permission))
|
16 |
{
|
views/contact_bank_form_preview.php
CHANGED
@@ -92,76 +92,74 @@ else
|
|
92 |
?>
|
93 |
<style type="text/css">
|
94 |
|
95 |
-
|
96 |
-
|
97 |
-
|
98 |
-
|
99 |
-
|
100 |
-
|
101 |
-
|
102 |
-
|
103 |
-
|
104 |
-
|
105 |
-
|
106 |
.label_control
|
107 |
-
{
|
108 |
-
font-family: <?php echo $layout_settings_array[$form_id]["label_setting_font_family"]; ?> !important;
|
109 |
-
color: <?php echo $layout_settings_array[$form_id]["label_setting_font_color"]; ?> !important;
|
110 |
-
<?php
|
111 |
-
if($layout_settings_array[$form_id]["label_setting_font_style"] == "italic")
|
112 |
-
{
|
113 |
-
?>
|
114 |
-
font-style: <?php echo $layout_settings_array[$form_id]["label_setting_font_style"]; ?> !important;
|
115 |
-
<?php
|
116 |
-
}
|
117 |
-
else
|
118 |
-
{
|
119 |
-
?>
|
120 |
-
font-weight: <?php echo $layout_settings_array[$form_id]["label_setting_font_style"]; ?> !important;
|
121 |
-
<?php
|
122 |
-
}
|
123 |
-
if($layout_settings_array[$form_id]["label_setting_label_position"] == "top")
|
124 |
-
{
|
125 |
-
?>
|
126 |
-
float: none !important;
|
127 |
-
text-align: <?php echo $layout_settings_array[$form_id]["label_setting_font_align_left"] == "0" ? "left" : "right"; ?> !important;
|
128 |
-
<?php
|
129 |
-
}
|
130 |
-
else if($layout_settings_array[$form_id]["label_setting_label_position"] == "right")
|
131 |
-
{
|
132 |
-
?>
|
133 |
-
text-align: right !important;
|
134 |
-
<?php
|
135 |
-
}
|
136 |
-
else
|
137 |
-
{
|
138 |
-
?>
|
139 |
-
text-align: <?php echo $layout_settings_array[$form_id]["label_setting_font_align_left"] == "0" ? "left" : "right"; ?> !important;
|
140 |
-
<?php
|
141 |
-
}
|
142 |
-
?>
|
143 |
-
font-size: <?php echo $layout_settings_array[$form_id]["label_setting_font_size"] . "px"; ?> !important;
|
144 |
-
|
145 |
-
display: <?php echo $layout_settings_array[$form_id]["label_setting_hide_label"] == "0" ? "inline-block" : "none"; ?> !important;
|
146 |
-
direction: <?php echo $layout_settings_array[$form_id]["label_setting_text_direction"]; ?> !important;
|
147 |
-
}
|
148 |
-
.input_control
|
149 |
{
|
150 |
-
|
151 |
-
|
152 |
-
color: <?php echo $layout_settings_array[$form_id]["input_field_font_color"]; ?> !important;
|
153 |
<?php
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
154 |
if($layout_settings_array[$form_id]["input_field_font_style"] == "italic")
|
155 |
{
|
156 |
-
|
157 |
font-style: <?php echo $layout_settings_array[$form_id]["input_field_font_style"]; ?> !important;
|
158 |
-
|
159 |
}
|
160 |
else
|
161 |
{
|
162 |
-
|
163 |
font-weight: <?php echo $layout_settings_array[$form_id]["input_field_font_style"]; ?> !important;
|
164 |
-
|
165 |
}
|
166 |
?>
|
167 |
background-color: <?php echo $layout_settings_array[$form_id]["input_field_clr_bg_color"]; ?> !important;
|
@@ -179,12 +177,11 @@ else
|
|
179 |
{
|
180 |
<?php
|
181 |
if($layout_settings_array[$form_id]["label_setting_label_position"] == "top")
|
182 |
-
|
183 |
-
|
184 |
-
|
185 |
-
|
186 |
}
|
187 |
-
|
188 |
?>
|
189 |
}
|
190 |
.field_description
|
@@ -195,15 +192,15 @@ else
|
|
195 |
<?php
|
196 |
if($layout_settings_array[$form_id]["label_setting_font_style"] == "italic")
|
197 |
{
|
198 |
-
|
199 |
-
|
200 |
-
|
201 |
}
|
202 |
-
|
203 |
{
|
204 |
-
|
205 |
-
|
206 |
-
|
207 |
}
|
208 |
?>
|
209 |
font-size: <?php echo $layout_settings_array[$form_id]["label_setting_field_size"] . "px"; ?> !important;
|
@@ -214,15 +211,15 @@ else
|
|
214 |
<?php
|
215 |
if($layout_settings_array[$form_id]["submit_button_font_style"] == "italic")
|
216 |
{
|
217 |
-
|
218 |
-
|
219 |
-
|
220 |
}
|
221 |
-
|
222 |
{
|
223 |
-
|
224 |
-
|
225 |
-
|
226 |
}
|
227 |
?>
|
228 |
font-family: <?php echo $layout_settings_array[$form_id]["submit_button_font_family"]; ?> !important;
|
@@ -307,123 +304,123 @@ else
|
|
307 |
<div class="widget-layout-title">
|
308 |
<h4><?php echo $form_name ;?></h4>
|
309 |
</div>
|
310 |
-
|
311 |
-
|
312 |
-
|
313 |
<?php
|
314 |
-
|
315 |
-
|
316 |
-
|
317 |
-
|
318 |
-
|
319 |
-
|
320 |
-
|
321 |
-
|
322 |
-
|
323 |
-
|
324 |
-
|
325 |
-
|
326 |
-
|
327 |
-
|
328 |
-
|
329 |
-
|
330 |
-
|
331 |
-
|
332 |
-
|
333 |
|
334 |
case 1:
|
335 |
-
|
336 |
-
|
337 |
-
|
338 |
-
|
339 |
-
|
340 |
-
|
341 |
-
|
342 |
-
|
343 |
-
|
344 |
-
|
345 |
-
|
346 |
-
|
347 |
|
348 |
-
|
349 |
-
|
350 |
-
|
351 |
-
|
352 |
-
|
353 |
-
|
354 |
-
|
355 |
?>
|
356 |
<div class="layout-controls layout_according_label_position">
|
357 |
-
|
358 |
-
|
359 |
-
|
360 |
-
|
361 |
-
|
362 |
-
|
363 |
-
|
364 |
-
|
365 |
|
366 |
-
|
367 |
-
|
368 |
-
|
369 |
-
|
370 |
<?php
|
371 |
break;
|
372 |
case 3:
|
373 |
?>
|
374 |
<div class="layout-controls layout_according_label_position">
|
375 |
-
|
376 |
-
|
377 |
-
|
378 |
-
|
379 |
-
|
380 |
-
|
381 |
-
|
382 |
-
|
383 |
-
|
384 |
<?php
|
385 |
break;
|
386 |
case 4:
|
387 |
$ddl_values = unserialize($control_settings_array[$form_fields[$flag]->column_dynamicId]["cb_dropdown_option_val"]);
|
388 |
-
|
389 |
?>
|
390 |
|
391 |
-
|
392 |
-
|
393 |
-
|
394 |
-
|
395 |
-
|
396 |
-
|
397 |
-
|
398 |
-
|
399 |
-
|
400 |
-
|
401 |
-
|
402 |
-
|
403 |
?>
|
404 |
-
|
405 |
-
|
406 |
<?php
|
407 |
break;
|
408 |
case 5:
|
409 |
$chk_values = unserialize($control_settings_array[$form_fields[$flag]->column_dynamicId]["cb_checkbox_option_val"]);
|
410 |
-
|
411 |
-
|
412 |
{
|
413 |
?>
|
414 |
<div class="layout-controls layout_according_label_position">
|
415 |
<?php
|
416 |
foreach($chk_ids as $key => $value )
|
417 |
-
|
418 |
?>
|
419 |
|
420 |
-
|
421 |
-
|
422 |
-
|
423 |
-
|
424 |
-
|
425 |
-
|
426 |
-
|
427 |
|
428 |
<?php
|
429 |
}
|
@@ -442,40 +439,40 @@ else
|
|
442 |
break;
|
443 |
case 6:
|
444 |
$rdl_values = unserialize($control_settings_array[$form_fields[$flag]->column_dynamicId]["cb_radio_option_val"]);
|
445 |
-
|
446 |
if(count($rdl_ids) > 0)
|
447 |
{
|
448 |
?>
|
449 |
<div class="layout-controls layout_according_label_position">
|
450 |
<?php
|
451 |
foreach($rdl_ids as $key => $value )
|
452 |
-
|
453 |
-
|
454 |
{
|
455 |
?>
|
456 |
-
|
457 |
-
|
458 |
-
|
459 |
-
|
460 |
-
|
461 |
-
|
462 |
-
|
463 |
-
|
464 |
}
|
465 |
else
|
466 |
{
|
467 |
?>
|
468 |
|
469 |
-
|
470 |
-
|
471 |
-
|
472 |
-
|
473 |
-
|
474 |
-
|
475 |
-
|
476 |
|
477 |
|
478 |
-
|
479 |
}
|
480 |
}
|
481 |
?>
|
@@ -493,11 +490,11 @@ else
|
|
493 |
|
494 |
break;
|
495 |
}
|
496 |
-
|
497 |
-
|
498 |
</div>
|
499 |
-
|
500 |
-
|
501 |
?>
|
502 |
</div>
|
503 |
</div>
|
92 |
?>
|
93 |
<style type="text/css">
|
94 |
|
95 |
+
.main_container_form
|
96 |
+
{
|
97 |
+
display: inline-block !important;
|
98 |
+
width: 100% !important;
|
99 |
+
}
|
100 |
+
.cb_form_wrapper
|
101 |
+
{
|
102 |
+
overflow: inherit;
|
103 |
+
margin: 10px 0;
|
104 |
+
max-width: 98%
|
105 |
+
}
|
106 |
.label_control
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
107 |
{
|
108 |
+
font-family: <?php echo $layout_settings_array[$form_id]["label_setting_font_family"]; ?> !important;
|
109 |
+
color: <?php echo $layout_settings_array[$form_id]["label_setting_font_color"]; ?> !important;
|
|
|
110 |
<?php
|
111 |
+
if($layout_settings_array[$form_id]["label_setting_font_style"] == "italic")
|
112 |
+
{
|
113 |
+
?>
|
114 |
+
font-style: <?php echo $layout_settings_array[$form_id]["label_setting_font_style"]; ?> !important;
|
115 |
+
<?php
|
116 |
+
}
|
117 |
+
else
|
118 |
+
{
|
119 |
+
?>
|
120 |
+
font-weight: <?php echo $layout_settings_array[$form_id]["label_setting_font_style"]; ?> !important;
|
121 |
+
<?php
|
122 |
+
}
|
123 |
+
if($layout_settings_array[$form_id]["label_setting_label_position"] == "top")
|
124 |
+
{
|
125 |
+
?>
|
126 |
+
float: none !important;
|
127 |
+
text-align: <?php echo $layout_settings_array[$form_id]["label_setting_font_align_left"] == "0" ? "left" : "right"; ?> !important;
|
128 |
+
<?php
|
129 |
+
}
|
130 |
+
else if($layout_settings_array[$form_id]["label_setting_label_position"] == "right")
|
131 |
+
{
|
132 |
+
?>
|
133 |
+
text-align: right !important;
|
134 |
+
<?php
|
135 |
+
}
|
136 |
+
else
|
137 |
+
{
|
138 |
+
?>
|
139 |
+
text-align: <?php echo $layout_settings_array[$form_id]["label_setting_font_align_left"] == "0" ? "left" : "right"; ?> !important;
|
140 |
+
<?php
|
141 |
+
}
|
142 |
+
?>
|
143 |
+
font-size: <?php echo $layout_settings_array[$form_id]["label_setting_font_size"] . "px"; ?> !important;
|
144 |
+
display: <?php echo $layout_settings_array[$form_id]["label_setting_hide_label"] == "0" ? "inline-block" : "none"; ?> !important;
|
145 |
+
direction: <?php echo $layout_settings_array[$form_id]["label_setting_text_direction"]; ?> !important;
|
146 |
+
}
|
147 |
+
.input_control
|
148 |
+
{
|
149 |
+
font-family: <?php echo $layout_settings_array[$form_id]["input_field_font_family"]; ?> !important;
|
150 |
+
color: <?php echo $layout_settings_array[$form_id]["input_field_font_color"]; ?> !important;
|
151 |
+
<?php
|
152 |
if($layout_settings_array[$form_id]["input_field_font_style"] == "italic")
|
153 |
{
|
154 |
+
?>
|
155 |
font-style: <?php echo $layout_settings_array[$form_id]["input_field_font_style"]; ?> !important;
|
156 |
+
<?php
|
157 |
}
|
158 |
else
|
159 |
{
|
160 |
+
?>
|
161 |
font-weight: <?php echo $layout_settings_array[$form_id]["input_field_font_style"]; ?> !important;
|
162 |
+
<?php
|
163 |
}
|
164 |
?>
|
165 |
background-color: <?php echo $layout_settings_array[$form_id]["input_field_clr_bg_color"]; ?> !important;
|
177 |
{
|
178 |
<?php
|
179 |
if($layout_settings_array[$form_id]["label_setting_label_position"] == "top")
|
180 |
+
{
|
181 |
+
?>
|
182 |
+
margin-left: 0px !important;
|
183 |
+
<?php
|
184 |
}
|
|
|
185 |
?>
|
186 |
}
|
187 |
.field_description
|
192 |
<?php
|
193 |
if($layout_settings_array[$form_id]["label_setting_font_style"] == "italic")
|
194 |
{
|
195 |
+
?>
|
196 |
+
font-style: <?php echo $layout_settings_array[$form_id]["label_setting_font_style"]; ?> !important;
|
197 |
+
<?php
|
198 |
}
|
199 |
+
else
|
200 |
{
|
201 |
+
?>
|
202 |
+
font-weight: <?php echo $layout_settings_array[$form_id]["label_setting_font_style"]; ?> !important;
|
203 |
+
<?php
|
204 |
}
|
205 |
?>
|
206 |
font-size: <?php echo $layout_settings_array[$form_id]["label_setting_field_size"] . "px"; ?> !important;
|
211 |
<?php
|
212 |
if($layout_settings_array[$form_id]["submit_button_font_style"] == "italic")
|
213 |
{
|
214 |
+
?>
|
215 |
+
font-style: <?php echo $layout_settings_array[$form_id]["submit_button_font_style"]; ?> !important;
|
216 |
+
<?php
|
217 |
}
|
218 |
+
else
|
219 |
{
|
220 |
+
?>
|
221 |
+
font-weight: <?php echo $layout_settings_array[$form_id]["submit_button_font_style"]; ?> !important;
|
222 |
+
<?php
|
223 |
}
|
224 |
?>
|
225 |
font-family: <?php echo $layout_settings_array[$form_id]["submit_button_font_family"]; ?> !important;
|
304 |
<div class="widget-layout-title">
|
305 |
<h4><?php echo $form_name ;?></h4>
|
306 |
</div>
|
307 |
+
<div style="margin-left: 15px;" class="layout-control-group">
|
308 |
+
<span class="<?php echo $layout_settings_array[$form_id]["input_field_input_size"]; ?>"><?php echo $form_settings_array[$form_id]["form_description"]; ?></span>
|
309 |
+
</div>
|
310 |
<?php
|
311 |
+
for($flag=0;$flag<count($form_fields);$flag++)
|
312 |
+
{
|
313 |
+
?>
|
314 |
+
<div class="widget-layout-body">
|
315 |
+
<div class="layout-control-group">
|
316 |
+
<label class="label_control layout-control-label">
|
317 |
+
<?php
|
318 |
+
echo $control_settings_array[$form_fields[$flag]->column_dynamicId]["cb_label_value"] . " :";
|
319 |
+
if($control_settings_array[$form_fields[$flag]->column_dynamicId]["cb_control_required"] == "1")
|
320 |
+
{
|
321 |
+
?>
|
322 |
+
<span class="error">*</span>
|
323 |
+
<?php
|
324 |
+
}
|
325 |
+
?>
|
326 |
+
</label>
|
327 |
+
<?php
|
328 |
+
switch($form_fields[$flag]->field_id)
|
329 |
+
{
|
330 |
|
331 |
case 1:
|
332 |
+
?>
|
333 |
+
<div class="layout-controls layout_according_label_position">
|
334 |
+
<input class="hovertip input_control <?php echo $layout_settings_array[$form_id]["input_field_input_size"]; ?>"
|
335 |
+
type="text" id="ux_txt_control_<?php echo $form_fields[$flag]->column_dynamicId; ?>"
|
336 |
+
name="ux_txt_control_<?php echo $form_fields[$flag]->column_dynamicId; ?>"
|
337 |
+
data-original-title="<?php echo $control_settings_array[$form_fields[$flag]->column_dynamicId]["cb_tooltip_txt"]; ?>"
|
338 |
+
placeholder="<?php echo $control_settings_array[$form_fields[$flag]->column_dynamicId]["cb_default_txt_val"];?>"
|
339 |
+
data-alpha="<?php echo $control_settings_array[$form_fields[$flag]->column_dynamicId]["cb_checkbox_alpha_filter"];?>"
|
340 |
+
data-alpha_num="<?php echo $control_settings_array[$form_fields[$flag]->column_dynamicId]["cb_ux_checkbox_alpha_num_filter"];?>"
|
341 |
+
data-digit="<?php echo $control_settings_array[$form_fields[$flag]->column_dynamicId]["cb_checkbox_digit_filter"];?>"
|
342 |
+
data-strip="<?php echo $control_settings_array[$form_fields[$flag]->column_dynamicId]["cb_checkbox_strip_tag_filter"];?>"
|
343 |
+
data-trim="<?php echo $control_settings_array[$form_fields[$flag]->column_dynamicId]["cb_checkbox_trim_filter"];?>"
|
344 |
|
345 |
+
onfocus="prevent_paste(this.id);"/>
|
346 |
+
<br/>
|
347 |
+
<span class="field_description" id="txt_description_"><?php echo $control_settings_array[$form_fields[$flag]->column_dynamicId]["cb_description"]; ?></span>
|
348 |
+
</div>
|
349 |
+
<?php
|
350 |
+
break;
|
351 |
+
case 2:
|
352 |
?>
|
353 |
<div class="layout-controls layout_according_label_position">
|
354 |
+
<textarea class="hovertip input_control <?php echo $layout_settings_array[$form_id]["input_field_input_size"]; ?>" id="ux_textarea_control_<?php echo $form_fields[$flag]->column_dynamicId; ?>"
|
355 |
+
placeholder="<?php echo $control_settings_array[$form_fields[$flag]->column_dynamicId]["cb_default_txt_val"];?>" name="ux_textarea_control_<?php echo $form_fields[$flag]->column_dynamicId; ?>"
|
356 |
+
onfocus="prevent_paste(this.id);"
|
357 |
+
data-alpha="<?php echo $control_settings_array[$form_fields[$flag]->column_dynamicId]["cb_checkbox_alpha_filter"];?>"
|
358 |
+
data-alpha_num="<?php echo $control_settings_array[$form_fields[$flag]->column_dynamicId]["cb_ux_checkbox_alpha_num_filter"];?>"
|
359 |
+
data-digit="<?php echo $control_settings_array[$form_fields[$flag]->column_dynamicId]["cb_checkbox_digit_filter"];?>"
|
360 |
+
data-strip="<?php echo $control_settings_array[$form_fields[$flag]->column_dynamicId]["cb_checkbox_strip_tag_filter"];?>"
|
361 |
+
data-trim="<?php echo $control_settings_array[$form_fields[$flag]->column_dynamicId]["cb_checkbox_trim_filter"];?>"
|
362 |
|
363 |
+
data-original-title="<?php echo $control_settings_array[$form_fields[$flag]->column_dynamicId]["cb_tooltip_txt"]; ?>"></textarea>
|
364 |
+
<br/>
|
365 |
+
<span class="field_description" id="txt_description_"><?php echo $control_settings_array[$form_fields[$flag]->column_dynamicId]["cb_description"]; ?></span>
|
366 |
+
</div>
|
367 |
<?php
|
368 |
break;
|
369 |
case 3:
|
370 |
?>
|
371 |
<div class="layout-controls layout_according_label_position">
|
372 |
+
<input class="hovertip input_control <?php echo $layout_settings_array[$form_id]["input_field_input_size"]; ?>"
|
373 |
+
type="text" id="ux_txt_email_<?php echo $form_fields[$flag]->column_dynamicId; ?>"
|
374 |
+
name="ux_txt_email_<?php echo $form_fields[$flag]->column_dynamicId; ?>"
|
375 |
+
data-original-title="<?php echo $control_settings_array[$form_fields[$flag]->column_dynamicId]["cb_tooltip_txt"]; ?>"
|
376 |
+
placeholder="<?php echo $control_settings_array[$form_fields[$flag]->column_dynamicId]["cb_default_txt_val"];?>"
|
377 |
+
onfocus="prevent_paste(this.id);"/>
|
378 |
+
<br/>
|
379 |
+
<span class="field_description" id="txt_description_"><?php echo $control_settings_array[$form_fields[$flag]->column_dynamicId]["cb_description"]; ?></span>
|
380 |
+
</div>
|
381 |
<?php
|
382 |
break;
|
383 |
case 4:
|
384 |
$ddl_values = unserialize($control_settings_array[$form_fields[$flag]->column_dynamicId]["cb_dropdown_option_val"]);
|
385 |
+
$ddl_ids = unserialize($control_settings_array[$form_fields[$flag]->column_dynamicId]["cb_dropdown_option_id"]);
|
386 |
?>
|
387 |
|
388 |
+
<div class="layout-controls layout_according_label_position">
|
389 |
+
<select class="hovertip input_control <?php echo $layout_settings_array[$form_id]["input_field_input_size"]; ?>" type="select" id="ux_select_default_<?php echo $form_fields[$flag]->column_dynamicId; ?>"
|
390 |
+
data-original-title="<?php echo $control_settings_array[$form_fields[$flag]->column_dynamicId]["cb_tooltip_txt"]; ?>"
|
391 |
+
name="ux_select_default_<?php echo $form_fields[$flag]->column_dynamicId; ?>">
|
392 |
+
<option value=""><?php _e("Select Option", contact_bank); ?></option>
|
393 |
+
<?php
|
394 |
+
foreach($ddl_ids as $key => $value )
|
395 |
+
{
|
396 |
+
?>
|
397 |
+
<option value="<?php echo $ddl_values[$key]; ?>"><?php echo $ddl_values[$key]; ?></option>
|
398 |
+
<?php
|
399 |
+
}
|
400 |
?>
|
401 |
+
</select>
|
402 |
+
</div>
|
403 |
<?php
|
404 |
break;
|
405 |
case 5:
|
406 |
$chk_values = unserialize($control_settings_array[$form_fields[$flag]->column_dynamicId]["cb_checkbox_option_val"]);
|
407 |
+
$chk_ids = unserialize($control_settings_array[$form_fields[$flag]->column_dynamicId]["cb_checkbox_option_id"]);
|
408 |
+
if(count($chk_ids) > 0)
|
409 |
{
|
410 |
?>
|
411 |
<div class="layout-controls layout_according_label_position">
|
412 |
<?php
|
413 |
foreach($chk_ids as $key => $value )
|
414 |
+
{
|
415 |
?>
|
416 |
|
417 |
+
<input type="checkbox" class="hovertip" id="ux_chk_control_<?php echo $value; ?>"
|
418 |
+
data-original-title="<?php echo $control_settings_array[$form_fields[$flag]->column_dynamicId]["cb_tooltip_txt"]; ?>"
|
419 |
+
name="<?php echo $form_fields[$flag]->column_dynamicId; ?>_chk[]"
|
420 |
+
value ="<?php echo $chk_values[$key]; ?>" />
|
421 |
+
<label style="margin:0px;vertical-align: middle;" id="chk_id_<?php echo $value; ?>">
|
422 |
+
<?php echo $chk_values[$key]; ?>
|
423 |
+
</label>
|
424 |
|
425 |
<?php
|
426 |
}
|
439 |
break;
|
440 |
case 6:
|
441 |
$rdl_values = unserialize($control_settings_array[$form_fields[$flag]->column_dynamicId]["cb_radio_option_val"]);
|
442 |
+
$rdl_ids = unserialize($control_settings_array[$form_fields[$flag]->column_dynamicId]["cb_radio_option_id"]);
|
443 |
if(count($rdl_ids) > 0)
|
444 |
{
|
445 |
?>
|
446 |
<div class="layout-controls layout_according_label_position">
|
447 |
<?php
|
448 |
foreach($rdl_ids as $key => $value )
|
449 |
+
{
|
450 |
+
if($layout_settings_array[$form_id]["input_field_rdl_multiple_row"] == "0")
|
451 |
{
|
452 |
?>
|
453 |
+
<input type="radio" class="hovertip" id="ux_rdl_control_<?php echo $value; ?>"
|
454 |
+
name="<?php echo $form_fields[$flag]->column_dynamicId; ?>_rdl"
|
455 |
+
data-original-title="<?php echo $control_settings_array[$form_fields[$flag]->column_dynamicId]["cb_tooltip_txt"]; ?>"
|
456 |
+
value ="<?php echo $rdl_values[$key]; ?>" />
|
457 |
+
<label style="margin:0px;vertical-align: middle;" id="rdl_id_<?php echo $value; ?>">
|
458 |
+
<?php echo $rdl_values[$key]; ?>
|
459 |
+
</label><br>
|
460 |
+
<?php
|
461 |
}
|
462 |
else
|
463 |
{
|
464 |
?>
|
465 |
|
466 |
+
<input type="radio" class="hovertip" id="ux_rdl_control_<?php echo $value; ?>"
|
467 |
+
name="<?php echo $form_fields[$flag]->column_dynamicId; ?>_rdl"
|
468 |
+
data-original-title="<?php echo $control_settings_array[$form_fields[$flag]->column_dynamicId]["cb_tooltip_txt"]; ?>"
|
469 |
+
value ="<?php echo $rdl_values[$key]; ?>" />
|
470 |
+
<label style="margin:0px;vertical-align: middle;" id="rdl_id_<?php echo $value; ?>">
|
471 |
+
<?php echo $rdl_values[$key]; ?>
|
472 |
+
</label>
|
473 |
|
474 |
|
475 |
+
<?php
|
476 |
}
|
477 |
}
|
478 |
?>
|
490 |
|
491 |
break;
|
492 |
}
|
493 |
+
?>
|
494 |
+
</div>
|
495 |
</div>
|
496 |
+
<?php
|
497 |
+
}
|
498 |
?>
|
499 |
</div>
|
500 |
</div>
|
views/contact_bank_layout_settings.php
CHANGED
@@ -59,7 +59,7 @@ else
|
|
59 |
if(isset($_REQUEST["form_id"]) && intval($_REQUEST["form_id"]) == $forms[$flag]->form_id)
|
60 |
{
|
61 |
?>
|
62 |
-
|
63 |
<?php
|
64 |
}
|
65 |
else
|
@@ -119,7 +119,7 @@ else
|
|
119 |
<label class="layout-control-label"><?php _e("Font Color :", contact_bank);?>
|
120 |
<span class="error">*</span>
|
121 |
</label>
|
122 |
-
|
123 |
<input type="text" class="layout-span11" id="ux_clr_font_color" name="ux_clr_font_color" onclick="ux_clr_font_color_label_setting();" value="#000000" style="background-color:#000000;color:#fff;" /><img onclick="ux_clr_font_color_label_setting();" style="vertical-align: middle;margin-left: 5px;" src="<?php echo plugins_url("/assets/images/color.png" , dirname(__FILE__)); ?>" />
|
124 |
<div id="clr_font_color"></div>
|
125 |
</div>
|
@@ -478,8 +478,8 @@ else
|
|
478 |
<div class="layout-span6">
|
479 |
<div class="widget-layout">
|
480 |
<div class="widget-layout-title">
|
481 |
-
|
482 |
-
|
483 |
<a data-target="#submit_settings" data-toggle="collapse">
|
484 |
<i class="icon-custom-arrow-down"></i>
|
485 |
</a>
|
@@ -604,7 +604,7 @@ else
|
|
604 |
<span class="error">*</span>
|
605 |
</label>
|
606 |
<div class="layout-controls">
|
607 |
-
|
608 |
<div id="clr_text_color_submit_button"></div>
|
609 |
</div>
|
610 |
</div>
|
@@ -677,8 +677,8 @@ else
|
|
677 |
<i class="icon-custom-arrow-down"></i>
|
678 |
</a>
|
679 |
</span>
|
680 |
-
|
681 |
-
|
682 |
<div class="widget-layout-body">
|
683 |
<div class="layout-control-group" >
|
684 |
<label class="layout-control-label"><?php _e("Font Family :", contact_bank);?>
|
@@ -700,7 +700,7 @@ else
|
|
700 |
<option value="courier">Courier</option>
|
701 |
<option value="monospace">Monospace</option>
|
702 |
<option value="times">Times</option>
|
703 |
-
|
704 |
</div>
|
705 |
</div>
|
706 |
</div>
|
@@ -742,11 +742,11 @@ else
|
|
742 |
</label>
|
743 |
<div class="layout-controls">
|
744 |
<input type="text" class="layout-span11" id="ux_clr_bg_color_success_msg" name="ux_clr_bg_color_success_msg" onclick="ux_clr_bg_color_sucess_msg_settings();" value="#e5ffd5" style="background-color:#e5ffd5;color:#fff;"/><img onclick="ux_clr_bg_color_sucess_msg_settings();" style="vertical-align: middle;margin-left: 5px;" src="<?php echo plugins_url("/assets/images/color.png" , dirname(__FILE__));?>" />
|
745 |
-
|
746 |
</div>
|
747 |
</div>
|
748 |
</div>
|
749 |
-
|
750 |
<div class="layout-control-group" >
|
751 |
<label class="layout-control-label"><?php _e("Border Color :", contact_bank);?>
|
752 |
<span class="error">*</span>
|
@@ -863,7 +863,7 @@ else
|
|
863 |
</div>
|
864 |
</div>
|
865 |
</div>
|
866 |
-
|
867 |
<div class="layout-control-group" >
|
868 |
<label class="layout-control-label"><?php _e("Background Color :", contact_bank);?>
|
869 |
<span class="error">*</span>
|
@@ -1089,102 +1089,94 @@ if (typeof(OnlyNumbers) != "function")
|
|
1089 |
}
|
1090 |
if (typeof(select_form_layout) != "function")
|
1091 |
{
|
1092 |
-
function select_form_layout()
|
|
|
|
|
|
|
1093 |
{
|
1094 |
-
|
1095 |
-
|
1096 |
-
jQuery.post(ajaxurl, "form_id="+form_id+"¶m=fetch_control_values&action=layout_settings_contact_library", function(data)
|
1097 |
{
|
1098 |
-
|
1099 |
-
|
1100 |
-
|
1101 |
-
|
1102 |
-
|
1103 |
-
|
1104 |
-
|
1105 |
-
|
1106 |
-
|
1107 |
-
|
1108 |
-
|
1109 |
-
|
1110 |
-
|
1111 |
-
|
1112 |
-
|
1113 |
-
|
1114 |
-
|
1115 |
-
|
1116 |
-
|
1117 |
-
|
1118 |
-
|
1119 |
-
|
1120 |
-
|
1121 |
-
|
1122 |
-
|
1123 |
-
|
1124 |
-
|
1125 |
-
|
1126 |
-
|
1127 |
-
|
1128 |
-
|
1129 |
-
|
1130 |
-
|
1131 |
-
|
1132 |
-
|
1133 |
-
|
1134 |
-
|
1135 |
-
|
1136 |
-
|
1137 |
-
|
1138 |
-
|
1139 |
-
|
1140 |
-
|
1141 |
-
|
1142 |
-
|
1143 |
-
|
1144 |
-
|
1145 |
-
|
1146 |
-
|
1147 |
-
|
1148 |
-
|
1149 |
-
|
1150 |
-
|
1151 |
-
|
1152 |
-
|
1153 |
-
|
1154 |
-
|
1155 |
-
|
1156 |
-
|
1157 |
-
|
1158 |
-
|
1159 |
-
|
1160 |
-
|
1161 |
-
|
1162 |
-
|
1163 |
-
|
1164 |
-
|
1165 |
-
|
1166 |
-
|
1167 |
-
|
1168 |
-
|
1169 |
-
|
1170 |
-
|
1171 |
-
|
1172 |
-
|
1173 |
-
|
1174 |
-
|
1175 |
-
|
1176 |
-
|
1177 |
-
|
1178 |
-
|
1179 |
-
jQuery("#ux_clr_border_color_error_msg").css("background-color",dataJson.error_msg_border_color);
|
1180 |
-
jQuery("#ux_clr_border_color_error_msg").css("color","#ffffff");
|
1181 |
-
jQuery("#ux_clr_text_color_error_msg").val(dataJson.error_msg_text_color);
|
1182 |
-
jQuery("#ux_clr_text_color_error_msg").css("background-color",dataJson.error_msg_text_color);
|
1183 |
-
jQuery("#ux_clr_text_color_error_msg").css("color","#ffffff");
|
1184 |
-
dataJson.error_msg_rdl_text_align == "0" ? jQuery("#ux_rdl_font_align_left_error_msg").attr("checked","checked") : jQuery("#ux_rdl_font_align_right_error_msg").attr("checked","checked") ;
|
1185 |
-
jQuery("#ux_ddl_error_msg_direction").val(dataJson.error_msg_text_direction);
|
1186 |
-
}
|
1187 |
-
});
|
1188 |
}
|
1189 |
}
|
1190 |
|
@@ -1197,7 +1189,8 @@ jQuery(document).ready(function()
|
|
1197 |
var form_id = "<?php echo intval($_REQUEST["form_id"]);?>";
|
1198 |
<?php
|
1199 |
}
|
1200 |
-
else
|
|
|
1201 |
?>
|
1202 |
var form_id = "0";
|
1203 |
<?php
|
59 |
if(isset($_REQUEST["form_id"]) && intval($_REQUEST["form_id"]) == $forms[$flag]->form_id)
|
60 |
{
|
61 |
?>
|
62 |
+
<option value="<?php echo $forms[$flag]->form_id ;?>" selected="selected"><?php echo $forms[$flag]->form_name ;?></option>
|
63 |
<?php
|
64 |
}
|
65 |
else
|
119 |
<label class="layout-control-label"><?php _e("Font Color :", contact_bank);?>
|
120 |
<span class="error">*</span>
|
121 |
</label>
|
122 |
+
<div class="layout-controls">
|
123 |
<input type="text" class="layout-span11" id="ux_clr_font_color" name="ux_clr_font_color" onclick="ux_clr_font_color_label_setting();" value="#000000" style="background-color:#000000;color:#fff;" /><img onclick="ux_clr_font_color_label_setting();" style="vertical-align: middle;margin-left: 5px;" src="<?php echo plugins_url("/assets/images/color.png" , dirname(__FILE__)); ?>" />
|
124 |
<div id="clr_font_color"></div>
|
125 |
</div>
|
478 |
<div class="layout-span6">
|
479 |
<div class="widget-layout">
|
480 |
<div class="widget-layout-title">
|
481 |
+
<h4><?php _e( "Submit Button Settings", contact_bank ); ?><i class="widget_premium_feature_contact"><?php _e(" (Available in Premium Editions)", contact_bank); ?></i></h4>
|
482 |
+
<span class="tools">
|
483 |
<a data-target="#submit_settings" data-toggle="collapse">
|
484 |
<i class="icon-custom-arrow-down"></i>
|
485 |
</a>
|
604 |
<span class="error">*</span>
|
605 |
</label>
|
606 |
<div class="layout-controls">
|
607 |
+
<input type="text" class="layout-span11" id="ux_clr_text_color_submit_button" name="ux_clr_text_color_submit_button" onclick="ux_clr_text_color_submit_btn_settings();" value="#ffffff" /><img onclick="ux_clr_text_color_submit_btn_settings();" style="vertical-align: middle;margin-left: 5px;" src="<?php echo plugins_url("/assets/images/color.png" , dirname(__FILE__));?>" />
|
608 |
<div id="clr_text_color_submit_button"></div>
|
609 |
</div>
|
610 |
</div>
|
677 |
<i class="icon-custom-arrow-down"></i>
|
678 |
</a>
|
679 |
</span>
|
680 |
+
</div>
|
681 |
+
<div id="success_settings" class="collapse in">
|
682 |
<div class="widget-layout-body">
|
683 |
<div class="layout-control-group" >
|
684 |
<label class="layout-control-label"><?php _e("Font Family :", contact_bank);?>
|
700 |
<option value="courier">Courier</option>
|
701 |
<option value="monospace">Monospace</option>
|
702 |
<option value="times">Times</option>
|
703 |
+
</select>
|
704 |
</div>
|
705 |
</div>
|
706 |
</div>
|
742 |
</label>
|
743 |
<div class="layout-controls">
|
744 |
<input type="text" class="layout-span11" id="ux_clr_bg_color_success_msg" name="ux_clr_bg_color_success_msg" onclick="ux_clr_bg_color_sucess_msg_settings();" value="#e5ffd5" style="background-color:#e5ffd5;color:#fff;"/><img onclick="ux_clr_bg_color_sucess_msg_settings();" style="vertical-align: middle;margin-left: 5px;" src="<?php echo plugins_url("/assets/images/color.png" , dirname(__FILE__));?>" />
|
745 |
+
<div id="clr_bg_color_success_msg"></div>
|
746 |
</div>
|
747 |
</div>
|
748 |
</div>
|
749 |
+
<div class="widget-layout-body">
|
750 |
<div class="layout-control-group" >
|
751 |
<label class="layout-control-label"><?php _e("Border Color :", contact_bank);?>
|
752 |
<span class="error">*</span>
|
863 |
</div>
|
864 |
</div>
|
865 |
</div>
|
866 |
+
<div class="widget-layout-body">
|
867 |
<div class="layout-control-group" >
|
868 |
<label class="layout-control-label"><?php _e("Background Color :", contact_bank);?>
|
869 |
<span class="error">*</span>
|
1089 |
}
|
1090 |
if (typeof(select_form_layout) != "function")
|
1091 |
{
|
1092 |
+
function select_form_layout()
|
1093 |
+
{
|
1094 |
+
var form_id = jQuery("#ux_ddl_select_form").val();
|
1095 |
+
jQuery.post(ajaxurl, "form_id="+form_id+"¶m=fetch_control_values&action=layout_settings_contact_library", function(data)
|
1096 |
{
|
1097 |
+
if(data != "undefined")
|
|
|
|
|
1098 |
{
|
1099 |
+
var dataJson = jQuery.parseJSON(data);
|
1100 |
+
jQuery("#ux_ddl_font_family").val(dataJson.label_setting_font_family);
|
1101 |
+
jQuery("#ux_clr_font_color").val(dataJson.label_setting_font_color);
|
1102 |
+
jQuery("#ux_clr_font_color").css("background-color",dataJson.label_setting_font_color);
|
1103 |
+
jQuery("#ux_clr_font_color").css("color","#ffffff");
|
1104 |
+
jQuery("#ux_ddl_font_style").val(dataJson.label_setting_font_style);
|
1105 |
+
jQuery("#ux_txt_font_size").val(dataJson.label_setting_font_size);
|
1106 |
+
dataJson.label_setting_font_align_left == "0" ? jQuery("#ux_rdl_font_align_left").attr("checked","checked") : jQuery("#ux_rdl_font_align_right").attr("checked","checked") ;
|
1107 |
+
jQuery("#ux_ddl_label_position").val(dataJson.label_setting_label_position);
|
1108 |
+
jQuery("#ux_ddl_field_size").val(dataJson.label_setting_field_size);
|
1109 |
+
jQuery("#ux_ddl_field_align").val(dataJson.label_setting_field_align);
|
1110 |
+
dataJson.label_setting_hide_label == "1" ? jQuery("#ux_chk_hide_label").attr("checked","checked") : jQuery("#ux_chk_hide_label").removeAttr("checked");
|
1111 |
+
jQuery("#ux_ddl_direction").val(dataJson.label_setting_text_direction);
|
1112 |
+
jQuery("#ux_ddl_font_family_input_field").val(dataJson.input_field_font_family);
|
1113 |
+
jQuery("#ux_clr_text_color_input_field").val(dataJson.input_field_font_color);
|
1114 |
+
jQuery("#ux_clr_text_color_input_field").css("background-color",dataJson.input_field_font_color);
|
1115 |
+
jQuery("#ux_clr_text_color_input_field").css("color","#ffffff");
|
1116 |
+
jQuery("#ux_ddl_font_style_input_field").val(dataJson.input_field_font_style);
|
1117 |
+
jQuery("#ux_txt_font_size_input_field").val(dataJson.input_field_font_size);
|
1118 |
+
jQuery("#ux_txt_border_radius_input_field").val(dataJson.input_field_border_radius);
|
1119 |
+
jQuery("#ux_clr_border_color_input_field").val(dataJson.input_field_border_color);
|
1120 |
+
jQuery("#ux_clr_border_color_input_field").css("background-color",dataJson.input_field_border_color);
|
1121 |
+
jQuery("#ux_clr_border_color_input_field").css("color","#ffffff");
|
1122 |
+
jQuery("#ux_txt_border_size_input_field").val(dataJson.input_field_border_size);
|
1123 |
+
jQuery("#ux_ddl_border_style_input_field").val(dataJson.input_field_border_style);
|
1124 |
+
jQuery("#ux_clr_bg_color_input_field").val(dataJson.input_field_clr_bg_color);
|
1125 |
+
jQuery("#ux_clr_bg_color_input_field").css("background-color",dataJson.input_field_clr_bg_color);
|
1126 |
+
jQuery("#ux_clr_bg_color_input_field").css("color","#000000");
|
1127 |
+
dataJson.input_field_rdl_multiple_row == "0" ? jQuery("#ux_rdl_multiple_row_input_field").attr("checked","checked") : jQuery("#ux_rdl_single_row_input_field").attr("checked","checked");
|
1128 |
+
dataJson.input_field_rdl_text_align == "0" ? jQuery("#ux_rdl_font_align_left_input_field").attr("checked","checked") : jQuery("#ux_rdl_font_align_right_input_field").attr("checked","checked") ;
|
1129 |
+
jQuery("#ux_ddl_input_field_direction").val(dataJson.input_field_text_direction);
|
1130 |
+
jQuery("#ux_input_size_input_field").val(dataJson.input_field_input_size);
|
1131 |
+
jQuery("#ux_ddl_font_family_submit_button").val(dataJson.submit_button_font_family);
|
1132 |
+
jQuery("#ux_txt_text_submit_button").val(dataJson.submit_button_text);
|
1133 |
+
jQuery("#ux_ddl_font_style_submit_button").val(dataJson.submit_button_font_style);
|
1134 |
+
jQuery("#ux_ddl_font_size_submit_button").val(dataJson.submit_button_font_size);
|
1135 |
+
jQuery("#ux_txt_button_width_submit_button").val(dataJson.submit_button_button_width);
|
1136 |
+
jQuery("#ux_clr_bg_color_submit_button").val(dataJson.submit_button_bg_color);
|
1137 |
+
jQuery("#ux_clr_bg_color_submit_button").css("background-color",dataJson.submit_button_bg_color);
|
1138 |
+
jQuery("#ux_clr_bg_color_submit_button").css("color","#ffffff");
|
1139 |
+
jQuery("#ux_clr_hover_bg_color_submit_button").val(dataJson.submit_button_hover_bg_color);
|
1140 |
+
jQuery("#ux_clr_hover_bg_color_submit_button").css("background-color",dataJson.submit_button_hover_bg_color);
|
1141 |
+
jQuery("#ux_clr_hover_bg_color_submit_button").css("color","#ffffff");
|
1142 |
+
jQuery("#ux_clr_text_color_submit_button").val(dataJson.submit_button_text_color);
|
1143 |
+
jQuery("#ux_clr_text_color_submit_button").css("background-color",dataJson.submit_button_text_color);
|
1144 |
+
jQuery("#ux_clr_text_color_submit_button").css("color","#000000");
|
1145 |
+
jQuery("#ux_clr_border_color_submit_button").val(dataJson.submit_button_border_color);
|
1146 |
+
jQuery("#ux_clr_border_color_submit_button").css("background-color",dataJson.submit_button_border_color);
|
1147 |
+
jQuery("#ux_clr_border_color_submit_button").css("color","#ffffff");
|
1148 |
+
jQuery("#ux_clr_border_size_submit_button").val(dataJson.submit_button_border_size);
|
1149 |
+
jQuery("#ux_txt_border_radius_submit_button").val(dataJson.submit_button_border_radius);
|
1150 |
+
dataJson.submit_button_rdl_text_align == "0" ? jQuery("#ux_rdl_font_align_left_submit_button").attr("checked","checked") : jQuery("#ux_rdl_font_align_right_submit_button").attr("checked","checked") ;
|
1151 |
+
jQuery("#ux_ddl_submit_button_direction").val(dataJson.submit_button_text_direction);
|
1152 |
+
jQuery("#ux_ddl_font_family_success_msg").val(dataJson.success_msg_font_family);
|
1153 |
+
jQuery("#ux_ddl_font_size_success_msg").val(dataJson.success_msg_font_size);
|
1154 |
+
jQuery("#ux_clr_bg_color_success_msg").val(dataJson.success_msg_bg_color);
|
1155 |
+
jQuery("#ux_clr_bg_color_success_msg").css("background-color",dataJson.success_msg_bg_color);
|
1156 |
+
jQuery("#ux_clr_bg_color_success_msg").css("color","#ffffff");
|
1157 |
+
jQuery("#ux_clr_border_color_success_msg").val(dataJson.success_msg_border_color);
|
1158 |
+
jQuery("#ux_clr_border_color_success_msg").css("background-color",dataJson.success_msg_border_color);
|
1159 |
+
jQuery("#ux_clr_border_color_success_msg").css("color","#ffffff");
|
1160 |
+
jQuery("#ux_clr_text_color_success_msg").val(dataJson.success_msg_text_color);
|
1161 |
+
jQuery("#ux_clr_text_color_success_msg").css("background-color",dataJson.success_msg_text_color);
|
1162 |
+
jQuery("#ux_clr_text_color_success_msg").css("color","#ffffff");
|
1163 |
+
dataJson.success_msg_rdl_text_align == "0" ? jQuery("#ux_rdl_font_align_left_success_msg").attr("checked","checked") : jQuery("#ux_rdl_font_align_right_success_msg").attr("checked","checked") ;
|
1164 |
+
jQuery("#ux_ddl_success_msg_direction").val(dataJson.success_msg_text_direction);
|
1165 |
+
jQuery("#ux_ddl_font_family_error_msg").val(dataJson.error_msg_font_family);
|
1166 |
+
jQuery("#ux_ddl_font_size_error_msg").val(dataJson.error_msg_font_size);
|
1167 |
+
jQuery("#ux_clr_bg_color_error_msg").val(dataJson.error_msg_bg_color);
|
1168 |
+
jQuery("#ux_clr_bg_color_error_msg").css("background-color",dataJson.error_msg_bg_color);
|
1169 |
+
jQuery("#ux_clr_bg_color_error_msg").css("color","#ffffff");
|
1170 |
+
jQuery("#ux_clr_border_color_error_msg").val(dataJson.error_msg_border_color);
|
1171 |
+
jQuery("#ux_clr_border_color_error_msg").css("background-color",dataJson.error_msg_border_color);
|
1172 |
+
jQuery("#ux_clr_border_color_error_msg").css("color","#ffffff");
|
1173 |
+
jQuery("#ux_clr_text_color_error_msg").val(dataJson.error_msg_text_color);
|
1174 |
+
jQuery("#ux_clr_text_color_error_msg").css("background-color",dataJson.error_msg_text_color);
|
1175 |
+
jQuery("#ux_clr_text_color_error_msg").css("color","#ffffff");
|
1176 |
+
dataJson.error_msg_rdl_text_align == "0" ? jQuery("#ux_rdl_font_align_left_error_msg").attr("checked","checked") : jQuery("#ux_rdl_font_align_right_error_msg").attr("checked","checked") ;
|
1177 |
+
jQuery("#ux_ddl_error_msg_direction").val(dataJson.error_msg_text_direction);
|
1178 |
+
}
|
1179 |
+
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1180 |
}
|
1181 |
}
|
1182 |
|
1189 |
var form_id = "<?php echo intval($_REQUEST["form_id"]);?>";
|
1190 |
<?php
|
1191 |
}
|
1192 |
+
else
|
1193 |
+
{
|
1194 |
?>
|
1195 |
var form_id = "0";
|
1196 |
<?php
|
views/contact_bank_pro_version.php
DELETED
@@ -1,403 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
if(!defined("ABSPATH")) exit; //exit if accessed directly
|
3 |
-
switch($cb_role)
|
4 |
-
{
|
5 |
-
case "administrator":
|
6 |
-
$cb_user_role_permission = "manage_options";
|
7 |
-
break;
|
8 |
-
case "editor":
|
9 |
-
$cb_user_role_permission = "publish_pages";
|
10 |
-
break;
|
11 |
-
case "author":
|
12 |
-
$cb_user_role_permission = "publish_posts";
|
13 |
-
break;
|
14 |
-
}
|
15 |
-
if (!current_user_can($cb_user_role_permission))
|
16 |
-
{
|
17 |
-
return;
|
18 |
-
}
|
19 |
-
else
|
20 |
-
{
|
21 |
-
if(isset($_REQUEST["msg"]))
|
22 |
-
{
|
23 |
-
if(esc_attr($_REQUEST["msg"]) == "no")
|
24 |
-
{
|
25 |
-
update_option("contact-bank-banner", "no");
|
26 |
-
?>
|
27 |
-
<style type="text/css" >
|
28 |
-
#ux_buy_pro
|
29 |
-
{
|
30 |
-
display:none;
|
31 |
-
}
|
32 |
-
</style>
|
33 |
-
<?php
|
34 |
-
}
|
35 |
-
}
|
36 |
-
?>
|
37 |
-
<form id="contact_bank_pricing" class="layout-form">
|
38 |
-
<div id="poststuff" style="width: 99% !important;">
|
39 |
-
<div id="post-body" class="metabox-holder columns-2">
|
40 |
-
<div id="postbox-container-2" class="postbox-container">
|
41 |
-
<div id="advanced" class="meta-box-sortables">
|
42 |
-
<div id="contact_bank_get_started" class="postbox" >
|
43 |
-
<div class="handlediv" data-target="#ux_contact_bank_pricing" title="Click to toggle" data-toggle="collapse"><br></div>
|
44 |
-
<h3 class="hndle"><span><?php _e("Contact Bank Pricing", contact_bank); ?></span></h3>
|
45 |
-
<div class="inside">
|
46 |
-
<div id="ux_contact_bank_pricing" class="contact_bank_layout">
|
47 |
-
<div class="wpb_row wf-container" style="margin: 15px 0 15px 0;">
|
48 |
-
<div class="wf-cell wf-span-12 wpb_column column_container ">
|
49 |
-
<div class="wpb_text_column wpb_content_element ">
|
50 |
-
<div class="wpb_wrapper">
|
51 |
-
<div id="contact_pricing" class="p_table_responsive p_table_1 p_table_1_11 css3_grid_clearfix p_table_hover_disabled">
|
52 |
-
<div class="caption_column column_0_responsive">
|
53 |
-
<ul>
|
54 |
-
<li style="text-align: left;" class="css3_grid_row_0 header_row_1 align_center css3_grid_row_0_responsive radius5_topleft">
|
55 |
-
<span class="css3_grid_vertical_align_table"><span class="css3_grid_vertical_align"></span></span>
|
56 |
-
</li>
|
57 |
-
<li style="text-align: left;" class="css3_grid_row_1 header_row_2 css3_grid_row_1_responsive">
|
58 |
-
<span class="css3_grid_vertical_align_table"><span class="css3_grid_vertical_align"><h2 class="caption">Choose <span>your</span> Plan</h2></span></span>
|
59 |
-
</li>
|
60 |
-
<li style="text-align: left;" class="css3_grid_row_2 row_style_4 css3_grid_row_2_responsive">
|
61 |
-
<span class="css3_grid_vertical_align_table"><span class="css3_grid_vertical_align"><span><span class="css3_grid_tooltip"><span>Number of websites that can use the plugin on purchase of a License.</span>Domains per License</span></span></span></span>
|
62 |
-
</li>
|
63 |
-
<li style="text-align: left;" class="css3_grid_row_3 row_style_2 css3_grid_row_3_responsive">
|
64 |
-
<span class="css3_grid_vertical_align_table"><span class="css3_grid_vertical_align"><span><span class="css3_grid_tooltip"><span>Automatic Plugin Update Notification with New Features, Bug Fixing and much more....</span><strong>Plugin Updates</strong></span></span></span></span>
|
65 |
-
</li>
|
66 |
-
<li style="text-align: left;" class="css3_grid_row_4 row_style_4 css3_grid_row_4_responsive">
|
67 |
-
<span class="css3_grid_vertical_align_table"><span class="css3_grid_vertical_align"><span><span class="css3_grid_tooltip"><span>Technical Support by the Development Team for Installation, Bug Fixing, Plugin Compatibility Issues.</span><strong>Technical Support</strong></span></span></span></span>
|
68 |
-
</li>
|
69 |
-
<li style="text-align: left;" class="css3_grid_row_5 row_style_2 css3_grid_row_5_responsive">
|
70 |
-
<span class="css3_grid_vertical_align_table"><span class="css3_grid_vertical_align"><span><span class="css3_grid_tooltip"><span>Multi-Lingual Facility allows the plugin to be used in 25 languages.</span>Multi-Lingual</span></span></span></span>
|
71 |
-
</li>
|
72 |
-
<li style="text-align: left;" class="css3_grid_row_6 row_style_4 css3_grid_row_6_responsive">
|
73 |
-
<span class="css3_grid_vertical_align_table"><span class="css3_grid_vertical_align"><span><span class="css3_grid_tooltip"><span>Number of Forms allowed to be Published.</span>Number of Forms</span></span></span></span>
|
74 |
-
</li>
|
75 |
-
<li style="text-align: left;" class="css3_grid_row_7 row_style_2 css3_grid_row_7_responsive">
|
76 |
-
<span class="css3_grid_vertical_align_table"><span class="css3_grid_vertical_align"><span><span class="css3_grid_tooltip"><span>Standard Fields allowed to be created in Contact Bank.</span>Standard Fields</span></span></span></span>
|
77 |
-
</li>
|
78 |
-
<li style="text-align: left;" class="css3_grid_row_8 row_style_4 css3_grid_row_8_responsive">
|
79 |
-
<span class="css3_grid_vertical_align_table"><span class="css3_grid_vertical_align"><span><span class="css3_grid_tooltip"><span>Advanced Fields allowed to be created in Contact Bank.</span>Advanced Fields </span></span></span></span>
|
80 |
-
</li>
|
81 |
-
<li style="text-align: left;" class="css3_grid_row_9 row_style_2 css3_grid_row_9_responsive">
|
82 |
-
<span class="css3_grid_vertical_align_table"><span class="css3_grid_vertical_align"><span><span class="css3_grid_tooltip"><span>Notifications to Admin and Confirmation Notification to Clients are enabled.</span>Notifications</span></span></span></span>
|
83 |
-
</li>
|
84 |
-
<li style="text-align: left;" class="css3_grid_row_10 row_style_4 css3_grid_row_10_responsive">
|
85 |
-
<span class="css3_grid_vertical_align_table"><span class="css3_grid_vertical_align"><span><span class="css3_grid_tooltip"><span>Form Settings allows to modify and customize the controls according to your requirements.</span>Form Settings</span></span></span></span>
|
86 |
-
</li>
|
87 |
-
<li style="text-align: left;" class="css3_grid_row_11 row_style_2 css3_grid_row_11_responsive">
|
88 |
-
<span class="css3_grid_vertical_align_table"><span class="css3_grid_vertical_align"><span><span class="css3_grid_tooltip"><span>Email Settings would allow to edit and customize the emails sent automatically by the system.</span>Email Settings</span></span></span></span>
|
89 |
-
</li>
|
90 |
-
<li style="text-align: left;" class="css3_grid_row_12 row_style_4 css3_grid_row_12_responsive">
|
91 |
-
<span class="css3_grid_vertical_align_table"><span class="css3_grid_vertical_align"><span><span class="css3_grid_tooltip"><span>Customization to the layout of your Form.</span>Customization</span></span></span></span>
|
92 |
-
</li>
|
93 |
-
<li style="text-align: left;" class="css3_grid_row_13 row_style_2 css3_grid_row_13_responsive">
|
94 |
-
<span class="css3_grid_vertical_align_table"><span class="css3_grid_vertical_align"><span><span class="css3_grid_tooltip"><span>Entry Management to overview forms submitted by the customer.</span>Entry Management</span></span></span></span>
|
95 |
-
</li>
|
96 |
-
<li style="text-align: left;" class="css3_grid_row_14 row_style_4 css3_grid_row_14_responsive">
|
97 |
-
<span class="css3_grid_vertical_align_table"><span class="css3_grid_vertical_align"><span><span class="css3_grid_tooltip"><span>Limit Entries to maximize number of clients which could fill up the form.</span>Limit Entries</span></span></span></span>
|
98 |
-
</li>
|
99 |
-
<li style="text-align: left;" class="css3_grid_row_15 row_style_2 css3_grid_row_15_responsive">
|
100 |
-
<span class="css3_grid_vertical_align_table"><span class="css3_grid_vertical_align"><span><span class="css3_grid_tooltip"><span>Style & Layout would allow customization of control and descriptions.</span>Style & Layout</span></span></span></span>
|
101 |
-
</li>
|
102 |
-
<li style="text-align: left;" class="css3_grid_row_16 row_style_4 css3_grid_row_16_responsive">
|
103 |
-
<span class="css3_grid_vertical_align_table"><span class="css3_grid_vertical_align"><span><span class="css3_grid_tooltip"><span>Optional Filters to filter the User Input.</span>Optional Filters</span></span></span></span>
|
104 |
-
</li>
|
105 |
-
<li style="text-align: left;" class="css3_grid_row_17 row_style_2 css3_grid_row_17_responsive">
|
106 |
-
<span class="css3_grid_vertical_align_table"><span class="css3_grid_vertical_align"><span><span class="css3_grid_tooltip"><span>Tooltip to display relevant information for each control.</span>Tooltip</span></span></span></span>
|
107 |
-
</li>
|
108 |
-
<li style="text-align: left;" class="css3_grid_row_18 footer_row css3_grid_row_18_responsive">
|
109 |
-
<span class="css3_grid_vertical_align_table"><span class="css3_grid_vertical_align"></span></span>
|
110 |
-
</li>
|
111 |
-
</ul>
|
112 |
-
</div>
|
113 |
-
<div class="column_2 column_2_responsive">
|
114 |
-
<div class="column_ribbon ribbon_style1_save"></div>
|
115 |
-
<ul>
|
116 |
-
<li style="text-align: center;" class="css3_grid_row_0 header_row_1 align_center css3_grid_row_0_responsive">
|
117 |
-
<span class="css3_grid_vertical_align_table"><span class="css3_grid_vertical_align"><h2 class="col2">Eco</h2></span></span>
|
118 |
-
</li>
|
119 |
-
<li style="text-align: center;" class="css3_grid_row_1 header_row_2 css3_grid_row_1_responsive align_center">
|
120 |
-
<span class="css3_grid_vertical_align_table"><span class="css3_grid_vertical_align"><h1 class="col1"> £<span>11</span></h1><h3 class="col1">one time</h3></span></span>
|
121 |
-
</li>
|
122 |
-
<li style="text-align: center;" class="css3_grid_row_2 row_style_4 css3_grid_row_2_responsive align_center">
|
123 |
-
<span class="css3_grid_vertical_align_table"><span class="css3_grid_vertical_align"><span>1</span></span></span>
|
124 |
-
</li>
|
125 |
-
<li style="text-align: center;" class="css3_grid_row_3 row_style_2 css3_grid_row_3_responsive align_center">
|
126 |
-
<span class="css3_grid_vertical_align_table"><span class="css3_grid_vertical_align"><span><img src="http://tech-banker.com/wp-content/plugins/css3_web_pricing_tables_grids/img/cross_02.png" alt="no"></span></span></span>
|
127 |
-
</li>
|
128 |
-
<li style="text-align: center;" class="css3_grid_row_4 row_style_4 css3_grid_row_4_responsive align_center">
|
129 |
-
<span class="css3_grid_vertical_align_table"><span class="css3_grid_vertical_align"><span>1 Week</span></span></span>
|
130 |
-
</li>
|
131 |
-
<li style="text-align: center;" class="css3_grid_row_5 row_style_2 css3_grid_row_5_responsive align_center">
|
132 |
-
<span class="css3_grid_vertical_align_table"><span class="css3_grid_vertical_align"><span><img src="http://tech-banker.com/wp-content/plugins/css3_web_pricing_tables_grids/img/tick_02.png" alt="yes"></span></span></span>
|
133 |
-
</li>
|
134 |
-
<li style="text-align: center;" class="css3_grid_row_6 row_style_4 css3_grid_row_6_responsive align_center">
|
135 |
-
<span class="css3_grid_vertical_align_table"><span class="css3_grid_vertical_align"><span>Unlimited</span></span></span>
|
136 |
-
</li>
|
137 |
-
<li style="text-align: center;" class="css3_grid_row_7 row_style_2 css3_grid_row_7_responsive align_center">
|
138 |
-
<span class="css3_grid_vertical_align_table"><span class="css3_grid_vertical_align"><span><img src="http://tech-banker.com/wp-content/plugins/css3_web_pricing_tables_grids/img/tick_02.png" alt="yes"></span></span></span>
|
139 |
-
</li>
|
140 |
-
<li style="text-align: center;" class="css3_grid_row_8 row_style_4 css3_grid_row_8_responsive align_center">
|
141 |
-
<span class="css3_grid_vertical_align_table"><span class="css3_grid_vertical_align"><span><img src="http://tech-banker.com/wp-content/plugins/css3_web_pricing_tables_grids/img/tick_02.png" alt="yes"></span></span></span>
|
142 |
-
</li>
|
143 |
-
<li style="text-align: center;" class="css3_grid_row_9 row_style_2 css3_grid_row_9_responsive align_center">
|
144 |
-
<span class="css3_grid_vertical_align_table"><span class="css3_grid_vertical_align"><span><img src="http://tech-banker.com/wp-content/plugins/css3_web_pricing_tables_grids/img/tick_02.png" alt="yes"></span></span></span>
|
145 |
-
</li>
|
146 |
-
<li style="text-align: center;" class="css3_grid_row_10 row_style_4 css3_grid_row_10_responsive align_center">
|
147 |
-
<span class="css3_grid_vertical_align_table"><span class="css3_grid_vertical_align"><span><img src="http://tech-banker.com/wp-content/plugins/css3_web_pricing_tables_grids/img/tick_02.png" alt="yes"></span></span></span>
|
148 |
-
</li>
|
149 |
-
<li style="text-align: center;" class="css3_grid_row_11 row_style_2 css3_grid_row_11_responsive align_center">
|
150 |
-
<span class="css3_grid_vertical_align_table"><span class="css3_grid_vertical_align"><span><img src="http://tech-banker.com/wp-content/plugins/css3_web_pricing_tables_grids/img/tick_02.png" alt="yes"></span></span></span>
|
151 |
-
</li>
|
152 |
-
<li style="text-align: center;" class="css3_grid_row_12 row_style_4 css3_grid_row_12_responsive align_center">
|
153 |
-
<span class="css3_grid_vertical_align_table"><span class="css3_grid_vertical_align"><span><img src="http://tech-banker.com/wp-content/plugins/css3_web_pricing_tables_grids/img/tick_02.png" alt="yes"></span></span></span>
|
154 |
-
</li>
|
155 |
-
<li style="text-align: center;" class="css3_grid_row_13 row_style_2 css3_grid_row_13_responsive align_center">
|
156 |
-
<span class="css3_grid_vertical_align_table"><span class="css3_grid_vertical_align"><span><img src="http://tech-banker.com/wp-content/plugins/css3_web_pricing_tables_grids/img/tick_02.png" alt="yes"></span></span></span>
|
157 |
-
</li>
|
158 |
-
<li style="text-align: center;" class="css3_grid_row_14 row_style_4 css3_grid_row_14_responsive align_center">
|
159 |
-
<span class="css3_grid_vertical_align_table"><span class="css3_grid_vertical_align"><span><img src="http://tech-banker.com/wp-content/plugins/css3_web_pricing_tables_grids/img/tick_02.png" alt="yes"></span></span></span>
|
160 |
-
</li>
|
161 |
-
<li style="text-align: center;" class="css3_grid_row_15 row_style_2 css3_grid_row_15_responsive align_center">
|
162 |
-
<span class="css3_grid_vertical_align_table"><span class="css3_grid_vertical_align"><span><img src="http://tech-banker.com/wp-content/plugins/css3_web_pricing_tables_grids/img/tick_02.png" alt="yes"></span></span></span>
|
163 |
-
</li>
|
164 |
-
<li style="text-align: center;" class="css3_grid_row_16 row_style_4 css3_grid_row_16_responsive align_center">
|
165 |
-
<span class="css3_grid_vertical_align_table"><span class="css3_grid_vertical_align"><span><img src="http://tech-banker.com/wp-content/plugins/css3_web_pricing_tables_grids/img/tick_02.png" alt="yes"></span></span></span>
|
166 |
-
</li>
|
167 |
-
<li style="text-align: center;" class="css3_grid_row_17 row_style_2 css3_grid_row_17_responsive align_center">
|
168 |
-
<span class="css3_grid_vertical_align_table"><span class="css3_grid_vertical_align"><span><img src="http://tech-banker.com/wp-content/plugins/css3_web_pricing_tables_grids/img/tick_02.png" alt="yes"></span></span></span>
|
169 |
-
</li>
|
170 |
-
<li style="text-align: center;" class="css3_grid_row_18 footer_row css3_grid_row_18_responsive">
|
171 |
-
<span class="css3_grid_vertical_align_table"><span class="css3_grid_vertical_align"><a href="http://tech-banker.com/product/contact-bank-eco-edition/" target="_blank" class="sign_up sign_up_yellow radius3">Order Now!</a></span></span>
|
172 |
-
</li>
|
173 |
-
</ul>
|
174 |
-
</div>
|
175 |
-
<div class="column_3 column_3_responsive">
|
176 |
-
<div class="column_ribbon ribbon_style2_best"></div>
|
177 |
-
<ul>
|
178 |
-
<li style="text-align: center;" class="css3_grid_row_0 header_row_1 align_center css3_grid_row_0_responsive">
|
179 |
-
<span class="css3_grid_vertical_align_table"><span class="css3_grid_vertical_align"><h2 class="col1">Pro</h2></span></span>
|
180 |
-
</li>
|
181 |
-
<li style="text-align: center;" class="css3_grid_row_1 header_row_2 css3_grid_row_1_responsive align_center">
|
182 |
-
<span class="css3_grid_vertical_align_table"><span class="css3_grid_vertical_align"><h1 class="col1"> £<span>18</span></h1><h3 class="col1">one time</h3></span></span>
|
183 |
-
</li>
|
184 |
-
<li style="text-align: center;" class="css3_grid_row_2 row_style_3 css3_grid_row_2_responsive align_center">
|
185 |
-
<span class="css3_grid_vertical_align_table"><span class="css3_grid_vertical_align"><span>1</span></span></span>
|
186 |
-
</li>
|
187 |
-
<li style="text-align: center;" class="css3_grid_row_3 row_style_1 css3_grid_row_3_responsive align_center">
|
188 |
-
<span class="css3_grid_vertical_align_table"><span class="css3_grid_vertical_align"><span><img src="http://tech-banker.com/wp-content/plugins/css3_web_pricing_tables_grids/img/tick_02.png" alt="yes"></span></span></span>
|
189 |
-
</li>
|
190 |
-
<li style="text-align: center;" class="css3_grid_row_4 row_style_3 css3_grid_row_4_responsive align_center">
|
191 |
-
<span class="css3_grid_vertical_align_table"><span class="css3_grid_vertical_align"><span>1 Month </span></span></span>
|
192 |
-
</li>
|
193 |
-
<li style="text-align: center;" class="css3_grid_row_5 row_style_1 css3_grid_row_5_responsive align_center">
|
194 |
-
<span class="css3_grid_vertical_align_table"><span class="css3_grid_vertical_align"><span><img src="http://tech-banker.com/wp-content/plugins/css3_web_pricing_tables_grids/img/tick_02.png" alt="yes"></span></span></span>
|
195 |
-
</li>
|
196 |
-
<li style="text-align: center;" class="css3_grid_row_6 row_style_3 css3_grid_row_6_responsive align_center">
|
197 |
-
<span class="css3_grid_vertical_align_table"><span class="css3_grid_vertical_align"><span>Unlimited</span></span></span>
|
198 |
-
</li>
|
199 |
-
<li style="text-align: center;" class="css3_grid_row_7 row_style_1 css3_grid_row_7_responsive align_center">
|
200 |
-
<span class="css3_grid_vertical_align_table"><span class="css3_grid_vertical_align"><span><img src="http://tech-banker.com/wp-content/plugins/css3_web_pricing_tables_grids/img/tick_02.png" alt="yes"></span></span></span>
|
201 |
-
</li>
|
202 |
-
<li style="text-align: center;" class="css3_grid_row_8 row_style_3 css3_grid_row_8_responsive align_center">
|
203 |
-
<span class="css3_grid_vertical_align_table"><span class="css3_grid_vertical_align"><span><img src="http://tech-banker.com/wp-content/plugins/css3_web_pricing_tables_grids/img/tick_02.png" alt="yes"></span></span></span>
|
204 |
-
</li>
|
205 |
-
<li style="text-align: center;" class="css3_grid_row_9 row_style_1 css3_grid_row_9_responsive align_center">
|
206 |
-
<span class="css3_grid_vertical_align_table"><span class="css3_grid_vertical_align"><span><img src="http://tech-banker.com/wp-content/plugins/css3_web_pricing_tables_grids/img/tick_02.png" alt="yes"></span></span></span>
|
207 |
-
</li>
|
208 |
-
<li style="text-align: center;" class="css3_grid_row_10 row_style_3 css3_grid_row_10_responsive align_center">
|
209 |
-
<span class="css3_grid_vertical_align_table"><span class="css3_grid_vertical_align"><span><img src="http://tech-banker.com/wp-content/plugins/css3_web_pricing_tables_grids/img/tick_02.png" alt="yes"></span></span></span>
|
210 |
-
</li>
|
211 |
-
<li style="text-align: center;" class="css3_grid_row_11 row_style_1 css3_grid_row_11_responsive align_center">
|
212 |
-
<span class="css3_grid_vertical_align_table"><span class="css3_grid_vertical_align"><span><img src="http://tech-banker.com/wp-content/plugins/css3_web_pricing_tables_grids/img/tick_02.png" alt="yes"></span></span></span>
|
213 |
-
</li>
|
214 |
-
<li style="text-align: center;" class="css3_grid_row_12 row_style_3 css3_grid_row_12_responsive align_center">
|
215 |
-
<span class="css3_grid_vertical_align_table"><span class="css3_grid_vertical_align"><span><img src="http://tech-banker.com/wp-content/plugins/css3_web_pricing_tables_grids/img/tick_02.png" alt="yes"></span></span></span>
|
216 |
-
</li>
|
217 |
-
<li style="text-align: center;" class="css3_grid_row_13 row_style_1 css3_grid_row_13_responsive align_center">
|
218 |
-
<span class="css3_grid_vertical_align_table"><span class="css3_grid_vertical_align"><span><img src="http://tech-banker.com/wp-content/plugins/css3_web_pricing_tables_grids/img/tick_02.png" alt="yes"></span></span></span>
|
219 |
-
</li>
|
220 |
-
<li style="text-align: center;" class="css3_grid_row_14 row_style_3 css3_grid_row_14_responsive align_center">
|
221 |
-
<span class="css3_grid_vertical_align_table"><span class="css3_grid_vertical_align"><span><img src="http://tech-banker.com/wp-content/plugins/css3_web_pricing_tables_grids/img/tick_02.png" alt="yes"></span></span></span>
|
222 |
-
</li>
|
223 |
-
<li style="text-align: center;" class="css3_grid_row_15 row_style_1 css3_grid_row_15_responsive align_center">
|
224 |
-
<span class="css3_grid_vertical_align_table"><span class="css3_grid_vertical_align"><span><img src="http://tech-banker.com/wp-content/plugins/css3_web_pricing_tables_grids/img/tick_02.png" alt="yes"></span></span></span>
|
225 |
-
</li>
|
226 |
-
<li style="text-align: center;" class="css3_grid_row_16 row_style_3 css3_grid_row_16_responsive align_center">
|
227 |
-
<span class="css3_grid_vertical_align_table"><span class="css3_grid_vertical_align"><span><img src="http://tech-banker.com/wp-content/plugins/css3_web_pricing_tables_grids/img/tick_02.png" alt="yes"></span></span></span>
|
228 |
-
</li>
|
229 |
-
<li style="text-align: center;" class="css3_grid_row_17 row_style_1 css3_grid_row_17_responsive align_center">
|
230 |
-
<span class="css3_grid_vertical_align_table"><span class="css3_grid_vertical_align"><span><img src="http://tech-banker.com/wp-content/plugins/css3_web_pricing_tables_grids/img/tick_02.png" alt="yes"></span></span></span>
|
231 |
-
</li>
|
232 |
-
<li style="text-align: center;" class="css3_grid_row_18 footer_row css3_grid_row_18_responsive">
|
233 |
-
<span class="css3_grid_vertical_align_table"><span class="css3_grid_vertical_align"><a href="http://tech-banker.com/product/contact-bank-pro-edition/" target="_blank" class="sign_up sign_up_yellow radius3">Order Now!</a></span></span>
|
234 |
-
</li>
|
235 |
-
</ul>
|
236 |
-
</div>
|
237 |
-
<div class="column_4 column_4_responsive">
|
238 |
-
<div class="column_ribbon ribbon_style1_off30"></div>
|
239 |
-
<ul>
|
240 |
-
<li class="css3_grid_row_0 header_row_1 align_center css3_grid_row_0_responsive">
|
241 |
-
<span class="css3_grid_vertical_align_table"><span class="css3_grid_vertical_align"><h2 class="col1">Developer</h2></span></span>
|
242 |
-
</li>
|
243 |
-
<li class="css3_grid_row_1 header_row_2 css3_grid_row_1_responsive align_center">
|
244 |
-
<span class="css3_grid_vertical_align_table"><span class="css3_grid_vertical_align"><h1 class="col1"> £<span>63</span></h1><h3 class="col1">one time</h3></span></span>
|
245 |
-
</li>
|
246 |
-
<li class="css3_grid_row_2 row_style_4 css3_grid_row_2_responsive align_center">
|
247 |
-
<span class="css3_grid_vertical_align_table"><span class="css3_grid_vertical_align"><span>5</span></span></span>
|
248 |
-
</li>
|
249 |
-
<li class="css3_grid_row_3 row_style_2 css3_grid_row_3_responsive align_center">
|
250 |
-
<span class="css3_grid_vertical_align_table"><span class="css3_grid_vertical_align"><span><img src="http://tech-banker.com/wp-content/plugins/css3_web_pricing_tables_grids/img/tick_02.png" alt="yes"></span></span></span>
|
251 |
-
</li>
|
252 |
-
<li class="css3_grid_row_4 row_style_4 css3_grid_row_4_responsive align_center">
|
253 |
-
<span class="css3_grid_vertical_align_table"><span class="css3_grid_vertical_align"><span>1 Year </span></span></span>
|
254 |
-
</li>
|
255 |
-
<li class="css3_grid_row_5 row_style_2 css3_grid_row_5_responsive align_center">
|
256 |
-
<span class="css3_grid_vertical_align_table"><span class="css3_grid_vertical_align"><span><img src="http://tech-banker.com/wp-content/plugins/css3_web_pricing_tables_grids/img/tick_02.png" alt="yes"></span></span></span>
|
257 |
-
</li>
|
258 |
-
<li class="css3_grid_row_6 row_style_4 css3_grid_row_6_responsive align_center">
|
259 |
-
<span class="css3_grid_vertical_align_table"><span class="css3_grid_vertical_align"><span>Unlimited </span></span></span>
|
260 |
-
</li>
|
261 |
-
<li class="css3_grid_row_7 row_style_2 css3_grid_row_7_responsive align_center">
|
262 |
-
<span class="css3_grid_vertical_align_table"><span class="css3_grid_vertical_align"><span><img src="http://tech-banker.com/wp-content/plugins/css3_web_pricing_tables_grids/img/tick_02.png" alt="yes"></span></span></span>
|
263 |
-
</li>
|
264 |
-
<li class="css3_grid_row_8 row_style_4 css3_grid_row_8_responsive align_center">
|
265 |
-
<span class="css3_grid_vertical_align_table"><span class="css3_grid_vertical_align"><span><img src="http://tech-banker.com/wp-content/plugins/css3_web_pricing_tables_grids/img/tick_02.png" alt="yes"></span></span></span>
|
266 |
-
</li>
|
267 |
-
<li class="css3_grid_row_9 row_style_2 css3_grid_row_9_responsive align_center">
|
268 |
-
<span class="css3_grid_vertical_align_table"><span class="css3_grid_vertical_align"><span><img src="http://tech-banker.com/wp-content/plugins/css3_web_pricing_tables_grids/img/tick_02.png" alt="yes"></span></span></span>
|
269 |
-
</li>
|
270 |
-
<li class="css3_grid_row_10 row_style_4 css3_grid_row_10_responsive align_center">
|
271 |
-
<span class="css3_grid_vertical_align_table"><span class="css3_grid_vertical_align"><span><img src="http://tech-banker.com/wp-content/plugins/css3_web_pricing_tables_grids/img/tick_02.png" alt="yes"></span></span></span>
|
272 |
-
</li>
|
273 |
-
<li class="css3_grid_row_11 row_style_2 css3_grid_row_11_responsive align_center">
|
274 |
-
<span class="css3_grid_vertical_align_table"><span class="css3_grid_vertical_align"><span><img src="http://tech-banker.com/wp-content/plugins/css3_web_pricing_tables_grids/img/tick_02.png" alt="yes"></span></span></span>
|
275 |
-
</li>
|
276 |
-
<li class="css3_grid_row_12 row_style_4 css3_grid_row_12_responsive align_center">
|
277 |
-
<span class="css3_grid_vertical_align_table"><span class="css3_grid_vertical_align"><span><img src="http://tech-banker.com/wp-content/plugins/css3_web_pricing_tables_grids/img/tick_02.png" alt="yes"></span></span></span>
|
278 |
-
</li>
|
279 |
-
<li class="css3_grid_row_13 row_style_2 css3_grid_row_13_responsive align_center">
|
280 |
-
<span class="css3_grid_vertical_align_table"><span class="css3_grid_vertical_align"><span><img src="http://tech-banker.com/wp-content/plugins/css3_web_pricing_tables_grids/img/tick_02.png" alt="yes"></span></span></span>
|
281 |
-
</li>
|
282 |
-
<li class="css3_grid_row_14 row_style_4 css3_grid_row_14_responsive align_center">
|
283 |
-
<span class="css3_grid_vertical_align_table"><span class="css3_grid_vertical_align"><span><img src="http://tech-banker.com/wp-content/plugins/css3_web_pricing_tables_grids/img/tick_02.png" alt="yes"></span></span></span>
|
284 |
-
</li>
|
285 |
-
<li class="css3_grid_row_15 row_style_2 css3_grid_row_15_responsive align_center">
|
286 |
-
<span class="css3_grid_vertical_align_table"><span class="css3_grid_vertical_align"><span><img src="http://tech-banker.com/wp-content/plugins/css3_web_pricing_tables_grids/img/tick_02.png" alt="yes"></span></span></span>
|
287 |
-
</li>
|
288 |
-
<li class="css3_grid_row_16 row_style_4 css3_grid_row_16_responsive align_center">
|
289 |
-
<span class="css3_grid_vertical_align_table"><span class="css3_grid_vertical_align"><span><img src="http://tech-banker.com/wp-content/plugins/css3_web_pricing_tables_grids/img/tick_02.png" alt="yes"></span></span></span>
|
290 |
-
</li>
|
291 |
-
<li class="css3_grid_row_17 row_style_2 css3_grid_row_17_responsive align_center">
|
292 |
-
<span class="css3_grid_vertical_align_table"><span class="css3_grid_vertical_align"><span><img src="http://tech-banker.com/wp-content/plugins/css3_web_pricing_tables_grids/img/tick_02.png" alt="yes"></span></span></span>
|
293 |
-
</li>
|
294 |
-
<li class="css3_grid_row_18 footer_row css3_grid_row_18_responsive">
|
295 |
-
<span class="css3_grid_vertical_align_table"><span class="css3_grid_vertical_align"><a href="http://tech-banker.com/product/contact-bank-developer-edition/" target="_blank" class="sign_up sign_up_yellow radius3">Order Now!</a></span></span>
|
296 |
-
</li>
|
297 |
-
</ul>
|
298 |
-
</div>
|
299 |
-
<div class="column_1 column_5_responsive">
|
300 |
-
<div class="column_ribbon ribbon_style1_off35"></div>
|
301 |
-
<ul>
|
302 |
-
<li class="css3_grid_row_0 header_row_1 align_center css3_grid_row_0_responsive radius5_topright">
|
303 |
-
<span class="css3_grid_vertical_align_table"><span class="css3_grid_vertical_align"><h2 class="col1">Extended</h2></span></span>
|
304 |
-
</li>
|
305 |
-
<li class="css3_grid_row_1 header_row_2 css3_grid_row_1_responsive align_center">
|
306 |
-
<span class="css3_grid_vertical_align_table"><span class="css3_grid_vertical_align"><h1 class="col1"> £<span>549</span></h1><h3 class="col1">one time</h3></span></span>
|
307 |
-
</li>
|
308 |
-
<li class="css3_grid_row_2 row_style_3 css3_grid_row_2_responsive align_center">
|
309 |
-
<span class="css3_grid_vertical_align_table"><span class="css3_grid_vertical_align"><span>50</span></span></span>
|
310 |
-
</li>
|
311 |
-
<li class="css3_grid_row_3 row_style_1 css3_grid_row_3_responsive align_center">
|
312 |
-
<span class="css3_grid_vertical_align_table"><span class="css3_grid_vertical_align"><span><img src="http://tech-banker.com/wp-content/plugins/css3_web_pricing_tables_grids/img/tick_02.png" alt="yes"></span></span></span>
|
313 |
-
</li>
|
314 |
-
<li class="css3_grid_row_4 row_style_3 css3_grid_row_4_responsive align_center">
|
315 |
-
<span class="css3_grid_vertical_align_table"><span class="css3_grid_vertical_align"><span><img src="http://tech-banker.com/wp-content/plugins/css3_web_pricing_tables_grids/img/tick_02.png" alt="yes"></span></span></span>
|
316 |
-
</li>
|
317 |
-
<li class="css3_grid_row_5 row_style_1 css3_grid_row_5_responsive align_center">
|
318 |
-
<span class="css3_grid_vertical_align_table"><span class="css3_grid_vertical_align"><span><img src="http://tech-banker.com/wp-content/plugins/css3_web_pricing_tables_grids/img/tick_02.png" alt="yes"></span></span></span>
|
319 |
-
</li>
|
320 |
-
<li class="css3_grid_row_6 row_style_3 css3_grid_row_6_responsive align_center">
|
321 |
-
<span class="css3_grid_vertical_align_table"><span class="css3_grid_vertical_align"><span><img src="http://tech-banker.com/wp-content/plugins/css3_web_pricing_tables_grids/img/tick_02.png" alt="yes"></span></span></span>
|
322 |
-
</li>
|
323 |
-
<li class="css3_grid_row_7 row_style_1 css3_grid_row_7_responsive align_center">
|
324 |
-
<span class="css3_grid_vertical_align_table"><span class="css3_grid_vertical_align"><span><img src="http://tech-banker.com/wp-content/plugins/css3_web_pricing_tables_grids/img/tick_02.png" alt="yes"></span></span></span>
|
325 |
-
</li>
|
326 |
-
<li class="css3_grid_row_8 row_style_3 css3_grid_row_8_responsive align_center">
|
327 |
-
<span class="css3_grid_vertical_align_table"><span class="css3_grid_vertical_align"><span><img src="http://tech-banker.com/wp-content/plugins/css3_web_pricing_tables_grids/img/tick_02.png" alt="yes"></span></span></span>
|
328 |
-
</li>
|
329 |
-
<li class="css3_grid_row_9 row_style_1 css3_grid_row_9_responsive align_center">
|
330 |
-
<span class="css3_grid_vertical_align_table"><span class="css3_grid_vertical_align"><span><img src="http://tech-banker.com/wp-content/plugins/css3_web_pricing_tables_grids/img/tick_02.png" alt="yes"></span></span></span>
|
331 |
-
</li>
|
332 |
-
<li class="css3_grid_row_10 row_style_3 css3_grid_row_10_responsive align_center">
|
333 |
-
<span class="css3_grid_vertical_align_table"><span class="css3_grid_vertical_align"><span><img src="http://tech-banker.com/wp-content/plugins/css3_web_pricing_tables_grids/img/tick_02.png" alt="yes"></span></span></span>
|
334 |
-
</li>
|
335 |
-
<li class="css3_grid_row_11 row_style_1 css3_grid_row_11_responsive align_center">
|
336 |
-
<span class="css3_grid_vertical_align_table"><span class="css3_grid_vertical_align"><span><img src="http://tech-banker.com/wp-content/plugins/css3_web_pricing_tables_grids/img/tick_02.png" alt="yes"></span></span></span>
|
337 |
-
</li>
|
338 |
-
<li class="css3_grid_row_12 row_style_3 css3_grid_row_12_responsive align_center">
|
339 |
-
<span class="css3_grid_vertical_align_table"><span class="css3_grid_vertical_align"><span><img src="http://tech-banker.com/wp-content/plugins/css3_web_pricing_tables_grids/img/tick_02.png" alt="yes"></span></span></span>
|
340 |
-
</li>
|
341 |
-
<li class="css3_grid_row_13 row_style_1 css3_grid_row_13_responsive align_center">
|
342 |
-
<span class="css3_grid_vertical_align_table"><span class="css3_grid_vertical_align"><span><img src="http://tech-banker.com/wp-content/plugins/css3_web_pricing_tables_grids/img/tick_02.png" alt="yes"></span></span></span>
|
343 |
-
</li>
|
344 |
-
<li class="css3_grid_row_14 row_style_3 css3_grid_row_14_responsive align_center">
|
345 |
-
<span class="css3_grid_vertical_align_table"><span class="css3_grid_vertical_align"><span><img src="http://tech-banker.com/wp-content/plugins/css3_web_pricing_tables_grids/img/tick_02.png" alt="yes"></span></span></span>
|
346 |
-
</li>
|
347 |
-
<li class="css3_grid_row_15 row_style_1 css3_grid_row_15_responsive align_center">
|
348 |
-
<span class="css3_grid_vertical_align_table"><span class="css3_grid_vertical_align"><span><img src="http://tech-banker.com/wp-content/plugins/css3_web_pricing_tables_grids/img/tick_02.png" alt="yes"></span></span></span>
|
349 |
-
</li>
|
350 |
-
<li class="css3_grid_row_16 row_style_3 css3_grid_row_16_responsive align_center">
|
351 |
-
<span class="css3_grid_vertical_align_table"><span class="css3_grid_vertical_align"><span><img src="http://tech-banker.com/wp-content/plugins/css3_web_pricing_tables_grids/img/tick_02.png" alt="yes"></span></span></span>
|
352 |
-
</li>
|
353 |
-
<li class="css3_grid_row_17 row_style_1 css3_grid_row_17_responsive align_center">
|
354 |
-
<span class="css3_grid_vertical_align_table"><span class="css3_grid_vertical_align"><span><img src="http://tech-banker.com/wp-content/plugins/css3_web_pricing_tables_grids/img/tick_02.png" alt="yes"></span></span></span>
|
355 |
-
</li>
|
356 |
-
<li class="css3_grid_row_18 footer_row css3_grid_row_18_responsive">
|
357 |
-
<span class="css3_grid_vertical_align_table"><span class="css3_grid_vertical_align"><a href="http://tech-banker.com/product/contact-bank-extended-edition/" target="_blank" class="sign_up sign_up_yellow radius3">Order Now!</a></span></span>
|
358 |
-
</li>
|
359 |
-
</ul>
|
360 |
-
</div>
|
361 |
-
</div>
|
362 |
-
</div>
|
363 |
-
</div>
|
364 |
-
</div>
|
365 |
-
</div>
|
366 |
-
</div>
|
367 |
-
</div>
|
368 |
-
</div>
|
369 |
-
</div>
|
370 |
-
</div>
|
371 |
-
<div id="postbox-container-1" class="postbox-container">
|
372 |
-
<div id="priority_side" class="meta-box-sortables">
|
373 |
-
<div id="contact_bank_get_started" class="postbox" >
|
374 |
-
<div class="handlediv" data-target="#uxdownload" title="Click to toggle" data-toggle="collapse"><br></div>
|
375 |
-
<h3 class="hndle"><span><?php _e("Need Support Help?", contact_bank); ?></span></h3>
|
376 |
-
<div class="inside">
|
377 |
-
<div id="uxdownload" class="contact_bank_getting_started">
|
378 |
-
<p>
|
379 |
-
We’re interested in hearing from you.</p>
|
380 |
-
|
381 |
-
<p>We will help you through the process and try to provide the answers.</p>
|
382 |
-
|
383 |
-
<p>If you need to know more about our services or have something to share, please feel free to contact us.
|
384 |
-
</p>
|
385 |
-
<p>We commit to responses within 24 hours on weekdays – generally within hours during week day work hours.</p>
|
386 |
-
<p>
|
387 |
-
<a class="btn btn-danger" href="http://tech-banker.com/get-in-touch/" target="_blank" style="text-decoration: none;"><?php _e("Lets get in touch!", contact_bank); ?></a>
|
388 |
-
</p>
|
389 |
-
<img src="<?php echo plugins_url("/assets/images/img.png" , dirname(__FILE__));?>" style="max-width:100%;cursor: pointer;" />
|
390 |
-
<p>
|
391 |
-
<a class="btn btn-danger" href="http://tech-banker.com/contact-bank/" target="_blank" style="text-decoration: none;"><?php _e("Order Now!", contact_bank); ?></a>
|
392 |
-
</p>
|
393 |
-
</div>
|
394 |
-
</div>
|
395 |
-
</div>
|
396 |
-
</div>
|
397 |
-
</div>
|
398 |
-
</div>
|
399 |
-
</div>
|
400 |
-
</form>
|
401 |
-
<?php
|
402 |
-
}
|
403 |
-
?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
views/contact_view.php
CHANGED
@@ -162,13 +162,13 @@ else
|
|
162 |
$settings["error_msg_rdl_text_align"] = "0";
|
163 |
$settings["error_msg_text_direction"] = "inherit";
|
164 |
foreach($settings as $key => $value)
|
165 |
-
|
166 |
-
|
167 |
-
|
168 |
-
|
169 |
-
|
170 |
-
|
171 |
-
|
172 |
$email_name = "Admin Notification";
|
173 |
$send_to = get_option('admin_email');
|
174 |
$email_address = get_option('admin_email');
|
@@ -219,10 +219,8 @@ else
|
|
219 |
""
|
220 |
)
|
221 |
);
|
222 |
-
|
223 |
-
|
224 |
-
}
|
225 |
-
|
226 |
$form_data = $wpdb->get_results
|
227 |
(
|
228 |
$wpdb->prepare
|
@@ -243,8 +241,6 @@ else
|
|
243 |
$form_id
|
244 |
)
|
245 |
);
|
246 |
-
|
247 |
-
//}
|
248 |
?>
|
249 |
<form id="ux_dynamic_form_submit" class="layout-form">
|
250 |
<div id="poststuff" style="width: 99% !important;">
|
@@ -460,7 +456,7 @@ else
|
|
460 |
</div>
|
461 |
<div class="layout-control-group">
|
462 |
<button type="button" class="btn btn-info button_space" onclick="create_control(5);">
|
463 |
-
|
464 |
</button>
|
465 |
<button type="button" class="btn btn-info button_space" onclick="create_control(6);">
|
466 |
<i class="icon-custom-control-play"></i> <?php _e("Radio Buttons", contact_bank); ?>
|
@@ -494,7 +490,7 @@ else
|
|
494 |
<i class="icon-custom-pointer"></i> <?php _e("Address", contact_bank); ?>
|
495 |
</button>
|
496 |
</div>
|
497 |
-
|
498 |
<button type="button" class="btn btn-info button_space" onclick="create_control(7);">
|
499 |
<i class=" icon-custom-list"></i> <?php _e("Number", contact_bank); ?>
|
500 |
</button>
|
@@ -512,7 +508,7 @@ else
|
|
512 |
</div>
|
513 |
<div class="layout-control-group">
|
514 |
<button type="button" class="btn btn-info button_space" onclick="create_control(15);">
|
515 |
-
|
516 |
</button>
|
517 |
</div>
|
518 |
</div>
|
162 |
$settings["error_msg_rdl_text_align"] = "0";
|
163 |
$settings["error_msg_text_direction"] = "inherit";
|
164 |
foreach($settings as $key => $value)
|
165 |
+
{
|
166 |
+
$sql[] = '('.$form_id.',"'.$key.'", "'.$value.'")';
|
167 |
+
}
|
168 |
+
$wpdb->query
|
169 |
+
(
|
170 |
+
"INSERT INTO " . contact_bank_layout_settings_Table() . "(form_id,form_settings_key,form_settings_value) VALUES ".implode(',', $sql)
|
171 |
+
);
|
172 |
$email_name = "Admin Notification";
|
173 |
$send_to = get_option('admin_email');
|
174 |
$email_address = get_option('admin_email');
|
219 |
""
|
220 |
)
|
221 |
);
|
222 |
+
}
|
223 |
+
}
|
|
|
|
|
224 |
$form_data = $wpdb->get_results
|
225 |
(
|
226 |
$wpdb->prepare
|
241 |
$form_id
|
242 |
)
|
243 |
);
|
|
|
|
|
244 |
?>
|
245 |
<form id="ux_dynamic_form_submit" class="layout-form">
|
246 |
<div id="poststuff" style="width: 99% !important;">
|
456 |
</div>
|
457 |
<div class="layout-control-group">
|
458 |
<button type="button" class="btn btn-info button_space" onclick="create_control(5);">
|
459 |
+
<i class="icon-custom-check"></i> <?php _e("Checkboxes", contact_bank); ?>
|
460 |
</button>
|
461 |
<button type="button" class="btn btn-info button_space" onclick="create_control(6);">
|
462 |
<i class="icon-custom-control-play"></i> <?php _e("Radio Buttons", contact_bank); ?>
|
490 |
<i class="icon-custom-pointer"></i> <?php _e("Address", contact_bank); ?>
|
491 |
</button>
|
492 |
</div>
|
493 |
+
<div class="layout-control-group">
|
494 |
<button type="button" class="btn btn-info button_space" onclick="create_control(7);">
|
495 |
<i class=" icon-custom-list"></i> <?php _e("Number", contact_bank); ?>
|
496 |
</button>
|
508 |
</div>
|
509 |
<div class="layout-control-group">
|
510 |
<button type="button" class="btn btn-info button_space" onclick="create_control(15);">
|
511 |
+
<i class="icon-custom-lock"></i> <?php _e("Password", contact_bank); ?>
|
512 |
</button>
|
513 |
</div>
|
514 |
</div>
|
views/dashboard.php
CHANGED
@@ -49,12 +49,8 @@ else
|
|
49 |
<?php
|
50 |
}
|
51 |
?>
|
52 |
-
<a class="btn btn-info" href="#"
|
53 |
-
|
54 |
-
</a>
|
55 |
-
<a class="btn btn-danger" href="#"
|
56 |
-
onclick="restore_factory_settings();"><?php _e("Restore Factory Settings", contact_bank); ?>
|
57 |
-
</a>
|
58 |
<div class="separator-doubled" style="margin-bottom: 5px;"></div>
|
59 |
<a rel="prettyPhoto[contact]" href="<?php echo plugins_url("/assets/images/how-to-setup-short-code-cb.png" , dirname(__FILE__));?>">How to setup Short-Codes for Contact Bank into your WordPress Page/Post?</a>
|
60 |
<div class="fluid-layout">
|
49 |
<?php
|
50 |
}
|
51 |
?>
|
52 |
+
<a class="btn btn-info" href="#" onclick="delete_forms();"><?php _e("Delete All Forms", contact_bank); ?></a>
|
53 |
+
<a class="btn btn-danger" href="#" onclick="restore_factory_settings();"><?php _e("Restore Factory Settings", contact_bank); ?></a>
|
|
|
|
|
|
|
|
|
54 |
<div class="separator-doubled" style="margin-bottom: 5px;"></div>
|
55 |
<a rel="prettyPhoto[contact]" href="<?php echo plugins_url("/assets/images/how-to-setup-short-code-cb.png" , dirname(__FILE__));?>">How to setup Short-Codes for Contact Bank into your WordPress Page/Post?</a>
|
56 |
<div class="fluid-layout">
|
views/footer.php
CHANGED
@@ -18,8 +18,8 @@ if (!current_user_can($cb_user_role_permission))
|
|
18 |
}
|
19 |
else
|
20 |
{
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
}
|
25 |
?>
|
18 |
}
|
19 |
else
|
20 |
{
|
21 |
+
?>
|
22 |
+
<div style="margin: 10px;text-align: center;"><img src="<?php echo plugins_url("/assets/images/footer.png" , dirname(__FILE__));?>"/></div>
|
23 |
+
<?php
|
24 |
}
|
25 |
?>
|
views/includes_common_after.php
CHANGED
@@ -18,505 +18,489 @@ if (!current_user_can($cb_user_role_permission))
|
|
18 |
}
|
19 |
else
|
20 |
{
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
32 |
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
var proposedTop = (window.innerHeight - lightboxHeight - 40) / 2 ;
|
40 |
-
var proposedLeft = (window.innerWidth - lightboxWidth - 40) / 2 ;
|
41 |
-
jQuery("#setting_controls_postback").css("top",proposedTop + "px");
|
42 |
-
jQuery("#setting_controls_postback").css("left",proposedLeft + "px");
|
43 |
-
});
|
44 |
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
|
85 |
-
|
86 |
-
|
87 |
-
|
88 |
-
|
89 |
-
|
90 |
-
|
91 |
-
|
92 |
-
|
93 |
-
|
94 |
-
|
95 |
-
|
96 |
-
|
97 |
-
|
98 |
-
|
99 |
-
|
100 |
-
|
101 |
-
|
102 |
-
|
103 |
-
|
104 |
-
|
105 |
-
|
106 |
-
|
107 |
-
|
108 |
-
|
109 |
-
|
110 |
-
|
111 |
-
|
112 |
-
|
113 |
-
|
114 |
-
|
115 |
-
|
116 |
-
|
117 |
-
|
118 |
-
|
119 |
-
|
120 |
-
|
121 |
-
|
122 |
-
|
123 |
-
|
124 |
-
|
125 |
-
|
126 |
-
|
127 |
-
|
128 |
-
|
129 |
-
|
130 |
-
|
131 |
-
|
132 |
-
|
133 |
-
|
134 |
-
|
135 |
-
|
136 |
-
|
137 |
-
|
138 |
-
|
139 |
-
|
140 |
-
|
141 |
-
|
142 |
-
|
143 |
-
|
144 |
-
|
145 |
-
|
146 |
-
|
147 |
-
|
148 |
-
|
149 |
-
|
150 |
-
|
151 |
-
|
152 |
-
|
153 |
-
|
154 |
-
|
155 |
-
|
156 |
-
|
157 |
-
|
158 |
-
|
159 |
-
|
160 |
-
|
161 |
-
|
162 |
-
|
163 |
-
|
164 |
-
|
165 |
-
|
166 |
-
|
167 |
-
|
168 |
-
|
169 |
-
|
170 |
-
|
171 |
-
|
172 |
-
|
173 |
-
|
174 |
-
|
175 |
-
|
176 |
-
|
177 |
-
|
178 |
-
|
179 |
-
|
180 |
-
|
181 |
-
|
182 |
-
|
183 |
-
|
184 |
-
|
185 |
-
|
186 |
-
|
187 |
-
|
188 |
-
|
189 |
-
|
190 |
-
|
191 |
-
|
192 |
-
|
193 |
-
|
194 |
-
|
195 |
-
|
196 |
-
|
197 |
-
|
198 |
-
|
199 |
-
|
200 |
-
|
201 |
-
|
202 |
-
|
203 |
-
|
204 |
-
|
205 |
-
|
206 |
-
|
207 |
-
|
208 |
-
|
209 |
-
|
210 |
-
|
211 |
-
|
212 |
-
|
213 |
-
|
214 |
-
|
215 |
-
|
216 |
-
|
217 |
-
|
218 |
-
|
219 |
-
|
220 |
-
|
221 |
-
|
222 |
-
|
223 |
-
|
224 |
-
|
225 |
-
|
226 |
-
|
227 |
-
|
228 |
-
|
229 |
-
|
230 |
-
|
231 |
-
|
232 |
-
|
233 |
-
|
234 |
-
|
235 |
-
|
236 |
-
|
237 |
-
|
238 |
-
|
239 |
-
|
240 |
-
|
241 |
-
|
242 |
-
|
243 |
-
|
244 |
-
|
245 |
-
|
246 |
-
|
247 |
-
|
248 |
-
|
249 |
-
|
250 |
-
|
251 |
-
|
252 |
-
|
253 |
-
|
254 |
-
|
255 |
-
|
256 |
-
|
257 |
-
|
258 |
-
|
259 |
-
|
260 |
-
|
261 |
-
|
262 |
-
|
263 |
-
|
264 |
-
|
265 |
-
|
266 |
-
|
267 |
-
|
268 |
-
|
269 |
-
|
270 |
-
|
271 |
-
|
272 |
-
|
273 |
-
|
274 |
-
|
275 |
-
|
276 |
-
|
277 |
-
|
278 |
-
|
279 |
-
|
280 |
-
|
281 |
-
|
282 |
-
|
283 |
-
|
284 |
-
|
285 |
-
|
286 |
-
|
287 |
-
|
288 |
-
|
289 |
-
|
290 |
-
|
291 |
-
|
292 |
-
|
293 |
-
|
294 |
-
|
295 |
-
|
296 |
-
|
297 |
-
|
298 |
-
|
299 |
-
|
300 |
-
|
301 |
-
|
302 |
-
|
303 |
-
|
304 |
-
|
305 |
-
|
306 |
-
|
307 |
-
|
308 |
-
|
309 |
-
|
310 |
-
|
311 |
-
|
312 |
-
|
313 |
-
|
314 |
-
|
315 |
-
|
316 |
-
|
317 |
-
|
318 |
-
|
319 |
-
|
320 |
-
|
321 |
-
|
322 |
-
|
323 |
-
|
324 |
-
|
325 |
-
|
326 |
-
|
327 |
-
|
328 |
-
|
329 |
-
|
330 |
-
|
331 |
-
|
332 |
-
|
333 |
-
|
334 |
-
|
335 |
-
|
336 |
-
|
337 |
-
|
338 |
-
|
339 |
-
|
340 |
-
|
341 |
-
|
342 |
-
|
343 |
-
|
344 |
-
|
345 |
-
|
346 |
-
|
347 |
-
|
348 |
-
|
349 |
-
|
350 |
-
|
351 |
-
|
352 |
-
|
353 |
-
|
354 |
-
|
355 |
-
|
356 |
-
|
357 |
-
|
358 |
-
|
359 |
-
|
360 |
-
|
361 |
-
|
362 |
-
|
363 |
-
|
364 |
-
|
365 |
-
|
366 |
-
|
367 |
-
|
368 |
-
|
369 |
-
|
370 |
-
|
371 |
-
|
372 |
-
|
373 |
-
|
374 |
-
|
375 |
-
|
376 |
-
|
377 |
-
|
378 |
-
|
379 |
-
|
380 |
-
|
381 |
-
|
382 |
-
|
383 |
-
|
384 |
-
|
385 |
-
|
386 |
-
|
387 |
-
|
388 |
-
|
389 |
-
|
390 |
-
|
391 |
-
|
392 |
-
|
393 |
-
|
394 |
-
|
395 |
-
|
396 |
-
|
397 |
-
|
398 |
-
|
399 |
-
|
400 |
-
|
401 |
-
|
402 |
-
|
403 |
-
|
404 |
-
|
405 |
-
|
406 |
-
|
407 |
-
|
408 |
-
|
409 |
-
|
410 |
-
|
411 |
-
|
412 |
-
|
413 |
-
|
414 |
-
|
415 |
-
|
416 |
-
|
417 |
-
|
418 |
-
|
419 |
-
|
420 |
-
|
421 |
-
|
422 |
-
|
423 |
-
|
424 |
-
|
425 |
-
|
426 |
-
|
427 |
-
|
428 |
-
|
429 |
-
|
430 |
-
|
431 |
-
|
432 |
-
|
433 |
-
|
434 |
-
|
435 |
-
|
436 |
-
|
437 |
-
|
438 |
-
|
439 |
-
|
440 |
-
|
441 |
-
|
442 |
-
|
443 |
-
|
444 |
-
|
445 |
-
|
446 |
-
|
447 |
-
|
448 |
-
|
449 |
-
|
450 |
-
|
451 |
-
|
452 |
-
|
453 |
-
|
454 |
-
|
455 |
-
|
456 |
-
|
457 |
-
|
458 |
-
|
459 |
-
|
460 |
-
|
461 |
-
|
462 |
-
|
463 |
-
|
464 |
-
|
465 |
-
|
466 |
-
|
467 |
-
|
468 |
-
|
469 |
-
|
470 |
-
|
471 |
-
|
472 |
-
|
473 |
-
|
474 |
-
|
475 |
-
|
476 |
-
|
477 |
-
|
478 |
-
|
479 |
-
|
480 |
-
|
481 |
-
|
482 |
-
|
483 |
-
|
484 |
-
|
485 |
-
|
486 |
-
|
487 |
-
|
488 |
-
|
489 |
-
|
490 |
-
|
491 |
-
|
492 |
-
|
493 |
-
|
494 |
-
|
495 |
-
|
496 |
-
|
497 |
-
|
498 |
-
"SELECT * FROM " .create_control_Table(). " where form_id= %d order by sorting_order asc",
|
499 |
-
$form_id
|
500 |
-
)
|
501 |
-
);
|
502 |
-
for($flag = 0; $flag < count($form_data);$flag++)
|
503 |
-
{
|
504 |
-
?>
|
505 |
-
create_control(<?php echo $form_data[$flag]->field_id;?>,<?php echo $form_data[$flag]->column_dynamicId;?>,"edit");
|
506 |
-
<?php
|
507 |
-
}
|
508 |
-
?>
|
509 |
-
if (typeof(prevent_paste) != "function")
|
510 |
-
{
|
511 |
-
function prevent_paste(control_id)
|
512 |
-
{
|
513 |
-
jQuery("#"+control_id).live("paste",function(e)
|
514 |
-
{
|
515 |
-
e.preventDefault();
|
516 |
-
});
|
517 |
-
}
|
518 |
-
}
|
519 |
-
</script>
|
520 |
<?php
|
521 |
}
|
522 |
?>
|
18 |
}
|
19 |
else
|
20 |
{
|
21 |
+
?>
|
22 |
+
<div class="white_content" id="setting_controls_postback">
|
23 |
+
</div>
|
24 |
+
<div class="black_overlay"></div>
|
25 |
+
<script type="text/javascript">
|
26 |
+
var array_form_settings = [];
|
27 |
+
var field_dynamic_id = [];
|
28 |
+
var array_delete_form_controls = [];
|
29 |
+
var form_id = "<?php echo $form_id;?>";
|
30 |
+
jQuery(document).ready(function()
|
31 |
+
{
|
32 |
+
jQuery(window).resize(function()
|
33 |
+
{
|
34 |
+
var windowHeight = window.innerHeight - 200;
|
35 |
+
var windowWidth = window.innerWidth - 200;
|
36 |
+
var lightboxHeight = jQuery("#setting_controls_postback").height();
|
37 |
+
var lightboxWidth = jQuery("#setting_controls_postback").width();
|
38 |
+
var proposedTop = (window.innerHeight - lightboxHeight - 40) / 2 ;
|
39 |
+
var proposedLeft = (window.innerWidth - lightboxWidth - 40) / 2 ;
|
40 |
+
jQuery("#setting_controls_postback").css("top",proposedTop + "px");
|
41 |
+
jQuery("#setting_controls_postback").css("left",proposedLeft + "px");
|
42 |
+
});
|
43 |
|
44 |
+
jQuery("#left_block").sortable
|
45 |
+
({
|
46 |
+
opacity: 0.6,
|
47 |
+
cursor: "move",
|
48 |
+
update: function()
|
49 |
+
{
|
|
|
|
|
|
|
|
|
|
|
50 |
|
51 |
+
var field_dynamic_id = [];
|
52 |
+
var order = jQuery("#left_block").sortable("toArray");
|
53 |
+
for(var flag=0;flag<order.length;flag++)
|
54 |
+
{
|
55 |
+
var field_order_str = order[flag].split("div_");
|
56 |
+
field_dynamic_id.push(field_order_str[1].split("_")[0]);
|
57 |
+
}
|
58 |
+
jQuery.post(ajaxurl,"form_id="+form_id+"&field_dynamic_id="+JSON.stringify(field_dynamic_id)+"¶m=form_fields_sorting_order&action=add_contact_form_library", function(data)
|
59 |
+
{
|
60 |
+
});
|
61 |
+
}
|
62 |
+
});
|
63 |
+
show_url_control();
|
64 |
+
});
|
65 |
+
if (typeof(enter_admin_label) != "function")
|
66 |
+
{
|
67 |
+
function enter_admin_label(dynamicId)
|
68 |
+
{
|
69 |
+
var ux_label = jQuery("#ux_label_text_"+dynamicId).val();
|
70 |
+
jQuery("#ux_admin_label_"+dynamicId).val(ux_label);
|
71 |
+
}
|
72 |
+
}
|
73 |
+
if (typeof(delete_textbox) != "function")
|
74 |
+
{
|
75 |
+
function delete_textbox(dynamicId,control_type,control_id)
|
76 |
+
{
|
77 |
+
array_delete_form_controls.push(control_id);
|
78 |
+
jQuery("#div_"+dynamicId+"_"+control_type).remove();
|
79 |
+
}
|
80 |
+
}
|
81 |
+
if (typeof(add_settings) != "function")
|
82 |
+
{
|
83 |
+
function add_settings(dynamicId,field_type)
|
84 |
+
{
|
85 |
+
jQuery.post(ajaxurl, "form_id="+form_id+"&dynamicId="+dynamicId+"&field_type="+field_type+"¶m=add_settings_div&action=add_contact_form_library", function(data)
|
86 |
+
{
|
87 |
+
jQuery("#setting_controls_postback").html(data);
|
88 |
+
show_Popup();
|
89 |
+
});
|
90 |
+
}
|
91 |
+
}
|
92 |
+
if (typeof(show_Popup) != "function")
|
93 |
+
{
|
94 |
+
function show_Popup()
|
95 |
+
{
|
96 |
+
jQuery(".black_overlay").css("display","block");
|
97 |
+
jQuery(".white_content").css("display","block");
|
98 |
+
var windowHeight = window.innerHeight - 200;
|
99 |
+
var windowWidth = window.innerWidth - 200;
|
100 |
+
var anchor = jQuery("<a class=\"closeButtonLightbox\" onclick=\"CloseLightbox();\"></a>");
|
101 |
+
jQuery("#setting_controls_postback").append(anchor);
|
102 |
+
var lightboxHeight = jQuery("#setting_controls_postback").height();
|
103 |
+
var lightboxWidth = jQuery("#setting_controls_postback").width();
|
104 |
+
var proposedTop = (window.innerHeight - lightboxHeight - 40) / 2 ;
|
105 |
+
var proposedLeft = (window.innerWidth - lightboxWidth - 40) / 2 ;
|
106 |
+
jQuery("#setting_controls_postback").css("top",proposedTop + "px");
|
107 |
+
jQuery("#setting_controls_postback").css("left",proposedLeft + "px");
|
108 |
+
jQuery("#setting_controls_postback").fadeIn(200);
|
109 |
+
}
|
110 |
+
}
|
111 |
+
if (typeof(CloseLightbox) != "function")
|
112 |
+
{
|
113 |
+
function CloseLightbox()
|
114 |
+
{
|
115 |
+
jQuery("#setting_controls_postback").css("display","none");
|
116 |
+
jQuery(".black_overlay").css("display","none");
|
117 |
+
jQuery("#fade").fadeOut(200);
|
118 |
+
}
|
119 |
+
}
|
120 |
+
if (typeof(show_url_control) != "function")
|
121 |
+
{
|
122 |
+
function show_url_control()
|
123 |
+
{
|
124 |
+
if(jQuery("#ux_rdl_page").prop("checked") == true)
|
125 |
+
{
|
126 |
+
jQuery("#div_url").hide();
|
127 |
+
jQuery("#div_page").show();
|
128 |
+
}
|
129 |
+
else
|
130 |
+
{
|
131 |
+
jQuery("#div_page").hide();
|
132 |
+
jQuery("#div_url").show();
|
133 |
+
}
|
134 |
+
}
|
135 |
+
}
|
136 |
+
if (typeof(create_control) != "function")
|
137 |
+
{
|
138 |
+
function create_control(control_type,dynamicId,type)
|
139 |
+
{
|
140 |
+
dynamicId = typeof dynamicId !== "undefined" ? dynamicId : Math.floor((Math.random()*100000)+1);
|
141 |
+
switch(parseInt(control_type))
|
142 |
+
{
|
143 |
+
case 1:
|
144 |
+
jQuery("#div_1_1").clone(false).attr("id","div_"+dynamicId+"_1").appendTo("#left_block");
|
145 |
+
jQuery("#div_"+dynamicId+"_1").children("label").attr("id","control_label_"+dynamicId);
|
146 |
+
jQuery("#div_"+dynamicId+"_1").children("div").attr("id","show_tooltip"+dynamicId);
|
147 |
+
jQuery("#show_tooltip"+dynamicId ).children("input[type=\"text\"]").attr("id","ux_txt_textbox_control_"+dynamicId);
|
148 |
+
jQuery("#show_tooltip"+dynamicId ).children("input[type=\"text\"]").attr("name","ux_txt_textbox_control_"+dynamicId);
|
149 |
+
jQuery("#show_tooltip"+dynamicId).children("a.btn").attr("id","add_setting_control_"+dynamicId);
|
150 |
+
jQuery("#show_tooltip"+dynamicId).children("a.btn").attr("onclick","add_settings("+dynamicId+",1)");
|
151 |
+
jQuery("#show_tooltip"+dynamicId).children("#anchor_del_").attr("id","anchor_del_"+dynamicId);
|
152 |
+
jQuery("#show_tooltip"+dynamicId).children("span").attr("id","txt_description_"+dynamicId);
|
153 |
+
jQuery("#show_tooltip"+dynamicId).children("div:first").attr("id","ux_text_control_tooltip_"+dynamicId).css("display","none");
|
154 |
+
jQuery("#show_tooltip"+dynamicId).children("div:eq(1)").attr("id","ux_text_control_placeholder_"+dynamicId).css("display","none");
|
155 |
+
jQuery("#div_"+dynamicId+"_1").attr("style","display:block");
|
156 |
+
jQuery(".hovertip").tooltip_tip({placement: "left"});
|
157 |
+
if(typeof type == "undefined")
|
158 |
+
{
|
159 |
+
jQuery.post(ajaxurl,
|
160 |
+
{
|
161 |
+
ux_hd_textbox_dynamic_id: dynamicId,
|
162 |
+
form_id: form_id,
|
163 |
+
events: "add",
|
164 |
+
param: "save_text_control",
|
165 |
+
action: "add_contact_form_library",
|
166 |
+
},
|
167 |
+
function(data)
|
168 |
+
{
|
169 |
+
jQuery("#show_tooltip"+dynamicId).children("#anchor_del_"+dynamicId).attr("onclick","delete_textbox("+dynamicId+",1,"+data+");");
|
170 |
+
});
|
171 |
+
}
|
172 |
+
else
|
173 |
+
{
|
174 |
+
jQuery.post(ajaxurl,"form_id="+form_id+"&dynamicId="+dynamicId+"&control_type="+control_type+"¶m=bind_text_control&action=show_form_control_data_contact_library", function(data)
|
175 |
+
{
|
176 |
+
var bind_data = JSON.parse(data);
|
177 |
+
jQuery("#control_label_"+dynamicId).html(bind_data[dynamicId].cb_label_value+" :");
|
178 |
+
jQuery("#txt_description_"+dynamicId).html(bind_data[dynamicId].cb_description);
|
179 |
+
jQuery("#ux_text_control_tooltip_"+dynamicId).html(bind_data[dynamicId].cb_tooltip_txt);
|
180 |
+
jQuery("#ux_text_control_placeholder_"+dynamicId).html(bind_data[dynamicId].cb_default_txt_val);
|
181 |
+
jQuery("#show_tooltip"+dynamicId).attr("data-original-title",jQuery("#ux_text_control_tooltip_"+dynamicId).text());
|
182 |
+
jQuery("#ux_txt_textbox_control_"+dynamicId).attr("placeholder",jQuery("#ux_text_control_placeholder_"+dynamicId).text());
|
183 |
+
if(bind_data[dynamicId].cb_control_required == "1")
|
184 |
+
{
|
185 |
+
jQuery("#control_label_"+dynamicId).append("<span class=\"error_field\">*</span>");
|
186 |
+
}
|
187 |
+
var control_id = bind_data[dynamicId].control_id;
|
188 |
+
jQuery("#show_tooltip"+dynamicId).children("#anchor_del_"+dynamicId).attr("onclick","delete_textbox("+dynamicId+","+control_type+","+control_id+");");
|
189 |
+
});
|
190 |
+
}
|
191 |
+
break;
|
192 |
+
case 2:
|
193 |
+
jQuery("#div_2_2").clone(false).attr("id","div_"+dynamicId+"_2").appendTo("#left_block");
|
194 |
+
jQuery("#div_"+dynamicId+"_2").children("label").attr("id","control_label_"+dynamicId);
|
195 |
+
jQuery("#div_"+dynamicId+"_2").children("div").attr("id","show_tooltip"+dynamicId);
|
196 |
+
jQuery("#show_tooltip"+dynamicId ).children("textarea[type=\"textarea\"]").attr("id","ux_textarea_control_"+dynamicId);
|
197 |
+
jQuery("#show_tooltip"+dynamicId ).children("textarea[type=\"textarea\"]").attr("name","ux_textarea_control_"+dynamicId);
|
198 |
+
jQuery("#show_tooltip"+dynamicId).children("a.btn").attr("id","add_setting_control_"+dynamicId);
|
199 |
+
jQuery("#show_tooltip"+dynamicId).children("a.btn").attr("onclick","add_settings("+dynamicId+",2)");
|
200 |
+
jQuery("#show_tooltip"+dynamicId).children("#anchor_del_").attr("id","anchor_del_"+dynamicId);
|
201 |
+
jQuery("#show_tooltip"+dynamicId).children("span").attr("id","txt_description_"+dynamicId);
|
202 |
+
jQuery("#show_tooltip"+dynamicId).children("div:first").attr("id","ux_txtarea_control_tooltip_"+dynamicId).css("display","none");
|
203 |
+
jQuery("#show_tooltip"+dynamicId).children("div:eq(1)").attr("id","ux_txtarea_control_placeholder_"+dynamicId).css("display","none");
|
204 |
+
jQuery("#div_"+dynamicId+"_2").attr("style","display:block");
|
205 |
+
jQuery(".hovertip").tooltip_tip({placement: "left"});
|
206 |
+
if(typeof type == "undefined")
|
207 |
+
{
|
208 |
+
jQuery.post(ajaxurl,
|
209 |
+
{
|
210 |
+
ux_hd_textbox_dynamic_id: dynamicId,
|
211 |
+
form_id: form_id,
|
212 |
+
events: "add",
|
213 |
+
param: "save_textarea_control",
|
214 |
+
action: "add_contact_form_library",
|
215 |
+
},
|
216 |
+
function(data)
|
217 |
+
{
|
218 |
+
jQuery("#show_tooltip"+dynamicId).children("#anchor_del_"+dynamicId).attr("onclick","delete_textbox("+dynamicId+",2,"+data+");");
|
219 |
+
});
|
220 |
+
}
|
221 |
+
else
|
222 |
+
{
|
223 |
+
jQuery.post(ajaxurl,"form_id="+form_id+"&dynamicId="+dynamicId+"&control_type="+control_type+"¶m=bind_text_control&action=show_form_control_data_contact_library", function(data)
|
224 |
+
{
|
225 |
+
var bind_data = JSON.parse(data);
|
226 |
+
jQuery("#control_label_"+dynamicId).html(bind_data[dynamicId].cb_label_value+" :");
|
227 |
+
jQuery("#txt_description_"+dynamicId).html(bind_data[dynamicId].cb_description);
|
228 |
+
jQuery("#ux_txtarea_control_tooltip_"+dynamicId).html(bind_data[dynamicId].cb_tooltip_txt);
|
229 |
+
jQuery("#ux_txtarea_control_placeholder_"+dynamicId).html(bind_data[dynamicId].cb_default_txt_val);
|
230 |
+
jQuery("#show_tooltip"+dynamicId).attr("data-original-title",jQuery("#ux_txtarea_control_tooltip_"+dynamicId).text());
|
231 |
+
jQuery("#ux_textarea_control_"+dynamicId).attr("placeholder",jQuery("#ux_txtarea_control_placeholder_"+dynamicId).text());
|
232 |
+
if(bind_data[dynamicId].cb_control_required == "1")
|
233 |
+
{
|
234 |
+
jQuery("#control_label_"+dynamicId).append("<span class=\"error_field\">*</span>");
|
235 |
+
}
|
236 |
+
var control_id = bind_data[dynamicId].control_id;
|
237 |
+
jQuery("#show_tooltip"+dynamicId).children("#anchor_del_"+dynamicId).attr("onclick","delete_textbox("+dynamicId+","+control_type+","+control_id+");");
|
238 |
+
});
|
239 |
+
}
|
240 |
+
break;
|
241 |
+
case 3:
|
242 |
+
jQuery("#div_3_3").clone(false).attr("id","div_"+dynamicId+"_3").appendTo("#left_block");
|
243 |
+
jQuery("#div_"+dynamicId+"_3").children("label").attr("id","control_label_"+dynamicId);
|
244 |
+
jQuery("#div_"+dynamicId+"_3").children("div").attr("id","show_tooltip"+dynamicId);
|
245 |
+
jQuery("#show_tooltip"+dynamicId).children("input[type=\"text\"]").attr("id","ux_txt_email_"+dynamicId);
|
246 |
+
jQuery("#show_tooltip"+dynamicId).children("input[type=\"text\"]").attr("name","ux_txt_email_"+dynamicId);
|
247 |
+
jQuery("#show_tooltip"+dynamicId).children("a.btn").attr("id","add_setting_control_"+dynamicId);
|
248 |
+
jQuery("#show_tooltip"+dynamicId).children("a.btn").attr("onclick","add_settings("+dynamicId+",3)");
|
249 |
+
jQuery("#show_tooltip"+dynamicId).children("#anchor_del_").attr("id","anchor_del_"+dynamicId);
|
250 |
+
jQuery("#show_tooltip"+dynamicId).children("span").attr("id","txt_description_"+dynamicId);
|
251 |
+
jQuery("#show_tooltip"+dynamicId).children("div:first").attr("id","ux_email_control_tooltip_"+dynamicId).css("display","none");
|
252 |
+
jQuery("#show_tooltip"+dynamicId).children("div:eq(1)").attr("id","ux_email_control_placeholder_"+dynamicId).css("display","none");
|
253 |
+
jQuery("#div_"+dynamicId+"_3").attr("style","display:block");
|
254 |
+
jQuery(".hovertip").tooltip_tip({placement: "left"});
|
255 |
+
if(typeof type == "undefined")
|
256 |
+
{
|
257 |
+
jQuery.post(ajaxurl,
|
258 |
+
{
|
259 |
+
ux_hd_textbox_dynamic_id: dynamicId,
|
260 |
+
form_id: form_id,
|
261 |
+
events: "add",
|
262 |
+
param: "save_email_control",
|
263 |
+
action: "add_contact_form_library",
|
264 |
+
},
|
265 |
+
function(data)
|
266 |
+
{
|
267 |
+
jQuery("#show_tooltip"+dynamicId).children("#anchor_del_"+dynamicId).attr("onclick","delete_textbox("+dynamicId+",3,"+data+");");
|
268 |
+
});
|
269 |
+
}
|
270 |
+
else
|
271 |
+
{
|
272 |
+
jQuery.post(ajaxurl,"form_id="+form_id+"&dynamicId="+dynamicId+"&control_type="+control_type+"¶m=bind_text_control&action=show_form_control_data_contact_library", function(data)
|
273 |
+
{
|
274 |
+
var bind_data = JSON.parse(data);
|
275 |
+
jQuery("#control_label_"+dynamicId).html(bind_data[dynamicId].cb_label_value+" :");
|
276 |
+
jQuery("#txt_description_"+dynamicId).html(bind_data[dynamicId].cb_description);
|
277 |
+
jQuery("#ux_email_control_tooltip_"+dynamicId).html(bind_data[dynamicId].cb_tooltip_txt);
|
278 |
+
jQuery("#ux_email_control_placeholder_"+dynamicId).html(bind_data[dynamicId].cb_default_txt_val);
|
279 |
+
jQuery("#show_tooltip"+dynamicId).attr("data-original-title",jQuery("#ux_email_control_tooltip_"+dynamicId).text());
|
280 |
+
jQuery("#ux_txt_email_"+dynamicId).attr("placeholder",jQuery("#ux_email_control_placeholder_"+dynamicId).text());
|
281 |
+
if(bind_data[dynamicId].cb_control_required == "1")
|
282 |
+
{
|
283 |
+
jQuery("#control_label_"+dynamicId).append("<span class=\"error_field\">*</span>");
|
284 |
+
}
|
285 |
+
var control_id = bind_data[dynamicId].control_id;
|
286 |
+
jQuery("#show_tooltip"+dynamicId).children("#anchor_del_"+dynamicId).attr("onclick","delete_textbox("+dynamicId+","+control_type+","+control_id+");");
|
287 |
+
});
|
288 |
+
}
|
289 |
+
break;
|
290 |
+
case 4:
|
291 |
+
jQuery("#div_4_4").clone(false).attr("id","div_"+dynamicId+"_4").appendTo("#left_block");
|
292 |
+
jQuery("#div_"+dynamicId+"_4").children("label").attr("id","control_label_"+dynamicId);
|
293 |
+
jQuery("#div_"+dynamicId+"_4").children("div").attr("id","show_tooltip"+dynamicId);
|
294 |
+
jQuery("#show_tooltip"+dynamicId ).children("select[type=\"select\"]").attr("id","ux_ddl_select_control"+dynamicId);
|
295 |
+
jQuery("#show_tooltip"+dynamicId ).children("select[type=\"select\"]").attr("name","ux_ddl_select_control"+dynamicId);
|
296 |
+
jQuery("#show_tooltip"+dynamicId).children("a.btn").attr("id","add_setting_control_"+dynamicId);
|
297 |
+
jQuery("#show_tooltip"+dynamicId).children("a.btn").attr("onclick","add_settings("+dynamicId+",4)");
|
298 |
+
jQuery("#show_tooltip"+dynamicId).children("#anchor_del_").attr("id","anchor_del_"+dynamicId);
|
299 |
+
jQuery("#show_tooltip"+dynamicId).children("div:first").attr("id","ux_ddl_control_tooltip_"+dynamicId).css("display","none");
|
300 |
+
jQuery("#div_"+dynamicId+"_4").attr("style","display:block");
|
301 |
+
jQuery(".hovertip").tooltip_tip({placement: "left"});
|
302 |
+
if(typeof type == "undefined")
|
303 |
+
{
|
304 |
+
jQuery.post(ajaxurl,
|
305 |
+
{
|
306 |
+
ux_hd_textbox_dynamic_id: dynamicId,
|
307 |
+
form_id: form_id,
|
308 |
+
events: "add",
|
309 |
+
param: "save_drop_down_control",
|
310 |
+
action: "add_contact_form_library",
|
311 |
+
},
|
312 |
+
function(data)
|
313 |
+
{
|
314 |
+
jQuery("#show_tooltip"+dynamicId).children("#anchor_del_"+dynamicId).attr("onclick","delete_textbox("+dynamicId+",4,"+data+");");
|
315 |
+
});
|
316 |
+
}
|
317 |
+
else
|
318 |
+
{
|
319 |
+
jQuery.post(ajaxurl,"form_id="+form_id+"&dynamicId="+dynamicId+"&control_type="+control_type+"¶m=bind_text_control&action=show_form_control_data_contact_library", function(data)
|
320 |
+
{
|
321 |
+
var bind_data = JSON.parse(data);
|
322 |
+
jQuery("#control_label_"+dynamicId).html(bind_data[dynamicId].cb_label_value+" :");
|
323 |
+
jQuery("#ux_ddl_control_tooltip_"+dynamicId).html(bind_data[dynamicId].cb_tooltip_txt);
|
324 |
+
jQuery("#show_tooltip"+dynamicId).attr("data-original-title",jQuery("#ux_ddl_control_tooltip_"+dynamicId).text());
|
325 |
+
if(bind_data[dynamicId].cb_control_required == "1")
|
326 |
+
{
|
327 |
+
jQuery("#control_label_"+dynamicId).append("<span class=\"error_field\">*</span>");
|
328 |
+
}
|
329 |
+
var bind_data_list = bind_data[dynamicId].cb_dropdown_option_id;
|
330 |
+
for(var flag = 0; flag<bind_data_list.length;flag++)
|
331 |
+
{
|
332 |
+
jQuery("#ux_ddl_select_control"+dynamicId).append("<option value=\""+bind_data_list[flag]+"\">"+bind_data[dynamicId].cb_dropdown_option_val[flag]+"</option>");
|
333 |
+
}
|
334 |
+
var control_id = bind_data[dynamicId].control_id;
|
335 |
+
jQuery("#show_tooltip"+dynamicId).children("#anchor_del_"+dynamicId).attr("onclick","delete_textbox("+dynamicId+","+control_type+","+control_id+");");
|
336 |
+
});
|
337 |
+
}
|
338 |
+
break;
|
339 |
+
case 5:
|
340 |
+
jQuery("#div_5_5").clone(false).attr("id","div_"+dynamicId+"_5").appendTo("#left_block");
|
341 |
+
jQuery("#div_"+dynamicId+"_5").children("label").attr("id","control_label_"+dynamicId);
|
342 |
+
jQuery("#div_"+dynamicId+"_5").children("div").attr("id","post_back_checkbox_"+dynamicId);
|
343 |
+
jQuery("#post_back_checkbox_"+dynamicId).children("div").attr("id","show_tooltip"+dynamicId);
|
344 |
+
jQuery("#show_tooltip"+dynamicId ).children("input[type=\"checkbox\"]").attr("id","ux_chk_checkbox_control_"+dynamicId);
|
345 |
+
jQuery("#show_tooltip"+dynamicId ).children("input[type=\"checkbox\"]").attr("name","ux_chk_checkbox_control_"+dynamicId);
|
346 |
+
jQuery("#show_tooltip"+dynamicId ).children("span").attr("id","add_chk_options_here_"+dynamicId);
|
347 |
+
jQuery("#show_tooltip"+dynamicId).children("a.btn").attr("id","add_setting_control_"+dynamicId);
|
348 |
+
jQuery("#show_tooltip"+dynamicId).children("a.btn").attr("onclick","add_settings("+dynamicId+",5)");
|
349 |
+
jQuery("#show_tooltip"+dynamicId).children("#anchor_del_").attr("id","anchor_del_"+dynamicId);
|
350 |
+
jQuery("#show_tooltip"+dynamicId).children("div:first").attr("id","ux_chk_control_tooltip_"+dynamicId).css("display","none");
|
351 |
+
jQuery("#div_"+dynamicId+"_5").attr("style","display:block");
|
352 |
+
jQuery(".hovertip").tooltip_tip({placement: "left"});
|
353 |
+
if(typeof type == "undefined")
|
354 |
+
{
|
355 |
+
jQuery.post(ajaxurl,
|
356 |
+
{
|
357 |
+
ux_hd_textbox_dynamic_id: dynamicId,
|
358 |
+
form_id: form_id,
|
359 |
+
events: "add",
|
360 |
+
param: "save_check_box_control",
|
361 |
+
action: "add_contact_form_library",
|
362 |
+
},
|
363 |
+
function(data)
|
364 |
+
{
|
365 |
+
jQuery("#show_tooltip"+dynamicId).children("#anchor_del_"+dynamicId).attr("onclick","delete_textbox("+dynamicId+",5,"+data+");");
|
366 |
+
});
|
367 |
+
}
|
368 |
+
else
|
369 |
+
{
|
370 |
+
jQuery.post(ajaxurl,"form_id="+form_id+"&dynamicId="+dynamicId+"&control_type="+control_type+"¶m=bind_text_control&action=show_form_control_data_contact_library", function(data)
|
371 |
+
{
|
372 |
+
var bind_data = JSON.parse(data);
|
373 |
+
jQuery("#control_label_"+dynamicId).html(bind_data[dynamicId].cb_label_value+" :");
|
374 |
+
jQuery("#ux_chk_control_tooltip_"+dynamicId).html(bind_data[dynamicId].cb_tooltip_txt);
|
375 |
+
jQuery("#post_back_checkbox_"+dynamicId).attr("data-original-title",jQuery("#ux_chk_control_tooltip_"+dynamicId).text());
|
376 |
+
if(bind_data[dynamicId].cb_control_required == "1")
|
377 |
+
{
|
378 |
+
jQuery("#control_label_"+dynamicId).append("<span class=\"error_field\">*</span>");
|
379 |
+
}
|
380 |
+
var bind_chk_list = bind_data[dynamicId].cb_checkbox_option_id;
|
381 |
+
for(var flag = 0; flag<bind_chk_list.length;flag++)
|
382 |
+
{
|
383 |
+
jQuery("#ux_chk_checkbox_control_"+dynamicId).hide();
|
384 |
+
jQuery("#add_chk_options_here_"+dynamicId).append("<span id=\"input_id_"+bind_chk_list[flag]+"\"><input id=\"ux_chk_checkbox_control_"+bind_chk_list[flag]+"\" name=\"ux_chk_checkbox_control_"+bind_chk_list[flag]+"\" type=\"checkbox\"/><label class=\"rdl\">"+bind_data[dynamicId].cb_checkbox_option_val[flag]+"</label></span>");
|
385 |
+
}
|
386 |
+
var control_id = bind_data[dynamicId].control_id;
|
387 |
+
jQuery("#show_tooltip"+dynamicId).children("#anchor_del_"+dynamicId).attr("onclick","delete_textbox("+dynamicId+","+control_type+","+control_id+");");
|
388 |
+
});
|
389 |
+
}
|
390 |
+
break;
|
391 |
+
case 6:
|
392 |
+
jQuery("#div_6_6").clone(false).attr("id","div_"+dynamicId+"_6").appendTo("#left_block");
|
393 |
+
jQuery("#div_"+dynamicId+"_6").children("label").attr("id","control_label_"+dynamicId);
|
394 |
+
jQuery("#div_"+dynamicId+"_6").children("div").attr("id","post_back_radio_button_"+dynamicId);
|
395 |
+
jQuery("#post_back_radio_button_"+dynamicId).children("div").attr("id","show_tooltip"+dynamicId);
|
396 |
+
jQuery("#show_tooltip"+dynamicId ).children("input[type=\"radio\"]").attr("id","ux_radio_button_control_"+dynamicId);
|
397 |
+
jQuery("#show_tooltip"+dynamicId ).children("input[type=\"radio\"]").attr("name","ux_radio_button_control_"+dynamicId);
|
398 |
+
jQuery("#show_tooltip"+dynamicId ).children("span").attr("id","add_radio_options_here_"+dynamicId);
|
399 |
+
jQuery("#show_tooltip"+dynamicId).children("a.btn").attr("id","add_setting_control_"+dynamicId);
|
400 |
+
jQuery("#show_tooltip"+dynamicId).children("a.btn").attr("onclick","add_settings("+dynamicId+",6)");
|
401 |
+
jQuery("#show_tooltip"+dynamicId).children("#anchor_del_").attr("id","anchor_del_"+dynamicId);
|
402 |
+
jQuery("#show_tooltip"+dynamicId).children("div:first").attr("id","ux_rdl_control_tooltip_"+dynamicId).css("display","none");
|
403 |
+
jQuery("#div_"+dynamicId+"_6").attr("style","display:block");
|
404 |
+
jQuery(".hovertip").tooltip_tip({placement: "left"});
|
405 |
+
if(typeof type == "undefined")
|
406 |
+
{
|
407 |
+
jQuery.post(ajaxurl,
|
408 |
+
{
|
409 |
+
ux_hd_textbox_dynamic_id: dynamicId,
|
410 |
+
form_id: form_id,
|
411 |
+
events: "add",
|
412 |
+
param: "save_multiple_control",
|
413 |
+
action: "add_contact_form_library",
|
414 |
+
},
|
415 |
+
function(data)
|
416 |
+
{
|
417 |
+
jQuery("#show_tooltip"+dynamicId).children("#anchor_del_"+dynamicId).attr("onclick","delete_textbox("+dynamicId+",6,"+data+");");
|
418 |
+
});
|
419 |
+
}
|
420 |
+
else
|
421 |
+
{
|
422 |
+
jQuery.post(ajaxurl,"form_id="+form_id+"&dynamicId="+dynamicId+"&control_type="+control_type+"¶m=bind_text_control&action=show_form_control_data_contact_library", function(data)
|
423 |
+
{
|
424 |
+
var bind_data = JSON.parse(data);
|
425 |
+
jQuery("#control_label_"+dynamicId).html(bind_data[dynamicId].cb_label_value+" :");
|
426 |
+
jQuery("#ux_rdl_control_tooltip_"+dynamicId).html(bind_data[dynamicId].cb_tooltip_txt);
|
427 |
+
jQuery("#post_back_radio_button_"+dynamicId).attr("data-original-title",jQuery("#ux_rdl_control_tooltip_"+dynamicId).text());
|
428 |
+
if(bind_data[dynamicId].cb_control_required == "1")
|
429 |
+
{
|
430 |
+
jQuery("#control_label_"+dynamicId).append("<span class=\"error_field\">*</span>");
|
431 |
+
}
|
432 |
+
var bind_rdl_list = bind_data[dynamicId].cb_radio_option_id;
|
433 |
+
for(var flag = 0; flag<bind_rdl_list.length;flag++)
|
434 |
+
{
|
435 |
+
jQuery("#ux_radio_button_control_"+dynamicId).hide();
|
436 |
+
jQuery("#add_radio_options_here_"+dynamicId).append("<span id=\"input_id_"+bind_rdl_list[flag]+"\"><input id=\"ux_radio_button_control_"+bind_rdl_list[flag]+"\" name=\"ux_radio"+dynamicId+"\" type=\"radio\"/><label class=\"rdl\">"+bind_data[dynamicId].cb_radio_option_val[flag]+"</label></span>");
|
437 |
+
if(flag == 0)
|
438 |
+
{
|
439 |
+
jQuery("#ux_radio_button_control_"+bind_rdl_list[flag]).attr("checked","checked");
|
440 |
+
}
|
441 |
+
}
|
442 |
+
var control_id = bind_data[dynamicId].control_id;
|
443 |
+
jQuery("#show_tooltip"+dynamicId).children("#anchor_del_"+dynamicId).attr("onclick","delete_textbox("+dynamicId+","+control_type+","+control_id+");");
|
444 |
+
});
|
445 |
+
}
|
446 |
+
break;
|
447 |
+
case 7:
|
448 |
+
alert("<?php _e( "This Feature is only available in Premium Editions!", contact_bank ); ?>");
|
449 |
+
break;
|
450 |
+
case 8:
|
451 |
+
alert("<?php _e( "This Feature is only available in Premium Editions!", contact_bank ); ?>");
|
452 |
+
break;
|
453 |
+
case 9:
|
454 |
+
alert("<?php _e( "This Feature is only available in Premium Editions!", contact_bank ); ?>");
|
455 |
+
break;
|
456 |
+
case 10:
|
457 |
+
alert("<?php _e( "This Feature is only available in Premium Editions!", contact_bank ); ?>");
|
458 |
+
break;
|
459 |
+
case 11:
|
460 |
+
alert("<?php _e( "This Feature is only available in Premium Editions!", contact_bank ); ?>");
|
461 |
+
break;
|
462 |
+
case 12:
|
463 |
+
alert("<?php _e( "This Feature is only available in Premium Editions!", contact_bank ); ?>");
|
464 |
+
break;
|
465 |
+
case 13:
|
466 |
+
alert("<?php _e( "This Feature is only available in Premium Editions!", contact_bank ); ?>");
|
467 |
+
break;
|
468 |
+
case 15:
|
469 |
+
alert("<?php _e( "This Feature is only available in Premium Editions!", contact_bank ); ?>");
|
470 |
+
break;
|
471 |
+
case 16:
|
472 |
+
alert("<?php _e( "This Feature is only available in Premium Editions!", contact_bank ); ?>");
|
473 |
+
break;
|
474 |
+
}
|
475 |
+
}
|
476 |
+
}
|
477 |
+
<?php
|
478 |
+
$form_data = $wpdb->get_results
|
479 |
+
(
|
480 |
+
$wpdb->prepare
|
481 |
+
(
|
482 |
+
"SELECT * FROM " .create_control_Table(). " where form_id= %d order by sorting_order asc",
|
483 |
+
$form_id
|
484 |
+
)
|
485 |
+
);
|
486 |
+
for($flag = 0; $flag < count($form_data);$flag++)
|
487 |
+
{
|
488 |
+
?>
|
489 |
+
create_control(<?php echo $form_data[$flag]->field_id;?>,<?php echo $form_data[$flag]->column_dynamicId;?>,"edit");
|
490 |
+
<?php
|
491 |
+
}
|
492 |
+
?>
|
493 |
+
if (typeof(prevent_paste) != "function")
|
494 |
+
{
|
495 |
+
function prevent_paste(control_id)
|
496 |
+
{
|
497 |
+
jQuery("#"+control_id).live("paste",function(e)
|
498 |
+
{
|
499 |
+
e.preventDefault();
|
500 |
+
});
|
501 |
+
}
|
502 |
+
}
|
503 |
+
</script>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
504 |
<?php
|
505 |
}
|
506 |
?>
|