Contact Bank: WordPress Form Builder for Contact Forms - Version 2.0.44

Version Description

  • Few Bugs Fixed
  • Banners Updated
Download this release

Release Info

Developer contact-banker
Plugin Icon 128x128 Contact Bank: WordPress Form Builder for Contact Forms
Version 2.0.44
Comparing to
See all releases

Code changes from version 2.0.43 to 2.0.44

assets/images/img.png CHANGED
Binary file
contact-bank.php CHANGED
@@ -4,7 +4,7 @@ Plugin Name: Contact Bank Standard 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.0.43
8
  Author URI: http://tech-banker.com
9
  */
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.0.44
8
  Author URI: http://tech-banker.com
9
  */
10
  ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
includes/cb_checkbox.php CHANGED
@@ -107,7 +107,9 @@ if(count($control_id) != 0)
107
  <?php
108
  if(isset($form_settings[$dynamicId]["cb_checkbox_option_id"]) && isset($form_settings[$dynamicId]["cb_checkbox_option_val"]))
109
  {
110
- $options_value = unserialize($form_settings[$dynamicId]["cb_checkbox_option_val"]);
 
 
111
  if(count($options_value) > 0)
112
  {
113
  ?>
@@ -124,12 +126,15 @@ if(count($control_id) != 0)
124
  <div class="layout-controls">
125
  <select id="dropdown_ddl_option_<?php echo $dynamicId; ?>" class="layout-span9">
126
  <?php
127
- foreach(unserialize($form_settings[$dynamicId]["cb_checkbox_option_id"]) as $key => $value )
 
 
128
  {
129
  ?>
130
- <option value="<?php echo $value; ?>"><?php echo $options_value[$key]; ?></option>
131
  <?php
132
  }
 
133
  ?>
134
  </select>
135
  <input class="btn btn-info layout-span2" style="margin-left:10px;" value="<?php _e( "Delete", contact_bank ); ?>" type="button" id="ddl_options_btn_del_<?php echo $dynamicId; ?>" onclick="delete_ddl_options(<?php echo $dynamicId; ?>);" name="ddl_options_btn_del_<?php echo $dynamicId; ?>" />
@@ -208,7 +213,7 @@ jQuery("#ux_frm_check_box_control").validate
208
  options_ddl.push(this.value);
209
  options_value.push(this.text);
210
  });
211
- jQuery.post(ajaxurl, jQuery(form).serialize() + "&controlId="+controlId+"&form_id="+form_id+"&ddl_options_id="+JSON.stringify(options_ddl)+"&options_value="+JSON.stringify(options_value)+"&form_settings="+JSON.stringify(<?php echo json_encode($form_settings) ?>)+"&event=update&param=save_check_box_control&action=add_contact_form_library", function(data)
212
  {
213
  jQuery("#control_label_"+dynamicId).html(jQuery("#ux_label_text_"+dynamicId).val()+" :");
214
  jQuery("#post_back_checkbox_"+dynamicId).attr("data-original-title",jQuery("#ux_tooltip_control_"+dynamicId).val());
107
  <?php
108
  if(isset($form_settings[$dynamicId]["cb_checkbox_option_id"]) && isset($form_settings[$dynamicId]["cb_checkbox_option_val"]))
109
  {
110
+
111
+ $options_value = count( unserialize($form_settings[$dynamicId]["cb_checkbox_option_val"])) > 0 ? explode(",",unserialize($form_settings[$dynamicId]["cb_checkbox_option_val"])) : "";
112
+ $options_ids = count(unserialize($form_settings[$dynamicId]["cb_checkbox_option_id"])) > 0 ? explode(",",unserialize($form_settings[$dynamicId]["cb_checkbox_option_id"])) : "";
113
  if(count($options_value) > 0)
114
  {
115
  ?>
126
  <div class="layout-controls">
127
  <select id="dropdown_ddl_option_<?php echo $dynamicId; ?>" class="layout-span9">
128
  <?php
129
+ if($options_ids != "")
130
+ {
131
+ for($flag1 = 0;$flag1<count($options_ids);$flag1++)
132
  {
133
  ?>
134
+ <option value="<?php echo $options_ids[$flag1]; ?>"><?php echo $options_value[$flag1]; ?></option>
135
  <?php
136
  }
137
+ }
138
  ?>
139
  </select>
140
  <input class="btn btn-info layout-span2" style="margin-left:10px;" value="<?php _e( "Delete", contact_bank ); ?>" type="button" id="ddl_options_btn_del_<?php echo $dynamicId; ?>" onclick="delete_ddl_options(<?php echo $dynamicId; ?>);" name="ddl_options_btn_del_<?php echo $dynamicId; ?>" />
213
  options_ddl.push(this.value);
214
  options_value.push(this.text);
215
  });
216
+ jQuery.post(ajaxurl, jQuery(form).serialize() + "&controlId="+controlId+"&form_id="+form_id+"&ddl_options_id="+JSON.stringify(encodeURIComponent(options_ddl))+"&options_value="+JSON.stringify(encodeURIComponent(options_value))+"&form_settings="+JSON.stringify(<?php echo json_encode($form_settings) ?>)+"&event=update&param=save_check_box_control&action=add_contact_form_library", function(data)
217
  {
218
  jQuery("#control_label_"+dynamicId).html(jQuery("#ux_label_text_"+dynamicId).val()+" :");
219
  jQuery("#post_back_checkbox_"+dynamicId).attr("data-original-title",jQuery("#ux_tooltip_control_"+dynamicId).val());
includes/cb_dropdown.php CHANGED
@@ -107,7 +107,8 @@
107
  <?php
108
  if(isset($form_settings[$dynamicId]["cb_dropdown_option_id"]) && isset($form_settings[$dynamicId]["cb_dropdown_option_val"]))
109
  {
110
- $options_values = unserialize($form_settings[$dynamicId]["cb_dropdown_option_val"]);
 
111
  if(count($options_values) > 0)
112
  {
113
  ?>
@@ -124,16 +125,23 @@
124
  <div class="layout-controls">
125
  <select id="dropdown_ddl_option_<?php echo $dynamicId; ?>" class="layout-span9">
126
  <?php
127
- foreach(unserialize($form_settings[$dynamicId]["cb_dropdown_option_id"]) as $key => $value )
128
  {
129
- ?>
130
- <option value="<?php echo $value; ?>"><?php echo $options_values[$key]; ?></option>
131
- <?php
 
 
 
 
 
 
132
  }
133
  ?>
134
  </select>
135
  <input class="btn btn-info layout-span2" style="margin-left:10px;" value="<?php _e( "Delete", contact_bank ); ?>" type="button" id="ddl_options_btn_del_<?php echo $dynamicId; ?>" onclick="delete_ddl_options(<?php echo $dynamicId; ?>);" name="ddl_options_btn_del_<?php echo $dynamicId; ?>" />
136
  </div>
 
137
  </div>
138
  <?php
139
  }
@@ -199,7 +207,7 @@
199
  options_ddl.push(this.value);
200
  options_value.push(this.text);
201
  });
202
- jQuery.post(ajaxurl, jQuery(form).serialize() + "&controlId="+controlId+"&form_id="+form_id+"&form_settings="+JSON.stringify(<?php echo json_encode($form_settings); ?>)+"&ddl_options_id="+JSON.stringify(options_ddl)+"&options_value="+JSON.stringify(options_value)+"&event=update&param=save_drop_down_control&action=add_contact_form_library", function(data)
203
  {
204
  jQuery("#control_label_"+dynamicId).html(jQuery("#ux_label_text_"+dynamicId).val()+" :");
205
  jQuery("#show_tooltip"+dynamicId).attr("data-original-title",jQuery("#ux_tooltip_control_"+dynamicId).val());
107
  <?php
108
  if(isset($form_settings[$dynamicId]["cb_dropdown_option_id"]) && isset($form_settings[$dynamicId]["cb_dropdown_option_val"]))
109
  {
110
+ $options_values = count(unserialize($form_settings[$dynamicId]["cb_dropdown_option_val"])) > 0 ? explode(",",unserialize($form_settings[$dynamicId]["cb_dropdown_option_val"])) : "";
111
+ $options_ids = count(unserialize($form_settings[$dynamicId]["cb_dropdown_option_id"])) > 0 ? explode(",",unserialize($form_settings[$dynamicId]["cb_dropdown_option_id"])) : "";
112
  if(count($options_values) > 0)
113
  {
114
  ?>
125
  <div class="layout-controls">
126
  <select id="dropdown_ddl_option_<?php echo $dynamicId; ?>" class="layout-span9">
127
  <?php
128
+ if($options_ids != "")
129
  {
130
+ if($options_values != "")
131
+ {
132
+ for($flag1 = 0;$flag1<count($options_ids);$flag1++)
133
+ {
134
+ ?>
135
+ <option value="<?php echo $options_ids[$flag1]; ?>"><?php echo $options_values[$flag1]; ?></option>
136
+ <?php
137
+ }
138
+ }
139
  }
140
  ?>
141
  </select>
142
  <input class="btn btn-info layout-span2" style="margin-left:10px;" value="<?php _e( "Delete", contact_bank ); ?>" type="button" id="ddl_options_btn_del_<?php echo $dynamicId; ?>" onclick="delete_ddl_options(<?php echo $dynamicId; ?>);" name="ddl_options_btn_del_<?php echo $dynamicId; ?>" />
143
  </div>
144
+
145
  </div>
146
  <?php
147
  }
207
  options_ddl.push(this.value);
208
  options_value.push(this.text);
209
  });
210
+ jQuery.post(ajaxurl, jQuery(form).serialize() + "&controlId="+controlId+"&form_id="+form_id+"&form_settings="+JSON.stringify(<?php echo json_encode($form_settings); ?>)+"&ddl_options_id="+JSON.stringify(encodeURIComponent(options_ddl))+"&options_value="+JSON.stringify(encodeURIComponent(options_value))+"&event=update&param=save_drop_down_control&action=add_contact_form_library", function(data)
211
  {
212
  jQuery("#control_label_"+dynamicId).html(jQuery("#ux_label_text_"+dynamicId).val()+" :");
213
  jQuery("#show_tooltip"+dynamicId).attr("data-original-title",jQuery("#ux_tooltip_control_"+dynamicId).val());
includes/cb_multiple.php CHANGED
@@ -125,7 +125,8 @@
125
  <?php
126
  if(isset($form_settings[$dynamicId]["cb_radio_option_id"]) && isset($form_settings[$dynamicId]["cb_radio_option_val"]))
127
  {
128
- $options_value = unserialize($form_settings[$dynamicId]["cb_radio_option_val"]);
 
129
  if(count($options_value) > 0)
130
  {
131
  ?>
@@ -142,12 +143,15 @@
142
  <div class="layout-controls">
143
  <select id="dropdown_ddl_option_<?php echo $dynamicId; ?>" class="layout-span9">
144
  <?php
145
- foreach(unserialize($form_settings[$dynamicId]["cb_radio_option_id"]) as $key => $value )
 
 
146
  {
147
  ?>
148
- <option value="<?php echo $value; ?>"><?php echo $options_value[$key]; ?></option>
149
  <?php
150
  }
 
151
  ?>
152
  </select>
153
  <input class="btn btn-info layout-span2" style="margin-left:10px;" value="<?php _e( "Delete", contact_bank ); ?>" type="button" id="ddl_options_btn_del_<?php echo $dynamicId; ?>" onclick="delete_rdl_options(<?php echo $dynamicId; ?>);" name="ddl_options_btn_del_<?php echo $dynamicId; ?>" />
@@ -232,7 +236,7 @@
232
  options_value.push(this.text);
233
  jQuery("input[name=ux_radio"+dynamicId+"]:first").attr("checked","checked");
234
  });
235
- jQuery.post(ajaxurl, jQuery(form).serialize() + "&controlId="+controlId+"&form_id="+form_id+"&form_settings="+JSON.stringify(<?php echo json_encode($form_settings) ?>)+"&ddl_options_id="+JSON.stringify(options_ddl)+"&options_value="+JSON.stringify(options_value)+"&event=update&param=save_multiple_control&action=add_contact_form_library", function(data)
236
  {
237
  jQuery("#control_label_"+dynamicId).html(jQuery("#ux_label_text_"+dynamicId).val()+" :");
238
  jQuery("#post_back_radio_button_"+dynamicId).attr("data-original-title",jQuery("#ux_tooltip_control_"+dynamicId).val());
125
  <?php
126
  if(isset($form_settings[$dynamicId]["cb_radio_option_id"]) && isset($form_settings[$dynamicId]["cb_radio_option_val"]))
127
  {
128
+ $options_value = count(unserialize($form_settings[$dynamicId]["cb_radio_option_val"])) > 0 ? explode(",",unserialize($form_settings[$dynamicId]["cb_radio_option_val"])) : "";
129
+ $options_ids = count(unserialize($form_settings[$dynamicId]["cb_radio_option_id"])) > 0 ? explode(",",unserialize($form_settings[$dynamicId]["cb_radio_option_id"])) : "";
130
  if(count($options_value) > 0)
131
  {
132
  ?>
143
  <div class="layout-controls">
144
  <select id="dropdown_ddl_option_<?php echo $dynamicId; ?>" class="layout-span9">
145
  <?php
146
+ if($options_ids != "")
147
+ {
148
+ for($flag1 = 0;$flag1<count($options_ids);$flag1++)
149
  {
150
  ?>
151
+ <option value="<?php echo $options_ids[$flag1]; ?>"><?php echo $options_value[$flag1]; ?></option>
152
  <?php
153
  }
154
+ }
155
  ?>
156
  </select>
157
  <input class="btn btn-info layout-span2" style="margin-left:10px;" value="<?php _e( "Delete", contact_bank ); ?>" type="button" id="ddl_options_btn_del_<?php echo $dynamicId; ?>" onclick="delete_rdl_options(<?php echo $dynamicId; ?>);" name="ddl_options_btn_del_<?php echo $dynamicId; ?>" />
236
  options_value.push(this.text);
237
  jQuery("input[name=ux_radio"+dynamicId+"]:first").attr("checked","checked");
238
  });
239
+ jQuery.post(ajaxurl, jQuery(form).serialize() + "&controlId="+controlId+"&form_id="+form_id+"&form_settings="+JSON.stringify(<?php echo json_encode($form_settings) ?>)+"&ddl_options_id="+JSON.stringify(encodeURIComponent(options_ddl))+"&options_value="+JSON.stringify(encodeURIComponent(options_value))+"&event=update&param=save_multiple_control&action=add_contact_form_library", function(data)
240
  {
241
  jQuery("#control_label_"+dynamicId).html(jQuery("#ux_label_text_"+dynamicId).val()+" :");
242
  jQuery("#post_back_radio_button_"+dynamicId).attr("data-original-title",jQuery("#ux_tooltip_control_"+dynamicId).val());
lib/contact_view-class.php CHANGED
@@ -661,8 +661,8 @@ else
661
  $event = esc_attr($_REQUEST["event"]);
662
  $controlId = isset($_REQUEST["controlId"]) ? intval($_REQUEST["controlId"]) : 0;
663
  $form_settings = isset($_REQUEST["form_settings"]) ? json_decode(stripcslashes($_REQUEST["form_settings"]),true) : array();
664
- $ddl_options_id = isset($_REQUEST["ddl_options_id"]) ? json_decode(stripcslashes($_REQUEST["ddl_options_id"]),true) : array();
665
- $options_value = isset($_REQUEST["options_value"]) ? json_decode(stripcslashes($_REQUEST["options_value"]),true) : array();
666
  $form_settings[$dynamic_Id]["dynamic_id"] = $dynamic_Id;
667
  $form_settings[$dynamic_Id]["control_type"] = "4";
668
  $form_settings[$dynamic_Id]["cb_label_value"] = isset($_REQUEST["ux_label_text_".$dynamic_Id]) ? esc_attr($_REQUEST["ux_label_text_".$dynamic_Id]) :"Untitled";
@@ -756,8 +756,8 @@ else
756
  $event = esc_attr($_REQUEST["event"]);
757
  $controlId = isset($_REQUEST["controlId"]) ? intval($_REQUEST["controlId"]) : 0;
758
  $form_settings = isset($_REQUEST["form_settings"]) ? json_decode(stripcslashes($_REQUEST["form_settings"]),true) : array();
759
- $ddl_options_id = isset($_REQUEST["ddl_options_id"]) ? json_decode(stripcslashes($_REQUEST["ddl_options_id"]),true) : array();
760
- $options_value = isset($_REQUEST["options_value"]) ? json_decode(stripcslashes($_REQUEST["options_value"]),true) : array();
761
  $form_settings[$dynamic_Id]["dynamic_id"] = $dynamic_Id;
762
  $form_settings[$dynamic_Id]["control_type"] = "5";
763
  $form_settings[$dynamic_Id]["cb_label_value"] = isset($_REQUEST["ux_label_text_".$dynamic_Id]) ? esc_attr($_REQUEST["ux_label_text_".$dynamic_Id]) : "Untitled";
@@ -850,8 +850,8 @@ else
850
  $event = esc_attr($_REQUEST["event"]);
851
  $controlId = isset($_REQUEST["controlId"]) ? intval($_REQUEST["controlId"]) : 0;
852
  $form_settings = isset($_REQUEST["form_settings"]) ? json_decode(stripcslashes($_REQUEST["form_settings"]),true) : array();
853
- $ddl_options_id = isset($_REQUEST["ddl_options_id"]) ? json_decode(stripcslashes($_REQUEST["ddl_options_id"]),true) : array();
854
- $options_value = isset($_REQUEST["options_value"]) ? json_decode(stripcslashes($_REQUEST["options_value"]),true) : array();
855
  $form_settings[$dynamic_Id]["dynamic_id"] = $dynamic_Id;
856
  $form_settings[$dynamic_Id]["control_type"] = "6";
857
  $form_settings[$dynamic_Id]["cb_label_value"] = isset($_REQUEST["ux_label_text_".$dynamic_Id]) ? esc_attr($_REQUEST["ux_label_text_".$dynamic_Id]) : "Untitled";
661
  $event = esc_attr($_REQUEST["event"]);
662
  $controlId = isset($_REQUEST["controlId"]) ? intval($_REQUEST["controlId"]) : 0;
663
  $form_settings = isset($_REQUEST["form_settings"]) ? json_decode(stripcslashes($_REQUEST["form_settings"]),true) : array();
664
+ $ddl_options_id = isset($_REQUEST["ddl_options_id"]) ? json_decode(stripcslashes(html_entity_decode($_REQUEST["ddl_options_id"])),true) : array();
665
+ $options_value = isset($_REQUEST["options_value"]) ? json_decode(stripcslashes(html_entity_decode($_REQUEST["options_value"])),true) : array();
666
  $form_settings[$dynamic_Id]["dynamic_id"] = $dynamic_Id;
667
  $form_settings[$dynamic_Id]["control_type"] = "4";
668
  $form_settings[$dynamic_Id]["cb_label_value"] = isset($_REQUEST["ux_label_text_".$dynamic_Id]) ? esc_attr($_REQUEST["ux_label_text_".$dynamic_Id]) :"Untitled";
756
  $event = esc_attr($_REQUEST["event"]);
757
  $controlId = isset($_REQUEST["controlId"]) ? intval($_REQUEST["controlId"]) : 0;
758
  $form_settings = isset($_REQUEST["form_settings"]) ? json_decode(stripcslashes($_REQUEST["form_settings"]),true) : array();
759
+ $ddl_options_id = isset($_REQUEST["ddl_options_id"]) ? json_decode(stripcslashes(html_entity_decode($_REQUEST["ddl_options_id"])),true) : array();
760
+ $options_value = isset($_REQUEST["options_value"]) ? json_decode(stripcslashes(html_entity_decode($_REQUEST["options_value"])),true) : array();
761
  $form_settings[$dynamic_Id]["dynamic_id"] = $dynamic_Id;
762
  $form_settings[$dynamic_Id]["control_type"] = "5";
763
  $form_settings[$dynamic_Id]["cb_label_value"] = isset($_REQUEST["ux_label_text_".$dynamic_Id]) ? esc_attr($_REQUEST["ux_label_text_".$dynamic_Id]) : "Untitled";
850
  $event = esc_attr($_REQUEST["event"]);
851
  $controlId = isset($_REQUEST["controlId"]) ? intval($_REQUEST["controlId"]) : 0;
852
  $form_settings = isset($_REQUEST["form_settings"]) ? json_decode(stripcslashes($_REQUEST["form_settings"]),true) : array();
853
+ $ddl_options_id = isset($_REQUEST["ddl_options_id"]) ? json_decode(stripcslashes(html_entity_decode($_REQUEST["ddl_options_id"])),true) : array();
854
+ $options_value = isset($_REQUEST["options_value"]) ? json_decode(stripcslashes(html_entity_decode($_REQUEST["options_value"])),true) : array();
855
  $form_settings[$dynamic_Id]["dynamic_id"] = $dynamic_Id;
856
  $form_settings[$dynamic_Id]["control_type"] = "6";
857
  $form_settings[$dynamic_Id]["cb_label_value"] = isset($_REQUEST["ux_label_text_".$dynamic_Id]) ? esc_attr($_REQUEST["ux_label_text_".$dynamic_Id]) : "Untitled";
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: contact-banker, Gallery-Bank
3
  Tags: admin, advanced form, AJAX, best contact form plugin, buddypress, category, comment, comments, contact, contact bank, contact form, contact form 7, contact form builder, contact form plugin, contact forms, contact me, contact us, contacts, content, easy contact form, easy contact plugin, email, Facebook, feed, feedback, feedback form, form, form builder, forms, gallery, google, image, images, javascript, jquery, link, links, login, media, page, pages, plugin, Post, posts, request, rss, seo, shortcode, sidebar, stats, text, web form, widget, wordpress
4
  Requires at least: 3.3
5
  Tested up to: 3.9.1
6
- Stable tag: 2.0.43
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
@@ -29,7 +29,7 @@ It provides a powerful engine for uploading and managing dynamic forms with more
29
 
30
  ***The Contact Bank WordPress Plugin is now proudly maintained by <a href="http://www.tech-banker.com">Tech Banker Pte Ltd.</a> since March 2014.***
31
 
32
- ***July 11, 2014: We're happy to announce that Contact Bank reached 61,200+ plugin downloads in only 10 months. We frequently receive positive feedback from people using our Contact Bank Plugin for WordPress. Thanks so much for your support!***
33
 
34
  <a href="http://tech-banker.com/forum/contact-bank-support/" target="_blank">Support Desk - feel free to ask your Queries</a>
35
 
@@ -522,6 +522,11 @@ In order to set Shortcode for a Form, you need to follow these steps :
522
 
523
  == Changelog ==
524
 
 
 
 
 
 
525
  = 2.0.43 =
526
 
527
  * Swedish Language Updated
3
  Tags: admin, advanced form, AJAX, best contact form plugin, buddypress, category, comment, comments, contact, contact bank, contact form, contact form 7, contact form builder, contact form plugin, contact forms, contact me, contact us, contacts, content, easy contact form, easy contact plugin, email, Facebook, feed, feedback, feedback form, form, form builder, forms, gallery, google, image, images, javascript, jquery, link, links, login, media, page, pages, plugin, Post, posts, request, rss, seo, shortcode, sidebar, stats, text, web form, widget, wordpress
4
  Requires at least: 3.3
5
  Tested up to: 3.9.1
6
+ Stable tag: 2.0.44
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
29
 
30
  ***The Contact Bank WordPress Plugin is now proudly maintained by <a href="http://www.tech-banker.com">Tech Banker Pte Ltd.</a> since March 2014.***
31
 
32
+ ***July 15, 2014: We're happy to announce that Contact Bank reached 63,700+ plugin downloads in only 10 months. We frequently receive positive feedback from people using our Contact Bank Plugin for WordPress. Thanks so much for your support!***
33
 
34
  <a href="http://tech-banker.com/forum/contact-bank-support/" target="_blank">Support Desk - feel free to ask your Queries</a>
35
 
522
 
523
  == Changelog ==
524
 
525
+ = 2.0.44 =
526
+
527
+ * Few Bugs Fixed
528
+ * Banners Updated
529
+
530
  = 2.0.43 =
531
 
532
  * Swedish Language Updated
views/includes_common_after.php CHANGED
@@ -244,10 +244,12 @@ function create_control(control_type,dynamicId,type)
244
  {
245
  jQuery("#control_label_"+dynamicId).append("<span class=\"error\">*</span>");
246
  }
247
- var bind_data_list = bind_data[dynamicId].cb_dropdown_option_id;
 
248
  for(var flag = 0; flag<bind_data_list.length;flag++)
249
  {
250
- jQuery("#ux_ddl_select_control"+dynamicId).append("<option value=\""+bind_data_list[flag]+"\">"+bind_data[dynamicId].cb_dropdown_option_val[flag]+"</option>");
 
251
  }
252
  var control_id = bind_data[dynamicId].control_id;
253
  jQuery("#show_tooltip"+dynamicId).children("#anchor_del_"+dynamicId).attr("onclick","delete_textbox("+dynamicId+","+control_type+","+control_id+");");
@@ -286,11 +288,12 @@ function create_control(control_type,dynamicId,type)
286
  {
287
  jQuery("#control_label_"+dynamicId).append("<span class=\"error\">*</span>");
288
  }
289
- var bind_chk_list = bind_data[dynamicId].cb_checkbox_option_id;
 
290
  for(var flag = 0; flag<bind_chk_list.length;flag++)
291
  {
292
  jQuery("#ux_chk_checkbox_control_"+dynamicId).hide();
293
- 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>");
294
  }
295
  var control_id = bind_data[dynamicId].control_id;
296
  jQuery("#show_tooltip"+dynamicId).children("#anchor_del_"+dynamicId).attr("onclick","delete_textbox("+dynamicId+","+control_type+","+control_id+");");
@@ -329,11 +332,12 @@ function create_control(control_type,dynamicId,type)
329
  {
330
  jQuery("#control_label_"+dynamicId).append("<span class=\"error\">*</span>");
331
  }
332
- var bind_rdl_list = bind_data[dynamicId].cb_radio_option_id;
 
333
  for(var flag = 0; flag<bind_rdl_list.length;flag++)
334
  {
335
  jQuery("#ux_radio_button_control_"+dynamicId).hide();
336
- 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>");
337
  if(flag == 0)
338
  {
339
  jQuery("#ux_radio_button_control_"+bind_rdl_list[flag]).attr("checked","checked");
244
  {
245
  jQuery("#control_label_"+dynamicId).append("<span class=\"error\">*</span>");
246
  }
247
+ var option_val = bind_data[dynamicId].cb_dropdown_option_val.length > 0 ? bind_data[dynamicId].cb_dropdown_option_val.split(",") : "";
248
+ var bind_data_list = bind_data[dynamicId].cb_dropdown_option_id.length > 0 ? bind_data[dynamicId].cb_dropdown_option_id.split(",") : "";
249
  for(var flag = 0; flag<bind_data_list.length;flag++)
250
  {
251
+
252
+ jQuery("#ux_ddl_select_control"+dynamicId).append("<option value=\""+bind_data_list[flag]+"\">"+option_val[flag]+"</option>");
253
  }
254
  var control_id = bind_data[dynamicId].control_id;
255
  jQuery("#show_tooltip"+dynamicId).children("#anchor_del_"+dynamicId).attr("onclick","delete_textbox("+dynamicId+","+control_type+","+control_id+");");
288
  {
289
  jQuery("#control_label_"+dynamicId).append("<span class=\"error\">*</span>");
290
  }
291
+ var option_val = bind_data[dynamicId].cb_checkbox_option_val.length > 0 ? bind_data[dynamicId].cb_checkbox_option_val.split(",") : 0;
292
+ var bind_chk_list = bind_data[dynamicId].cb_checkbox_option_id.length > 0 ? bind_data[dynamicId].cb_checkbox_option_id.split(",") : 0;
293
  for(var flag = 0; flag<bind_chk_list.length;flag++)
294
  {
295
  jQuery("#ux_chk_checkbox_control_"+dynamicId).hide();
296
+ 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\">"+option_val[flag]+"</label></span>");
297
  }
298
  var control_id = bind_data[dynamicId].control_id;
299
  jQuery("#show_tooltip"+dynamicId).children("#anchor_del_"+dynamicId).attr("onclick","delete_textbox("+dynamicId+","+control_type+","+control_id+");");
332
  {
333
  jQuery("#control_label_"+dynamicId).append("<span class=\"error\">*</span>");
334
  }
335
+ var option_val = bind_data[dynamicId].cb_radio_option_val.length > 0 ? bind_data[dynamicId].cb_radio_option_val.split(",") : "";
336
+ var bind_rdl_list = bind_data[dynamicId].cb_radio_option_id.length > 0 ? bind_data[dynamicId].cb_radio_option_id.split(",") : "";
337
  for(var flag = 0; flag<bind_rdl_list.length;flag++)
338
  {
339
  jQuery("#ux_radio_button_control_"+dynamicId).hide();
340
+ 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\">"+option_val[flag]+"</label></span>");
341
  if(flag == 0)
342
  {
343
  jQuery("#ux_radio_button_control_"+bind_rdl_list[flag]).attr("checked","checked");