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

Version Description

Download this release

Release Info

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

Code changes from version 1.5.8 to 1.5.9

contact_form.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Contact Form FREE
4
  Plugin URI: http://web-dorado.com/products/form-maker-wordpress.html
5
  Description: WordPress Contact Form Maker is an advanced and easy-to-use tool for creating forms. The backend interface is intuitive and user friendly which allows users far from scripting and programming to create WordPress Forms.
6
- Version: 1.5.8
7
  Author: http://web-dorado.com/
8
  License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
9
  */
3
  Plugin Name: Contact Form FREE
4
  Plugin URI: http://web-dorado.com/products/form-maker-wordpress.html
5
  Description: WordPress Contact Form Maker is an advanced and easy-to-use tool for creating forms. The backend interface is intuitive and user friendly which allows users far from scripting and programming to create WordPress Forms.
6
+ Version: 1.5.9
7
  Author: http://web-dorado.com/
8
  License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
9
  */
contact_form_functions.html.php CHANGED
@@ -939,12 +939,16 @@ jQuery(document).ready(function ($) {
939
  <td width="0%"></td>
940
  <td align="right"><img src="<?php echo plugins_url("images/minus.png", __FILE__); ?>"
941
  title="Show or hide the page" class="page_toolbar" onclick="show_or_hide('1')"
 
942
  id="show_page_img_1"/></td>
943
  <td><img src="<?php echo plugins_url("images/page_delete.png", __FILE__); ?>" title="Delete the page"
 
944
  class="page_toolbar" onclick="remove_page('1')"/></td>
945
  <td><img src="<?php echo plugins_url("images/page_delete_all.png", __FILE__); ?>"
 
946
  title="Delete the page with fields" class="page_toolbar" onclick="remove_page_all('1')"/></td>
947
  <td><img src="<?php echo plugins_url("images/page_edit.png", __FILE__); ?>" title="Edit the page"
 
948
  class="page_toolbar" onclick="edit_page_break('1')"/></td>
949
  </tr>
950
  </tbody>
939
  <td width="0%"></td>
940
  <td align="right"><img src="<?php echo plugins_url("images/minus.png", __FILE__); ?>"
941
  title="Show or hide the page" class="page_toolbar" onclick="show_or_hide('1')"
942
+ onmouseover="chnage_icons_src(this,'minus')" onmouseout="chnage_icons_src(this,'minus')"
943
  id="show_page_img_1"/></td>
944
  <td><img src="<?php echo plugins_url("images/page_delete.png", __FILE__); ?>" title="Delete the page"
945
+ onmouseover="chnage_icons_src(this,'page_delete')" onmouseout="chnage_icons_src(this,'page_delete')"
946
  class="page_toolbar" onclick="remove_page('1')"/></td>
947
  <td><img src="<?php echo plugins_url("images/page_delete_all.png", __FILE__); ?>"
948
+ onmouseover="chnage_icons_src(this,'page_delete_all')" onmouseout="chnage_icons_src(this,'page_delete_all')"
949
  title="Delete the page with fields" class="page_toolbar" onclick="remove_page_all('1')"/></td>
950
  <td><img src="<?php echo plugins_url("images/page_edit.png", __FILE__); ?>" title="Edit the page"
951
+ onmouseover="chnage_icons_src(this,'page_edit')" onmouseout="chnage_icons_src(this,'page_edit')"
952
  class="page_toolbar" onclick="edit_page_break('1')"/></td>
953
  </tr>
954
  </tbody>
images/delete_el.png CHANGED
Binary file
images/delete_el_hover.png ADDED
Binary file
images/down.png CHANGED
Binary file
images/down_hover.png ADDED
Binary file
images/dublicate.png CHANGED
Binary file
images/dublicate_hover.png ADDED
Binary file
images/edit.png CHANGED
Binary file
images/edit_hover.png ADDED
Binary file
images/left-hover.png ADDED
Binary file
images/left.png CHANGED
Binary file
images/left_hover.png ADDED
Binary file
images/minus.png CHANGED
Binary file
images/minus_hover.png ADDED
Binary file
images/page_delete.png CHANGED
Binary file
images/page_delete_all.png CHANGED
Binary file
images/page_delete_all_hover.png ADDED
Binary file
images/page_delete_hover.png ADDED
Binary file
images/page_down.png CHANGED
Binary file
images/page_down_hover.png ADDED
Binary file
images/page_edit.png CHANGED
Binary file
images/page_edit_hover.png ADDED
Binary file
images/page_up.png CHANGED
Binary file
images/page_up_hover.png ADDED
Binary file
images/plus.png CHANGED
Binary file
images/plus_hover.png ADDED
Binary file
images/right.png CHANGED
Binary file
images/right_hover.png ADDED
Binary file
images/up.png CHANGED
Binary file
images/up_hover.png ADDED
Binary file
js/formmaker_free.js CHANGED
@@ -10,6 +10,15 @@ if (ajaxurl.indexOf("://") != -1) {
10
  else {
11
  var url_for_ajax = location.protocol + '//' + location.host + ajaxurl;
12
  }
 
 
 
 
 
 
 
 
 
13
  /**
14
  * Remove witespaces from childNodes.
15
  */
@@ -14344,10 +14353,16 @@ function make_pagebreak_button(next_or_previous, title, type, class_, id) {
14344
  }
14345
 
14346
  function show_or_hide(id) {
14347
- if (!jQuery("#form_id_tempform_view" + id).is(":visible"))
14348
- show_form_view(id);
14349
- else
14350
- hide_form_view(id);
 
 
 
 
 
 
14351
  }
14352
 
14353
  function show_form_view(id) {
@@ -14704,11 +14719,12 @@ function refresh_pages_without_deleting(id) {
14704
 
14705
  var img_X = document.createElement("img");
14706
  img_X.setAttribute("src", plugin_url + "/images/delete_el.png");
14707
- img_X.setAttribute("height", "17");
14708
  img_X.setAttribute("title", "Remove the field");
14709
  img_X.style.cssText = "cursor:pointer; margin:2px";
14710
  img_X.setAttribute("onclick", 'remove_section_break("' + i + '")');
14711
-
 
14712
  var td_X = document.createElement("td");
14713
  td_X.setAttribute("id", "X_" + i);
14714
  td_X.setAttribute("valign", "middle");
@@ -14723,6 +14739,8 @@ function refresh_pages_without_deleting(id) {
14723
  // img_EDIT.setAttribute("height", "17");
14724
  img_EDIT.style.cssText = "margin:2px;cursor:pointer";
14725
  img_EDIT.setAttribute("onclick", 'edit("' + i + '")');
 
 
14726
 
14727
  var td_EDIT = document.createElement("td");
14728
  td_EDIT.setAttribute("id", "edit_" + i);
@@ -14735,6 +14753,8 @@ function refresh_pages_without_deleting(id) {
14735
  img_DUBLICATE.setAttribute("title", "Duplicate the field");
14736
  img_DUBLICATE.style.cssText = "margin:2px;cursor:pointer";
14737
  img_DUBLICATE.setAttribute("onclick", 'dublicate("' + i + '")');
 
 
14738
 
14739
  var td_DUBLICATE = document.createElement("td");
14740
  td_DUBLICATE.setAttribute("id", "dublicate_" + i);
@@ -14916,10 +14936,12 @@ function add(key) {
14916
  destroyChildren(tr);
14917
  var img_X = document.createElement("img");
14918
  img_X.setAttribute("src", plugin_url + "/images/delete_el.png");
14919
- img_X.setAttribute("height", "17");
14920
  img_X.setAttribute("title", "Remove the field");
14921
  img_X.style.cssText = "cursor:pointer; margin:2px";
14922
  img_X.setAttribute("onclick", 'remove_section_break("' + i + '")');
 
 
14923
 
14924
  var td_X = document.createElement("td");
14925
  td_X.setAttribute("id", "X_" + i);
@@ -14934,6 +14956,8 @@ function add(key) {
14934
  // img_UP.setAttribute("height", "17");
14935
  img_UP.style.cssText = "cursor:pointer";
14936
  img_UP.setAttribute("onclick", 'up_row("' + i + '")');
 
 
14937
 
14938
  var td_UP = document.createElement("td");
14939
  td_UP.setAttribute("id", "up_" + i);
@@ -14947,6 +14971,8 @@ function add(key) {
14947
  // img_DOWN.setAttribute("height", "17");
14948
  img_DOWN.style.cssText = "margin:2px;cursor:pointer";
14949
  img_DOWN.setAttribute("onclick", 'down_row("' + i + '")');
 
 
14950
 
14951
  var td_DOWN = document.createElement("td");
14952
  td_DOWN.setAttribute("id", "down_" + i);
@@ -14960,6 +14986,8 @@ function add(key) {
14960
  // img_EDIT.setAttribute("height", "17");
14961
  img_EDIT.style.cssText = "margin:2px;cursor:pointer";
14962
  img_EDIT.setAttribute("onclick", 'edit("' + i + '")');
 
 
14963
 
14964
  var td_EDIT = document.createElement("td");
14965
  td_EDIT.setAttribute("id", "edit_" + i);
@@ -14972,6 +15000,8 @@ function add(key) {
14972
  img_DUBLICATE.setAttribute("title", "Duplicate the field");
14973
  img_DUBLICATE.style.cssText = "margin:2px;cursor:pointer";
14974
  img_DUBLICATE.setAttribute("onclick", 'dublicate("' + i + '")');
 
 
14975
 
14976
  var td_DUBLICATE = document.createElement("td");
14977
  td_DUBLICATE.setAttribute("id", "dublicate_" + i);
@@ -14984,6 +15014,8 @@ function add(key) {
14984
  img_PAGEUP.setAttribute("title", "Move the field to the upper page");
14985
  img_PAGEUP.style.cssText = "margin:2px;cursor:pointer";
14986
  img_PAGEUP.setAttribute("onclick", 'page_up("' + i + '")');
 
 
14987
 
14988
  var td_PAGEDOWN = document.createElement("td");
14989
  td_PAGEDOWN.setAttribute("id", "page_up_" + i);
@@ -14996,6 +15028,8 @@ function add(key) {
14996
  img_PAGEDOWN.setAttribute("title", "Move the field to the lower page");
14997
  img_PAGEDOWN.style.cssText = "margin:2px;cursor:pointer";
14998
  img_PAGEDOWN.setAttribute("onclick", 'page_down("' + i + '")');
 
 
14999
 
15000
  var td_PAGEUP = document.createElement("td");
15001
  td_PAGEUP.setAttribute("id", "dublicate_" + i);
@@ -15052,10 +15086,12 @@ function add(key) {
15052
 
15053
  var img_X = document.createElement("img");
15054
  img_X.setAttribute("src", plugin_url + "/images/delete_el.png");
15055
- img_X.setAttribute("height", "17");
15056
  img_X.setAttribute("title", "Remove the field");
15057
  img_X.style.cssText = "cursor:pointer; margin:2px";
15058
  img_X.setAttribute("onclick", 'remove_section_break("' + i + '")');
 
 
15059
 
15060
  var td_X = document.createElement("td");
15061
  td_X.setAttribute("id", "X_" + i);
@@ -15070,6 +15106,8 @@ function add(key) {
15070
  // img_UP.setAttribute("height", "17");
15071
  img_UP.style.cssText = "cursor:pointer";
15072
  img_UP.setAttribute("onclick", 'up_row("' + i + '")');
 
 
15073
 
15074
  var td_UP = document.createElement("td");
15075
  td_UP.setAttribute("id", "up_" + i);
@@ -15083,6 +15121,8 @@ function add(key) {
15083
  // img_DOWN.setAttribute("height", "17");
15084
  img_DOWN.style.cssText = "margin:2px;cursor:pointer";
15085
  img_DOWN.setAttribute("onclick", 'down_row("' + i + '")');
 
 
15086
 
15087
  var td_DOWN = document.createElement("td");
15088
  td_DOWN.setAttribute("id", "down_" + i);
@@ -15097,6 +15137,8 @@ function add(key) {
15097
  // img_EDIT.setAttribute("height", "17");
15098
  img_EDIT.style.cssText = "margin:2px;cursor:pointer";
15099
  img_EDIT.setAttribute("onclick", 'edit("' + i + '")');
 
 
15100
 
15101
  var td_EDIT = document.createElement("td");
15102
  td_EDIT.setAttribute("id", "edit_" + i);
@@ -15109,6 +15151,8 @@ function add(key) {
15109
  img_DUBLICATE.setAttribute("title", "Duplicate the field");
15110
  img_DUBLICATE.style.cssText = "margin:2px;cursor:pointer";
15111
  img_DUBLICATE.setAttribute("onclick", 'dublicate("' + i + '")');
 
 
15112
 
15113
  var td_DUBLICATE = document.createElement("td");
15114
  td_DUBLICATE.setAttribute("id", "dublicate_" + i);
@@ -15121,6 +15165,8 @@ function add(key) {
15121
  img_PAGEUP.setAttribute("title", "Move the field to the upper page");
15122
  img_PAGEUP.style.cssText = "margin:2px;cursor:pointer";
15123
  img_PAGEUP.setAttribute("onclick", 'page_up("' + i + '")');
 
 
15124
 
15125
  var td_PAGEDOWN = document.createElement("td");
15126
  td_PAGEDOWN.setAttribute("id", "page_up_" + i);
@@ -15133,6 +15179,8 @@ function add(key) {
15133
  img_PAGEDOWN.setAttribute("title", "Move the field to the lower page");
15134
  img_PAGEDOWN.style.cssText = "margin:2px;cursor:pointer";
15135
  img_PAGEDOWN.setAttribute("onclick", 'page_down("' + i + '")');
 
 
15136
 
15137
  var td_PAGEUP = document.createElement("td");
15138
  td_PAGEUP.setAttribute("id", "dublicate_" + i);
@@ -15281,6 +15329,8 @@ function add(key) {
15281
  img_EDIT.setAttribute("title", "Edit the pagination options");
15282
  img_EDIT.style.cssText = "margin-left:40px; cursor:pointer";
15283
  img_EDIT.setAttribute("onclick", 'el_page_navigation()');
 
 
15284
 
15285
  var td_EDIT = document.getElementById("edit_page_navigation");
15286
  td_EDIT.appendChild(img_EDIT);
@@ -15324,6 +15374,8 @@ function add(key) {
15324
  img.setAttribute("class", "page_toolbar");
15325
  img.setAttribute('id', 'show_page_img_' + form_view);
15326
  img.setAttribute('onClick', 'show_or_hide("' + form_view + '")');
 
 
15327
 
15328
 
15329
  var img_X = document.createElement("img");
@@ -15331,6 +15383,8 @@ function add(key) {
15331
  img_X.setAttribute('title', 'Delete the page');
15332
  img_X.setAttribute("class", "page_toolbar");
15333
  img_X.setAttribute("onclick", 'remove_page("' + form_view + '")');
 
 
15334
 
15335
  var td_X = document.createElement("td");
15336
  td_X.appendChild(img_X);
@@ -15340,6 +15394,8 @@ function add(key) {
15340
  img_X_all.setAttribute('title', 'Delete the page with fields');
15341
  img_X_all.setAttribute("class", "page_toolbar");
15342
  img_X_all.setAttribute("onclick", 'remove_page_all("' + form_view + '")');
 
 
15343
 
15344
  var td_X_all = document.createElement("td");
15345
  td_X_all.appendChild(img_X_all);
@@ -15349,6 +15405,8 @@ function add(key) {
15349
  img_EDIT.setAttribute('title', 'Edit the page');
15350
  img_EDIT.setAttribute("class", "page_toolbar");
15351
  img_EDIT.setAttribute("onclick", 'edit_page_break("' + form_view + '")');
 
 
15352
 
15353
  var td_EDIT = document.createElement("td");
15354
  td_EDIT.appendChild(img_EDIT);
@@ -15473,10 +15531,12 @@ function add(key) {
15473
  destroyChildren(tr);
15474
  var img_X = document.createElement("img");
15475
  img_X.setAttribute("src", plugin_url + "/images/delete_el.png");
15476
- img_X.setAttribute("height", "17");
15477
  img_X.setAttribute("title", "Remove the field");
15478
  img_X.style.cssText = "cursor:pointer; margin:2px";
15479
  img_X.setAttribute("onclick", 'remove_row("' + i + '")');
 
 
15480
 
15481
  var td_X = document.createElement("td");
15482
  td_X.setAttribute("id", "X_" + i);
@@ -15491,6 +15551,8 @@ function add(key) {
15491
  // img_UP.setAttribute("height", "17");
15492
  img_UP.style.cssText = "cursor:pointer";
15493
  img_UP.setAttribute("onclick", 'up_row("' + i + '")');
 
 
15494
 
15495
  var td_UP = document.createElement("td");
15496
  td_UP.setAttribute("id", "up_" + i);
@@ -15504,6 +15566,8 @@ function add(key) {
15504
  // img_DOWN.setAttribute("height", "17");
15505
  img_DOWN.style.cssText = "margin:2px;cursor:pointer";
15506
  img_DOWN.setAttribute("onclick", 'down_row("' + i + '")');
 
 
15507
 
15508
  var td_DOWN = document.createElement("td");
15509
  td_DOWN.setAttribute("id", "down_" + i);
@@ -15517,6 +15581,8 @@ function add(key) {
15517
  // img_RIGHT.setAttribute("height", "17");
15518
  img_RIGHT.style.cssText = "cursor:pointer";
15519
  img_RIGHT.setAttribute("onclick", 'right_row("' + i + '")');
 
 
15520
 
15521
  var td_RIGHT = document.createElement("td");
15522
  td_RIGHT.setAttribute("id", "right_" + i);
@@ -15530,6 +15596,8 @@ function add(key) {
15530
  // img_LEFT.setAttribute("height", "17");
15531
  img_LEFT.style.cssText = "margin:2px;cursor:pointer";
15532
  img_LEFT.setAttribute("onclick", 'left_row("' + i + '")');
 
 
15533
 
15534
  var td_LEFT = document.createElement("td");
15535
  td_LEFT.setAttribute("id", "left_" + i);
@@ -15543,6 +15611,8 @@ function add(key) {
15543
  // img_EDIT.setAttribute("height", "17");
15544
  img_EDIT.style.cssText = "margin:2px;cursor:pointer";
15545
  img_EDIT.setAttribute("onclick", 'edit("' + i + '")');
 
 
15546
 
15547
  var td_EDIT = document.createElement("td");
15548
  td_EDIT.setAttribute("id", "edit_" + i);
@@ -15555,6 +15625,8 @@ function add(key) {
15555
  img_DUBLICATE.setAttribute("title", "Duplicate the field");
15556
  img_DUBLICATE.style.cssText = "margin:2px;cursor:pointer";
15557
  img_DUBLICATE.setAttribute("onclick", 'dublicate("' + i + '")');
 
 
15558
 
15559
  var td_DUBLICATE = document.createElement("td");
15560
  td_DUBLICATE.setAttribute("id", "dublicate_" + i);
@@ -15567,6 +15639,8 @@ function add(key) {
15567
  img_PAGEUP.setAttribute("title", "Move the field to the upper page");
15568
  img_PAGEUP.style.cssText = "margin:2px;cursor:pointer";
15569
  img_PAGEUP.setAttribute("onclick", 'page_up("' + i + '")');
 
 
15570
 
15571
  var td_PAGEDOWN = document.createElement("td");
15572
  td_PAGEDOWN.setAttribute("id", "page_up_" + i);
@@ -15579,6 +15653,8 @@ function add(key) {
15579
  img_PAGEDOWN.setAttribute("title", "Move the field to the lower page");
15580
  img_PAGEDOWN.style.cssText = "margin:2px;cursor:pointer";
15581
  img_PAGEDOWN.setAttribute("onclick", 'page_down("' + i + '")');
 
 
15582
 
15583
  var td_PAGEUP = document.createElement("td");
15584
  td_PAGEUP.setAttribute("id", "dublicate_" + i);
@@ -15647,10 +15723,12 @@ function add(key) {
15647
 
15648
  var img_X = document.createElement("img");
15649
  img_X.setAttribute("src", plugin_url + "/images/delete_el.png");
15650
- img_X.setAttribute("height", "17");
15651
  img_X.setAttribute("title", "Remove the field");
15652
  img_X.style.cssText = "cursor:pointer; margin:2px";
15653
  img_X.setAttribute("onclick", 'remove_row("' + i + '")');
 
 
15654
 
15655
  var td_X = document.createElement("td");
15656
  td_X.setAttribute("id", "X_" + i);
@@ -15665,6 +15743,8 @@ function add(key) {
15665
  // img_UP.setAttribute("height", "17");
15666
  img_UP.style.cssText = "cursor:pointer";
15667
  img_UP.setAttribute("onclick", 'up_row("' + i + '")');
 
 
15668
 
15669
  var td_UP = document.createElement("td");
15670
  td_UP.setAttribute("id", "up_" + i);
@@ -15678,6 +15758,8 @@ function add(key) {
15678
  // img_DOWN.setAttribute("height", "17");
15679
  img_DOWN.style.cssText = "margin:2px;cursor:pointer";
15680
  img_DOWN.setAttribute("onclick", 'down_row("' + i + '")');
 
 
15681
 
15682
  var td_DOWN = document.createElement("td");
15683
  td_DOWN.setAttribute("id", "down_" + i);
@@ -15691,6 +15773,8 @@ function add(key) {
15691
  // img_RIGHT.setAttribute("height", "17");
15692
  img_RIGHT.style.cssText = "cursor:pointer";
15693
  img_RIGHT.setAttribute("onclick", 'right_row("' + i + '")');
 
 
15694
 
15695
  var td_RIGHT = document.createElement("td");
15696
  td_RIGHT.setAttribute("id", "right_" + i);
@@ -15704,6 +15788,8 @@ function add(key) {
15704
  // img_LEFT.setAttribute("height", "17");
15705
  img_LEFT.style.cssText = "margin:2px;cursor:pointer";
15706
  img_LEFT.setAttribute("onclick", 'left_row("' + i + '")');
 
 
15707
 
15708
  var td_LEFT = document.createElement("td");
15709
  td_LEFT.setAttribute("id", "left_" + i);
@@ -15717,6 +15803,8 @@ function add(key) {
15717
  // img_EDIT.setAttribute("height", "17");
15718
  img_EDIT.style.cssText = "margin:2px;cursor:pointer";
15719
  img_EDIT.setAttribute("onclick", 'edit("' + i + '")');
 
 
15720
 
15721
  var td_EDIT = document.createElement("td");
15722
  td_EDIT.setAttribute("id", "edit_" + i);
@@ -15729,6 +15817,8 @@ function add(key) {
15729
  img_DUBLICATE.setAttribute("title", "Duplicate the field");
15730
  img_DUBLICATE.style.cssText = "margin:2px;cursor:pointer";
15731
  img_DUBLICATE.setAttribute("onclick", 'dublicate("' + i + '")');
 
 
15732
 
15733
  var td_DUBLICATE = document.createElement("td");
15734
  td_DUBLICATE.setAttribute("id", "dublicate_" + i);
@@ -15741,6 +15831,8 @@ function add(key) {
15741
  img_PAGEUP.setAttribute("title", "Move the field to the upper page");
15742
  img_PAGEUP.style.cssText = "margin:2px;cursor:pointer";
15743
  img_PAGEUP.setAttribute("onclick", 'page_up("' + i + '")');
 
 
15744
 
15745
  var td_PAGEDOWN = document.createElement("td");
15746
  td_PAGEDOWN.setAttribute("id", "page_up_" + i);
@@ -15753,6 +15845,8 @@ function add(key) {
15753
  img_PAGEDOWN.setAttribute("title", "Move the field to the lower page");
15754
  img_PAGEDOWN.style.cssText = "margin:2px;cursor:pointer";
15755
  img_PAGEDOWN.setAttribute("onclick", 'page_down("' + i + '")');
 
 
15756
 
15757
  var td_PAGEUP = document.createElement("td");
15758
  td_PAGEUP.setAttribute("id", "dublicate_" + i);
@@ -15875,10 +15969,12 @@ function add(key) {
15875
  tr.setAttribute('type', type);
15876
  var img_X = document.createElement("img");
15877
  img_X.setAttribute("src", plugin_url + "/images/delete_el.png");
15878
- img_X.setAttribute("height", "17");
15879
  img_X.setAttribute("title", "Remove the field");
15880
  img_X.style.cssText = "cursor:pointer; margin:2px";
15881
  img_X.setAttribute("onclick", 'remove_row("' + i + '")');
 
 
15882
 
15883
  var td_X = document.createElement("td");
15884
  td_X.setAttribute("id", "X_" + i);
@@ -15893,6 +15989,8 @@ function add(key) {
15893
  // img_UP.setAttribute("height", "17");
15894
  img_UP.style.cssText = "cursor:pointer";
15895
  img_UP.setAttribute("onclick", 'up_row("' + i + '")');
 
 
15896
 
15897
  var td_UP = document.createElement("td");
15898
  td_UP.setAttribute("id", "up_" + i);
@@ -15906,6 +16004,8 @@ function add(key) {
15906
  // img_DOWN.setAttribute("height", "17");
15907
  img_DOWN.style.cssText = "margin:2px;cursor:pointer";
15908
  img_DOWN.setAttribute("onclick", 'down_row("' + i + '")');
 
 
15909
 
15910
  var td_DOWN = document.createElement("td");
15911
  td_DOWN.setAttribute("id", "down_" + i);
@@ -15919,6 +16019,8 @@ function add(key) {
15919
  // img_RIGHT.setAttribute("height", "17");
15920
  img_RIGHT.style.cssText = "cursor:pointer";
15921
  img_RIGHT.setAttribute("onclick", 'right_row("' + i + '")');
 
 
15922
 
15923
  var td_RIGHT = document.createElement("td");
15924
  td_RIGHT.setAttribute("id", "right_" + i);
@@ -15932,6 +16034,8 @@ function add(key) {
15932
  // img_LEFT.setAttribute("height", "17");
15933
  img_LEFT.style.cssText = "margin:2px;cursor:pointer";
15934
  img_LEFT.setAttribute("onclick", 'left_row("' + i + '")');
 
 
15935
 
15936
  var td_LEFT = document.createElement("td");
15937
  td_LEFT.setAttribute("id", "left_" + i);
@@ -15945,6 +16049,8 @@ function add(key) {
15945
  // img_EDIT.setAttribute("height", "17");
15946
  img_EDIT.style.cssText = "margin:2px;cursor:pointer";
15947
  img_EDIT.setAttribute("onclick", 'edit("' + i + '")');
 
 
15948
 
15949
  var td_EDIT = document.createElement("td");
15950
  td_EDIT.setAttribute("id", "edit_" + i);
@@ -15957,6 +16063,8 @@ function add(key) {
15957
  img_DUBLICATE.setAttribute("title", "Duplicate the field");
15958
  img_DUBLICATE.style.cssText = "margin:2px;cursor:pointer";
15959
  img_DUBLICATE.setAttribute("onclick", 'dublicate("' + i + '")');
 
 
15960
 
15961
  var td_DUBLICATE = document.createElement("td");
15962
  td_DUBLICATE.setAttribute("id", "dublicate_" + i);
@@ -15969,6 +16077,8 @@ function add(key) {
15969
  img_PAGEUP.setAttribute("title", "Move the field to the upper page");
15970
  img_PAGEUP.style.cssText = "margin:2px;cursor:pointer";
15971
  img_PAGEUP.setAttribute("onclick", 'page_up("' + i + '")');
 
 
15972
 
15973
  var td_PAGEDOWN = document.createElement("td");
15974
  td_PAGEDOWN.setAttribute("id", "page_up_" + i);
@@ -15981,6 +16091,8 @@ function add(key) {
15981
  img_PAGEDOWN.setAttribute("title", "Move the field to the lower page");
15982
  img_PAGEDOWN.style.cssText = "margin:2px;cursor:pointer";
15983
  img_PAGEDOWN.setAttribute("onclick", 'page_down("' + i + '")');
 
 
15984
 
15985
  var td_PAGEUP = document.createElement("td");
15986
  td_PAGEUP.setAttribute("id", "dublicate_" + i);
@@ -16103,10 +16215,12 @@ function add(key) {
16103
 
16104
  var img_X = document.createElement("img");
16105
  img_X.setAttribute("src", plugin_url + "/images/delete_el.png");
16106
- img_X.setAttribute("height", "17");
16107
  img_X.setAttribute("title", "Remove the field");
16108
  img_X.style.cssText = "cursor:pointer; margin:2px";
16109
  img_X.setAttribute("onclick", 'remove_row("' + i + '")');
 
 
16110
 
16111
  var td_X = document.createElement("td");
16112
  td_X.setAttribute("id", "X_" + i);
@@ -16121,6 +16235,8 @@ function add(key) {
16121
  // img_UP.setAttribute("height", "17");
16122
  img_UP.style.cssText = "cursor:pointer";
16123
  img_UP.setAttribute("onclick", 'up_row("' + i + '")');
 
 
16124
 
16125
  var td_UP = document.createElement("td");
16126
  td_UP.setAttribute("id", "up_" + i);
@@ -16134,6 +16250,8 @@ function add(key) {
16134
  // img_DOWN.setAttribute("height", "17");
16135
  img_DOWN.style.cssText = "margin:2px;cursor:pointer";
16136
  img_DOWN.setAttribute("onclick", 'down_row("' + i + '")');
 
 
16137
 
16138
  var td_DOWN = document.createElement("td");
16139
  td_DOWN.setAttribute("id", "down_" + i);
@@ -16147,6 +16265,8 @@ function add(key) {
16147
  // img_RIGHT.setAttribute("height", "17");
16148
  img_RIGHT.style.cssText = "cursor:pointer";
16149
  img_RIGHT.setAttribute("onclick", 'right_row("' + i + '")');
 
 
16150
 
16151
  var td_RIGHT = document.createElement("td");
16152
  td_RIGHT.setAttribute("id", "right_" + i);
@@ -16160,6 +16280,8 @@ function add(key) {
16160
  // img_LEFT.setAttribute("height", "17");
16161
  img_LEFT.style.cssText = "margin:2px;cursor:pointer";
16162
  img_LEFT.setAttribute("onclick", 'left_row("' + i + '")');
 
 
16163
 
16164
  var td_LEFT = document.createElement("td");
16165
  td_LEFT.setAttribute("id", "left_" + i);
@@ -16173,6 +16295,8 @@ function add(key) {
16173
  // img_EDIT.setAttribute("height", "17");
16174
  img_EDIT.style.cssText = "margin:2px;cursor:pointer";
16175
  img_EDIT.setAttribute("onclick", 'edit("' + i + '")');
 
 
16176
 
16177
  var td_EDIT = document.createElement("td");
16178
  td_EDIT.setAttribute("id", "edit_" + i);
@@ -16185,6 +16309,8 @@ function add(key) {
16185
  img_DUBLICATE.setAttribute("title", "Duplicate the field");
16186
  img_DUBLICATE.style.cssText = "margin:2px;cursor:pointer";
16187
  img_DUBLICATE.setAttribute("onclick", 'dublicate("' + i + '")');
 
 
16188
 
16189
  var td_DUBLICATE = document.createElement("td");
16190
  td_DUBLICATE.setAttribute("id", "dublicate_" + i);
@@ -16197,6 +16323,8 @@ function add(key) {
16197
  img_PAGEUP.setAttribute("title", "Move the field to the upper page");
16198
  img_PAGEUP.style.cssText = "margin:2px;cursor:pointer";
16199
  img_PAGEUP.setAttribute("onclick", 'page_up("' + i + '")');
 
 
16200
 
16201
  var td_PAGEDOWN = document.createElement("td");
16202
  td_PAGEDOWN.setAttribute("id", "page_up_" + i);
@@ -16209,6 +16337,8 @@ function add(key) {
16209
  img_PAGEDOWN.setAttribute("title", "Move the field to the lower page");
16210
  img_PAGEDOWN.style.cssText = "margin:2px;cursor:pointer";
16211
  img_PAGEDOWN.setAttribute("onclick", 'page_down("' + i + '")');
 
 
16212
 
16213
  var td_PAGEUP = document.createElement("td");
16214
  td_PAGEUP.setAttribute("id", "dublicate_" + i);
10
  else {
11
  var url_for_ajax = location.protocol + '//' + location.host + ajaxurl;
12
  }
13
+
14
+ function chnage_icons_src(img, icon) {
15
+ if (img.src.indexOf("hover") != -1) {
16
+ img.src = plugin_url + '/images/' + icon + ".png";
17
+ }
18
+ else {
19
+ img.src = plugin_url + '/images/' + icon + "_hover.png";
20
+ }
21
+ }
22
  /**
23
  * Remove witespaces from childNodes.
24
  */
14353
  }
14354
 
14355
  function show_or_hide(id) {
14356
+ if (!jQuery("#form_id_tempform_view" + id).is(":visible")) {
14357
+ show_form_view(id);
14358
+ jQuery("#show_page_img_"+id).attr("onmouseover", "chnage_icons_src(this,'minus')");
14359
+ jQuery("#show_page_img_"+id).attr("onmouseout", "chnage_icons_src(this,'minus')");
14360
+ }
14361
+ else {
14362
+ hide_form_view(id);
14363
+ jQuery("#show_page_img_"+id).attr("onmouseover", "chnage_icons_src(this,'plus')");
14364
+ jQuery("#show_page_img_"+id).attr("onmouseout", "chnage_icons_src(this,'plus')");
14365
+ }
14366
  }
14367
 
14368
  function show_form_view(id) {
14719
 
14720
  var img_X = document.createElement("img");
14721
  img_X.setAttribute("src", plugin_url + "/images/delete_el.png");
14722
+ // img_X.setAttribute("height", "17");
14723
  img_X.setAttribute("title", "Remove the field");
14724
  img_X.style.cssText = "cursor:pointer; margin:2px";
14725
  img_X.setAttribute("onclick", 'remove_section_break("' + i + '")');
14726
+ img_X.setAttribute("onmouseover", 'chnage_icons_src(this,"delete_el")');
14727
+ img_X.setAttribute("onmouseout", 'chnage_icons_src(this,"delete_el")');
14728
  var td_X = document.createElement("td");
14729
  td_X.setAttribute("id", "X_" + i);
14730
  td_X.setAttribute("valign", "middle");
14739
  // img_EDIT.setAttribute("height", "17");
14740
  img_EDIT.style.cssText = "margin:2px;cursor:pointer";
14741
  img_EDIT.setAttribute("onclick", 'edit("' + i + '")');
14742
+ img_EDIT.setAttribute("onmouseover", 'chnage_icons_src(this,"edit")');
14743
+ img_EDIT.setAttribute("onmouseout", 'chnage_icons_src(this,"edit")');
14744
 
14745
  var td_EDIT = document.createElement("td");
14746
  td_EDIT.setAttribute("id", "edit_" + i);
14753
  img_DUBLICATE.setAttribute("title", "Duplicate the field");
14754
  img_DUBLICATE.style.cssText = "margin:2px;cursor:pointer";
14755
  img_DUBLICATE.setAttribute("onclick", 'dublicate("' + i + '")');
14756
+ img_DUBLICATE.setAttribute("onmouseover", 'chnage_icons_src(this,"dublicate")');
14757
+ img_DUBLICATE.setAttribute("onmouseout", 'chnage_icons_src(this,"dublicate")');
14758
 
14759
  var td_DUBLICATE = document.createElement("td");
14760
  td_DUBLICATE.setAttribute("id", "dublicate_" + i);
14936
  destroyChildren(tr);
14937
  var img_X = document.createElement("img");
14938
  img_X.setAttribute("src", plugin_url + "/images/delete_el.png");
14939
+ // img_X.setAttribute("height", "17");
14940
  img_X.setAttribute("title", "Remove the field");
14941
  img_X.style.cssText = "cursor:pointer; margin:2px";
14942
  img_X.setAttribute("onclick", 'remove_section_break("' + i + '")');
14943
+ img_X.setAttribute("onmouseover", 'chnage_icons_src(this,"delete_el")');
14944
+ img_X.setAttribute("onmouseout", 'chnage_icons_src(this,"delete_el")');
14945
 
14946
  var td_X = document.createElement("td");
14947
  td_X.setAttribute("id", "X_" + i);
14956
  // img_UP.setAttribute("height", "17");
14957
  img_UP.style.cssText = "cursor:pointer";
14958
  img_UP.setAttribute("onclick", 'up_row("' + i + '")');
14959
+ img_UP.setAttribute("onmouseover", 'chnage_icons_src(this,"up")');
14960
+ img_UP.setAttribute("onmouseout", 'chnage_icons_src(this,"up")');
14961
 
14962
  var td_UP = document.createElement("td");
14963
  td_UP.setAttribute("id", "up_" + i);
14971
  // img_DOWN.setAttribute("height", "17");
14972
  img_DOWN.style.cssText = "margin:2px;cursor:pointer";
14973
  img_DOWN.setAttribute("onclick", 'down_row("' + i + '")');
14974
+ img_DOWN.setAttribute("onmouseover", 'chnage_icons_src(this,"down")');
14975
+ img_DOWN.setAttribute("onmouseout", 'chnage_icons_src(this,"down")');
14976
 
14977
  var td_DOWN = document.createElement("td");
14978
  td_DOWN.setAttribute("id", "down_" + i);
14986
  // img_EDIT.setAttribute("height", "17");
14987
  img_EDIT.style.cssText = "margin:2px;cursor:pointer";
14988
  img_EDIT.setAttribute("onclick", 'edit("' + i + '")');
14989
+ img_EDIT.setAttribute("onmouseover", 'chnage_icons_src(this,"edit")');
14990
+ img_EDIT.setAttribute("onmouseout", 'chnage_icons_src(this,"edit")');
14991
 
14992
  var td_EDIT = document.createElement("td");
14993
  td_EDIT.setAttribute("id", "edit_" + i);
15000
  img_DUBLICATE.setAttribute("title", "Duplicate the field");
15001
  img_DUBLICATE.style.cssText = "margin:2px;cursor:pointer";
15002
  img_DUBLICATE.setAttribute("onclick", 'dublicate("' + i + '")');
15003
+ img_DUBLICATE.setAttribute("onmouseover", 'chnage_icons_src(this,"dublicate")');
15004
+ img_DUBLICATE.setAttribute("onmouseout", 'chnage_icons_src(this,"dublicate")');
15005
 
15006
  var td_DUBLICATE = document.createElement("td");
15007
  td_DUBLICATE.setAttribute("id", "dublicate_" + i);
15014
  img_PAGEUP.setAttribute("title", "Move the field to the upper page");
15015
  img_PAGEUP.style.cssText = "margin:2px;cursor:pointer";
15016
  img_PAGEUP.setAttribute("onclick", 'page_up("' + i + '")');
15017
+ img_PAGEUP.setAttribute("onmouseover", 'chnage_icons_src(this,"page_up")');
15018
+ img_PAGEUP.setAttribute("onmouseout", 'chnage_icons_src(this,"page_up")');
15019
 
15020
  var td_PAGEDOWN = document.createElement("td");
15021
  td_PAGEDOWN.setAttribute("id", "page_up_" + i);
15028
  img_PAGEDOWN.setAttribute("title", "Move the field to the lower page");
15029
  img_PAGEDOWN.style.cssText = "margin:2px;cursor:pointer";
15030
  img_PAGEDOWN.setAttribute("onclick", 'page_down("' + i + '")');
15031
+ img_PAGEDOWN.setAttribute("onmouseover", 'chnage_icons_src(this,"page_down")');
15032
+ img_PAGEDOWN.setAttribute("onmouseout", 'chnage_icons_src(this,"page_down")');
15033
 
15034
  var td_PAGEUP = document.createElement("td");
15035
  td_PAGEUP.setAttribute("id", "dublicate_" + i);
15086
 
15087
  var img_X = document.createElement("img");
15088
  img_X.setAttribute("src", plugin_url + "/images/delete_el.png");
15089
+ // img_X.setAttribute("height", "17");
15090
  img_X.setAttribute("title", "Remove the field");
15091
  img_X.style.cssText = "cursor:pointer; margin:2px";
15092
  img_X.setAttribute("onclick", 'remove_section_break("' + i + '")');
15093
+ img_X.setAttribute("onmouseover", 'chnage_icons_src(this,"delete_el")');
15094
+ img_X.setAttribute("onmouseout", 'chnage_icons_src(this,"delete_el")');
15095
 
15096
  var td_X = document.createElement("td");
15097
  td_X.setAttribute("id", "X_" + i);
15106
  // img_UP.setAttribute("height", "17");
15107
  img_UP.style.cssText = "cursor:pointer";
15108
  img_UP.setAttribute("onclick", 'up_row("' + i + '")');
15109
+ img_UP.setAttribute("onmouseover", 'chnage_icons_src(this,"up")');
15110
+ img_UP.setAttribute("onmouseout", 'chnage_icons_src(this,"up")');
15111
 
15112
  var td_UP = document.createElement("td");
15113
  td_UP.setAttribute("id", "up_" + i);
15121
  // img_DOWN.setAttribute("height", "17");
15122
  img_DOWN.style.cssText = "margin:2px;cursor:pointer";
15123
  img_DOWN.setAttribute("onclick", 'down_row("' + i + '")');
15124
+ img_DOWN.setAttribute("onmouseover", 'chnage_icons_src(this,"down")');
15125
+ img_DOWN.setAttribute("onmouseout", 'chnage_icons_src(this,"down")');
15126
 
15127
  var td_DOWN = document.createElement("td");
15128
  td_DOWN.setAttribute("id", "down_" + i);
15137
  // img_EDIT.setAttribute("height", "17");
15138
  img_EDIT.style.cssText = "margin:2px;cursor:pointer";
15139
  img_EDIT.setAttribute("onclick", 'edit("' + i + '")');
15140
+ img_EDIT.setAttribute("onmouseover", 'chnage_icons_src(this,"edit")');
15141
+ img_EDIT.setAttribute("onmouseout", 'chnage_icons_src(this,"edit")');
15142
 
15143
  var td_EDIT = document.createElement("td");
15144
  td_EDIT.setAttribute("id", "edit_" + i);
15151
  img_DUBLICATE.setAttribute("title", "Duplicate the field");
15152
  img_DUBLICATE.style.cssText = "margin:2px;cursor:pointer";
15153
  img_DUBLICATE.setAttribute("onclick", 'dublicate("' + i + '")');
15154
+ img_DUBLICATE.setAttribute("onmouseover", 'chnage_icons_src(this,"dublicate")');
15155
+ img_DUBLICATE.setAttribute("onmouseout", 'chnage_icons_src(this,"dublicate")');
15156
 
15157
  var td_DUBLICATE = document.createElement("td");
15158
  td_DUBLICATE.setAttribute("id", "dublicate_" + i);
15165
  img_PAGEUP.setAttribute("title", "Move the field to the upper page");
15166
  img_PAGEUP.style.cssText = "margin:2px;cursor:pointer";
15167
  img_PAGEUP.setAttribute("onclick", 'page_up("' + i + '")');
15168
+ img_PAGEUP.setAttribute("onmouseover", 'chnage_icons_src(this,"page_up")');
15169
+ img_PAGEUP.setAttribute("onmouseout", 'chnage_icons_src(this,"page_up")');
15170
 
15171
  var td_PAGEDOWN = document.createElement("td");
15172
  td_PAGEDOWN.setAttribute("id", "page_up_" + i);
15179
  img_PAGEDOWN.setAttribute("title", "Move the field to the lower page");
15180
  img_PAGEDOWN.style.cssText = "margin:2px;cursor:pointer";
15181
  img_PAGEDOWN.setAttribute("onclick", 'page_down("' + i + '")');
15182
+ img_PAGEDOWN.setAttribute("onmouseover", 'chnage_icons_src(this,"page_down")');
15183
+ img_PAGEDOWN.setAttribute("onmouseout", 'chnage_icons_src(this,"page_down")');
15184
 
15185
  var td_PAGEUP = document.createElement("td");
15186
  td_PAGEUP.setAttribute("id", "dublicate_" + i);
15329
  img_EDIT.setAttribute("title", "Edit the pagination options");
15330
  img_EDIT.style.cssText = "margin-left:40px; cursor:pointer";
15331
  img_EDIT.setAttribute("onclick", 'el_page_navigation()');
15332
+ img_EDIT.setAttribute("onmouseover", 'chnage_icons_src(this,"page_edit")');
15333
+ img_EDIT.setAttribute("onmouseout", 'chnage_icons_src(this,"page_edit")');
15334
 
15335
  var td_EDIT = document.getElementById("edit_page_navigation");
15336
  td_EDIT.appendChild(img_EDIT);
15374
  img.setAttribute("class", "page_toolbar");
15375
  img.setAttribute('id', 'show_page_img_' + form_view);
15376
  img.setAttribute('onClick', 'show_or_hide("' + form_view + '")');
15377
+ img.setAttribute("onmouseover", 'chnage_icons_src(this,"minus")');
15378
+ img.setAttribute("onmouseout", 'chnage_icons_src(this,"minus")');
15379
 
15380
 
15381
  var img_X = document.createElement("img");
15383
  img_X.setAttribute('title', 'Delete the page');
15384
  img_X.setAttribute("class", "page_toolbar");
15385
  img_X.setAttribute("onclick", 'remove_page("' + form_view + '")');
15386
+ img_X.setAttribute("onmouseover", 'chnage_icons_src(this,"page_delete")');
15387
+ img_X.setAttribute("onmouseout", 'chnage_icons_src(this,"page_delete")');
15388
 
15389
  var td_X = document.createElement("td");
15390
  td_X.appendChild(img_X);
15394
  img_X_all.setAttribute('title', 'Delete the page with fields');
15395
  img_X_all.setAttribute("class", "page_toolbar");
15396
  img_X_all.setAttribute("onclick", 'remove_page_all("' + form_view + '")');
15397
+ img_X_all.setAttribute("onmouseover", 'chnage_icons_src(this,"page_delete_all")');
15398
+ img_X_all.setAttribute("onmouseout", 'chnage_icons_src(this,"page_delete_all")');
15399
 
15400
  var td_X_all = document.createElement("td");
15401
  td_X_all.appendChild(img_X_all);
15405
  img_EDIT.setAttribute('title', 'Edit the page');
15406
  img_EDIT.setAttribute("class", "page_toolbar");
15407
  img_EDIT.setAttribute("onclick", 'edit_page_break("' + form_view + '")');
15408
+ img_EDIT.setAttribute("onmouseover", 'chnage_icons_src(this,"page_edit")');
15409
+ img_EDIT.setAttribute("onmouseout", 'chnage_icons_src(this,"page_edit")');
15410
 
15411
  var td_EDIT = document.createElement("td");
15412
  td_EDIT.appendChild(img_EDIT);
15531
  destroyChildren(tr);
15532
  var img_X = document.createElement("img");
15533
  img_X.setAttribute("src", plugin_url + "/images/delete_el.png");
15534
+ // img_X.setAttribute("height", "17");
15535
  img_X.setAttribute("title", "Remove the field");
15536
  img_X.style.cssText = "cursor:pointer; margin:2px";
15537
  img_X.setAttribute("onclick", 'remove_row("' + i + '")');
15538
+ img_X.setAttribute("onmouseover", 'chnage_icons_src(this,"delete_el")');
15539
+ img_X.setAttribute("onmouseout", 'chnage_icons_src(this,"delete_el")');
15540
 
15541
  var td_X = document.createElement("td");
15542
  td_X.setAttribute("id", "X_" + i);
15551
  // img_UP.setAttribute("height", "17");
15552
  img_UP.style.cssText = "cursor:pointer";
15553
  img_UP.setAttribute("onclick", 'up_row("' + i + '")');
15554
+ img_UP.setAttribute("onmouseover", 'chnage_icons_src(this,"up")');
15555
+ img_UP.setAttribute("onmouseout", 'chnage_icons_src(this,"up")');
15556
 
15557
  var td_UP = document.createElement("td");
15558
  td_UP.setAttribute("id", "up_" + i);
15566
  // img_DOWN.setAttribute("height", "17");
15567
  img_DOWN.style.cssText = "margin:2px;cursor:pointer";
15568
  img_DOWN.setAttribute("onclick", 'down_row("' + i + '")');
15569
+ img_DOWN.setAttribute("onmouseover", 'chnage_icons_src(this,"down")');
15570
+ img_DOWN.setAttribute("onmouseout", 'chnage_icons_src(this,"down")');
15571
 
15572
  var td_DOWN = document.createElement("td");
15573
  td_DOWN.setAttribute("id", "down_" + i);
15581
  // img_RIGHT.setAttribute("height", "17");
15582
  img_RIGHT.style.cssText = "cursor:pointer";
15583
  img_RIGHT.setAttribute("onclick", 'right_row("' + i + '")');
15584
+ img_RIGHT.setAttribute("onmouseover", 'chnage_icons_src(this,"right")');
15585
+ img_RIGHT.setAttribute("onmouseout", 'chnage_icons_src(this,"right")');
15586
 
15587
  var td_RIGHT = document.createElement("td");
15588
  td_RIGHT.setAttribute("id", "right_" + i);
15596
  // img_LEFT.setAttribute("height", "17");
15597
  img_LEFT.style.cssText = "margin:2px;cursor:pointer";
15598
  img_LEFT.setAttribute("onclick", 'left_row("' + i + '")');
15599
+ img_LEFT.setAttribute("onmouseover", 'chnage_icons_src(this,"left")');
15600
+ img_LEFT.setAttribute("onmouseout", 'chnage_icons_src(this,"left")');
15601
 
15602
  var td_LEFT = document.createElement("td");
15603
  td_LEFT.setAttribute("id", "left_" + i);
15611
  // img_EDIT.setAttribute("height", "17");
15612
  img_EDIT.style.cssText = "margin:2px;cursor:pointer";
15613
  img_EDIT.setAttribute("onclick", 'edit("' + i + '")');
15614
+ img_EDIT.setAttribute("onmouseover", 'chnage_icons_src(this,"edit")');
15615
+ img_EDIT.setAttribute("onmouseout", 'chnage_icons_src(this,"edit")');
15616
 
15617
  var td_EDIT = document.createElement("td");
15618
  td_EDIT.setAttribute("id", "edit_" + i);
15625
  img_DUBLICATE.setAttribute("title", "Duplicate the field");
15626
  img_DUBLICATE.style.cssText = "margin:2px;cursor:pointer";
15627
  img_DUBLICATE.setAttribute("onclick", 'dublicate("' + i + '")');
15628
+ img_DUBLICATE.setAttribute("onmouseover", 'chnage_icons_src(this,"dublicate")');
15629
+ img_DUBLICATE.setAttribute("onmouseout", 'chnage_icons_src(this,"dublicate")');
15630
 
15631
  var td_DUBLICATE = document.createElement("td");
15632
  td_DUBLICATE.setAttribute("id", "dublicate_" + i);
15639
  img_PAGEUP.setAttribute("title", "Move the field to the upper page");
15640
  img_PAGEUP.style.cssText = "margin:2px;cursor:pointer";
15641
  img_PAGEUP.setAttribute("onclick", 'page_up("' + i + '")');
15642
+ img_PAGEUP.setAttribute("onmouseover", 'chnage_icons_src(this,"page_up")');
15643
+ img_PAGEUP.setAttribute("onmouseout", 'chnage_icons_src(this,"page_up")');
15644
 
15645
  var td_PAGEDOWN = document.createElement("td");
15646
  td_PAGEDOWN.setAttribute("id", "page_up_" + i);
15653
  img_PAGEDOWN.setAttribute("title", "Move the field to the lower page");
15654
  img_PAGEDOWN.style.cssText = "margin:2px;cursor:pointer";
15655
  img_PAGEDOWN.setAttribute("onclick", 'page_down("' + i + '")');
15656
+ img_PAGEDOWN.setAttribute("onmouseover", 'chnage_icons_src(this,"page_down")');
15657
+ img_PAGEDOWN.setAttribute("onmouseout", 'chnage_icons_src(this,"page_down")');
15658
 
15659
  var td_PAGEUP = document.createElement("td");
15660
  td_PAGEUP.setAttribute("id", "dublicate_" + i);
15723
 
15724
  var img_X = document.createElement("img");
15725
  img_X.setAttribute("src", plugin_url + "/images/delete_el.png");
15726
+ // img_X.setAttribute("height", "17");
15727
  img_X.setAttribute("title", "Remove the field");
15728
  img_X.style.cssText = "cursor:pointer; margin:2px";
15729
  img_X.setAttribute("onclick", 'remove_row("' + i + '")');
15730
+ img_X.setAttribute("onmouseover", 'chnage_icons_src(this,"delete_el")');
15731
+ img_X.setAttribute("onmouseout", 'chnage_icons_src(this,"delete_el")');
15732
 
15733
  var td_X = document.createElement("td");
15734
  td_X.setAttribute("id", "X_" + i);
15743
  // img_UP.setAttribute("height", "17");
15744
  img_UP.style.cssText = "cursor:pointer";
15745
  img_UP.setAttribute("onclick", 'up_row("' + i + '")');
15746
+ img_UP.setAttribute("onmouseover", 'chnage_icons_src(this,"up")');
15747
+ img_UP.setAttribute("onmouseout", 'chnage_icons_src(this,"up")');
15748
 
15749
  var td_UP = document.createElement("td");
15750
  td_UP.setAttribute("id", "up_" + i);
15758
  // img_DOWN.setAttribute("height", "17");
15759
  img_DOWN.style.cssText = "margin:2px;cursor:pointer";
15760
  img_DOWN.setAttribute("onclick", 'down_row("' + i + '")');
15761
+ img_DOWN.setAttribute("onmouseover", 'chnage_icons_src(this,"down")');
15762
+ img_DOWN.setAttribute("onmouseout", 'chnage_icons_src(this,"down")');
15763
 
15764
  var td_DOWN = document.createElement("td");
15765
  td_DOWN.setAttribute("id", "down_" + i);
15773
  // img_RIGHT.setAttribute("height", "17");
15774
  img_RIGHT.style.cssText = "cursor:pointer";
15775
  img_RIGHT.setAttribute("onclick", 'right_row("' + i + '")');
15776
+ img_RIGHT.setAttribute("onmouseover", 'chnage_icons_src(this,"right")');
15777
+ img_RIGHT.setAttribute("onmouseout", 'chnage_icons_src(this,"right")');
15778
 
15779
  var td_RIGHT = document.createElement("td");
15780
  td_RIGHT.setAttribute("id", "right_" + i);
15788
  // img_LEFT.setAttribute("height", "17");
15789
  img_LEFT.style.cssText = "margin:2px;cursor:pointer";
15790
  img_LEFT.setAttribute("onclick", 'left_row("' + i + '")');
15791
+ img_LEFT.setAttribute("onmouseover", 'chnage_icons_src(this,"left")');
15792
+ img_LEFT.setAttribute("onmouseout", 'chnage_icons_src(this,"left")');
15793
 
15794
  var td_LEFT = document.createElement("td");
15795
  td_LEFT.setAttribute("id", "left_" + i);
15803
  // img_EDIT.setAttribute("height", "17");
15804
  img_EDIT.style.cssText = "margin:2px;cursor:pointer";
15805
  img_EDIT.setAttribute("onclick", 'edit("' + i + '")');
15806
+ img_EDIT.setAttribute("onmouseover", 'chnage_icons_src(this,"edit")');
15807
+ img_EDIT.setAttribute("onmouseout", 'chnage_icons_src(this,"edit")');
15808
 
15809
  var td_EDIT = document.createElement("td");
15810
  td_EDIT.setAttribute("id", "edit_" + i);
15817
  img_DUBLICATE.setAttribute("title", "Duplicate the field");
15818
  img_DUBLICATE.style.cssText = "margin:2px;cursor:pointer";
15819
  img_DUBLICATE.setAttribute("onclick", 'dublicate("' + i + '")');
15820
+ img_DUBLICATE.setAttribute("onmouseover", 'chnage_icons_src(this,"dublicate")');
15821
+ img_DUBLICATE.setAttribute("onmouseout", 'chnage_icons_src(this,"dublicate")');
15822
 
15823
  var td_DUBLICATE = document.createElement("td");
15824
  td_DUBLICATE.setAttribute("id", "dublicate_" + i);
15831
  img_PAGEUP.setAttribute("title", "Move the field to the upper page");
15832
  img_PAGEUP.style.cssText = "margin:2px;cursor:pointer";
15833
  img_PAGEUP.setAttribute("onclick", 'page_up("' + i + '")');
15834
+ img_PAGEUP.setAttribute("onmouseover", 'chnage_icons_src(this,"page_up")');
15835
+ img_PAGEUP.setAttribute("onmouseout", 'chnage_icons_src(this,"page_up")');
15836
 
15837
  var td_PAGEDOWN = document.createElement("td");
15838
  td_PAGEDOWN.setAttribute("id", "page_up_" + i);
15845
  img_PAGEDOWN.setAttribute("title", "Move the field to the lower page");
15846
  img_PAGEDOWN.style.cssText = "margin:2px;cursor:pointer";
15847
  img_PAGEDOWN.setAttribute("onclick", 'page_down("' + i + '")');
15848
+ img_PAGEDOWN.setAttribute("onmouseover", 'chnage_icons_src(this,"page_down")');
15849
+ img_PAGEDOWN.setAttribute("onmouseout", 'chnage_icons_src(this,"page_down")');
15850
 
15851
  var td_PAGEUP = document.createElement("td");
15852
  td_PAGEUP.setAttribute("id", "dublicate_" + i);
15969
  tr.setAttribute('type', type);
15970
  var img_X = document.createElement("img");
15971
  img_X.setAttribute("src", plugin_url + "/images/delete_el.png");
15972
+ // img_X.setAttribute("height", "17");
15973
  img_X.setAttribute("title", "Remove the field");
15974
  img_X.style.cssText = "cursor:pointer; margin:2px";
15975
  img_X.setAttribute("onclick", 'remove_row("' + i + '")');
15976
+ img_X.setAttribute("onmouseover", 'chnage_icons_src(this,"delete_el")');
15977
+ img_X.setAttribute("onmouseout", 'chnage_icons_src(this,"delete_el")');
15978
 
15979
  var td_X = document.createElement("td");
15980
  td_X.setAttribute("id", "X_" + i);
15989
  // img_UP.setAttribute("height", "17");
15990
  img_UP.style.cssText = "cursor:pointer";
15991
  img_UP.setAttribute("onclick", 'up_row("' + i + '")');
15992
+ img_UP.setAttribute("onmouseover", 'chnage_icons_src(this,"up")');
15993
+ img_UP.setAttribute("onmouseout", 'chnage_icons_src(this,"up")');
15994
 
15995
  var td_UP = document.createElement("td");
15996
  td_UP.setAttribute("id", "up_" + i);
16004
  // img_DOWN.setAttribute("height", "17");
16005
  img_DOWN.style.cssText = "margin:2px;cursor:pointer";
16006
  img_DOWN.setAttribute("onclick", 'down_row("' + i + '")');
16007
+ img_DOWN.setAttribute("onmouseover", 'chnage_icons_src(this,"down")');
16008
+ img_DOWN.setAttribute("onmouseout", 'chnage_icons_src(this,"down")');
16009
 
16010
  var td_DOWN = document.createElement("td");
16011
  td_DOWN.setAttribute("id", "down_" + i);
16019
  // img_RIGHT.setAttribute("height", "17");
16020
  img_RIGHT.style.cssText = "cursor:pointer";
16021
  img_RIGHT.setAttribute("onclick", 'right_row("' + i + '")');
16022
+ img_RIGHT.setAttribute("onmouseover", 'chnage_icons_src(this,"right")');
16023
+ img_RIGHT.setAttribute("onmouseout", 'chnage_icons_src(this,"right")');
16024
 
16025
  var td_RIGHT = document.createElement("td");
16026
  td_RIGHT.setAttribute("id", "right_" + i);
16034
  // img_LEFT.setAttribute("height", "17");
16035
  img_LEFT.style.cssText = "margin:2px;cursor:pointer";
16036
  img_LEFT.setAttribute("onclick", 'left_row("' + i + '")');
16037
+ img_LEFT.setAttribute("onmouseover", 'chnage_icons_src(this,"left")');
16038
+ img_LEFT.setAttribute("onmouseout", 'chnage_icons_src(this,"left")');
16039
 
16040
  var td_LEFT = document.createElement("td");
16041
  td_LEFT.setAttribute("id", "left_" + i);
16049
  // img_EDIT.setAttribute("height", "17");
16050
  img_EDIT.style.cssText = "margin:2px;cursor:pointer";
16051
  img_EDIT.setAttribute("onclick", 'edit("' + i + '")');
16052
+ img_EDIT.setAttribute("onmouseover", 'chnage_icons_src(this,"edit")');
16053
+ img_EDIT.setAttribute("onmouseout", 'chnage_icons_src(this,"edit")');
16054
 
16055
  var td_EDIT = document.createElement("td");
16056
  td_EDIT.setAttribute("id", "edit_" + i);
16063
  img_DUBLICATE.setAttribute("title", "Duplicate the field");
16064
  img_DUBLICATE.style.cssText = "margin:2px;cursor:pointer";
16065
  img_DUBLICATE.setAttribute("onclick", 'dublicate("' + i + '")');
16066
+ img_DUBLICATE.setAttribute("onmouseover", 'chnage_icons_src(this,"dublicate")');
16067
+ img_DUBLICATE.setAttribute("onmouseout", 'chnage_icons_src(this,"dublicate")');
16068
 
16069
  var td_DUBLICATE = document.createElement("td");
16070
  td_DUBLICATE.setAttribute("id", "dublicate_" + i);
16077
  img_PAGEUP.setAttribute("title", "Move the field to the upper page");
16078
  img_PAGEUP.style.cssText = "margin:2px;cursor:pointer";
16079
  img_PAGEUP.setAttribute("onclick", 'page_up("' + i + '")');
16080
+ img_PAGEUP.setAttribute("onmouseover", 'chnage_icons_src(this,"page_up")');
16081
+ img_PAGEUP.setAttribute("onmouseout", 'chnage_icons_src(this,"page_up")');
16082
 
16083
  var td_PAGEDOWN = document.createElement("td");
16084
  td_PAGEDOWN.setAttribute("id", "page_up_" + i);
16091
  img_PAGEDOWN.setAttribute("title", "Move the field to the lower page");
16092
  img_PAGEDOWN.style.cssText = "margin:2px;cursor:pointer";
16093
  img_PAGEDOWN.setAttribute("onclick", 'page_down("' + i + '")');
16094
+ img_PAGEDOWN.setAttribute("onmouseover", 'chnage_icons_src(this,"page_down")');
16095
+ img_PAGEDOWN.setAttribute("onmouseout", 'chnage_icons_src(this,"page_down")');
16096
 
16097
  var td_PAGEUP = document.createElement("td");
16098
  td_PAGEUP.setAttribute("id", "dublicate_" + i);
16215
 
16216
  var img_X = document.createElement("img");
16217
  img_X.setAttribute("src", plugin_url + "/images/delete_el.png");
16218
+ // img_X.setAttribute("height", "17");
16219
  img_X.setAttribute("title", "Remove the field");
16220
  img_X.style.cssText = "cursor:pointer; margin:2px";
16221
  img_X.setAttribute("onclick", 'remove_row("' + i + '")');
16222
+ img_X.setAttribute("onmouseover", 'chnage_icons_src(this,"delete_el")');
16223
+ img_X.setAttribute("onmouseout", 'chnage_icons_src(this,"delete_el")');
16224
 
16225
  var td_X = document.createElement("td");
16226
  td_X.setAttribute("id", "X_" + i);
16235
  // img_UP.setAttribute("height", "17");
16236
  img_UP.style.cssText = "cursor:pointer";
16237
  img_UP.setAttribute("onclick", 'up_row("' + i + '")');
16238
+ img_UP.setAttribute("onmouseover", 'chnage_icons_src(this,"up")');
16239
+ img_UP.setAttribute("onmouseout", 'chnage_icons_src(this,"up")');
16240
 
16241
  var td_UP = document.createElement("td");
16242
  td_UP.setAttribute("id", "up_" + i);
16250
  // img_DOWN.setAttribute("height", "17");
16251
  img_DOWN.style.cssText = "margin:2px;cursor:pointer";
16252
  img_DOWN.setAttribute("onclick", 'down_row("' + i + '")');
16253
+ img_DOWN.setAttribute("onmouseover", 'chnage_icons_src(this,"down")');
16254
+ img_DOWN.setAttribute("onmouseout", 'chnage_icons_src(this,"down")');
16255
 
16256
  var td_DOWN = document.createElement("td");
16257
  td_DOWN.setAttribute("id", "down_" + i);
16265
  // img_RIGHT.setAttribute("height", "17");
16266
  img_RIGHT.style.cssText = "cursor:pointer";
16267
  img_RIGHT.setAttribute("onclick", 'right_row("' + i + '")');
16268
+ img_RIGHT.setAttribute("onmouseover", 'chnage_icons_src(this,"right")');
16269
+ img_RIGHT.setAttribute("onmouseout", 'chnage_icons_src(this,"right")');
16270
 
16271
  var td_RIGHT = document.createElement("td");
16272
  td_RIGHT.setAttribute("id", "right_" + i);
16280
  // img_LEFT.setAttribute("height", "17");
16281
  img_LEFT.style.cssText = "margin:2px;cursor:pointer";
16282
  img_LEFT.setAttribute("onclick", 'left_row("' + i + '")');
16283
+ img_LEFT.setAttribute("onmouseover", 'chnage_icons_src(this,"left")');
16284
+ img_LEFT.setAttribute("onmouseout", 'chnage_icons_src(this,"left")');
16285
 
16286
  var td_LEFT = document.createElement("td");
16287
  td_LEFT.setAttribute("id", "left_" + i);
16295
  // img_EDIT.setAttribute("height", "17");
16296
  img_EDIT.style.cssText = "margin:2px;cursor:pointer";
16297
  img_EDIT.setAttribute("onclick", 'edit("' + i + '")');
16298
+ img_EDIT.setAttribute("onmouseover", 'chnage_icons_src(this,"edit")');
16299
+ img_EDIT.setAttribute("onmouseout", 'chnage_icons_src(this,"edit")');
16300
 
16301
  var td_EDIT = document.createElement("td");
16302
  td_EDIT.setAttribute("id", "edit_" + i);
16309
  img_DUBLICATE.setAttribute("title", "Duplicate the field");
16310
  img_DUBLICATE.style.cssText = "margin:2px;cursor:pointer";
16311
  img_DUBLICATE.setAttribute("onclick", 'dublicate("' + i + '")');
16312
+ img_DUBLICATE.setAttribute("onmouseover", 'chnage_icons_src(this,"dublicate")');
16313
+ img_DUBLICATE.setAttribute("onmouseout", 'chnage_icons_src(this,"dublicate")');
16314
 
16315
  var td_DUBLICATE = document.createElement("td");
16316
  td_DUBLICATE.setAttribute("id", "dublicate_" + i);
16323
  img_PAGEUP.setAttribute("title", "Move the field to the upper page");
16324
  img_PAGEUP.style.cssText = "margin:2px;cursor:pointer";
16325
  img_PAGEUP.setAttribute("onclick", 'page_up("' + i + '")');
16326
+ img_PAGEUP.setAttribute("onmouseover", 'chnage_icons_src(this,"page_up")');
16327
+ img_PAGEUP.setAttribute("onmouseout", 'chnage_icons_src(this,"page_up")');
16328
 
16329
  var td_PAGEDOWN = document.createElement("td");
16330
  td_PAGEDOWN.setAttribute("id", "page_up_" + i);
16337
  img_PAGEDOWN.setAttribute("title", "Move the field to the lower page");
16338
  img_PAGEDOWN.style.cssText = "margin:2px;cursor:pointer";
16339
  img_PAGEDOWN.setAttribute("onclick", 'page_down("' + i + '")');
16340
+ img_PAGEDOWN.setAttribute("onmouseover", 'chnage_icons_src(this,"page_down")');
16341
+ img_PAGEDOWN.setAttribute("onmouseout", 'chnage_icons_src(this,"page_down")');
16342
 
16343
  var td_PAGEUP = document.createElement("td");
16344
  td_PAGEUP.setAttribute("id", "dublicate_" + i);
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://web-dorado.com/products/wordpress-contact-form-maker-plugin.
4
  Tags: form, forms, contact form, contact forms, contact form plugin,contact forms plugin, forms plugin, Contact Form Builder, contact form manager, multiple contac forms, custom form,Contact Form Maker with recaptcha, contact form with google map, feedback form, feedback forms,contact us
5
  Requires at least: 3.0
6
  Tested up to: 3.6
7
- Stable tag: 1.5.8
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
4
  Tags: form, forms, contact form, contact forms, contact form plugin,contact forms plugin, forms plugin, Contact Form Builder, contact form manager, multiple contac forms, custom form,Contact Form Maker with recaptcha, contact form with google map, feedback form, feedback forms,contact us
5
  Requires at least: 3.0
6
  Tested up to: 3.6
7
+ Stable tag: 1.5.9
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10