Calculated Fields Form - Version 1.0.429

Version Description

  • Modifies the date/time control to fix an issue with the default dates.
  • Prevents some conflicts caused by the cache plugins.
Download this release

Release Info

Developer codepeople
Plugin Icon 128x128 Calculated Fields Form
Version 1.0.429
Comparing to
See all releases

Code changes from version 1.0.423 to 1.0.429

Files changed (54) hide show
  1. README.txt +32 -33
  2. changelog.txt +30 -0
  3. cp_calculatedfieldsf_free.php +2 -2
  4. css/cupertino/images/ui-bg_diagonals-thick_90_eeeeee_40x40.png +0 -0
  5. css/cupertino/images/ui-bg_flat_15_cd0a0a_40x100.png +0 -0
  6. css/cupertino/images/ui-bg_glass_100_e4f1fb_1x400.png +0 -0
  7. css/cupertino/images/ui-bg_glass_50_3baae3_1x400.png +0 -0
  8. css/cupertino/images/ui-bg_glass_80_d7ebf9_1x400.png +0 -0
  9. css/cupertino/images/ui-bg_highlight-hard_100_f2f5f7_1x100.png +0 -0
  10. css/cupertino/images/ui-bg_highlight-hard_70_000000_1x100.png +0 -0
  11. css/cupertino/images/ui-bg_highlight-soft_100_deedf7_1x100.png +0 -0
  12. css/cupertino/images/ui-bg_highlight-soft_25_ffef8f_1x100.png +0 -0
  13. css/cupertino/images/ui-icons_2694e8_256x240.png +0 -0
  14. css/cupertino/images/ui-icons_3d80b3_256x240.png +0 -0
  15. css/cupertino/images/ui-icons_72a7cf_256x240.png +0 -0
  16. css/cupertino/images/ui-icons_ffffff_256x240.png +0 -0
  17. css/cupertino/jquery-ui-1.8.20.custom.css +0 -565
  18. css/style.css +30 -5
  19. css/stylepublic.css +4 -2
  20. css/{cupertino/images/ui-bg_glass_80_eebd4d_1x400.png → ui-bg_glass_80_eebd4d_1x400.png} +0 -0
  21. css/{cupertino/images/ui-bg_glass_80_eebd4dc_1x400.png → ui-bg_glass_80_eebd4dc_1x400.png} +0 -0
  22. css/{cupertino/images/ui-icons_2e83ff_256x240.png → ui-icons_2e83ff_256x240.png} +0 -0
  23. inc/cpcff_admin_int.inc.php +1 -1
  24. inc/cpcff_main.inc.php +10 -4
  25. inc/cpcff_public_int.inc.php +2 -2
  26. js/fields-admin/01_fbuilder.ftext.js +1 -1
  27. js/fields-admin/02_fbuilder.fcurrency.js +1 -1
  28. js/fields-admin/02_fbuilder.fnumber.js +1 -1
  29. js/fields-admin/02_fbuilder.fslider.js +1 -1
  30. js/fields-admin/03_fbuilder.femail.js +1 -1
  31. js/fields-admin/04_fbuilder.fdate.js +1 -1
  32. js/fields-admin/05_fbuilder.ftextarea.js +1 -1
  33. js/fields-admin/06_fbuilder.fcheck.js +1 -1
  34. js/fields-admin/07_fbuilder.fradio.js +1 -1
  35. js/fields-admin/08_fbuilder.fdropdown.js +1 -1
  36. js/fields-admin/09_fbuilder.ffile.js +1 -1
  37. js/fields-admin/10_fbuilder.fpassword.js +1 -1
  38. js/fields-admin/11_fbuilder.fphone.js +1 -1
  39. js/fields-admin/12_fbuilder.fcommentarea.js +1 -1
  40. js/fields-admin/13_fbuilder.fhidden.js +1 -1
  41. js/fields-admin/14_fbuilder.fsectionbreak.js +1 -1
  42. js/fields-admin/15_fbuilder.fpagebreak.js +1 -1
  43. js/fields-admin/16_fbuilder.fsummary.js +1 -1
  44. js/fields-admin/29_fbuilder.ffieldset.fc.js +1 -1
  45. js/fields-admin/30_fbuilder.fdiv.fc.js +1 -1
  46. js/fields-admin/31_fbuilder.fmedia.js +1 -1
  47. js/fields-admin/32_fbuilder.fbutton.js +1 -1
  48. js/fields-admin/34_fbuilder.fhtml.js +1 -1
  49. js/fields-admin/36_fbuilder.acceptance.js +1 -1
  50. js/fields-admin/fbuilder.fcalculated.js +1 -1
  51. js/fields-public/02_fbuilder.fslider.js +40 -21
  52. js/fields-public/04_fbuilder.fdate.js +4 -4
  53. languages/calculated-fields-form-en_US.mo +0 -0
  54. languages/calculated-fields-form-en_US.po +3 -3
README.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: codepeople
3
  Donate link: http://cff.dwbooster.com
4
  Tags: form,quote form,contact form,form builder,calculator,calculated,quote calculator,forms,form editor,advanced forms,payment calculator,payment,recurring payment,quote,fields,calculated field,price calculator,email,form design,paypal,equation editor,formula,equation,quote calculator,post,posts,plugin,widget,admin,sidebar,images,image,page,shortcode,products form,woocommerce,addons,layout,session,post,cookie,get,webhook,Dropbox,pdf,language
5
  Requires at least: 3.0.5
6
- Tested up to: 5.5
7
  Stable tag: trunk
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
@@ -949,6 +949,36 @@ This way the special characters should show correctly.
949
 
950
  == Changelog ==
951
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
952
  = 1.0.423 =
953
 
954
  * Modifies the settings of every control to improve the user interaction.
@@ -975,39 +1005,8 @@ This way the special characters should show correctly.
975
  * Include minor modifications in the styles of phone controls.
976
  * Modifies the appearance of messages table in the commercial versions of the plugin.
977
 
978
- = 1.0.419 =
979
-
980
- * Includes the FACTORIAL operation.
981
- * Modifies some styles.
982
- * Modifies the CFFCHART operation for accepting a third parameter (optional) with the field where storing the source of the generated chart as a PNG image in base64 code (Developer and Platinum versions of the plugin).
983
- * Modifies the Users Permissions add-on to include a login form in case the form be accessible only by registered and the visitant is unregistered (Developer and Platinum versions of the plugin).
984
- * Modifies the RecordSet DS field for accessing to more relaxed JSON objects (Developer and Platinum versions of the plugin).
985
- * Fixes an issue in the PDF Generator add-on and the signature fields.
986
-
987
- = 1.0.418 =
988
-
989
- * Fixes an issue in the slider control.
990
-
991
- = 1.0.417 =
992
-
993
- * Improves the access to additional resources.
994
-
995
- = 1.0.416 =
996
-
997
- * Modifies the behaviour of the tooltip-icons to avoid putting the focus on the input tags.
998
-
999
- = 1.0.415 =
1000
-
1001
- * Modifies the controls to improve the accessibility including aria-label in all of them.
1002
- * Includes new actions.
1003
- * Modifies the Users Permissions add-on (Developer and Platinum versions of the plugin)
1004
-
1005
- = 1.0.414 =
1006
-
1007
- * Modifies the controls Dropdown, Checkbox, and Radio Buttons, to allow accessing from the equations to the information to submit, and not only the fields' values. For example, if fieldname1 is a dropdown field, use the modifier |v as part of the field' name in the equation to access the information to submit: fieldname1|v
1008
-
1009
  == Upgrade Notice ==
1010
 
1011
- = 1.0.423 =
1012
 
1013
  Important note: If you are using the Professional version don't update via the WP dashboard but using your personal update link. Contact us if you need further information: http://cff.dwbooster.com/contact-us
3
  Donate link: http://cff.dwbooster.com
4
  Tags: form,quote form,contact form,form builder,calculator,calculated,quote calculator,forms,form editor,advanced forms,payment calculator,payment,recurring payment,quote,fields,calculated field,price calculator,email,form design,paypal,equation editor,formula,equation,quote calculator,post,posts,plugin,widget,admin,sidebar,images,image,page,shortcode,products form,woocommerce,addons,layout,session,post,cookie,get,webhook,Dropbox,pdf,language
5
  Requires at least: 3.0.5
6
+ Tested up to: 5.6
7
  Stable tag: trunk
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
949
 
950
  == Changelog ==
951
 
952
+ = 1.0.429 =
953
+
954
+ * Modifies the date/time control to fix an issue with the default dates.
955
+ * Prevents some conflicts caused by the cache plugins.
956
+
957
+ = 1.0.428 =
958
+
959
+ * Modifies the plugin styles.
960
+ * Fixes some conflicts with WordPress v5.6.
961
+ * Fixes a minor issue in the Users Permissions add-on (Developer and Platinum versions).
962
+
963
+ = 1.0.427 =
964
+
965
+ * Modifies the slider control.
966
+ * Modifies the styles to adapt the appearance of the form to the default theme of WordPress v5.6.
967
+ * Fixes a minor issue in the CSV Generator add-on (Platinum version).
968
+
969
+ = 1.0.426 =
970
+
971
+ * Assign different colors to the fields in the form builder to identify them more easily.
972
+
973
+ = 1.0.425 =
974
+
975
+ * Updates the jQuery-UI version used by the plugin to prevent conflicts with other plugins and themes.
976
+ * Allows protecting the generated PDF files (Platinum version of the plugin).
977
+
978
+ = 1.0.424 =
979
+
980
+ * Modifies the slider control allowing to update the corner captions dynamically.
981
+
982
  = 1.0.423 =
983
 
984
  * Modifies the settings of every control to improve the user interaction.
1005
  * Include minor modifications in the styles of phone controls.
1006
  * Modifies the appearance of messages table in the commercial versions of the plugin.
1007
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1008
  == Upgrade Notice ==
1009
 
1010
+ = 1.0.429 =
1011
 
1012
  Important note: If you are using the Professional version don't update via the WP dashboard but using your personal update link. Contact us if you need further information: http://cff.dwbooster.com/contact-us
changelog.txt CHANGED
@@ -1,5 +1,35 @@
1
  == Changelog ==
2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  = 1.0.423 =
4
 
5
  * Modifies the settings of every control to improve the user interaction.
1
  == Changelog ==
2
 
3
+ = 1.0.429 =
4
+
5
+ * Modifies the date/time control to fix an issue with the default dates.
6
+ * Prevents some conflicts caused by the cache plugins.
7
+
8
+ = 1.0.428 =
9
+
10
+ * Modifies the plugin styles.
11
+ * Fixes some conflicts with WordPress v5.6.
12
+ * Fixes a minor issue in the Users Permissions add-on (Developer and Platinum versions).
13
+
14
+ = 1.0.427 =
15
+
16
+ * Modifies the slider control.
17
+ * Modifies the styles to adapt the appearance of the form to the default theme of WordPress v5.6.
18
+ * Fixes a minor issue in the CSV Generator add-on (Platinum version).
19
+
20
+ = 1.0.426 =
21
+
22
+ * Assign different colors to the fields in the form builder to identify them more easily.
23
+
24
+ = 1.0.425 =
25
+
26
+ * Updates the jQuery-UI version used by the plugin to prevent conflicts with other plugins and themes.
27
+ * Allows protecting the generated PDF files (Platinum version of the plugin).
28
+
29
+ = 1.0.424 =
30
+
31
+ * Modifies the slider control allowing to update the corner captions dynamically.
32
+
33
  = 1.0.423 =
34
 
35
  * Modifies the settings of every control to improve the user interaction.
cp_calculatedfieldsf_free.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Calculated Fields Form
4
  Plugin URI: https://cff.dwbooster.com
5
  Description: Create forms with field values calculated based in other form field values.
6
- Version: 1.0.423
7
  Text Domain: calculated-fields-form
8
  Author: CodePeople
9
  Author URI: https://cff.dwbooster.com
@@ -16,7 +16,7 @@ if(!defined('WP_DEBUG') || true != WP_DEBUG)
16
  }
17
 
18
  // Defining main constants
19
- define('CP_CALCULATEDFIELDSF_VERSION', '1.0.423' );
20
  define('CP_CALCULATEDFIELDSF_MAIN_FILE_PATH', __FILE__ );
21
  define('CP_CALCULATEDFIELDSF_BASE_PATH', dirname( CP_CALCULATEDFIELDSF_MAIN_FILE_PATH ) );
22
  define('CP_CALCULATEDFIELDSF_BASE_NAME', plugin_basename( CP_CALCULATEDFIELDSF_MAIN_FILE_PATH ) );
3
  Plugin Name: Calculated Fields Form
4
  Plugin URI: https://cff.dwbooster.com
5
  Description: Create forms with field values calculated based in other form field values.
6
+ Version: 1.0.429
7
  Text Domain: calculated-fields-form
8
  Author: CodePeople
9
  Author URI: https://cff.dwbooster.com
16
  }
17
 
18
  // Defining main constants
19
+ define('CP_CALCULATEDFIELDSF_VERSION', '1.0.429' );
20
  define('CP_CALCULATEDFIELDSF_MAIN_FILE_PATH', __FILE__ );
21
  define('CP_CALCULATEDFIELDSF_BASE_PATH', dirname( CP_CALCULATEDFIELDSF_MAIN_FILE_PATH ) );
22
  define('CP_CALCULATEDFIELDSF_BASE_NAME', plugin_basename( CP_CALCULATEDFIELDSF_MAIN_FILE_PATH ) );
css/cupertino/images/ui-bg_diagonals-thick_90_eeeeee_40x40.png DELETED
Binary file
css/cupertino/images/ui-bg_flat_15_cd0a0a_40x100.png DELETED
Binary file
css/cupertino/images/ui-bg_glass_100_e4f1fb_1x400.png DELETED
Binary file
css/cupertino/images/ui-bg_glass_50_3baae3_1x400.png DELETED
Binary file
css/cupertino/images/ui-bg_glass_80_d7ebf9_1x400.png DELETED
Binary file
css/cupertino/images/ui-bg_highlight-hard_100_f2f5f7_1x100.png DELETED
Binary file
css/cupertino/images/ui-bg_highlight-hard_70_000000_1x100.png DELETED
Binary file
css/cupertino/images/ui-bg_highlight-soft_100_deedf7_1x100.png DELETED
Binary file
css/cupertino/images/ui-bg_highlight-soft_25_ffef8f_1x100.png DELETED
Binary file
css/cupertino/images/ui-icons_2694e8_256x240.png DELETED
Binary file
css/cupertino/images/ui-icons_3d80b3_256x240.png DELETED
Binary file
css/cupertino/images/ui-icons_72a7cf_256x240.png DELETED
Binary file
css/cupertino/images/ui-icons_ffffff_256x240.png DELETED
Binary file
css/cupertino/jquery-ui-1.8.20.custom.css DELETED
@@ -1,565 +0,0 @@
1
- /*!
2
- * jQuery UI CSS Framework 1.8.20
3
- *
4
- * Copyright 2012, AUTHORS.txt (http://jqueryui.com/about)
5
- * Dual licensed under the MIT or GPL Version 2 licenses.
6
- * http://jquery.org/license
7
- *
8
- * http://docs.jquery.com/UI/Theming/API
9
- */
10
-
11
- /* Layout helpers
12
- ----------------------------------*/
13
- .ui-helper-hidden { display: none; }
14
- .ui-helper-hidden-accessible { position: absolute !important; clip: rect(1px 1px 1px 1px); clip: rect(1px,1px,1px,1px); }
15
- .ui-helper-reset { margin: 0; padding: 0; border: 0; outline: 0; line-height: 1.3; text-decoration: none; font-size: 100%; list-style: none; }
16
- .ui-helper-clearfix:before, .ui-helper-clearfix:after { content: ""; display: table; }
17
- .ui-helper-clearfix:after { clear: both; }
18
- .ui-helper-clearfix { zoom: 1; }
19
- .ui-helper-zfix { width: 100%; height: 100%; top: 0; left: 0; position: absolute; opacity: 0; filter:Alpha(Opacity=0); }
20
-
21
-
22
- /* Interaction Cues
23
- ----------------------------------*/
24
- .ui-state-disabled { cursor: default !important; }
25
-
26
-
27
- /* Icons
28
- ----------------------------------*/
29
-
30
- /* states and images */
31
- .ui-icon { display: block; text-indent: -99999px; overflow: hidden; background-repeat: no-repeat; }
32
-
33
-
34
- /* Misc visuals
35
- ----------------------------------*/
36
-
37
- /* Overlays */
38
- .ui-widget-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
39
-
40
-
41
- /*!
42
- * jQuery UI CSS Framework 1.8.20
43
- *
44
- * Copyright 2012, AUTHORS.txt (http://jqueryui.com/about)
45
- * Dual licensed under the MIT or GPL Version 2 licenses.
46
- * http://jquery.org/license
47
- *
48
- * http://docs.jquery.com/UI/Theming/API
49
- *
50
- * To view and modify this theme, visit http://jqueryui.com/themeroller/?ffDefault=Lucida%20Grande,%20Lucida%20Sans,%20Arial,%20sans-serif&fwDefault=bold&fsDefault=1.1em&cornerRadius=6px&bgColorHeader=deedf7&bgTextureHeader=03_highlight_soft.png&bgImgOpacityHeader=100&borderColorHeader=aed0ea&fcHeader=222222&iconColorHeader=72a7cf&bgColorContent=f2f5f7&bgTextureContent=04_highlight_hard.png&bgImgOpacityContent=100&borderColorContent=dddddd&fcContent=362b36&iconColorContent=72a7cf&bgColorDefault=d7ebf9&bgTextureDefault=02_glass.png&bgImgOpacityDefault=80&borderColorDefault=aed0ea&fcDefault=2779aa&iconColorDefault=3d80b3&bgColorHover=e4f1fb&bgTextureHover=02_glass.png&bgImgOpacityHover=100&borderColorHover=74b2e2&fcHover=0070a3&iconColorHover=2694e8&bgColorActive=3baae3&bgTextureActive=02_glass.png&bgImgOpacityActive=50&borderColorActive=2694e8&fcActive=ffffff&iconColorActive=ffffff&bgColorHighlight=ffef8f&bgTextureHighlight=03_highlight_soft.png&bgImgOpacityHighlight=25&borderColorHighlight=f9dd34&fcHighlight=363636&iconColorHighlight=2e83ff&bgColorError=cd0a0a&bgTextureError=01_flat.png&bgImgOpacityError=15&borderColorError=cd0a0a&fcError=ffffff&iconColorError=ffffff&bgColorOverlay=eeeeee&bgTextureOverlay=08_diagonals_thick.png&bgImgOpacityOverlay=90&opacityOverlay=80&bgColorShadow=000000&bgTextureShadow=04_highlight_hard.png&bgImgOpacityShadow=70&opacityShadow=30&thicknessShadow=7px&offsetTopShadow=-7px&offsetLeftShadow=-7px&cornerRadiusShadow=8px
51
- */
52
-
53
-
54
- /* Component containers
55
- ----------------------------------*/
56
- .ui-widget { font-family: Lucida Grande, Lucida Sans, Arial, sans-serif; font-size: 1.1em; }
57
- .ui-widget .ui-widget { font-size: 1em; }
58
- .ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget button { font-family: Lucida Grande, Lucida Sans, Arial, sans-serif; font-size: 1em; }
59
- .ui-widget-content { border: 1px solid #dddddd; background: #f2f5f7 url(images/ui-bg_highlight-hard_100_f2f5f7_1x100.png) 50% top repeat-x; color: #362b36; }
60
- .ui-widget-content a { color: #362b36; }
61
- .ui-widget-header { border: 1px solid #aed0ea; background: #deedf7 url(images/ui-bg_highlight-soft_100_deedf7_1x100.png) 50% 50% repeat-x; color: #222222; font-weight: bold; }
62
- .ui-widget-header a { color: #222222; }
63
-
64
- /* Interaction states
65
- ----------------------------------*/
66
- .ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default { border: 1px solid #aed0ea; background: #d7ebf9 url(images/ui-bg_glass_80_d7ebf9_1x400.png) 50% 50% repeat-x; font-weight: bold; color: #2779aa; }
67
- .ui-state-default a, .ui-state-default a:link, .ui-state-default a:visited { color: #2779aa; text-decoration: none; }
68
- .ui-state-hover, .ui-widget-content .ui-state-hover, .ui-widget-header .ui-state-hover, .ui-state-focus, .ui-widget-content .ui-state-focus, .ui-widget-header .ui-state-focus { border: 1px solid #74b2e2; background: #e4f1fb url(images/ui-bg_glass_100_e4f1fb_1x400.png) 50% 50% repeat-x; font-weight: bold; color: #0070a3; }
69
- .ui-state-hover a, .ui-state-hover a:hover { color: #0070a3; text-decoration: none; }
70
- .ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active { border: 1px solid #2694e8; background: #3baae3 url(images/ui-bg_glass_50_3baae3_1x400.png) 50% 50% repeat-x; font-weight: bold; color: #ffffff; }
71
- .ui-state-active a, .ui-state-active a:link, .ui-state-active a:visited { color: #ffffff; text-decoration: none; }
72
- .ui-widget :active { outline: none; }
73
-
74
- /* Interaction Cues
75
- ----------------------------------*/
76
- .ui-state-highlight, .ui-widget-content .ui-state-highlight, .ui-widget-header .ui-state-highlight {border: 1px solid #f9dd34; background: #ffef8f url(images/ui-bg_highlight-soft_25_ffef8f_1x100.png) 50% top repeat-x; color: #363636; }
77
- .ui-state-highlight a, .ui-widget-content .ui-state-highlight a,.ui-widget-header .ui-state-highlight a { color: #363636; }
78
- .ui-state-error, .ui-widget-content .ui-state-error, .ui-widget-header .ui-state-error {border: 1px solid #cd0a0a; background: #cd0a0a url(images/ui-bg_flat_15_cd0a0a_40x100.png) 50% 50% repeat-x; color: #ffffff; }
79
- .ui-state-error a, .ui-widget-content .ui-state-error a, .ui-widget-header .ui-state-error a { color: #ffffff; }
80
- .ui-state-error-text, .ui-widget-content .ui-state-error-text, .ui-widget-header .ui-state-error-text { color: #ffffff; }
81
- .ui-priority-primary, .ui-widget-content .ui-priority-primary, .ui-widget-header .ui-priority-primary { font-weight: bold; }
82
- .ui-priority-secondary, .ui-widget-content .ui-priority-secondary, .ui-widget-header .ui-priority-secondary { opacity: .7; filter:Alpha(Opacity=70); font-weight: normal; }
83
- .ui-state-disabled, .ui-widget-content .ui-state-disabled, .ui-widget-header .ui-state-disabled { opacity: .35; filter:Alpha(Opacity=35); background-image: none; }
84
-
85
- /* Icons
86
- ----------------------------------*/
87
-
88
- /* states and images */
89
- .ui-icon { width: 16px; height: 16px; background-image: url(images/ui-icons_72a7cf_256x240.png); }
90
- .ui-widget-content .ui-icon {background-image: url(images/ui-icons_72a7cf_256x240.png); }
91
- .ui-widget-header .ui-icon {background-image: url(images/ui-icons_72a7cf_256x240.png); }
92
- .ui-state-default .ui-icon { background-image: url(images/ui-icons_3d80b3_256x240.png); }
93
- .ui-state-hover .ui-icon, .ui-state-focus .ui-icon {background-image: url(images/ui-icons_2694e8_256x240.png); }
94
- .ui-state-active .ui-icon {background-image: url(images/ui-icons_ffffff_256x240.png); }
95
- .ui-state-highlight .ui-icon {background-image: url(images/ui-icons_2e83ff_256x240.png); }
96
- .ui-state-error .ui-icon, .ui-state-error-text .ui-icon {background-image: url(images/ui-icons_ffffff_256x240.png); }
97
-
98
- /* positioning */
99
- .ui-icon-carat-1-n { background-position: 0 0; }
100
- .ui-icon-carat-1-ne { background-position: -16px 0; }
101
- .ui-icon-carat-1-e { background-position: -32px 0; }
102
- .ui-icon-carat-1-se { background-position: -48px 0; }
103
- .ui-icon-carat-1-s { background-position: -64px 0; }
104
- .ui-icon-carat-1-sw { background-position: -80px 0; }
105
- .ui-icon-carat-1-w { background-position: -96px 0; }
106
- .ui-icon-carat-1-nw { background-position: -112px 0; }
107
- .ui-icon-carat-2-n-s { background-position: -128px 0; }
108
- .ui-icon-carat-2-e-w { background-position: -144px 0; }
109
- .ui-icon-triangle-1-n { background-position: 0 -16px; }
110
- .ui-icon-triangle-1-ne { background-position: -16px -16px; }
111
- .ui-icon-triangle-1-e { background-position: -32px -16px; }
112
- .ui-icon-triangle-1-se { background-position: -48px -16px; }
113
- .ui-icon-triangle-1-s { background-position: -64px -16px; }
114
- .ui-icon-triangle-1-sw { background-position: -80px -16px; }
115
- .ui-icon-triangle-1-w { background-position: -96px -16px; }
116
- .ui-icon-triangle-1-nw { background-position: -112px -16px; }
117
- .ui-icon-triangle-2-n-s { background-position: -128px -16px; }
118
- .ui-icon-triangle-2-e-w { background-position: -144px -16px; }
119
- .ui-icon-arrow-1-n { background-position: 0 -32px; }
120
- .ui-icon-arrow-1-ne { background-position: -16px -32px; }
121
- .ui-icon-arrow-1-e { background-position: -32px -32px; }
122
- .ui-icon-arrow-1-se { background-position: -48px -32px; }
123
- .ui-icon-arrow-1-s { background-position: -64px -32px; }
124
- .ui-icon-arrow-1-sw { background-position: -80px -32px; }
125
- .ui-icon-arrow-1-w { background-position: -96px -32px; }
126
- .ui-icon-arrow-1-nw { background-position: -112px -32px; }
127
- .ui-icon-arrow-2-n-s { background-position: -128px -32px; }
128
- .ui-icon-arrow-2-ne-sw { background-position: -144px -32px; }
129
- .ui-icon-arrow-2-e-w { background-position: -160px -32px; }
130
- .ui-icon-arrow-2-se-nw { background-position: -176px -32px; }
131
- .ui-icon-arrowstop-1-n { background-position: -192px -32px; }
132
- .ui-icon-arrowstop-1-e { background-position: -208px -32px; }
133
- .ui-icon-arrowstop-1-s { background-position: -224px -32px; }
134
- .ui-icon-arrowstop-1-w { background-position: -240px -32px; }
135
- .ui-icon-arrowthick-1-n { background-position: 0 -48px; }
136
- .ui-icon-arrowthick-1-ne { background-position: -16px -48px; }
137
- .ui-icon-arrowthick-1-e { background-position: -32px -48px; }
138
- .ui-icon-arrowthick-1-se { background-position: -48px -48px; }
139
- .ui-icon-arrowthick-1-s { background-position: -64px -48px; }
140
- .ui-icon-arrowthick-1-sw { background-position: -80px -48px; }
141
- .ui-icon-arrowthick-1-w { background-position: -96px -48px; }
142
- .ui-icon-arrowthick-1-nw { background-position: -112px -48px; }
143
- .ui-icon-arrowthick-2-n-s { background-position: -128px -48px; }
144
- .ui-icon-arrowthick-2-ne-sw { background-position: -144px -48px; }
145
- .ui-icon-arrowthick-2-e-w { background-position: -160px -48px; }
146
- .ui-icon-arrowthick-2-se-nw { background-position: -176px -48px; }
147
- .ui-icon-arrowthickstop-1-n { background-position: -192px -48px; }
148
- .ui-icon-arrowthickstop-1-e { background-position: -208px -48px; }
149
- .ui-icon-arrowthickstop-1-s { background-position: -224px -48px; }
150
- .ui-icon-arrowthickstop-1-w { background-position: -240px -48px; }
151
- .ui-icon-arrowreturnthick-1-w { background-position: 0 -64px; }
152
- .ui-icon-arrowreturnthick-1-n { background-position: -16px -64px; }
153
- .ui-icon-arrowreturnthick-1-e { background-position: -32px -64px; }
154
- .ui-icon-arrowreturnthick-1-s { background-position: -48px -64px; }
155
- .ui-icon-arrowreturn-1-w { background-position: -64px -64px; }
156
- .ui-icon-arrowreturn-1-n { background-position: -80px -64px; }
157
- .ui-icon-arrowreturn-1-e { background-position: -96px -64px; }
158
- .ui-icon-arrowreturn-1-s { background-position: -112px -64px; }
159
- .ui-icon-arrowrefresh-1-w { background-position: -128px -64px; }
160
- .ui-icon-arrowrefresh-1-n { background-position: -144px -64px; }
161
- .ui-icon-arrowrefresh-1-e { background-position: -160px -64px; }
162
- .ui-icon-arrowrefresh-1-s { background-position: -176px -64px; }
163
- .ui-icon-arrow-4 { background-position: 0 -80px; }
164
- .ui-icon-arrow-4-diag { background-position: -16px -80px; }
165
- .ui-icon-extlink { background-position: -32px -80px; }
166
- .ui-icon-newwin { background-position: -48px -80px; }
167
- .ui-icon-refresh { background-position: -64px -80px; }
168
- .ui-icon-shuffle { background-position: -80px -80px; }
169
- .ui-icon-transfer-e-w { background-position: -96px -80px; }
170
- .ui-icon-transferthick-e-w { background-position: -112px -80px; }
171
- .ui-icon-folder-collapsed { background-position: 0 -96px; }
172
- .ui-icon-folder-open { background-position: -16px -96px; }
173
- .ui-icon-document { background-position: -32px -96px; }
174
- .ui-icon-document-b { background-position: -48px -96px; }
175
- .ui-icon-note { background-position: -64px -96px; }
176
- .ui-icon-mail-closed { background-position: -80px -96px; }
177
- .ui-icon-mail-open { background-position: -96px -96px; }
178
- .ui-icon-suitcase { background-position: -112px -96px; }
179
- .ui-icon-comment { background-position: -128px -96px; }
180
- .ui-icon-person { background-position: -144px -96px; }
181
- .ui-icon-print { background-position: -160px -96px; }
182
- .ui-icon-trash { background-position: -176px -96px; }
183
- .ui-icon-locked { background-position: -192px -96px; }
184
- .ui-icon-unlocked { background-position: -208px -96px; }
185
- .ui-icon-bookmark { background-position: -224px -96px; }
186
- .ui-icon-tag { background-position: -240px -96px; }
187
- .ui-icon-home { background-position: 0 -112px; }
188
- .ui-icon-flag { background-position: -16px -112px; }
189
- .ui-icon-calendar { background-position: -32px -112px; }
190
- .ui-icon-cart { background-position: -48px -112px; }
191
- .ui-icon-pencil { background-position: -64px -112px; }
192
- .ui-icon-clock { background-position: -80px -112px; }
193
- .ui-icon-disk { background-position: -96px -112px; }
194
- .ui-icon-calculator { background-position: -112px -112px; }
195
- .ui-icon-zoomin { background-position: -128px -112px; }
196
- .ui-icon-zoomout { background-position: -144px -112px; }
197
- .ui-icon-search { background-position: -160px -112px; }
198
- .ui-icon-wrench { background-position: -176px -112px; }
199
- .ui-icon-gear { background-position: -192px -112px; }
200
- .ui-icon-heart { background-position: -208px -112px; }
201
- .ui-icon-star { background-position: -224px -112px; }
202
- .ui-icon-link { background-position: -240px -112px; }
203
- .ui-icon-cancel { background-position: 0 -128px; }
204
- .ui-icon-plus { background-position: -16px -128px; }
205
- .ui-icon-plusthick { background-position: -32px -128px; }
206
- .ui-icon-minus { background-position: -48px -128px; }
207
- .ui-icon-minusthick { background-position: -64px -128px; }
208
- .ui-icon-close { background-position: -80px -128px; }
209
- .ui-icon-closethick { background-position: -96px -128px; }
210
- .ui-icon-key { background-position: -112px -128px; }
211
- .ui-icon-lightbulb { background-position: -128px -128px; }
212
- .ui-icon-scissors { background-position: -144px -128px; }
213
- .ui-icon-clipboard { background-position: -160px -128px; }
214
- .ui-icon-copy { background-position: -176px -128px; }
215
- .ui-icon-contact { background-position: -192px -128px; }
216
- .ui-icon-image { background-position: -208px -128px; }
217
- .ui-icon-video { background-position: -224px -128px; }
218
- .ui-icon-script { background-position: -240px -128px; }
219
- .ui-icon-alert { background-position: 0 -144px; }
220
- .ui-icon-info { background-position: -16px -144px; }
221
- .ui-icon-notice { background-position: -32px -144px; }
222
- .ui-icon-help { background-position: -48px -144px; }
223
- .ui-icon-check { background-position: -64px -144px; }
224
- .ui-icon-bullet { background-position: -80px -144px; }
225
- .ui-icon-radio-off { background-position: -96px -144px; }
226
- .ui-icon-radio-on { background-position: -112px -144px; }
227
- .ui-icon-pin-w { background-position: -128px -144px; }
228
- .ui-icon-pin-s { background-position: -144px -144px; }
229
- .ui-icon-play { background-position: 0 -160px; }
230
- .ui-icon-pause { background-position: -16px -160px; }
231
- .ui-icon-seek-next { background-position: -32px -160px; }
232
- .ui-icon-seek-prev { background-position: -48px -160px; }
233
- .ui-icon-seek-end { background-position: -64px -160px; }
234
- .ui-icon-seek-start { background-position: -80px -160px; }
235
- /* ui-icon-seek-first is deprecated, use ui-icon-seek-start instead */
236
- .ui-icon-seek-first { background-position: -80px -160px; }
237
- .ui-icon-stop { background-position: -96px -160px; }
238
- .ui-icon-eject { background-position: -112px -160px; }
239
- .ui-icon-volume-off { background-position: -128px -160px; }
240
- .ui-icon-volume-on { background-position: -144px -160px; }
241
- .ui-icon-power { background-position: 0 -176px; }
242
- .ui-icon-signal-diag { background-position: -16px -176px; }
243
- .ui-icon-signal { background-position: -32px -176px; }
244
- .ui-icon-battery-0 { background-position: -48px -176px; }
245
- .ui-icon-battery-1 { background-position: -64px -176px; }
246
- .ui-icon-battery-2 { background-position: -80px -176px; }
247
- .ui-icon-battery-3 { background-position: -96px -176px; }
248
- .ui-icon-circle-plus { background-position: 0 -192px; }
249
- .ui-icon-circle-minus { background-position: -16px -192px; }
250
- .ui-icon-circle-close { background-position: -32px -192px; }
251
- .ui-icon-circle-triangle-e { background-position: -48px -192px; }
252
- .ui-icon-circle-triangle-s { background-position: -64px -192px; }
253
- .ui-icon-circle-triangle-w { background-position: -80px -192px; }
254
- .ui-icon-circle-triangle-n { background-position: -96px -192px; }
255
- .ui-icon-circle-arrow-e { background-position: -112px -192px; }
256
- .ui-icon-circle-arrow-s { background-position: -128px -192px; }
257
- .ui-icon-circle-arrow-w { background-position: -144px -192px; }
258
- .ui-icon-circle-arrow-n { background-position: -160px -192px; }
259
- .ui-icon-circle-zoomin { background-position: -176px -192px; }
260
- .ui-icon-circle-zoomout { background-position: -192px -192px; }
261
- .ui-icon-circle-check { background-position: -208px -192px; }
262
- .ui-icon-circlesmall-plus { background-position: 0 -208px; }
263
- .ui-icon-circlesmall-minus { background-position: -16px -208px; }
264
- .ui-icon-circlesmall-close { background-position: -32px -208px; }
265
- .ui-icon-squaresmall-plus { background-position: -48px -208px; }
266
- .ui-icon-squaresmall-minus { background-position: -64px -208px; }
267
- .ui-icon-squaresmall-close { background-position: -80px -208px; }
268
- .ui-icon-grip-dotted-vertical { background-position: 0 -224px; }
269
- .ui-icon-grip-dotted-horizontal { background-position: -16px -224px; }
270
- .ui-icon-grip-solid-vertical { background-position: -32px -224px; }
271
- .ui-icon-grip-solid-horizontal { background-position: -48px -224px; }
272
- .ui-icon-gripsmall-diagonal-se { background-position: -64px -224px; }
273
- .ui-icon-grip-diagonal-se { background-position: -80px -224px; }
274
-
275
-
276
- /* Misc visuals
277
- ----------------------------------*/
278
-
279
- /* Corner radius */
280
- .ui-corner-all, .ui-corner-top, .ui-corner-left, .ui-corner-tl { -moz-border-radius-topleft: 6px; -webkit-border-top-left-radius: 6px; -khtml-border-top-left-radius: 6px; border-top-left-radius: 6px; }
281
- .ui-corner-all, .ui-corner-top, .ui-corner-right, .ui-corner-tr { -moz-border-radius-topright: 6px; -webkit-border-top-right-radius: 6px; -khtml-border-top-right-radius: 6px; border-top-right-radius: 6px; }
282
- .ui-corner-all, .ui-corner-bottom, .ui-corner-left, .ui-corner-bl { -moz-border-radius-bottomleft: 6px; -webkit-border-bottom-left-radius: 6px; -khtml-border-bottom-left-radius: 6px; border-bottom-left-radius: 6px; }
283
- .ui-corner-all, .ui-corner-bottom, .ui-corner-right, .ui-corner-br { -moz-border-radius-bottomright: 6px; -webkit-border-bottom-right-radius: 6px; -khtml-border-bottom-right-radius: 6px; border-bottom-right-radius: 6px; }
284
-
285
- /* Overlays */
286
- .ui-widget-overlay { background: #eeeeee url(images/ui-bg_diagonals-thick_90_eeeeee_40x40.png) 50% 50% repeat; opacity: .80;filter:Alpha(Opacity=80); }
287
- .ui-widget-shadow { margin: -7px 0 0 -7px; padding: 7px; background: #000000 url(images/ui-bg_highlight-hard_70_000000_1x100.png) 50% top repeat-x; opacity: .30;filter:Alpha(Opacity=30); -moz-border-radius: 8px; -khtml-border-radius: 8px; -webkit-border-radius: 8px; border-radius: 8px; }/*!
288
- * jQuery UI Resizable 1.8.20
289
- *
290
- * Copyright 2012, AUTHORS.txt (http://jqueryui.com/about)
291
- * Dual licensed under the MIT or GPL Version 2 licenses.
292
- * http://jquery.org/license
293
- *
294
- * http://docs.jquery.com/UI/Resizable#theming
295
- */
296
- .ui-resizable { position: relative;}
297
- .ui-resizable-handle { position: absolute;font-size: 0.1px; display: block; }
298
- .ui-resizable-disabled .ui-resizable-handle, .ui-resizable-autohide .ui-resizable-handle { display: none; }
299
- .ui-resizable-n { cursor: n-resize; height: 7px; width: 100%; top: -5px; left: 0; }
300
- .ui-resizable-s { cursor: s-resize; height: 7px; width: 100%; bottom: -5px; left: 0; }
301
- .ui-resizable-e { cursor: e-resize; width: 7px; right: -5px; top: 0; height: 100%; }
302
- .ui-resizable-w { cursor: w-resize; width: 7px; left: -5px; top: 0; height: 100%; }
303
- .ui-resizable-se { cursor: se-resize; width: 12px; height: 12px; right: 1px; bottom: 1px; }
304
- .ui-resizable-sw { cursor: sw-resize; width: 9px; height: 9px; left: -5px; bottom: -5px; }
305
- .ui-resizable-nw { cursor: nw-resize; width: 9px; height: 9px; left: -5px; top: -5px; }
306
- .ui-resizable-ne { cursor: ne-resize; width: 9px; height: 9px; right: -5px; top: -5px;}/*!
307
- * jQuery UI Selectable 1.8.20
308
- *
309
- * Copyright 2012, AUTHORS.txt (http://jqueryui.com/about)
310
- * Dual licensed under the MIT or GPL Version 2 licenses.
311
- * http://jquery.org/license
312
- *
313
- * http://docs.jquery.com/UI/Selectable#theming
314
- */
315
- .ui-selectable-helper { position: absolute; z-index: 100; border:1px dotted black; }
316
- /*!
317
- * jQuery UI Accordion 1.8.20
318
- *
319
- * Copyright 2012, AUTHORS.txt (http://jqueryui.com/about)
320
- * Dual licensed under the MIT or GPL Version 2 licenses.
321
- * http://jquery.org/license
322
- *
323
- * http://docs.jquery.com/UI/Accordion#theming
324
- */
325
- /* IE/Win - Fix animation bug - #4615 */
326
- .ui-accordion { width: 100%; }
327
- .ui-accordion .ui-accordion-header { cursor: pointer; position: relative; margin-top: 1px; zoom: 1; }
328
- .ui-accordion .ui-accordion-li-fix { display: inline; }
329
- .ui-accordion .ui-accordion-header-active { border-bottom: 0 !important; }
330
- .ui-accordion .ui-accordion-header a { display: block; font-size: 1em; padding: .5em .5em .5em .7em; }
331
- .ui-accordion-icons .ui-accordion-header a { padding-left: 2.2em; }
332
- .ui-accordion .ui-accordion-header .ui-icon { position: absolute; left: .5em; top: 50%; margin-top: -8px; }
333
- .ui-accordion .ui-accordion-content { padding: 1em 2.2em; border-top: 0; margin-top: -2px; position: relative; top: 1px; margin-bottom: 2px; overflow: auto; display: none; zoom: 1; }
334
- .ui-accordion .ui-accordion-content-active { display: block; }
335
- /*!
336
- * jQuery UI Autocomplete 1.8.20
337
- *
338
- * Copyright 2012, AUTHORS.txt (http://jqueryui.com/about)
339
- * Dual licensed under the MIT or GPL Version 2 licenses.
340
- * http://jquery.org/license
341
- *
342
- * http://docs.jquery.com/UI/Autocomplete#theming
343
- */
344
- .ui-autocomplete { position: absolute; cursor: default; }
345
-
346
- /* workarounds */
347
- * html .ui-autocomplete { width:1px; } /* without this, the menu expands to 100% in IE6 */
348
-
349
- /*
350
- * jQuery UI Menu 1.8.20
351
- *
352
- * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
353
- * Dual licensed under the MIT or GPL Version 2 licenses.
354
- * http://jquery.org/license
355
- *
356
- * http://docs.jquery.com/UI/Menu#theming
357
- */
358
- .ui-menu {
359
- list-style:none;
360
- padding: 2px;
361
- margin: 0;
362
- display:block;
363
- float: left;
364
- }
365
- .ui-menu .ui-menu {
366
- margin-top: -3px;
367
- }
368
- .ui-menu .ui-menu-item {
369
- margin:0;
370
- padding: 0;
371
- zoom: 1;
372
- float: left;
373
- clear: left;
374
- width: 100%;
375
- }
376
- .ui-menu .ui-menu-item a {
377
- text-decoration:none;
378
- display:block;
379
- padding:.2em .4em;
380
- line-height:1.5;
381
- zoom:1;
382
- }
383
- .ui-menu .ui-menu-item a.ui-state-hover,
384
- .ui-menu .ui-menu-item a.ui-state-active {
385
- font-weight: normal;
386
- margin: -1px;
387
- }
388
- /*!
389
- * jQuery UI Button 1.8.20
390
- *
391
- * Copyright 2012, AUTHORS.txt (http://jqueryui.com/about)
392
- * Dual licensed under the MIT or GPL Version 2 licenses.
393
- * http://jquery.org/license
394
- *
395
- * http://docs.jquery.com/UI/Button#theming
396
- */
397
- .ui-button { display: inline-block; position: relative; padding: 0; margin-right: .1em; text-decoration: none !important; cursor: pointer; text-align: center; zoom: 1; overflow: visible; } /* the overflow property removes extra width in IE */
398
- .ui-button-icon-only { width: 2.2em; } /* to make room for the icon, a width needs to be set here */
399
- button.ui-button-icon-only { width: 2.4em; } /* button elements seem to need a little more width */
400
- .ui-button-icons-only { width: 3.4em; }
401
- button.ui-button-icons-only { width: 3.7em; }
402
-
403
- /*button text element */
404
- .ui-button .ui-button-text { display: block; line-height: 1.4; }
405
- .ui-button-text-only .ui-button-text { padding: .4em 1em; }
406
- .ui-button-icon-only .ui-button-text, .ui-button-icons-only .ui-button-text { padding: .4em; text-indent: -9999999px; }
407
- .ui-button-text-icon-primary .ui-button-text, .ui-button-text-icons .ui-button-text { padding: .4em 1em .4em 2.1em; }
408
- .ui-button-text-icon-secondary .ui-button-text, .ui-button-text-icons .ui-button-text { padding: .4em 2.1em .4em 1em; }
409
- .ui-button-text-icons .ui-button-text { padding-left: 2.1em; padding-right: 2.1em; }
410
- /* no icon support for input elements, provide padding by default */
411
- input.ui-button { padding: .4em 1em; }
412
-
413
- /*button icon element(s) */
414
- .ui-button-icon-only .ui-icon, .ui-button-text-icon-primary .ui-icon, .ui-button-text-icon-secondary .ui-icon, .ui-button-text-icons .ui-icon, .ui-button-icons-only .ui-icon { position: absolute; top: 50%; margin-top: -8px; }
415
- .ui-button-icon-only .ui-icon { left: 50%; margin-left: -8px; }
416
- .ui-button-text-icon-primary .ui-button-icon-primary, .ui-button-text-icons .ui-button-icon-primary, .ui-button-icons-only .ui-button-icon-primary { left: .5em; }
417
- .ui-button-text-icon-secondary .ui-button-icon-secondary, .ui-button-text-icons .ui-button-icon-secondary, .ui-button-icons-only .ui-button-icon-secondary { right: .5em; }
418
- .ui-button-text-icons .ui-button-icon-secondary, .ui-button-icons-only .ui-button-icon-secondary { right: .5em; }
419
-
420
- /*button sets*/
421
- .ui-buttonset { margin-right: 7px; }
422
- .ui-buttonset .ui-button { margin-left: 0; margin-right: -.3em; }
423
-
424
- /* workarounds */
425
- button.ui-button::-moz-focus-inner { border: 0; padding: 0; } /* reset extra padding in Firefox */
426
- /*!
427
- * jQuery UI Dialog 1.8.20
428
- *
429
- * Copyright 2012, AUTHORS.txt (http://jqueryui.com/about)
430
- * Dual licensed under the MIT or GPL Version 2 licenses.
431
- * http://jquery.org/license
432
- *
433
- * http://docs.jquery.com/UI/Dialog#theming
434
- */
435
- .ui-dialog { position: absolute; padding: .2em; width: 300px; overflow: hidden; }
436
- .ui-dialog .ui-dialog-titlebar { padding: .4em 1em; position: relative; }
437
- .ui-dialog .ui-dialog-title { float: left; margin: .1em 16px .1em 0; }
438
- .ui-dialog .ui-dialog-titlebar-close { position: absolute; right: .3em; top: 50%; width: 19px; margin: -10px 0 0 0; padding: 1px; height: 18px; }
439
- .ui-dialog .ui-dialog-titlebar-close span { display: block; margin: 1px; }
440
- .ui-dialog .ui-dialog-titlebar-close:hover, .ui-dialog .ui-dialog-titlebar-close:focus { padding: 0; }
441
- .ui-dialog .ui-dialog-content { position: relative; border: 0; padding: .5em 1em; background: none; overflow: auto; zoom: 1; }
442
- .ui-dialog .ui-dialog-buttonpane { text-align: left; border-width: 1px 0 0 0; background-image: none; margin: .5em 0 0 0; padding: .3em 1em .5em .4em; }
443
- .ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset { float: right; }
444
- .ui-dialog .ui-dialog-buttonpane button { margin: .5em .4em .5em 0; cursor: pointer; }
445
- .ui-dialog .ui-resizable-se { width: 14px; height: 14px; right: 3px; bottom: 3px; }
446
- .ui-draggable .ui-dialog-titlebar { cursor: move; }
447
- /*!
448
- * jQuery UI Slider 1.8.20
449
- *
450
- * Copyright 2012, AUTHORS.txt (http://jqueryui.com/about)
451
- * Dual licensed under the MIT or GPL Version 2 licenses.
452
- * http://jquery.org/license
453
- *
454
- * http://docs.jquery.com/UI/Slider#theming
455
- */
456
- .ui-slider { position: relative; text-align: left; }
457
- .ui-slider .ui-slider-handle { position: absolute; z-index: 2; width: 1.2em; height: 1.2em; cursor: default; }
458
- .ui-slider .ui-slider-range { position: absolute; z-index: 1; font-size: .7em; display: block; border: 0; background-position: 0 0; }
459
-
460
- .ui-slider-horizontal { height: .8em; }
461
- .ui-slider-horizontal .ui-slider-handle { top: -.3em; margin-left: -.6em; }
462
- .ui-slider-horizontal .ui-slider-range { top: 0; height: 100%; }
463
- .ui-slider-horizontal .ui-slider-range-min { left: 0; }
464
- .ui-slider-horizontal .ui-slider-range-max { right: 0; }
465
-
466
- .ui-slider-vertical { width: .8em; height: 100px; }
467
- .ui-slider-vertical .ui-slider-handle { left: -.3em; margin-left: 0; margin-bottom: -.6em; }
468
- .ui-slider-vertical .ui-slider-range { left: 0; width: 100%; }
469
- .ui-slider-vertical .ui-slider-range-min { bottom: 0; }
470
- .ui-slider-vertical .ui-slider-range-max { top: 0; }/*!
471
- * jQuery UI Tabs 1.8.20
472
- *
473
- * Copyright 2012, AUTHORS.txt (http://jqueryui.com/about)
474
- * Dual licensed under the MIT or GPL Version 2 licenses.
475
- * http://jquery.org/license
476
- *
477
- * http://docs.jquery.com/UI/Tabs#theming
478
- */
479
- #tabs { position: relative; padding: .2em; zoom: 1; } /* position: relative prevents IE scroll bug (element with position: relative inside container with overflow: auto appear as "fixed") */
480
- #tabs .ui-tabs-nav { margin: 0; padding: .2em .2em 0; width:auto}
481
- #tabs .ui-tabs-nav li { list-style: none; float: left; position: relative; top: 1px; margin: 0 .2em 1px 0; border-bottom: 0 !important; padding: 0; white-space: nowrap; }
482
- #tabs .ui-tabs-nav li a { float: left; padding: .5em 1em; text-decoration: none;width:auto }
483
- #tabs .ui-tabs-nav li.ui-tabs-selected { margin-bottom: 0; padding-bottom: 1px; width:auto}
484
- #tabs .ui-tabs-nav li.ui-tabs-selected a, #tabs .ui-tabs-nav li.ui-state-disabled a, #tabs .ui-tabs-nav li.ui-state-processing a { cursor: text; width:auto}
485
- #tabs .ui-tabs-nav li a, #tabs.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-selected a { cursor: pointer; } /* first selector in group seems obsolete, but required to overcome bug in Opera applying cursor: text overall if defined elsewhere... */
486
- #tabs .ui-tabs-panel { display: block; border-width: 0; padding: 1em 1.4em; background: none;width:auto;float:none }
487
- #tabs .ui-tabs-hide { display: none !important; }
488
- /*!
489
- * jQuery UI Datepicker 1.8.20
490
- *
491
- * Copyright 2012, AUTHORS.txt (http://jqueryui.com/about)
492
- * Dual licensed under the MIT or GPL Version 2 licenses.
493
- * http://jquery.org/license
494
- *
495
- * http://docs.jquery.com/UI/Datepicker#theming
496
- */
497
- .ui-datepicker { width: 17em; padding: .2em .2em 0; display: none; }
498
- .ui-datepicker .ui-datepicker-header { position:relative; padding:.2em 0; }
499
- .ui-datepicker .ui-datepicker-prev, .ui-datepicker .ui-datepicker-next { position:absolute; top: 2px; width: 1.8em; height: 1.8em; }
500
- .ui-datepicker .ui-datepicker-prev-hover, .ui-datepicker .ui-datepicker-next-hover { top: 1px; }
501
- .ui-datepicker .ui-datepicker-prev { left:2px; }
502
- .ui-datepicker .ui-datepicker-next { right:2px; }
503
- .ui-datepicker .ui-datepicker-prev-hover { left:1px; }
504
- .ui-datepicker .ui-datepicker-next-hover { right:1px; }
505
- .ui-datepicker .ui-datepicker-prev span, .ui-datepicker .ui-datepicker-next span { display: block; position: absolute; left: 50%; margin-left: -8px; top: 50%; margin-top: -8px; }
506
- .ui-datepicker .ui-datepicker-title { margin: 0 2.3em; line-height: 1.8em; text-align: center; }
507
- .ui-datepicker .ui-datepicker-title select { font-size:1em; margin:1px 0; }
508
- .ui-datepicker select.ui-datepicker-month-year {width: 100%;}
509
- .ui-datepicker select.ui-datepicker-month,
510
- .ui-datepicker select.ui-datepicker-year { width: 49%;}
511
- .ui-datepicker table {width: 100%; font-size: .9em; border-collapse: collapse; margin:0 0 .4em; }
512
- .ui-datepicker th { padding: .7em .3em; text-align: center; font-weight: bold; border: 0; }
513
- .ui-datepicker td { border: 0; padding: 1px; }
514
- .ui-datepicker td span, .ui-datepicker td a { display: block; padding: .2em; text-align: right; text-decoration: none; }
515
- .ui-datepicker .ui-datepicker-buttonpane { background-image: none; margin: .7em 0 0 0; padding:0 .2em; border-left: 0; border-right: 0; border-bottom: 0; }
516
- .ui-datepicker .ui-datepicker-buttonpane button { float: right; margin: .5em .2em .4em; cursor: pointer; padding: .2em .6em .3em .6em; width:auto; overflow:visible; }
517
- .ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current { float:left; }
518
-
519
- /* with multiple calendars */
520
- .ui-datepicker.ui-datepicker-multi { width:auto; }
521
- .ui-datepicker-multi .ui-datepicker-group { float:left; }
522
- .ui-datepicker-multi .ui-datepicker-group table { width:95%; margin:0 auto .4em; }
523
- .ui-datepicker-multi-2 .ui-datepicker-group { width:50%; }
524
- .ui-datepicker-multi-3 .ui-datepicker-group { width:33.3%; }
525
- .ui-datepicker-multi-4 .ui-datepicker-group { width:25%; }
526
- .ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header { border-left-width:0; }
527
- .ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header { border-left-width:0; }
528
- .ui-datepicker-multi .ui-datepicker-buttonpane { clear:left; }
529
- .ui-datepicker-row-break { clear:both; width:100%; font-size:0em; }
530
-
531
- /* RTL support */
532
- .ui-datepicker-rtl { direction: rtl; }
533
- .ui-datepicker-rtl .ui-datepicker-prev { right: 2px; left: auto; }
534
- .ui-datepicker-rtl .ui-datepicker-next { left: 2px; right: auto; }
535
- .ui-datepicker-rtl .ui-datepicker-prev:hover { right: 1px; left: auto; }
536
- .ui-datepicker-rtl .ui-datepicker-next:hover { left: 1px; right: auto; }
537
- .ui-datepicker-rtl .ui-datepicker-buttonpane { clear:right; }
538
- .ui-datepicker-rtl .ui-datepicker-buttonpane button { float: left; }
539
- .ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current { float:right; }
540
- .ui-datepicker-rtl .ui-datepicker-group { float:right; }
541
- .ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header { border-right-width:0; border-left-width:1px; }
542
- .ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header { border-right-width:0; border-left-width:1px; }
543
-
544
- /* IE6 IFRAME FIX (taken from datepicker 1.5.3 */
545
- .ui-datepicker-cover {
546
- display: none; /*sorry for IE5*/
547
- display/**/: block; /*sorry for IE5*/
548
- position: absolute; /*must have*/
549
- z-index: -1; /*must have*/
550
- filter: mask(); /*must have*/
551
- top: -4px; /*must have*/
552
- left: -4px; /*must have*/
553
- width: 200px; /*must have*/
554
- height: 200px; /*must have*/
555
- }/*!
556
- * jQuery UI Progressbar 1.8.20
557
- *
558
- * Copyright 2012, AUTHORS.txt (http://jqueryui.com/about)
559
- * Dual licensed under the MIT or GPL Version 2 licenses.
560
- * http://jquery.org/license
561
- *
562
- * http://docs.jquery.com/UI/Progressbar#theming
563
- */
564
- .ui-progressbar { height:2em; text-align: left; overflow: hidden; }
565
- .ui-progressbar .ui-progressbar-value {margin: -1px; height:100%; }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
css/style.css CHANGED
@@ -18,7 +18,32 @@
18
  #tabs{height:650px;width:100%;overflow-y:auto;}
19
  #fbuilder{height:640px;overflow:auto;position:relative;}
20
  #fbuilder .fields{border:1px solid transparent;padding:3px 10px 14px 10px;margin:5px 0px;display:block;position:relative;}
21
- #fbuilder .fields:before {content: attr(title); background-color:#FFF1A0;border:1px solid #F9DD34; padding:0 5px; margin:0 5px 5px 0; display:table;}
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
22
 
23
  #fbuilder .fields .collapse,
24
  #fbuilder .fields .uncollapse,
@@ -53,9 +78,9 @@
53
  .calc_dependent{width:150px;}
54
  .choicesEditDep select{width:calc( 100% - 164px );-webkit-width:calc( 100% - 164px );width:-moz-calc( 100% - 164px );width:-o-calc( 100% - 164px );}
55
  .addDep,
56
- .ui-widget-content .choice_addDep.ui-icon {background-image: url(cupertino/images/ui-icons_2e83ff_256x240.png); }
57
  .removeDep,
58
- .ui-widget-content .choice_removeDep.ui-icon {background-image: url(cupertino/images/ui-icons_2e83ff_256x240.png); }
59
  .cf_dependence_field{width:calc( 100% - 150px );-moz-calc( 100% - 150px );-webkit-calc( 100% - 150px );-o-calc( 100% - 150px );}
60
  .showHideDependencies,.dep{float:right}
61
  .cf_dependence_operator,.cf_dependence_value{width:calc( 50% - 50px );width:-webkit-calc( 50% - 50px );width:-moz-calc( 50% - 50px );width:-o-calc( 50% - 50px );}
@@ -116,13 +141,13 @@ textarea {resize: none}
116
  .form-builder #sToolbarList{width: calc( 100% - 50px );width: -webkit-calc( 100% - 50px );width: -moz-calc( 100% - 50px );width: -o-calc( 100% - 50x );}
117
  #sAdvancedEditor,
118
  #fCalculated{
119
- background: url("cupertino/images/ui-bg_glass_80_eebd4d_1x400.png") repeat-x scroll 50% 50% #EEBD4D;
120
  border: 1px solid #D0771D;
121
  color: #643F0D;
122
  }
123
  #sAdvancedEditor{text-align:center; text-transform: uppercase; padding:5px;margin-bottom:10px;cursor:pointer;font-weight:bold;}
124
  #facceptance{
125
- background: url("cupertino/images/ui-bg_glass_80_eebd4dc_1x400.png") repeat-x scroll 50% 50% #619218;
126
  border: 1px solid #619218;
127
  color: #25530F;
128
  }
18
  #tabs{height:650px;width:100%;overflow-y:auto;}
19
  #fbuilder{height:640px;overflow:auto;position:relative;}
20
  #fbuilder .fields{border:1px solid transparent;padding:3px 10px 14px 10px;margin:5px 0px;display:block;position:relative;}
21
+ #fbuilder .fields:before {content: attr(title); background-color:#FFF1A0;-webkit-box-shadow: inset 0px 0px 0px 1px rgba(0,0,0,0.3);box-shadow: inset 0px 0px 0px 1px rgba(0,0,0,0.3); text-shadow: 1px 1px 0px rgba(255, 255, 255, .4); padding:3px 5px; margin:0 5px 5px 0; display:table;}
22
+ #fbuilder .ftext:before{background-color:rgba(212,187,221,0.7);}
23
+ #fbuilder .fcurrency:before{background-color:rgba(253,209,210,0.7);}
24
+ #fbuilder .fnumber:before{background-color:rgba(251,237,224,0.7);}
25
+ #fbuilder .fslider:before{background-color:rgba(150,212,204,0.7);}
26
+ #fbuilder .femail:before{background-color:rgba(234,177,161,0.7);}
27
+ #fbuilder .fdate:before{background-color:rgba(236,204,173,0.7);}
28
+ #fbuilder .ftextarea:before{background-color:rgba(232,227,191,0.7);}
29
+ #fbuilder .fcheck:before{background-color:rgba(226,213,155,0.7);}
30
+ #fbuilder .fradio:before{background-color:rgba(232,153,155,0.7);}
31
+ #fbuilder .fdropdown:before{background-color:rgba(255,245,204,0.7);}
32
+ #fbuilder .ffile:before{background-color:rgba(216,235,219,0.7);}
33
+ #fbuilder .fpassword:before{background-color:rgba(168,193,198,0.7);}
34
+ #fbuilder .fPhone:before{background-color:rgba(223,195,183,0.7);}
35
+ #fbuilder .fCommentArea:before{background-color:rgba(245,229,201,0.7);}
36
+ #fbuilder .fhidden:before{background-color:rgba(213,220,172,0.7);}
37
+ #fbuilder .fSectionBreak:before{background-color:rgba(235,238,196,0.7);}
38
+ #fbuilder .fPageBreak:before{background-color:rgba(181,206,191,0.7);}
39
+ #fbuilder .fsummary:before{background-color:rgba(206,220,199,0.7);}
40
+ #fbuilder .ffieldset:before{background-color:rgba(255,238,165,0.7);}
41
+ #fbuilder .fdiv:before{background-color:rgba(255,203,165,0.7);}
42
+ #fbuilder .fMedia:before{background-color:rgba(255,177,175,0.7);}
43
+ #fbuilder .fButton:before{background-color:rgba(214,212,255,0.7);}
44
+ #fbuilder .fhtml:before{background-color:rgba(179,238,255,0.7);}
45
+ #fbuilder .facceptance:before{background-color:rgba(184,195,211,0.7);}
46
+ #fbuilder .fCalculated:before{background-color:rgba(206,218,191,0.7);}
47
 
48
  #fbuilder .fields .collapse,
49
  #fbuilder .fields .uncollapse,
78
  .calc_dependent{width:150px;}
79
  .choicesEditDep select{width:calc( 100% - 164px );-webkit-width:calc( 100% - 164px );width:-moz-calc( 100% - 164px );width:-o-calc( 100% - 164px );}
80
  .addDep,
81
+ .ui-widget-content .choice_addDep.ui-icon {background-image: url(ui-icons_2e83ff_256x240.png); }
82
  .removeDep,
83
+ .ui-widget-content .choice_removeDep.ui-icon {background-image: url(ui-icons_2e83ff_256x240.png); }
84
  .cf_dependence_field{width:calc( 100% - 150px );-moz-calc( 100% - 150px );-webkit-calc( 100% - 150px );-o-calc( 100% - 150px );}
85
  .showHideDependencies,.dep{float:right}
86
  .cf_dependence_operator,.cf_dependence_value{width:calc( 50% - 50px );width:-webkit-calc( 50% - 50px );width:-moz-calc( 50% - 50px );width:-o-calc( 50% - 50px );}
141
  .form-builder #sToolbarList{width: calc( 100% - 50px );width: -webkit-calc( 100% - 50px );width: -moz-calc( 100% - 50px );width: -o-calc( 100% - 50x );}
142
  #sAdvancedEditor,
143
  #fCalculated{
144
+ background: url(ui-bg_glass_80_eebd4d_1x400.png) repeat-x scroll 50% 50% #EEBD4D;
145
  border: 1px solid #D0771D;
146
  color: #643F0D;
147
  }
148
  #sAdvancedEditor{text-align:center; text-transform: uppercase; padding:5px;margin-bottom:10px;cursor:pointer;font-weight:bold;}
149
  #facceptance{
150
+ background: url(ui-bg_glass_80_eebd4dc_1x400.png) repeat-x scroll 50% 50% #619218;
151
  border: 1px solid #619218;
152
  color: #25530F;
153
  }
css/stylepublic.css CHANGED
@@ -405,8 +405,10 @@
405
  #fbuilder .captcha img{ cursor:pointer; }
406
 
407
  #fbuilder input[type='radio'],
408
- #fbuilder input[type='checkbox']{width:auto;}
409
- .ui-tooltip.uh-tooltip{width:250px;font-size:10px;font-weight:normal;padding:5px;z-index:9999 !important;}
 
 
410
  .ui-tooltip img{max-width:100%;}
411
  #fbuilder input[type="checkbox"]{-webkit-appearance:checkbox!important;}
412
  #fbuilder input[type="radio"]{-webkit-appearance:radio!important;}
405
  #fbuilder .captcha img{ cursor:pointer; }
406
 
407
  #fbuilder input[type='radio'],
408
+ #fbuilder input[type='checkbox']{width:auto;height:auto;}
409
+ #fbuilder input[type='radio']:after,
410
+ #fbuilder input[type='checkbox']:after{display:none;}
411
+ .ui-tooltip.uh-tooltip{width:250px;font-size:10px;font-weight:normal;padding:5px;z-index:9999 !important;box-shadow:none;}
412
  .ui-tooltip img{max-width:100%;}
413
  #fbuilder input[type="checkbox"]{-webkit-appearance:checkbox!important;}
414
  #fbuilder input[type="radio"]{-webkit-appearance:radio!important;}
css/{cupertino/images/ui-bg_glass_80_eebd4d_1x400.png → ui-bg_glass_80_eebd4d_1x400.png} RENAMED
File without changes
css/{cupertino/images/ui-bg_glass_80_eebd4dc_1x400.png → ui-bg_glass_80_eebd4dc_1x400.png} RENAMED
File without changes
css/{cupertino/images/ui-icons_2e83ff_256x240.png → ui-icons_2e83ff_256x240.png} RENAMED
File without changes
inc/cpcff_admin_int.inc.php CHANGED
@@ -102,7 +102,7 @@ $cpcff_texts_array = CPCFF_AUXILIARY::array_replace_recursive(
102
  <p style="border:1px solid #F0AD4E;background:#FBE6CA;padding:10px;"><span style="font-weight:bold;"><?php _e('If the form is not loading in the public website, go to the settings page of the plugin through the menu option: "Settings/Calculated Fields Form", select the "Classic" option for the attribute: "Script load method", and press the "Update" button.','calculated-fields-form'); ?></span><br /><?php _e( 'If you need also the form to be sent to the server side for processing (for example to deliver emails) then the <a href="https://cff.dwbooster.com/" target="_blank">Professional or Developer versions</a> of the plugin will be required.', 'calculated-fields-form' ); ?></p>
103
  <input type="hidden" name="form_structure" id="form_structure" value="<?php print esc_attr(preg_replace('/&quot;/i', '&amp;quot;', json_encode($form_obj->get_option( 'form_structure', CP_CALCULATEDFIELDSF_DEFAULT_form_structure )))); ?>" />
104
  <input type="hidden" name="templates" id="templates" value="<?php print esc_attr( json_encode( CPCFF_TEMPLATES::load_templates() ) ); ?>" />
105
- <link href="<?php echo plugins_url('/css/cupertino/jquery-ui-1.8.20.custom.css', CP_CALCULATEDFIELDSF_MAIN_FILE_PATH); ?>" type="text/css" rel="stylesheet" property="stylesheet" />
106
  <pre style="display:none;">
107
  <script type="text/javascript">
108
  try
102
  <p style="border:1px solid #F0AD4E;background:#FBE6CA;padding:10px;"><span style="font-weight:bold;"><?php _e('If the form is not loading in the public website, go to the settings page of the plugin through the menu option: "Settings/Calculated Fields Form", select the "Classic" option for the attribute: "Script load method", and press the "Update" button.','calculated-fields-form'); ?></span><br /><?php _e( 'If you need also the form to be sent to the server side for processing (for example to deliver emails) then the <a href="https://cff.dwbooster.com/" target="_blank">Professional or Developer versions</a> of the plugin will be required.', 'calculated-fields-form' ); ?></p>
103
  <input type="hidden" name="form_structure" id="form_structure" value="<?php print esc_attr(preg_replace('/&quot;/i', '&amp;quot;', json_encode($form_obj->get_option( 'form_structure', CP_CALCULATEDFIELDSF_DEFAULT_form_structure )))); ?>" />
104
  <input type="hidden" name="templates" id="templates" value="<?php print esc_attr( json_encode( CPCFF_TEMPLATES::load_templates() ) ); ?>" />
105
+ <link href="https://cdnjs.cloudflare.com/ajax/libs/jqueryui/1.11.4/themes/cupertino/jquery-ui.min.css" type="text/css" rel="stylesheet" property="stylesheet" />
106
  <pre style="display:none;">
107
  <script type="text/javascript">
108
  try
inc/cpcff_main.inc.php CHANGED
@@ -803,6 +803,7 @@ if(!class_exists('CPCFF_MAIN'))
803
  // This code won't be used in most cases. This code is for preventing problems in wrong WP themes and conflicts with third party plugins.
804
  if( !$this->_are_resources_loaded ) // Load the resources only one time
805
  {
 
806
  $this->_are_resources_loaded = true; // Resources loaded
807
 
808
  $includes_url = includes_url();
@@ -816,10 +817,15 @@ if(!class_exists('CPCFF_MAIN'))
816
  print '<script type="text/javascript" src="'.$includes_url.'js/jquery/ui/'.$prefix_ui.'core.min.js"></script>';
817
  if(!wp_script_is('jquery-ui-datepicker', 'done'))
818
  print '<script type="text/javascript" src="'.$includes_url.'js/jquery/ui/'.$prefix_ui.'datepicker.min.js"></script>';
819
- if(!wp_script_is('jquery-ui-widget', 'done'))
820
- print '<script type="text/javascript" src="'.$includes_url.'js/jquery/ui/'.$prefix_ui.'widget.min.js"></script>';
821
- if(!wp_script_is('jquery-ui-position', 'done'))
822
- print '<script type="text/javascript" src="'.$includes_url.'js/jquery/ui/'.$prefix_ui.'position.min.js"></script>';
 
 
 
 
 
823
  if(!wp_script_is('jquery-ui-tooltip', 'done'))
824
  print '<script type="text/javascript" src="'.$includes_url.'js/jquery/ui/'.$prefix_ui.'tooltip.min.js"></script>';
825
  if(!wp_script_is('jquery-ui-mouse', 'done'))
803
  // This code won't be used in most cases. This code is for preventing problems in wrong WP themes and conflicts with third party plugins.
804
  if( !$this->_are_resources_loaded ) // Load the resources only one time
805
  {
806
+ global $wp_version;
807
  $this->_are_resources_loaded = true; // Resources loaded
808
 
809
  $includes_url = includes_url();
817
  print '<script type="text/javascript" src="'.$includes_url.'js/jquery/ui/'.$prefix_ui.'core.min.js"></script>';
818
  if(!wp_script_is('jquery-ui-datepicker', 'done'))
819
  print '<script type="text/javascript" src="'.$includes_url.'js/jquery/ui/'.$prefix_ui.'datepicker.min.js"></script>';
820
+
821
+ if(version_compare($wp_version,'5.5.4', '<'))
822
+ {
823
+ if(!wp_script_is('jquery-ui-widget', 'done'))
824
+ print '<script type="text/javascript" src="'.$includes_url.'js/jquery/ui/'.$prefix_ui.'widget.min.js"></script>';
825
+ if(!wp_script_is('jquery-ui-position', 'done'))
826
+ print '<script type="text/javascript" src="'.$includes_url.'js/jquery/ui/'.$prefix_ui.'position.min.js"></script>';
827
+ }
828
+
829
  if(!wp_script_is('jquery-ui-tooltip', 'done'))
830
  print '<script type="text/javascript" src="'.$includes_url.'js/jquery/ui/'.$prefix_ui.'tooltip.min.js"></script>';
831
  if(!wp_script_is('jquery-ui-mouse', 'done'))
inc/cpcff_public_int.inc.php CHANGED
@@ -24,8 +24,8 @@ if( function_exists( 'w3_instance' ) )
24
 
25
  add_filter( 'style_loader_tag', array('CPCFF_AUXILIARY', 'complete_link_tag') );
26
 
27
- wp_enqueue_style( 'cpcff_stylepublic', plugins_url('/css/stylepublic.css', CP_CALCULATEDFIELDSF_MAIN_FILE_PATH));
28
- wp_enqueue_style( 'cpcff_jquery_ui' , plugins_url('/css/cupertino/jquery-ui-1.8.20.custom.css', CP_CALCULATEDFIELDSF_MAIN_FILE_PATH));
29
 
30
  $cpcff_main = CPCFF_MAIN::instance();
31
  $form_obj = $cpcff_main->get_form($id);
24
 
25
  add_filter( 'style_loader_tag', array('CPCFF_AUXILIARY', 'complete_link_tag') );
26
 
27
+ wp_enqueue_style( 'cpcff_stylepublic', plugins_url('/css/stylepublic.css', CP_CALCULATEDFIELDSF_MAIN_FILE_PATH), array(), CP_CALCULATEDFIELDSF_VERSION );
28
+ wp_enqueue_style( 'cpcff_jquery_ui' , 'https://cdnjs.cloudflare.com/ajax/libs/jqueryui/1.12.1/themes/cupertino/jquery-ui.min.css', array(), CP_CALCULATEDFIELDSF_VERSION );
29
 
30
  $cpcff_main = CPCFF_MAIN::instance();
31
  $form_obj = $cpcff_main->get_form($id);
js/fields-admin/01_fbuilder.ftext.js CHANGED
@@ -25,7 +25,7 @@
25
  regExpMssg:"",
26
  display:function()
27
  {
28
- return '<div class="fields '+this.name+'" id="field'+this.form_identifier+'-'+this.index+'" title="'+this.name+'"><div class="arrow ui-icon ui-icon-play "></div><div title="Delete" class="remove ui-icon ui-icon-trash "></div><div title="Duplicate" class="copy ui-icon ui-icon-copy "></div><label>'+this.title+''+((this.required)?"*":"")+'</label><div class="dfield"><input class="field disabled '+this.size+'" type="text" value="'+$.fbuilder.htmlEncode(this.predefined)+'"/><span class="uh">'+this.userhelp+'</span></div><div class="clearer" /></div>';
29
  },
30
  editItemEvents:function()
31
  {
25
  regExpMssg:"",
26
  display:function()
27
  {
28
+ return '<div class="fields '+this.name+' '+this.ftype+'" id="field'+this.form_identifier+'-'+this.index+'" title="'+this.name+'"><div class="arrow ui-icon ui-icon-play "></div><div title="Delete" class="remove ui-icon ui-icon-trash "></div><div title="Duplicate" class="copy ui-icon ui-icon-copy "></div><label>'+this.title+''+((this.required)?"*":"")+'</label><div class="dfield"><input class="field disabled '+this.size+'" type="text" value="'+$.fbuilder.htmlEncode(this.predefined)+'"/><span class="uh">'+this.userhelp+'</span></div><div class="clearer" /></div>';
29
  },
30
  editItemEvents:function()
31
  {
js/fields-admin/02_fbuilder.fcurrency.js CHANGED
@@ -71,7 +71,7 @@
71
  },
72
  display:function()
73
  {
74
- return '<div class="fields '+this.name+'" id="field'+this.form_identifier+'-'+this.index+'" title="'+this.name+'"><div class="arrow ui-icon ui-icon-play "></div><div title="Delete" class="remove ui-icon ui-icon-trash "></div><div title="Duplicate" class="copy ui-icon ui-icon-copy "></div><label>'+this.title+''+((this.required)?"*":"")+'</label><div class="dfield"><input class="field disabled '+this.size+'" type="text" value="'+$.fbuilder.htmlEncode(this.getPredefinedValue())+'"/><span class="uh">'+this.userhelp+'</span></div><div class="clearer" /></div>';
75
  },
76
  editItemEvents:function()
77
  {
71
  },
72
  display:function()
73
  {
74
+ return '<div class="fields '+this.name+' '+this.ftype+'" id="field'+this.form_identifier+'-'+this.index+'" title="'+this.name+'"><div class="arrow ui-icon ui-icon-play "></div><div title="Delete" class="remove ui-icon ui-icon-trash "></div><div title="Duplicate" class="copy ui-icon ui-icon-copy "></div><label>'+this.title+''+((this.required)?"*":"")+'</label><div class="dfield"><input class="field disabled '+this.size+'" type="text" value="'+$.fbuilder.htmlEncode(this.getPredefinedValue())+'"/><span class="uh">'+this.userhelp+'</span></div><div class="clearer" /></div>';
75
  },
76
  editItemEvents:function()
77
  {
js/fields-admin/02_fbuilder.fnumber.js CHANGED
@@ -27,7 +27,7 @@
27
  formats:new Array("digits","number", "percent"),
28
  display:function()
29
  {
30
- return '<div class="fields '+this.name+'" id="field'+this.form_identifier+'-'+this.index+'" title="'+this.name+'"><div class="arrow ui-icon ui-icon-play "></div><div title="Delete" class="remove ui-icon ui-icon-trash "></div><div title="Duplicate" class="copy ui-icon ui-icon-copy "></div><label>'+this.title+''+((this.required)?"*":"")+'</label><div class="dfield"><input class="field disabled '+this.size+'" type="text" value="'+$.fbuilder.htmlEncode(this.predefined)+'"/><span class="uh">'+this.userhelp+'</span></div><div class="clearer" /></div>';
31
  },
32
  editItemEvents:function()
33
  {
27
  formats:new Array("digits","number", "percent"),
28
  display:function()
29
  {
30
+ return '<div class="fields '+this.name+' '+this.ftype+'" id="field'+this.form_identifier+'-'+this.index+'" title="'+this.name+'"><div class="arrow ui-icon ui-icon-play "></div><div title="Delete" class="remove ui-icon ui-icon-trash "></div><div title="Duplicate" class="copy ui-icon ui-icon-copy "></div><label>'+this.title+''+((this.required)?"*":"")+'</label><div class="dfield"><input class="field disabled '+this.size+'" type="text" value="'+$.fbuilder.htmlEncode(this.predefined)+'"/><span class="uh">'+this.userhelp+'</span></div><div class="clearer" /></div>';
31
  },
32
  editItemEvents:function()
33
  {
js/fields-admin/02_fbuilder.fslider.js CHANGED
@@ -30,7 +30,7 @@
30
  maxCaption:"",
31
  display:function()
32
  {
33
- return '<div class="fields '+this.name+'" id="field'+this.form_identifier+'-'+this.index+'" title="'+this.name+'"><div class="arrow ui-icon ui-icon-play "></div><div title="Delete" class="remove ui-icon ui-icon-trash "></div><div title="Duplicate" class="copy ui-icon ui-icon-copy "></div><label>'+this.title+'</label><div class="dfield"><input class="field disabled '+this.size+'" type="text" value="'+( ( !this.range ) ? $.fbuilder.htmlEncode( this.predefined ) : $.fbuilder.htmlEncode( '['+this.predefinedMin+','+this.predefinedMax+']' ) )+'"/><span class="uh">'+this.userhelp+'</span></div><div class="clearer" /></div>';
34
  },
35
  editItemEvents:function()
36
  {
30
  maxCaption:"",
31
  display:function()
32
  {
33
+ return '<div class="fields '+this.name+' '+this.ftype+'" id="field'+this.form_identifier+'-'+this.index+'" title="'+this.name+'"><div class="arrow ui-icon ui-icon-play "></div><div title="Delete" class="remove ui-icon ui-icon-trash "></div><div title="Duplicate" class="copy ui-icon ui-icon-copy "></div><label>'+this.title+'</label><div class="dfield"><input class="field disabled '+this.size+'" type="text" value="'+( ( !this.range ) ? $.fbuilder.htmlEncode( this.predefined ) : $.fbuilder.htmlEncode( '['+this.predefinedMin+','+this.predefinedMax+']' ) )+'"/><span class="uh">'+this.userhelp+'</span></div><div class="clearer" /></div>';
34
  },
35
  editItemEvents:function()
36
  {
js/fields-admin/03_fbuilder.femail.js CHANGED
@@ -23,7 +23,7 @@
23
  regExpMssg:"",
24
  display:function()
25
  {
26
- return '<div class="fields '+this.name+'" id="field'+this.form_identifier+'-'+this.index+'" title="'+this.name+'"><div class="arrow ui-icon ui-icon-play "></div><div title="Delete" class="remove ui-icon ui-icon-trash "></div><div title="Duplicate" class="copy ui-icon ui-icon-copy "></div><label>'+this.title+''+((this.required)?"*":"")+'</label><div class="dfield"><input class="field disabled '+this.size+'" type="text" value="'+$.fbuilder.htmlEncode(this.predefined)+'"/><span class="uh">'+this.userhelp+'</span></div><div class="clearer" /></div>';
27
  },
28
  editItemEvents:function()
29
  {
23
  regExpMssg:"",
24
  display:function()
25
  {
26
+ return '<div class="fields '+this.name+' '+this.ftype+'" id="field'+this.form_identifier+'-'+this.index+'" title="'+this.name+'"><div class="arrow ui-icon ui-icon-play "></div><div title="Delete" class="remove ui-icon ui-icon-trash "></div><div title="Duplicate" class="copy ui-icon ui-icon-copy "></div><label>'+this.title+''+((this.required)?"*":"")+'</label><div class="dfield"><input class="field disabled '+this.size+'" type="text" value="'+$.fbuilder.htmlEncode(this.predefined)+'"/><span class="uh">'+this.userhelp+'</span></div><div class="clearer" /></div>';
27
  },
28
  editItemEvents:function()
29
  {
js/fields-admin/04_fbuilder.fdate.js CHANGED
@@ -52,7 +52,7 @@
52
  {
53
  var me = this,
54
  dformat = me.dformat.replace(/\//g, me.dseparator);
55
- return '<div class="fields '+me.name+'" id="field'+me.form_identifier+'-'+me.index+'" title="'+me.name+'"><div class="arrow ui-icon ui-icon-play "></div><div title="Delete" class="remove ui-icon ui-icon-trash "></div><div title="Duplicate" class="copy ui-icon ui-icon-copy "></div><label>'+me.title+''+((me.required)?"*":"")+' ('+dformat+')</label><div class="dfield"><input class="field disabled '+me.size+'" type="text" value="'+$.fbuilder.htmlEncode(me.predefined)+'"/><span class="uh">'+me.userhelp+'</span></div><div class="clearer" /></div>';
56
  },
57
  editItemEvents:function()
58
  {
52
  {
53
  var me = this,
54
  dformat = me.dformat.replace(/\//g, me.dseparator);
55
+ return '<div class="fields '+me.name+' '+this.ftype+'" id="field'+me.form_identifier+'-'+me.index+'" title="'+me.name+'"><div class="arrow ui-icon ui-icon-play "></div><div title="Delete" class="remove ui-icon ui-icon-trash "></div><div title="Duplicate" class="copy ui-icon ui-icon-copy "></div><label>'+me.title+''+((me.required)?"*":"")+' ('+dformat+')</label><div class="dfield"><input class="field disabled '+me.size+'" type="text" value="'+$.fbuilder.htmlEncode(me.predefined)+'"/><span class="uh">'+me.userhelp+'</span></div><div class="clearer" /></div>';
56
  },
57
  editItemEvents:function()
58
  {
js/fields-admin/05_fbuilder.ftextarea.js CHANGED
@@ -23,7 +23,7 @@
23
  rows:4,
24
  display:function()
25
  {
26
- return '<div class="fields '+this.name+'" id="field'+this.form_identifier+'-'+this.index+'" title="'+this.name+'"><div class="arrow ui-icon ui-icon-play "></div><div title="Delete" class="remove ui-icon ui-icon-trash "></div><div title="Duplicate" class="copy ui-icon ui-icon-copy "></div><label>'+this.title+''+((this.required)?"*":"")+'</label><div class="dfield"><textarea '+((!/^\s*$/.test(this.rows)) ? 'rows='+this.rows : '' )+' class="field disabled '+this.size+'">'+this.predefined+'</textarea><span class="uh">'+this.userhelp+'</span></div><div class="clearer" /></div>';
27
  },
28
  editItemEvents:function()
29
  {
23
  rows:4,
24
  display:function()
25
  {
26
+ return '<div class="fields '+this.name+' '+this.ftype+'" id="field'+this.form_identifier+'-'+this.index+'" title="'+this.name+'"><div class="arrow ui-icon ui-icon-play "></div><div title="Delete" class="remove ui-icon ui-icon-trash "></div><div title="Duplicate" class="copy ui-icon ui-icon-copy "></div><label>'+this.title+''+((this.required)?"*":"")+'</label><div class="dfield"><textarea '+((!/^\s*$/.test(this.rows)) ? 'rows='+this.rows : '' )+' class="field disabled '+this.size+'">'+this.predefined+'</textarea><span class="uh">'+this.userhelp+'</span></div><div class="clearer" /></div>';
27
  },
28
  editItemEvents:function()
29
  {
js/fields-admin/06_fbuilder.fcheck.js CHANGED
@@ -35,7 +35,7 @@
35
  {
36
  str += '<div class="'+this.layout+'"><input class="field" disabled="true" type="checkbox" '+((this.choiceSelected[i])?"checked":"")+'/> '+$.fbuilder.htmlDecode(this.choices[i])+'</div>';
37
  }
38
- return '<div class="fields '+this.name+'" id="field'+this.form_identifier+'-'+this.index+'" title="'+this.name+'"><div class="arrow ui-icon ui-icon-play "></div><div title="Delete" class="remove ui-icon ui-icon-trash "></div><div title="Duplicate" class="copy ui-icon ui-icon-copy "></div><label>'+this.title+''+((this.required)?"*":"")+'</label><div class="dfield">'+str+'<span class="uh">'+this.userhelp+'</span></div><div class="clearer" /></div>';
39
  },
40
  editItemEvents:function()
41
  {
35
  {
36
  str += '<div class="'+this.layout+'"><input class="field" disabled="true" type="checkbox" '+((this.choiceSelected[i])?"checked":"")+'/> '+$.fbuilder.htmlDecode(this.choices[i])+'</div>';
37
  }
38
+ return '<div class="fields '+this.name+' '+this.ftype+'" id="field'+this.form_identifier+'-'+this.index+'" title="'+this.name+'"><div class="arrow ui-icon ui-icon-play "></div><div title="Delete" class="remove ui-icon ui-icon-trash "></div><div title="Duplicate" class="copy ui-icon ui-icon-copy "></div><label>'+this.title+''+((this.required)?"*":"")+'</label><div class="dfield">'+str+'<span class="uh">'+this.userhelp+'</span></div><div class="clearer" /></div>';
39
  },
40
  editItemEvents:function()
41
  {
js/fields-admin/07_fbuilder.fradio.js CHANGED
@@ -33,7 +33,7 @@
33
  {
34
  str += '<div class="'+this.layout+'"><input class="field" disabled="true" type="radio" i="'+i+'" '+(( this.choices[i]+' - '+this.choicesVal[i]==this.choiceSelected)?"checked":"")+'/> '+$.fbuilder.htmlDecode( this.choices[i] )+'</div>';
35
  }
36
- return '<div class="fields '+this.name+'" id="field'+this.form_identifier+'-'+this.index+'" title="'+this.name+'"><div class="arrow ui-icon ui-icon-play "></div><div title="Delete" class="remove ui-icon ui-icon-trash "></div><div title="Duplicate" class="copy ui-icon ui-icon-copy "></div><label>'+this.title+''+((this.required)?"*":"")+'</label><div class="dfield">'+str+'<span class="uh">'+this.userhelp+'</span></div><div class="clearer" /></div>';
37
  },
38
  editItemEvents:function()
39
  {
33
  {
34
  str += '<div class="'+this.layout+'"><input class="field" disabled="true" type="radio" i="'+i+'" '+(( this.choices[i]+' - '+this.choicesVal[i]==this.choiceSelected)?"checked":"")+'/> '+$.fbuilder.htmlDecode( this.choices[i] )+'</div>';
35
  }
36
+ return '<div class="fields '+this.name+' '+this.ftype+'" id="field'+this.form_identifier+'-'+this.index+'" title="'+this.name+'"><div class="arrow ui-icon ui-icon-play "></div><div title="Delete" class="remove ui-icon ui-icon-trash "></div><div title="Duplicate" class="copy ui-icon ui-icon-copy "></div><label>'+this.title+''+((this.required)?"*":"")+'</label><div class="dfield">'+str+'<span class="uh">'+this.userhelp+'</span></div><div class="clearer" /></div>';
37
  },
38
  editItemEvents:function()
39
  {
js/fields-admin/08_fbuilder.fdropdown.js CHANGED
@@ -31,7 +31,7 @@
31
  display:function()
32
  {
33
  this.choicesVal = ((typeof(this.choicesVal) != "undefined" && this.choicesVal !== null)?this.choicesVal:this.choices.slice(0));
34
- return '<div class="fields '+this.name+'" id="field'+this.form_identifier+'-'+this.index+'" title="'+this.name+'"><div class="arrow ui-icon ui-icon-play "></div><div title="Delete" class="remove ui-icon ui-icon-trash "></div><div title="Duplicate" class="copy ui-icon ui-icon-copy "></div><label>'+this.title+''+((this.required)?"*":"")+'</label><div class="dfield"><select class="field disabled '+this.size+'" ><option>'+this.choiceSelected+'</option></select><span class="uh">'+this.userhelp+'</span></div><div class="clearer" /></div>';
35
  },
36
  editItemEvents:function()
37
  {
31
  display:function()
32
  {
33
  this.choicesVal = ((typeof(this.choicesVal) != "undefined" && this.choicesVal !== null)?this.choicesVal:this.choices.slice(0));
34
+ return '<div class="fields '+this.name+' '+this.ftype+'" id="field'+this.form_identifier+'-'+this.index+'" title="'+this.name+'"><div class="arrow ui-icon ui-icon-play "></div><div title="Delete" class="remove ui-icon ui-icon-trash "></div><div title="Duplicate" class="copy ui-icon ui-icon-copy "></div><label>'+this.title+''+((this.required)?"*":"")+'</label><div class="dfield"><select class="field disabled '+this.size+'" ><option>'+this.choiceSelected+'</option></select><span class="uh">'+this.userhelp+'</span></div><div class="clearer" /></div>';
35
  },
36
  editItemEvents:function()
37
  {
js/fields-admin/09_fbuilder.ffile.js CHANGED
@@ -23,7 +23,7 @@
23
  thumb_height: '',
24
  display:function()
25
  {
26
- return '<div class="fields '+this.name+'" id="field'+this.form_identifier+'-'+this.index+'" title="'+this.name+'"><div class="arrow ui-icon ui-icon-play "></div><div title="Delete" class="remove ui-icon ui-icon-trash "></div><div title="Duplicate" class="copy ui-icon ui-icon-copy "></div><label>'+this.title+''+((this.required)?"*":"")+'</label><div class="dfield"><input type="file" disabled class="field '+this.size+'" /><span class="uh">'+this.userhelp+'</span></div><div class="clearer" /></div>';
27
  },
28
  editItemEvents:function()
29
  {
23
  thumb_height: '',
24
  display:function()
25
  {
26
+ return '<div class="fields '+this.name+' '+this.ftype+'" id="field'+this.form_identifier+'-'+this.index+'" title="'+this.name+'"><div class="arrow ui-icon ui-icon-play "></div><div title="Delete" class="remove ui-icon ui-icon-trash "></div><div title="Duplicate" class="copy ui-icon ui-icon-copy "></div><label>'+this.title+''+((this.required)?"*":"")+'</label><div class="dfield"><input type="file" disabled class="field '+this.size+'" /><span class="uh">'+this.userhelp+'</span></div><div class="clearer" /></div>';
27
  },
28
  editItemEvents:function()
29
  {
js/fields-admin/10_fbuilder.fpassword.js CHANGED
@@ -24,7 +24,7 @@
24
  regExpMssg:"",
25
  display:function()
26
  {
27
- return '<div class="fields '+this.name+'" id="field'+this.form_identifier+'-'+this.index+'" title="'+this.name+'"><div class="arrow ui-icon ui-icon-play "></div><div title="Delete" class="remove ui-icon ui-icon-trash "></div><div title="Duplicate" class="copy ui-icon ui-icon-copy "></div><label>'+this.title+''+((this.required)?"*":"")+'</label><div class="dfield"><input class="field disabled '+this.size+'" type="password" value="'+$.fbuilder.htmlEncode(this.predefined)+'"/><span class="uh">'+this.userhelp+'</span></div><div class="clearer" /></div>';
28
  },
29
  editItemEvents:function()
30
  {
24
  regExpMssg:"",
25
  display:function()
26
  {
27
+ return '<div class="fields '+this.name+' '+this.ftype+'" id="field'+this.form_identifier+'-'+this.index+'" title="'+this.name+'"><div class="arrow ui-icon ui-icon-play "></div><div title="Delete" class="remove ui-icon ui-icon-trash "></div><div title="Duplicate" class="copy ui-icon ui-icon-copy "></div><label>'+this.title+''+((this.required)?"*":"")+'</label><div class="dfield"><input class="field disabled '+this.size+'" type="password" value="'+$.fbuilder.htmlEncode(this.predefined)+'"/><span class="uh">'+this.userhelp+'</span></div><div class="clearer" /></div>';
28
  },
29
  editItemEvents:function()
30
  {
js/fields-admin/11_fbuilder.fphone.js CHANGED
@@ -36,7 +36,7 @@
36
  str += '<div class="uh_phone" ><input type="text" class="field disabled" style="width:'+(15*$.trim(tmp[i]).length)+'px" value="'+((tmpv[i])?tmpv[i]:"")+'" maxlength="'+$.trim(tmp[i]).length+'" /><div class="l">'+$.trim(tmp[i])+'</div></div>';
37
  }
38
  }
39
- return '<div class="fields '+this.name+'" id="field'+this.form_identifier+'-'+this.index+'" title="'+this.name+'"><div class="arrow ui-icon ui-icon-play "></div><div title="Delete" class="remove ui-icon ui-icon-trash "></div><div title="Duplicate" class="copy ui-icon ui-icon-copy "></div><label>'+this.title+''+((this.required)?"*":"")+'</label><div class="dfield">'+str+'<span class="uh">'+this.userhelp+'</span></div><div class="clearer" /></div>';
40
  },
41
  editItemEvents:function()
42
  {
36
  str += '<div class="uh_phone" ><input type="text" class="field disabled" style="width:'+(15*$.trim(tmp[i]).length)+'px" value="'+((tmpv[i])?tmpv[i]:"")+'" maxlength="'+$.trim(tmp[i]).length+'" /><div class="l">'+$.trim(tmp[i])+'</div></div>';
37
  }
38
  }
39
+ return '<div class="fields '+this.name+' '+this.ftype+'" id="field'+this.form_identifier+'-'+this.index+'" title="'+this.name+'"><div class="arrow ui-icon ui-icon-play "></div><div title="Delete" class="remove ui-icon ui-icon-trash "></div><div title="Duplicate" class="copy ui-icon ui-icon-copy "></div><label>'+this.title+''+((this.required)?"*":"")+'</label><div class="dfield">'+str+'<span class="uh">'+this.userhelp+'</span></div><div class="clearer" /></div>';
40
  },
41
  editItemEvents:function()
42
  {
js/fields-admin/12_fbuilder.fcommentarea.js CHANGED
@@ -15,7 +15,7 @@
15
  userhelp:"A description of the section goes here.",
16
  display:function()
17
  {
18
- return '<div class="fields '+this.name+'" id="field'+this.form_identifier+'-'+this.index+'" title="'+this.name+'"><div class="arrow ui-icon ui-icon-play "></div><div title="Delete" class="remove ui-icon ui-icon-trash "></div><div title="Duplicate" class="copy ui-icon ui-icon-copy "></div><label>'+this.title+'</label><span class="uh">'+this.userhelp+'</span><div class="clearer" /></div>';
19
  },
20
  editItemEvents:function()
21
  {
15
  userhelp:"A description of the section goes here.",
16
  display:function()
17
  {
18
+ return '<div class="fields '+this.name+' '+this.ftype+'" id="field'+this.form_identifier+'-'+this.index+'" title="'+this.name+'"><div class="arrow ui-icon ui-icon-play "></div><div title="Delete" class="remove ui-icon ui-icon-trash "></div><div title="Duplicate" class="copy ui-icon ui-icon-copy "></div><label>'+this.title+'</label><span class="uh">'+this.userhelp+'</span><div class="clearer" /></div>';
19
  },
20
  editItemEvents:function()
21
  {
js/fields-admin/13_fbuilder.fhidden.js CHANGED
@@ -16,7 +16,7 @@
16
  predefined:"",
17
  display:function()
18
  {
19
- return '<div class="fields '+this.name+'" id="field'+this.form_identifier+'-'+this.index+'" title="'+this.name+'"><div class="arrow ui-icon ui-icon-play "></div><div title="Delete" class="remove ui-icon ui-icon-trash "></div><div title="Duplicate" class="copy ui-icon ui-icon-copy "></div><label>'+this.title+'</label><span class="uh">'+this.predefined+'</span><div class="clearer" /></div>';
20
  },
21
  editItemEvents:function()
22
  {
16
  predefined:"",
17
  display:function()
18
  {
19
+ return '<div class="fields '+this.name+' '+this.ftype+'" id="field'+this.form_identifier+'-'+this.index+'" title="'+this.name+'"><div class="arrow ui-icon ui-icon-play "></div><div title="Delete" class="remove ui-icon ui-icon-trash "></div><div title="Duplicate" class="copy ui-icon ui-icon-copy "></div><label>'+this.title+'</label><span class="uh">'+this.predefined+'</span><div class="clearer" /></div>';
20
  },
21
  editItemEvents:function()
22
  {
js/fields-admin/14_fbuilder.fsectionbreak.js CHANGED
@@ -15,7 +15,7 @@
15
  userhelp:"A description of the section goes here.",
16
  display:function()
17
  {
18
- return '<div class="fields '+this.name+'" id="field'+this.form_identifier+'-'+this.index+'" title="'+this.name+'"><div class="arrow ui-icon ui-icon-play "></div><div title="Delete" class="remove ui-icon ui-icon-trash "></div><div title="Duplicate" class="copy ui-icon ui-icon-copy "></div><div class="section_break"></div><label>'+this.title+'</label><span class="uh">'+this.userhelp+'</span><div class="clearer" /></div>';
19
  },
20
  editItemEvents:function()
21
  {
15
  userhelp:"A description of the section goes here.",
16
  display:function()
17
  {
18
+ return '<div class="fields '+this.name+' '+this.ftype+'" id="field'+this.form_identifier+'-'+this.index+'" title="'+this.name+'"><div class="arrow ui-icon ui-icon-play "></div><div title="Delete" class="remove ui-icon ui-icon-trash "></div><div title="Duplicate" class="copy ui-icon ui-icon-copy "></div><div class="section_break"></div><label>'+this.title+'</label><span class="uh">'+this.userhelp+'</span><div class="clearer" /></div>';
19
  },
20
  editItemEvents:function()
21
  {
js/fields-admin/15_fbuilder.fpagebreak.js CHANGED
@@ -14,7 +14,7 @@
14
  ftype:"fPageBreak",
15
  display:function()
16
  {
17
- return '<div class="fields '+this.name+'" id="field'+this.form_identifier+'-'+this.index+'" title="'+this.name+'"><div class="arrow ui-icon ui-icon-play "></div><div title="Delete" class="remove ui-icon ui-icon-trash "></div><div title="Duplicate" class="copy ui-icon ui-icon-copy "></div><div class="section_break"></div><label>'+this.title+'</label><span class="uh">'+this.userhelp+'</span><div class="clearer" /></div>';
18
  },
19
  editItemEvents:function()
20
  {
14
  ftype:"fPageBreak",
15
  display:function()
16
  {
17
+ return '<div class="fields '+this.name+' '+this.ftype+'" id="field'+this.form_identifier+'-'+this.index+'" title="'+this.name+'"><div class="arrow ui-icon ui-icon-play "></div><div title="Delete" class="remove ui-icon ui-icon-trash "></div><div title="Duplicate" class="copy ui-icon ui-icon-copy "></div><div class="section_break"></div><label>'+this.title+'</label><span class="uh">'+this.userhelp+'</span><div class="clearer" /></div>';
18
  },
19
  editItemEvents:function()
20
  {
js/fields-admin/16_fbuilder.fsummary.js CHANGED
@@ -17,7 +17,7 @@
17
  valueClassname:"summary-field-value",
18
  display:function()
19
  {
20
- return '<div class="fields '+this.name+'" id="field'+this.form_identifier+'-'+this.index+'" title="'+this.name+'"><div class="arrow ui-icon ui-icon-play "></div><div title="Delete" class="remove ui-icon ui-icon-trash "></div><div title="Duplicate" class="copy ui-icon ui-icon-copy "></div><label>'+this.title+''+((this.required)?"*":"")+'</label><div class="dfield"><span class="field">'+this.fields+'</span></div><div class="clearer" /></div>';
21
  },
22
  editItemEvents:function()
23
  {
17
  valueClassname:"summary-field-value",
18
  display:function()
19
  {
20
+ return '<div class="fields '+this.name+' '+this.ftype+'" id="field'+this.form_identifier+'-'+this.index+'" title="'+this.name+'"><div class="arrow ui-icon ui-icon-play "></div><div title="Delete" class="remove ui-icon ui-icon-trash "></div><div title="Duplicate" class="copy ui-icon ui-icon-copy "></div><label>'+this.title+''+((this.required)?"*":"")+'</label><div class="dfield"><span class="field">'+this.fields+'</span></div><div class="clearer" /></div>';
21
  },
22
  editItemEvents:function()
23
  {
js/fields-admin/29_fbuilder.ffieldset.fc.js CHANGED
@@ -19,7 +19,7 @@
19
  collapsed:false, // Admin
20
  display:function()
21
  {
22
- return '<div class="fields '+this.name+((this.collapsed) ? ' collapsed' : '')+'" id="field'+this.form_identifier+'-'+this.index+'" title="'+this.name+'"><div class="arrow ui-icon ui-icon-play "></div><div title="Collapse" class="collapse ui-icon ui-icon-folder-collapsed "></div><div title="Uncollapse" class="uncollapse ui-icon ui-icon-folder-open "></div><div title="Delete" class="remove ui-icon ui-icon-trash "></div><div title="Duplicate" class="copy ui-icon ui-icon-copy "></div><div class="dfield"><FIELDSET class="fcontainer">'+( ( !/^\s*$/.test( this.title ) ) ? '<LEGEND>'+this.title+'</LEGEND>' : '' )+'<label class="collapsed-label">Collapsed ['+this.name+']</label><div class="fieldscontainer"></div></FIELDSET></div><div class="clearer" /></div>';
23
  },
24
  editItemEvents:function()
25
  {
19
  collapsed:false, // Admin
20
  display:function()
21
  {
22
+ return '<div class="fields '+this.name+((this.collapsed) ? ' collapsed' : '')+' '+this.ftype+'" id="field'+this.form_identifier+'-'+this.index+'" title="'+this.name+'"><div class="arrow ui-icon ui-icon-play "></div><div title="Collapse" class="collapse ui-icon ui-icon-folder-collapsed "></div><div title="Uncollapse" class="uncollapse ui-icon ui-icon-folder-open "></div><div title="Delete" class="remove ui-icon ui-icon-trash "></div><div title="Duplicate" class="copy ui-icon ui-icon-copy "></div><div class="dfield"><FIELDSET class="fcontainer">'+( ( !/^\s*$/.test( this.title ) ) ? '<LEGEND>'+this.title+'</LEGEND>' : '' )+'<label class="collapsed-label">Collapsed ['+this.name+']</label><div class="fieldscontainer"></div></FIELDSET></div><div class="clearer" /></div>';
23
  },
24
  editItemEvents:function()
25
  {
js/fields-admin/30_fbuilder.fdiv.fc.js CHANGED
@@ -18,7 +18,7 @@
18
  collapsed:false,
19
  display:function()
20
  {
21
- return '<div class="fields '+this.name+((this.collapsed) ? ' collapsed' : '')+'" id="field'+this.form_identifier+'-'+this.index+'" title="'+this.name+'"><div class="arrow ui-icon ui-icon-play "></div><div title="Collapse" class="collapse ui-icon ui-icon-folder-collapsed "></div><div title="Uncollapse" class="uncollapse ui-icon ui-icon-folder-open "></div><div title="Delete" class="remove ui-icon ui-icon-trash "></div><div title="Duplicate" class="copy ui-icon ui-icon-copy "></div><div class="dfield"><div class="fcontainer"><label class="collapsed-label">Collapsed ['+this.name+']</label><div class="fieldscontainer"></div></div></div><div class="clearer" /></div>';
22
  },
23
  showTitle:function(){ return ''; },
24
  editItemEvents:function()
18
  collapsed:false,
19
  display:function()
20
  {
21
+ return '<div class="fields '+this.name+((this.collapsed) ? ' collapsed' : '')+' '+this.ftype+'" id="field'+this.form_identifier+'-'+this.index+'" title="'+this.name+'"><div class="arrow ui-icon ui-icon-play "></div><div title="Collapse" class="collapse ui-icon ui-icon-folder-collapsed "></div><div title="Uncollapse" class="uncollapse ui-icon ui-icon-folder-open "></div><div title="Delete" class="remove ui-icon ui-icon-trash "></div><div title="Duplicate" class="copy ui-icon ui-icon-copy "></div><div class="dfield"><div class="fcontainer"><label class="collapsed-label">Collapsed ['+this.name+']</label><div class="fieldscontainer"></div></div></div><div class="clearer" /></div>';
22
  },
23
  showTitle:function(){ return ''; },
24
  editItemEvents:function()
js/fields-admin/31_fbuilder.fmedia.js CHANGED
@@ -108,7 +108,7 @@
108
  },
109
  display:function()
110
  {
111
- return '<div class="fields fmark '+this.name+'" id="field'+this.form_identifier+'-'+this.index+'" title="'+this.name+'"><div class="arrow ui-icon ui-icon-play "></div><div title="Delete" class="remove ui-icon ui-icon-trash "></div><div title="Duplicate" class="copy ui-icon ui-icon-copy "></div><label>'+this[ '_display_' + this.sMediaType ]()+'</label><span class="uh">'+this.data[ this.sMediaType ][ 'sFigcaption' ]+'</span><div class="clearer" /></div>';
112
  },
113
  editItemEvents:function()
114
  {
108
  },
109
  display:function()
110
  {
111
+ return '<div class="fields fmark '+this.name+' '+this.ftype+'" id="field'+this.form_identifier+'-'+this.index+'" title="'+this.name+'"><div class="arrow ui-icon ui-icon-play "></div><div title="Delete" class="remove ui-icon ui-icon-trash "></div><div title="Duplicate" class="copy ui-icon ui-icon-copy "></div><label>'+this[ '_display_' + this.sMediaType ]()+'</label><span class="uh">'+this.data[ this.sMediaType ][ 'sFigcaption' ]+'</span><div class="clearer" /></div>';
112
  },
113
  editItemEvents:function()
114
  {
js/fields-admin/32_fbuilder.fbutton.js CHANGED
@@ -18,7 +18,7 @@
18
  userhelp:"A description of the section goes here.",
19
  display:function()
20
  {
21
- return '<div class="fields '+this.name+'" id="field'+this.form_identifier+'-'+this.index+'" title="'+this.name+'"><div class="arrow ui-icon ui-icon-play "></div><div title="Delete" class="remove ui-icon ui-icon-trash "></div><div title="Duplicate" class="copy ui-icon ui-icon-copy "></div><input type="button" disabled value="'+$.fbuilder.htmlEncode(this.sValue)+'"><span class="uh">'+this.userhelp+'</span><div class="clearer" /></div>';
22
  },
23
  editItemEvents:function()
24
  {
18
  userhelp:"A description of the section goes here.",
19
  display:function()
20
  {
21
+ return '<div class="fields '+this.name+' '+this.ftype+'" id="field'+this.form_identifier+'-'+this.index+'" title="'+this.name+'"><div class="arrow ui-icon ui-icon-play "></div><div title="Delete" class="remove ui-icon ui-icon-trash "></div><div title="Duplicate" class="copy ui-icon ui-icon-copy "></div><input type="button" disabled value="'+$.fbuilder.htmlEncode(this.sValue)+'"><span class="uh">'+this.userhelp+'</span><div class="clearer" /></div>';
22
  },
23
  editItemEvents:function()
24
  {
js/fields-admin/34_fbuilder.fhtml.js CHANGED
@@ -14,7 +14,7 @@
14
  fcontent: "",
15
  display:function()
16
  {
17
- return '<div class="fields '+this.name+' fhtml" id="field'+this.form_identifier+'-'+this.index+'" title="'+this.name+'"><div class="arrow ui-icon ui-icon-play "></div><div title="Delete" class="remove ui-icon ui-icon-trash "></div>'+$( '<div/>' ).html( this.fcontent ).find( 'script,style' ).remove().end().html()+'<div class="clearer" /></div>';
18
  },
19
  editItemEvents:function()
20
  {
14
  fcontent: "",
15
  display:function()
16
  {
17
+ return '<div class="fields '+this.name+' '+this.ftype+' fhtml" id="field'+this.form_identifier+'-'+this.index+'" title="'+this.name+'"><div class="arrow ui-icon ui-icon-play "></div><div title="Delete" class="remove ui-icon ui-icon-trash "></div>'+$( '<div/>' ).html( this.fcontent ).find( 'script,style' ).remove().end().html()+'<div class="clearer" /></div>';
18
  },
19
  editItemEvents:function()
20
  {
js/fields-admin/36_fbuilder.acceptance.js CHANGED
@@ -20,7 +20,7 @@
20
  display:function()
21
  {
22
  var str = '<div class="one_column"><input class="field" disabled="true" type="checkbox"/> '+this.title+((this.required)?"*":"")+'</div>';
23
- return '<div class="fields '+this.name+'" id="field'+this.form_identifier+'-'+this.index+'" title="'+this.name+'"><div class="arrow ui-icon ui-icon-play "></div><div title="Delete" class="remove ui-icon ui-icon-trash "></div><div title="Duplicate" class="copy ui-icon ui-icon-copy "></div><div class="dfield">'+str+'<span class="uh">'+this.userhelp+'</span></div><div class="clearer" /></div>';
24
  },
25
  editItemEvents:function()
26
  {
20
  display:function()
21
  {
22
  var str = '<div class="one_column"><input class="field" disabled="true" type="checkbox"/> '+this.title+((this.required)?"*":"")+'</div>';
23
+ return '<div class="fields '+this.name+' '+this.ftype+'" id="field'+this.form_identifier+'-'+this.index+'" title="'+this.name+'"><div class="arrow ui-icon ui-icon-play "></div><div title="Delete" class="remove ui-icon ui-icon-trash "></div><div title="Duplicate" class="copy ui-icon ui-icon-copy "></div><div class="dfield">'+str+'<span class="uh">'+this.userhelp+'</span></div><div class="clearer" /></div>';
24
  },
25
  editItemEvents:function()
26
  {
js/fields-admin/fbuilder.fcalculated.js CHANGED
@@ -34,7 +34,7 @@
34
  display:function()
35
  {
36
  this.init();
37
- return '<div class="fields '+this.name+'" id="field'+this.form_identifier+'-'+this.index+'" title="'+this.name+'"><div class="arrow ui-icon ui-icon-play "></div><div title="Delete" class="remove ui-icon ui-icon-trash "></div><div title="Duplicate" class="copy ui-icon ui-icon-copy "></div><label>'+this.title+''+((this.required)?"*":"")+'</label><div class="dfield"><input class="field disabled '+this.size+'" type="text" value="'+$.fbuilder.htmlEncode(this.predefined)+'"/><span class="uh">'+this.userhelp+'</span></div><div class="clearer" /></div>';
38
  },
39
  editItemEvents:function()
40
  {
34
  display:function()
35
  {
36
  this.init();
37
+ return '<div class="fields '+this.name+' '+this.ftype+'" id="field'+this.form_identifier+'-'+this.index+'" title="'+this.name+'"><div class="arrow ui-icon ui-icon-play "></div><div title="Delete" class="remove ui-icon ui-icon-trash "></div><div title="Duplicate" class="copy ui-icon ui-icon-copy "></div><label>'+this.title+''+((this.required)?"*":"")+'</label><div class="dfield"><input class="field disabled '+this.size+'" type="text" value="'+$.fbuilder.htmlEncode(this.predefined)+'"/><span class="uh">'+this.userhelp+'</span></div><div class="clearer" /></div>';
38
  },
39
  editItemEvents:function()
40
  {
js/fields-public/02_fbuilder.fslider.js CHANGED
@@ -56,27 +56,31 @@
56
  var me = this;
57
  if( me.range )
58
  {
59
- var values = $( '#'+me.name+'_slider' ).slider( 'values' );
60
- $('#'+me.name+'_component_left').val(values[0]);
61
- $('#'+me.name+'_component_right').val(values[1]);
62
- $('#'+me.name ).val( '[' + values[ 0 ] + ',' + values[ 1 ] + ']' );
63
- $('#'+me.name+'_caption' ).html(
 
 
 
 
64
  me.caption
65
- .replace( /\{\s*0\s*\}/, me._setThousandsSeparator( values[ 0 ] ) )
66
- .replace( /\{\s*0\s*\}/, me._setThousandsSeparator( values[ 1 ] ) )
67
  );
68
  }
69
  else
70
  {
71
- var value = $( '#'+me.name+'_slider' ).slider( 'value' );
72
- $('#'+me.name ).val( value );
73
- $('#'+me.name+'_component_center').val(value);
74
- $('#'+me.name+'_caption' ).html(
75
- me.caption
76
- .replace( /\{\s*0\s*\}/, me._setThousandsSeparator( value ) )
77
  );
78
  }
79
- $( '#'+me.name ).change();
80
  },
81
  _toNumber:function(n){return (new String(n)).replace(/[^\d\.]/g,'')*1;},
82
  init:function()
@@ -155,6 +159,7 @@
155
  if($.isArray(c)){if(c[0] < v){c[0] = v; r = true;}}
156
  else if(c < v){c = v; r = true;}
157
  if(r) this.setVal(c);
 
158
  },
159
  set_max:function(v, ignore)
160
  {
@@ -164,6 +169,17 @@
164
  if($.isArray(c)){if(v < c[1]){c[1] = v; r = true;}}
165
  else if(v < c){c = v; r = true;}
166
  if(r) this.setVal(c);
 
 
 
 
 
 
 
 
 
 
 
167
  },
168
  set_step:function(v, ignore)
169
  {
@@ -180,6 +196,9 @@
180
  step : me._getAttr('step')
181
  };
182
 
 
 
 
183
  if( me.range )
184
  {
185
  var _min = Math.min( Math.max( me._getAttr('predefinedMin'), opt.min ), opt.max ),
@@ -189,13 +208,13 @@
189
  else opt[ 'value' ] = Math.min( Math.max( me._getAttr('predefined'), opt.min ), opt.max );
190
 
191
  opt[ 'slide' ] = opt[ 'stop' ] = ( function( e ){
192
- return function( event, ui )
193
- {
194
- if( typeof ui.value != 'undefined' ) $(this).slider('value', ui.value);
195
- if( typeof ui.values != 'undefined' ) $(this).slider('values', ui.values);
196
- e._setFieldValue();
197
- }
198
- } )( me );
199
  $( '#'+this.name+'_slider' ).slider( opt );
200
  me._setFieldValue();
201
  $( '#cp_calculatedfieldsf_pform'+me.form_identifier ).bind( 'reset', function(){ $( '#'+me.name+'_slider' ).slider( opt ); me._setFieldValue(); } );
56
  var me = this;
57
  if( me.range )
58
  {
59
+ var values = $('#'+me.name+'_slider').slider('values'),
60
+ vl = values[0], vr = values[1],
61
+ vlf = me._setThousandsSeparator(vl),
62
+ vrf = me._setThousandsSeparator(vf);
63
+
64
+ $('#'+me.name+'_component_left').val(vl);
65
+ $('#'+me.name+'_component_right').val(vr);
66
+ $('#'+me.name).val('['+vl+','+vr+']').attr('vt', '['+vlf+','+vrf+']');
67
+ $('#'+me.name+'_caption').html(
68
  me.caption
69
+ .replace(/\{\s*0\s*\}/, vlf)
70
+ .replace(/\{\s*0\s*\}/, vrf)
71
  );
72
  }
73
  else
74
  {
75
+ var v = $('#'+me.name+'_slider').slider('value'),
76
+ vf = me._setThousandsSeparator(v);
77
+ $('#'+me.name).val(v).attr('vt', vf);
78
+ $('#'+me.name+'_component_center').val(v);
79
+ $('#'+me.name+'_caption').html(
80
+ me.caption.replace(/\{\s*0\s*\}/, vf)
81
  );
82
  }
83
+ $('#'+me.name).change();
84
  },
85
  _toNumber:function(n){return (new String(n)).replace(/[^\d\.]/g,'')*1;},
86
  init:function()
159
  if($.isArray(c)){if(c[0] < v){c[0] = v; r = true;}}
160
  else if(c < v){c = v; r = true;}
161
  if(r) this.setVal(c);
162
+ this.set_min_caption(v);
163
  },
164
  set_max:function(v, ignore)
165
  {
169
  if($.isArray(c)){if(v < c[1]){c[1] = v; r = true;}}
170
  else if(v < c){c = v; r = true;}
171
  if(r) this.setVal(c);
172
+ this.set_max_caption(v);
173
+ },
174
+ set_min_caption:function(v)
175
+ {
176
+ var e = $('.'+this.name+' .left-corner');
177
+ e.html(this.minCaption.replace(/\{\s*0\s*\}/, v));
178
+ },
179
+ set_max_caption:function(v)
180
+ {
181
+ var e = $('.'+this.name+' .right-corner');
182
+ e.html(this.maxCaption.replace(/\{\s*0\s*\}/, v));
183
  },
184
  set_step:function(v, ignore)
185
  {
196
  step : me._getAttr('step')
197
  };
198
 
199
+ me.set_min_caption(opt.min);
200
+ me.set_max_caption(opt.max);
201
+
202
  if( me.range )
203
  {
204
  var _min = Math.min( Math.max( me._getAttr('predefinedMin'), opt.min ), opt.max ),
208
  else opt[ 'value' ] = Math.min( Math.max( me._getAttr('predefined'), opt.min ), opt.max );
209
 
210
  opt[ 'slide' ] = opt[ 'stop' ] = ( function( e ){
211
+ return function( event, ui )
212
+ {
213
+ if( typeof ui.value != 'undefined' ) $(this).slider('value', ui.value);
214
+ if( typeof ui.values != 'undefined' ) $(this).slider('values', ui.values);
215
+ e._setFieldValue();
216
+ }
217
+ } )( me );
218
  $( '#'+this.name+'_slider' ).slider( opt );
219
  me._setFieldValue();
220
  $( '#cp_calculatedfieldsf_pform'+me.form_identifier ).bind( 'reset', function(){ $( '#'+me.name+'_slider' ).slider( opt ); me._setFieldValue(); } );
js/fields-public/04_fbuilder.fdate.js CHANGED
@@ -51,7 +51,7 @@
51
  $( document ).on( 'change', '#'+me.name+'_minutes', function(){ f(); } );
52
  $( document ).on( 'change', '#'+me.name+'_ampm', function(){ f(); } );
53
 
54
- $( '#cp_calculatedfieldsf_pform'+me.form_identifier ).bind( 'reset', function(){ setTimeout( function(){ me.set_DefaultDate(); me.set_DefaultTime(); me.set_dateTime(); }, 500 ); } );
55
  },
56
  _validateDate: function(d)
57
  {
@@ -240,7 +240,7 @@
240
  e.change();
241
  }
242
  },
243
- set_DefaultDate : function()
244
  {
245
  var me = this,
246
  p = {
@@ -256,7 +256,7 @@
256
  p = $.extend(p, {beforeShowDay:function(d){return [me._validateDate(d), ""];}});
257
  if(me.defaultDate != "") p.defaultDate = me.defaultDate;
258
  dp.datepicker(p);
259
- if(!me.predefinedClick) dp.datepicker( "setDate", dd);
260
  if(!me._validateDate()) dp.datepicker( "setDate", '');
261
  },
262
  set_DefaultTime : function()
@@ -338,7 +338,7 @@
338
 
339
  if(!(date_format in $.validator.methods)) $.validator.addMethod(date_format, validator );
340
 
341
- me.set_DefaultDate();
342
  me.set_DefaultTime();
343
  me._set_Events();
344
  me.set_dateTime();
51
  $( document ).on( 'change', '#'+me.name+'_minutes', function(){ f(); } );
52
  $( document ).on( 'change', '#'+me.name+'_ampm', function(){ f(); } );
53
 
54
+ $( '#cp_calculatedfieldsf_pform'+me.form_identifier ).bind( 'reset', function(){ setTimeout( function(){ me.set_DefaultDate(true); me.set_DefaultTime(); me.set_dateTime(); }, 500 ); } );
55
  },
56
  _validateDate: function(d)
57
  {
240
  e.change();
241
  }
242
  },
243
+ set_DefaultDate : function(init)
244
  {
245
  var me = this,
246
  p = {
256
  p = $.extend(p, {beforeShowDay:function(d){return [me._validateDate(d), ""];}});
257
  if(me.defaultDate != "") p.defaultDate = me.defaultDate;
258
  dp.datepicker(p);
259
+ if(!me.predefinedClick || !!init == false)dp.datepicker( "setDate", dd);
260
  if(!me._validateDate()) dp.datepicker( "setDate", '');
261
  },
262
  set_DefaultTime : function()
338
 
339
  if(!(date_format in $.validator.methods)) $.validator.addMethod(date_format, validator );
340
 
341
+ me.set_DefaultDate(true);
342
  me.set_DefaultTime();
343
  me._set_Events();
344
  me.set_dateTime();
languages/calculated-fields-form-en_US.mo CHANGED
Binary file
languages/calculated-fields-form-en_US.po CHANGED
@@ -1,15 +1,15 @@
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: \n"
4
- "POT-Creation-Date: 2020-10-24 02:22+0200\n"
5
- "PO-Revision-Date: 2020-10-24 02:22+0200\n"
6
  "Last-Translator: CodePeople\n"
7
  "Language-Team: \n"
8
  "Language: en_US\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
- "X-Generator: Poedit 2.4.1\n"
13
  "X-Poedit-Basepath: ..\n"
14
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
15
  "X-Poedit-KeywordsList: __;_e;esc_attr__;esc_attr_e\n"
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: \n"
4
+ "POT-Creation-Date: 2020-11-19 13:41+0100\n"
5
+ "PO-Revision-Date: 2020-11-19 13:41+0100\n"
6
  "Last-Translator: CodePeople\n"
7
  "Language-Team: \n"
8
  "Language: en_US\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Generator: Poedit 2.4.2\n"
13
  "X-Poedit-Basepath: ..\n"
14
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
15
  "X-Poedit-KeywordsList: __;_e;esc_attr__;esc_attr_e\n"