WordPress Landing Pages - Version 2.5.7

Version Description

  • Compatible with WordPress 4.8
  • Updating shared files
Download this release

Release Info

Developer adbox
Plugin Icon 128x128 WordPress Landing Pages
Version 2.5.7
Comparing to
See all releases

Code changes from version 2.5.6 to 2.5.7

Files changed (377) hide show
  1. .gitignore +0 -59
  2. Gruntfile.js +0 -19
  3. LICENSE +0 -339
  4. README.md +53 -53
  5. assets/lang/.tx/config +0 -7
  6. assets/libraries/jpicker/css/jPicker-1.1.6.css +1 -1
  7. assets/libraries/jpicker/css/jPicker-1.1.6.min.css +1 -1
  8. assets/libraries/jpicker/jpicker-1.1.6.min.js +1 -1
  9. assets/tests/bin/phantomloader +7 -0
  10. assets/tests/bin/wpcept +7 -0
  11. composer.json +0 -51
  12. landing-pages.php +2 -2
  13. package.json +0 -47
  14. readme.txt +535 -531
  15. shared/assets/css/admin/global-inbound-admin.css +42 -42
  16. shared/assets/css/admin/image-picker.css +46 -46
  17. shared/assets/css/admin/inbound-metaboxes.css +92 -92
  18. shared/assets/css/admin/wpadminbar.css +150 -150
  19. shared/assets/css/iframe-preview.css +5 -5
  20. shared/assets/css/magnific-popup.css +350 -350
  21. shared/assets/fonts/fontawesome/FontAwesome.otf +0 -0
  22. shared/assets/fonts/fontawesome/css/font-awesome.min.css +4 -4
  23. shared/assets/fonts/fontawesome/css/fontawesome.min.css +0 -5
  24. shared/assets/fonts/fontawesome/css/fonts/FontAwesome.otf +0 -0
  25. shared/assets/fonts/fontawesome/css/fonts/fontawesome-webfont.eot +0 -0
  26. shared/assets/fonts/fontawesome/css/fonts/fontawesome-webfont.svg +0 -685
  27. shared/assets/fonts/fontawesome/css/fonts/fontawesome-webfont.ttf +0 -0
  28. shared/assets/fonts/fontawesome/css/fonts/fontawesome-webfont.woff +0 -0
  29. shared/assets/fonts/fontawesome/css/fonts/fontawesome-webfont.woff2 +0 -0
  30. shared/assets/fonts/fontawesome/fontawesome-webfont.eot +0 -0
  31. shared/assets/fonts/fontawesome/fontawesome-webfont.svg +0 -685
  32. shared/assets/fonts/fontawesome/fontawesome-webfont.ttf +0 -0
  33. shared/assets/fonts/fontawesome/fontawesome-webfont.woff +0 -0
  34. shared/assets/fonts/fontawesome/fontawesome-webfont.woff2 +0 -0
  35. shared/assets/fonts/fontawesome/fontawesome.min.css +0 -5
  36. shared/assets/fonts/fontawesome/fonts/fontawesome-webfont.svg +684 -684
  37. shared/assets/includes/BootStrap/css/bootstrap-theme.css +442 -442
  38. shared/assets/includes/BootStrap/css/bootstrap-theme.min.css +4 -4
  39. shared/assets/includes/BootStrap/css/bootstrap.css +5917 -5917
  40. shared/assets/includes/BootStrap/css/bootstrap.min.css +8 -8
  41. shared/assets/includes/BootStrap/css/ladda-themeless.min.css +7 -7
  42. shared/assets/includes/BootStrap/css/tooltip.min.css +9 -9
  43. shared/assets/includes/BootStrap/fonts/glyphicons-halflings-regular.svg +228 -228
  44. shared/assets/includes/BootStrap/js/bootstrap.js +2114 -2114
  45. shared/assets/includes/BootStrap/js/bootstrap.min.js +5 -5
  46. shared/assets/includes/BootStrap/js/tooltip.min.js +506 -506
  47. shared/assets/includes/Select2/select2-bootstrap.css +455 -455
  48. shared/assets/includes/Select2/select2.css +704 -704
  49. shared/assets/includes/Select2/select2.full.min.js +2 -2
  50. shared/assets/includes/Select2/select2.js +3508 -3508
  51. shared/assets/includes/Select2/select2.min.css +1 -1
  52. shared/assets/includes/Select2/select2.min.js +2 -2
  53. shared/assets/includes/Snowplow/RefererParser/Config/INBOUND_ConfigFileReaderTrait.php +54 -54
  54. shared/assets/includes/Snowplow/RefererParser/Config/INBOUND_ConfigReaderInterface.php +15 -15
  55. shared/assets/includes/Snowplow/RefererParser/Config/INBOUND_JsonConfigReader.php +56 -56
  56. shared/assets/includes/Snowplow/RefererParser/Exception/INBOUND_InvalidArgumentException.php +9 -9
  57. shared/assets/includes/Snowplow/RefererParser/INBOUND_Medium.php +16 -16
  58. shared/assets/includes/Snowplow/RefererParser/INBOUND_Parser.php +266 -266
  59. shared/assets/includes/Snowplow/RefererParser/INBOUND_Referer.php +78 -78
  60. shared/assets/includes/SweetAlert/sweetalert-dev.js +1280 -1280
  61. shared/assets/includes/SweetAlert/sweetalert.css +932 -932
  62. shared/assets/includes/ToolTipster/README.md +64 -64
  63. shared/assets/includes/ToolTipster/css/themes/tooltipster-light.css +11 -11
  64. shared/assets/includes/ToolTipster/css/themes/tooltipster-noir.css +11 -11
  65. shared/assets/includes/ToolTipster/css/themes/tooltipster-punk.css +11 -11
  66. shared/assets/includes/ToolTipster/css/themes/tooltipster-shadow.css +11 -11
  67. shared/assets/includes/ToolTipster/css/tooltipster.css +274 -274
  68. shared/assets/includes/ToolTipster/js/jquery.tooltipster.js +1327 -1327
  69. shared/assets/includes/referers.json +3889 -3889
  70. shared/assets/js/admin/customizer-off-parent.js +18 -18
  71. shared/assets/js/admin/image-picker.js +300 -300
  72. shared/assets/js/admin/marketing-button.js +243 -243
  73. shared/assets/js/frontend/analytics-src/analytics.events.js +609 -608
  74. shared/assets/js/frontend/analytics-src/analytics.examples.js +184 -184
  75. shared/assets/js/frontend/analytics-src/analytics.forms.js +1207 -1206
  76. shared/assets/js/frontend/analytics-src/analytics.hooks.js +404 -403
  77. shared/assets/js/frontend/analytics-src/analytics.init.js +130 -129
  78. shared/assets/js/frontend/analytics-src/analytics.lead.js +87 -87
  79. shared/assets/js/frontend/analytics-src/analytics.page.js +393 -392
  80. shared/assets/js/frontend/analytics-src/analytics.start.js +17 -16
  81. shared/assets/js/frontend/analytics-src/analytics.storage.js +132 -132
  82. shared/assets/js/frontend/analytics-src/analytics.utils.js +858 -857
  83. shared/assets/js/frontend/analytics/inboundAnalytics.js +3846 -3839
  84. shared/assets/js/frontend/analytics/inboundAnalytics.min.js +2 -3
  85. shared/assets/js/global/debug.js +36 -36
  86. shared/assets/js/global/inbound-dequeue-scripts.js +49 -49
  87. shared/assets/js/global/jquery.magnific-popup.min.js +3 -3
  88. shared/assets/js/global/jquery.total-storage.min.js +21 -21
  89. shared/assets/plugins/acf-field-date-time-picker/acf-date-time-picker.php +62 -62
  90. shared/assets/plugins/acf-field-date-time-picker/acf-date_time_picker.php +0 -81
  91. shared/assets/plugins/acf-field-date-time-picker/css/jquery-ui-timepicker-addon.css +10 -10
  92. shared/assets/plugins/acf-field-date-time-picker/css/jquery-ui.css +488 -488
  93. shared/assets/plugins/acf-field-date-time-picker/css/timepicker.css +6 -6
  94. shared/assets/plugins/acf-field-date-time-picker/date-time-picker-v3.php +514 -514
  95. shared/assets/plugins/acf-field-date-time-picker/date-time-picker-v4.php +472 -472
  96. shared/assets/plugins/acf-field-date-time-picker/date_time_picker-v3.php +0 -503
  97. shared/assets/plugins/acf-field-date-time-picker/date_time_picker-v4.php +0 -477
  98. shared/assets/plugins/acf-field-date-time-picker/date_time_picker-v5.php +0 -411
  99. shared/assets/plugins/acf-field-date-time-picker/js/input.js +32 -32
  100. shared/assets/plugins/acf-field-date-time-picker/js/jquery-ui-sliderAccess.js +88 -88
  101. shared/assets/plugins/acf-field-date-time-picker/js/jquery-ui-timepicker-addon.js +2128 -2128
  102. shared/assets/plugins/acf-field-date-time-picker/js/localization/jquery-ui-timepicker-af.js +21 -21
  103. shared/assets/plugins/acf-field-date-time-picker/js/localization/jquery-ui-timepicker-bg.js +20 -20
  104. shared/assets/plugins/acf-field-date-time-picker/js/localization/jquery-ui-timepicker-ca.js +21 -21
  105. shared/assets/plugins/acf-field-date-time-picker/js/localization/jquery-ui-timepicker-cs.js +21 -21
  106. shared/assets/plugins/acf-field-date-time-picker/js/localization/jquery-ui-timepicker-da.js +21 -21
  107. shared/assets/plugins/acf-field-date-time-picker/js/localization/jquery-ui-timepicker-de.js +21 -21
  108. shared/assets/plugins/acf-field-date-time-picker/js/localization/jquery-ui-timepicker-el.js +21 -21
  109. shared/assets/plugins/acf-field-date-time-picker/js/localization/jquery-ui-timepicker-es.js +21 -21
  110. shared/assets/plugins/acf-field-date-time-picker/js/localization/jquery-ui-timepicker-et.js +21 -21
  111. shared/assets/plugins/acf-field-date-time-picker/js/localization/jquery-ui-timepicker-eu.js +20 -20
  112. shared/assets/plugins/acf-field-date-time-picker/js/localization/jquery-ui-timepicker-fi.js +21 -21
  113. shared/assets/plugins/acf-field-date-time-picker/js/localization/jquery-ui-timepicker-fr.js +21 -21
  114. shared/assets/plugins/acf-field-date-time-picker/js/localization/jquery-ui-timepicker-gl.js +21 -21
  115. shared/assets/plugins/acf-field-date-time-picker/js/localization/jquery-ui-timepicker-he.js +21 -21
  116. shared/assets/plugins/acf-field-date-time-picker/js/localization/jquery-ui-timepicker-hr.js +20 -20
  117. shared/assets/plugins/acf-field-date-time-picker/js/localization/jquery-ui-timepicker-hu.js +21 -21
  118. shared/assets/plugins/acf-field-date-time-picker/js/localization/jquery-ui-timepicker-id.js +21 -21
  119. shared/assets/plugins/acf-field-date-time-picker/js/localization/jquery-ui-timepicker-it.js +21 -21
  120. shared/assets/plugins/acf-field-date-time-picker/js/localization/jquery-ui-timepicker-ja.js +21 -21
  121. shared/assets/plugins/acf-field-date-time-picker/js/localization/jquery-ui-timepicker-ko.js +21 -21
  122. shared/assets/plugins/acf-field-date-time-picker/js/localization/jquery-ui-timepicker-lt.js +21 -21
  123. shared/assets/plugins/acf-field-date-time-picker/js/localization/jquery-ui-timepicker-nl.js +21 -21
  124. shared/assets/plugins/acf-field-date-time-picker/js/localization/jquery-ui-timepicker-no.js +21 -21
  125. shared/assets/plugins/acf-field-date-time-picker/js/localization/jquery-ui-timepicker-pl.js +21 -21
  126. shared/assets/plugins/acf-field-date-time-picker/js/localization/jquery-ui-timepicker-pt-BR.js +21 -21
  127. shared/assets/plugins/acf-field-date-time-picker/js/localization/jquery-ui-timepicker-pt.js +21 -21
  128. shared/assets/plugins/acf-field-date-time-picker/js/localization/jquery-ui-timepicker-ro.js +21 -21
  129. shared/assets/plugins/acf-field-date-time-picker/js/localization/jquery-ui-timepicker-ru.js +21 -21
  130. shared/assets/plugins/acf-field-date-time-picker/js/localization/jquery-ui-timepicker-sk.js +21 -21
  131. shared/assets/plugins/acf-field-date-time-picker/js/localization/jquery-ui-timepicker-sv.js +21 -21
  132. shared/assets/plugins/acf-field-date-time-picker/js/localization/jquery-ui-timepicker-th.js +17 -17
  133. shared/assets/plugins/acf-field-date-time-picker/js/localization/jquery-ui-timepicker-tr.js +21 -21
  134. shared/assets/plugins/acf-field-date-time-picker/js/localization/jquery-ui-timepicker-uk.js +21 -21
  135. shared/assets/plugins/acf-field-date-time-picker/js/localization/jquery-ui-timepicker-vi.js +21 -21
  136. shared/assets/plugins/acf-field-date-time-picker/js/localization/jquery-ui-timepicker-zh-CN.js +21 -21
  137. shared/assets/plugins/acf-field-date-time-picker/js/localization/jquery-ui-timepicker-zh-TW.js +21 -21
  138. shared/assets/plugins/acf-field-date-time-picker/js/timepicker-localization.js +21 -21
  139. shared/assets/plugins/acf-field-date-time-picker/js/timepicker.js +136 -136
  140. shared/assets/plugins/advanced-custom-fields-font-awesome/acf-font-awesome-v4.php +405 -405
  141. shared/assets/plugins/advanced-custom-fields-font-awesome/acf-font-awesome-v5.php +412 -412
  142. shared/assets/plugins/advanced-custom-fields-font-awesome/acf-font-awesome.php +27 -27
  143. shared/assets/plugins/advanced-custom-fields-font-awesome/better-font-awesome-library/README.md +291 -291
  144. shared/assets/plugins/advanced-custom-fields-font-awesome/better-font-awesome-library/better-font-awesome-library.php +1192 -1192
  145. shared/assets/plugins/advanced-custom-fields-font-awesome/better-font-awesome-library/css/admin-styles.css +60 -60
  146. shared/assets/plugins/advanced-custom-fields-font-awesome/better-font-awesome-library/js/admin.js +41 -41
  147. shared/assets/plugins/advanced-custom-fields-font-awesome/better-font-awesome-library/lib/fallback-font-awesome/README.md +87 -87
  148. shared/assets/plugins/advanced-custom-fields-font-awesome/better-font-awesome-library/lib/fallback-font-awesome/css/font-awesome.css +1801 -1801
  149. shared/assets/plugins/advanced-custom-fields-font-awesome/better-font-awesome-library/lib/fallback-font-awesome/css/font-awesome.css.map +7 -7
  150. shared/assets/plugins/advanced-custom-fields-font-awesome/better-font-awesome-library/lib/fallback-font-awesome/css/font-awesome.min.css +3 -3
  151. shared/assets/plugins/advanced-custom-fields-font-awesome/better-font-awesome-library/lib/fallback-font-awesome/fonts/fontawesome-webfont.svg +564 -564
  152. shared/assets/plugins/advanced-custom-fields-font-awesome/better-font-awesome-library/lib/fallback-font-awesome/package.json +48 -48
  153. shared/assets/plugins/advanced-custom-fields-font-awesome/better-font-awesome-library/lib/fontawesome-iconpicker/css/fontawesome-iconpicker.css +326 -326
  154. shared/assets/plugins/advanced-custom-fields-font-awesome/better-font-awesome-library/lib/fontawesome-iconpicker/css/fontawesome-iconpicker.min.css +8 -8
  155. shared/assets/plugins/advanced-custom-fields-font-awesome/better-font-awesome-library/lib/fontawesome-iconpicker/js/fontawesome-iconpicker.js +1013 -1013
  156. shared/assets/plugins/advanced-custom-fields-font-awesome/css/input.css +18 -18
  157. shared/assets/plugins/advanced-custom-fields-font-awesome/css/select2.css +1 -1
  158. shared/assets/plugins/advanced-custom-fields-font-awesome/js/create_input.js +73 -73
  159. shared/assets/plugins/advanced-custom-fields-font-awesome/js/edit_input.js +59 -59
  160. shared/assets/plugins/advanced-custom-fields-font-awesome/js/select2/select2.min.js +2 -2
  161. shared/assets/plugins/advanced-custom-fields-font-awesome/js/select2/select2_locale_ar.js +17 -17
  162. shared/assets/plugins/advanced-custom-fields-font-awesome/js/select2/select2_locale_bg.js +17 -17
  163. shared/assets/plugins/advanced-custom-fields-font-awesome/js/select2/select2_locale_ca.js +17 -17
  164. shared/assets/plugins/advanced-custom-fields-font-awesome/js/select2/select2_locale_cs.js +49 -49
  165. shared/assets/plugins/advanced-custom-fields-font-awesome/js/select2/select2_locale_da.js +17 -17
  166. shared/assets/plugins/advanced-custom-fields-font-awesome/js/select2/select2_locale_de.js +14 -14
  167. shared/assets/plugins/advanced-custom-fields-font-awesome/js/select2/select2_locale_el.js +16 -16
  168. shared/assets/plugins/advanced-custom-fields-font-awesome/js/select2/select2_locale_en.js.template +17 -17
  169. shared/assets/plugins/advanced-custom-fields-font-awesome/js/select2/select2_locale_es.js +15 -15
  170. shared/assets/plugins/advanced-custom-fields-font-awesome/js/select2/select2_locale_et.js +17 -17
  171. shared/assets/plugins/advanced-custom-fields-font-awesome/js/select2/select2_locale_eu.js +43 -43
  172. shared/assets/plugins/advanced-custom-fields-font-awesome/js/select2/select2_locale_fa.js +17 -17
  173. shared/assets/plugins/advanced-custom-fields-font-awesome/js/select2/select2_locale_fi.js +28 -28
  174. shared/assets/plugins/advanced-custom-fields-font-awesome/js/select2/select2_locale_fr.js +15 -15
  175. shared/assets/plugins/advanced-custom-fields-font-awesome/js/select2/select2_locale_gl.js +43 -43
  176. shared/assets/plugins/advanced-custom-fields-font-awesome/js/select2/select2_locale_he.js +17 -17
  177. shared/assets/plugins/advanced-custom-fields-font-awesome/js/select2/select2_locale_hr.js +42 -42
  178. shared/assets/plugins/advanced-custom-fields-font-awesome/js/select2/select2_locale_hu.js +15 -15
  179. shared/assets/plugins/advanced-custom-fields-font-awesome/js/select2/select2_locale_id.js +17 -17
  180. shared/assets/plugins/advanced-custom-fields-font-awesome/js/select2/select2_locale_is.js +16 -16
  181. shared/assets/plugins/advanced-custom-fields-font-awesome/js/select2/select2_locale_it.js +14 -14
  182. shared/assets/plugins/advanced-custom-fields-font-awesome/js/select2/select2_locale_ja.js +15 -15
  183. shared/assets/plugins/advanced-custom-fields-font-awesome/js/select2/select2_locale_ko.js +17 -17
  184. shared/assets/plugins/advanced-custom-fields-font-awesome/js/select2/select2_locale_lt.js +29 -29
  185. shared/assets/plugins/advanced-custom-fields-font-awesome/js/select2/select2_locale_lv.js +16 -16
  186. shared/assets/plugins/advanced-custom-fields-font-awesome/js/select2/select2_locale_mk.js +16 -16
  187. shared/assets/plugins/advanced-custom-fields-font-awesome/js/select2/select2_locale_ms.js +17 -17
  188. shared/assets/plugins/advanced-custom-fields-font-awesome/js/select2/select2_locale_nl.js +14 -14
  189. shared/assets/plugins/advanced-custom-fields-font-awesome/js/select2/select2_locale_no.js +18 -18
  190. shared/assets/plugins/advanced-custom-fields-font-awesome/js/select2/select2_locale_pl.js +36 -36
  191. shared/assets/plugins/advanced-custom-fields-font-awesome/js/select2/select2_locale_pt-BR.js +15 -15
  192. shared/assets/plugins/advanced-custom-fields-font-awesome/js/select2/select2_locale_pt-PT.js +15 -15
  193. shared/assets/plugins/advanced-custom-fields-font-awesome/js/select2/select2_locale_ro.js +15 -15
  194. shared/assets/plugins/advanced-custom-fields-font-awesome/js/select2/select2_locale_ru.js +15 -15
  195. shared/assets/plugins/advanced-custom-fields-font-awesome/js/select2/select2_locale_sk.js +48 -48
  196. shared/assets/plugins/advanced-custom-fields-font-awesome/js/select2/select2_locale_sv.js +17 -17
  197. shared/assets/plugins/advanced-custom-fields-font-awesome/js/select2/select2_locale_th.js +17 -17
  198. shared/assets/plugins/advanced-custom-fields-font-awesome/js/select2/select2_locale_tr.js +17 -17
  199. shared/assets/plugins/advanced-custom-fields-font-awesome/js/select2/select2_locale_ua.js +17 -17
  200. shared/assets/plugins/advanced-custom-fields-font-awesome/js/select2/select2_locale_vi.js +18 -18
  201. shared/assets/plugins/advanced-custom-fields-font-awesome/js/select2/select2_locale_zh-CN.js +14 -14
  202. shared/assets/plugins/advanced-custom-fields-font-awesome/js/select2/select2_locale_zh-TW.js +14 -14
  203. shared/assets/plugins/advanced-custom-fields-font-awesome/readme.txt +114 -114
  204. shared/assets/plugins/advanced-custom-fields/acf.php +963 -963
  205. shared/assets/plugins/advanced-custom-fields/core/actions/export.php +275 -275
  206. shared/assets/plugins/advanced-custom-fields/core/api.php +1667 -1667
  207. shared/assets/plugins/advanced-custom-fields/core/controllers/addons.php +286 -286
  208. shared/assets/plugins/advanced-custom-fields/core/controllers/everything_fields.php +881 -881
  209. shared/assets/plugins/advanced-custom-fields/core/controllers/export.php +508 -508
  210. shared/assets/plugins/advanced-custom-fields/core/controllers/field_group.php +987 -987
  211. shared/assets/plugins/advanced-custom-fields/core/controllers/field_groups.php +529 -529
  212. shared/assets/plugins/advanced-custom-fields/core/controllers/input.php +169 -169
  213. shared/assets/plugins/advanced-custom-fields/core/controllers/location.php +986 -986
  214. shared/assets/plugins/advanced-custom-fields/core/controllers/post.php +570 -570
  215. shared/assets/plugins/advanced-custom-fields/core/controllers/revisions.php +316 -316
  216. shared/assets/plugins/advanced-custom-fields/core/controllers/third_party.php +233 -233
  217. shared/assets/plugins/advanced-custom-fields/core/controllers/upgrade.php +828 -828
  218. shared/assets/plugins/advanced-custom-fields/core/fields/_base.php +190 -190
  219. shared/assets/plugins/advanced-custom-fields/core/fields/_functions.php +597 -597
  220. shared/assets/plugins/advanced-custom-fields/core/fields/checkbox.php +209 -209
  221. shared/assets/plugins/advanced-custom-fields/core/fields/color_picker.php +109 -109
  222. shared/assets/plugins/advanced-custom-fields/core/fields/date_picker/date_picker.php +182 -182
  223. shared/assets/plugins/advanced-custom-fields/core/fields/date_picker/jquery.ui.datepicker.js +1814 -1814
  224. shared/assets/plugins/advanced-custom-fields/core/fields/date_picker/style.date_picker.css +409 -409
  225. shared/assets/plugins/advanced-custom-fields/core/fields/dummy.php +278 -278
  226. shared/assets/plugins/advanced-custom-fields/core/fields/email.php +172 -172
  227. shared/assets/plugins/advanced-custom-fields/core/fields/file.php +398 -398
  228. shared/assets/plugins/advanced-custom-fields/core/fields/google-map.php +317 -317
  229. shared/assets/plugins/advanced-custom-fields/core/fields/image.php +457 -457
  230. shared/assets/plugins/advanced-custom-fields/core/fields/message.php +92 -92
  231. shared/assets/plugins/advanced-custom-fields/core/fields/number.php +273 -273
  232. shared/assets/plugins/advanced-custom-fields/core/fields/page_link.php +218 -218
  233. shared/assets/plugins/advanced-custom-fields/core/fields/password.php +154 -154
  234. shared/assets/plugins/advanced-custom-fields/core/fields/post_object.php +544 -544
  235. shared/assets/plugins/advanced-custom-fields/core/fields/radio.php +279 -279
  236. shared/assets/plugins/advanced-custom-fields/core/fields/relationship.php +904 -904
  237. shared/assets/plugins/advanced-custom-fields/core/fields/select.php +357 -357
  238. shared/assets/plugins/advanced-custom-fields/core/fields/tab.php +80 -80
  239. shared/assets/plugins/advanced-custom-fields/core/fields/taxonomy.php +630 -630
  240. shared/assets/plugins/advanced-custom-fields/core/fields/text.php +278 -278
  241. shared/assets/plugins/advanced-custom-fields/core/fields/textarea.php +234 -234
  242. shared/assets/plugins/advanced-custom-fields/core/fields/true_false.php +139 -139
  243. shared/assets/plugins/advanced-custom-fields/core/fields/user.php +381 -381
  244. shared/assets/plugins/advanced-custom-fields/core/fields/wysiwyg.php +387 -387
  245. shared/assets/plugins/advanced-custom-fields/core/views/meta_box_fields.php +317 -317
  246. shared/assets/plugins/advanced-custom-fields/core/views/meta_box_location.php +168 -168
  247. shared/assets/plugins/advanced-custom-fields/core/views/meta_box_options.php +115 -115
  248. shared/assets/plugins/advanced-custom-fields/css/acf.css +352 -352
  249. shared/assets/plugins/advanced-custom-fields/css/field-group.css +698 -698
  250. shared/assets/plugins/advanced-custom-fields/css/global.css +597 -597
  251. shared/assets/plugins/advanced-custom-fields/css/input.css +1324 -1324
  252. shared/assets/plugins/advanced-custom-fields/js/field-group.js +1416 -1416
  253. shared/assets/plugins/advanced-custom-fields/js/input.js +4616 -4616
  254. shared/assets/plugins/advanced-custom-fields/js/input.min.js +1 -1
  255. shared/assets/plugins/advanced-custom-fields/js/input/acf.js +941 -941
  256. shared/assets/plugins/advanced-custom-fields/js/input/ajax.js +324 -324
  257. shared/assets/plugins/advanced-custom-fields/js/input/color-picker.js +78 -78
  258. shared/assets/plugins/advanced-custom-fields/js/input/date-picker.js +133 -133
  259. shared/assets/plugins/advanced-custom-fields/js/input/file.js +409 -409
  260. shared/assets/plugins/advanced-custom-fields/js/input/google-map.js +565 -565
  261. shared/assets/plugins/advanced-custom-fields/js/input/image.js +446 -446
  262. shared/assets/plugins/advanced-custom-fields/js/input/radio.js +69 -69
  263. shared/assets/plugins/advanced-custom-fields/js/input/relationship.js +360 -360
  264. shared/assets/plugins/advanced-custom-fields/js/input/tab.js +279 -279
  265. shared/assets/plugins/advanced-custom-fields/js/input/validation.js +431 -431
  266. shared/assets/plugins/advanced-custom-fields/js/input/wysiwyg.js +555 -555
  267. shared/assets/plugins/advanced-custom-fields/lang/acf-bg_BG.po +1852 -1852
  268. shared/assets/plugins/advanced-custom-fields/lang/acf-cs_CZ.po +2176 -2176
  269. shared/assets/plugins/advanced-custom-fields/lang/acf-cy_GB.po +1706 -1706
  270. shared/assets/plugins/advanced-custom-fields/lang/acf-de_DE.po +2028 -2028
  271. shared/assets/plugins/advanced-custom-fields/lang/acf-es_ES.po +709 -709
  272. shared/assets/plugins/advanced-custom-fields/lang/acf-fa_IR.po +1885 -1885
  273. shared/assets/plugins/advanced-custom-fields/lang/acf-fi_FI.po +1823 -1823
  274. shared/assets/plugins/advanced-custom-fields/lang/acf-fr_FR.po +1987 -1987
  275. shared/assets/plugins/advanced-custom-fields/lang/acf-he_IL.po +2817 -2817
  276. shared/assets/plugins/advanced-custom-fields/lang/acf-id_ID.po +1821 -1821
  277. shared/assets/plugins/advanced-custom-fields/lang/acf-it_IT.po +2114 -2114
  278. shared/assets/plugins/advanced-custom-fields/lang/acf-ja.po +1817 -1817
  279. shared/assets/plugins/advanced-custom-fields/lang/acf-nl_NL.po +1339 -1339
  280. shared/assets/plugins/advanced-custom-fields/lang/acf-pl_PL.po +2457 -2457
  281. shared/assets/plugins/advanced-custom-fields/lang/acf-pt_BR.po +2103 -2103
  282. shared/assets/plugins/advanced-custom-fields/lang/acf-pt_PT.po +1933 -1933
  283. shared/assets/plugins/advanced-custom-fields/lang/acf-ru_RU.po +1961 -1961
  284. shared/assets/plugins/advanced-custom-fields/lang/acf-sk_SK.po +1827 -1827
  285. shared/assets/plugins/advanced-custom-fields/lang/acf-sr_RS.po +1833 -1833
  286. shared/assets/plugins/advanced-custom-fields/lang/acf-sv_SE.po +1947 -1947
  287. shared/assets/plugins/advanced-custom-fields/lang/acf-tr_TR.po +1838 -1838
  288. shared/assets/plugins/advanced-custom-fields/lang/acf-uk.po +1358 -1358
  289. shared/assets/plugins/advanced-custom-fields/lang/acf-zh_CN.po +1925 -1925
  290. shared/assets/plugins/advanced-custom-fields/lang/acf.pot +1767 -1767
  291. shared/assets/readme.txt +0 -0
  292. shared/classes/class.acf-bootstrap.php +87 -87
  293. shared/classes/class.ajax.php +164 -164
  294. shared/classes/class.branching.php +0 -300
  295. shared/classes/class.confirm-double-optin.php +194 -194
  296. shared/classes/class.database-routines.php +311 -275
  297. shared/classes/class.debug.php +419 -419
  298. shared/classes/class.events.php +1503 -1503
  299. shared/classes/class.feedback.php +373 -373
  300. shared/classes/class.form.php +1622 -1622
  301. shared/classes/class.inbound-api.api-key-generation.php +157 -157
  302. shared/classes/class.inbound-api.api-keys-table.php +282 -282
  303. shared/classes/class.inbound-api.php +1467 -1467
  304. shared/classes/class.lead-fields.php +355 -355
  305. shared/classes/class.lead-storage.php +827 -843
  306. shared/classes/class.licensing.php +173 -173
  307. shared/classes/class.list-double-optin.php +576 -576
  308. shared/classes/class.load-assets.php +220 -220
  309. shared/classes/class.load-shared.php +195 -195
  310. shared/classes/class.magic.php +0 -105
  311. shared/classes/class.master-license.php +44 -44
  312. shared/classes/class.menus.adminbar.php +731 -731
  313. shared/classes/class.notifications.php +254 -254
  314. shared/classes/class.options-api.php +40 -40
  315. shared/classes/class.post-type.wp-lead.php +789 -789
  316. shared/classes/class.promote.php +0 -238
  317. shared/classes/class.shortcodes.cookie-values.php +51 -51
  318. shared/classes/class.shortcodes.email-template.php +162 -162
  319. shared/classes/class.templating-engine.php +99 -99
  320. shared/classes/class.welcome.php +0 -202
  321. shared/docs/analytics.events.md +391 -366
  322. shared/docs/css/style.css +885 -885
  323. shared/docs/css/theme.css +84 -84
  324. shared/docs/how.to.create.landing.page.templates.using.ACF.md +234 -234
  325. shared/docs/index.html +93 -93
  326. shared/docs/install-premium-landing-page-templates.md +26 -26
  327. shared/docs/js/flatdoc.js +515 -515
  328. shared/docs/js/jquery.js +4 -4
  329. shared/docs/js/legacy.js +369 -369
  330. shared/docs/js/script.js +250 -250
  331. shared/docs/js/theme.js +33 -33
  332. shared/docs/leads/leads-user-guide.md +3 -3
  333. shared/docs/main.md +1029 -1029
  334. shared/docs/shared/assets/js/frontend/analytics-src/analytics.events.md +391 -391
  335. shared/docs/shortcodes.md +3 -3
  336. shared/functions/legacy.php +379 -379
  337. shared/functions/shared.php +29 -29
  338. shared/shortcodes/css/form-cpt.css +193 -193
  339. shared/shortcodes/css/frontend-render.css +4432 -4432
  340. shared/shortcodes/css/shortcodes.css +609 -609
  341. shared/shortcodes/inbound-shortcodes.php +729 -729
  342. shared/shortcodes/js/form-cpt.js +189 -189
  343. shared/shortcodes/js/shortcodes-plugins.js +20 -20
  344. shared/shortcodes/js/shortcodes.js +886 -886
  345. shared/shortcodes/popup.php +71 -71
  346. shared/shortcodes/preview.php +201 -201
  347. shared/shortcodes/shortcodes-fields.php +362 -362
  348. shared/shortcodes/shortcodes-includes.php +46 -46
  349. shared/shortcodes/shortcodes/alert.php +45 -45
  350. shared/shortcodes/shortcodes/button.php +108 -108
  351. shared/shortcodes/shortcodes/call-to-action.php +31 -31
  352. shared/shortcodes/shortcodes/callout.php +166 -166
  353. shared/shortcodes/shortcodes/column.php +175 -175
  354. shared/shortcodes/shortcodes/content-box.php +77 -77
  355. shared/shortcodes/shortcodes/divider.php +113 -113
  356. shared/shortcodes/shortcodes/forms.php +825 -825
  357. shared/shortcodes/shortcodes/gmap.php +154 -154
  358. shared/shortcodes/shortcodes/icon.php +58 -58
  359. shared/shortcodes/shortcodes/intro.php +92 -92
  360. shared/shortcodes/shortcodes/landing-page-list.php +136 -136
  361. shared/shortcodes/shortcodes/landing_pages.php +205 -205
  362. shared/shortcodes/shortcodes/leadp.php +43 -43
  363. shared/shortcodes/shortcodes/list-icon.php +64 -64
  364. shared/shortcodes/shortcodes/lists.php +59 -59
  365. shared/shortcodes/shortcodes/pricing.php +211 -211
  366. shared/shortcodes/shortcodes/profile.php +183 -183
  367. shared/shortcodes/shortcodes/quick-forms.php +38 -38
  368. shared/shortcodes/shortcodes/social-share.php +101 -101
  369. shared/shortcodes/shortcodes/social.php +93 -93
  370. shared/shortcodes/shortcodes/tabs.php +130 -130
  371. shared/shortcodes/shortcodes/teaser.php +254 -254
  372. shared/shortcodes/shortcodes/testimonial.php +178 -178
  373. shared/shortcodes/shortcodes/video.php +31 -31
  374. templates/ALERT ALERT ALERT.txt +18 -0
  375. templates/USE UPLOADS FOLDER.txt +18 -0
  376. templates/WARNING READ THIS.txt +18 -0
  377. templates/templates-readme.txt +18 -0
.gitignore DELETED
@@ -1,59 +0,0 @@
1
- .DS_Store
2
- /shared/_DelSyncFiles/
3
-
4
- shared/languages/landing-pages/.tx/CONFIG
5
- shared/languages/landing-pages/get-translations.bat
6
- shared/languages/leads/_get-translations.bat
7
- shared/languages/calls-to-action/_get-translations.bat
8
-
9
- #filetypes
10
-
11
-
12
- # OS generated files #
13
- ######################
14
- *~
15
- .SyncIgnore
16
- .svn
17
- .cvs
18
- .DS_Store
19
- .DS_Store?
20
- ._*
21
- .Spotlight-V100
22
- .Trashes
23
- Icon?
24
- ehthumbs.db
25
- Thumbs.db
26
- .cache
27
- .project
28
- .settings
29
- .tmproj
30
- *.esproj
31
- nbproject
32
- *.sublime-project
33
- *.sublime-workspace
34
- *.exe
35
- *.bat
36
- *.sh
37
-
38
- # Grunt
39
- node_modules
40
- Desktop.ini
41
-
42
- #codeception
43
- tests/codeception/_output
44
- tests/codeception/_support
45
- tests/codeception/_data
46
-
47
- #composer
48
- composer.lock
49
- vendor
50
- bin
51
-
52
- #phpstorm
53
- .idea
54
- /shared/assets/plugins/advanced-custom-fields/**.png
55
- /shared/assets/plugins/advanced-custom-fields/images/add-ons/**.jpg
56
- /shared/assets/plugins/advanced-custom-fields/lang/**.pot
57
- /shared/assets/plugins/advanced-custom-fields/lang/**.po
58
- /shared/assets/plugins/advanced-custom-fields/lang/**.mo
59
- /svn
Gruntfile.js DELETED
@@ -1,19 +0,0 @@
1
- /* for main build processes we use gulp see gulpfile.js */
2
- module.exports = function(grunt) {
3
-
4
- grunt.initConfig({
5
- pkg: grunt.file.readJSON('package.json'),
6
- wp_readme_to_markdown: {
7
- cta: {
8
- files: {
9
- 'readme.md': 'readme.txt'
10
- },
11
- },
12
- },
13
- });
14
-
15
- grunt.loadNpmTasks('grunt-wp-readme-to-markdown');
16
-
17
- grunt.registerTask('default', ['wp_readme_to_markdown']);
18
-
19
- };
LICENSE DELETED
@@ -1,339 +0,0 @@
1
- GNU GENERAL PUBLIC LICENSE
2
- Version 2, June 1991
3
-
4
- Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
5
- 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
6
- Everyone is permitted to copy and distribute verbatim copies
7
- of this license document, but changing it is not allowed.
8
-
9
- Preamble
10
-
11
- The licenses for most software are designed to take away your
12
- freedom to share and change it. By contrast, the GNU General Public
13
- License is intended to guarantee your freedom to share and change free
14
- software--to make sure the software is free for all its users. This
15
- General Public License applies to most of the Free Software
16
- Foundation's software and to any other program whose authors commit to
17
- using it. (Some other Free Software Foundation software is covered by
18
- the GNU Lesser General Public License instead.) You can apply it to
19
- your programs, too.
20
-
21
- When we speak of free software, we are referring to freedom, not
22
- price. Our General Public Licenses are designed to make sure that you
23
- have the freedom to distribute copies of free software (and charge for
24
- this service if you wish), that you receive source code or can get it
25
- if you want it, that you can change the software or use pieces of it
26
- in new free programs; and that you know you can do these things.
27
-
28
- To protect your rights, we need to make restrictions that forbid
29
- anyone to deny you these rights or to ask you to surrender the rights.
30
- These restrictions translate to certain responsibilities for you if you
31
- distribute copies of the software, or if you modify it.
32
-
33
- For example, if you distribute copies of such a program, whether
34
- gratis or for a fee, you must give the recipients all the rights that
35
- you have. You must make sure that they, too, receive or can get the
36
- source code. And you must show them these terms so they know their
37
- rights.
38
-
39
- We protect your rights with two steps: (1) copyright the software, and
40
- (2) offer you this license which gives you legal permission to copy,
41
- distribute and/or modify the software.
42
-
43
- Also, for each author's protection and ours, we want to make certain
44
- that everyone understands that there is no warranty for this free
45
- software. If the software is modified by someone else and passed on, we
46
- want its recipients to know that what they have is not the original, so
47
- that any problems introduced by others will not reflect on the original
48
- authors' reputations.
49
-
50
- Finally, any free program is threatened constantly by software
51
- patents. We wish to avoid the danger that redistributors of a free
52
- program will individually obtain patent licenses, in effect making the
53
- program proprietary. To prevent this, we have made it clear that any
54
- patent must be licensed for everyone's free use or not licensed at all.
55
-
56
- The precise terms and conditions for copying, distribution and
57
- modification follow.
58
-
59
- GNU GENERAL PUBLIC LICENSE
60
- TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
61
-
62
- 0. This License applies to any program or other work which contains
63
- a notice placed by the copyright holder saying it may be distributed
64
- under the terms of this General Public License. The "Program", below,
65
- refers to any such program or work, and a "work based on the Program"
66
- means either the Program or any derivative work under copyright law:
67
- that is to say, a work containing the Program or a portion of it,
68
- either verbatim or with modifications and/or translated into another
69
- language. (Hereinafter, translation is included without limitation in
70
- the term "modification".) Each licensee is addressed as "you".
71
-
72
- Activities other than copying, distribution and modification are not
73
- covered by this License; they are outside its scope. The act of
74
- running the Program is not restricted, and the output from the Program
75
- is covered only if its contents constitute a work based on the
76
- Program (independent of having been made by running the Program).
77
- Whether that is true depends on what the Program does.
78
-
79
- 1. You may copy and distribute verbatim copies of the Program's
80
- source code as you receive it, in any medium, provided that you
81
- conspicuously and appropriately publish on each copy an appropriate
82
- copyright notice and disclaimer of warranty; keep intact all the
83
- notices that refer to this License and to the absence of any warranty;
84
- and give any other recipients of the Program a copy of this License
85
- along with the Program.
86
-
87
- You may charge a fee for the physical act of transferring a copy, and
88
- you may at your option offer warranty protection in exchange for a fee.
89
-
90
- 2. You may modify your copy or copies of the Program or any portion
91
- of it, thus forming a work based on the Program, and copy and
92
- distribute such modifications or work under the terms of Section 1
93
- above, provided that you also meet all of these conditions:
94
-
95
- a) You must cause the modified files to carry prominent notices
96
- stating that you changed the files and the date of any change.
97
-
98
- b) You must cause any work that you distribute or publish, that in
99
- whole or in part contains or is derived from the Program or any
100
- part thereof, to be licensed as a whole at no charge to all third
101
- parties under the terms of this License.
102
-
103
- c) If the modified program normally reads commands interactively
104
- when run, you must cause it, when started running for such
105
- interactive use in the most ordinary way, to print or display an
106
- announcement including an appropriate copyright notice and a
107
- notice that there is no warranty (or else, saying that you provide
108
- a warranty) and that users may redistribute the program under
109
- these conditions, and telling the user how to view a copy of this
110
- License. (Exception: if the Program itself is interactive but
111
- does not normally print such an announcement, your work based on
112
- the Program is not required to print an announcement.)
113
-
114
- These requirements apply to the modified work as a whole. If
115
- identifiable sections of that work are not derived from the Program,
116
- and can be reasonably considered independent and separate works in
117
- themselves, then this License, and its terms, do not apply to those
118
- sections when you distribute them as separate works. But when you
119
- distribute the same sections as part of a whole which is a work based
120
- on the Program, the distribution of the whole must be on the terms of
121
- this License, whose permissions for other licensees extend to the
122
- entire whole, and thus to each and every part regardless of who wrote it.
123
-
124
- Thus, it is not the intent of this section to claim rights or contest
125
- your rights to work written entirely by you; rather, the intent is to
126
- exercise the right to control the distribution of derivative or
127
- collective works based on the Program.
128
-
129
- In addition, mere aggregation of another work not based on the Program
130
- with the Program (or with a work based on the Program) on a volume of
131
- a storage or distribution medium does not bring the other work under
132
- the scope of this License.
133
-
134
- 3. You may copy and distribute the Program (or a work based on it,
135
- under Section 2) in object code or executable form under the terms of
136
- Sections 1 and 2 above provided that you also do one of the following:
137
-
138
- a) Accompany it with the complete corresponding machine-readable
139
- source code, which must be distributed under the terms of Sections
140
- 1 and 2 above on a medium customarily used for software interchange; or,
141
-
142
- b) Accompany it with a written offer, valid for at least three
143
- years, to give any third party, for a charge no more than your
144
- cost of physically performing source distribution, a complete
145
- machine-readable copy of the corresponding source code, to be
146
- distributed under the terms of Sections 1 and 2 above on a medium
147
- customarily used for software interchange; or,
148
-
149
- c) Accompany it with the information you received as to the offer
150
- to distribute corresponding source code. (This alternative is
151
- allowed only for noncommercial distribution and only if you
152
- received the program in object code or executable form with such
153
- an offer, in accord with Subsection b above.)
154
-
155
- The source code for a work means the preferred form of the work for
156
- making modifications to it. For an executable work, complete source
157
- code means all the source code for all modules it contains, plus any
158
- associated interface definition files, plus the scripts used to
159
- control compilation and installation of the executable. However, as a
160
- special exception, the source code distributed need not include
161
- anything that is normally distributed (in either source or binary
162
- form) with the major components (compiler, kernel, and so on) of the
163
- operating system on which the executable runs, unless that component
164
- itself accompanies the executable.
165
-
166
- If distribution of executable or object code is made by offering
167
- access to copy from a designated place, then offering equivalent
168
- access to copy the source code from the same place counts as
169
- distribution of the source code, even though third parties are not
170
- compelled to copy the source along with the object code.
171
-
172
- 4. You may not copy, modify, sublicense, or distribute the Program
173
- except as expressly provided under this License. Any attempt
174
- otherwise to copy, modify, sublicense or distribute the Program is
175
- void, and will automatically terminate your rights under this License.
176
- However, parties who have received copies, or rights, from you under
177
- this License will not have their licenses terminated so long as such
178
- parties remain in full compliance.
179
-
180
- 5. You are not required to accept this License, since you have not
181
- signed it. However, nothing else grants you permission to modify or
182
- distribute the Program or its derivative works. These actions are
183
- prohibited by law if you do not accept this License. Therefore, by
184
- modifying or distributing the Program (or any work based on the
185
- Program), you indicate your acceptance of this License to do so, and
186
- all its terms and conditions for copying, distributing or modifying
187
- the Program or works based on it.
188
-
189
- 6. Each time you redistribute the Program (or any work based on the
190
- Program), the recipient automatically receives a license from the
191
- original licensor to copy, distribute or modify the Program subject to
192
- these terms and conditions. You may not impose any further
193
- restrictions on the recipients' exercise of the rights granted herein.
194
- You are not responsible for enforcing compliance by third parties to
195
- this License.
196
-
197
- 7. If, as a consequence of a court judgment or allegation of patent
198
- infringement or for any other reason (not limited to patent issues),
199
- conditions are imposed on you (whether by court order, agreement or
200
- otherwise) that contradict the conditions of this License, they do not
201
- excuse you from the conditions of this License. If you cannot
202
- distribute so as to satisfy simultaneously your obligations under this
203
- License and any other pertinent obligations, then as a consequence you
204
- may not distribute the Program at all. For example, if a patent
205
- license would not permit royalty-free redistribution of the Program by
206
- all those who receive copies directly or indirectly through you, then
207
- the only way you could satisfy both it and this License would be to
208
- refrain entirely from distribution of the Program.
209
-
210
- If any portion of this section is held invalid or unenforceable under
211
- any particular circumstance, the balance of the section is intended to
212
- apply and the section as a whole is intended to apply in other
213
- circumstances.
214
-
215
- It is not the purpose of this section to induce you to infringe any
216
- patents or other property right claims or to contest validity of any
217
- such claims; this section has the sole purpose of protecting the
218
- integrity of the free software distribution system, which is
219
- implemented by public license practices. Many people have made
220
- generous contributions to the wide range of software distributed
221
- through that system in reliance on consistent application of that
222
- system; it is up to the author/donor to decide if he or she is willing
223
- to distribute software through any other system and a licensee cannot
224
- impose that choice.
225
-
226
- This section is intended to make thoroughly clear what is believed to
227
- be a consequence of the rest of this License.
228
-
229
- 8. If the distribution and/or use of the Program is restricted in
230
- certain countries either by patents or by copyrighted interfaces, the
231
- original copyright holder who places the Program under this License
232
- may add an explicit geographical distribution limitation excluding
233
- those countries, so that distribution is permitted only in or among
234
- countries not thus excluded. In such case, this License incorporates
235
- the limitation as if written in the body of this License.
236
-
237
- 9. The Free Software Foundation may publish revised and/or new versions
238
- of the General Public License from time to time. Such new versions will
239
- be similar in spirit to the present version, but may differ in detail to
240
- address new problems or concerns.
241
-
242
- Each version is given a distinguishing version number. If the Program
243
- specifies a version number of this License which applies to it and "any
244
- later version", you have the option of following the terms and conditions
245
- either of that version or of any later version published by the Free
246
- Software Foundation. If the Program does not specify a version number of
247
- this License, you may choose any version ever published by the Free Software
248
- Foundation.
249
-
250
- 10. If you wish to incorporate parts of the Program into other free
251
- programs whose distribution conditions are different, write to the author
252
- to ask for permission. For software which is copyrighted by the Free
253
- Software Foundation, write to the Free Software Foundation; we sometimes
254
- make exceptions for this. Our decision will be guided by the two goals
255
- of preserving the free status of all derivatives of our free software and
256
- of promoting the sharing and reuse of software generally.
257
-
258
- NO WARRANTY
259
-
260
- 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
261
- FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
262
- OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
263
- PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
264
- OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
265
- MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
266
- TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
267
- PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
268
- REPAIR OR CORRECTION.
269
-
270
- 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
271
- WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
272
- REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
273
- INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
274
- OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
275
- TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
276
- YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
277
- PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
278
- POSSIBILITY OF SUCH DAMAGES.
279
-
280
- END OF TERMS AND CONDITIONS
281
-
282
- How to Apply These Terms to Your New Programs
283
-
284
- If you develop a new program, and you want it to be of the greatest
285
- possible use to the public, the best way to achieve this is to make it
286
- free software which everyone can redistribute and change under these terms.
287
-
288
- To do so, attach the following notices to the program. It is safest
289
- to attach them to the start of each source file to most effectively
290
- convey the exclusion of warranty; and each file should have at least
291
- the "copyright" line and a pointer to where the full notice is found.
292
-
293
- WordPress Landing Pages
294
- Copyright (C) 2013 Inbound Now
295
-
296
- This program is free software; you can redistribute it and/or modify
297
- it under the terms of the GNU General Public License as published by
298
- the Free Software Foundation; either version 2 of the License, or
299
- (at your option) any later version.
300
-
301
- This program is distributed in the hope that it will be useful,
302
- but WITHOUT ANY WARRANTY; without even the implied warranty of
303
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
304
- GNU General Public License for more details.
305
-
306
- You should have received a copy of the GNU General Public License along
307
- with this program; if not, write to the Free Software Foundation, Inc.,
308
- 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
309
-
310
- Also add information on how to contact you by electronic and paper mail.
311
-
312
- If the program is interactive, make it output a short notice like this
313
- when it starts in an interactive mode:
314
-
315
- Gnomovision version 69, Copyright (C) year name of author
316
- Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
317
- This is free software, and you are welcome to redistribute it
318
- under certain conditions; type `show c' for details.
319
-
320
- The hypothetical commands `show w' and `show c' should show the appropriate
321
- parts of the General Public License. Of course, the commands you use may
322
- be called something other than `show w' and `show c'; they could even be
323
- mouse-clicks or menu items--whatever suits your program.
324
-
325
- You should also get your employer (if you work as a programmer) or your
326
- school, if any, to sign a "copyright disclaimer" for the program, if
327
- necessary. Here is a sample; alter the names:
328
-
329
- Yoyodyne, Inc., hereby disclaims all copyright interest in the program
330
- `Gnomovision' (which makes passes at compilers) written by James Hacker.
331
-
332
- {signature of Ty Coon}, 1 April 1989
333
- Ty Coon, President of Vice
334
-
335
- This General Public License does not permit incorporating your program into
336
- proprietary programs. If your program is a subroutine library, you may
337
- consider it more useful to permit linking proprietary applications with the
338
- library. If this is what you want to do, use the GNU Lesser General
339
- Public License instead of this License.
README.md CHANGED
@@ -1,53 +1,53 @@
1
- ## Description ##
2
-
3
- > WordPress Landing Pages works as a standalone plugin or hand in hand with [WordPress Calls to Action](http://wordpress.org/plugins/cta/ "Learn more about Calls to Action") & [WordPress Leads](http://wordpress.org/plugins/leads/ "Learn more about WordPress Leads") to create a powerful & free lead generation system for your business.
4
-
5
- This plugin creates landing pages (a.k.a. conversion or splash pages) for your WordPress site. It gives site owners the ability to monitor and track conversion rates, run a/b or multivariate split tests on landing pages, and most importantly increase lead flow!
6
-
7
- The landing page plugin was specifically designed with inbound marketing best practices in mind and will help you drive & convert more leads on your site.
8
-
9
- Landing pages are an ideal way to convert more of your passive website visitors into active leads or email list subscribers.
10
-
11
- ### Highlights ###
12
-
13
- * Create beautiful Landing Pages on your WordPress site.
14
- * Visual Editor to view changes being made on the fly!
15
- * Track conversion rates on your landing pages for continual optimization.
16
- * Easily clone existing landing pages and run A/B Split tests on variations.
17
- * Use your current WordPress theme or choose from our library of custom landing page designs.
18
- * Pre-populate Forms with visitor information to increase conversion rates
19
- * Gather lead intelligence and track lead activity with <a href="http://wordpress.org/plugins/leads/screenshots/">WordPress Leads</a>
20
- * Extend functionality with our growing repository of <a href="http://www.inboundnow.com/market/category/landing-pages/extensions/">third party add ons</a>.
21
- * Easily implement your own custom landing page design.
22
-
23
- This plugin is form agnostic meaning it will work with any form system you use.
24
-
25
- Recommended form plugins (Gravity forms, Ninja Forms or Contact form 7)
26
-
27
- ### About the Plugin ###
28
-
29
- http://www.youtube.com/watch?v=flEd0sRTFUo
30
-
31
- ### Developers & Designers ###
32
-
33
- We built the landing page plugin as a framework! Need A/B testing out of the box implemented for your existing designs? Use WordPress Landing Pages to quickly spin up new landing pages that have all the functionality your clients will need.
34
-
35
- You can quickly take your existing designs and implement them using our <a href="http://docs.inboundnow.com/section/developer/">templating framework</a>.
36
-
37
- The plugin is also fully extendable and has a number of actions, filters, and hooks available for use. If a hook doesn't exist, simply ask and we can implement custom changes.
38
-
39
-
40
- [Follow Development on GitHub ](https://github.com/inboundnow/landing-pages "Follow & Contribute to core development on GitHub")
41
- |
42
- [Follow Development on Twitter ](https://twitter.com/gitlandingpages "See our latest development commits on Twitter")
43
-
44
-
45
- ## Installation ##
46
-
47
- 1. Upload `landing-pages` folder to the `/wp-content/plugins/` directory
48
- 1. Activate the plugin through the 'Plugins' menu in WordPress
49
-
50
- ## Frequently Asked Questions ##
51
- *Can I create my own landing page designs?,
52
- *Yes! You can learn how to <a href="http://docs.inboundnow.com/guide/creating-landing-page-templates/">create your own landing page template here</a>.
53
-
1
+ ## Description ##
2
+
3
+ > WordPress Landing Pages works as a standalone plugin or hand in hand with [WordPress Calls to Action](http://wordpress.org/plugins/cta/ "Learn more about Calls to Action") & [WordPress Leads](http://wordpress.org/plugins/leads/ "Learn more about WordPress Leads") to create a powerful & free lead generation system for your business.
4
+
5
+ This plugin creates landing pages (a.k.a. conversion or splash pages) for your WordPress site. It gives site owners the ability to monitor and track conversion rates, run a/b or multivariate split tests on landing pages, and most importantly increase lead flow!
6
+
7
+ The landing page plugin was specifically designed with inbound marketing best practices in mind and will help you drive & convert more leads on your site.
8
+
9
+ Landing pages are an ideal way to convert more of your passive website visitors into active leads or email list subscribers.
10
+
11
+ ### Highlights ###
12
+
13
+ * Create beautiful Landing Pages on your WordPress site.
14
+ * Visual Editor to view changes being made on the fly!
15
+ * Track conversion rates on your landing pages for continual optimization.
16
+ * Easily clone existing landing pages and run A/B Split tests on variations.
17
+ * Use your current WordPress theme or choose from our library of custom landing page designs.
18
+ * Pre-populate Forms with visitor information to increase conversion rates
19
+ * Gather lead intelligence and track lead activity with <a href="http://wordpress.org/plugins/leads/screenshots/">WordPress Leads</a>
20
+ * Extend functionality with our growing repository of <a href="http://www.inboundnow.com/market/category/landing-pages/extensions/">third party add ons</a>.
21
+ * Easily implement your own custom landing page design.
22
+
23
+ This plugin is form agnostic meaning it will work with any form system you use.
24
+
25
+ Recommended form plugins (Gravity forms, Ninja Forms or Contact form 7)
26
+
27
+ ### About the Plugin ###
28
+
29
+ http://www.youtube.com/watch?v=flEd0sRTFUo
30
+
31
+ ### Developers & Designers ###
32
+
33
+ We built the landing page plugin as a framework! Need A/B testing out of the box implemented for your existing designs? Use WordPress Landing Pages to quickly spin up new landing pages that have all the functionality your clients will need.
34
+
35
+ You can quickly take your existing designs and implement them using our <a href="http://docs.inboundnow.com/section/developer/">templating framework</a>.
36
+
37
+ The plugin is also fully extendable and has a number of actions, filters, and hooks available for use. If a hook doesn't exist, simply ask and we can implement custom changes.
38
+
39
+
40
+ [Follow Development on GitHub ](https://github.com/inboundnow/landing-pages "Follow & Contribute to core development on GitHub")
41
+ |
42
+ [Follow Development on Twitter ](https://twitter.com/gitlandingpages "See our latest development commits on Twitter")
43
+
44
+
45
+ ## Installation ##
46
+
47
+ 1. Upload `landing-pages` folder to the `/wp-content/plugins/` directory
48
+ 1. Activate the plugin through the 'Plugins' menu in WordPress
49
+
50
+ ## Frequently Asked Questions ##
51
+ *Can I create my own landing page designs?,
52
+ *Yes! You can learn how to <a href="http://docs.inboundnow.com/guide/creating-landing-page-templates/">create your own landing page template here</a>.
53
+
assets/lang/.tx/config DELETED
@@ -1,7 +0,0 @@
1
- [main]
2
- host = https://www.transifex.com
3
-
4
- [landing-pages.landing-pages]
5
- file_filter = <lang>.po
6
- source_lang = en_US
7
-
assets/libraries/jpicker/css/jPicker-1.1.6.css CHANGED
@@ -1,4 +1,4 @@
1
- .jPicker .Icon {
2
display: inline-block;
3
height: 24px; /* change this value if using a different sized color picker icon */
4
position: relative; /* make this element an absolute positioning container */
1
+ .jPicker .Icon {
2
display: inline-block;
3
height: 24px; /* change this value if using a different sized color picker icon */
4
position: relative; /* make this element an absolute positioning container */
assets/libraries/jpicker/css/jPicker-1.1.6.min.css CHANGED
@@ -1 +1 @@
1
- .jPicker .Icon{display:inline-block;height:24px;position:relative;text-align:left;width:25px}.jPicker .Icon span.Color,.jPicker .Icon span.Alpha{background-position:2px 2px;display:block;height:100%;left:0;position:absolute;top:0;width:100%}.jPicker .Icon span.Image{background-repeat:no-repeat;cursor:pointer;display:block;height:100%;left:0;position:absolute;top:0;width:100%}.jPicker.Container{color:#000;z-index:10}table.jPicker{background-color:#efefef;border:1px outset #666;font-family:Arial,Helvetica,Sans-Serif;font-size:12px!important;margin:0;padding:5px;width:545px;z-index:20}.jPicker .Move{background-color:#ddd;border-color:#fff #666 #666 #fff;border-style:solid;border-width:1px;cursor:move;height:12px;padding:0}.jPicker .Title{font-size:11px!important;font-weight:bold;margin:-2px 0 0 0;padding:10px 0 0 0;text-align:center;width:100%}.jPicker div.Map{border-bottom:2px solid #fff;border-left:2px solid #9a9a9a;border-right:2px solid #fff;border-top:2px solid #9a9a9a;cursor:crosshair;height:260px;margin:0 10px 10px 10px;overflow:hidden;padding:0;position:relative;width:260px}.jPicker div[class="Map"]{height:256px;width:256px}.jPicker div.Bar{border-bottom:2px solid #fff;border-left:2px solid #9a9a9a;border-right:2px solid #fff;border-top:2px solid #9a9a9a;cursor:n-resize;height:260px;margin:12px 10px 0 5px;overflow:hidden;padding:0;position:relative;width:24px}.jPicker div[class="Bar"]{height:256px;width:20px}.jPicker .Map .Map1,.jPicker .Map .Map2,.jPicker .Map .Map3,.jPicker .Bar .Map1,.jPicker .Bar .Map2,.jPicker .Bar .Map3,.jPicker .Bar .Map4,.jPicker .Bar .Map5,.jPicker .Bar .Map6{background-color:transparent;background-image:none;display:block;left:0;position:absolute;top:0}.jPicker .Map .Map1,.jPicker .Map .Map2,.jPicker .Map .Map3{height:2596px;width:256px}.jPicker .Bar .Map1,.jPicker .Bar .Map2,.jPicker .Bar .Map3,.jPicker .Bar .Map4{height:3896px;width:20px}.jPicker .Bar .Map5,.jPicker .Bar .Map6{height:256px;width:20px}.jPicker .Map .Map1,.jPicker .Map .Map2,.jPicker .Bar .Map6{background-repeat:no-repeat}.jPicker .Map .Map3,.jPicker .Bar .Map5{background-repeat:repeat}.jPicker .Bar .Map1,.jPicker .Bar .Map2,.jPicker .Bar .Map3,.jPicker .Bar .Map4{background-repeat:repeat-x}.jPicker .Map .Arrow{display:block;position:absolute}.jPicker .Bar .Arrow{display:block;left:0;position:absolute}.jPicker .Preview{font-size:9px;padding:5px 0 0 0;text-align:center}.jPicker .Preview div{border:2px inset #eee;height:62px;margin:0 auto;padding:0;width:62px}.jPicker .Preview div span{border:1px solid #000;display:block;height:30px;margin:0 auto;padding:0;width:60px}.jPicker .Preview .Active{border-bottom-width:0}.jPicker .Preview .Current{border-top-width:0;cursor:pointer}.jPicker input{font-size:13px}.jPicker .Button{text-align:center;padding:0 4px;width:115px}.jPicker .Button input{padding:2px 0;width:100px}.jPicker .Button .Ok{margin:12px 0 5px 0}.jPicker td{margin:0;padding:0}.jPicker td.Radio{margin:0;padding:0;width:31px}.jPicker td.Radio input{margin:0 5px 0 0;padding:0}.jPicker td.Text{font-size:12px!important;height:22px;margin:0;padding:0;text-align:left;width:70px}.jPicker tr.Hex td.Text{width:100px}.jPicker td.Text input{background-color:#fff;border:1px inset #aaa;height:28px;margin:0 0 0 5px;text-align:left;width:30px}.jPicker td[class="Text"] input{height:27px}.jPicker tr.Hex td.Text input.Hex{width:50px}.jPicker tr.Hex td.Text input.AHex{width:20px}.jPicker .Grid{text-align:center;width:114px}.jPicker .Grid span.QuickColor{border:1px inset #aaa;cursor:pointer;display:inline-block;height:15px;line-height:15px;margin:0;padding:0;width:19px}.jPicker .Grid span[class="QuickColor"]{width:17px}
1
+ .jPicker .Icon{display:inline-block;height:24px;position:relative;text-align:left;width:25px}.jPicker .Icon span.Color,.jPicker .Icon span.Alpha{background-position:2px 2px;display:block;height:100%;left:0;position:absolute;top:0;width:100%}.jPicker .Icon span.Image{background-repeat:no-repeat;cursor:pointer;display:block;height:100%;left:0;position:absolute;top:0;width:100%}.jPicker.Container{color:#000;z-index:10}table.jPicker{background-color:#efefef;border:1px outset #666;font-family:Arial,Helvetica,Sans-Serif;font-size:12px!important;margin:0;padding:5px;width:545px;z-index:20}.jPicker .Move{background-color:#ddd;border-color:#fff #666 #666 #fff;border-style:solid;border-width:1px;cursor:move;height:12px;padding:0}.jPicker .Title{font-size:11px!important;font-weight:bold;margin:-2px 0 0 0;padding:10px 0 0 0;text-align:center;width:100%}.jPicker div.Map{border-bottom:2px solid #fff;border-left:2px solid #9a9a9a;border-right:2px solid #fff;border-top:2px solid #9a9a9a;cursor:crosshair;height:260px;margin:0 10px 10px 10px;overflow:hidden;padding:0;position:relative;width:260px}.jPicker div[class="Map"]{height:256px;width:256px}.jPicker div.Bar{border-bottom:2px solid #fff;border-left:2px solid #9a9a9a;border-right:2px solid #fff;border-top:2px solid #9a9a9a;cursor:n-resize;height:260px;margin:12px 10px 0 5px;overflow:hidden;padding:0;position:relative;width:24px}.jPicker div[class="Bar"]{height:256px;width:20px}.jPicker .Map .Map1,.jPicker .Map .Map2,.jPicker .Map .Map3,.jPicker .Bar .Map1,.jPicker .Bar .Map2,.jPicker .Bar .Map3,.jPicker .Bar .Map4,.jPicker .Bar .Map5,.jPicker .Bar .Map6{background-color:transparent;background-image:none;display:block;left:0;position:absolute;top:0}.jPicker .Map .Map1,.jPicker .Map .Map2,.jPicker .Map .Map3{height:2596px;width:256px}.jPicker .Bar .Map1,.jPicker .Bar .Map2,.jPicker .Bar .Map3,.jPicker .Bar .Map4{height:3896px;width:20px}.jPicker .Bar .Map5,.jPicker .Bar .Map6{height:256px;width:20px}.jPicker .Map .Map1,.jPicker .Map .Map2,.jPicker .Bar .Map6{background-repeat:no-repeat}.jPicker .Map .Map3,.jPicker .Bar .Map5{background-repeat:repeat}.jPicker .Bar .Map1,.jPicker .Bar .Map2,.jPicker .Bar .Map3,.jPicker .Bar .Map4{background-repeat:repeat-x}.jPicker .Map .Arrow{display:block;position:absolute}.jPicker .Bar .Arrow{display:block;left:0;position:absolute}.jPicker .Preview{font-size:9px;padding:5px 0 0 0;text-align:center}.jPicker .Preview div{border:2px inset #eee;height:62px;margin:0 auto;padding:0;width:62px}.jPicker .Preview div span{border:1px solid #000;display:block;height:30px;margin:0 auto;padding:0;width:60px}.jPicker .Preview .Active{border-bottom-width:0}.jPicker .Preview .Current{border-top-width:0;cursor:pointer}.jPicker input{font-size:13px}.jPicker .Button{text-align:center;padding:0 4px;width:115px}.jPicker .Button input{padding:2px 0;width:100px}.jPicker .Button .Ok{margin:12px 0 5px 0}.jPicker td{margin:0;padding:0}.jPicker td.Radio{margin:0;padding:0;width:31px}.jPicker td.Radio input{margin:0 5px 0 0;padding:0}.jPicker td.Text{font-size:12px!important;height:22px;margin:0;padding:0;text-align:left;width:70px}.jPicker tr.Hex td.Text{width:100px}.jPicker td.Text input{background-color:#fff;border:1px inset #aaa;height:28px;margin:0 0 0 5px;text-align:left;width:30px}.jPicker td[class="Text"] input{height:27px}.jPicker tr.Hex td.Text input.Hex{width:50px}.jPicker tr.Hex td.Text input.AHex{width:20px}.jPicker .Grid{text-align:center;width:114px}.jPicker .Grid span.QuickColor{border:1px inset #aaa;cursor:pointer;display:inline-block;height:15px;line-height:15px;margin:0;padding:0;width:19px}.jPicker .Grid span[class="QuickColor"]{width:17px}
assets/libraries/jpicker/jpicker-1.1.6.min.js CHANGED
@@ -1 +1 @@
1
- (function(e,a){Math.precision=function(j,h){if(h===undefined){h=0}return Math.round(j*Math.pow(10,h))/Math.pow(10,h)};var d=function(z,k){var o=this,j=z.find("img:first"),F=0,E=100,w=100,D=0,C=100,v=100,s=0,p=0,n,q,u=new Array(),l=function(y){for(var x=0;x<u.length;x++){u[x].call(o,o,y)}},H=function(x){var y=z.offset();n={l:y.left|0,t:y.top|0};clearTimeout(q);q=setTimeout(function(){A.call(o,x)},0);e(document).bind("mousemove",h).bind("mouseup",B);x.preventDefault()},h=function(x){clearTimeout(q);q=setTimeout(function(){A.call(o,x)},0);x.stopPropagation();x.preventDefault();return false},B=function(x){e(document).unbind("mouseup",B).unbind("mousemove",h);x.stopPropagation();x.preventDefault();return false},A=function(M){var K=M.pageX-n.l,x=M.pageY-n.t,L=z.w,y=z.h;if(K<0){K=0}else{if(K>L){K=L}}if(x<0){x=0}else{if(x>y){x=y}}J.call(o,"xy",{x:((K/L)*w)+F,y:((x/y)*v)+D})},r=function(){var L=0,x=0,N=z.w,K=z.h,M=j.w,y=j.h;setTimeout(function(){if(w>0){if(s==E){L=N}else{L=((s/w)*N)|0}}if(v>0){if(p==C){x=K}else{x=((p/v)*K)|0}}if(M>=N){L=(N>>1)-(M>>1)}else{L-=M>>1}if(y>=K){x=(K>>1)-(y>>1)}else{x-=y>>1}j.css({left:L+"px",top:x+"px"})},0)},J=function(x,K,y){var O=K!==undefined;if(!O){if(x===undefined||x==null){x="xy"}switch(x.toLowerCase()){case"x":return s;case"y":return p;case"xy":default:return{x:s,y:p}}}if(y!=null&&y==o){return}var N=false,M,L;if(x==null){x="xy"}switch(x.toLowerCase()){case"x":M=K&&(K.x&&K.x|0||K|0)||0;break;case"y":L=K&&(K.y&&K.y|0||K|0)||0;break;case"xy":default:M=K&&K.x&&K.x|0||0;L=K&&K.y&&K.y|0||0;break}if(M!=null){if(M<F){M=F}else{if(M>E){M=E}}if(s!=M){s=M;N=true}}if(L!=null){if(L<D){L=D}else{if(L>C){L=C}}if(p!=L){p=L;N=true}}N&&l.call(o,y||o)},t=function(x,L){var P=L!==undefined;if(!P){if(x===undefined||x==null){x="all"}switch(x.toLowerCase()){case"minx":return F;case"maxx":return E;case"rangex":return{minX:F,maxX:E,rangeX:w};case"miny":return D;case"maxy":return C;case"rangey":return{minY:D,maxY:C,rangeY:v};case"all":default:return{minX:F,maxX:E,rangeX:w,minY:D,maxY:C,rangeY:v}}}var O=false,N,K,M,y;if(x==null){x="all"}switch(x.toLowerCase()){case"minx":N=L&&(L.minX&&L.minX|0||L|0)||0;break;case"maxx":K=L&&(L.maxX&&L.maxX|0||L|0)||0;break;case"rangex":N=L&&L.minX&&L.minX|0||0;K=L&&L.maxX&&L.maxX|0||0;break;case"miny":M=L&&(L.minY&&L.minY|0||L|0)||0;break;case"maxy":y=L&&(L.maxY&&L.maxY|0||L|0)||0;break;case"rangey":M=L&&L.minY&&L.minY|0||0;y=L&&L.maxY&&L.maxY|0||0;break;case"all":default:N=L&&L.minX&&L.minX|0||0;K=L&&L.maxX&&L.maxX|0||0;M=L&&L.minY&&L.minY|0||0;y=L&&L.maxY&&L.maxY|0||0;break}if(N!=null&&F!=N){F=N;w=E-F}if(K!=null&&E!=K){E=K;w=E-F}if(M!=null&&D!=M){D=M;v=C-D}if(y!=null&&C!=y){C=y;v=C-D}},I=function(x){if(e.isFunction(x)){u.push(x)}},m=function(y){if(!e.isFunction(y)){return}var x;while((x=e.inArray(y,u))!=-1){u.splice(x,1)}},G=function(){e(document).unbind("mouseup",B).unbind("mousemove",h);z.unbind("mousedown",H);z=null;j=null;u=null};e.extend(true,o,{val:J,range:t,bind:I,unbind:m,destroy:G});j.src=k.arrow&&k.arrow.image;j.w=k.arrow&&k.arrow.width||j.width();j.h=k.arrow&&k.arrow.height||j.height();z.w=k.map&&k.map.width||z.width();z.h=k.map&&k.map.height||z.height();z.bind("mousedown",H);I.call(o,r)},b=function(u,z,k,y){var q=this,l=u.find("td.Text input"),r=l.eq(3),v=l.eq(4),h=l.eq(5),o=l.length>7?l.eq(6):null,n=l.eq(0),p=l.eq(1),x=l.eq(2),s=l.eq(l.length>7?7:6),B=l.length>7?l.eq(8):null,C=function(E){if(E.target.value==""&&E.target!=s.get(0)&&(k!=null&&E.target!=k.get(0)||k==null)){return}if(!t(E)){return E}switch(E.target){case r.get(0):switch(E.keyCode){case 38:r.val(j.call(q,(r.val()<<0)+1,0,255));z.val("r",r.val(),E.target);return false;case 40:r.val(j.call(q,(r.val()<<0)-1,0,255));z.val("r",r.val(),E.target);return false}break;case v.get(0):switch(E.keyCode){case 38:v.val(j.call(q,(v.val()<<0)+1,0,255));z.val("g",v.val(),E.target);return false;case 40:v.val(j.call(q,(v.val()<<0)-1,0,255));z.val("g",v.val(),E.target);return false}break;case h.get(0):switch(E.keyCode){case 38:h.val(j.call(q,(h.val()<<0)+1,0,255));z.val("b",h.val(),E.target);return false;case 40:h.val(j.call(q,(h.val()<<0)-1,0,255));z.val("b",h.val(),E.target);return false}break;case o&&o.get(0):switch(E.keyCode){case 38:o.val(j.call(q,parseFloat(o.val())+1,0,100));z.val("a",Math.precision((o.val()*255)/100,y),E.target);return false;case 40:o.val(j.call(q,parseFloat(o.val())-1,0,100));z.val("a",Math.precision((o.val()*255)/100,y),E.target);return false}break;case n.get(0):switch(E.keyCode){case 38:n.val(j.call(q,(n.val()<<0)+1,0,360));z.val("h",n.val(),E.target);return false;case 40:n.val(j.call(q,(n.val()<<0)-1,0,360));z.val("h",n.val(),E.target);return false}break;case p.get(0):switch(E.keyCode){case 38:p.val(j.call(q,(p.val()<<0)+1,0,100));z.val("s",p.val(),E.target);return false;case 40:p.val(j.call(q,(p.val()<<0)-1,0,100));z.val("s",p.val(),E.target);return false}break;case x.get(0):switch(E.keyCode){case 38:x.val(j.call(q,(x.val()<<0)+1,0,100));z.val("v",x.val(),E.target);return false;case 40:x.val(j.call(q,(x.val()<<0)-1,0,100));z.val("v",x.val(),E.target);return false}break}},w=function(E){if(E.target.value==""&&E.target!=s.get(0)&&(k!=null&&E.target!=k.get(0)||k==null)){return}if(!t(E)){return E}switch(E.target){case r.get(0):r.val(j.call(q,r.val(),0,255));z.val("r",r.val(),E.target);break;case v.get(0):v.val(j.call(q,v.val(),0,255));z.val("g",v.val(),E.target);break;case h.get(0):h.val(j.call(q,h.val(),0,255));z.val("b",h.val(),E.target);break;case o&&o.get(0):o.val(j.call(q,o.val(),0,100));z.val("a",Math.precision((o.val()*255)/100,y),E.target);break;case n.get(0):n.val(j.call(q,n.val(),0,360));z.val("h",n.val(),E.target);break;case p.get(0):p.val(j.call(q,p.val(),0,100));z.val("s",p.val(),E.target);break;case x.get(0):x.val(j.call(q,x.val(),0,100));z.val("v",x.val(),E.target);break;case s.get(0):s.val(s.val().replace(/[^a-fA-F0-9]/g,"").toLowerCase().substring(0,6));k&&k.val(s.val());z.val("hex",s.val()!=""?s.val():null,E.target);break;case k&&k.get(0):k.val(k.val().replace(/[^a-fA-F0-9]/g,"").toLowerCase().substring(0,6));s.val(k.val());z.val("hex",k.val()!=""?k.val():null,E.target);break;case B&&B.get(0):B.val(B.val().replace(/[^a-fA-F0-9]/g,"").toLowerCase().substring(0,2));z.val("a",B.val()!=null?parseInt(B.val(),16):null,E.target);break}},A=function(E){if(z.val()!=null){switch(E.target){case r.get(0):r.val(z.val("r"));break;case v.get(0):v.val(z.val("g"));break;case h.get(0):h.val(z.val("b"));break;case o&&o.get(0):o.val(Math.precision((z.val("a")*100)/255,y));break;case n.get(0):n.val(z.val("h"));break;case p.get(0):p.val(z.val("s"));break;case x.get(0):x.val(z.val("v"));break;case s.get(0):case k&&k.get(0):s.val(z.val("hex"));k&&k.val(z.val("hex"));break;case B&&B.get(0):B.val(z.val("ahex").substring(6));break}}},t=function(E){switch(E.keyCode){case 9:case 16:case 29:case 37:case 39:return false;case"c".charCodeAt():case"v".charCodeAt():if(E.ctrlKey){return false}}return true},j=function(G,F,E){if(G==""||isNaN(G)){return F}if(G>E){return E}if(G<F){return F}return G},m=function(G,E){var F=G.val("all");if(E!=r.get(0)){r.val(F!=null?F.r:"")}if(E!=v.get(0)){v.val(F!=null?F.g:"")}if(E!=h.get(0)){h.val(F!=null?F.b:"")}if(o&&E!=o.get(0)){o.val(F!=null?Math.precision((F.a*100)/255,y):"")}if(E!=n.get(0)){n.val(F!=null?F.h:"")}if(E!=p.get(0)){p.val(F!=null?F.s:"")}if(E!=x.get(0)){x.val(F!=null?F.v:"")}if(E!=s.get(0)&&(k&&E!=k.get(0)||!k)){s.val(F!=null?F.hex:"")}if(k&&E!=k.get(0)&&E!=s.get(0)){k.val(F!=null?F.hex:"")}if(B&&E!=B.get(0)){B.val(F!=null?F.ahex.substring(6):"")}},D=function(){r.add(v).add(h).add(o).add(n).add(p).add(x).add(s).add(k).add(B).unbind("keyup",w).unbind("blur",A);r.add(v).add(h).add(o).add(n).add(p).add(x).unbind("keydown",C);z.unbind(m);r=null;v=null;h=null;o=null;n=null;p=null;x=null;s=null;B=null};e.extend(true,q,{destroy:D});r.add(v).add(h).add(o).add(n).add(p).add(x).add(s).add(k).add(B).bind("keyup",w).bind("blur",A);r.add(v).add(h).add(o).add(n).add(p).add(x).bind("keydown",C);z.bind(m)};e.jPicker={List:[],Color:function(z){var q=this,j,o,t,u,n,A,x,k=new Array(),m=function(r){for(var h=0;h<k.length;h++){k[h].call(q,q,r)}},l=function(h,G,r){var F=G!==undefined;if(!F){if(h===undefined||h==null||h==""){h="all"}if(j==null){return null}switch(h.toLowerCase()){case"ahex":return g.rgbaToHex({r:j,g:o,b:t,a:u});case"hex":return l("ahex").substring(0,6);case"all":return{r:j,g:o,b:t,a:u,h:n,s:A,v:x,hex:l.call(q,"hex"),ahex:l.call(q,"ahex")};default:var D={};for(var B=0;B<h.length;B++){switch(h.charAt(B)){case"r":if(h.length==1){D=j}else{D.r=j}break;case"g":if(h.length==1){D=o}else{D.g=o}break;case"b":if(h.length==1){D=t}else{D.b=t}break;case"a":if(h.length==1){D=u}else{D.a=u}break;case"h":if(h.length==1){D=n}else{D.h=n}break;case"s":if(h.length==1){D=A}else{D.s=A}break;case"v":if(h.length==1){D=x}else{D.v=x}break}}return D=={}?l.call(q,"all"):D;break}}if(r!=null&&r==q){return}var v=false;if(h==null){h=""}if(G==null){if(j!=null){j=null;v=true}if(o!=null){o=null;v=true}if(t!=null){t=null;v=true}if(u!=null){u=null;v=true}if(n!=null){n=null;v=true}if(A!=null){A=null;v=true}if(x!=null){x=null;v=true}v&&m.call(q,r||q);return}switch(h.toLowerCase()){case"ahex":case"hex":var D=g.hexToRgba(G&&(G.ahex||G.hex)||G||"00000000");l.call(q,"rgba",{r:D.r,g:D.g,b:D.b,a:h=="ahex"?D.a:u!=null?u:255},r);break;default:if(G&&(G.ahex!=null||G.hex!=null)){l.call(q,"ahex",G.ahex||G.hex||"00000000",r);return}var s={},E=false,C=false;if(G.r!==undefined&&!h.indexOf("r")==-1){h+="r"}if(G.g!==undefined&&!h.indexOf("g")==-1){h+="g"}if(G.b!==undefined&&!h.indexOf("b")==-1){h+="b"}if(G.a!==undefined&&!h.indexOf("a")==-1){h+="a"}if(G.h!==undefined&&!h.indexOf("h")==-1){h+="h"}if(G.s!==undefined&&!h.indexOf("s")==-1){h+="s"}if(G.v!==undefined&&!h.indexOf("v")==-1){h+="v"}for(var B=0;B<h.length;B++){switch(h.charAt(B)){case"r":if(C){continue}E=true;s.r=G&&G.r&&G.r|0||G&&G|0||0;if(s.r<0){s.r=0}else{if(s.r>255){s.r=255}}if(j!=s.r){j=s.r;v=true}break;case"g":if(C){continue}E=true;s.g=G&&G.g&&G.g|0||G&&G|0||0;if(s.g<0){s.g=0}else{if(s.g>255){s.g=255}}if(o!=s.g){o=s.g;v=true}break;case"b":if(C){continue}E=true;s.b=G&&G.b&&G.b|0||G&&G|0||0;if(s.b<0){s.b=0}else{if(s.b>255){s.b=255}}if(t!=s.b){t=s.b;v=true}break;case"a":s.a=G&&G.a!=null?G.a|0:G!=null?G|0:255;if(s.a<0){s.a=0}else{if(s.a>255){s.a=255}}if(u!=s.a){u=s.a;v=true}break;case"h":if(E){continue}C=true;s.h=G&&G.h&&G.h|0||G&&G|0||0;if(s.h<0){s.h=0}else{if(s.h>360){s.h=360}}if(n!=s.h){n=s.h;v=true}break;case"s":if(E){continue}C=true;s.s=G&&G.s!=null?G.s|0:G!=null?G|0:100;if(s.s<0){s.s=0}else{if(s.s>100){s.s=100}}if(A!=s.s){A=s.s;v=true}break;case"v":if(E){continue}C=true;s.v=G&&G.v!=null?G.v|0:G!=null?G|0:100;if(s.v<0){s.v=0}else{if(s.v>100){s.v=100}}if(x!=s.v){x=s.v;v=true}break}}if(v){if(E){j=j||0;o=o||0;t=t||0;var D=g.rgbToHsv({r:j,g:o,b:t});n=D.h;A=D.s;x=D.v}else{if(C){n=n||0;A=A!=null?A:100;x=x!=null?x:100;var D=g.hsvToRgb({h:n,s:A,v:x});j=D.r;o=D.g;t=D.b}}u=u!=null?u:255;m.call(q,r||q)}break}},p=function(h){if(e.isFunction(h)){k.push(h)}},y=function(r){if(!e.isFunction(r)){return}var h;while((h=e.inArray(r,k))!=-1){k.splice(h,1)}},w=function(){k=null};e.extend(true,q,{val:l,bind:p,unbind:y,destroy:w});if(z){if(z.ahex!=null){l("ahex",z)}else{if(z.hex!=null){l((z.a!=null?"a":"")+"hex",z.a!=null?{ahex:z.hex+g.intToHex(z.a)}:z)}else{if(z.r!=null&&z.g!=null&&z.b!=null){l("rgb"+(z.a!=null?"a":""),z)}else{if(z.h!=null&&z.s!=null&&z.v!=null){l("hsv"+(z.a!=null?"a":""),z)}}}}}},ColorMethods:{hexToRgba:function(m){m=this.validateHex(m);if(m==""){return{r:null,g:null,b:null,a:null}}var l="00",k="00",h="00",j="255";if(m.length==6){m+="ff"}if(m.length>6){l=m.substring(0,2);k=m.substring(2,4);h=m.substring(4,6);j=m.substring(6,m.length)}else{if(m.length>4){l=m.substring(4,m.length);m=m.substring(0,4)}if(m.length>2){k=m.substring(2,m.length);m=m.substring(0,2)}if(m.length>0){h=m.substring(0,m.length)}}return{r:this.hexToInt(l),g:this.hexToInt(k),b:this.hexToInt(h),a:this.hexToInt(j)}},validateHex:function(h){h=h.toLowerCase().replace(/[^a-f0-9]/g,"");if(h.length>8){h=h.substring(0,8)}return h},rgbaToHex:function(h){return this.intToHex(h.r)+this.intToHex(h.g)+this.intToHex(h.b)+this.intToHex(h.a)},intToHex:function(j){var h=(j|0).toString(16);if(h.length==1){h=("0"+h)}return h.toLowerCase()},hexToInt:function(h){return parseInt(h,16)},rgbToHsv:function(l){var o=l.r/255,n=l.g/255,j=l.b/255,k={h:0,s:0,v:0},m=0,h=0,p;if(o>=n&&o>=j){h=o;m=n>j?j:n}else{if(n>=j&&n>=o){h=n;m=o>j?j:o}else{h=j;m=n>o?o:n}}k.v=h;k.s=h?(h-m)/h:0;if(!k.s){k.h=0}else{p=h-m;if(o==h){k.h=(n-j)/p}else{if(n==h){k.h=2+(j-o)/p}else{k.h=4+(o-n)/p}}k.h=parseInt(k.h*60);if(k.h<0){k.h+=360}}k.s=(k.s*100)|0;k.v=(k.v*100)|0;return k},hsvToRgb:function(n){var r={r:0,g:0,b:0,a:100},m=n.h,x=n.s,u=n.v;if(x==0){if(u==0){r.r=r.g=r.b=0}else{r.r=r.g=r.b=(u*255/100)|0}}else{if(m==360){m=0}m/=60;x=x/100;u=u/100;var l=m|0,o=m-l,k=u*(1-x),j=u*(1-(x*o)),w=u*(1-(x*(1-o)));switch(l){case 0:r.r=u;r.g=w;r.b=k;break;case 1:r.r=j;r.g=u;r.b=k;break;case 2:r.r=k;r.g=u;r.b=w;break;case 3:r.r=k;r.g=j;r.b=u;break;case 4:r.r=w;r.g=k;r.b=u;break;case 5:r.r=u;r.g=k;r.b=j;break}r.r=(r.r*255)|0;r.g=(r.g*255)|0;r.b=(r.b*255)|0}return r}}};var f=e.jPicker.Color,c=e.jPicker.List,g=e.jPicker.ColorMethods;e.fn.jPicker=function(j){var h=arguments;return this.each(function(){var w=this,av=e.extend(true,{},e.fn.jPicker.defaults,j);if(e(w).get(0).nodeName.toLowerCase()=="input"){e.extend(true,av,{window:{bindToInput:true,expandable:true,input:e(w)}});if(e(w).val()==""){av.color.active=new f({hex:null});av.color.current=new f({hex:null})}else{if(g.validateHex(e(w).val())){av.color.active=new f({hex:e(w).val(),a:av.color.active.val("a")});av.color.current=new f({hex:e(w).val(),a:av.color.active.val("a")})}}}if(av.window.expandable){e(w).after('<span class="jPicker"><span class="Icon"><span class="Color">&nbsp;</span><span class="Alpha">&nbsp;</span><span class="Image" title="Click To Open Color Picker">&nbsp;</span><span class="Container">&nbsp;</span></span></span>')}else{av.window.liveUpdate=false}var Q=parseFloat(navigator.appVersion.split("MSIE")[1])<7&&document.body.filters,R=null,l=null,s=null,au=null,at=null,ar=null,P=null,O=null,N=null,M=null,L=null,K=null,D=null,U=null,aw=null,J=null,I=null,am=null,ai=null,E=null,an=null,ah=null,X=null,ab=null,aq=null,r=null,C=null,u=null,ag=function(aB){var aD=G.active,aE=n.clientPath,aA=aD.val("hex"),aC,az;av.color.mode=aB;switch(aB){case"h":setTimeout(function(){y.call(w,l,"transparent");x.call(w,au,0);Y.call(w,au,100);x.call(w,at,260);Y.call(w,at,100);y.call(w,s,"transparent");x.call(w,P,0);Y.call(w,P,100);x.call(w,O,260);Y.call(w,O,100);x.call(w,N,260);Y.call(w,N,100);x.call(w,M,260);Y.call(w,M,100);x.call(w,K,260);Y.call(w,K,100)},0);D.range("all",{minX:0,maxX:100,minY:0,maxY:100});U.range("rangeY",{minY:0,maxY:360});if(aD.val("ahex")==null){break}D.val("xy",{x:aD.val("s"),y:100-aD.val("v")},D);U.val("y",360-aD.val("h"),U);break;case"s":setTimeout(function(){y.call(w,l,"transparent");x.call(w,au,-260);x.call(w,at,-520);x.call(w,P,-260);x.call(w,O,-520);x.call(w,K,260);Y.call(w,K,100)},0);D.range("all",{minX:0,maxX:360,minY:0,maxY:100});U.range("rangeY",{minY:0,maxY:100});if(aD.val("ahex")==null){break}D.val("xy",{x:aD.val("h"),y:100-aD.val("v")},D);U.val("y",100-aD.val("s"),U);break;case"v":setTimeout(function(){y.call(w,l,"000000");x.call(w,au,-780);x.call(w,at,260);y.call(w,s,aA);x.call(w,P,-520);x.call(w,O,260);Y.call(w,O,100);x.call(w,K,260);Y.call(w,K,100)},0);D.range("all",{minX:0,maxX:360,minY:0,maxY:100});U.range("rangeY",{minY:0,maxY:100});if(aD.val("ahex")==null){break}D.val("xy",{x:aD.val("h"),y:100-aD.val("s")},D);U.val("y",100-aD.val("v"),U);break;case"r":aC=-1040;az=-780;D.range("all",{minX:0,maxX:255,minY:0,maxY:255});U.range("rangeY",{minY:0,maxY:255});if(aD.val("ahex")==null){break}D.val("xy",{x:aD.val("b"),y:255-aD.val("g")},D);U.val("y",255-aD.val("r"),U);break;case"g":aC=-1560;az=-1820;D.range("all",{minX:0,maxX:255,minY:0,maxY:255});U.range("rangeY",{minY:0,maxY:255});if(aD.val("ahex")==null){break}D.val("xy",{x:aD.val("b"),y:255-aD.val("r")},D);U.val("y",255-aD.val("g"),U);break;case"b":aC=-2080;az=-2860;D.range("all",{minX:0,maxX:255,minY:0,maxY:255});U.range("rangeY",{minY:0,maxY:255});if(aD.val("ahex")==null){break}D.val("xy",{x:aD.val("r"),y:255-aD.val("g")},D);U.val("y",255-aD.val("b"),U);break;case"a":setTimeout(function(){y.call(w,l,"transparent");x.call(w,au,-260);x.call(w,at,-520);x.call(w,P,260);x.call(w,O,260);Y.call(w,O,100);x.call(w,K,0);Y.call(w,K,100)},0);D.range("all",{minX:0,maxX:360,minY:0,maxY:100});U.range("rangeY",{minY:0,maxY:255});if(aD.val("ahex")==null){break}D.val("xy",{x:aD.val("h"),y:100-aD.val("v")},D);U.val("y",255-aD.val("a"),U);break;default:throw ("Invalid Mode");break}switch(aB){case"h":break;case"s":case"v":case"a":setTimeout(function(){Y.call(w,au,100);Y.call(w,P,100);x.call(w,N,260);Y.call(w,N,100);x.call(w,M,260);Y.call(w,M,100)},0);break;case"r":case"g":case"b":setTimeout(function(){y.call(w,l,"transparent");y.call(w,s,"transparent");Y.call(w,P,100);Y.call(w,au,100);x.call(w,au,aC);x.call(w,at,aC-260);x.call(w,P,az-780);x.call(w,O,az-520);x.call(w,N,az);x.call(w,M,az-260);x.call(w,K,260);Y.call(w,K,100)},0);break}if(aD.val("ahex")==null){return}aj.call(w,aD)},aj=function(aA,az){if(az==null||(az!=U&&az!=D)){v.call(w,aA,az)}setTimeout(function(){ay.call(w,aA);al.call(w,aA);W.call(w,aA)},0)},z=function(aA,az){var aC=G.active;if(az!=D&&aC.val()==null){return}var aB=aA.val("all");switch(av.color.mode){case"h":aC.val("sv",{s:aB.x,v:100-aB.y},az);break;case"s":case"a":aC.val("hv",{h:aB.x,v:100-aB.y},az);break;case"v":aC.val("hs",{h:aB.x,s:100-aB.y},az);break;case"r":aC.val("gb",{g:255-aB.y,b:aB.x},az);break;case"g":aC.val("rb",{r:255-aB.y,b:aB.x},az);break;case"b":aC.val("rg",{r:aB.x,g:255-aB.y},az);break}},ac=function(aA,az){var aB=G.active;if(az!=U&&aB.val()==null){return}switch(av.color.mode){case"h":aB.val("h",{h:360-aA.val("y")},az);break;case"s":aB.val("s",{s:100-aA.val("y")},az);break;case"v":aB.val("v",{v:100-aA.val("y")},az);break;case"r":aB.val("r",{r:255-aA.val("y")},az);break;case"g":aB.val("g",{g:255-aA.val("y")},az);break;case"b":aB.val("b",{b:255-aA.val("y")},az);break;case"a":aB.val("a",255-aA.val("y"),az);break}},v=function(aC,az){if(az!=D){switch(av.color.mode){case"h":var aH=aC.val("sv");D.val("xy",{x:aH!=null?aH.s:100,y:100-(aH!=null?aH.v:100)},az);break;case"s":case"a":var aB=aC.val("hv");D.val("xy",{x:aB&&aB.h||0,y:100-(aB!=null?aB.v:100)},az);break;case"v":var aE=aC.val("hs");D.val("xy",{x:aE&&aE.h||0,y:100-(aE!=null?aE.s:100)},az);break;case"r":var aA=aC.val("bg");D.val("xy",{x:aA&&aA.b||0,y:255-(aA&&aA.g||0)},az);break;case"g":var aI=aC.val("br");D.val("xy",{x:aI&&aI.b||0,y:255-(aI&&aI.r||0)},az);break;case"b":var aG=aC.val("rg");D.val("xy",{x:aG&&aG.r||0,y:255-(aG&&aG.g||0)},az);break}}if(az!=U){switch(av.color.mode){case"h":U.val("y",360-(aC.val("h")||0),az);break;case"s":var aJ=aC.val("s");U.val("y",100-(aJ!=null?aJ:100),az);break;case"v":var aF=aC.val("v");U.val("y",100-(aF!=null?aF:100),az);break;case"r":U.val("y",255-(aC.val("r")||0),az);break;case"g":U.val("y",255-(aC.val("g")||0),az);break;case"b":U.val("y",255-(aC.val("b")||0),az);break;case"a":var aD=aC.val("a");U.val("y",255-(aD!=null?aD:255),az);break}}},ay=function(aA){try{var az=aA.val("all");E.css({backgroundColor:az&&"#"+az.hex||"transparent"});Y.call(w,E,az&&Math.precision((az.a*100)/255,4)||0)}catch(aB){}},al=function(aC){switch(av.color.mode){case"h":y.call(w,l,new f({h:aC.val("h")||0,s:100,v:100}).val("hex"));break;case"s":case"a":var aB=aC.val("s");Y.call(w,at,100-(aB!=null?aB:100));break;case"v":var aA=aC.val("v");Y.call(w,au,aA!=null?aA:100);break;case"r":Y.call(w,at,Math.precision((aC.val("r")||0)/255*100,4));break;case"g":Y.call(w,at,Math.precision((aC.val("g")||0)/255*100,4));break;case"b":Y.call(w,at,Math.precision((aC.val("b")||0)/255*100));break}var az=aC.val("a");Y.call(w,ar,Math.precision(((255-(az||0))*100)/255,4))},W=function(aF){switch(av.color.mode){case"h":var aH=aF.val("a");Y.call(w,L,Math.precision(((255-(aH||0))*100)/255,4));break;case"s":var aA=aF.val("hva"),aB=new f({h:aA&&aA.h||0,s:100,v:aA!=null?aA.v:100});y.call(w,s,aB.val("hex"));Y.call(w,O,100-(aA!=null?aA.v:100));Y.call(w,L,Math.precision(((255-(aA&&aA.a||0))*100)/255,4));break;case"v":var aC=aF.val("hsa"),aE=new f({h:aC&&aC.h||0,s:aC!=null?aC.s:100,v:100});y.call(w,s,aE.val("hex"));Y.call(w,L,Math.precision(((255-(aC&&aC.a||0))*100)/255,4));break;case"r":case"g":case"b":var aD=0,aG=0,az=aF.val("rgba");if(av.color.mode=="r"){aD=az&&az.b||0;aG=az&&az.g||0}else{if(av.color.mode=="g"){aD=az&&az.b||0;aG=az&&az.r||0}else{if(av.color.mode=="b"){aD=az&&az.r||0;aG=az&&az.g||0}}}var aI=aG>aD?aD:aG;Y.call(w,O,aD>aG?Math.precision(((aD-aG)/(255-aG))*100,4):0);Y.call(w,N,aG>aD?Math.precision(((aG-aD)/(255-aD))*100,4):0);Y.call(w,M,Math.precision((aI/255)*100,4));Y.call(w,L,Math.precision(((255-(az&&az.a||0))*100)/255,4));break;case"a":var aH=aF.val("a");y.call(w,s,aF.val("hex")||"000000");Y.call(w,L,aH!=null?0:100);Y.call(w,K,aH!=null?100:0);break}},y=function(az,aA){az.css({backgroundColor:aA&&aA.length==6&&"#"+aA||"transparent"})},t=function(az,aA){if(Q&&(aA.indexOf("AlphaBar.png")!=-1||aA.indexOf("Bars.png")!=-1||aA.indexOf("Maps.png")!=-1)){az.attr("pngSrc",aA);az.css({backgroundImage:"none",filter:"progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+aA+"', sizingMethod='scale')"})}else{az.css({backgroundImage:"url('"+aA+"')"})}},x=function(az,aA){az.css({top:aA+"px"})},Y=function(aA,az){aA.css({visibility:az>0?"visible":"hidden"});if(az>0&&az<100){if(Q){var aB=aA.attr("pngSrc");if(aB!=null&&(aB.indexOf("AlphaBar.png")!=-1||aB.indexOf("Bars.png")!=-1||aB.indexOf("Maps.png")!=-1)){aA.css({filter:"progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+aB+"', sizingMethod='scale') progid:DXImageTransform.Microsoft.Alpha(opacity="+az+")"})}else{aA.css({opacity:Math.precision(az/100,4)})}}else{aA.css({opacity:Math.precision(az/100,4)})}}else{if(az==0||az==100){if(Q){var aB=aA.attr("pngSrc");if(aB!=null&&(aB.indexOf("AlphaBar.png")!=-1||aB.indexOf("Bars.png")!=-1||aB.indexOf("Maps.png")!=-1)){aA.css({filter:"progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+aB+"', sizingMethod='scale')"})}else{aA.css({opacity:""})}}else{aA.css({opacity:""})}}}},B=function(){G.active.val("ahex",G.current.val("ahex"))},T=function(){G.current.val("ahex",G.active.val("ahex"))},A=function(az){e(this).parents("tbody:first").find('input:radio[value!="'+az.target.value+'"]').removeAttr("checked");ag.call(w,az.target.value)},Z=function(){B.call(w)},q=function(){B.call(w);av.window.expandable&&ao.call(w);e.isFunction(ax)&&ax.call(w,G.active,X)},m=function(){T.call(w);av.window.expandable&&ao.call(w);e.isFunction(ae)&&ae.call(w,G.active,ah)},af=function(){V.call(w)},ap=function(aB,az){var aA=aB.val("hex");an.css({backgroundColor:aA&&"#"+aA||"transparent"});Y.call(w,an,Math.precision(((aB.val("a")||0)*100)/255,4))},H=function(aC,az){var aB=aC.val("hex");var aA=aC.val("va");aq.css({backgroundColor:aB&&"#"+aB||"transparent"});Y.call(w,r,Math.precision(((255-(aA&&aA.a||0))*100)/255,4));if(av.window.bindToInput&&av.window.updateInputColor){av.window.input.css({backgroundColor:aB&&"#"+aB||"transparent",color:aA==null||aA.v>75?"#000000":"#ffffff"})}},S=function(aB){var az=av.window.element,aA=av.window.page;J=parseInt(R.css("left"));I=parseInt(R.css("top"));am=aB.pageX;ai=aB.pageY;e(document).bind("mousemove",k).bind("mouseup",p);aB.preventDefault()},k=function(az){R.css({left:J-(am-az.pageX)+"px",top:I-(ai-az.pageY)+"px"});if(av.window.expandable&&!e.support.boxModel){R.prev().css({left:R.css("left"),top:R.css("top")})}az.stopPropagation();az.preventDefault();return false},p=function(az){e(document).unbind("mousemove",k).unbind("mouseup",p);az.stopPropagation();az.preventDefault();return false},F=function(az){az.preventDefault();az.stopPropagation();G.active.val("ahex",e(this).attr("title")||null,az.target);return false},ae=e.isFunction(h[1])&&h[1]||null,ad=e.isFunction(h[2])&&h[2]||null,ax=e.isFunction(h[3])&&h[3]||null,V=function(){G.current.val("ahex",G.active.val("ahex"));var az=function(){if(!av.window.expandable||e.support.boxModel){return}var aA=R.find("table:first");R.before("<iframe/>");R.prev().css({width:aA.width(),height:R.height(),opacity:0,position:"absolute",left:R.css("left"),top:R.css("top")})};if(av.window.expandable){e(document.body).children("div.jPicker.Container").css({zIndex:10});R.css({zIndex:20})}switch(av.window.effects.type){case"fade":R.fadeIn(av.window.effects.speed.show,az);break;case"slide":R.slideDown(av.window.effects.speed.show,az);break;case"show":default:R.show(av.window.effects.speed.show,az);break}},ao=function(){var az=function(){if(av.window.expandable){R.css({zIndex:10})}if(!av.window.expandable||e.support.boxModel){return}R.prev().remove()};switch(av.window.effects.type){case"fade":R.fadeOut(av.window.effects.speed.hide,az);break;case"slide":R.slideUp(av.window.effects.speed.hide,az);break;case"show":default:R.hide(av.window.effects.speed.hide,az);break}},o=function(){var aG=av.window,az=aG.expandable?e(w).next().find(".Container:first"):null;R=aG.expandable?e("<div/>"):e(w);R.addClass("jPicker Container");if(aG.expandable){R.hide()}R.get(0).onselectstart=function(aN){if(aN.target.nodeName.toLowerCase()!=="input"){return false}};var aJ=G.active.val("all");if(aG.alphaPrecision<0){aG.alphaPrecision=0}else{if(aG.alphaPrecision>2){aG.alphaPrecision=2}}var aK='<table class="jPicker" cellpadding="0" cellspacing="0"><tbody>'+(aG.expandable?'<tr><td class="Move" colspan="5">&nbsp;</td></tr>':"")+'<tr><td rowspan="9"><h2 class="Title">'+(aG.title||aa.text.title)+'</h2><div class="Map"><span class="Map1">&nbsp;</span><span class="Map2">&nbsp;</span><span class="Map3">&nbsp;</span><img src="'+n.clientPath+n.colorMap.arrow.file+'" class="Arrow"/></div></td><td rowspan="9"><div class="Bar"><span class="Map1">&nbsp;</span><span class="Map2">&nbsp;</span><span class="Map3">&nbsp;</span><span class="Map4">&nbsp;</span><span class="Map5">&nbsp;</span><span class="Map6">&nbsp;</span><img src="'+n.clientPath+n.colorBar.arrow.file+'" class="Arrow"/></div></td><td colspan="2" class="Preview">'+aa.text.newColor+'<div><span class="Active" title="'+aa.tooltips.colors.newColor+'">&nbsp;</span><span class="Current" title="'+aa.tooltips.colors.currentColor+'">&nbsp;</span></div>'+aa.text.currentColor+'</td><td rowspan="9" class="Button"><input type="button" class="Ok" value="'+aa.text.ok+'" title="'+aa.tooltips.buttons.ok+'"/><input type="button" class="Cancel" value="'+aa.text.cancel+'" title="'+aa.tooltips.buttons.cancel+'"/><hr/><div class="Grid">&nbsp;</div></td></tr><tr class="Hue"><td class="Radio"><label title="'+aa.tooltips.hue.radio+'"><input type="radio" value="h"'+(av.color.mode=="h"?' checked="checked"':"")+'/>H:</label></td><td class="Text"><input type="text" maxlength="3" value="'+(aJ!=null?aJ.h:"")+'" title="'+aa.tooltips.hue.textbox+'"/>&nbsp;&deg;</td></tr><tr class="Saturation"><td class="Radio"><label title="'+aa.tooltips.saturation.radio+'"><input type="radio" value="s"'+(av.color.mode=="s"?' checked="checked"':"")+'/>S:</label></td><td class="Text"><input type="text" maxlength="3" value="'+(aJ!=null?aJ.s:"")+'" title="'+aa.tooltips.saturation.textbox+'"/>&nbsp;%</td></tr><tr class="Value"><td class="Radio"><label title="'+aa.tooltips.value.radio+'"><input type="radio" value="v"'+(av.color.mode=="v"?' checked="checked"':"")+'/>V:</label><br/><br/></td><td class="Text"><input type="text" maxlength="3" value="'+(aJ!=null?aJ.v:"")+'" title="'+aa.tooltips.value.textbox+'"/>&nbsp;%<br/><br/></td></tr><tr class="Red"><td class="Radio"><label title="'+aa.tooltips.red.radio+'"><input type="radio" value="r"'+(av.color.mode=="r"?' checked="checked"':"")+'/>R:</label></td><td class="Text"><input type="text" maxlength="3" value="'+(aJ!=null?aJ.r:"")+'" title="'+aa.tooltips.red.textbox+'"/></td></tr><tr class="Green"><td class="Radio"><label title="'+aa.tooltips.green.radio+'"><input type="radio" value="g"'+(av.color.mode=="g"?' checked="checked"':"")+'/>G:</label></td><td class="Text"><input type="text" maxlength="3" value="'+(aJ!=null?aJ.g:"")+'" title="'+aa.tooltips.green.textbox+'"/></td></tr><tr class="Blue"><td class="Radio"><label title="'+aa.tooltips.blue.radio+'"><input type="radio" value="b"'+(av.color.mode=="b"?' checked="checked"':"")+'/>B:</label></td><td class="Text"><input type="text" maxlength="3" value="'+(aJ!=null?aJ.b:"")+'" title="'+aa.tooltips.blue.textbox+'"/></td></tr><tr class="Alpha"><td class="Radio">'+(aG.alphaSupport?'<label title="'+aa.tooltips.alpha.radio+'"><input type="radio" value="a"'+(av.color.mode=="a"?' checked="checked"':"")+"/>A:</label>":"&nbsp;")+'</td><td class="Text">'+(aG.alphaSupport?'<input type="text" maxlength="'+(3+aG.alphaPrecision)+'" value="'+(aJ!=null?Math.precision((aJ.a*100)/255,aG.alphaPrecision):"")+'" title="'+aa.tooltips.alpha.textbox+'"/>&nbsp;%':"&nbsp;")+'</td></tr><tr class="Hex"><td colspan="2" class="Text"><label title="'+aa.tooltips.hex.textbox+'">#:<input type="text" maxlength="6" class="Hex" value="'+(aJ!=null?aJ.hex:"")+'"/></label>'+(aG.alphaSupport?'<input type="text" maxlength="2" class="AHex" value="'+(aJ!=null?aJ.ahex.substring(6):"")+'" title="'+aa.tooltips.hex.alpha+'"/></td>':"&nbsp;")+"</tr></tbody></table>";if(aG.expandable){R.html(aK);if(e(document.body).children("div.jPicker.Container").length==0){e(document.body).prepend(R)}else{e(document.body).children("div.jPicker.Container:last").after(R)}R.mousedown(function(){e(document.body).children("div.jPicker.Container").css({zIndex:10});R.css({zIndex:20})});R.css({left:aG.position.x=="left"?(az.offset().left-530-(aG.position.y=="center"?25:0))+"px":aG.position.x=="center"?(az.offset().left-260)+"px":aG.position.x=="right"?(az.offset().left-10+(aG.position.y=="center"?25:0))+"px":aG.position.x=="screenCenter"?((e(document).width()>>1)-260)+"px":(az.offset().left+parseInt(aG.position.x))+"px",position:"absolute",top:aG.position.y=="top"?(az.offset().top-312)+"px":aG.position.y=="center"?(az.offset().top-156)+"px":aG.position.y=="bottom"?(az.offset().top+25)+"px":(az.offset().top+parseInt(aG.position.y))+"px"})}else{R=e(w);R.html(aK)}var aD=R.find("tbody:first");l=aD.find("div.Map:first");s=aD.find("div.Bar:first");var aL=l.find("span"),aI=s.find("span");au=aL.filter(".Map1:first");at=aL.filter(".Map2:first");ar=aL.filter(".Map3:first");P=aI.filter(".Map1:first");O=aI.filter(".Map2:first");N=aI.filter(".Map3:first");M=aI.filter(".Map4:first");L=aI.filter(".Map5:first");K=aI.filter(".Map6:first");D=new d(l,{map:{width:n.colorMap.width,height:n.colorMap.height},arrow:{image:n.clientPath+n.colorMap.arrow.file,width:n.colorMap.arrow.width,height:n.colorMap.arrow.height}});D.bind(z);U=new d(s,{map:{width:n.colorBar.width,height:n.colorBar.height},arrow:{image:n.clientPath+n.colorBar.arrow.file,width:n.colorBar.arrow.width,height:n.colorBar.arrow.height}});U.bind(ac);aw=new b(aD,G.active,aG.expandable&&aG.bindToInput?aG.input:null,aG.alphaPrecision);var aB=aJ!=null?aJ.hex:null,aH=aD.find(".Preview"),aF=aD.find(".Button");E=aH.find(".Active:first").css({backgroundColor:aB&&"#"+aB||"transparent"});an=aH.find(".Current:first").css({backgroundColor:aB&&"#"+aB||"transparent"}).bind("click",Z);Y.call(w,an,Math.precision(G.current.val("a")*100)/255,4);ah=aF.find(".Ok:first").bind("click",m);X=aF.find(".Cancel:first").bind("click",q);ab=aF.find(".Grid:first");setTimeout(function(){t.call(w,au,n.clientPath+"Maps.png");t.call(w,at,n.clientPath+"Maps.png");t.call(w,ar,n.clientPath+"map-opacity.png");t.call(w,P,n.clientPath+"Bars.png");t.call(w,O,n.clientPath+"Bars.png");t.call(w,N,n.clientPath+"Bars.png");t.call(w,M,n.clientPath+"Bars.png");t.call(w,L,n.clientPath+"bar-opacity.png");t.call(w,K,n.clientPath+"AlphaBar.png");t.call(w,aH.find("div:first"),n.clientPath+"preview-opacity.png")},0);aD.find("td.Radio input").bind("click",A);if(G.quickList&&G.quickList.length>0){var aE="";for(i=0;i<G.quickList.length;i++){if((typeof(G.quickList[i])).toString().toLowerCase()=="string"){G.quickList[i]=new f({hex:G.quickList[i]})}var aC=G.quickList[i].val("a");var aM=G.quickList[i].val("ahex");if(!aG.alphaSupport&&aM){aM=aM.substring(0,6)+"ff"}var aA=G.quickList[i].val("hex");aE+='<span class="QuickColor"'+(aM&&' title="#'+aM+'"'||"")+' style="background-color:'+(aA&&"#"+aA||"")+";"+(aA?"":"background-image:url("+n.clientPath+"NoColor.png)")+(aG.alphaSupport&&aC&&aC<255?";opacity:"+Math.precision(aC/255,4)+";filter:Alpha(opacity="+Math.precision(aC/2.55,4)+")":"")+'">&nbsp;</span>'}t.call(w,ab,n.clientPath+"bar-opacity.png");ab.html(aE);ab.find(".QuickColor").click(F)}ag.call(w,av.color.mode);G.active.bind(aj);e.isFunction(ad)&&G.active.bind(ad);G.current.bind(ap);if(aG.expandable){w.icon=az.parents(".Icon:first");aq=w.icon.find(".Color:first").css({backgroundColor:aB&&"#"+aB||"transparent"});r=w.icon.find(".Alpha:first");t.call(w,r,n.clientPath+"bar-opacity.png");Y.call(w,r,Math.precision(((255-(aJ!=null?aJ.a:0))*100)/255,4));C=w.icon.find(".Image:first").css({backgroundImage:"url('"+n.clientPath+n.picker.file+"')"}).bind("click",af);if(aG.bindToInput&&aG.updateInputColor){aG.input.css({backgroundColor:aB&&"#"+aB||"transparent",color:aJ==null||aJ.v>75?"#000000":"#ffffff"})}u=aD.find(".Move:first").bind("mousedown",S);G.active.bind(H)}else{V.call(w)}},ak=function(){R.find("td.Radio input").unbind("click",A);an.unbind("click",Z);X.unbind("click",q);ah.unbind("click",m);if(av.window.expandable){C.unbind("click",af);u.unbind("mousedown",S);w.icon=null}R.find(".QuickColor").unbind("click",F);l=null;s=null;au=null;at=null;ar=null;P=null;O=null;N=null;M=null;L=null;K=null;D.destroy();D=null;U.destroy();U=null;aw.destroy();aw=null;E=null;an=null;ah=null;X=null;ab=null;ae=null;ax=null;ad=null;R.html("");for(i=0;i<c.length;i++){if(c[i]==w){c.splice(i,1)}}},n=av.images,aa=av.localization,G={active:(typeof(av.color.active)).toString().toLowerCase()=="string"?new f({ahex:!av.window.alphaSupport&&av.color.active?av.color.active.substring(0,6)+"ff":av.color.active}):new f({ahex:!av.window.alphaSupport&&av.color.active.val("ahex")?av.color.active.val("ahex").substring(0,6)+"ff":av.color.active.val("ahex")}),current:(typeof(av.color.active)).toString().toLowerCase()=="string"?new f({ahex:!av.window.alphaSupport&&av.color.active?av.color.active.substring(0,6)+"ff":av.color.active}):new f({ahex:!av.window.alphaSupport&&av.color.active.val("ahex")?av.color.active.val("ahex").substring(0,6)+"ff":av.color.active.val("ahex")}),quickList:av.color.quickList};e.extend(true,w,{commitCallback:ae,liveCallback:ad,cancelCallback:ax,color:G,show:V,hide:ao,destroy:ak});c.push(w);setTimeout(function(){o.call(w)},0)})};e.fn.jPicker.defaults={window:{title:null,effects:{type:"slide",speed:{show:"fast",hide:"fast"}},position:{x:"screenCenter",y:"top"},expandable:false,liveUpdate:true,alphaSupport:false,alphaPrecision:0,updateInputColor:true},color:{mode:"h",active:new f({ahex:"#ffcc00ff"}),quickList:[new f({h:360,s:33,v:100}),new f({h:360,s:66,v:100}),new f({h:360,s:100,v:100}),new f({h:360,s:100,v:75}),new f({h:360,s:100,v:50}),new f({h:180,s:0,v:100}),new f({h:30,s:33,v:100}),new f({h:30,s:66,v:100}),new f({h:30,s:100,v:100}),new f({h:30,s:100,v:75}),new f({h:30,s:100,v:50}),new f({h:180,s:0,v:90}),new f({h:60,s:33,v:100}),new f({h:60,s:66,v:100}),new f({h:60,s:100,v:100}),new f({h:60,s:100,v:75}),new f({h:60,s:100,v:50}),new f({h:180,s:0,v:80}),new f({h:90,s:33,v:100}),new f({h:90,s:66,v:100}),new f({h:90,s:100,v:100}),new f({h:90,s:100,v:75}),new f({h:90,s:100,v:50}),new f({h:180,s:0,v:70}),new f({h:120,s:33,v:100}),new f({h:120,s:66,v:100}),new f({h:120,s:100,v:100}),new f({h:120,s:100,v:75}),new f({h:120,s:100,v:50}),new f({h:180,s:0,v:60}),new f({h:150,s:33,v:100}),new f({h:150,s:66,v:100}),new f({h:150,s:100,v:100}),new f({h:150,s:100,v:75}),new f({h:150,s:100,v:50}),new f({h:180,s:0,v:50}),new f({h:180,s:33,v:100}),new f({h:180,s:66,v:100}),new f({h:180,s:100,v:100}),new f({h:180,s:100,v:75}),new f({h:180,s:100,v:50}),new f({h:180,s:0,v:40}),new f({h:210,s:33,v:100}),new f({h:210,s:66,v:100}),new f({h:210,s:100,v:100}),new f({h:210,s:100,v:75}),new f({h:210,s:100,v:50}),new f({h:180,s:0,v:30}),new f({h:240,s:33,v:100}),new f({h:240,s:66,v:100}),new f({h:240,s:100,v:100}),new f({h:240,s:100,v:75}),new f({h:240,s:100,v:50}),new f({h:180,s:0,v:20}),new f({h:270,s:33,v:100}),new f({h:270,s:66,v:100}),new f({h:270,s:100,v:100}),new f({h:270,s:100,v:75}),new f({h:270,s:100,v:50}),new f({h:180,s:0,v:10}),new f({h:300,s:33,v:100}),new f({h:300,s:66,v:100}),new f({h:300,s:100,v:100}),new f({h:300,s:100,v:75}),new f({h:300,s:100,v:50}),new f({h:180,s:0,v:0}),new f({h:330,s:33,v:100}),new f({h:330,s:66,v:100}),new f({h:330,s:100,v:100}),new f({h:330,s:100,v:75}),new f({h:330,s:100,v:50}),new f()]},images:{clientPath:jpicker.thispath,colorMap:{width:256,height:256,arrow:{file:"mappoint.gif",width:15,height:15}},colorBar:{width:20,height:256,arrow:{file:"rangearrows.gif",width:20,height:7}},picker:{file:"picker.gif",width:25,height:24}},localization:{text:{title:"Drag Markers To Pick A Color",newColor:"new",currentColor:"current",ok:"OK",cancel:"Cancel"},tooltips:{colors:{newColor:"New Color - Press &ldquo;OK&rdquo; To Commit",currentColor:"Click To Revert To Original Color"},buttons:{ok:"Commit To This Color Selection",cancel:"Cancel And Revert To Original Color"},hue:{radio:"Set To &ldquo;Hue&rdquo; Color Mode",textbox:"Enter A &ldquo;Hue&rdquo; Value (0-360&deg;)"},saturation:{radio:"Set To &ldquo;Saturation&rdquo; Color Mode",textbox:"Enter A &ldquo;Saturation&rdquo; Value (0-100%)"},value:{radio:"Set To &ldquo;Value&rdquo; Color Mode",textbox:"Enter A &ldquo;Value&rdquo; Value (0-100%)"},red:{radio:"Set To &ldquo;Red&rdquo; Color Mode",textbox:"Enter A &ldquo;Red&rdquo; Value (0-255)"},green:{radio:"Set To &ldquo;Green&rdquo; Color Mode",textbox:"Enter A &ldquo;Green&rdquo; Value (0-255)"},blue:{radio:"Set To &ldquo;Blue&rdquo; Color Mode",textbox:"Enter A &ldquo;Blue&rdquo; Value (0-255)"},alpha:{radio:"Set To &ldquo;Alpha&rdquo; Color Mode",textbox:"Enter A &ldquo;Alpha&rdquo; Value (0-100)"},hex:{textbox:"Enter A &ldquo;Hex&rdquo; Color Value (#000000-#ffffff)",alpha:"Enter A &ldquo;Alpha&rdquo; Value (#00-#ff)"}}}}})(jQuery,"1.1.6");
1
+ (function(e,a){Math.precision=function(j,h){if(h===undefined){h=0}return Math.round(j*Math.pow(10,h))/Math.pow(10,h)};var d=function(z,k){var o=this,j=z.find("img:first"),F=0,E=100,w=100,D=0,C=100,v=100,s=0,p=0,n,q,u=new Array(),l=function(y){for(var x=0;x<u.length;x++){u[x].call(o,o,y)}},H=function(x){var y=z.offset();n={l:y.left|0,t:y.top|0};clearTimeout(q);q=setTimeout(function(){A.call(o,x)},0);e(document).bind("mousemove",h).bind("mouseup",B);x.preventDefault()},h=function(x){clearTimeout(q);q=setTimeout(function(){A.call(o,x)},0);x.stopPropagation();x.preventDefault();return false},B=function(x){e(document).unbind("mouseup",B).unbind("mousemove",h);x.stopPropagation();x.preventDefault();return false},A=function(M){var K=M.pageX-n.l,x=M.pageY-n.t,L=z.w,y=z.h;if(K<0){K=0}else{if(K>L){K=L}}if(x<0){x=0}else{if(x>y){x=y}}J.call(o,"xy",{x:((K/L)*w)+F,y:((x/y)*v)+D})},r=function(){var L=0,x=0,N=z.w,K=z.h,M=j.w,y=j.h;setTimeout(function(){if(w>0){if(s==E){L=N}else{L=((s/w)*N)|0}}if(v>0){if(p==C){x=K}else{x=((p/v)*K)|0}}if(M>=N){L=(N>>1)-(M>>1)}else{L-=M>>1}if(y>=K){x=(K>>1)-(y>>1)}else{x-=y>>1}j.css({left:L+"px",top:x+"px"})},0)},J=function(x,K,y){var O=K!==undefined;if(!O){if(x===undefined||x==null){x="xy"}switch(x.toLowerCase()){case"x":return s;case"y":return p;case"xy":default:return{x:s,y:p}}}if(y!=null&&y==o){return}var N=false,M,L;if(x==null){x="xy"}switch(x.toLowerCase()){case"x":M=K&&(K.x&&K.x|0||K|0)||0;break;case"y":L=K&&(K.y&&K.y|0||K|0)||0;break;case"xy":default:M=K&&K.x&&K.x|0||0;L=K&&K.y&&K.y|0||0;break}if(M!=null){if(M<F){M=F}else{if(M>E){M=E}}if(s!=M){s=M;N=true}}if(L!=null){if(L<D){L=D}else{if(L>C){L=C}}if(p!=L){p=L;N=true}}N&&l.call(o,y||o)},t=function(x,L){var P=L!==undefined;if(!P){if(x===undefined||x==null){x="all"}switch(x.toLowerCase()){case"minx":return F;case"maxx":return E;case"rangex":return{minX:F,maxX:E,rangeX:w};case"miny":return D;case"maxy":return C;case"rangey":return{minY:D,maxY:C,rangeY:v};case"all":default:return{minX:F,maxX:E,rangeX:w,minY:D,maxY:C,rangeY:v}}}var O=false,N,K,M,y;if(x==null){x="all"}switch(x.toLowerCase()){case"minx":N=L&&(L.minX&&L.minX|0||L|0)||0;break;case"maxx":K=L&&(L.maxX&&L.maxX|0||L|0)||0;break;case"rangex":N=L&&L.minX&&L.minX|0||0;K=L&&L.maxX&&L.maxX|0||0;break;case"miny":M=L&&(L.minY&&L.minY|0||L|0)||0;break;case"maxy":y=L&&(L.maxY&&L.maxY|0||L|0)||0;break;case"rangey":M=L&&L.minY&&L.minY|0||0;y=L&&L.maxY&&L.maxY|0||0;break;case"all":default:N=L&&L.minX&&L.minX|0||0;K=L&&L.maxX&&L.maxX|0||0;M=L&&L.minY&&L.minY|0||0;y=L&&L.maxY&&L.maxY|0||0;break}if(N!=null&&F!=N){F=N;w=E-F}if(K!=null&&E!=K){E=K;w=E-F}if(M!=null&&D!=M){D=M;v=C-D}if(y!=null&&C!=y){C=y;v=C-D}},I=function(x){if(e.isFunction(x)){u.push(x)}},m=function(y){if(!e.isFunction(y)){return}var x;while((x=e.inArray(y,u))!=-1){u.splice(x,1)}},G=function(){e(document).unbind("mouseup",B).unbind("mousemove",h);z.unbind("mousedown",H);z=null;j=null;u=null};e.extend(true,o,{val:J,range:t,bind:I,unbind:m,destroy:G});j.src=k.arrow&&k.arrow.image;j.w=k.arrow&&k.arrow.width||j.width();j.h=k.arrow&&k.arrow.height||j.height();z.w=k.map&&k.map.width||z.width();z.h=k.map&&k.map.height||z.height();z.bind("mousedown",H);I.call(o,r)},b=function(u,z,k,y){var q=this,l=u.find("td.Text input"),r=l.eq(3),v=l.eq(4),h=l.eq(5),o=l.length>7?l.eq(6):null,n=l.eq(0),p=l.eq(1),x=l.eq(2),s=l.eq(l.length>7?7:6),B=l.length>7?l.eq(8):null,C=function(E){if(E.target.value==""&&E.target!=s.get(0)&&(k!=null&&E.target!=k.get(0)||k==null)){return}if(!t(E)){return E}switch(E.target){case r.get(0):switch(E.keyCode){case 38:r.val(j.call(q,(r.val()<<0)+1,0,255));z.val("r",r.val(),E.target);return false;case 40:r.val(j.call(q,(r.val()<<0)-1,0,255));z.val("r",r.val(),E.target);return false}break;case v.get(0):switch(E.keyCode){case 38:v.val(j.call(q,(v.val()<<0)+1,0,255));z.val("g",v.val(),E.target);return false;case 40:v.val(j.call(q,(v.val()<<0)-1,0,255));z.val("g",v.val(),E.target);return false}break;case h.get(0):switch(E.keyCode){case 38:h.val(j.call(q,(h.val()<<0)+1,0,255));z.val("b",h.val(),E.target);return false;case 40:h.val(j.call(q,(h.val()<<0)-1,0,255));z.val("b",h.val(),E.target);return false}break;case o&&o.get(0):switch(E.keyCode){case 38:o.val(j.call(q,parseFloat(o.val())+1,0,100));z.val("a",Math.precision((o.val()*255)/100,y),E.target);return false;case 40:o.val(j.call(q,parseFloat(o.val())-1,0,100));z.val("a",Math.precision((o.val()*255)/100,y),E.target);return false}break;case n.get(0):switch(E.keyCode){case 38:n.val(j.call(q,(n.val()<<0)+1,0,360));z.val("h",n.val(),E.target);return false;case 40:n.val(j.call(q,(n.val()<<0)-1,0,360));z.val("h",n.val(),E.target);return false}break;case p.get(0):switch(E.keyCode){case 38:p.val(j.call(q,(p.val()<<0)+1,0,100));z.val("s",p.val(),E.target);return false;case 40:p.val(j.call(q,(p.val()<<0)-1,0,100));z.val("s",p.val(),E.target);return false}break;case x.get(0):switch(E.keyCode){case 38:x.val(j.call(q,(x.val()<<0)+1,0,100));z.val("v",x.val(),E.target);return false;case 40:x.val(j.call(q,(x.val()<<0)-1,0,100));z.val("v",x.val(),E.target);return false}break}},w=function(E){if(E.target.value==""&&E.target!=s.get(0)&&(k!=null&&E.target!=k.get(0)||k==null)){return}if(!t(E)){return E}switch(E.target){case r.get(0):r.val(j.call(q,r.val(),0,255));z.val("r",r.val(),E.target);break;case v.get(0):v.val(j.call(q,v.val(),0,255));z.val("g",v.val(),E.target);break;case h.get(0):h.val(j.call(q,h.val(),0,255));z.val("b",h.val(),E.target);break;case o&&o.get(0):o.val(j.call(q,o.val(),0,100));z.val("a",Math.precision((o.val()*255)/100,y),E.target);break;case n.get(0):n.val(j.call(q,n.val(),0,360));z.val("h",n.val(),E.target);break;case p.get(0):p.val(j.call(q,p.val(),0,100));z.val("s",p.val(),E.target);break;case x.get(0):x.val(j.call(q,x.val(),0,100));z.val("v",x.val(),E.target);break;case s.get(0):s.val(s.val().replace(/[^a-fA-F0-9]/g,"").toLowerCase().substring(0,6));k&&k.val(s.val());z.val("hex",s.val()!=""?s.val():null,E.target);break;case k&&k.get(0):k.val(k.val().replace(/[^a-fA-F0-9]/g,"").toLowerCase().substring(0,6));s.val(k.val());z.val("hex",k.val()!=""?k.val():null,E.target);break;case B&&B.get(0):B.val(B.val().replace(/[^a-fA-F0-9]/g,"").toLowerCase().substring(0,2));z.val("a",B.val()!=null?parseInt(B.val(),16):null,E.target);break}},A=function(E){if(z.val()!=null){switch(E.target){case r.get(0):r.val(z.val("r"));break;case v.get(0):v.val(z.val("g"));break;case h.get(0):h.val(z.val("b"));break;case o&&o.get(0):o.val(Math.precision((z.val("a")*100)/255,y));break;case n.get(0):n.val(z.val("h"));break;case p.get(0):p.val(z.val("s"));break;case x.get(0):x.val(z.val("v"));break;case s.get(0):case k&&k.get(0):s.val(z.val("hex"));k&&k.val(z.val("hex"));break;case B&&B.get(0):B.val(z.val("ahex").substring(6));break}}},t=function(E){switch(E.keyCode){case 9:case 16:case 29:case 37:case 39:return false;case"c".charCodeAt():case"v".charCodeAt():if(E.ctrlKey){return false}}return true},j=function(G,F,E){if(G==""||isNaN(G)){return F}if(G>E){return E}if(G<F){return F}return G},m=function(G,E){var F=G.val("all");if(E!=r.get(0)){r.val(F!=null?F.r:"")}if(E!=v.get(0)){v.val(F!=null?F.g:"")}if(E!=h.get(0)){h.val(F!=null?F.b:"")}if(o&&E!=o.get(0)){o.val(F!=null?Math.precision((F.a*100)/255,y):"")}if(E!=n.get(0)){n.val(F!=null?F.h:"")}if(E!=p.get(0)){p.val(F!=null?F.s:"")}if(E!=x.get(0)){x.val(F!=null?F.v:"")}if(E!=s.get(0)&&(k&&E!=k.get(0)||!k)){s.val(F!=null?F.hex:"")}if(k&&E!=k.get(0)&&E!=s.get(0)){k.val(F!=null?F.hex:"")}if(B&&E!=B.get(0)){B.val(F!=null?F.ahex.substring(6):"")}},D=function(){r.add(v).add(h).add(o).add(n).add(p).add(x).add(s).add(k).add(B).unbind("keyup",w).unbind("blur",A);r.add(v).add(h).add(o).add(n).add(p).add(x).unbind("keydown",C);z.unbind(m);r=null;v=null;h=null;o=null;n=null;p=null;x=null;s=null;B=null};e.extend(true,q,{destroy:D});r.add(v).add(h).add(o).add(n).add(p).add(x).add(s).add(k).add(B).bind("keyup",w).bind("blur",A);r.add(v).add(h).add(o).add(n).add(p).add(x).bind("keydown",C);z.bind(m)};e.jPicker={List:[],Color:function(z){var q=this,j,o,t,u,n,A,x,k=new Array(),m=function(r){for(var h=0;h<k.length;h++){k[h].call(q,q,r)}},l=function(h,G,r){var F=G!==undefined;if(!F){if(h===undefined||h==null||h==""){h="all"}if(j==null){return null}switch(h.toLowerCase()){case"ahex":return g.rgbaToHex({r:j,g:o,b:t,a:u});case"hex":return l("ahex").substring(0,6);case"all":return{r:j,g:o,b:t,a:u,h:n,s:A,v:x,hex:l.call(q,"hex"),ahex:l.call(q,"ahex")};default:var D={};for(var B=0;B<h.length;B++){switch(h.charAt(B)){case"r":if(h.length==1){D=j}else{D.r=j}break;case"g":if(h.length==1){D=o}else{D.g=o}break;case"b":if(h.length==1){D=t}else{D.b=t}break;case"a":if(h.length==1){D=u}else{D.a=u}break;case"h":if(h.length==1){D=n}else{D.h=n}break;case"s":if(h.length==1){D=A}else{D.s=A}break;case"v":if(h.length==1){D=x}else{D.v=x}break}}return D=={}?l.call(q,"all"):D;break}}if(r!=null&&r==q){return}var v=false;if(h==null){h=""}if(G==null){if(j!=null){j=null;v=true}if(o!=null){o=null;v=true}if(t!=null){t=null;v=true}if(u!=null){u=null;v=true}if(n!=null){n=null;v=true}if(A!=null){A=null;v=true}if(x!=null){x=null;v=true}v&&m.call(q,r||q);return}switch(h.toLowerCase()){case"ahex":case"hex":var D=g.hexToRgba(G&&(G.ahex||G.hex)||G||"00000000");l.call(q,"rgba",{r:D.r,g:D.g,b:D.b,a:h=="ahex"?D.a:u!=null?u:255},r);break;default:if(G&&(G.ahex!=null||G.hex!=null)){l.call(q,"ahex",G.ahex||G.hex||"00000000",r);return}var s={},E=false,C=false;if(G.r!==undefined&&!h.indexOf("r")==-1){h+="r"}if(G.g!==undefined&&!h.indexOf("g")==-1){h+="g"}if(G.b!==undefined&&!h.indexOf("b")==-1){h+="b"}if(G.a!==undefined&&!h.indexOf("a")==-1){h+="a"}if(G.h!==undefined&&!h.indexOf("h")==-1){h+="h"}if(G.s!==undefined&&!h.indexOf("s")==-1){h+="s"}if(G.v!==undefined&&!h.indexOf("v")==-1){h+="v"}for(var B=0;B<h.length;B++){switch(h.charAt(B)){case"r":if(C){continue}E=true;s.r=G&&G.r&&G.r|0||G&&G|0||0;if(s.r<0){s.r=0}else{if(s.r>255){s.r=255}}if(j!=s.r){j=s.r;v=true}break;case"g":if(C){continue}E=true;s.g=G&&G.g&&G.g|0||G&&G|0||0;if(s.g<0){s.g=0}else{if(s.g>255){s.g=255}}if(o!=s.g){o=s.g;v=true}break;case"b":if(C){continue}E=true;s.b=G&&G.b&&G.b|0||G&&G|0||0;if(s.b<0){s.b=0}else{if(s.b>255){s.b=255}}if(t!=s.b){t=s.b;v=true}break;case"a":s.a=G&&G.a!=null?G.a|0:G!=null?G|0:255;if(s.a<0){s.a=0}else{if(s.a>255){s.a=255}}if(u!=s.a){u=s.a;v=true}break;case"h":if(E){continue}C=true;s.h=G&&G.h&&G.h|0||G&&G|0||0;if(s.h<0){s.h=0}else{if(s.h>360){s.h=360}}if(n!=s.h){n=s.h;v=true}break;case"s":if(E){continue}C=true;s.s=G&&G.s!=null?G.s|0:G!=null?G|0:100;if(s.s<0){s.s=0}else{if(s.s>100){s.s=100}}if(A!=s.s){A=s.s;v=true}break;case"v":if(E){continue}C=true;s.v=G&&G.v!=null?G.v|0:G!=null?G|0:100;if(s.v<0){s.v=0}else{if(s.v>100){s.v=100}}if(x!=s.v){x=s.v;v=true}break}}if(v){if(E){j=j||0;o=o||0;t=t||0;var D=g.rgbToHsv({r:j,g:o,b:t});n=D.h;A=D.s;x=D.v}else{if(C){n=n||0;A=A!=null?A:100;x=x!=null?x:100;var D=g.hsvToRgb({h:n,s:A,v:x});j=D.r;o=D.g;t=D.b}}u=u!=null?u:255;m.call(q,r||q)}break}},p=function(h){if(e.isFunction(h)){k.push(h)}},y=function(r){if(!e.isFunction(r)){return}var h;while((h=e.inArray(r,k))!=-1){k.splice(h,1)}},w=function(){k=null};e.extend(true,q,{val:l,bind:p,unbind:y,destroy:w});if(z){if(z.ahex!=null){l("ahex",z)}else{if(z.hex!=null){l((z.a!=null?"a":"")+"hex",z.a!=null?{ahex:z.hex+g.intToHex(z.a)}:z)}else{if(z.r!=null&&z.g!=null&&z.b!=null){l("rgb"+(z.a!=null?"a":""),z)}else{if(z.h!=null&&z.s!=null&&z.v!=null){l("hsv"+(z.a!=null?"a":""),z)}}}}}},ColorMethods:{hexToRgba:function(m){m=this.validateHex(m);if(m==""){return{r:null,g:null,b:null,a:null}}var l="00",k="00",h="00",j="255";if(m.length==6){m+="ff"}if(m.length>6){l=m.substring(0,2);k=m.substring(2,4);h=m.substring(4,6);j=m.substring(6,m.length)}else{if(m.length>4){l=m.substring(4,m.length);m=m.substring(0,4)}if(m.length>2){k=m.substring(2,m.length);m=m.substring(0,2)}if(m.length>0){h=m.substring(0,m.length)}}return{r:this.hexToInt(l),g:this.hexToInt(k),b:this.hexToInt(h),a:this.hexToInt(j)}},validateHex:function(h){h=h.toLowerCase().replace(/[^a-f0-9]/g,"");if(h.length>8){h=h.substring(0,8)}return h},rgbaToHex:function(h){return this.intToHex(h.r)+this.intToHex(h.g)+this.intToHex(h.b)+this.intToHex(h.a)},intToHex:function(j){var h=(j|0).toString(16);if(h.length==1){h=("0"+h)}return h.toLowerCase()},hexToInt:function(h){return parseInt(h,16)},rgbToHsv:function(l){var o=l.r/255,n=l.g/255,j=l.b/255,k={h:0,s:0,v:0},m=0,h=0,p;if(o>=n&&o>=j){h=o;m=n>j?j:n}else{if(n>=j&&n>=o){h=n;m=o>j?j:o}else{h=j;m=n>o?o:n}}k.v=h;k.s=h?(h-m)/h:0;if(!k.s){k.h=0}else{p=h-m;if(o==h){k.h=(n-j)/p}else{if(n==h){k.h=2+(j-o)/p}else{k.h=4+(o-n)/p}}k.h=parseInt(k.h*60);if(k.h<0){k.h+=360}}k.s=(k.s*100)|0;k.v=(k.v*100)|0;return k},hsvToRgb:function(n){var r={r:0,g:0,b:0,a:100},m=n.h,x=n.s,u=n.v;if(x==0){if(u==0){r.r=r.g=r.b=0}else{r.r=r.g=r.b=(u*255/100)|0}}else{if(m==360){m=0}m/=60;x=x/100;u=u/100;var l=m|0,o=m-l,k=u*(1-x),j=u*(1-(x*o)),w=u*(1-(x*(1-o)));switch(l){case 0:r.r=u;r.g=w;r.b=k;break;case 1:r.r=j;r.g=u;r.b=k;break;case 2:r.r=k;r.g=u;r.b=w;break;case 3:r.r=k;r.g=j;r.b=u;break;case 4:r.r=w;r.g=k;r.b=u;break;case 5:r.r=u;r.g=k;r.b=j;break}r.r=(r.r*255)|0;r.g=(r.g*255)|0;r.b=(r.b*255)|0}return r}}};var f=e.jPicker.Color,c=e.jPicker.List,g=e.jPicker.ColorMethods;e.fn.jPicker=function(j){var h=arguments;return this.each(function(){var w=this,av=e.extend(true,{},e.fn.jPicker.defaults,j);if(e(w).get(0).nodeName.toLowerCase()=="input"){e.extend(true,av,{window:{bindToInput:true,expandable:true,input:e(w)}});if(e(w).val()==""){av.color.active=new f({hex:null});av.color.current=new f({hex:null})}else{if(g.validateHex(e(w).val())){av.color.active=new f({hex:e(w).val(),a:av.color.active.val("a")});av.color.current=new f({hex:e(w).val(),a:av.color.active.val("a")})}}}if(av.window.expandable){e(w).after('<span class="jPicker"><span class="Icon"><span class="Color">&nbsp;</span><span class="Alpha">&nbsp;</span><span class="Image" title="Click To Open Color Picker">&nbsp;</span><span class="Container">&nbsp;</span></span></span>')}else{av.window.liveUpdate=false}var Q=parseFloat(navigator.appVersion.split("MSIE")[1])<7&&document.body.filters,R=null,l=null,s=null,au=null,at=null,ar=null,P=null,O=null,N=null,M=null,L=null,K=null,D=null,U=null,aw=null,J=null,I=null,am=null,ai=null,E=null,an=null,ah=null,X=null,ab=null,aq=null,r=null,C=null,u=null,ag=function(aB){var aD=G.active,aE=n.clientPath,aA=aD.val("hex"),aC,az;av.color.mode=aB;switch(aB){case"h":setTimeout(function(){y.call(w,l,"transparent");x.call(w,au,0);Y.call(w,au,100);x.call(w,at,260);Y.call(w,at,100);y.call(w,s,"transparent");x.call(w,P,0);Y.call(w,P,100);x.call(w,O,260);Y.call(w,O,100);x.call(w,N,260);Y.call(w,N,100);x.call(w,M,260);Y.call(w,M,100);x.call(w,K,260);Y.call(w,K,100)},0);D.range("all",{minX:0,maxX:100,minY:0,maxY:100});U.range("rangeY",{minY:0,maxY:360});if(aD.val("ahex")==null){break}D.val("xy",{x:aD.val("s"),y:100-aD.val("v")},D);U.val("y",360-aD.val("h"),U);break;case"s":setTimeout(function(){y.call(w,l,"transparent");x.call(w,au,-260);x.call(w,at,-520);x.call(w,P,-260);x.call(w,O,-520);x.call(w,K,260);Y.call(w,K,100)},0);D.range("all",{minX:0,maxX:360,minY:0,maxY:100});U.range("rangeY",{minY:0,maxY:100});if(aD.val("ahex")==null){break}D.val("xy",{x:aD.val("h"),y:100-aD.val("v")},D);U.val("y",100-aD.val("s"),U);break;case"v":setTimeout(function(){y.call(w,l,"000000");x.call(w,au,-780);x.call(w,at,260);y.call(w,s,aA);x.call(w,P,-520);x.call(w,O,260);Y.call(w,O,100);x.call(w,K,260);Y.call(w,K,100)},0);D.range("all",{minX:0,maxX:360,minY:0,maxY:100});U.range("rangeY",{minY:0,maxY:100});if(aD.val("ahex")==null){break}D.val("xy",{x:aD.val("h"),y:100-aD.val("s")},D);U.val("y",100-aD.val("v"),U);break;case"r":aC=-1040;az=-780;D.range("all",{minX:0,maxX:255,minY:0,maxY:255});U.range("rangeY",{minY:0,maxY:255});if(aD.val("ahex")==null){break}D.val("xy",{x:aD.val("b"),y:255-aD.val("g")},D);U.val("y",255-aD.val("r"),U);break;case"g":aC=-1560;az=-1820;D.range("all",{minX:0,maxX:255,minY:0,maxY:255});U.range("rangeY",{minY:0,maxY:255});if(aD.val("ahex")==null){break}D.val("xy",{x:aD.val("b"),y:255-aD.val("r")},D);U.val("y",255-aD.val("g"),U);break;case"b":aC=-2080;az=-2860;D.range("all",{minX:0,maxX:255,minY:0,maxY:255});U.range("rangeY",{minY:0,maxY:255});if(aD.val("ahex")==null){break}D.val("xy",{x:aD.val("r"),y:255-aD.val("g")},D);U.val("y",255-aD.val("b"),U);break;case"a":setTimeout(function(){y.call(w,l,"transparent");x.call(w,au,-260);x.call(w,at,-520);x.call(w,P,260);x.call(w,O,260);Y.call(w,O,100);x.call(w,K,0);Y.call(w,K,100)},0);D.range("all",{minX:0,maxX:360,minY:0,maxY:100});U.range("rangeY",{minY:0,maxY:255});if(aD.val("ahex")==null){break}D.val("xy",{x:aD.val("h"),y:100-aD.val("v")},D);U.val("y",255-aD.val("a"),U);break;default:throw ("Invalid Mode");break}switch(aB){case"h":break;case"s":case"v":case"a":setTimeout(function(){Y.call(w,au,100);Y.call(w,P,100);x.call(w,N,260);Y.call(w,N,100);x.call(w,M,260);Y.call(w,M,100)},0);break;case"r":case"g":case"b":setTimeout(function(){y.call(w,l,"transparent");y.call(w,s,"transparent");Y.call(w,P,100);Y.call(w,au,100);x.call(w,au,aC);x.call(w,at,aC-260);x.call(w,P,az-780);x.call(w,O,az-520);x.call(w,N,az);x.call(w,M,az-260);x.call(w,K,260);Y.call(w,K,100)},0);break}if(aD.val("ahex")==null){return}aj.call(w,aD)},aj=function(aA,az){if(az==null||(az!=U&&az!=D)){v.call(w,aA,az)}setTimeout(function(){ay.call(w,aA);al.call(w,aA);W.call(w,aA)},0)},z=function(aA,az){var aC=G.active;if(az!=D&&aC.val()==null){return}var aB=aA.val("all");switch(av.color.mode){case"h":aC.val("sv",{s:aB.x,v:100-aB.y},az);break;case"s":case"a":aC.val("hv",{h:aB.x,v:100-aB.y},az);break;case"v":aC.val("hs",{h:aB.x,s:100-aB.y},az);break;case"r":aC.val("gb",{g:255-aB.y,b:aB.x},az);break;case"g":aC.val("rb",{r:255-aB.y,b:aB.x},az);break;case"b":aC.val("rg",{r:aB.x,g:255-aB.y},az);break}},ac=function(aA,az){var aB=G.active;if(az!=U&&aB.val()==null){return}switch(av.color.mode){case"h":aB.val("h",{h:360-aA.val("y")},az);break;case"s":aB.val("s",{s:100-aA.val("y")},az);break;case"v":aB.val("v",{v:100-aA.val("y")},az);break;case"r":aB.val("r",{r:255-aA.val("y")},az);break;case"g":aB.val("g",{g:255-aA.val("y")},az);break;case"b":aB.val("b",{b:255-aA.val("y")},az);break;case"a":aB.val("a",255-aA.val("y"),az);break}},v=function(aC,az){if(az!=D){switch(av.color.mode){case"h":var aH=aC.val("sv");D.val("xy",{x:aH!=null?aH.s:100,y:100-(aH!=null?aH.v:100)},az);break;case"s":case"a":var aB=aC.val("hv");D.val("xy",{x:aB&&aB.h||0,y:100-(aB!=null?aB.v:100)},az);break;case"v":var aE=aC.val("hs");D.val("xy",{x:aE&&aE.h||0,y:100-(aE!=null?aE.s:100)},az);break;case"r":var aA=aC.val("bg");D.val("xy",{x:aA&&aA.b||0,y:255-(aA&&aA.g||0)},az);break;case"g":var aI=aC.val("br");D.val("xy",{x:aI&&aI.b||0,y:255-(aI&&aI.r||0)},az);break;case"b":var aG=aC.val("rg");D.val("xy",{x:aG&&aG.r||0,y:255-(aG&&aG.g||0)},az);break}}if(az!=U){switch(av.color.mode){case"h":U.val("y",360-(aC.val("h")||0),az);break;case"s":var aJ=aC.val("s");U.val("y",100-(aJ!=null?aJ:100),az);break;case"v":var aF=aC.val("v");U.val("y",100-(aF!=null?aF:100),az);break;case"r":U.val("y",255-(aC.val("r")||0),az);break;case"g":U.val("y",255-(aC.val("g")||0),az);break;case"b":U.val("y",255-(aC.val("b")||0),az);break;case"a":var aD=aC.val("a");U.val("y",255-(aD!=null?aD:255),az);break}}},ay=function(aA){try{var az=aA.val("all");E.css({backgroundColor:az&&"#"+az.hex||"transparent"});Y.call(w,E,az&&Math.precision((az.a*100)/255,4)||0)}catch(aB){}},al=function(aC){switch(av.color.mode){case"h":y.call(w,l,new f({h:aC.val("h")||0,s:100,v:100}).val("hex"));break;case"s":case"a":var aB=aC.val("s");Y.call(w,at,100-(aB!=null?aB:100));break;case"v":var aA=aC.val("v");Y.call(w,au,aA!=null?aA:100);break;case"r":Y.call(w,at,Math.precision((aC.val("r")||0)/255*100,4));break;case"g":Y.call(w,at,Math.precision((aC.val("g")||0)/255*100,4));break;case"b":Y.call(w,at,Math.precision((aC.val("b")||0)/255*100));break}var az=aC.val("a");Y.call(w,ar,Math.precision(((255-(az||0))*100)/255,4))},W=function(aF){switch(av.color.mode){case"h":var aH=aF.val("a");Y.call(w,L,Math.precision(((255-(aH||0))*100)/255,4));break;case"s":var aA=aF.val("hva"),aB=new f({h:aA&&aA.h||0,s:100,v:aA!=null?aA.v:100});y.call(w,s,aB.val("hex"));Y.call(w,O,100-(aA!=null?aA.v:100));Y.call(w,L,Math.precision(((255-(aA&&aA.a||0))*100)/255,4));break;case"v":var aC=aF.val("hsa"),aE=new f({h:aC&&aC.h||0,s:aC!=null?aC.s:100,v:100});y.call(w,s,aE.val("hex"));Y.call(w,L,Math.precision(((255-(aC&&aC.a||0))*100)/255,4));break;case"r":case"g":case"b":var aD=0,aG=0,az=aF.val("rgba");if(av.color.mode=="r"){aD=az&&az.b||0;aG=az&&az.g||0}else{if(av.color.mode=="g"){aD=az&&az.b||0;aG=az&&az.r||0}else{if(av.color.mode=="b"){aD=az&&az.r||0;aG=az&&az.g||0}}}var aI=aG>aD?aD:aG;Y.call(w,O,aD>aG?Math.precision(((aD-aG)/(255-aG))*100,4):0);Y.call(w,N,aG>aD?Math.precision(((aG-aD)/(255-aD))*100,4):0);Y.call(w,M,Math.precision((aI/255)*100,4));Y.call(w,L,Math.precision(((255-(az&&az.a||0))*100)/255,4));break;case"a":var aH=aF.val("a");y.call(w,s,aF.val("hex")||"000000");Y.call(w,L,aH!=null?0:100);Y.call(w,K,aH!=null?100:0);break}},y=function(az,aA){az.css({backgroundColor:aA&&aA.length==6&&"#"+aA||"transparent"})},t=function(az,aA){if(Q&&(aA.indexOf("AlphaBar.png")!=-1||aA.indexOf("Bars.png")!=-1||aA.indexOf("Maps.png")!=-1)){az.attr("pngSrc",aA);az.css({backgroundImage:"none",filter:"progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+aA+"', sizingMethod='scale')"})}else{az.css({backgroundImage:"url('"+aA+"')"})}},x=function(az,aA){az.css({top:aA+"px"})},Y=function(aA,az){aA.css({visibility:az>0?"visible":"hidden"});if(az>0&&az<100){if(Q){var aB=aA.attr("pngSrc");if(aB!=null&&(aB.indexOf("AlphaBar.png")!=-1||aB.indexOf("Bars.png")!=-1||aB.indexOf("Maps.png")!=-1)){aA.css({filter:"progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+aB+"', sizingMethod='scale') progid:DXImageTransform.Microsoft.Alpha(opacity="+az+")"})}else{aA.css({opacity:Math.precision(az/100,4)})}}else{aA.css({opacity:Math.precision(az/100,4)})}}else{if(az==0||az==100){if(Q){var aB=aA.attr("pngSrc");if(aB!=null&&(aB.indexOf("AlphaBar.png")!=-1||aB.indexOf("Bars.png")!=-1||aB.indexOf("Maps.png")!=-1)){aA.css({filter:"progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+aB+"', sizingMethod='scale')"})}else{aA.css({opacity:""})}}else{aA.css({opacity:""})}}}},B=function(){G.active.val("ahex",G.current.val("ahex"))},T=function(){G.current.val("ahex",G.active.val("ahex"))},A=function(az){e(this).parents("tbody:first").find('input:radio[value!="'+az.target.value+'"]').removeAttr("checked");ag.call(w,az.target.value)},Z=function(){B.call(w)},q=function(){B.call(w);av.window.expandable&&ao.call(w);e.isFunction(ax)&&ax.call(w,G.active,X)},m=function(){T.call(w);av.window.expandable&&ao.call(w);e.isFunction(ae)&&ae.call(w,G.active,ah)},af=function(){V.call(w)},ap=function(aB,az){var aA=aB.val("hex");an.css({backgroundColor:aA&&"#"+aA||"transparent"});Y.call(w,an,Math.precision(((aB.val("a")||0)*100)/255,4))},H=function(aC,az){var aB=aC.val("hex");var aA=aC.val("va");aq.css({backgroundColor:aB&&"#"+aB||"transparent"});Y.call(w,r,Math.precision(((255-(aA&&aA.a||0))*100)/255,4));if(av.window.bindToInput&&av.window.updateInputColor){av.window.input.css({backgroundColor:aB&&"#"+aB||"transparent",color:aA==null||aA.v>75?"#000000":"#ffffff"})}},S=function(aB){var az=av.window.element,aA=av.window.page;J=parseInt(R.css("left"));I=parseInt(R.css("top"));am=aB.pageX;ai=aB.pageY;e(document).bind("mousemove",k).bind("mouseup",p);aB.preventDefault()},k=function(az){R.css({left:J-(am-az.pageX)+"px",top:I-(ai-az.pageY)+"px"});if(av.window.expandable&&!e.support.boxModel){R.prev().css({left:R.css("left"),top:R.css("top")})}az.stopPropagation();az.preventDefault();return false},p=function(az){e(document).unbind("mousemove",k).unbind("mouseup",p);az.stopPropagation();az.preventDefault();return false},F=function(az){az.preventDefault();az.stopPropagation();G.active.val("ahex",e(this).attr("title")||null,az.target);return false},ae=e.isFunction(h[1])&&h[1]||null,ad=e.isFunction(h[2])&&h[2]||null,ax=e.isFunction(h[3])&&h[3]||null,V=function(){G.current.val("ahex",G.active.val("ahex"));var az=function(){if(!av.window.expandable||e.support.boxModel){return}var aA=R.find("table:first");R.before("<iframe/>");R.prev().css({width:aA.width(),height:R.height(),opacity:0,position:"absolute",left:R.css("left"),top:R.css("top")})};if(av.window.expandable){e(document.body).children("div.jPicker.Container").css({zIndex:10});R.css({zIndex:20})}switch(av.window.effects.type){case"fade":R.fadeIn(av.window.effects.speed.show,az);break;case"slide":R.slideDown(av.window.effects.speed.show,az);break;case"show":default:R.show(av.window.effects.speed.show,az);break}},ao=function(){var az=function(){if(av.window.expandable){R.css({zIndex:10})}if(!av.window.expandable||e.support.boxModel){return}R.prev().remove()};switch(av.window.effects.type){case"fade":R.fadeOut(av.window.effects.speed.hide,az);break;case"slide":R.slideUp(av.window.effects.speed.hide,az);break;case"show":default:R.hide(av.window.effects.speed.hide,az);break}},o=function(){var aG=av.window,az=aG.expandable?e(w).next().find(".Container:first"):null;R=aG.expandable?e("<div/>"):e(w);R.addClass("jPicker Container");if(aG.expandable){R.hide()}R.get(0).onselectstart=function(aN){if(aN.target.nodeName.toLowerCase()!=="input"){return false}};var aJ=G.active.val("all");if(aG.alphaPrecision<0){aG.alphaPrecision=0}else{if(aG.alphaPrecision>2){aG.alphaPrecision=2}}var aK='<table class="jPicker" cellpadding="0" cellspacing="0"><tbody>'+(aG.expandable?'<tr><td class="Move" colspan="5">&nbsp;</td></tr>':"")+'<tr><td rowspan="9"><h2 class="Title">'+(aG.title||aa.text.title)+'</h2><div class="Map"><span class="Map1">&nbsp;</span><span class="Map2">&nbsp;</span><span class="Map3">&nbsp;</span><img src="'+n.clientPath+n.colorMap.arrow.file+'" class="Arrow"/></div></td><td rowspan="9"><div class="Bar"><span class="Map1">&nbsp;</span><span class="Map2">&nbsp;</span><span class="Map3">&nbsp;</span><span class="Map4">&nbsp;</span><span class="Map5">&nbsp;</span><span class="Map6">&nbsp;</span><img src="'+n.clientPath+n.colorBar.arrow.file+'" class="Arrow"/></div></td><td colspan="2" class="Preview">'+aa.text.newColor+'<div><span class="Active" title="'+aa.tooltips.colors.newColor+'">&nbsp;</span><span class="Current" title="'+aa.tooltips.colors.currentColor+'">&nbsp;</span></div>'+aa.text.currentColor+'</td><td rowspan="9" class="Button"><input type="button" class="Ok" value="'+aa.text.ok+'" title="'+aa.tooltips.buttons.ok+'"/><input type="button" class="Cancel" value="'+aa.text.cancel+'" title="'+aa.tooltips.buttons.cancel+'"/><hr/><div class="Grid">&nbsp;</div></td></tr><tr class="Hue"><td class="Radio"><label title="'+aa.tooltips.hue.radio+'"><input type="radio" value="h"'+(av.color.mode=="h"?' checked="checked"':"")+'/>H:</label></td><td class="Text"><input type="text" maxlength="3" value="'+(aJ!=null?aJ.h:"")+'" title="'+aa.tooltips.hue.textbox+'"/>&nbsp;&deg;</td></tr><tr class="Saturation"><td class="Radio"><label title="'+aa.tooltips.saturation.radio+'"><input type="radio" value="s"'+(av.color.mode=="s"?' checked="checked"':"")+'/>S:</label></td><td class="Text"><input type="text" maxlength="3" value="'+(aJ!=null?aJ.s:"")+'" title="'+aa.tooltips.saturation.textbox+'"/>&nbsp;%</td></tr><tr class="Value"><td class="Radio"><label title="'+aa.tooltips.value.radio+'"><input type="radio" value="v"'+(av.color.mode=="v"?' checked="checked"':"")+'/>V:</label><br/><br/></td><td class="Text"><input type="text" maxlength="3" value="'+(aJ!=null?aJ.v:"")+'" title="'+aa.tooltips.value.textbox+'"/>&nbsp;%<br/><br/></td></tr><tr class="Red"><td class="Radio"><label title="'+aa.tooltips.red.radio+'"><input type="radio" value="r"'+(av.color.mode=="r"?' checked="checked"':"")+'/>R:</label></td><td class="Text"><input type="text" maxlength="3" value="'+(aJ!=null?aJ.r:"")+'" title="'+aa.tooltips.red.textbox+'"/></td></tr><tr class="Green"><td class="Radio"><label title="'+aa.tooltips.green.radio+'"><input type="radio" value="g"'+(av.color.mode=="g"?' checked="checked"':"")+'/>G:</label></td><td class="Text"><input type="text" maxlength="3" value="'+(aJ!=null?aJ.g:"")+'" title="'+aa.tooltips.green.textbox+'"/></td></tr><tr class="Blue"><td class="Radio"><label title="'+aa.tooltips.blue.radio+'"><input type="radio" value="b"'+(av.color.mode=="b"?' checked="checked"':"")+'/>B:</label></td><td class="Text"><input type="text" maxlength="3" value="'+(aJ!=null?aJ.b:"")+'" title="'+aa.tooltips.blue.textbox+'"/></td></tr><tr class="Alpha"><td class="Radio">'+(aG.alphaSupport?'<label title="'+aa.tooltips.alpha.radio+'"><input type="radio" value="a"'+(av.color.mode=="a"?' checked="checked"':"")+"/>A:</label>":"&nbsp;")+'</td><td class="Text">'+(aG.alphaSupport?'<input type="text" maxlength="'+(3+aG.alphaPrecision)+'" value="'+(aJ!=null?Math.precision((aJ.a*100)/255,aG.alphaPrecision):"")+'" title="'+aa.tooltips.alpha.textbox+'"/>&nbsp;%':"&nbsp;")+'</td></tr><tr class="Hex"><td colspan="2" class="Text"><label title="'+aa.tooltips.hex.textbox+'">#:<input type="text" maxlength="6" class="Hex" value="'+(aJ!=null?aJ.hex:"")+'"/></label>'+(aG.alphaSupport?'<input type="text" maxlength="2" class="AHex" value="'+(aJ!=null?aJ.ahex.substring(6):"")+'" title="'+aa.tooltips.hex.alpha+'"/></td>':"&nbsp;")+"</tr></tbody></table>";if(aG.expandable){R.html(aK);if(e(document.body).children("div.jPicker.Container").length==0){e(document.body).prepend(R)}else{e(document.body).children("div.jPicker.Container:last").after(R)}R.mousedown(function(){e(document.body).children("div.jPicker.Container").css({zIndex:10});R.css({zIndex:20})});R.css({left:aG.position.x=="left"?(az.offset().left-530-(aG.position.y=="center"?25:0))+"px":aG.position.x=="center"?(az.offset().left-260)+"px":aG.position.x=="right"?(az.offset().left-10+(aG.position.y=="center"?25:0))+"px":aG.position.x=="screenCenter"?((e(document).width()>>1)-260)+"px":(az.offset().left+parseInt(aG.position.x))+"px",position:"absolute",top:aG.position.y=="top"?(az.offset().top-312)+"px":aG.position.y=="center"?(az.offset().top-156)+"px":aG.position.y=="bottom"?(az.offset().top+25)+"px":(az.offset().top+parseInt(aG.position.y))+"px"})}else{R=e(w);R.html(aK)}var aD=R.find("tbody:first");l=aD.find("div.Map:first");s=aD.find("div.Bar:first");var aL=l.find("span"),aI=s.find("span");au=aL.filter(".Map1:first");at=aL.filter(".Map2:first");ar=aL.filter(".Map3:first");P=aI.filter(".Map1:first");O=aI.filter(".Map2:first");N=aI.filter(".Map3:first");M=aI.filter(".Map4:first");L=aI.filter(".Map5:first");K=aI.filter(".Map6:first");D=new d(l,{map:{width:n.colorMap.width,height:n.colorMap.height},arrow:{image:n.clientPath+n.colorMap.arrow.file,width:n.colorMap.arrow.width,height:n.colorMap.arrow.height}});D.bind(z);U=new d(s,{map:{width:n.colorBar.width,height:n.colorBar.height},arrow:{image:n.clientPath+n.colorBar.arrow.file,width:n.colorBar.arrow.width,height:n.colorBar.arrow.height}});U.bind(ac);aw=new b(aD,G.active,aG.expandable&&aG.bindToInput?aG.input:null,aG.alphaPrecision);var aB=aJ!=null?aJ.hex:null,aH=aD.find(".Preview"),aF=aD.find(".Button");E=aH.find(".Active:first").css({backgroundColor:aB&&"#"+aB||"transparent"});an=aH.find(".Current:first").css({backgroundColor:aB&&"#"+aB||"transparent"}).bind("click",Z);Y.call(w,an,Math.precision(G.current.val("a")*100)/255,4);ah=aF.find(".Ok:first").bind("click",m);X=aF.find(".Cancel:first").bind("click",q);ab=aF.find(".Grid:first");setTimeout(function(){t.call(w,au,n.clientPath+"Maps.png");t.call(w,at,n.clientPath+"Maps.png");t.call(w,ar,n.clientPath+"map-opacity.png");t.call(w,P,n.clientPath+"Bars.png");t.call(w,O,n.clientPath+"Bars.png");t.call(w,N,n.clientPath+"Bars.png");t.call(w,M,n.clientPath+"Bars.png");t.call(w,L,n.clientPath+"bar-opacity.png");t.call(w,K,n.clientPath+"AlphaBar.png");t.call(w,aH.find("div:first"),n.clientPath+"preview-opacity.png")},0);aD.find("td.Radio input").bind("click",A);if(G.quickList&&G.quickList.length>0){var aE="";for(i=0;i<G.quickList.length;i++){if((typeof(G.quickList[i])).toString().toLowerCase()=="string"){G.quickList[i]=new f({hex:G.quickList[i]})}var aC=G.quickList[i].val("a");var aM=G.quickList[i].val("ahex");if(!aG.alphaSupport&&aM){aM=aM.substring(0,6)+"ff"}var aA=G.quickList[i].val("hex");aE+='<span class="QuickColor"'+(aM&&' title="#'+aM+'"'||"")+' style="background-color:'+(aA&&"#"+aA||"")+";"+(aA?"":"background-image:url("+n.clientPath+"NoColor.png)")+(aG.alphaSupport&&aC&&aC<255?";opacity:"+Math.precision(aC/255,4)+";filter:Alpha(opacity="+Math.precision(aC/2.55,4)+")":"")+'">&nbsp;</span>'}t.call(w,ab,n.clientPath+"bar-opacity.png");ab.html(aE);ab.find(".QuickColor").click(F)}ag.call(w,av.color.mode);G.active.bind(aj);e.isFunction(ad)&&G.active.bind(ad);G.current.bind(ap);if(aG.expandable){w.icon=az.parents(".Icon:first");aq=w.icon.find(".Color:first").css({backgroundColor:aB&&"#"+aB||"transparent"});r=w.icon.find(".Alpha:first");t.call(w,r,n.clientPath+"bar-opacity.png");Y.call(w,r,Math.precision(((255-(aJ!=null?aJ.a:0))*100)/255,4));C=w.icon.find(".Image:first").css({backgroundImage:"url('"+n.clientPath+n.picker.file+"')"}).bind("click",af);if(aG.bindToInput&&aG.updateInputColor){aG.input.css({backgroundColor:aB&&"#"+aB||"transparent",color:aJ==null||aJ.v>75?"#000000":"#ffffff"})}u=aD.find(".Move:first").bind("mousedown",S);G.active.bind(H)}else{V.call(w)}},ak=function(){R.find("td.Radio input").unbind("click",A);an.unbind("click",Z);X.unbind("click",q);ah.unbind("click",m);if(av.window.expandable){C.unbind("click",af);u.unbind("mousedown",S);w.icon=null}R.find(".QuickColor").unbind("click",F);l=null;s=null;au=null;at=null;ar=null;P=null;O=null;N=null;M=null;L=null;K=null;D.destroy();D=null;U.destroy();U=null;aw.destroy();aw=null;E=null;an=null;ah=null;X=null;ab=null;ae=null;ax=null;ad=null;R.html("");for(i=0;i<c.length;i++){if(c[i]==w){c.splice(i,1)}}},n=av.images,aa=av.localization,G={active:(typeof(av.color.active)).toString().toLowerCase()=="string"?new f({ahex:!av.window.alphaSupport&&av.color.active?av.color.active.substring(0,6)+"ff":av.color.active}):new f({ahex:!av.window.alphaSupport&&av.color.active.val("ahex")?av.color.active.val("ahex").substring(0,6)+"ff":av.color.active.val("ahex")}),current:(typeof(av.color.active)).toString().toLowerCase()=="string"?new f({ahex:!av.window.alphaSupport&&av.color.active?av.color.active.substring(0,6)+"ff":av.color.active}):new f({ahex:!av.window.alphaSupport&&av.color.active.val("ahex")?av.color.active.val("ahex").substring(0,6)+"ff":av.color.active.val("ahex")}),quickList:av.color.quickList};e.extend(true,w,{commitCallback:ae,liveCallback:ad,cancelCallback:ax,color:G,show:V,hide:ao,destroy:ak});c.push(w);setTimeout(function(){o.call(w)},0)})};e.fn.jPicker.defaults={window:{title:null,effects:{type:"slide",speed:{show:"fast",hide:"fast"}},position:{x:"screenCenter",y:"top"},expandable:false,liveUpdate:true,alphaSupport:false,alphaPrecision:0,updateInputColor:true},color:{mode:"h",active:new f({ahex:"#ffcc00ff"}),quickList:[new f({h:360,s:33,v:100}),new f({h:360,s:66,v:100}),new f({h:360,s:100,v:100}),new f({h:360,s:100,v:75}),new f({h:360,s:100,v:50}),new f({h:180,s:0,v:100}),new f({h:30,s:33,v:100}),new f({h:30,s:66,v:100}),new f({h:30,s:100,v:100}),new f({h:30,s:100,v:75}),new f({h:30,s:100,v:50}),new f({h:180,s:0,v:90}),new f({h:60,s:33,v:100}),new f({h:60,s:66,v:100}),new f({h:60,s:100,v:100}),new f({h:60,s:100,v:75}),new f({h:60,s:100,v:50}),new f({h:180,s:0,v:80}),new f({h:90,s:33,v:100}),new f({h:90,s:66,v:100}),new f({h:90,s:100,v:100}),new f({h:90,s:100,v:75}),new f({h:90,s:100,v:50}),new f({h:180,s:0,v:70}),new f({h:120,s:33,v:100}),new f({h:120,s:66,v:100}),new f({h:120,s:100,v:100}),new f({h:120,s:100,v:75}),new f({h:120,s:100,v:50}),new f({h:180,s:0,v:60}),new f({h:150,s:33,v:100}),new f({h:150,s:66,v:100}),new f({h:150,s:100,v:100}),new f({h:150,s:100,v:75}),new f({h:150,s:100,v:50}),new f({h:180,s:0,v:50}),new f({h:180,s:33,v:100}),new f({h:180,s:66,v:100}),new f({h:180,s:100,v:100}),new f({h:180,s:100,v:75}),new f({h:180,s:100,v:50}),new f({h:180,s:0,v:40}),new f({h:210,s:33,v:100}),new f({h:210,s:66,v:100}),new f({h:210,s:100,v:100}),new f({h:210,s:100,v:75}),new f({h:210,s:100,v:50}),new f({h:180,s:0,v:30}),new f({h:240,s:33,v:100}),new f({h:240,s:66,v:100}),new f({h:240,s:100,v:100}),new f({h:240,s:100,v:75}),new f({h:240,s:100,v:50}),new f({h:180,s:0,v:20}),new f({h:270,s:33,v:100}),new f({h:270,s:66,v:100}),new f({h:270,s:100,v:100}),new f({h:270,s:100,v:75}),new f({h:270,s:100,v:50}),new f({h:180,s:0,v:10}),new f({h:300,s:33,v:100}),new f({h:300,s:66,v:100}),new f({h:300,s:100,v:100}),new f({h:300,s:100,v:75}),new f({h:300,s:100,v:50}),new f({h:180,s:0,v:0}),new f({h:330,s:33,v:100}),new f({h:330,s:66,v:100}),new f({h:330,s:100,v:100}),new f({h:330,s:100,v:75}),new f({h:330,s:100,v:50}),new f()]},images:{clientPath:jpicker.thispath,colorMap:{width:256,height:256,arrow:{file:"mappoint.gif",width:15,height:15}},colorBar:{width:20,height:256,arrow:{file:"rangearrows.gif",width:20,height:7}},picker:{file:"picker.gif",width:25,height:24}},localization:{text:{title:"Drag Markers To Pick A Color",newColor:"new",currentColor:"current",ok:"OK",cancel:"Cancel"},tooltips:{colors:{newColor:"New Color - Press &ldquo;OK&rdquo; To Commit",currentColor:"Click To Revert To Original Color"},buttons:{ok:"Commit To This Color Selection",cancel:"Cancel And Revert To Original Color"},hue:{radio:"Set To &ldquo;Hue&rdquo; Color Mode",textbox:"Enter A &ldquo;Hue&rdquo; Value (0-360&deg;)"},saturation:{radio:"Set To &ldquo;Saturation&rdquo; Color Mode",textbox:"Enter A &ldquo;Saturation&rdquo; Value (0-100%)"},value:{radio:"Set To &ldquo;Value&rdquo; Color Mode",textbox:"Enter A &ldquo;Value&rdquo; Value (0-100%)"},red:{radio:"Set To &ldquo;Red&rdquo; Color Mode",textbox:"Enter A &ldquo;Red&rdquo; Value (0-255)"},green:{radio:"Set To &ldquo;Green&rdquo; Color Mode",textbox:"Enter A &ldquo;Green&rdquo; Value (0-255)"},blue:{radio:"Set To &ldquo;Blue&rdquo; Color Mode",textbox:"Enter A &ldquo;Blue&rdquo; Value (0-255)"},alpha:{radio:"Set To &ldquo;Alpha&rdquo; Color Mode",textbox:"Enter A &ldquo;Alpha&rdquo; Value (0-100)"},hex:{textbox:"Enter A &ldquo;Hex&rdquo; Color Value (#000000-#ffffff)",alpha:"Enter A &ldquo;Alpha&rdquo; Value (#00-#ff)"}}}}})(jQuery,"1.1.6");
assets/tests/bin/phantomloader ADDED
@@ -0,0 +1,7 @@
1
+ #!/usr/bin/env sh
2
+ SRC_DIR="`pwd`"
3
+ cd "`dirname "$0"`"
4
+ cd "../../vendor/jonnyw/php-phantomjs/bin"
5
+ BIN_TARGET="`pwd`/phantomloader"
6
+ cd "$SRC_DIR"
7
+ "$BIN_TARGET" "$@"
assets/tests/bin/wpcept ADDED
@@ -0,0 +1,7 @@
1
+ #!/usr/bin/env sh
2
+ SRC_DIR="`pwd`"
3
+ cd "`dirname "$0"`"
4
+ cd "../../vendor/lucatume/wp-browser"
5
+ BIN_TARGET="`pwd`/wpcept"
6
+ cd "$SRC_DIR"
7
+ "$BIN_TARGET" "$@"
composer.json DELETED
@@ -1,51 +0,0 @@
1
- {
2
- "name":"inboundnow/landing-page",
3
- "description":"Landing Page Framework for WordPress",
4
- "keywords":["landing pages", "inbound now", "inbound marketing", "splt testing", "lp"],
5
- "homepage":"http://inboundnow.com.com/",
6
- "type":"library",
7
- "license":"GPL",
8
- "authors":[
9
- {
10
- "name":"Hudson Atwell",
11
- "email":"hudson@inboundnow.com",
12
- "homepage":"http://www.twitter.com/atwellpub/"
13
- }
14
- ],
15
- "minimum-stability": "stable",
16
-
17
- "require": {
18
- "php": ">=5.4.0",
19
- "ext-json": "*",
20
- "ext-mbstring": "*",
21
- "phpunit/phpunit": "~4.7.0"
22
- },
23
- "config": {
24
- "bin-dir": "tests/bin"
25
- },
26
- "require-dev": {
27
- "badcow/lorem-ipsum": "*",
28
- "codeception/codeception": "*",
29
- "codeception/specify": "~0.3",
30
- "lucatume/wp-browser": "master@dev",
31
- "wp-cli/wp-cli": "*"
32
- },
33
- "suggest": {
34
- "codeception/phpbuiltinserver": "Extension to start and stop PHP built-in web server for your tests",
35
- "codeception/specify": "BDD-style code blocks",
36
- "codeception/verify": "BDD-style assertions",
37
- "phpseclib/phpseclib": "Extension required to use the SFTP option in the FTP Module."
38
- },
39
- "autoload":{
40
- "psr-0":{
41
- "Codeception":"src",
42
- "WPBrowser":"src"
43
- }
44
- },
45
- "extra": {
46
- "branch-alias": {
47
- "dev-master": "2.1-dev"
48
- }
49
- },
50
- "bin":["codecept"]
51
- }
landing-pages.php CHANGED
@@ -3,7 +3,7 @@
3
Plugin Name: Landing Pages
4
Plugin URI: http://www.inboundnow.com/landing-pages/
5
Description: Landing page template framework with variant testing and lead capturing through cooperation with Inbound Now's Leads plugin. This is the stand alone version served through WordPress.org.
6
- Version: 2.5.6
7
Author: Inbound Now
8
Author URI: http://www.inboundnow.com/
9
@@ -37,7 +37,7 @@ if (!class_exists('Inbound_Landing_Pages_Plugin')) {
37
*/
38
private static function load_constants() {
39
40
- define('LANDINGPAGES_CURRENT_VERSION', '2.5.6' );
41
define('LANDINGPAGES_URLPATH', plugins_url( '/' , __FILE__ ) );
42
define('LANDINGPAGES_PATH', WP_PLUGIN_DIR.'/'.plugin_basename( dirname(__FILE__) ).'/' );
43
define('LANDINGPAGES_PLUGIN_SLUG', 'landing-pages' );
3
Plugin Name: Landing Pages
4
Plugin URI: http://www.inboundnow.com/landing-pages/
5
Description: Landing page template framework with variant testing and lead capturing through cooperation with Inbound Now's Leads plugin. This is the stand alone version served through WordPress.org.
6
+ Version: 2.5.7
7
Author: Inbound Now
8
Author URI: http://www.inboundnow.com/
9
37
*/
38
private static function load_constants() {
39
40
+ define('LANDINGPAGES_CURRENT_VERSION', '2.5.7' );
41
define('LANDINGPAGES_URLPATH', plugins_url( '/' , __FILE__ ) );
42
define('LANDINGPAGES_PATH', WP_PLUGIN_DIR.'/'.plugin_basename( dirname(__FILE__) ).'/' );
43
define('LANDINGPAGES_PLUGIN_SLUG', 'landing-pages' );
package.json DELETED
@@ -1,47 +0,0 @@
1
- {
2
- "name": "landing-pages",
3
- "version": "1.0.0",
4
- "description": "Landing page plugin",
5
- "main": "gulpfile.js",
6
- "scripts": {
7
- "test": "test",
8
- "clean-tests": "rm -fr assets/tests",
9
- "deploy": "npm run clean-tests && sh ./deploy.sh"
10
- },
11
- "repository": {
12
- "type": "git",
13
- "url": "https://davidwells@github.com/inboundnow/landing-pages.git"
14
- },
15
- "keywords": [
16
- "cta",
17
- "calls",
18
- "to",
19
- "action"
20
- ],
21
- "author": "Inbound Now",
22
- "license": "GPL",
23
- "bugs": {
24
- "url": "https://github.com/inboundnow/landing-pages/issues"
25
- },
26
- "homepage": "https://github.com/inboundnow/landing-pages",
27
- "dependencies": {},
28
- "devDependencies": {
29
- "grunt-wp-readme-to-markdown": "^0.8.0",
30
- "gulp": "^3.8.5",
31
- "gulp-clean": "^0.2.4",
32
- "gulp-concat": "~2.1.7",
33
- "gulp-header": "^1.0.2",
34
- "gulp-jshint": "^1.6.1",
35
- "gulp-karma": "0.0.4",
36
- "gulp-markdox": "^0.1.0",
37
- "gulp-plumber": "~0.6.2",
38
- "gulp-rename": "~1.1.0",
39
- "gulp-uglify": "~0.3.0",
40
- "jshint-stylish": "^0.2.0",
41
- "karma": "^0.12.16",
42
- "karma-chrome-launcher": "^0.1.5",
43
- "karma-jasmine": "~0.2.0",
44
- "karma-phantomjs-launcher": "^0.1.4",
45
- "karma-spec-reporter": "0.0.13"
46
- }
47
- }
readme.txt CHANGED
@@ -1,531 +1,535 @@
1
- === WordPress Landing Pages ===
2
-
3
- Contributors: Hudson Atwell, David Wells, Giulio Daprela, Matt Bisset, ahmedkaludi
4
- Donate link: mailto:hudson@inboundnow.com
5
- License: GPLv2 or later
6
- License URI: http://www.gnu.org/licenses/gpl-2.0.html
7
- Tags: landing pages, inbound marketing, conversion pages, split testing, a b test, a b testing, a/b test, a/b testing, coming soon page, email list, landing page, list building, maintenance page, squeeze page, inbound now, landing-pages, splash pages, cpa, click tracking, goal tracking, analytics, free landing page templates
8
- Requires at least: 3.8
9
- Tested up to: 4.7.4
10
- Stable Tag: 2.5.6
11
-
12
-
13
- Create landing pages for your WordPress site. Monitor and improve conversion rates, run A/B split tests, customize your own templates and more.
14
-
15
- == Description ==
16
-
17
- > WordPress Landing Pages works as a standalone plugin or hand in hand with [WordPress Calls to Action](http://wordpress.org/plugins/cta/ "Learn more about Calls to Action") & [WordPress Leads](http://wordpress.org/plugins/leads/ "Learn more about WordPress Leads") to create a powerful & free lead generation system for your business.
18
-
19
- WordPress Landing Pages plugin framework provides a way to add and even create landing pages for your WordPress site. Landing Page templates are powered by the [Advanced Custom Fields](https://wordpress.org/plugins/advanced-custom-fields/ "Advanced Custom Fields") framework.
20
-
21
- Landing Pages plugin provides administrators the abilities to monitor and track conversion rates, run a/b or multivariate split tests on landing pages, and most importantly increase lead flow!
22
-
23
- The landing page plugin was designed with inbound marketing practices in mind and will help you drive & convert more leads on your site.
24
-
25
- Landing pages are an ideal way to convert more of your passive website visitors into active leads or email list subscribers.
26
-
27
- = Highlights =
28
-
29
- * Create beautiful Landing Pages on your WordPress site.
30
- * Visual Editor to view changes being made on the fly!
31
- * Track conversion rates on your landing pages for continual optimization.
32
- * Easily clone existing landing pages and run A/B Split tests on variations.
33
- * Use your current WordPress theme or choose from our library of custom landing page designs.
34
- * Pre-populate Forms with visitor information to increase conversion rates
35
- * Gather lead intelligence and track lead activity with <a href="http://wordpress.org/plugins/leads/screenshots/">WordPress Leads</a>
36
- * Extend functionality with our growing repository of <a href="http://www.inboundnow.com/marketplace">third party add ons</a>.
37
- * Easily implement your own custom landing page design.
38
-
39
-
40
- = About the Plugin =
41
-
42
- http://www.youtube.com/watch?v=flEd0sRTFUo
43
-
44
- = Developers & Designers =
45
-
46
- We built the landing page plugin as a framework! Need A/B testing out of the box implemented for your existing designs? Use WordPress Landing Pages to quickly spin up new landing pages that have all the functionality your clients will need.
47
-
48
- You can quickly take your existing designs and implement them using our <a href="http://docs.inboundnow.com/section/developer/">templating framework</a>.
49
-
50
- The plugin is also fully extendable and has a number of actions, filters, and hooks available for use. If a hook doesn't exist, simply ask and we can implement custom changes.
51
-
52
-
53
- [Follow Development on GitHub ](https://github.com/inboundnow/landing-pages "Follow & Contribute to core development on GitHub")
54
- |
55
- [Follow Inbound Now on Twitter ](https://twitter.com/inboundnow "Stay notified with updates.")
56
-
57
-
58
- = Templates =
59
-
60
- Landing Pages plugin ships with only small selection of responsive landing page templates. More templates are offered at the <a href="https://www.inboundnow.com/marketplace/">Inbound Now Marketplace</a>.
61
-
62
- Landing Pages plugin also offers the ability to use your current selected theme as a template which open the door to <a href="http://docs.inboundnow.com/guide/default-wp-themes/">further customizations</a>.
63
-
64
- We also offer a guide for using <a href="https://github.com/inboundnow/landing-pages/blob/develop/shared/docs/how.to.create.landing.page.templates.using.ACF.md">Advanced Custom Fields to build your own template.</a>
65
-
66
- == Installation ==
67
-
68
- 1. Upload `landing-pages` folder to the `/wp-content/plugins/` directory
69
- 1. Activate the plugin through the 'Plugins' menu in WordPress
70
-
71
- == Frequently Asked Questions ==
72
- *Can I create my own landing page designs?,
73
- *Yes! You can learn how to <a href="http://docs.inboundnow.com/guide/creating-landing-page-templates/">create your own landing page template here</a>.
74
-
75
- == Screenshots ==
76
-
77
- 1. Listing created landing pages - Powered by custom post type
78
- 2. Selecting a template when creating a new landing page
79
- 3. Editing the landing page. Viewing variation performance
80
- 4. Viewing setting options for a landing page variation
81
- 5. Framework is powered by Advanced Custom Fields
82
- 6. Add custom CSS and custom JS
83
- 7. Administrative popup preview of landing page
84
- 8. Landing page comes with a visual editor
85
-
86
- == Changelog ==
87
-
88
- = 2.5.6 =
89
- * Adding wpautop to default landing page
90
- * Updating shared files
91
-
92
-
93
- = 2.5.4 =
94
- * Making sure PHP sessions are only used on the backend to fix X-CACHE issue.
95
- * Updating shared files and database tables.
96
-
97
- = 2.5.3 =
98
- * Support for Avada theme
99
-
100
- = 2.5.1 =
101
- * Increasing use of nonces for extra security.
102
-
103
- = 2.4.9 =
104
- * Removing two admin notices related to legacy templates
105
- * Variation notes migrated to custom metabox
106
- * Removing 'Insert default content' button from landing page and modifying metabox order
107
- * Anti XSS security improvement
108
-
109
- = 2.4.7 =
110
- * Adding revision support to Landing Pages
111
- * Updating Select2 assets to work with WooCommerce 3.0
112
-
113
- = 2.4.6 =
114
- * Improving way we handle the replacement of sidebars when using default template
115
- * FireFox support for datetime picker.
116
- * Better ACF4 media uploader support for WYSIWG
117
-
118
- = 2.4.5 =
119
- * Improving WYSIWYG "Add Media" button support for core templates
120
- * Updating ACF4 to latest version.
121
-
122
- = 2.4.4 =
123
- * Adding wpautop to 'Single Double Column' template.
124
-
125
- = 2.4.3 =
126
- * Fixing database upgrade routine and refacting way we record funnel information.
127
-
128
- = 2.4.2 =
129
- * Updating shared directory, minor code structure improvements.
130
-
131
- = 2.3.8 =
132
- * Improving events storage and events reporting.
133
-
134
- = 2.3.7 =
135
- * [tweak] Better CSS support for SVTLE template
136
- * [update] Update shared folder.
137
-
138
- = 2.3.6 =
139
- * [fix] Fixing Inbound Forms error when Leads is not activated
140
-
141
- = 2.3.4 =
142
- * [fix] fixing broken include file for Inbound Forms when wp-config.php is outside of it's normal location.
143
-
144
- = 2.3.4 =
145
- * Fixing double admin notifications
146
- * Fixing settings issue with Simple Solid Lite template
147
-
148
- = 2.3.3 =
149
- * Updating ACF4
150
- * Adding support for Inbound Forms without redirect URLs (no ajax)
151
-
152
- = 2.2.9 =
153
- * Fixing sanitation in image generation script.
154
-
155
- = 2.2.8 =
156
- * Fixing function placement in image generation script.
157
-
158
- = 2.2.7 =
159
- * [security fix] Adding additional sanitation requirements.
160
-
161
- = 2.2.6 =
162
- * Removing Dropcap, Half and Half, Tubelar, & Countdown Lander from the core.
163
-
164
- = 2.2.4 =
165
- * Adding custom capabilities to landing-page post type
166
- * Debugging fatal when checking for Leads plugin
167
-
168
- = 2.2.3 =
169
- * Debugging impression count
170
- * Removing Inbound Statistics for content in favor of Inbound Google Analytics extension.
171
- * Fix issue with impressions driving up on first landing page in list.
172
-
173
- = 2.1.9 =
174
- * UI improvements
175
- * Quality Control improvements / debug
176
- * 301 instead of 302 when only one variation present
177
-
178
- = 2.1.8 =
179
- * Fix simple solid light
180
- * Fix issue with legacy image uploader issue.
181
-
182
- = 2.1.7 =
183
- * Fix issue with Half and Half
184
- * Code & responsive improvements to core free templates.
185
-
186
- = 2.1.3 =
187
- * Call to action updates
188
-
189
- = 2.1.2 =
190
- * Call to action updates
191
-
192
- = 2.1.1 =
193
- * Removing old admin notification
194
-
195
- = 2.1.0 =
196
- * Preparing for Inbound Pro
197
-
198
- = 2.0.5 =
199
- * fix issue with pausing variation A and misbehaving statistics when A is deleted.
200
- * fix issue with dropcap conversion area not displaying
201
-
202
- = 2.0.3 =
203
- * security fix
204
-
205
- = 2.0.2 =
206
- * fixing fatal that prevented full landing page render
207
-
208
- = 2.0.1 =
209
- * brand new frontend editor
210
- * updated template editor for improved user experience
211
- * code consolidation and optimization (refactoring)
212
- * migrating away from custom field system for core templates, now leveraging ACF4
213
- * misc. UI improvements
214
- * restore broken sidebar conversion area placement for 'default' template
215
- * now loading landing page template data on init hook instead of as global.
216
- * cleaned up config.php requirements for landing page templates
217
- * repair work on variation switching when in landing page preview mode
218
-
219
- = 1.9.2 =
220
- * Security Patch
221
-
222
- = 1.9.1 =
223
- * Security Patch
224
-
225
- = 1.9.0 =
226
- * New preview views in landing page edit screens
227
- * Temporarily disabling geolocation services
228
-
229
- = 1.8.8 =
230
- * Security Patch for XSS in firefox
231
-
232
- = 1.8.6 =
233
- * Security Patch
234
-
235
- = 1.8.5 =
236
- * Security Patch
237
-
238
- = 1.8.4 =
239
- * preparation for Inbound Attachments
240
- * general bug fixes and improvements
241
-
242
- = 1.8.3 =
243
- * Fixing white screen of death issues with other plugin conflicts
244
- * Improvements on NoConflict jQuery Class
245
-
246
- = 1.8.2 =
247
- * Debugging release issues with 1.8.1
248
- * Security Update
249
-
250
- = 1.8.1 =
251
- * WYSIWYG buttons overlapping fixed
252
- * Fixes issue with Homepage extensions and variation switching
253
- * Template preview links
254
- * Removing 'get short url' from landing pages.
255
- * View full list of changes [here](https://github.com/inboundnow/landing-pages/issues?q=label%3A1.8.1+is%3Aclosed)
256
-
257
- = 1.8.0 =
258
- * Fixing addon store
259
-
260
- = 1.7.9 =
261
- * Even more security updates! Security for the win!
262
-
263
- = 1.7.8 =
264
- * Security Patch
265
-
266
- = 1.7.7 =
267
- * Fix double lead notification email
268
-
269
- = 1.7.6 =
270
- * Fixed double email submission on contact form 7
271
-
272
- = 1.7.5 =
273
- * Added form field exclusions to ignore sensitive data
274
-
275
- = 1.7.3 =
276
- * See changelog here: https://github.com/inboundnow/landing-pages/issues?q=is%3Aissue+is%3Aclosed+label%3Av1.7.3
277
-
278
- = 1.7.2 =
279
- * Improved form email typo detection
280
- * Improved Template Styles
281
- * Fixed content wysiwyg scroll freezing bug
282
-
283
- = 1.7.1 =
284
- * removed iframe of inbound now addon store. For addons please visit: http://inboundnow.com/market
285
-
286
- = 1.7.0 =
287
- * Removed anonymous PHP functions for PHP 5.2 support
288
- * Updated template creation standards
289
- * Converted varition modules to CLASS based system & documented
290
- * Move /lang/ file outside of shared
291
-
292
- = 1.6.2 =
293
- * Bug Fix: Fix with lead email notifications
294
-
295
- = 1.5.9 =
296
- * Various bug fixes.
297
- * Refactored main plugin file to class loader.
298
- * Improved localization systems.
299
-
300
- = 1.5.8 =
301
- * Bug Fix: Check all required fields
302
-
303
- = 1.5.7 =
304
- * Improvement: All core template now use new consolidated settings system.
305
- * Improvement: Leads Dashboard styling & stats
306
- * Improvement: Screenshots on local installation replaced with template thumbnails.
307
-
308
-
309
- = 1.5.6 =
310
- * Fix to insert marketing shortcode popup
311
-
312
- = 1.5.5 =
313
- * Added events to lead tracking
314
- * Bug Fix: Marketing Button
315
- * Optimized CTA Tracking JS.
316
- * Expanded impression/conversion analytics to all post types.
317
-
318
- = 1.5.4 =
319
- * Impression tracking bug fix.
320
- * Bringing Inbound Tracking to All Posts/Pages
321
-
322
- = 1.5.3 =
323
- * Temporary fix for shortcodes disappearing from wordpress 3.8 to 3.9
324
- * Performance improvements on analytics and lead tracking
325
-
326
- = 1.5.1 =
327
- * Misc bug fixes
328
-
329
- = 1.5.0 =
330
- * fixed field mapping bug
331
- * Added better compability for js conflicts
332
- * Prepping for marketing automation
333
-
334
- = 1.4.9 =
335
- * Fixed and improved default landing page templates
336
- * Updates to work with V2 of the CTA plugins
337
- * Improved form compatibilty with contact form 7, gravity forms, and ninja forms
338
- * Numerous bug files and code improvements
339
-
340
- = 1.4.8 =
341
- * Added Google Analytics Custom Event Tracking for form submissions
342
- * Added Ability: automatically sort leads into lists on form completions
343
- * Added Ability: Send lead notification emails to multiple people. Use comma separated values
344
- * Improved Social Media Buttons called with lp_social_media() function
345
- * Fixed qTranslate plugin bug
346
- * Fixed Genesis Title tag conflict
347
- * Added improved asset loader
348
- * Updated main docs.inboundnow.com site. Check it out!
349
-
350
- = 1.4.7 =
351
- * GPL fix with js library
352
-
353
- = 1.4.6 =
354
- * New Feature: Bulk Lead management with leads plugin wordpress.org/plugins/leads/
355
- * Added tags to lead profiles for improved management/categorization
356
- * Added new compatibility options to fix third party plugin conflicts!
357
- * Added new debugging javascript debugging tools for users
358
- * Fixed Email Sending Error on forms
359
- * Improved support for master license keys
360
-
361
- = 1.4.5 =
362
- * Added New HTML Lead Email Template with clickable links for faster lead management
363
- * Added Button Shortcodes!
364
- * Added HTML field option to form tool
365
- * Added Divider Option to Form tool
366
- * Added multi column support to icon list shortcode
367
- * Added Font Awesome Icons option to Inbound Form Submit buttons
368
- * Added Social Sharing Shortcode
369
- * Bug fix - emails not sending after form conversion fixed
370
-
371
- = 1.4.1 =
372
- * Bug fix - missing trackingObj
373
-
374
- = 1.4.0 =
375
- * Added feature request form to all plugin admin pages. Submit your feature requests today! =)
376
-
377
- = 1.3.9 =
378
- * Bug fixes for form creation issues
379
- * Bug fixes for safari page tracking not firing
380
- * Added quick menu to WP admin bar for quicker marketing!
381
-
382
- = 1.3.8 =
383
- * Updated styles to 3.8 wordpress
384
- * Streamlined form creation
385
- * fixed rogue PHP errors
386
-
387
- = 1.3.7 =
388
- * Added: Shortcode now automatically render in landing page option echos in templates
389
- * Updated: Visual Editor tool
390
- * Updated: Template selection interface
391
- * Updated: Major updates to core templates, CSS tweaks and fixes
392
- * Fixed: Shortcode insert into correct editor box
393
- * Fixed: editor always on HTML view
394
-
395
- = 1.3.6 =
396
-
397
- * Added: New Shortcodes! Fancy List and Column shortcodes
398
- * Added: Added email confirmation support to Inbound Forms tool
399
- * Added: Added New Welcome Page with Tutorial Video on Getting Started
400
- * Added: New Debug Tab for faster support requests/debugging
401
- * Fixed: CSS conflicts with button classes
402
-
403
- = 1.3.1 =
404
-
405
- * Added: Added InboundNow form creation and management system (beta)
406
- * Added: Support for InboundNow cross plugin extensions
407
- * Added: 'Sticky Variations' to global settings.
408
- * Added: Easier way for extension developers to license their extensions.
409
- * Added: 'header' setting component to global settings.
410
- * Fixed: Security issues
411
- * Improvement: Improved data management for global settings, metaboxes, and extensions.
412
-
413
- = 1.2.3 =
414
-
415
- * Fixed: Security issue with vulnerability to sql injection.
416
-
417
- = 1.2.1 =
418
-
419
- * Fixed: Issues with shortcodes rendering in wp-admin for variations.
420
-
421
- = 1.1.9 =
422
-
423
- * Fixed: Issues with navigation menu items breaking on landing pages with the default template selected.
424
-
425
- = 1.1.8 =
426
-
427
- * Fixed: Issue with post_content not saving for variations.
428
- * Added: [lp_conversion_area] Shortcode. It renders form conversion area anywhere on landing page
429
- * Fixed: Restored the ability to delete custom templates from 'Templates' section.
430
-
431
- = 1.1.7 =
432
-
433
- * Fixed: Issue with extension license keys not validating
434
- * Fixed: Issue with shortcodes not firing on select core templates
435
- * Improvement: Converted global settings data array to new easier to read format for development, added in legacy support.
436
-
437
- = 1.1.0.1 =
438
-
439
- * Fixed: Variation saves for custom css and custom js.
440
- * Fixed: jQuery error related to wysiwyg content formatting.
441
-
442
- = 1.0.9.9 =
443
- * Improved extension metabox loading for quicker load times and optimized meta data storage.
444
- * Phased out more 'old method' split testing components.
445
- * Improved .htaccess parsing.
446
- * Addressed issue with line breaks being removed from WYSIWYG editors.
447
-
448
- = 1.0.9.4 =
449
- * Added in tours for the edit screen and the list of landing page screen for new users to learn how to use the tool quickly and easily
450
- * Updated conversion tracking for wp-leads addon plugin
451
- * Added in option for default templates to toggle on/off navigation
452
-
453
- = 1.0.9.3 =
454
-
455
- * Removed old A/B split testing and the new system is fully in place!
456
-
457
- = 1.0.9.0 =
458
-
459
- * Added in A/B stats to the main landing page list view
460
-
461
- = 1.0.8.6 =
462
-
463
- * Release new and improved version of A/B testing!
464
- * Ajax saving on landing page options for faster page edits
465
- * Frontend Visual Editor to see what you are editing/changing
466
- * Enabled frontend editor for use on normal pages and posts
467
-
468
- = 1.0.8.5 =
469
-
470
- Providing better conversion and impression tracking for landing pages that are set as homepage.
471
-
472
- = 1.0.8.4 =
473
-
474
- Fixing activation bug
475
-
476
- = 1.0.8.1 =
477
-
478
- Fixing issue with jquery submission errors.
479
-
480
- = 1.0.7.9 =
481
-
482
- Added capability to activate and update license keys for premium extensions. Added ability to define white listed HTML elements for Form Standardization process.
483
-
484
- = 1.0.7.3 =
485
-
486
- Fixed issue with WP_List_table causing posts to to save or edit propperly Attempt 001
487
-
488
- = 1.0.7.1 =
489
-
490
- Added cookie based auto-field population & lead data collection to core.
491
-
492
- = 1.0.5.6 =
493
-
494
- Fixed issue with global setting's radio buttons not holding new set values.
495
-
496
- = 1.0.5.3 =
497
-
498
- Solutions for custom post type wp rewrite issue on activation.
499
-
500
- = 1.0.5.1 =
501
-
502
- Introducing version control system for extensions.
503
-
504
- = 1.0.4.4 =
505
-
506
- Migrating store to new location. Updating version control systems
507
-
508
- = 1.0.4.2 =
509
-
510
- Added new defitions to form standardization parser. Limited .htaccess rewrites to plugin activation to try and mitigate .htaccess corruptions.
511
-
512
- = 1.0.4.1 =
513
-
514
- Fixed issue with conversions not recording on some servers by forcing form submittal to wait until ajax has completely finnished loading before continuing to process form.
515
-
516
- = 1.0.3.9 =
517
-
518
- Fixed issue with plugins and wp core refusing to update on some installations when landing page plugin is activated.
519
-
520
- = 1.0.3.8 =
521
-
522
- Debugging cross browser impressions and conversion tracking. Implemented soltion for url-to-postid conversions that's compatible with the /slug/ removal extension for landing pages plugin.
523
- Added email validation check to prevent false positives when form standardization is turned on.
524
-
525
- = 1.0.3.7 =
526
-
527
- Bug Fix: 'Clear Stats' button.
528
-
529
- = 1.1 =
530
-
531
- Released
1
+ === WordPress Landing Pages ===
2
+
3
+ Contributors: Hudson Atwell, David Wells, Giulio Daprela, Matt Bisset, ahmedkaludi
4
+ Donate link: mailto:hudson@inboundnow.com
5
+ License: GPLv2 or later
6
+ License URI: http://www.gnu.org/licenses/gpl-2.0.html
7
+ Tags: landing pages, inbound marketing, conversion pages, split testing, a b test, a b testing, a/b test, a/b testing, coming soon page, email list, landing page, list building, maintenance page, squeeze page, inbound now, landing-pages, splash pages, cpa, click tracking, goal tracking, analytics, free landing page templates
8
+ Requires at least: 3.8
9
+ Tested up to: 4.8
10
+ Stable Tag: 2.5.7
11
+
12
+
13
+ Create landing pages for your WordPress site. Monitor and improve conversion rates, run A/B split tests, customize your own templates and more.
14
+
15
+ == Description ==
16
+
17
+ > WordPress Landing Pages works as a standalone plugin or hand in hand with [WordPress Calls to Action](http://wordpress.org/plugins/cta/ "Learn more about Calls to Action") & [WordPress Leads](http://wordpress.org/plugins/leads/ "Learn more about WordPress Leads") to create a powerful & free lead generation system for your business.
18
+
19
+ WordPress Landing Pages plugin framework provides a way to add and even create landing pages for your WordPress site. Landing Page templates are powered by the [Advanced Custom Fields](https://wordpress.org/plugins/advanced-custom-fields/ "Advanced Custom Fields") framework.
20
+
21
+ Landing Pages plugin provides administrators the abilities to monitor and track conversion rates, run a/b or multivariate split tests on landing pages, and most importantly increase lead flow!
22
+
23
+ The landing page plugin was designed with inbound marketing practices in mind and will help you drive & convert more leads on your site.
24
+
25
+ Landing pages are an ideal way to convert more of your passive website visitors into active leads or email list subscribers.
26
+
27
+ = Highlights =
28
+
29
+ * Create beautiful Landing Pages on your WordPress site.
30
+ * Visual Editor to view changes being made on the fly!
31
+ * Track conversion rates on your landing pages for continual optimization.
32
+ * Easily clone existing landing pages and run A/B Split tests on variations.
33
+ * Use your current WordPress theme or choose from our library of custom landing page designs.
34
+ * Pre-populate Forms with visitor information to increase conversion rates
35
+ * Gather lead intelligence and track lead activity with <a href="http://wordpress.org/plugins/leads/screenshots/">WordPress Leads</a>
36
+ * Extend functionality with our growing repository of <a href="http://www.inboundnow.com/marketplace">third party add ons</a>.
37
+ * Easily implement your own custom landing page design.
38
+
39
+
40
+ = About the Plugin =
41
+
42
+ http://www.youtube.com/watch?v=flEd0sRTFUo
43
+
44
+ = Developers & Designers =
45
+
46
+ We built the landing page plugin as a framework! Need A/B testing out of the box implemented for your existing designs? Use WordPress Landing Pages to quickly spin up new landing pages that have all the functionality your clients will need.
47
+
48
+ You can quickly take your existing designs and implement them using our <a href="http://docs.inboundnow.com/section/developer/">templating framework</a>.
49
+
50
+ The plugin is also fully extendable and has a number of actions, filters, and hooks available for use. If a hook doesn't exist, simply ask and we can implement custom changes.
51
+
52
+
53
+ [Contribute to Code](https://github.com/inboundnow/inbound-pro/core/landing-pages "Follow & Contribute to core development on GitHub")
54
+ |
55
+ [Follow on Twitter ](https://twitter.com/inboundnow "Stay Notified")
56
+
57
+
58
+ = Templates =
59
+
60
+ Landing Pages plugin ships with only small selection of responsive landing page templates. More templates are offered at the <a href="https://www.inboundnow.com/marketplace/">Inbound Now Marketplace</a>.
61
+
62
+ Landing Pages plugin also offers the ability to use your current selected theme as a template which open the door to <a href="http://docs.inboundnow.com/guide/default-wp-themes/">further customizations</a>.
63
+
64
+ We also offer a guide for using <a href="https://github.com/inboundnow/landing-pages/blob/develop/shared/docs/how.to.create.landing.page.templates.using.ACF.md">Advanced Custom Fields to build your own template.</a>
65
+
66
+ == Installation ==
67
+
68
+ 1. Upload `landing-pages` folder to the `/wp-content/plugins/` directory
69
+ 1. Activate the plugin through the 'Plugins' menu in WordPress
70
+
71
+ == Frequently Asked Questions ==
72
+ *Can I create my own landing page designs?,
73
+ *Yes! You can learn how to <a href="http://docs.inboundnow.com/guide/creating-landing-page-templates/">create your own landing page template here</a>.
74
+
75
+ == Screenshots ==
76
+
77
+ 1. Listing created landing pages - Powered by custom post type
78
+ 2. Selecting a template when creating a new landing page
79
+ 3. Editing the landing page. Viewing variation performance
80
+ 4. Viewing setting options for a landing page variation
81
+ 5. Framework is powered by Advanced Custom Fields
82
+ 6. Add custom CSS and custom JS
83
+ 7. Administrative popup preview of landing page
84
+ 8. Landing page comes with a visual editor
85
+
86
+ == Changelog ==
87
+
88
+ = 2.5.7 =
89
+ * Compatible with WordPress 4.8
90
+ * Updating shared files
91
+
92
+ = 2.5.6 =
93
+ * Adding wpautop to default landing page
94
+ * Updating shared files
95
+
96
+
97
+ = 2.5.4 =
98
+ * Making sure PHP sessions are only used on the backend to fix X-CACHE issue.
99
+ * Updating shared files and database tables.
100
+
101
+ = 2.5.3 =
102
+ * Support for Avada theme
103
+
104
+ = 2.5.1 =
105
+ * Increasing use of nonces for extra security.
106
+
107
+ = 2.4.9 =
108
+ * Removing two admin notices related to legacy templates
109
+ * Variation notes migrated to custom metabox
110
+ * Removing 'Insert default content' button from landing page and modifying metabox order
111
+ * Anti XSS security improvement
112
+
113
+ = 2.4.7 =
114
+ * Adding revision support to Landing Pages
115
+ * Updating Select2 assets to work with WooCommerce 3.0
116
+
117
+ = 2.4.6 =
118
+ * Improving way we handle the replacement of sidebars when using default template
119
+ * FireFox support for datetime picker.
120
+ * Better ACF4 media uploader support for WYSIWG
121
+
122
+ = 2.4.5 =
123
+ * Improving WYSIWYG "Add Media" button support for core templates
124
+ * Updating ACF4 to latest version.
125
+
126
+ = 2.4.4 =
127
+ * Adding wpautop to 'Single Double Column' template.
128
+
129
+ = 2.4.3 =
130
+ * Fixing database upgrade routine and refacting way we record funnel information.
131
+
132
+ = 2.4.2 =
133
+ * Updating shared directory, minor code structure improvements.
134
+
135
+ = 2.3.8 =
136
+ * Improving events storage and events reporting.
137
+
138
+ = 2.3.7 =
139
+ * [tweak] Better CSS support for SVTLE template
140
+ * [update] Update shared folder.
141
+
142
+ = 2.3.6 =
143
+ * [fix] Fixing Inbound Forms error when Leads is not activated
144
+
145
+ = 2.3.4 =
146
+ * [fix] fixing broken include file for Inbound Forms when wp-config.php is outside of it's normal location.
147
+
148
+ = 2.3.4 =
149
+ * Fixing double admin notifications
150
+ * Fixing settings issue with Simple Solid Lite template
151
+
152
+ = 2.3.3 =
153
+ * Updating ACF4
154
+ * Adding support for Inbound Forms without redirect URLs (no ajax)
155
+
156
+ = 2.2.9 =
157
+ * Fixing sanitation in image generation script.
158
+
159
+ = 2.2.8 =
160
+ * Fixing function placement in image generation script.
161
+
162
+ = 2.2.7 =
163
+ * [security fix] Adding additional sanitation requirements.
164
+
165
+ = 2.2.6 =
166
+ * Removing Dropcap, Half and Half, Tubelar, & Countdown Lander from the core.
167
+
168
+ = 2.2.4 =
169
+ * Adding custom capabilities to landing-page post type
170
+ * Debugging fatal when checking for Leads plugin
171
+
172
+ = 2.2.3 =
173
+ * Debugging impression count
174
+ * Removing Inbound Statistics for content in favor of Inbound Google Analytics extension.
175
+ * Fix issue with impressions driving up on first landing page in list.
176
+
177
+ = 2.1.9 =
178
+ * UI improvements
179
+ * Quality Control improvements / debug
180
+ * 301 instead of 302 when only one variation present
181
+
182
+ = 2.1.8 =
183
+ * Fix simple solid light
184
+ * Fix issue with legacy image uploader issue.
185
+
186
+ = 2.1.7 =
187
+ * Fix issue with Half and Half
188
+ * Code & responsive improvements to core free templates.
189
+
190
+ = 2.1.3 =
191
+ * Call to action updates
192
+
193
+ = 2.1.2 =
194
+ * Call to action updates
195
+
196
+ = 2.1.1 =
197
+ * Removing old admin notification
198
+
199
+ = 2.1.0 =
200
+ * Preparing for Inbound Pro
201
+
202
+ = 2.0.5 =
203
+ * fix issue with pausing variation A and misbehaving statistics when A is deleted.
204
+ * fix issue with dropcap conversion area not displaying
205
+
206
+ = 2.0.3 =
207
+ * security fix
208
+
209
+ = 2.0.2 =
210
+ * fixing fatal that prevented full landing page render
211
+
212
+ = 2.0.1 =
213
+ * brand new frontend editor
214
+ * updated template editor for improved user experience
215
+ * code consolidation and optimization (refactoring)
216
+ * migrating away from custom field system for core templates, now leveraging ACF4
217
+ * misc. UI improvements
218
+ * restore broken sidebar conversion area placement for 'default' template
219
+ * now loading landing page template data on init hook instead of as global.
220
+ * cleaned up config.php requirements for landing page templates
221
+ * repair work on variation switching when in landing page preview mode
222
+
223
+ = 1.9.2 =
224
+ * Security Patch
225
+
226
+ = 1.9.1 =
227
+ * Security Patch
228
+
229
+ = 1.9.0 =
230
+ * New preview views in landing page edit screens
231
+ * Temporarily disabling geolocation services
232
+
233
+ = 1.8.8 =
234
+ * Security Patch for XSS in firefox
235
+
236
+ = 1.8.6 =
237
+ * Security Patch
238
+
239
+ = 1.8.5 =
240
+ * Security Patch
241
+
242
+ = 1.8.4 =
243
+ * preparation for Inbound Attachments
244
+ * general bug fixes and improvements
245
+
246
+ = 1.8.3 =
247
+ * Fixing white screen of death issues with other plugin conflicts
248
+ * Improvements on NoConflict jQuery Class
249
+
250
+ = 1.8.2 =
251
+ * Debugging release issues with 1.8.1
252
+ * Security Update
253
+
254
+ = 1.8.1 =
255
+ * WYSIWYG buttons overlapping fixed
256
+ * Fixes issue with Homepage extensions and variation switching
257
+ * Template preview links
258
+ * Removing 'get short url' from landing pages.
259
+ * View full list of changes [here](https://github.com/inboundnow/landing-pages/issues?q=label%3A1.8.1+is%3Aclosed)
260
+
261
+ = 1.8.0 =
262
+ * Fixing addon store
263
+
264
+ = 1.7.9 =
265
+ * Even more security updates! Security for the win!
266
+
267
+ = 1.7.8 =
268
+ * Security Patch
269
+
270
+ = 1.7.7 =
271
+ * Fix double lead notification email
272
+
273
+ = 1.7.6 =
274
+ * Fixed double email submission on contact form 7
275
+
276
+ = 1.7.5 =
277
+ * Added form field exclusions to ignore sensitive data
278
+
279
+ = 1.7.3 =
280
+ * See changelog here: https://github.com/inboundnow/landing-pages/issues?q=is%3Aissue+is%3Aclosed+label%3Av1.7.3
281
+
282
+ = 1.7.2 =
283
+ * Improved form email typo detection
284
+ * Improved Template Styles
285
+ * Fixed content wysiwyg scroll freezing bug
286
+
287
+ = 1.7.1 =
288
+ * removed iframe of inbound now addon store. For addons please visit: http://inboundnow.com/market
289
+
290
+ = 1.7.0 =
291
+ * Removed anonymous PHP functions for PHP 5.2 support
292
+ * Updated template creation standards
293
+ * Converted varition modules to CLASS based system & documented
294
+ * Move /lang/ file outside of shared
295
+
296
+ = 1.6.2 =
297
+ * Bug Fix: Fix with lead email notifications
298
+
299
+ = 1.5.9 =
300
+ * Various bug fixes.
301
+ * Refactored main plugin file to class loader.
302
+ * Improved localization systems.
303
+
304
+ = 1.5.8 =
305
+ * Bug Fix: Check all required fields
306
+
307
+ = 1.5.7 =
308
+ * Improvement: All core template now use new consolidated settings system.
309
+ * Improvement: Leads Dashboard styling & stats
310
+ * Improvement: Screenshots on local installation replaced with template thumbnails.
311
+
312
+
313
+ = 1.5.6 =
314
+ * Fix to insert marketing shortcode popup
315
+
316
+ = 1.5.5 =
317
+ * Added events to lead tracking
318
+ * Bug Fix: Marketing Button
319
+ * Optimized CTA Tracking JS.
320
+ * Expanded impression/conversion analytics to all post types.
321
+
322
+ = 1.5.4 =
323
+ * Impression tracking bug fix.
324
+ * Bringing Inbound Tracking to All Posts/Pages
325
+
326
+ = 1.5.3 =
327
+ * Temporary fix for shortcodes disappearing from wordpress 3.8 to 3.9
328
+ * Performance improvements on analytics and lead tracking
329
+
330
+ = 1.5.1 =
331
+ * Misc bug fixes
332
+
333
+ = 1.5.0 =
334
+ * fixed field mapping bug
335
+ * Added better compability for js conflicts
336
+ * Prepping for marketing automation
337
+
338
+ = 1.4.9 =
339
+ * Fixed and improved default landing page templates
340
+ * Updates to work with V2 of the CTA plugins
341
+ * Improved form compatibilty with contact form 7, gravity forms, and ninja forms
342
+ * Numerous bug files and code improvements
343
+
344
+ = 1.4.8 =
345
+ * Added Google Analytics Custom Event Tracking for form submissions
346
+ * Added Ability: automatically sort leads into lists on form completions
347
+ * Added Ability: Send lead notification emails to multiple people. Use comma separated values
348
+ * Improved Social Media Buttons called with lp_social_media() function
349
+ * Fixed qTranslate plugin bug
350
+ * Fixed Genesis Title tag conflict
351
+ * Added improved asset loader
352
+ * Updated main docs.inboundnow.com site. Check it out!
353
+
354
+ = 1.4.7 =
355
+ * GPL fix with js library
356
+
357
+ = 1.4.6 =
358
+ * New Feature: Bulk Lead management with leads plugin wordpress.org/plugins/leads/
359
+ * Added tags to lead profiles for improved management/categorization
360
+ * Added new compatibility options to fix third party plugin conflicts!
361
+ * Added new debugging javascript debugging tools for users
362
+ * Fixed Email Sending Error on forms
363
+ * Improved support for master license keys
364
+
365
+ = 1.4.5 =
366
+ * Added New HTML Lead Email Template with clickable links for faster lead management
367
+ * Added Button Shortcodes!
368
+ * Added HTML field option to form tool
369
+ * Added Divider Option to Form tool
370
+ * Added multi column support to icon list shortcode
371
+ * Added Font Awesome Icons option to Inbound Form Submit buttons
372
+ * Added Social Sharing Shortcode
373
+ * Bug fix - emails not sending after form conversion fixed
374
+
375
+ = 1.4.1 =
376
+ * Bug fix - missing trackingObj
377
+
378
+ = 1.4.0 =
379
+ * Added feature request form to all plugin admin pages. Submit your feature requests today! =)
380
+
381
+ = 1.3.9 =
382
+ * Bug fixes for form creation issues
383
+ * Bug fixes for safari page tracking not firing
384
+ * Added quick menu to WP admin bar for quicker marketing!
385
+
386
+ = 1.3.8 =
387
+ * Updated styles to 3.8 wordpress
388
+ * Streamlined form creation
389
+ * fixed rogue PHP errors
390
+
391
+ = 1.3.7 =
392
+ * Added: Shortcode now automatically render in landing page option echos in templates
393
+ * Updated: Visual Editor tool
394
+ * Updated: Template selection interface
395
+ * Updated: Major updates to core templates, CSS tweaks and fixes
396
+ * Fixed: Shortcode insert into correct editor box
397
+ * Fixed: editor always on HTML view
398
+
399
+ = 1.3.6 =
400
+
401
+ * Added: New Shortcodes! Fancy List and Column shortcodes
402
+ * Added: Added email confirmation support to Inbound Forms tool
403
+ * Added: Added New Welcome Page with Tutorial Video on Getting Started
404
+ * Added: New Debug Tab for faster support requests/debugging
405
+ * Fixed: CSS conflicts with button classes
406
+
407
+ = 1.3.1 =
408
+
409
+ * Added: Added InboundNow form creation and management system (beta)
410
+ * Added: Support for InboundNow cross plugin extensions
411
+ * Added: 'Sticky Variations' to global settings.
412
+ * Added: Easier way for extension developers to license their extensions.
413
+ * Added: 'header' setting component to global settings.
414
+ * Fixed: Security issues
415
+ * Improvement: Improved data management for global settings, metaboxes, and extensions.
416
+
417
+ = 1.2.3 =
418
+
419
+ * Fixed: Security issue with vulnerability to sql injection.
420
+
421
+ = 1.2.1 =
422
+
423
+ * Fixed: Issues with shortcodes rendering in wp-admin for variations.
424
+
425
+ = 1.1.9 =
426
+
427
+ * Fixed: Issues with navigation menu items breaking on landing pages with the default template selected.
428
+
429
+ = 1.1.8 =
430
+
431
+ * Fixed: Issue with post_content not saving for variations.
432
+ * Added: [lp_conversion_area] Shortcode. It renders form conversion area anywhere on landing page