Version Description
- 2020-03-12 =
- Fixed user profile form
- Fixed field name validation
- Fixed multiselect value warning
- Added ability to display state code
Download this release
Release Info
Developer | wpdesk |
Plugin | Flexible Checkout Fields for WooCommerce – WooCommerce Checkout Manager |
Version | 2.4.3 |
Comparing to | |
See all releases |
Code changes from version 2.4.2 to 2.4.3
- assets/css/admin.min.css +1 -1
- assets/css/front.min.css +1 -1
- assets/css/jquery-ui.min.css +2 -1
- assets/css/print.min.css +1 -1
- assets/css/reset.min.css +1 -1
- assets/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- assets/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
- assets/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
- assets/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
- assets/images/ui-bg_glass_75_dadada_1x400.png +0 -0
- assets/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
- assets/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
- assets/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
- assets/images/ui-icons_222222_256x240.png +0 -0
- assets/images/ui-icons_2e83ff_256x240.png +0 -0
- assets/images/ui-icons_454545_256x240.png +0 -0
- assets/images/ui-icons_888888_256x240.png +0 -0
- assets/images/ui-icons_cd0a0a_256x240.png +0 -0
- assets/js/admin.min.js +2 -1
- assets/js/checkout.min.js +2 -1
- classes/class-flexible-checkout-fields-plugin.php +11 -3
- classes/display-options.php +7 -3
- classes/field-type-settings.php +49 -0
- classes/field-type.php +0 -40
- classes/field.php +40 -1
- classes/user-profile.php +36 -13
- classes/views/settings-fields.php +38 -11
- composer.lock +33 -29
- flexible-checkout-fields.php +3 -3
- lang/flexible-checkout-fields.pot +556 -0
- readme.txt +7 -1
- vendor/autoload.php +1 -1
- vendor/composer/autoload_classmap.php +1 -1
- vendor/composer/autoload_real.php +4 -4
- vendor/composer/autoload_static.php +5 -5
- vendor_prefixed/wpdesk/wp-basic-requirements/src/Basic_Requirement_Checker_Factory.php +1 -1
- vendor_prefixed/wpdesk/wp-plugin-flow/src/PluginBootstrap.php +1 -1
- vendor_prefixed/wpdesk/wp-wpdesk-helper/src/HelperRemoveNotice.php +2 -2
- vendor_prefixed/wpdesk/wp-wpdesk-helper/src/Integration/LogsIntegration.php +5 -5
- vendor_prefixed/wpdesk/wp-wpdesk-helper/src/Integration/TrackerIntegration.php +4 -4
- vendor_prefixed/wpdesk/wp-wpdesk-helper/src/Page/LibraryDebugPage.php +1 -1
- vendor_prefixed/wpdesk/wp-wpdesk-helper/src/Page/SettingsPage.php +2 -2
- vendor_prefixed/wpdesk/wp-wpdesk-helper/src/PrefixedHelperAsLibrary.php +1 -1
- vendor_prefixed/wpdesk/wp-wpdesk-license/src/ApiManager/class-wc-api-manager.php +2 -2
- vendor_prefixed/wpdesk/wp-wpdesk-license/src/Page/License/Action/LicenseActivation.php +2 -2
- vendor_prefixed/wpdesk/wp-wpdesk-license/src/Page/License/Action/LicenseDeactivation.php +1 -1
- vendor_prefixed/wpdesk/wp-wpdesk-license/src/Page/License/views/class-wpdesk-helper-list-table.php +4 -4
- vendor_prefixed/wpdesk/wp-wpdesk-license/src/Page/License/views/license-actions.php +4 -4
- vendor_prefixed/wpdesk/wp-wpdesk-license/src/Page/License/views/licenses.php +2 -2
- vendor_prefixed/wpdesk/wp-wpdesk-license/src/Page/LicensePage.php +1 -1
- vendor_prefixed/wpdesk/wp-wpdesk-tracker/src/views/tracker-connect.php +12 -12
- vendor_prefixed/wpdesk/wp-wpdesk-tracker/src/views/tracker-deactivate.php +14 -14
- vendor_prefixed/wpdesk/wp-wpdesk-tracker/src/views/tracker-notice.php +4 -4
- vendor_prefixed/wpdesk/wp-wpdesk-tracker/src/views/tracker-opt-out-notice.php +1 -1
- views/settings-field-advanced-js.php +11 -0
- views/settings-field-advanced.php +1 -1
assets/css/admin.min.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
.woocommerce_page_inspire_checkout_fields_settings .spinner{float:left}.woocommerce_page_inspire_checkout_fields_settings input[type="text"],.woocommerce_page_inspire_checkout_fields_settings input[type="number"],.woocommerce_page_inspire_checkout_fields_settings textarea,.woocommerce_page_inspire_checkout_fields_settings select{width:100%}span.inspire-file-error{color:red;font-weight:
|
1 |
+
.woocommerce_page_inspire_checkout_fields_settings .spinner{float:left}.woocommerce_page_inspire_checkout_fields_settings input[type="text"],.woocommerce_page_inspire_checkout_fields_settings input[type="number"],.woocommerce_page_inspire_checkout_fields_settings textarea,.woocommerce_page_inspire_checkout_fields_settings select{width:100%}span.inspire-file-error{color:red;font-weight:700}.woocommerce_page_inspire_checkout_fields_settings .hide{display:none}.woocommerce_page_inspire_checkout_fields_settings .rate{text-align:center}.woocommerce_page_inspire_checkout_fields_settings .rate a{text-decoration:none}.woocommerce_page_inspire_checkout_fields_settings .add-new-field-box h3{background:#f5f5f5;border-bottom:1px solid #ddd;color:#23282d;font-size:14px;line-height:21px;padding:10px 10px 11px 14px;margin:0}.woocommerce_page_inspire_checkout_fields_settings #add-new-field .accordion-section-content{padding:11px 13px 8px}.woocommerce_page_inspire_checkout_fields_settings .add-new-field-content>div{margin:5px 0 10px}.woocommerce_page_inspire_checkout_fields_settings .add-new-field-box .stuffbox{margin-top:25px}.woocommerce_page_inspire_checkout_fields_settings #nav-menu-header h3{color:#23282d;font-size:14px;float:left;line-height:28px;margin:0}.woocommerce_page_inspire_checkout_fields_settings .fields-container{border-right:1px solid #ddd;float:left;width:413px}.woocommerce_page_inspire_checkout_fields_settings ul.fields{padding-top:0}.woocommerce_page_inspire_checkout_fields_settings .field-item .menu-item-bar .menu-item-handle .item-title{margin-right:1.5em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.woocommerce_page_inspire_checkout_fields_settings .field-item.just-added .menu-item-bar .menu-item-handle{border-color:#999}.woocommerce_page_inspire_checkout_fields_settings .field-item.field-hidden .item-title{color:#898e93;font-style:italic}.woocommerce_page_inspire_checkout_fields_settings .field-item .menu-item-bar .menu-item-handle .item-type{float:right;padding:unset;font-weight:400;font-style:italic}.woocommerce_page_inspire_checkout_fields_settings .field-settings{display:none}.woocommerce_page_inspire_checkout_fields_settings .field-settings-tab-container>div{margin:5px 0 10px}.woocommerce_page_inspire_checkout_fields_settings .field-settings label{margin-bottom:5px}.woocommerce_page_inspire_checkout_fields_settings .field-settings .element-option{display:none}.woocommerce_page_inspire_checkout_fields_settings .field-settings .element-option.show{display:block}.woocommerce_page_inspire_checkout_fields_settings .field-settings a.remove-field{color:#a00;display:inline-block;margin:10px 0 5px 320px;text-decoration:none}.woocommerce_page_inspire_checkout_fields_settings .field-settings a.remove-field:hover{color:red}.woocommerce_page_inspire_checkout_fields_settings #nav-menu-footer{border-top:1px solid #ddd;clear:both}.woocommerce_page_inspire_checkout_fields_settings #nav-menu-footer .button{float:left}.woocommerce_page_inspire_checkout_fields_settings #nav-menu-footer .reset_settings{border:none;box-shadow:none;color:#a00;float:right;padding:0}.woocommerce_page_inspire_checkout_fields_settings #nav-menu-footer .reset_settings:hover{color:red}.woocommerce_page_inspire_checkout_fields_settings .fields-container .nav-tab{font-size:12px;margin-left:0;margin-right:.5em}.woocommerce_page_inspire_checkout_fields_settings .fields-container .nav-tab-active,.woocommerce_page_inspire_checkout_fields_settings .fields-container .nav-tab-active:focus,.woocommerce_page_inspire_checkout_fields_settings .fields-container .nav-tab-active:focus:active,.woocommerce_page_inspire_checkout_fields_settings .fields-container .nav-tab-active:hover{background-color:#fff;border-bottom:0}.woocommerce_page_inspire_checkout_fields_settings .nav-tab-wrapper{border-bottom:0;margin-right:10px}.woocommerce_page_inspire_checkout_fields_settings .field-settings-tab-container{border:1px solid #ccc;margin-top:-1px;margin-right:10px;padding:4px 10px 0}.display-options-info,.display-options-heading{display:none}.post-type-shop_order .edit_address .form-left{float:left!important;clear:left}.post-type-shop_order .edit_address .form-right{float:right!important}.field-validation-info,.field-validation-heading{display:none}p.help,.field-item p.description,.add-new-field-content p.description,span.description,.form-wrap p{overflow:auto}
|
assets/css/front.min.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
.inspire_checkout_fields_hide{display:none}.woocommerce-account input.button[name="save_address"]{display:block
|
1 |
+
.inspire_checkout_fields_hide{display:none}.woocommerce-account input.button[name="save_address"]{display:block!important;clear:both}.woocommerce-checkout .checkout .form-left{float:left!important;clear:left}.woocommerce-checkout .checkout .form-right{float:right!important}.woocommerce-account .woocommerce .form-left{float:left!important;clear:left}.woocommerce-account .woocommerce .form-right{float:right!important}span.inspire-file-error{font-weight:700}
|
assets/css/jquery-ui.min.css
CHANGED
@@ -1,4 +1,5 @@
|
|
1 |
/*! jQuery UI - v1.9.2 - 2012-11-23
|
2 |
* http://jqueryui.com
|
3 |
* Includes: jquery.ui.core.css, jquery.ui.accordion.css, jquery.ui.autocomplete.css, jquery.ui.button.css, jquery.ui.datepicker.css, jquery.ui.dialog.css, jquery.ui.menu.css, jquery.ui.progressbar.css, jquery.ui.resizable.css, jquery.ui.selectable.css, jquery.ui.slider.css, jquery.ui.spinner.css, jquery.ui.tabs.css, jquery.ui.tooltip.css, jquery.ui.theme.css
|
4 |
-
* Copyright 2012 jQuery Foundation and other contributors; Licensed MIT */.ui-helper-hidden{display:none}.ui-helper-hidden-accessible{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.ui-helper-reset{margin:0;padding:0;border:0;outline:0;line-height:1.3;text-decoration:none;font-size:100%;list-style:none}.ui-helper-clearfix:before,.ui-helper-clearfix:after{content:"";display:table}.ui-helper-clearfix:after{clear:both}.ui-helper-clearfix{zoom:1}.ui-helper-zfix{width:100%;height:100%;top:0;left:0;position:absolute;opacity:0;filter:Alpha(Opacity=0)}.ui-state-disabled{cursor:default !important}.ui-icon{display:block;text-indent:-99999px;overflow:hidden;background-repeat:no-repeat}.ui-widget-overlay{position:absolute;top:0;left:0;width:100%;height:100%}.ui-accordion .ui-accordion-header{display:block;cursor:pointer;position:relative;margin-top:2px;padding:.5em .5em .5em .7em;zoom:1}.ui-accordion .ui-accordion-icons{padding-left:2.2em}.ui-accordion .ui-accordion-noicons{padding-left:.7em}.ui-accordion .ui-accordion-icons .ui-accordion-icons{padding-left:2.2em}.ui-accordion .ui-accordion-header .ui-accordion-header-icon{position:absolute;left:.5em;top:50%;margin-top:-8px}.ui-accordion .ui-accordion-content{padding:1em 2.2em;border-top:0;overflow:auto;zoom:1}.ui-autocomplete{position:absolute;top:0;left:0;cursor:default}* html .ui-autocomplete{width:1px}.ui-button{display:inline-block;position:relative;padding:0;margin-right:.1em;cursor:pointer;text-align:center;zoom:1;overflow:visible}.ui-button,.ui-button:link,.ui-button:visited,.ui-button:hover,.ui-button:active{text-decoration:none}.ui-button-icon-only{width:2.2em}button.ui-button-icon-only{width:2.4em}.ui-button-icons-only{width:3.4em}button.ui-button-icons-only{width:3.7em}.ui-button .ui-button-text{display:block;line-height:1.4}.ui-button-text-only .ui-button-text{padding:.4em 1em}.ui-button-icon-only .ui-button-text,.ui-button-icons-only .ui-button-text{padding:.4em;text-indent:-9999999px}.ui-button-text-icon-primary .ui-button-text,.ui-button-text-icons .ui-button-text{padding:.4em 1em .4em 2.1em}.ui-button-text-icon-secondary .ui-button-text,.ui-button-text-icons .ui-button-text{padding:.4em 2.1em .4em 1em}.ui-button-text-icons .ui-button-text{padding-left:2.1em;padding-right:2.1em}input.ui-button{padding:.4em 1em}.ui-button-icon-only .ui-icon,.ui-button-text-icon-primary .ui-icon,.ui-button-text-icon-secondary .ui-icon,.ui-button-text-icons .ui-icon,.ui-button-icons-only .ui-icon{position:absolute;top:50%;margin-top:-8px}.ui-button-icon-only .ui-icon{left:50%;margin-left:-8px}.ui-button-text-icon-primary .ui-button-icon-primary,.ui-button-text-icons .ui-button-icon-primary,.ui-button-icons-only .ui-button-icon-primary{left:.5em}.ui-button-text-icon-secondary .ui-button-icon-secondary,.ui-button-text-icons .ui-button-icon-secondary,.ui-button-icons-only .ui-button-icon-secondary{right:.5em}.ui-button-text-icons .ui-button-icon-secondary,.ui-button-icons-only .ui-button-icon-secondary{right:.5em}.ui-buttonset{margin-right:7px}.ui-buttonset .ui-button{margin-left:0;margin-right:-.3em}button.ui-button::-moz-focus-inner{border:0;padding:0}.ui-datepicker{width:17em;padding:.2em .2em 0;display:none}.ui-datepicker .ui-datepicker-header{position:relative;padding:.2em 0}.ui-datepicker .ui-datepicker-prev,.ui-datepicker .ui-datepicker-next{position:absolute;top:2px;width:1.8em;height:1.8em}.ui-datepicker .ui-datepicker-prev-hover,.ui-datepicker .ui-datepicker-next-hover{top:1px}.ui-datepicker .ui-datepicker-prev{left:2px}.ui-datepicker .ui-datepicker-next{right:2px}.ui-datepicker .ui-datepicker-prev-hover{left:1px}.ui-datepicker .ui-datepicker-next-hover{right:1px}.ui-datepicker .ui-datepicker-prev span,.ui-datepicker .ui-datepicker-next span{display:block;position:absolute;left:50%;margin-left:-8px;top:50%;margin-top:-8px}.ui-datepicker .ui-datepicker-title{margin:0 2.3em;line-height:1.8em;text-align:center}.ui-datepicker .ui-datepicker-title select{font-size:1em;margin:1px 0}.ui-datepicker select.ui-datepicker-month-year{width:100%}.ui-datepicker select.ui-datepicker-month,.ui-datepicker select.ui-datepicker-year{width:49%}.ui-datepicker table{width:100%;font-size:.9em;border-collapse:collapse;margin:0 0 .4em}.ui-datepicker th{padding:.7em .3em;text-align:center;font-weight:bold;border:0}.ui-datepicker td{border:0;padding:1px}.ui-datepicker td span,.ui-datepicker td a{display:block;padding:.2em;text-align:right;text-decoration:none}.ui-datepicker .ui-datepicker-buttonpane{background-image:none;margin:.7em 0 0 0;padding:0 .2em;border-left:0;border-right:0;border-bottom:0}.ui-datepicker .ui-datepicker-buttonpane button{float:right;margin:.5em .2em .4em;cursor:pointer;padding:.2em .6em .3em .6em;width:auto;overflow:visible}.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current{float:left}.ui-datepicker.ui-datepicker-multi{width:auto}.ui-datepicker-multi .ui-datepicker-group{float:left}.ui-datepicker-multi .ui-datepicker-group table{width:95%;margin:0 auto .4em}.ui-datepicker-multi-2 .ui-datepicker-group{width:50%}.ui-datepicker-multi-3 .ui-datepicker-group{width:33.3%}.ui-datepicker-multi-4 .ui-datepicker-group{width:25%}.ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header{border-left-width:0}.ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header{border-left-width:0}.ui-datepicker-multi .ui-datepicker-buttonpane{clear:left}.ui-datepicker-row-break{clear:both;width:100%;font-size:0}.ui-datepicker-rtl{direction:rtl}.ui-datepicker-rtl .ui-datepicker-prev{right:2px;left:auto}.ui-datepicker-rtl .ui-datepicker-next{left:2px;right:auto}.ui-datepicker-rtl .ui-datepicker-prev:hover{right:1px;left:auto}.ui-datepicker-rtl .ui-datepicker-next:hover{left:1px;right:auto}.ui-datepicker-rtl .ui-datepicker-buttonpane{clear:right}.ui-datepicker-rtl .ui-datepicker-buttonpane button{float:left}.ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current{float:right}.ui-datepicker-rtl .ui-datepicker-group{float:right}.ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header{border-right-width:0;border-left-width:1px}.ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header{border-right-width:0;border-left-width:1px}.ui-datepicker-cover{position:absolute;z-index:-1;filter:mask();top:-4px;left:-4px;width:200px;height:200px}.ui-dialog{position:absolute;top:0;left:0;padding:.2em;width:300px;overflow:hidden}.ui-dialog .ui-dialog-titlebar{padding:.4em 1em;position:relative}.ui-dialog .ui-dialog-title{float:left;margin:.1em 16px .1em 0}.ui-dialog .ui-dialog-titlebar-close{position:absolute;right:.3em;top:50%;width:19px;margin:-10px 0 0 0;padding:1px;height:18px}.ui-dialog .ui-dialog-titlebar-close span{display:block;margin:1px}.ui-dialog .ui-dialog-titlebar-close:hover,.ui-dialog .ui-dialog-titlebar-close:focus{padding:0}.ui-dialog .ui-dialog-content{position:relative;border:0;padding:.5em 1em;background:0;overflow:auto;zoom:1}.ui-dialog .ui-dialog-buttonpane{text-align:left;border-width:1px 0 0 0;background-image:none;margin:.5em 0 0 0;padding:.3em 1em .5em .4em}.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset{float:right}.ui-dialog .ui-dialog-buttonpane button{margin:.5em .4em .5em 0;cursor:pointer}.ui-dialog .ui-resizable-se{width:14px;height:14px;right:3px;bottom:3px}.ui-draggable .ui-dialog-titlebar{cursor:move}.ui-menu{list-style:none;padding:2px;margin:0;display:block;outline:0}.ui-menu .ui-menu{margin-top:-3px;position:absolute}.ui-menu .ui-menu-item{margin:0;padding:0;zoom:1;width:100%}.ui-menu .ui-menu-divider{margin:5px -2px 5px -2px;height:0;font-size:0;line-height:0;border-width:1px 0 0 0}.ui-menu .ui-menu-item a{text-decoration:none;display:block;padding:2px .4em;line-height:1.5;zoom:1;font-weight:normal}.ui-menu .ui-menu-item a.ui-state-focus,.ui-menu .ui-menu-item a.ui-state-active{font-weight:normal;margin:-1px}.ui-menu .ui-state-disabled{font-weight:normal;margin:.4em 0 .2em;line-height:1.5}.ui-menu .ui-state-disabled a{cursor:default}.ui-menu-icons{position:relative}.ui-menu-icons .ui-menu-item a{position:relative;padding-left:2em}.ui-menu .ui-icon{position:absolute;top:.2em;left:.2em}.ui-menu .ui-menu-icon{position:static;float:right}.ui-progressbar{height:2em;text-align:left;overflow:hidden}.ui-progressbar .ui-progressbar-value{margin:-1px;height:100%}.ui-resizable{position:relative}.ui-resizable-handle{position:absolute;font-size:.1px;display:block}.ui-resizable-disabled .ui-resizable-handle,.ui-resizable-autohide .ui-resizable-handle{display:none}.ui-resizable-n{cursor:n-resize;height:7px;width:100%;top:-5px;left:0}.ui-resizable-s{cursor:s-resize;height:7px;width:100%;bottom:-5px;left:0}.ui-resizable-e{cursor:e-resize;width:7px;right:-5px;top:0;height:100%}.ui-resizable-w{cursor:w-resize;width:7px;left:-5px;top:0;height:100%}.ui-resizable-se{cursor:se-resize;width:12px;height:12px;right:1px;bottom:1px}.ui-resizable-sw{cursor:sw-resize;width:9px;height:9px;left:-5px;bottom:-5px}.ui-resizable-nw{cursor:nw-resize;width:9px;height:9px;left:-5px;top:-5px}.ui-resizable-ne{cursor:ne-resize;width:9px;height:9px;right:-5px;top:-5px}.ui-selectable-helper{position:absolute;z-index:100;border:1px dotted black}.ui-slider{position:relative;text-align:left}.ui-slider .ui-slider-handle{position:absolute;z-index:2;width:1.2em;height:1.2em;cursor:default}.ui-slider .ui-slider-range{position:absolute;z-index:1;font-size:.7em;display:block;border:0;background-position:0 0}.ui-slider-horizontal{height:.8em}.ui-slider-horizontal .ui-slider-handle{top:-.3em;margin-left:-.6em}.ui-slider-horizontal .ui-slider-range{top:0;height:100%}.ui-slider-horizontal .ui-slider-range-min{left:0}.ui-slider-horizontal .ui-slider-range-max{right:0}.ui-slider-vertical{width:.8em;height:100px}.ui-slider-vertical .ui-slider-handle{left:-.3em;margin-left:0;margin-bottom:-.6em}.ui-slider-vertical .ui-slider-range{left:0;width:100%}.ui-slider-vertical .ui-slider-range-min{bottom:0}.ui-slider-vertical .ui-slider-range-max{top:0}.ui-spinner{position:relative;display:inline-block;overflow:hidden;padding:0;vertical-align:middle}.ui-spinner-input{border:0;background:0;padding:0;margin:.2em 0;vertical-align:middle;margin-left:.4em;margin-right:22px}.ui-spinner-button{width:16px;height:50%;font-size:.5em;padding:0;margin:0;text-align:center;position:absolute;cursor:default;display:block;overflow:hidden;right:0}.ui-spinner a.ui-spinner-button{border-top:0;border-bottom:0;border-right:0}.ui-spinner .ui-icon{position:absolute;margin-top:-8px;top:50%;left:0}.ui-spinner-up{top:0}.ui-spinner-down{bottom:0}.ui-spinner .ui-icon-triangle-1-s{background-position:-65px -16px}.ui-tabs{position:relative;padding:.2em;zoom:1}.ui-tabs .ui-tabs-nav{margin:0;padding:.2em .2em 0}.ui-tabs .ui-tabs-nav li{list-style:none;float:left;position:relative;top:0;margin:1px .2em 0 0;border-bottom:0;padding:0;white-space:nowrap}.ui-tabs .ui-tabs-nav li a{float:left;padding:.5em 1em;text-decoration:none}.ui-tabs .ui-tabs-nav li.ui-tabs-active{margin-bottom:-1px;padding-bottom:1px}.ui-tabs .ui-tabs-nav li.ui-tabs-active a,.ui-tabs .ui-tabs-nav li.ui-state-disabled a,.ui-tabs .ui-tabs-nav li.ui-tabs-loading a{cursor:text}.ui-tabs .ui-tabs-nav li a,.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-active a{cursor:pointer}.ui-tabs .ui-tabs-panel{display:block;border-width:0;padding:1em 1.4em;background:0}.ui-tooltip{padding:8px;position:absolute;z-index:9999;max-width:300px;-webkit-box-shadow:0 0 5px #aaa;box-shadow:0 0 5px #aaa}* html .ui-tooltip{background-image:none}body .ui-tooltip{border-width:2px}.ui-widget{font-family:Verdana,Arial,sans-serif;font-size:1.1em}.ui-widget .ui-widget{font-size:1em}.ui-widget input,.ui-widget select,.ui-widget textarea,.ui-widget button{font-family:Verdana,Arial,sans-serif;font-size:1em}.ui-widget-content{border:1px solid #aaa;background:#fff url(images/ui-bg_flat_75_ffffff_40x100.png) 50% 50% repeat-x;color:#222}.ui-widget-content a{color:#222}.ui-widget-header{border:1px solid #aaa;background:#ccc url(images/ui-bg_highlight-soft_75_cccccc_1x100.png) 50% 50% repeat-x;color:#222;font-weight:bold}.ui-widget-header a{color:#222}.ui-state-default,.ui-widget-content .ui-state-default,.ui-widget-header .ui-state-default{border:1px solid #d3d3d3;background:#e6e6e6 url(images/ui-bg_glass_75_e6e6e6_1x400.png) 50% 50% repeat-x;font-weight:normal;color:#555}.ui-state-default a,.ui-state-default a:link,.ui-state-default a:visited{color:#555;text-decoration:none}.ui-state-hover,.ui-widget-content .ui-state-hover,.ui-widget-header .ui-state-hover,.ui-state-focus,.ui-widget-content .ui-state-focus,.ui-widget-header .ui-state-focus{border:1px solid #999;background:#dadada url(images/ui-bg_glass_75_dadada_1x400.png) 50% 50% repeat-x;font-weight:normal;color:#212121}.ui-state-hover a,.ui-state-hover a:hover,.ui-state-hover a:link,.ui-state-hover a:visited{color:#212121;text-decoration:none}.ui-state-active,.ui-widget-content .ui-state-active,.ui-widget-header .ui-state-active{border:1px solid #aaa;background:#fff url(images/ui-bg_glass_65_ffffff_1x400.png) 50% 50% repeat-x;font-weight:normal;color:#212121}.ui-state-active a,.ui-state-active a:link,.ui-state-active a:visited{color:#212121;text-decoration:none}.ui-state-highlight,.ui-widget-content .ui-state-highlight,.ui-widget-header .ui-state-highlight{border:1px solid #fcefa1;background:#fbf9ee url(images/ui-bg_glass_55_fbf9ee_1x400.png) 50% 50% repeat-x;color:#363636}.ui-state-highlight a,.ui-widget-content .ui-state-highlight a,.ui-widget-header .ui-state-highlight a{color:#363636}.ui-state-error,.ui-widget-content .ui-state-error,.ui-widget-header .ui-state-error{border:1px solid #cd0a0a;background:#fef1ec url(images/ui-bg_glass_95_fef1ec_1x400.png) 50% 50% repeat-x;color:#cd0a0a}.ui-state-error a,.ui-widget-content .ui-state-error a,.ui-widget-header .ui-state-error a{color:#cd0a0a}.ui-state-error-text,.ui-widget-content .ui-state-error-text,.ui-widget-header .ui-state-error-text{color:#cd0a0a}.ui-priority-primary,.ui-widget-content .ui-priority-primary,.ui-widget-header .ui-priority-primary{font-weight:bold}.ui-priority-secondary,.ui-widget-content .ui-priority-secondary,.ui-widget-header .ui-priority-secondary{opacity:.7;filter:Alpha(Opacity=70);font-weight:normal}.ui-state-disabled,.ui-widget-content .ui-state-disabled,.ui-widget-header .ui-state-disabled{opacity:.35;filter:Alpha(Opacity=35);background-image:none}.ui-state-disabled .ui-icon{filter:Alpha(Opacity=35)}.ui-icon{width:16px;height:16px;background-image:url(images/ui-icons_222222_256x240.png)}.ui-widget-content .ui-icon{background-image:url(images/ui-icons_222222_256x240.png)}.ui-widget-header .ui-icon{background-image:url(images/ui-icons_222222_256x240.png)}.ui-state-default .ui-icon{background-image:url(images/ui-icons_888888_256x240.png)}.ui-state-hover .ui-icon,.ui-state-focus .ui-icon{background-image:url(images/ui-icons_454545_256x240.png)}.ui-state-active .ui-icon{background-image:url(images/ui-icons_454545_256x240.png)}.ui-state-highlight .ui-icon{background-image:url(images/ui-icons_2e83ff_256x240.png)}.ui-state-error .ui-icon,.ui-state-error-text .ui-icon{background-image:url(images/ui-icons_cd0a0a_256x240.png)}.ui-icon-carat-1-n{background-position:0 0}.ui-icon-carat-1-ne{background-position:-16px 0}.ui-icon-carat-1-e{background-position:-32px 0}.ui-icon-carat-1-se{background-position:-48px 0}.ui-icon-carat-1-s{background-position:-64px 0}.ui-icon-carat-1-sw{background-position:-80px 0}.ui-icon-carat-1-w{background-position:-96px 0}.ui-icon-carat-1-nw{background-position:-112px 0}.ui-icon-carat-2-n-s{background-position:-128px 0}.ui-icon-carat-2-e-w{background-position:-144px 0}.ui-icon-triangle-1-n{background-position:0 -16px}.ui-icon-triangle-1-ne{background-position:-16px -16px}.ui-icon-triangle-1-e{background-position:-32px -16px}.ui-icon-triangle-1-se{background-position:-48px -16px}.ui-icon-triangle-1-s{background-position:-64px -16px}.ui-icon-triangle-1-sw{background-position:-80px -16px}.ui-icon-triangle-1-w{background-position:-96px -16px}.ui-icon-triangle-1-nw{background-position:-112px -16px}.ui-icon-triangle-2-n-s{background-position:-128px -16px}.ui-icon-triangle-2-e-w{background-position:-144px -16px}.ui-icon-arrow-1-n{background-position:0 -32px}.ui-icon-arrow-1-ne{background-position:-16px -32px}.ui-icon-arrow-1-e{background-position:-32px -32px}.ui-icon-arrow-1-se{background-position:-48px -32px}.ui-icon-arrow-1-s{background-position:-64px -32px}.ui-icon-arrow-1-sw{background-position:-80px -32px}.ui-icon-arrow-1-w{background-position:-96px -32px}.ui-icon-arrow-1-nw{background-position:-112px -32px}.ui-icon-arrow-2-n-s{background-position:-128px -32px}.ui-icon-arrow-2-ne-sw{background-position:-144px -32px}.ui-icon-arrow-2-e-w{background-position:-160px -32px}.ui-icon-arrow-2-se-nw{background-position:-176px -32px}.ui-icon-arrowstop-1-n{background-position:-192px -32px}.ui-icon-arrowstop-1-e{background-position:-208px -32px}.ui-icon-arrowstop-1-s{background-position:-224px -32px}.ui-icon-arrowstop-1-w{background-position:-240px -32px}.ui-icon-arrowthick-1-n{background-position:0 -48px}.ui-icon-arrowthick-1-ne{background-position:-16px -48px}.ui-icon-arrowthick-1-e{background-position:-32px -48px}.ui-icon-arrowthick-1-se{background-position:-48px -48px}.ui-icon-arrowthick-1-s{background-position:-64px -48px}.ui-icon-arrowthick-1-sw{background-position:-80px -48px}.ui-icon-arrowthick-1-w{background-position:-96px -48px}.ui-icon-arrowthick-1-nw{background-position:-112px -48px}.ui-icon-arrowthick-2-n-s{background-position:-128px -48px}.ui-icon-arrowthick-2-ne-sw{background-position:-144px -48px}.ui-icon-arrowthick-2-e-w{background-position:-160px -48px}.ui-icon-arrowthick-2-se-nw{background-position:-176px -48px}.ui-icon-arrowthickstop-1-n{background-position:-192px -48px}.ui-icon-arrowthickstop-1-e{background-position:-208px -48px}.ui-icon-arrowthickstop-1-s{background-position:-224px -48px}.ui-icon-arrowthickstop-1-w{background-position:-240px -48px}.ui-icon-arrowreturnthick-1-w{background-position:0 -64px}.ui-icon-arrowreturnthick-1-n{background-position:-16px -64px}.ui-icon-arrowreturnthick-1-e{background-position:-32px -64px}.ui-icon-arrowreturnthick-1-s{background-position:-48px -64px}.ui-icon-arrowreturn-1-w{background-position:-64px -64px}.ui-icon-arrowreturn-1-n{background-position:-80px -64px}.ui-icon-arrowreturn-1-e{background-position:-96px -64px}.ui-icon-arrowreturn-1-s{background-position:-112px -64px}.ui-icon-arrowrefresh-1-w{background-position:-128px -64px}.ui-icon-arrowrefresh-1-n{background-position:-144px -64px}.ui-icon-arrowrefresh-1-e{background-position:-160px -64px}.ui-icon-arrowrefresh-1-s{background-position:-176px -64px}.ui-icon-arrow-4{background-position:0 -80px}.ui-icon-arrow-4-diag{background-position:-16px -80px}.ui-icon-extlink{background-position:-32px -80px}.ui-icon-newwin{background-position:-48px -80px}.ui-icon-refresh{background-position:-64px -80px}.ui-icon-shuffle{background-position:-80px -80px}.ui-icon-transfer-e-w{background-position:-96px -80px}.ui-icon-transferthick-e-w{background-position:-112px -80px}.ui-icon-folder-collapsed{background-position:0 -96px}.ui-icon-folder-open{background-position:-16px -96px}.ui-icon-document{background-position:-32px -96px}.ui-icon-document-b{background-position:-48px -96px}.ui-icon-note{background-position:-64px -96px}.ui-icon-mail-closed{background-position:-80px -96px}.ui-icon-mail-open{background-position:-96px -96px}.ui-icon-suitcase{background-position:-112px -96px}.ui-icon-comment{background-position:-128px -96px}.ui-icon-person{background-position:-144px -96px}.ui-icon-print{background-position:-160px -96px}.ui-icon-trash{background-position:-176px -96px}.ui-icon-locked{background-position:-192px -96px}.ui-icon-unlocked{background-position:-208px -96px}.ui-icon-bookmark{background-position:-224px -96px}.ui-icon-tag{background-position:-240px -96px}.ui-icon-home{background-position:0 -112px}.ui-icon-flag{background-position:-16px -112px}.ui-icon-calendar{background-position:-32px -112px}.ui-icon-cart{background-position:-48px -112px}.ui-icon-pencil{background-position:-64px -112px}.ui-icon-clock{background-position:-80px -112px}.ui-icon-disk{background-position:-96px -112px}.ui-icon-calculator{background-position:-112px -112px}.ui-icon-zoomin{background-position:-128px -112px}.ui-icon-zoomout{background-position:-144px -112px}.ui-icon-search{background-position:-160px -112px}.ui-icon-wrench{background-position:-176px -112px}.ui-icon-gear{background-position:-192px -112px}.ui-icon-heart{background-position:-208px -112px}.ui-icon-star{background-position:-224px -112px}.ui-icon-link{background-position:-240px -112px}.ui-icon-cancel{background-position:0 -128px}.ui-icon-plus{background-position:-16px -128px}.ui-icon-plusthick{background-position:-32px -128px}.ui-icon-minus{background-position:-48px -128px}.ui-icon-minusthick{background-position:-64px -128px}.ui-icon-close{background-position:-80px -128px}.ui-icon-closethick{background-position:-96px -128px}.ui-icon-key{background-position:-112px -128px}.ui-icon-lightbulb{background-position:-128px -128px}.ui-icon-scissors{background-position:-144px -128px}.ui-icon-clipboard{background-position:-160px -128px}.ui-icon-copy{background-position:-176px -128px}.ui-icon-contact{background-position:-192px -128px}.ui-icon-image{background-position:-208px -128px}.ui-icon-video{background-position:-224px -128px}.ui-icon-script{background-position:-240px -128px}.ui-icon-alert{background-position:0 -144px}.ui-icon-info{background-position:-16px -144px}.ui-icon-notice{background-position:-32px -144px}.ui-icon-help{background-position:-48px -144px}.ui-icon-check{background-position:-64px -144px}.ui-icon-bullet{background-position:-80px -144px}.ui-icon-radio-on{background-position:-96px -144px}.ui-icon-radio-off{background-position:-112px -144px}.ui-icon-pin-w{background-position:-128px -144px}.ui-icon-pin-s{background-position:-144px -144px}.ui-icon-play{background-position:0 -160px}.ui-icon-pause{background-position:-16px -160px}.ui-icon-seek-next{background-position:-32px -160px}.ui-icon-seek-prev{background-position:-48px -160px}.ui-icon-seek-end{background-position:-64px -160px}.ui-icon-seek-start{background-position:-80px -160px}.ui-icon-seek-first{background-position:-80px -160px}.ui-icon-stop{background-position:-96px -160px}.ui-icon-eject{background-position:-112px -160px}.ui-icon-volume-off{background-position:-128px -160px}.ui-icon-volume-on{background-position:-144px -160px}.ui-icon-power{background-position:0 -176px}.ui-icon-signal-diag{background-position:-16px -176px}.ui-icon-signal{background-position:-32px -176px}.ui-icon-battery-0{background-position:-48px -176px}.ui-icon-battery-1{background-position:-64px -176px}.ui-icon-battery-2{background-position:-80px -176px}.ui-icon-battery-3{background-position:-96px -176px}.ui-icon-circle-plus{background-position:0 -192px}.ui-icon-circle-minus{background-position:-16px -192px}.ui-icon-circle-close{background-position:-32px -192px}.ui-icon-circle-triangle-e{background-position:-48px -192px}.ui-icon-circle-triangle-s{background-position:-64px -192px}.ui-icon-circle-triangle-w{background-position:-80px -192px}.ui-icon-circle-triangle-n{background-position:-96px -192px}.ui-icon-circle-arrow-e{background-position:-112px -192px}.ui-icon-circle-arrow-s{background-position:-128px -192px}.ui-icon-circle-arrow-w{background-position:-144px -192px}.ui-icon-circle-arrow-n{background-position:-160px -192px}.ui-icon-circle-zoomin{background-position:-176px -192px}.ui-icon-circle-zoomout{background-position:-192px -192px}.ui-icon-circle-check{background-position:-208px -192px}.ui-icon-circlesmall-plus{background-position:0 -208px}.ui-icon-circlesmall-minus{background-position:-16px -208px}.ui-icon-circlesmall-close{background-position:-32px -208px}.ui-icon-squaresmall-plus{background-position:-48px -208px}.ui-icon-squaresmall-minus{background-position:-64px -208px}.ui-icon-squaresmall-close{background-position:-80px -208px}.ui-icon-grip-dotted-vertical{background-position:0 -224px}.ui-icon-grip-dotted-horizontal{background-position:-16px -224px}.ui-icon-grip-solid-vertical{background-position:-32px -224px}.ui-icon-grip-solid-horizontal{background-position:-48px -224px}.ui-icon-gripsmall-diagonal-se{background-position:-64px -224px}.ui-icon-grip-diagonal-se{background-position:-80px -224px}.ui-corner-all,.ui-corner-top,.ui-corner-left,.ui-corner-tl{-moz-border-radius-topleft:4px;-webkit-border-top-left-radius:4px;-khtml-border-top-left-radius:4px;border-top-left-radius:4px}.ui-corner-all,.ui-corner-top,.ui-corner-right,.ui-corner-tr{-moz-border-radius-topright:4px;-webkit-border-top-right-radius:4px;-khtml-border-top-right-radius:4px;border-top-right-radius:4px}.ui-corner-all,.ui-corner-bottom,.ui-corner-left,.ui-corner-bl{-moz-border-radius-bottomleft:4px;-webkit-border-bottom-left-radius:4px;-khtml-border-bottom-left-radius:4px;border-bottom-left-radius:4px}.ui-corner-all,.ui-corner-bottom,.ui-corner-right,.ui-corner-br{-moz-border-radius-bottomright:4px;-webkit-border-bottom-right-radius:4px;-khtml-border-bottom-right-radius:4px;border-bottom-right-radius:4px}.ui-widget-overlay{background:#aaa url(images/ui-bg_flat_0_aaaaaa_40x100.png) 50% 50% repeat-x;opacity:.3;filter:Alpha(Opacity=30)}.ui-widget-shadow{margin:-8px 0 0 -8px;padding:8px;background:#aaa url(images/ui-bg_flat_0_aaaaaa_40x100.png) 50% 50% repeat-x;opacity:.3;filter:Alpha(Opacity=30);-moz-border-radius:8px;-khtml-border-radius:8px;-webkit-border-radius:8px;border-radius:8px}
|
|
1 |
/*! jQuery UI - v1.9.2 - 2012-11-23
|
2 |
* http://jqueryui.com
|
3 |
* Includes: jquery.ui.core.css, jquery.ui.accordion.css, jquery.ui.autocomplete.css, jquery.ui.button.css, jquery.ui.datepicker.css, jquery.ui.dialog.css, jquery.ui.menu.css, jquery.ui.progressbar.css, jquery.ui.resizable.css, jquery.ui.selectable.css, jquery.ui.slider.css, jquery.ui.spinner.css, jquery.ui.tabs.css, jquery.ui.tooltip.css, jquery.ui.theme.css
|
4 |
+
* Copyright 2012 jQuery Foundation and other contributors; Licensed MIT */
|
5 |
+
.ui-helper-hidden{display:none}.ui-helper-hidden-accessible{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.ui-helper-reset{margin:0;padding:0;border:0;outline:0;line-height:1.3;text-decoration:none;font-size:100%;list-style:none}.ui-helper-clearfix:before,.ui-helper-clearfix:after{content:"";display:table}.ui-helper-clearfix:after{clear:both}.ui-helper-clearfix{zoom:1}.ui-helper-zfix{width:100%;height:100%;top:0;left:0;position:absolute;opacity:0;filter:Alpha(Opacity=0)}.ui-state-disabled{cursor:default!important}.ui-icon{display:block;text-indent:-99999px;overflow:hidden;background-repeat:no-repeat}.ui-widget-overlay{position:absolute;top:0;left:0;width:100%;height:100%}.ui-accordion .ui-accordion-header{display:block;cursor:pointer;position:relative;margin-top:2px;padding:.5em .5em .5em .7em;zoom:1}.ui-accordion .ui-accordion-icons{padding-left:2.2em}.ui-accordion .ui-accordion-noicons{padding-left:.7em}.ui-accordion .ui-accordion-icons .ui-accordion-icons{padding-left:2.2em}.ui-accordion .ui-accordion-header .ui-accordion-header-icon{position:absolute;left:.5em;top:50%;margin-top:-8px}.ui-accordion .ui-accordion-content{padding:1em 2.2em;border-top:0;overflow:auto;zoom:1}.ui-autocomplete{position:absolute;top:0;left:0;cursor:default}* html .ui-autocomplete{width:1px}.ui-button{display:inline-block;position:relative;padding:0;margin-right:.1em;cursor:pointer;text-align:center;zoom:1;overflow:visible}.ui-button,.ui-button:link,.ui-button:visited,.ui-button:hover,.ui-button:active{text-decoration:none}.ui-button-icon-only{width:2.2em}button.ui-button-icon-only{width:2.4em}.ui-button-icons-only{width:3.4em}button.ui-button-icons-only{width:3.7em}.ui-button .ui-button-text{display:block;line-height:1.4}.ui-button-text-only .ui-button-text{padding:.4em 1em}.ui-button-icon-only .ui-button-text,.ui-button-icons-only .ui-button-text{padding:.4em;text-indent:-9999999px}.ui-button-text-icon-primary .ui-button-text,.ui-button-text-icons .ui-button-text{padding:.4em 1em .4em 2.1em}.ui-button-text-icon-secondary .ui-button-text,.ui-button-text-icons .ui-button-text{padding:.4em 2.1em .4em 1em}.ui-button-text-icons .ui-button-text{padding-left:2.1em;padding-right:2.1em}input.ui-button{padding:.4em 1em}.ui-button-icon-only .ui-icon,.ui-button-text-icon-primary .ui-icon,.ui-button-text-icon-secondary .ui-icon,.ui-button-text-icons .ui-icon,.ui-button-icons-only .ui-icon{position:absolute;top:50%;margin-top:-8px}.ui-button-icon-only .ui-icon{left:50%;margin-left:-8px}.ui-button-text-icon-primary .ui-button-icon-primary,.ui-button-text-icons .ui-button-icon-primary,.ui-button-icons-only .ui-button-icon-primary{left:.5em}.ui-button-text-icon-secondary .ui-button-icon-secondary,.ui-button-text-icons .ui-button-icon-secondary,.ui-button-icons-only .ui-button-icon-secondary{right:.5em}.ui-button-text-icons .ui-button-icon-secondary,.ui-button-icons-only .ui-button-icon-secondary{right:.5em}.ui-buttonset{margin-right:7px}.ui-buttonset .ui-button{margin-left:0;margin-right:-.3em}button.ui-button::-moz-focus-inner{border:0;padding:0}.ui-datepicker{width:17em;padding:.2em .2em 0;display:none}.ui-datepicker .ui-datepicker-header{position:relative;padding:.2em 0}.ui-datepicker .ui-datepicker-prev,.ui-datepicker .ui-datepicker-next{position:absolute;top:2px;width:1.8em;height:1.8em}.ui-datepicker .ui-datepicker-prev-hover,.ui-datepicker .ui-datepicker-next-hover{top:1px}.ui-datepicker .ui-datepicker-prev{left:2px}.ui-datepicker .ui-datepicker-next{right:2px}.ui-datepicker .ui-datepicker-prev-hover{left:1px}.ui-datepicker .ui-datepicker-next-hover{right:1px}.ui-datepicker .ui-datepicker-prev span,.ui-datepicker .ui-datepicker-next span{display:block;position:absolute;left:50%;margin-left:-8px;top:50%;margin-top:-8px}.ui-datepicker .ui-datepicker-title{margin:0 2.3em;line-height:1.8em;text-align:center}.ui-datepicker .ui-datepicker-title select{font-size:1em;margin:1px 0}.ui-datepicker select.ui-datepicker-month-year{width:100%}.ui-datepicker select.ui-datepicker-month,.ui-datepicker select.ui-datepicker-year{width:49%}.ui-datepicker table{width:100%;font-size:.9em;border-collapse:collapse;margin:0 0 .4em}.ui-datepicker th{padding:.7em .3em;text-align:center;font-weight:700;border:0}.ui-datepicker td{border:0;padding:1px}.ui-datepicker td span,.ui-datepicker td a{display:block;padding:.2em;text-align:right;text-decoration:none}.ui-datepicker .ui-datepicker-buttonpane{background-image:none;margin:.7em 0 0 0;padding:0 .2em;border-left:0;border-right:0;border-bottom:0}.ui-datepicker .ui-datepicker-buttonpane button{float:right;margin:.5em .2em .4em;cursor:pointer;padding:.2em .6em .3em .6em;width:auto;overflow:visible}.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current{float:left}.ui-datepicker.ui-datepicker-multi{width:auto}.ui-datepicker-multi .ui-datepicker-group{float:left}.ui-datepicker-multi .ui-datepicker-group table{width:95%;margin:0 auto .4em}.ui-datepicker-multi-2 .ui-datepicker-group{width:50%}.ui-datepicker-multi-3 .ui-datepicker-group{width:33.3%}.ui-datepicker-multi-4 .ui-datepicker-group{width:25%}.ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header{border-left-width:0}.ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header{border-left-width:0}.ui-datepicker-multi .ui-datepicker-buttonpane{clear:left}.ui-datepicker-row-break{clear:both;width:100%;font-size:0em}.ui-datepicker-rtl{direction:rtl}.ui-datepicker-rtl .ui-datepicker-prev{right:2px;left:auto}.ui-datepicker-rtl .ui-datepicker-next{left:2px;right:auto}.ui-datepicker-rtl .ui-datepicker-prev:hover{right:1px;left:auto}.ui-datepicker-rtl .ui-datepicker-next:hover{left:1px;right:auto}.ui-datepicker-rtl .ui-datepicker-buttonpane{clear:right}.ui-datepicker-rtl .ui-datepicker-buttonpane button{float:left}.ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current{float:right}.ui-datepicker-rtl .ui-datepicker-group{float:right}.ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header{border-right-width:0;border-left-width:1px}.ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header{border-right-width:0;border-left-width:1px}.ui-datepicker-cover{position:absolute;z-index:-1;filter:mask();top:-4px;left:-4px;width:200px;height:200px}.ui-dialog{position:absolute;top:0;left:0;padding:.2em;width:300px;overflow:hidden}.ui-dialog .ui-dialog-titlebar{padding:.4em 1em;position:relative}.ui-dialog .ui-dialog-title{float:left;margin:.1em 16px .1em 0}.ui-dialog .ui-dialog-titlebar-close{position:absolute;right:.3em;top:50%;width:19px;margin:-10px 0 0 0;padding:1px;height:18px}.ui-dialog .ui-dialog-titlebar-close span{display:block;margin:1px}.ui-dialog .ui-dialog-titlebar-close:hover,.ui-dialog .ui-dialog-titlebar-close:focus{padding:0}.ui-dialog .ui-dialog-content{position:relative;border:0;padding:.5em 1em;background:none;overflow:auto;zoom:1}.ui-dialog .ui-dialog-buttonpane{text-align:left;border-width:1px 0 0 0;background-image:none;margin:.5em 0 0 0;padding:.3em 1em .5em .4em}.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset{float:right}.ui-dialog .ui-dialog-buttonpane button{margin:.5em .4em .5em 0;cursor:pointer}.ui-dialog .ui-resizable-se{width:14px;height:14px;right:3px;bottom:3px}.ui-draggable .ui-dialog-titlebar{cursor:move}.ui-menu{list-style:none;padding:2px;margin:0;display:block;outline:none}.ui-menu .ui-menu{margin-top:-3px;position:absolute}.ui-menu .ui-menu-item{margin:0;padding:0;zoom:1;width:100%}.ui-menu .ui-menu-divider{margin:5px -2px 5px -2px;height:0;font-size:0;line-height:0;border-width:1px 0 0 0}.ui-menu .ui-menu-item a{text-decoration:none;display:block;padding:2px .4em;line-height:1.5;zoom:1;font-weight:400}.ui-menu .ui-menu-item a.ui-state-focus,.ui-menu .ui-menu-item a.ui-state-active{font-weight:400;margin:-1px}.ui-menu .ui-state-disabled{font-weight:400;margin:.4em 0 .2em;line-height:1.5}.ui-menu .ui-state-disabled a{cursor:default}.ui-menu-icons{position:relative}.ui-menu-icons .ui-menu-item a{position:relative;padding-left:2em}.ui-menu .ui-icon{position:absolute;top:.2em;left:.2em}.ui-menu .ui-menu-icon{position:static;float:right}.ui-progressbar{height:2em;text-align:left;overflow:hidden}.ui-progressbar .ui-progressbar-value{margin:-1px;height:100%}.ui-resizable{position:relative}.ui-resizable-handle{position:absolute;font-size:.1px;display:block}.ui-resizable-disabled .ui-resizable-handle,.ui-resizable-autohide .ui-resizable-handle{display:none}.ui-resizable-n{cursor:n-resize;height:7px;width:100%;top:-5px;left:0}.ui-resizable-s{cursor:s-resize;height:7px;width:100%;bottom:-5px;left:0}.ui-resizable-e{cursor:e-resize;width:7px;right:-5px;top:0;height:100%}.ui-resizable-w{cursor:w-resize;width:7px;left:-5px;top:0;height:100%}.ui-resizable-se{cursor:se-resize;width:12px;height:12px;right:1px;bottom:1px}.ui-resizable-sw{cursor:sw-resize;width:9px;height:9px;left:-5px;bottom:-5px}.ui-resizable-nw{cursor:nw-resize;width:9px;height:9px;left:-5px;top:-5px}.ui-resizable-ne{cursor:ne-resize;width:9px;height:9px;right:-5px;top:-5px}.ui-selectable-helper{position:absolute;z-index:100;border:1px dotted #000}.ui-slider{position:relative;text-align:left}.ui-slider .ui-slider-handle{position:absolute;z-index:2;width:1.2em;height:1.2em;cursor:default}.ui-slider .ui-slider-range{position:absolute;z-index:1;font-size:.7em;display:block;border:0;background-position:0 0}.ui-slider-horizontal{height:.8em}.ui-slider-horizontal .ui-slider-handle{top:-.3em;margin-left:-.6em}.ui-slider-horizontal .ui-slider-range{top:0;height:100%}.ui-slider-horizontal .ui-slider-range-min{left:0}.ui-slider-horizontal .ui-slider-range-max{right:0}.ui-slider-vertical{width:.8em;height:100px}.ui-slider-vertical .ui-slider-handle{left:-.3em;margin-left:0;margin-bottom:-.6em}.ui-slider-vertical .ui-slider-range{left:0;width:100%}.ui-slider-vertical .ui-slider-range-min{bottom:0}.ui-slider-vertical .ui-slider-range-max{top:0}.ui-spinner{position:relative;display:inline-block;overflow:hidden;padding:0;vertical-align:middle}.ui-spinner-input{border:none;background:none;padding:0;margin:.2em 0;vertical-align:middle;margin-left:.4em;margin-right:22px}.ui-spinner-button{width:16px;height:50%;font-size:.5em;padding:0;margin:0;text-align:center;position:absolute;cursor:default;display:block;overflow:hidden;right:0}.ui-spinner a.ui-spinner-button{border-top:none;border-bottom:none;border-right:none}.ui-spinner .ui-icon{position:absolute;margin-top:-8px;top:50%;left:0}.ui-spinner-up{top:0}.ui-spinner-down{bottom:0}.ui-spinner .ui-icon-triangle-1-s{background-position:-65px -16px}.ui-tabs{position:relative;padding:.2em;zoom:1}.ui-tabs .ui-tabs-nav{margin:0;padding:.2em .2em 0}.ui-tabs .ui-tabs-nav li{list-style:none;float:left;position:relative;top:0;margin:1px .2em 0 0;border-bottom:0;padding:0;white-space:nowrap}.ui-tabs .ui-tabs-nav li a{float:left;padding:.5em 1em;text-decoration:none}.ui-tabs .ui-tabs-nav li.ui-tabs-active{margin-bottom:-1px;padding-bottom:1px}.ui-tabs .ui-tabs-nav li.ui-tabs-active a,.ui-tabs .ui-tabs-nav li.ui-state-disabled a,.ui-tabs .ui-tabs-nav li.ui-tabs-loading a{cursor:text}.ui-tabs .ui-tabs-nav li a,.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-active a{cursor:pointer}.ui-tabs .ui-tabs-panel{display:block;border-width:0;padding:1em 1.4em;background:none}.ui-tooltip{padding:8px;position:absolute;z-index:9999;max-width:300px;-webkit-box-shadow:0 0 5px #aaa;box-shadow:0 0 5px #aaa}* html .ui-tooltip{background-image:none}body .ui-tooltip{border-width:2px}.ui-widget{font-family:Verdana,Arial,sans-serif;font-size:1.1em}.ui-widget .ui-widget{font-size:1em}.ui-widget input,.ui-widget select,.ui-widget textarea,.ui-widget button{font-family:Verdana,Arial,sans-serif;font-size:1em}.ui-widget-content{border:1px solid #aaa;background:#fff url(images/ui-bg_flat_75_ffffff_40x100.png) 50% 50% repeat-x;color:#222}.ui-widget-content a{color:#222}.ui-widget-header{border:1px solid #aaa;background:#ccc url(images/ui-bg_highlight-soft_75_cccccc_1x100.png) 50% 50% repeat-x;color:#222;font-weight:700}.ui-widget-header a{color:#222}.ui-state-default,.ui-widget-content .ui-state-default,.ui-widget-header .ui-state-default{border:1px solid #d3d3d3;background:#e6e6e6 url(images/ui-bg_glass_75_e6e6e6_1x400.png) 50% 50% repeat-x;font-weight:400;color:#555}.ui-state-default a,.ui-state-default a:link,.ui-state-default a:visited{color:#555;text-decoration:none}.ui-state-hover,.ui-widget-content .ui-state-hover,.ui-widget-header .ui-state-hover,.ui-state-focus,.ui-widget-content .ui-state-focus,.ui-widget-header .ui-state-focus{border:1px solid #999;background:#dadada url(images/ui-bg_glass_75_dadada_1x400.png) 50% 50% repeat-x;font-weight:400;color:#212121}.ui-state-hover a,.ui-state-hover a:hover,.ui-state-hover a:link,.ui-state-hover a:visited{color:#212121;text-decoration:none}.ui-state-active,.ui-widget-content .ui-state-active,.ui-widget-header .ui-state-active{border:1px solid #aaa;background:#fff url(images/ui-bg_glass_65_ffffff_1x400.png) 50% 50% repeat-x;font-weight:400;color:#212121}.ui-state-active a,.ui-state-active a:link,.ui-state-active a:visited{color:#212121;text-decoration:none}.ui-state-highlight,.ui-widget-content .ui-state-highlight,.ui-widget-header .ui-state-highlight{border:1px solid #fcefa1;background:#fbf9ee url(images/ui-bg_glass_55_fbf9ee_1x400.png) 50% 50% repeat-x;color:#363636}.ui-state-highlight a,.ui-widget-content .ui-state-highlight a,.ui-widget-header .ui-state-highlight a{color:#363636}.ui-state-error,.ui-widget-content .ui-state-error,.ui-widget-header .ui-state-error{border:1px solid #cd0a0a;background:#fef1ec url(images/ui-bg_glass_95_fef1ec_1x400.png) 50% 50% repeat-x;color:#cd0a0a}.ui-state-error a,.ui-widget-content .ui-state-error a,.ui-widget-header .ui-state-error a{color:#cd0a0a}.ui-state-error-text,.ui-widget-content .ui-state-error-text,.ui-widget-header .ui-state-error-text{color:#cd0a0a}.ui-priority-primary,.ui-widget-content .ui-priority-primary,.ui-widget-header .ui-priority-primary{font-weight:700}.ui-priority-secondary,.ui-widget-content .ui-priority-secondary,.ui-widget-header .ui-priority-secondary{opacity:.7;filter:Alpha(Opacity=70);font-weight:400}.ui-state-disabled,.ui-widget-content .ui-state-disabled,.ui-widget-header .ui-state-disabled{opacity:.35;filter:Alpha(Opacity=35);background-image:none}.ui-state-disabled .ui-icon{filter:Alpha(Opacity=35)}.ui-icon{width:16px;height:16px;background-image:url(images/ui-icons_222222_256x240.png)}.ui-widget-content .ui-icon{background-image:url(images/ui-icons_222222_256x240.png)}.ui-widget-header .ui-icon{background-image:url(images/ui-icons_222222_256x240.png)}.ui-state-default .ui-icon{background-image:url(images/ui-icons_888888_256x240.png)}.ui-state-hover .ui-icon,.ui-state-focus .ui-icon{background-image:url(images/ui-icons_454545_256x240.png)}.ui-state-active .ui-icon{background-image:url(images/ui-icons_454545_256x240.png)}.ui-state-highlight .ui-icon{background-image:url(images/ui-icons_2e83ff_256x240.png)}.ui-state-error .ui-icon,.ui-state-error-text .ui-icon{background-image:url(images/ui-icons_cd0a0a_256x240.png)}.ui-icon-carat-1-n{background-position:0 0}.ui-icon-carat-1-ne{background-position:-16px 0}.ui-icon-carat-1-e{background-position:-32px 0}.ui-icon-carat-1-se{background-position:-48px 0}.ui-icon-carat-1-s{background-position:-64px 0}.ui-icon-carat-1-sw{background-position:-80px 0}.ui-icon-carat-1-w{background-position:-96px 0}.ui-icon-carat-1-nw{background-position:-112px 0}.ui-icon-carat-2-n-s{background-position:-128px 0}.ui-icon-carat-2-e-w{background-position:-144px 0}.ui-icon-triangle-1-n{background-position:0 -16px}.ui-icon-triangle-1-ne{background-position:-16px -16px}.ui-icon-triangle-1-e{background-position:-32px -16px}.ui-icon-triangle-1-se{background-position:-48px -16px}.ui-icon-triangle-1-s{background-position:-64px -16px}.ui-icon-triangle-1-sw{background-position:-80px -16px}.ui-icon-triangle-1-w{background-position:-96px -16px}.ui-icon-triangle-1-nw{background-position:-112px -16px}.ui-icon-triangle-2-n-s{background-position:-128px -16px}.ui-icon-triangle-2-e-w{background-position:-144px -16px}.ui-icon-arrow-1-n{background-position:0 -32px}.ui-icon-arrow-1-ne{background-position:-16px -32px}.ui-icon-arrow-1-e{background-position:-32px -32px}.ui-icon-arrow-1-se{background-position:-48px -32px}.ui-icon-arrow-1-s{background-position:-64px -32px}.ui-icon-arrow-1-sw{background-position:-80px -32px}.ui-icon-arrow-1-w{background-position:-96px -32px}.ui-icon-arrow-1-nw{background-position:-112px -32px}.ui-icon-arrow-2-n-s{background-position:-128px -32px}.ui-icon-arrow-2-ne-sw{background-position:-144px -32px}.ui-icon-arrow-2-e-w{background-position:-160px -32px}.ui-icon-arrow-2-se-nw{background-position:-176px -32px}.ui-icon-arrowstop-1-n{background-position:-192px -32px}.ui-icon-arrowstop-1-e{background-position:-208px -32px}.ui-icon-arrowstop-1-s{background-position:-224px -32px}.ui-icon-arrowstop-1-w{background-position:-240px -32px}.ui-icon-arrowthick-1-n{background-position:0 -48px}.ui-icon-arrowthick-1-ne{background-position:-16px -48px}.ui-icon-arrowthick-1-e{background-position:-32px -48px}.ui-icon-arrowthick-1-se{background-position:-48px -48px}.ui-icon-arrowthick-1-s{background-position:-64px -48px}.ui-icon-arrowthick-1-sw{background-position:-80px -48px}.ui-icon-arrowthick-1-w{background-position:-96px -48px}.ui-icon-arrowthick-1-nw{background-position:-112px -48px}.ui-icon-arrowthick-2-n-s{background-position:-128px -48px}.ui-icon-arrowthick-2-ne-sw{background-position:-144px -48px}.ui-icon-arrowthick-2-e-w{background-position:-160px -48px}.ui-icon-arrowthick-2-se-nw{background-position:-176px -48px}.ui-icon-arrowthickstop-1-n{background-position:-192px -48px}.ui-icon-arrowthickstop-1-e{background-position:-208px -48px}.ui-icon-arrowthickstop-1-s{background-position:-224px -48px}.ui-icon-arrowthickstop-1-w{background-position:-240px -48px}.ui-icon-arrowreturnthick-1-w{background-position:0 -64px}.ui-icon-arrowreturnthick-1-n{background-position:-16px -64px}.ui-icon-arrowreturnthick-1-e{background-position:-32px -64px}.ui-icon-arrowreturnthick-1-s{background-position:-48px -64px}.ui-icon-arrowreturn-1-w{background-position:-64px -64px}.ui-icon-arrowreturn-1-n{background-position:-80px -64px}.ui-icon-arrowreturn-1-e{background-position:-96px -64px}.ui-icon-arrowreturn-1-s{background-position:-112px -64px}.ui-icon-arrowrefresh-1-w{background-position:-128px -64px}.ui-icon-arrowrefresh-1-n{background-position:-144px -64px}.ui-icon-arrowrefresh-1-e{background-position:-160px -64px}.ui-icon-arrowrefresh-1-s{background-position:-176px -64px}.ui-icon-arrow-4{background-position:0 -80px}.ui-icon-arrow-4-diag{background-position:-16px -80px}.ui-icon-extlink{background-position:-32px -80px}.ui-icon-newwin{background-position:-48px -80px}.ui-icon-refresh{background-position:-64px -80px}.ui-icon-shuffle{background-position:-80px -80px}.ui-icon-transfer-e-w{background-position:-96px -80px}.ui-icon-transferthick-e-w{background-position:-112px -80px}.ui-icon-folder-collapsed{background-position:0 -96px}.ui-icon-folder-open{background-position:-16px -96px}.ui-icon-document{background-position:-32px -96px}.ui-icon-document-b{background-position:-48px -96px}.ui-icon-note{background-position:-64px -96px}.ui-icon-mail-closed{background-position:-80px -96px}.ui-icon-mail-open{background-position:-96px -96px}.ui-icon-suitcase{background-position:-112px -96px}.ui-icon-comment{background-position:-128px -96px}.ui-icon-person{background-position:-144px -96px}.ui-icon-print{background-position:-160px -96px}.ui-icon-trash{background-position:-176px -96px}.ui-icon-locked{background-position:-192px -96px}.ui-icon-unlocked{background-position:-208px -96px}.ui-icon-bookmark{background-position:-224px -96px}.ui-icon-tag{background-position:-240px -96px}.ui-icon-home{background-position:0 -112px}.ui-icon-flag{background-position:-16px -112px}.ui-icon-calendar{background-position:-32px -112px}.ui-icon-cart{background-position:-48px -112px}.ui-icon-pencil{background-position:-64px -112px}.ui-icon-clock{background-position:-80px -112px}.ui-icon-disk{background-position:-96px -112px}.ui-icon-calculator{background-position:-112px -112px}.ui-icon-zoomin{background-position:-128px -112px}.ui-icon-zoomout{background-position:-144px -112px}.ui-icon-search{background-position:-160px -112px}.ui-icon-wrench{background-position:-176px -112px}.ui-icon-gear{background-position:-192px -112px}.ui-icon-heart{background-position:-208px -112px}.ui-icon-star{background-position:-224px -112px}.ui-icon-link{background-position:-240px -112px}.ui-icon-cancel{background-position:0 -128px}.ui-icon-plus{background-position:-16px -128px}.ui-icon-plusthick{background-position:-32px -128px}.ui-icon-minus{background-position:-48px -128px}.ui-icon-minusthick{background-position:-64px -128px}.ui-icon-close{background-position:-80px -128px}.ui-icon-closethick{background-position:-96px -128px}.ui-icon-key{background-position:-112px -128px}.ui-icon-lightbulb{background-position:-128px -128px}.ui-icon-scissors{background-position:-144px -128px}.ui-icon-clipboard{background-position:-160px -128px}.ui-icon-copy{background-position:-176px -128px}.ui-icon-contact{background-position:-192px -128px}.ui-icon-image{background-position:-208px -128px}.ui-icon-video{background-position:-224px -128px}.ui-icon-script{background-position:-240px -128px}.ui-icon-alert{background-position:0 -144px}.ui-icon-info{background-position:-16px -144px}.ui-icon-notice{background-position:-32px -144px}.ui-icon-help{background-position:-48px -144px}.ui-icon-check{background-position:-64px -144px}.ui-icon-bullet{background-position:-80px -144px}.ui-icon-radio-on{background-position:-96px -144px}.ui-icon-radio-off{background-position:-112px -144px}.ui-icon-pin-w{background-position:-128px -144px}.ui-icon-pin-s{background-position:-144px -144px}.ui-icon-play{background-position:0 -160px}.ui-icon-pause{background-position:-16px -160px}.ui-icon-seek-next{background-position:-32px -160px}.ui-icon-seek-prev{background-position:-48px -160px}.ui-icon-seek-end{background-position:-64px -160px}.ui-icon-seek-start{background-position:-80px -160px}.ui-icon-seek-first{background-position:-80px -160px}.ui-icon-stop{background-position:-96px -160px}.ui-icon-eject{background-position:-112px -160px}.ui-icon-volume-off{background-position:-128px -160px}.ui-icon-volume-on{background-position:-144px -160px}.ui-icon-power{background-position:0 -176px}.ui-icon-signal-diag{background-position:-16px -176px}.ui-icon-signal{background-position:-32px -176px}.ui-icon-battery-0{background-position:-48px -176px}.ui-icon-battery-1{background-position:-64px -176px}.ui-icon-battery-2{background-position:-80px -176px}.ui-icon-battery-3{background-position:-96px -176px}.ui-icon-circle-plus{background-position:0 -192px}.ui-icon-circle-minus{background-position:-16px -192px}.ui-icon-circle-close{background-position:-32px -192px}.ui-icon-circle-triangle-e{background-position:-48px -192px}.ui-icon-circle-triangle-s{background-position:-64px -192px}.ui-icon-circle-triangle-w{background-position:-80px -192px}.ui-icon-circle-triangle-n{background-position:-96px -192px}.ui-icon-circle-arrow-e{background-position:-112px -192px}.ui-icon-circle-arrow-s{background-position:-128px -192px}.ui-icon-circle-arrow-w{background-position:-144px -192px}.ui-icon-circle-arrow-n{background-position:-160px -192px}.ui-icon-circle-zoomin{background-position:-176px -192px}.ui-icon-circle-zoomout{background-position:-192px -192px}.ui-icon-circle-check{background-position:-208px -192px}.ui-icon-circlesmall-plus{background-position:0 -208px}.ui-icon-circlesmall-minus{background-position:-16px -208px}.ui-icon-circlesmall-close{background-position:-32px -208px}.ui-icon-squaresmall-plus{background-position:-48px -208px}.ui-icon-squaresmall-minus{background-position:-64px -208px}.ui-icon-squaresmall-close{background-position:-80px -208px}.ui-icon-grip-dotted-vertical{background-position:0 -224px}.ui-icon-grip-dotted-horizontal{background-position:-16px -224px}.ui-icon-grip-solid-vertical{background-position:-32px -224px}.ui-icon-grip-solid-horizontal{background-position:-48px -224px}.ui-icon-gripsmall-diagonal-se{background-position:-64px -224px}.ui-icon-grip-diagonal-se{background-position:-80px -224px}.ui-corner-all,.ui-corner-top,.ui-corner-left,.ui-corner-tl{-moz-border-radius-topleft:4px;-webkit-border-top-left-radius:4px;-khtml-border-top-left-radius:4px;border-top-left-radius:4px}.ui-corner-all,.ui-corner-top,.ui-corner-right,.ui-corner-tr{-moz-border-radius-topright:4px;-webkit-border-top-right-radius:4px;-khtml-border-top-right-radius:4px;border-top-right-radius:4px}.ui-corner-all,.ui-corner-bottom,.ui-corner-left,.ui-corner-bl{-moz-border-radius-bottomleft:4px;-webkit-border-bottom-left-radius:4px;-khtml-border-bottom-left-radius:4px;border-bottom-left-radius:4px}.ui-corner-all,.ui-corner-bottom,.ui-corner-right,.ui-corner-br{-moz-border-radius-bottomright:4px;-webkit-border-bottom-right-radius:4px;-khtml-border-bottom-right-radius:4px;border-bottom-right-radius:4px}.ui-widget-overlay{background:#aaa url(images/ui-bg_flat_0_aaaaaa_40x100.png) 50% 50% repeat-x;opacity:.3;filter:Alpha(Opacity=30)}.ui-widget-shadow{margin:-8px 0 0 -8px;padding:8px;background:#aaa url(images/ui-bg_flat_0_aaaaaa_40x100.png) 50% 50% repeat-x;opacity:.3;filter:Alpha(Opacity=30);-moz-border-radius:8px;-khtml-border-radius:8px;-webkit-border-radius:8px;border-radius:8px}
|
assets/css/print.min.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
body{width:100
|
1 |
+
body{width:100%!important}#wrapper{padding:0!important}.print{display:none!important}td{vertical-align:middle!important}.pagebreak{page-break-before:always}.no-page-break{page-break-after:avoid}h1{font-size:1.8em;line-height:1.8em;font-weight:bold!important}h2{font-size:1.6em;line-height:1.6em;padding:0 0 80px 0!important}h3{line-height:1.2em;font-size:1.2em;font-weight:bold!important}.product thead tr{background:#cfcfcf}.product tr.color{background:#efefef}
|
assets/css/reset.min.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
html{color:#000;background:#FFF}body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,button,textarea,select,p,blockquote,th,td{margin:0;padding:0}table{border-collapse:collapse;border-spacing:0}fieldset,img{border:0}address,button,caption,cite,code,dfn,em,input,optgroup,option,select,strong,textarea,th,var{font:inherit}del,ins{text-decoration:none}li{list-style:none}caption,th{text-align:left}h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:
|
1 |
+
html{color:#000;background:#FFF}body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,button,textarea,select,p,blockquote,th,td{margin:0;padding:0}table{border-collapse:collapse;border-spacing:0}fieldset,img{border:0}address,button,caption,cite,code,dfn,em,input,optgroup,option,select,strong,textarea,th,var{font:inherit}del,ins{text-decoration:none}li{list-style:none}caption,th{text-align:left}h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:400}q:before,q:after{content:''}abbr,acronym{border:0;font-variant:normal}sup{vertical-align:baseline}sub{vertical-align:baseline}legend{color:#000}
|
assets/images/ui-bg_flat_0_aaaaaa_40x100.png
ADDED
Binary file
|
assets/images/ui-bg_flat_75_ffffff_40x100.png
ADDED
Binary file
|
assets/images/ui-bg_glass_55_fbf9ee_1x400.png
ADDED
Binary file
|
assets/images/ui-bg_glass_65_ffffff_1x400.png
ADDED
Binary file
|
assets/images/ui-bg_glass_75_dadada_1x400.png
ADDED
Binary file
|
assets/images/ui-bg_glass_75_e6e6e6_1x400.png
ADDED
Binary file
|
assets/images/ui-bg_glass_95_fef1ec_1x400.png
ADDED
Binary file
|
assets/images/ui-bg_highlight-soft_75_cccccc_1x100.png
ADDED
Binary file
|
assets/images/ui-icons_222222_256x240.png
ADDED
Binary file
|
assets/images/ui-icons_2e83ff_256x240.png
ADDED
Binary file
|
assets/images/ui-icons_454545_256x240.png
ADDED
Binary file
|
assets/images/ui-icons_888888_256x240.png
ADDED
Binary file
|
assets/images/ui-icons_cd0a0a_256x240.png
ADDED
Binary file
|
assets/js/admin.min.js
CHANGED
@@ -1 +1,2 @@
|
|
1 |
-
(function(
|
|
1 |
+
(function($){$(function(){var i=0;$('.post-type-shop_order .edit_address .form-field').each(function(){if($(this).width()!=100){if(i%2==0){$(this).addClass('form-left')}else{$(this).addClass('form-right')}
|
2 |
+
i++}else{i=0}})})})(jQuery)
|
assets/js/checkout.min.js
CHANGED
@@ -1 +1,2 @@
|
|
1 |
-
jQuery(document).on("click",".inspire-file-add-button",function(){jQuery(this).parent().find(
|
|
1 |
+
jQuery(document).on("click",".inspire-file-add-button",function(){jQuery(this).parent().find('input[type=file]').click()});jQuery(document).on("click",".inspire-file-delete-button",function(){jQuery(this).parent().find('input[type=file]').val('');jQuery(this).parent().find('input[type=text]').val('');jQuery(this).parent().find('.inspire-file-info').empty();jQuery(this).parent().find('.inspire-file-info').hide();jQuery(this).parent().find('.inspire-file-delete-button').hide();jQuery(this).parent().find('.inspire-file-add-button').show()});jQuery(document).on("change",".inspire-file-file",function(){var id=jQuery(this).parent().attr('id');var $file_info=jQuery('#'+id).find('.inspire-file-info');var $file_error=jQuery('#'+id).find('.inspire-file-error');var $file_add_button=jQuery('#'+id).find('.inspire-file-add-button');$file_info.empty();$file_error.empty();$file_error.hide();$file_info.show();$file_info.append(words.uploading);jQuery(this).parent().find('input[type=text]').val(jQuery(this).val());$file_add_button.hide();var fd=new FormData();var file=jQuery(this).prop('files')[0];var filename=file.name;fd.append(jQuery(this).attr('field_name'),file);fd.append('action','cf_upload');fd.append('inspire_upload_nonce',inspire_upload_nonce);jQuery('#place_order').prop('disabled',!0);jQuery.ajax({type:'POST',url:ajaxurl,data:fd,contentType:!1,processData:!1,success:function(response){jQuery('#place_order').prop('disabled',!1);if(response!=0){response=JSON.parse(response);if(response.status!='ok'){$file_add_button.show();$file_info.empty();$file_info.hide();$file_error.empty();$file_error.show();$file_error.append(response.message+'<br/>');jQuery('#'+id).find('.inspire-file-file').val('');jQuery('#'+id).find('.inspire-file').val('')}else{jQuery('#'+id).find('.inspire-file-delete-button').show();$file_error.empty();$file_error.hide();$file_info.empty();$file_info.show();$file_info.append(filename+'<br/>')}
|
2 |
+
if(jQuery('#'+id).find('.inspire-file').val()==''){$file_info.empty();$file_error.empty();$file_error.hide()}}}})})
|
classes/class-flexible-checkout-fields-plugin.php
CHANGED
@@ -22,7 +22,7 @@ class Flexible_Checkout_Fields_Plugin extends \FcfVendor\WPDesk\PluginBuilder\Pl
|
|
22 |
*
|
23 |
* @var string
|
24 |
*/
|
25 |
-
private $scripts_version = FLEXIBLE_CHECKOUT_FIELDS_VERSION . '.
|
26 |
|
27 |
protected $fields = array();
|
28 |
|
@@ -141,6 +141,11 @@ class Flexible_Checkout_Fields_Plugin extends \FcfVendor\WPDesk\PluginBuilder\Pl
|
|
141 |
'flexible_checkout_fields_field_tabs_content'
|
142 |
), 10, 4 );
|
143 |
|
|
|
|
|
|
|
|
|
|
|
144 |
add_action( 'woocommerce_default_address_fields', array( $this, 'woocommerce_default_address_fields' ), 9999 );
|
145 |
add_filter( 'woocommerce_get_country_locale', array( $this, 'woocommerce_get_country_locale' ), 9999 );
|
146 |
add_filter( 'woocommerce_get_country_locale_base', array( $this, 'woocommerce_get_country_locale_base' ), 9999 );
|
@@ -304,11 +309,11 @@ class Flexible_Checkout_Fields_Plugin extends \FcfVendor\WPDesk\PluginBuilder\Pl
|
|
304 |
}
|
305 |
|
306 |
private function init_fields() {
|
307 |
-
$this->fields[
|
308 |
'name' => __( 'Single Line Text', 'flexible-checkout-fields' )
|
309 |
);
|
310 |
|
311 |
-
$this->fields[
|
312 |
'name' => __( 'Paragraph Text', 'flexible-checkout-fields' )
|
313 |
);
|
314 |
}
|
@@ -943,6 +948,9 @@ class Flexible_Checkout_Fields_Plugin extends \FcfVendor\WPDesk\PluginBuilder\Pl
|
|
943 |
include $this->plugin_path . '/views/settings-field-advanced.php';
|
944 |
}
|
945 |
|
|
|
|
|
|
|
946 |
|
947 |
public function woocommerce_get_country_locale_default( $address_fields ) {
|
948 |
return $address_fields;
|
22 |
*
|
23 |
* @var string
|
24 |
*/
|
25 |
+
private $scripts_version = FLEXIBLE_CHECKOUT_FIELDS_VERSION . '.13';
|
26 |
|
27 |
protected $fields = array();
|
28 |
|
141 |
'flexible_checkout_fields_field_tabs_content'
|
142 |
), 10, 4 );
|
143 |
|
144 |
+
add_action( 'flexible_checkout_fields_field_tabs_content_js', array(
|
145 |
+
$this,
|
146 |
+
'flexible_checkout_fields_field_tabs_content_js'
|
147 |
+
), 10 );
|
148 |
+
|
149 |
add_action( 'woocommerce_default_address_fields', array( $this, 'woocommerce_default_address_fields' ), 9999 );
|
150 |
add_filter( 'woocommerce_get_country_locale', array( $this, 'woocommerce_get_country_locale' ), 9999 );
|
151 |
add_filter( 'woocommerce_get_country_locale_base', array( $this, 'woocommerce_get_country_locale_base' ), 9999 );
|
309 |
}
|
310 |
|
311 |
private function init_fields() {
|
312 |
+
$this->fields[ Flexible_Checkout_Fields_Field_Type_Settings::FIELD_TYPE_TEXT ] = array(
|
313 |
'name' => __( 'Single Line Text', 'flexible-checkout-fields' )
|
314 |
);
|
315 |
|
316 |
+
$this->fields[ Flexible_Checkout_Fields_Field_Type_Settings::FIELD_TYPE_TEXTAREA ] = array(
|
317 |
'name' => __( 'Paragraph Text', 'flexible-checkout-fields' )
|
318 |
);
|
319 |
}
|
948 |
include $this->plugin_path . '/views/settings-field-advanced.php';
|
949 |
}
|
950 |
|
951 |
+
public function flexible_checkout_fields_field_tabs_content_js() {
|
952 |
+
include $this->plugin_path . '/views/settings-field-advanced-js.php';
|
953 |
+
}
|
954 |
|
955 |
public function woocommerce_get_country_locale_default( $address_fields ) {
|
956 |
return $address_fields;
|
classes/display-options.php
CHANGED
@@ -172,11 +172,15 @@ class Flexible_Checkout_Fields_Disaplay_Options {
|
|
172 |
if ( $format != '' ) {
|
173 |
if ( $fcf_field->get_display_on_option_new_line_before() === '1' ) {
|
174 |
$format .= "\n";
|
175 |
-
}
|
176 |
$format .= ' ';
|
177 |
}
|
178 |
}
|
179 |
-
|
|
|
|
|
|
|
|
|
180 |
}
|
181 |
|
182 |
return $format;
|
@@ -316,7 +320,7 @@ class Flexible_Checkout_Fields_Disaplay_Options {
|
|
316 |
unset( $tmp );
|
317 |
}
|
318 |
}
|
319 |
-
if ( isset( $options[$meta_value] ) ) {
|
320 |
$meta_value = $options[$meta_value];
|
321 |
}
|
322 |
return $meta_value;
|
172 |
if ( $format != '' ) {
|
173 |
if ( $fcf_field->get_display_on_option_new_line_before() === '1' ) {
|
174 |
$format .= "\n";
|
175 |
+
} elseif ( ! $fcf_field->get_display_comma_before() ) {
|
176 |
$format .= ' ';
|
177 |
}
|
178 |
}
|
179 |
+
if ( $fcf_field->get_display_comma_before() ) {
|
180 |
+
$format .= ', ';
|
181 |
+
}
|
182 |
+
$field_name = $fcf_field->get_name_for_address_format();
|
183 |
+
$format .= '{' . $this->replace_only_first( $this->current_address_type . '_', '', $field_name . '}' );
|
184 |
}
|
185 |
|
186 |
return $format;
|
320 |
unset( $tmp );
|
321 |
}
|
322 |
}
|
323 |
+
if ( is_scalar( $meta_value ) && isset( $options[$meta_value] ) ) {
|
324 |
$meta_value = $options[$meta_value];
|
325 |
}
|
326 |
return $meta_value;
|
classes/field-type-settings.php
ADDED
@@ -0,0 +1,49 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
/**
|
4 |
+
* Field type settings.
|
5 |
+
*/
|
6 |
+
class Flexible_Checkout_Fields_Field_Type_Settings {
|
7 |
+
|
8 |
+
const FIELD_TYPE_TEXT = 'text';
|
9 |
+
const FIELD_TYPE_TEXTAREA = 'textarea';
|
10 |
+
|
11 |
+
/**
|
12 |
+
* Field type data.
|
13 |
+
*
|
14 |
+
* @var array
|
15 |
+
*/
|
16 |
+
private $field_type_settings;
|
17 |
+
|
18 |
+
public function __construct( array $field_type_settings ) {
|
19 |
+
$this->field_type_settings = $field_type_settings;
|
20 |
+
}
|
21 |
+
|
22 |
+
/**
|
23 |
+
* .
|
24 |
+
*
|
25 |
+
* @return bool
|
26 |
+
*/
|
27 |
+
public function has_options() {
|
28 |
+
return isset( $this->field_type_settings['has_options'] ) && $this->field_type_settings['has_options'];
|
29 |
+
}
|
30 |
+
|
31 |
+
/**
|
32 |
+
* .
|
33 |
+
*
|
34 |
+
* @return bool
|
35 |
+
*/
|
36 |
+
public function has_default_value() {
|
37 |
+
return isset( $this->field_type_settings['has_default_value'] ) && $this->field_type_settings['has_default_value'];
|
38 |
+
}
|
39 |
+
|
40 |
+
/**
|
41 |
+
* Is pro indicator set?
|
42 |
+
*
|
43 |
+
* @return bool
|
44 |
+
*/
|
45 |
+
public function is_pro() {
|
46 |
+
return isset( $this->field_type_settings['pro'] ) ? intval( $this->field_type_settings['pro'] ) === 1 : false;
|
47 |
+
}
|
48 |
+
|
49 |
+
}
|
classes/field-type.php
DELETED
@@ -1,40 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
/**
|
4 |
-
* Field type settings.
|
5 |
-
*/
|
6 |
-
class Flexible_Checkout_Fields_Field_Type {
|
7 |
-
|
8 |
-
const FIELD_TYPE_TEXT = 'text';
|
9 |
-
const FIELD_TYPE_TEXTAREA = 'textarea';
|
10 |
-
|
11 |
-
/**
|
12 |
-
* Field type data.
|
13 |
-
*
|
14 |
-
* @var array
|
15 |
-
*/
|
16 |
-
private $field_type_data;
|
17 |
-
|
18 |
-
public function __construct( array $field_type_data ) {
|
19 |
-
$this->field_type_data = $field_type_data;
|
20 |
-
}
|
21 |
-
|
22 |
-
/**
|
23 |
-
* .
|
24 |
-
*
|
25 |
-
* @return bool
|
26 |
-
*/
|
27 |
-
public function has_options() {
|
28 |
-
return isset( $this->field_type_data['has_options'] ) && $this->field_type_data['has_options'];
|
29 |
-
}
|
30 |
-
|
31 |
-
/**
|
32 |
-
* .
|
33 |
-
*
|
34 |
-
* @return bool
|
35 |
-
*/
|
36 |
-
public function has_default_value() {
|
37 |
-
return isset( $this->field_type_data['has_default_value'] ) && $this->field_type_data['has_default_value'];
|
38 |
-
}
|
39 |
-
|
40 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
classes/field.php
CHANGED
@@ -16,7 +16,12 @@ class Flexible_Checkout_Fields_Field {
|
|
16 |
const FIELD_TYPE_EXCLUDE_IN_ADMIN = 'exclude_in_admin';
|
17 |
const FIELD_TYPE_EXCLUDE_FOR_USER = 'exclude_for_user';
|
18 |
|
19 |
-
const DEFAULT_FIELD_TYPE =
|
|
|
|
|
|
|
|
|
|
|
20 |
|
21 |
/**
|
22 |
* Field data.
|
@@ -231,4 +236,38 @@ class Flexible_Checkout_Fields_Field {
|
|
231 |
return isset( $this->field_data[ self::FIELD_DEFAULT ] ) ? $this->field_data[ self::FIELD_DEFAULT ] : '';
|
232 |
}
|
233 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
234 |
}
|
16 |
const FIELD_TYPE_EXCLUDE_IN_ADMIN = 'exclude_in_admin';
|
17 |
const FIELD_TYPE_EXCLUDE_FOR_USER = 'exclude_for_user';
|
18 |
|
19 |
+
const DEFAULT_FIELD_TYPE = Flexible_Checkout_Fields_Field_Type_Settings::FIELD_TYPE_TEXT;
|
20 |
+
|
21 |
+
const FIELD_TYPE_STATE = 'state';
|
22 |
+
|
23 |
+
const DISPLAY_OPTION_STATE_CODE = 'state_code';
|
24 |
+
const DISPLAY_OPTION_STATE_COMMA_BEFORE = 'state_code_comma_before';
|
25 |
|
26 |
/**
|
27 |
* Field data.
|
236 |
return isset( $this->field_data[ self::FIELD_DEFAULT ] ) ? $this->field_data[ self::FIELD_DEFAULT ] : '';
|
237 |
}
|
238 |
|
239 |
+
/**
|
240 |
+
* Prepare display_on option name.
|
241 |
+
*
|
242 |
+
* @param string $display_on
|
243 |
+
*
|
244 |
+
* @return string
|
245 |
+
*/
|
246 |
+
public function prepare_display_on_option_name( $display_on ) {
|
247 |
+
return 'display_on_option_' . $display_on;
|
248 |
+
}
|
249 |
+
|
250 |
+
/**
|
251 |
+
* Get field name for formatted address.
|
252 |
+
*/
|
253 |
+
public function get_name_for_address_format() {
|
254 |
+
$name = $this->field_data['name'];
|
255 |
+
if ( $this->get_type() === self::FIELD_TYPE_STATE
|
256 |
+
&& isset( $this->field_data[ $this->prepare_display_on_option_name( self::DISPLAY_OPTION_STATE_CODE ) ] )
|
257 |
+
&& 1 === intval( $this->field_data[ $this->prepare_display_on_option_name( self::DISPLAY_OPTION_STATE_CODE ) ] )
|
258 |
+
) {
|
259 |
+
$name = 'state_code';
|
260 |
+
}
|
261 |
+
return $name;
|
262 |
+
}
|
263 |
+
|
264 |
+
/**
|
265 |
+
* Get display comma before field.
|
266 |
+
* Currently used only on state/county field.
|
267 |
+
*/
|
268 |
+
public function get_display_comma_before() {
|
269 |
+
return isset( $this->field_data[ $this->prepare_display_on_option_name( self::DISPLAY_OPTION_STATE_COMMA_BEFORE ) ] )
|
270 |
+
? $this->field_data[ $this->prepare_display_on_option_name( self::DISPLAY_OPTION_STATE_COMMA_BEFORE ) ] : '0';
|
271 |
+
}
|
272 |
+
|
273 |
}
|
classes/user-profile.php
CHANGED
@@ -10,6 +10,9 @@ class Flexible_Checkout_Fields_User_Profile {
|
|
10 |
const FIELD_TYPE = 'type';
|
11 |
const FIELD_TYPE_SELECT = 'select';
|
12 |
|
|
|
|
|
|
|
13 |
/**
|
14 |
* Plugin.
|
15 |
*
|
@@ -44,27 +47,47 @@ class Flexible_Checkout_Fields_User_Profile {
|
|
44 |
* Prepare fields.
|
45 |
*
|
46 |
* @param array $fields Fields.
|
|
|
47 |
*
|
48 |
* @return array
|
49 |
*/
|
50 |
-
private function prepare_fields( array $fields ) {
|
51 |
-
|
52 |
-
|
53 |
-
if ( $
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
54 |
unset( $fields[ $key ] );
|
55 |
} else {
|
56 |
-
$field['class']
|
|
|
|
|
|
|
|
|
57 |
$field['description'] = '';
|
58 |
if ( empty( $field[ self::FIELD_TYPE ] ) ) {
|
59 |
$field[ self::FIELD_TYPE ] = 'text';
|
60 |
}
|
61 |
-
if (
|
62 |
-
$
|
63 |
-
|
|
|
|
|
|
|
64 |
}
|
65 |
-
if (
|
66 |
-
$
|
67 |
-
$
|
|
|
|
|
|
|
68 |
}
|
69 |
$fields[ $key ] = $field;
|
70 |
}
|
@@ -80,8 +103,8 @@ class Flexible_Checkout_Fields_User_Profile {
|
|
80 |
* @return array mixed
|
81 |
*/
|
82 |
public function add_customer_meta_fields( array $fields ) {
|
83 |
-
$fields['billing']['fields'] = $this->prepare_fields( WC()->countries->get_address_fields( '', 'billing_' ) );
|
84 |
-
$fields['shipping']['fields'] = $this->prepare_fields( WC()->countries->get_address_fields( '', 'shipping_' ) );
|
85 |
return $fields;
|
86 |
}
|
87 |
|
10 |
const FIELD_TYPE = 'type';
|
11 |
const FIELD_TYPE_SELECT = 'select';
|
12 |
|
13 |
+
const FIELD_TYPE_INSPIRECHECKBOX = 'inspirecheckbox';
|
14 |
+
const FIELD_TYPE_INSPIRERADIO = 'inspireradio';
|
15 |
+
|
16 |
/**
|
17 |
* Plugin.
|
18 |
*
|
47 |
* Prepare fields.
|
48 |
*
|
49 |
* @param array $fields Fields.
|
50 |
+
* @param array $built_in_fields Fields.
|
51 |
*
|
52 |
* @return array
|
53 |
*/
|
54 |
+
private function prepare_fields( array $fields, array $built_in_fields ) {
|
55 |
+
$field_types = $this->plugin->get_fields();
|
56 |
+
foreach ( $fields as $key => $field_from_fcf_settings ) {
|
57 |
+
if ( isset( $built_in_fields[ $key ] ) ) {
|
58 |
+
$field = $built_in_fields[ $key ];
|
59 |
+
if ( isset( $field_from_fcf_settings['label'] ) && '' !== $field_from_fcf_settings['label'] ) {
|
60 |
+
$field['label'] = $field_from_fcf_settings['label'];
|
61 |
+
}
|
62 |
+
} else {
|
63 |
+
$field = $field_from_fcf_settings;
|
64 |
+
}
|
65 |
+
$field_from_fcf_settings = new Flexible_Checkout_Fields_Field( $field, $this->plugin );
|
66 |
+
if ( $field_from_fcf_settings->is_field_excluded_for_user() ) {
|
67 |
unset( $fields[ $key ] );
|
68 |
} else {
|
69 |
+
if ( empty( $field['class'] ) ) {
|
70 |
+
$field['class'] = '';
|
71 |
+
} elseif ( is_array( $field['class'] ) ) {
|
72 |
+
$field['class'] = implode( ' ', $field['class'] );
|
73 |
+
}
|
74 |
$field['description'] = '';
|
75 |
if ( empty( $field[ self::FIELD_TYPE ] ) ) {
|
76 |
$field[ self::FIELD_TYPE ] = 'text';
|
77 |
}
|
78 |
+
if ( self::FIELD_TYPE_INSPIRECHECKBOX === $field[ self::FIELD_TYPE ] && isset( $field_types[ self::FIELD_TYPE_INSPIRECHECKBOX ] ) ) {
|
79 |
+
$field_type_settings = new Flexible_Checkout_Fields_Field_Type_Settings( $field_types[ self::FIELD_TYPE_INSPIRECHECKBOX ] );
|
80 |
+
if ( ! $field_type_settings->is_pro() ) {
|
81 |
+
$field['class'] = self::FIELD_TYPE_SELECT;
|
82 |
+
$field[ self::FIELD_TYPE ] = 'checkbox';
|
83 |
+
}
|
84 |
}
|
85 |
+
if ( self::FIELD_TYPE_INSPIRERADIO === $field[ self::FIELD_TYPE ] && isset( $field_types[ self::FIELD_TYPE_INSPIRERADIO ] ) ) {
|
86 |
+
$field_type_settings = new Flexible_Checkout_Fields_Field_Type_Settings( $field_types[ self::FIELD_TYPE_INSPIRERADIO ] );
|
87 |
+
if ( ! $field_type_settings->is_pro() ) {
|
88 |
+
$field[ self::FIELD_TYPE ] = self::FIELD_TYPE_SELECT;
|
89 |
+
$field['class'] = self::FIELD_TYPE_SELECT;
|
90 |
+
}
|
91 |
}
|
92 |
$fields[ $key ] = $field;
|
93 |
}
|
103 |
* @return array mixed
|
104 |
*/
|
105 |
public function add_customer_meta_fields( array $fields ) {
|
106 |
+
$fields['billing']['fields'] = $this->prepare_fields( WC()->countries->get_address_fields( '', 'billing_' ), $fields['billing']['fields'] );
|
107 |
+
$fields['shipping']['fields'] = $this->prepare_fields( WC()->countries->get_address_fields( '', 'shipping_' ), $fields['shipping']['fields'] );
|
108 |
return $fields;
|
109 |
}
|
110 |
|
classes/views/settings-fields.php
CHANGED
@@ -8,15 +8,15 @@ $settings = get_option( 'inspire_checkout_fields_settings' );
|
|
8 |
$checkout_field_type = $args['plugin']->get_fields();
|
9 |
|
10 |
$fields_display_on = array(
|
11 |
-
'thank_you' => array( 'label' => __( 'Thank You Page', 'flexible-checkout-fields' ) ),
|
12 |
-
'address' => array( 'label' => __( 'My Account - address', 'flexible-checkout-fields' ) ),
|
13 |
-
'order' => array( 'label' => __( 'My Account - order', 'flexible-checkout-fields' ) ),
|
14 |
-
'emails' => array( 'label' => __( 'Emails', 'flexible-checkout-fields' ) ),
|
15 |
);
|
16 |
|
17 |
$fields_display_on_options = array(
|
18 |
-
'new_line_before' => array( 'label' => __( 'Display field in
|
19 |
-
'show_label' => array( 'label' => __( '
|
20 |
);
|
21 |
|
22 |
$plugin = $args['plugin'];
|
@@ -170,12 +170,12 @@ $validation_options = $this->plugin->field_validation->get_validation_options( $
|
|
170 |
$is_custom_field = $fcf_field->is_custom_field();
|
171 |
if ( $is_custom_field ) {
|
172 |
if ( empty( $settings[ $key ][ $name ]['type'] ) ) {
|
173 |
-
$settings[ $key ][ $name ]['type'] =
|
174 |
-
$fcf_field->set_type(
|
175 |
}
|
176 |
}
|
177 |
if ( isset( $checkout_field_type[ $fcf_field->get_type() ] ) ) {
|
178 |
-
$fcf_field_type = new
|
179 |
} else {
|
180 |
$fcf_field_type = null;
|
181 |
}
|
@@ -535,12 +535,34 @@ $validation_options = $this->plugin->field_validation->get_validation_options( $
|
|
535 |
<?php if ( in_array( $key, array( 'billing', 'shipping' ) ) ) : ?>
|
536 |
<p><strong><?php _e( 'Formatting on pages/emails', 'flexible-checkout-fields' ) ?></strong></p>
|
537 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
538 |
<?php foreach ( $fields_display_on_options as $display_on_field_key => $display_on_field ) : ?>
|
539 |
<?php if ( $display_on_field['custom_fields_only'] && ! $fcf_field->is_custom_field() ) continue; ?>
|
|
|
|
|
|
|
540 |
<div class="fcf-display-on-<?php echo esc_attr( $display_on_field_key ); ?>">
|
541 |
<?php
|
542 |
-
$field_name =
|
543 |
-
$
|
|
|
544 |
?>
|
545 |
<input type="hidden"
|
546 |
name="inspire_checkout_fields[settings][<?php echo esc_attr($key) ?>][<?php echo esc_attr($name) ?>][<?php echo $field_name; ?>]"
|
@@ -557,6 +579,7 @@ $validation_options = $this->plugin->field_validation->get_validation_options( $
|
|
557 |
</label>
|
558 |
</div>
|
559 |
<?php endforeach; ?>
|
|
|
560 |
<?php endif; ?>
|
561 |
|
562 |
</div>
|
@@ -628,6 +651,10 @@ $validation_options = $this->plugin->field_validation->get_validation_options( $
|
|
628 |
alert( '<?php _e( 'Field name can not be empty!', 'flexible-checkout-fields' ); ?>' );
|
629 |
return false;
|
630 |
}
|
|
|
|
|
|
|
|
|
631 |
if ( !isNaN( jQuery(field).val() ) ) {
|
632 |
alert( '<?php _e( 'Field name can not be number!', 'flexible-checkout-fields' ); ?>' );
|
633 |
return false;
|
8 |
$checkout_field_type = $args['plugin']->get_fields();
|
9 |
|
10 |
$fields_display_on = array(
|
11 |
+
'thank_you' => array( 'label' => __( 'Thank You Page', 'flexible-checkout-fields' ), 'default_value' => '1' ),
|
12 |
+
'address' => array( 'label' => __( 'My Account - address', 'flexible-checkout-fields' ), 'default_value' => '1' ),
|
13 |
+
'order' => array( 'label' => __( 'My Account - order', 'flexible-checkout-fields' ), 'default_value' => '1' ),
|
14 |
+
'emails' => array( 'label' => __( 'Emails', 'flexible-checkout-fields' ), 'default_value' => '1' ),
|
15 |
);
|
16 |
|
17 |
$fields_display_on_options = array(
|
18 |
+
'new_line_before' => array( 'label' => __( 'Display field in the new line', 'flexible-checkout-fields' ), 'custom_fields_only' => false, 'default_value' => '1' ),
|
19 |
+
'show_label' => array( 'label' => __( 'Display field\'s label', 'flexible-checkout-fields' ), 'custom_fields_only' => true, 'default_value' => '1' ),
|
20 |
);
|
21 |
|
22 |
$plugin = $args['plugin'];
|
170 |
$is_custom_field = $fcf_field->is_custom_field();
|
171 |
if ( $is_custom_field ) {
|
172 |
if ( empty( $settings[ $key ][ $name ]['type'] ) ) {
|
173 |
+
$settings[ $key ][ $name ]['type'] = Flexible_Checkout_Fields_Field_Type_Settings::FIELD_TYPE_TEXT;
|
174 |
+
$fcf_field->set_type( Flexible_Checkout_Fields_Field_Type_Settings::FIELD_TYPE_TEXT );
|
175 |
}
|
176 |
}
|
177 |
if ( isset( $checkout_field_type[ $fcf_field->get_type() ] ) ) {
|
178 |
+
$fcf_field_type = new Flexible_Checkout_Fields_Field_Type_Settings( $checkout_field_type[ $fcf_field->get_type() ] );
|
179 |
} else {
|
180 |
$fcf_field_type = null;
|
181 |
}
|
535 |
<?php if ( in_array( $key, array( 'billing', 'shipping' ) ) ) : ?>
|
536 |
<p><strong><?php _e( 'Formatting on pages/emails', 'flexible-checkout-fields' ) ?></strong></p>
|
537 |
|
538 |
+
<?php
|
539 |
+
if ( $fcf_field::FIELD_TYPE_STATE === $fcf_field->get_type() ) {
|
540 |
+
$fields_display_on_options[ $fcf_field::DISPLAY_OPTION_STATE_CODE ] = array(
|
541 |
+
'label' => __( 'Display state abbreviations', 'flexible-checkout-fields' ),
|
542 |
+
'custom_fields_only' => false,
|
543 |
+
'default_value' => '0',
|
544 |
+
);
|
545 |
+
$fields_display_on_options[ $fcf_field::DISPLAY_OPTION_STATE_COMMA_BEFORE ] = array(
|
546 |
+
'label' => __( 'Display a comma before, if the field is not in the new line', 'flexible-checkout-fields' ),
|
547 |
+
'custom_fields_only' => false,
|
548 |
+
'default_value' => '0',
|
549 |
+
);
|
550 |
+
} else {
|
551 |
+
unset( $fields_display_on_options[ $fcf_field::DISPLAY_OPTION_STATE_CODE ] );
|
552 |
+
unset( $fields_display_on_options[ $fcf_field::DISPLAY_OPTION_STATE_COMMA_BEFORE ] );
|
553 |
+
}
|
554 |
+
?>
|
555 |
+
|
556 |
<?php foreach ( $fields_display_on_options as $display_on_field_key => $display_on_field ) : ?>
|
557 |
<?php if ( $display_on_field['custom_fields_only'] && ! $fcf_field->is_custom_field() ) continue; ?>
|
558 |
+
<?php if ( $display_on_field_key == $fcf_field::DISPLAY_OPTION_STATE_CODE ) : ?>
|
559 |
+
<p><strong><?php _e( 'State / County formatting', 'flexible-checkout-fields' ) ?></strong></p>
|
560 |
+
<?php endif; ?>
|
561 |
<div class="fcf-display-on-<?php echo esc_attr( $display_on_field_key ); ?>">
|
562 |
<?php
|
563 |
+
$field_name = $fcf_field->prepare_display_on_option_name( $display_on_field_key );
|
564 |
+
$default_setting_value = isset( $display_on_field['default_value'] ) ? $display_on_field['default_value'] : '1';
|
565 |
+
$checked = $fcf_field->get_field_setting( $field_name, $default_setting_value ) === '1' ? 'checked' : '';
|
566 |
?>
|
567 |
<input type="hidden"
|
568 |
name="inspire_checkout_fields[settings][<?php echo esc_attr($key) ?>][<?php echo esc_attr($name) ?>][<?php echo $field_name; ?>]"
|
579 |
</label>
|
580 |
</div>
|
581 |
<?php endforeach; ?>
|
582 |
+
|
583 |
<?php endif; ?>
|
584 |
|
585 |
</div>
|
651 |
alert( '<?php _e( 'Field name can not be empty!', 'flexible-checkout-fields' ); ?>' );
|
652 |
return false;
|
653 |
}
|
654 |
+
if ( jQuery(field).val() !== stringToSlug(jQuery(field).val()) ) {
|
655 |
+
alert( '<?php _e( 'Field name should contains only lowercase letters, numbers and underscore sign.', 'flexible-checkout-fields' ); ?>' );
|
656 |
+
return false;
|
657 |
+
}
|
658 |
if ( !isNaN( jQuery(field).val() ) ) {
|
659 |
alert( '<?php _e( 'Field name can not be number!', 'flexible-checkout-fields' ); ?>' );
|
660 |
return false;
|
composer.lock
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
|
5 |
"This file is @generated automatically"
|
6 |
],
|
7 |
-
"content-hash": "
|
8 |
"packages": [
|
9 |
{
|
10 |
"name": "psr/log",
|
@@ -175,16 +175,16 @@
|
|
175 |
},
|
176 |
{
|
177 |
"name": "behat/gherkin",
|
178 |
-
"version": "v4.6.
|
179 |
"source": {
|
180 |
"type": "git",
|
181 |
"url": "https://github.com/Behat/Gherkin.git",
|
182 |
-
"reference": "
|
183 |
},
|
184 |
"dist": {
|
185 |
"type": "zip",
|
186 |
-
"url": "https://api.github.com/repos/Behat/Gherkin/zipball/
|
187 |
-
"reference": "
|
188 |
"shasum": ""
|
189 |
},
|
190 |
"require": {
|
@@ -230,7 +230,7 @@
|
|
230 |
"gherkin",
|
231 |
"parser"
|
232 |
],
|
233 |
-
"time": "2020-
|
234 |
},
|
235 |
{
|
236 |
"name": "codeception/codeception",
|
@@ -462,16 +462,16 @@
|
|
462 |
},
|
463 |
{
|
464 |
"name": "composer/composer",
|
465 |
-
"version": "1.10.
|
466 |
"source": {
|
467 |
"type": "git",
|
468 |
"url": "https://github.com/composer/composer.git",
|
469 |
-
"reference": "
|
470 |
},
|
471 |
"dist": {
|
472 |
"type": "zip",
|
473 |
-
"url": "https://api.github.com/repos/composer/composer/zipball/
|
474 |
-
"reference": "
|
475 |
"shasum": ""
|
476 |
},
|
477 |
"require": {
|
@@ -538,7 +538,7 @@
|
|
538 |
"dependency",
|
539 |
"package"
|
540 |
],
|
541 |
-
"time": "2020-03-
|
542 |
},
|
543 |
{
|
544 |
"name": "composer/semver",
|
@@ -2328,16 +2328,16 @@
|
|
2328 |
},
|
2329 |
{
|
2330 |
"name": "mck89/peast",
|
2331 |
-
"version": "v1.10.
|
2332 |
"source": {
|
2333 |
"type": "git",
|
2334 |
"url": "https://github.com/mck89/peast.git",
|
2335 |
-
"reference": "
|
2336 |
},
|
2337 |
"dist": {
|
2338 |
"type": "zip",
|
2339 |
-
"url": "https://api.github.com/repos/mck89/peast/zipball/
|
2340 |
-
"reference": "
|
2341 |
"shasum": ""
|
2342 |
},
|
2343 |
"require": {
|
@@ -2349,7 +2349,7 @@
|
|
2349 |
"type": "library",
|
2350 |
"extra": {
|
2351 |
"branch-alias": {
|
2352 |
-
"dev-master": "1.10.
|
2353 |
}
|
2354 |
},
|
2355 |
"autoload": {
|
@@ -2369,7 +2369,7 @@
|
|
2369 |
}
|
2370 |
],
|
2371 |
"description": "Peast is PHP library that generates AST for JavaScript code",
|
2372 |
-
"time": "
|
2373 |
},
|
2374 |
{
|
2375 |
"name": "mikemclin/laravel-wp-password",
|
@@ -4842,16 +4842,16 @@
|
|
4842 |
},
|
4843 |
{
|
4844 |
"name": "vlucas/phpdotenv",
|
4845 |
-
"version": "v3.6.
|
4846 |
"source": {
|
4847 |
"type": "git",
|
4848 |
"url": "https://github.com/vlucas/phpdotenv.git",
|
4849 |
-
"reference": "
|
4850 |
},
|
4851 |
"dist": {
|
4852 |
"type": "zip",
|
4853 |
-
"url": "https://api.github.com/repos/vlucas/phpdotenv/zipball/
|
4854 |
-
"reference": "
|
4855 |
"shasum": ""
|
4856 |
},
|
4857 |
"require": {
|
@@ -4860,8 +4860,12 @@
|
|
4860 |
"symfony/polyfill-ctype": "^1.9"
|
4861 |
},
|
4862 |
"require-dev": {
|
|
|
4863 |
"phpunit/phpunit": "^4.8.35 || ^5.0 || ^6.0 || ^7.0"
|
4864 |
},
|
|
|
|
|
|
|
4865 |
"type": "library",
|
4866 |
"extra": {
|
4867 |
"branch-alias": {
|
@@ -4895,7 +4899,7 @@
|
|
4895 |
"env",
|
4896 |
"environment"
|
4897 |
],
|
4898 |
-
"time": "
|
4899 |
},
|
4900 |
{
|
4901 |
"name": "vria/nodiacritic",
|
@@ -7042,16 +7046,16 @@
|
|
7042 |
},
|
7043 |
{
|
7044 |
"name": "wpdesk/wp-codeception",
|
7045 |
-
"version": "1.4.
|
7046 |
"source": {
|
7047 |
"type": "git",
|
7048 |
"url": "https://gitlab.com/wpdesk/wp-codeception.git",
|
7049 |
-
"reference": "
|
7050 |
},
|
7051 |
"dist": {
|
7052 |
"type": "zip",
|
7053 |
-
"url": "https://gitlab.com/api/v4/projects/wpdesk%2Fwp-codeception/repository/archive.zip?sha=
|
7054 |
-
"reference": "
|
7055 |
"shasum": ""
|
7056 |
},
|
7057 |
"require": {
|
@@ -7097,7 +7101,7 @@
|
|
7097 |
"codeception",
|
7098 |
"wordpress"
|
7099 |
],
|
7100 |
-
"time": "2020-03-
|
7101 |
},
|
7102 |
{
|
7103 |
"name": "wpdesk/wp-logs",
|
@@ -7497,9 +7501,9 @@
|
|
7497 |
}
|
7498 |
],
|
7499 |
"aliases": [],
|
7500 |
-
"minimum-stability": "
|
7501 |
"stability-flags": [],
|
7502 |
-
"prefer-stable":
|
7503 |
"prefer-lowest": false,
|
7504 |
"platform": {
|
7505 |
"php": ">=5.6"
|
4 |
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
|
5 |
"This file is @generated automatically"
|
6 |
],
|
7 |
+
"content-hash": "290bf133728b63111ff91ad03480f513",
|
8 |
"packages": [
|
9 |
{
|
10 |
"name": "psr/log",
|
175 |
},
|
176 |
{
|
177 |
"name": "behat/gherkin",
|
178 |
+
"version": "v4.6.2",
|
179 |
"source": {
|
180 |
"type": "git",
|
181 |
"url": "https://github.com/Behat/Gherkin.git",
|
182 |
+
"reference": "51ac4500c4dc30cbaaabcd2f25694299df666a31"
|
183 |
},
|
184 |
"dist": {
|
185 |
"type": "zip",
|
186 |
+
"url": "https://api.github.com/repos/Behat/Gherkin/zipball/51ac4500c4dc30cbaaabcd2f25694299df666a31",
|
187 |
+
"reference": "51ac4500c4dc30cbaaabcd2f25694299df666a31",
|
188 |
"shasum": ""
|
189 |
},
|
190 |
"require": {
|
230 |
"gherkin",
|
231 |
"parser"
|
232 |
],
|
233 |
+
"time": "2020-03-17T14:03:26+00:00"
|
234 |
},
|
235 |
{
|
236 |
"name": "codeception/codeception",
|
462 |
},
|
463 |
{
|
464 |
"name": "composer/composer",
|
465 |
+
"version": "1.10.1",
|
466 |
"source": {
|
467 |
"type": "git",
|
468 |
"url": "https://github.com/composer/composer.git",
|
469 |
+
"reference": "b912a45da3e2b22f5cb5a23e441b697a295ba011"
|
470 |
},
|
471 |
"dist": {
|
472 |
"type": "zip",
|
473 |
+
"url": "https://api.github.com/repos/composer/composer/zipball/b912a45da3e2b22f5cb5a23e441b697a295ba011",
|
474 |
+
"reference": "b912a45da3e2b22f5cb5a23e441b697a295ba011",
|
475 |
"shasum": ""
|
476 |
},
|
477 |
"require": {
|
538 |
"dependency",
|
539 |
"package"
|
540 |
],
|
541 |
+
"time": "2020-03-13T19:34:27+00:00"
|
542 |
},
|
543 |
{
|
544 |
"name": "composer/semver",
|
2328 |
},
|
2329 |
{
|
2330 |
"name": "mck89/peast",
|
2331 |
+
"version": "v1.10.2",
|
2332 |
"source": {
|
2333 |
"type": "git",
|
2334 |
"url": "https://github.com/mck89/peast.git",
|
2335 |
+
"reference": "1c3984ba9fc3cb93848748f141f5ddac0a65c5e1"
|
2336 |
},
|
2337 |
"dist": {
|
2338 |
"type": "zip",
|
2339 |
+
"url": "https://api.github.com/repos/mck89/peast/zipball/1c3984ba9fc3cb93848748f141f5ddac0a65c5e1",
|
2340 |
+
"reference": "1c3984ba9fc3cb93848748f141f5ddac0a65c5e1",
|
2341 |
"shasum": ""
|
2342 |
},
|
2343 |
"require": {
|
2349 |
"type": "library",
|
2350 |
"extra": {
|
2351 |
"branch-alias": {
|
2352 |
+
"dev-master": "1.10.2-dev"
|
2353 |
}
|
2354 |
},
|
2355 |
"autoload": {
|
2369 |
}
|
2370 |
],
|
2371 |
"description": "Peast is PHP library that generates AST for JavaScript code",
|
2372 |
+
"time": "2020-03-15T16:03:55+00:00"
|
2373 |
},
|
2374 |
{
|
2375 |
"name": "mikemclin/laravel-wp-password",
|
4842 |
},
|
4843 |
{
|
4844 |
"name": "vlucas/phpdotenv",
|
4845 |
+
"version": "v3.6.1",
|
4846 |
"source": {
|
4847 |
"type": "git",
|
4848 |
"url": "https://github.com/vlucas/phpdotenv.git",
|
4849 |
+
"reference": "8f7961f7b9deb3b432452c18093cf16f88205902"
|
4850 |
},
|
4851 |
"dist": {
|
4852 |
"type": "zip",
|
4853 |
+
"url": "https://api.github.com/repos/vlucas/phpdotenv/zipball/8f7961f7b9deb3b432452c18093cf16f88205902",
|
4854 |
+
"reference": "8f7961f7b9deb3b432452c18093cf16f88205902",
|
4855 |
"shasum": ""
|
4856 |
},
|
4857 |
"require": {
|
4860 |
"symfony/polyfill-ctype": "^1.9"
|
4861 |
},
|
4862 |
"require-dev": {
|
4863 |
+
"ext-filter": "*",
|
4864 |
"phpunit/phpunit": "^4.8.35 || ^5.0 || ^6.0 || ^7.0"
|
4865 |
},
|
4866 |
+
"suggest": {
|
4867 |
+
"ext-filter": "Required to use the boolean validator."
|
4868 |
+
},
|
4869 |
"type": "library",
|
4870 |
"extra": {
|
4871 |
"branch-alias": {
|
4899 |
"env",
|
4900 |
"environment"
|
4901 |
],
|
4902 |
+
"time": "2020-03-12T13:44:00+00:00"
|
4903 |
},
|
4904 |
{
|
4905 |
"name": "vria/nodiacritic",
|
7046 |
},
|
7047 |
{
|
7048 |
"name": "wpdesk/wp-codeception",
|
7049 |
+
"version": "1.4.19",
|
7050 |
"source": {
|
7051 |
"type": "git",
|
7052 |
"url": "https://gitlab.com/wpdesk/wp-codeception.git",
|
7053 |
+
"reference": "b3cdbffc6f62ae1e50c957d4a2f3944332266034"
|
7054 |
},
|
7055 |
"dist": {
|
7056 |
"type": "zip",
|
7057 |
+
"url": "https://gitlab.com/api/v4/projects/wpdesk%2Fwp-codeception/repository/archive.zip?sha=b3cdbffc6f62ae1e50c957d4a2f3944332266034",
|
7058 |
+
"reference": "b3cdbffc6f62ae1e50c957d4a2f3944332266034",
|
7059 |
"shasum": ""
|
7060 |
},
|
7061 |
"require": {
|
7101 |
"codeception",
|
7102 |
"wordpress"
|
7103 |
],
|
7104 |
+
"time": "2020-03-16T16:57:32+00:00"
|
7105 |
},
|
7106 |
{
|
7107 |
"name": "wpdesk/wp-logs",
|
7501 |
}
|
7502 |
],
|
7503 |
"aliases": [],
|
7504 |
+
"minimum-stability": "dev",
|
7505 |
"stability-flags": [],
|
7506 |
+
"prefer-stable": true,
|
7507 |
"prefer-lowest": false,
|
7508 |
"platform": {
|
7509 |
"php": ">=5.6"
|
flexible-checkout-fields.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: Flexible Checkout Fields
|
4 |
Plugin URI: https://www.wpdesk.net/products/flexible-checkout-fields-pro-woocommerce/
|
5 |
Description: Manage your WooCommerce checkout fields. Change order, labels, placeholders and add new fields.
|
6 |
-
Version: 2.4.
|
7 |
Author: WP Desk
|
8 |
Author URI: https://www.wpdesk.net/
|
9 |
Text Domain: flexible-checkout-fields
|
@@ -37,8 +37,8 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
37 |
|
38 |
|
39 |
/* THESE TWO VARIABLES CAN BE CHANGED AUTOMATICALLY */
|
40 |
-
$plugin_version = '2.4.
|
41 |
-
$plugin_release_timestamp = '2020-03-
|
42 |
|
43 |
define( 'FLEXIBLE_CHECKOUT_FIELDS_VERSION', $plugin_version );
|
44 |
|
3 |
Plugin Name: Flexible Checkout Fields
|
4 |
Plugin URI: https://www.wpdesk.net/products/flexible-checkout-fields-pro-woocommerce/
|
5 |
Description: Manage your WooCommerce checkout fields. Change order, labels, placeholders and add new fields.
|
6 |
+
Version: 2.4.3
|
7 |
Author: WP Desk
|
8 |
Author URI: https://www.wpdesk.net/
|
9 |
Text Domain: flexible-checkout-fields
|
37 |
|
38 |
|
39 |
/* THESE TWO VARIABLES CAN BE CHANGED AUTOMATICALLY */
|
40 |
+
$plugin_version = '2.4.3';
|
41 |
+
$plugin_release_timestamp = '2020-03-18 14:54';
|
42 |
|
43 |
define( 'FLEXIBLE_CHECKOUT_FIELDS_VERSION', $plugin_version );
|
44 |
|
lang/flexible-checkout-fields.pot
ADDED
@@ -0,0 +1,556 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
msgid ""
|
2 |
+
msgstr ""
|
3 |
+
"Project-Id-Version: Flexible Checkout Fields\n"
|
4 |
+
"Report-Msgid-Bugs-To: \n"
|
5 |
+
"Last-Translator: Grzegorz Rola <grola@wpdesk.pl>\n"
|
6 |
+
"Language-Team: Maciej Swoboda <maciej.swoboda@gmail.com>\n"
|
7 |
+
"MIME-Version: 1.0\n"
|
8 |
+
"Content-Type: text/plain; charset=UTF-8\n"
|
9 |
+
"Content-Transfer-Encoding: 8bit\n"
|
10 |
+
"POT-Creation-Date: 2020-03-19T08:04:02+00:00\n"
|
11 |
+
"PO-Revision-Date: 2020-03-19T08:04:02+00:00\n"
|
12 |
+
"Language: \n"
|
13 |
+
"X-Poedit-Basepath: ..\n"
|
14 |
+
"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
|
15 |
+
"X-Poedit-SourceCharset: UTF-8\n"
|
16 |
+
"X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;_nx_noop:3c,1,2;__ngettext_noop:1,2\n"
|
17 |
+
"X-Poedit-SearchPath-0: .\n"
|
18 |
+
"X-Poedit-SearchPathExcluded-0: *.js\n"
|
19 |
+
"X-Poedit-WPHeader: flexible-checkout-fields.php\n"
|
20 |
+
|
21 |
+
#: /builds/wpdesk/flexible-checkout-fields/classes/views/settings-ads.php:10
|
22 |
+
msgid "If you want to continue using Flexible Checkout Fields for free, %splease add a review%s. You will help us support the free version. Thank you."
|
23 |
+
msgstr ""
|
24 |
+
|
25 |
+
#: /builds/wpdesk/flexible-checkout-fields/classes/views/settings-fields.php:11
|
26 |
+
msgid "Thank You Page"
|
27 |
+
msgstr ""
|
28 |
+
|
29 |
+
#: /builds/wpdesk/flexible-checkout-fields/classes/views/settings-fields.php:12
|
30 |
+
msgid "My Account - address"
|
31 |
+
msgstr ""
|
32 |
+
|
33 |
+
#: /builds/wpdesk/flexible-checkout-fields/classes/views/settings-fields.php:13
|
34 |
+
msgid "My Account - order"
|
35 |
+
msgstr ""
|
36 |
+
|
37 |
+
#: /builds/wpdesk/flexible-checkout-fields/classes/views/settings-fields.php:14
|
38 |
+
msgid "Emails"
|
39 |
+
msgstr ""
|
40 |
+
|
41 |
+
#: /builds/wpdesk/flexible-checkout-fields/classes/views/settings-fields.php:18
|
42 |
+
msgid "Display field in the new line"
|
43 |
+
msgstr ""
|
44 |
+
|
45 |
+
#: /builds/wpdesk/flexible-checkout-fields/classes/views/settings-fields.php:19
|
46 |
+
msgid "Display field's label"
|
47 |
+
msgstr ""
|
48 |
+
|
49 |
+
#: /builds/wpdesk/flexible-checkout-fields/classes/views/settings-fields.php:80
|
50 |
+
#: /builds/wpdesk/flexible-checkout-fields/classes/views/settings-fields.php:361
|
51 |
+
msgid "Meta name: %s."
|
52 |
+
msgstr ""
|
53 |
+
|
54 |
+
#: /builds/wpdesk/flexible-checkout-fields/classes/views/settings-fields.php:324
|
55 |
+
msgid "Requirement of this field is controlled by WooCommerce and cannot be changed."
|
56 |
+
msgstr ""
|
57 |
+
|
58 |
+
#: /builds/wpdesk/flexible-checkout-fields/classes/views/settings-fields.php:378
|
59 |
+
#: /builds/wpdesk/flexible-checkout-fields/classes/views/settings-fields.php:803
|
60 |
+
msgid "For Post Code validation works only with country."
|
61 |
+
msgstr ""
|
62 |
+
|
63 |
+
#: /builds/wpdesk/flexible-checkout-fields/classes/views/settings-fields.php:471
|
64 |
+
msgid "This field is address locale dependent and cannot be modified."
|
65 |
+
msgstr ""
|
66 |
+
|
67 |
+
#: /builds/wpdesk/flexible-checkout-fields/classes/views/settings-fields.php:541
|
68 |
+
msgid "Display state abbreviations"
|
69 |
+
msgstr ""
|
70 |
+
|
71 |
+
#: /builds/wpdesk/flexible-checkout-fields/classes/views/settings-fields.php:546
|
72 |
+
msgid "Display a comma before, if the field is not in the new line"
|
73 |
+
msgstr ""
|
74 |
+
|
75 |
+
#: /builds/wpdesk/flexible-checkout-fields/classes/views/settings-fields.php:639
|
76 |
+
msgid "Invalid field name: %s. The name already exists."
|
77 |
+
msgstr ""
|
78 |
+
|
79 |
+
#: /builds/wpdesk/flexible-checkout-fields/classes/views/settings-fields.php:791
|
80 |
+
msgid "Meta name: "
|
81 |
+
msgstr ""
|
82 |
+
|
83 |
+
#: /builds/wpdesk/flexible-checkout-fields/classes/views/settings-fields.php:989
|
84 |
+
msgid "Do you really want to delete this field: %s? Deleting a field remove it from all orders."
|
85 |
+
msgstr ""
|
86 |
+
|
87 |
+
#: /builds/wpdesk/flexible-checkout-fields/classes/views/settings-tabs.php:8
|
88 |
+
msgid "Read the %sconfiguration manual →%s"
|
89 |
+
msgstr ""
|
90 |
+
|
91 |
+
#: /builds/wpdesk/flexible-checkout-fields/classes/views/settings-tabs.php:11
|
92 |
+
msgid "WPML detected. Read %sthis instructions if you want to translate Flexible Checkout Fields. →%s"
|
93 |
+
msgstr ""
|
94 |
+
|
95 |
+
#: /builds/wpdesk/flexible-checkout-fields/classes/class-flexible-checkout-fields-plugin.php:287
|
96 |
+
msgid "Billing"
|
97 |
+
msgstr ""
|
98 |
+
|
99 |
+
#: /builds/wpdesk/flexible-checkout-fields/classes/class-flexible-checkout-fields-plugin.php:293
|
100 |
+
msgid "Shipping"
|
101 |
+
msgstr ""
|
102 |
+
|
103 |
+
#: /builds/wpdesk/flexible-checkout-fields/classes/class-flexible-checkout-fields-plugin.php:299
|
104 |
+
msgid "Order"
|
105 |
+
msgstr ""
|
106 |
+
|
107 |
+
#: /builds/wpdesk/flexible-checkout-fields/classes/class-flexible-checkout-fields-plugin.php:313
|
108 |
+
msgid "Single Line Text"
|
109 |
+
msgstr ""
|
110 |
+
|
111 |
+
#: /builds/wpdesk/flexible-checkout-fields/classes/class-flexible-checkout-fields-plugin.php:317
|
112 |
+
msgid "Paragraph Text"
|
113 |
+
msgstr ""
|
114 |
+
|
115 |
+
#: /builds/wpdesk/flexible-checkout-fields/classes/class-flexible-checkout-fields-plugin.php:325
|
116 |
+
#: /builds/wpdesk/flexible-checkout-fields/classes/class-flexible-checkout-fields-plugin.php:330
|
117 |
+
msgid "Checkbox"
|
118 |
+
msgstr ""
|
119 |
+
|
120 |
+
#: /builds/wpdesk/flexible-checkout-fields/classes/class-flexible-checkout-fields-plugin.php:335
|
121 |
+
msgid "Radio button"
|
122 |
+
msgstr ""
|
123 |
+
|
124 |
+
#: /builds/wpdesk/flexible-checkout-fields/classes/class-flexible-checkout-fields-plugin.php:340
|
125 |
+
msgid "Select (Drop Down)"
|
126 |
+
msgstr ""
|
127 |
+
|
128 |
+
#: /builds/wpdesk/flexible-checkout-fields/classes/class-flexible-checkout-fields-plugin.php:345
|
129 |
+
msgid "Multi-select"
|
130 |
+
msgstr ""
|
131 |
+
|
132 |
+
#: /builds/wpdesk/flexible-checkout-fields/classes/class-flexible-checkout-fields-plugin.php:350
|
133 |
+
msgid "Date"
|
134 |
+
msgstr ""
|
135 |
+
|
136 |
+
#: /builds/wpdesk/flexible-checkout-fields/classes/class-flexible-checkout-fields-plugin.php:355
|
137 |
+
msgid "Time"
|
138 |
+
msgstr ""
|
139 |
+
|
140 |
+
#: /builds/wpdesk/flexible-checkout-fields/classes/class-flexible-checkout-fields-plugin.php:360
|
141 |
+
msgid "Color Picker"
|
142 |
+
msgstr ""
|
143 |
+
|
144 |
+
#: /builds/wpdesk/flexible-checkout-fields/classes/class-flexible-checkout-fields-plugin.php:365
|
145 |
+
msgid "Headline"
|
146 |
+
msgstr ""
|
147 |
+
|
148 |
+
#: /builds/wpdesk/flexible-checkout-fields/classes/class-flexible-checkout-fields-plugin.php:370
|
149 |
+
msgid "HTML"
|
150 |
+
msgstr ""
|
151 |
+
|
152 |
+
#: /builds/wpdesk/flexible-checkout-fields/classes/class-flexible-checkout-fields-plugin.php:375
|
153 |
+
msgid "File Upload"
|
154 |
+
msgstr ""
|
155 |
+
|
156 |
+
#: /builds/wpdesk/flexible-checkout-fields/classes/class-flexible-checkout-fields-plugin.php:941
|
157 |
+
msgid "Advanced"
|
158 |
+
msgstr ""
|
159 |
+
|
160 |
+
#: /builds/wpdesk/flexible-checkout-fields/classes/class-flexible-checkout-fields-plugin.php:1019
|
161 |
+
msgid "Uploading file..."
|
162 |
+
msgstr ""
|
163 |
+
|
164 |
+
#: /builds/wpdesk/flexible-checkout-fields/classes/class-flexible-checkout-fields-plugin.php:1065
|
165 |
+
msgid "Close"
|
166 |
+
msgstr ""
|
167 |
+
|
168 |
+
#: /builds/wpdesk/flexible-checkout-fields/classes/class-flexible-checkout-fields-plugin.php:1066
|
169 |
+
msgid "Today"
|
170 |
+
msgstr ""
|
171 |
+
|
172 |
+
#: /builds/wpdesk/flexible-checkout-fields/classes/class-flexible-checkout-fields-plugin.php:1069
|
173 |
+
msgid "Next"
|
174 |
+
msgstr ""
|
175 |
+
|
176 |
+
#: /builds/wpdesk/flexible-checkout-fields/classes/class-flexible-checkout-fields-plugin.php:1070
|
177 |
+
msgid "Previous"
|
178 |
+
msgstr ""
|
179 |
+
|
180 |
+
#: /builds/wpdesk/flexible-checkout-fields/classes/class-flexible-checkout-fields-plugin.php:1098
|
181 |
+
#: /builds/wpdesk/flexible-checkout-fields/classes/settings.php:165
|
182 |
+
#: /builds/wpdesk/flexible-checkout-fields/vendor_prefixed/wpdesk/wp-builder/src/Plugin/AbstractPlugin.php:198
|
183 |
+
#: /builds/wpdesk/flexible-checkout-fields/vendor_prefixed/wpdesk/wp-wpdesk-helper/src/Page/SettingsPage.php:46
|
184 |
+
msgid "Settings"
|
185 |
+
msgstr ""
|
186 |
+
|
187 |
+
#: /builds/wpdesk/flexible-checkout-fields/classes/class-flexible-checkout-fields-plugin.php:1100
|
188 |
+
#: /builds/wpdesk/flexible-checkout-fields/vendor_prefixed/wpdesk/wp-builder/src/Plugin/AbstractPlugin.php:194
|
189 |
+
msgid "Docs"
|
190 |
+
msgstr ""
|
191 |
+
|
192 |
+
#: /builds/wpdesk/flexible-checkout-fields/classes/class-flexible-checkout-fields-plugin.php:1101
|
193 |
+
#: /builds/wpdesk/flexible-checkout-fields/vendor_prefixed/wpdesk/wp-builder/src/Plugin/AbstractPlugin.php:191
|
194 |
+
msgid "Support"
|
195 |
+
msgstr ""
|
196 |
+
|
197 |
+
#: /builds/wpdesk/flexible-checkout-fields/classes/class-flexible-checkout-fields-plugin.php:1107
|
198 |
+
msgid "Upgrade"
|
199 |
+
msgstr ""
|
200 |
+
|
201 |
+
#: /builds/wpdesk/flexible-checkout-fields/classes/display-options.php:103
|
202 |
+
#: /builds/wpdesk/flexible-checkout-fields/classes/user-profile.php:172
|
203 |
+
msgid "Additional Information"
|
204 |
+
msgstr ""
|
205 |
+
|
206 |
+
#: /builds/wpdesk/flexible-checkout-fields/classes/filed-validation.php:30
|
207 |
+
msgid "%s is a required field."
|
208 |
+
msgstr ""
|
209 |
+
|
210 |
+
#: /builds/wpdesk/flexible-checkout-fields/classes/filed-validation.php:70
|
211 |
+
msgid "Default"
|
212 |
+
msgstr ""
|
213 |
+
|
214 |
+
#: /builds/wpdesk/flexible-checkout-fields/classes/filed-validation.php:71
|
215 |
+
msgid "None"
|
216 |
+
msgstr ""
|
217 |
+
|
218 |
+
#: /builds/wpdesk/flexible-checkout-fields/classes/filed-validation.php:72
|
219 |
+
msgid "Email"
|
220 |
+
msgstr ""
|
221 |
+
|
222 |
+
#: /builds/wpdesk/flexible-checkout-fields/classes/filed-validation.php:73
|
223 |
+
msgid "Phone"
|
224 |
+
msgstr ""
|
225 |
+
|
226 |
+
#: /builds/wpdesk/flexible-checkout-fields/classes/filed-validation.php:76
|
227 |
+
msgid "Post code"
|
228 |
+
msgstr ""
|
229 |
+
|
230 |
+
#: /builds/wpdesk/flexible-checkout-fields/classes/settings.php:49
|
231 |
+
#: /builds/wpdesk/flexible-checkout-fields/classes/settings.php:52
|
232 |
+
#: /builds/wpdesk/flexible-checkout-fields/classes/settings.php:55
|
233 |
+
#: /builds/wpdesk/flexible-checkout-fields/classes/settings.php:63
|
234 |
+
msgid "Flexible Checkout Fields"
|
235 |
+
msgstr ""
|
236 |
+
|
237 |
+
#: /builds/wpdesk/flexible-checkout-fields/classes/settings.php:117
|
238 |
+
msgid "Checkout Fields Settings"
|
239 |
+
msgstr ""
|
240 |
+
|
241 |
+
#: /builds/wpdesk/flexible-checkout-fields/classes/settings.php:117
|
242 |
+
msgid "Checkout Fields"
|
243 |
+
msgstr ""
|
244 |
+
|
245 |
+
#: /builds/wpdesk/flexible-checkout-fields/classes/settings.php:139
|
246 |
+
msgid "Order Notes"
|
247 |
+
msgstr ""
|
248 |
+
|
249 |
+
#: /builds/wpdesk/flexible-checkout-fields/classes/settings.php:174
|
250 |
+
msgid "Custom Sections"
|
251 |
+
msgstr ""
|
252 |
+
|
253 |
+
#: /builds/wpdesk/flexible-checkout-fields/classes/settings.php:285
|
254 |
+
msgid "Flexible Checkout Fields: security check error. Fields not saved!"
|
255 |
+
msgstr ""
|
256 |
+
|
257 |
+
#: /builds/wpdesk/flexible-checkout-fields/classes/settings.php:314
|
258 |
+
msgid "You cannot use this field name: %s, for field: %s."
|
259 |
+
msgstr ""
|
260 |
+
|
261 |
+
#: /builds/wpdesk/flexible-checkout-fields/classes/tracker.php:166
|
262 |
+
msgid "Opt-in"
|
263 |
+
msgstr ""
|
264 |
+
|
265 |
+
#: /builds/wpdesk/flexible-checkout-fields/classes/tracker.php:170
|
266 |
+
msgid "Opt-out"
|
267 |
+
msgstr ""
|
268 |
+
|
269 |
+
#: /builds/wpdesk/flexible-checkout-fields/vendor_prefixed/wpdesk/wp-basic-requirements/src/Basic_Requirement_Checker.php:181
|
270 |
+
msgid "The “%s” plugin cannot run on PHP versions older than %s. Please contact your host and ask them to upgrade."
|
271 |
+
msgstr ""
|
272 |
+
|
273 |
+
#: /builds/wpdesk/flexible-checkout-fields/vendor_prefixed/wpdesk/wp-basic-requirements/src/Basic_Requirement_Checker.php:184
|
274 |
+
msgid "The “%s” plugin cannot run on WordPress versions older than %s. Please update WordPress."
|
275 |
+
msgstr ""
|
276 |
+
|
277 |
+
#: /builds/wpdesk/flexible-checkout-fields/vendor_prefixed/wpdesk/wp-basic-requirements/src/Basic_Requirement_Checker.php:187
|
278 |
+
msgid "The “%s” plugin cannot run on WooCommerce versions older than %s. Please update WooCommerce."
|
279 |
+
msgstr ""
|
280 |
+
|
281 |
+
#: /builds/wpdesk/flexible-checkout-fields/vendor_prefixed/wpdesk/wp-basic-requirements/src/Basic_Requirement_Checker.php:190
|
282 |
+
msgid "The “%s” plugin cannot run without OpenSSL module version at least %s. Please update OpenSSL module."
|
283 |
+
msgstr ""
|
284 |
+
|
285 |
+
#: /builds/wpdesk/flexible-checkout-fields/vendor_prefixed/wpdesk/wp-basic-requirements/src/Basic_Requirement_Checker.php:277
|
286 |
+
msgid "The “%s” plugin requires at least %s version of %s to work correctly. Please update it"
|
287 |
+
msgstr ""
|
288 |
+
|
289 |
+
#: /builds/wpdesk/flexible-checkout-fields/vendor_prefixed/wpdesk/wp-basic-requirements/src/Basic_Requirement_Checker.php:338
|
290 |
+
msgid "The “%s” plugin cannot run without %s active. Please install and activate %s plugin."
|
291 |
+
msgstr ""
|
292 |
+
|
293 |
+
#: /builds/wpdesk/flexible-checkout-fields/vendor_prefixed/wpdesk/wp-basic-requirements/src/Basic_Requirement_Checker.php:388
|
294 |
+
msgid "The “%s” plugin requires free %s plugin. <a href=\"%s\">Install %s →</a>"
|
295 |
+
msgstr ""
|
296 |
+
|
297 |
+
#: /builds/wpdesk/flexible-checkout-fields/vendor_prefixed/wpdesk/wp-basic-requirements/src/Basic_Requirement_Checker.php:394
|
298 |
+
msgid "The “%s” plugin requires activating %s plugin. <a href=\"%s\">Activate %s →</a>"
|
299 |
+
msgstr ""
|
300 |
+
|
301 |
+
#: /builds/wpdesk/flexible-checkout-fields/vendor_prefixed/wpdesk/wp-basic-requirements/src/Basic_Requirement_Checker.php:435
|
302 |
+
msgid "The “%s” plugin cannot run without %s php module installed. Please contact your host and ask them to install %s."
|
303 |
+
msgstr ""
|
304 |
+
|
305 |
+
#: /builds/wpdesk/flexible-checkout-fields/vendor_prefixed/wpdesk/wp-basic-requirements/src/Basic_Requirement_Checker.php:460
|
306 |
+
msgid "The “%s” plugin cannot run without %s php setting set to %s. Please contact your host and ask them to set %s."
|
307 |
+
msgstr ""
|
308 |
+
|
309 |
+
#: /builds/wpdesk/flexible-checkout-fields/vendor_prefixed/wpdesk/wp-basic-requirements/src/Basic_Requirement_Checker_With_Update_Disable.php:29
|
310 |
+
msgid "The “%s” plugin disables temporarily as required %s plugin is being upgraded."
|
311 |
+
msgstr ""
|
312 |
+
|
313 |
+
#: /builds/wpdesk/flexible-checkout-fields/vendor_prefixed/wpdesk/wp-logs/src/WP/WPCapture.php:23
|
314 |
+
msgid "Can not enable WP Desk Debug log! Cannot create directory %s or this directory is not writeable!"
|
315 |
+
msgstr ""
|
316 |
+
|
317 |
+
#: /builds/wpdesk/flexible-checkout-fields/vendor_prefixed/wpdesk/wp-logs/src/WP/WPCapture.php:36
|
318 |
+
msgid "Can not enable WP Desk Debug log! Cannot create file %s!"
|
319 |
+
msgstr ""
|
320 |
+
|
321 |
+
#: /builds/wpdesk/flexible-checkout-fields/vendor_prefixed/wpdesk/wp-logs/src/deprecated/wpdesk-logger.php:59
|
322 |
+
msgid "Disabled"
|
323 |
+
msgstr ""
|
324 |
+
|
325 |
+
#: /builds/wpdesk/flexible-checkout-fields/vendor_prefixed/wpdesk/wp-logs/src/deprecated/wpdesk-logger.php:59
|
326 |
+
msgid "Emergency"
|
327 |
+
msgstr ""
|
328 |
+
|
329 |
+
#: /builds/wpdesk/flexible-checkout-fields/vendor_prefixed/wpdesk/wp-logs/src/deprecated/wpdesk-logger.php:59
|
330 |
+
msgid "Alert"
|
331 |
+
msgstr ""
|
332 |
+
|
333 |
+
#: /builds/wpdesk/flexible-checkout-fields/vendor_prefixed/wpdesk/wp-logs/src/deprecated/wpdesk-logger.php:59
|
334 |
+
msgid "Critical"
|
335 |
+
msgstr ""
|
336 |
+
|
337 |
+
#: /builds/wpdesk/flexible-checkout-fields/vendor_prefixed/wpdesk/wp-logs/src/deprecated/wpdesk-logger.php:59
|
338 |
+
msgid "Error"
|
339 |
+
msgstr ""
|
340 |
+
|
341 |
+
#: /builds/wpdesk/flexible-checkout-fields/vendor_prefixed/wpdesk/wp-logs/src/deprecated/wpdesk-logger.php:59
|
342 |
+
msgid "Warning"
|
343 |
+
msgstr ""
|
344 |
+
|
345 |
+
#: /builds/wpdesk/flexible-checkout-fields/vendor_prefixed/wpdesk/wp-logs/src/deprecated/wpdesk-logger.php:59
|
346 |
+
msgid "Notice"
|
347 |
+
msgstr ""
|
348 |
+
|
349 |
+
#: /builds/wpdesk/flexible-checkout-fields/vendor_prefixed/wpdesk/wp-logs/src/deprecated/wpdesk-logger.php:59
|
350 |
+
msgid "Info"
|
351 |
+
msgstr ""
|
352 |
+
|
353 |
+
#: /builds/wpdesk/flexible-checkout-fields/vendor_prefixed/wpdesk/wp-logs/src/deprecated/wpdesk-logger.php:59
|
354 |
+
#: /builds/wpdesk/flexible-checkout-fields/vendor_prefixed/wpdesk/wp-wpdesk-helper/src/Integration/LogsIntegration.php:36
|
355 |
+
msgid "Debug"
|
356 |
+
msgstr ""
|
357 |
+
|
358 |
+
#: /builds/wpdesk/flexible-checkout-fields/vendor_prefixed/wpdesk/wp-wpdesk-helper/src/Integration/LogsIntegration.php:37
|
359 |
+
msgid "WP Desk Debug Log"
|
360 |
+
msgstr ""
|
361 |
+
|
362 |
+
#: /builds/wpdesk/flexible-checkout-fields/vendor_prefixed/wpdesk/wp-wpdesk-helper/src/Integration/LogsIntegration.php:64
|
363 |
+
msgid "Writes error log to %s."
|
364 |
+
msgstr ""
|
365 |
+
|
366 |
+
#: /builds/wpdesk/flexible-checkout-fields/vendor_prefixed/wpdesk/wp-wpdesk-helper/src/Integration/LogsIntegration.php:92
|
367 |
+
msgid "WP Desk Debug Log is enabled. %1$sPlease disable it after testing%2$s."
|
368 |
+
msgstr ""
|
369 |
+
|
370 |
+
#: /builds/wpdesk/flexible-checkout-fields/vendor_prefixed/wpdesk/wp-wpdesk-helper/src/Integration/TrackerIntegration.php:51
|
371 |
+
msgid "Plugin usage tracking"
|
372 |
+
msgstr ""
|
373 |
+
|
374 |
+
#: /builds/wpdesk/flexible-checkout-fields/vendor_prefixed/wpdesk/wp-wpdesk-helper/src/Integration/TrackerIntegration.php:52
|
375 |
+
msgid "Allow WP Desk to track plugin usage"
|
376 |
+
msgstr ""
|
377 |
+
|
378 |
+
#: /builds/wpdesk/flexible-checkout-fields/vendor_prefixed/wpdesk/wp-wpdesk-helper/src/Integration/TrackerIntegration.php:76
|
379 |
+
msgid "No sensitive data is tracked, %sread more%s."
|
380 |
+
msgstr ""
|
381 |
+
|
382 |
+
#: /builds/wpdesk/flexible-checkout-fields/vendor_prefixed/wpdesk/wp-wpdesk-helper/src/Page/LibraryDebugPage.php:29
|
383 |
+
msgid "Library report"
|
384 |
+
msgstr ""
|
385 |
+
|
386 |
+
#: /builds/wpdesk/flexible-checkout-fields/vendor_prefixed/wpdesk/wp-wpdesk-helper/src/HelperRemoveNotice.php:43
|
387 |
+
msgid "We recommend to <a href=\"%s\">deactivate and remove</a> the \"WP Desk Helper\" plugin as it is no longer required by WP Desk plugins"
|
388 |
+
msgstr ""
|
389 |
+
|
390 |
+
#: /builds/wpdesk/flexible-checkout-fields/vendor_prefixed/wpdesk/wp-wpdesk-helper/src/HelperRemoveNotice.php:56
|
391 |
+
msgid "We recommend to <a href=\"%s\">remove</a> the \"WP Desk Helper\" plugin as it is no longer required by WP Desk plugins"
|
392 |
+
msgstr ""
|
393 |
+
|
394 |
+
#: /builds/wpdesk/flexible-checkout-fields/vendor_prefixed/wpdesk/wp-wpdesk-license/src/ApiManager/class-wc-api-manager-menu.php:59
|
395 |
+
#: /builds/wpdesk/flexible-checkout-fields/vendor_prefixed/wpdesk/wp-wpdesk-license/src/ApiManager/class-wc-api-manager-menu.php:64
|
396 |
+
msgid "Save Changes"
|
397 |
+
msgstr ""
|
398 |
+
|
399 |
+
#: /builds/wpdesk/flexible-checkout-fields/vendor_prefixed/wpdesk/wp-wpdesk-license/src/ApiManager/class-wc-api-manager-menu.php:77
|
400 |
+
msgid "API Key Activation"
|
401 |
+
msgstr ""
|
402 |
+
|
403 |
+
#: /builds/wpdesk/flexible-checkout-fields/vendor_prefixed/wpdesk/wp-wpdesk-license/src/ApiManager/class-wc-api-manager-menu.php:78
|
404 |
+
msgid "API Key Status"
|
405 |
+
msgstr ""
|
406 |
+
|
407 |
+
#: /builds/wpdesk/flexible-checkout-fields/vendor_prefixed/wpdesk/wp-wpdesk-license/src/ApiManager/class-wc-api-manager-menu.php:79
|
408 |
+
msgid "API Subscription Key"
|
409 |
+
msgstr ""
|
410 |
+
|
411 |
+
#: /builds/wpdesk/flexible-checkout-fields/vendor_prefixed/wpdesk/wp-wpdesk-license/src/ApiManager/class-wc-api-manager-menu.php:80
|
412 |
+
msgid "API Subscription email"
|
413 |
+
msgstr ""
|
414 |
+
|
415 |
+
#: /builds/wpdesk/flexible-checkout-fields/vendor_prefixed/wpdesk/wp-wpdesk-license/src/ApiManager/class-wc-api-manager-menu.php:83
|
416 |
+
msgid "API Key Deactivation"
|
417 |
+
msgstr ""
|
418 |
+
|
419 |
+
#: /builds/wpdesk/flexible-checkout-fields/vendor_prefixed/wpdesk/wp-wpdesk-license/src/ApiManager/class-wc-api-manager-menu.php:84
|
420 |
+
msgid "Deactivate API Key"
|
421 |
+
msgstr ""
|
422 |
+
|
423 |
+
#: /builds/wpdesk/flexible-checkout-fields/vendor_prefixed/wpdesk/wp-wpdesk-license/src/ApiManager/class-wc-api-manager-menu.php:149
|
424 |
+
#: /builds/wpdesk/flexible-checkout-fields/vendor_prefixed/wpdesk/wp-wpdesk-license/src/Page/License/Action/LicenseActivation.php:141
|
425 |
+
msgid "Plugin activated. "
|
426 |
+
msgstr ""
|
427 |
+
|
428 |
+
#: /builds/wpdesk/flexible-checkout-fields/vendor_prefixed/wpdesk/wp-wpdesk-license/src/ApiManager/class-wc-api-manager-menu.php:154
|
429 |
+
msgid "Connection failed to the API Key server. Try again later."
|
430 |
+
msgstr ""
|
431 |
+
|
432 |
+
#: /builds/wpdesk/flexible-checkout-fields/vendor_prefixed/wpdesk/wp-wpdesk-license/src/ApiManager/class-wc-api-manager-menu.php:226
|
433 |
+
msgid "The subscription could not be deactivated. Use the Subscription Deactivation tab to manually deactivate the subscription before activating a new subscription."
|
434 |
+
msgstr ""
|
435 |
+
|
436 |
+
#: /builds/wpdesk/flexible-checkout-fields/vendor_prefixed/wpdesk/wp-wpdesk-license/src/ApiManager/class-wc-api-manager-menu.php:247
|
437 |
+
#: /builds/wpdesk/flexible-checkout-fields/vendor_prefixed/wpdesk/wp-wpdesk-license/src/Page/License/Action/LicenseDeactivation.php:31
|
438 |
+
msgid "Plugin subscription deactivated. "
|
439 |
+
msgstr ""
|
440 |
+
|
441 |
+
#: /builds/wpdesk/flexible-checkout-fields/vendor_prefixed/wpdesk/wp-wpdesk-license/src/ApiManager/class-wc-api-manager.php:144
|
442 |
+
msgid "Subscription Activation"
|
443 |
+
msgstr ""
|
444 |
+
|
445 |
+
#: /builds/wpdesk/flexible-checkout-fields/vendor_prefixed/wpdesk/wp-wpdesk-license/src/ApiManager/class-wc-api-manager.php:145
|
446 |
+
msgid "Subscription Deactivation"
|
447 |
+
msgstr ""
|
448 |
+
|
449 |
+
#: /builds/wpdesk/flexible-checkout-fields/vendor_prefixed/wpdesk/wp-wpdesk-license/src/ApiManager/class-wc-api-manager.php:209
|
450 |
+
msgid " <a target='_blank' href='%s'>Enter a valid subscription key for automatic updates.</a>"
|
451 |
+
msgstr ""
|
452 |
+
|
453 |
+
#: /builds/wpdesk/flexible-checkout-fields/vendor_prefixed/wpdesk/wp-wpdesk-license/src/ApiManager/class-wc-api-manager.php:330
|
454 |
+
msgid "The %s%s%s API Key has not been activated, so you won't be supported and your plugin won't be updated! %sClick here%s to activate the API key and the plugin."
|
455 |
+
msgstr ""
|
456 |
+
|
457 |
+
#: /builds/wpdesk/flexible-checkout-fields/vendor_prefixed/wpdesk/wp-wpdesk-license/src/ApiManager/class-wc-api-manager.php:347
|
458 |
+
msgid "<b>Warning!</b> You're blocking external requests which means you won't be able to get %s updates. Please add %s to %s."
|
459 |
+
msgstr ""
|
460 |
+
|
461 |
+
#: /builds/wpdesk/flexible-checkout-fields/vendor_prefixed/wpdesk/wp-wpdesk-license/src/ApiManager/class-wc-plugin-update.php:333
|
462 |
+
msgid "The API key for %s has expired. You can reactivate or purchase a API key from your account <a href=\"%s\" target=\"_blank\">dashboard</a>."
|
463 |
+
msgstr ""
|
464 |
+
|
465 |
+
#: /builds/wpdesk/flexible-checkout-fields/vendor_prefixed/wpdesk/wp-wpdesk-license/src/ApiManager/class-wc-plugin-update.php:344
|
466 |
+
msgid "The subscription for %s is on-hold. You can reactivate the subscription from your account <a href=\"%s\" target=\"_blank\">dashboard</a>."
|
467 |
+
msgstr ""
|
468 |
+
|
469 |
+
#: /builds/wpdesk/flexible-checkout-fields/vendor_prefixed/wpdesk/wp-wpdesk-license/src/ApiManager/class-wc-plugin-update.php:355
|
470 |
+
msgid "The subscription for %s has been cancelled. You can renew the subscription from your account <a href=\"%s\" target=\"_blank\">dashboard</a>. A new API key will be emailed to you after your order has been completed."
|
471 |
+
msgstr ""
|
472 |
+
|
473 |
+
#: /builds/wpdesk/flexible-checkout-fields/vendor_prefixed/wpdesk/wp-wpdesk-license/src/ApiManager/class-wc-plugin-update.php:366
|
474 |
+
msgid "The subscription for %s has expired. You can reactivate the subscription from your account <a href=\"%s\" target=\"_blank\">dashboard</a>."
|
475 |
+
msgstr ""
|
476 |
+
|
477 |
+
#: /builds/wpdesk/flexible-checkout-fields/vendor_prefixed/wpdesk/wp-wpdesk-license/src/ApiManager/class-wc-plugin-update.php:377
|
478 |
+
msgid "The subscription for %s has been suspended. You can reactivate the subscription from your account <a href=\"%s\" target=\"_blank\">dashboard</a>."
|
479 |
+
msgstr ""
|
480 |
+
|
481 |
+
#: /builds/wpdesk/flexible-checkout-fields/vendor_prefixed/wpdesk/wp-wpdesk-license/src/ApiManager/class-wc-plugin-update.php:388
|
482 |
+
msgid "The subscription for %s is still pending. You can check on the status of the subscription from your account <a href=\"%s\" target=\"_blank\">dashboard</a>."
|
483 |
+
msgstr ""
|
484 |
+
|
485 |
+
#: /builds/wpdesk/flexible-checkout-fields/vendor_prefixed/wpdesk/wp-wpdesk-license/src/ApiManager/class-wc-plugin-update.php:399
|
486 |
+
msgid "The subscription for %s has been placed in the trash and will be deleted soon. You can purchase a new subscription from your account <a href=\"%s\" target=\"_blank\">dashboard</a>."
|
487 |
+
msgstr ""
|
488 |
+
|
489 |
+
#: /builds/wpdesk/flexible-checkout-fields/vendor_prefixed/wpdesk/wp-wpdesk-license/src/ApiManager/class-wc-plugin-update.php:410
|
490 |
+
msgid "A subscription for %s could not be found. You can purchase a subscription from your account <a href=\"%s\" target=\"_blank\">dashboard</a>."
|
491 |
+
msgstr ""
|
492 |
+
|
493 |
+
#: /builds/wpdesk/flexible-checkout-fields/vendor_prefixed/wpdesk/wp-wpdesk-license/src/ApiManager/class-wc-plugin-update.php:421
|
494 |
+
msgid "A API key for %s could not be found. Maybe you forgot to enter a API key when setting up %s, or the key was deactivated in your account. You can reactivate or purchase a subscription key from your account <a href=\"%s\" target=\"_blank\">dashboard</a>."
|
495 |
+
msgstr ""
|
496 |
+
|
497 |
+
#: /builds/wpdesk/flexible-checkout-fields/vendor_prefixed/wpdesk/wp-wpdesk-license/src/ApiManager/class-wc-plugin-update.php:432
|
498 |
+
msgid "Download permission for %s has been revoked possibly due to a API key or subscription expiring. You can reactivate or purchase a API key from your account <a href=\"%s\" target=\"_blank\">dashboard</a>."
|
499 |
+
msgstr ""
|
500 |
+
|
501 |
+
#: /builds/wpdesk/flexible-checkout-fields/vendor_prefixed/wpdesk/wp-wpdesk-license/src/ApiManager/class-wc-plugin-update.php:443
|
502 |
+
msgid "%s has not been activated. Go to the settings page and enter the API key and subscription email to activate %s."
|
503 |
+
msgstr ""
|
504 |
+
|
505 |
+
#: /builds/wpdesk/flexible-checkout-fields/vendor_prefixed/wpdesk/wp-wpdesk-license/src/ApiManager/class-wc-plugin-update.php:454
|
506 |
+
msgid "You changed the subscription for %s, so you will need to enter your new API Key in the settings page. The API Key should have arrived in your email inbox, if not you can get it by logging into your account <a href=\"%s\" target=\"_blank\">dashboard</a>."
|
507 |
+
msgstr ""
|
508 |
+
|
509 |
+
#: /builds/wpdesk/flexible-checkout-fields/vendor_prefixed/wpdesk/wp-wpdesk-license/src/Page/License/Action/LicenseActivation.php:132
|
510 |
+
msgid "Connection failed to the Subscription Key API server. Try again later."
|
511 |
+
msgstr ""
|
512 |
+
|
513 |
+
#: /builds/wpdesk/flexible-checkout-fields/vendor_prefixed/wpdesk/wp-wpdesk-license/src/Page/License/views/class-wpdesk-helper-list-table.php:27
|
514 |
+
msgid "No WP Desk plugins found."
|
515 |
+
msgstr ""
|
516 |
+
|
517 |
+
#: /builds/wpdesk/flexible-checkout-fields/vendor_prefixed/wpdesk/wp-wpdesk-license/src/Page/License/views/class-wpdesk-helper-list-table.php:39
|
518 |
+
msgid "Plugin"
|
519 |
+
msgstr ""
|
520 |
+
|
521 |
+
#: /builds/wpdesk/flexible-checkout-fields/vendor_prefixed/wpdesk/wp-wpdesk-license/src/Page/License/views/class-wpdesk-helper-list-table.php:39
|
522 |
+
msgid "Subscription Status"
|
523 |
+
msgstr ""
|
524 |
+
|
525 |
+
#: /builds/wpdesk/flexible-checkout-fields/vendor_prefixed/wpdesk/wp-wpdesk-license/src/Page/License/views/class-wpdesk-helper-list-table.php:39
|
526 |
+
msgid "Subscription Data"
|
527 |
+
msgstr ""
|
528 |
+
|
529 |
+
#: /builds/wpdesk/flexible-checkout-fields/vendor_prefixed/wpdesk/wp-wpdesk-license/src/Page/License/views/class-wpdesk-helper-list-table.php:56
|
530 |
+
msgid "Deactivated"
|
531 |
+
msgstr ""
|
532 |
+
|
533 |
+
#: /builds/wpdesk/flexible-checkout-fields/vendor_prefixed/wpdesk/wp-wpdesk-license/src/Page/License/views/class-wpdesk-helper-list-table.php:58
|
534 |
+
msgid "Activated"
|
535 |
+
msgstr ""
|
536 |
+
|
537 |
+
#: /builds/wpdesk/flexible-checkout-fields/vendor_prefixed/wpdesk/wp-wpdesk-license/src/Page/License/views/licenses.php:37
|
538 |
+
msgid "Get your subscription keys <a href=\"%s\" target=\"_blank\">here</a>. You can activate/deactivate API keys <strong>unlimited times on different domains</strong> as long as you have an active subscription."
|
539 |
+
msgstr ""
|
540 |
+
|
541 |
+
#: /builds/wpdesk/flexible-checkout-fields/vendor_prefixed/wpdesk/wp-wpdesk-license/src/Page/LicensePage.php:41
|
542 |
+
msgid "Subscriptions"
|
543 |
+
msgstr ""
|
544 |
+
|
545 |
+
#: /builds/wpdesk/flexible-checkout-fields/vendor_prefixed/wpdesk/wp-wpdesk-tracker/src/views/tracker-connect.php:15
|
546 |
+
#: /builds/wpdesk/flexible-checkout-fields/vendor_prefixed/wpdesk/wp-wpdesk-tracker/src/views/tracker-notice.php:13
|
547 |
+
msgid "Hey %s,"
|
548 |
+
msgstr ""
|
549 |
+
|
550 |
+
#: /builds/wpdesk/flexible-checkout-fields/vendor_prefixed/wpdesk/wp-wpdesk-tracker/src/views/tracker-deactivate.php:11
|
551 |
+
msgid "You are deactivating %s plugin."
|
552 |
+
msgstr ""
|
553 |
+
|
554 |
+
#: /builds/wpdesk/flexible-checkout-fields/views/settings-field-advanced.php:6
|
555 |
+
msgid "%sGo PRO →%s to add conditional logic based on products/categories, fields and shipping method."
|
556 |
+
msgstr ""
|
readme.txt
CHANGED
@@ -5,7 +5,7 @@ Donate link: https://www.wpdesk.net/flexible-checkout-fields-woocommerce/
|
|
5 |
Tags: woocommerce checkout fields, woocommerce custom fields, woocommerce checkout manager, woocommerce checkout editor, woocommerce fields manager, woocommerce fields editor, woocommerce custom checkout fields, woocommerce checkout options, woocommerce checkout pro, woocommerce custom sections, woocommerce file upload
|
6 |
Requires at least: 4.5
|
7 |
Tested up to: 5.3.2
|
8 |
-
Stable tag: 2.4.
|
9 |
Requires PHP: 5.6
|
10 |
License: GPLv3 or later
|
11 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
@@ -193,6 +193,12 @@ If you are upgrading from the old WooCommerce Checkout Fields version (1.1, wooc
|
|
193 |
|
194 |
== Changelog ==
|
195 |
|
|
|
|
|
|
|
|
|
|
|
|
|
196 |
= 2.4.2 - 2020-03-12 =
|
197 |
* Fixed error in settings on unknown field type
|
198 |
|
5 |
Tags: woocommerce checkout fields, woocommerce custom fields, woocommerce checkout manager, woocommerce checkout editor, woocommerce fields manager, woocommerce fields editor, woocommerce custom checkout fields, woocommerce checkout options, woocommerce checkout pro, woocommerce custom sections, woocommerce file upload
|
6 |
Requires at least: 4.5
|
7 |
Tested up to: 5.3.2
|
8 |
+
Stable tag: 2.4.3
|
9 |
Requires PHP: 5.6
|
10 |
License: GPLv3 or later
|
11 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
193 |
|
194 |
== Changelog ==
|
195 |
|
196 |
+
= 2.4.3 - 2020-03-12 =
|
197 |
+
* Fixed user profile form
|
198 |
+
* Fixed field name validation
|
199 |
+
* Fixed multiselect value warning
|
200 |
+
* Added ability to display state code
|
201 |
+
|
202 |
= 2.4.2 - 2020-03-12 =
|
203 |
* Fixed error in settings on unknown field type
|
204 |
|
vendor/autoload.php
CHANGED
@@ -4,4 +4,4 @@
|
|
4 |
|
5 |
require_once __DIR__ . '/composer/autoload_real.php';
|
6 |
|
7 |
-
return
|
4 |
|
5 |
require_once __DIR__ . '/composer/autoload_real.php';
|
6 |
|
7 |
+
return ComposerAutoloaderInit192f3a5e03c297a798c991607be4250d::getLoader();
|
vendor/composer/autoload_classmap.php
CHANGED
@@ -232,7 +232,7 @@ return array(
|
|
232 |
'Flexible_Checkout_Fields_Disaplay_Options' => $baseDir . '/classes/display-options.php',
|
233 |
'Flexible_Checkout_Fields_Field' => $baseDir . '/classes/field.php',
|
234 |
'Flexible_Checkout_Fields_Field_Options' => $baseDir . '/classes/field-options.php',
|
235 |
-
'
|
236 |
'Flexible_Checkout_Fields_Field_Validation' => $baseDir . '/classes/filed-validation.php',
|
237 |
'Flexible_Checkout_Fields_Myaccount_Edit_Address' => $baseDir . '/classes/myaccount-edit-address.php',
|
238 |
'Flexible_Checkout_Fields_Myaccount_Field_Processor' => $baseDir . '/classes/myaccount-filed-processor.php',
|
232 |
'Flexible_Checkout_Fields_Disaplay_Options' => $baseDir . '/classes/display-options.php',
|
233 |
'Flexible_Checkout_Fields_Field' => $baseDir . '/classes/field.php',
|
234 |
'Flexible_Checkout_Fields_Field_Options' => $baseDir . '/classes/field-options.php',
|
235 |
+
'Flexible_Checkout_Fields_Field_Type_Settings' => $baseDir . '/classes/field-type-settings.php',
|
236 |
'Flexible_Checkout_Fields_Field_Validation' => $baseDir . '/classes/filed-validation.php',
|
237 |
'Flexible_Checkout_Fields_Myaccount_Edit_Address' => $baseDir . '/classes/myaccount-edit-address.php',
|
238 |
'Flexible_Checkout_Fields_Myaccount_Field_Processor' => $baseDir . '/classes/myaccount-filed-processor.php',
|
vendor/composer/autoload_real.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
|
3 |
// autoload_real.php @generated by Composer
|
4 |
|
5 |
-
class
|
6 |
{
|
7 |
private static $loader;
|
8 |
|
@@ -19,15 +19,15 @@ class ComposerAutoloaderInit7cd9e3397b9e8ab13c9b1c9764aaedbd
|
|
19 |
return self::$loader;
|
20 |
}
|
21 |
|
22 |
-
spl_autoload_register(array('
|
23 |
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
|
24 |
-
spl_autoload_unregister(array('
|
25 |
|
26 |
$useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
|
27 |
if ($useStaticLoader) {
|
28 |
require_once __DIR__ . '/autoload_static.php';
|
29 |
|
30 |
-
call_user_func(\Composer\Autoload\
|
31 |
} else {
|
32 |
$map = require __DIR__ . '/autoload_namespaces.php';
|
33 |
foreach ($map as $namespace => $path) {
|
2 |
|
3 |
// autoload_real.php @generated by Composer
|
4 |
|
5 |
+
class ComposerAutoloaderInit192f3a5e03c297a798c991607be4250d
|
6 |
{
|
7 |
private static $loader;
|
8 |
|
19 |
return self::$loader;
|
20 |
}
|
21 |
|
22 |
+
spl_autoload_register(array('ComposerAutoloaderInit192f3a5e03c297a798c991607be4250d', 'loadClassLoader'), true, true);
|
23 |
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
|
24 |
+
spl_autoload_unregister(array('ComposerAutoloaderInit192f3a5e03c297a798c991607be4250d', 'loadClassLoader'));
|
25 |
|
26 |
$useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
|
27 |
if ($useStaticLoader) {
|
28 |
require_once __DIR__ . '/autoload_static.php';
|
29 |
|
30 |
+
call_user_func(\Composer\Autoload\ComposerStaticInit192f3a5e03c297a798c991607be4250d::getInitializer($loader));
|
31 |
} else {
|
32 |
$map = require __DIR__ . '/autoload_namespaces.php';
|
33 |
foreach ($map as $namespace => $path) {
|
vendor/composer/autoload_static.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
|
5 |
namespace Composer\Autoload;
|
6 |
|
7 |
-
class
|
8 |
{
|
9 |
public static $prefixLengthsPsr4 = array (
|
10 |
'P' =>
|
@@ -247,7 +247,7 @@ class ComposerStaticInit7cd9e3397b9e8ab13c9b1c9764aaedbd
|
|
247 |
'Flexible_Checkout_Fields_Disaplay_Options' => __DIR__ . '/../..' . '/classes/display-options.php',
|
248 |
'Flexible_Checkout_Fields_Field' => __DIR__ . '/../..' . '/classes/field.php',
|
249 |
'Flexible_Checkout_Fields_Field_Options' => __DIR__ . '/../..' . '/classes/field-options.php',
|
250 |
-
'
|
251 |
'Flexible_Checkout_Fields_Field_Validation' => __DIR__ . '/../..' . '/classes/filed-validation.php',
|
252 |
'Flexible_Checkout_Fields_Myaccount_Edit_Address' => __DIR__ . '/../..' . '/classes/myaccount-edit-address.php',
|
253 |
'Flexible_Checkout_Fields_Myaccount_Field_Processor' => __DIR__ . '/../..' . '/classes/myaccount-filed-processor.php',
|
@@ -276,9 +276,9 @@ class ComposerStaticInit7cd9e3397b9e8ab13c9b1c9764aaedbd
|
|
276 |
public static function getInitializer(ClassLoader $loader)
|
277 |
{
|
278 |
return \Closure::bind(function () use ($loader) {
|
279 |
-
$loader->prefixLengthsPsr4 =
|
280 |
-
$loader->prefixDirsPsr4 =
|
281 |
-
$loader->classMap =
|
282 |
|
283 |
}, null, ClassLoader::class);
|
284 |
}
|
4 |
|
5 |
namespace Composer\Autoload;
|
6 |
|
7 |
+
class ComposerStaticInit192f3a5e03c297a798c991607be4250d
|
8 |
{
|
9 |
public static $prefixLengthsPsr4 = array (
|
10 |
'P' =>
|
247 |
'Flexible_Checkout_Fields_Disaplay_Options' => __DIR__ . '/../..' . '/classes/display-options.php',
|
248 |
'Flexible_Checkout_Fields_Field' => __DIR__ . '/../..' . '/classes/field.php',
|
249 |
'Flexible_Checkout_Fields_Field_Options' => __DIR__ . '/../..' . '/classes/field-options.php',
|
250 |
+
'Flexible_Checkout_Fields_Field_Type_Settings' => __DIR__ . '/../..' . '/classes/field-type-settings.php',
|
251 |
'Flexible_Checkout_Fields_Field_Validation' => __DIR__ . '/../..' . '/classes/filed-validation.php',
|
252 |
'Flexible_Checkout_Fields_Myaccount_Edit_Address' => __DIR__ . '/../..' . '/classes/myaccount-edit-address.php',
|
253 |
'Flexible_Checkout_Fields_Myaccount_Field_Processor' => __DIR__ . '/../..' . '/classes/myaccount-filed-processor.php',
|
276 |
public static function getInitializer(ClassLoader $loader)
|
277 |
{
|
278 |
return \Closure::bind(function () use ($loader) {
|
279 |
+
$loader->prefixLengthsPsr4 = ComposerStaticInit192f3a5e03c297a798c991607be4250d::$prefixLengthsPsr4;
|
280 |
+
$loader->prefixDirsPsr4 = ComposerStaticInit192f3a5e03c297a798c991607be4250d::$prefixDirsPsr4;
|
281 |
+
$loader->classMap = ComposerStaticInit192f3a5e03c297a798c991607be4250d::$classMap;
|
282 |
|
283 |
}, null, ClassLoader::class);
|
284 |
}
|
vendor_prefixed/wpdesk/wp-basic-requirements/src/Basic_Requirement_Checker_Factory.php
CHANGED
@@ -13,7 +13,7 @@ if (!\class_exists('FcfVendor\\WPDesk_Basic_Requirement_Checker_With_Update_Disa
|
|
13 |
*/
|
14 |
class WPDesk_Basic_Requirement_Checker_Factory
|
15 |
{
|
16 |
-
const LIBRARY_TEXT_DOMAIN = '
|
17 |
/**
|
18 |
* Creates a simplest possible version of requirement checker.
|
19 |
*
|
13 |
*/
|
14 |
class WPDesk_Basic_Requirement_Checker_Factory
|
15 |
{
|
16 |
+
const LIBRARY_TEXT_DOMAIN = 'flexible-checkout-fields';
|
17 |
/**
|
18 |
* Creates a simplest possible version of requirement checker.
|
19 |
*
|
vendor_prefixed/wpdesk/wp-plugin-flow/src/PluginBootstrap.php
CHANGED
@@ -11,7 +11,7 @@ use FcfVendor\WPDesk\Plugin\Flow\Initialization\InitializationFactory;
|
|
11 |
*/
|
12 |
final class PluginBootstrap
|
13 |
{
|
14 |
-
const LIBRARY_TEXT_DOMAIN = '
|
15 |
const PRIORITY_BEFORE_SHARED_CLASS_LOADER = -40;
|
16 |
/** @var string */
|
17 |
private $plugin_version;
|
11 |
*/
|
12 |
final class PluginBootstrap
|
13 |
{
|
14 |
+
const LIBRARY_TEXT_DOMAIN = 'flexible-checkout-fields';
|
15 |
const PRIORITY_BEFORE_SHARED_CLASS_LOADER = -40;
|
16 |
/** @var string */
|
17 |
private $plugin_version;
|
vendor_prefixed/wpdesk/wp-wpdesk-helper/src/HelperRemoveNotice.php
CHANGED
@@ -40,7 +40,7 @@ class HelperRemoveInfo
|
|
40 |
if (\function_exists('wp_nonce_url') && \function_exists('wp_create_nonce')) {
|
41 |
$remove_url = \wp_nonce_url($remove_url, 'deactivate-plugin_' . $this->plugin_file);
|
42 |
}
|
43 |
-
new \FcfVendor\WPDesk\Notice\Notice(\sprintf(\__('We recommend to <a href="%s">deactivate and remove</a> the "WP Desk Helper" plugin as it is no longer required by WP Desk plugins', '
|
44 |
}
|
45 |
/**
|
46 |
* Show notice with remove helper info and url
|
@@ -53,6 +53,6 @@ class HelperRemoveInfo
|
|
53 |
if (\function_exists('wp_nonce_url') && \function_exists('wp_create_nonce')) {
|
54 |
$remove_url = \wp_nonce_url($remove_url, 'bulk-plugins');
|
55 |
}
|
56 |
-
new \FcfVendor\WPDesk\Notice\Notice(\sprintf(\__('We recommend to <a href="%s">remove</a> the "WP Desk Helper" plugin as it is no longer required by WP Desk plugins', '
|
57 |
}
|
58 |
}
|
40 |
if (\function_exists('wp_nonce_url') && \function_exists('wp_create_nonce')) {
|
41 |
$remove_url = \wp_nonce_url($remove_url, 'deactivate-plugin_' . $this->plugin_file);
|
42 |
}
|
43 |
+
new \FcfVendor\WPDesk\Notice\Notice(\sprintf(\__('We recommend to <a href="%s">deactivate and remove</a> the "WP Desk Helper" plugin as it is no longer required by WP Desk plugins', 'flexible-checkout-fields'), $remove_url));
|
44 |
}
|
45 |
/**
|
46 |
* Show notice with remove helper info and url
|
53 |
if (\function_exists('wp_nonce_url') && \function_exists('wp_create_nonce')) {
|
54 |
$remove_url = \wp_nonce_url($remove_url, 'bulk-plugins');
|
55 |
}
|
56 |
+
new \FcfVendor\WPDesk\Notice\Notice(\sprintf(\__('We recommend to <a href="%s">remove</a> the "WP Desk Helper" plugin as it is no longer required by WP Desk plugins', 'flexible-checkout-fields'), $remove_url));
|
57 |
}
|
58 |
}
|
vendor_prefixed/wpdesk/wp-wpdesk-helper/src/Integration/LogsIntegration.php
CHANGED
@@ -33,8 +33,8 @@ class LogsIntegration implements \FcfVendor\WPDesk\PluginBuilder\Plugin\Hookable
|
|
33 |
}
|
34 |
private function handle_page_settings_logs_section()
|
35 |
{
|
36 |
-
\add_settings_section('wpdesk_helper_debug', \__('Debug', '
|
37 |
-
\add_settings_field(self::DEBUG_LOG_SETTING_KEY, \__('WP Desk Debug Log', '
|
38 |
$this->handle_render_page_settings_log_section();
|
39 |
}, $this->settings_page->get_page_name(), 'wpdesk_helper_debug');
|
40 |
}
|
@@ -57,11 +57,11 @@ class LogsIntegration implements \FcfVendor\WPDesk\PluginBuilder\Plugin\Hookable
|
|
57 |
<label for="wpdesk_helper_options[<?php
|
58 |
echo self::DEBUG_LOG_SETTING_KEY;
|
59 |
?>]"><?php
|
60 |
-
\_e('Enable', '
|
61 |
?></label>
|
62 |
<p class="description" id="admin-email-description">
|
63 |
<?php
|
64 |
-
echo \sprintf(\__('Writes error log to %s.', '
|
65 |
?>
|
66 |
</p>
|
67 |
<?php
|
@@ -89,7 +89,7 @@ class LogsIntegration implements \FcfVendor\WPDesk\PluginBuilder\Plugin\Hookable
|
|
89 |
if (\apply_filters('wpdesk_helper_show_log_notices_library', \true)) {
|
90 |
new \FcfVendor\WPDesk\Notice\Notice(\sprintf(
|
91 |
// Translators: link.
|
92 |
-
\__('WP Desk Debug Log is enabled. %1$sPlease disable it after testing%2$s.', '
|
93 |
'<a href="' . \admin_url('admin.php?page=wpdesk-helper-settings') . '">',
|
94 |
'</a>'
|
95 |
), \FcfVendor\WPDesk\Notice\Notice::NOTICE_TYPE_INFO);
|
33 |
}
|
34 |
private function handle_page_settings_logs_section()
|
35 |
{
|
36 |
+
\add_settings_section('wpdesk_helper_debug', \__('Debug', 'flexible-checkout-fields'), null, $this->settings_page->get_page_name());
|
37 |
+
\add_settings_field(self::DEBUG_LOG_SETTING_KEY, \__('WP Desk Debug Log', 'flexible-checkout-fields'), function () {
|
38 |
$this->handle_render_page_settings_log_section();
|
39 |
}, $this->settings_page->get_page_name(), 'wpdesk_helper_debug');
|
40 |
}
|
57 |
<label for="wpdesk_helper_options[<?php
|
58 |
echo self::DEBUG_LOG_SETTING_KEY;
|
59 |
?>]"><?php
|
60 |
+
\_e('Enable', 'flexible-checkout-fields');
|
61 |
?></label>
|
62 |
<p class="description" id="admin-email-description">
|
63 |
<?php
|
64 |
+
echo \sprintf(\__('Writes error log to %s.', 'flexible-checkout-fields'), '<a target="_blank" href="' . \content_url('uploads/wpdesk-logs/wpdesk_debug.log') . '">' . \content_url('uploads/wpdesk-logs/wpdesk_debug.log') . '</a>');
|
65 |
?>
|
66 |
</p>
|
67 |
<?php
|
89 |
if (\apply_filters('wpdesk_helper_show_log_notices_library', \true)) {
|
90 |
new \FcfVendor\WPDesk\Notice\Notice(\sprintf(
|
91 |
// Translators: link.
|
92 |
+
\__('WP Desk Debug Log is enabled. %1$sPlease disable it after testing%2$s.', 'flexible-checkout-fields'),
|
93 |
'<a href="' . \admin_url('admin.php?page=wpdesk-helper-settings') . '">',
|
94 |
'</a>'
|
95 |
), \FcfVendor\WPDesk\Notice\Notice::NOTICE_TYPE_INFO);
|
vendor_prefixed/wpdesk/wp-wpdesk-helper/src/Integration/TrackerIntegration.php
CHANGED
@@ -48,8 +48,8 @@ class TrackerIntegration implements \FcfVendor\WPDesk\PluginBuilder\Plugin\Hooka
|
|
48 |
*/
|
49 |
private function handle_page_settings_track_section()
|
50 |
{
|
51 |
-
\add_settings_section('wpdesk_helper_tracking', \__('Plugin usage tracking', '
|
52 |
-
\add_settings_field('wpdesk_tracker_agree', \__('Allow WP Desk to track plugin usage', '
|
53 |
$this->handle_render_page_settings_track_section();
|
54 |
}, $this->settings_page->get_page_name(), 'wpdesk_helper_tracking');
|
55 |
}
|
@@ -68,12 +68,12 @@ class TrackerIntegration implements \FcfVendor\WPDesk\PluginBuilder\Plugin\Hooka
|
|
68 |
\checked(1, $options['wpdesk_tracker_agree'], \true);
|
69 |
?>>
|
70 |
<label for="wpdesk_helper_options[wpdesk_tracker_agree]"><?php
|
71 |
-
\_e('Enable', '
|
72 |
?></label>
|
73 |
<p class="description" id="admin-email-description">
|
74 |
<?php
|
75 |
$terms_url = \get_locale() === 'pl_PL' ? 'https://www.wpdesk.pl/dane-uzytkowania/' : 'https://www.wpdesk.net/usage-tracking/';
|
76 |
-
\printf(\__('No sensitive data is tracked, %sread more%s.', '
|
77 |
?>
|
78 |
</p>
|
79 |
<?php
|
48 |
*/
|
49 |
private function handle_page_settings_track_section()
|
50 |
{
|
51 |
+
\add_settings_section('wpdesk_helper_tracking', \__('Plugin usage tracking', 'flexible-checkout-fields'), null, $this->settings_page->get_page_name());
|
52 |
+
\add_settings_field('wpdesk_tracker_agree', \__('Allow WP Desk to track plugin usage', 'flexible-checkout-fields'), function () {
|
53 |
$this->handle_render_page_settings_track_section();
|
54 |
}, $this->settings_page->get_page_name(), 'wpdesk_helper_tracking');
|
55 |
}
|
68 |
\checked(1, $options['wpdesk_tracker_agree'], \true);
|
69 |
?>>
|
70 |
<label for="wpdesk_helper_options[wpdesk_tracker_agree]"><?php
|
71 |
+
\_e('Enable', 'flexible-checkout-fields');
|
72 |
?></label>
|
73 |
<p class="description" id="admin-email-description">
|
74 |
<?php
|
75 |
$terms_url = \get_locale() === 'pl_PL' ? 'https://www.wpdesk.pl/dane-uzytkowania/' : 'https://www.wpdesk.net/usage-tracking/';
|
76 |
+
\printf(\__('No sensitive data is tracked, %sread more%s.', 'flexible-checkout-fields'), '<a target="_blank" href="' . $terms_url . '">', '</a>');
|
77 |
?>
|
78 |
</p>
|
79 |
<?php
|
vendor_prefixed/wpdesk/wp-wpdesk-helper/src/Page/LibraryDebugPage.php
CHANGED
@@ -26,7 +26,7 @@ class LibraryDebugPage implements \FcfVendor\WPDesk\PluginBuilder\Plugin\Hookabl
|
|
26 |
if ($menu_visible) {
|
27 |
$parent_slug = 'wpdesk-helper';
|
28 |
}
|
29 |
-
\add_submenu_page($parent_slug, \__('Library report', '
|
30 |
$this->handle_render_library_report_page();
|
31 |
});
|
32 |
}, self::PRIOTITY_LONG_AFTER_ALL_IS_LOADED);
|
26 |
if ($menu_visible) {
|
27 |
$parent_slug = 'wpdesk-helper';
|
28 |
}
|
29 |
+
\add_submenu_page($parent_slug, \__('Library report', 'flexible-checkout-fields'), \__('Library report', 'flexible-checkout-fields'), 'manage_options', 'wpdesk-helper-library-report', function () {
|
30 |
$this->handle_render_library_report_page();
|
31 |
});
|
32 |
}, self::PRIOTITY_LONG_AFTER_ALL_IS_LOADED);
|
vendor_prefixed/wpdesk/wp-wpdesk-helper/src/Page/SettingsPage.php
CHANGED
@@ -43,7 +43,7 @@ class SettingsPage implements \FcfVendor\WPDesk\PluginBuilder\Plugin\Hookable
|
|
43 |
*/
|
44 |
private function handle_add_settings_menu()
|
45 |
{
|
46 |
-
\add_submenu_page('wpdesk-helper', \__('Settings', '
|
47 |
$this->handle_render_wpdesk_helper_settings();
|
48 |
});
|
49 |
}
|
@@ -55,7 +55,7 @@ class SettingsPage implements \FcfVendor\WPDesk\PluginBuilder\Plugin\Hookable
|
|
55 |
?>
|
56 |
<div class="wrap">
|
57 |
<h1><?php
|
58 |
-
\_e('WP Desk Helper Settings', '
|
59 |
?></h1>
|
60 |
<form method="post" action="options.php">
|
61 |
<?php
|
43 |
*/
|
44 |
private function handle_add_settings_menu()
|
45 |
{
|
46 |
+
\add_submenu_page('wpdesk-helper', \__('Settings', 'flexible-checkout-fields'), \__('Settings', 'flexible-checkout-fields'), 'manage_options', 'wpdesk-helper-settings', function () {
|
47 |
$this->handle_render_wpdesk_helper_settings();
|
48 |
});
|
49 |
}
|
55 |
?>
|
56 |
<div class="wrap">
|
57 |
<h1><?php
|
58 |
+
\_e('WP Desk Helper Settings', 'flexible-checkout-fields');
|
59 |
?></h1>
|
60 |
<form method="post" action="options.php">
|
61 |
<?php
|
vendor_prefixed/wpdesk/wp-wpdesk-helper/src/PrefixedHelperAsLibrary.php
CHANGED
@@ -19,7 +19,7 @@ use FcfVendor\WPDesk\PluginBuilder\Plugin\Hookable;
|
|
19 |
*/
|
20 |
class PrefixedHelperAsLibrary implements \FcfVendor\WPDesk\PluginBuilder\Plugin\Hookable
|
21 |
{
|
22 |
-
const LIBRARY_TEXT_DOMAIN = '
|
23 |
const MAIN_WPDESK_MENU_POSITION = 99.99941337;
|
24 |
const PRIORITY_AFTER_WPDESK_MENU_REMOVAL = 15;
|
25 |
const PRIORITY_AFTER_ALL = 200;
|
19 |
*/
|
20 |
class PrefixedHelperAsLibrary implements \FcfVendor\WPDesk\PluginBuilder\Plugin\Hookable
|
21 |
{
|
22 |
+
const LIBRARY_TEXT_DOMAIN = 'flexible-checkout-fields';
|
23 |
const MAIN_WPDESK_MENU_POSITION = 99.99941337;
|
24 |
const PRIORITY_AFTER_WPDESK_MENU_REMOVAL = 15;
|
25 |
const PRIORITY_AFTER_ALL = 200;
|
vendor_prefixed/wpdesk/wp-wpdesk-license/src/ApiManager/class-wc-api-manager.php
CHANGED
@@ -42,7 +42,7 @@ if (!\class_exists('FcfVendor\\WPDesk_API_Manager_With_Update_Flag')) {
|
|
42 |
* http://markjaquith.wordpress.com/2011/10/06/translating-wordpress-plugins-and-themes-dont-get-clever/
|
43 |
* http://ottopress.com/2012/internationalization-youre-probably-doing-it-wrong/
|
44 |
*/
|
45 |
-
public $text_domain = '
|
46 |
/**
|
47 |
* @var string
|
48 |
*/
|
@@ -206,7 +206,7 @@ if (!\class_exists('FcfVendor\\WPDesk_API_Manager_With_Update_Flag')) {
|
|
206 |
{
|
207 |
\add_action('in_plugin_update_message-' . $this->plugin_name, function (array $plugin_data, \stdClass $response) {
|
208 |
if (isset($response, $response->package) && empty($response->package)) {
|
209 |
-
echo \sprintf(\__(" <a target='_blank' href='%s'>Enter a valid subscription key for automatic updates.</a>", '
|
210 |
}
|
211 |
}, 10, 2);
|
212 |
}
|
42 |
* http://markjaquith.wordpress.com/2011/10/06/translating-wordpress-plugins-and-themes-dont-get-clever/
|
43 |
* http://ottopress.com/2012/internationalization-youre-probably-doing-it-wrong/
|
44 |
*/
|
45 |
+
public $text_domain = 'flexible-checkout-fields';
|
46 |
/**
|
47 |
* @var string
|
48 |
*/
|
206 |
{
|
207 |
\add_action('in_plugin_update_message-' . $this->plugin_name, function (array $plugin_data, \stdClass $response) {
|
208 |
if (isset($response, $response->package) && empty($response->package)) {
|
209 |
+
echo \sprintf(\__(" <a target='_blank' href='%s'>Enter a valid subscription key for automatic updates.</a>", 'flexible-checkout-fields'), \admin_url('admin.php?page=wpdesk-licenses'));
|
210 |
}
|
211 |
}, 10, 2);
|
212 |
}
|
vendor_prefixed/wpdesk/wp-wpdesk-license/src/Page/License/Action/LicenseActivation.php
CHANGED
@@ -129,7 +129,7 @@ class LicenseActivation implements \FcfVendor\WPDesk\License\Page\Action
|
|
129 |
*/
|
130 |
private function show_unknown_error()
|
131 |
{
|
132 |
-
\add_settings_error('api_key_check_text', 'api_key_check_error', \__('Connection failed to the Subscription Key API server. Try again later.', '
|
133 |
}
|
134 |
/**
|
135 |
* Show activation message.
|
@@ -138,7 +138,7 @@ class LicenseActivation implements \FcfVendor\WPDesk\License\Page\Action
|
|
138 |
*/
|
139 |
private function show_activation_message(array $activate_results)
|
140 |
{
|
141 |
-
\add_settings_error('activate_text', 'activate_msg', \__('Plugin activated. ', '
|
142 |
}
|
143 |
/**
|
144 |
* Activate license.
|
129 |
*/
|
130 |
private function show_unknown_error()
|
131 |
{
|
132 |
+
\add_settings_error('api_key_check_text', 'api_key_check_error', \__('Connection failed to the Subscription Key API server. Try again later.', 'flexible-checkout-fields'), 'error');
|
133 |
}
|
134 |
/**
|
135 |
* Show activation message.
|
138 |
*/
|
139 |
private function show_activation_message(array $activate_results)
|
140 |
{
|
141 |
+
\add_settings_error('activate_text', 'activate_msg', \__('Plugin activated. ', 'flexible-checkout-fields') . "{$activate_results['message']}.", 'updated');
|
142 |
}
|
143 |
/**
|
144 |
* Activate license.
|
vendor_prefixed/wpdesk/wp-wpdesk-license/src/Page/License/Action/LicenseDeactivation.php
CHANGED
@@ -28,7 +28,7 @@ class LicenseDeactivation implements \FcfVendor\WPDesk\License\Page\Action
|
|
28 |
\update_option($plugin['api_manager']->data_key, $merge_options);
|
29 |
\update_option($plugin['api_manager']->activated_key, 'Deactivated');
|
30 |
\delete_option($plugin['api_manager']->upgrade_url_key);
|
31 |
-
\add_settings_error('wc_am_deactivate_text', 'deactivate_msg', \__('Plugin subscription deactivated. ', '
|
32 |
$deactivated = \true;
|
33 |
$plugin_wpdesk_name = $plugin['plugin'];
|
34 |
$plugin_product_id = $plugin['product_id'];
|
28 |
\update_option($plugin['api_manager']->data_key, $merge_options);
|
29 |
\update_option($plugin['api_manager']->activated_key, 'Deactivated');
|
30 |
\delete_option($plugin['api_manager']->upgrade_url_key);
|
31 |
+
\add_settings_error('wc_am_deactivate_text', 'deactivate_msg', \__('Plugin subscription deactivated. ', 'flexible-checkout-fields') . "{$activate_results['activations_remaining']}.", 'updated');
|
32 |
$deactivated = \true;
|
33 |
$plugin_wpdesk_name = $plugin['plugin'];
|
34 |
$plugin_product_id = $plugin['product_id'];
|
vendor_prefixed/wpdesk/wp-wpdesk-license/src/Page/License/views/class-wpdesk-helper-list-table.php
CHANGED
@@ -24,7 +24,7 @@ class WPDesk_Helper_List_Table extends \WP_List_Table
|
|
24 |
}
|
25 |
public function no_items()
|
26 |
{
|
27 |
-
echo \wpautop(\__('No WP Desk plugins found.', '
|
28 |
}
|
29 |
public function column_default($item, $column_name)
|
30 |
{
|
@@ -36,7 +36,7 @@ class WPDesk_Helper_List_Table extends \WP_List_Table
|
|
36 |
}
|
37 |
public function get_columns()
|
38 |
{
|
39 |
-
$columns = ['product_name' => \__('Plugin', '
|
40 |
return $columns;
|
41 |
}
|
42 |
public function column_plugin_data($item)
|
@@ -53,9 +53,9 @@ class WPDesk_Helper_List_Table extends \WP_List_Table
|
|
53 |
}
|
54 |
public function column_product_status($item)
|
55 |
{
|
56 |
-
$status = \__('Deactivated', '
|
57 |
if ($item['activation_status'] == 'Activated') {
|
58 |
-
$status = \__('Activated', '
|
59 |
}
|
60 |
return $status;
|
61 |
}
|
24 |
}
|
25 |
public function no_items()
|
26 |
{
|
27 |
+
echo \wpautop(\__('No WP Desk plugins found.', 'flexible-checkout-fields'));
|
28 |
}
|
29 |
public function column_default($item, $column_name)
|
30 |
{
|
36 |
}
|
37 |
public function get_columns()
|
38 |
{
|
39 |
+
$columns = ['product_name' => \__('Plugin', 'flexible-checkout-fields'), 'product_status' => \__('Subscription Status', 'flexible-checkout-fields'), 'product_license' => \__('Subscription Data', 'flexible-checkout-fields')];
|
40 |
return $columns;
|
41 |
}
|
42 |
public function column_plugin_data($item)
|
53 |
}
|
54 |
public function column_product_status($item)
|
55 |
{
|
56 |
+
$status = \__('Deactivated', 'flexible-checkout-fields');
|
57 |
if ($item['activation_status'] == 'Activated') {
|
58 |
+
$status = \__('Activated', 'flexible-checkout-fields');
|
59 |
}
|
60 |
return $status;
|
61 |
}
|
vendor_prefixed/wpdesk/wp-wpdesk-license/src/Page/License/views/license-actions.php
CHANGED
@@ -11,7 +11,7 @@ if (!\defined('ABSPATH')) {
|
|
11 |
<table class="wpdesk_helper_key_table">
|
12 |
<tr>
|
13 |
<td><?php
|
14 |
-
\_e('Key:', '
|
15 |
?></td>
|
16 |
<td><input class="wpdesk_helper_input" name="api_key" type="text"
|
17 |
value="<?php
|
@@ -22,7 +22,7 @@ echo $disabled;
|
|
22 |
</tr>
|
23 |
<tr>
|
24 |
<td><?php
|
25 |
-
\_e('Email:', '
|
26 |
?></td>
|
27 |
<td><input class="wpdesk_helper_input" name="activation_email" type="email"
|
28 |
value="<?php
|
@@ -38,13 +38,13 @@ echo $disabled;
|
|
38 |
if ($activation_status == 'Deactivated') {
|
39 |
?>
|
40 |
<button class="wpdesk_helper_button button button-primary"><?php
|
41 |
-
\_e('Activate', '
|
42 |
?></button>
|
43 |
<?php
|
44 |
} else {
|
45 |
?>
|
46 |
<button class="wpdesk_helper_button button"><?php
|
47 |
-
\_e('Deactivate', '
|
48 |
?></button>
|
49 |
<?php
|
50 |
}
|
11 |
<table class="wpdesk_helper_key_table">
|
12 |
<tr>
|
13 |
<td><?php
|
14 |
+
\_e('Key:', 'flexible-checkout-fields');
|
15 |
?></td>
|
16 |
<td><input class="wpdesk_helper_input" name="api_key" type="text"
|
17 |
value="<?php
|
22 |
</tr>
|
23 |
<tr>
|
24 |
<td><?php
|
25 |
+
\_e('Email:', 'flexible-checkout-fields');
|
26 |
?></td>
|
27 |
<td><input class="wpdesk_helper_input" name="activation_email" type="email"
|
28 |
value="<?php
|
38 |
if ($activation_status == 'Deactivated') {
|
39 |
?>
|
40 |
<button class="wpdesk_helper_button button button-primary"><?php
|
41 |
+
\_e('Activate', 'flexible-checkout-fields');
|
42 |
?></button>
|
43 |
<?php
|
44 |
} else {
|
45 |
?>
|
46 |
<button class="wpdesk_helper_button button"><?php
|
47 |
+
\_e('Deactivate', 'flexible-checkout-fields');
|
48 |
?></button>
|
49 |
<?php
|
50 |
}
|
vendor_prefixed/wpdesk/wp-wpdesk-license/src/Page/License/views/licenses.php
CHANGED
@@ -24,7 +24,7 @@ if (!\defined('ABSPATH')) {
|
|
24 |
?>
|
25 |
|
26 |
<h1><?php
|
27 |
-
\_e('WP Desk Subscriptions', '
|
28 |
?></h1>
|
29 |
|
30 |
<p class="mb0">
|
@@ -34,7 +34,7 @@ if (\get_locale() === 'pl_PL') {
|
|
34 |
} else {
|
35 |
$url = 'https://www.wpdesk.net/my-account/';
|
36 |
}
|
37 |
-
$link = \sprintf(\__('Get your subscription keys <a href="%s" target="_blank">here</a>. You can activate/deactivate API keys <strong>unlimited times on different domains</strong> as long as you have an active subscription.', '
|
38 |
echo $link;
|
39 |
?>
|
40 |
</p>
|
24 |
?>
|
25 |
|
26 |
<h1><?php
|
27 |
+
\_e('WP Desk Subscriptions', 'flexible-checkout-fields');
|
28 |
?></h1>
|
29 |
|
30 |
<p class="mb0">
|
34 |
} else {
|
35 |
$url = 'https://www.wpdesk.net/my-account/';
|
36 |
}
|
37 |
+
$link = \sprintf(\__('Get your subscription keys <a href="%s" target="_blank">here</a>. You can activate/deactivate API keys <strong>unlimited times on different domains</strong> as long as you have an active subscription.', 'flexible-checkout-fields'), \esc_url($url));
|
38 |
echo $link;
|
39 |
?>
|
40 |
</p>
|
vendor_prefixed/wpdesk/wp-wpdesk-license/src/Page/LicensePage.php
CHANGED
@@ -38,7 +38,7 @@ class LicensePage implements \FcfVendor\WPDesk\PluginBuilder\Plugin\Hookable
|
|
38 |
*/
|
39 |
public function handle_add_page_submenu_item()
|
40 |
{
|
41 |
-
\add_submenu_page('wpdesk-helper', \__('Subscriptions', '
|
42 |
}
|
43 |
/**
|
44 |
* Renders license page.
|
38 |
*/
|
39 |
public function handle_add_page_submenu_item()
|
40 |
{
|
41 |
+
\add_submenu_page('wpdesk-helper', \__('Subscriptions', 'flexible-checkout-fields'), \__('Subscriptions', 'flexible-checkout-fields'), 'manage_options', self::PAGE_SLUG, [$this, 'handle_render_wpdesk_licenses_page']);
|
42 |
}
|
43 |
/**
|
44 |
* Renders license page.
|
vendor_prefixed/wpdesk/wp-wpdesk-tracker/src/views/tracker-connect.php
CHANGED
@@ -12,10 +12,10 @@ if (!\defined('ABSPATH')) {
|
|
12 |
|
13 |
<p>
|
14 |
<?php
|
15 |
-
\printf(\__('Hey %s,', '
|
16 |
?><br/>
|
17 |
<?php
|
18 |
-
\_e('Please help us improve our plugins! If you opt-in, we will collect some non-sensitive data and usage information anonymously. If you skip this, that\'s okay! All plugins will work just fine.', '
|
19 |
?>
|
20 |
</p>
|
21 |
</div>
|
@@ -24,19 +24,19 @@ if (!\defined('ABSPATH')) {
|
|
24 |
<a id="wpdesk_tracker_allow_button" href="<?php
|
25 |
echo $allow_url;
|
26 |
?>" class="button button-primary button-allow button-large"><?php
|
27 |
-
\_e('Allow & Continue →', '
|
28 |
?></a>
|
29 |
<a href="<?php
|
30 |
echo $skip_url;
|
31 |
?>" class="button button-secondary"><?php
|
32 |
-
\_e('Skip', '
|
33 |
?></a>
|
34 |
<div class="clear"></div>
|
35 |
</div>
|
36 |
|
37 |
<div class="permissions">
|
38 |
<a class="trigger" href="#"><?php
|
39 |
-
\_e('What permissions are being granted?', '
|
40 |
?></a>
|
41 |
|
42 |
<div class="permissions-details">
|
@@ -45,10 +45,10 @@ echo $skip_url;
|
|
45 |
<i class="dashicons dashicons-admin-settings"></i>
|
46 |
<div>
|
47 |
<span><?php
|
48 |
-
\_e('Your Site Overview', '
|
49 |
?></span>
|
50 |
<p><?php
|
51 |
-
\_e('WP version, PHP info', '
|
52 |
?></p>
|
53 |
</div>
|
54 |
</li>
|
@@ -56,10 +56,10 @@ echo $skip_url;
|
|
56 |
<i class="dashicons dashicons-admin-plugins"></i>
|
57 |
<div>
|
58 |
<span><?php
|
59 |
-
\_e('Plugin Usage', '
|
60 |
?></span>
|
61 |
<p><?php
|
62 |
-
\_e('Current settings and usage information of WP Desk plugins', '
|
63 |
?></p>
|
64 |
</div>
|
65 |
</li>
|
@@ -67,10 +67,10 @@ echo $skip_url;
|
|
67 |
<i class="dashicons dashicons-store"></i>
|
68 |
<div>
|
69 |
<span><?php
|
70 |
-
\_e('Your Store Overview', '
|
71 |
?></span>
|
72 |
<p><?php
|
73 |
-
\_e('Anonymized and non-sensitive store usage information', '
|
74 |
?></p>
|
75 |
</div>
|
76 |
</li>
|
@@ -80,7 +80,7 @@ echo $skip_url;
|
|
80 |
<a href="<?php
|
81 |
echo $terms_url;
|
82 |
?>" target="_blank"><?php
|
83 |
-
\_e('Find out more »', '
|
84 |
?></a>
|
85 |
</div>
|
86 |
</div>
|
12 |
|
13 |
<p>
|
14 |
<?php
|
15 |
+
\printf(\__('Hey %s,', 'flexible-checkout-fields'), $username);
|
16 |
?><br/>
|
17 |
<?php
|
18 |
+
\_e('Please help us improve our plugins! If you opt-in, we will collect some non-sensitive data and usage information anonymously. If you skip this, that\'s okay! All plugins will work just fine.', 'flexible-checkout-fields');
|
19 |
?>
|
20 |
</p>
|
21 |
</div>
|
24 |
<a id="wpdesk_tracker_allow_button" href="<?php
|
25 |
echo $allow_url;
|
26 |
?>" class="button button-primary button-allow button-large"><?php
|
27 |
+
\_e('Allow & Continue →', 'flexible-checkout-fields');
|
28 |
?></a>
|
29 |
<a href="<?php
|
30 |
echo $skip_url;
|
31 |
?>" class="button button-secondary"><?php
|
32 |
+
\_e('Skip', 'flexible-checkout-fields');
|
33 |
?></a>
|
34 |
<div class="clear"></div>
|
35 |
</div>
|
36 |
|
37 |
<div class="permissions">
|
38 |
<a class="trigger" href="#"><?php
|
39 |
+
\_e('What permissions are being granted?', 'flexible-checkout-fields');
|
40 |
?></a>
|
41 |
|
42 |
<div class="permissions-details">
|
45 |
<i class="dashicons dashicons-admin-settings"></i>
|
46 |
<div>
|
47 |
<span><?php
|
48 |
+
\_e('Your Site Overview', 'flexible-checkout-fields');
|
49 |
?></span>
|
50 |
<p><?php
|
51 |
+
\_e('WP version, PHP info', 'flexible-checkout-fields');
|
52 |
?></p>
|
53 |
</div>
|
54 |
</li>
|
56 |
<i class="dashicons dashicons-admin-plugins"></i>
|
57 |
<div>
|
58 |
<span><?php
|
59 |
+
\_e('Plugin Usage', 'flexible-checkout-fields');
|
60 |
?></span>
|
61 |
<p><?php
|
62 |
+
\_e('Current settings and usage information of WP Desk plugins', 'flexible-checkout-fields');
|
63 |
?></p>
|
64 |
</div>
|
65 |
</li>
|
67 |
<i class="dashicons dashicons-store"></i>
|
68 |
<div>
|
69 |
<span><?php
|
70 |
+
\_e('Your Store Overview', 'flexible-checkout-fields');
|
71 |
?></span>
|
72 |
<p><?php
|
73 |
+
\_e('Anonymized and non-sensitive store usage information', 'flexible-checkout-fields');
|
74 |
?></p>
|
75 |
</div>
|
76 |
</li>
|
80 |
<a href="<?php
|
81 |
echo $terms_url;
|
82 |
?>" target="_blank"><?php
|
83 |
+
\_e('Find out more »', 'flexible-checkout-fields');
|
84 |
?></a>
|
85 |
</div>
|
86 |
</div>
|
vendor_prefixed/wpdesk/wp-wpdesk-tracker/src/views/tracker-deactivate.php
CHANGED
@@ -8,7 +8,7 @@ if (!\defined('ABSPATH')) {
|
|
8 |
?>
|
9 |
|
10 |
<h2><?php
|
11 |
-
echo \sprintf(\__('You are deactivating %s plugin.', '
|
12 |
?></h2>
|
13 |
|
14 |
<div class="wpdesk_tracker_deactivate">
|
@@ -16,7 +16,7 @@ echo \sprintf(\__('You are deactivating %s plugin.', 'wpdesk-tracker'), $plugin_
|
|
16 |
<div class="panel" data-panel-id="confirm"><p></p></div>
|
17 |
<div class="panel active" data-panel-id="reasons">
|
18 |
<h4><strong><?php
|
19 |
-
\_e(' If you have a moment, please let us know why you are deactivating plugin (anonymous feedback):', '
|
20 |
?></strong></h4>
|
21 |
<ul id="reasons-list">
|
22 |
<li class="reason">
|
@@ -25,7 +25,7 @@ echo \sprintf(\__('You are deactivating %s plugin.', 'wpdesk-tracker'), $plugin_
|
|
25 |
<input type="radio" name="selected-reason" value="plugin_stopped_working">
|
26 |
</span>
|
27 |
<span><?php
|
28 |
-
\_e('The plugin suddenly stopped working', '
|
29 |
?></span>
|
30 |
</label>
|
31 |
</li>
|
@@ -35,7 +35,7 @@ echo \sprintf(\__('You are deactivating %s plugin.', 'wpdesk-tracker'), $plugin_
|
|
35 |
<input type="radio" name="selected-reason" value="broke_my_site">
|
36 |
</span>
|
37 |
<span><?php
|
38 |
-
\_e('The plugin broke my site', '
|
39 |
?></span>
|
40 |
</label>
|
41 |
</li>
|
@@ -45,12 +45,12 @@ echo \sprintf(\__('You are deactivating %s plugin.', 'wpdesk-tracker'), $plugin_
|
|
45 |
<input type="radio" name="selected-reason" value="found_better_plugin">
|
46 |
</span>
|
47 |
<span><?php
|
48 |
-
\_e('I found a better plugin', '
|
49 |
?></span>
|
50 |
</label>
|
51 |
<div id="found_better_plugin" class="reason-input">
|
52 |
<input type="text" name="better_plugin_name" placeholder="<?php
|
53 |
-
\_e('What\'s the plugin\'s name?', '
|
54 |
?>">
|
55 |
</div>
|
56 |
</li>
|
@@ -60,7 +60,7 @@ echo \sprintf(\__('You are deactivating %s plugin.', 'wpdesk-tracker'), $plugin_
|
|
60 |
<input type="radio" name="selected-reason" value="plugin_for_short_period">
|
61 |
</span>
|
62 |
<span><?php
|
63 |
-
\_e('I only needed the plugin for a short period', '
|
64 |
?></span>
|
65 |
</label>
|
66 |
</li>
|
@@ -70,7 +70,7 @@ echo \sprintf(\__('You are deactivating %s plugin.', 'wpdesk-tracker'), $plugin_
|
|
70 |
<input type="radio" name="selected-reason" value="no_longer_need">
|
71 |
</span>
|
72 |
<span><?php
|
73 |
-
\_e('I no longer need the plugin', '
|
74 |
?></span>
|
75 |
</label>
|
76 |
</li>
|
@@ -80,7 +80,7 @@ echo \sprintf(\__('You are deactivating %s plugin.', 'wpdesk-tracker'), $plugin_
|
|
80 |
<input type="radio" name="selected-reason" value="temporary_deactivation">
|
81 |
</span>
|
82 |
<span><?php
|
83 |
-
\_e('It\'s a temporary deactivation. I\'m just debugging an issue.', '
|
84 |
?></span>
|
85 |
</label>
|
86 |
</li>
|
@@ -90,12 +90,12 @@ echo \sprintf(\__('You are deactivating %s plugin.', 'wpdesk-tracker'), $plugin_
|
|
90 |
<input type="radio" name="selected-reason" value="other">
|
91 |
</span>
|
92 |
<span><?php
|
93 |
-
\_e('Other', '
|
94 |
?></span>
|
95 |
</label>
|
96 |
<div id="other" class="reason-input">
|
97 |
<input type="text" name="other" placeholder="<?php
|
98 |
-
\_e('Kindly tell us the reason so we can improve', '
|
99 |
?>">
|
100 |
</div>
|
101 |
</li>
|
@@ -104,10 +104,10 @@ echo \sprintf(\__('You are deactivating %s plugin.', 'wpdesk-tracker'), $plugin_
|
|
104 |
</div>
|
105 |
<div class="footer">
|
106 |
<a href="#" class="button button-secondary button-close"><?php
|
107 |
-
\_e('Cancel', '
|
108 |
?></a>
|
109 |
<a href="#" class="button button-primary button-deactivate allow-deactivate"><?php
|
110 |
-
\_e('Skip & Deactivate', '
|
111 |
?></a>
|
112 |
</div>
|
113 |
</div>
|
@@ -123,7 +123,7 @@ echo \sprintf(\__('You are deactivating %s plugin.', 'wpdesk-tracker'), $plugin_
|
|
123 |
jQuery('#other').show();
|
124 |
}
|
125 |
jQuery('.wpdesk_tracker_deactivate .button-deactivate').html( '<?php
|
126 |
-
\_e('Submit & Deactivate', '
|
127 |
?>' );
|
128 |
})
|
129 |
jQuery('.button-deactivate').click(function(e){
|
8 |
?>
|
9 |
|
10 |
<h2><?php
|
11 |
+
echo \sprintf(\__('You are deactivating %s plugin.', 'flexible-checkout-fields'), $plugin_name);
|
12 |
?></h2>
|
13 |
|
14 |
<div class="wpdesk_tracker_deactivate">
|
16 |
<div class="panel" data-panel-id="confirm"><p></p></div>
|
17 |
<div class="panel active" data-panel-id="reasons">
|
18 |
<h4><strong><?php
|
19 |
+
\_e(' If you have a moment, please let us know why you are deactivating plugin (anonymous feedback):', 'flexible-checkout-fields');
|
20 |
?></strong></h4>
|
21 |
<ul id="reasons-list">
|
22 |
<li class="reason">
|
25 |
<input type="radio" name="selected-reason" value="plugin_stopped_working">
|
26 |
</span>
|
27 |
<span><?php
|
28 |
+
\_e('The plugin suddenly stopped working', 'flexible-checkout-fields');
|
29 |
?></span>
|
30 |
</label>
|
31 |
</li>
|
35 |
<input type="radio" name="selected-reason" value="broke_my_site">
|
36 |
</span>
|
37 |
<span><?php
|
38 |
+
\_e('The plugin broke my site', 'flexible-checkout-fields');
|
39 |
?></span>
|
40 |
</label>
|
41 |
</li>
|
45 |
<input type="radio" name="selected-reason" value="found_better_plugin">
|
46 |
</span>
|
47 |
<span><?php
|
48 |
+
\_e('I found a better plugin', 'flexible-checkout-fields');
|
49 |
?></span>
|
50 |
</label>
|
51 |
<div id="found_better_plugin" class="reason-input">
|
52 |
<input type="text" name="better_plugin_name" placeholder="<?php
|
53 |
+
\_e('What\'s the plugin\'s name?', 'flexible-checkout-fields');
|
54 |
?>">
|
55 |
</div>
|
56 |
</li>
|
60 |
<input type="radio" name="selected-reason" value="plugin_for_short_period">
|
61 |
</span>
|
62 |
<span><?php
|
63 |
+
\_e('I only needed the plugin for a short period', 'flexible-checkout-fields');
|
64 |
?></span>
|
65 |
</label>
|
66 |
</li>
|
70 |
<input type="radio" name="selected-reason" value="no_longer_need">
|
71 |
</span>
|
72 |
<span><?php
|
73 |
+
\_e('I no longer need the plugin', 'flexible-checkout-fields');
|
74 |
?></span>
|
75 |
</label>
|
76 |
</li>
|
80 |
<input type="radio" name="selected-reason" value="temporary_deactivation">
|
81 |
</span>
|
82 |
<span><?php
|
83 |
+
\_e('It\'s a temporary deactivation. I\'m just debugging an issue.', 'flexible-checkout-fields');
|
84 |
?></span>
|
85 |
</label>
|
86 |
</li>
|
90 |
<input type="radio" name="selected-reason" value="other">
|
91 |
</span>
|
92 |
<span><?php
|
93 |
+
\_e('Other', 'flexible-checkout-fields');
|
94 |
?></span>
|
95 |
</label>
|
96 |
<div id="other" class="reason-input">
|
97 |
<input type="text" name="other" placeholder="<?php
|
98 |
+
\_e('Kindly tell us the reason so we can improve', 'flexible-checkout-fields');
|
99 |
?>">
|
100 |
</div>
|
101 |
</li>
|
104 |
</div>
|
105 |
<div class="footer">
|
106 |
<a href="#" class="button button-secondary button-close"><?php
|
107 |
+
\_e('Cancel', 'flexible-checkout-fields');
|
108 |
?></a>
|
109 |
<a href="#" class="button button-primary button-deactivate allow-deactivate"><?php
|
110 |
+
\_e('Skip & Deactivate', 'flexible-checkout-fields');
|
111 |
?></a>
|
112 |
</div>
|
113 |
</div>
|
123 |
jQuery('#other').show();
|
124 |
}
|
125 |
jQuery('.wpdesk_tracker_deactivate .button-deactivate').html( '<?php
|
126 |
+
\_e('Submit & Deactivate', 'flexible-checkout-fields');
|
127 |
?>' );
|
128 |
})
|
129 |
jQuery('.button-deactivate').click(function(e){
|
vendor_prefixed/wpdesk/wp-wpdesk-tracker/src/views/tracker-notice.php
CHANGED
@@ -10,20 +10,20 @@ if (!\defined('ABSPATH')) {
|
|
10 |
<div id="wpdesk_tracker_notice" class="updated notice wpdesk_tracker_notice is-dismissible">
|
11 |
<p>
|
12 |
<?php
|
13 |
-
\printf(\__('Hey %s,', '
|
14 |
?><br/>
|
15 |
<?php
|
16 |
-
\_e('We need your help to improve <strong>WP Desk plugins</strong>, so they are more useful for you and the rest of <strong>30,000+ users</strong>. By collecting data on how you use our plugins, you will help us a lot. We will not collect any sensitive data, so you can feel safe.', '
|
17 |
?>
|
18 |
<a href="<?php
|
19 |
echo $terms_url;
|
20 |
?>" target="_blank"><?php
|
21 |
-
\_e('Find out more »', '
|
22 |
?></a>
|
23 |
</p>
|
24 |
<p>
|
25 |
<button id="wpdesk_tracker_allow_button_notice" class="button button-primary"><?php
|
26 |
-
\_e('Allow', '
|
27 |
?></button>
|
28 |
</p>
|
29 |
</div>
|
10 |
<div id="wpdesk_tracker_notice" class="updated notice wpdesk_tracker_notice is-dismissible">
|
11 |
<p>
|
12 |
<?php
|
13 |
+
\printf(\__('Hey %s,', 'flexible-checkout-fields'), $username);
|
14 |
?><br/>
|
15 |
<?php
|
16 |
+
\_e('We need your help to improve <strong>WP Desk plugins</strong>, so they are more useful for you and the rest of <strong>30,000+ users</strong>. By collecting data on how you use our plugins, you will help us a lot. We will not collect any sensitive data, so you can feel safe.', 'flexible-checkout-fields');
|
17 |
?>
|
18 |
<a href="<?php
|
19 |
echo $terms_url;
|
20 |
?>" target="_blank"><?php
|
21 |
+
\_e('Find out more »', 'flexible-checkout-fields');
|
22 |
?></a>
|
23 |
</p>
|
24 |
<p>
|
25 |
<button id="wpdesk_tracker_allow_button_notice" class="button button-primary"><?php
|
26 |
+
\_e('Allow', 'flexible-checkout-fields');
|
27 |
?></button>
|
28 |
</p>
|
29 |
</div>
|
vendor_prefixed/wpdesk/wp-wpdesk-tracker/src/views/tracker-opt-out-notice.php
CHANGED
@@ -8,7 +8,7 @@ if (!\defined('ABSPATH')) {
|
|
8 |
?>
|
9 |
<div id="wpdesk_tracker_notice" class="updated notice wpdesk_tracker_notice">
|
10 |
<p><?php
|
11 |
-
\_e('You successfully opted out of collecting usage data by WP Desk. If you change your mind, you can always opt in later in the plugin\'s quick links.', '
|
12 |
?></p>
|
13 |
</div>
|
14 |
<?php
|
8 |
?>
|
9 |
<div id="wpdesk_tracker_notice" class="updated notice wpdesk_tracker_notice">
|
10 |
<p><?php
|
11 |
+
\_e('You successfully opted out of collecting usage data by WP Desk. If you change your mind, you can always opt in later in the plugin\'s quick links.', 'flexible-checkout-fields');
|
12 |
?></p>
|
13 |
</div>
|
14 |
<?php
|
views/settings-field-advanced-js.php
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly.
|
3 |
+
|
4 |
+
ob_start();
|
5 |
+
include __DIR__ . '/settings-field-advanced.php';
|
6 |
+
$content = ob_get_clean();
|
7 |
+
$lines = explode( "\n", $content );
|
8 |
+
?>
|
9 |
+
<?php foreach ( $lines as $line ) : ?>
|
10 |
+
html += '<?php echo $line; ?>';
|
11 |
+
<?php endforeach; ?>
|
views/settings-field-advanced.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
<div>
|
4 |
<?php
|
5 |
$url = get_locale() === 'pl_PL' ? 'https://www.wpdesk.pl/sklep/woocommerce-checkout-fields/' : 'https://www.wpdesk.net/products/flexible-checkout-fields-pro-woocommerce/';
|
6 |
-
echo sprintf( __( '%sGo PRO →%s to add conditional logic based on products and
|
7 |
?>
|
8 |
</div>
|
9 |
</div>
|
3 |
<div>
|
4 |
<?php
|
5 |
$url = get_locale() === 'pl_PL' ? 'https://www.wpdesk.pl/sklep/woocommerce-checkout-fields/' : 'https://www.wpdesk.net/products/flexible-checkout-fields-pro-woocommerce/';
|
6 |
+
echo sprintf( __( '%sGo PRO →%s to add conditional logic based on products/categories, fields and shipping method.' , 'flexible-checkout-fields' ), '<a href="' . $url . '" target="_blank">', '</a>' );
|
7 |
?>
|
8 |
</div>
|
9 |
</div>
|