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

Version Description

  • Few Bugs Fixed
  • Few Possible Security Issues Addressed
Download this release

Release Info

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

Code changes from version 2.0.52 to 2.0.53

contact-bank.php CHANGED
@@ -4,22 +4,14 @@ 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.52
8
  Author URI: http://tech-banker.com
9
  */
10
  ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
11
  // D e f i n e CONSTANTS //////////////////////////////////////////////////////////////////////////////////////////////////
12
  ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
13
- if (!defined("CONTACT_DEBUG_MODE")) define("CONTACT_DEBUG_MODE", false );
14
- if (!defined("CONTACT_BK_FILE")) define("CONTACT_BK_FILE", __FILE__ );
15
- if (!defined("CONTACT_CONTENT_DIR")) define("CONTACT_CONTENT_DIR", ABSPATH . "wp-content");
16
- if (!defined("CONTACT_CONTENT_URL")) define("CONTACT_CONTENT_URL", site_url() . "/wp-content");
17
- if (!defined("CONTACT_PLUGIN_DIR")) define("CONTACT_PLUGIN_DIR", CONTACT_CONTENT_DIR . "/plugins");
18
- if (!defined("CONTACT_PLUGIN_URL")) define("CONTACT_PLUGIN_URL", CONTACT_CONTENT_URL . "/plugins");
19
- if (!defined("CONTACT_BK_PLUGIN_FILENAME")) define("CONTACT_BK_PLUGIN_FILENAME", basename( __FILE__ ) );
20
- if (!defined("CONTACT_BK_PLUGIN_DIRNAME")) define("CONTACT_BK_PLUGIN_DIRNAME", plugin_basename(dirname(__FILE__)) );
21
- if (!defined("CONTACT_BK_PLUGIN_DIR")) define("CONTACT_BK_PLUGIN_DIR", CONTACT_PLUGIN_DIR."/".CONTACT_BK_PLUGIN_DIRNAME );
22
- if (!defined("CONTACT_BK_PLUGIN_URL")) define("CONTACT_BK_PLUGIN_URL", site_url()."/wp-content/plugins/".CONTACT_BK_PLUGIN_DIRNAME );
23
  if (!defined("contact_bank")) define("contact_bank", "contact_bank");
24
 
25
  function plugin_uninstall_script_for_contact_bank()
@@ -58,7 +50,7 @@ function create_global_menus_for_contact_bank()
58
 
59
  switch ($role) {
60
  case "administrator":
61
- add_menu_page("Contact Bank", __("Contact Bank", contact_bank), "read", "dashboard","",CONTACT_BK_PLUGIN_URL . "/assets/images/icon.png");
62
  add_submenu_page("dashboard", "Dashboard", __("Dashboard", contact_bank), "read", "dashboard","dashboard");
63
  add_submenu_page("","","", "read", "contact_bank","contact_bank");
64
  add_submenu_page("dashboard", "Short-Codes", __("Short-Codes", contact_bank), "read", "short_code", "short_code" );
@@ -71,7 +63,7 @@ function create_global_menus_for_contact_bank()
71
  add_submenu_page("","","", "read", "form_preview", "form_preview" );
72
  break;
73
  case "editor":
74
- add_menu_page("Contact Bank", __("Contact Bank", contact_bank), "read", "dashboard","",CONTACT_BK_PLUGIN_URL . "/assets/images/icon.png");
75
  add_submenu_page("dashboard", "Dashboard", __("Dashboard", contact_bank), "read", "dashboard","dashboard");
76
  add_submenu_page("","","", "read", "contact_bank","contact_bank");
77
  add_submenu_page("dashboard", "Short-Codes", __("Short-Codes", contact_bank), "read", "short_code", "short_code" );
@@ -84,7 +76,7 @@ function create_global_menus_for_contact_bank()
84
  add_submenu_page("","","", "read", "form_preview", "form_preview" );
85
  break;
86
  case "author":
87
- add_menu_page("Contact Bank", __("Contact Bank", contact_bank), "read", "dashboard","",CONTACT_BK_PLUGIN_URL . "/assets/images/icon.png");
88
  add_submenu_page("dashboard", "Dashboard", __("Dashboard", contact_bank), "read", "dashboard","dashboard");
89
  add_submenu_page("","","", "read", "contact_bank","contact_bank");
90
  add_submenu_page("dashboard", "Short-Codes", __("Short-Codes", contact_bank), "read", "short_code", "short_code" );
@@ -234,32 +226,32 @@ function backend_plugin_js_scripts_contact_bank()
234
  wp_enqueue_script("jquery-ui-draggable");
235
  wp_enqueue_script("farbtastic");
236
  wp_enqueue_script("jquery-ui-dialog");
237
- wp_enqueue_script("jquery.Tooltip.js", CONTACT_BK_PLUGIN_URL ."/assets/js/jquery.Tooltip.js");
238
- wp_enqueue_script("jquery.dataTables.min", CONTACT_BK_PLUGIN_URL ."/assets/js/jquery.dataTables.min.js");
239
- wp_enqueue_script("jquery.validate.min", CONTACT_BK_PLUGIN_URL ."/assets/js/jquery.validate.min.js");
240
- wp_enqueue_script("bootstrap.js", CONTACT_BK_PLUGIN_URL ."/assets/js/bootstrap.js");
241
- wp_enqueue_script("jquery.prettyPhoto.js", CONTACT_BK_PLUGIN_URL ."/assets/js/jquery.prettyPhoto.js");
242
  }
243
  function frontend_plugin_js_scripts_contact_bank()
244
  {
245
  wp_enqueue_script("jquery");
246
- wp_enqueue_script("jquery.Tooltip.js", CONTACT_BK_PLUGIN_URL ."/assets/js/jquery.Tooltip.js");
247
- wp_enqueue_script("jquery.validate.min", CONTACT_BK_PLUGIN_URL ."/assets/js/jquery.validate.min.js");
248
  }
249
  function backend_plugin_css_styles_contact_bank()
250
  {
251
  wp_enqueue_style("farbtastic");
252
  wp_enqueue_style("wp-jquery-ui-dialog");
253
- wp_enqueue_style("stylesheet", CONTACT_BK_PLUGIN_URL ."/assets/css/stylesheet.css");
254
- wp_enqueue_style("font-awesome", CONTACT_BK_PLUGIN_URL ."/assets/css/font-awesome/css/font-awesome.css");
255
- wp_enqueue_style("system-message", CONTACT_BK_PLUGIN_URL ."/assets/css/system-message.css");
256
- wp_enqueue_style("css3_grid_style", CONTACT_BK_PLUGIN_URL ."/assets/css/css3_grid_style.css");
257
- wp_enqueue_style("prettyPhoto", CONTACT_BK_PLUGIN_URL ."/assets/css/prettyPhoto.css");
258
  }
259
  function frontend_plugin_css_styles_contact_bank()
260
  {
261
- wp_enqueue_style("stylesheet", CONTACT_BK_PLUGIN_URL ."/assets/css/stylesheet.css");
262
- wp_enqueue_style("system-message", CONTACT_BK_PLUGIN_URL ."/assets/css/system-message.css");
263
  }
264
  if(isset($_REQUEST["action"]))
265
  {
@@ -420,9 +412,10 @@ function add_contact_bank_icon($meta = TRUE)
420
  switch ($role)
421
  {
422
  case "administrator":
 
423
  $wp_admin_bar->add_menu( array(
424
  "id" => "contact_bank_links",
425
- "title" => "<img src=\"".CONTACT_BK_PLUGIN_URL."/assets/images/icon.png\" width=\"25\" height=\"25\" style=\"vertical-align:text-top; margin-right:5px;\" />Contact Bank" ,
426
  "href" => site_url() ."/wp-admin/admin.php?page=dashboard",
427
  ));
428
  $wp_admin_bar->add_menu( array(
@@ -471,7 +464,8 @@ function add_contact_bank_icon($meta = TRUE)
471
  case "editor":
472
  $wp_admin_bar->add_menu( array(
473
  "id" => "contact_bank_links",
474
- "title" => "<img src=\"".CONTACT_BK_PLUGIN_URL."/assets/images/icon.png\" width=\"25\" height=\"25\" style=\"vertical-align:text-top; margin-right:5px;\" />Contact Bank" ,
 
475
  "href" => site_url() ."/wp-admin/admin.php?page=dashboard",
476
  ));
477
 
@@ -523,7 +517,7 @@ function add_contact_bank_icon($meta = TRUE)
523
  case "author":
524
  $wp_admin_bar->add_menu( array(
525
  "id" => "contact_bank_links",
526
- "title" => "<img src=\"".CONTACT_BK_PLUGIN_URL."/assets/images/icon.png\" width=\"25\" height=\"25\" style=\"vertical-align:text-top; margin-right:5px;\" />Contact Bank" ,
527
  "href" => site_url() ."/wp-admin/admin.php?page=dashboard",
528
  ));
529
 
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.53
8
  Author URI: http://tech-banker.com
9
  */
10
  ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
11
  // D e f i n e CONSTANTS //////////////////////////////////////////////////////////////////////////////////////////////////
12
  ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
13
+ if (!defined("CONTACT_BK_PLUGIN_DIR")) define("CONTACT_BK_PLUGIN_DIR", plugin_dir_path( __FILE__ ));
14
+ if (!defined("CONTACT_BK_PLUGIN_DIRNAME")) define("CONTACT_BK_PLUGIN_DIRNAME", plugin_basename(dirname(__FILE__)));
 
 
 
 
 
 
 
 
15
  if (!defined("contact_bank")) define("contact_bank", "contact_bank");
16
 
17
  function plugin_uninstall_script_for_contact_bank()
50
 
51
  switch ($role) {
52
  case "administrator":
53
+ add_menu_page("Contact Bank", __("Contact Bank", contact_bank), "read", "dashboard","",plugins_url("/assets/images/icon.png" , __FILE__));
54
  add_submenu_page("dashboard", "Dashboard", __("Dashboard", contact_bank), "read", "dashboard","dashboard");
55
  add_submenu_page("","","", "read", "contact_bank","contact_bank");
56
  add_submenu_page("dashboard", "Short-Codes", __("Short-Codes", contact_bank), "read", "short_code", "short_code" );
63
  add_submenu_page("","","", "read", "form_preview", "form_preview" );
64
  break;
65
  case "editor":
66
+ add_menu_page("Contact Bank", __("Contact Bank", contact_bank), "read", "dashboard","",plugins_url("/assets/images/icon.png" , __FILE__));
67
  add_submenu_page("dashboard", "Dashboard", __("Dashboard", contact_bank), "read", "dashboard","dashboard");
68
  add_submenu_page("","","", "read", "contact_bank","contact_bank");
69
  add_submenu_page("dashboard", "Short-Codes", __("Short-Codes", contact_bank), "read", "short_code", "short_code" );
76
  add_submenu_page("","","", "read", "form_preview", "form_preview" );
77
  break;
78
  case "author":
79
+ add_menu_page("Contact Bank", __("Contact Bank", contact_bank), "read", "dashboard","",plugins_url("/assets/images/icon.png" , __FILE__));
80
  add_submenu_page("dashboard", "Dashboard", __("Dashboard", contact_bank), "read", "dashboard","dashboard");
81
  add_submenu_page("","","", "read", "contact_bank","contact_bank");
82
  add_submenu_page("dashboard", "Short-Codes", __("Short-Codes", contact_bank), "read", "short_code", "short_code" );
226
  wp_enqueue_script("jquery-ui-draggable");
227
  wp_enqueue_script("farbtastic");
228
  wp_enqueue_script("jquery-ui-dialog");
229
+ wp_enqueue_script("jquery.Tooltip.js", plugins_url("/assets/js/jquery.Tooltip.js",__FILE__));
230
+ wp_enqueue_script("jquery.dataTables.min", plugins_url("/assets/js/jquery.dataTables.min.js",__FILE__));
231
+ wp_enqueue_script("jquery.validate.min", plugins_url("/assets/js/jquery.validate.min.js",__FILE__));
232
+ wp_enqueue_script("bootstrap.js", plugins_url("/assets/js/bootstrap.js",__FILE__));
233
+ wp_enqueue_script("jquery.prettyPhoto.js", plugins_url("/assets/js/jquery.prettyPhoto.js",__FILE__));
234
  }
235
  function frontend_plugin_js_scripts_contact_bank()
236
  {
237
  wp_enqueue_script("jquery");
238
+ wp_enqueue_script("jquery.Tooltip.js", plugins_url("/assets/js/jquery.Tooltip.js",__FILE__));
239
+ wp_enqueue_script("jquery.validate.min", plugins_url("/assets/js/jquery.validate.min.js",__FILE__));
240
  }
241
  function backend_plugin_css_styles_contact_bank()
242
  {
243
  wp_enqueue_style("farbtastic");
244
  wp_enqueue_style("wp-jquery-ui-dialog");
245
+ wp_enqueue_style("stylesheet", plugins_url("/assets/css/stylesheet.css",__FILE__));
246
+ wp_enqueue_style("font-awesome", plugins_url("/assets/css/font-awesome/css/font-awesome.css",__FILE__));
247
+ wp_enqueue_style("system-message", plugins_url("/assets/css/system-message.css",__FILE__));
248
+ wp_enqueue_style("css3_grid_style", plugins_url("/assets/css/css3_grid_style.css",__FILE__));
249
+ wp_enqueue_style("prettyPhoto", plugins_url("/assets/css/prettyPhoto.css",__FILE__));
250
  }
251
  function frontend_plugin_css_styles_contact_bank()
252
  {
253
+ wp_enqueue_style("stylesheet", plugins_url("/assets/css/stylesheet.css",__FILE__));
254
+ wp_enqueue_style("system-message", plugins_url("/assets/css/system-message.css",__FILE__));
255
  }
256
  if(isset($_REQUEST["action"]))
257
  {
412
  switch ($role)
413
  {
414
  case "administrator":
415
+
416
  $wp_admin_bar->add_menu( array(
417
  "id" => "contact_bank_links",
418
+ "title" => "<img src=\"".plugins_url("/assets/images/icon.png",__FILE__)."\" width=\"25\" height=\"25\" style=\"vertical-align:text-top; margin-right:5px;\" />Contact Bank" ,
419
  "href" => site_url() ."/wp-admin/admin.php?page=dashboard",
420
  ));
421
  $wp_admin_bar->add_menu( array(
464
  case "editor":
465
  $wp_admin_bar->add_menu( array(
466
  "id" => "contact_bank_links",
467
+ "title" => "<img src=\"".plugins_url("/assets/images/icon.png",__FILE__)."\" width=\"25\" height=\"25\" style=\"vertical-align:text-top; margin-right:5px;\" />Contact Bank" ,
468
+
469
  "href" => site_url() ."/wp-admin/admin.php?page=dashboard",
470
  ));
471
 
517
  case "author":
518
  $wp_admin_bar->add_menu( array(
519
  "id" => "contact_bank_links",
520
+ "title" => "<img src=\"".plugins_url("/assets/images/icon.png",__FILE__)."\" width=\"25\" height=\"25\" style=\"vertical-align:text-top; margin-right:5px;\" />Contact Bank" ,
521
  "href" => site_url() ."/wp-admin/admin.php?page=dashboard",
522
  ));
523
 
frontend_views/contact_bank_forms.php CHANGED
@@ -235,7 +235,7 @@ $forms_email_settings = $wpdb->get_row
235
  color: <?php echo $layout_settings_array[$form_id]["success_msg_text_color"]; ?> !important;
236
  text-align: <?php echo $layout_settings_array[$form_id]["success_msg_rdl_text_align"] == "0" ? "left" : "right"; ?> !important;
237
  direction: <?php echo $layout_settings_array[$form_id]["success_msg_text_direction"]; ?> !important;
238
- background: url(<?php echo CONTACT_BK_PLUGIN_URL."/assets/images/icons/icon-succes.png"?>) no-repeat 1px 8px #EBF9E2;
239
  }
240
  .sucess_message_text
241
  {
@@ -589,6 +589,7 @@ jQuery("#ux_frm_front_end_form").validate
589
  var submit_id = data;
590
  jQuery.post(ajaxurl, "form_id="+form_id+"&submit_id="+submit_id+"&param=email_management&action=email_management_contact_form_library", function(data)
591
  {
 
592
  setTimeout(function()
593
  {
594
  jQuery("#form_success_message_frontend").css("display","none");
235
  color: <?php echo $layout_settings_array[$form_id]["success_msg_text_color"]; ?> !important;
236
  text-align: <?php echo $layout_settings_array[$form_id]["success_msg_rdl_text_align"] == "0" ? "left" : "right"; ?> !important;
237
  direction: <?php echo $layout_settings_array[$form_id]["success_msg_text_direction"]; ?> !important;
238
+ background: url(<?php echo plugins_url("/assets/images/icons/icon-succes.png" , dirname(__FILE__));?>) no-repeat 1px 8px #EBF9E2;
239
  }
240
  .sucess_message_text
241
  {
589
  var submit_id = data;
590
  jQuery.post(ajaxurl, "form_id="+form_id+"&submit_id="+submit_id+"&param=email_management&action=email_management_contact_form_library", function(data)
591
  {
592
+ alert(data);
593
  setTimeout(function()
594
  {
595
  jQuery("#form_success_message_frontend").css("display","none");
lib/contact_bank_email_management.php CHANGED
@@ -27,7 +27,7 @@ if(isset($_REQUEST["param"]))
27
  {
28
  $email_exits = "";
29
  $email_to = $email_content[$flag]->email_to;
30
- $email_from = stripslashes($email_content[$flag]->email_from);
31
  $messageTxt = stripcslashes($email_content[$flag]->body_content);
32
  $email_subject = stripslashes($email_content[$flag]->subject);
33
  $email_from_name = stripslashes(htmlspecialchars_decode($email_content[$flag]->from_name, ENT_QUOTES));
27
  {
28
  $email_exits = "";
29
  $email_to = $email_content[$flag]->email_to;
30
+ echo $email_from = stripslashes($email_content[$flag]->email_from);
31
  $messageTxt = stripcslashes($email_content[$flag]->body_content);
32
  $email_subject = stripslashes($email_content[$flag]->subject);
33
  $email_from_name = stripslashes(htmlspecialchars_decode($email_content[$flag]->from_name, ENT_QUOTES));
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link : http://tech-banker.com/contact-bank/
4
  Tags: admin, advanced form, AJAX, best contact form plugin, buddypress, category, comment, comments, contact, 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
5
  Requires at least: 3.3
6
  Tested up to: 3.9.1
7
- Stable tag: 2.0.52
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -34,7 +34,7 @@ It provides a powerful engine for uploading and managing dynamic forms with more
34
 
35
  ***The Contact Bank WordPress Plugin is now proudly maintained by <a href="http://www.tech-banker.com">Tech Banker</a> since March 2014.***
36
 
37
- ***July 28, 2014: We're happy to announce that Contact Bank reached 74,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!***
38
 
39
  <a href="http://tech-banker.com/forum/contact-bank-support/" target="_blank">Support Desk - feel free to ask your Queries</a>
40
 
@@ -545,6 +545,11 @@ In order to set Shortcode for a Form, you need to follow these steps :
545
 
546
  == Changelog ==
547
 
 
 
 
 
 
548
  = 2.0.52 =
549
 
550
  * Few Bugs Fixed
4
  Tags: admin, advanced form, AJAX, best contact form plugin, buddypress, category, comment, comments, contact, 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
5
  Requires at least: 3.3
6
  Tested up to: 3.9.1
7
+ Stable tag: 2.0.53
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
34
 
35
  ***The Contact Bank WordPress Plugin is now proudly maintained by <a href="http://www.tech-banker.com">Tech Banker</a> since March 2014.***
36
 
37
+ ***July 30, 2014: We're happy to announce that Contact Bank reached 76,100+ 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!***
38
 
39
  <a href="http://tech-banker.com/forum/contact-bank-support/" target="_blank">Support Desk - feel free to ask your Queries</a>
40
 
545
 
546
  == Changelog ==
547
 
548
+ = 2.0.53 =
549
+
550
+ * Few Bugs Fixed
551
+ * Few Possible Security Issues Addressed
552
+
553
  = 2.0.52 =
554
 
555
  * Few Bugs Fixed
views/add_contact_email.php CHANGED
@@ -294,9 +294,9 @@ else
294
  if($show_in_email == "0")
295
  {
296
  ?>
297
- jQuery("#ux_ddl_from_name").append(jQuery("<option></option>").attr("value", "<?php echo $fields_controls[$flag]->dynamicId; ?>").text("<?php echo $fields_controls[$flag]->dynamic_settings_value; ?>"));
298
- jQuery("#ux_ddl_subject").append(jQuery("<option></option>").attr("value", "<?php echo $fields_controls[$flag]->dynamicId; ?>").text("<?php echo $fields_controls[$flag]->dynamic_settings_value; ?>"));
299
- jQuery("#ux_ddl_message").append(jQuery("<option></option>").attr("value", "<?php echo $fields_controls[$flag]->dynamicId; ?>").text("<?php echo $fields_controls[$flag]->dynamic_settings_value; ?>"));
300
  <?php
301
  }
302
  }
294
  if($show_in_email == "0")
295
  {
296
  ?>
297
+ jQuery("#ux_ddl_from_name").append(jQuery("<option></option>").attr("value", "<?php echo $fields_controls[$flag]->dynamicId; ?>").text("<?php echo stripslashes(htmlspecialchars_decode($fields_controls[$flag]->dynamic_settings_value, ENT_QUOTES)); ?>"));
298
+ jQuery("#ux_ddl_subject").append(jQuery("<option></option>").attr("value", "<?php echo $fields_controls[$flag]->dynamicId; ?>").text("<?php echo stripslashes(htmlspecialchars_decode($fields_controls[$flag]->dynamic_settings_value, ENT_QUOTES)); ?>"));
299
+ jQuery("#ux_ddl_message").append(jQuery("<option></option>").attr("value", "<?php echo $fields_controls[$flag]->dynamicId; ?>").text("<?php echo stripslashes(htmlspecialchars_decode($fields_controls[$flag]->dynamic_settings_value, ENT_QUOTES)); ?>"));
300
  <?php
301
  }
302
  }
views/contact_bank_form_preview.php CHANGED
@@ -257,7 +257,7 @@ else
257
  color: <?php echo $layout_settings_array[$form_id]["success_msg_text_color"]; ?> !important;
258
  text-align: <?php echo $layout_settings_array[$form_id]["success_msg_rdl_text_align"] == "0" ? "left" : "right"; ?> !important;
259
  direction: <?php echo $layout_settings_array[$form_id]["success_msg_text_direction"]; ?> !important;
260
- background: url(<?php echo CONTACT_BK_PLUGIN_URL."/assets/images/icons/icon-succes.png"?>) no-repeat 1px 8px #EBF9E2;
261
  }
262
  .sucess_message_text
263
  {
257
  color: <?php echo $layout_settings_array[$form_id]["success_msg_text_color"]; ?> !important;
258
  text-align: <?php echo $layout_settings_array[$form_id]["success_msg_rdl_text_align"] == "0" ? "left" : "right"; ?> !important;
259
  direction: <?php echo $layout_settings_array[$form_id]["success_msg_text_direction"]; ?> !important;
260
+ background: url(<?php echo plugins_url("/assets/images/icons/icon-succes.png" , dirname(__FILE__)); ?>) no-repeat 1px 8px #EBF9E2;
261
  }
262
  .sucess_message_text
263
  {
views/contact_bank_layout_settings.php CHANGED
@@ -126,7 +126,7 @@ else
126
  <span class="error">*</span>
127
  </label>
128
  <div class="layout-controls">
129
- <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 CONTACT_BK_PLUGIN_URL ."/assets/images/color.png" ?>" />
130
  <div id="clr_font_color"></div>
131
  </div>
132
  </div>
@@ -313,7 +313,7 @@ else
313
  <span class="error">*</span>
314
  </label>
315
  <div class="layout-controls">
316
- <input type="text" class="layout-span11" id="ux_clr_text_color_input_field" name="ux_clr_text_color_input_field" onclick="ux_clr_font_color_input_settings();" value="#000000" style="background-color:#000000;color:#fff;"/><img onclick="ux_clr_font_color_input_settings();" style="vertical-align: middle;margin-left: 5px;" src="<?php echo CONTACT_BK_PLUGIN_URL ."/assets/images/color.png" ?>" />
317
  <div id="clr_text_color"></div>
318
  </div>
319
  </div>
@@ -379,7 +379,7 @@ else
379
  <span class="error">*</span>
380
  </label>
381
  <div class="layout-controls">
382
- <input type="text" class="layout-span11" id="ux_clr_border_color_input_field" name="ux_clr_border_color_input_field" onclick="ux_clr_border_color_input_settings()" value="#e5e5e5" style="background-color:#e5e5e5;color:#fff;"/><img onclick="ux_clr_border_color_input_settings()" style="vertical-align: middle;margin-left: 5px;" src="<?php echo CONTACT_BK_PLUGIN_URL ."/assets/images/color.png" ?>" />
383
  <div id="clr_border_color"></div>
384
  </div>
385
  </div>
@@ -415,7 +415,7 @@ else
415
  <span class="error">*</span>
416
  </label>
417
  <div class="layout-controls">
418
- <input type="text" class="layout-span11" id="ux_clr_bg_color_input_field" name="ux_clr_bg_color_input_field" onclick="ux_clr_BG_color_input_settings();" value="#ffffff" /><img onclick="ux_clr_BG_color_input_settings();" style="vertical-align: middle;margin-left: 5px;" src="<?php echo CONTACT_BK_PLUGIN_URL ."/assets/images/color.png" ?>" />
419
  <div id="clr_bg_color"></div>
420
  </div>
421
  </div>
@@ -588,7 +588,7 @@ else
588
  <span class="error">*</span>
589
  </label>
590
  <div class="layout-controls">
591
- <input type="text" class="layout-span11" id="ux_clr_bg_color_submit_button" name="ux_clr_bg_color_submit_button" onclick="ux_clr_BG_color_submit_btn_settings();" value="#24890d" style="background-color:#24890d;color:#fff;"/><img onclick="ux_clr_BG_color_submit_btn_settings();" style="vertical-align: middle;margin-left: 5px;" src="<?php echo CONTACT_BK_PLUGIN_URL ."/assets/images/color.png" ?>" />
592
  <div id="clr_bg_color_submit_button"></div>
593
  </div>
594
  </div>
@@ -599,7 +599,7 @@ else
599
  <span class="error">*</span>
600
  </label>
601
  <div class="layout-controls">
602
- <input type="text" class="layout-span11" id="ux_clr_hover_bg_color_submit_button" name="ux_clr_hover_bg_color_submit_button" onclick="ux_clr_hover_BG_color_submit_btn_settings();" value="#3dd41a" style="background-color:#000000;color:#fff;" /><img onclick="ux_clr_hover_BG_color_submit_btn_settings();" style="vertical-align: middle;margin-left: 5px;" src="<?php echo CONTACT_BK_PLUGIN_URL ."/assets/images/color.png" ?>" />
603
  <div id="clr_hover_bg_color_submit_button"></div>
604
  </div>
605
  </div>
@@ -610,7 +610,7 @@ else
610
  <span class="error">*</span>
611
  </label>
612
  <div class="layout-controls">
613
- <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 CONTACT_BK_PLUGIN_URL ."/assets/images/color.png" ?>" />
614
  <div id="clr_text_color_submit_button"></div>
615
  </div>
616
  </div>
@@ -621,7 +621,7 @@ else
621
  <span class="error">*</span>
622
  </label>
623
  <div class="layout-controls">
624
- <input type="text" class="layout-span11" id="ux_clr_border_color_submit_button" name="ux_clr_border_color_submit_button" onclick="ux_clr_hover_border_color_submit_btn_settings();" value="#000000" style="background-color:#000000;color:#fff;" /><img onclick="ux_clr_hover_border_color_submit_btn_settings();" style="vertical-align: middle;margin-left: 5px;" src="<?php echo CONTACT_BK_PLUGIN_URL ."/assets/images/color.png" ?>" />
625
  <div id="clr_border_color_submit_button"></div>
626
  </div>
627
  </div>
@@ -747,7 +747,7 @@ else
747
  <span class="error">*</span>
748
  </label>
749
  <div class="layout-controls">
750
- <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 CONTACT_BK_PLUGIN_URL ."/assets/images/color.png" ?>" />
751
  <div id="clr_bg_color_success_msg"></div>
752
  </div>
753
  </div>
@@ -758,7 +758,7 @@ else
758
  <span class="error">*</span>
759
  </label>
760
  <div class="layout-controls">
761
- <input type="text" class="layout-span11" id="ux_clr_border_color_success_msg" name="ux_clr_border_color_success_msg" onclick="ux_clr_border_color_sucess_msg_settings();" value="#e5ffd5" style="background-color:#e5ffd5;color:#fff;"/><img onclick="ux_clr_border_color_sucess_msg_settings();" style="vertical-align: middle;margin-left: 5px;" src="<?php echo CONTACT_BK_PLUGIN_URL ."/assets/images/color.png" ?>" />
762
  <div id="clr_border_color_success_msg"></div>
763
  </div>
764
  </div>
@@ -769,7 +769,7 @@ else
769
  <span class="error">*</span>
770
  </label>
771
  <div class="layout-controls">
772
- <input type="text" class="layout-span11" id="ux_clr_text_color_success_msg" name="ux_clr_text_color_success_msg" onclick="ux_clr_text_color_sucess_msg_settings();" value="#6aa500" style="background-color:#6aa500;color:#fff;"/><img onclick="ux_clr_text_color_sucess_msg_settings();" style="vertical-align: middle;margin-left: 5px;" src="<?php echo CONTACT_BK_PLUGIN_URL ."/assets/images/color.png" ?>" />
773
  <div id="clr_text_color_success_msg"></div>
774
  </div>
775
  </div>
@@ -875,7 +875,7 @@ else
875
  <span class="error">*</span>
876
  </label>
877
  <div class="layout-controls">
878
- <input type="text" class="layout-span11" id="ux_clr_bg_color_error_msg" name="ux_clr_bg_color_error_msg" onclick="ux_clr_BG_color_error_msg_settings();" value="#ffcaca" style="background-color:#ffcaca;color:#fff;"/><img onclick="ux_clr_BG_color_error_msg_settings();" style="vertical-align: middle;margin-left: 5px;" src="<?php echo CONTACT_BK_PLUGIN_URL ."/assets/images/color.png" ?>" />
879
  <div id="clr_bg_color_error_msg"></div>
880
  </div>
881
  </div>
@@ -886,7 +886,7 @@ else
886
  <span class="error">*</span>
887
  </label>
888
  <div class="layout-controls">
889
- <input type="text" class="layout-span11" id="ux_clr_border_color_error_msg" onclick="ux_clr_border_color_error_msg_settings();" name="ux_clr_border_color_error_msg" value="#ffcaca" style="background-color:#ffcaca;color:#fff;"/><img onclick="ux_clr_border_color_error_msg_settings();" style="vertical-align: middle;margin-left: 5px;" src="<?php echo CONTACT_BK_PLUGIN_URL ."/assets/images/color.png" ?>" />
890
  <div id="clr_border_color_error_msg"></div>
891
  </div>
892
  </div>
@@ -897,7 +897,7 @@ else
897
  <span class="error">*</span>
898
  </label>
899
  <div class="layout-controls">
900
- <input type="text" class="layout-span11" id="ux_clr_text_color_error_msg" value="#ff2c38" onclick="ux_clr_text_color_error_msg_settings();" name="ux_clr_text_color_error_msg" style="background-color:#ff2c38;color:#fff;"/><img onclick="ux_clr_text_color_error_msg_settings();" style="vertical-align: middle;margin-left: 5px;" src="<?php echo CONTACT_BK_PLUGIN_URL ."/assets/images/color.png" ?>" />
901
  <div id="clr_text_color_error_msg"></div>
902
  </div>
903
  </div>
126
  <span class="error">*</span>
127
  </label>
128
  <div class="layout-controls">
129
+ <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__)); ?>" />
130
  <div id="clr_font_color"></div>
131
  </div>
132
  </div>
313
  <span class="error">*</span>
314
  </label>
315
  <div class="layout-controls">
316
+ <input type="text" class="layout-span11" id="ux_clr_text_color_input_field" name="ux_clr_text_color_input_field" onclick="ux_clr_font_color_input_settings();" value="#000000" style="background-color:#000000;color:#fff;"/><img onclick="ux_clr_font_color_input_settings();" style="vertical-align: middle;margin-left: 5px;" src="<?php echo plugins_url("/assets/images/color.png" , dirname(__FILE__));?>" />
317
  <div id="clr_text_color"></div>
318
  </div>
319
  </div>
379
  <span class="error">*</span>
380
  </label>
381
  <div class="layout-controls">
382
+ <input type="text" class="layout-span11" id="ux_clr_border_color_input_field" name="ux_clr_border_color_input_field" onclick="ux_clr_border_color_input_settings()" value="#e5e5e5" style="background-color:#e5e5e5;color:#fff;"/><img onclick="ux_clr_border_color_input_settings()" style="vertical-align: middle;margin-left: 5px;" src="<?php echo plugins_url("/assets/images/color.png" , dirname(__FILE__));?>" />
383
  <div id="clr_border_color"></div>
384
  </div>
385
  </div>
415
  <span class="error">*</span>
416
  </label>
417
  <div class="layout-controls">
418
+ <input type="text" class="layout-span11" id="ux_clr_bg_color_input_field" name="ux_clr_bg_color_input_field" onclick="ux_clr_BG_color_input_settings();" value="#ffffff" /><img onclick="ux_clr_BG_color_input_settings();" style="vertical-align: middle;margin-left: 5px;" src="<?php echo plugins_url("/assets/images/color.png" , dirname(__FILE__)); ?>" />
419
  <div id="clr_bg_color"></div>
420
  </div>
421
  </div>
588
  <span class="error">*</span>
589
  </label>
590
  <div class="layout-controls">
591
+ <input type="text" class="layout-span11" id="ux_clr_bg_color_submit_button" name="ux_clr_bg_color_submit_button" onclick="ux_clr_BG_color_submit_btn_settings();" value="#24890d" style="background-color:#24890d;color:#fff;"/><img onclick="ux_clr_BG_color_submit_btn_settings();" style="vertical-align: middle;margin-left: 5px;" src="<?php echo plugins_url("/assets/images/color.png" , dirname(__FILE__));?>" />
592
  <div id="clr_bg_color_submit_button"></div>
593
  </div>
594
  </div>
599
  <span class="error">*</span>
600
  </label>
601
  <div class="layout-controls">
602
+ <input type="text" class="layout-span11" id="ux_clr_hover_bg_color_submit_button" name="ux_clr_hover_bg_color_submit_button" onclick="ux_clr_hover_BG_color_submit_btn_settings();" value="#3dd41a" style="background-color:#000000;color:#fff;" /><img onclick="ux_clr_hover_BG_color_submit_btn_settings();" style="vertical-align: middle;margin-left: 5px;" src="<?php echo plugins_url("/assets/images/color.png" , dirname(__FILE__));?>" />
603
  <div id="clr_hover_bg_color_submit_button"></div>
604
  </div>
605
  </div>
610
  <span class="error">*</span>
611
  </label>
612
  <div class="layout-controls">
613
+ <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__));?>" />
614
  <div id="clr_text_color_submit_button"></div>
615
  </div>
616
  </div>
621
  <span class="error">*</span>
622
  </label>
623
  <div class="layout-controls">
624
+ <input type="text" class="layout-span11" id="ux_clr_border_color_submit_button" name="ux_clr_border_color_submit_button" onclick="ux_clr_hover_border_color_submit_btn_settings();" value="#000000" style="background-color:#000000;color:#fff;" /><img onclick="ux_clr_hover_border_color_submit_btn_settings();" style="vertical-align: middle;margin-left: 5px;" src="<?php echo plugins_url("/assets/images/color.png" , dirname(__FILE__));?>" />
625
  <div id="clr_border_color_submit_button"></div>
626
  </div>
627
  </div>
747
  <span class="error">*</span>
748
  </label>
749
  <div class="layout-controls">
750
+ <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__));?>" />
751
  <div id="clr_bg_color_success_msg"></div>
752
  </div>
753
  </div>
758
  <span class="error">*</span>
759
  </label>
760
  <div class="layout-controls">
761
+ <input type="text" class="layout-span11" id="ux_clr_border_color_success_msg" name="ux_clr_border_color_success_msg" onclick="ux_clr_border_color_sucess_msg_settings();" value="#e5ffd5" style="background-color:#e5ffd5;color:#fff;"/><img onclick="ux_clr_border_color_sucess_msg_settings();" style="vertical-align: middle;margin-left: 5px;" src="<?php echo plugins_url("/assets/images/color.png" , dirname(__FILE__));?>" />
762
  <div id="clr_border_color_success_msg"></div>
763
  </div>
764
  </div>
769
  <span class="error">*</span>
770
  </label>
771
  <div class="layout-controls">
772
+ <input type="text" class="layout-span11" id="ux_clr_text_color_success_msg" name="ux_clr_text_color_success_msg" onclick="ux_clr_text_color_sucess_msg_settings();" value="#6aa500" style="background-color:#6aa500;color:#fff;"/><img onclick="ux_clr_text_color_sucess_msg_settings();" style="vertical-align: middle;margin-left: 5px;" src="<?php echo plugins_url("/assets/images/color.png" , dirname(__FILE__));?>" />
773
  <div id="clr_text_color_success_msg"></div>
774
  </div>
775
  </div>
875
  <span class="error">*</span>
876
  </label>
877
  <div class="layout-controls">
878
+ <input type="text" class="layout-span11" id="ux_clr_bg_color_error_msg" name="ux_clr_bg_color_error_msg" onclick="ux_clr_BG_color_error_msg_settings();" value="#ffcaca" style="background-color:#ffcaca;color:#fff;"/><img onclick="ux_clr_BG_color_error_msg_settings();" style="vertical-align: middle;margin-left: 5px;" src="<?php echo plugins_url("/assets/images/color.png" , dirname(__FILE__));?>" />
879
  <div id="clr_bg_color_error_msg"></div>
880
  </div>
881
  </div>
886
  <span class="error">*</span>
887
  </label>
888
  <div class="layout-controls">
889
+ <input type="text" class="layout-span11" id="ux_clr_border_color_error_msg" onclick="ux_clr_border_color_error_msg_settings();" name="ux_clr_border_color_error_msg" value="#ffcaca" style="background-color:#ffcaca;color:#fff;"/><img onclick="ux_clr_border_color_error_msg_settings();" style="vertical-align: middle;margin-left: 5px;" src="<?php echo plugins_url("/assets/images/color.png" , dirname(__FILE__));?>" />
890
  <div id="clr_border_color_error_msg"></div>
891
  </div>
892
  </div>
897
  <span class="error">*</span>
898
  </label>
899
  <div class="layout-controls">
900
+ <input type="text" class="layout-span11" id="ux_clr_text_color_error_msg" value="#ff2c38" onclick="ux_clr_text_color_error_msg_settings();" name="ux_clr_text_color_error_msg" style="background-color:#ff2c38;color:#fff;"/><img onclick="ux_clr_text_color_error_msg_settings();" style="vertical-align: middle;margin-left: 5px;" src="<?php echo plugins_url("/assets/images/color.png" , dirname(__FILE__));?>" />
901
  <div id="clr_text_color_error_msg"></div>
902
  </div>
903
  </div>
views/contact_bank_pro_version.php CHANGED
@@ -392,7 +392,7 @@ else
392
  <p>
393
  <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>
394
  </p>
395
- <img src="<?php echo CONTACT_BK_PLUGIN_URL . "/assets/images/img.png";?>" style="max-width:100%;cursor: pointer;" />
396
  <p>
397
  <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>
398
  </p>
392
  <p>
393
  <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>
394
  </p>
395
+ <img src="<?php echo plugins_url("/assets/images/img.png" , dirname(__FILE__));?>" style="max-width:100%;cursor: pointer;" />
396
  <p>
397
  <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>
398
  </p>
views/contact_controls_files.php CHANGED
@@ -39,7 +39,7 @@ else
39
  <?php _e("Settings", contact_bank); ?>
40
  </a>
41
  <a style="cursor:pointer;" id="anchor_del_">
42
- <img class="delete_control" src="<?php echo CONTACT_BK_PLUGIN_URL; ?>/assets/images/delete-bg.png"/>
43
  </a>
44
  <br/>
45
  <span class="span-description" id="txt_description_"></span>
@@ -55,7 +55,7 @@ else
55
  <?php _e("Settings", contact_bank); ?>
56
  </a>
57
  <a style="cursor:pointer;" id="anchor_del_">
58
- <img class="delete_control" src="<?php echo CONTACT_BK_PLUGIN_URL; ?>/assets/images/delete-bg.png"/>
59
  </a>
60
  <br/>
61
  <span class="span-description" id="txt_description_"></span>
@@ -72,7 +72,7 @@ else
72
  <?php _e("Settings", contact_bank); ?>
73
  </a>
74
  <a style="cursor:pointer;" id="anchor_del_">
75
- <img class="delete_control" src="<?php echo CONTACT_BK_PLUGIN_URL; ?>/assets/images/delete-bg.png"/>
76
  </a>
77
  <br/>
78
  <span class="span-description" id="txt_description_"></span>
@@ -90,7 +90,7 @@ else
90
  <?php _e("Settings", contact_bank); ?>
91
  </a>
92
  <a style="cursor:pointer;" id="anchor_del_">
93
- <img class="delete_control" src="<?php echo CONTACT_BK_PLUGIN_URL; ?>/assets/images/delete-bg.png"/>
94
  </a>
95
  </div>
96
  </div>
@@ -106,7 +106,7 @@ else
106
  <?php _e("Settings", contact_bank); ?>
107
  </a>
108
  <a style="cursor:pointer;" id="anchor_del_">
109
- <img class="delete_control" src="<?php echo CONTACT_BK_PLUGIN_URL; ?>/assets/images/delete-bg.png"/>
110
  </a>
111
  </div>
112
  </div>
@@ -123,7 +123,7 @@ else
123
  <?php _e("Settings", contact_bank); ?>
124
  </a>
125
  <a style="cursor:pointer;" id="anchor_del_">
126
- <img class="delete_control" src="<?php echo CONTACT_BK_PLUGIN_URL; ?>/assets/images/delete-bg.png"/>
127
  </a>
128
  </div>
129
  </div>
39
  <?php _e("Settings", contact_bank); ?>
40
  </a>
41
  <a style="cursor:pointer;" id="anchor_del_">
42
+ <img class="delete_control" src="<?php echo plugins_url("/assets/images/delete-bg.png" , dirname(__FILE__));?>"/>
43
  </a>
44
  <br/>
45
  <span class="span-description" id="txt_description_"></span>
55
  <?php _e("Settings", contact_bank); ?>
56
  </a>
57
  <a style="cursor:pointer;" id="anchor_del_">
58
+ <img class="delete_control" src="<?php echo plugins_url("/assets/images/delete-bg.png" , dirname(__FILE__));?>"/>
59
  </a>
60
  <br/>
61
  <span class="span-description" id="txt_description_"></span>
72
  <?php _e("Settings", contact_bank); ?>
73
  </a>
74
  <a style="cursor:pointer;" id="anchor_del_">
75
+ <img class="delete_control" src="<?php echo plugins_url("/assets/images/delete-bg.png" , dirname(__FILE__));?>"/>
76
  </a>
77
  <br/>
78
  <span class="span-description" id="txt_description_"></span>
90
  <?php _e("Settings", contact_bank); ?>
91
  </a>
92
  <a style="cursor:pointer;" id="anchor_del_">
93
+ <img class="delete_control" src="<?php echo plugins_url("/assets/images/delete-bg.png" , dirname(__FILE__));?>"/>
94
  </a>
95
  </div>
96
  </div>
106
  <?php _e("Settings", contact_bank); ?>
107
  </a>
108
  <a style="cursor:pointer;" id="anchor_del_">
109
+ <img class="delete_control" src="<?php echo plugins_url("/assets/images/delete-bg.png" , dirname(__FILE__));?>"/>
110
  </a>
111
  </div>
112
  </div>
123
  <?php _e("Settings", contact_bank); ?>
124
  </a>
125
  <a style="cursor:pointer;" id="anchor_del_">
126
+ <img class="delete_control" src="<?php echo plugins_url("/assets/images/delete-bg.png" , dirname(__FILE__));?>"/>
127
  </a>
128
  </div>
129
  </div>
views/contact_view.php CHANGED
@@ -263,7 +263,7 @@ else
263
  name="submit_button"
264
  value="<?php _e("Save Form", contact_bank); ?>"/>
265
  <div class="separator-doubled" style="margin-bottom: 5px;"></div>
266
- <a rel="prettyPhoto[contact]" href="<?php echo CONTACT_BK_PLUGIN_URL . "/assets/images/how-to-setup-short-code-cb.png";?>">How to setup Short-Codes for Contact Bank into your WordPress Page/Post?</a>
267
  <div id="form_success_message" class="message green" style="display: none;">
268
  <span>
269
  <strong><?php _e("Form Submitted. Kindly wait for the redirect.", contact_bank); ?></strong>
263
  name="submit_button"
264
  value="<?php _e("Save Form", contact_bank); ?>"/>
265
  <div class="separator-doubled" style="margin-bottom: 5px;"></div>
266
+ <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>
267
  <div id="form_success_message" class="message green" style="display: none;">
268
  <span>
269
  <strong><?php _e("Form Submitted. Kindly wait for the redirect.", contact_bank); ?></strong>
views/dashboard.php CHANGED
@@ -125,7 +125,7 @@ else
125
  onclick="restore_factory_settings();"><?php _e("Restore Factory Settings", contact_bank); ?>
126
  </a>
127
  <div class="separator-doubled" style="margin-bottom: 5px;"></div>
128
- <a rel="prettyPhoto[contact]" href="<?php echo CONTACT_BK_PLUGIN_URL . "/assets/images/how-to-setup-short-code-cb.png";?>">How to setup Short-Codes for Contact Bank into your WordPress Page/Post?</a>
129
  <div class="fluid-layout">
130
  <div class="layout-span12" >
131
  <div class="widget-layout">
@@ -239,7 +239,7 @@ else
239
  <p>
240
  <a class="btn btn-danger" href="http://tech-banker.com/get-in-touch/" target="_blank" style="text-decoration: none;"><?php _e("Let's get in touch!", contact_bank); ?></a>
241
  </p>
242
- <img src="<?php echo CONTACT_BK_PLUGIN_URL . "/assets/images/img.png";?>" style="max-width:100%;cursor: pointer;" />
243
  <p>
244
  <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>
245
  </p>
125
  onclick="restore_factory_settings();"><?php _e("Restore Factory Settings", contact_bank); ?>
126
  </a>
127
  <div class="separator-doubled" style="margin-bottom: 5px;"></div>
128
+ <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>
129
  <div class="fluid-layout">
130
  <div class="layout-span12" >
131
  <div class="widget-layout">
239
  <p>
240
  <a class="btn btn-danger" href="http://tech-banker.com/get-in-touch/" target="_blank" style="text-decoration: none;"><?php _e("Let's get in touch!", contact_bank); ?></a>
241
  </p>
242
+ <img src="<?php echo plugins_url("/assets/images/img.png" , dirname(__FILE__));?>" style="max-width:100%;cursor: pointer;" />
243
  <p>
244
  <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>
245
  </p>
views/footer.php CHANGED
@@ -1 +1 @@
1
- <div style="margin: 10px;text-align: center;"><img src="<?php echo CONTACT_BK_PLUGIN_URL .'/assets/images/footer.png';?>"/></div>
1
+ <div style="margin: 10px;text-align: center;"><img src="<?php echo plugins_url("/assets/images/footer.png" , dirname(__FILE__));?>"/></div>
views/header.php CHANGED
@@ -28,7 +28,7 @@ jQuery(document).ready(function()
28
  jQuery(".nav-tab-wrapper > a#<?php echo $_REQUEST["page"];?>").addClass("nav-tab-active");
29
  });
30
  </script>
31
- <img style="margin: 10px;" src="<?php echo CONTACT_BK_PLUGIN_URL .'/assets/images/cb-logo.png';?>"/>
32
  <?php
33
  global $wpdb,$current_user;
34
  $role = $wpdb->prefix . "capabilities";
28
  jQuery(".nav-tab-wrapper > a#<?php echo $_REQUEST["page"];?>").addClass("nav-tab-active");
29
  });
30
  </script>
31
+ <img style="margin: 10px;" src="<?php echo plugins_url("/assets/images/cb-logo.png" , dirname(__FILE__));?>"/>
32
  <?php
33
  global $wpdb,$current_user;
34
  $role = $wpdb->prefix . "capabilities";
views/shortcode.php CHANGED
@@ -29,7 +29,7 @@ else
29
  <h3 class="hndle"><span><?php _e("How to setup Short-Codes for Contact Bank into your WordPress Page/Post?", contact_bank); ?></span></h3>
30
  <div class="inside">
31
  <div id="ux_shortcode" class="contact_bank_layout">
32
- <img src="<?php echo CONTACT_BK_PLUGIN_URL . "/assets/images/how-to-setup-short-code-cb.png";?>" />
33
  </div>
34
  </div>
35
  </div>
29
  <h3 class="hndle"><span><?php _e("How to setup Short-Codes for Contact Bank into your WordPress Page/Post?", contact_bank); ?></span></h3>
30
  <div class="inside">
31
  <div id="ux_shortcode" class="contact_bank_layout">
32
+ <img src="<?php echo plugins_url("/assets/images/how-to-setup-short-code-cb.png" , dirname(__FILE__));?>" />
33
  </div>
34
  </div>
35
  </div>