Version Description
ACF Extended Pro 0.8.8.9:
- Field: Code Editor - Fixed ACF 6.0 UI field setting width
- Field: Google Map - Fixed potential undefined
zoom
key in some edge case - Field: Post Object - Fixed an issue with the Inline Post Edit modal which would not work correctly in some edge case
- Field: Relationship - Reworked & Enhanced Post Creation/Edit code logic
ACF Extended Basic 0.8.8.9:
- Field: Dynamic Render - Fixed potential undefined
render
key when using the oldacfe_dynamic_message
field type - Field: Flexible Content - Fixed duplicated Modal Select Categories
- Field: Flexible Content - Fixed Sortable ui helper css margin
- Field: Post Object - Fixed ACF 6.0 UI wrong border color
- Field: Post Object - Fixed sortable items when Inline Post Edit is enabled with "Allow Multiple values"
- Field: Select - Fixed potential JS issue while searching a value when using "Allow custom value"
- Field: Tab - Fixed ACF 6.0 UI missing colors
- Field: Taxonomy - Fixed JS error on initialization
- Module: Advanced Validation/Settings - Fixed ACF 6.0 UI settings css
- Module: Forms - Bail early in the Block Editor in the
[acfe_form]
shortcode to avoid conflict with Media Modal (ACF core logic) - Module: Dev - Enhanced module logic
- General: Added several ACF 6.0 & ACF 6.0.1 UI compatibility fixes
- General: Added several JS helpers
- General: Enhanced ACFE Modal logic
- General: Enhanced Readme
- General: Enhanced Build Tools
- General: Introduced
acfe.fieldExtend
Download this release
Release Info
Developer | hwk-fr |
Plugin | Advanced Custom Fields: Extended |
Version | 0.8.8.9 |
Comparing to | |
See all releases |
Code changes from version 0.8.8.8 to 0.8.8.9
- acf-extended.php +4 -2
- assets/css/acfe-admin.css +173 -122
- assets/css/acfe-admin.min.css +1 -1
- assets/css/acfe-field-group.css +168 -112
- assets/css/acfe-field-group.min.css +1 -1
- assets/css/acfe-input.css +98 -115
- assets/css/acfe-input.min.css +1 -1
- assets/css/acfe.css +1 -7
- assets/css/acfe.min.css +1 -1
- assets/js/acfe-admin.js +81 -130
- assets/js/acfe-admin.min.js +1 -1
- assets/js/acfe-input.js +2495 -2353
- assets/js/acfe-input.min.js +1 -1
- assets/js/acfe.js +1162 -393
- assets/js/acfe.min.js +1 -1
- includes/acfe-helper-functions.php +18 -0
- includes/acfe-meta-functions.php +2 -2
- includes/acfe-screen-functions.php +2 -11
- includes/acfe-wp-functions.php +147 -40
- includes/admin/compatibility.php +32 -21
- includes/compatibility.php +2 -4
- includes/fields/field-flexible-content-select.php +1 -1
- includes/modules/dev-clean-meta.php +215 -0
- includes/modules/dev-delete-meta.php +230 -0
- includes/modules/dev.php +492 -502
- includes/modules/forms-shortcode.php +6 -0
- includes/modules/ui-attachment.php +1 -1
- includes/modules/ui-term.php +1 -1
- lang/acfe-fr_FR.po +4635 -4635
- readme.txt +36 -7
acf-extended.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
/**
|
3 |
* Plugin Name: Advanced Custom Fields: Extended
|
4 |
* Description: All-in-one enhancement suite that improves WordPress & Advanced Custom Fields.
|
5 |
-
* Version: 0.8.8.
|
6 |
* Author: ACF Extended
|
7 |
* Plugin URI: https://www.acf-extended.com
|
8 |
* Author URI: https://www.acf-extended.com
|
@@ -19,7 +19,7 @@ if(!class_exists('ACFE')):
|
|
19 |
class ACFE{
|
20 |
|
21 |
// vars
|
22 |
-
var $version = '0.8.8.
|
23 |
|
24 |
/**
|
25 |
* construct
|
@@ -235,6 +235,8 @@ class ACFE{
|
|
235 |
acfe_include('includes/modules/module.php');
|
236 |
acfe_include('includes/modules/author.php');
|
237 |
acfe_include('includes/modules/dev.php');
|
|
|
|
|
238 |
acfe_include('includes/modules/block-types.php');
|
239 |
acfe_include('includes/modules/forms.php');
|
240 |
acfe_include('includes/modules/options.php');
|
2 |
/**
|
3 |
* Plugin Name: Advanced Custom Fields: Extended
|
4 |
* Description: All-in-one enhancement suite that improves WordPress & Advanced Custom Fields.
|
5 |
+
* Version: 0.8.8.9
|
6 |
* Author: ACF Extended
|
7 |
* Plugin URI: https://www.acf-extended.com
|
8 |
* Author URI: https://www.acf-extended.com
|
19 |
class ACFE{
|
20 |
|
21 |
// vars
|
22 |
+
var $version = '0.8.8.9';
|
23 |
|
24 |
/**
|
25 |
* construct
|
235 |
acfe_include('includes/modules/module.php');
|
236 |
acfe_include('includes/modules/author.php');
|
237 |
acfe_include('includes/modules/dev.php');
|
238 |
+
acfe_include('includes/modules/dev-clean-meta.php');
|
239 |
+
acfe_include('includes/modules/dev-delete-meta.php');
|
240 |
acfe_include('includes/modules/block-types.php');
|
241 |
acfe_include('includes/modules/forms.php');
|
242 |
acfe_include('includes/modules/options.php');
|
assets/css/acfe-admin.css
CHANGED
@@ -1,3 +1,89 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
code,
|
2 |
kbd,
|
3 |
pre,
|
@@ -251,15 +337,15 @@ html[dir=rtl] .acf-columns-2 .acf-column-2 {
|
|
251 |
width: 65px
|
252 |
}
|
253 |
|
254 |
-
.postbox#acfe-acf-custom-fields+.
|
255 |
-
.postbox#acfe-wp-custom-fields+.
|
256 |
padding-top: 0;
|
257 |
margin-top: -8px;
|
258 |
margin-bottom: 20px
|
259 |
}
|
260 |
|
261 |
-
.postbox#acfe-acf-custom-fields+.
|
262 |
-
.postbox#acfe-wp-custom-fields+.
|
263 |
margin-bottom: 0
|
264 |
}
|
265 |
|
@@ -268,8 +354,8 @@ html[dir=rtl] .acf-columns-2 .acf-column-2 {
|
|
268 |
color: #aaa
|
269 |
}
|
270 |
|
271 |
-
.postbox#acfe-acf-custom-fields .
|
272 |
-
.postbox#acfe-wp-custom-fields .
|
273 |
background: #72777c;
|
274 |
padding: 1px 5px;
|
275 |
border-radius: 4px;
|
@@ -379,6 +465,74 @@ html[dir=rtl] .acf-columns-2 .acf-column-2 {
|
|
379 |
line-height: 1.48
|
380 |
}
|
381 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
382 |
#acfe-author>.inside {
|
383 |
margin: 0;
|
384 |
padding: 0
|
@@ -633,82 +787,22 @@ html[dir=rtl] .acf-columns-2 .acf-column-2 {
|
|
633 |
border-top: 0
|
634 |
}
|
635 |
|
636 |
-
.acfe-module.acfe-module-post #minor-publishing-actions,
|
637 |
-
.acfe-module.acfe-module-post #misc-publishing-actions #visibility,
|
638 |
-
.acfe-module.acfe-module-post #misc-publishing-actions .edit-post-status,
|
639 |
-
.acfe-module.acfe-module-post #misc-publishing-actions .edit-timestamp {
|
640 |
-
display: none !important
|
641 |
-
}
|
642 |
-
|
643 |
-
.acfe-module.acfe-module-post .acfe-misc-export {
|
644 |
-
padding-top: 2px
|
645 |
-
}
|
646 |
-
|
647 |
-
.acfe-module.acfe-module-post .acfe-misc-export span.dashicons {
|
648 |
-
font-size: 18px;
|
649 |
-
color: #82878c;
|
650 |
-
line-height: 1.2;
|
651 |
-
width: 18px;
|
652 |
-
margin-right: 4px
|
653 |
-
}
|
654 |
-
|
655 |
-
.acfe-module.acfe-module-post.post-new-php .acfe-misc-export {
|
656 |
-
display: none
|
657 |
-
}
|
658 |
-
|
659 |
-
.acfe-module.acfe-module-posts .status-acf-disabled .column-title a,
|
660 |
-
.acfe-module.acfe-module-posts .status-acf-disabled .column-title code {
|
661 |
-
color: #555 !important
|
662 |
-
}
|
663 |
-
|
664 |
-
.acfe-module.acfe-module-posts .status-acf-disabled .column-title strong {
|
665 |
-
color: #a0a5aa
|
666 |
-
}
|
667 |
-
|
668 |
-
.acfe-module.acfe-module-posts .column-acfe-autoload,
|
669 |
-
.acfe-module.acfe-module-posts .column-acfe-position,
|
670 |
-
.acfe-module.acfe-module-posts .column-acfe-posts,
|
671 |
-
.acfe-module.acfe-module-posts .column-acfe-terms {
|
672 |
-
width: 120px
|
673 |
-
}
|
674 |
-
|
675 |
-
.acfe-module.acfe-module-posts .column-acfe-post-id {
|
676 |
-
width: 200px
|
677 |
-
}
|
678 |
-
|
679 |
-
ul.acfe-module-export-choices {
|
680 |
-
-webkit-column-width: 200px;
|
681 |
-
-moz-column-width: 200px;
|
682 |
-
column-width: 200px
|
683 |
-
}
|
684 |
-
|
685 |
-
.wrap .acfe-edit-module-button {
|
686 |
-
display: inline-block;
|
687 |
-
padding-left: 4px;
|
688 |
-
padding-right: 4px
|
689 |
-
}
|
690 |
-
|
691 |
-
.wrap .acfe-edit-module-button:active {
|
692 |
-
padding-left: 4px;
|
693 |
-
padding-right: 4px
|
694 |
-
}
|
695 |
-
|
696 |
-
.wrap .acfe-edit-module-button span {
|
697 |
-
font-size: 16px;
|
698 |
-
vertical-align: text-top;
|
699 |
-
height: 15px;
|
700 |
-
width: 19px;
|
701 |
-
line-height: 19px
|
702 |
-
}
|
703 |
-
|
704 |
.acf-postbox.seamless>.inside>.acf-field {
|
705 |
padding: 15px 12px
|
706 |
}
|
707 |
|
|
|
|
|
|
|
|
|
708 |
.acf-flexible-content .layout.ui-sortable-helper:first-child+.layout.ui-sortable-placeholder {
|
709 |
margin-top: 0
|
710 |
}
|
711 |
|
|
|
|
|
|
|
|
|
712 |
.acfe-postbox.acfe-postbox-no-handle h2.hndle {
|
713 |
cursor: initial
|
714 |
}
|
@@ -927,54 +1021,6 @@ body.is-dragging-metaboxes #acf_after_title-sortables {
|
|
927 |
border-bottom: 0
|
928 |
}
|
929 |
|
930 |
-
.widget.open {
|
931 |
-
z-index: inherit !important
|
932 |
-
}
|
933 |
-
|
934 |
-
.menu-item-settings {
|
935 |
-
position: initial
|
936 |
-
}
|
937 |
-
|
938 |
-
.acf-meta-box-wrap.-grid #acf-admin-tool-acfe-fg-local {
|
939 |
-
display: none
|
940 |
-
}
|
941 |
-
|
942 |
-
.acf-tab-group li a .acfe-tab-badge {
|
943 |
-
border-radius: 100px;
|
944 |
-
background: #ddd;
|
945 |
-
width: 18px;
|
946 |
-
height: 18px;
|
947 |
-
font-size: 12px;
|
948 |
-
display: inline-block;
|
949 |
-
vertical-align: text-bottom;
|
950 |
-
padding: 0;
|
951 |
-
text-align: center;
|
952 |
-
margin-left: 5px;
|
953 |
-
line-height: 18px
|
954 |
-
}
|
955 |
-
|
956 |
-
.acf-tab-group li.active a .acfe-tab-badge {
|
957 |
-
background: #f1f1f1
|
958 |
-
}
|
959 |
-
|
960 |
-
.acf-field>.acf-input>.acf-input-wrap {
|
961 |
-
overflow: initial
|
962 |
-
}
|
963 |
-
|
964 |
-
.acf-field>.acf-input>.acf-input-append+.acf-input-wrap,
|
965 |
-
.acf-field>.acf-input>.acf-input-prepend+.acf-input-wrap {
|
966 |
-
overflow: hidden
|
967 |
-
}
|
968 |
-
|
969 |
-
.post-type-attachment #post-body-content #acf_after_title-sortables {
|
970 |
-
margin: 20px 0 0
|
971 |
-
}
|
972 |
-
|
973 |
-
body.post-type-acf-field-group #wpcontent {
|
974 |
-
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
975 |
-
line-height: 1.4em
|
976 |
-
}
|
977 |
-
|
978 |
.acf-field .select2-container.-acf .select2-selection--single {
|
979 |
border-radius: 3px;
|
980 |
height: 30px;
|
@@ -1033,6 +1079,11 @@ body.post-type-acf-field-group #wpcontent {
|
|
1033 |
box-shadow: 0 0 0 1px #007cba
|
1034 |
}
|
1035 |
|
|
|
|
|
|
|
|
|
|
|
1036 |
.select2-container .select2-dropdown .select2-search--dropdown .select2-search__field {
|
1037 |
min-height: 30px;
|
1038 |
border: 0;
|
1 |
+
.widget.open {
|
2 |
+
z-index: inherit !important
|
3 |
+
}
|
4 |
+
|
5 |
+
.menu-item-settings {
|
6 |
+
position: initial
|
7 |
+
}
|
8 |
+
|
9 |
+
.acf-meta-box-wrap.-grid #acf-admin-tool-acfe-fg-local {
|
10 |
+
display: none
|
11 |
+
}
|
12 |
+
|
13 |
+
.acf-tab-group li a .acfe-tab-badge {
|
14 |
+
border-radius: 100px;
|
15 |
+
background: #ddd;
|
16 |
+
width: 18px;
|
17 |
+
height: 18px;
|
18 |
+
font-size: 12px;
|
19 |
+
display: inline-block;
|
20 |
+
vertical-align: text-bottom;
|
21 |
+
padding: 0;
|
22 |
+
text-align: center;
|
23 |
+
margin-left: 5px;
|
24 |
+
line-height: 18px
|
25 |
+
}
|
26 |
+
|
27 |
+
.acf-tab-group li a:hover .acfe-tab-badge,
|
28 |
+
.acf-tab-group li.active a .acfe-tab-badge {
|
29 |
+
background: #f1f1f1
|
30 |
+
}
|
31 |
+
|
32 |
+
.acf-field>.acf-input>.acf-input-wrap {
|
33 |
+
overflow: initial
|
34 |
+
}
|
35 |
+
|
36 |
+
.acf-field>.acf-input>.acf-input-append+.acf-input-wrap,
|
37 |
+
.acf-field>.acf-input>.acf-input-prepend+.acf-input-wrap {
|
38 |
+
overflow: hidden
|
39 |
+
}
|
40 |
+
|
41 |
+
.post-type-attachment #post-body-content #acf_after_title-sortables {
|
42 |
+
margin: 20px 0 0
|
43 |
+
}
|
44 |
+
|
45 |
+
.acf-admin-toolbar i.acf-icon,
|
46 |
+
.acf-btn i.acf-icon {
|
47 |
+
display: -webkit-inline-box;
|
48 |
+
display: -ms-inline-flexbox;
|
49 |
+
display: inline-flex;
|
50 |
+
width: 20px;
|
51 |
+
height: 20px;
|
52 |
+
background-color: currentColor;
|
53 |
+
border: none;
|
54 |
+
border-radius: 0;
|
55 |
+
-webkit-mask-size: contain;
|
56 |
+
mask-size: contain;
|
57 |
+
-webkit-mask-repeat: no-repeat;
|
58 |
+
mask-repeat: no-repeat;
|
59 |
+
-webkit-mask-position: center;
|
60 |
+
mask-position: center;
|
61 |
+
text-indent: 500%;
|
62 |
+
white-space: nowrap;
|
63 |
+
overflow: hidden
|
64 |
+
}
|
65 |
+
|
66 |
+
body:not(.acf-admin-single-field-group) .acf-fields>.acf-tab-wrap .acf-tab-group li a {
|
67 |
+
background: #f1f1f1;
|
68 |
+
border-color: #ccd0d4
|
69 |
+
}
|
70 |
+
|
71 |
+
body:not(.acf-admin-single-field-group) .acf-fields>.acf-tab-wrap .acf-tab-group li a:hover {
|
72 |
+
background: #fff
|
73 |
+
}
|
74 |
+
|
75 |
+
body:not(.acf-admin-single-field-group) .acf-fields>.acf-tab-wrap .acf-tab-group li.active a {
|
76 |
+
background: #fff
|
77 |
+
}
|
78 |
+
|
79 |
+
body:not(.acf-admin-single-field-group) .acf-fields>.acf-tab-wrap:first-child .acf-tab-group {
|
80 |
+
border-top: none
|
81 |
+
}
|
82 |
+
|
83 |
+
body:not(.acf-admin-single-field-group) .acf-tooltip {
|
84 |
+
font-size: 13px
|
85 |
+
}
|
86 |
+
|
87 |
code,
|
88 |
kbd,
|
89 |
pre,
|
337 |
width: 65px
|
338 |
}
|
339 |
|
340 |
+
.postbox#acfe-acf-custom-fields+.acfe-dev-bulk,
|
341 |
+
.postbox#acfe-wp-custom-fields+.acfe-dev-bulk {
|
342 |
padding-top: 0;
|
343 |
margin-top: -8px;
|
344 |
margin-bottom: 20px
|
345 |
}
|
346 |
|
347 |
+
.postbox#acfe-acf-custom-fields+.acfe-dev-bulk:last-child,
|
348 |
+
.postbox#acfe-wp-custom-fields+.acfe-dev-bulk:last-child {
|
349 |
margin-bottom: 0
|
350 |
}
|
351 |
|
354 |
color: #aaa
|
355 |
}
|
356 |
|
357 |
+
.postbox#acfe-acf-custom-fields .acfe-dev-meta-count,
|
358 |
+
.postbox#acfe-wp-custom-fields .acfe-dev-meta-count {
|
359 |
background: #72777c;
|
360 |
padding: 1px 5px;
|
361 |
border-radius: 4px;
|
465 |
line-height: 1.48
|
466 |
}
|
467 |
|
468 |
+
.acfe-module.acfe-module-post #minor-publishing-actions,
|
469 |
+
.acfe-module.acfe-module-post #misc-publishing-actions #visibility,
|
470 |
+
.acfe-module.acfe-module-post #misc-publishing-actions .edit-post-status,
|
471 |
+
.acfe-module.acfe-module-post #misc-publishing-actions .edit-timestamp {
|
472 |
+
display: none !important
|
473 |
+
}
|
474 |
+
|
475 |
+
.acfe-module.acfe-module-post .acfe-misc-export {
|
476 |
+
padding-top: 2px
|
477 |
+
}
|
478 |
+
|
479 |
+
.acfe-module.acfe-module-post .acfe-misc-export span.dashicons {
|
480 |
+
font-size: 18px;
|
481 |
+
color: #82878c;
|
482 |
+
line-height: 1.2;
|
483 |
+
width: 18px;
|
484 |
+
margin-right: 4px
|
485 |
+
}
|
486 |
+
|
487 |
+
.acfe-module.acfe-module-post.post-new-php .acfe-misc-export {
|
488 |
+
display: none
|
489 |
+
}
|
490 |
+
|
491 |
+
.acfe-module.acfe-module-posts .status-acf-disabled .column-title a,
|
492 |
+
.acfe-module.acfe-module-posts .status-acf-disabled .column-title code {
|
493 |
+
color: #555 !important
|
494 |
+
}
|
495 |
+
|
496 |
+
.acfe-module.acfe-module-posts .status-acf-disabled .column-title strong {
|
497 |
+
color: #a0a5aa
|
498 |
+
}
|
499 |
+
|
500 |
+
.acfe-module.acfe-module-posts .column-acfe-autoload,
|
501 |
+
.acfe-module.acfe-module-posts .column-acfe-position,
|
502 |
+
.acfe-module.acfe-module-posts .column-acfe-posts,
|
503 |
+
.acfe-module.acfe-module-posts .column-acfe-terms {
|
504 |
+
width: 120px
|
505 |
+
}
|
506 |
+
|
507 |
+
.acfe-module.acfe-module-posts .column-acfe-post-id {
|
508 |
+
width: 200px
|
509 |
+
}
|
510 |
+
|
511 |
+
ul.acfe-module-export-choices {
|
512 |
+
-webkit-column-width: 200px;
|
513 |
+
-moz-column-width: 200px;
|
514 |
+
column-width: 200px
|
515 |
+
}
|
516 |
+
|
517 |
+
.wrap .acfe-edit-module-button {
|
518 |
+
display: inline-block;
|
519 |
+
padding-left: 4px;
|
520 |
+
padding-right: 4px
|
521 |
+
}
|
522 |
+
|
523 |
+
.wrap .acfe-edit-module-button:active {
|
524 |
+
padding-left: 4px;
|
525 |
+
padding-right: 4px
|
526 |
+
}
|
527 |
+
|
528 |
+
.wrap .acfe-edit-module-button span {
|
529 |
+
font-size: 16px;
|
530 |
+
vertical-align: text-top;
|
531 |
+
height: 15px;
|
532 |
+
width: 19px;
|
533 |
+
line-height: 19px
|
534 |
+
}
|
535 |
+
|
536 |
#acfe-author>.inside {
|
537 |
margin: 0;
|
538 |
padding: 0
|
787 |
border-top: 0
|
788 |
}
|
789 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
790 |
.acf-postbox.seamless>.inside>.acf-field {
|
791 |
padding: 15px 12px
|
792 |
}
|
793 |
|
794 |
+
.acf-flexible-content .layout.ui-sortable-helper:first-child {
|
795 |
+
margin-top: 20px
|
796 |
+
}
|
797 |
+
|
798 |
.acf-flexible-content .layout.ui-sortable-helper:first-child+.layout.ui-sortable-placeholder {
|
799 |
margin-top: 0
|
800 |
}
|
801 |
|
802 |
+
.acf-fields.-top>.acf-field-flexible-content>.acf-input>.acf-flexible-content>.values>.layout.ui-sortable-helper:first-child {
|
803 |
+
margin-top: 10px
|
804 |
+
}
|
805 |
+
|
806 |
.acfe-postbox.acfe-postbox-no-handle h2.hndle {
|
807 |
cursor: initial
|
808 |
}
|
1021 |
border-bottom: 0
|
1022 |
}
|
1023 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1024 |
.acf-field .select2-container.-acf .select2-selection--single {
|
1025 |
border-radius: 3px;
|
1026 |
height: 30px;
|
1079 |
box-shadow: 0 0 0 1px #007cba
|
1080 |
}
|
1081 |
|
1082 |
+
.select2-container .select2-dropdown {
|
1083 |
+
margin-top: 0;
|
1084 |
+
border-color: #aaa !important
|
1085 |
+
}
|
1086 |
+
|
1087 |
.select2-container .select2-dropdown .select2-search--dropdown .select2-search__field {
|
1088 |
min-height: 30px;
|
1089 |
border: 0;
|
assets/css/acfe-admin.min.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
code,kbd,pre,samp{font-family:Menlo,Monaco,Consolas,"Courier New",monospace;font-size:1em}pre{display:block;padding:9.5px;margin:0;line-height:1.42857143;color:#333;word-break:break-all;word-wrap:break-word;background-color:#f9f9f9;border:1px solid #ccc;border-radius:1px;white-space:pre-wrap;overflow:auto}pre>code{-webkit-user-select:inherit;-moz-user-select:inherit;-ms-user-select:inherit;user-select:inherit;padding:0;margin:0;background:0 0;font-size:1em;display:block}code{-webkit-user-select:all;-moz-user-select:all;user-select:all}code[contenteditable=true]{-webkit-user-select:auto;-moz-user-select:auto;-ms-user-select:auto;user-select:auto}.code-codemirror>.CodeMirror,.pre-codemirror>.CodeMirror{border:1px solid #ccc;height:auto;width:auto;background:#f9f9f9;padding:9px 6px}.code-codemirror>.CodeMirror .CodeMirror-selected,.pre-codemirror>.CodeMirror .CodeMirror-selected{background:#ddd!important}.code-codemirror>.CodeMirror .CodeMirror-lines,.pre-codemirror>.CodeMirror .CodeMirror-lines{padding:0}.code-codemirror{display:inline;vertical-align:middle}.code-codemirror>.CodeMirror{display:inline-block;padding:0}.acfe-pre-highlight{display:block;padding:9.5px;margin:0;line-height:1.42857143;color:#333;background-color:#f9f9f9;border:1px solid #ccc;border-radius:1px;overflow:auto;font-family:Menlo,Monaco,Consolas,Courier New,monospace;font-size:1em;white-space:nowrap}.acf-columns-2{margin-right:300px;clear:both}.acf-columns-2:after{display:block;clear:both;content:""}.acf-columns-2 .acf-column-1{float:left;width:100%}.acf-columns-2 .acf-column-2{float:right;margin-right:-300px;width:280px}html[dir=rtl] .acf-columns-2{margin-right:0;margin-left:300px}html[dir=rtl] .acf-columns-2 .acf-column-1{float:right}html[dir=rtl] .acf-columns-2 .acf-column-2{float:left;margin-right:0;margin-left:-300px}@media only screen and (max-width:850px){.acf-columns-2{margin-right:0}.acf-columns-2 .acf-column-1,.acf-columns-2 .acf-column-2{float:none;width:auto;margin:0}}.misc-pub-acfe-object-category::before,.misc-pub-acfe-object-data::before,.misc-pub-acfe-object-id::before,.misc-pub-acfe-object-meta::before,.misc-pub-acfe-object-role::before,.misc-pub-acfe-object-single-meta::before,.misc-pub-acfe-object-type::before{font:19px/1 dashicons;speak:never;display:inline-block;margin-left:-1px;padding-right:3px;vertical-align:top;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;color:#8c8f94;content:"\f173";margin-right:1px}.misc-pub-acfe-object-id::before{content:"\f464"}.misc-pub-acfe-object-type::before{content:"\f109"}.misc-pub-acfe-object-role::before{content:"\f338"}.misc-pub-acfe-object-category::before{content:"\f318"}.misc-pub-acfe-object-data::before{content:"\f206"}.misc-pub-acfe-object-meta::before{content:"\f17e"}.misc-pub-acfe-object-single-meta::before{content:"\f106"}.acfe-list-postboxes .postbox>.postbox-header>h2.hndle{cursor:initial}.acfe-list-postboxes .postbox>.postbox-header>.handle-actions>.acf-hndle-cog{width:2.2rem}.acfe-list-postboxes .postbox>.postbox-header>.handle-actions>button,.acfe-list-postboxes .postbox>.postbox-header>.handle-actions>span{display:none}.acfe-list-postboxes .postbox>.acf-fields>#acf-form-data+.acf-field{border-top:none;margin-top:0}.acfe-list-postboxes.-side{min-width:auto!important}#acfe-clean-meta>.inside{margin:0!important;padding:15px 12px!important}.postbox#acfe-acf-custom-fields>.inside,.postbox#acfe-wp-custom-fields>.inside{padding:0;margin:0}.postbox#acfe-acf-custom-fields>.inside .wp-list-table,.postbox#acfe-wp-custom-fields>.inside .wp-list-table{border:0}.postbox#acfe-acf-custom-fields>.inside .wp-list-table .col-name,.postbox#acfe-wp-custom-fields>.inside .wp-list-table .col-name{width:30%}.postbox#acfe-acf-custom-fields>.inside .wp-list-table .col-value,.postbox#acfe-wp-custom-fields>.inside .wp-list-table .col-value{width:auto}.postbox#acfe-acf-custom-fields>.inside .wp-list-table .col-field-type,.postbox#acfe-wp-custom-fields>.inside .wp-list-table .col-field-type{width:100px}.postbox#acfe-acf-custom-fields>.inside .wp-list-table .col-field-group,.postbox#acfe-wp-custom-fields>.inside .wp-list-table .col-field-group{width:120px}.postbox#acfe-acf-custom-fields>.inside .wp-list-table .col-autoload,.postbox#acfe-wp-custom-fields>.inside .wp-list-table .col-autoload{width:65px}.postbox#acfe-acf-custom-fields+.acfe_dev_bulk_actions,.postbox#acfe-wp-custom-fields+.acfe_dev_bulk_actions{padding-top:0;margin-top:-8px;margin-bottom:20px}.postbox#acfe-acf-custom-fields+.acfe_dev_bulk_actions:last-child,.postbox#acfe-wp-custom-fields+.acfe_dev_bulk_actions:last-child{margin-bottom:0}.postbox#acfe-acf-custom-fields em,.postbox#acfe-wp-custom-fields em{color:#aaa}.postbox#acfe-acf-custom-fields .acfe_dev_meta_count,.postbox#acfe-wp-custom-fields .acfe_dev_meta_count{background:#72777c;padding:1px 5px;border-radius:4px;color:#fff;margin-left:7px;font-size:12px;margin-right:auto}.postbox#acfe-acf-custom-fields pre,.postbox#acfe-wp-custom-fields pre{max-height:200px;overflow:auto;white-space:pre}.postbox#acfe-acf-custom-fields pre.raw,.postbox#acfe-wp-custom-fields pre.raw{white-space:unset;margin-top:10px;max-width:100%}@media only screen and (max-width:1100px){.postbox#acfe-acf-custom-fields thead,.postbox#acfe-wp-custom-fields thead{display:none}.postbox#acfe-acf-custom-fields tbody tr,.postbox#acfe-wp-custom-fields tbody tr{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.postbox#acfe-acf-custom-fields tbody td,.postbox#acfe-acf-custom-fields tbody th,.postbox#acfe-wp-custom-fields tbody td,.postbox#acfe-wp-custom-fields tbody th{display:block}.postbox#acfe-acf-custom-fields tbody td:first-of-type,.postbox#acfe-wp-custom-fields tbody td:first-of-type{-webkit-box-flex:1;-ms-flex:1;flex:1}.postbox#acfe-acf-custom-fields tbody td:first-of-type strong,.postbox#acfe-wp-custom-fields tbody td:first-of-type strong{display:inline-block;word-break:break-all}.postbox#acfe-acf-custom-fields tbody td:first-of-type .row-actions,.postbox#acfe-wp-custom-fields tbody td:first-of-type .row-actions{display:inline-block;padding:0;float:right}@media only screen and (max-width:850px){.postbox#acfe-acf-custom-fields tbody td:first-of-type,.postbox#acfe-wp-custom-fields tbody td:first-of-type{line-height:2.2}.postbox#acfe-acf-custom-fields tbody td:first-of-type .row-actions,.postbox#acfe-wp-custom-fields tbody td:first-of-type .row-actions{left:auto}}.postbox#acfe-acf-custom-fields tbody td:first-of-type .row-actions .delete,.postbox#acfe-acf-custom-fields tbody td:first-of-type .row-actions a,.postbox#acfe-wp-custom-fields tbody td:first-of-type .row-actions .delete,.postbox#acfe-wp-custom-fields tbody td:first-of-type .row-actions a{padding:0}.postbox#acfe-acf-custom-fields tbody td:nth-child(3),.postbox#acfe-wp-custom-fields tbody td:nth-child(3){-webkit-box-flex:1;-ms-flex:1 1 100%;flex:1 1 100%}}.acf-settings-wrap .acf-box{margin:16px 0}.acf-box .title{padding:8px 12px}.acf-box .title h3{line-height:1.48}#acfe-author>.inside{margin:0;padding:0}#acfe-author>.inside>.acf-field{margin:0;padding:15px 12px}.wp-list-table .column-acfe-load{width:70px}.wp-list-table .column-acfe-source{width:150px}.wp-list-table .column-acfe-autosync-json,.wp-list-table .column-acfe-autosync-php{width:90px;text-align:center!important}.wp-list-table .column-acfe-autosync-json .secondary,.wp-list-table .column-acfe-autosync-php .secondary{color:#ccc}.wp-list-table .column-acfe-autosync-json .dashicons-warning,.wp-list-table .column-acfe-autosync-php .dashicons-warning{font-size:15px;vertical-align:middle}.wp-list-table .column-acfe-autosync-json .dashicons-update,.wp-list-table .column-acfe-autosync-php .dashicons-update{font-size:18px}.wp-list-table .column-acfe-autosync-json .dashicons+.dashicons-warning,.wp-list-table .column-acfe-autosync-php .dashicons+.dashicons-warning{margin-left:-3px}.wp-list-table .column-acfe-autosync-json a:focus,.wp-list-table .column-acfe-autosync-php a:focus{-webkit-box-shadow:none;box-shadow:none}.acf-field[data-name=acfe_autosync] .dashicons-warning{color:#ccc;font-size:15px;height:15px;vertical-align:text-bottom}.acfe-module.acfe-module-form.acfe-module-post .acf-field[data-type=acfe_dynamic_render][data-key*="_doc"]{padding:0!important;border:0!important;position:absolute!important;top:12px;right:11px;z-index:3}.acfe-module.acfe-module-form.acfe-module-post .acf-field[data-type=acfe_dynamic_render][data-key*="_doc"]::before{background:0 0!important;border:0!important}.acfe-module.acfe-module-form.acfe-module-post .acf-field[data-type=acfe_dynamic_render][data-key*="_doc"]>.acf-label{min-height:0!important}.acfe-module.acfe-module-form.acfe-module-post .acf-field[data-type=acfe_dynamic_render][data-key*="_doc"]>.acf-input{float:none!important;width:auto!important;padding:0!important}.acfe-module.acfe-module-form.acfe-module-post .acf-field[data-type=acfe_dynamic_render][data-key*="_doc"]+.acf-field,.acfe-module.acfe-module-form.acfe-module-post .acf-field[data-type=acfe_dynamic_render][data-key*="_doc"]+.acf-tab-wrap>.acf-tab-group{border-top:0}.acfe-module.acfe-module-form.acfe-module-post .acf-field[data-name=load_acf_fields],.acfe-module.acfe-module-form.acfe-module-post .acf-field[data-name=save_acf_fields]{padding:0}.acfe-module.acfe-module-form.acfe-module-post .acf-field[data-name=load_acf_fields]>.acf-label,.acfe-module.acfe-module-form.acfe-module-post .acf-field[data-name=save_acf_fields]>.acf-label{padding:15px 12px}.acfe-module.acfe-module-form.acfe-module-post .acf-field[data-name=load_acf_fields]>.acf-input,.acfe-module.acfe-module-form.acfe-module-post .acf-field[data-name=save_acf_fields]>.acf-input{padding:0}.acfe-module.acfe-module-form.acfe-module-post .acf-field[data-name=load_acf_fields] ul li label,.acfe-module.acfe-module-form.acfe-module-post .acf-field[data-name=save_acf_fields] ul li label{display:block;padding:8px 12px;border-bottom:1px solid #e1e1e1}.acfe-module.acfe-module-form.acfe-module-post .acf-field[data-name=load_acf_fields] ul li:last-child label,.acfe-module.acfe-module-form.acfe-module-post .acf-field[data-name=save_acf_fields] ul li:last-child label{border-bottom:0}.acfe-module.acfe-module-form.acfe-module-post .acf-field[data-name=load_acf_fields] ul li input,.acfe-module.acfe-module-form.acfe-module-post .acf-field[data-name=save_acf_fields] ul li input{margin-right:7px}.acfe-module.acfe-module-form.acfe-module-post .acf-field>.acf-input.acfe-display-related-message>:not(.related-message):not(.append-terms){display:none}.acfe-module.acfe-module-form.acfe-module-post .acf-field>.acf-input.acfe-display-related-message .related-message{font-size:14px}.acfe-module.acfe-module-form.acfe-module-post .acf-field[data-name=save_post_terms]>.acf-input{display:-webkit-box;display:-ms-flexbox;display:flex}.acfe-module.acfe-module-form.acfe-module-post .acf-field[data-name=save_post_terms]>.acf-input .select2.select2-container{-webkit-box-ordinal-group:1;-ms-flex-order:0;order:0;width:83%!important}.acfe-module.acfe-module-form.acfe-module-post .acf-field[data-name=save_post_terms]>.acf-input .related-message{-webkit-box-ordinal-group:2;-ms-flex-order:1;order:1}.acfe-module.acfe-module-form.acfe-module-post .acf-field[data-name=save_post_terms]>.acf-input .acf-input.append-terms{-webkit-box-ordinal-group:3;-ms-flex-order:2;order:2;margin-top:3px;width:17%;padding-left:15px}.acfe-module.acfe-module-form.acfe-module-post .acf-field[data-name=save_post_terms]>.acf-input.acfe-display-related-message .acf-input.append-terms{margin-top:0}.acfe-module.acfe-module-form.acfe-module-post .acf-field[data-name=save_post_terms]>.acf-input.acfe-display-related-message .related-message{width:83%}.acfe-module.acfe-module-form.acfe-module-post .acf-field[data-name=files]>.acf-input .acf-actions,.acfe-module.acfe-module-form.acfe-module-post .acf-field[data-name=files_static]>.acf-input .acf-actions{text-align:left}.acfe-module.acfe-module-form.acfe-module-post .select2-results__options .loading-results,.acfe-module.acfe-module-form.acfe-module-post .select2-results__options .select2-results__message{display:none}.settings_page_acfe-options .column-option_id{width:65px}.settings_page_acfe-options .column-option_name{width:435px}.settings_page_acfe-options .column-autoload{width:100px;text-align:center}#acfe-admin-settings .inside>.acf-field{display:-webkit-box;display:-ms-flexbox;display:flex;padding:0}#acfe-admin-settings .inside>.acf-field>.acf-label{padding-top:15px;padding-bottom:15px;float:none;display:block}#acfe-admin-settings .inside>.acf-field>.acf-input{display:-webkit-box;display:-ms-flexbox;display:flex;float:none;padding:0}#acfe-admin-settings .inside>.acf-field>.acf-input>div{-webkit-box-flex:1;-ms-flex:1 1 50%;flex:1 1 50%;max-width:50%;padding:8px;min-width:0}#acfe-admin-settings .inside>.acf-field>.acf-input>div:nth-child(2){border-left:1px solid #eee}#acfe-admin-settings .inside>.acf-field>.acf-input .acfe-settings-text{overflow:hidden;-o-text-overflow:ellipsis;text-overflow:ellipsis;white-space:nowrap;max-width:100%;display:inline-block}#acfe-admin-settings .inside>.acf-field>.acf-input .acfe-settings-text>code{font-size:12px}#acfe-admin-settings .inside>.acf-field>.acf-input .dashicons-saved{font-size:21px;display:inline}#acfe-admin-settings .inside>.acf-field>.acf-input .dashicons-no-alt{color:#ccc;font-size:21px;display:inline}#acfe-admin-settings .inside>.acf-field.acfe-settings-thead>.acf-input{padding:0;border-bottom:1px solid #eee}#acfe-admin-settings .inside>.acf-field.acfe-settings-thead+.acf-field{border-top:0}.acfe-module.acfe-module-post #minor-publishing-actions,.acfe-module.acfe-module-post #misc-publishing-actions #visibility,.acfe-module.acfe-module-post #misc-publishing-actions .edit-post-status,.acfe-module.acfe-module-post #misc-publishing-actions .edit-timestamp{display:none!important}.acfe-module.acfe-module-post .acfe-misc-export{padding-top:2px}.acfe-module.acfe-module-post .acfe-misc-export span.dashicons{font-size:18px;color:#82878c;line-height:1.2;width:18px;margin-right:4px}.acfe-module.acfe-module-post.post-new-php .acfe-misc-export{display:none}.acfe-module.acfe-module-posts .status-acf-disabled .column-title a,.acfe-module.acfe-module-posts .status-acf-disabled .column-title code{color:#555!important}.acfe-module.acfe-module-posts .status-acf-disabled .column-title strong{color:#a0a5aa}.acfe-module.acfe-module-posts .column-acfe-autoload,.acfe-module.acfe-module-posts .column-acfe-position,.acfe-module.acfe-module-posts .column-acfe-posts,.acfe-module.acfe-module-posts .column-acfe-terms{width:120px}.acfe-module.acfe-module-posts .column-acfe-post-id{width:200px}ul.acfe-module-export-choices{-webkit-column-width:200px;-moz-column-width:200px;column-width:200px}.wrap .acfe-edit-module-button{display:inline-block;padding-left:4px;padding-right:4px}.wrap .acfe-edit-module-button:active{padding-left:4px;padding-right:4px}.wrap .acfe-edit-module-button span{font-size:16px;vertical-align:text-top;height:15px;width:19px;line-height:19px}.acf-postbox.seamless>.inside>.acf-field{padding:15px 12px}.acf-flexible-content .layout.ui-sortable-helper:first-child+.layout.ui-sortable-placeholder{margin-top:0}.acfe-postbox.acfe-postbox-no-handle h2.hndle{cursor:initial}.acfe-postbox.acfe-postbox-no-handle .handlediv{display:none}.acfe-postbox-top>.inside{position:relative}.acfe-postbox-top>.inside.-border{border:1px solid #ccd0d4;background:#fff}.acfe-postbox-top>.inside>.acf-field{position:relative;margin:0;padding:15px 12px;border-top:1px solid #eee}.acfe-postbox-top>.inside>.acf-field:first-child{border-top:none;margin-top:0}.acfe-postbox-left>.inside{position:relative}.acfe-postbox-left>.inside.-border{border:1px solid #ccd0d4;background:#fff}.acfe-postbox-left>.inside:after{display:block;clear:both;content:""}.acfe-postbox-left>.inside>.acf-field{position:relative;margin:0;border-top:1px solid #eee;padding:15px 0}.acfe-postbox-left>.inside>.acf-field:first-child{border-top:none;margin-top:0}.acfe-postbox-left>.inside>.acf-field:after{display:block;clear:both;content:""}.acfe-postbox-left>.inside>.acf-field:before{content:"";display:block;position:absolute;z-index:0;background:#f9f9f9;border-color:#e1e1e1;border-style:solid;border-width:0 1px 0 0;top:0;bottom:0;left:0;width:20%}.acfe-postbox-left>.inside>.acf-field[data-width]{float:none;width:auto!important;border-left-width:0!important;border-right-width:0!important}.acfe-postbox-left>.inside>.acf-field>.acf-label{float:left;width:20%;margin:0;padding:0 12px}.acfe-postbox-left>.inside>.acf-field>.acf-input{float:left;width:80%;margin:0;padding:0 12px}.acfe-postbox-left>.inside.-clear>.acf-field{border:none;padding:0;margin:15px 0}html[dir=rtl] .acfe-postbox-left>.inside>.acf-field:before{border-width:0 0 0 1px;left:auto;right:0}html[dir=rtl] .acfe-postbox-left>.inside>.acf-field>.acf-input,html[dir=rtl] .acfe-postbox-left>.inside>.acf-field>.acf-label{float:right}#side-sortables .acfe-postbox-left>.inside>.acf-field:before{display:none}#side-sortables .acfe-postbox-left>.inside>.acf-field>.acf-label{width:100%;margin-bottom:10px}#side-sortables .acfe-postbox-left>.inside>.acf-field>.acf-input{width:100%}@media screen and (max-width:640px){.acfe-postbox-left>.inside>.acf-field:before{display:none}.acfe-postbox-left>.inside>.acf-field>.acf-label{width:100%;margin-bottom:10px}.acfe-postbox-left>.inside>.acf-field>.acf-input{width:100%}}@media screen and (min-width:783px){.postbox .handle-order-higher,.postbox .handle-order-lower{visibility:hidden}.postbox:hover .handle-order-higher,.postbox:hover .handle-order-lower{visibility:visible}}.postbox .handlediv{width:1.62rem}.postbox .handlediv .toggle-indicator::before{text-indent:-7px;top:.1rem}.postbox .handle-order-higher,.postbox .handle-order-lower{vertical-align:bottom;width:1.42rem}.postbox .handle-order-higher .order-higher-indicator::before,.postbox .handle-order-higher .order-lower-indicator::before,.postbox .handle-order-lower .order-higher-indicator::before,.postbox .handle-order-lower .order-lower-indicator::before{font-size:15px;top:.23rem}#poststuff .stuffbox>h3,#poststuff h2,#poststuff h3.hndle{line-height:1.48}body.is-dragging-metaboxes #acf_after_title-sortables{outline:#646970 dashed 3px;display:flow-root;min-height:60px;margin-bottom:3px!important}.edit-post-layout__metaboxes:not(:empty){background:#f3f4f5;padding:10px 10px 0!important}.edit-post-layout__metaboxes .edit-post-meta-boxes-area .postbox{margin-bottom:10px;border:1px solid #e1e1e1}.edit-post-layout__metaboxes .edit-post-meta-boxes-area .postbox>.postbox-header{border-top:0;border-bottom:1px solid #ddd}.edit-post-layout__metaboxes .edit-post-meta-boxes-area .postbox.closed>.postbox-header,.edit-post-layout__metaboxes .edit-post-meta-boxes-area .postbox>.inside{border-bottom:0}.widget.open{z-index:inherit!important}.menu-item-settings{position:initial}.acf-meta-box-wrap.-grid #acf-admin-tool-acfe-fg-local{display:none}.acf-tab-group li a .acfe-tab-badge{border-radius:100px;background:#ddd;width:18px;height:18px;font-size:12px;display:inline-block;vertical-align:text-bottom;padding:0;text-align:center;margin-left:5px;line-height:18px}.acf-tab-group li.active a .acfe-tab-badge{background:#f1f1f1}.acf-field>.acf-input>.acf-input-wrap{overflow:initial}.acf-field>.acf-input>.acf-input-append+.acf-input-wrap,.acf-field>.acf-input>.acf-input-prepend+.acf-input-wrap{overflow:hidden}.post-type-attachment #post-body-content #acf_after_title-sortables{margin:20px 0 0}body.post-type-acf-field-group #wpcontent{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;line-height:1.4em}.acf-field .select2-container.-acf .select2-selection--single{border-radius:3px;height:30px;outline:0}.acf-field .select2-container.-acf .select2-selection--single .select2-selection__rendered{font-size:14px;height:28px;line-height:27px;padding-right:23px}.acf-field .select2-container.-acf .select2-selection--single .select2-selection__clear{line-height:26px;height:28px;font-size:16px;margin-right:0}.acf-field .select2-container.-acf .select2-selection--single button.select2-selection__clear{position:absolute;right:24px;padding:0}.acf-field .select2-container.-acf .select2-selection--single button.select2-selection__clear span{line-height:26px;height:28px;display:inline-block}.acf-field .select2-container.-acf .select2-selection--single .select2-selection__placeholder{color:#444}.acf-field .select2-container.-acf .select2-selection--single .select2-selection__arrow{height:28px}.acf-field .select2-container.-acf .select2-selection--single .select2-selection__arrow b{background:url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M5%206l5%205%205-5%202%201-7%207-7-7%202-1z%22%20fill%3D%22%23555%22%2F%3E%3C%2Fsvg%3E') 0 0/16px 16px no-repeat;border:0;width:16px;height:16px;margin-left:-11px;margin-top:-7px}.acf-field .select2-container.-acf.select2-container--open .select2-selection--single,.acf-field .select2-container.-acf:focus .select2-selection--single{border-color:#007cba;color:#016087;-webkit-box-shadow:0 0 0 1px #007cba;box-shadow:0 0 0 1px #007cba}.select2-container .select2-dropdown .select2-search--dropdown .select2-search__field{min-height:30px;border:0;-webkit-box-shadow:none;box-shadow:none;padding:0 2px}.select2-container .select2-dropdown .select2-search--dropdown .select2-search__field::-webkit-input-placeholder{color:#777}.select2-container .select2-dropdown .select2-search--dropdown .select2-search__field::-moz-placeholder{color:#777}.select2-container .select2-dropdown .select2-search--dropdown .select2-search__field:-ms-input-placeholder{color:#777}.select2-container .select2-dropdown .select2-search--dropdown .select2-search__field::-ms-input-placeholder{color:#777}.select2-container .select2-dropdown .select2-search--dropdown .select2-search__field::placeholder{color:#777}.select2-container .select2-dropdown .select2-results__option{margin-bottom:0}.acf-field .select2-container.-acf .select2-selection--multiple{min-height:30px;line-height:1;border-radius:3px;padding:0}.acf-field .select2-container.-acf .select2-selection--multiple .select2-selection__rendered{padding:0 2px;display:inline-block;margin:0}.acf-field .select2-container.-acf .select2-selection--multiple .select2-selection__choice{margin-right:2px;margin-top:2px;line-height:1.6;border-radius:3px;font-size:14px;margin-left:0;display:inline-block;vertical-align:unset;padding:0 5px}.acf-field .select2-container.-acf .select2-selection--multiple .select2-selection__choice .select2-selection__choice__display{padding:0}.acf-field .select2-container.-acf .select2-selection--multiple .select2-selection__choice .select2-selection__choice__remove{float:right;margin-left:3px;margin-right:0;line-height:23px;font-size:15px;vertical-align:text-top;position:static;padding:0;border:0;margin-top:0}.acf-field .select2-container.-acf .select2-selection--multiple .select2-selection__choice .select2-selection__choice__remove:hover{background:0 0}.acf-field .select2-container.-acf .select2-selection--multiple .select2-selection__clear{margin-top:0;margin-right:6px;font-size:16px;padding:0;line-height:26px;height:27px;position:relative}.acf-field .select2-container.-acf .select2-selection--multiple button.select2-selection__clear{float:right}.acf-field .select2-container.-acf .select2-selection--multiple .select2-search--inline{float:left;width:auto}.acf-field .select2-container.-acf .select2-selection--multiple .select2-search--inline .select2-search__field{margin-top:4px;font-size:14px;padding-left:2px;margin-left:0}.acf-field .select2-container.-acf .select2-selection--multiple .select2-search--inline .select2-search__field::-webkit-input-placeholder{color:#444}.acf-field .select2-container.-acf .select2-selection--multiple .select2-search--inline .select2-search__field::-moz-placeholder{color:#444}.acf-field .select2-container.-acf .select2-selection--multiple .select2-search--inline .select2-search__field:-ms-input-placeholder{color:#444}.acf-field .select2-container.-acf .select2-selection--multiple .select2-search--inline .select2-search__field::-ms-input-placeholder{color:#444}.acf-field .select2-container.-acf .select2-selection--multiple .select2-search--inline .select2-search__field::placeholder{color:#444}.acf-field .select2-container.-acf .select2-selection--multiple .select2-search--inline:first-child:last-child .select2-search__field{padding-left:6px}.acf-field .select2-container.-acf .select2-selection--multiple .select2-selection__rendered+.select2-search--inline{float:none;display:inline-block;vertical-align:top}.acf-field .select2-container.-acf .select2-selection--multiple .select2-selection__rendered+.select2-search--inline .select2-search__field{height:22px;line-height:1.4;padding-left:0;font-family:inherit;border-radius:0;margin-top:4px!important}.acf-field .select2-container.-acf.select2-container--focus .select2-selection--multiple,.acf-field .select2-container.-acf.select2-container--open .select2-selection--multiple{border-color:#7e8993}.select2-selection__choice>code,.select2-selection__rendered>code{font-size:12px;padding:3px;vertical-align:1px;line-height:12px}.select2-results__option>code{font-size:12px}.acf-input-wrap .acf-is-prepended+.select2>.selection>.select2-selection{border-radius:0 3px 3px 0!important}.acf-input-wrap .acf-is-appended+.select2>.selection>.select2-selection{border-radius:3px 0 0 3px!important}.acf-input-wrap .acf-is-prepended.acf-is-appended+.select2>.selection>.select2-selection{border-radius:0!important}body:not(.acf-admin-5-3) .acf-field .select2-container .select2-selection,body:not(.acf-admin-5-3) .acf-field .select2-container .select2-selection__choice{border-color:#dfdfdf!important;border-radius:0!important}body:not(.acf-admin-5-3) .acf-field .select2-container .select2-search--inline .select2-search__field{margin-top:0!important}body:not(.acf-admin-5-3) .acf-field .select2-dropdown{border-color:#dfdfdf!important;border-radius:0!important}
|
1 |
+
.widget.open{z-index:inherit!important}.menu-item-settings{position:initial}.acf-meta-box-wrap.-grid #acf-admin-tool-acfe-fg-local{display:none}.acf-tab-group li a .acfe-tab-badge{border-radius:100px;background:#ddd;width:18px;height:18px;font-size:12px;display:inline-block;vertical-align:text-bottom;padding:0;text-align:center;margin-left:5px;line-height:18px}.acf-tab-group li a:hover .acfe-tab-badge,.acf-tab-group li.active a .acfe-tab-badge{background:#f1f1f1}.acf-field>.acf-input>.acf-input-wrap{overflow:initial}.acf-field>.acf-input>.acf-input-append+.acf-input-wrap,.acf-field>.acf-input>.acf-input-prepend+.acf-input-wrap{overflow:hidden}.post-type-attachment #post-body-content #acf_after_title-sortables{margin:20px 0 0}.acf-admin-toolbar i.acf-icon,.acf-btn i.acf-icon{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;width:20px;height:20px;background-color:currentColor;border:none;border-radius:0;-webkit-mask-size:contain;mask-size:contain;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-position:center;mask-position:center;text-indent:500%;white-space:nowrap;overflow:hidden}body:not(.acf-admin-single-field-group) .acf-fields>.acf-tab-wrap .acf-tab-group li a{background:#f1f1f1;border-color:#ccd0d4}body:not(.acf-admin-single-field-group) .acf-fields>.acf-tab-wrap .acf-tab-group li a:hover,body:not(.acf-admin-single-field-group) .acf-fields>.acf-tab-wrap .acf-tab-group li.active a{background:#fff}body:not(.acf-admin-single-field-group) .acf-fields>.acf-tab-wrap:first-child .acf-tab-group{border-top:none}body:not(.acf-admin-single-field-group) .acf-tooltip{font-size:13px}code,kbd,pre,samp{font-family:Menlo,Monaco,Consolas,"Courier New",monospace;font-size:1em}pre{display:block;padding:9.5px;margin:0;line-height:1.42857143;color:#333;word-break:break-all;word-wrap:break-word;background-color:#f9f9f9;border:1px solid #ccc;border-radius:1px;white-space:pre-wrap;overflow:auto}pre>code{-webkit-user-select:inherit;-moz-user-select:inherit;-ms-user-select:inherit;user-select:inherit;padding:0;margin:0;background:0 0;font-size:1em;display:block}code{-webkit-user-select:all;-moz-user-select:all;user-select:all}code[contenteditable=true]{-webkit-user-select:auto;-moz-user-select:auto;-ms-user-select:auto;user-select:auto}.code-codemirror>.CodeMirror,.pre-codemirror>.CodeMirror{border:1px solid #ccc;height:auto;width:auto;background:#f9f9f9;padding:9px 6px}.code-codemirror>.CodeMirror .CodeMirror-selected,.pre-codemirror>.CodeMirror .CodeMirror-selected{background:#ddd!important}.code-codemirror>.CodeMirror .CodeMirror-lines,.pre-codemirror>.CodeMirror .CodeMirror-lines{padding:0}.code-codemirror{display:inline;vertical-align:middle}.code-codemirror>.CodeMirror{display:inline-block;padding:0}.acfe-pre-highlight{display:block;padding:9.5px;margin:0;line-height:1.42857143;color:#333;background-color:#f9f9f9;border:1px solid #ccc;border-radius:1px;overflow:auto;font-family:Menlo,Monaco,Consolas,Courier New,monospace;font-size:1em;white-space:nowrap}.acf-columns-2{margin-right:300px;clear:both}.acf-columns-2:after{display:block;clear:both;content:""}.acf-columns-2 .acf-column-1{float:left;width:100%}.acf-columns-2 .acf-column-2{float:right;margin-right:-300px;width:280px}html[dir=rtl] .acf-columns-2{margin-right:0;margin-left:300px}html[dir=rtl] .acf-columns-2 .acf-column-1{float:right}html[dir=rtl] .acf-columns-2 .acf-column-2{float:left;margin-right:0;margin-left:-300px}@media only screen and (max-width:850px){.acf-columns-2{margin-right:0}.acf-columns-2 .acf-column-1,.acf-columns-2 .acf-column-2{float:none;width:auto;margin:0}}.misc-pub-acfe-object-category::before,.misc-pub-acfe-object-data::before,.misc-pub-acfe-object-id::before,.misc-pub-acfe-object-meta::before,.misc-pub-acfe-object-role::before,.misc-pub-acfe-object-single-meta::before,.misc-pub-acfe-object-type::before{font:19px/1 dashicons;speak:never;display:inline-block;margin-left:-1px;padding-right:3px;vertical-align:top;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;color:#8c8f94;content:"\f173";margin-right:1px}.misc-pub-acfe-object-id::before{content:"\f464"}.misc-pub-acfe-object-type::before{content:"\f109"}.misc-pub-acfe-object-role::before{content:"\f338"}.misc-pub-acfe-object-category::before{content:"\f318"}.misc-pub-acfe-object-data::before{content:"\f206"}.misc-pub-acfe-object-meta::before{content:"\f17e"}.misc-pub-acfe-object-single-meta::before{content:"\f106"}.acfe-list-postboxes .postbox>.postbox-header>h2.hndle{cursor:initial}.acfe-list-postboxes .postbox>.postbox-header>.handle-actions>.acf-hndle-cog{width:2.2rem}.acfe-list-postboxes .postbox>.postbox-header>.handle-actions>button,.acfe-list-postboxes .postbox>.postbox-header>.handle-actions>span{display:none}.acfe-list-postboxes .postbox>.acf-fields>#acf-form-data+.acf-field{border-top:none;margin-top:0}.acfe-list-postboxes.-side{min-width:auto!important}#acfe-clean-meta>.inside{margin:0!important;padding:15px 12px!important}.postbox#acfe-acf-custom-fields>.inside,.postbox#acfe-wp-custom-fields>.inside{padding:0;margin:0}.postbox#acfe-acf-custom-fields>.inside .wp-list-table,.postbox#acfe-wp-custom-fields>.inside .wp-list-table{border:0}.postbox#acfe-acf-custom-fields>.inside .wp-list-table .col-name,.postbox#acfe-wp-custom-fields>.inside .wp-list-table .col-name{width:30%}.postbox#acfe-acf-custom-fields>.inside .wp-list-table .col-value,.postbox#acfe-wp-custom-fields>.inside .wp-list-table .col-value{width:auto}.postbox#acfe-acf-custom-fields>.inside .wp-list-table .col-field-type,.postbox#acfe-wp-custom-fields>.inside .wp-list-table .col-field-type{width:100px}.postbox#acfe-acf-custom-fields>.inside .wp-list-table .col-field-group,.postbox#acfe-wp-custom-fields>.inside .wp-list-table .col-field-group{width:120px}.postbox#acfe-acf-custom-fields>.inside .wp-list-table .col-autoload,.postbox#acfe-wp-custom-fields>.inside .wp-list-table .col-autoload{width:65px}.postbox#acfe-acf-custom-fields+.acfe-dev-bulk,.postbox#acfe-wp-custom-fields+.acfe-dev-bulk{padding-top:0;margin-top:-8px;margin-bottom:20px}.postbox#acfe-acf-custom-fields+.acfe-dev-bulk:last-child,.postbox#acfe-wp-custom-fields+.acfe-dev-bulk:last-child{margin-bottom:0}.postbox#acfe-acf-custom-fields em,.postbox#acfe-wp-custom-fields em{color:#aaa}.postbox#acfe-acf-custom-fields .acfe-dev-meta-count,.postbox#acfe-wp-custom-fields .acfe-dev-meta-count{background:#72777c;padding:1px 5px;border-radius:4px;color:#fff;margin-left:7px;font-size:12px;margin-right:auto}.postbox#acfe-acf-custom-fields pre,.postbox#acfe-wp-custom-fields pre{max-height:200px;overflow:auto;white-space:pre}.postbox#acfe-acf-custom-fields pre.raw,.postbox#acfe-wp-custom-fields pre.raw{white-space:unset;margin-top:10px;max-width:100%}@media only screen and (max-width:1100px){.postbox#acfe-acf-custom-fields thead,.postbox#acfe-wp-custom-fields thead{display:none}.postbox#acfe-acf-custom-fields tbody tr,.postbox#acfe-wp-custom-fields tbody tr{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.postbox#acfe-acf-custom-fields tbody td,.postbox#acfe-acf-custom-fields tbody th,.postbox#acfe-wp-custom-fields tbody td,.postbox#acfe-wp-custom-fields tbody th{display:block}.postbox#acfe-acf-custom-fields tbody td:first-of-type,.postbox#acfe-wp-custom-fields tbody td:first-of-type{-webkit-box-flex:1;-ms-flex:1;flex:1}.postbox#acfe-acf-custom-fields tbody td:first-of-type strong,.postbox#acfe-wp-custom-fields tbody td:first-of-type strong{display:inline-block;word-break:break-all}.postbox#acfe-acf-custom-fields tbody td:first-of-type .row-actions,.postbox#acfe-wp-custom-fields tbody td:first-of-type .row-actions{display:inline-block;padding:0;float:right}@media only screen and (max-width:850px){.postbox#acfe-acf-custom-fields tbody td:first-of-type,.postbox#acfe-wp-custom-fields tbody td:first-of-type{line-height:2.2}.postbox#acfe-acf-custom-fields tbody td:first-of-type .row-actions,.postbox#acfe-wp-custom-fields tbody td:first-of-type .row-actions{left:auto}}.postbox#acfe-acf-custom-fields tbody td:first-of-type .row-actions .delete,.postbox#acfe-acf-custom-fields tbody td:first-of-type .row-actions a,.postbox#acfe-wp-custom-fields tbody td:first-of-type .row-actions .delete,.postbox#acfe-wp-custom-fields tbody td:first-of-type .row-actions a{padding:0}.postbox#acfe-acf-custom-fields tbody td:nth-child(3),.postbox#acfe-wp-custom-fields tbody td:nth-child(3){-webkit-box-flex:1;-ms-flex:1 1 100%;flex:1 1 100%}}.acf-settings-wrap .acf-box{margin:16px 0}.acf-box .title{padding:8px 12px}.acf-box .title h3{line-height:1.48}.acfe-module.acfe-module-post #minor-publishing-actions,.acfe-module.acfe-module-post #misc-publishing-actions #visibility,.acfe-module.acfe-module-post #misc-publishing-actions .edit-post-status,.acfe-module.acfe-module-post #misc-publishing-actions .edit-timestamp{display:none!important}.acfe-module.acfe-module-post .acfe-misc-export{padding-top:2px}.acfe-module.acfe-module-post .acfe-misc-export span.dashicons{font-size:18px;color:#82878c;line-height:1.2;width:18px;margin-right:4px}.acfe-module.acfe-module-post.post-new-php .acfe-misc-export{display:none}.acfe-module.acfe-module-posts .status-acf-disabled .column-title a,.acfe-module.acfe-module-posts .status-acf-disabled .column-title code{color:#555!important}.acfe-module.acfe-module-posts .status-acf-disabled .column-title strong{color:#a0a5aa}.acfe-module.acfe-module-posts .column-acfe-autoload,.acfe-module.acfe-module-posts .column-acfe-position,.acfe-module.acfe-module-posts .column-acfe-posts,.acfe-module.acfe-module-posts .column-acfe-terms{width:120px}.acfe-module.acfe-module-posts .column-acfe-post-id{width:200px}ul.acfe-module-export-choices{-webkit-column-width:200px;-moz-column-width:200px;column-width:200px}.wrap .acfe-edit-module-button{display:inline-block;padding-left:4px;padding-right:4px}.wrap .acfe-edit-module-button:active{padding-left:4px;padding-right:4px}.wrap .acfe-edit-module-button span{font-size:16px;vertical-align:text-top;height:15px;width:19px;line-height:19px}#acfe-author>.inside{margin:0;padding:0}#acfe-author>.inside>.acf-field{margin:0;padding:15px 12px}.wp-list-table .column-acfe-load{width:70px}.wp-list-table .column-acfe-source{width:150px}.wp-list-table .column-acfe-autosync-json,.wp-list-table .column-acfe-autosync-php{width:90px;text-align:center!important}.wp-list-table .column-acfe-autosync-json .secondary,.wp-list-table .column-acfe-autosync-php .secondary{color:#ccc}.wp-list-table .column-acfe-autosync-json .dashicons-warning,.wp-list-table .column-acfe-autosync-php .dashicons-warning{font-size:15px;vertical-align:middle}.wp-list-table .column-acfe-autosync-json .dashicons-update,.wp-list-table .column-acfe-autosync-php .dashicons-update{font-size:18px}.wp-list-table .column-acfe-autosync-json .dashicons+.dashicons-warning,.wp-list-table .column-acfe-autosync-php .dashicons+.dashicons-warning{margin-left:-3px}.wp-list-table .column-acfe-autosync-json a:focus,.wp-list-table .column-acfe-autosync-php a:focus{-webkit-box-shadow:none;box-shadow:none}.acf-field[data-name=acfe_autosync] .dashicons-warning{color:#ccc;font-size:15px;height:15px;vertical-align:text-bottom}.acfe-module.acfe-module-form.acfe-module-post .acf-field[data-type=acfe_dynamic_render][data-key*="_doc"]{padding:0!important;border:0!important;position:absolute!important;top:12px;right:11px;z-index:3}.acfe-module.acfe-module-form.acfe-module-post .acf-field[data-type=acfe_dynamic_render][data-key*="_doc"]::before{background:0 0!important;border:0!important}.acfe-module.acfe-module-form.acfe-module-post .acf-field[data-type=acfe_dynamic_render][data-key*="_doc"]>.acf-label{min-height:0!important}.acfe-module.acfe-module-form.acfe-module-post .acf-field[data-type=acfe_dynamic_render][data-key*="_doc"]>.acf-input{float:none!important;width:auto!important;padding:0!important}.acfe-module.acfe-module-form.acfe-module-post .acf-field[data-type=acfe_dynamic_render][data-key*="_doc"]+.acf-field,.acfe-module.acfe-module-form.acfe-module-post .acf-field[data-type=acfe_dynamic_render][data-key*="_doc"]+.acf-tab-wrap>.acf-tab-group{border-top:0}.acfe-module.acfe-module-form.acfe-module-post .acf-field[data-name=load_acf_fields],.acfe-module.acfe-module-form.acfe-module-post .acf-field[data-name=save_acf_fields]{padding:0}.acfe-module.acfe-module-form.acfe-module-post .acf-field[data-name=load_acf_fields]>.acf-label,.acfe-module.acfe-module-form.acfe-module-post .acf-field[data-name=save_acf_fields]>.acf-label{padding:15px 12px}.acfe-module.acfe-module-form.acfe-module-post .acf-field[data-name=load_acf_fields]>.acf-input,.acfe-module.acfe-module-form.acfe-module-post .acf-field[data-name=save_acf_fields]>.acf-input{padding:0}.acfe-module.acfe-module-form.acfe-module-post .acf-field[data-name=load_acf_fields] ul li label,.acfe-module.acfe-module-form.acfe-module-post .acf-field[data-name=save_acf_fields] ul li label{display:block;padding:8px 12px;border-bottom:1px solid #e1e1e1}.acfe-module.acfe-module-form.acfe-module-post .acf-field[data-name=load_acf_fields] ul li:last-child label,.acfe-module.acfe-module-form.acfe-module-post .acf-field[data-name=save_acf_fields] ul li:last-child label{border-bottom:0}.acfe-module.acfe-module-form.acfe-module-post .acf-field[data-name=load_acf_fields] ul li input,.acfe-module.acfe-module-form.acfe-module-post .acf-field[data-name=save_acf_fields] ul li input{margin-right:7px}.acfe-module.acfe-module-form.acfe-module-post .acf-field>.acf-input.acfe-display-related-message>:not(.related-message):not(.append-terms){display:none}.acfe-module.acfe-module-form.acfe-module-post .acf-field>.acf-input.acfe-display-related-message .related-message{font-size:14px}.acfe-module.acfe-module-form.acfe-module-post .acf-field[data-name=save_post_terms]>.acf-input{display:-webkit-box;display:-ms-flexbox;display:flex}.acfe-module.acfe-module-form.acfe-module-post .acf-field[data-name=save_post_terms]>.acf-input .select2.select2-container{-webkit-box-ordinal-group:1;-ms-flex-order:0;order:0;width:83%!important}.acfe-module.acfe-module-form.acfe-module-post .acf-field[data-name=save_post_terms]>.acf-input .related-message{-webkit-box-ordinal-group:2;-ms-flex-order:1;order:1}.acfe-module.acfe-module-form.acfe-module-post .acf-field[data-name=save_post_terms]>.acf-input .acf-input.append-terms{-webkit-box-ordinal-group:3;-ms-flex-order:2;order:2;margin-top:3px;width:17%;padding-left:15px}.acfe-module.acfe-module-form.acfe-module-post .acf-field[data-name=save_post_terms]>.acf-input.acfe-display-related-message .acf-input.append-terms{margin-top:0}.acfe-module.acfe-module-form.acfe-module-post .acf-field[data-name=save_post_terms]>.acf-input.acfe-display-related-message .related-message{width:83%}.acfe-module.acfe-module-form.acfe-module-post .acf-field[data-name=files]>.acf-input .acf-actions,.acfe-module.acfe-module-form.acfe-module-post .acf-field[data-name=files_static]>.acf-input .acf-actions{text-align:left}.acfe-module.acfe-module-form.acfe-module-post .select2-results__options .loading-results,.acfe-module.acfe-module-form.acfe-module-post .select2-results__options .select2-results__message{display:none}.settings_page_acfe-options .column-option_id{width:65px}.settings_page_acfe-options .column-option_name{width:435px}.settings_page_acfe-options .column-autoload{width:100px;text-align:center}#acfe-admin-settings .inside>.acf-field{display:-webkit-box;display:-ms-flexbox;display:flex;padding:0}#acfe-admin-settings .inside>.acf-field>.acf-label{padding-top:15px;padding-bottom:15px;float:none;display:block}#acfe-admin-settings .inside>.acf-field>.acf-input{display:-webkit-box;display:-ms-flexbox;display:flex;float:none;padding:0}#acfe-admin-settings .inside>.acf-field>.acf-input>div{-webkit-box-flex:1;-ms-flex:1 1 50%;flex:1 1 50%;max-width:50%;padding:8px;min-width:0}#acfe-admin-settings .inside>.acf-field>.acf-input>div:nth-child(2){border-left:1px solid #eee}#acfe-admin-settings .inside>.acf-field>.acf-input .acfe-settings-text{overflow:hidden;-o-text-overflow:ellipsis;text-overflow:ellipsis;white-space:nowrap;max-width:100%;display:inline-block}#acfe-admin-settings .inside>.acf-field>.acf-input .acfe-settings-text>code{font-size:12px}#acfe-admin-settings .inside>.acf-field>.acf-input .dashicons-saved{font-size:21px;display:inline}#acfe-admin-settings .inside>.acf-field>.acf-input .dashicons-no-alt{color:#ccc;font-size:21px;display:inline}#acfe-admin-settings .inside>.acf-field.acfe-settings-thead>.acf-input{padding:0;border-bottom:1px solid #eee}#acfe-admin-settings .inside>.acf-field.acfe-settings-thead+.acf-field{border-top:0}.acf-postbox.seamless>.inside>.acf-field{padding:15px 12px}.acf-flexible-content .layout.ui-sortable-helper:first-child{margin-top:20px}.acf-flexible-content .layout.ui-sortable-helper:first-child+.layout.ui-sortable-placeholder{margin-top:0}.acf-fields.-top>.acf-field-flexible-content>.acf-input>.acf-flexible-content>.values>.layout.ui-sortable-helper:first-child{margin-top:10px}.acfe-postbox.acfe-postbox-no-handle h2.hndle{cursor:initial}.acfe-postbox.acfe-postbox-no-handle .handlediv{display:none}.acfe-postbox-top>.inside{position:relative}.acfe-postbox-top>.inside.-border{border:1px solid #ccd0d4;background:#fff}.acfe-postbox-top>.inside>.acf-field{position:relative;margin:0;padding:15px 12px;border-top:1px solid #eee}.acfe-postbox-top>.inside>.acf-field:first-child{border-top:none;margin-top:0}.acfe-postbox-left>.inside{position:relative}.acfe-postbox-left>.inside.-border{border:1px solid #ccd0d4;background:#fff}.acfe-postbox-left>.inside:after{display:block;clear:both;content:""}.acfe-postbox-left>.inside>.acf-field{position:relative;margin:0;border-top:1px solid #eee;padding:15px 0}.acfe-postbox-left>.inside>.acf-field:first-child{border-top:none;margin-top:0}.acfe-postbox-left>.inside>.acf-field:after{display:block;clear:both;content:""}.acfe-postbox-left>.inside>.acf-field:before{content:"";display:block;position:absolute;z-index:0;background:#f9f9f9;border-color:#e1e1e1;border-style:solid;border-width:0 1px 0 0;top:0;bottom:0;left:0;width:20%}.acfe-postbox-left>.inside>.acf-field[data-width]{float:none;width:auto!important;border-left-width:0!important;border-right-width:0!important}.acfe-postbox-left>.inside>.acf-field>.acf-label{float:left;width:20%;margin:0;padding:0 12px}.acfe-postbox-left>.inside>.acf-field>.acf-input{float:left;width:80%;margin:0;padding:0 12px}.acfe-postbox-left>.inside.-clear>.acf-field{border:none;padding:0;margin:15px 0}html[dir=rtl] .acfe-postbox-left>.inside>.acf-field:before{border-width:0 0 0 1px;left:auto;right:0}html[dir=rtl] .acfe-postbox-left>.inside>.acf-field>.acf-input,html[dir=rtl] .acfe-postbox-left>.inside>.acf-field>.acf-label{float:right}#side-sortables .acfe-postbox-left>.inside>.acf-field:before{display:none}#side-sortables .acfe-postbox-left>.inside>.acf-field>.acf-label{width:100%;margin-bottom:10px}#side-sortables .acfe-postbox-left>.inside>.acf-field>.acf-input{width:100%}@media screen and (max-width:640px){.acfe-postbox-left>.inside>.acf-field:before{display:none}.acfe-postbox-left>.inside>.acf-field>.acf-label{width:100%;margin-bottom:10px}.acfe-postbox-left>.inside>.acf-field>.acf-input{width:100%}}@media screen and (min-width:783px){.postbox .handle-order-higher,.postbox .handle-order-lower{visibility:hidden}.postbox:hover .handle-order-higher,.postbox:hover .handle-order-lower{visibility:visible}}.postbox .handlediv{width:1.62rem}.postbox .handlediv .toggle-indicator::before{text-indent:-7px;top:.1rem}.postbox .handle-order-higher,.postbox .handle-order-lower{vertical-align:bottom;width:1.42rem}.postbox .handle-order-higher .order-higher-indicator::before,.postbox .handle-order-higher .order-lower-indicator::before,.postbox .handle-order-lower .order-higher-indicator::before,.postbox .handle-order-lower .order-lower-indicator::before{font-size:15px;top:.23rem}#poststuff .stuffbox>h3,#poststuff h2,#poststuff h3.hndle{line-height:1.48}body.is-dragging-metaboxes #acf_after_title-sortables{outline:#646970 dashed 3px;display:flow-root;min-height:60px;margin-bottom:3px!important}.edit-post-layout__metaboxes:not(:empty){background:#f3f4f5;padding:10px 10px 0!important}.edit-post-layout__metaboxes .edit-post-meta-boxes-area .postbox{margin-bottom:10px;border:1px solid #e1e1e1}.edit-post-layout__metaboxes .edit-post-meta-boxes-area .postbox>.postbox-header{border-top:0;border-bottom:1px solid #ddd}.edit-post-layout__metaboxes .edit-post-meta-boxes-area .postbox.closed>.postbox-header,.edit-post-layout__metaboxes .edit-post-meta-boxes-area .postbox>.inside{border-bottom:0}.acf-field .select2-container.-acf .select2-selection--single{border-radius:3px;height:30px;outline:0}.acf-field .select2-container.-acf .select2-selection--single .select2-selection__rendered{font-size:14px;height:28px;line-height:27px;padding-right:23px}.acf-field .select2-container.-acf .select2-selection--single .select2-selection__clear{line-height:26px;height:28px;font-size:16px;margin-right:0}.acf-field .select2-container.-acf .select2-selection--single button.select2-selection__clear{position:absolute;right:24px;padding:0}.acf-field .select2-container.-acf .select2-selection--single button.select2-selection__clear span{line-height:26px;height:28px;display:inline-block}.acf-field .select2-container.-acf .select2-selection--single .select2-selection__placeholder{color:#444}.acf-field .select2-container.-acf .select2-selection--single .select2-selection__arrow{height:28px}.acf-field .select2-container.-acf .select2-selection--single .select2-selection__arrow b{background:url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M5%206l5%205%205-5%202%201-7%207-7-7%202-1z%22%20fill%3D%22%23555%22%2F%3E%3C%2Fsvg%3E') 0 0/16px 16px no-repeat;border:0;width:16px;height:16px;margin-left:-11px;margin-top:-7px}.acf-field .select2-container.-acf.select2-container--open .select2-selection--single,.acf-field .select2-container.-acf:focus .select2-selection--single{border-color:#007cba;color:#016087;-webkit-box-shadow:0 0 0 1px #007cba;box-shadow:0 0 0 1px #007cba}.select2-container .select2-dropdown{margin-top:0;border-color:#aaa!important}.select2-container .select2-dropdown .select2-search--dropdown .select2-search__field{min-height:30px;border:0;-webkit-box-shadow:none;box-shadow:none;padding:0 2px}.select2-container .select2-dropdown .select2-search--dropdown .select2-search__field::-webkit-input-placeholder{color:#777}.select2-container .select2-dropdown .select2-search--dropdown .select2-search__field::-moz-placeholder{color:#777}.select2-container .select2-dropdown .select2-search--dropdown .select2-search__field:-ms-input-placeholder{color:#777}.select2-container .select2-dropdown .select2-search--dropdown .select2-search__field::-ms-input-placeholder{color:#777}.select2-container .select2-dropdown .select2-search--dropdown .select2-search__field::placeholder{color:#777}.select2-container .select2-dropdown .select2-results__option{margin-bottom:0}.acf-field .select2-container.-acf .select2-selection--multiple{min-height:30px;line-height:1;border-radius:3px;padding:0}.acf-field .select2-container.-acf .select2-selection--multiple .select2-selection__rendered{padding:0 2px;display:inline-block;margin:0}.acf-field .select2-container.-acf .select2-selection--multiple .select2-selection__choice{margin-right:2px;margin-top:2px;line-height:1.6;border-radius:3px;font-size:14px;margin-left:0;display:inline-block;vertical-align:unset;padding:0 5px}.acf-field .select2-container.-acf .select2-selection--multiple .select2-selection__choice .select2-selection__choice__display{padding:0}.acf-field .select2-container.-acf .select2-selection--multiple .select2-selection__choice .select2-selection__choice__remove{float:right;margin-left:3px;margin-right:0;line-height:23px;font-size:15px;vertical-align:text-top;position:static;padding:0;border:0;margin-top:0}.acf-field .select2-container.-acf .select2-selection--multiple .select2-selection__choice .select2-selection__choice__remove:hover{background:0 0}.acf-field .select2-container.-acf .select2-selection--multiple .select2-selection__clear{margin-top:0;margin-right:6px;font-size:16px;padding:0;line-height:26px;height:27px;position:relative}.acf-field .select2-container.-acf .select2-selection--multiple button.select2-selection__clear{float:right}.acf-field .select2-container.-acf .select2-selection--multiple .select2-search--inline{float:left;width:auto}.acf-field .select2-container.-acf .select2-selection--multiple .select2-search--inline .select2-search__field{margin-top:4px;font-size:14px;padding-left:2px;margin-left:0}.acf-field .select2-container.-acf .select2-selection--multiple .select2-search--inline .select2-search__field::-webkit-input-placeholder{color:#444}.acf-field .select2-container.-acf .select2-selection--multiple .select2-search--inline .select2-search__field::-moz-placeholder{color:#444}.acf-field .select2-container.-acf .select2-selection--multiple .select2-search--inline .select2-search__field:-ms-input-placeholder{color:#444}.acf-field .select2-container.-acf .select2-selection--multiple .select2-search--inline .select2-search__field::-ms-input-placeholder{color:#444}.acf-field .select2-container.-acf .select2-selection--multiple .select2-search--inline .select2-search__field::placeholder{color:#444}.acf-field .select2-container.-acf .select2-selection--multiple .select2-search--inline:first-child:last-child .select2-search__field{padding-left:6px}.acf-field .select2-container.-acf .select2-selection--multiple .select2-selection__rendered+.select2-search--inline{float:none;display:inline-block;vertical-align:top}.acf-field .select2-container.-acf .select2-selection--multiple .select2-selection__rendered+.select2-search--inline .select2-search__field{height:22px;line-height:1.4;padding-left:0;font-family:inherit;border-radius:0;margin-top:4px!important}.acf-field .select2-container.-acf.select2-container--focus .select2-selection--multiple,.acf-field .select2-container.-acf.select2-container--open .select2-selection--multiple{border-color:#7e8993}.select2-selection__choice>code,.select2-selection__rendered>code{font-size:12px;padding:3px;vertical-align:1px;line-height:12px}.select2-results__option>code{font-size:12px}.acf-input-wrap .acf-is-prepended+.select2>.selection>.select2-selection{border-radius:0 3px 3px 0!important}.acf-input-wrap .acf-is-appended+.select2>.selection>.select2-selection{border-radius:3px 0 0 3px!important}.acf-input-wrap .acf-is-prepended.acf-is-appended+.select2>.selection>.select2-selection{border-radius:0!important}body:not(.acf-admin-5-3) .acf-field .select2-container .select2-selection,body:not(.acf-admin-5-3) .acf-field .select2-container .select2-selection__choice{border-color:#dfdfdf!important;border-radius:0!important}body:not(.acf-admin-5-3) .acf-field .select2-container .select2-search--inline .select2-search__field{margin-top:0!important}body:not(.acf-admin-5-3) .acf-field .select2-dropdown{border-color:#dfdfdf!important;border-radius:0!important}
|
assets/css/acfe-field-group.css
CHANGED
@@ -1,115 +1,3 @@
|
|
1 |
-
.acf-admin-6.edit-php .wp-list-table tbody td,
|
2 |
-
.acf-admin-6.edit-php .wp-list-table tbody th {
|
3 |
-
height: 57px
|
4 |
-
}
|
5 |
-
|
6 |
-
.acf-admin-6.edit-php .wp-list-table .column-acf-count {
|
7 |
-
width: 90px
|
8 |
-
}
|
9 |
-
|
10 |
-
.acf-admin-6.edit-php .wp-list-table .column-acfe-load {
|
11 |
-
width: 80px
|
12 |
-
}
|
13 |
-
|
14 |
-
.acf-admin-6.post-php .acf-fields .acf-field-tab {
|
15 |
-
display: none !important
|
16 |
-
}
|
17 |
-
|
18 |
-
.acf-admin-6.post-php #submitdiv .button {
|
19 |
-
height: 32px
|
20 |
-
}
|
21 |
-
|
22 |
-
.acf-admin-6.post-php .acf-field-settings .acf-field .CodeMirror-wrap.cm-s-default {
|
23 |
-
width: 100%
|
24 |
-
}
|
25 |
-
|
26 |
-
.acf-admin-6.post-php .acf-field-settings .acf-field.acf-field-acfe-flexible-add-actions .acf-input,
|
27 |
-
.acf-admin-6.post-php .acf-field-settings .acf-field.acf-field-acfe-flexible-add-actions .acf-label,
|
28 |
-
.acf-admin-6.post-php .acf-field-settings .acf-field.acf-field-acfe-flexible-async .acf-input,
|
29 |
-
.acf-admin-6.post-php .acf-field-settings .acf-field.acf-field-acfe-flexible-async .acf-label,
|
30 |
-
.acf-admin-6.post-php .acf-field-settings .acf-field.acf-field-acfe-flexible-grid .acf-input,
|
31 |
-
.acf-admin-6.post-php .acf-field-settings .acf-field.acf-field-acfe-flexible-grid .acf-label,
|
32 |
-
.acf-admin-6.post-php .acf-field-settings .acf-field.acf-field-acfe-flexible-grid-container .acf-input,
|
33 |
-
.acf-admin-6.post-php .acf-field-settings .acf-field.acf-field-acfe-flexible-grid-container .acf-label,
|
34 |
-
.acf-admin-6.post-php .acf-field-settings .acf-field.acf-field-acfe-flexible-layouts-state .acf-input,
|
35 |
-
.acf-admin-6.post-php .acf-field-settings .acf-field.acf-field-acfe-flexible-layouts-state .acf-label,
|
36 |
-
.acf-admin-6.post-php .acf-field-settings .acf-field.acf-field-acfe-flexible-modal .acf-input,
|
37 |
-
.acf-admin-6.post-php .acf-field-settings .acf-field.acf-field-acfe-flexible-modal .acf-label,
|
38 |
-
.acf-admin-6.post-php .acf-field-settings .acf-field.acf-field-acfe-flexible-modal-edit .acf-input,
|
39 |
-
.acf-admin-6.post-php .acf-field-settings .acf-field.acf-field-acfe-flexible-modal-edit .acf-label,
|
40 |
-
.acf-admin-6.post-php .acf-field-settings .acf-field.acf-field-acfe-flexible-remove-button .acf-input,
|
41 |
-
.acf-admin-6.post-php .acf-field-settings .acf-field.acf-field-acfe-flexible-remove-button .acf-label {
|
42 |
-
max-width: 930px
|
43 |
-
}
|
44 |
-
|
45 |
-
.acf-admin-6.post-php .acfe-field-setting-flex>.acf-input>.acf-fields>.acf-field:first-child {
|
46 |
-
margin-bottom: 0
|
47 |
-
}
|
48 |
-
|
49 |
-
.acf-admin-6.post-php .acfe-field-setting-flex>.acf-input>.acf-fields>.acf-field:first-child~.acf-field {
|
50 |
-
padding-right: 5px;
|
51 |
-
margin-bottom: 0
|
52 |
-
}
|
53 |
-
|
54 |
-
.acf-admin-6.post-php .acfe-field-setting-flex>.acf-input>.acf-fields>.acf-field:first-child~.acf-field.acf-field-acfe-flexible-modal-col {
|
55 |
-
width: 25% !important
|
56 |
-
}
|
57 |
-
|
58 |
-
.acf-admin-6.post-php .acfe-field-setting-flex>.acf-input>.acf-fields>.acf-field:first-child~.acf-field select {
|
59 |
-
min-width: 50px
|
60 |
-
}
|
61 |
-
|
62 |
-
.acf-admin-6.post-php .acf-field-setting-fc_layout>.acf-input>.acf-fc-meta .acf-field.acfe-flexible-field-setting {
|
63 |
-
padding-left: 0;
|
64 |
-
padding-right: 0
|
65 |
-
}
|
66 |
-
|
67 |
-
.acf-admin-6.post-php .acf-field-setting-fc_layout>.acf-input>.acf-fc-meta .acf-field.acfe-flexible-field-setting+li>ul {
|
68 |
-
padding-left: 0;
|
69 |
-
padding-right: 0
|
70 |
-
}
|
71 |
-
|
72 |
-
.acf-admin-6.post-php .acf-field-setting-fc_layout>.acf-input>.acf-fc-meta select {
|
73 |
-
min-width: 50px
|
74 |
-
}
|
75 |
-
|
76 |
-
.acf-admin-6.post-php .acf-field-setting-fc_layout>.acf-input>.acf-fc-meta .select2-selection__rendered {
|
77 |
-
border-radius: 0 6px 6px 0
|
78 |
-
}
|
79 |
-
|
80 |
-
.acf-admin-6.post-php .acf-field-setting-fc_layout>.acf-input>.acf-fc-meta .select2-selection__rendered .select2-search input {
|
81 |
-
height: 38px;
|
82 |
-
margin-top: 0;
|
83 |
-
border-radius: 0 6px 6px 0
|
84 |
-
}
|
85 |
-
|
86 |
-
.acf-admin-6.post-php .acf-field-setting-fc_layout>.acf-input>.acf-fc-meta .select2-selection__rendered .select2-selection__clear {
|
87 |
-
margin-top: 12px;
|
88 |
-
margin-right: 0;
|
89 |
-
height: 15px
|
90 |
-
}
|
91 |
-
|
92 |
-
.acf-admin-6.post-php .acf-field-setting-fc_layout>.acf-input>.acf-fc-meta .acfe-flexible-layout-location-rules {
|
93 |
-
padding-left: 0;
|
94 |
-
padding-right: 0
|
95 |
-
}
|
96 |
-
|
97 |
-
.acf-admin-6.post-php .acf-field-setting-fc_layout>.acf-input>.acf-fc-meta .acf-field[data-name=acfe_flexible_category],
|
98 |
-
.acf-admin-6.post-php .acf-field-setting-fc_layout>.acf-input>.acf-fc-meta .acf-field[data-name=acfe_flexible_settings_label] {
|
99 |
-
padding-left: 0;
|
100 |
-
padding-right: 0
|
101 |
-
}
|
102 |
-
|
103 |
-
.acf-admin-6.post-php .acf-fields.-left>.acf-field>.acf-label {
|
104 |
-
display: block
|
105 |
-
}
|
106 |
-
|
107 |
-
.acf-admin-6.post-php .acf-field-setting-acfe_field_group_condition {
|
108 |
-
padding-right: 72px;
|
109 |
-
padding-left: 72px;
|
110 |
-
margin-top: 32px
|
111 |
-
}
|
112 |
-
|
113 |
.submitbox .misc-pub-acfe-field-group-key {
|
114 |
padding-top: 2px
|
115 |
}
|
@@ -475,4 +363,172 @@ body.acf-admin-5-3 .acf-field-setting-fc_layout .acf-input-wrap.select select {
|
|
475 |
|
476 |
.acf-hl[data-cols="6"]>li {
|
477 |
width: 16.667%
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
478 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
.submitbox .misc-pub-acfe-field-group-key {
|
2 |
padding-top: 2px
|
3 |
}
|
363 |
|
364 |
.acf-hl[data-cols="6"]>li {
|
365 |
width: 16.667%
|
366 |
+
}
|
367 |
+
|
368 |
+
.acf-admin-6.edit-php .wp-list-table tbody td,
|
369 |
+
.acf-admin-6.edit-php .wp-list-table tbody th {
|
370 |
+
height: 57px
|
371 |
+
}
|
372 |
+
|
373 |
+
.acf-admin-6.edit-php .wp-list-table .column-acf-count {
|
374 |
+
width: 90px
|
375 |
+
}
|
376 |
+
|
377 |
+
.acf-admin-6.edit-php .wp-list-table .column-acfe-load {
|
378 |
+
width: 80px
|
379 |
+
}
|
380 |
+
|
381 |
+
.acf-admin-6.post-php .acf-fields .acf-field-tab {
|
382 |
+
display: none !important
|
383 |
+
}
|
384 |
+
|
385 |
+
.acf-admin-6.post-php #submitdiv .button {
|
386 |
+
height: 32px
|
387 |
+
}
|
388 |
+
|
389 |
+
.acf-admin-6.post-php .acf-field-settings .acf-field .CodeMirror-wrap.cm-s-default {
|
390 |
+
width: 100%
|
391 |
+
}
|
392 |
+
|
393 |
+
.acf-admin-6.post-php .acf-field-settings .acf-field.acf-field-acfe-flexible-add-actions .acf-input,
|
394 |
+
.acf-admin-6.post-php .acf-field-settings .acf-field.acf-field-acfe-flexible-add-actions .acf-label,
|
395 |
+
.acf-admin-6.post-php .acf-field-settings .acf-field.acf-field-acfe-flexible-async .acf-input,
|
396 |
+
.acf-admin-6.post-php .acf-field-settings .acf-field.acf-field-acfe-flexible-async .acf-label,
|
397 |
+
.acf-admin-6.post-php .acf-field-settings .acf-field.acf-field-acfe-flexible-grid .acf-input,
|
398 |
+
.acf-admin-6.post-php .acf-field-settings .acf-field.acf-field-acfe-flexible-grid .acf-label,
|
399 |
+
.acf-admin-6.post-php .acf-field-settings .acf-field.acf-field-acfe-flexible-grid-container .acf-input,
|
400 |
+
.acf-admin-6.post-php .acf-field-settings .acf-field.acf-field-acfe-flexible-grid-container .acf-label,
|
401 |
+
.acf-admin-6.post-php .acf-field-settings .acf-field.acf-field-acfe-flexible-layouts-state .acf-input,
|
402 |
+
.acf-admin-6.post-php .acf-field-settings .acf-field.acf-field-acfe-flexible-layouts-state .acf-label,
|
403 |
+
.acf-admin-6.post-php .acf-field-settings .acf-field.acf-field-acfe-flexible-modal .acf-input,
|
404 |
+
.acf-admin-6.post-php .acf-field-settings .acf-field.acf-field-acfe-flexible-modal .acf-label,
|
405 |
+
.acf-admin-6.post-php .acf-field-settings .acf-field.acf-field-acfe-flexible-modal-edit .acf-input,
|
406 |
+
.acf-admin-6.post-php .acf-field-settings .acf-field.acf-field-acfe-flexible-modal-edit .acf-label,
|
407 |
+
.acf-admin-6.post-php .acf-field-settings .acf-field.acf-field-acfe-flexible-remove-button .acf-input,
|
408 |
+
.acf-admin-6.post-php .acf-field-settings .acf-field.acf-field-acfe-flexible-remove-button .acf-label {
|
409 |
+
max-width: 930px
|
410 |
+
}
|
411 |
+
|
412 |
+
.acf-admin-6.post-php .acf-field-settings .acf-field-setting-hide_field>.acf-input ul {
|
413 |
+
-ms-flex-wrap: wrap;
|
414 |
+
flex-wrap: wrap
|
415 |
+
}
|
416 |
+
|
417 |
+
.acf-admin-6.post-php .acf-field-settings .acf-field-setting-hide_field>.acf-input ul li {
|
418 |
+
width: 50%
|
419 |
+
}
|
420 |
+
|
421 |
+
.acf-admin-6.post-php .acf-field-settings .acf-field-setting-hide_field>.acf-input ul li:nth-child(3),
|
422 |
+
.acf-admin-6.post-php .acf-field-settings .acf-field-setting-hide_field>.acf-input ul li:nth-child(4) {
|
423 |
+
margin-top: 10px
|
424 |
+
}
|
425 |
+
|
426 |
+
.acf-admin-6.post-php .acf-field-settings .acf-field-setting-hide_field>.acf-input ul li select {
|
427 |
+
min-width: 50px
|
428 |
+
}
|
429 |
+
|
430 |
+
.acf-admin-6.post-php .acf-field-settings .acf-field-setting-acfe_settings>.acf-input,
|
431 |
+
.acf-admin-6.post-php .acf-field-settings .acf-field-setting-acfe_settings>.acf-label,
|
432 |
+
.acf-admin-6.post-php .acf-field-settings .acf-field-setting-acfe_validate>.acf-input,
|
433 |
+
.acf-admin-6.post-php .acf-field-settings .acf-field-setting-acfe_validate>.acf-label {
|
434 |
+
max-width: 930px
|
435 |
+
}
|
436 |
+
|
437 |
+
.acf-admin-6.post-php .acf-field-settings .acf-field-setting-acfe_settings .acf-field-acfe-settings-location,
|
438 |
+
.acf-admin-6.post-php .acf-field-settings .acf-field-setting-acfe_settings .acf-field-acfe-validate-location,
|
439 |
+
.acf-admin-6.post-php .acf-field-settings .acf-field-setting-acfe_settings .acf-field-acfe-validate-rules-and,
|
440 |
+
.acf-admin-6.post-php .acf-field-settings .acf-field-setting-acfe_validate .acf-field-acfe-settings-location,
|
441 |
+
.acf-admin-6.post-php .acf-field-settings .acf-field-setting-acfe_validate .acf-field-acfe-validate-location,
|
442 |
+
.acf-admin-6.post-php .acf-field-settings .acf-field-setting-acfe_validate .acf-field-acfe-validate-rules-and {
|
443 |
+
margin: 0
|
444 |
+
}
|
445 |
+
|
446 |
+
.acf-admin-6.post-php .acf-field-settings .acf-field-setting-acfe_settings .acf-field-acfe-settings-settings .acf-repeater td.acf-field,
|
447 |
+
.acf-admin-6.post-php .acf-field-settings .acf-field-setting-acfe_settings .acf-field-acfe-validate-rules-and .acf-repeater td.acf-field,
|
448 |
+
.acf-admin-6.post-php .acf-field-settings .acf-field-setting-acfe_validate .acf-field-acfe-settings-settings .acf-repeater td.acf-field,
|
449 |
+
.acf-admin-6.post-php .acf-field-settings .acf-field-setting-acfe_validate .acf-field-acfe-validate-rules-and .acf-repeater td.acf-field {
|
450 |
+
width: 33.33%
|
451 |
+
}
|
452 |
+
|
453 |
+
.acf-admin-6.post-php .acf-field-settings .acf-field-setting-acfe_settings .acf-field-acfe-settings-settings .acf-repeater .acf-field,
|
454 |
+
.acf-admin-6.post-php .acf-field-settings .acf-field-setting-acfe_settings .acf-field-acfe-validate-rules-and .acf-repeater .acf-field,
|
455 |
+
.acf-admin-6.post-php .acf-field-settings .acf-field-setting-acfe_validate .acf-field-acfe-settings-settings .acf-repeater .acf-field,
|
456 |
+
.acf-admin-6.post-php .acf-field-settings .acf-field-setting-acfe_validate .acf-field-acfe-validate-rules-and .acf-repeater .acf-field {
|
457 |
+
padding: 10px
|
458 |
+
}
|
459 |
+
|
460 |
+
.acf-admin-6.post-php .acf-field-settings .acf-field-setting-acfe_settings .acf-field-acfe-settings-settings .acf-repeater .acf-field select,
|
461 |
+
.acf-admin-6.post-php .acf-field-settings .acf-field-setting-acfe_settings .acf-field-acfe-validate-rules-and .acf-repeater .acf-field select,
|
462 |
+
.acf-admin-6.post-php .acf-field-settings .acf-field-setting-acfe_validate .acf-field-acfe-settings-settings .acf-repeater .acf-field select,
|
463 |
+
.acf-admin-6.post-php .acf-field-settings .acf-field-setting-acfe_validate .acf-field-acfe-validate-rules-and .acf-repeater .acf-field select {
|
464 |
+
max-width: 100%;
|
465 |
+
min-width: 80px
|
466 |
+
}
|
467 |
+
|
468 |
+
.acf-admin-6.post-php .acfe-field-setting-flex>.acf-input>.acf-fields>.acf-field:first-child {
|
469 |
+
margin-bottom: 0
|
470 |
+
}
|
471 |
+
|
472 |
+
.acf-admin-6.post-php .acfe-field-setting-flex>.acf-input>.acf-fields>.acf-field:first-child~.acf-field {
|
473 |
+
padding-right: 5px;
|
474 |
+
margin-bottom: 0
|
475 |
+
}
|
476 |
+
|
477 |
+
.acf-admin-6.post-php .acfe-field-setting-flex>.acf-input>.acf-fields>.acf-field:first-child~.acf-field.acf-field-acfe-flexible-modal-col {
|
478 |
+
width: 25% !important
|
479 |
+
}
|
480 |
+
|
481 |
+
.acf-admin-6.post-php .acfe-field-setting-flex>.acf-input>.acf-fields>.acf-field:first-child~.acf-field select {
|
482 |
+
min-width: 50px
|
483 |
+
}
|
484 |
+
|
485 |
+
.acf-admin-6.post-php .acf-field-setting-fc_layout>.acf-input>.acf-fc-meta .acf-field.acfe-flexible-field-setting {
|
486 |
+
padding-left: 0;
|
487 |
+
padding-right: 0
|
488 |
+
}
|
489 |
+
|
490 |
+
.acf-admin-6.post-php .acf-field-setting-fc_layout>.acf-input>.acf-fc-meta .acf-field.acfe-flexible-field-setting+li>ul {
|
491 |
+
padding-left: 0;
|
492 |
+
padding-right: 0
|
493 |
+
}
|
494 |
+
|
495 |
+
.acf-admin-6.post-php .acf-field-setting-fc_layout>.acf-input>.acf-fc-meta select {
|
496 |
+
min-width: 50px
|
497 |
+
}
|
498 |
+
|
499 |
+
.acf-admin-6.post-php .acf-field-setting-fc_layout>.acf-input>.acf-fc-meta .select2-selection__rendered {
|
500 |
+
border-radius: 0 6px 6px 0
|
501 |
+
}
|
502 |
+
|
503 |
+
.acf-admin-6.post-php .acf-field-setting-fc_layout>.acf-input>.acf-fc-meta .select2-selection__rendered .select2-search input {
|
504 |
+
height: 38px;
|
505 |
+
margin-top: 0;
|
506 |
+
border-radius: 0 6px 6px 0
|
507 |
+
}
|
508 |
+
|
509 |
+
.acf-admin-6.post-php .acf-field-setting-fc_layout>.acf-input>.acf-fc-meta .select2-selection__rendered .select2-selection__clear {
|
510 |
+
margin-top: 12px;
|
511 |
+
margin-right: 0;
|
512 |
+
height: 15px
|
513 |
+
}
|
514 |
+
|
515 |
+
.acf-admin-6.post-php .acf-field-setting-fc_layout>.acf-input>.acf-fc-meta .acfe-flexible-layout-location-rules {
|
516 |
+
padding-left: 0;
|
517 |
+
padding-right: 0
|
518 |
+
}
|
519 |
+
|
520 |
+
.acf-admin-6.post-php .acf-field-setting-fc_layout>.acf-input>.acf-fc-meta .acf-field[data-name=acfe_flexible_category],
|
521 |
+
.acf-admin-6.post-php .acf-field-setting-fc_layout>.acf-input>.acf-fc-meta .acf-field[data-name=acfe_flexible_settings_label] {
|
522 |
+
padding-left: 0;
|
523 |
+
padding-right: 0
|
524 |
+
}
|
525 |
+
|
526 |
+
.acf-admin-6.post-php .acf-fields.-left>.acf-field>.acf-label {
|
527 |
+
display: block
|
528 |
+
}
|
529 |
+
|
530 |
+
.acf-admin-6.post-php .acf-field-setting-acfe_field_group_condition {
|
531 |
+
padding-right: 72px;
|
532 |
+
padding-left: 72px;
|
533 |
+
margin-top: 32px
|
534 |
}
|
assets/css/acfe-field-group.min.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
.acf-admin-6.edit-php .wp-list-table tbody td,.acf-admin-6.edit-php .wp-list-table tbody th{height:57px}.acf-admin-6.edit-php .wp-list-table .column-acf-count{width:90px}.acf-admin-6.edit-php .wp-list-table .column-acfe-load{width:80px}.acf-admin-6.post-php .acf-fields .acf-field-tab{display:none!important}.acf-admin-6.post-php #submitdiv .button{height:32px}.acf-admin-6.post-php .acf-field-settings .acf-field .CodeMirror-wrap.cm-s-default{width:100%}.acf-admin-6.post-php .acf-field-settings .acf-field.acf-field-acfe-flexible-add-actions .acf-input,.acf-admin-6.post-php .acf-field-settings .acf-field.acf-field-acfe-flexible-add-actions .acf-label,.acf-admin-6.post-php .acf-field-settings .acf-field.acf-field-acfe-flexible-async .acf-input,.acf-admin-6.post-php .acf-field-settings .acf-field.acf-field-acfe-flexible-async .acf-label,.acf-admin-6.post-php .acf-field-settings .acf-field.acf-field-acfe-flexible-grid .acf-input,.acf-admin-6.post-php .acf-field-settings .acf-field.acf-field-acfe-flexible-grid .acf-label,.acf-admin-6.post-php .acf-field-settings .acf-field.acf-field-acfe-flexible-grid-container .acf-input,.acf-admin-6.post-php .acf-field-settings .acf-field.acf-field-acfe-flexible-grid-container .acf-label,.acf-admin-6.post-php .acf-field-settings .acf-field.acf-field-acfe-flexible-layouts-state .acf-input,.acf-admin-6.post-php .acf-field-settings .acf-field.acf-field-acfe-flexible-layouts-state .acf-label,.acf-admin-6.post-php .acf-field-settings .acf-field.acf-field-acfe-flexible-modal .acf-input,.acf-admin-6.post-php .acf-field-settings .acf-field.acf-field-acfe-flexible-modal .acf-label,.acf-admin-6.post-php .acf-field-settings .acf-field.acf-field-acfe-flexible-modal-edit .acf-input,.acf-admin-6.post-php .acf-field-settings .acf-field.acf-field-acfe-flexible-modal-edit .acf-label,.acf-admin-6.post-php .acf-field-settings .acf-field.acf-field-acfe-flexible-remove-button .acf-input,.acf-admin-6.post-php .acf-field-settings .acf-field.acf-field-acfe-flexible-remove-button .acf-label{max-width:930px}.acf-admin-6.post-php .acfe-field-setting-flex>.acf-input>.acf-fields>.acf-field:first-child{margin-bottom:0}.acf-admin-6.post-php .acfe-field-setting-flex>.acf-input>.acf-fields>.acf-field:first-child~.acf-field{padding-right:5px;margin-bottom:0}.acf-admin-6.post-php .acfe-field-setting-flex>.acf-input>.acf-fields>.acf-field:first-child~.acf-field.acf-field-acfe-flexible-modal-col{width:25%!important}.acf-admin-6.post-php .acfe-field-setting-flex>.acf-input>.acf-fields>.acf-field:first-child~.acf-field select{min-width:50px}.acf-admin-6.post-php .acf-field-setting-fc_layout>.acf-input>.acf-fc-meta .acf-field.acfe-flexible-field-setting,.acf-admin-6.post-php .acf-field-setting-fc_layout>.acf-input>.acf-fc-meta .acf-field.acfe-flexible-field-setting+li>ul{padding-left:0;padding-right:0}.acf-admin-6.post-php .acf-field-setting-fc_layout>.acf-input>.acf-fc-meta select{min-width:50px}.acf-admin-6.post-php .acf-field-setting-fc_layout>.acf-input>.acf-fc-meta .select2-selection__rendered{border-radius:0 6px 6px 0}.acf-admin-6.post-php .acf-field-setting-fc_layout>.acf-input>.acf-fc-meta .select2-selection__rendered .select2-search input{height:38px;margin-top:0;border-radius:0 6px 6px 0}.acf-admin-6.post-php .acf-field-setting-fc_layout>.acf-input>.acf-fc-meta .select2-selection__rendered .select2-selection__clear{margin-top:12px;margin-right:0;height:15px}.acf-admin-6.post-php .acf-field-setting-fc_layout>.acf-input>.acf-fc-meta .acf-field[data-name=acfe_flexible_category],.acf-admin-6.post-php .acf-field-setting-fc_layout>.acf-input>.acf-fc-meta .acf-field[data-name=acfe_flexible_settings_label],.acf-admin-6.post-php .acf-field-setting-fc_layout>.acf-input>.acf-fc-meta .acfe-flexible-layout-location-rules{padding-left:0;padding-right:0}.acf-admin-6.post-php .acf-fields.-left>.acf-field>.acf-label{display:block}.acf-admin-6.post-php .acf-field-setting-acfe_field_group_condition{padding-right:72px;padding-left:72px;margin-top:32px}.submitbox .misc-pub-acfe-field-group-key{padding-top:2px}.submitbox .misc-pub-acfe-field-group-key span{font-size:16px;color:#82878c;width:20px;margin-right:2px}.submitbox .misc-pub-acfe-field-group-key code{font-size:12px}.submitbox .misc-pub-acfe-field-group-export{padding-top:2px}.submitbox .misc-pub-acfe-field-group-export span{font-size:17px;color:#82878c;line-height:1.3;width:20px;margin-right:2px}.acf-fields .acf-field-tab{display:block!important;height:0;overflow:hidden;padding:0!important;border:0!important}.acf-field-setting-acfe_bidirectional>.acf-input>.acf-fields,.acf-field-setting-acfe_hide>.acf-input>.acf-fields,.acf-field-setting-acfe_permissions>.acf-input>.acf-fields,.acf-field-setting-acfe_settings>.acf-input>.acf-fields,.acf-field-setting-acfe_settings>.acf-input>.acf-fields>.acf-field.acf-field-acfe-settings-rules-or,.acf-field-setting-acfe_update>.acf-input>.acf-fields,.acf-field-setting-acfe_update>.acf-input>.acf-fields>.acf-field.acf-field-acfe-update-functions,.acf-field-setting-acfe_validate>.acf-input>.acf-fields,.acf-field-setting-acfe_validate>.acf-input>.acf-fields>.acf-field.acf-field-acfe-validate-rules-or{border:0}.acf-field-setting-acfe_bidirectional>.acf-input>.acf-fields>.acf-field,.acf-field-setting-acfe_hide>.acf-input>.acf-fields>.acf-field,.acf-field-setting-acfe_permissions>.acf-input>.acf-fields>.acf-field,.acf-field-setting-acfe_settings>.acf-input>.acf-fields>.acf-field,.acf-field-setting-acfe_update>.acf-input>.acf-fields>.acf-field,.acf-field-setting-acfe_validate>.acf-input>.acf-fields>.acf-field{padding:0}.acf-field-setting-acfe_field_data{display:none}.acf-field-hide-front.acfe_width_auto{margin-right:30px}.acf-field-setting-acfe_bidirectional>.acf-input>.acf-fields>.acf-field.acf-field-acfe-bidirectional-enabled>.acf-label,.acf-field-setting-acfe_bidirectional>.acf-input>.acf-fields>.acf-field.acf-field-acfe-bidirectional-related>.acf-label,.acf-field-setting-acfe_settings>.acf-input>.acf-fields>.acf-field.acf-field-acfe-settings-activate>.acf-label,.acf-field-setting-acfe_update>.acf-input>.acf-fields>.acf-field.acf-field-acfe-update-activate>.acf-label,.acf-field-setting-acfe_validate>.acf-input>.acf-fields>.acf-field.acf-field-acfe-validate-activate>.acf-label{display:none}.acf-field-acfe-meta>.acf-input .acf-repeater.-empty.-table>table,.acf-field-setting-acfe_settings>.acf-input .acf-repeater.-empty.-table>table,.acf-field-setting-acfe_update>.acf-input .acf-repeater.-empty.-table>table,.acf-field-setting-acfe_validate>.acf-input .acf-repeater.-empty.-table>table{border:0;display:none}.acf-field-acfe-meta>.acf-input .acf-repeater.-empty.-table>table>thead,.acf-field-setting-acfe_settings>.acf-input .acf-repeater.-empty.-table>table>thead,.acf-field-setting-acfe_update>.acf-input .acf-repeater.-empty.-table>table>thead,.acf-field-setting-acfe_validate>.acf-input .acf-repeater.-empty.-table>table>thead{display:none}.acf-field-acfe-meta>.acf-input>.acf-repeater .acf-actions,.acf-field-setting-acfe_settings>.acf-input>.acf-repeater .acf-actions,.acf-field-setting-acfe_update>.acf-input>.acf-repeater .acf-actions,.acf-field-setting-acfe_validate>.acf-input>.acf-repeater .acf-actions{text-align:left}.acf-repeater.-block>table,.acf-repeater.-row>table{border-collapse:separate;border-spacing:0 15px;background:0 0;border:0;margin-top:-15px;margin-bottom:-7px}.acf-repeater.-block>table>*,.acf-repeater.-row>table>*{border-collapse:collapse;border-spacing:0}.acf-repeater.-block>table>tbody>tr>td,.acf-repeater.-row>table>tbody>tr>td{border-top:1px solid #ccd0d4!important;border-bottom:1px solid #ccd0d4!important}.acf-repeater.-block>table>tbody>tr>td:first-of-type,.acf-repeater.-row>table>tbody>tr>td:first-of-type{border-left:1px solid #ccd0d4!important}.acf-repeater.-block>table>tbody>tr>td:last-of-type,.acf-repeater.-row>table>tbody>tr>td:last-of-type{border-right:1px solid #ccd0d4!important}body:not(.acf-admin-5-3) .acf-repeater.-block>table>tbody>tr>td,body:not(.acf-admin-5-3) .acf-repeater.-row>table>tbody>tr>td{border-top:1px solid #e1e1e1;border-bottom:1px solid #e1e1e1}body:not(.acf-admin-5-3) .acf-repeater.-block>table>tbody>tr>td:first-of-type,body:not(.acf-admin-5-3) .acf-repeater.-row>table>tbody>tr>td:first-of-type{border-left:1px solid #e1e1e1}body:not(.acf-admin-5-3) .acf-repeater.-block>table>tbody>tr>td:last-of-type,body:not(.acf-admin-5-3) .acf-repeater.-row>table>tbody>tr>td:last-of-type{border-right:1px solid #e1e1e1}.acf-field-setting-acfe_bidirectional>.acf-input>.acf-fields>.acf-field.acf-field-acfe-bidirectional-related{margin-left:10px}.acfe_width_auto{width:auto!important}.status-acf-disabled .column-title a,.status-acf-disabled .column-title code{color:#555!important}.status-acf-disabled .column-title strong{color:#a0a5aa}.column-acf-field-group-category{width:125px}td.acf-field-group-category a{word-wrap:break-word;padding:2px 5px;margin:0 1px;border-radius:2px;background:rgba(0,0,0,.06);color:#23282d}.column-acfe-location{width:100px}.column-acf-description,.column-acf-location{width:230px}#acf-field-group-wrap .wp-list-table .column-acf-fg-status{width:70px}#acf-field-group-wrap .wp-list-table .column-acf-fg-count,.post-type-acf-field-group .wp-list-table .column-acf-count{width:80px}.post-type-acf-field-group .wp-list-table .column-title .post-state{color:#a0a5aa}.column-title .acfe-key{color:#555;font-size:12px}.acf-field-image[data-name=acfe_flexible_thumbnail]>.acf-input>.acf-image-uploader.has-value>.show-if-value.image-wrap{max-width:85px!important}.acf-diff-content table.diff tbody tr td:nth-child(2){width:auto}body.acf-admin-5-3 .acf-field-setting-fc_layout .acf-input-wrap.select{border-color:#7e8993}body.acf-admin-5-3 .acf-field-setting-fc_layout .acf-input-wrap.select select{min-height:28px}.acfe-field-setting-flex>.acf-input>.acf-fields{display:-webkit-box;display:-ms-flexbox;display:flex;border:0}.acfe-field-setting-flex>.acf-input>.acf-fields>.acf-field:first-child{padding:0;margin-right:10px}.acfe-field-setting-flex>.acf-input>.acf-fields>.acf-field:first-child .acf-label{display:none}.acfe-field-setting-flex>.acf-input>.acf-fields>.acf-field:first-child~.acf-field{padding-top:0;padding-bottom:0;padding-left:0;border-top:0;border-left:0!important}.acfe-field-setting-flex>.acf-input>.acf-fields>.acf-field:first-child~.acf-field[data-type=true_false]{padding-top:2px}.acf-field-setting-fc_layout>.acf-input>.acf-fc-meta .acf-field[data-name=acfe_flexible_category],.acf-field-setting-fc_layout>.acf-input>.acf-fc-meta .acf-field[data-name=acfe_flexible_settings_label],.acf-field-setting-fc_layout>.acf-input>.acf-fc-meta .acf-field[data-name=acfe_flexible_thumbnail],.acf-field-setting-fc_layout>.acf-input>.acf-fc-meta>.acf-fc-meta-label:first-of-type{margin:0}.acf-field-setting-fc_layout>.acf-input>.acf-fc-meta .acf-field.acfe-flexible-field-setting{margin:15px 0 0}.acf-field-setting-fc_layout>.acf-input>.acf-fc-meta .acf-field.acfe-flexible-field-setting>.acf-input,.acf-field-setting-fc_layout>.acf-input>.acf-fc-meta .acf-field.acfe-flexible-field-setting>.acf-input label,.acf-field-setting-fc_layout>.acf-input>.acf-fc-meta .acf-field.acfe-flexible-field-setting>.acf-label,.acf-field-setting-fc_layout>.acf-input>.acf-fc-meta .acf-field.acfe-flexible-field-setting>.acf-label label{margin:0}.acf-field-setting-fc_layout>.acf-input>.acf-fc-meta .acf-field.acfe-flexible-field-setting+li{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;margin-bottom:0;margin-top:10px}.acf-field-setting-fc_layout>.acf-input>.acf-fc-meta .acf-field.acfe-flexible-field-setting+li>ul{margin:0;width:50%}.acf-field-setting-fc_layout>.acf-input>.acf-fc-meta .acf-field.acfe-flexible-field-setting+li>ul:first-child+ul{border-left:0;margin-left:10px}.acf-field-setting-fc_layout>.acf-input>.acf-fc-meta .acf-field.acfe-flexible-field-setting+li>ul>.acf-input{margin-bottom:0}.acf-field-setting-fc_layout>.acf-input>.acf-fc-meta .acf-field.acfe-flexible-field-setting.acfe-flexible-field-setting-row+li{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.acf-field-setting-fc_layout>.acf-input>.acf-fc-meta .acf-field.acfe-flexible-field-setting.acfe-flexible-field-setting-row+li>ul{-webkit-box-flex:1;-ms-flex:1;flex:1;margin:10px 0 0;width:100%}.acf-field-setting-fc_layout>.acf-input>.acf-fc-meta .acf-field.acfe-flexible-field-setting.acfe-flexible-field-setting-row+li>ul:first-child{margin-top:0}.acf-field-setting-fc_layout>.acf-input>.acf-fc-meta .acf-field.acfe-flexible-field-setting.acfe-flexible-field-setting-row+li>ul:first-child+ul{margin-left:0}.acf-field-setting-fc_layout .select2-container--default .select2-selection--multiple li{margin-bottom:0}.acf-field-object-acfe-column .acf-field-setting-instructions,.acf-field-object-acfe-column .acf-field-setting-label,.acf-field-object-acfe-column .acf-field-setting-name,.acf-field-object-acfe-column .acf-field-setting-required,.acf-field-object-acfe-column .acf-field-setting-warning,.acf-field-object-acfe-column .acf-field-setting-wrapper{display:none}.acf-field-object-acfe-column .li-field-name{visibility:hidden}.acf-field-object-acfe-column.open>.handle a span{color:#fff}.acf-field-object+.acf-field-object-acfe-column:before{display:block;content:"";height:5px;width:100%;background:#f9f9f9;border-bottom:1px solid #f0f0f0}.acf-field-setting-allow_terms>.acf-input>ul>li:first-of-type{width:calc(100% - 125px)}.acf-field-setting-allow_terms>.acf-input>ul>li:last-of-type{width:125px}#acf-field-group-locations .rule-groups>.rule-group>table>tbody>tr>td.value>.acf-field{margin:0}.acf-hl[data-cols="5"]>li{width:20%}.acf-hl[data-cols="6"]>li{width:16.667%}
|
1 |
+
.submitbox .misc-pub-acfe-field-group-key{padding-top:2px}.submitbox .misc-pub-acfe-field-group-key span{font-size:16px;color:#82878c;width:20px;margin-right:2px}.submitbox .misc-pub-acfe-field-group-key code{font-size:12px}.submitbox .misc-pub-acfe-field-group-export{padding-top:2px}.submitbox .misc-pub-acfe-field-group-export span{font-size:17px;color:#82878c;line-height:1.3;width:20px;margin-right:2px}.acf-fields .acf-field-tab{display:block!important;height:0;overflow:hidden;padding:0!important;border:0!important}.acf-field-setting-acfe_bidirectional>.acf-input>.acf-fields,.acf-field-setting-acfe_hide>.acf-input>.acf-fields,.acf-field-setting-acfe_permissions>.acf-input>.acf-fields,.acf-field-setting-acfe_settings>.acf-input>.acf-fields,.acf-field-setting-acfe_settings>.acf-input>.acf-fields>.acf-field.acf-field-acfe-settings-rules-or,.acf-field-setting-acfe_update>.acf-input>.acf-fields,.acf-field-setting-acfe_update>.acf-input>.acf-fields>.acf-field.acf-field-acfe-update-functions,.acf-field-setting-acfe_validate>.acf-input>.acf-fields,.acf-field-setting-acfe_validate>.acf-input>.acf-fields>.acf-field.acf-field-acfe-validate-rules-or{border:0}.acf-field-setting-acfe_bidirectional>.acf-input>.acf-fields>.acf-field,.acf-field-setting-acfe_hide>.acf-input>.acf-fields>.acf-field,.acf-field-setting-acfe_permissions>.acf-input>.acf-fields>.acf-field,.acf-field-setting-acfe_settings>.acf-input>.acf-fields>.acf-field,.acf-field-setting-acfe_update>.acf-input>.acf-fields>.acf-field,.acf-field-setting-acfe_validate>.acf-input>.acf-fields>.acf-field{padding:0}.acf-field-setting-acfe_field_data{display:none}.acf-field-hide-front.acfe_width_auto{margin-right:30px}.acf-field-setting-acfe_bidirectional>.acf-input>.acf-fields>.acf-field.acf-field-acfe-bidirectional-enabled>.acf-label,.acf-field-setting-acfe_bidirectional>.acf-input>.acf-fields>.acf-field.acf-field-acfe-bidirectional-related>.acf-label,.acf-field-setting-acfe_settings>.acf-input>.acf-fields>.acf-field.acf-field-acfe-settings-activate>.acf-label,.acf-field-setting-acfe_update>.acf-input>.acf-fields>.acf-field.acf-field-acfe-update-activate>.acf-label,.acf-field-setting-acfe_validate>.acf-input>.acf-fields>.acf-field.acf-field-acfe-validate-activate>.acf-label{display:none}.acf-field-acfe-meta>.acf-input .acf-repeater.-empty.-table>table,.acf-field-setting-acfe_settings>.acf-input .acf-repeater.-empty.-table>table,.acf-field-setting-acfe_update>.acf-input .acf-repeater.-empty.-table>table,.acf-field-setting-acfe_validate>.acf-input .acf-repeater.-empty.-table>table{border:0;display:none}.acf-field-acfe-meta>.acf-input .acf-repeater.-empty.-table>table>thead,.acf-field-setting-acfe_settings>.acf-input .acf-repeater.-empty.-table>table>thead,.acf-field-setting-acfe_update>.acf-input .acf-repeater.-empty.-table>table>thead,.acf-field-setting-acfe_validate>.acf-input .acf-repeater.-empty.-table>table>thead{display:none}.acf-field-acfe-meta>.acf-input>.acf-repeater .acf-actions,.acf-field-setting-acfe_settings>.acf-input>.acf-repeater .acf-actions,.acf-field-setting-acfe_update>.acf-input>.acf-repeater .acf-actions,.acf-field-setting-acfe_validate>.acf-input>.acf-repeater .acf-actions{text-align:left}.acf-repeater.-block>table,.acf-repeater.-row>table{border-collapse:separate;border-spacing:0 15px;background:0 0;border:0;margin-top:-15px;margin-bottom:-7px}.acf-repeater.-block>table>*,.acf-repeater.-row>table>*{border-collapse:collapse;border-spacing:0}.acf-repeater.-block>table>tbody>tr>td,.acf-repeater.-row>table>tbody>tr>td{border-top:1px solid #ccd0d4!important;border-bottom:1px solid #ccd0d4!important}.acf-repeater.-block>table>tbody>tr>td:first-of-type,.acf-repeater.-row>table>tbody>tr>td:first-of-type{border-left:1px solid #ccd0d4!important}.acf-repeater.-block>table>tbody>tr>td:last-of-type,.acf-repeater.-row>table>tbody>tr>td:last-of-type{border-right:1px solid #ccd0d4!important}body:not(.acf-admin-5-3) .acf-repeater.-block>table>tbody>tr>td,body:not(.acf-admin-5-3) .acf-repeater.-row>table>tbody>tr>td{border-top:1px solid #e1e1e1;border-bottom:1px solid #e1e1e1}body:not(.acf-admin-5-3) .acf-repeater.-block>table>tbody>tr>td:first-of-type,body:not(.acf-admin-5-3) .acf-repeater.-row>table>tbody>tr>td:first-of-type{border-left:1px solid #e1e1e1}body:not(.acf-admin-5-3) .acf-repeater.-block>table>tbody>tr>td:last-of-type,body:not(.acf-admin-5-3) .acf-repeater.-row>table>tbody>tr>td:last-of-type{border-right:1px solid #e1e1e1}.acf-field-setting-acfe_bidirectional>.acf-input>.acf-fields>.acf-field.acf-field-acfe-bidirectional-related{margin-left:10px}.acfe_width_auto{width:auto!important}.status-acf-disabled .column-title a,.status-acf-disabled .column-title code{color:#555!important}.status-acf-disabled .column-title strong{color:#a0a5aa}.column-acf-field-group-category{width:125px}td.acf-field-group-category a{word-wrap:break-word;padding:2px 5px;margin:0 1px;border-radius:2px;background:rgba(0,0,0,.06);color:#23282d}.column-acfe-location{width:100px}.column-acf-description,.column-acf-location{width:230px}#acf-field-group-wrap .wp-list-table .column-acf-fg-status{width:70px}#acf-field-group-wrap .wp-list-table .column-acf-fg-count,.post-type-acf-field-group .wp-list-table .column-acf-count{width:80px}.post-type-acf-field-group .wp-list-table .column-title .post-state{color:#a0a5aa}.column-title .acfe-key{color:#555;font-size:12px}.acf-field-image[data-name=acfe_flexible_thumbnail]>.acf-input>.acf-image-uploader.has-value>.show-if-value.image-wrap{max-width:85px!important}.acf-diff-content table.diff tbody tr td:nth-child(2){width:auto}body.acf-admin-5-3 .acf-field-setting-fc_layout .acf-input-wrap.select{border-color:#7e8993}body.acf-admin-5-3 .acf-field-setting-fc_layout .acf-input-wrap.select select{min-height:28px}.acfe-field-setting-flex>.acf-input>.acf-fields{display:-webkit-box;display:-ms-flexbox;display:flex;border:0}.acfe-field-setting-flex>.acf-input>.acf-fields>.acf-field:first-child{padding:0;margin-right:10px}.acfe-field-setting-flex>.acf-input>.acf-fields>.acf-field:first-child .acf-label{display:none}.acfe-field-setting-flex>.acf-input>.acf-fields>.acf-field:first-child~.acf-field{padding-top:0;padding-bottom:0;padding-left:0;border-top:0;border-left:0!important}.acfe-field-setting-flex>.acf-input>.acf-fields>.acf-field:first-child~.acf-field[data-type=true_false]{padding-top:2px}.acf-field-setting-fc_layout>.acf-input>.acf-fc-meta .acf-field[data-name=acfe_flexible_category],.acf-field-setting-fc_layout>.acf-input>.acf-fc-meta .acf-field[data-name=acfe_flexible_settings_label],.acf-field-setting-fc_layout>.acf-input>.acf-fc-meta .acf-field[data-name=acfe_flexible_thumbnail],.acf-field-setting-fc_layout>.acf-input>.acf-fc-meta>.acf-fc-meta-label:first-of-type{margin:0}.acf-field-setting-fc_layout>.acf-input>.acf-fc-meta .acf-field.acfe-flexible-field-setting{margin:15px 0 0}.acf-field-setting-fc_layout>.acf-input>.acf-fc-meta .acf-field.acfe-flexible-field-setting>.acf-input,.acf-field-setting-fc_layout>.acf-input>.acf-fc-meta .acf-field.acfe-flexible-field-setting>.acf-input label,.acf-field-setting-fc_layout>.acf-input>.acf-fc-meta .acf-field.acfe-flexible-field-setting>.acf-label,.acf-field-setting-fc_layout>.acf-input>.acf-fc-meta .acf-field.acfe-flexible-field-setting>.acf-label label{margin:0}.acf-field-setting-fc_layout>.acf-input>.acf-fc-meta .acf-field.acfe-flexible-field-setting+li{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;margin-bottom:0;margin-top:10px}.acf-field-setting-fc_layout>.acf-input>.acf-fc-meta .acf-field.acfe-flexible-field-setting+li>ul{margin:0;width:50%}.acf-field-setting-fc_layout>.acf-input>.acf-fc-meta .acf-field.acfe-flexible-field-setting+li>ul:first-child+ul{border-left:0;margin-left:10px}.acf-field-setting-fc_layout>.acf-input>.acf-fc-meta .acf-field.acfe-flexible-field-setting+li>ul>.acf-input{margin-bottom:0}.acf-field-setting-fc_layout>.acf-input>.acf-fc-meta .acf-field.acfe-flexible-field-setting.acfe-flexible-field-setting-row+li{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.acf-field-setting-fc_layout>.acf-input>.acf-fc-meta .acf-field.acfe-flexible-field-setting.acfe-flexible-field-setting-row+li>ul{-webkit-box-flex:1;-ms-flex:1;flex:1;margin:10px 0 0;width:100%}.acf-field-setting-fc_layout>.acf-input>.acf-fc-meta .acf-field.acfe-flexible-field-setting.acfe-flexible-field-setting-row+li>ul:first-child{margin-top:0}.acf-field-setting-fc_layout>.acf-input>.acf-fc-meta .acf-field.acfe-flexible-field-setting.acfe-flexible-field-setting-row+li>ul:first-child+ul{margin-left:0}.acf-field-setting-fc_layout .select2-container--default .select2-selection--multiple li{margin-bottom:0}.acf-field-object-acfe-column .acf-field-setting-instructions,.acf-field-object-acfe-column .acf-field-setting-label,.acf-field-object-acfe-column .acf-field-setting-name,.acf-field-object-acfe-column .acf-field-setting-required,.acf-field-object-acfe-column .acf-field-setting-warning,.acf-field-object-acfe-column .acf-field-setting-wrapper{display:none}.acf-field-object-acfe-column .li-field-name{visibility:hidden}.acf-field-object-acfe-column.open>.handle a span{color:#fff}.acf-field-object+.acf-field-object-acfe-column:before{display:block;content:"";height:5px;width:100%;background:#f9f9f9;border-bottom:1px solid #f0f0f0}.acf-field-setting-allow_terms>.acf-input>ul>li:first-of-type{width:calc(100% - 125px)}.acf-field-setting-allow_terms>.acf-input>ul>li:last-of-type{width:125px}#acf-field-group-locations .rule-groups>.rule-group>table>tbody>tr>td.value>.acf-field{margin:0}.acf-hl[data-cols="5"]>li{width:20%}.acf-hl[data-cols="6"]>li{width:16.667%}.acf-admin-6.edit-php .wp-list-table tbody td,.acf-admin-6.edit-php .wp-list-table tbody th{height:57px}.acf-admin-6.edit-php .wp-list-table .column-acf-count{width:90px}.acf-admin-6.edit-php .wp-list-table .column-acfe-load{width:80px}.acf-admin-6.post-php .acf-fields .acf-field-tab{display:none!important}.acf-admin-6.post-php #submitdiv .button{height:32px}.acf-admin-6.post-php .acf-field-settings .acf-field .CodeMirror-wrap.cm-s-default{width:100%}.acf-admin-6.post-php .acf-field-settings .acf-field.acf-field-acfe-flexible-add-actions .acf-input,.acf-admin-6.post-php .acf-field-settings .acf-field.acf-field-acfe-flexible-add-actions .acf-label,.acf-admin-6.post-php .acf-field-settings .acf-field.acf-field-acfe-flexible-async .acf-input,.acf-admin-6.post-php .acf-field-settings .acf-field.acf-field-acfe-flexible-async .acf-label,.acf-admin-6.post-php .acf-field-settings .acf-field.acf-field-acfe-flexible-grid .acf-input,.acf-admin-6.post-php .acf-field-settings .acf-field.acf-field-acfe-flexible-grid .acf-label,.acf-admin-6.post-php .acf-field-settings .acf-field.acf-field-acfe-flexible-grid-container .acf-input,.acf-admin-6.post-php .acf-field-settings .acf-field.acf-field-acfe-flexible-grid-container .acf-label,.acf-admin-6.post-php .acf-field-settings .acf-field.acf-field-acfe-flexible-layouts-state .acf-input,.acf-admin-6.post-php .acf-field-settings .acf-field.acf-field-acfe-flexible-layouts-state .acf-label,.acf-admin-6.post-php .acf-field-settings .acf-field.acf-field-acfe-flexible-modal .acf-input,.acf-admin-6.post-php .acf-field-settings .acf-field.acf-field-acfe-flexible-modal .acf-label,.acf-admin-6.post-php .acf-field-settings .acf-field.acf-field-acfe-flexible-modal-edit .acf-input,.acf-admin-6.post-php .acf-field-settings .acf-field.acf-field-acfe-flexible-modal-edit .acf-label,.acf-admin-6.post-php .acf-field-settings .acf-field.acf-field-acfe-flexible-remove-button .acf-input,.acf-admin-6.post-php .acf-field-settings .acf-field.acf-field-acfe-flexible-remove-button .acf-label{max-width:930px}.acf-admin-6.post-php .acf-field-settings .acf-field-setting-hide_field>.acf-input ul{-ms-flex-wrap:wrap;flex-wrap:wrap}.acf-admin-6.post-php .acf-field-settings .acf-field-setting-hide_field>.acf-input ul li{width:50%}.acf-admin-6.post-php .acf-field-settings .acf-field-setting-hide_field>.acf-input ul li:nth-child(3),.acf-admin-6.post-php .acf-field-settings .acf-field-setting-hide_field>.acf-input ul li:nth-child(4){margin-top:10px}.acf-admin-6.post-php .acf-field-settings .acf-field-setting-hide_field>.acf-input ul li select{min-width:50px}.acf-admin-6.post-php .acf-field-settings .acf-field-setting-acfe_settings>.acf-input,.acf-admin-6.post-php .acf-field-settings .acf-field-setting-acfe_settings>.acf-label,.acf-admin-6.post-php .acf-field-settings .acf-field-setting-acfe_validate>.acf-input,.acf-admin-6.post-php .acf-field-settings .acf-field-setting-acfe_validate>.acf-label{max-width:930px}.acf-admin-6.post-php .acf-field-settings .acf-field-setting-acfe_settings .acf-field-acfe-settings-location,.acf-admin-6.post-php .acf-field-settings .acf-field-setting-acfe_settings .acf-field-acfe-validate-location,.acf-admin-6.post-php .acf-field-settings .acf-field-setting-acfe_settings .acf-field-acfe-validate-rules-and,.acf-admin-6.post-php .acf-field-settings .acf-field-setting-acfe_validate .acf-field-acfe-settings-location,.acf-admin-6.post-php .acf-field-settings .acf-field-setting-acfe_validate .acf-field-acfe-validate-location,.acf-admin-6.post-php .acf-field-settings .acf-field-setting-acfe_validate .acf-field-acfe-validate-rules-and{margin:0}.acf-admin-6.post-php .acf-field-settings .acf-field-setting-acfe_settings .acf-field-acfe-settings-settings .acf-repeater td.acf-field,.acf-admin-6.post-php .acf-field-settings .acf-field-setting-acfe_settings .acf-field-acfe-validate-rules-and .acf-repeater td.acf-field,.acf-admin-6.post-php .acf-field-settings .acf-field-setting-acfe_validate .acf-field-acfe-settings-settings .acf-repeater td.acf-field,.acf-admin-6.post-php .acf-field-settings .acf-field-setting-acfe_validate .acf-field-acfe-validate-rules-and .acf-repeater td.acf-field{width:33.33%}.acf-admin-6.post-php .acf-field-settings .acf-field-setting-acfe_settings .acf-field-acfe-settings-settings .acf-repeater .acf-field,.acf-admin-6.post-php .acf-field-settings .acf-field-setting-acfe_settings .acf-field-acfe-validate-rules-and .acf-repeater .acf-field,.acf-admin-6.post-php .acf-field-settings .acf-field-setting-acfe_validate .acf-field-acfe-settings-settings .acf-repeater .acf-field,.acf-admin-6.post-php .acf-field-settings .acf-field-setting-acfe_validate .acf-field-acfe-validate-rules-and .acf-repeater .acf-field{padding:10px}.acf-admin-6.post-php .acf-field-settings .acf-field-setting-acfe_settings .acf-field-acfe-settings-settings .acf-repeater .acf-field select,.acf-admin-6.post-php .acf-field-settings .acf-field-setting-acfe_settings .acf-field-acfe-validate-rules-and .acf-repeater .acf-field select,.acf-admin-6.post-php .acf-field-settings .acf-field-setting-acfe_validate .acf-field-acfe-settings-settings .acf-repeater .acf-field select,.acf-admin-6.post-php .acf-field-settings .acf-field-setting-acfe_validate .acf-field-acfe-validate-rules-and .acf-repeater .acf-field select{max-width:100%;min-width:80px}.acf-admin-6.post-php .acfe-field-setting-flex>.acf-input>.acf-fields>.acf-field:first-child{margin-bottom:0}.acf-admin-6.post-php .acfe-field-setting-flex>.acf-input>.acf-fields>.acf-field:first-child~.acf-field{padding-right:5px;margin-bottom:0}.acf-admin-6.post-php .acfe-field-setting-flex>.acf-input>.acf-fields>.acf-field:first-child~.acf-field.acf-field-acfe-flexible-modal-col{width:25%!important}.acf-admin-6.post-php .acfe-field-setting-flex>.acf-input>.acf-fields>.acf-field:first-child~.acf-field select{min-width:50px}.acf-admin-6.post-php .acf-field-setting-fc_layout>.acf-input>.acf-fc-meta .acf-field.acfe-flexible-field-setting,.acf-admin-6.post-php .acf-field-setting-fc_layout>.acf-input>.acf-fc-meta .acf-field.acfe-flexible-field-setting+li>ul{padding-left:0;padding-right:0}.acf-admin-6.post-php .acf-field-setting-fc_layout>.acf-input>.acf-fc-meta select{min-width:50px}.acf-admin-6.post-php .acf-field-setting-fc_layout>.acf-input>.acf-fc-meta .select2-selection__rendered{border-radius:0 6px 6px 0}.acf-admin-6.post-php .acf-field-setting-fc_layout>.acf-input>.acf-fc-meta .select2-selection__rendered .select2-search input{height:38px;margin-top:0;border-radius:0 6px 6px 0}.acf-admin-6.post-php .acf-field-setting-fc_layout>.acf-input>.acf-fc-meta .select2-selection__rendered .select2-selection__clear{margin-top:12px;margin-right:0;height:15px}.acf-admin-6.post-php .acf-field-setting-fc_layout>.acf-input>.acf-fc-meta .acf-field[data-name=acfe_flexible_category],.acf-admin-6.post-php .acf-field-setting-fc_layout>.acf-input>.acf-fc-meta .acf-field[data-name=acfe_flexible_settings_label],.acf-admin-6.post-php .acf-field-setting-fc_layout>.acf-input>.acf-fc-meta .acfe-flexible-layout-location-rules{padding-left:0;padding-right:0}.acf-admin-6.post-php .acf-fields.-left>.acf-field>.acf-label{display:block}.acf-admin-6.post-php .acf-field-setting-acfe_field_group_condition{padding-right:72px;padding-left:72px;margin-top:32px}
|
assets/css/acfe-input.css
CHANGED
@@ -34,23 +34,6 @@ body .medium-editor-toolbar {
|
|
34 |
z-index: 999999 !important
|
35 |
}
|
36 |
|
37 |
-
body:not(.acf-admin-single-field-group) .acf-fields>.acf-tab-wrap .acf-tab-group li a {
|
38 |
-
background: #f1f1f1;
|
39 |
-
border-color: #ccd0d4
|
40 |
-
}
|
41 |
-
|
42 |
-
body:not(.acf-admin-single-field-group) .acf-fields>.acf-tab-wrap .acf-tab-group li a:hover {
|
43 |
-
background: #fff
|
44 |
-
}
|
45 |
-
|
46 |
-
body:not(.acf-admin-single-field-group) .acf-fields>.acf-tab-wrap .acf-tab-group li.active a {
|
47 |
-
background: #fff
|
48 |
-
}
|
49 |
-
|
50 |
-
body:not(.acf-admin-single-field-group) .acf-fields>.acf-tab-wrap:first-child .acf-tab-group {
|
51 |
-
border-top: none
|
52 |
-
}
|
53 |
-
|
54 |
.acf-accordion {
|
55 |
z-index: initial
|
56 |
}
|
@@ -645,104 +628,6 @@ body:not(.acf-admin-5-3) .acf-field-acfe-code-editor>.acf-input>.acf-input-wrap>
|
|
645 |
color: #016087 !important
|
646 |
}
|
647 |
|
648 |
-
.acf-flexible-content .layout .acf-icon.acfe-flexible-icon.dashicons:before {
|
649 |
-
font-family: dashicons
|
650 |
-
}
|
651 |
-
|
652 |
-
.acf-flexible-content .layout .acf-icon.acfe-flexible-icon.dashicons {
|
653 |
-
visibility: hidden
|
654 |
-
}
|
655 |
-
|
656 |
-
.acf-flexible-content .layout:hover>.acf-fc-layout-controls .acf-icon.acfe-flexible-icon.dashicons {
|
657 |
-
visibility: visible
|
658 |
-
}
|
659 |
-
|
660 |
-
.acf-flexible-content .layout .acf-icon.acfe-flexible-icon.dashicons.dashicons-admin-generic {
|
661 |
-
visibility: visible
|
662 |
-
}
|
663 |
-
|
664 |
-
.acf-flexible-content .layout .acf-icon.acfe-flexible-icon.dashicons.dashicons-admin-generic:before {
|
665 |
-
margin-left: 1px;
|
666 |
-
line-height: .9
|
667 |
-
}
|
668 |
-
|
669 |
-
.acf-flexible-content .layout.-hover .acf-fc-layout-controls .acf-icon.-duplicate,
|
670 |
-
.acf-flexible-content .layout.-hover .acf-fc-layout-controls .acf-icon.-minus,
|
671 |
-
.acf-flexible-content .layout.-hover .acf-fc-layout-controls .acf-icon.-plus,
|
672 |
-
.acf-flexible-content .layout:hover .acf-fc-layout-controls .acf-icon.-duplicate,
|
673 |
-
.acf-flexible-content .layout:hover .acf-fc-layout-controls .acf-icon.-minus,
|
674 |
-
.acf-flexible-content .layout:hover .acf-fc-layout-controls .acf-icon.-plus {
|
675 |
-
visibility: hidden
|
676 |
-
}
|
677 |
-
|
678 |
-
.acf-flexible-content .layout.-hover>.acf-fc-layout-controls .acf-icon.-duplicate,
|
679 |
-
.acf-flexible-content .layout.-hover>.acf-fc-layout-controls .acf-icon.-minus,
|
680 |
-
.acf-flexible-content .layout.-hover>.acf-fc-layout-controls .acf-icon.-plus,
|
681 |
-
.acf-flexible-content .layout:hover>.acf-fc-layout-controls .acf-icon.-duplicate,
|
682 |
-
.acf-flexible-content .layout:hover>.acf-fc-layout-controls .acf-icon.-minus,
|
683 |
-
.acf-flexible-content .layout:hover>.acf-fc-layout-controls .acf-icon.-plus {
|
684 |
-
visibility: visible
|
685 |
-
}
|
686 |
-
|
687 |
-
.acf-flexible-content .layout>.acf-fc-layout-controls .acf-icon.disabled {
|
688 |
-
color: #ccc;
|
689 |
-
cursor: initial
|
690 |
-
}
|
691 |
-
|
692 |
-
.acf-flexible-content .layout>.acf-fc-layout-controls .acf-icon.disabled:hover {
|
693 |
-
color: #ccc;
|
694 |
-
background: #f5f5f5
|
695 |
-
}
|
696 |
-
|
697 |
-
.acf-field-acfe-flexible-layout-title {
|
698 |
-
display: none
|
699 |
-
}
|
700 |
-
|
701 |
-
input.acfe-flexible-control-title {
|
702 |
-
border: none;
|
703 |
-
-webkit-box-shadow: none !important;
|
704 |
-
box-shadow: none !important;
|
705 |
-
outline: 0 !important;
|
706 |
-
border-radius: 0;
|
707 |
-
border-bottom: 1px solid transparent !important;
|
708 |
-
font-weight: 600;
|
709 |
-
width: auto !important;
|
710 |
-
padding: 0 !important;
|
711 |
-
display: none;
|
712 |
-
min-height: 20px;
|
713 |
-
vertical-align: unset;
|
714 |
-
background: 0 0
|
715 |
-
}
|
716 |
-
|
717 |
-
.acf-field-flexible-content[data-acfe-flexible-title-edition="1"]>.acf-input>.acf-flexible-content>.values>.layout:not(.acfe-flexible-title-edition)>.acf-fc-layout-handle .acfe-layout-title:hover {
|
718 |
-
background: #f4f4f4
|
719 |
-
}
|
720 |
-
|
721 |
-
.acf-field-flexible-content[data-acfe-flexible-title-edition="1"]>.acf-input>.acf-flexible-content>.values>.layout.acfe-flexible-title-edition>.acf-fc-layout-handle .acfe-layout-title input.acfe-flexible-control-title {
|
722 |
-
display: inline-block;
|
723 |
-
border-bottom: 1px solid #ddd !important
|
724 |
-
}
|
725 |
-
|
726 |
-
.acf-field-flexible-content[data-acfe-flexible-title-edition="1"]>.acf-input>.acf-flexible-content>.values>.layout.acfe-flexible-title-edition>.acf-fc-layout-handle .acfe-layout-title .acfe-layout-title-text {
|
727 |
-
display: none
|
728 |
-
}
|
729 |
-
|
730 |
-
.acf-field-flexible-content[data-acfe-flexible-title-edition="1"]>.acf-input>.acf-flexible-content>.values>.layout>.acf-fc-layout-handle .acfe-layout-title {
|
731 |
-
cursor: text;
|
732 |
-
position: relative
|
733 |
-
}
|
734 |
-
|
735 |
-
.layout.acfe-flexible-layout-hidden>.acf-fc-layout-controls,
|
736 |
-
.layout.acfe-flexible-layout-hidden>.acf-fc-layout-handle,
|
737 |
-
.layout.acfe-flexible-layout-hidden>.acf-fields,
|
738 |
-
.layout.acfe-flexible-layout-hidden>.acfe-fc-placeholder {
|
739 |
-
opacity: .5
|
740 |
-
}
|
741 |
-
|
742 |
-
.acf-field-flexible-content[data-acfe-flexible-modal-edition="1"]>.acf-input>.acf-flexible-content>.values>.layout>.acf-fc-layout-controls>a.-collapse {
|
743 |
-
display: none
|
744 |
-
}
|
745 |
-
|
746 |
body.-loading * {
|
747 |
cursor: wait !important
|
748 |
}
|
@@ -1059,6 +944,104 @@ body:not(.acf-admin-5-3) .layout>.acfe-fc-placeholder>a span {
|
|
1059 |
margin-bottom: 0
|
1060 |
}
|
1061 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1062 |
.acf-range-wrap input[type=number] {
|
1063 |
min-width: 3.5em
|
1064 |
}
|
34 |
z-index: 999999 !important
|
35 |
}
|
36 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
37 |
.acf-accordion {
|
38 |
z-index: initial
|
39 |
}
|
628 |
color: #016087 !important
|
629 |
}
|
630 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
631 |
body.-loading * {
|
632 |
cursor: wait !important
|
633 |
}
|
944 |
margin-bottom: 0
|
945 |
}
|
946 |
|
947 |
+
.acf-flexible-content .layout .acf-icon.acfe-flexible-icon.dashicons:before {
|
948 |
+
font-family: dashicons
|
949 |
+
}
|
950 |
+
|
951 |
+
.acf-flexible-content .layout .acf-icon.acfe-flexible-icon.dashicons {
|
952 |
+
visibility: hidden
|
953 |
+
}
|
954 |
+
|
955 |
+
.acf-flexible-content .layout:hover>.acf-fc-layout-controls .acf-icon.acfe-flexible-icon.dashicons {
|
956 |
+
visibility: visible
|
957 |
+
}
|
958 |
+
|
959 |
+
.acf-flexible-content .layout .acf-icon.acfe-flexible-icon.dashicons.dashicons-admin-generic {
|
960 |
+
visibility: visible
|
961 |
+
}
|
962 |
+
|
963 |
+
.acf-flexible-content .layout .acf-icon.acfe-flexible-icon.dashicons.dashicons-admin-generic:before {
|
964 |
+
margin-left: 1px;
|
965 |
+
line-height: .9
|
966 |
+
}
|
967 |
+
|
968 |
+
.acf-flexible-content .layout.-hover .acf-fc-layout-controls .acf-icon.-duplicate,
|
969 |
+
.acf-flexible-content .layout.-hover .acf-fc-layout-controls .acf-icon.-minus,
|
970 |
+
.acf-flexible-content .layout.-hover .acf-fc-layout-controls .acf-icon.-plus,
|
971 |
+
.acf-flexible-content .layout:hover .acf-fc-layout-controls .acf-icon.-duplicate,
|
972 |
+
.acf-flexible-content .layout:hover .acf-fc-layout-controls .acf-icon.-minus,
|
973 |
+
.acf-flexible-content .layout:hover .acf-fc-layout-controls .acf-icon.-plus {
|
974 |
+
visibility: hidden
|
975 |
+
}
|
976 |
+
|
977 |
+
.acf-flexible-content .layout.-hover>.acf-fc-layout-controls .acf-icon.-duplicate,
|
978 |
+
.acf-flexible-content .layout.-hover>.acf-fc-layout-controls .acf-icon.-minus,
|
979 |
+
.acf-flexible-content .layout.-hover>.acf-fc-layout-controls .acf-icon.-plus,
|
980 |
+
.acf-flexible-content .layout:hover>.acf-fc-layout-controls .acf-icon.-duplicate,
|
981 |
+
.acf-flexible-content .layout:hover>.acf-fc-layout-controls .acf-icon.-minus,
|
982 |
+
.acf-flexible-content .layout:hover>.acf-fc-layout-controls .acf-icon.-plus {
|
983 |
+
visibility: visible
|
984 |
+
}
|
985 |
+
|
986 |
+
.acf-flexible-content .layout>.acf-fc-layout-controls .acf-icon.disabled {
|
987 |
+
color: #ccc;
|
988 |
+
cursor: initial
|
989 |
+
}
|
990 |
+
|
991 |
+
.acf-flexible-content .layout>.acf-fc-layout-controls .acf-icon.disabled:hover {
|
992 |
+
color: #ccc;
|
993 |
+
background: #f5f5f5
|
994 |
+
}
|
995 |
+
|
996 |
+
.acf-field-acfe-flexible-layout-title {
|
997 |
+
display: none
|
998 |
+
}
|
999 |
+
|
1000 |
+
input.acfe-flexible-control-title {
|
1001 |
+
border: none;
|
1002 |
+
-webkit-box-shadow: none !important;
|
1003 |
+
box-shadow: none !important;
|
1004 |
+
outline: 0 !important;
|
1005 |
+
border-radius: 0;
|
1006 |
+
border-bottom: 1px solid transparent !important;
|
1007 |
+
font-weight: 600;
|
1008 |
+
width: auto !important;
|
1009 |
+
padding: 0 !important;
|
1010 |
+
display: none;
|
1011 |
+
min-height: 20px;
|
1012 |
+
vertical-align: unset;
|
1013 |
+
background: 0 0
|
1014 |
+
}
|
1015 |
+
|
1016 |
+
.acf-field-flexible-content[data-acfe-flexible-title-edition="1"]>.acf-input>.acf-flexible-content>.values>.layout:not(.acfe-flexible-title-edition)>.acf-fc-layout-handle .acfe-layout-title:hover {
|
1017 |
+
background: #f4f4f4
|
1018 |
+
}
|
1019 |
+
|
1020 |
+
.acf-field-flexible-content[data-acfe-flexible-title-edition="1"]>.acf-input>.acf-flexible-content>.values>.layout.acfe-flexible-title-edition>.acf-fc-layout-handle .acfe-layout-title input.acfe-flexible-control-title {
|
1021 |
+
display: inline-block;
|
1022 |
+
border-bottom: 1px solid #ddd !important
|
1023 |
+
}
|
1024 |
+
|
1025 |
+
.acf-field-flexible-content[data-acfe-flexible-title-edition="1"]>.acf-input>.acf-flexible-content>.values>.layout.acfe-flexible-title-edition>.acf-fc-layout-handle .acfe-layout-title .acfe-layout-title-text {
|
1026 |
+
display: none
|
1027 |
+
}
|
1028 |
+
|
1029 |
+
.acf-field-flexible-content[data-acfe-flexible-title-edition="1"]>.acf-input>.acf-flexible-content>.values>.layout>.acf-fc-layout-handle .acfe-layout-title {
|
1030 |
+
cursor: text;
|
1031 |
+
position: relative
|
1032 |
+
}
|
1033 |
+
|
1034 |
+
.layout.acfe-flexible-layout-hidden>.acf-fc-layout-controls,
|
1035 |
+
.layout.acfe-flexible-layout-hidden>.acf-fc-layout-handle,
|
1036 |
+
.layout.acfe-flexible-layout-hidden>.acf-fields,
|
1037 |
+
.layout.acfe-flexible-layout-hidden>.acfe-fc-placeholder {
|
1038 |
+
opacity: .5
|
1039 |
+
}
|
1040 |
+
|
1041 |
+
.acf-field-flexible-content[data-acfe-flexible-modal-edition="1"]>.acf-input>.acf-flexible-content>.values>.layout>.acf-fc-layout-controls>a.-collapse {
|
1042 |
+
display: none
|
1043 |
+
}
|
1044 |
+
|
1045 |
.acf-range-wrap input[type=number] {
|
1046 |
min-width: 3.5em
|
1047 |
}
|
assets/css/acfe-input.min.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
.acf-field .acf-label label{font-weight:600}.acf-field p.description{word-break:break-word}.acf-panel .acf-panel-title{font-weight:600}.acf-fields.-left>.acf-field>.acf-label,.acfe-postbox-left>.inside>.acf-field>.acf-label{min-height:1px}#side-sortables .acf-fields>.acf-field.acfe-no-label>.acf-label,.acf-field.acfe-no-label>.acf-label{margin:0}#side-sortables .acf-fields>.acf-field.acfe-no-label>.acf-label>label,.acf-field.acfe-no-label>.acf-label>label{display:none}#side-sortables .acf-fields>.acf-field.acfe-no-label>.acf-label>p.description,.acf-field.acfe-no-label>.acf-label>p.description{margin-bottom:10px}body .medium-editor-toolbar{z-index:999999!important}body:not(.acf-admin-single-field-group) .acf-fields>.acf-tab-wrap .acf-tab-group li a{background:#f1f1f1;border-color:#ccd0d4}body:not(.acf-admin-single-field-group) .acf-fields>.acf-tab-wrap .acf-tab-group li a:hover,body:not(.acf-admin-single-field-group) .acf-fields>.acf-tab-wrap .acf-tab-group li.active a{background:#fff}body:not(.acf-admin-single-field-group) .acf-fields>.acf-tab-wrap:first-child .acf-tab-group{border-top:none}.acf-accordion{z-index:initial}.acf-link.-value .acfe-modal .button{display:inline-block}.acf-field-checkbox .acf-input .acf-checkbox-list.acf-bl li+li>strong{margin-top:15px;display:inline-block}.acf-fields>.acf-field-clone.acfe-field-clone-layout-block.acfe-seamless-style:not([data-acfe-clone-modal="1"])>.acf-input,.acf-fields>.acf-field-clone.acfe-field-clone-layout-row.acfe-seamless-style:not([data-acfe-clone-modal="1"])>.acf-input{margin-left:-12px;margin-right:-12px;margin-bottom:-15px}.acf-fields>.acf-field-clone.acfe-field-clone-layout-block.acfe-no-label.acfe-seamless-style:not([data-acfe-clone-modal="1"])>.acf-input,.acf-fields>.acf-field-clone.acfe-field-clone-layout-row.acfe-no-label.acfe-seamless-style:not([data-acfe-clone-modal="1"])>.acf-input{margin-top:-15px}.acf-fields>.acf-field-clone.acfe-field-clone-layout-block.acfe-seamless-style.acfe-no-label:not([data-acfe-clone-modal="1"])>.acf-label>p.description,.acf-fields>.acf-field-clone.acfe-field-clone-layout-row.acfe-seamless-style.acfe-no-label:not([data-acfe-clone-modal="1"])>.acf-label>p.description{margin-bottom:15px}.acf-fields>.acf-field-clone.acfe-field-clone-layout-row.acfe-no-label.acfe-seamless-style>.acf-input>.acf-fields{border-width:0}.acf-fields>.acf-field-clone.acfe-field-clone-layout-row.acfe-seamless-style>.acf-input>.acf-fields{border-left-width:0;border-right-width:0;border-bottom-width:0}.acf-fields>.acf-field-clone.acfe-field-clone-layout-block.acfe-seamless-style>.acf-input>.acf-fields{border-width:0}.acf-fields.-left>.acf-field-clone.acfe-field-clone-layout-row.acfe-seamless-style>.acf-input{margin:0}.acf-fields.-left>.acf-field-clone.acfe-field-clone-layout-row.acfe-seamless-style>.acf-input>.acf-fields{border-width:1px}.acf-fields.-left>.acf-field-clone.acfe-field-clone-layout-block.acfe-seamless-style:not([data-acfe-clone-modal="1"])>.acf-input,.acf-fields.-left>.acf-field-clone.acfe-field-clone-layout-table.acfe-seamless-style:not([data-acfe-clone-modal="1"])>.acf-input{padding:0 0 0 1px;margin:-15px 0}.acf-fields.-left>.acf-field-clone.acfe-field-clone-layout-block.acfe-seamless-style>.acf-input>.acf-fields,.acf-fields.-left>.acf-field-clone.acfe-field-clone-layout-table.acfe-seamless-style>.acf-input>.acf-table,.acf-fields>.acf-field-clone[data-acfe-clone-modal="1"]>.acf-input>.acfe-modal>.acfe-modal-wrapper>.acfe-modal-content>.acf-fields,.acf-fields>.acf-field-clone[data-acfe-clone-modal="1"]>.acf-input>.acfe-modal>.acfe-modal-wrapper>.acfe-modal-content>.acf-table{border-width:0}.acf-postbox.seamless>.acf-fields>.acf-field-clone.acfe-field-clone-layout-block.acfe-seamless-style>.acf-input,.acf-postbox.seamless>.acf-fields>.acf-field-clone.acfe-field-clone-layout-row.acfe-seamless-style>.acf-input,.acf-postbox.seamless>.acf-fields>.acf-field-clone.acfe-field-clone-layout-table.acfe-seamless-style>.acf-table{margin:0}.acf-postbox.seamless>.acf-fields>.acf-field-clone.acfe-field-clone-layout-block.acfe-seamless-style>.acf-input>.acf-fields,.acf-postbox.seamless>.acf-fields>.acf-field-clone.acfe-field-clone-layout-row.acfe-seamless-style>.acf-input>.acf-fields,.acf-postbox.seamless>.acf-fields>.acf-field-clone.acfe-field-clone-layout-table.acfe-seamless-style>.acf-input>.acf-table{border-width:1px}.acf-postbox.seamless>.acf-fields.-left>.acf-field-clone.acfe-field-clone-layout-block.acfe-seamless-style>.acf-input,.acf-postbox.seamless>.acf-fields.-left>.acf-field-clone.acfe-field-clone-layout-row.acfe-seamless-style>.acf-input,.acf-postbox.seamless>.acf-fields.-left>.acf-field-clone.acfe-field-clone-layout-table.acfe-seamless-style>.acf-input{padding:0 12px}tr.acf-field.acf-field-clone.acfe-seamless-style>td.acf-input>.acf-fields{border:0;margin:-15px -10px}tr.acf-field.acf-field-clone.acfe-seamless-style.acfe-field-clone-layout-table>td.acf-input{padding:0;margin:-15px 0}tr.acf-field.acf-field-clone.acfe-seamless-style.acfe-field-clone-layout-table>td.acf-input>.acf-table,tr.acf-field.acf-field-clone[data-acfe-clone-modal="1"]>.acf-input>.acfe-modal>.acfe-modal-wrapper>.acfe-modal-content>.acf-fields,tr.acf-field.acf-field-clone[data-acfe-clone-modal="1"]>.acf-input>.acfe-modal>.acfe-modal-wrapper>.acfe-modal-content>.acf-table{border-width:0}.acf-field-acfe-code-editor>.acf-input>.acf-input-wrap>.CodeMirror-wrap{height:auto}.acf-field-acfe-code-editor>.acf-input>.acf-input-wrap>.CodeMirror-wrap.cm-s-default{border:1px solid #7e8993;border-radius:4px}.acf-field-acfe-code-editor>.acf-input>.acf-input-wrap>.CodeMirror-wrap.cm-s-default .CodeMirror-gutters{border-right:1px solid #7e8993;background:#f9f9f9}.acf-field-acfe-code-editor>.acf-input>.acf-input-wrap>.CodeMirror-wrap.cm-s-default .CodeMirror-activeline-background{background:#f9f9f9}.acf-field-acfe-code-editor>.acf-input>.acf-input-wrap>.CodeMirror-wrap.cm-s-default .CodeMirror-selected{background:#f0f0f0!important}.acf-field-acfe-code-editor>td.acf-input{max-width:1px}#acf-admin-tool-export>.CodeMirror-wrap{height:auto}#acf-admin-tool-export>.CodeMirror-wrap.cm-s-default{border:1px solid #7e8993;border-radius:4px}#acf-admin-tool-export>.CodeMirror-wrap.cm-s-default .CodeMirror-gutters{border-right:1px solid #7e8993;background:#f9f9f9}#acf-admin-tool-export>.CodeMirror-wrap.cm-s-default .CodeMirror-activeline-background{background:#f9f9f9}#acf-admin-tool-export>.CodeMirror-wrap.cm-s-default .CodeMirror-selected{background:#f0f0f0!important}body .CodeMirror-wrap pre{word-break:break-all}body:not(.acf-admin-5-3) .acf-field-acfe-code-editor>.acf-input>.acf-input-wrap>.CodeMirror-wrap.cm-s-default{border-color:#dfdfdf}.acfe-modal-content .acf-color-picker .wp-picker-holder{position:relative}.acf-fields.acfe-column-wrapper{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-line-pack:start;align-content:flex-start}.acf-fields.acfe-column-wrapper>.acf-field,.acf-fields.acfe-column-wrapper>.acf-tab-wrap{width:100%}.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column{-webkit-box-sizing:border-box;box-sizing:border-box;padding:0;border-top-width:0}.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-endpoint="1"]{width:100%;border-top:1px solid #eee}.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-endpoint="1"]+.acf-field:not(.acf-field-acfe-column),.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-endpoint="1"]:last-child{border-top:none}.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="1/12"]{width:8.333333%}.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="2/12"]{width:16.66666%}.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="3/12"]{width:25%}.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="4/12"]{width:33.33333%}.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="5/12"]{width:41.66667%}.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="6/12"]{width:50%}.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="7/12"]{width:58.33333%}.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="8/12"]{width:66.66666%}.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="9/12"]{width:75%}.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="10/12"]{width:83.33333%}.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="11/12"]{width:91.66667%}.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="12/12"]{width:100%;border-right:0}@media only screen and (max-width:1024px){.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="1/12"],.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="10/12"],.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="11/12"],.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="2/12"],.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="3/12"],.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="4/12"],.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="5/12"],.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="7/12"],.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="8/12"],.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="9/12"]{width:50%}}@media only screen and (max-width:640px){.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="1/12"],.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="10/12"],.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="11/12"],.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="12/12"],.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="2/12"],.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="3/12"],.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="4/12"],.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="5/12"],.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="6/12"],.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="7/12"],.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="8/12"],.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="9/12"]{width:100%}}.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column>.acf-input>.acf-fields>.acf-field{border-top-width:0}.acf-fields.acfe-column-wrapper.-left>.acf-field.acf-field-acfe-column>.acf-input{float:none;width:auto;margin:0;padding:0}.acf-fields.acfe-column-wrapper>.acfe-flexible-opened-actions{width:100%}.acf-repeater .acf-row.-collapsed>.acf-fields.acfe-column-wrapper{display:table-cell}.acf-repeater .acf-row.-collapsed>.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column.-collapsed-target{width:100%}.acf-postbox.seamless>.inside.acfe-column-wrapper{display:-webkit-box!important;display:-ms-flexbox!important;display:flex!important;-ms-flex-wrap:wrap!important;flex-wrap:wrap!important}.acf-ui-datepicker .ui-datepicker{padding:0;border-color:#7e8993!important;border-radius:4px;-webkit-box-sizing:border-box;box-sizing:border-box;background:#fff}.acf-ui-datepicker select{font-size:14px;cursor:pointer;vertical-align:middle;line-height:2;color:#32373c;border-color:#7e8993;-webkit-box-shadow:none;box-shadow:none;border-radius:3px;padding:0 24px 0 8px;min-height:30px;max-width:25rem;-webkit-appearance:none;background:url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M5%206l5%205%205-5%202%201-7%207-7-7%202-1z%22%20fill%3D%22%23555%22%2F%3E%3C%2Fsvg%3E') right 5px top 55%/16px 16px no-repeat #fff}.acf-ui-datepicker .ui-datepicker table{font-size:13px;margin:0 0 7px}.acf-ui-datepicker .ui-datepicker .ui-datepicker-header{border:none;background:#f9f9f9;color:#222;font-weight:400;border-radius:4px 4px 0}.acf-ui-datepicker .ui-datepicker .ui-datepicker-header .ui-state-hover{background:#f9f9f9;cursor:pointer;border-radius:0;border:0}.acf-ui-datepicker .ui-datepicker thead{background:#f9f9f9;color:#222}.acf-ui-datepicker .ui-datepicker .ui-datepicker-title{margin-top:.4em;margin-bottom:.3em;color:#222;font-size:14px}.acf-ui-datepicker .ui-datepicker .ui-datepicker-next,.acf-ui-datepicker .ui-datepicker .ui-datepicker-next-hover,.acf-ui-datepicker .ui-datepicker .ui-datepicker-prev,.acf-ui-datepicker .ui-datepicker .ui-datepicker-prev-hover{height:20px;width:20px;border:none;overflow:hidden;margin-top:15px;top:0}.acf-ui-datepicker .ui-datepicker .ui-datepicker-next-hover,.acf-ui-datepicker .ui-datepicker .ui-datepicker-prev-hover{background:0 0!important;color:#007cba!important}.acf-ui-datepicker .ui-datepicker .ui-datepicker-next{right:7px}.acf-ui-datepicker .ui-datepicker .ui-datepicker-prev{left:7px}.acf-ui-datepicker .ui-datepicker .ui-datepicker-next span,.acf-ui-datepicker .ui-datepicker .ui-datepicker-prev span{height:20px;width:20px;background:0 0;position:relative;margin:0;left:unset;top:unset;font-size:1px}.acf-ui-datepicker .ui-datepicker .ui-datepicker-next span:before,.acf-ui-datepicker .ui-datepicker .ui-datepicker-prev span:before{display:block;font-family:dashicons;line-height:1;font-weight:400;text-indent:0;font-style:normal;speak:none;text-decoration:inherit;text-transform:none;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;width:20px;height:20px;font-size:16px;vertical-align:top;text-align:center}.acf-ui-datepicker .ui-datepicker .ui-datepicker-next span:before{content:"\f345"}.acf-ui-datepicker .ui-datepicker .ui-datepicker-prev span:before{content:"\f341"}.acf-ui-datepicker .ui-datepicker .ui-datepicker-title select{margin:0 3px}.acf-ui-datepicker .ui-datepicker th{padding:.75em 0;color:#222;font-weight:400;border:none;border-bottom:1px solid #e1e1e1;background:#f9f9f9}.acf-ui-datepicker .ui-datepicker td{background:#fff;border:none;padding:0}.acf-ui-datepicker .ui-datepicker td .ui-state-default{background:0 0;border:none;text-align:center;padding:.5em;margin:0;font-weight:400;color:#333}.acf-ui-datepicker .ui-datepicker td .ui-state-active,.acf-ui-datepicker .ui-datepicker td .ui-state-hover{background:#007cba;color:#fff;-webkit-box-shadow:none;box-shadow:none}.acf-ui-datepicker .ui-datepicker td.ui-state-disabled,.acf-ui-datepicker .ui-datepicker td.ui-state-disabled .ui-state-default{opacity:1;color:#999}.acf-ui-datepicker .ui-datepicker-today .ui-state-highlight{border:none!important;background:#eee!important;font-weight:400!important;color:#222!important}.acf-ui-datepicker .ui-state-highlight.ui-state-active,.acf-ui-datepicker .ui-state-highlight.ui-state-hover{border:none!important;background:#007cba!important;font-weight:400!important;color:#fff!important}.acf-ui-datepicker .ui-state-highlight.ui-state-hover.ui-state-active{background:#007cba!important}.acf-ui-datepicker .ui-timepicker-div{padding:10px 7px!important}.acf-ui-datepicker .ui-timepicker-div .ui-widget-header{background:0 0!important;border:0!important;display:none!important}.acf-ui-datepicker .ui-timepicker-div .ui-widget-header .ui-datepicker-title{font-size:13px!important;font-weight:600!important}.acf-ui-datepicker .ui-timepicker-div dl{margin:0;text-align:center!important}.acf-ui-datepicker .ui-timepicker-div .ui_tpicker_time_label{display:none!important}.acf-ui-datepicker .ui-timepicker-div select{background:url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M5%206l5%205%205-5%202%201-7%207-7-7%202-1z%22%20fill%3D%22%23555%22%2F%3E%3C%2Fsvg%3E') right 5px top 55%/16px 16px no-repeat #fff!important;color:#32373c!important;border-color:#7e8993!important}.acf-ui-datepicker .ui-datepicker-buttonpane{border:0!important;padding:7px!important;margin:0!important;background:#f9f9f9!important;border-top:1px solid #e1e1e1!important;border-radius:0 0 4px 4px!important}.acf-ui-datepicker .ui-datepicker-buttonpane:after{content:'';display:block;clear:both}.acf-ui-datepicker .ui-datepicker-buttonpane button{display:inline-block;text-decoration:none;font-size:13px!important;line-height:2.15384615;min-height:30px;margin:0!important;padding:0 10px!important;cursor:pointer!important;-webkit-appearance:none;border-radius:3px;font-weight:400!important;white-space:nowrap;-webkit-box-sizing:border-box;box-sizing:border-box;color:#0071a1!important;background:#f3f5f6!important;vertical-align:top;-webkit-box-shadow:none!important;box-shadow:none!important;outline:0!important;opacity:unset!important;-webkit-filter:unset!important;filter:unset!important;border:1px solid #0071a1!important}.acf-ui-datepicker .ui-datepicker-buttonpane button:hover{background:#f1f1f1!important;border-color:#016087!important;color:#016087!important}.acf-flexible-content .layout .acf-icon.acfe-flexible-icon.dashicons:before{font-family:dashicons}.acf-flexible-content .layout .acf-icon.acfe-flexible-icon.dashicons{visibility:hidden}.acf-flexible-content .layout .acf-icon.acfe-flexible-icon.dashicons.dashicons-admin-generic,.acf-flexible-content .layout:hover>.acf-fc-layout-controls .acf-icon.acfe-flexible-icon.dashicons{visibility:visible}.acf-flexible-content .layout .acf-icon.acfe-flexible-icon.dashicons.dashicons-admin-generic:before{margin-left:1px;line-height:.9}.acf-flexible-content .layout.-hover .acf-fc-layout-controls .acf-icon.-duplicate,.acf-flexible-content .layout.-hover .acf-fc-layout-controls .acf-icon.-minus,.acf-flexible-content .layout.-hover .acf-fc-layout-controls .acf-icon.-plus,.acf-flexible-content .layout:hover .acf-fc-layout-controls .acf-icon.-duplicate,.acf-flexible-content .layout:hover .acf-fc-layout-controls .acf-icon.-minus,.acf-flexible-content .layout:hover .acf-fc-layout-controls .acf-icon.-plus{visibility:hidden}.acf-flexible-content .layout.-hover>.acf-fc-layout-controls .acf-icon.-duplicate,.acf-flexible-content .layout.-hover>.acf-fc-layout-controls .acf-icon.-minus,.acf-flexible-content .layout.-hover>.acf-fc-layout-controls .acf-icon.-plus,.acf-flexible-content .layout:hover>.acf-fc-layout-controls .acf-icon.-duplicate,.acf-flexible-content .layout:hover>.acf-fc-layout-controls .acf-icon.-minus,.acf-flexible-content .layout:hover>.acf-fc-layout-controls .acf-icon.-plus{visibility:visible}.acf-flexible-content .layout>.acf-fc-layout-controls .acf-icon.disabled{color:#ccc;cursor:initial}.acf-flexible-content .layout>.acf-fc-layout-controls .acf-icon.disabled:hover{color:#ccc;background:#f5f5f5}.acf-field-acfe-flexible-layout-title{display:none}input.acfe-flexible-control-title{border:none;-webkit-box-shadow:none!important;box-shadow:none!important;outline:0!important;border-radius:0;border-bottom:1px solid transparent!important;font-weight:600;width:auto!important;padding:0!important;display:none;min-height:20px;vertical-align:unset;background:0 0}.acf-field-flexible-content[data-acfe-flexible-title-edition="1"]>.acf-input>.acf-flexible-content>.values>.layout:not(.acfe-flexible-title-edition)>.acf-fc-layout-handle .acfe-layout-title:hover{background:#f4f4f4}.acf-field-flexible-content[data-acfe-flexible-title-edition="1"]>.acf-input>.acf-flexible-content>.values>.layout.acfe-flexible-title-edition>.acf-fc-layout-handle .acfe-layout-title input.acfe-flexible-control-title{display:inline-block;border-bottom:1px solid #ddd!important}.acf-field-flexible-content[data-acfe-flexible-title-edition="1"]>.acf-input>.acf-flexible-content>.values>.layout.acfe-flexible-title-edition>.acf-fc-layout-handle .acfe-layout-title .acfe-layout-title-text{display:none}.acf-field-flexible-content[data-acfe-flexible-title-edition="1"]>.acf-input>.acf-flexible-content>.values>.layout>.acf-fc-layout-handle .acfe-layout-title{cursor:text;position:relative}.layout.acfe-flexible-layout-hidden>.acf-fc-layout-controls,.layout.acfe-flexible-layout-hidden>.acf-fc-layout-handle,.layout.acfe-flexible-layout-hidden>.acf-fields,.layout.acfe-flexible-layout-hidden>.acfe-fc-placeholder{opacity:.5}.acf-field-flexible-content[data-acfe-flexible-modal-edition="1"]>.acf-input>.acf-flexible-content>.values>.layout>.acf-fc-layout-controls>a.-collapse{display:none}body.-loading *{cursor:wait!important}.acf-flexible-content>.values>.ui-sortable-placeholder{border-width:2px;border-color:#ccc}.acf-flexible-content .layout .acf-fc-layout-handle{color:#444;font-weight:600}.layout.acfe-flexible-modal-edit-error>.acf-fc-layout-handle{color:#f33b28}.layout.acfe-flexible-modal-edit-error>.acf-fc-layout-handle>.acf-fc-layout-order{background:#f33b28;color:#fff}.acf-field-flexible-content[data-acfe-flexible-modal-edition="1"]:not([data-acfe-flexible-placeholder="1"]):not([data-acfe-flexible-preview="1"])>.acf-input>.acf-flexible-content>.values>.layout>.acf-fc-layout-handle{border-bottom-width:0}.acf-field-flexible-content[data-acfe-flexible-placeholder="1"]>.acf-input>.acf-flexible-content>.values>.layout.-collapsed>.acf-fc-layout-handle,.acf-field-flexible-content[data-acfe-flexible-preview="1"]>.acf-input>.acf-flexible-content>.values>.layout.-collapsed>.acf-fc-layout-handle{border-bottom-width:1px}.acf-field-flexible-content[data-acfe-flexible-lock="1"]>.acf-input>.acf-flexible-content>.values>.layout>.acf-fc-layout-handle{cursor:pointer}.acf-fc-popup.top.acfe-fc-popup-grey:before{border-top-color:#e1e1e1}.acf-tooltip.bottom.acfe-fc-popup-grey:before{border-bottom-color:#e1e1e1}.acf-fc-popup.acfe-fc-popup-grey{background:#fcfcfc;border-radius:3px;color:#444;border:1px solid #e1e1e1;font-size:13px}.acf-tooltip.top.acfe-fc-popup-grey{margin-top:-16px}.acf-tooltip.bottom.acfe-fc-popup-grey{margin-bottom:-16px}.acf-fc-popup.acfe-fc-popup-grey a{color:#444}.acf-fc-popup.acfe-fc-popup-grey a:hover{color:#fff}.layout>.acfe-fc-placeholder{text-align:center;background:#f9f9f9;display:block;text-decoration:none;position:relative;cursor:pointer}.layout>.acfe-fc-placeholder:focus{border-color:#ccc;-webkit-box-shadow:none;box-shadow:none}.layout>.acfe-fc-placeholder>.acfe-flexible-placeholder{height:110px;overflow:hidden;text-align:initial}.layout>.acfe-fc-placeholder>a{z-index:2;position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);transform:translate(-50%,-50%);border-color:#ccd0d4;color:#23282d;border-radius:100px;-webkit-box-shadow:none;box-shadow:none;background:#fff;width:30px;min-height:30px;height:30px;padding:0;display:block}body:not(.acf-admin-5-3) .layout>.acfe-fc-placeholder>a{border-color:#999}.acfe-modal.-open.acfe-modal-sub>.acfe-modal-wrapper>.acfe-modal-content>.acf-fields>.acf-field-flexible-content>.acf-input>.acf-flexible-content>.values>.layout>.acfe-fc-placeholder>a{z-index:0}.layout>.acfe-fc-placeholder>a:active{-webkit-transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.layout>.acfe-fc-placeholder>a:focus{border-color:#ccc;-webkit-box-shadow:none;box-shadow:none}.layout>.acfe-fc-placeholder>a span{width:29px;height:30px;vertical-align:top;line-height:28px;font-size:18px}body:not(.acf-admin-5-3) .layout>.acfe-fc-placeholder>a span{width:30px;height:30px}.layout>.acfe-fc-placeholder.acfe-fc-preview{background:0 0}.layout>.acfe-fc-placeholder.acfe-fc-preview>.acfe-flexible-placeholder{min-height:55px;height:auto}.layout>.acfe-fc-placeholder.acfe-fc-preview>a{display:none}.layout>.acfe-fc-placeholder.acfe-fc-preview:hover>a{display:block}.layout>.acfe-fc-placeholder.acfe-fc-preview.-loading{background:#f9f9f9;min-height:110px}.layout>.acfe-fc-placeholder.acfe-fc-preview.-loading>.acfe-flexible-placeholder>.spinner{visibility:visible;float:none;position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);transform:translate(-50%,-50%);margin:0;z-index:10000}.layout>.acfe-fc-placeholder .acfe-fc-overlay{position:absolute;width:100%;height:100%;padding:0;background-color:rgba(255,255,255,0);-webkit-transition:background-color .2s linear;-o-transition:background-color .2s linear;transition:background-color .2s linear}.layout>.acfe-fc-placeholder .acfe-fc-overlay.-hover,.layout>.acfe-fc-placeholder:hover .acfe-fc-overlay{background-color:rgba(255,255,255,.7);z-index:1}.layout>.acfe-fc-placeholder.acfe-fc-preview.-loading>a span{visibility:hidden}.layout>.acf-fields>.acfe-flexible-opened-actions,.layout>.acf-table>.acfe-flexible-opened-actions{background:#f9f9f9;border-top:1px solid #e1e1e1;padding:12px;text-align:right;clear:both}.acfe-flexible-layout-thumbnail{display:block;width:100%;height:9.8vw;background-color:#eee;background-size:cover;background-repeat:no-repeat;background-position:center;position:relative;margin-bottom:15px}.acfe-flexible-layout-thumbnail.acfe-flexible-layout-thumbnail-not-found:after{content:"\f180";font-family:dashicons;display:inline-block;line-height:1;font-weight:400;font-style:normal;speak:none;text-decoration:inherit;text-transform:none;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;vertical-align:top;text-align:center;position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);transform:translate(-50%,-50%);color:#ccc;font-size:110px}.acfe-col-2 .acfe-flexible-layout-thumbnail{height:20.5vw}.acfe-col-3 .acfe-flexible-layout-thumbnail{height:13.3vw}.acfe-col-5 .acfe-flexible-layout-thumbnail{height:7.65vw}.acfe-col-6 .acfe-flexible-layout-thumbnail{height:6.2vw}@media only screen and (max-width:960px){.acfe-flex-container .acfe-flexible-layout-thumbnail,.acfe-flexible-layout-thumbnail{height:18.4vw}}@media only screen and (max-width:720px){.acfe-flex-container .acfe-flexible-layout-thumbnail,.acfe-flexible-layout-thumbnail{height:37.2vw}}.acfe-flexible-layout-thumbnail.acfe-flexible-layout-thumbnail-no-modal{display:block;width:230px;height:103px;background-color:#1f2329}.acfe-flexible-layout-thumbnail.acfe-flexible-layout-thumbnail-no-modal.acfe-flexible-layout-thumbnail-not-found:after{color:#2f353e}.acf-field.acf-field-flexible-content[data-acfe-flexible-stylised-button="1"]>.acf-input>.acf-flexible-content:not(.empty)>.values{margin-bottom:15px}.acf-field.acf-field-flexible-content>.acf-input>.acf-flexible-content>.acfe-flexible-stylised-button{padding:40px 20px;border:2px dashed #ccc;text-align:center}.acf-field.acf-field-flexible-content>.acf-input>.acf-flexible-content>.acfe-flexible-stylised-button>.acf-actions{text-align:center}.acf-field.acf-field-flexible-content>.acf-input>.acf-flexible-content .acf-actions .acf-button .dashicons{width:auto;height:auto;vertical-align:text-top}.acf-field.acf-field-flexible-content[data-acfe-flexible-hide-empty-message="1"]>.acf-input>.acf-flexible-content>.no-value-message{display:none}.acf-field.acf-field-flexible-content[data-acfe-flexible-hide-empty-message="1"]>.acf-input>.acf-flexible-content.-empty>.values{margin-bottom:0}.acf-range-wrap input[type=number]{min-width:3.5em}.acf-fields>.acf-field-group.acfe-field-group-layout-block.acfe-seamless-style:not([data-acfe-group-modal="1"])>.acf-input,.acf-fields>.acf-field-group.acfe-field-group-layout-row.acfe-seamless-style:not([data-acfe-group-modal="1"])>.acf-input{margin-left:-12px;margin-right:-12px;margin-bottom:-15px}.acf-fields>.acf-field-group.acfe-field-group-layout-block.acfe-seamless-style.acfe-no-label:not([data-acfe-group-modal="1"])>.acf-input,.acf-fields>.acf-field-group.acfe-field-group-layout-row.acfe-seamless-style.acfe-no-label:not([data-acfe-group-modal="1"])>.acf-input{margin-top:-15px}.acf-fields>.acf-field-group.acfe-field-group-layout-block.acfe-seamless-style.acfe-no-label:not([data-acfe-group-modal="1"])>.acf-label>p.description,.acf-fields>.acf-field-group.acfe-field-group-layout-row.acfe-seamless-style.acfe-no-label:not([data-acfe-group-modal="1"])>.acf-label>p.description{margin-bottom:15px}.acf-fields>.acf-field-group.acfe-field-group-layout-row.acfe-seamless-style.acfe-no-label>.acf-input>.acf-fields{border-width:0}.acf-fields>.acf-field-group.acfe-field-group-layout-row.acfe-seamless-style>.acf-input>.acf-fields{border-left-width:0;border-right-width:0;border-bottom-width:0}.acf-fields>.acf-field-group.acfe-field-group-layout-block.acfe-seamless-style>.acf-input>.acf-fields,.acf-fields>.acf-field-group[data-acfe-group-modal="1"]>.acf-input>.acfe-modal>.acfe-modal-wrapper>.acfe-modal-content>.acf-fields,.acf-fields>.acf-field-group[data-acfe-group-modal="1"]>.acf-input>.acfe-modal>.acfe-modal-wrapper>.acfe-modal-content>.acf-table{border-width:0}.acf-fields>.acf-field-group[data-acfe-group-modal="1"]>.acf-input>.acf-fields,.acf-fields>.acf-field-group[data-acfe-group-modal="1"]>.acf-input>.acf-table{display:none}.acf-fields.-left>.acf-field-group.acfe-field-group-layout-row.acfe-seamless-style>.acf-input{margin:0}.acf-fields.-left>.acf-field-group.acfe-field-group-layout-row.acfe-seamless-style>.acf-input>.acf-fields{border-width:1px}.acf-fields.-left>.acf-field-group.acfe-field-group-layout-block.acfe-seamless-style:not([data-acfe-group-modal="1"])>.acf-input,.acf-fields.-left>.acf-field-group.acfe-field-group-layout-table.acfe-seamless-style:not([data-acfe-group-modal="1"])>.acf-input{padding:0 0 0 1px;margin:-15px 0}.acf-fields.-left>.acf-field-group.acfe-field-group-layout-block.acfe-seamless-style>.acf-input>.acf-fields,.acf-fields.-left>.acf-field-group.acfe-field-group-layout-block.acfe-seamless-style>.acf-input>.acf-table,.acf-fields.-left>.acf-field-group.acfe-field-group-layout-table.acfe-seamless-style>.acf-input>.acf-fields,.acf-fields.-left>.acf-field-group.acfe-field-group-layout-table.acfe-seamless-style>.acf-input>.acf-table{border-width:0}.acf-postbox.seamless>.acf-fields>.acf-field-group.acfe-field-group-layout-block.acfe-seamless-style>.acf-input,.acf-postbox.seamless>.acf-fields>.acf-field-group.acfe-field-group-layout-block.acfe-seamless-style>.acf-table,.acf-postbox.seamless>.acf-fields>.acf-field-group.acfe-field-group-layout-row.acfe-seamless-style>.acf-input,.acf-postbox.seamless>.acf-fields>.acf-field-group.acfe-field-group-layout-row.acfe-seamless-style>.acf-table,.acf-postbox.seamless>.acf-fields>.acf-field-group.acfe-field-group-layout-table.acfe-seamless-style>.acf-input,.acf-postbox.seamless>.acf-fields>.acf-field-group.acfe-field-group-layout-table.acfe-seamless-style>.acf-table{margin:0}.acf-postbox.seamless>.acf-fields>.acf-field-group.acfe-field-group-layout-block.acfe-seamless-style>.acf-input>.acf-fields,.acf-postbox.seamless>.acf-fields>.acf-field-group.acfe-field-group-layout-block.acfe-seamless-style>.acf-input>.acf-table,.acf-postbox.seamless>.acf-fields>.acf-field-group.acfe-field-group-layout-row.acfe-seamless-style>.acf-input>.acf-fields,.acf-postbox.seamless>.acf-fields>.acf-field-group.acfe-field-group-layout-row.acfe-seamless-style>.acf-input>.acf-table,.acf-postbox.seamless>.acf-fields>.acf-field-group.acfe-field-group-layout-table.acfe-seamless-style>.acf-input>.acf-fields,.acf-postbox.seamless>.acf-fields>.acf-field-group.acfe-field-group-layout-table.acfe-seamless-style>.acf-input>.acf-table{border-width:1px}.acf-postbox.seamless>.acf-fields.-left>.acf-field-group.acfe-field-group-layout-block.acfe-seamless-style>.acf-input,.acf-postbox.seamless>.acf-fields.-left>.acf-field-group.acfe-field-group-layout-row.acfe-seamless-style>.acf-input,.acf-postbox.seamless>.acf-fields.-left>.acf-field-group.acfe-field-group-layout-table.acfe-seamless-style>.acf-input{padding:0 12px}tr.acf-field.acf-field-group.acfe-seamless-style>td.acf-input>.acf-fields{border:0;margin:-15px -10px}tr.acf-field.acf-field-group.acfe-seamless-style.acfe-field-group-layout-table>td.acf-input{padding:0;margin:-15px 0}tr.acf-field.acf-field-group.acfe-seamless-style.acfe-field-group-layout-table>td.acf-input>.acf-table,tr.acf-field.acf-field-group[data-acfe-group-modal="1"]>.acf-input>.acfe-modal>.acfe-modal-wrapper>.acfe-modal-content>.acf-fields,tr.acf-field.acf-field-group[data-acfe-group-modal="1"]>.acf-input>.acfe-modal>.acfe-modal-wrapper>.acfe-modal-content>.acf-table{border-width:0}.acf-field-acfe-hidden{display:none}.acf-field-radio .acf-input .acf-radio-list.acf-bl li>strong,.acf-field-radio[data-acfe-labels] .acf-input .acf-radio-list.acf-hl li>strong{display:block}.acf-field-radio .acf-input .acf-radio-list.acf-bl li+li>strong{margin-top:15px}.acf-field-repeater[data-acfe-repeater-lock="1"]>.acf-input>.acf-repeater>.acf-table>tbody>.acf-row>.acf-row-handle{cursor:initial}.acf-repeater.-block>table,.acf-repeater.-row>table{border-collapse:separate;border-spacing:0 15px;background:0 0;border:0;margin-top:-15px;margin-bottom:-7px}.acf-repeater.-block>table>*,.acf-repeater.-row>table>*{border-collapse:collapse;border-spacing:0}.acf-repeater.-block>table>tbody>tr>td,.acf-repeater.-row>table>tbody>tr>td{border-top:1px solid #ccd0d4!important;border-bottom:1px solid #ccd0d4!important}.acf-repeater.-block>table>tbody>tr>td:first-of-type,.acf-repeater.-row>table>tbody>tr>td:first-of-type{border-left:1px solid #ccd0d4!important}.acf-repeater.-block>table>tbody>tr>td:last-of-type,.acf-repeater.-row>table>tbody>tr>td:last-of-type{border-right:1px solid #ccd0d4!important}body:not(.acf-admin-5-3) .acf-repeater.-block>table>tbody>tr>td,body:not(.acf-admin-5-3) .acf-repeater.-row>table>tbody>tr>td{border-top:1px solid #e1e1e1;border-bottom:1px solid #e1e1e1}body:not(.acf-admin-5-3) .acf-repeater.-block>table>tbody>tr>td:first-of-type,body:not(.acf-admin-5-3) .acf-repeater.-row>table>tbody>tr>td:first-of-type{border-left:1px solid #e1e1e1}body:not(.acf-admin-5-3) .acf-repeater.-block>table>tbody>tr>td:last-of-type,body:not(.acf-admin-5-3) .acf-repeater.-row>table>tbody>tr>td:last-of-type{border-right:1px solid #e1e1e1}.acf-repeater.-table.-empty>.acf-table{display:none}.acf-field-repeater>.acf-input>.acf-repeater>.acfe-repeater-stylised-button{padding:40px 20px;border:2px dashed #ccc;text-align:center}.acf-field-repeater>.acf-input>.acf-repeater>.acfe-repeater-stylised-button>.acf-actions{text-align:center;position:relative}.acf-field-repeater>.acf-input>.acf-repeater>.acfe-repeater-stylised-button>.acf-actions .acf-button{float:none}.acf-field-repeater>.acf-input>.acf-repeater>.acfe-repeater-stylised-button>.acf-actions .acf-tablenav{float:none;position:absolute;top:0;right:0}.acf-field-flexible-content>.acf-input>.acf-repeater .acf-actions .acf-button .dashicons{width:auto;height:auto;vertical-align:text-top}.acf-field-textarea[data-acfe-textarea-code="1"]>.acf-input>textarea{font-family:Menlo,Monaco,Consolas,"Courier New",monospace;font-size:1em}.acf-editor-wrap iframe{min-height:60px}.acf-editor-wrap .mce-top-part::before{-webkit-box-shadow:none;box-shadow:none}.acf-editor-wrap div.mce-statusbar{border:0}.acf-editor-wrap .mce-divider,.acf-editor-wrap .mce-path-item{color:#aaa}form.acfe-form.is-invalid[data-hide-error="1"]>.acf-error-message.-dismiss,form.acfe-form.is-valid[data-hide-revalidation="1"]>.acf-notice.-success{display:none}form.acfe-form.is-invalid[data-errors-position=below] .acf-field .acf-notice{margin:15px 0 0}.acf-media-modal .screen-reader-text,.acf-media-modal .screen-reader-text span,.acf-media-modal .ui-helper-hidden-accessible{border:0;clip:rect(1px,1px,1px,1px);-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;word-wrap:normal!important}.acfe-field-tooltip{float:right;font-size:15px;color:#999;height:16px;line-height:1.35}.acf-field[data-instruction-tooltip]:not([data-instruction-placement])>.acf-input>p.description,.acf-field[data-instruction-tooltip]:not([data-instruction-placement])>.acf-label>p.description{display:none}.acf-field .acf-input>p.description:first-child{margin-top:0;margin-bottom:5px}.acf-field p.description>.more,.acf-field[data-instruction-above-field]:not([data-instruction-placement])>.acf-label>p.description{display:none}.mce-toolbar .mce-btn-group:not(:first-child){margin-left:6px;padding-left:6px}
|
1 |
+
.acf-field .acf-label label{font-weight:600}.acf-field p.description{word-break:break-word}.acf-panel .acf-panel-title{font-weight:600}.acf-fields.-left>.acf-field>.acf-label,.acfe-postbox-left>.inside>.acf-field>.acf-label{min-height:1px}#side-sortables .acf-fields>.acf-field.acfe-no-label>.acf-label,.acf-field.acfe-no-label>.acf-label{margin:0}#side-sortables .acf-fields>.acf-field.acfe-no-label>.acf-label>label,.acf-field.acfe-no-label>.acf-label>label{display:none}#side-sortables .acf-fields>.acf-field.acfe-no-label>.acf-label>p.description,.acf-field.acfe-no-label>.acf-label>p.description{margin-bottom:10px}body .medium-editor-toolbar{z-index:999999!important}.acf-accordion{z-index:initial}.acf-link.-value .acfe-modal .button{display:inline-block}.acf-field-checkbox .acf-input .acf-checkbox-list.acf-bl li+li>strong{margin-top:15px;display:inline-block}.acf-fields>.acf-field-clone.acfe-field-clone-layout-block.acfe-seamless-style:not([data-acfe-clone-modal="1"])>.acf-input,.acf-fields>.acf-field-clone.acfe-field-clone-layout-row.acfe-seamless-style:not([data-acfe-clone-modal="1"])>.acf-input{margin-left:-12px;margin-right:-12px;margin-bottom:-15px}.acf-fields>.acf-field-clone.acfe-field-clone-layout-block.acfe-no-label.acfe-seamless-style:not([data-acfe-clone-modal="1"])>.acf-input,.acf-fields>.acf-field-clone.acfe-field-clone-layout-row.acfe-no-label.acfe-seamless-style:not([data-acfe-clone-modal="1"])>.acf-input{margin-top:-15px}.acf-fields>.acf-field-clone.acfe-field-clone-layout-block.acfe-seamless-style.acfe-no-label:not([data-acfe-clone-modal="1"])>.acf-label>p.description,.acf-fields>.acf-field-clone.acfe-field-clone-layout-row.acfe-seamless-style.acfe-no-label:not([data-acfe-clone-modal="1"])>.acf-label>p.description{margin-bottom:15px}.acf-fields>.acf-field-clone.acfe-field-clone-layout-row.acfe-no-label.acfe-seamless-style>.acf-input>.acf-fields{border-width:0}.acf-fields>.acf-field-clone.acfe-field-clone-layout-row.acfe-seamless-style>.acf-input>.acf-fields{border-left-width:0;border-right-width:0;border-bottom-width:0}.acf-fields>.acf-field-clone.acfe-field-clone-layout-block.acfe-seamless-style>.acf-input>.acf-fields{border-width:0}.acf-fields.-left>.acf-field-clone.acfe-field-clone-layout-row.acfe-seamless-style>.acf-input{margin:0}.acf-fields.-left>.acf-field-clone.acfe-field-clone-layout-row.acfe-seamless-style>.acf-input>.acf-fields{border-width:1px}.acf-fields.-left>.acf-field-clone.acfe-field-clone-layout-block.acfe-seamless-style:not([data-acfe-clone-modal="1"])>.acf-input,.acf-fields.-left>.acf-field-clone.acfe-field-clone-layout-table.acfe-seamless-style:not([data-acfe-clone-modal="1"])>.acf-input{padding:0 0 0 1px;margin:-15px 0}.acf-fields.-left>.acf-field-clone.acfe-field-clone-layout-block.acfe-seamless-style>.acf-input>.acf-fields,.acf-fields.-left>.acf-field-clone.acfe-field-clone-layout-table.acfe-seamless-style>.acf-input>.acf-table,.acf-fields>.acf-field-clone[data-acfe-clone-modal="1"]>.acf-input>.acfe-modal>.acfe-modal-wrapper>.acfe-modal-content>.acf-fields,.acf-fields>.acf-field-clone[data-acfe-clone-modal="1"]>.acf-input>.acfe-modal>.acfe-modal-wrapper>.acfe-modal-content>.acf-table{border-width:0}.acf-postbox.seamless>.acf-fields>.acf-field-clone.acfe-field-clone-layout-block.acfe-seamless-style>.acf-input,.acf-postbox.seamless>.acf-fields>.acf-field-clone.acfe-field-clone-layout-row.acfe-seamless-style>.acf-input,.acf-postbox.seamless>.acf-fields>.acf-field-clone.acfe-field-clone-layout-table.acfe-seamless-style>.acf-table{margin:0}.acf-postbox.seamless>.acf-fields>.acf-field-clone.acfe-field-clone-layout-block.acfe-seamless-style>.acf-input>.acf-fields,.acf-postbox.seamless>.acf-fields>.acf-field-clone.acfe-field-clone-layout-row.acfe-seamless-style>.acf-input>.acf-fields,.acf-postbox.seamless>.acf-fields>.acf-field-clone.acfe-field-clone-layout-table.acfe-seamless-style>.acf-input>.acf-table{border-width:1px}.acf-postbox.seamless>.acf-fields.-left>.acf-field-clone.acfe-field-clone-layout-block.acfe-seamless-style>.acf-input,.acf-postbox.seamless>.acf-fields.-left>.acf-field-clone.acfe-field-clone-layout-row.acfe-seamless-style>.acf-input,.acf-postbox.seamless>.acf-fields.-left>.acf-field-clone.acfe-field-clone-layout-table.acfe-seamless-style>.acf-input{padding:0 12px}tr.acf-field.acf-field-clone.acfe-seamless-style>td.acf-input>.acf-fields{border:0;margin:-15px -10px}tr.acf-field.acf-field-clone.acfe-seamless-style.acfe-field-clone-layout-table>td.acf-input{padding:0;margin:-15px 0}tr.acf-field.acf-field-clone.acfe-seamless-style.acfe-field-clone-layout-table>td.acf-input>.acf-table,tr.acf-field.acf-field-clone[data-acfe-clone-modal="1"]>.acf-input>.acfe-modal>.acfe-modal-wrapper>.acfe-modal-content>.acf-fields,tr.acf-field.acf-field-clone[data-acfe-clone-modal="1"]>.acf-input>.acfe-modal>.acfe-modal-wrapper>.acfe-modal-content>.acf-table{border-width:0}.acf-field-acfe-code-editor>.acf-input>.acf-input-wrap>.CodeMirror-wrap{height:auto}.acf-field-acfe-code-editor>.acf-input>.acf-input-wrap>.CodeMirror-wrap.cm-s-default{border:1px solid #7e8993;border-radius:4px}.acf-field-acfe-code-editor>.acf-input>.acf-input-wrap>.CodeMirror-wrap.cm-s-default .CodeMirror-gutters{border-right:1px solid #7e8993;background:#f9f9f9}.acf-field-acfe-code-editor>.acf-input>.acf-input-wrap>.CodeMirror-wrap.cm-s-default .CodeMirror-activeline-background{background:#f9f9f9}.acf-field-acfe-code-editor>.acf-input>.acf-input-wrap>.CodeMirror-wrap.cm-s-default .CodeMirror-selected{background:#f0f0f0!important}.acf-field-acfe-code-editor>td.acf-input{max-width:1px}#acf-admin-tool-export>.CodeMirror-wrap{height:auto}#acf-admin-tool-export>.CodeMirror-wrap.cm-s-default{border:1px solid #7e8993;border-radius:4px}#acf-admin-tool-export>.CodeMirror-wrap.cm-s-default .CodeMirror-gutters{border-right:1px solid #7e8993;background:#f9f9f9}#acf-admin-tool-export>.CodeMirror-wrap.cm-s-default .CodeMirror-activeline-background{background:#f9f9f9}#acf-admin-tool-export>.CodeMirror-wrap.cm-s-default .CodeMirror-selected{background:#f0f0f0!important}body .CodeMirror-wrap pre{word-break:break-all}body:not(.acf-admin-5-3) .acf-field-acfe-code-editor>.acf-input>.acf-input-wrap>.CodeMirror-wrap.cm-s-default{border-color:#dfdfdf}.acfe-modal-content .acf-color-picker .wp-picker-holder{position:relative}.acf-fields.acfe-column-wrapper{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-line-pack:start;align-content:flex-start}.acf-fields.acfe-column-wrapper>.acf-field,.acf-fields.acfe-column-wrapper>.acf-tab-wrap{width:100%}.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column{-webkit-box-sizing:border-box;box-sizing:border-box;padding:0;border-top-width:0}.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-endpoint="1"]{width:100%;border-top:1px solid #eee}.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-endpoint="1"]+.acf-field:not(.acf-field-acfe-column),.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-endpoint="1"]:last-child{border-top:none}.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="1/12"]{width:8.333333%}.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="2/12"]{width:16.66666%}.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="3/12"]{width:25%}.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="4/12"]{width:33.33333%}.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="5/12"]{width:41.66667%}.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="6/12"]{width:50%}.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="7/12"]{width:58.33333%}.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="8/12"]{width:66.66666%}.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="9/12"]{width:75%}.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="10/12"]{width:83.33333%}.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="11/12"]{width:91.66667%}.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="12/12"]{width:100%;border-right:0}@media only screen and (max-width:1024px){.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="1/12"],.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="10/12"],.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="11/12"],.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="2/12"],.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="3/12"],.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="4/12"],.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="5/12"],.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="7/12"],.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="8/12"],.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="9/12"]{width:50%}}@media only screen and (max-width:640px){.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="1/12"],.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="10/12"],.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="11/12"],.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="12/12"],.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="2/12"],.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="3/12"],.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="4/12"],.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="5/12"],.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="6/12"],.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="7/12"],.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="8/12"],.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="9/12"]{width:100%}}.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column>.acf-input>.acf-fields>.acf-field{border-top-width:0}.acf-fields.acfe-column-wrapper.-left>.acf-field.acf-field-acfe-column>.acf-input{float:none;width:auto;margin:0;padding:0}.acf-fields.acfe-column-wrapper>.acfe-flexible-opened-actions{width:100%}.acf-repeater .acf-row.-collapsed>.acf-fields.acfe-column-wrapper{display:table-cell}.acf-repeater .acf-row.-collapsed>.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column.-collapsed-target{width:100%}.acf-postbox.seamless>.inside.acfe-column-wrapper{display:-webkit-box!important;display:-ms-flexbox!important;display:flex!important;-ms-flex-wrap:wrap!important;flex-wrap:wrap!important}.acf-ui-datepicker .ui-datepicker{padding:0;border-color:#7e8993!important;border-radius:4px;-webkit-box-sizing:border-box;box-sizing:border-box;background:#fff}.acf-ui-datepicker select{font-size:14px;cursor:pointer;vertical-align:middle;line-height:2;color:#32373c;border-color:#7e8993;-webkit-box-shadow:none;box-shadow:none;border-radius:3px;padding:0 24px 0 8px;min-height:30px;max-width:25rem;-webkit-appearance:none;background:url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M5%206l5%205%205-5%202%201-7%207-7-7%202-1z%22%20fill%3D%22%23555%22%2F%3E%3C%2Fsvg%3E') right 5px top 55%/16px 16px no-repeat #fff}.acf-ui-datepicker .ui-datepicker table{font-size:13px;margin:0 0 7px}.acf-ui-datepicker .ui-datepicker .ui-datepicker-header{border:none;background:#f9f9f9;color:#222;font-weight:400;border-radius:4px 4px 0}.acf-ui-datepicker .ui-datepicker .ui-datepicker-header .ui-state-hover{background:#f9f9f9;cursor:pointer;border-radius:0;border:0}.acf-ui-datepicker .ui-datepicker thead{background:#f9f9f9;color:#222}.acf-ui-datepicker .ui-datepicker .ui-datepicker-title{margin-top:.4em;margin-bottom:.3em;color:#222;font-size:14px}.acf-ui-datepicker .ui-datepicker .ui-datepicker-next,.acf-ui-datepicker .ui-datepicker .ui-datepicker-next-hover,.acf-ui-datepicker .ui-datepicker .ui-datepicker-prev,.acf-ui-datepicker .ui-datepicker .ui-datepicker-prev-hover{height:20px;width:20px;border:none;overflow:hidden;margin-top:15px;top:0}.acf-ui-datepicker .ui-datepicker .ui-datepicker-next-hover,.acf-ui-datepicker .ui-datepicker .ui-datepicker-prev-hover{background:0 0!important;color:#007cba!important}.acf-ui-datepicker .ui-datepicker .ui-datepicker-next{right:7px}.acf-ui-datepicker .ui-datepicker .ui-datepicker-prev{left:7px}.acf-ui-datepicker .ui-datepicker .ui-datepicker-next span,.acf-ui-datepicker .ui-datepicker .ui-datepicker-prev span{height:20px;width:20px;background:0 0;position:relative;margin:0;left:unset;top:unset;font-size:1px}.acf-ui-datepicker .ui-datepicker .ui-datepicker-next span:before,.acf-ui-datepicker .ui-datepicker .ui-datepicker-prev span:before{display:block;font-family:dashicons;line-height:1;font-weight:400;text-indent:0;font-style:normal;speak:none;text-decoration:inherit;text-transform:none;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;width:20px;height:20px;font-size:16px;vertical-align:top;text-align:center}.acf-ui-datepicker .ui-datepicker .ui-datepicker-next span:before{content:"\f345"}.acf-ui-datepicker .ui-datepicker .ui-datepicker-prev span:before{content:"\f341"}.acf-ui-datepicker .ui-datepicker .ui-datepicker-title select{margin:0 3px}.acf-ui-datepicker .ui-datepicker th{padding:.75em 0;color:#222;font-weight:400;border:none;border-bottom:1px solid #e1e1e1;background:#f9f9f9}.acf-ui-datepicker .ui-datepicker td{background:#fff;border:none;padding:0}.acf-ui-datepicker .ui-datepicker td .ui-state-default{background:0 0;border:none;text-align:center;padding:.5em;margin:0;font-weight:400;color:#333}.acf-ui-datepicker .ui-datepicker td .ui-state-active,.acf-ui-datepicker .ui-datepicker td .ui-state-hover{background:#007cba;color:#fff;-webkit-box-shadow:none;box-shadow:none}.acf-ui-datepicker .ui-datepicker td.ui-state-disabled,.acf-ui-datepicker .ui-datepicker td.ui-state-disabled .ui-state-default{opacity:1;color:#999}.acf-ui-datepicker .ui-datepicker-today .ui-state-highlight{border:none!important;background:#eee!important;font-weight:400!important;color:#222!important}.acf-ui-datepicker .ui-state-highlight.ui-state-active,.acf-ui-datepicker .ui-state-highlight.ui-state-hover{border:none!important;background:#007cba!important;font-weight:400!important;color:#fff!important}.acf-ui-datepicker .ui-state-highlight.ui-state-hover.ui-state-active{background:#007cba!important}.acf-ui-datepicker .ui-timepicker-div{padding:10px 7px!important}.acf-ui-datepicker .ui-timepicker-div .ui-widget-header{background:0 0!important;border:0!important;display:none!important}.acf-ui-datepicker .ui-timepicker-div .ui-widget-header .ui-datepicker-title{font-size:13px!important;font-weight:600!important}.acf-ui-datepicker .ui-timepicker-div dl{margin:0;text-align:center!important}.acf-ui-datepicker .ui-timepicker-div .ui_tpicker_time_label{display:none!important}.acf-ui-datepicker .ui-timepicker-div select{background:url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M5%206l5%205%205-5%202%201-7%207-7-7%202-1z%22%20fill%3D%22%23555%22%2F%3E%3C%2Fsvg%3E') right 5px top 55%/16px 16px no-repeat #fff!important;color:#32373c!important;border-color:#7e8993!important}.acf-ui-datepicker .ui-datepicker-buttonpane{border:0!important;padding:7px!important;margin:0!important;background:#f9f9f9!important;border-top:1px solid #e1e1e1!important;border-radius:0 0 4px 4px!important}.acf-ui-datepicker .ui-datepicker-buttonpane:after{content:'';display:block;clear:both}.acf-ui-datepicker .ui-datepicker-buttonpane button{display:inline-block;text-decoration:none;font-size:13px!important;line-height:2.15384615;min-height:30px;margin:0!important;padding:0 10px!important;cursor:pointer!important;-webkit-appearance:none;border-radius:3px;font-weight:400!important;white-space:nowrap;-webkit-box-sizing:border-box;box-sizing:border-box;color:#0071a1!important;background:#f3f5f6!important;vertical-align:top;-webkit-box-shadow:none!important;box-shadow:none!important;outline:0!important;opacity:unset!important;-webkit-filter:unset!important;filter:unset!important;border:1px solid #0071a1!important}.acf-ui-datepicker .ui-datepicker-buttonpane button:hover{background:#f1f1f1!important;border-color:#016087!important;color:#016087!important}body.-loading *{cursor:wait!important}.acf-flexible-content>.values>.ui-sortable-placeholder{border-width:2px;border-color:#ccc}.acf-flexible-content .layout .acf-fc-layout-handle{color:#444;font-weight:600}.layout.acfe-flexible-modal-edit-error>.acf-fc-layout-handle{color:#f33b28}.layout.acfe-flexible-modal-edit-error>.acf-fc-layout-handle>.acf-fc-layout-order{background:#f33b28;color:#fff}.acf-field-flexible-content[data-acfe-flexible-modal-edition="1"]:not([data-acfe-flexible-placeholder="1"]):not([data-acfe-flexible-preview="1"])>.acf-input>.acf-flexible-content>.values>.layout>.acf-fc-layout-handle{border-bottom-width:0}.acf-field-flexible-content[data-acfe-flexible-placeholder="1"]>.acf-input>.acf-flexible-content>.values>.layout.-collapsed>.acf-fc-layout-handle,.acf-field-flexible-content[data-acfe-flexible-preview="1"]>.acf-input>.acf-flexible-content>.values>.layout.-collapsed>.acf-fc-layout-handle{border-bottom-width:1px}.acf-field-flexible-content[data-acfe-flexible-lock="1"]>.acf-input>.acf-flexible-content>.values>.layout>.acf-fc-layout-handle{cursor:pointer}.acf-fc-popup.top.acfe-fc-popup-grey:before{border-top-color:#e1e1e1}.acf-tooltip.bottom.acfe-fc-popup-grey:before{border-bottom-color:#e1e1e1}.acf-fc-popup.acfe-fc-popup-grey{background:#fcfcfc;border-radius:3px;color:#444;border:1px solid #e1e1e1;font-size:13px}.acf-tooltip.top.acfe-fc-popup-grey{margin-top:-16px}.acf-tooltip.bottom.acfe-fc-popup-grey{margin-bottom:-16px}.acf-fc-popup.acfe-fc-popup-grey a{color:#444}.acf-fc-popup.acfe-fc-popup-grey a:hover{color:#fff}.layout>.acfe-fc-placeholder{text-align:center;background:#f9f9f9;display:block;text-decoration:none;position:relative;cursor:pointer}.layout>.acfe-fc-placeholder:focus{border-color:#ccc;-webkit-box-shadow:none;box-shadow:none}.layout>.acfe-fc-placeholder>.acfe-flexible-placeholder{height:110px;overflow:hidden;text-align:initial}.layout>.acfe-fc-placeholder>a{z-index:2;position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);transform:translate(-50%,-50%);border-color:#ccd0d4;color:#23282d;border-radius:100px;-webkit-box-shadow:none;box-shadow:none;background:#fff;width:30px;min-height:30px;height:30px;padding:0;display:block}body:not(.acf-admin-5-3) .layout>.acfe-fc-placeholder>a{border-color:#999}.acfe-modal.-open.acfe-modal-sub>.acfe-modal-wrapper>.acfe-modal-content>.acf-fields>.acf-field-flexible-content>.acf-input>.acf-flexible-content>.values>.layout>.acfe-fc-placeholder>a{z-index:0}.layout>.acfe-fc-placeholder>a:active{-webkit-transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.layout>.acfe-fc-placeholder>a:focus{border-color:#ccc;-webkit-box-shadow:none;box-shadow:none}.layout>.acfe-fc-placeholder>a span{width:29px;height:30px;vertical-align:top;line-height:28px;font-size:18px}body:not(.acf-admin-5-3) .layout>.acfe-fc-placeholder>a span{width:30px;height:30px}.layout>.acfe-fc-placeholder.acfe-fc-preview{background:0 0}.layout>.acfe-fc-placeholder.acfe-fc-preview>.acfe-flexible-placeholder{min-height:55px;height:auto}.layout>.acfe-fc-placeholder.acfe-fc-preview>a{display:none}.layout>.acfe-fc-placeholder.acfe-fc-preview:hover>a{display:block}.layout>.acfe-fc-placeholder.acfe-fc-preview.-loading{background:#f9f9f9;min-height:110px}.layout>.acfe-fc-placeholder.acfe-fc-preview.-loading>.acfe-flexible-placeholder>.spinner{visibility:visible;float:none;position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);transform:translate(-50%,-50%);margin:0;z-index:10000}.layout>.acfe-fc-placeholder .acfe-fc-overlay{position:absolute;width:100%;height:100%;padding:0;background-color:rgba(255,255,255,0);-webkit-transition:background-color .2s linear;-o-transition:background-color .2s linear;transition:background-color .2s linear}.layout>.acfe-fc-placeholder .acfe-fc-overlay.-hover,.layout>.acfe-fc-placeholder:hover .acfe-fc-overlay{background-color:rgba(255,255,255,.7);z-index:1}.layout>.acfe-fc-placeholder.acfe-fc-preview.-loading>a span{visibility:hidden}.layout>.acf-fields>.acfe-flexible-opened-actions,.layout>.acf-table>.acfe-flexible-opened-actions{background:#f9f9f9;border-top:1px solid #e1e1e1;padding:12px;text-align:right;clear:both}.acfe-flexible-layout-thumbnail{display:block;width:100%;height:9.8vw;background-color:#eee;background-size:cover;background-repeat:no-repeat;background-position:center;position:relative;margin-bottom:15px}.acfe-flexible-layout-thumbnail.acfe-flexible-layout-thumbnail-not-found:after{content:"\f180";font-family:dashicons;display:inline-block;line-height:1;font-weight:400;font-style:normal;speak:none;text-decoration:inherit;text-transform:none;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;vertical-align:top;text-align:center;position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);transform:translate(-50%,-50%);color:#ccc;font-size:110px}.acfe-col-2 .acfe-flexible-layout-thumbnail{height:20.5vw}.acfe-col-3 .acfe-flexible-layout-thumbnail{height:13.3vw}.acfe-col-5 .acfe-flexible-layout-thumbnail{height:7.65vw}.acfe-col-6 .acfe-flexible-layout-thumbnail{height:6.2vw}@media only screen and (max-width:960px){.acfe-flex-container .acfe-flexible-layout-thumbnail,.acfe-flexible-layout-thumbnail{height:18.4vw}}@media only screen and (max-width:720px){.acfe-flex-container .acfe-flexible-layout-thumbnail,.acfe-flexible-layout-thumbnail{height:37.2vw}}.acfe-flexible-layout-thumbnail.acfe-flexible-layout-thumbnail-no-modal{display:block;width:230px;height:103px;background-color:#1f2329}.acfe-flexible-layout-thumbnail.acfe-flexible-layout-thumbnail-no-modal.acfe-flexible-layout-thumbnail-not-found:after{color:#2f353e}.acf-field.acf-field-flexible-content[data-acfe-flexible-stylised-button="1"]>.acf-input>.acf-flexible-content:not(.empty)>.values{margin-bottom:15px}.acf-field.acf-field-flexible-content>.acf-input>.acf-flexible-content>.acfe-flexible-stylised-button{padding:40px 20px;border:2px dashed #ccc;text-align:center}.acf-field.acf-field-flexible-content>.acf-input>.acf-flexible-content>.acfe-flexible-stylised-button>.acf-actions{text-align:center}.acf-field.acf-field-flexible-content>.acf-input>.acf-flexible-content .acf-actions .acf-button .dashicons{width:auto;height:auto;vertical-align:text-top}.acf-field.acf-field-flexible-content[data-acfe-flexible-hide-empty-message="1"]>.acf-input>.acf-flexible-content>.no-value-message{display:none}.acf-field.acf-field-flexible-content[data-acfe-flexible-hide-empty-message="1"]>.acf-input>.acf-flexible-content.-empty>.values{margin-bottom:0}.acf-flexible-content .layout .acf-icon.acfe-flexible-icon.dashicons:before{font-family:dashicons}.acf-flexible-content .layout .acf-icon.acfe-flexible-icon.dashicons{visibility:hidden}.acf-flexible-content .layout .acf-icon.acfe-flexible-icon.dashicons.dashicons-admin-generic,.acf-flexible-content .layout:hover>.acf-fc-layout-controls .acf-icon.acfe-flexible-icon.dashicons{visibility:visible}.acf-flexible-content .layout .acf-icon.acfe-flexible-icon.dashicons.dashicons-admin-generic:before{margin-left:1px;line-height:.9}.acf-flexible-content .layout.-hover .acf-fc-layout-controls .acf-icon.-duplicate,.acf-flexible-content .layout.-hover .acf-fc-layout-controls .acf-icon.-minus,.acf-flexible-content .layout.-hover .acf-fc-layout-controls .acf-icon.-plus,.acf-flexible-content .layout:hover .acf-fc-layout-controls .acf-icon.-duplicate,.acf-flexible-content .layout:hover .acf-fc-layout-controls .acf-icon.-minus,.acf-flexible-content .layout:hover .acf-fc-layout-controls .acf-icon.-plus{visibility:hidden}.acf-flexible-content .layout.-hover>.acf-fc-layout-controls .acf-icon.-duplicate,.acf-flexible-content .layout.-hover>.acf-fc-layout-controls .acf-icon.-minus,.acf-flexible-content .layout.-hover>.acf-fc-layout-controls .acf-icon.-plus,.acf-flexible-content .layout:hover>.acf-fc-layout-controls .acf-icon.-duplicate,.acf-flexible-content .layout:hover>.acf-fc-layout-controls .acf-icon.-minus,.acf-flexible-content .layout:hover>.acf-fc-layout-controls .acf-icon.-plus{visibility:visible}.acf-flexible-content .layout>.acf-fc-layout-controls .acf-icon.disabled{color:#ccc;cursor:initial}.acf-flexible-content .layout>.acf-fc-layout-controls .acf-icon.disabled:hover{color:#ccc;background:#f5f5f5}.acf-field-acfe-flexible-layout-title{display:none}input.acfe-flexible-control-title{border:none;-webkit-box-shadow:none!important;box-shadow:none!important;outline:0!important;border-radius:0;border-bottom:1px solid transparent!important;font-weight:600;width:auto!important;padding:0!important;display:none;min-height:20px;vertical-align:unset;background:0 0}.acf-field-flexible-content[data-acfe-flexible-title-edition="1"]>.acf-input>.acf-flexible-content>.values>.layout:not(.acfe-flexible-title-edition)>.acf-fc-layout-handle .acfe-layout-title:hover{background:#f4f4f4}.acf-field-flexible-content[data-acfe-flexible-title-edition="1"]>.acf-input>.acf-flexible-content>.values>.layout.acfe-flexible-title-edition>.acf-fc-layout-handle .acfe-layout-title input.acfe-flexible-control-title{display:inline-block;border-bottom:1px solid #ddd!important}.acf-field-flexible-content[data-acfe-flexible-title-edition="1"]>.acf-input>.acf-flexible-content>.values>.layout.acfe-flexible-title-edition>.acf-fc-layout-handle .acfe-layout-title .acfe-layout-title-text{display:none}.acf-field-flexible-content[data-acfe-flexible-title-edition="1"]>.acf-input>.acf-flexible-content>.values>.layout>.acf-fc-layout-handle .acfe-layout-title{cursor:text;position:relative}.layout.acfe-flexible-layout-hidden>.acf-fc-layout-controls,.layout.acfe-flexible-layout-hidden>.acf-fc-layout-handle,.layout.acfe-flexible-layout-hidden>.acf-fields,.layout.acfe-flexible-layout-hidden>.acfe-fc-placeholder{opacity:.5}.acf-field-flexible-content[data-acfe-flexible-modal-edition="1"]>.acf-input>.acf-flexible-content>.values>.layout>.acf-fc-layout-controls>a.-collapse{display:none}.acf-range-wrap input[type=number]{min-width:3.5em}.acf-fields>.acf-field-group.acfe-field-group-layout-block.acfe-seamless-style:not([data-acfe-group-modal="1"])>.acf-input,.acf-fields>.acf-field-group.acfe-field-group-layout-row.acfe-seamless-style:not([data-acfe-group-modal="1"])>.acf-input{margin-left:-12px;margin-right:-12px;margin-bottom:-15px}.acf-fields>.acf-field-group.acfe-field-group-layout-block.acfe-seamless-style.acfe-no-label:not([data-acfe-group-modal="1"])>.acf-input,.acf-fields>.acf-field-group.acfe-field-group-layout-row.acfe-seamless-style.acfe-no-label:not([data-acfe-group-modal="1"])>.acf-input{margin-top:-15px}.acf-fields>.acf-field-group.acfe-field-group-layout-block.acfe-seamless-style.acfe-no-label:not([data-acfe-group-modal="1"])>.acf-label>p.description,.acf-fields>.acf-field-group.acfe-field-group-layout-row.acfe-seamless-style.acfe-no-label:not([data-acfe-group-modal="1"])>.acf-label>p.description{margin-bottom:15px}.acf-fields>.acf-field-group.acfe-field-group-layout-row.acfe-seamless-style.acfe-no-label>.acf-input>.acf-fields{border-width:0}.acf-fields>.acf-field-group.acfe-field-group-layout-row.acfe-seamless-style>.acf-input>.acf-fields{border-left-width:0;border-right-width:0;border-bottom-width:0}.acf-fields>.acf-field-group.acfe-field-group-layout-block.acfe-seamless-style>.acf-input>.acf-fields,.acf-fields>.acf-field-group[data-acfe-group-modal="1"]>.acf-input>.acfe-modal>.acfe-modal-wrapper>.acfe-modal-content>.acf-fields,.acf-fields>.acf-field-group[data-acfe-group-modal="1"]>.acf-input>.acfe-modal>.acfe-modal-wrapper>.acfe-modal-content>.acf-table{border-width:0}.acf-fields>.acf-field-group[data-acfe-group-modal="1"]>.acf-input>.acf-fields,.acf-fields>.acf-field-group[data-acfe-group-modal="1"]>.acf-input>.acf-table{display:none}.acf-fields.-left>.acf-field-group.acfe-field-group-layout-row.acfe-seamless-style>.acf-input{margin:0}.acf-fields.-left>.acf-field-group.acfe-field-group-layout-row.acfe-seamless-style>.acf-input>.acf-fields{border-width:1px}.acf-fields.-left>.acf-field-group.acfe-field-group-layout-block.acfe-seamless-style:not([data-acfe-group-modal="1"])>.acf-input,.acf-fields.-left>.acf-field-group.acfe-field-group-layout-table.acfe-seamless-style:not([data-acfe-group-modal="1"])>.acf-input{padding:0 0 0 1px;margin:-15px 0}.acf-fields.-left>.acf-field-group.acfe-field-group-layout-block.acfe-seamless-style>.acf-input>.acf-fields,.acf-fields.-left>.acf-field-group.acfe-field-group-layout-block.acfe-seamless-style>.acf-input>.acf-table,.acf-fields.-left>.acf-field-group.acfe-field-group-layout-table.acfe-seamless-style>.acf-input>.acf-fields,.acf-fields.-left>.acf-field-group.acfe-field-group-layout-table.acfe-seamless-style>.acf-input>.acf-table{border-width:0}.acf-postbox.seamless>.acf-fields>.acf-field-group.acfe-field-group-layout-block.acfe-seamless-style>.acf-input,.acf-postbox.seamless>.acf-fields>.acf-field-group.acfe-field-group-layout-block.acfe-seamless-style>.acf-table,.acf-postbox.seamless>.acf-fields>.acf-field-group.acfe-field-group-layout-row.acfe-seamless-style>.acf-input,.acf-postbox.seamless>.acf-fields>.acf-field-group.acfe-field-group-layout-row.acfe-seamless-style>.acf-table,.acf-postbox.seamless>.acf-fields>.acf-field-group.acfe-field-group-layout-table.acfe-seamless-style>.acf-input,.acf-postbox.seamless>.acf-fields>.acf-field-group.acfe-field-group-layout-table.acfe-seamless-style>.acf-table{margin:0}.acf-postbox.seamless>.acf-fields>.acf-field-group.acfe-field-group-layout-block.acfe-seamless-style>.acf-input>.acf-fields,.acf-postbox.seamless>.acf-fields>.acf-field-group.acfe-field-group-layout-block.acfe-seamless-style>.acf-input>.acf-table,.acf-postbox.seamless>.acf-fields>.acf-field-group.acfe-field-group-layout-row.acfe-seamless-style>.acf-input>.acf-fields,.acf-postbox.seamless>.acf-fields>.acf-field-group.acfe-field-group-layout-row.acfe-seamless-style>.acf-input>.acf-table,.acf-postbox.seamless>.acf-fields>.acf-field-group.acfe-field-group-layout-table.acfe-seamless-style>.acf-input>.acf-fields,.acf-postbox.seamless>.acf-fields>.acf-field-group.acfe-field-group-layout-table.acfe-seamless-style>.acf-input>.acf-table{border-width:1px}.acf-postbox.seamless>.acf-fields.-left>.acf-field-group.acfe-field-group-layout-block.acfe-seamless-style>.acf-input,.acf-postbox.seamless>.acf-fields.-left>.acf-field-group.acfe-field-group-layout-row.acfe-seamless-style>.acf-input,.acf-postbox.seamless>.acf-fields.-left>.acf-field-group.acfe-field-group-layout-table.acfe-seamless-style>.acf-input{padding:0 12px}tr.acf-field.acf-field-group.acfe-seamless-style>td.acf-input>.acf-fields{border:0;margin:-15px -10px}tr.acf-field.acf-field-group.acfe-seamless-style.acfe-field-group-layout-table>td.acf-input{padding:0;margin:-15px 0}tr.acf-field.acf-field-group.acfe-seamless-style.acfe-field-group-layout-table>td.acf-input>.acf-table,tr.acf-field.acf-field-group[data-acfe-group-modal="1"]>.acf-input>.acfe-modal>.acfe-modal-wrapper>.acfe-modal-content>.acf-fields,tr.acf-field.acf-field-group[data-acfe-group-modal="1"]>.acf-input>.acfe-modal>.acfe-modal-wrapper>.acfe-modal-content>.acf-table{border-width:0}.acf-field-acfe-hidden{display:none}.acf-field-radio .acf-input .acf-radio-list.acf-bl li>strong,.acf-field-radio[data-acfe-labels] .acf-input .acf-radio-list.acf-hl li>strong{display:block}.acf-field-radio .acf-input .acf-radio-list.acf-bl li+li>strong{margin-top:15px}.acf-field-repeater[data-acfe-repeater-lock="1"]>.acf-input>.acf-repeater>.acf-table>tbody>.acf-row>.acf-row-handle{cursor:initial}.acf-repeater.-block>table,.acf-repeater.-row>table{border-collapse:separate;border-spacing:0 15px;background:0 0;border:0;margin-top:-15px;margin-bottom:-7px}.acf-repeater.-block>table>*,.acf-repeater.-row>table>*{border-collapse:collapse;border-spacing:0}.acf-repeater.-block>table>tbody>tr>td,.acf-repeater.-row>table>tbody>tr>td{border-top:1px solid #ccd0d4!important;border-bottom:1px solid #ccd0d4!important}.acf-repeater.-block>table>tbody>tr>td:first-of-type,.acf-repeater.-row>table>tbody>tr>td:first-of-type{border-left:1px solid #ccd0d4!important}.acf-repeater.-block>table>tbody>tr>td:last-of-type,.acf-repeater.-row>table>tbody>tr>td:last-of-type{border-right:1px solid #ccd0d4!important}body:not(.acf-admin-5-3) .acf-repeater.-block>table>tbody>tr>td,body:not(.acf-admin-5-3) .acf-repeater.-row>table>tbody>tr>td{border-top:1px solid #e1e1e1;border-bottom:1px solid #e1e1e1}body:not(.acf-admin-5-3) .acf-repeater.-block>table>tbody>tr>td:first-of-type,body:not(.acf-admin-5-3) .acf-repeater.-row>table>tbody>tr>td:first-of-type{border-left:1px solid #e1e1e1}body:not(.acf-admin-5-3) .acf-repeater.-block>table>tbody>tr>td:last-of-type,body:not(.acf-admin-5-3) .acf-repeater.-row>table>tbody>tr>td:last-of-type{border-right:1px solid #e1e1e1}.acf-repeater.-table.-empty>.acf-table{display:none}.acf-field-repeater>.acf-input>.acf-repeater>.acfe-repeater-stylised-button{padding:40px 20px;border:2px dashed #ccc;text-align:center}.acf-field-repeater>.acf-input>.acf-repeater>.acfe-repeater-stylised-button>.acf-actions{text-align:center;position:relative}.acf-field-repeater>.acf-input>.acf-repeater>.acfe-repeater-stylised-button>.acf-actions .acf-button{float:none}.acf-field-repeater>.acf-input>.acf-repeater>.acfe-repeater-stylised-button>.acf-actions .acf-tablenav{float:none;position:absolute;top:0;right:0}.acf-field-flexible-content>.acf-input>.acf-repeater .acf-actions .acf-button .dashicons{width:auto;height:auto;vertical-align:text-top}.acf-field-textarea[data-acfe-textarea-code="1"]>.acf-input>textarea{font-family:Menlo,Monaco,Consolas,"Courier New",monospace;font-size:1em}.acf-editor-wrap iframe{min-height:60px}.acf-editor-wrap .mce-top-part::before{-webkit-box-shadow:none;box-shadow:none}.acf-editor-wrap div.mce-statusbar{border:0}.acf-editor-wrap .mce-divider,.acf-editor-wrap .mce-path-item{color:#aaa}form.acfe-form.is-invalid[data-hide-error="1"]>.acf-error-message.-dismiss,form.acfe-form.is-valid[data-hide-revalidation="1"]>.acf-notice.-success{display:none}form.acfe-form.is-invalid[data-errors-position=below] .acf-field .acf-notice{margin:15px 0 0}.acf-media-modal .screen-reader-text,.acf-media-modal .screen-reader-text span,.acf-media-modal .ui-helper-hidden-accessible{border:0;clip:rect(1px,1px,1px,1px);-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;word-wrap:normal!important}.acfe-field-tooltip{float:right;font-size:15px;color:#999;height:16px;line-height:1.35}.acf-field[data-instruction-tooltip]:not([data-instruction-placement])>.acf-input>p.description,.acf-field[data-instruction-tooltip]:not([data-instruction-placement])>.acf-label>p.description{display:none}.acf-field .acf-input>p.description:first-child{margin-top:0;margin-bottom:5px}.acf-field p.description>.more,.acf-field[data-instruction-above-field]:not([data-instruction-placement])>.acf-label>p.description{display:none}.mce-toolbar .mce-btn-group:not(:first-child){margin-left:6px;padding-left:6px}
|
assets/css/acfe.css
CHANGED
@@ -481,11 +481,9 @@ body:not(.acf-admin-5-3) .acfe-modal.-open .acfe-modal-content .acfe-flex-contai
|
|
481 |
|
482 |
.acfe-modal.-open .acfe-modal-footer {
|
483 |
display: block;
|
484 |
-
height: 50px;
|
485 |
-
line-height: 50px;
|
486 |
color: #23282d;
|
487 |
background: #fcfcfc;
|
488 |
-
padding:
|
489 |
position: relative;
|
490 |
text-align: right;
|
491 |
border-top: 1px solid #ddd;
|
@@ -496,10 +494,6 @@ body:not(.acf-admin-5-3) .acfe-modal.-open .acfe-modal-content .acfe-flex-contai
|
|
496 |
pointer-events: none
|
497 |
}
|
498 |
|
499 |
-
.acfe-modal.-open .acfe-modal-footer>button {
|
500 |
-
vertical-align: baseline
|
501 |
-
}
|
502 |
-
|
503 |
body.block-editor-page .edit-post-layout .acfe-modal.-open {
|
504 |
-webkit-box-pack: start;
|
505 |
-ms-flex-pack: start;
|
481 |
|
482 |
.acfe-modal.-open .acfe-modal-footer {
|
483 |
display: block;
|
|
|
|
|
484 |
color: #23282d;
|
485 |
background: #fcfcfc;
|
486 |
+
padding: 10px 16px;
|
487 |
position: relative;
|
488 |
text-align: right;
|
489 |
border-top: 1px solid #ddd;
|
494 |
pointer-events: none
|
495 |
}
|
496 |
|
|
|
|
|
|
|
|
|
497 |
body.block-editor-page .edit-post-layout .acfe-modal.-open {
|
498 |
-webkit-box-pack: start;
|
499 |
-ms-flex-pack: start;
|
assets/css/acfe.min.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
body.acfe-modal-opened{overflow:hidden}.acfe-modal-overlay{background:rgba(0,0,0,.7);position:fixed;top:0;left:0;right:0;bottom:0;height:100%;width:100%;z-index:100000}.acfe-modal{display:none;-webkit-transition:.3s ease-in-out;-o-transition:.3s ease-in-out;transition:.3s ease-in-out}.acfe-modal.-open{position:fixed;z-index:100001;height:100%;width:100%;top:0;left:0;bottom:0;right:0;-webkit-font-smoothing:subpixel-antialiased;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;pointer-events:none}.acfe-modal .acfe-modal-spacer{padding:15px}.acfe-modal.-open>.acfe-modal-wrapper{-webkit-box-shadow:0 5px 15px rgba(0,0,0,.7);box-shadow:0 5px 15px rgba(0,0,0,.7);display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;width:calc(100vw - 60px);max-width:1100px;max-height:calc(100vh - 60px);position:relative}.acfe-modal.-open.acfe-modal-sub>.acfe-modal-wrapper>.acfe-modal-wrapper-overlay{position:absolute;z-index:10;background:rgba(0,0,0,.7);height:100%;width:100%;pointer-events:none}.acfe-modal.-open.-small>.acfe-modal-wrapper{max-width:450px}.acfe-modal.-open.-medium>.acfe-modal-wrapper{max-width:700px}.acfe-modal.-open.-large>.acfe-modal-wrapper{max-width:1100px}.acfe-modal.-open.-xlarge>.acfe-modal-wrapper{max-width:1400px}.acfe-modal.-open.-full>.acfe-modal-wrapper{max-width:100%;-webkit-box-flex:1;-ms-flex:1;flex:1}.acfe-modal.-open.-full>.acfe-modal-wrapper>.acfe-modal-content>.acf-fields.-left{height:100%}.acfe-modal.-open.-full>.acfe-modal-wrapper>.acfe-modal-content>.acf-fields.-left:before{content:"";display:block;position:absolute;z-index:0;background:#f9f9f9;border-color:#e1e1e1;border-style:solid;border-width:0 1px 0 0;top:0;bottom:0;left:0;width:20%}.acfe-modal.-settings.-open.-full>.acfe-modal-wrapper>.acfe-modal-content>.acf-fields,.acfe-modal.-settings.-open.-full>.acfe-modal-wrapper>.acfe-modal-content>.acf-fields>.acf-field-clone,.acfe-modal.-settings.-open.-full>.acfe-modal-wrapper>.acfe-modal-content>.acf-fields>.acf-field-clone>.acf-input,.acfe-modal.-settings.-open.-full>.acfe-modal-wrapper>.acfe-modal-content>.acf-fields>.acf-field-clone>.acf-input>.acf-clone-fields.acf-fields.-left{height:100%}.acfe-modal.-settings.-open.-full>.acfe-modal-wrapper>.acfe-modal-content>.acf-fields>.acf-field-clone{padding:0}.acfe-modal.-settings.-open.-full>.acfe-modal-wrapper>.acfe-modal-content>.acf-fields>.acf-field-clone>.acf-input{margin:0}.acfe-modal.-settings.-open.-full>.acfe-modal-wrapper>.acfe-modal-content>.acf-fields>.acf-field-clone>.acf-input>.acf-clone-fields.acf-fields.-left:before{content:"";display:block;position:absolute;z-index:0;background:#f9f9f9;border-color:#e1e1e1;border-style:solid;border-width:0 1px 0 0;top:0;bottom:0;left:0;width:20%}.acfe-modal.-open .acfe-modal-title *,.acfe-modal.-open>.acfe-modal-title{-webkit-box-sizing:border-box;box-sizing:border-box}.acfe-modal.-open .acfe-modal-title{display:block;height:50px;line-height:50px;font-size:22px;color:#23282d;border-bottom:1px solid #ddd;-o-text-overflow:ellipsis;text-overflow:ellipsis;background:#fcfcfc;padding:0 0 0 16px;position:relative;text-align:left;pointer-events:auto}.acfe-modal.-open.acfe-modal-sub>.acfe-modal-wrapper>.acfe-modal-title{pointer-events:none}.acfe-modal.-open .acfe-modal-title>span.title{line-height:50px;color:#23282d;font-weight:600}.acfe-modal.-open .acfe-modal-title>span.title .acf-fc-layout-order{width:30px;height:30px;border-radius:30px;display:inline-block;text-align:center;line-height:30px;margin:0 2px 0 0;background:#f1f1f1;font-size:14px;color:#666;vertical-align:2px}.acfe-modal.-open .acfe-modal-title>button.close{height:50px;width:50px;color:#666;border:0;border-left:0;margin:0;padding:0;border-radius:0;position:absolute;top:0;right:0;-webkit-transition:color .1s ease-in-out,background .1s ease-in-out;-o-transition:color .1s ease-in-out,background .1s ease-in-out;transition:color .1s ease-in-out,background .1s ease-in-out;background:0 0;cursor:pointer}.acfe-modal.-open .acfe-modal-title>button.close:hover{color:#00a0d2}.acfe-modal.-open .acfe-modal-title>button.close:before{height:50px;width:50px;line-height:50px!important;font:20px/1 dashicons;content:"\f158";margin:0;padding:0}.acfe-modal.-open .acfe-modal-content{height:100%;background:#fff;display:block;position:relative;pointer-events:auto;overflow:auto}.acfe-modal.-open.-iframe .acfe-modal-content{overflow:hidden}.acfe-modal.-open.acfe-modal-sub>.acfe-modal-wrapper>.acfe-modal-content{pointer-events:none}.acfe-modal.-open .acfe-modal-content .nav-tab-wrapper{padding:0;margin:0;border-bottom:1px solid #ddd}.acfe-modal.-open .acfe-modal-content .nav-tab-wrapper a{margin:0;border-left:0;border-top:0;border-bottom:0;background:#fff;-webkit-transition:color .1s ease-in-out,background .1s ease-in-out;-o-transition:color .1s ease-in-out,background .1s ease-in-out;transition:color .1s ease-in-out,background .1s ease-in-out;padding:7px 15px;border-color:#ddd}.acfe-modal.-open .acfe-modal-content .nav-tab-wrapper a span.dashicons-menu{line-height:27px}.acfe-modal.-open>.acfe-modal-content .nav-tab-wrapper a:hover{background:#f9f9f9;color:#23282d}.acfe-modal.-open .acfe-modal-content .nav-tab-wrapper a.nav-tab-active,.acfe-modal.-open .acfe-modal-content .nav-tab-wrapper a.nav-tab-active:hover{background:#fcfcfc;color:#23282d}.acfe-modal.-open .acfe-modal-content .nav-tab:focus,.acfe-modal.-open .acfe-modal-content .nav-tab:focus:active{border-bottom:0;-webkit-box-shadow:none;box-shadow:none;outline:0}.acfe-modal.-open .acfe-modal-content .acfe-flex-container,.acfe-modal.-open .acfe-modal-content .acfe-flex-container *{-webkit-box-sizing:border-box;box-sizing:border-box}.acfe-modal.-open .acfe-modal-content .acfe-flex-container{width:100%;padding:14px;margin-right:auto;margin-left:auto}.acfe-modal.-open .acfe-modal-content .acfe-flexible-categories~.acfe-flex-container{overflow:auto;height:calc(100% - 39px)}.acfe-modal.-open .acfe-modal-content .acfe-flex-container ul{margin:0 -7px;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.acfe-modal.-open>.acfe-modal-content .acfe-flex-container ul:after{content:"";clear:both;display:table}.acfe-modal.-open .acfe-modal-content .acfe-flex-container ul li{position:relative;width:100%;padding-right:7px;padding-left:7px;padding-bottom:14px;margin:0;-webkit-box-flex:0;-ms-flex:0 0 25%;flex:0 0 25%;max-width:25%}.acfe-modal.-open .acfe-modal-content .acfe-flex-container ul li a{border:1px solid #ddd;background:#f9f9f9;padding:15px;color:#333;display:block;text-decoration:none;height:100%}.acfe-modal.-open .acfe-modal-content .acfe-flex-container.acfe-flex-thumbnails ul li a{text-align:center}.acfe-modal.-open .acfe-modal-content .acfe-flex-container ul li a:hover{background:#007cba;color:#fff}body:not(.acf-admin-5-3) .acfe-modal.-open .acfe-modal-content .acfe-flex-container ul li a:hover{background:#0073aa}.acfe-modal.-open .acfe-modal-content .acfe-flex-container ul li a span{display:inline-block;font-size:16px;font-weight:600}.acfe-modal.-open .acfe-modal-content .acfe-flex-container ul li a span.badge.acf-js-tooltip{color:#999;font-weight:400;margin-left:2px;line-height:1.2;font-size:0;float:right}.acfe-modal.-open .acfe-modal-content .acfe-flex-container ul li a span.badge.acf-js-tooltip::before{font-size:16px}.acfe-modal.-open .acfe-modal-content .acfe-flex-container ul li a:hover span.badge.acf-js-tooltip{color:#fff}.acfe-modal.-open .acfe-modal-content .acfe-flex-container ul li a.disabled{pointer-events:none;opacity:.67}.acfe-modal.-open .acfe-modal-content .acfe-flex-container ul li a.disabled:hover{cursor:default}.acfe-modal.-open .acfe-modal-content .acfe-flex-container ul li a.disabled:focus{-webkit-box-shadow:none;box-shadow:none;outline:0}.acfe-modal.-open .acfe-modal-content .acfe-flex-container.acfe-col-1 ul li{-webkit-box-flex:0;-ms-flex:0 0 100%;flex:0 0 100%;max-width:100%}.acfe-modal.-open .acfe-modal-content .acfe-flex-container.acfe-col-2 ul li{-webkit-box-flex:0;-ms-flex:0 0 50%;flex:0 0 50%;max-width:50%}.acfe-modal.-open .acfe-modal-content .acfe-flex-container.acfe-col-3 ul li{-webkit-box-flex:0;-ms-flex:0 0 33.333333%;flex:0 0 33.333333%;max-width:33.333333%}.acfe-modal.-open .acfe-modal-content .acfe-flex-container.acfe-col-4 ul li{-webkit-box-flex:0;-ms-flex:0 0 25%;flex:0 0 25%;max-width:25%}.acfe-modal.-open .acfe-modal-content .acfe-flex-container.acfe-col-5 ul li{-webkit-box-flex:0;-ms-flex:0 0 20%;flex:0 0 20%;max-width:20%}.acfe-modal.-open .acfe-modal-content .acfe-flex-container.acfe-col-6 ul li{-webkit-box-flex:0;-ms-flex:0 0 16.66%;flex:0 0 16.66%;max-width:16.66%}@media only screen and (max-width:960px){.acfe-modal.-open .acfe-modal-content .acfe-flex-container ul li{-webkit-box-flex:0!important;-ms-flex:0 0 50%!important;flex:0 0 50%!important;max-width:50%!important}.acfe-modal.-open .acfe-modal-content .acfe-flex-container.acfe-col-1 ul li{-webkit-box-flex:0!important;-ms-flex:0 0 100%!important;flex:0 0 100%!important;max-width:100%!important}.acfe-modal.-open .acfe-modal-content ul li a{padding:7px}}@media only screen and (max-width:720px){.acfe-modal.-open .acfe-modal-content .acfe-flex-container ul li,.acfe-modal.-open .acfe-modal-content .acfe-flex-container.acfe-col-1 ul li{-webkit-box-flex:0!important;-ms-flex:0 0 100%!important;flex:0 0 100%!important;max-width:100%!important}}.acfe-modal.-open .acfe-modal-footer,.acfe-modal.-open .acfe-modal-footer *{-webkit-box-sizing:border-box;box-sizing:border-box}.acfe-modal.-open .acfe-modal-footer{display:block;height:50px;line-height:50px;color:#23282d;background:#fcfcfc;padding:0 16px;position:relative;text-align:right;border-top:1px solid #ddd;pointer-events:auto}.acfe-modal.-open.acfe-modal-sub>.acfe-modal-wrapper>.acfe-modal-footer{pointer-events:none}.acfe-modal.-open .acfe-modal-footer>button{vertical-align:baseline}body.block-editor-page .edit-post-layout .acfe-modal.-open{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:start;-webkit-box-align:start;-ms-flex-align:start;align-items:start;background:rgba(0,0,0,.7)}body.block-editor-page .edit-post-layout .acfe-modal.-open>.acfe-modal-wrapper{height:100%;width:100%;max-height:calc(100vh - 70px);max-width:calc(100vw - 340px);margin-top:103px;margin-left:170px;max-height:calc(100vh - 139px);max-width:calc(100vw - 181px)}body.block-editor-page .edit-post-layout .acfe-modal.-open>.acfe-modal-wrapper>.acfe-modal-content>.acf-fields.-left{height:100%}body.block-editor-page .edit-post-layout .acfe-modal.-open>.acfe-modal-wrapper>.acfe-modal-content>.acf-fields.-left:before{content:"";display:block;position:absolute;z-index:0;background:#f9f9f9;border-color:#e1e1e1;border-style:solid;border-width:0 1px 0 0;top:0;bottom:0;left:0;width:20%}body.block-editor-page .acfe-modal-overlay{display:none}body.block-editor-page .acfe-modal.-open.acfe-modal-sub,body.block-editor-page .acfe-modal.-open.acfe-modal-sub>.acfe-modal-wrapper>.acfe-modal-wrapper-overlay{background:0 0}body.block-editor-page.folded .edit-post-layout .acfe-modal.-open>.acfe-modal-wrapper{margin-top:103px;margin-left:46px;max-height:calc(100vh - 139px);max-width:calc(100vw - 57px)}body.block-editor-page.is-fullscreen-mode .edit-post-layout .acfe-modal.-open>.acfe-modal-wrapper{margin-top:69px;margin-left:9px;max-height:calc(100vh - 104px);max-width:calc(100vw - 18px)}body.block-editor-page .edit-post-layout.is-sidebar-opened .acfe-modal.-open>.acfe-modal-wrapper{max-width:calc(100vw - 461px)}body.block-editor-page.folded .edit-post-layout.is-sidebar-opened .acfe-modal.-open>.acfe-modal-wrapper{max-width:calc(100vw - 337px)}body.block-editor-page.is-fullscreen-mode .edit-post-layout.is-sidebar-opened .acfe-modal.-open>.acfe-modal-wrapper{max-width:calc(100vw - 298px)}@media only screen and (max-width:960px){body.block-editor-page .edit-post-layout .acfe-modal.-open>.acfe-modal-wrapper{margin-top:103px;margin-left:170px;max-height:calc(100vh - 139px);max-width:calc(100vw - 181px)}body.block-editor-page .edit-post-layout.is-sidebar-opened .acfe-modal.-open>.acfe-modal-wrapper{max-width:calc(100vw - 461px)}body.block-editor-page.auto-fold .edit-post-layout .acfe-modal.-open>.acfe-modal-wrapper{margin-top:103px;margin-left:46px;max-height:calc(100vh - 139px);max-width:calc(100vw - 57px)}body.block-editor-page.auto-fold .edit-post-layout.is-sidebar-opened .acfe-modal.-open>.acfe-modal-wrapper{max-width:calc(100vw - 337px)}}@media only screen and (max-width:782px){body.block-editor-page .edit-post-layout .acfe-modal.-open>.acfe-modal-wrapper{max-width:calc(100vw - 20px)!important;margin-left:10px!important;max-height:calc(100vh - 127px)!important;margin-top:117px!important}}body.wp-admin.upload-php.acfe-modal-opened>div:not([style*="display: none;"])>.media-modal.wp-core-ui:not(.acf-media-modal):before{content:"";display:block;position:absolute;background:rgba(0,0,0,.7);top:0;left:0;width:100%;height:100%;z-index:10000}.pac-container{z-index:100001}#side-sortables .acf-fields.-left .acfe-modal .acf-fields.-left>.acf-field::before{display:block}#side-sortables .acf-fields.-left .acfe-modal .acf-fields.-left>.acf-field>.acf-label{width:20%;margin:0}#side-sortables .acf-fields.-left .acfe-modal .acf-fields.-left>.acf-field>.acf-input{width:80%}.block-editor .edit-post-sidebar .acfe-modal .acf-fields>.acf-field .acf-label label{font-weight:600}.block-editor .edit-post-sidebar .acfe-modal .acf-fields.-left>.acf-field{margin:0;padding:15px 0;border-width:1px;border-color:#eee}.block-editor .edit-post-sidebar .acfe-modal .acf-fields.-left>.acf-field::before{border-width:0;background:0 0}body.acfe-modal-opened .edit-post-sidebar__panel-tabs{visibility:hidden}
|
1 |
+
body.acfe-modal-opened{overflow:hidden}.acfe-modal-overlay{background:rgba(0,0,0,.7);position:fixed;top:0;left:0;right:0;bottom:0;height:100%;width:100%;z-index:100000}.acfe-modal{display:none;-webkit-transition:.3s ease-in-out;-o-transition:.3s ease-in-out;transition:.3s ease-in-out}.acfe-modal.-open{position:fixed;z-index:100001;height:100%;width:100%;top:0;left:0;bottom:0;right:0;-webkit-font-smoothing:subpixel-antialiased;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;pointer-events:none}.acfe-modal .acfe-modal-spacer{padding:15px}.acfe-modal.-open>.acfe-modal-wrapper{-webkit-box-shadow:0 5px 15px rgba(0,0,0,.7);box-shadow:0 5px 15px rgba(0,0,0,.7);display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;width:calc(100vw - 60px);max-width:1100px;max-height:calc(100vh - 60px);position:relative}.acfe-modal.-open.acfe-modal-sub>.acfe-modal-wrapper>.acfe-modal-wrapper-overlay{position:absolute;z-index:10;background:rgba(0,0,0,.7);height:100%;width:100%;pointer-events:none}.acfe-modal.-open.-small>.acfe-modal-wrapper{max-width:450px}.acfe-modal.-open.-medium>.acfe-modal-wrapper{max-width:700px}.acfe-modal.-open.-large>.acfe-modal-wrapper{max-width:1100px}.acfe-modal.-open.-xlarge>.acfe-modal-wrapper{max-width:1400px}.acfe-modal.-open.-full>.acfe-modal-wrapper{max-width:100%;-webkit-box-flex:1;-ms-flex:1;flex:1}.acfe-modal.-open.-full>.acfe-modal-wrapper>.acfe-modal-content>.acf-fields.-left{height:100%}.acfe-modal.-open.-full>.acfe-modal-wrapper>.acfe-modal-content>.acf-fields.-left:before{content:"";display:block;position:absolute;z-index:0;background:#f9f9f9;border-color:#e1e1e1;border-style:solid;border-width:0 1px 0 0;top:0;bottom:0;left:0;width:20%}.acfe-modal.-settings.-open.-full>.acfe-modal-wrapper>.acfe-modal-content>.acf-fields,.acfe-modal.-settings.-open.-full>.acfe-modal-wrapper>.acfe-modal-content>.acf-fields>.acf-field-clone,.acfe-modal.-settings.-open.-full>.acfe-modal-wrapper>.acfe-modal-content>.acf-fields>.acf-field-clone>.acf-input,.acfe-modal.-settings.-open.-full>.acfe-modal-wrapper>.acfe-modal-content>.acf-fields>.acf-field-clone>.acf-input>.acf-clone-fields.acf-fields.-left{height:100%}.acfe-modal.-settings.-open.-full>.acfe-modal-wrapper>.acfe-modal-content>.acf-fields>.acf-field-clone{padding:0}.acfe-modal.-settings.-open.-full>.acfe-modal-wrapper>.acfe-modal-content>.acf-fields>.acf-field-clone>.acf-input{margin:0}.acfe-modal.-settings.-open.-full>.acfe-modal-wrapper>.acfe-modal-content>.acf-fields>.acf-field-clone>.acf-input>.acf-clone-fields.acf-fields.-left:before{content:"";display:block;position:absolute;z-index:0;background:#f9f9f9;border-color:#e1e1e1;border-style:solid;border-width:0 1px 0 0;top:0;bottom:0;left:0;width:20%}.acfe-modal.-open .acfe-modal-title *,.acfe-modal.-open>.acfe-modal-title{-webkit-box-sizing:border-box;box-sizing:border-box}.acfe-modal.-open .acfe-modal-title{display:block;height:50px;line-height:50px;font-size:22px;color:#23282d;border-bottom:1px solid #ddd;-o-text-overflow:ellipsis;text-overflow:ellipsis;background:#fcfcfc;padding:0 0 0 16px;position:relative;text-align:left;pointer-events:auto}.acfe-modal.-open.acfe-modal-sub>.acfe-modal-wrapper>.acfe-modal-title{pointer-events:none}.acfe-modal.-open .acfe-modal-title>span.title{line-height:50px;color:#23282d;font-weight:600}.acfe-modal.-open .acfe-modal-title>span.title .acf-fc-layout-order{width:30px;height:30px;border-radius:30px;display:inline-block;text-align:center;line-height:30px;margin:0 2px 0 0;background:#f1f1f1;font-size:14px;color:#666;vertical-align:2px}.acfe-modal.-open .acfe-modal-title>button.close{height:50px;width:50px;color:#666;border:0;border-left:0;margin:0;padding:0;border-radius:0;position:absolute;top:0;right:0;-webkit-transition:color .1s ease-in-out,background .1s ease-in-out;-o-transition:color .1s ease-in-out,background .1s ease-in-out;transition:color .1s ease-in-out,background .1s ease-in-out;background:0 0;cursor:pointer}.acfe-modal.-open .acfe-modal-title>button.close:hover{color:#00a0d2}.acfe-modal.-open .acfe-modal-title>button.close:before{height:50px;width:50px;line-height:50px!important;font:20px/1 dashicons;content:"\f158";margin:0;padding:0}.acfe-modal.-open .acfe-modal-content{height:100%;background:#fff;display:block;position:relative;pointer-events:auto;overflow:auto}.acfe-modal.-open.-iframe .acfe-modal-content{overflow:hidden}.acfe-modal.-open.acfe-modal-sub>.acfe-modal-wrapper>.acfe-modal-content{pointer-events:none}.acfe-modal.-open .acfe-modal-content .nav-tab-wrapper{padding:0;margin:0;border-bottom:1px solid #ddd}.acfe-modal.-open .acfe-modal-content .nav-tab-wrapper a{margin:0;border-left:0;border-top:0;border-bottom:0;background:#fff;-webkit-transition:color .1s ease-in-out,background .1s ease-in-out;-o-transition:color .1s ease-in-out,background .1s ease-in-out;transition:color .1s ease-in-out,background .1s ease-in-out;padding:7px 15px;border-color:#ddd}.acfe-modal.-open .acfe-modal-content .nav-tab-wrapper a span.dashicons-menu{line-height:27px}.acfe-modal.-open>.acfe-modal-content .nav-tab-wrapper a:hover{background:#f9f9f9;color:#23282d}.acfe-modal.-open .acfe-modal-content .nav-tab-wrapper a.nav-tab-active,.acfe-modal.-open .acfe-modal-content .nav-tab-wrapper a.nav-tab-active:hover{background:#fcfcfc;color:#23282d}.acfe-modal.-open .acfe-modal-content .nav-tab:focus,.acfe-modal.-open .acfe-modal-content .nav-tab:focus:active{border-bottom:0;-webkit-box-shadow:none;box-shadow:none;outline:0}.acfe-modal.-open .acfe-modal-content .acfe-flex-container,.acfe-modal.-open .acfe-modal-content .acfe-flex-container *{-webkit-box-sizing:border-box;box-sizing:border-box}.acfe-modal.-open .acfe-modal-content .acfe-flex-container{width:100%;padding:14px;margin-right:auto;margin-left:auto}.acfe-modal.-open .acfe-modal-content .acfe-flexible-categories~.acfe-flex-container{overflow:auto;height:calc(100% - 39px)}.acfe-modal.-open .acfe-modal-content .acfe-flex-container ul{margin:0 -7px;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.acfe-modal.-open>.acfe-modal-content .acfe-flex-container ul:after{content:"";clear:both;display:table}.acfe-modal.-open .acfe-modal-content .acfe-flex-container ul li{position:relative;width:100%;padding-right:7px;padding-left:7px;padding-bottom:14px;margin:0;-webkit-box-flex:0;-ms-flex:0 0 25%;flex:0 0 25%;max-width:25%}.acfe-modal.-open .acfe-modal-content .acfe-flex-container ul li a{border:1px solid #ddd;background:#f9f9f9;padding:15px;color:#333;display:block;text-decoration:none;height:100%}.acfe-modal.-open .acfe-modal-content .acfe-flex-container.acfe-flex-thumbnails ul li a{text-align:center}.acfe-modal.-open .acfe-modal-content .acfe-flex-container ul li a:hover{background:#007cba;color:#fff}body:not(.acf-admin-5-3) .acfe-modal.-open .acfe-modal-content .acfe-flex-container ul li a:hover{background:#0073aa}.acfe-modal.-open .acfe-modal-content .acfe-flex-container ul li a span{display:inline-block;font-size:16px;font-weight:600}.acfe-modal.-open .acfe-modal-content .acfe-flex-container ul li a span.badge.acf-js-tooltip{color:#999;font-weight:400;margin-left:2px;line-height:1.2;font-size:0;float:right}.acfe-modal.-open .acfe-modal-content .acfe-flex-container ul li a span.badge.acf-js-tooltip::before{font-size:16px}.acfe-modal.-open .acfe-modal-content .acfe-flex-container ul li a:hover span.badge.acf-js-tooltip{color:#fff}.acfe-modal.-open .acfe-modal-content .acfe-flex-container ul li a.disabled{pointer-events:none;opacity:.67}.acfe-modal.-open .acfe-modal-content .acfe-flex-container ul li a.disabled:hover{cursor:default}.acfe-modal.-open .acfe-modal-content .acfe-flex-container ul li a.disabled:focus{-webkit-box-shadow:none;box-shadow:none;outline:0}.acfe-modal.-open .acfe-modal-content .acfe-flex-container.acfe-col-1 ul li{-webkit-box-flex:0;-ms-flex:0 0 100%;flex:0 0 100%;max-width:100%}.acfe-modal.-open .acfe-modal-content .acfe-flex-container.acfe-col-2 ul li{-webkit-box-flex:0;-ms-flex:0 0 50%;flex:0 0 50%;max-width:50%}.acfe-modal.-open .acfe-modal-content .acfe-flex-container.acfe-col-3 ul li{-webkit-box-flex:0;-ms-flex:0 0 33.333333%;flex:0 0 33.333333%;max-width:33.333333%}.acfe-modal.-open .acfe-modal-content .acfe-flex-container.acfe-col-4 ul li{-webkit-box-flex:0;-ms-flex:0 0 25%;flex:0 0 25%;max-width:25%}.acfe-modal.-open .acfe-modal-content .acfe-flex-container.acfe-col-5 ul li{-webkit-box-flex:0;-ms-flex:0 0 20%;flex:0 0 20%;max-width:20%}.acfe-modal.-open .acfe-modal-content .acfe-flex-container.acfe-col-6 ul li{-webkit-box-flex:0;-ms-flex:0 0 16.66%;flex:0 0 16.66%;max-width:16.66%}@media only screen and (max-width:960px){.acfe-modal.-open .acfe-modal-content .acfe-flex-container ul li{-webkit-box-flex:0!important;-ms-flex:0 0 50%!important;flex:0 0 50%!important;max-width:50%!important}.acfe-modal.-open .acfe-modal-content .acfe-flex-container.acfe-col-1 ul li{-webkit-box-flex:0!important;-ms-flex:0 0 100%!important;flex:0 0 100%!important;max-width:100%!important}.acfe-modal.-open .acfe-modal-content ul li a{padding:7px}}@media only screen and (max-width:720px){.acfe-modal.-open .acfe-modal-content .acfe-flex-container ul li,.acfe-modal.-open .acfe-modal-content .acfe-flex-container.acfe-col-1 ul li{-webkit-box-flex:0!important;-ms-flex:0 0 100%!important;flex:0 0 100%!important;max-width:100%!important}}.acfe-modal.-open .acfe-modal-footer,.acfe-modal.-open .acfe-modal-footer *{-webkit-box-sizing:border-box;box-sizing:border-box}.acfe-modal.-open .acfe-modal-footer{display:block;color:#23282d;background:#fcfcfc;padding:10px 16px;position:relative;text-align:right;border-top:1px solid #ddd;pointer-events:auto}.acfe-modal.-open.acfe-modal-sub>.acfe-modal-wrapper>.acfe-modal-footer{pointer-events:none}body.block-editor-page .edit-post-layout .acfe-modal.-open{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:start;-webkit-box-align:start;-ms-flex-align:start;align-items:start;background:rgba(0,0,0,.7)}body.block-editor-page .edit-post-layout .acfe-modal.-open>.acfe-modal-wrapper{height:100%;width:100%;max-height:calc(100vh - 70px);max-width:calc(100vw - 340px);margin-top:103px;margin-left:170px;max-height:calc(100vh - 139px);max-width:calc(100vw - 181px)}body.block-editor-page .edit-post-layout .acfe-modal.-open>.acfe-modal-wrapper>.acfe-modal-content>.acf-fields.-left{height:100%}body.block-editor-page .edit-post-layout .acfe-modal.-open>.acfe-modal-wrapper>.acfe-modal-content>.acf-fields.-left:before{content:"";display:block;position:absolute;z-index:0;background:#f9f9f9;border-color:#e1e1e1;border-style:solid;border-width:0 1px 0 0;top:0;bottom:0;left:0;width:20%}body.block-editor-page .acfe-modal-overlay{display:none}body.block-editor-page .acfe-modal.-open.acfe-modal-sub,body.block-editor-page .acfe-modal.-open.acfe-modal-sub>.acfe-modal-wrapper>.acfe-modal-wrapper-overlay{background:0 0}body.block-editor-page.folded .edit-post-layout .acfe-modal.-open>.acfe-modal-wrapper{margin-top:103px;margin-left:46px;max-height:calc(100vh - 139px);max-width:calc(100vw - 57px)}body.block-editor-page.is-fullscreen-mode .edit-post-layout .acfe-modal.-open>.acfe-modal-wrapper{margin-top:69px;margin-left:9px;max-height:calc(100vh - 104px);max-width:calc(100vw - 18px)}body.block-editor-page .edit-post-layout.is-sidebar-opened .acfe-modal.-open>.acfe-modal-wrapper{max-width:calc(100vw - 461px)}body.block-editor-page.folded .edit-post-layout.is-sidebar-opened .acfe-modal.-open>.acfe-modal-wrapper{max-width:calc(100vw - 337px)}body.block-editor-page.is-fullscreen-mode .edit-post-layout.is-sidebar-opened .acfe-modal.-open>.acfe-modal-wrapper{max-width:calc(100vw - 298px)}@media only screen and (max-width:960px){body.block-editor-page .edit-post-layout .acfe-modal.-open>.acfe-modal-wrapper{margin-top:103px;margin-left:170px;max-height:calc(100vh - 139px);max-width:calc(100vw - 181px)}body.block-editor-page .edit-post-layout.is-sidebar-opened .acfe-modal.-open>.acfe-modal-wrapper{max-width:calc(100vw - 461px)}body.block-editor-page.auto-fold .edit-post-layout .acfe-modal.-open>.acfe-modal-wrapper{margin-top:103px;margin-left:46px;max-height:calc(100vh - 139px);max-width:calc(100vw - 57px)}body.block-editor-page.auto-fold .edit-post-layout.is-sidebar-opened .acfe-modal.-open>.acfe-modal-wrapper{max-width:calc(100vw - 337px)}}@media only screen and (max-width:782px){body.block-editor-page .edit-post-layout .acfe-modal.-open>.acfe-modal-wrapper{max-width:calc(100vw - 20px)!important;margin-left:10px!important;max-height:calc(100vh - 127px)!important;margin-top:117px!important}}body.wp-admin.upload-php.acfe-modal-opened>div:not([style*="display: none;"])>.media-modal.wp-core-ui:not(.acf-media-modal):before{content:"";display:block;position:absolute;background:rgba(0,0,0,.7);top:0;left:0;width:100%;height:100%;z-index:10000}.pac-container{z-index:100001}#side-sortables .acf-fields.-left .acfe-modal .acf-fields.-left>.acf-field::before{display:block}#side-sortables .acf-fields.-left .acfe-modal .acf-fields.-left>.acf-field>.acf-label{width:20%;margin:0}#side-sortables .acf-fields.-left .acfe-modal .acf-fields.-left>.acf-field>.acf-input{width:80%}.block-editor .edit-post-sidebar .acfe-modal .acf-fields>.acf-field .acf-label label{font-weight:600}.block-editor .edit-post-sidebar .acfe-modal .acf-fields.-left>.acf-field{margin:0;padding:15px 0;border-width:1px;border-color:#eee}.block-editor .edit-post-sidebar .acfe-modal .acf-fields.-left>.acf-field::before{border-width:0;background:0 0}body.acfe-modal-opened .edit-post-sidebar__panel-tabs{visibility:hidden}
|
assets/js/acfe-admin.js
CHANGED
@@ -20,90 +20,73 @@
|
|
20 |
return;
|
21 |
}
|
22 |
|
23 |
-
/**
|
24 |
-
* Dev Mode
|
25 |
-
*/
|
26 |
new acf.Model({
|
27 |
|
28 |
wait: 'prepare',
|
29 |
|
30 |
events: {
|
31 |
-
'click .
|
32 |
-
'click
|
33 |
-
'
|
|
|
34 |
},
|
35 |
|
36 |
-
$
|
37 |
return $('#acfe-acf-custom-fields');
|
38 |
},
|
39 |
|
40 |
-
$
|
41 |
return $('#acfe-wp-custom-fields');
|
42 |
},
|
43 |
|
44 |
-
|
45 |
-
return $('
|
|
|
|
|
|
|
|
|
46 |
},
|
47 |
|
48 |
-
|
49 |
-
|
50 |
},
|
51 |
|
52 |
-
|
53 |
-
|
54 |
},
|
55 |
|
56 |
initialize: function() {
|
57 |
|
58 |
-
|
59 |
-
var $wpWrap = this.$wpWrap();
|
60 |
-
var $bulkActions = this.$bulkActions();
|
61 |
|
62 |
-
|
63 |
-
|
64 |
-
return;
|
65 |
}
|
66 |
|
67 |
-
|
68 |
-
$acfWrap.find('.tablenav.bottom').insertAfter($acfWrap);
|
69 |
-
$wpWrap.find('.tablenav.bottom').insertAfter($wpWrap);
|
70 |
-
|
71 |
-
if (!$acfWrap.is(':visible') && !$wpWrap.is(':visible')) {
|
72 |
-
$bulkActions.hide();
|
73 |
-
}
|
74 |
|
75 |
},
|
76 |
|
77 |
-
|
78 |
|
79 |
-
|
80 |
-
|
81 |
-
var acfCount = self.acfCount();
|
82 |
-
var wpCount = self.wpCount();
|
83 |
-
|
84 |
-
var $acfWrap = self.$acfWrap();
|
85 |
-
var $wpWrap = self.$wpWrap();
|
86 |
-
|
87 |
-
var $bulkActions = self.$bulkActions();
|
88 |
|
89 |
-
|
90 |
-
|
91 |
-
|
92 |
-
if (!acfCount) {
|
93 |
-
$acfWrap.remove();
|
94 |
}
|
95 |
|
96 |
-
if (!
|
97 |
-
|
98 |
}
|
99 |
|
100 |
-
if (!
|
101 |
-
|
102 |
}
|
103 |
|
104 |
},
|
105 |
|
106 |
-
|
107 |
|
108 |
e.preventDefault();
|
109 |
|
@@ -114,10 +97,10 @@
|
|
114 |
url: acf.get('ajaxurl'),
|
115 |
type: 'post',
|
116 |
data: {
|
117 |
-
action: 'acfe/
|
118 |
id: $el.attr('data-meta-id'),
|
119 |
key: $el.attr('data-meta-key'),
|
120 |
-
type: $el.attr('data-type'),
|
121 |
_wpnonce: $el.attr('data-nonce'),
|
122 |
},
|
123 |
beforeSend: function() {
|
@@ -126,7 +109,7 @@
|
|
126 |
backgroundColor: '#faafaa'
|
127 |
}).fadeOut(350, function() {
|
128 |
$tr.remove();
|
129 |
-
self.
|
130 |
});
|
131 |
|
132 |
},
|
@@ -144,81 +127,69 @@
|
|
144 |
|
145 |
},
|
146 |
|
147 |
-
|
148 |
|
149 |
e.preventDefault();
|
150 |
|
151 |
var self = this;
|
152 |
-
var action = $el.prevAll('.
|
153 |
-
var type = $el.prevAll('.
|
154 |
-
var nonce = $el.prevAll('.
|
|
|
|
|
|
|
|
|
155 |
|
156 |
-
|
|
|
157 |
|
158 |
-
|
159 |
-
|
|
|
|
|
160 |
|
161 |
-
|
162 |
-
|
163 |
-
|
164 |
-
});
|
165 |
|
166 |
-
|
167 |
-
|
168 |
-
|
169 |
-
|
170 |
-
|
171 |
-
|
172 |
-
|
173 |
-
|
174 |
-
|
175 |
-
|
176 |
-
},
|
177 |
-
beforeSend: function() {
|
178 |
-
|
179 |
-
trs.map(function(tr) {
|
180 |
-
$(tr).css({
|
181 |
-
backgroundColor: '#faafaa'
|
182 |
-
}).fadeOut(350, function() {
|
183 |
-
$(tr).remove();
|
184 |
-
self.sync();
|
185 |
-
});
|
186 |
-
});
|
187 |
|
188 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
189 |
});
|
190 |
|
191 |
}
|
192 |
-
|
193 |
-
}
|
194 |
|
195 |
},
|
196 |
|
197 |
-
|
198 |
|
199 |
var val = $el.val();
|
200 |
|
201 |
-
if (!acfe.inArray(val, ['acfe-wp-custom-fields', 'acfe-acf-custom-fields'])) {
|
202 |
-
return;
|
203 |
-
}
|
204 |
-
|
205 |
-
var $acfWrap = this.$acfWrap();
|
206 |
-
var $wpWrap = this.$wpWrap();
|
207 |
-
var $bulkActions = this.$bulkActions();
|
208 |
-
|
209 |
if ($el.prop('checked')) {
|
|
|
210 |
|
211 |
-
|
212 |
-
|
213 |
-
}
|
214 |
-
|
215 |
-
} else if ((val === 'acfe-wp-custom-fields' && !$acfWrap.is(':visible')) || (val === 'acfe-acf-custom-fields' && !$wpWrap.is(':visible'))) {
|
216 |
-
|
217 |
-
$bulkActions.hide();
|
218 |
|
219 |
}
|
220 |
|
221 |
-
}
|
222 |
|
223 |
});
|
224 |
|
@@ -366,10 +337,11 @@
|
|
366 |
})(jQuery);
|
367 |
(function($) {
|
368 |
|
369 |
-
if (typeof acf === 'undefined')
|
370 |
return;
|
|
|
371 |
|
372 |
-
|
373 |
* ACFE Form
|
374 |
*/
|
375 |
new acf.Model({
|
@@ -414,7 +386,8 @@
|
|
414 |
},
|
415 |
|
416 |
filters: {
|
417 |
-
'
|
|
|
418 |
},
|
419 |
|
420 |
actionsButton: function(field) {
|
@@ -455,35 +428,13 @@
|
|
455 |
|
456 |
},
|
457 |
|
458 |
-
|
459 |
|
460 |
if (field.get('acfeAllowCustom')) {
|
461 |
-
|
462 |
-
var self = this;
|
463 |
-
|
464 |
-
options.templateSelection = function(state) {
|
465 |
-
|
466 |
-
if (!state.id) {
|
467 |
-
return state.text;
|
468 |
-
}
|
469 |
-
|
470 |
-
return self.replaceCode(state.text);
|
471 |
-
|
472 |
-
};
|
473 |
-
|
474 |
-
options.templateResult = function(state) {
|
475 |
-
|
476 |
-
if (!state.id) {
|
477 |
-
return state.text;
|
478 |
-
}
|
479 |
-
|
480 |
-
return self.replaceCode(state.text);
|
481 |
-
|
482 |
-
};
|
483 |
-
|
484 |
}
|
485 |
|
486 |
-
return
|
487 |
|
488 |
},
|
489 |
|
20 |
return;
|
21 |
}
|
22 |
|
|
|
|
|
|
|
23 |
new acf.Model({
|
24 |
|
25 |
wait: 'prepare',
|
26 |
|
27 |
events: {
|
28 |
+
'click .acfe-dev-delete-meta': 'onDeleteSingle',
|
29 |
+
'click .acfe-dev-bulk [type="submit"]': 'onDeleteBulk',
|
30 |
+
'change #acfe-wp-custom-fields-hide': 'onCheckPostbox',
|
31 |
+
'change #acfe-acf-custom-fields-hide': 'onCheckPostbox',
|
32 |
},
|
33 |
|
34 |
+
$acf: function() {
|
35 |
return $('#acfe-acf-custom-fields');
|
36 |
},
|
37 |
|
38 |
+
$wp: function() {
|
39 |
return $('#acfe-wp-custom-fields');
|
40 |
},
|
41 |
|
42 |
+
$bulk: function() {
|
43 |
+
return $('.acfe-dev-bulk');
|
44 |
+
},
|
45 |
+
|
46 |
+
count: function(metabox) {
|
47 |
+
return this['$' + metabox]().find('tbody tr').length;
|
48 |
},
|
49 |
|
50 |
+
hideBulk: function() {
|
51 |
+
this.$bulk().hide();
|
52 |
},
|
53 |
|
54 |
+
showBulk: function() {
|
55 |
+
this.$bulk().show();
|
56 |
},
|
57 |
|
58 |
initialize: function() {
|
59 |
|
60 |
+
this.$bulk().insertAfter(this.$bulk().closest('.postbox'));
|
|
|
|
|
61 |
|
62 |
+
if (!this.$acf().is(':visible') && !this.$wp().is(':visible')) {
|
63 |
+
this.hideBulk();
|
|
|
64 |
}
|
65 |
|
66 |
+
$('.metabox-prefs .acfe-dev-meta-count').remove();
|
|
|
|
|
|
|
|
|
|
|
|
|
67 |
|
68 |
},
|
69 |
|
70 |
+
syncMetaboxes: function() {
|
71 |
|
72 |
+
this.$acf().find('.acfe-dev-meta-count').text(this.count('acf'));
|
73 |
+
this.$wp().find('.acfe-dev-meta-count').text(this.count('wp'));
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
74 |
|
75 |
+
if (!this.count('acf')) {
|
76 |
+
this.$acf().remove();
|
|
|
|
|
|
|
77 |
}
|
78 |
|
79 |
+
if (!this.count('wp')) {
|
80 |
+
this.$wp().remove();
|
81 |
}
|
82 |
|
83 |
+
if (!this.count('acf') && !this.count('wp')) {
|
84 |
+
this.hideBulk();
|
85 |
}
|
86 |
|
87 |
},
|
88 |
|
89 |
+
onDeleteSingle: function(e, $el) {
|
90 |
|
91 |
e.preventDefault();
|
92 |
|
97 |
url: acf.get('ajaxurl'),
|
98 |
type: 'post',
|
99 |
data: {
|
100 |
+
action: 'acfe/dev/single_delete_meta',
|
101 |
id: $el.attr('data-meta-id'),
|
102 |
key: $el.attr('data-meta-key'),
|
103 |
+
type: $el.attr('data-meta-type'),
|
104 |
_wpnonce: $el.attr('data-nonce'),
|
105 |
},
|
106 |
beforeSend: function() {
|
109 |
backgroundColor: '#faafaa'
|
110 |
}).fadeOut(350, function() {
|
111 |
$tr.remove();
|
112 |
+
self.syncMetaboxes();
|
113 |
});
|
114 |
|
115 |
},
|
127 |
|
128 |
},
|
129 |
|
130 |
+
onDeleteBulk: function(e, $el) {
|
131 |
|
132 |
e.preventDefault();
|
133 |
|
134 |
var self = this;
|
135 |
+
var action = $el.prevAll('.acfe-dev-bulk-action').val();
|
136 |
+
var type = $el.prevAll('.acfe-dev-bulk-meta-type').val();
|
137 |
+
var nonce = $el.prevAll('.acfe-dev-bulk-nonce').val();
|
138 |
+
|
139 |
+
if (action !== 'delete') {
|
140 |
+
return;
|
141 |
+
}
|
142 |
|
143 |
+
var ids = [];
|
144 |
+
var trs = [];
|
145 |
|
146 |
+
$('input.acfe-dev-bulk-checkbox:checked').each(function() {
|
147 |
+
ids.push($(this).val());
|
148 |
+
trs.push($(this).closest('tr'));
|
149 |
+
});
|
150 |
|
151 |
+
if (!ids.length) {
|
152 |
+
return;
|
153 |
+
}
|
|
|
154 |
|
155 |
+
$.ajax({
|
156 |
+
url: acf.get('ajaxurl'),
|
157 |
+
type: 'post',
|
158 |
+
data: {
|
159 |
+
action: 'acfe/dev/bulk_delete_meta',
|
160 |
+
ids: ids,
|
161 |
+
type: type,
|
162 |
+
_wpnonce: nonce,
|
163 |
+
},
|
164 |
+
beforeSend: function() {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
165 |
|
166 |
+
trs.map(function(tr) {
|
167 |
+
$(tr).css({
|
168 |
+
backgroundColor: '#faafaa'
|
169 |
+
}).fadeOut(350, function() {
|
170 |
+
$(tr).remove();
|
171 |
+
self.syncMetaboxes();
|
172 |
+
});
|
173 |
});
|
174 |
|
175 |
}
|
176 |
+
});
|
|
|
177 |
|
178 |
},
|
179 |
|
180 |
+
onCheckPostbox: function(e, $el) {
|
181 |
|
182 |
var val = $el.val();
|
183 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
184 |
if ($el.prop('checked')) {
|
185 |
+
this.showBulk();
|
186 |
|
187 |
+
} else if ((val === 'acfe-wp-custom-fields' && !this.$acf().is(':visible')) || (val === 'acfe-acf-custom-fields' && !this.$wp().is(':visible'))) {
|
188 |
+
this.hideBulk();
|
|
|
|
|
|
|
|
|
|
|
189 |
|
190 |
}
|
191 |
|
192 |
+
},
|
193 |
|
194 |
});
|
195 |
|
337 |
})(jQuery);
|
338 |
(function($) {
|
339 |
|
340 |
+
if (typeof acf === 'undefined' || typeof acfe === 'undefined') {
|
341 |
return;
|
342 |
+
}
|
343 |
|
344 |
+
/**
|
345 |
* ACFE Form
|
346 |
*/
|
347 |
new acf.Model({
|
386 |
},
|
387 |
|
388 |
filters: {
|
389 |
+
'select2_template_selection': 'select2TemplateSelection',
|
390 |
+
'select2_template_result': 'select2TemplateSelection',
|
391 |
},
|
392 |
|
393 |
actionsButton: function(field) {
|
428 |
|
429 |
},
|
430 |
|
431 |
+
select2TemplateSelection: function(text, selection, $select, fieldData, field, instance) {
|
432 |
|
433 |
if (field.get('acfeAllowCustom')) {
|
434 |
+
return this.replaceCode(text);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
435 |
}
|
436 |
|
437 |
+
return text;
|
438 |
|
439 |
},
|
440 |
|
assets/js/acfe-admin.min.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
jQuery,"undefined"!=typeof acf&&"undefined"!=typeof acfe&&acf.addAction("new_field/name=acfe_author",function(e){e.on("change",function(e){e.stopPropagation()})}),function(f){"undefined"!=typeof acf&&"undefined"!=typeof acfe&&new acf.Model({wait:"prepare",events:{"click .
|
1 |
+
jQuery,"undefined"!=typeof acf&&"undefined"!=typeof acfe&&acf.addAction("new_field/name=acfe_author",function(e){e.on("change",function(e){e.stopPropagation()})}),function(f){"undefined"!=typeof acf&&"undefined"!=typeof acfe&&new acf.Model({wait:"prepare",events:{"click .acfe-dev-delete-meta":"onDeleteSingle",'click .acfe-dev-bulk [type="submit"]':"onDeleteBulk","change #acfe-wp-custom-fields-hide":"onCheckPostbox","change #acfe-acf-custom-fields-hide":"onCheckPostbox"},$acf:function(){return f("#acfe-acf-custom-fields")},$wp:function(){return f("#acfe-wp-custom-fields")},$bulk:function(){return f(".acfe-dev-bulk")},count:function(e){return this["$"+e]().find("tbody tr").length},hideBulk:function(){this.$bulk().hide()},showBulk:function(){this.$bulk().show()},initialize:function(){this.$bulk().insertAfter(this.$bulk().closest(".postbox")),this.$acf().is(":visible")||this.$wp().is(":visible")||this.hideBulk(),f(".metabox-prefs .acfe-dev-meta-count").remove()},syncMetaboxes:function(){this.$acf().find(".acfe-dev-meta-count").text(this.count("acf")),this.$wp().find(".acfe-dev-meta-count").text(this.count("wp")),this.count("acf")||this.$acf().remove(),this.count("wp")||this.$wp().remove(),this.count("acf")||this.count("wp")||this.hideBulk()},onDeleteSingle:function(e,t){e.preventDefault();var a=this,n=t.closest("tr");f.ajax({url:acf.get("ajaxurl"),type:"post",data:{action:"acfe/dev/single_delete_meta",id:t.attr("data-meta-id"),key:t.attr("data-meta-key"),type:t.attr("data-meta-type"),_wpnonce:t.attr("data-nonce")},beforeSend:function(){n.css({backgroundColor:"#faafaa"}).fadeOut(350,function(){n.remove(),a.syncMetaboxes()})},success:function(e){"1"!==e&&(n.css({backgroundColor:""}),n.show())}})},onDeleteBulk:function(e,t){e.preventDefault();var a,n,i=this,c=t.prevAll(".acfe-dev-bulk-action").val(),e=t.prevAll(".acfe-dev-bulk-meta-type").val(),t=t.prevAll(".acfe-dev-bulk-nonce").val();"delete"===c&&(a=[],n=[],f("input.acfe-dev-bulk-checkbox:checked").each(function(){a.push(f(this).val()),n.push(f(this).closest("tr"))}),a.length&&f.ajax({url:acf.get("ajaxurl"),type:"post",data:{action:"acfe/dev/bulk_delete_meta",ids:a,type:e,_wpnonce:t},beforeSend:function(){n.map(function(e){f(e).css({backgroundColor:"#faafaa"}).fadeOut(350,function(){f(e).remove(),i.syncMetaboxes()})})}}))},onCheckPostbox:function(e,t){var a=t.val();t.prop("checked")?this.showBulk():("acfe-wp-custom-fields"===a&&!this.$acf().is(":visible")||"acfe-acf-custom-fields"===a&&!this.$wp().is(":visible"))&&this.hideBulk()}})}(jQuery),jQuery,"undefined"!=typeof acf&&"undefined"!=typeof acfe&&new acf.Model({actions:{new_field:"newField"},isRepeater:function(e){return"repeater"===e.get("type")||"flexible_content"===e.get("type")},getCondition:function(e){return this.isRepeater(e)?0===e.val():!e.val().length},newField:function(e){e.get("enableSwitch")?this.enableSwitch(e):(e.get("switched")||e.get("switcher"))&&this.enableSwitcher(e)},enableSwitcher:function(e){var a,n,i=this;e.get("switched")?(a=acf.getField(e.$el.prev()),n=e):e.get("switcher")&&(a=e,n=acf.getField(e.$el.next())),i.getCondition(n)?(a.switchOff(),a.show("switcher"),n.hide("switcher")):(a.hide("switcher"),n.show("switcher")),e.get("switcher")&&(a.on("change",function(){a.$input().prop("checked")&&(a.hide("switcher"),n.show("switcher"),i.isRepeater(n)&&n.add())}),n.on("change",function(e,t){i.getCondition(n)&&(a.switchOff(),a.show("switcher"),n.hide("switcher"))}))},enableSwitch:function(e){var t=e.$el.clone();t.removeAttr("data-enable-switch"),t.attr("data-switcher",!0),t.attr("data-name",e.get("name")+"_acfe_switch"),t.attr("data-key",e.get("name")+"_acfe_switch"),t.attr("data-type","true_false"),t.find(">.acf-input").html('<div class="acf-true-false">\n<input type="hidden" value="0"><label>\n<input type="checkbox" value="1" class="acf-switch-input" autocomplete="off">\n<div class="acf-switch"><span class="acf-switch-on" style="min-width: 18px;">'+acf.__("Yes")+'</span><span class="acf-switch-off" style="min-width: 18px;">'+acf.__("No")+'</span><div class="acf-switch-slider"></div></div></label>\n</div>'),t=t.insertBefore(e.$el),acf.getField(t),e.$el.removeAttr("data-enable-switch"),e.set("enableSwitch",!1),e.$el.attr("data-switched",!0),e.set("switched",!0)}}),function(n){"undefined"!=typeof acf&&"undefined"!=typeof acfe&&new acf.Model({actions:{"new_field/name=acfe_form_actions":"actionsButton","new_field/name=acfe_form_email_files":"filesButton","new_field/name=acfe_form_email_files_static":"filesButton","new_field/name=acfe_form_post_map_target":"mapFields","new_field/name=acfe_form_post_map_post_type":"mapFields","new_field/name=acfe_form_post_map_post_status":"mapFields","new_field/name=acfe_form_post_map_post_title":"mapFields","new_field/name=acfe_form_post_map_post_name":"mapFields","new_field/name=acfe_form_post_map_post_content":"mapFields","new_field/name=acfe_form_post_map_post_excerpt":"mapFields","new_field/name=acfe_form_post_map_post_author":"mapFields","new_field/name=acfe_form_post_map_post_parent":"mapFields","new_field/name=acfe_form_post_map_post_terms":"mapFields","new_field/name=acfe_form_user_map_email":"mapFields","new_field/name=acfe_form_user_map_username":"mapFields","new_field/name=acfe_form_user_map_password":"mapFields","new_field/name=acfe_form_user_map_first_name":"mapFields","new_field/name=acfe_form_user_map_last_name":"mapFields","new_field/name=acfe_form_user_map_nickname":"mapFields","new_field/name=acfe_form_user_map_display_name":"mapFields","new_field/name=acfe_form_user_map_website":"mapFields","new_field/name=acfe_form_user_map_description":"mapFields","new_field/name=acfe_form_user_map_role":"mapFields","new_field/name=acfe_form_term_map_name":"mapFields","new_field/name=acfe_form_term_map_slug":"mapFields","new_field/name=acfe_form_term_map_taxonomy":"mapFields","new_field/name=acfe_form_term_map_parent":"mapFields","new_field/name=acfe_form_term_map_description":"mapFields"},filters:{select2_template_selection:"select2TemplateSelection",select2_template_result:"select2TemplateSelection"},actionsButton:function(e){e.on("click",'[data-name="add-layout"]',function(e){n("body").find(".acf-fc-popup").addClass("acfe-fc-popup-grey")})},filesButton:function(e){e.$("> .acf-input > .acf-repeater > .acf-actions > .acf-button").removeClass("button-primary")},mapFields:function(e){var t=e.$el.closest(".layout").find('> .acf-fields > .acf-field[data-name="'+e.get("name")+'_message"] > .acf-input'),a=e.$input().find("option:selected").text();a.length&&t.html(a),e.$input().on("change",function(){var e=n(this).find("option:selected").text();t.html(e)})},select2TemplateSelection:function(e,t,a,n,i,c){return i.get("acfeAllowCustom")?this.replaceCode(e):e},replaceCode:function(e){return e=(e=(e=(e=(e=(e=(e=(e=e.replace(/{field:(.*?)}/g,"<code>{field:$1}</code>")).replace(/{fields}/g,"<code>{fields}</code>")).replace(/{get_field:(.*?)}/g,"<code>{get_field:$1}</code>")).replace(/{query_var:(.*?)}/g,"<code>{query_var:$1}</code>")).replace(/{request:(.*?)}/g,"<code>{request:$1}</code>")).replace(/{current:(.*?)}/g,"<code>{current:$1}</code>")).replace(/{(form|form:.*?)}/g,"<code>{$1}</code>")).replace(/{action:(.*?)}/g,"<code>{action:$1}</code>")}})}(jQuery),jQuery,"undefined"!=typeof acf&&"undefined"!=typeof acfe&&acf.addAction("show_postbox",function(e){e.$el.removeClass("acfe-postbox-left acfe-postbox-top")});
|
assets/js/acfe-input.js
CHANGED
@@ -5,179 +5,335 @@
|
|
5 |
}
|
6 |
|
7 |
/**
|
8 |
-
*
|
9 |
*/
|
10 |
-
|
|
|
11 |
|
12 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
13 |
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
|
|
|
|
|
|
|
|
19 |
|
20 |
-
|
21 |
-
|
22 |
-
|
|
|
|
|
|
|
|
|
23 |
|
24 |
-
|
25 |
-
|
26 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
27 |
|
28 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
29 |
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
|
40 |
-
|
41 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
42 |
|
43 |
-
|
44 |
-
|
45 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
46 |
|
47 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
48 |
|
49 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
50 |
|
51 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
52 |
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
|
61 |
-
|
62 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
63 |
|
64 |
-
|
65 |
-
|
66 |
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
}
|
71 |
|
72 |
-
|
73 |
-
$div.addClass('-external');
|
74 |
-
}
|
75 |
|
76 |
-
|
77 |
-
this.$('.link-title').html(val.title);
|
78 |
-
this.$('.link-url').attr('href', val.url).html(val.url);
|
79 |
|
80 |
-
|
81 |
-
|
|
|
|
|
82 |
|
83 |
-
|
84 |
-
|
85 |
-
|
86 |
-
|
87 |
-
|
88 |
-
|
89 |
-
this.$('.input-term').val('').trigger('change');
|
90 |
|
91 |
-
|
92 |
|
93 |
-
|
94 |
|
95 |
-
|
|
|
|
|
|
|
96 |
|
97 |
-
|
98 |
|
99 |
-
|
|
|
100 |
|
101 |
-
|
|
|
|
|
|
|
102 |
|
103 |
-
|
104 |
-
|
105 |
-
|
106 |
-
|
107 |
-
|
108 |
-
|
109 |
-
|
110 |
-
|
|
|
111 |
|
|
|
|
|
|
|
|
|
112 |
},
|
113 |
|
114 |
-
|
115 |
|
116 |
-
|
117 |
-
remove: true
|
118 |
-
});
|
119 |
|
|
|
|
|
120 |
},
|
121 |
|
122 |
-
|
123 |
|
124 |
-
//
|
125 |
-
|
126 |
|
127 |
-
//
|
128 |
-
|
|
|
|
|
129 |
|
130 |
-
|
|
|
131 |
|
132 |
-
|
|
|
133 |
|
134 |
-
|
|
|
135 |
|
136 |
-
|
137 |
-
|
138 |
-
*/
|
139 |
-
new acf.Model({
|
140 |
|
141 |
-
|
142 |
-
|
143 |
-
|
144 |
|
145 |
-
|
146 |
-
'select2_ajax_data/type=post_object': 'ajaxField',
|
147 |
-
},
|
148 |
|
149 |
-
|
|
|
|
|
150 |
|
151 |
-
|
|
|
|
|
|
|
152 |
|
153 |
-
|
|
|
|
|
154 |
|
155 |
-
|
|
|
156 |
|
157 |
-
|
158 |
|
159 |
-
|
|
|
|
|
|
|
|
|
160 |
|
161 |
-
|
162 |
|
163 |
-
ajaxField: function(ajaxData, data, $el, field, select) {
|
164 |
|
165 |
-
|
166 |
-
return ajaxData;
|
167 |
-
}
|
168 |
|
169 |
-
|
170 |
|
171 |
-
|
172 |
-
ajaxData.field_key = advanced_link.get('key');
|
173 |
-
}
|
174 |
|
175 |
-
|
176 |
|
177 |
-
|
|
|
|
|
178 |
|
179 |
});
|
180 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
181 |
})(jQuery);
|
182 |
(function($) {
|
183 |
|
@@ -186,159 +342,120 @@
|
|
186 |
}
|
187 |
|
188 |
/**
|
189 |
-
* Field
|
190 |
*/
|
191 |
-
var
|
192 |
|
193 |
-
|
|
|
|
|
194 |
|
195 |
-
|
196 |
-
|
197 |
-
|
198 |
-
},
|
199 |
|
200 |
-
|
|
|
|
|
|
|
201 |
|
202 |
-
|
203 |
|
204 |
-
|
|
|
205 |
|
206 |
-
|
|
|
|
|
|
|
207 |
|
208 |
-
|
209 |
|
210 |
-
}
|
211 |
|
212 |
},
|
|
|
213 |
|
214 |
-
|
215 |
|
216 |
-
|
217 |
-
var $button = this.$input();
|
218 |
|
219 |
-
|
220 |
-
this.inherit($button);
|
221 |
|
|
|
|
|
222 |
},
|
223 |
|
224 |
-
|
225 |
-
|
226 |
-
if (!this.get('ajax')) return;
|
227 |
-
|
228 |
-
e.preventDefault();
|
229 |
-
|
230 |
-
// serialize form data
|
231 |
-
var data = {
|
232 |
-
action: 'acfe/fields/button',
|
233 |
-
field_key: this.get('key'),
|
234 |
-
acf: acf.serialize(this.$el.closest('form'), 'acf')
|
235 |
-
};
|
236 |
-
|
237 |
-
data = acf.applyFilters('acfe/fields/button/data', data, this.$el);
|
238 |
-
data = acf.applyFilters('acfe/fields/button/data/name=' + this.get('name'), data, this.$el);
|
239 |
-
data = acf.applyFilters('acfe/fields/button/data/key=' + this.get('key'), data, this.$el);
|
240 |
|
241 |
-
|
242 |
-
acf.doAction('acfe/fields/button/before_ajax', this.$el, data);
|
243 |
|
244 |
-
|
245 |
-
acf.doAction('acfe/fields/button/before', this.$el, data);
|
246 |
-
acf.doAction('acfe/fields/button/before/name=' + this.get('name'), this.$el, data);
|
247 |
-
acf.doAction('acfe/fields/button/before/key=' + this.get('key'), this.$el, data);
|
248 |
|
249 |
-
|
250 |
-
$.ajax({
|
251 |
-
url: acf.get('ajaxurl'),
|
252 |
-
data: acf.prepareForAjax(data),
|
253 |
-
type: 'post',
|
254 |
-
dataType: 'json',
|
255 |
-
context: this,
|
256 |
|
257 |
-
|
258 |
-
|
259 |
|
260 |
-
|
261 |
-
acf.doAction('acfe/fields/button/ajax_success', response, this.$el, data);
|
262 |
|
263 |
-
|
264 |
-
acf.doAction('acfe/fields/button/success', response, this.$el, data);
|
265 |
-
acf.doAction('acfe/fields/button/success/name=' + this.get('name'), response, this.$el, data);
|
266 |
-
acf.doAction('acfe/fields/button/success/key=' + this.get('key'), response, this.$el, data);
|
267 |
|
268 |
-
|
|
|
|
|
|
|
269 |
|
270 |
-
|
271 |
-
|
272 |
|
273 |
-
|
|
|
274 |
|
275 |
-
|
276 |
-
|
277 |
-
acf.doAction('acfe/fields/button/complete/name=' + this.get('name'), response, this.$el, data);
|
278 |
-
acf.doAction('acfe/fields/button/complete/key=' + this.get('key'), response, this.$el, data);
|
279 |
|
280 |
-
|
|
|
281 |
|
|
|
|
|
282 |
|
283 |
-
|
|
|
|
|
284 |
|
285 |
-
|
|
|
286 |
|
287 |
-
|
288 |
|
289 |
-
|
290 |
|
291 |
-
}
|
292 |
-
(function($) {
|
293 |
|
294 |
-
|
295 |
-
return;
|
296 |
-
}
|
297 |
|
298 |
-
|
299 |
-
* Field: Checkbox
|
300 |
-
*/
|
301 |
-
new acf.Model({
|
302 |
|
303 |
-
actions: {
|
304 |
-
'new_field': 'newField',
|
305 |
},
|
306 |
|
307 |
-
|
308 |
-
|
309 |
-
// check setting
|
310 |
-
if (!field.has('acfeLabels')) {
|
311 |
-
return false;
|
312 |
-
}
|
313 |
-
|
314 |
-
// get type and real type
|
315 |
-
var type = field.has('rtype') ? field.get('rtype') : field.get('type');
|
316 |
-
|
317 |
-
// not radio
|
318 |
-
return type === 'checkbox';
|
319 |
-
|
320 |
},
|
321 |
|
322 |
-
|
323 |
-
|
324 |
-
// bail early
|
325 |
-
if (!this.validateField(field)) {
|
326 |
-
return;
|
327 |
-
}
|
328 |
-
|
329 |
-
// vars
|
330 |
-
var label, item;
|
331 |
-
var labels = field.get('acfeLabels');
|
332 |
|
333 |
-
|
334 |
-
|
335 |
|
336 |
-
|
337 |
-
|
|
|
338 |
|
339 |
-
|
340 |
|
341 |
-
}
|
342 |
|
343 |
});
|
344 |
|
@@ -349,1211 +466,1228 @@
|
|
349 |
return;
|
350 |
}
|
351 |
|
352 |
-
|
353 |
-
|
354 |
-
|
355 |
-
var Clone = acf.Field.extend({
|
356 |
-
|
357 |
-
wait: false,
|
358 |
-
|
359 |
-
type: 'clone',
|
360 |
-
|
361 |
-
events: {
|
362 |
-
'click [data-name="edit"]': 'onClick',
|
363 |
-
'duplicateField': 'onDuplicate'
|
364 |
-
},
|
365 |
-
|
366 |
-
initialize: function() {
|
367 |
-
|
368 |
-
if (this.has('acfeCloneModal')) {
|
369 |
-
|
370 |
-
var edit = this.get('acfeCloneModalButton');
|
371 |
-
|
372 |
-
this.$el.find('> .acf-input > .acf-fields, > .acf-input > .acf-table').wrapAll('<div class="acfe-modal"><div class="acfe-modal-wrapper"><div class="acfe-modal-content"></div></div></div>');
|
373 |
-
this.$el.find('> .acf-input').append('<a data-name="edit" class="acf-button button" href="#">' + edit + '</a>');
|
374 |
-
|
375 |
-
}
|
376 |
-
|
377 |
},
|
|
|
|
|
378 |
|
379 |
-
|
380 |
-
|
381 |
-
|
382 |
-
var title = this.$labelWrap().find('label').text().trim();
|
383 |
-
|
384 |
-
// inside table
|
385 |
-
if (this.$el.is('td')) {
|
386 |
-
|
387 |
-
title = this.get('acfeGroupModalButton');
|
388 |
-
var $th = this.$el.closest('table').find(' > thead th[data-key="' + this.get('key') + '"]');
|
389 |
-
|
390 |
-
if ($th.length) {
|
391 |
-
title = acfe.getTextNode($th);
|
392 |
-
}
|
393 |
-
|
394 |
}
|
395 |
|
396 |
-
|
397 |
-
|
398 |
-
|
399 |
-
if (!title.length) {
|
400 |
-
title = this.get('acfeCloneModalButton');
|
401 |
}
|
402 |
|
403 |
-
//
|
404 |
-
|
405 |
-
|
406 |
-
if (this.has('acfeCloneModalClose')) {
|
407 |
-
close = acf.__('Close');
|
408 |
-
}
|
409 |
|
410 |
-
//
|
411 |
-
|
412 |
|
413 |
-
|
414 |
-
|
415 |
-
}
|
416 |
|
417 |
-
//
|
418 |
-
|
419 |
-
title: title,
|
420 |
-
size: size,
|
421 |
-
footer: close
|
422 |
-
});
|
423 |
|
424 |
-
|
|
|
425 |
|
426 |
-
onDuplicate: function(e, $el, $duplicate) {
|
427 |
-
$duplicate.find('a[data-name="edit"]').remove();
|
428 |
}
|
429 |
-
|
430 |
});
|
431 |
|
432 |
-
acf.registerFieldType(Clone);
|
433 |
-
|
434 |
})(jQuery);
|
435 |
(function($) {
|
436 |
|
437 |
if (typeof acf === 'undefined' || typeof acfe === 'undefined') {
|
438 |
return;
|
439 |
-
}
|
440 |
-
|
441 |
-
/**
|
442 |
-
* Field: Code Editor
|
443 |
-
*/
|
444 |
-
var CodeEditor = acf.Field.extend({
|
445 |
-
|
446 |
-
wait: false,
|
447 |
-
|
448 |
-
type: 'acfe_code_editor',
|
449 |
-
|
450 |
-
editor: {},
|
451 |
-
|
452 |
-
events: {
|
453 |
-
'showField': 'onShow',
|
454 |
-
'duplicateField': 'onDuplicate'
|
455 |
-
},
|
456 |
-
|
457 |
-
$control: function() {
|
458 |
-
return this.$('> .acf-input > .acf-input-wrap');
|
459 |
-
},
|
460 |
-
|
461 |
-
$input: function() {
|
462 |
-
return this.$control().find('> textarea');
|
463 |
-
},
|
464 |
-
|
465 |
-
initialize: function() {
|
466 |
-
|
467 |
-
// bail early
|
468 |
-
if (!acf.isset(wp, 'codeEditor')) {
|
469 |
-
return;
|
470 |
-
}
|
471 |
-
|
472 |
-
// args
|
473 |
-
var args = {
|
474 |
-
lineNumbers: this.get('lines'),
|
475 |
-
lineWrapping: true,
|
476 |
-
styleActiveLine: false,
|
477 |
-
continueComments: true,
|
478 |
-
indentUnit: this.get('indentUnit'),
|
479 |
-
tabSize: 1,
|
480 |
-
indentWithTabs: false,
|
481 |
-
autoRefresh: true, // needed for gutenberg metabox
|
482 |
-
mode: this.get('mode'),
|
483 |
-
extraKeys: {
|
484 |
-
'Tab': function(cm) {
|
485 |
-
cm.execCommand('indentMore')
|
486 |
-
},
|
487 |
-
'Shift-Tab': function(cm) {
|
488 |
-
cm.execCommand('indentLess')
|
489 |
-
},
|
490 |
-
},
|
491 |
-
}
|
492 |
|
493 |
-
|
494 |
-
|
495 |
-
|
496 |
-
|
497 |
|
498 |
-
|
499 |
-
|
500 |
-
codemirror: $.extend(wp.codeEditor.defaultSettings.codemirror, args)
|
501 |
-
});
|
502 |
|
503 |
-
|
504 |
-
|
505 |
-
|
506 |
|
507 |
-
|
508 |
-
|
|
|
|
|
|
|
|
|
509 |
}
|
510 |
|
511 |
-
|
|
|
|
|
512 |
|
513 |
-
|
514 |
-
|
515 |
-
|
516 |
|
517 |
},
|
518 |
|
519 |
-
|
520 |
|
521 |
-
|
522 |
-
|
|
|
|
|
523 |
|
524 |
},
|
525 |
|
526 |
-
|
527 |
-
|
528 |
-
|
529 |
-
|
|
|
530 |
},
|
531 |
|
532 |
-
|
533 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
534 |
},
|
535 |
|
536 |
-
|
537 |
|
538 |
-
|
539 |
|
540 |
-
|
541 |
-
|
542 |
|
543 |
-
|
544 |
-
|
545 |
-
}
|
546 |
|
547 |
-
|
548 |
-
|
549 |
-
*/
|
550 |
-
var Column = acf.Field.extend({
|
551 |
|
552 |
-
|
|
|
553 |
|
554 |
-
|
|
|
|
|
555 |
|
556 |
-
$control: function() {
|
557 |
-
return this.$('.acf-fields:first');
|
558 |
},
|
559 |
|
560 |
-
|
561 |
|
562 |
-
|
563 |
|
564 |
-
|
565 |
-
this.remove();
|
566 |
|
567 |
-
|
568 |
|
569 |
-
if (
|
570 |
|
571 |
-
this.$
|
572 |
-
this.$el.find('> .acf-input').remove();
|
573 |
|
574 |
-
|
575 |
|
576 |
-
|
577 |
|
578 |
-
|
579 |
-
var $label = this.$el.find('> .acf-label');
|
580 |
-
var $input = this.$inputWrap();
|
581 |
-
var $wrap = this.$control();
|
582 |
|
583 |
-
|
584 |
|
585 |
-
|
586 |
-
$parent.addClass('acfe-column-wrapper');
|
587 |
-
$wrap.addClass($parent.hasClass('-left') ? '-left' : '');
|
588 |
-
$wrap.addClass($parent.hasClass('-clear') ? '-clear' : '');
|
589 |
|
590 |
-
|
591 |
|
592 |
-
}
|
593 |
|
594 |
-
|
595 |
|
596 |
-
|
597 |
|
598 |
-
|
599 |
-
(function($) {
|
600 |
|
601 |
-
|
602 |
-
return;
|
603 |
-
}
|
604 |
|
605 |
-
|
606 |
-
|
607 |
-
*/
|
608 |
-
var flexible = acf.getFieldType('flexible_content');
|
609 |
-
var model = flexible.prototype;
|
610 |
|
611 |
-
|
612 |
-
* Actions
|
613 |
-
*/
|
614 |
-
model.events['click .acf-fc-layout-handle'] = 'acfeEditLayoutTitleToggleHandle';
|
615 |
-
model.acfeEditLayoutTitleToggleHandle = function(e, $el) {
|
616 |
|
617 |
-
|
618 |
|
619 |
-
|
620 |
-
if (!flexible.has('acfeFlexibleTitleEdition'))
|
621 |
-
return;
|
622 |
|
623 |
-
|
624 |
-
var $layout = $el.closest('.layout');
|
625 |
|
626 |
-
|
627 |
|
628 |
-
|
629 |
|
630 |
-
|
631 |
|
632 |
-
|
633 |
|
634 |
-
|
635 |
-
model.acfeEditLayoutTitle = function(e, $el) {
|
636 |
|
637 |
-
|
638 |
-
|
639 |
|
640 |
-
|
641 |
-
if (!flexible.has('acfeFlexibleTitleEdition'))
|
642 |
-
return;
|
643 |
|
644 |
-
|
645 |
-
e.stopPropagation();
|
646 |
|
647 |
-
|
648 |
-
flexible.acfeEditLayoutTitleToggle(e, $el);
|
649 |
|
|
|
|
|
|
|
|
|
|
|
650 |
}
|
651 |
|
652 |
-
|
653 |
-
|
|
|
|
|
654 |
|
655 |
-
|
656 |
|
657 |
-
|
658 |
-
|
659 |
-
|
660 |
-
|
|
|
661 |
|
662 |
-
|
|
|
|
|
663 |
|
664 |
-
|
|
|
|
|
665 |
|
666 |
-
|
667 |
-
$input.val($input.attr('placeholder')).trigger('input');
|
668 |
|
669 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
670 |
|
671 |
-
|
|
|
672 |
|
673 |
-
|
|
|
|
|
674 |
|
675 |
-
|
676 |
|
677 |
-
|
678 |
|
679 |
-
|
680 |
-
$input.focus().attr('size', $input.val().length);
|
681 |
|
682 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
683 |
|
684 |
-
|
|
|
685 |
|
686 |
-
|
687 |
-
|
688 |
-
model.acfeEditLayoutTitlePropagation = function(e, $el) {
|
689 |
|
690 |
-
|
|
|
|
|
|
|
691 |
|
692 |
-
|
|
|
|
|
693 |
|
694 |
-
|
695 |
-
|
696 |
-
|
697 |
|
698 |
-
|
699 |
-
|
700 |
-
var $title = $layout.find('> .acf-fc-layout-handle .acfe-layout-title .acfe-layout-title-text');
|
701 |
|
702 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
703 |
|
704 |
-
|
705 |
|
706 |
-
|
707 |
|
708 |
-
|
709 |
|
710 |
-
|
711 |
-
model.events['keypress [data-acfe-flexible-control-title-input]'] = 'acfeEditLayoutTitleInputEnter';
|
712 |
-
model.acfeEditLayoutTitleInputEnter = function(e, $el) {
|
713 |
|
714 |
-
|
715 |
-
if (e.keyCode !== 13)
|
716 |
-
return;
|
717 |
|
718 |
-
|
719 |
-
$el.blur();
|
720 |
|
721 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
722 |
|
723 |
-
|
724 |
-
model.events['click [data-acfe-flexible-settings]'] = 'acfeLayoutSettings';
|
725 |
-
model.acfeLayoutSettings = function(e, $el) {
|
726 |
|
727 |
-
|
728 |
-
var flexible = this;
|
729 |
|
730 |
-
|
731 |
-
|
|
|
732 |
|
733 |
-
|
734 |
-
var $modal = $layout.find('> .acfe-modal.-settings');
|
735 |
-
var $handle = $layout.find('> .acf-fc-layout-handle');
|
736 |
|
737 |
-
|
738 |
-
var $layout_title = $handle.find('.acfe-layout-title-text').text();
|
739 |
|
740 |
-
|
741 |
-
|
742 |
-
title: $layout_order + ' ' + $layout_title,
|
743 |
-
footer: acf.__('Close'),
|
744 |
-
onClose: function() {
|
745 |
|
746 |
-
|
747 |
-
|
748 |
|
749 |
-
|
750 |
|
751 |
-
|
752 |
-
});
|
753 |
|
754 |
-
|
755 |
|
756 |
/**
|
757 |
-
*
|
758 |
*/
|
759 |
-
|
760 |
-
model.acfeLayoutToggle = function(e, $el) {
|
761 |
|
762 |
-
|
763 |
-
|
|
|
764 |
|
765 |
-
|
766 |
-
|
|
|
767 |
|
768 |
-
|
769 |
|
770 |
-
|
771 |
-
return;
|
772 |
|
773 |
-
|
774 |
|
775 |
-
|
776 |
-
$field.val('');
|
777 |
|
778 |
-
|
779 |
|
780 |
-
|
781 |
-
$field.val('1');
|
782 |
|
783 |
-
}
|
784 |
|
785 |
-
|
786 |
|
787 |
-
|
788 |
-
|
789 |
-
|
790 |
-
acf.addAction('acfe/flexible/layouts', function($layout, flexible) {
|
791 |
|
792 |
-
|
793 |
-
return;
|
794 |
|
795 |
-
|
796 |
-
|
|
|
797 |
|
798 |
-
|
799 |
-
return;
|
800 |
|
801 |
-
|
802 |
|
803 |
-
|
804 |
|
805 |
-
|
|
|
806 |
|
807 |
-
|
|
|
|
|
808 |
|
809 |
-
|
|
|
|
|
|
|
810 |
|
811 |
-
|
812 |
|
813 |
-
|
814 |
-
|
815 |
-
|
|
|
816 |
|
817 |
-
|
818 |
-
var flexible = this;
|
819 |
|
820 |
-
|
821 |
-
var $layout = $el.closest('.layout');
|
822 |
-
var layout_name = $layout.data('layout');
|
823 |
|
824 |
-
|
825 |
-
var $popup = $(flexible.$popup().html());
|
826 |
-
var $layouts = flexible.$layouts();
|
827 |
|
828 |
-
|
829 |
-
return $layouts.filter(function() {
|
830 |
-
return $(this).data('layout') === name;
|
831 |
-
}).length;
|
832 |
-
};
|
833 |
|
834 |
-
|
835 |
-
var $a = $popup.find('[data-layout="' + layout_name + '"]');
|
836 |
-
var min = $a.data('min') || 0;
|
837 |
-
var max = $a.data('max') || 0;
|
838 |
-
var count = countLayouts(layout_name);
|
839 |
|
840 |
-
|
841 |
-
if (max && count >= max) {
|
842 |
|
843 |
-
|
844 |
-
return false;
|
845 |
|
846 |
-
|
847 |
|
848 |
-
|
|
|
849 |
|
850 |
-
|
|
|
851 |
|
852 |
-
|
853 |
-
flexible.acfeFixInputs($layout);
|
854 |
|
855 |
-
|
856 |
|
857 |
-
|
858 |
-
flexible.acfeCleanLayouts($_layout);
|
859 |
|
860 |
-
|
861 |
|
862 |
-
|
863 |
-
|
864 |
-
|
865 |
-
|
866 |
-
|
867 |
-
|
868 |
|
869 |
-
|
|
|
|
|
870 |
|
871 |
-
|
872 |
-
|
873 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
874 |
|
875 |
-
|
876 |
-
|
877 |
|
878 |
-
|
879 |
-
|
880 |
-
var source = flexible.$control().find('> input[type=hidden]').attr('name');
|
881 |
|
882 |
-
|
883 |
-
|
|
|
|
|
884 |
|
885 |
-
|
886 |
-
flexible.acfeCleanLayouts($layout);
|
887 |
|
888 |
-
|
889 |
-
|
890 |
-
source: source,
|
891 |
-
layouts: $layout[0].outerHTML
|
892 |
-
});
|
893 |
|
894 |
-
|
895 |
-
var $input = $('<input type="text" style="clip:rect(0,0,0,0);clip-path:none;position:absolute;" value="" />').appendTo($('body'));
|
896 |
-
$input.attr('value', data).select();
|
897 |
|
898 |
-
|
899 |
-
|
900 |
-
|
|
|
901 |
|
902 |
-
|
903 |
-
else
|
904 |
-
prompt('Copy the following layout data to your clipboard', data);
|
905 |
|
906 |
-
// Remove the temp input
|
907 |
-
$input.remove();
|
908 |
|
909 |
-
|
910 |
|
911 |
-
|
912 |
-
model.acfeCopyLayouts = function() {
|
913 |
|
914 |
-
|
915 |
-
var flexible = this;
|
916 |
|
917 |
-
|
918 |
-
var $layouts = flexible.$layoutsWrap().clone();
|
919 |
-
var source = flexible.$control().find('> input[type=hidden]').attr('name');
|
920 |
|
921 |
-
|
922 |
-
|
923 |
|
924 |
-
|
925 |
-
|
|
|
926 |
|
927 |
-
|
928 |
-
|
929 |
-
|
930 |
-
|
931 |
-
});
|
932 |
|
933 |
-
|
934 |
-
|
935 |
-
|
936 |
|
937 |
-
|
938 |
-
if (document.execCommand('copy'))
|
939 |
-
alert('Layouts have been transferred to your clipboard');
|
940 |
|
941 |
-
|
942 |
-
|
943 |
-
|
|
|
944 |
|
945 |
-
|
|
|
946 |
|
947 |
-
|
|
|
948 |
|
949 |
-
|
950 |
-
model.acfePasteLayouts = function() {
|
951 |
|
952 |
-
|
953 |
-
var flexible = this;
|
954 |
|
955 |
-
|
|
|
|
|
|
|
956 |
|
957 |
-
|
958 |
-
|
959 |
-
|
960 |
|
961 |
-
|
|
|
962 |
|
963 |
-
|
964 |
-
|
965 |
-
var source = data.source;
|
966 |
-
var $html = $(data.layouts);
|
967 |
|
968 |
-
|
969 |
-
var $html_layouts = $html.closest('[data-layout]');
|
970 |
|
971 |
-
|
972 |
-
return alert('No layouts data available');
|
973 |
|
974 |
-
|
975 |
-
var $popup = $(flexible.$popup().html());
|
976 |
-
var $layouts = flexible.$layouts();
|
977 |
|
978 |
-
|
979 |
-
|
980 |
-
return $(this).data('layout') === name;
|
981 |
-
}).length;
|
982 |
-
};
|
983 |
|
984 |
-
|
985 |
-
|
|
|
986 |
|
987 |
-
|
988 |
-
|
|
|
|
|
989 |
|
990 |
-
|
991 |
-
var layout_name = $this.data('layout');
|
992 |
|
993 |
-
|
994 |
-
var $a = $popup.find('[data-layout="' + layout_name + '"]');
|
995 |
-
var min = $a.data('min') || 0;
|
996 |
-
var max = $a.data('max') || 0;
|
997 |
-
var count = countLayouts(layout_name);
|
998 |
|
999 |
-
|
1000 |
-
|
1001 |
-
|
|
|
1002 |
|
1003 |
-
|
1004 |
-
var get_clone_layout = flexible.$clone($this.attr('data-layout'));
|
1005 |
|
1006 |
-
|
1007 |
-
if (!get_clone_layout.length)
|
1008 |
-
return;
|
1009 |
|
1010 |
-
|
1011 |
-
validated_layouts.push($this);
|
1012 |
|
1013 |
-
|
|
|
1014 |
|
1015 |
-
|
1016 |
-
if (!validated_layouts.length)
|
1017 |
-
return alert('No layouts could be pasted');
|
1018 |
|
1019 |
-
|
1020 |
-
$.each(validated_layouts, function() {
|
1021 |
|
1022 |
-
|
1023 |
-
var search = source + '[' + $layout.attr('data-id') + ']';
|
1024 |
-
var target = flexible.$control().find('> input[type=hidden]').attr('name');
|
1025 |
|
1026 |
-
|
1027 |
-
|
1028 |
-
before: false,
|
1029 |
-
search: search,
|
1030 |
-
parent: target
|
1031 |
-
});
|
1032 |
|
1033 |
-
|
|
|
1034 |
|
1035 |
-
|
|
|
1036 |
|
1037 |
-
|
1038 |
-
|
|
|
1039 |
|
1040 |
-
|
1041 |
|
1042 |
-
|
1043 |
|
1044 |
-
|
1045 |
-
|
1046 |
-
|
|
|
1047 |
|
1048 |
-
|
1049 |
-
|
1050 |
|
1051 |
-
|
1052 |
-
|
|
|
1053 |
|
1054 |
-
|
1055 |
-
|
1056 |
-
|
1057 |
-
|
1058 |
-
this
|
1059 |
}
|
1060 |
-
});
|
1061 |
|
1062 |
-
|
1063 |
-
|
1064 |
-
|
1065 |
-
|
1066 |
-
|
1067 |
-
|
1068 |
-
confirm: function(e, $el) {
|
1069 |
|
1070 |
-
|
1071 |
-
|
|
|
|
|
|
|
1072 |
|
1073 |
-
|
1074 |
-
flexible.acfeCopyLayouts();
|
1075 |
|
1076 |
-
|
1077 |
-
});
|
1078 |
|
1079 |
-
|
|
|
1080 |
|
|
|
|
|
1081 |
}
|
1082 |
|
1083 |
-
|
1084 |
-
|
|
|
|
|
1085 |
|
1086 |
-
|
1087 |
-
args = acf.parseArgs(args, {
|
1088 |
-
layout: '',
|
1089 |
-
before: false,
|
1090 |
-
parent: false,
|
1091 |
-
search: '',
|
1092 |
-
replace: '',
|
1093 |
-
});
|
1094 |
|
1095 |
-
|
1096 |
-
if (!this.allowAdd())
|
1097 |
-
return false;
|
1098 |
|
1099 |
-
|
1100 |
|
1101 |
-
|
|
|
|
|
|
|
1102 |
|
1103 |
-
|
|
|
|
|
1104 |
|
1105 |
-
|
|
|
|
|
1106 |
|
|
|
|
|
|
|
|
|
|
|
1107 |
}
|
1108 |
|
1109 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1110 |
|
1111 |
-
|
|
|
|
|
|
|
1112 |
|
1113 |
-
|
1114 |
-
|
1115 |
-
|
1116 |
-
|
1117 |
-
append: this.proxy(function($el, $el2) {
|
1118 |
|
1119 |
-
|
1120 |
-
|
|
|
1121 |
|
1122 |
-
|
1123 |
-
|
|
|
1124 |
|
1125 |
-
|
1126 |
-
if (args.before) {
|
1127 |
|
1128 |
-
|
1129 |
-
|
|
|
1130 |
|
1131 |
-
|
1132 |
|
1133 |
-
|
1134 |
-
else {
|
1135 |
|
1136 |
-
|
|
|
1137 |
|
1138 |
-
|
1139 |
|
1140 |
-
|
1141 |
-
|
|
|
|
|
|
|
1142 |
|
1143 |
-
|
1144 |
-
|
|
|
1145 |
|
1146 |
-
|
1147 |
-
}
|
1148 |
|
1149 |
-
|
1150 |
|
1151 |
-
|
1152 |
-
|
1153 |
|
1154 |
-
|
1155 |
-
|
|
|
1156 |
|
1157 |
-
|
1158 |
-
|
|
|
|
|
1159 |
|
1160 |
-
|
1161 |
|
1162 |
-
|
1163 |
-
this.$input().trigger('change');
|
1164 |
|
1165 |
-
|
1166 |
-
|
1167 |
-
|
1168 |
-
parent: $el,
|
1169 |
-
});
|
1170 |
|
1171 |
-
|
1172 |
|
1173 |
-
|
1174 |
|
1175 |
-
|
|
|
1176 |
|
1177 |
-
|
1178 |
|
1179 |
-
|
1180 |
|
1181 |
-
|
|
|
1182 |
|
1183 |
-
|
1184 |
|
|
|
1185 |
|
1186 |
-
|
1187 |
-
|
|
|
|
|
1188 |
|
1189 |
-
|
1190 |
|
1191 |
-
|
1192 |
-
|
1193 |
-
|
1194 |
-
|
1195 |
-
|
1196 |
-
|
1197 |
-
model.acfeNewAcfDuplicate = function(args) {
|
1198 |
|
1199 |
-
// allow jQuery
|
1200 |
-
if (args instanceof jQuery) {
|
1201 |
-
args = {
|
1202 |
-
target: args
|
1203 |
-
};
|
1204 |
}
|
1205 |
|
1206 |
-
|
1207 |
-
args = acf.parseArgs(args, {
|
1208 |
-
target: false,
|
1209 |
-
search: '',
|
1210 |
-
replace: '',
|
1211 |
-
rename: true,
|
1212 |
-
before: function($el) {},
|
1213 |
-
after: function($el, $el2) {},
|
1214 |
-
append: function($el, $el2) {
|
1215 |
-
$el.after($el2);
|
1216 |
-
}
|
1217 |
-
});
|
1218 |
|
1219 |
-
|
1220 |
-
args.target = args.target || args.$el;
|
1221 |
|
1222 |
-
|
1223 |
-
|
1224 |
|
1225 |
-
|
1226 |
-
|
1227 |
-
|
1228 |
|
1229 |
-
|
1230 |
-
|
1231 |
-
|
1232 |
-
|
1233 |
-
acf.doAction('before_duplicate', $el);
|
1234 |
|
1235 |
-
|
1236 |
-
var $el2 = $el.clone();
|
1237 |
|
1238 |
-
|
1239 |
-
|
1240 |
-
|
1241 |
-
|
1242 |
-
|
1243 |
-
|
1244 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1245 |
});
|
1246 |
-
}
|
1247 |
|
1248 |
-
|
1249 |
-
$el2.removeClass('acf-clone');
|
1250 |
-
$el2.find('.ui-sortable').removeClass('ui-sortable');
|
1251 |
|
1252 |
-
|
1253 |
-
// - allow acf to modify DOM
|
1254 |
-
args.after($el, $el2);
|
1255 |
-
acf.doAction('after_duplicate', $el, $el2);
|
1256 |
|
1257 |
-
|
1258 |
-
|
|
|
1259 |
|
1260 |
-
|
1261 |
-
|
1262 |
-
*
|
1263 |
-
* @date 30/10/19
|
1264 |
-
* @since 5.8.7
|
1265 |
-
*
|
1266 |
-
* @param jQuery $el The original element.
|
1267 |
-
* @param jQuery $el2 The duplicated element.
|
1268 |
-
*/
|
1269 |
-
//acf.doAction('duplicate', $el, $el2 );
|
1270 |
|
1271 |
-
|
1272 |
-
|
|
|
1273 |
|
1274 |
-
|
1275 |
-
|
1276 |
-
|
|
|
|
|
1277 |
|
1278 |
-
|
1279 |
-
|
1280 |
|
1281 |
-
|
|
|
|
|
1282 |
|
1283 |
-
$(this).attr('value', this.value);
|
1284 |
|
1285 |
-
}
|
1286 |
|
1287 |
-
$layout
|
1288 |
|
1289 |
-
|
|
|
|
|
|
|
1290 |
|
1291 |
-
|
|
|
|
|
1292 |
|
1293 |
-
|
|
|
1294 |
|
1295 |
-
|
1296 |
-
|
1297 |
|
1298 |
-
|
1299 |
-
|
1300 |
|
1301 |
-
|
1302 |
|
1303 |
-
|
1304 |
|
1305 |
-
|
1306 |
-
|
1307 |
|
1308 |
-
|
1309 |
-
$(
|
1310 |
|
1311 |
-
|
|
|
|
|
1312 |
|
1313 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1314 |
|
1315 |
-
|
1316 |
-
|
|
|
|
|
|
|
1317 |
|
1318 |
-
|
1319 |
-
|
1320 |
|
1321 |
-
|
|
|
|
|
|
|
|
|
1322 |
|
1323 |
-
|
1324 |
-
|
|
|
|
|
|
|
1325 |
|
1326 |
-
|
1327 |
|
1328 |
-
|
1329 |
-
|
1330 |
|
1331 |
-
|
|
|
1332 |
|
1333 |
-
|
1334 |
|
1335 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1336 |
|
1337 |
-
|
1338 |
-
$layout.find('.acf-time-picker').each(function() {
|
1339 |
|
1340 |
-
|
1341 |
|
1342 |
-
|
1343 |
|
1344 |
-
|
|
|
|
|
|
|
1345 |
|
1346 |
-
|
1347 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1348 |
|
1349 |
-
|
1350 |
|
1351 |
-
|
|
|
|
|
1352 |
|
1353 |
-
|
|
|
1354 |
|
1355 |
-
|
1356 |
-
|
1357 |
|
1358 |
-
|
|
|
1359 |
|
1360 |
-
|
1361 |
|
1362 |
-
|
|
|
1363 |
|
1364 |
-
|
1365 |
-
|
|
|
|
|
1366 |
|
1367 |
-
|
|
|
|
|
|
|
1368 |
|
1369 |
-
|
1370 |
-
var $color_picker_proxy = $input.find('.wp-picker-container input.wp-color-picker').clone();
|
1371 |
|
1372 |
-
|
|
|
|
|
1373 |
|
1374 |
-
|
|
|
|
|
1375 |
|
1376 |
-
|
|
|
1377 |
|
1378 |
-
|
1379 |
-
$layout.find('.acf-field-post-object').each(function() {
|
1380 |
|
1381 |
-
|
|
|
1382 |
|
1383 |
-
|
|
|
|
|
|
|
|
|
1384 |
|
1385 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1386 |
|
1387 |
-
|
|
|
1388 |
|
1389 |
-
|
1390 |
-
|
1391 |
|
1392 |
-
|
|
|
|
|
|
|
|
|
|
|
1393 |
|
1394 |
-
|
|
|
|
|
|
|
|
|
|
|
1395 |
|
1396 |
-
|
|
|
1397 |
|
1398 |
-
|
|
|
|
|
|
|
1399 |
|
1400 |
-
|
1401 |
-
|
1402 |
|
1403 |
-
|
|
|
1404 |
|
1405 |
-
|
|
|
1406 |
|
1407 |
-
|
|
|
|
|
|
|
|
|
|
|
1408 |
|
1409 |
-
|
1410 |
|
1411 |
-
|
1412 |
-
$layout.find('.acf-field-font-awesome').each(function() {
|
1413 |
|
1414 |
-
|
1415 |
|
1416 |
-
|
1417 |
|
1418 |
-
|
|
|
1419 |
|
1420 |
-
|
|
|
1421 |
|
|
|
1422 |
|
1423 |
-
|
1424 |
-
$layout.find('.acf-tab-wrap').each(function() {
|
1425 |
|
1426 |
-
|
1427 |
|
1428 |
-
|
1429 |
|
1430 |
-
|
1431 |
-
$.each($wrap.find('li a'), function() {
|
1432 |
|
1433 |
-
|
1434 |
|
1435 |
-
|
1436 |
|
1437 |
-
|
1438 |
|
1439 |
-
|
|
|
|
|
1440 |
|
1441 |
-
|
1442 |
|
1443 |
-
|
|
|
|
|
|
|
1444 |
|
1445 |
-
|
1446 |
-
return;
|
1447 |
|
1448 |
-
|
1449 |
|
1450 |
-
|
|
|
|
|
1451 |
|
1452 |
-
|
|
|
1453 |
|
1454 |
-
|
|
|
|
|
|
|
1455 |
|
1456 |
-
|
|
|
1457 |
|
1458 |
-
|
1459 |
-
$layout.find('.acf-field-accordion').each(function() {
|
1460 |
|
1461 |
-
|
1462 |
|
1463 |
-
|
|
|
|
|
|
|
1464 |
|
1465 |
-
//
|
1466 |
-
$
|
1467 |
|
1468 |
-
|
|
|
1469 |
|
1470 |
-
|
|
|
|
|
|
|
1471 |
|
1472 |
-
|
1473 |
-
|
1474 |
-
|
1475 |
-
|
1476 |
|
1477 |
-
|
1478 |
-
if (flexible.has('acfeFlexibleLock')) {
|
1479 |
|
1480 |
-
flexible.
|
1481 |
-
'mouseover': 'onHover'
|
1482 |
-
});
|
1483 |
|
1484 |
-
|
1485 |
|
1486 |
-
|
1487 |
|
1488 |
-
|
1489 |
-
(
|
|
|
|
|
1490 |
|
1491 |
-
|
1492 |
-
return;
|
1493 |
-
}
|
1494 |
|
1495 |
-
|
1496 |
-
* Init
|
1497 |
-
*/
|
1498 |
-
var flexible = acf.getFieldType('flexible_content');
|
1499 |
-
var model = flexible.prototype;
|
1500 |
|
1501 |
-
|
1502 |
-
|
1503 |
-
|
1504 |
-
|
1505 |
-
model.acfeModalEdit = function(e, $el) {
|
1506 |
|
1507 |
-
|
1508 |
|
1509 |
-
|
1510 |
-
|
1511 |
|
1512 |
-
|
1513 |
-
|
1514 |
-
|
|
|
1515 |
|
1516 |
-
|
1517 |
-
var $layout_title = acfe.getTextNode($handle.find('.acfe-layout-title'));
|
1518 |
|
1519 |
-
|
1520 |
-
if (flexible.has('acfeFlexibleCloseButton')) {
|
1521 |
-
close = acf.__('Close');
|
1522 |
-
}
|
1523 |
|
1524 |
-
|
1525 |
-
new acfe.Popup($modal, {
|
1526 |
-
title: $layout_order + ' ' + $layout_title,
|
1527 |
-
footer: close,
|
1528 |
-
onOpen: function() {
|
1529 |
|
1530 |
-
|
1531 |
|
1532 |
-
|
1533 |
-
onClose: function() {
|
1534 |
|
1535 |
-
|
1536 |
|
1537 |
-
|
1538 |
-
});
|
1539 |
|
1540 |
-
|
1541 |
|
1542 |
-
|
1543 |
-
* Spawn
|
1544 |
-
*/
|
1545 |
-
acf.addAction('new_field/type=flexible_content', function(flexible) {
|
1546 |
|
1547 |
-
|
1548 |
|
1549 |
-
|
1550 |
-
|
1551 |
-
|
1552 |
-
});
|
1553 |
|
1554 |
-
// Remove placeholder Collapse Action
|
1555 |
-
flexible.removeEvents({
|
1556 |
-
'click .acfe-fc-placeholder': 'onClickCollapse'
|
1557 |
});
|
1558 |
|
1559 |
}
|
@@ -1573,974 +1707,877 @@
|
|
1573 |
var flexible = acf.getFieldType('flexible_content');
|
1574 |
var model = flexible.prototype;
|
1575 |
|
1576 |
-
/**
|
1577 |
-
* Actions
|
1578 |
-
*/
|
1579 |
-
model.
|
1580 |
-
|
1581 |
-
// Get Flexible
|
1582 |
-
var flexible = this;
|
1583 |
-
|
1584 |
-
// Validate
|
1585 |
-
if (!flexible.validateAdd())
|
1586 |
-
return false;
|
1587 |
-
|
1588 |
-
// Layout
|
1589 |
-
var $layout_source = null;
|
1590 |
-
|
1591 |
-
if ($el.hasClass('acf-icon'))
|
1592 |
-
$layout_source = $el.closest('.layout');
|
1593 |
-
|
1594 |
-
// Get Available Layouts
|
1595 |
-
var layouts = flexible.getPopupHTML();
|
1596 |
-
|
1597 |
-
// Init Categories
|
1598 |
-
var categories = {
|
1599 |
-
array: [],
|
1600 |
-
html: ''
|
1601 |
-
};
|
1602 |
-
|
1603 |
-
// Get Categories
|
1604 |
-
$(layouts).find('li a span[data-acfe-flexible-category]').each(function() {
|
1605 |
-
|
1606 |
-
var spanCats = $(this).data('acfe-flexible-category');
|
1607 |
-
|
1608 |
-
$.each(spanCats, function() {
|
1609 |
-
|
1610 |
-
if (!acfe.inArray(this, categories.array)) {
|
1611 |
-
categories.array.push(this);
|
1612 |
-
}
|
1613 |
-
|
1614 |
-
});
|
1615 |
-
|
1616 |
-
});
|
1617 |
-
|
1618 |
-
// Categories HTML
|
1619 |
-
if (categories.array.length) {
|
1620 |
|
1621 |
-
|
1622 |
|
1623 |
-
|
|
|
|
|
1624 |
|
1625 |
-
|
|
|
1626 |
|
1627 |
-
|
1628 |
-
categories.html += '<a href="#" data-acfe-flexible-category="' + category + '" class="nav-tab">' + category + '</a>';
|
1629 |
-
});
|
1630 |
|
1631 |
-
|
1632 |
|
1633 |
}
|
1634 |
|
1635 |
-
|
1636 |
-
var modalTitle = acf.__('Add Row');
|
1637 |
|
1638 |
-
|
1639 |
-
|
1640 |
-
}
|
1641 |
|
1642 |
-
//
|
1643 |
-
var
|
1644 |
-
'<div class="acfe-modal acfe-modal-select-' + flexible.get('name') + ' acfe-modal-select-' + flexible.get('key') + '">' +
|
1645 |
|
1646 |
-
|
1647 |
-
|
1648 |
-
|
1649 |
-
'</div>' +
|
1650 |
|
1651 |
-
|
|
|
1652 |
|
1653 |
-
|
|
|
1654 |
|
1655 |
-
|
1656 |
-
new acfe.Popup($modal, {
|
1657 |
-
title: modalTitle,
|
1658 |
-
size: flexible.get('acfeFlexibleModalSize'),
|
1659 |
-
destroy: true
|
1660 |
-
});
|
1661 |
|
1662 |
-
|
1663 |
-
|
1664 |
|
1665 |
-
|
1666 |
|
1667 |
-
|
|
|
|
|
|
|
1668 |
|
1669 |
-
|
1670 |
-
if (flexible.has('acfeFlexibleThumbnails')) {
|
1671 |
|
1672 |
-
$
|
1673 |
|
1674 |
-
|
|
|
1675 |
|
1676 |
-
|
1677 |
-
$modal.find('li:first-of-type a').blur();
|
1678 |
|
1679 |
-
|
1680 |
-
$modal.find('li a span.badge').each(function() {
|
1681 |
|
1682 |
-
|
1683 |
|
1684 |
-
$
|
1685 |
|
1686 |
-
|
1687 |
|
1688 |
-
|
1689 |
-
|
1690 |
|
1691 |
-
|
1692 |
|
1693 |
-
|
1694 |
|
1695 |
-
|
1696 |
-
|
|
|
1697 |
|
1698 |
-
|
1699 |
|
1700 |
-
|
1701 |
|
1702 |
-
|
1703 |
-
|
|
|
1704 |
|
1705 |
-
|
1706 |
-
|
|
|
1707 |
|
1708 |
-
|
1709 |
|
1710 |
-
|
1711 |
-
if (selected_category !== 'acfe-all') {
|
1712 |
|
1713 |
-
|
1714 |
-
$span.closest('li').hide();
|
1715 |
|
1716 |
-
|
1717 |
|
1718 |
-
|
|
|
|
|
1719 |
|
1720 |
-
|
1721 |
-
|
|
|
1722 |
|
1723 |
-
|
|
|
1724 |
|
1725 |
-
|
1726 |
|
1727 |
-
|
|
|
|
|
1728 |
|
1729 |
-
|
|
|
1730 |
|
1731 |
-
|
|
|
1732 |
|
1733 |
-
// Modal
|
1734 |
-
$modal.
|
|
|
1735 |
|
1736 |
-
|
|
|
1737 |
|
1738 |
-
|
1739 |
-
|
|
|
|
|
|
|
1740 |
|
1741 |
-
|
1742 |
-
|
1743 |
-
|
1744 |
-
before: $layout_source
|
1745 |
-
});
|
1746 |
|
|
|
1747 |
});
|
1748 |
|
1749 |
}
|
1750 |
|
1751 |
/**
|
1752 |
-
*
|
1753 |
*/
|
1754 |
-
|
|
|
1755 |
|
1756 |
-
|
1757 |
-
|
1758 |
|
1759 |
// Vars
|
1760 |
-
var $
|
|
|
|
|
1761 |
|
1762 |
-
if (
|
1763 |
return;
|
1764 |
|
1765 |
-
|
1766 |
-
flexible.removeEvents({
|
1767 |
-
'click [data-name="add-layout"]': 'onClickAdd'
|
1768 |
-
});
|
1769 |
|
1770 |
-
|
1771 |
-
|
1772 |
-
'click [data-name="add-layout"]': 'acfeModalSelect'
|
1773 |
-
});
|
1774 |
|
1775 |
-
|
1776 |
|
1777 |
-
|
1778 |
-
(
|
|
|
|
|
1779 |
|
1780 |
-
if (typeof acf === 'undefined' || typeof acfe === 'undefined') {
|
1781 |
-
return;
|
1782 |
}
|
1783 |
|
1784 |
/**
|
1785 |
-
*
|
1786 |
*/
|
1787 |
-
|
1788 |
-
|
1789 |
-
acf.models.FlexibleContentField = FlexibleContent.extend({
|
1790 |
-
|
1791 |
-
addSortable: function(self) {
|
1792 |
-
|
1793 |
-
// bail early if max 1 row
|
1794 |
-
if (this.get('max') == 1) {
|
1795 |
-
return;
|
1796 |
-
}
|
1797 |
-
|
1798 |
-
// add sortable
|
1799 |
-
this.$layoutsWrap().sortable({
|
1800 |
-
items: ' > .layout',
|
1801 |
-
handle: '> .acf-fc-layout-handle',
|
1802 |
-
forceHelperSize: false, // Changed to false
|
1803 |
-
forcePlaceholderSize: true,
|
1804 |
-
revert: 50,
|
1805 |
-
tolerance: "pointer", // Changed to pointer
|
1806 |
-
scroll: true,
|
1807 |
-
stop: function(event, ui) {
|
1808 |
-
self.render();
|
1809 |
-
},
|
1810 |
-
update: function(event, ui) {
|
1811 |
-
self.$input().trigger('change');
|
1812 |
-
}
|
1813 |
-
});
|
1814 |
-
|
1815 |
-
},
|
1816 |
-
|
1817 |
-
acfeOneClick: function(e, $el) {
|
1818 |
|
1819 |
-
|
1820 |
-
|
1821 |
-
var $layout_name = $($clones[0]).data('layout');
|
1822 |
|
1823 |
-
|
1824 |
-
|
1825 |
|
1826 |
-
|
1827 |
-
|
1828 |
-
}
|
1829 |
|
1830 |
-
|
1831 |
-
this.add({
|
1832 |
-
layout: $layout_name,
|
1833 |
-
before: $layout_source
|
1834 |
-
});
|
1835 |
|
1836 |
-
|
1837 |
-
var acfPopup = $('.acf-fc-popup');
|
1838 |
|
1839 |
-
|
1840 |
-
acfPopup.hide();
|
1841 |
-
}
|
1842 |
|
|
|
1843 |
|
1844 |
-
}
|
1845 |
|
1846 |
-
|
1847 |
|
1848 |
-
|
1849 |
-
|
1850 |
-
|
1851 |
-
var $el = this.$el;
|
1852 |
|
1853 |
-
|
1854 |
-
|
1855 |
-
var index = $layout.index();
|
1856 |
|
1857 |
-
|
1858 |
-
|
|
|
1859 |
|
1860 |
-
|
1861 |
-
|
|
|
1862 |
|
1863 |
-
|
1864 |
-
|
|
|
|
|
|
|
1865 |
|
1866 |
-
|
|
|
|
|
|
|
|
|
1867 |
|
1868 |
-
|
|
|
1869 |
|
1870 |
-
|
1871 |
-
|
1872 |
|
1873 |
-
|
1874 |
-
$placeholder.find('> .acfe-fc-overlay').addClass('-hover');
|
1875 |
|
1876 |
-
|
1877 |
-
var $input = $layout.children('input');
|
1878 |
-
var prefix = $input.attr('name').replace('[acf_fc_layout]', '');
|
1879 |
|
1880 |
-
|
1881 |
-
var ajaxData = {
|
1882 |
-
action: 'acfe/flexible/layout_preview',
|
1883 |
-
field_key: key,
|
1884 |
-
i: index,
|
1885 |
-
layout: layout,
|
1886 |
-
value: acf.serialize($layout, prefix)
|
1887 |
-
};
|
1888 |
|
1889 |
-
|
1890 |
-
|
1891 |
-
acf.doAction('acfe/fields/flexible_content/before_preview/key=' + key, $el, $layout, ajaxData);
|
1892 |
-
acf.doAction('acfe/fields/flexible_content/before_preview/name=' + name + '&layout=' + layout, $el, $layout, ajaxData);
|
1893 |
-
acf.doAction('acfe/fields/flexible_content/before_preview/key=' + key + '&layout=' + layout, $el, $layout, ajaxData);
|
1894 |
|
1895 |
-
|
1896 |
-
var onSuccess = function(response) {
|
1897 |
|
1898 |
-
|
1899 |
-
|
1900 |
-
} else {
|
1901 |
-
$placeholder.removeClass('acfe-fc-preview');
|
1902 |
-
}
|
1903 |
|
1904 |
-
|
1905 |
-
acf.doAction('acfe/fields/flexible_content/preview/name=' + name, response, $el, $layout, ajaxData);
|
1906 |
-
acf.doAction('acfe/fields/flexible_content/preview/key=' + key, response, $el, $layout, ajaxData);
|
1907 |
-
acf.doAction('acfe/fields/flexible_content/preview/name=' + name + '&layout=' + layout, response, $el, $layout, ajaxData);
|
1908 |
-
acf.doAction('acfe/fields/flexible_content/preview/key=' + key + '&layout=' + layout, response, $el, $layout, ajaxData);
|
1909 |
|
1910 |
-
|
|
|
|
|
|
|
|
|
|
|
1911 |
|
1912 |
-
|
1913 |
-
var onComplete = function() {
|
1914 |
|
1915 |
-
|
1916 |
-
|
|
|
1917 |
|
1918 |
-
|
|
|
1919 |
|
1920 |
-
|
1921 |
-
|
1922 |
-
|
1923 |
-
data: acf.prepareForAjax(ajaxData),
|
1924 |
-
dataType: 'html',
|
1925 |
-
type: 'post',
|
1926 |
-
success: onSuccess,
|
1927 |
-
complete: onComplete
|
1928 |
-
});
|
1929 |
|
1930 |
-
|
|
|
1931 |
|
1932 |
-
|
|
|
1933 |
|
1934 |
-
|
|
|
|
|
|
|
|
|
1935 |
|
1936 |
-
|
1937 |
-
|
1938 |
-
|
1939 |
-
new acf.Model({
|
1940 |
|
1941 |
-
|
1942 |
-
|
1943 |
-
'
|
1944 |
-
'show': 'onShow',
|
1945 |
-
'hide': 'onHide',
|
1946 |
-
'append': 'onAppend',
|
1947 |
-
'invalid_field': 'onInvalidField',
|
1948 |
-
'valid_field': 'onValidField',
|
1949 |
-
},
|
1950 |
|
1951 |
-
|
|
|
|
|
1952 |
|
1953 |
-
|
1954 |
-
|
1955 |
-
var $layouts = flexible.$layouts();
|
1956 |
|
1957 |
-
|
1958 |
-
$layouts.each(function() {
|
1959 |
|
1960 |
-
|
1961 |
-
|
1962 |
|
1963 |
-
|
1964 |
-
|
1965 |
|
1966 |
-
|
|
|
|
|
1967 |
|
1968 |
-
|
1969 |
-
|
1970 |
|
1971 |
-
|
1972 |
-
|
1973 |
-
'click [data-name="add-layout"]': 'onClickAdd'
|
1974 |
-
});
|
1975 |
|
1976 |
-
|
1977 |
-
|
1978 |
-
|
1979 |
-
|
|
|
1980 |
|
1981 |
-
|
|
|
|
|
1982 |
|
1983 |
-
|
1984 |
-
|
1985 |
-
|
1986 |
|
1987 |
-
|
1988 |
-
|
1989 |
-
|
1990 |
|
1991 |
-
|
1992 |
-
if (flexible.has('acfeFlexibleAjax')) {
|
1993 |
|
1994 |
-
|
1995 |
|
1996 |
-
|
1997 |
-
|
1998 |
|
1999 |
-
|
2000 |
-
|
2001 |
-
layout: '',
|
2002 |
-
before: false
|
2003 |
-
});
|
2004 |
|
2005 |
-
|
2006 |
-
if (!this.allowAdd()) {
|
2007 |
-
return false;
|
2008 |
-
}
|
2009 |
|
2010 |
-
|
2011 |
-
|
2012 |
-
|
2013 |
-
data: acf.prepareForAjax({
|
2014 |
-
action: 'acfe/flexible/models',
|
2015 |
-
field_key: this.get('key'),
|
2016 |
-
layout: args.layout,
|
2017 |
-
}),
|
2018 |
-
dataType: 'html',
|
2019 |
-
type: 'post',
|
2020 |
-
beforeSend: function() {
|
2021 |
-
$('body').addClass('-loading');
|
2022 |
-
},
|
2023 |
-
success: function(html) {
|
2024 |
-
if (html) {
|
2025 |
|
2026 |
-
|
2027 |
-
var uniqid = acf.uniqid();
|
2028 |
|
2029 |
-
|
2030 |
-
|
|
|
|
|
2031 |
|
2032 |
-
|
2033 |
-
|
2034 |
-
target: $layout,
|
2035 |
-
search: search,
|
2036 |
-
replace: replace,
|
2037 |
-
append: flexible.proxy(function($el, $el2) {
|
2038 |
|
2039 |
-
|
2040 |
-
|
2041 |
-
args.before.before($el2);
|
2042 |
-
} else {
|
2043 |
-
flexible.$layoutsWrap().append($el2);
|
2044 |
-
}
|
2045 |
|
2046 |
-
|
2047 |
-
|
|
|
2048 |
|
2049 |
-
|
2050 |
-
|
2051 |
-
|
2052 |
-
|
|
|
2053 |
|
2054 |
-
|
2055 |
-
|
2056 |
|
2057 |
-
|
2058 |
-
|
2059 |
|
2060 |
-
|
2061 |
-
|
2062 |
|
2063 |
-
|
2064 |
-
|
2065 |
-
|
2066 |
-
|
2067 |
-
|
2068 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2069 |
|
2070 |
-
|
|
|
2071 |
|
2072 |
-
}
|
2073 |
|
2074 |
-
|
|
|
|
|
2075 |
|
2076 |
-
|
|
|
2077 |
|
2078 |
-
|
2079 |
-
|
|
|
2080 |
|
2081 |
-
|
2082 |
-
|
|
|
|
|
|
|
|
|
2083 |
|
2084 |
-
|
2085 |
|
2086 |
-
|
2087 |
|
2088 |
-
|
|
|
2089 |
|
2090 |
-
|
2091 |
|
2092 |
-
|
2093 |
|
2094 |
-
|
|
|
|
|
2095 |
|
2096 |
-
|
|
|
2097 |
|
2098 |
-
|
|
|
2099 |
|
2100 |
-
|
2101 |
-
|
|
|
|
|
|
|
2102 |
}
|
|
|
2103 |
|
2104 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2105 |
|
2106 |
-
// Hide Placeholder
|
2107 |
-
if (!flexible.has('acfeFlexibleModalEdition')) {
|
2108 |
-
$layout.find('> .acfe-fc-placeholder').addClass('acf-hidden');
|
2109 |
}
|
|
|
2110 |
|
2111 |
-
|
2112 |
|
2113 |
-
|
2114 |
|
2115 |
-
|
2116 |
-
|
2117 |
-
}
|
2118 |
|
2119 |
-
|
2120 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
2121 |
|
2122 |
-
|
2123 |
-
|
2124 |
-
|
2125 |
-
}
|
2126 |
|
2127 |
-
|
2128 |
-
flexible.acfeLayoutInit($layout);
|
2129 |
|
2130 |
-
|
2131 |
|
2132 |
-
|
|
|
|
|
2133 |
|
2134 |
-
// Bail early if layout is not layout
|
2135 |
-
if (!$el.is('.layout')) {
|
2136 |
-
return;
|
2137 |
}
|
2138 |
|
2139 |
-
|
2140 |
-
var flexible = acf.getInstance($el.closest('.acf-field-flexible-content'));
|
2141 |
|
2142 |
-
|
2143 |
-
if (!$el.is('.acfe-layout-duplicated')) {
|
2144 |
|
2145 |
-
|
2146 |
-
|
2147 |
-
|
2148 |
-
|
|
|
2149 |
|
2150 |
-
//
|
2151 |
-
|
2152 |
-
flexible.openLayout($el);
|
2153 |
-
}
|
2154 |
|
2155 |
-
|
|
|
2156 |
|
2157 |
-
|
|
|
2158 |
|
2159 |
-
|
|
|
2160 |
|
2161 |
-
|
2162 |
|
2163 |
-
//
|
2164 |
-
|
2165 |
-
scrollTop: parseInt($el.offset().top) - 200
|
2166 |
-
}, 200);
|
2167 |
|
2168 |
-
|
2169 |
|
2170 |
-
|
2171 |
|
2172 |
-
|
2173 |
-
|
2174 |
-
scrollTop: parseInt($el.offset().top) - 200
|
2175 |
-
}, 200);
|
2176 |
|
2177 |
-
|
|
|
2178 |
|
2179 |
-
|
2180 |
-
|
2181 |
|
2182 |
-
|
2183 |
-
$('html, body').animate({
|
2184 |
-
scrollTop: parseInt($el.offset().top) - 200
|
2185 |
-
}, 200);
|
2186 |
|
2187 |
-
|
|
|
2188 |
|
2189 |
-
|
|
|
2190 |
|
2191 |
-
|
|
|
2192 |
|
2193 |
-
}
|
2194 |
|
2195 |
-
|
|
|
2196 |
|
2197 |
-
|
|
|
|
|
|
|
|
|
2198 |
|
2199 |
-
|
2200 |
|
2201 |
-
|
2202 |
|
2203 |
-
|
2204 |
|
2205 |
-
|
2206 |
|
2207 |
-
if (!$layout.find('.acf-error').length) {
|
2208 |
-
$layout.removeClass('acfe-flexible-modal-edit-error');
|
2209 |
}
|
2210 |
|
2211 |
});
|
2212 |
|
2213 |
}
|
2214 |
|
2215 |
-
});
|
2216 |
|
2217 |
-
|
2218 |
-
|
2219 |
|
2220 |
-
if (typeof acf === 'undefined' || typeof acfe === 'undefined') {
|
2221 |
-
return;
|
2222 |
}
|
2223 |
|
2224 |
/**
|
2225 |
-
*
|
|
|
|
|
|
|
2226 |
*/
|
2227 |
-
|
2228 |
|
2229 |
-
|
|
|
|
|
|
|
|
|
|
|
2230 |
|
2231 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2232 |
|
2233 |
-
|
2234 |
-
|
2235 |
-
'duplicateField': 'onDuplicate'
|
2236 |
-
},
|
2237 |
|
2238 |
-
|
|
|
2239 |
|
2240 |
-
|
|
|
|
|
2241 |
|
2242 |
-
|
|
|
|
|
|
|
|
|
2243 |
|
2244 |
-
|
2245 |
-
|
2246 |
|
2247 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2248 |
|
2249 |
-
|
|
|
|
|
2250 |
|
2251 |
-
|
|
|
|
|
|
|
2252 |
|
2253 |
-
|
2254 |
-
|
2255 |
|
2256 |
-
|
2257 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2258 |
|
2259 |
-
|
2260 |
-
|
2261 |
|
2262 |
-
|
2263 |
-
|
2264 |
-
|
2265 |
|
2266 |
-
|
|
|
2267 |
|
2268 |
-
|
2269 |
|
2270 |
-
|
2271 |
-
if (!title.length) {
|
2272 |
-
title = this.get('acfeGroupModalButton');
|
2273 |
-
}
|
2274 |
|
2275 |
-
|
2276 |
-
var close = false;
|
2277 |
|
2278 |
-
|
2279 |
-
close = acf.__('Close');
|
2280 |
-
}
|
2281 |
|
2282 |
-
|
2283 |
-
var size = 'large';
|
2284 |
|
2285 |
-
|
2286 |
-
size = this.get('acfeGroupModalSize');
|
2287 |
-
}
|
2288 |
|
2289 |
-
|
2290 |
-
new acfe.Popup($modal, {
|
2291 |
-
title: title,
|
2292 |
-
size: size,
|
2293 |
-
footer: close
|
2294 |
-
});
|
2295 |
|
2296 |
-
|
|
|
2297 |
|
2298 |
-
|
2299 |
-
|
2300 |
-
}
|
2301 |
|
2302 |
-
|
2303 |
|
2304 |
-
|
2305 |
|
2306 |
-
|
2307 |
-
(
|
2308 |
|
2309 |
-
|
2310 |
-
|
2311 |
-
}
|
2312 |
|
2313 |
-
|
2314 |
-
* Field: Radio
|
2315 |
-
*/
|
2316 |
-
new acf.Model({
|
2317 |
|
2318 |
-
|
2319 |
-
'new_field': 'newField',
|
2320 |
-
},
|
2321 |
|
2322 |
-
|
|
|
2323 |
|
2324 |
-
|
2325 |
-
|
2326 |
-
return false;
|
2327 |
-
}
|
2328 |
|
2329 |
-
|
2330 |
-
var type = field.has('rtype') ? field.get('rtype') : field.get('type');
|
2331 |
|
2332 |
-
|
2333 |
-
|
2334 |
|
2335 |
-
}
|
2336 |
|
2337 |
-
|
|
|
2338 |
|
2339 |
-
|
2340 |
-
if (!this.validateField(field)) {
|
2341 |
-
return;
|
2342 |
-
}
|
2343 |
|
2344 |
-
|
2345 |
-
var label, item;
|
2346 |
-
var labels = field.get('acfeLabels');
|
2347 |
|
2348 |
-
|
2349 |
-
for (label in labels) {
|
2350 |
|
2351 |
-
|
2352 |
-
|
2353 |
|
2354 |
-
|
2355 |
|
2356 |
-
|
2357 |
-
if (field.$control().hasClass('acf-hl')) {
|
2358 |
|
2359 |
-
|
2360 |
-
$(this).nextUntil('li.parent').addBack().wrapAll('<li><ul></ul></li>');
|
2361 |
-
});
|
2362 |
|
2363 |
-
|
|
|
2364 |
|
2365 |
-
|
2366 |
|
2367 |
-
|
2368 |
|
2369 |
-
})
|
2370 |
-
(function($) {
|
2371 |
|
2372 |
-
|
2373 |
-
|
2374 |
-
}
|
2375 |
|
2376 |
-
|
2377 |
-
* Field: reCaptcha
|
2378 |
-
*/
|
2379 |
-
var reCaptcha = acf.Field.extend({
|
2380 |
|
2381 |
-
|
2382 |
|
2383 |
-
|
2384 |
|
2385 |
-
|
2386 |
-
|
2387 |
-
},
|
2388 |
|
2389 |
-
|
2390 |
-
return this.$('.acfe-field-recaptcha');
|
2391 |
-
},
|
2392 |
|
2393 |
-
|
2394 |
-
|
2395 |
-
},
|
2396 |
|
2397 |
-
|
2398 |
-
return this.$control().find('> div');
|
2399 |
-
},
|
2400 |
|
2401 |
-
|
2402 |
-
return this.$selector()[0];
|
2403 |
-
},
|
2404 |
|
2405 |
-
|
2406 |
|
2407 |
-
|
|
|
2408 |
|
2409 |
-
|
2410 |
|
2411 |
-
|
2412 |
|
2413 |
-
|
2414 |
|
2415 |
-
|
2416 |
|
2417 |
-
|
|
|
2418 |
|
2419 |
-
|
2420 |
|
2421 |
-
|
2422 |
-
var selector = this.selector();
|
2423 |
-
var $input = this.$input();
|
2424 |
|
2425 |
-
|
2426 |
-
var sitekey = this.get('siteKey');
|
2427 |
-
var theme = this.get('theme');
|
2428 |
-
var size = this.get('size');
|
2429 |
|
2430 |
-
|
2431 |
-
this.recaptcha = grecaptcha.render(selector, {
|
2432 |
-
'sitekey': sitekey,
|
2433 |
-
'theme': theme,
|
2434 |
-
'size': size,
|
2435 |
|
2436 |
-
|
2437 |
-
|
2438 |
-
self.removeError();
|
2439 |
-
},
|
2440 |
|
2441 |
-
|
2442 |
-
acf.val($input, '', true);
|
2443 |
-
self.showError('An error has occured');
|
2444 |
-
},
|
2445 |
|
2446 |
-
|
2447 |
-
acf.val($input, '', true);
|
2448 |
-
self.showError('reCaptcha has expired');
|
2449 |
-
}
|
2450 |
-
});
|
2451 |
|
2452 |
-
|
2453 |
|
2454 |
-
|
2455 |
|
2456 |
-
|
2457 |
-
|
2458 |
-
var sitekey = this.get('siteKey');
|
2459 |
|
2460 |
-
|
2461 |
-
grecaptcha.ready(function() {
|
2462 |
-
grecaptcha.execute(sitekey, {
|
2463 |
-
action: 'homepage'
|
2464 |
-
}).then(function(response) {
|
2465 |
|
2466 |
-
|
2467 |
|
2468 |
-
|
2469 |
-
});
|
2470 |
|
2471 |
-
}
|
2472 |
|
2473 |
-
validationFailure: function($form) {
|
2474 |
|
2475 |
-
|
2476 |
-
|
2477 |
-
}
|
2478 |
|
2479 |
-
|
2480 |
|
2481 |
-
|
2482 |
|
2483 |
-
|
|
|
2484 |
|
2485 |
-
|
2486 |
-
(function($) {
|
2487 |
|
2488 |
-
|
2489 |
-
return;
|
2490 |
-
}
|
2491 |
|
2492 |
-
|
2493 |
-
* Init
|
2494 |
-
*/
|
2495 |
-
var repeater = acf.getFieldType('repeater');
|
2496 |
-
var model = repeater.prototype;
|
2497 |
|
2498 |
-
|
2499 |
-
model.acfeOnHover = function() {
|
2500 |
|
2501 |
-
|
2502 |
|
2503 |
-
|
2504 |
-
repeater.off('mouseover');
|
2505 |
|
2506 |
-
|
|
|
2507 |
|
2508 |
-
|
2509 |
-
* Spawn
|
2510 |
-
*/
|
2511 |
-
acf.addAction('new_field/type=repeater', function(repeater) {
|
2512 |
|
2513 |
-
|
2514 |
-
if (repeater.has('acfeRepeaterLock')) {
|
2515 |
|
2516 |
-
repeater.removeEvents({
|
2517 |
-
'mouseover': 'onHover'
|
2518 |
});
|
2519 |
|
2520 |
-
|
2521 |
-
'mouseover': 'acfeOnHover'
|
2522 |
-
});
|
2523 |
|
2524 |
-
}
|
2525 |
|
2526 |
-
//
|
2527 |
-
|
2528 |
|
2529 |
-
|
2530 |
|
2531 |
-
|
2532 |
-
repeater.$rows().find('> .acf-row-handle:last').remove();
|
2533 |
|
2534 |
-
|
|
|
2535 |
|
|
|
2536 |
|
2537 |
-
|
2538 |
|
2539 |
-
|
2540 |
-
|
|
|
|
|
2541 |
|
2542 |
-
|
2543 |
-
|
|
|
|
|
|
|
|
|
2544 |
|
2545 |
}
|
2546 |
|
@@ -2554,282 +2591,274 @@
|
|
2554 |
}
|
2555 |
|
2556 |
/**
|
2557 |
-
*
|
2558 |
*/
|
2559 |
-
|
2560 |
-
|
2561 |
-
actions: {
|
2562 |
-
'select2_init': 'init',
|
2563 |
-
},
|
2564 |
-
|
2565 |
-
filters: {
|
2566 |
-
'select2_args': 'args',
|
2567 |
-
'select2_ajax_data': 'ajax',
|
2568 |
-
},
|
2569 |
-
|
2570 |
-
init: function($select, options, data, field, instance) {
|
2571 |
-
|
2572 |
-
acf.doAction('select2_init/type=' + field.get('type'), $select, options, data, field, instance);
|
2573 |
-
acf.doAction('select2_init/name=' + field.get('name'), $select, options, data, field, instance);
|
2574 |
-
acf.doAction('select2_init/key=' + field.get('key'), $select, options, data, field, instance);
|
2575 |
-
|
2576 |
-
},
|
2577 |
|
2578 |
-
|
|
|
|
|
|
|
|
|
2579 |
|
2580 |
-
|
2581 |
-
options = acf.applyFilters('select2_args/name=' + field.get('name'), options, $select, data, field, instance);
|
2582 |
-
options = acf.applyFilters('select2_args/key=' + field.get('key'), options, $select, data, field, instance);
|
2583 |
|
2584 |
-
|
|
|
2585 |
|
2586 |
-
|
|
|
|
|
2587 |
|
2588 |
-
|
|
|
2589 |
|
2590 |
-
|
2591 |
-
ajaxData = acf.applyFilters('select2_ajax_data/name=' + field.get('name'), ajaxData, data, $el, field, instance);
|
2592 |
-
ajaxData = acf.applyFilters('select2_ajax_data/key=' + field.get('key'), ajaxData, data, $el, field, instance);
|
2593 |
|
2594 |
-
|
2595 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2596 |
}
|
|
|
2597 |
|
2598 |
-
|
2599 |
-
|
2600 |
-
}
|
2601 |
-
|
2602 |
-
});
|
2603 |
|
2604 |
/**
|
2605 |
-
*
|
2606 |
*/
|
2607 |
-
|
2608 |
-
|
2609 |
-
wait: 'load',
|
2610 |
-
priority: 20,
|
2611 |
-
actions: {
|
2612 |
-
'append_field/type=select': 'closeOnClear'
|
2613 |
-
},
|
2614 |
-
|
2615 |
-
initialize: function() {
|
2616 |
-
|
2617 |
-
acf.getFields({
|
2618 |
-
type: 'select'
|
2619 |
-
}).map(this.proxy(this.closeOnClear));
|
2620 |
-
|
2621 |
-
},
|
2622 |
|
2623 |
-
|
2624 |
|
2625 |
-
|
2626 |
-
|
2627 |
-
|
|
|
2628 |
|
2629 |
-
//
|
2630 |
-
|
2631 |
-
|
2632 |
-
$(this).on('select2:opening.cancelOpen', function(e) {
|
2633 |
-
e.preventDefault();
|
2634 |
-
$(this).off("select2:opening.cancelOpen");
|
2635 |
-
});
|
2636 |
});
|
2637 |
|
2638 |
}
|
2639 |
|
2640 |
});
|
2641 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2642 |
/**
|
2643 |
-
*
|
2644 |
*/
|
2645 |
-
|
2646 |
|
2647 |
-
|
2648 |
-
'new_field/type=select': 'newField',
|
2649 |
-
'select2_init': 'init',
|
2650 |
-
},
|
2651 |
|
2652 |
-
|
2653 |
-
'
|
2654 |
},
|
2655 |
|
2656 |
-
|
2657 |
-
|
2658 |
-
// inherit properties
|
2659 |
-
field.inherit(field.$input());
|
2660 |
-
|
2661 |
-
// remove "- -" characters from placeholder
|
2662 |
-
// ACF already apply it to all Select2
|
2663 |
-
if (!field.get('ui') && field.get('allow_null')) {
|
2664 |
|
2665 |
-
|
2666 |
|
2667 |
-
|
2668 |
-
|
2669 |
-
}
|
2670 |
|
2671 |
-
|
2672 |
-
|
2673 |
-
|
|
|
2674 |
|
2675 |
-
|
2676 |
-
|
2677 |
|
2678 |
-
|
|
|
2679 |
|
2680 |
-
|
|
|
|
|
|
|
|
|
|
|
2681 |
|
2682 |
-
|
2683 |
-
|
|
|
|
|
2684 |
|
2685 |
-
|
|
|
|
|
2686 |
|
2687 |
-
|
2688 |
|
2689 |
-
|
2690 |
-
|
|
|
2691 |
}
|
2692 |
|
2693 |
-
|
2694 |
-
|
2695 |
-
|
2696 |
}
|
2697 |
|
2698 |
-
|
2699 |
-
|
2700 |
-
|
2701 |
}
|
2702 |
|
2703 |
-
|
2704 |
-
|
2705 |
-
|
2706 |
-
|
2707 |
-
},
|
2708 |
-
|
2709 |
-
init: function($select, options, data, field, instance) {
|
2710 |
|
2711 |
-
|
2712 |
-
|
2713 |
|
2714 |
-
|
2715 |
-
.addClass('select2-dropdown-acf')
|
2716 |
-
.addClass('select2-dropdown-acf-field-' + field.get('name'))
|
2717 |
-
.addClass('select2-dropdown-acf-field-' + field.get('key'));
|
2718 |
|
2719 |
-
|
2720 |
|
2721 |
-
|
2722 |
-
|
2723 |
|
2724 |
-
|
2725 |
-
|
|
|
2726 |
|
2727 |
-
|
|
|
2728 |
|
2729 |
-
|
|
|
2730 |
|
2731 |
-
|
|
|
2732 |
|
2733 |
-
|
|
|
|
|
|
|
2734 |
|
2735 |
-
|
|
|
2736 |
|
2737 |
-
|
|
|
|
|
2738 |
|
2739 |
-
|
|
|
2740 |
|
2741 |
-
|
2742 |
-
|
2743 |
|
2744 |
-
|
|
|
|
|
2745 |
|
2746 |
-
|
|
|
2747 |
|
2748 |
-
|
2749 |
|
2750 |
-
|
2751 |
-
return null;
|
2752 |
-
}
|
2753 |
|
2754 |
-
|
2755 |
|
2756 |
-
|
2757 |
-
var results = acf.isget(this, '_request', 'responseJSON', 'results');
|
2758 |
|
2759 |
-
//
|
2760 |
-
|
2761 |
|
2762 |
-
|
|
|
|
|
|
|
|
|
2763 |
|
2764 |
-
|
2765 |
-
|
2766 |
-
}
|
2767 |
|
2768 |
-
|
2769 |
-
if (this.id.toLowerCase() === term.toLowerCase()) {
|
2770 |
-
found = true;
|
2771 |
-
return false;
|
2772 |
-
}
|
2773 |
-
});
|
2774 |
|
2775 |
-
|
2776 |
-
return false;
|
2777 |
-
}
|
2778 |
|
2779 |
-
|
|
|
2780 |
|
2781 |
-
|
2782 |
-
|
|
|
2783 |
|
2784 |
-
|
2785 |
-
|
2786 |
-
found = true;
|
2787 |
-
return false;
|
2788 |
-
}
|
2789 |
-
});
|
2790 |
|
2791 |
-
|
|
|
2792 |
|
2793 |
-
//
|
2794 |
-
|
2795 |
-
return null;
|
2796 |
-
}
|
2797 |
|
2798 |
-
//
|
2799 |
-
|
2800 |
-
id: term,
|
2801 |
-
text: term
|
2802 |
-
};
|
2803 |
|
2804 |
-
|
|
|
2805 |
|
2806 |
-
|
|
|
|
|
|
|
2807 |
|
2808 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
2809 |
|
2810 |
-
|
|
|
2811 |
|
2812 |
-
|
|
|
2813 |
|
2814 |
-
|
2815 |
-
|
2816 |
|
|
|
|
|
2817 |
});
|
2818 |
|
2819 |
-
|
2820 |
-
data.unshift(tag);
|
2821 |
-
}
|
2822 |
|
2823 |
-
}
|
2824 |
|
2825 |
}
|
2826 |
|
2827 |
-
return
|
2828 |
|
2829 |
},
|
2830 |
|
2831 |
});
|
2832 |
|
|
|
|
|
2833 |
})(jQuery);
|
2834 |
(function($) {
|
2835 |
|
@@ -2838,39 +2867,86 @@
|
|
2838 |
}
|
2839 |
|
2840 |
/**
|
2841 |
-
* Field:
|
2842 |
*/
|
2843 |
-
var
|
2844 |
|
2845 |
-
|
|
|
|
|
2846 |
|
2847 |
events: {
|
2848 |
-
'
|
2849 |
-
'
|
2850 |
},
|
2851 |
|
2852 |
-
|
2853 |
|
2854 |
-
|
2855 |
-
|
2856 |
-
.
|
2857 |
-
|
2858 |
-
.
|
2859 |
-
.
|
|
|
|
|
2860 |
|
2861 |
},
|
2862 |
|
2863 |
-
|
2864 |
|
2865 |
-
|
2866 |
-
|
2867 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2868 |
|
2869 |
},
|
2870 |
|
|
|
|
|
|
|
|
|
2871 |
});
|
2872 |
|
2873 |
-
acf.registerFieldType(
|
2874 |
|
2875 |
})(jQuery);
|
2876 |
(function($) {
|
@@ -2880,41 +2956,54 @@
|
|
2880 |
}
|
2881 |
|
2882 |
/**
|
2883 |
-
* Field:
|
2884 |
*/
|
2885 |
new acf.Model({
|
2886 |
|
2887 |
actions: {
|
2888 |
-
'
|
2889 |
},
|
2890 |
|
2891 |
-
|
2892 |
|
2893 |
-
|
|
|
|
|
|
|
2894 |
|
2895 |
-
|
2896 |
-
var
|
2897 |
-
var key = field.get('key');
|
2898 |
|
2899 |
-
|
|
|
2900 |
|
2901 |
-
|
2902 |
|
2903 |
-
|
2904 |
|
2905 |
-
|
|
|
|
|
|
|
2906 |
|
2907 |
-
|
|
|
|
|
2908 |
|
2909 |
-
|
2910 |
-
|
2911 |
|
2912 |
-
|
|
|
2913 |
|
2914 |
-
|
2915 |
|
2916 |
-
|
2917 |
-
|
|
|
|
|
|
|
|
|
2918 |
|
2919 |
}
|
2920 |
|
@@ -2925,46 +3014,118 @@
|
|
2925 |
})(jQuery);
|
2926 |
(function($) {
|
2927 |
|
2928 |
-
if (typeof acf === 'undefined' || typeof acfe === 'undefined') {
|
2929 |
-
return;
|
2930 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2931 |
|
2932 |
-
|
2933 |
-
|
2934 |
-
|
2935 |
-
|
2936 |
|
2937 |
-
|
|
|
|
|
|
|
|
|
2938 |
|
2939 |
-
events: {
|
2940 |
-
'keydown textarea': 'onInput',
|
2941 |
},
|
2942 |
|
2943 |
-
|
2944 |
|
2945 |
-
//
|
2946 |
-
|
|
|
2947 |
|
2948 |
-
//
|
2949 |
-
|
|
|
|
|
|
|
2950 |
|
2951 |
-
|
2952 |
|
2953 |
-
|
|
|
2954 |
|
2955 |
-
|
2956 |
|
2957 |
-
|
2958 |
-
return v.substring(0, s) + " " + v.substring(input.selectionEnd)
|
2959 |
-
});
|
2960 |
|
2961 |
-
|
|
|
|
|
2962 |
|
2963 |
-
}
|
2964 |
|
2965 |
});
|
2966 |
|
2967 |
-
acf.registerFieldType(
|
2968 |
|
2969 |
})(jQuery);
|
2970 |
(function($) {
|
@@ -2974,58 +3135,59 @@
|
|
2974 |
}
|
2975 |
|
2976 |
/**
|
2977 |
-
*
|
2978 |
*/
|
2979 |
-
var
|
2980 |
-
|
2981 |
-
acf.models.WysiwygField = Wysiwyg.extend({
|
2982 |
|
2983 |
-
|
|
|
2984 |
|
2985 |
-
|
2986 |
-
if (!this.has('id') && !this.$control().hasClass('delay')) {
|
2987 |
-
this.initializeEditor();
|
2988 |
-
}
|
2989 |
|
2990 |
-
|
|
|
2991 |
|
2992 |
-
}
|
2993 |
|
2994 |
/**
|
2995 |
-
*
|
2996 |
*/
|
2997 |
-
|
2998 |
|
2999 |
-
|
3000 |
-
|
3001 |
-
'ready_field/type=wysiwyg': 'showField',
|
3002 |
-
},
|
3003 |
|
3004 |
-
|
|
|
|
|
3005 |
|
3006 |
-
|
3007 |
-
|
3008 |
-
}
|
3009 |
|
3010 |
-
|
3011 |
|
3012 |
-
|
|
|
3013 |
|
3014 |
-
|
3015 |
|
3016 |
-
|
|
|
3017 |
|
3018 |
-
|
3019 |
|
3020 |
-
$wrap.removeClass('delay');
|
3021 |
-
$wrap.find('.acf-editor-toolbar').remove();
|
3022 |
|
3023 |
-
|
3024 |
-
field.initializeEditor();
|
3025 |
|
3026 |
-
|
|
|
3027 |
|
3028 |
-
|
|
|
|
|
|
|
3029 |
|
3030 |
});
|
3031 |
|
@@ -3037,371 +3199,309 @@
|
|
3037 |
}
|
3038 |
|
3039 |
/**
|
3040 |
-
*
|
3041 |
*/
|
3042 |
-
acf.
|
3043 |
-
acf.registerConditionForFieldType('contains', 'radio');
|
3044 |
|
3045 |
-
|
3046 |
-
|
3047 |
-
|
3048 |
-
acf.registerConditionForFieldType('equalTo', 'acfe_code_editor');
|
3049 |
-
acf.registerConditionForFieldType('notEqualTo', 'acfe_code_editor');
|
3050 |
-
acf.registerConditionForFieldType('patternMatch', 'acfe_code_editor');
|
3051 |
-
acf.registerConditionForFieldType('contains', 'acfe_code_editor');
|
3052 |
-
acf.registerConditionForFieldType('hasValue', 'acfe_code_editor');
|
3053 |
-
acf.registerConditionForFieldType('hasNoValue', 'acfe_code_editor');
|
3054 |
|
3055 |
-
|
3056 |
-
|
3057 |
-
|
3058 |
-
|
3059 |
-
acf.registerConditionForFieldType('notEqualTo', 'date_picker');
|
3060 |
-
acf.registerConditionForFieldType('patternMatch', 'date_picker');
|
3061 |
-
acf.registerConditionForFieldType('contains', 'date_picker');
|
3062 |
-
acf.registerConditionForFieldType('greaterThan', 'date_picker');
|
3063 |
-
acf.registerConditionForFieldType('lessThan', 'date_picker');
|
3064 |
|
3065 |
-
|
3066 |
-
* Date Time Picker
|
3067 |
-
*/
|
3068 |
-
acf.registerConditionForFieldType('equalTo', 'date_time_picker');
|
3069 |
-
acf.registerConditionForFieldType('notEqualTo', 'date_time_picker');
|
3070 |
-
acf.registerConditionForFieldType('patternMatch', 'date_time_picker');
|
3071 |
-
acf.registerConditionForFieldType('contains', 'date_time_picker');
|
3072 |
|
3073 |
-
|
3074 |
-
|
3075 |
-
|
3076 |
-
acf.registerConditionForFieldType('equalTo', 'acfe_forms');
|
3077 |
-
acf.registerConditionForFieldType('notEqualTo', 'acfe_forms');
|
3078 |
-
acf.registerConditionForFieldType('patternMatch', 'acfe_forms');
|
3079 |
-
acf.registerConditionForFieldType('contains', 'acfe_forms');
|
3080 |
-
acf.registerConditionForFieldType('hasValue', 'acfe_forms');
|
3081 |
-
acf.registerConditionForFieldType('hasNoValue', 'acfe_forms');
|
3082 |
|
3083 |
-
|
3084 |
-
* Hidden
|
3085 |
-
*/
|
3086 |
-
acf.registerConditionForFieldType('equalTo', 'acfe_hidden');
|
3087 |
-
acf.registerConditionForFieldType('notEqualTo', 'acfe_hidden');
|
3088 |
-
acf.registerConditionForFieldType('patternMatch', 'acfe_hidden');
|
3089 |
-
acf.registerConditionForFieldType('contains', 'acfe_hidden');
|
3090 |
-
acf.registerConditionForFieldType('hasValue', 'acfe_hidden');
|
3091 |
-
acf.registerConditionForFieldType('hasNoValue', 'acfe_hidden');
|
3092 |
|
3093 |
-
|
3094 |
-
* Post Status
|
3095 |
-
*/
|
3096 |
-
acf.registerConditionForFieldType('equalTo', 'acfe_post_statuses');
|
3097 |
-
acf.registerConditionForFieldType('notEqualTo', 'acfe_post_statuses');
|
3098 |
-
acf.registerConditionForFieldType('patternMatch', 'acfe_post_statuses');
|
3099 |
-
acf.registerConditionForFieldType('contains', 'acfe_post_statuses');
|
3100 |
-
acf.registerConditionForFieldType('hasValue', 'acfe_post_statuses');
|
3101 |
-
acf.registerConditionForFieldType('hasNoValue', 'acfe_post_statuses');
|
3102 |
|
3103 |
-
|
3104 |
-
|
3105 |
-
|
3106 |
-
acf.registerConditionForFieldType('equalTo', 'acfe_post_types');
|
3107 |
-
acf.registerConditionForFieldType('notEqualTo', 'acfe_post_types');
|
3108 |
-
acf.registerConditionForFieldType('patternMatch', 'acfe_post_types');
|
3109 |
-
acf.registerConditionForFieldType('contains', 'acfe_post_types');
|
3110 |
-
acf.registerConditionForFieldType('hasValue', 'acfe_post_types');
|
3111 |
-
acf.registerConditionForFieldType('hasNoValue', 'acfe_post_types');
|
3112 |
|
3113 |
-
|
3114 |
-
* Slug
|
3115 |
-
*/
|
3116 |
-
acf.registerConditionForFieldType('equalTo', 'acfe_slug');
|
3117 |
-
acf.registerConditionForFieldType('notEqualTo', 'acfe_slug');
|
3118 |
-
acf.registerConditionForFieldType('patternMatch', 'acfe_slug');
|
3119 |
-
acf.registerConditionForFieldType('contains', 'acfe_slug');
|
3120 |
-
acf.registerConditionForFieldType('hasValue', 'acfe_slug');
|
3121 |
-
acf.registerConditionForFieldType('hasNoValue', 'acfe_slug');
|
3122 |
|
3123 |
-
|
3124 |
-
* Taxonomies
|
3125 |
-
*/
|
3126 |
-
acf.registerConditionForFieldType('equalTo', 'acfe_taxonomies');
|
3127 |
-
acf.registerConditionForFieldType('notEqualTo', 'acfe_taxonomies');
|
3128 |
-
acf.registerConditionForFieldType('patternMatch', 'acfe_taxonomies');
|
3129 |
-
acf.registerConditionForFieldType('contains', 'acfe_taxonomies');
|
3130 |
-
acf.registerConditionForFieldType('hasValue', 'acfe_taxonomies');
|
3131 |
-
acf.registerConditionForFieldType('hasNoValue', 'acfe_taxonomies');
|
3132 |
|
3133 |
-
|
3134 |
-
* Taxonomy
|
3135 |
-
*/
|
3136 |
-
acf.registerConditionForFieldType('equalTo', 'taxonomy');
|
3137 |
-
acf.registerConditionForFieldType('notEqualTo', 'taxonomy');
|
3138 |
-
acf.registerConditionForFieldType('patternMatch', 'taxonomy');
|
3139 |
-
acf.registerConditionForFieldType('contains', 'taxonomy');
|
3140 |
-
acf.registerConditionForFieldType('hasValue', 'taxonomy');
|
3141 |
-
acf.registerConditionForFieldType('hasNoValue', 'taxonomy');
|
3142 |
|
3143 |
-
|
3144 |
-
|
3145 |
-
|
3146 |
-
|
3147 |
-
acf.registerConditionForFieldType('notEqualTo', 'acfe_taxonomy_terms');
|
3148 |
-
acf.registerConditionForFieldType('patternMatch', 'acfe_taxonomy_terms');
|
3149 |
-
acf.registerConditionForFieldType('contains', 'acfe_taxonomy_terms');
|
3150 |
-
acf.registerConditionForFieldType('hasValue', 'acfe_taxonomy_terms');
|
3151 |
-
acf.registerConditionForFieldType('hasNoValue', 'acfe_taxonomy_terms');
|
3152 |
|
3153 |
-
|
3154 |
-
|
3155 |
-
|
3156 |
-
acf.registerConditionForFieldType('equalTo', 'time_picker');
|
3157 |
-
acf.registerConditionForFieldType('notEqualTo', 'time_picker');
|
3158 |
-
acf.registerConditionForFieldType('patternMatch', 'time_picker');
|
3159 |
-
acf.registerConditionForFieldType('contains', 'time_picker');
|
3160 |
|
3161 |
-
|
3162 |
-
|
3163 |
-
|
3164 |
-
acf.registerConditionForFieldType('equalTo', 'acfe_user_roles');
|
3165 |
-
acf.registerConditionForFieldType('notEqualTo', 'acfe_user_roles');
|
3166 |
-
acf.registerConditionForFieldType('patternMatch', 'acfe_user_roles');
|
3167 |
-
acf.registerConditionForFieldType('contains', 'acfe_user_roles');
|
3168 |
-
acf.registerConditionForFieldType('hasValue', 'acfe_user_roles');
|
3169 |
-
acf.registerConditionForFieldType('hasNoValue', 'acfe_user_roles');
|
3170 |
|
3171 |
-
|
3172 |
-
(function($) {
|
3173 |
|
3174 |
-
|
3175 |
-
return;
|
3176 |
-
}
|
3177 |
|
3178 |
-
|
|
|
|
|
|
|
3179 |
|
3180 |
-
|
|
|
|
|
3181 |
|
3182 |
-
|
3183 |
-
if (typeof events === 'string') {
|
3184 |
-
events = [events];
|
3185 |
-
}
|
3186 |
|
3187 |
-
|
3188 |
-
storage.push({
|
3189 |
-
fieldType: fieldType,
|
3190 |
-
events: events,
|
3191 |
-
callback: callback || false
|
3192 |
-
})
|
3193 |
|
3194 |
-
|
3195 |
|
3196 |
-
|
3197 |
|
3198 |
-
|
3199 |
-
args = acf.parseArgs(args, {
|
3200 |
-
fieldType: '',
|
3201 |
-
});
|
3202 |
|
3203 |
-
|
3204 |
|
3205 |
-
|
3206 |
-
|
|
|
3207 |
|
3208 |
-
|
3209 |
-
|
3210 |
-
return;
|
3211 |
}
|
3212 |
|
3213 |
-
|
3214 |
-
items.push(item);
|
3215 |
-
|
3216 |
-
});
|
3217 |
|
3218 |
-
|
3219 |
-
return items;
|
3220 |
|
3221 |
-
};
|
3222 |
|
3223 |
-
|
|
|
|
|
|
|
3224 |
|
|
|
|
|
3225 |
actions: {
|
3226 |
-
'
|
3227 |
},
|
3228 |
|
3229 |
-
|
3230 |
|
3231 |
-
|
|
|
|
|
3232 |
|
3233 |
-
|
3234 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3235 |
},
|
3236 |
|
3237 |
newField: function(field) {
|
3238 |
|
3239 |
-
//
|
3240 |
-
|
3241 |
|
3242 |
-
//
|
3243 |
-
|
3244 |
-
|
3245 |
-
});
|
3246 |
|
3247 |
-
|
3248 |
-
items.map(function(item) {
|
3249 |
|
3250 |
-
|
3251 |
-
|
|
|
3252 |
|
3253 |
-
|
3254 |
-
|
|
|
3255 |
|
3256 |
-
|
3257 |
-
|
3258 |
|
3259 |
-
|
3260 |
-
var prevVal = this.get(field.cid);
|
3261 |
-
var $el = $(e.currentTarget);
|
3262 |
|
3263 |
-
|
3264 |
|
3265 |
-
|
3266 |
-
|
3267 |
-
var _prevVal = prevVal;
|
3268 |
|
3269 |
-
|
3270 |
-
if (typeof _val === 'object') {
|
3271 |
-
_val = JSON.stringify(_val);
|
3272 |
-
}
|
3273 |
|
3274 |
-
|
3275 |
-
_prevVal = JSON.stringify(_prevVal);
|
3276 |
-
}
|
3277 |
|
3278 |
-
|
3279 |
-
|
|
|
3280 |
|
3281 |
-
|
|
|
|
|
|
|
3282 |
|
3283 |
-
|
3284 |
-
|
3285 |
-
|
3286 |
-
|
3287 |
-
acf.doAction('acfe/change_field/key=' + field.get('key'), val, prevVal, field, e, $el);
|
3288 |
|
3289 |
-
|
3290 |
|
|
|
3291 |
|
3292 |
-
|
3293 |
|
3294 |
-
|
3295 |
|
3296 |
-
|
|
|
3297 |
|
3298 |
-
|
|
|
|
|
|
|
3299 |
|
3300 |
-
}
|
3301 |
|
3302 |
-
|
|
|
3303 |
|
3304 |
-
|
|
|
3305 |
|
3306 |
-
|
3307 |
-
|
3308 |
-
|
3309 |
-
acfe.registerEventForFieldType('color_picker', 'change');
|
3310 |
-
acfe.registerEventForFieldType('date_picker', 'change');
|
3311 |
-
acfe.registerEventForFieldType('date_time_picker', 'change');
|
3312 |
-
acfe.registerEventForFieldType('email', ['input', 'change']);
|
3313 |
-
acfe.registerEventForFieldType('file', 'change');
|
3314 |
-
acfe.registerEventForFieldType('flexible_content', 'change');
|
3315 |
-
acfe.registerEventForFieldType('gallery', 'change');
|
3316 |
-
acfe.registerEventForFieldType('google_map', 'change');
|
3317 |
-
acfe.registerEventForFieldType('image', 'change');
|
3318 |
-
acfe.registerEventForFieldType('link', 'change');
|
3319 |
-
acfe.registerEventForFieldType('number', ['input', 'change']);
|
3320 |
-
acfe.registerEventForFieldType('oembed', 'change');
|
3321 |
-
acfe.registerEventForFieldType('page_link', 'change');
|
3322 |
-
acfe.registerEventForFieldType('post_object', 'change');
|
3323 |
-
acfe.registerEventForFieldType('relationship', 'change');
|
3324 |
-
acfe.registerEventForFieldType('password', ['input', 'change']);
|
3325 |
-
acfe.registerEventForFieldType('radio', 'change');
|
3326 |
-
acfe.registerEventForFieldType('range', ['input', 'change']);
|
3327 |
-
acfe.registerEventForFieldType('repeater', 'change');
|
3328 |
-
acfe.registerEventForFieldType('select', 'change');
|
3329 |
-
acfe.registerEventForFieldType('taxonomy', 'change');
|
3330 |
-
acfe.registerEventForFieldType('text', ['input', 'change']);
|
3331 |
-
acfe.registerEventForFieldType('textarea', ['input', 'change']);
|
3332 |
-
acfe.registerEventForFieldType('time_picker', 'change');
|
3333 |
-
acfe.registerEventForFieldType('true_false', 'change');
|
3334 |
-
acfe.registerEventForFieldType('url', ['input', 'change']);
|
3335 |
-
acfe.registerEventForFieldType('user', 'change');
|
3336 |
-
acfe.registerEventForFieldType('wysiwyg', 'change');
|
3337 |
|
3338 |
-
|
3339 |
-
|
3340 |
-
|
3341 |
-
|
3342 |
-
|
3343 |
-
|
3344 |
-
|
3345 |
-
|
3346 |
-
|
3347 |
-
|
3348 |
-
acfe.registerEventForFieldType('acfe_forms', 'change');
|
3349 |
-
acfe.registerEventForFieldType('acfe_hidden', 'change');
|
3350 |
-
acfe.registerEventForFieldType('acfe_image_selector', 'change');
|
3351 |
-
acfe.registerEventForFieldType('acfe_image_sizes', 'change');
|
3352 |
-
acfe.registerEventForFieldType('acfe_languages', 'change');
|
3353 |
-
acfe.registerEventForFieldType('acfe_menu_locations', 'change');
|
3354 |
-
acfe.registerEventForFieldType('acfe_options_pages', 'change');
|
3355 |
-
acfe.registerEventForFieldType('acfe_payment', 'change');
|
3356 |
-
acfe.registerEventForFieldType('acfe_payment_cart', 'change');
|
3357 |
-
acfe.registerEventForFieldType('acfe_payment_selector', 'change');
|
3358 |
-
acfe.registerEventForFieldType('acfe_phone_number', 'change');
|
3359 |
-
acfe.registerEventForFieldType('acfe_post_formats', 'change');
|
3360 |
-
acfe.registerEventForFieldType('acfe_post_statuses', 'change');
|
3361 |
-
acfe.registerEventForFieldType('acfe_post_types', 'change');
|
3362 |
-
acfe.registerEventForFieldType('acfe_recaptcha', 'change');
|
3363 |
-
acfe.registerEventForFieldType('acfe_taxonomies', 'change');
|
3364 |
-
acfe.registerEventForFieldType('acfe_taxonomy_terms', 'change');
|
3365 |
-
acfe.registerEventForFieldType('acfe_templates', 'change');
|
3366 |
-
acfe.registerEventForFieldType('acfe_user_roles', 'change');
|
3367 |
-
acfe.registerEventForFieldType('acfe_slug', ['input', 'change']);
|
3368 |
|
3369 |
-
|
3370 |
-
(function($) {
|
3371 |
|
3372 |
-
|
3373 |
-
return;
|
3374 |
-
}
|
3375 |
|
3376 |
-
|
3377 |
|
3378 |
-
|
3379 |
-
|
3380 |
-
|
3381 |
-
priority: 1,
|
3382 |
|
3383 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3384 |
|
3385 |
-
|
3386 |
-
if (field.has('ftype') && field.get('type') !== 'taxonomy') {
|
3387 |
|
3388 |
-
|
3389 |
-
field.set('rtype', field.get('type'), true);
|
3390 |
|
3391 |
-
|
3392 |
-
field.set('type', field.get('ftype'), true);
|
3393 |
|
3394 |
-
|
3395 |
-
|
|
|
|
|
|
|
|
|
3396 |
|
3397 |
-
|
3398 |
-
|
|
|
3399 |
|
3400 |
-
|
3401 |
|
3402 |
}
|
3403 |
|
3404 |
-
|
|
|
|
|
3405 |
|
3406 |
});
|
3407 |
|
@@ -3413,150 +3513,194 @@
|
|
3413 |
}
|
3414 |
|
3415 |
/**
|
3416 |
-
* Field:
|
3417 |
*/
|
3418 |
-
|
3419 |
|
3420 |
-
|
3421 |
-
placement: false,
|
3422 |
|
3423 |
-
|
3424 |
-
'
|
|
|
3425 |
},
|
3426 |
|
3427 |
-
|
3428 |
|
3429 |
-
|
|
|
|
|
|
|
|
|
|
|
3430 |
|
3431 |
-
|
3432 |
-
this.setTooltip();
|
3433 |
-
}
|
3434 |
|
3435 |
-
|
3436 |
-
this.setAboveField();
|
3437 |
-
}
|
3438 |
|
3439 |
-
|
3440 |
-
|
3441 |
-
|
3442 |
|
3443 |
},
|
3444 |
|
3445 |
-
|
3446 |
-
|
3447 |
-
var icon = acfe.versionCompare(acf.get('wp_version'), '>=', '5.5') ? 'dashicons-info-outline' : 'dashicons-info';
|
3448 |
|
3449 |
-
|
3450 |
-
this.field.$labelWrap().find('.description').remove();
|
3451 |
|
3452 |
-
|
|
|
3453 |
|
3454 |
-
|
|
|
|
|
3455 |
|
3456 |
-
|
3457 |
-
|
|
|
|
|
3458 |
|
|
|
|
|
3459 |
},
|
3460 |
|
3461 |
-
|
3462 |
|
3463 |
-
|
3464 |
|
3465 |
-
|
3466 |
-
|
3467 |
-
|
3468 |
|
3469 |
-
|
3470 |
-
if (current === target)
|
3471 |
-
return;
|
3472 |
|
3473 |
-
|
3474 |
|
3475 |
-
|
3476 |
|
3477 |
-
|
3478 |
|
3479 |
-
|
3480 |
|
3481 |
-
|
3482 |
-
|
3483 |
|
3484 |
-
|
3485 |
-
placement = 'above_field';
|
3486 |
|
3487 |
-
|
3488 |
-
placement = 'field';
|
3489 |
|
3490 |
-
|
3491 |
-
|
3492 |
|
3493 |
-
|
3494 |
|
3495 |
-
|
3496 |
|
3497 |
-
|
3498 |
|
3499 |
-
|
|
|
3500 |
|
3501 |
-
|
|
|
|
|
3502 |
|
3503 |
-
|
|
|
|
|
|
|
3504 |
|
3505 |
-
|
3506 |
|
3507 |
-
|
|
|
|
|
3508 |
|
3509 |
-
|
3510 |
|
3511 |
-
|
|
|
3512 |
|
3513 |
-
|
|
|
3514 |
|
3515 |
-
|
3516 |
|
3517 |
-
|
3518 |
|
3519 |
-
|
3520 |
|
3521 |
-
|
|
|
|
|
|
|
|
|
3522 |
|
3523 |
},
|
3524 |
|
3525 |
-
|
3526 |
|
3527 |
-
|
3528 |
|
3529 |
-
|
|
|
3530 |
|
3531 |
-
|
|
|
|
|
3532 |
|
3533 |
-
|
3534 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
3535 |
|
|
|
|
|
|
|
3536 |
}
|
3537 |
|
3538 |
-
|
3539 |
|
3540 |
-
|
3541 |
|
3542 |
-
|
|
|
|
|
|
|
3543 |
|
3544 |
-
|
|
|
|
|
|
|
3545 |
|
3546 |
-
|
3547 |
|
3548 |
-
|
|
|
|
|
3549 |
|
3550 |
-
|
3551 |
|
3552 |
-
|
3553 |
|
3554 |
-
|
3555 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3556 |
|
3557 |
}
|
3558 |
|
3559 |
-
}
|
3560 |
|
3561 |
});
|
3562 |
|
@@ -3595,9 +3739,7 @@
|
|
3595 |
'click .acfe-form [type="submit"]': 'onClickSubmit',
|
3596 |
},
|
3597 |
|
3598 |
-
$getForm: function(field) {
|
3599 |
-
|
3600 |
-
field = field || false;
|
3601 |
|
3602 |
var $form = $('.acfe-form');
|
3603 |
|
5 |
}
|
6 |
|
7 |
/**
|
8 |
+
* Checkbox & Radio
|
9 |
*/
|
10 |
+
acf.registerConditionForFieldType('contains', 'checkbox');
|
11 |
+
acf.registerConditionForFieldType('contains', 'radio');
|
12 |
|
13 |
+
/**
|
14 |
+
* Code Editor
|
15 |
+
*/
|
16 |
+
acf.registerConditionForFieldType('equalTo', 'acfe_code_editor');
|
17 |
+
acf.registerConditionForFieldType('notEqualTo', 'acfe_code_editor');
|
18 |
+
acf.registerConditionForFieldType('patternMatch', 'acfe_code_editor');
|
19 |
+
acf.registerConditionForFieldType('contains', 'acfe_code_editor');
|
20 |
+
acf.registerConditionForFieldType('hasValue', 'acfe_code_editor');
|
21 |
+
acf.registerConditionForFieldType('hasNoValue', 'acfe_code_editor');
|
22 |
|
23 |
+
/**
|
24 |
+
* Date Picker
|
25 |
+
*/
|
26 |
+
acf.registerConditionForFieldType('equalTo', 'date_picker');
|
27 |
+
acf.registerConditionForFieldType('notEqualTo', 'date_picker');
|
28 |
+
acf.registerConditionForFieldType('patternMatch', 'date_picker');
|
29 |
+
acf.registerConditionForFieldType('contains', 'date_picker');
|
30 |
+
acf.registerConditionForFieldType('greaterThan', 'date_picker');
|
31 |
+
acf.registerConditionForFieldType('lessThan', 'date_picker');
|
32 |
|
33 |
+
/**
|
34 |
+
* Date Time Picker
|
35 |
+
*/
|
36 |
+
acf.registerConditionForFieldType('equalTo', 'date_time_picker');
|
37 |
+
acf.registerConditionForFieldType('notEqualTo', 'date_time_picker');
|
38 |
+
acf.registerConditionForFieldType('patternMatch', 'date_time_picker');
|
39 |
+
acf.registerConditionForFieldType('contains', 'date_time_picker');
|
40 |
|
41 |
+
/**
|
42 |
+
* Forms
|
43 |
+
*/
|
44 |
+
acf.registerConditionForFieldType('equalTo', 'acfe_forms');
|
45 |
+
acf.registerConditionForFieldType('notEqualTo', 'acfe_forms');
|
46 |
+
acf.registerConditionForFieldType('patternMatch', 'acfe_forms');
|
47 |
+
acf.registerConditionForFieldType('contains', 'acfe_forms');
|
48 |
+
acf.registerConditionForFieldType('hasValue', 'acfe_forms');
|
49 |
+
acf.registerConditionForFieldType('hasNoValue', 'acfe_forms');
|
50 |
|
51 |
+
/**
|
52 |
+
* Hidden
|
53 |
+
*/
|
54 |
+
acf.registerConditionForFieldType('equalTo', 'acfe_hidden');
|
55 |
+
acf.registerConditionForFieldType('notEqualTo', 'acfe_hidden');
|
56 |
+
acf.registerConditionForFieldType('patternMatch', 'acfe_hidden');
|
57 |
+
acf.registerConditionForFieldType('contains', 'acfe_hidden');
|
58 |
+
acf.registerConditionForFieldType('hasValue', 'acfe_hidden');
|
59 |
+
acf.registerConditionForFieldType('hasNoValue', 'acfe_hidden');
|
60 |
|
61 |
+
/**
|
62 |
+
* Post Status
|
63 |
+
*/
|
64 |
+
acf.registerConditionForFieldType('equalTo', 'acfe_post_statuses');
|
65 |
+
acf.registerConditionForFieldType('notEqualTo', 'acfe_post_statuses');
|
66 |
+
acf.registerConditionForFieldType('patternMatch', 'acfe_post_statuses');
|
67 |
+
acf.registerConditionForFieldType('contains', 'acfe_post_statuses');
|
68 |
+
acf.registerConditionForFieldType('hasValue', 'acfe_post_statuses');
|
69 |
+
acf.registerConditionForFieldType('hasNoValue', 'acfe_post_statuses');
|
70 |
|
71 |
+
/**
|
72 |
+
* Post Types
|
73 |
+
*/
|
74 |
+
acf.registerConditionForFieldType('equalTo', 'acfe_post_types');
|
75 |
+
acf.registerConditionForFieldType('notEqualTo', 'acfe_post_types');
|
76 |
+
acf.registerConditionForFieldType('patternMatch', 'acfe_post_types');
|
77 |
+
acf.registerConditionForFieldType('contains', 'acfe_post_types');
|
78 |
+
acf.registerConditionForFieldType('hasValue', 'acfe_post_types');
|
79 |
+
acf.registerConditionForFieldType('hasNoValue', 'acfe_post_types');
|
80 |
|
81 |
+
/**
|
82 |
+
* Slug
|
83 |
+
*/
|
84 |
+
acf.registerConditionForFieldType('equalTo', 'acfe_slug');
|
85 |
+
acf.registerConditionForFieldType('notEqualTo', 'acfe_slug');
|
86 |
+
acf.registerConditionForFieldType('patternMatch', 'acfe_slug');
|
87 |
+
acf.registerConditionForFieldType('contains', 'acfe_slug');
|
88 |
+
acf.registerConditionForFieldType('hasValue', 'acfe_slug');
|
89 |
+
acf.registerConditionForFieldType('hasNoValue', 'acfe_slug');
|
90 |
|
91 |
+
/**
|
92 |
+
* Taxonomies
|
93 |
+
*/
|
94 |
+
acf.registerConditionForFieldType('equalTo', 'acfe_taxonomies');
|
95 |
+
acf.registerConditionForFieldType('notEqualTo', 'acfe_taxonomies');
|
96 |
+
acf.registerConditionForFieldType('patternMatch', 'acfe_taxonomies');
|
97 |
+
acf.registerConditionForFieldType('contains', 'acfe_taxonomies');
|
98 |
+
acf.registerConditionForFieldType('hasValue', 'acfe_taxonomies');
|
99 |
+
acf.registerConditionForFieldType('hasNoValue', 'acfe_taxonomies');
|
100 |
|
101 |
+
/**
|
102 |
+
* Taxonomy
|
103 |
+
*/
|
104 |
+
acf.registerConditionForFieldType('equalTo', 'taxonomy');
|
105 |
+
acf.registerConditionForFieldType('notEqualTo', 'taxonomy');
|
106 |
+
acf.registerConditionForFieldType('patternMatch', 'taxonomy');
|
107 |
+
acf.registerConditionForFieldType('contains', 'taxonomy');
|
108 |
+
acf.registerConditionForFieldType('hasValue', 'taxonomy');
|
109 |
+
acf.registerConditionForFieldType('hasNoValue', 'taxonomy');
|
110 |
|
111 |
+
/**
|
112 |
+
* Taxonomy Terms
|
113 |
+
*/
|
114 |
+
acf.registerConditionForFieldType('equalTo', 'acfe_taxonomy_terms');
|
115 |
+
acf.registerConditionForFieldType('notEqualTo', 'acfe_taxonomy_terms');
|
116 |
+
acf.registerConditionForFieldType('patternMatch', 'acfe_taxonomy_terms');
|
117 |
+
acf.registerConditionForFieldType('contains', 'acfe_taxonomy_terms');
|
118 |
+
acf.registerConditionForFieldType('hasValue', 'acfe_taxonomy_terms');
|
119 |
+
acf.registerConditionForFieldType('hasNoValue', 'acfe_taxonomy_terms');
|
120 |
|
121 |
+
/**
|
122 |
+
* Time Picker
|
123 |
+
*/
|
124 |
+
acf.registerConditionForFieldType('equalTo', 'time_picker');
|
125 |
+
acf.registerConditionForFieldType('notEqualTo', 'time_picker');
|
126 |
+
acf.registerConditionForFieldType('patternMatch', 'time_picker');
|
127 |
+
acf.registerConditionForFieldType('contains', 'time_picker');
|
128 |
|
129 |
+
/**
|
130 |
+
* User Roles
|
131 |
+
*/
|
132 |
+
acf.registerConditionForFieldType('equalTo', 'acfe_user_roles');
|
133 |
+
acf.registerConditionForFieldType('notEqualTo', 'acfe_user_roles');
|
134 |
+
acf.registerConditionForFieldType('patternMatch', 'acfe_user_roles');
|
135 |
+
acf.registerConditionForFieldType('contains', 'acfe_user_roles');
|
136 |
+
acf.registerConditionForFieldType('hasValue', 'acfe_user_roles');
|
137 |
+
acf.registerConditionForFieldType('hasNoValue', 'acfe_user_roles');
|
138 |
|
139 |
+
})(jQuery);
|
140 |
+
(function($) {
|
141 |
|
142 |
+
if (typeof acf === 'undefined' || typeof acfe === 'undefined') {
|
143 |
+
return;
|
144 |
+
}
|
|
|
145 |
|
146 |
+
var storage = [];
|
|
|
|
|
147 |
|
148 |
+
acfe.registerEventForFieldType = function(fieldType, events, callback) {
|
|
|
|
|
149 |
|
150 |
+
// force events to array
|
151 |
+
if (typeof events === 'string') {
|
152 |
+
events = [events];
|
153 |
+
}
|
154 |
|
155 |
+
// add to storage
|
156 |
+
storage.push({
|
157 |
+
fieldType: fieldType,
|
158 |
+
events: events,
|
159 |
+
callback: callback || false
|
160 |
+
})
|
|
|
161 |
|
162 |
+
};
|
163 |
|
164 |
+
acfe.getEvents = function(args) {
|
165 |
|
166 |
+
// defaults
|
167 |
+
args = acf.parseArgs(args, {
|
168 |
+
fieldType: '',
|
169 |
+
});
|
170 |
|
171 |
+
var items = [];
|
172 |
|
173 |
+
// loop
|
174 |
+
storage.map(function(item) {
|
175 |
|
176 |
+
// check args
|
177 |
+
if (args.fieldType && item.fieldType.indexOf(args.fieldType) === -1) {
|
178 |
+
return;
|
179 |
+
}
|
180 |
|
181 |
+
// push
|
182 |
+
items.push(item);
|
183 |
+
|
184 |
+
});
|
185 |
+
|
186 |
+
// return
|
187 |
+
return items;
|
188 |
+
|
189 |
+
};
|
190 |
|
191 |
+
var FieldEvent = new acf.Model({
|
192 |
+
|
193 |
+
actions: {
|
194 |
+
'new_field': 'newField'
|
195 |
},
|
196 |
|
197 |
+
priority: 20,
|
198 |
|
199 |
+
data: {},
|
|
|
|
|
200 |
|
201 |
+
parseEvent: function(event) {
|
202 |
+
return event.match(/^(\S+)\s*(.*)$/);
|
203 |
},
|
204 |
|
205 |
+
newField: function(field) {
|
206 |
|
207 |
+
// set previous val
|
208 |
+
this.set(field.cid, field.val());
|
209 |
|
210 |
+
// get items
|
211 |
+
var items = acfe.getEvents({
|
212 |
+
fieldType: field.get('type')
|
213 |
+
});
|
214 |
|
215 |
+
// loop items
|
216 |
+
items.map(function(item) {
|
217 |
|
218 |
+
// loop events
|
219 |
+
item.events.map(function(event) {
|
220 |
|
221 |
+
// match event "change input"
|
222 |
+
var match = this.parseEvent(event);
|
223 |
|
224 |
+
// add event listener
|
225 |
+
field.on(match[1], match[2], this.proxy(function(e) {
|
|
|
|
|
226 |
|
227 |
+
var val = field.val();
|
228 |
+
var prevVal = this.get(field.cid);
|
229 |
+
var $el = $(e.currentTarget);
|
230 |
|
231 |
+
var callback = item.callback || this.proxy(function(val, prevVal, field, e, $el) {
|
|
|
|
|
232 |
|
233 |
+
// vars
|
234 |
+
var _val = val;
|
235 |
+
var _prevVal = prevVal;
|
236 |
|
237 |
+
// compare object/array values
|
238 |
+
if (typeof _val === 'object') {
|
239 |
+
_val = JSON.stringify(_val);
|
240 |
+
}
|
241 |
|
242 |
+
if (typeof _prevVal === 'object') {
|
243 |
+
_prevVal = JSON.stringify(_prevVal);
|
244 |
+
}
|
245 |
|
246 |
+
// avoid multiple trigger for the same value
|
247 |
+
if (_prevVal !== _val) {
|
248 |
|
249 |
+
this.set(field.cid, val);
|
250 |
|
251 |
+
// actions
|
252 |
+
acf.doAction('acfe/change_field', val, prevVal, field, e, $el);
|
253 |
+
acf.doAction('acfe/change_field/type=' + field.get('type'), val, prevVal, field, e, $el);
|
254 |
+
acf.doAction('acfe/change_field/name=' + field.get('name'), val, prevVal, field, e, $el);
|
255 |
+
acf.doAction('acfe/change_field/key=' + field.get('key'), val, prevVal, field, e, $el);
|
256 |
|
257 |
+
}
|
258 |
|
|
|
259 |
|
260 |
+
});
|
|
|
|
|
261 |
|
262 |
+
callback(val, prevVal, field, e, $el);
|
263 |
|
264 |
+
}));
|
|
|
|
|
265 |
|
266 |
+
}, this);
|
267 |
|
268 |
+
}, this);
|
269 |
+
|
270 |
+
}
|
271 |
|
272 |
});
|
273 |
|
274 |
+
// ACF
|
275 |
+
acfe.registerEventForFieldType('button_group', 'change');
|
276 |
+
acfe.registerEventForFieldType('checkbox', 'change');
|
277 |
+
acfe.registerEventForFieldType('color_picker', 'change');
|
278 |
+
acfe.registerEventForFieldType('date_picker', 'change');
|
279 |
+
acfe.registerEventForFieldType('date_time_picker', 'change');
|
280 |
+
acfe.registerEventForFieldType('email', ['input', 'change']);
|
281 |
+
acfe.registerEventForFieldType('file', 'change');
|
282 |
+
acfe.registerEventForFieldType('flexible_content', 'change');
|
283 |
+
acfe.registerEventForFieldType('gallery', 'change');
|
284 |
+
acfe.registerEventForFieldType('google_map', 'change');
|
285 |
+
acfe.registerEventForFieldType('image', 'change');
|
286 |
+
acfe.registerEventForFieldType('link', 'change');
|
287 |
+
acfe.registerEventForFieldType('number', ['input', 'change']);
|
288 |
+
acfe.registerEventForFieldType('oembed', 'change');
|
289 |
+
acfe.registerEventForFieldType('page_link', 'change');
|
290 |
+
acfe.registerEventForFieldType('post_object', 'change');
|
291 |
+
acfe.registerEventForFieldType('relationship', 'change');
|
292 |
+
acfe.registerEventForFieldType('password', ['input', 'change']);
|
293 |
+
acfe.registerEventForFieldType('radio', 'change');
|
294 |
+
acfe.registerEventForFieldType('range', ['input', 'change']);
|
295 |
+
acfe.registerEventForFieldType('repeater', 'change');
|
296 |
+
acfe.registerEventForFieldType('select', 'change');
|
297 |
+
acfe.registerEventForFieldType('taxonomy', 'change');
|
298 |
+
acfe.registerEventForFieldType('text', ['input', 'change']);
|
299 |
+
acfe.registerEventForFieldType('textarea', ['input', 'change']);
|
300 |
+
acfe.registerEventForFieldType('time_picker', 'change');
|
301 |
+
acfe.registerEventForFieldType('true_false', 'change');
|
302 |
+
acfe.registerEventForFieldType('url', ['input', 'change']);
|
303 |
+
acfe.registerEventForFieldType('user', 'change');
|
304 |
+
acfe.registerEventForFieldType('wysiwyg', 'change');
|
305 |
+
|
306 |
+
// ACFE
|
307 |
+
acfe.registerEventForFieldType('acfe_advanced_link', 'change');
|
308 |
+
acfe.registerEventForFieldType('acfe_block_types', 'change');
|
309 |
+
acfe.registerEventForFieldType('acfe_countries', 'change');
|
310 |
+
acfe.registerEventForFieldType('acfe_currencies', 'change');
|
311 |
+
acfe.registerEventForFieldType('acfe_code_editor', 'change');
|
312 |
+
acfe.registerEventForFieldType('acfe_date_range_picker', 'change');
|
313 |
+
acfe.registerEventForFieldType('acfe_field_groups', 'change');
|
314 |
+
acfe.registerEventForFieldType('acfe_field_types', 'change');
|
315 |
+
acfe.registerEventForFieldType('acfe_fields', 'change');
|
316 |
+
acfe.registerEventForFieldType('acfe_forms', 'change');
|
317 |
+
acfe.registerEventForFieldType('acfe_hidden', 'change');
|
318 |
+
acfe.registerEventForFieldType('acfe_image_selector', 'change');
|
319 |
+
acfe.registerEventForFieldType('acfe_image_sizes', 'change');
|
320 |
+
acfe.registerEventForFieldType('acfe_languages', 'change');
|
321 |
+
acfe.registerEventForFieldType('acfe_menu_locations', 'change');
|
322 |
+
acfe.registerEventForFieldType('acfe_options_pages', 'change');
|
323 |
+
acfe.registerEventForFieldType('acfe_payment', 'change');
|
324 |
+
acfe.registerEventForFieldType('acfe_payment_cart', 'change');
|
325 |
+
acfe.registerEventForFieldType('acfe_payment_selector', 'change');
|
326 |
+
acfe.registerEventForFieldType('acfe_phone_number', 'change');
|
327 |
+
acfe.registerEventForFieldType('acfe_post_formats', 'change');
|
328 |
+
acfe.registerEventForFieldType('acfe_post_statuses', 'change');
|
329 |
+
acfe.registerEventForFieldType('acfe_post_types', 'change');
|
330 |
+
acfe.registerEventForFieldType('acfe_recaptcha', 'change');
|
331 |
+
acfe.registerEventForFieldType('acfe_taxonomies', 'change');
|
332 |
+
acfe.registerEventForFieldType('acfe_taxonomy_terms', 'change');
|
333 |
+
acfe.registerEventForFieldType('acfe_templates', 'change');
|
334 |
+
acfe.registerEventForFieldType('acfe_user_roles', 'change');
|
335 |
+
acfe.registerEventForFieldType('acfe_slug', ['input', 'change']);
|
336 |
+
|
337 |
})(jQuery);
|
338 |
(function($) {
|
339 |
|
342 |
}
|
343 |
|
344 |
/**
|
345 |
+
* Field Extend
|
346 |
*/
|
347 |
+
var storage = [];
|
348 |
|
349 |
+
acfe.registerFieldExtend = function(model) {
|
350 |
+
storage.push(model);
|
351 |
+
};
|
352 |
|
353 |
+
acfe.getFieldsExtend = function() {
|
354 |
+
return storage;
|
355 |
+
}
|
|
|
356 |
|
357 |
+
var fieldExtendManager = new acf.Model({
|
358 |
+
wait: 'prepare',
|
359 |
+
priority: 1,
|
360 |
+
initialize: function() {
|
361 |
|
362 |
+
storage.map(function(model) {
|
363 |
|
364 |
+
var proto = model.prototype;
|
365 |
+
acf.addAction('new_field/type=' + proto.type, function(field) {
|
366 |
|
367 |
+
var conditions = proto.conditions.apply(field);
|
368 |
+
if (conditions) {
|
369 |
+
new model(field);
|
370 |
+
}
|
371 |
|
372 |
+
}, 9); // use low priority to allow third party actions
|
373 |
|
374 |
+
});
|
375 |
|
376 |
},
|
377 |
+
});
|
378 |
|
379 |
+
acfe.FieldExtend = acf.Model.extend({
|
380 |
|
381 |
+
type: '',
|
|
|
382 |
|
383 |
+
field: false,
|
|
|
384 |
|
385 |
+
conditions: function() {
|
386 |
+
return true;
|
387 |
},
|
388 |
|
389 |
+
eventScope: '.acf-field',
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
390 |
|
391 |
+
replace: [],
|
|
|
392 |
|
393 |
+
setup: function(field) {
|
|
|
|
|
|
|
394 |
|
395 |
+
$.extend(this.data, field.data);
|
|
|
|
|
|
|
|
|
|
|
|
|
396 |
|
397 |
+
this.$el = field.$el;
|
398 |
+
this.field = field;
|
399 |
|
400 |
+
this.replace.map(function(func) {
|
|
|
401 |
|
402 |
+
if (typeof this[func] === 'function') {
|
|
|
|
|
|
|
403 |
|
404 |
+
// rewrite initialize
|
405 |
+
// we must unset the function because the fieldExtend.initialize will be executed anyway
|
406 |
+
if (func === 'initialize') {
|
407 |
+
this.field[func] = function() {};
|
408 |
|
409 |
+
// rewrite functions
|
410 |
+
} else {
|
411 |
|
412 |
+
// rewrite function
|
413 |
+
this.field[func] = this.proxy(this[func]);
|
414 |
|
415 |
+
// loop events
|
416 |
+
for (var ev in this.field.events) {
|
|
|
|
|
417 |
|
418 |
+
// var
|
419 |
+
var evFunc = this.field.events[ev];
|
420 |
|
421 |
+
// event exists with same function
|
422 |
+
if (evFunc === func) {
|
423 |
|
424 |
+
// replace event
|
425 |
+
var event = {};
|
426 |
+
event[ev] = evFunc;
|
427 |
|
428 |
+
this.field.removeEvents(event);
|
429 |
+
this.addEvents(event);
|
430 |
|
431 |
+
}
|
432 |
|
433 |
+
}
|
434 |
|
435 |
+
}
|
|
|
436 |
|
437 |
+
}
|
|
|
|
|
438 |
|
439 |
+
}, this);
|
|
|
|
|
|
|
440 |
|
|
|
|
|
441 |
},
|
442 |
|
443 |
+
getParentPrototype: function() {
|
444 |
+
return acf.getFieldType(this.get('type')).prototype;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
445 |
},
|
446 |
|
447 |
+
apply: function() {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
448 |
|
449 |
+
var func, args;
|
450 |
+
var array = acf.arrayArgs(arguments)
|
451 |
|
452 |
+
// get function name
|
453 |
+
func = array.shift();
|
454 |
+
args = array.shift();
|
455 |
|
456 |
+
return this.getParentPrototype()[func].apply(this.field, args);
|
457 |
|
458 |
+
},
|
459 |
|
460 |
});
|
461 |
|
466 |
return;
|
467 |
}
|
468 |
|
469 |
+
new acf.Model({
|
470 |
+
actions: {
|
471 |
+
'new_field': 'newField'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
472 |
},
|
473 |
+
priority: 1,
|
474 |
+
newField: function(field) {
|
475 |
|
476 |
+
// check data
|
477 |
+
if (!field.has('ftype')) {
|
478 |
+
return;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
479 |
}
|
480 |
|
481 |
+
// taxonomy field already has a ftype data
|
482 |
+
if (field.get('type') === 'taxonomy') {
|
483 |
+
return;
|
|
|
|
|
484 |
}
|
485 |
|
486 |
+
// real type (checkbox, radio...)
|
487 |
+
field.set('rtype', field.get('type'), true);
|
|
|
|
|
|
|
|
|
488 |
|
489 |
+
// field type (acfe_post_types, acfe_post_formats...)
|
490 |
+
field.set('type', field.get('ftype'), true);
|
491 |
|
492 |
+
// assign attribute
|
493 |
+
field.$el.attr('data-type', field.get('ftype'));
|
|
|
494 |
|
495 |
+
// cleanup attribute
|
496 |
+
field.$el.removeAttr('data-ftype');
|
|
|
|
|
|
|
|
|
497 |
|
498 |
+
// cleanup data
|
499 |
+
delete field.data['ftype'];
|
500 |
|
|
|
|
|
501 |
}
|
|
|
502 |
});
|
503 |
|
|
|
|
|
504 |
})(jQuery);
|
505 |
(function($) {
|
506 |
|
507 |
if (typeof acf === 'undefined' || typeof acfe === 'undefined') {
|
508 |
return;
|
509 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
510 |
|
511 |
+
/**
|
512 |
+
* Field: Instructions
|
513 |
+
*/
|
514 |
+
new acf.Model({
|
515 |
|
516 |
+
field: false,
|
517 |
+
placement: false,
|
|
|
|
|
518 |
|
519 |
+
actions: {
|
520 |
+
'new_field': 'newField',
|
521 |
+
},
|
522 |
|
523 |
+
newField: function(field) {
|
524 |
+
|
525 |
+
this.field = field;
|
526 |
+
|
527 |
+
if (field.has('instructionTooltip')) {
|
528 |
+
this.setTooltip();
|
529 |
}
|
530 |
|
531 |
+
if (field.has('instructionAboveField')) {
|
532 |
+
this.setAboveField();
|
533 |
+
}
|
534 |
|
535 |
+
if (field.has('instructionPlacement')) {
|
536 |
+
this.overridePlacement(field.get('instructionPlacement'));
|
537 |
+
}
|
538 |
|
539 |
},
|
540 |
|
541 |
+
setTooltip: function() {
|
542 |
|
543 |
+
var icon = acfe.versionCompare(acf.get('wp_version'), '>=', '5.5') ? 'dashicons-info-outline' : 'dashicons-info';
|
544 |
+
|
545 |
+
this.field.$labelWrap().prepend('<span class="acfe-field-tooltip acf-js-tooltip dashicons ' + icon + '" title="' + _.escape(this.field.get('instructionTooltip')) + '"></span>');
|
546 |
+
this.field.$labelWrap().find('.description').remove();
|
547 |
|
548 |
},
|
549 |
|
550 |
+
setAboveField: function() {
|
551 |
+
|
552 |
+
this.field.$inputWrap().prepend('<p class="description">' + this.field.get('instructionAboveField') + '</p>');
|
553 |
+
this.field.$labelWrap().find('.description').remove();
|
554 |
+
|
555 |
},
|
556 |
|
557 |
+
overridePlacement: function(target) {
|
558 |
+
|
559 |
+
var current = this.getPlacement();
|
560 |
+
|
561 |
+
// No instruction
|
562 |
+
if (!current)
|
563 |
+
return;
|
564 |
+
|
565 |
+
// Placement is correct
|
566 |
+
if (current === target)
|
567 |
+
return;
|
568 |
+
|
569 |
+
this.setPlacement(target);
|
570 |
+
|
571 |
},
|
572 |
|
573 |
+
getPlacement: function() {
|
574 |
|
575 |
+
var placement = false;
|
576 |
|
577 |
+
if (this.field.$labelWrap().find('>.description').length)
|
578 |
+
placement = 'label';
|
579 |
|
580 |
+
else if (this.field.$inputWrap().find('>.description:first-child').length)
|
581 |
+
placement = 'above_field';
|
|
|
582 |
|
583 |
+
else if (this.field.$inputWrap().find('>.description:last-child').length)
|
584 |
+
placement = 'field';
|
|
|
|
|
585 |
|
586 |
+
else if (this.field.$labelWrap().find('>.acfe-field-tooltip').length)
|
587 |
+
placement = 'tooltip';
|
588 |
|
589 |
+
this.placement = placement;
|
590 |
+
|
591 |
+
return this.placement;
|
592 |
|
|
|
|
|
593 |
},
|
594 |
|
595 |
+
$getInstruction: function() {
|
596 |
|
597 |
+
var placement = this.getPlacement();
|
598 |
|
599 |
+
if (placement === 'label') {
|
|
|
600 |
|
601 |
+
return this.field.$labelWrap().find('>.description');
|
602 |
|
603 |
+
} else if (placement === 'above_field') {
|
604 |
|
605 |
+
return this.field.$inputWrap().find('>.description:first-child');
|
|
|
606 |
|
607 |
+
} else if (placement === 'field') {
|
608 |
|
609 |
+
return this.field.$inputWrap().find('>.description:last-child');
|
610 |
|
611 |
+
} else if (placement === 'tooltip') {
|
|
|
|
|
|
|
612 |
|
613 |
+
return this.field.$labelWrap().find('>.acfe-field-tooltip');
|
614 |
|
615 |
+
}
|
|
|
|
|
|
|
616 |
|
617 |
+
return false;
|
618 |
|
619 |
+
},
|
620 |
|
621 |
+
setPlacement: function(target) {
|
622 |
|
623 |
+
var $instruction = this.$getInstruction();
|
624 |
|
625 |
+
if (this.placement === 'tooltip') {
|
|
|
626 |
|
627 |
+
var text = $instruction.attr('title');
|
|
|
|
|
628 |
|
629 |
+
$instruction.remove();
|
630 |
+
$instruction = $('<p class="description">' + text + '</p>');
|
|
|
|
|
|
|
631 |
|
632 |
+
}
|
|
|
|
|
|
|
|
|
633 |
|
634 |
+
if (target === 'label') {
|
635 |
|
636 |
+
this.field.$labelWrap().append($instruction);
|
|
|
|
|
637 |
|
638 |
+
} else if (target === 'above_field') {
|
|
|
639 |
|
640 |
+
this.field.$inputWrap().prepend($instruction);
|
641 |
|
642 |
+
} else if (target === 'field') {
|
643 |
|
644 |
+
this.field.$inputWrap().append($instruction);
|
645 |
|
646 |
+
} else if (target === 'tooltip') {
|
647 |
|
648 |
+
var icon = acfe.versionCompare(acf.get('wp_version'), '>=', '5.5') ? 'dashicons-info-outline' : 'dashicons-info';
|
|
|
649 |
|
650 |
+
this.field.$labelWrap().prepend($('<span class="acfe-field-tooltip acf-js-tooltip dashicons ' + icon + '" title="' + _.escape($instruction.html()) + '"></span>'));
|
651 |
+
$instruction.remove();
|
652 |
|
653 |
+
}
|
|
|
|
|
654 |
|
655 |
+
}
|
|
|
656 |
|
657 |
+
});
|
|
|
658 |
|
659 |
+
})(jQuery);
|
660 |
+
(function($) {
|
661 |
+
|
662 |
+
if (typeof acf === 'undefined' || typeof acfe === 'undefined') {
|
663 |
+
return;
|
664 |
}
|
665 |
|
666 |
+
/**
|
667 |
+
* Field: Advanced Link
|
668 |
+
*/
|
669 |
+
var ACFE_Advanced_Link = acf.Field.extend({
|
670 |
|
671 |
+
type: 'acfe_advanced_link',
|
672 |
|
673 |
+
events: {
|
674 |
+
'click a[data-name="add"]': 'onClickEdit',
|
675 |
+
'click a[data-name="edit"]': 'onClickEdit',
|
676 |
+
'click a[data-name="remove"]': 'onClickRemove',
|
677 |
+
},
|
678 |
|
679 |
+
$control: function() {
|
680 |
+
return this.$('.acf-link');
|
681 |
+
},
|
682 |
|
683 |
+
initialize: function() {
|
684 |
+
// ...
|
685 |
+
},
|
686 |
|
687 |
+
getValue: function() {
|
|
|
688 |
|
689 |
+
// return
|
690 |
+
var data = {
|
691 |
+
type: this.$('.input-type :checked').val(),
|
692 |
+
title: this.$('.input-title').val(),
|
693 |
+
url: this.$('.input-url').val(),
|
694 |
+
post: this.$('.input-post :selected').text(),
|
695 |
+
term: this.$('.input-term :selected').text(),
|
696 |
+
target: this.$('.input-target').is(':checked')
|
697 |
+
};
|
698 |
|
699 |
+
if (data.type === 'post') {
|
700 |
+
data.url = data.post;
|
701 |
|
702 |
+
} else if (data.type === 'term') {
|
703 |
+
data.url = data.term;
|
704 |
+
}
|
705 |
|
706 |
+
return data;
|
707 |
|
708 |
+
},
|
709 |
|
710 |
+
setValue: function(val) {
|
|
|
711 |
|
712 |
+
// default
|
713 |
+
val = acf.parseArgs(val, {
|
714 |
+
remove: false,
|
715 |
+
title: '',
|
716 |
+
url: '',
|
717 |
+
target: false
|
718 |
+
});
|
719 |
|
720 |
+
// vars
|
721 |
+
var $div = this.$control();
|
722 |
|
723 |
+
// remove class
|
724 |
+
$div.removeClass('-value -external');
|
|
|
725 |
|
726 |
+
// add class
|
727 |
+
if (val.url || val.title) {
|
728 |
+
$div.addClass('-value');
|
729 |
+
}
|
730 |
|
731 |
+
if (val.target) {
|
732 |
+
$div.addClass('-external');
|
733 |
+
}
|
734 |
|
735 |
+
// update text
|
736 |
+
this.$('.link-title').html(val.title);
|
737 |
+
this.$('.link-url').attr('href', val.url).html(val.url);
|
738 |
|
739 |
+
// remove inputs data
|
740 |
+
if (val.remove) {
|
|
|
741 |
|
742 |
+
this.$('.input-type :checked').prop('checked', false);
|
743 |
+
this.$('.input-type [value="url"]').prop('checked', true).trigger('change');
|
744 |
+
this.$('.input-title').val('');
|
745 |
+
this.$('.input-target').prop('checked', false);
|
746 |
+
this.$('.input-url').val('').trigger('change');
|
747 |
+
this.$('.input-post').val('').trigger('change');
|
748 |
+
this.$('.input-term').val('').trigger('change');
|
749 |
|
750 |
+
}
|
751 |
|
752 |
+
},
|
753 |
|
754 |
+
onClickEdit: function(e, $el) {
|
755 |
|
756 |
+
var $modal = $el.closest('.acf-input').find('.acfe-modal');
|
|
|
|
|
757 |
|
758 |
+
var title = $modal.attr('data-modal-title');
|
|
|
|
|
759 |
|
760 |
+
var model = this;
|
|
|
761 |
|
762 |
+
new acfe.Popup($modal, {
|
763 |
+
title: title,
|
764 |
+
size: 'medium',
|
765 |
+
footer: acf.__('Close'),
|
766 |
+
onClose: function() {
|
767 |
+
model.onChange();
|
768 |
+
}
|
769 |
+
});
|
770 |
|
771 |
+
},
|
|
|
|
|
772 |
|
773 |
+
onClickRemove: function(e, $el) {
|
|
|
774 |
|
775 |
+
this.setValue({
|
776 |
+
remove: true
|
777 |
+
});
|
778 |
|
779 |
+
},
|
|
|
|
|
780 |
|
781 |
+
onChange: function(e, $el) {
|
|
|
782 |
|
783 |
+
// get the changed value
|
784 |
+
var val = this.getValue();
|
|
|
|
|
|
|
785 |
|
786 |
+
// update inputs
|
787 |
+
this.setValue(val);
|
788 |
|
789 |
+
},
|
790 |
|
791 |
+
});
|
|
|
792 |
|
793 |
+
acf.registerFieldType(ACFE_Advanced_Link);
|
794 |
|
795 |
/**
|
796 |
+
* Field: Advanced Link Manager
|
797 |
*/
|
798 |
+
new acf.Model({
|
|
|
799 |
|
800 |
+
actions: {
|
801 |
+
'invalid_field': 'invalidField',
|
802 |
+
},
|
803 |
|
804 |
+
filters: {
|
805 |
+
'select2_ajax_data/type=post_object': 'ajaxField',
|
806 |
+
},
|
807 |
|
808 |
+
invalidField: function(field) {
|
809 |
|
810 |
+
var $advanced_link = field.$el.closest('.acf-field-acfe-advanced-link').not('.acf-error');
|
|
|
811 |
|
812 |
+
if ($advanced_link.length) {
|
813 |
|
814 |
+
var advanced_link_field = acf.getInstance($advanced_link);
|
|
|
815 |
|
816 |
+
advanced_link_field.showError(field.notice.get('text'));
|
817 |
|
818 |
+
}
|
|
|
819 |
|
820 |
+
},
|
821 |
|
822 |
+
ajaxField: function(ajaxData, data, $el, field, select) {
|
823 |
|
824 |
+
if (field.get('key') !== 'post') {
|
825 |
+
return ajaxData;
|
826 |
+
}
|
|
|
827 |
|
828 |
+
var advanced_link = acf.getInstance($el.closest('.acf-field-acfe-advanced-link'));
|
|
|
829 |
|
830 |
+
if (advanced_link) {
|
831 |
+
ajaxData.field_key = advanced_link.get('key');
|
832 |
+
}
|
833 |
|
834 |
+
return ajaxData;
|
|
|
835 |
|
836 |
+
},
|
837 |
|
838 |
+
});
|
839 |
|
840 |
+
})(jQuery);
|
841 |
+
(function($) {
|
842 |
|
843 |
+
if (typeof acf === 'undefined' || typeof acfe === 'undefined') {
|
844 |
+
return;
|
845 |
+
}
|
846 |
|
847 |
+
/**
|
848 |
+
* Field: Button
|
849 |
+
*/
|
850 |
+
var ACFE_Button = acf.Field.extend({
|
851 |
|
852 |
+
type: 'acfe_button',
|
853 |
|
854 |
+
events: {
|
855 |
+
'click input': 'onClick',
|
856 |
+
'click button': 'onClick',
|
857 |
+
},
|
858 |
|
859 |
+
$input: function() {
|
|
|
860 |
|
861 |
+
if (this.$('input').length) {
|
|
|
|
|
862 |
|
863 |
+
return this.$('input');
|
|
|
|
|
864 |
|
865 |
+
} else if (this.$('button').length) {
|
|
|
|
|
|
|
|
|
866 |
|
867 |
+
return this.$('button');
|
|
|
|
|
|
|
|
|
868 |
|
869 |
+
}
|
|
|
870 |
|
871 |
+
},
|
|
|
872 |
|
873 |
+
initialize: function() {
|
874 |
|
875 |
+
// vars
|
876 |
+
var $button = this.$input();
|
877 |
|
878 |
+
// inherit data
|
879 |
+
this.inherit($button);
|
880 |
|
881 |
+
},
|
|
|
882 |
|
883 |
+
onClick: function(e, $el) {
|
884 |
|
885 |
+
if (!this.get('ajax')) return;
|
|
|
886 |
|
887 |
+
e.preventDefault();
|
888 |
|
889 |
+
// serialize form data
|
890 |
+
var data = {
|
891 |
+
action: 'acfe/fields/button',
|
892 |
+
field_key: this.get('key'),
|
893 |
+
acf: acf.serialize(this.$el.closest('form'), 'acf')
|
894 |
+
};
|
895 |
|
896 |
+
data = acf.applyFilters('acfe/fields/button/data', data, this.$el);
|
897 |
+
data = acf.applyFilters('acfe/fields/button/data/name=' + this.get('name'), data, this.$el);
|
898 |
+
data = acf.applyFilters('acfe/fields/button/data/key=' + this.get('key'), data, this.$el);
|
899 |
|
900 |
+
// Deprecated
|
901 |
+
acf.doAction('acfe/fields/button/before_ajax', this.$el, data);
|
902 |
+
|
903 |
+
// Actions
|
904 |
+
acf.doAction('acfe/fields/button/before', this.$el, data);
|
905 |
+
acf.doAction('acfe/fields/button/before/name=' + this.get('name'), this.$el, data);
|
906 |
+
acf.doAction('acfe/fields/button/before/key=' + this.get('key'), this.$el, data);
|
907 |
+
|
908 |
+
// ajax
|
909 |
+
$.ajax({
|
910 |
+
url: acf.get('ajaxurl'),
|
911 |
+
data: acf.prepareForAjax(data),
|
912 |
+
type: 'post',
|
913 |
+
dataType: 'json',
|
914 |
+
context: this,
|
915 |
|
916 |
+
// Success
|
917 |
+
success: function(response) {
|
918 |
|
919 |
+
// Deprecated
|
920 |
+
acf.doAction('acfe/fields/button/ajax_success', response, this.$el, data);
|
|
|
921 |
|
922 |
+
// Actions
|
923 |
+
acf.doAction('acfe/fields/button/success', response, this.$el, data);
|
924 |
+
acf.doAction('acfe/fields/button/success/name=' + this.get('name'), response, this.$el, data);
|
925 |
+
acf.doAction('acfe/fields/button/success/key=' + this.get('key'), response, this.$el, data);
|
926 |
|
927 |
+
},
|
|
|
928 |
|
929 |
+
// Complete
|
930 |
+
complete: function(xhr) {
|
|
|
|
|
|
|
931 |
|
932 |
+
var response = xhr.responseText;
|
|
|
|
|
933 |
|
934 |
+
// Actions
|
935 |
+
acf.doAction('acfe/fields/button/complete', response, this.$el, data);
|
936 |
+
acf.doAction('acfe/fields/button/complete/name=' + this.get('name'), response, this.$el, data);
|
937 |
+
acf.doAction('acfe/fields/button/complete/key=' + this.get('key'), response, this.$el, data);
|
938 |
|
939 |
+
}
|
|
|
|
|
940 |
|
|
|
|
|
941 |
|
942 |
+
});
|
943 |
|
944 |
+
}
|
|
|
945 |
|
946 |
+
});
|
|
|
947 |
|
948 |
+
acf.registerFieldType(ACFE_Button);
|
|
|
|
|
949 |
|
950 |
+
})(jQuery);
|
951 |
+
(function($) {
|
952 |
|
953 |
+
if (typeof acf === 'undefined' || typeof acfe === 'undefined') {
|
954 |
+
return;
|
955 |
+
}
|
956 |
|
957 |
+
/**
|
958 |
+
* Field: Checkbox
|
959 |
+
*/
|
960 |
+
new acf.Model({
|
|
|
961 |
|
962 |
+
actions: {
|
963 |
+
'new_field': 'newField',
|
964 |
+
},
|
965 |
|
966 |
+
validateField: function(field) {
|
|
|
|
|
967 |
|
968 |
+
// check setting
|
969 |
+
if (!field.has('acfeLabels')) {
|
970 |
+
return false;
|
971 |
+
}
|
972 |
|
973 |
+
// get type and real type
|
974 |
+
var type = field.get('rtype', field.get('type'));
|
975 |
|
976 |
+
// not radio
|
977 |
+
return type === 'checkbox';
|
978 |
|
979 |
+
},
|
|
|
980 |
|
981 |
+
newField: function(field) {
|
|
|
982 |
|
983 |
+
// bail early
|
984 |
+
if (!this.validateField(field)) {
|
985 |
+
return;
|
986 |
+
}
|
987 |
|
988 |
+
// vars
|
989 |
+
var label, item;
|
990 |
+
var labels = field.get('acfeLabels');
|
991 |
|
992 |
+
// loop
|
993 |
+
for (label in labels) {
|
994 |
|
995 |
+
item = labels[label];
|
996 |
+
field.$control().find('input[type=checkbox][value="' + item + '"]').closest('ul').before('<strong>' + label + '</strong>');
|
|
|
|
|
997 |
|
998 |
+
}
|
|
|
999 |
|
1000 |
+
}
|
|
|
1001 |
|
1002 |
+
});
|
|
|
|
|
1003 |
|
1004 |
+
})(jQuery);
|
1005 |
+
(function($) {
|
|
|
|
|
|
|
1006 |
|
1007 |
+
if (typeof acf === 'undefined' || typeof acfe === 'undefined') {
|
1008 |
+
return;
|
1009 |
+
}
|
1010 |
|
1011 |
+
/**
|
1012 |
+
* Field: Clone
|
1013 |
+
*/
|
1014 |
+
var Clone = acf.Field.extend({
|
1015 |
|
1016 |
+
wait: false,
|
|
|
1017 |
|
1018 |
+
type: 'clone',
|
|
|
|
|
|
|
|
|
1019 |
|
1020 |
+
events: {
|
1021 |
+
'click [data-name="edit"]': 'onClick',
|
1022 |
+
'duplicateField': 'onDuplicate'
|
1023 |
+
},
|
1024 |
|
1025 |
+
initialize: function() {
|
|
|
1026 |
|
1027 |
+
if (this.has('acfeCloneModal')) {
|
|
|
|
|
1028 |
|
1029 |
+
var edit = this.get('acfeCloneModalButton');
|
|
|
1030 |
|
1031 |
+
this.$el.find('> .acf-input > .acf-fields, > .acf-input > .acf-table').wrapAll('<div class="acfe-modal"><div class="acfe-modal-wrapper"><div class="acfe-modal-content"></div></div></div>');
|
1032 |
+
this.$el.find('> .acf-input').append('<a data-name="edit" class="acf-button button" href="#">' + edit + '</a>');
|
1033 |
|
1034 |
+
}
|
|
|
|
|
1035 |
|
1036 |
+
},
|
|
|
1037 |
|
1038 |
+
onClick: function(e, $el) {
|
|
|
|
|
1039 |
|
1040 |
+
// normal title
|
1041 |
+
var title = this.$labelWrap().find('label').text().trim();
|
|
|
|
|
|
|
|
|
1042 |
|
1043 |
+
// inside table
|
1044 |
+
if (this.$el.is('td')) {
|
1045 |
|
1046 |
+
title = this.get('acfeGroupModalButton');
|
1047 |
+
var $th = this.$el.closest('table').find(' > thead th[data-key="' + this.get('key') + '"]');
|
1048 |
|
1049 |
+
if ($th.length) {
|
1050 |
+
title = acfe.getTextNode($th);
|
1051 |
+
}
|
1052 |
|
1053 |
+
}
|
1054 |
|
1055 |
+
var $modal = this.$el.find('> .acf-input > .acfe-modal').addClass('acfe-modal-edit-' + this.get('name') + ' acfe-modal-edit-' + this.get('key'));
|
1056 |
|
1057 |
+
// Title
|
1058 |
+
if (!title.length) {
|
1059 |
+
title = this.get('acfeCloneModalButton');
|
1060 |
+
}
|
1061 |
|
1062 |
+
// Close
|
1063 |
+
var close = false;
|
1064 |
|
1065 |
+
if (this.has('acfeCloneModalClose')) {
|
1066 |
+
close = acf.__('Close');
|
1067 |
+
}
|
1068 |
|
1069 |
+
// Size
|
1070 |
+
var size = 'large';
|
1071 |
+
|
1072 |
+
if (this.has('acfeCloneModalSize')) {
|
1073 |
+
size = this.get('acfeCloneModalSize');
|
1074 |
}
|
|
|
1075 |
|
1076 |
+
// Open modal
|
1077 |
+
new acfe.Popup($modal, {
|
1078 |
+
title: title,
|
1079 |
+
size: size,
|
1080 |
+
footer: close
|
1081 |
+
});
|
|
|
1082 |
|
1083 |
+
},
|
1084 |
+
|
1085 |
+
onDuplicate: function(e, $el, $duplicate) {
|
1086 |
+
$duplicate.find('a[data-name="edit"]').remove();
|
1087 |
+
}
|
1088 |
|
1089 |
+
});
|
|
|
1090 |
|
1091 |
+
acf.registerFieldType(Clone);
|
|
|
1092 |
|
1093 |
+
})(jQuery);
|
1094 |
+
(function($) {
|
1095 |
|
1096 |
+
if (typeof acf === 'undefined' || typeof acfe === 'undefined') {
|
1097 |
+
return;
|
1098 |
}
|
1099 |
|
1100 |
+
/**
|
1101 |
+
* Field: Code Editor
|
1102 |
+
*/
|
1103 |
+
var CodeEditor = acf.Field.extend({
|
1104 |
|
1105 |
+
wait: false,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1106 |
|
1107 |
+
type: 'acfe_code_editor',
|
|
|
|
|
1108 |
|
1109 |
+
editor: {},
|
1110 |
|
1111 |
+
events: {
|
1112 |
+
'showField': 'onShow',
|
1113 |
+
'duplicateField': 'onDuplicate'
|
1114 |
+
},
|
1115 |
|
1116 |
+
$control: function() {
|
1117 |
+
return this.$('> .acf-input > .acf-input-wrap');
|
1118 |
+
},
|
1119 |
|
1120 |
+
$input: function() {
|
1121 |
+
return this.$control().find('> textarea');
|
1122 |
+
},
|
1123 |
|
1124 |
+
initialize: function() {
|
1125 |
+
|
1126 |
+
// bail early
|
1127 |
+
if (!acf.isset(wp, 'codeEditor')) {
|
1128 |
+
return;
|
1129 |
}
|
1130 |
|
1131 |
+
// args
|
1132 |
+
var args = {
|
1133 |
+
lineNumbers: this.get('lines'),
|
1134 |
+
lineWrapping: true,
|
1135 |
+
styleActiveLine: false,
|
1136 |
+
continueComments: true,
|
1137 |
+
indentUnit: this.get('indentUnit'),
|
1138 |
+
tabSize: 1,
|
1139 |
+
indentWithTabs: false,
|
1140 |
+
autoRefresh: true, // needed for gutenberg metabox
|
1141 |
+
mode: this.get('mode'),
|
1142 |
+
extraKeys: {
|
1143 |
+
'Tab': function(cm) {
|
1144 |
+
cm.execCommand('indentMore')
|
1145 |
+
},
|
1146 |
+
'Shift-Tab': function(cm) {
|
1147 |
+
cm.execCommand('indentLess')
|
1148 |
+
},
|
1149 |
+
},
|
1150 |
+
}
|
1151 |
|
1152 |
+
// filter args
|
1153 |
+
args = acf.applyFilters('acfe/fields/code_editor/args', args, this);
|
1154 |
+
args = acf.applyFilters('acfe/fields/code_editor/args/name=' + this.get('name'), args, this);
|
1155 |
+
args = acf.applyFilters('acfe/fields/code_editor/args/key=' + this.get('key'), args, this);
|
1156 |
|
1157 |
+
// initialize wp editor
|
1158 |
+
this.editor = wp.codeEditor.initialize(this.$input().get(0), {
|
1159 |
+
codemirror: $.extend(wp.codeEditor.defaultSettings.codemirror, args)
|
1160 |
+
});
|
|
|
1161 |
|
1162 |
+
if (this.get('rows')) {
|
1163 |
+
this.editor.codemirror.getScrollerElement().style.minHeight = this.get('rows') * 18.5 + 'px';
|
1164 |
+
}
|
1165 |
|
1166 |
+
if (this.get('maxRows')) {
|
1167 |
+
this.editor.codemirror.getScrollerElement().style.maxHeight = this.get('maxRows') * 18.5 + 'px';
|
1168 |
+
}
|
1169 |
|
1170 |
+
this.editor.codemirror.on('change', this.proxy(this.onEditorChange));
|
|
|
1171 |
|
1172 |
+
acf.doAction('acfe/fields/code_editor/init', this.editor, this);
|
1173 |
+
acf.doAction('acfe/fields/code_editor/init/name=' + this.get('name'), this.editor, this);
|
1174 |
+
acf.doAction('acfe/fields/code_editor/init/key=' + this.get('key'), this.editor, this);
|
1175 |
|
1176 |
+
},
|
1177 |
|
1178 |
+
onEditorChange: function(e, $el) {
|
|
|
1179 |
|
1180 |
+
this.editor.codemirror.save();
|
1181 |
+
this.$input().change();
|
1182 |
|
1183 |
+
},
|
1184 |
|
1185 |
+
onShow: function() {
|
1186 |
+
if (this.editor.codemirror) {
|
1187 |
+
this.editor.codemirror.refresh();
|
1188 |
+
}
|
1189 |
+
},
|
1190 |
|
1191 |
+
onDuplicate: function(e, $el, $duplicate) {
|
1192 |
+
$duplicate.find('.CodeMirror:last').remove();
|
1193 |
+
},
|
1194 |
|
1195 |
+
});
|
|
|
1196 |
|
1197 |
+
acf.registerFieldType(CodeEditor);
|
1198 |
|
1199 |
+
})(jQuery);
|
1200 |
+
(function($) {
|
1201 |
|
1202 |
+
if (typeof acf === 'undefined' || typeof acfe === 'undefined') {
|
1203 |
+
return;
|
1204 |
+
}
|
1205 |
|
1206 |
+
/**
|
1207 |
+
* Field: Column
|
1208 |
+
*/
|
1209 |
+
var Column = acf.Field.extend({
|
1210 |
|
1211 |
+
wait: 'new_field',
|
1212 |
|
1213 |
+
type: 'acfe_column',
|
|
|
1214 |
|
1215 |
+
$control: function() {
|
1216 |
+
return this.$('.acf-fields:first');
|
1217 |
+
},
|
|
|
|
|
1218 |
|
1219 |
+
initialize: function() {
|
1220 |
|
1221 |
+
if (this.$el.is('td')) {
|
1222 |
|
1223 |
+
this.$el.closest('.acf-table').find('th[data-type="acfe_column"]').remove();
|
1224 |
+
this.remove();
|
1225 |
|
1226 |
+
}
|
1227 |
|
1228 |
+
if (this.get('endpoint')) {
|
1229 |
|
1230 |
+
this.$el.find('> .acf-label').remove();
|
1231 |
+
this.$el.find('> .acf-input').remove();
|
1232 |
|
1233 |
+
return;
|
1234 |
|
1235 |
+
}
|
1236 |
|
1237 |
+
var $field = this.$el;
|
1238 |
+
var $label = this.$el.find('> .acf-label');
|
1239 |
+
var $input = this.$inputWrap();
|
1240 |
+
var $wrap = this.$control();
|
1241 |
|
1242 |
+
$label.remove();
|
1243 |
|
1244 |
+
var $parent = $field.parent();
|
1245 |
+
$parent.addClass('acfe-column-wrapper');
|
1246 |
+
$wrap.addClass($parent.hasClass('-left') ? '-left' : '');
|
1247 |
+
$wrap.addClass($parent.hasClass('-clear') ? '-clear' : '');
|
1248 |
+
|
1249 |
+
$wrap.append($field.nextUntil('.acf-field-acfe-column', '.acf-field'));
|
|
|
1250 |
|
|
|
|
|
|
|
|
|
|
|
1251 |
}
|
1252 |
|
1253 |
+
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1254 |
|
1255 |
+
acf.registerFieldType(Column);
|
|
|
1256 |
|
1257 |
+
})(jQuery);
|
1258 |
+
(function($) {
|
1259 |
|
1260 |
+
if (typeof acf === 'undefined' || typeof acfe === 'undefined') {
|
1261 |
+
return;
|
1262 |
+
}
|
1263 |
|
1264 |
+
/**
|
1265 |
+
* Field: Flexible Content Overwrite
|
1266 |
+
*/
|
1267 |
+
var FlexibleContent = acf.models.FlexibleContentField;
|
|
|
1268 |
|
1269 |
+
acf.models.FlexibleContentField = FlexibleContent.extend({
|
|
|
1270 |
|
1271 |
+
addSortable: function(self) {
|
1272 |
+
|
1273 |
+
// bail early if max 1 row
|
1274 |
+
if (this.get('max') == 1) {
|
1275 |
+
return;
|
1276 |
+
}
|
1277 |
+
|
1278 |
+
// add sortable
|
1279 |
+
this.$layoutsWrap().sortable({
|
1280 |
+
items: ' > .layout',
|
1281 |
+
handle: '> .acf-fc-layout-handle',
|
1282 |
+
forceHelperSize: false, // Changed to false
|
1283 |
+
forcePlaceholderSize: true,
|
1284 |
+
revert: 50,
|
1285 |
+
tolerance: "pointer", // Changed to pointer
|
1286 |
+
scroll: true,
|
1287 |
+
stop: function(event, ui) {
|
1288 |
+
self.render();
|
1289 |
+
},
|
1290 |
+
update: function(event, ui) {
|
1291 |
+
self.$input().trigger('change');
|
1292 |
+
}
|
1293 |
});
|
|
|
1294 |
|
1295 |
+
},
|
|
|
|
|
1296 |
|
1297 |
+
acfeOneClick: function(e, $el) {
|
|
|
|
|
|
|
1298 |
|
1299 |
+
// Vars
|
1300 |
+
var $clones = this.$clones();
|
1301 |
+
var $layout_name = $($clones[0]).data('layout');
|
1302 |
|
1303 |
+
// Source
|
1304 |
+
var $layout_source = null;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1305 |
|
1306 |
+
if ($el.hasClass('acf-icon')) {
|
1307 |
+
$layout_source = $el.closest('.layout');
|
1308 |
+
}
|
1309 |
|
1310 |
+
// Add
|
1311 |
+
this.add({
|
1312 |
+
layout: $layout_name,
|
1313 |
+
before: $layout_source
|
1314 |
+
});
|
1315 |
|
1316 |
+
// Hide native tooltip
|
1317 |
+
var acfPopup = $('.acf-fc-popup');
|
1318 |
|
1319 |
+
if (acfPopup.length) {
|
1320 |
+
acfPopup.hide();
|
1321 |
+
}
|
1322 |
|
|
|
1323 |
|
1324 |
+
},
|
1325 |
|
1326 |
+
acfeLayoutInit: function($layout) {
|
1327 |
|
1328 |
+
// flexible content
|
1329 |
+
var key = this.get('key');
|
1330 |
+
var name = this.get('name');
|
1331 |
+
var $el = this.$el;
|
1332 |
|
1333 |
+
// layout
|
1334 |
+
var layout = $layout.data('layout');
|
1335 |
+
var index = $layout.index();
|
1336 |
|
1337 |
+
// Placeholder
|
1338 |
+
var $placeholder = $layout.find('> .acfe-fc-placeholder');
|
1339 |
|
1340 |
+
// Placeholder: Show
|
1341 |
+
$placeholder.removeClass('acf-hidden');
|
1342 |
|
1343 |
+
// If no modal edition & opened: Hide Placeholder
|
1344 |
+
if (!this.has('acfeFlexibleModalEdition') && !this.isLayoutClosed($layout)) {
|
1345 |
|
1346 |
+
$placeholder.addClass('acf-hidden');
|
1347 |
|
1348 |
+
}
|
1349 |
|
1350 |
+
// Flexible has Preview
|
1351 |
+
if (this.isLayoutClosed($layout) && this.has('acfeFlexiblePreview') && !$placeholder.hasClass('-loading')) {
|
1352 |
|
1353 |
+
$placeholder.addClass('acfe-fc-preview -loading').find('> .acfe-flexible-placeholder').prepend('<span class="spinner"></span>');
|
1354 |
+
$placeholder.find('> .acfe-fc-overlay').addClass('-hover');
|
1355 |
|
1356 |
+
// vars
|
1357 |
+
var $input = $layout.children('input');
|
1358 |
+
var prefix = $input.attr('name').replace('[acf_fc_layout]', '');
|
1359 |
|
1360 |
+
// ajax data
|
1361 |
+
var ajaxData = {
|
1362 |
+
action: 'acfe/flexible/layout_preview',
|
1363 |
+
field_key: key,
|
1364 |
+
i: index,
|
1365 |
+
layout: layout,
|
1366 |
+
value: acf.serialize($layout, prefix)
|
1367 |
+
};
|
1368 |
|
1369 |
+
acf.doAction('acfe/fields/flexible_content/before_preview', $el, $layout, ajaxData);
|
1370 |
+
acf.doAction('acfe/fields/flexible_content/before_preview/name=' + name, $el, $layout, ajaxData);
|
1371 |
+
acf.doAction('acfe/fields/flexible_content/before_preview/key=' + key, $el, $layout, ajaxData);
|
1372 |
+
acf.doAction('acfe/fields/flexible_content/before_preview/name=' + name + '&layout=' + layout, $el, $layout, ajaxData);
|
1373 |
+
acf.doAction('acfe/fields/flexible_content/before_preview/key=' + key + '&layout=' + layout, $el, $layout, ajaxData);
|
1374 |
|
1375 |
+
// on success
|
1376 |
+
var onSuccess = function(response) {
|
1377 |
|
1378 |
+
if (response) {
|
1379 |
+
$placeholder.find('> .acfe-flexible-placeholder').html(response);
|
1380 |
+
} else {
|
1381 |
+
$placeholder.removeClass('acfe-fc-preview');
|
1382 |
+
}
|
1383 |
|
1384 |
+
acf.doAction('acfe/fields/flexible_content/preview', response, $el, $layout, ajaxData);
|
1385 |
+
acf.doAction('acfe/fields/flexible_content/preview/name=' + name, response, $el, $layout, ajaxData);
|
1386 |
+
acf.doAction('acfe/fields/flexible_content/preview/key=' + key, response, $el, $layout, ajaxData);
|
1387 |
+
acf.doAction('acfe/fields/flexible_content/preview/name=' + name + '&layout=' + layout, response, $el, $layout, ajaxData);
|
1388 |
+
acf.doAction('acfe/fields/flexible_content/preview/key=' + key + '&layout=' + layout, response, $el, $layout, ajaxData);
|
1389 |
|
1390 |
+
};
|
1391 |
|
1392 |
+
// on complete
|
1393 |
+
var onComplete = function() {
|
1394 |
|
1395 |
+
$placeholder.find('> .acfe-fc-overlay').removeClass('-hover');
|
1396 |
+
$placeholder.removeClass('-loading').find('> .acfe-flexible-placeholder > .spinner').remove();
|
1397 |
|
1398 |
+
};
|
1399 |
|
1400 |
+
// ajax
|
1401 |
+
$.ajax({
|
1402 |
+
url: acf.get('ajaxurl'),
|
1403 |
+
data: acf.prepareForAjax(ajaxData),
|
1404 |
+
dataType: 'html',
|
1405 |
+
type: 'post',
|
1406 |
+
success: onSuccess,
|
1407 |
+
complete: onComplete
|
1408 |
+
});
|
1409 |
|
1410 |
+
}
|
|
|
1411 |
|
1412 |
+
}
|
1413 |
|
1414 |
+
});
|
1415 |
|
1416 |
+
/**
|
1417 |
+
* Field: Flexible Content
|
1418 |
+
*/
|
1419 |
+
new acf.Model({
|
1420 |
|
1421 |
+
actions: {
|
1422 |
+
'new_field/type=flexible_content': 'newField',
|
1423 |
+
'acfe/flexible/layouts': 'newLayouts',
|
1424 |
+
'show': 'onShow',
|
1425 |
+
'hide': 'onHide',
|
1426 |
+
'append': 'onAppend',
|
1427 |
+
'invalid_field': 'onInvalidField',
|
1428 |
+
'valid_field': 'onValidField',
|
1429 |
+
},
|
1430 |
|
1431 |
+
newField: function(flexible) {
|
1432 |
|
1433 |
+
// Vars
|
1434 |
+
var $clones = flexible.$clones();
|
1435 |
+
var $layouts = flexible.$layouts();
|
1436 |
|
1437 |
+
// Do Actions
|
1438 |
+
$layouts.each(function() {
|
1439 |
|
1440 |
+
var $layout = $(this);
|
1441 |
+
var $name = $layout.data('layout');
|
1442 |
|
1443 |
+
acf.doAction('acfe/flexible/layouts', $layout, flexible);
|
1444 |
+
acf.doAction('acfe/flexible/layout/name=' + $name, $layout, flexible);
|
1445 |
|
1446 |
+
});
|
1447 |
|
1448 |
+
// ACFE: 1 layout available - OneClick
|
1449 |
+
if ($clones.length === 1) {
|
1450 |
|
1451 |
+
// Remove native ACF Tooltip action
|
1452 |
+
flexible.removeEvents({
|
1453 |
+
'click [data-name="add-layout"]': 'onClickAdd'
|
1454 |
+
});
|
1455 |
|
1456 |
+
// Add ACF Extended Modal action
|
1457 |
+
flexible.addEvents({
|
1458 |
+
'click [data-name="add-layout"]': 'acfeOneClick'
|
1459 |
+
});
|
1460 |
|
1461 |
+
}
|
|
|
1462 |
|
1463 |
+
flexible.addEvents({
|
1464 |
+
'click .acfe-fc-placeholder': 'onClickCollapse'
|
1465 |
+
});
|
1466 |
|
1467 |
+
flexible.addEvents({
|
1468 |
+
'click .acfe-flexible-opened-actions > a': 'onClickCollapse'
|
1469 |
+
});
|
1470 |
|
1471 |
+
// Flexible: Ajax
|
1472 |
+
if (flexible.has('acfeFlexibleAjax')) {
|
1473 |
|
1474 |
+
flexible.add = function(args) {
|
|
|
1475 |
|
1476 |
+
// Get Flexible
|
1477 |
+
var flexible = this;
|
1478 |
|
1479 |
+
// defaults
|
1480 |
+
args = acf.parseArgs(args, {
|
1481 |
+
layout: '',
|
1482 |
+
before: false
|
1483 |
+
});
|
1484 |
|
1485 |
+
// validate
|
1486 |
+
if (!this.allowAdd()) {
|
1487 |
+
return false;
|
1488 |
+
}
|
1489 |
+
|
1490 |
+
// ajax
|
1491 |
+
$.ajax({
|
1492 |
+
url: acf.get('ajaxurl'),
|
1493 |
+
data: acf.prepareForAjax({
|
1494 |
+
action: 'acfe/flexible/models',
|
1495 |
+
field_key: this.get('key'),
|
1496 |
+
layout: args.layout,
|
1497 |
+
}),
|
1498 |
+
dataType: 'html',
|
1499 |
+
type: 'post',
|
1500 |
+
beforeSend: function() {
|
1501 |
+
$('body').addClass('-loading');
|
1502 |
+
},
|
1503 |
+
success: function(html) {
|
1504 |
+
if (html) {
|
1505 |
|
1506 |
+
var $layout = $(html);
|
1507 |
+
var uniqid = acf.uniqid();
|
1508 |
|
1509 |
+
var search = 'acf[' + flexible.get('key') + '][acfcloneindex]';
|
1510 |
+
var replace = flexible.$control().find('> input[type=hidden]').attr('name') + '[' + uniqid + ']';
|
1511 |
|
1512 |
+
// add row
|
1513 |
+
var $el = acf.duplicate({
|
1514 |
+
target: $layout,
|
1515 |
+
search: search,
|
1516 |
+
replace: replace,
|
1517 |
+
append: flexible.proxy(function($el, $el2) {
|
1518 |
|
1519 |
+
// append
|
1520 |
+
if (args.before) {
|
1521 |
+
args.before.before($el2);
|
1522 |
+
} else {
|
1523 |
+
flexible.$layoutsWrap().append($el2);
|
1524 |
+
}
|
1525 |
|
1526 |
+
// enable
|
1527 |
+
acf.enable($el2, flexible.cid);
|
1528 |
|
1529 |
+
// render
|
1530 |
+
flexible.render();
|
1531 |
+
})
|
1532 |
+
});
|
1533 |
|
1534 |
+
// Fix data-id
|
1535 |
+
$el.attr('data-id', uniqid);
|
1536 |
|
1537 |
+
// trigger change for validation errors
|
1538 |
+
flexible.$input().trigger('change');
|
1539 |
|
1540 |
+
// return
|
1541 |
+
return $el;
|
1542 |
|
1543 |
+
}
|
1544 |
+
},
|
1545 |
+
'complete': function() {
|
1546 |
+
$('body').removeClass('-loading');
|
1547 |
+
}
|
1548 |
+
});
|
1549 |
|
1550 |
+
};
|
1551 |
|
1552 |
+
}
|
|
|
1553 |
|
1554 |
+
},
|
1555 |
|
1556 |
+
newLayouts: function($layout, flexible) {
|
1557 |
|
1558 |
+
// Layout Closed
|
1559 |
+
if (flexible.isLayoutClosed($layout)) {
|
1560 |
|
1561 |
+
// Placeholder
|
1562 |
+
$layout.find('> .acfe-fc-placeholder').removeClass('acf-hidden');
|
1563 |
|
1564 |
+
if (flexible.has('acfeFlexibleOpen')) {
|
1565 |
|
1566 |
+
acfe.enableFilter('acfeFlexibleOpen');
|
|
|
1567 |
|
1568 |
+
flexible.openLayout($layout);
|
1569 |
|
1570 |
+
acfe.disableFilter('acfeFlexibleOpen');
|
1571 |
|
1572 |
+
}
|
|
|
1573 |
|
1574 |
+
}
|
1575 |
|
1576 |
+
},
|
1577 |
|
1578 |
+
onShow: function($layout, type) {
|
1579 |
|
1580 |
+
if (type !== 'collapse' || !$layout.is('.layout')) {
|
1581 |
+
return;
|
1582 |
+
}
|
1583 |
|
1584 |
+
var flexible = acf.getInstance($layout.closest('.acf-field-flexible-content'));
|
1585 |
|
1586 |
+
// Hide Placeholder
|
1587 |
+
if (!flexible.has('acfeFlexibleModalEdition')) {
|
1588 |
+
$layout.find('> .acfe-fc-placeholder').addClass('acf-hidden');
|
1589 |
+
}
|
1590 |
|
1591 |
+
},
|
|
|
1592 |
|
1593 |
+
onHide: function($layout, type) {
|
1594 |
|
1595 |
+
if (type !== 'collapse' || !$layout.is('.layout') || $layout.is('.acf-clone')) {
|
1596 |
+
return;
|
1597 |
+
}
|
1598 |
|
1599 |
+
// Get Flexible
|
1600 |
+
var flexible = acf.getInstance($layout.closest('.acf-field-flexible-content'));
|
1601 |
|
1602 |
+
// Remove Ajax Title
|
1603 |
+
if (flexible.has('acfeFlexibleRemoveAjaxTitle')) {
|
1604 |
+
flexible.renderLayout = function($layout) {};
|
1605 |
+
}
|
1606 |
|
1607 |
+
// Preview Ajax
|
1608 |
+
flexible.acfeLayoutInit($layout);
|
1609 |
|
1610 |
+
},
|
|
|
1611 |
|
1612 |
+
onAppend: function($el) {
|
1613 |
|
1614 |
+
// Bail early if layout is not layout
|
1615 |
+
if (!$el.is('.layout')) {
|
1616 |
+
return;
|
1617 |
+
}
|
1618 |
|
1619 |
+
// Get Flexible
|
1620 |
+
var flexible = acf.getInstance($el.closest('.acf-field-flexible-content'));
|
1621 |
|
1622 |
+
// Open Layout
|
1623 |
+
if (!$el.is('.acfe-layout-duplicated')) {
|
1624 |
|
1625 |
+
// Modal Edition: Open
|
1626 |
+
if (flexible.has('acfeFlexibleModalEdition')) {
|
1627 |
+
$el.find('> [data-action="acfe-flexible-modal-edit"]:first').trigger('click');
|
1628 |
+
}
|
1629 |
|
1630 |
+
// Normal Edition: Open
|
1631 |
+
else {
|
1632 |
+
flexible.openLayout($el);
|
1633 |
+
}
|
1634 |
|
1635 |
+
}
|
|
|
1636 |
|
1637 |
+
flexible.acfeLayoutInit($el);
|
|
|
|
|
1638 |
|
1639 |
+
var $modal = flexible.$el.closest('.acfe-modal.-open');
|
1640 |
|
1641 |
+
if ($modal.length) {
|
1642 |
|
1643 |
+
// Scroll to new layout
|
1644 |
+
$modal.find('> .acfe-modal-wrapper > .acfe-modal-content').animate({
|
1645 |
+
scrollTop: parseInt($el.offset().top) - 200
|
1646 |
+
}, 200);
|
1647 |
|
1648 |
+
} else {
|
|
|
|
|
1649 |
|
1650 |
+
if (acfe.versionCompare(acf.get('acf_version'), '<', '5.9')) {
|
|
|
|
|
|
|
|
|
1651 |
|
1652 |
+
// Scroll to new layout
|
1653 |
+
$('html, body').animate({
|
1654 |
+
scrollTop: parseInt($el.offset().top) - 200
|
1655 |
+
}, 200);
|
|
|
1656 |
|
1657 |
+
} else {
|
1658 |
|
1659 |
+
// Avoid native ACF duplicate
|
1660 |
+
if (!$el.hasClass('-focused')) {
|
1661 |
|
1662 |
+
// Scroll to new layout
|
1663 |
+
$('html, body').animate({
|
1664 |
+
scrollTop: parseInt($el.offset().top) - 200
|
1665 |
+
}, 200);
|
1666 |
|
1667 |
+
}
|
|
|
1668 |
|
1669 |
+
}
|
|
|
|
|
|
|
1670 |
|
1671 |
+
}
|
|
|
|
|
|
|
|
|
1672 |
|
1673 |
+
},
|
1674 |
|
1675 |
+
onInvalidField: function(field) {
|
|
|
1676 |
|
1677 |
+
field.$el.parents('.layout').addClass('acfe-flexible-modal-edit-error');
|
1678 |
|
1679 |
+
},
|
|
|
1680 |
|
1681 |
+
onValidField: function(field) {
|
1682 |
|
1683 |
+
field.$el.parents('.layout').each(function() {
|
|
|
|
|
|
|
1684 |
|
1685 |
+
var $layout = $(this);
|
1686 |
|
1687 |
+
if (!$layout.find('.acf-error').length) {
|
1688 |
+
$layout.removeClass('acfe-flexible-modal-edit-error');
|
1689 |
+
}
|
|
|
1690 |
|
|
|
|
|
|
|
1691 |
});
|
1692 |
|
1693 |
}
|
1707 |
var flexible = acf.getFieldType('flexible_content');
|
1708 |
var model = flexible.prototype;
|
1709 |
|
1710 |
+
/**
|
1711 |
+
* Actions
|
1712 |
+
*/
|
1713 |
+
model.events['click .acf-fc-layout-handle'] = 'acfeEditLayoutTitleToggleHandle';
|
1714 |
+
model.acfeEditLayoutTitleToggleHandle = function(e, $el) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1715 |
|
1716 |
+
var flexible = this;
|
1717 |
|
1718 |
+
// Title Edition
|
1719 |
+
if (!flexible.has('acfeFlexibleTitleEdition'))
|
1720 |
+
return;
|
1721 |
|
1722 |
+
// Vars
|
1723 |
+
var $layout = $el.closest('.layout');
|
1724 |
|
1725 |
+
if ($layout.hasClass('acfe-flexible-title-edition')) {
|
|
|
|
|
1726 |
|
1727 |
+
$layout.find('> .acf-fc-layout-handle > .acfe-layout-title > input.acfe-flexible-control-title').trigger('blur');
|
1728 |
|
1729 |
}
|
1730 |
|
1731 |
+
}
|
|
|
1732 |
|
1733 |
+
model.events['click .acfe-layout-title-text'] = 'acfeEditLayoutTitle';
|
1734 |
+
model.acfeEditLayoutTitle = function(e, $el) {
|
|
|
1735 |
|
1736 |
+
// Get Flexible
|
1737 |
+
var flexible = this;
|
|
|
1738 |
|
1739 |
+
// Title Edition
|
1740 |
+
if (!flexible.has('acfeFlexibleTitleEdition'))
|
1741 |
+
return;
|
|
|
1742 |
|
1743 |
+
// Stop propagation
|
1744 |
+
e.stopPropagation();
|
1745 |
|
1746 |
+
// Toggle
|
1747 |
+
flexible.acfeEditLayoutTitleToggle(e, $el);
|
1748 |
|
1749 |
+
}
|
|
|
|
|
|
|
|
|
|
|
1750 |
|
1751 |
+
model.events['blur input.acfe-flexible-control-title'] = 'acfeEditLayoutTitleToggle';
|
1752 |
+
model.acfeEditLayoutTitleToggle = function(e, $el) {
|
1753 |
|
1754 |
+
var flexible = this;
|
1755 |
|
1756 |
+
// Vars
|
1757 |
+
var $layout = $el.closest('.layout');
|
1758 |
+
var $handle = $layout.find('> .acf-fc-layout-handle');
|
1759 |
+
var $title = $handle.find('.acfe-layout-title');
|
1760 |
|
1761 |
+
if ($layout.hasClass('acfe-flexible-title-edition')) {
|
|
|
1762 |
|
1763 |
+
var $input = $title.find('> input[data-acfe-flexible-control-title-input]');
|
1764 |
|
1765 |
+
if ($input.val() === '')
|
1766 |
+
$input.val($input.attr('placeholder')).trigger('input');
|
1767 |
|
1768 |
+
$layout.removeClass('acfe-flexible-title-edition');
|
|
|
1769 |
|
1770 |
+
$input.insertAfter($handle);
|
|
|
1771 |
|
1772 |
+
} else {
|
1773 |
|
1774 |
+
var $input = $layout.find('> input[data-acfe-flexible-control-title-input]');
|
1775 |
|
1776 |
+
var $input = $input.appendTo($title);
|
1777 |
|
1778 |
+
$layout.addClass('acfe-flexible-title-edition');
|
1779 |
+
$input.focus().attr('size', $input.val().length);
|
1780 |
|
1781 |
+
}
|
1782 |
|
1783 |
+
}
|
1784 |
|
1785 |
+
// Layout: Edit Title
|
1786 |
+
model.events['click input.acfe-flexible-control-title'] = 'acfeEditLayoutTitlePropagation';
|
1787 |
+
model.acfeEditLayoutTitlePropagation = function(e, $el) {
|
1788 |
|
1789 |
+
e.stopPropagation();
|
1790 |
|
1791 |
+
}
|
1792 |
|
1793 |
+
// Layout: Edit Title Input
|
1794 |
+
model.events['input [data-acfe-flexible-control-title-input]'] = 'acfeEditLayoutTitleInput';
|
1795 |
+
model.acfeEditLayoutTitleInput = function(e, $el) {
|
1796 |
|
1797 |
+
// Vars
|
1798 |
+
var $layout = $el.closest('.layout');
|
1799 |
+
var $title = $layout.find('> .acf-fc-layout-handle .acfe-layout-title .acfe-layout-title-text');
|
1800 |
|
1801 |
+
var val = $el.val();
|
1802 |
|
1803 |
+
$el.attr('size', val.length);
|
|
|
1804 |
|
1805 |
+
$title.html(val);
|
|
|
1806 |
|
1807 |
+
}
|
1808 |
|
1809 |
+
// Layout: Edit Title Input Enter
|
1810 |
+
model.events['keypress [data-acfe-flexible-control-title-input]'] = 'acfeEditLayoutTitleInputEnter';
|
1811 |
+
model.acfeEditLayoutTitleInputEnter = function(e, $el) {
|
1812 |
|
1813 |
+
// Enter Key
|
1814 |
+
if (e.keyCode !== 13)
|
1815 |
+
return;
|
1816 |
|
1817 |
+
e.preventDefault();
|
1818 |
+
$el.blur();
|
1819 |
|
1820 |
+
}
|
1821 |
|
1822 |
+
// Layout: Settings
|
1823 |
+
model.events['click [data-acfe-flexible-settings]'] = 'acfeLayoutSettings';
|
1824 |
+
model.acfeLayoutSettings = function(e, $el) {
|
1825 |
|
1826 |
+
// Get Flexible
|
1827 |
+
var flexible = this;
|
1828 |
|
1829 |
+
// Vars
|
1830 |
+
var $layout = $el.closest('.layout');
|
1831 |
|
1832 |
+
// Modal data
|
1833 |
+
var $modal = $layout.find('> .acfe-modal.-settings');
|
1834 |
+
var $handle = $layout.find('> .acf-fc-layout-handle');
|
1835 |
|
1836 |
+
var $layout_order = $handle.find('> .acf-fc-layout-order').outerHTML();
|
1837 |
+
var $layout_title = $handle.find('.acfe-layout-title-text').text();
|
1838 |
|
1839 |
+
// Open modal
|
1840 |
+
new acfe.Popup($modal, {
|
1841 |
+
title: $layout_order + ' ' + $layout_title,
|
1842 |
+
footer: acf.__('Close'),
|
1843 |
+
onClose: function() {
|
1844 |
|
1845 |
+
if (flexible.has('acfeFlexiblePreview')) {
|
1846 |
+
flexible.closeLayout($layout);
|
1847 |
+
}
|
|
|
|
|
1848 |
|
1849 |
+
}
|
1850 |
});
|
1851 |
|
1852 |
}
|
1853 |
|
1854 |
/**
|
1855 |
+
* Layout: Toggle Action
|
1856 |
*/
|
1857 |
+
model.events['click [data-acfe-flexible-control-toggle]'] = 'acfeLayoutToggle';
|
1858 |
+
model.acfeLayoutToggle = function(e, $el) {
|
1859 |
|
1860 |
+
// Get Flexible
|
1861 |
+
var flexible = this;
|
1862 |
|
1863 |
// Vars
|
1864 |
+
var $layout = $el.closest('.layout');
|
1865 |
+
|
1866 |
+
var $field = $layout.find('> .acfe-flexible-layout-toggle');
|
1867 |
|
1868 |
+
if (!$field.length)
|
1869 |
return;
|
1870 |
|
1871 |
+
if ($field.val() === '1') {
|
|
|
|
|
|
|
1872 |
|
1873 |
+
$layout.removeClass('acfe-flexible-layout-hidden');
|
1874 |
+
$field.val('');
|
|
|
|
|
1875 |
|
1876 |
+
} else {
|
1877 |
|
1878 |
+
$layout.addClass('acfe-flexible-layout-hidden');
|
1879 |
+
$field.val('1');
|
1880 |
+
|
1881 |
+
}
|
1882 |
|
|
|
|
|
1883 |
}
|
1884 |
|
1885 |
/**
|
1886 |
+
* Layout: Toggle Spawn
|
1887 |
*/
|
1888 |
+
acf.addAction('acfe/flexible/layouts', function($layout, flexible) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1889 |
|
1890 |
+
if (!flexible.has('acfeFlexibleToggle'))
|
1891 |
+
return;
|
|
|
1892 |
|
1893 |
+
// Layout Closed
|
1894 |
+
var $field = $layout.find('> .acfe-flexible-layout-toggle');
|
1895 |
|
1896 |
+
if (!$field.length)
|
1897 |
+
return;
|
|
|
1898 |
|
1899 |
+
if ($field.val() === '1') {
|
|
|
|
|
|
|
|
|
1900 |
|
1901 |
+
$layout.addClass('acfe-flexible-layout-hidden');
|
|
|
1902 |
|
1903 |
+
} else {
|
|
|
|
|
1904 |
|
1905 |
+
$layout.removeClass('acfe-flexible-layout-hidden');
|
1906 |
|
1907 |
+
}
|
1908 |
|
1909 |
+
});
|
1910 |
|
1911 |
+
// Layout: Clone
|
1912 |
+
model.events['click [data-acfe-flexible-control-clone]'] = 'acfeCloneLayout';
|
1913 |
+
model.acfeCloneLayout = function(e, $el) {
|
|
|
1914 |
|
1915 |
+
// Get Flexible
|
1916 |
+
var flexible = this;
|
|
|
1917 |
|
1918 |
+
// Vars
|
1919 |
+
var $layout = $el.closest('.layout');
|
1920 |
+
var layout_name = $layout.data('layout');
|
1921 |
|
1922 |
+
// Popup min/max
|
1923 |
+
var $popup = $(flexible.$popup().html());
|
1924 |
+
var $layouts = flexible.$layouts();
|
1925 |
|
1926 |
+
var countLayouts = function(name) {
|
1927 |
+
return $layouts.filter(function() {
|
1928 |
+
return $(this).data('layout') === name;
|
1929 |
+
}).length;
|
1930 |
+
};
|
1931 |
|
1932 |
+
// vars
|
1933 |
+
var $a = $popup.find('[data-layout="' + layout_name + '"]');
|
1934 |
+
var min = $a.data('min') || 0;
|
1935 |
+
var max = $a.data('max') || 0;
|
1936 |
+
var count = countLayouts(layout_name);
|
1937 |
|
1938 |
+
// max
|
1939 |
+
if (max && count >= max) {
|
1940 |
|
1941 |
+
$el.addClass('disabled');
|
1942 |
+
return false;
|
1943 |
|
1944 |
+
} else {
|
|
|
1945 |
|
1946 |
+
$el.removeClass('disabled');
|
|
|
|
|
1947 |
|
1948 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1949 |
|
1950 |
+
// Fix inputs
|
1951 |
+
flexible.acfeFixInputs($layout);
|
|
|
|
|
|
|
1952 |
|
1953 |
+
var $_layout = $layout.clone();
|
|
|
1954 |
|
1955 |
+
// Clean Layout
|
1956 |
+
flexible.acfeCleanLayouts($_layout);
|
|
|
|
|
|
|
1957 |
|
1958 |
+
var parent = $el.closest('.acf-flexible-content').find('> input[type=hidden]').attr('name');
|
|
|
|
|
|
|
|
|
1959 |
|
1960 |
+
// Clone
|
1961 |
+
var $layout_added = flexible.acfeDuplicate({
|
1962 |
+
layout: $_layout,
|
1963 |
+
before: $layout,
|
1964 |
+
parent: parent
|
1965 |
+
});
|
1966 |
|
1967 |
+
}
|
|
|
1968 |
|
1969 |
+
// Layout: Copy
|
1970 |
+
model.events['click [data-acfe-flexible-control-copy]'] = 'acfeCopyLayout';
|
1971 |
+
model.acfeCopyLayout = function(e, $el) {
|
1972 |
|
1973 |
+
// Get Flexible
|
1974 |
+
var flexible = this;
|
1975 |
|
1976 |
+
// Vars
|
1977 |
+
var $layout = $el.closest('.layout').clone();
|
1978 |
+
var source = flexible.$control().find('> input[type=hidden]').attr('name');
|
|
|
|
|
|
|
|
|
|
|
|
|
1979 |
|
1980 |
+
// Fix inputs
|
1981 |
+
flexible.acfeFixInputs($layout);
|
1982 |
|
1983 |
+
// Clean layout
|
1984 |
+
flexible.acfeCleanLayouts($layout);
|
1985 |
|
1986 |
+
// Get layout data
|
1987 |
+
var data = JSON.stringify({
|
1988 |
+
source: source,
|
1989 |
+
layouts: $layout[0].outerHTML
|
1990 |
+
});
|
1991 |
|
1992 |
+
// Append Temp Input
|
1993 |
+
var $input = $('<input type="text" style="clip:rect(0,0,0,0);clip-path:none;position:absolute;" value="" />').appendTo($('body'));
|
1994 |
+
$input.attr('value', data).select();
|
|
|
1995 |
|
1996 |
+
// Command: Copy
|
1997 |
+
if (document.execCommand('copy'))
|
1998 |
+
alert('Layout has been transferred to your clipboard');
|
|
|
|
|
|
|
|
|
|
|
|
|
1999 |
|
2000 |
+
// Prompt
|
2001 |
+
else
|
2002 |
+
prompt('Copy the following layout data to your clipboard', data);
|
2003 |
|
2004 |
+
// Remove the temp input
|
2005 |
+
$input.remove();
|
|
|
2006 |
|
2007 |
+
}
|
|
|
2008 |
|
2009 |
+
// Flexible: Copy Layouts
|
2010 |
+
model.acfeCopyLayouts = function() {
|
2011 |
|
2012 |
+
// Get Flexible
|
2013 |
+
var flexible = this;
|
2014 |
|
2015 |
+
// Get layouts
|
2016 |
+
var $layouts = flexible.$layoutsWrap().clone();
|
2017 |
+
var source = flexible.$control().find('> input[type=hidden]').attr('name');
|
2018 |
|
2019 |
+
// Fix inputs
|
2020 |
+
flexible.acfeFixInputs($layouts);
|
2021 |
|
2022 |
+
// Clean layout
|
2023 |
+
flexible.acfeCleanLayouts($layouts);
|
|
|
|
|
2024 |
|
2025 |
+
// Get layouts data
|
2026 |
+
var data = JSON.stringify({
|
2027 |
+
source: source,
|
2028 |
+
layouts: $layouts.html()
|
2029 |
+
});
|
2030 |
|
2031 |
+
// Append Temp Input
|
2032 |
+
var $input = $('<input type="text" style="clip:rect(0,0,0,0);clip-path:none;position:absolute;" value="" />').appendTo(flexible.$el);
|
2033 |
+
$input.attr('value', data).select();
|
2034 |
|
2035 |
+
// Command: Copy
|
2036 |
+
if (document.execCommand('copy'))
|
2037 |
+
alert('Layouts have been transferred to your clipboard');
|
2038 |
|
2039 |
+
// Prompt
|
2040 |
+
else
|
2041 |
+
prompt('Copy the following layouts data to your clipboard', data);
|
2042 |
|
2043 |
+
$input.remove();
|
|
|
2044 |
|
2045 |
+
}
|
2046 |
|
2047 |
+
// Flexible: Paste Layouts
|
2048 |
+
model.acfePasteLayouts = function() {
|
2049 |
|
2050 |
+
// Get Flexible
|
2051 |
+
var flexible = this;
|
|
|
|
|
|
|
2052 |
|
2053 |
+
var paste = prompt('Paste layouts data in the following field');
|
|
|
|
|
|
|
2054 |
|
2055 |
+
// No input
|
2056 |
+
if (paste == null || paste === '')
|
2057 |
+
return;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2058 |
|
2059 |
+
try {
|
|
|
2060 |
|
2061 |
+
// Paste HTML
|
2062 |
+
var data = JSON.parse(paste);
|
2063 |
+
var source = data.source;
|
2064 |
+
var $html = $(data.layouts);
|
2065 |
|
2066 |
+
// Parsed layouts
|
2067 |
+
var $html_layouts = $html.closest('[data-layout]');
|
|
|
|
|
|
|
|
|
2068 |
|
2069 |
+
if (!$html_layouts.length)
|
2070 |
+
return alert('No layouts data available');
|
|
|
|
|
|
|
|
|
2071 |
|
2072 |
+
// Popup min/max
|
2073 |
+
var $popup = $(flexible.$popup().html());
|
2074 |
+
var $layouts = flexible.$layouts();
|
2075 |
|
2076 |
+
var countLayouts = function(name) {
|
2077 |
+
return $layouts.filter(function() {
|
2078 |
+
return $(this).data('layout') === name;
|
2079 |
+
}).length;
|
2080 |
+
};
|
2081 |
|
2082 |
+
// init
|
2083 |
+
var validated_layouts = [];
|
2084 |
|
2085 |
+
// Each first level layouts
|
2086 |
+
$html_layouts.each(function() {
|
2087 |
|
2088 |
+
var $this = $(this);
|
2089 |
+
var layout_name = $this.data('layout');
|
2090 |
|
2091 |
+
// vars
|
2092 |
+
var $a = $popup.find('[data-layout="' + layout_name + '"]');
|
2093 |
+
var min = $a.data('min') || 0;
|
2094 |
+
var max = $a.data('max') || 0;
|
2095 |
+
var count = countLayouts(layout_name);
|
2096 |
+
|
2097 |
+
// max
|
2098 |
+
if (max && count >= max)
|
2099 |
+
return;
|
2100 |
+
|
2101 |
+
// Validate layout against available layouts
|
2102 |
+
var get_clone_layout = flexible.$clone($this.attr('data-layout'));
|
2103 |
+
|
2104 |
+
// Layout is invalid
|
2105 |
+
if (!get_clone_layout.length)
|
2106 |
+
return;
|
2107 |
|
2108 |
+
// Add validated layout
|
2109 |
+
validated_layouts.push($this);
|
2110 |
|
2111 |
+
});
|
2112 |
|
2113 |
+
// Nothing to add
|
2114 |
+
if (!validated_layouts.length)
|
2115 |
+
return alert('No layouts could be pasted');
|
2116 |
|
2117 |
+
// Add layouts
|
2118 |
+
$.each(validated_layouts, function() {
|
2119 |
|
2120 |
+
var $layout = $(this);
|
2121 |
+
var search = source + '[' + $layout.attr('data-id') + ']';
|
2122 |
+
var target = flexible.$control().find('> input[type=hidden]').attr('name');
|
2123 |
|
2124 |
+
flexible.acfeDuplicate({
|
2125 |
+
layout: $layout,
|
2126 |
+
before: false,
|
2127 |
+
search: search,
|
2128 |
+
parent: target
|
2129 |
+
});
|
2130 |
|
2131 |
+
});
|
2132 |
|
2133 |
+
} catch (e) {
|
2134 |
|
2135 |
+
console.log(e);
|
2136 |
+
alert('Invalid data');
|
2137 |
|
2138 |
+
}
|
2139 |
|
2140 |
+
}
|
2141 |
|
2142 |
+
// Flexible: Dropdown
|
2143 |
+
model.events['click [data-name="acfe-flexible-control-button"]'] = 'acfeControl';
|
2144 |
+
model.acfeControl = function(e, $el) {
|
2145 |
|
2146 |
+
// Get Flexible
|
2147 |
+
var flexible = this;
|
2148 |
|
2149 |
+
// Vars
|
2150 |
+
var $dropdown = $el.next('.tmpl-acfe-flexible-control-popup').html();
|
2151 |
|
2152 |
+
// Init Popup
|
2153 |
+
var Popup = acf.models.TooltipConfirm.extend({
|
2154 |
+
render: function() {
|
2155 |
+
this.html(this.get('text'));
|
2156 |
+
this.$el.addClass('acf-fc-popup');
|
2157 |
}
|
2158 |
+
});
|
2159 |
|
2160 |
+
// New Popup
|
2161 |
+
var popup = new Popup({
|
2162 |
+
target: $el,
|
2163 |
+
targetConfirm: false,
|
2164 |
+
text: $dropdown,
|
2165 |
+
context: flexible,
|
2166 |
+
confirm: function(e, $el) {
|
2167 |
+
|
2168 |
+
if ($el.attr('data-acfe-flexible-control-action') === 'paste')
|
2169 |
+
flexible.acfePasteLayouts();
|
2170 |
+
|
2171 |
+
else if ($el.attr('data-acfe-flexible-control-action') === 'copy')
|
2172 |
+
flexible.acfeCopyLayouts();
|
2173 |
|
|
|
|
|
|
|
2174 |
}
|
2175 |
+
});
|
2176 |
|
2177 |
+
popup.on('click', 'a', 'onConfirm');
|
2178 |
|
2179 |
+
}
|
2180 |
|
2181 |
+
// Flexible: Duplicate
|
2182 |
+
model.acfeDuplicate = function(args) {
|
|
|
2183 |
|
2184 |
+
// Arguments
|
2185 |
+
args = acf.parseArgs(args, {
|
2186 |
+
layout: '',
|
2187 |
+
before: false,
|
2188 |
+
parent: false,
|
2189 |
+
search: '',
|
2190 |
+
replace: '',
|
2191 |
+
});
|
2192 |
|
2193 |
+
// Validate
|
2194 |
+
if (!this.allowAdd())
|
2195 |
+
return false;
|
|
|
2196 |
|
2197 |
+
var uniqid = acf.uniqid();
|
|
|
2198 |
|
2199 |
+
if (args.parent) {
|
2200 |
|
2201 |
+
if (!args.search) {
|
2202 |
+
|
2203 |
+
args.search = args.parent + '[' + args.layout.attr('data-id') + ']';
|
2204 |
|
|
|
|
|
|
|
2205 |
}
|
2206 |
|
2207 |
+
args.replace = args.parent + '[' + uniqid + ']';
|
|
|
2208 |
|
2209 |
+
}
|
|
|
2210 |
|
2211 |
+
var duplicate_args = {
|
2212 |
+
target: args.layout,
|
2213 |
+
search: args.search,
|
2214 |
+
replace: args.replace,
|
2215 |
+
append: this.proxy(function($el, $el2) {
|
2216 |
|
2217 |
+
// Add class to duplicated layout
|
2218 |
+
$el2.addClass('acfe-layout-duplicated');
|
|
|
|
|
2219 |
|
2220 |
+
// Reset UniqID
|
2221 |
+
$el2.attr('data-id', uniqid);
|
2222 |
|
2223 |
+
// append before
|
2224 |
+
if (args.before) {
|
2225 |
|
2226 |
+
// Fix clone: Use after() instead of native before()
|
2227 |
+
args.before.after($el2);
|
2228 |
|
2229 |
+
}
|
2230 |
|
2231 |
+
// append end
|
2232 |
+
else {
|
|
|
|
|
2233 |
|
2234 |
+
this.$layoutsWrap().append($el2);
|
2235 |
|
2236 |
+
}
|
2237 |
|
2238 |
+
// enable
|
2239 |
+
acf.enable($el2, this.cid);
|
|
|
|
|
2240 |
|
2241 |
+
// render
|
2242 |
+
this.render();
|
2243 |
|
2244 |
+
})
|
2245 |
+
}
|
2246 |
|
2247 |
+
if (acfe.versionCompare(acf.get('acf_version'), '<', '5.9')) {
|
|
|
|
|
|
|
2248 |
|
2249 |
+
// Add row
|
2250 |
+
var $el = acf.duplicate(duplicate_args);
|
2251 |
|
2252 |
+
// Hotfix for ACF Pro 5.9
|
2253 |
+
} else {
|
2254 |
|
2255 |
+
// Add row
|
2256 |
+
var $el = model.acfeNewAcfDuplicate(duplicate_args);
|
2257 |
|
2258 |
+
}
|
2259 |
|
2260 |
+
// trigger change for validation errors
|
2261 |
+
this.$input().trigger('change');
|
2262 |
|
2263 |
+
// Fix tabs conditionally hidden
|
2264 |
+
var tabs = acf.getFields({
|
2265 |
+
type: 'tab',
|
2266 |
+
parent: $el,
|
2267 |
+
});
|
2268 |
|
2269 |
+
if (tabs.length) {
|
2270 |
|
2271 |
+
$.each(tabs, function() {
|
2272 |
|
2273 |
+
if (this.$el.hasClass('acf-hidden')) {
|
2274 |
|
2275 |
+
this.tab.$el.addClass('acf-hidden');
|
2276 |
|
|
|
|
|
2277 |
}
|
2278 |
|
2279 |
});
|
2280 |
|
2281 |
}
|
2282 |
|
|
|
2283 |
|
2284 |
+
// return
|
2285 |
+
return $el;
|
2286 |
|
|
|
|
|
2287 |
}
|
2288 |
|
2289 |
/**
|
2290 |
+
* Based on acf.duplicate (5.9)
|
2291 |
+
*
|
2292 |
+
* doAction('duplicate) has been commented out
|
2293 |
+
* This fix an issue with the WYSIWYG editor field during copy/paste since ACF 5.9
|
2294 |
*/
|
2295 |
+
model.acfeNewAcfDuplicate = function(args) {
|
2296 |
|
2297 |
+
// allow jQuery
|
2298 |
+
if (args instanceof jQuery) {
|
2299 |
+
args = {
|
2300 |
+
target: args
|
2301 |
+
};
|
2302 |
+
}
|
2303 |
|
2304 |
+
// defaults
|
2305 |
+
args = acf.parseArgs(args, {
|
2306 |
+
target: false,
|
2307 |
+
search: '',
|
2308 |
+
replace: '',
|
2309 |
+
rename: true,
|
2310 |
+
before: function($el) {},
|
2311 |
+
after: function($el, $el2) {},
|
2312 |
+
append: function($el, $el2) {
|
2313 |
+
$el.after($el2);
|
2314 |
+
}
|
2315 |
+
});
|
2316 |
|
2317 |
+
// compatibility
|
2318 |
+
args.target = args.target || args.$el;
|
|
|
|
|
2319 |
|
2320 |
+
// vars
|
2321 |
+
var $el = args.target;
|
2322 |
|
2323 |
+
// search
|
2324 |
+
args.search = args.search || $el.attr('data-id');
|
2325 |
+
args.replace = args.replace || acf.uniqid();
|
2326 |
|
2327 |
+
// before
|
2328 |
+
// - allow acf to modify DOM
|
2329 |
+
// - fixes bug where select field option is not selected
|
2330 |
+
args.before($el);
|
2331 |
+
acf.doAction('before_duplicate', $el);
|
2332 |
|
2333 |
+
// clone
|
2334 |
+
var $el2 = $el.clone();
|
2335 |
|
2336 |
+
// rename
|
2337 |
+
if (args.rename) {
|
2338 |
+
acf.rename({
|
2339 |
+
target: $el2,
|
2340 |
+
search: args.search,
|
2341 |
+
replace: args.replace,
|
2342 |
+
replacer: (typeof args.rename === 'function' ? args.rename : null)
|
2343 |
+
});
|
2344 |
+
}
|
2345 |
|
2346 |
+
// remove classes
|
2347 |
+
$el2.removeClass('acf-clone');
|
2348 |
+
$el2.find('.ui-sortable').removeClass('ui-sortable');
|
2349 |
|
2350 |
+
// after
|
2351 |
+
// - allow acf to modify DOM
|
2352 |
+
args.after($el, $el2);
|
2353 |
+
acf.doAction('after_duplicate', $el, $el2);
|
2354 |
|
2355 |
+
// append
|
2356 |
+
args.append($el, $el2);
|
2357 |
|
2358 |
+
/**
|
2359 |
+
* Fires after an element has been duplicated and appended to the DOM.
|
2360 |
+
*
|
2361 |
+
* @date 30/10/19
|
2362 |
+
* @since 5.8.7
|
2363 |
+
*
|
2364 |
+
* @param jQuery $el The original element.
|
2365 |
+
* @param jQuery $el2 The duplicated element.
|
2366 |
+
*/
|
2367 |
+
//acf.doAction('duplicate', $el, $el2 );
|
2368 |
|
2369 |
+
// append
|
2370 |
+
acf.doAction('append', $el2);
|
2371 |
|
2372 |
+
// return
|
2373 |
+
return $el2;
|
2374 |
+
};
|
2375 |
|
2376 |
+
// Flexible: Fix Inputs
|
2377 |
+
model.acfeFixInputs = function($layout) {
|
2378 |
|
2379 |
+
$layout.find('input').each(function() {
|
2380 |
|
2381 |
+
$(this).attr('value', this.value);
|
|
|
|
|
|
|
2382 |
|
2383 |
+
});
|
|
|
2384 |
|
2385 |
+
$layout.find('textarea').each(function() {
|
|
|
|
|
2386 |
|
2387 |
+
$(this).html(this.value);
|
|
|
2388 |
|
2389 |
+
});
|
|
|
|
|
2390 |
|
2391 |
+
$layout.find('input:radio,input:checkbox').each(function() {
|
|
|
|
|
|
|
|
|
|
|
2392 |
|
2393 |
+
if (this.checked)
|
2394 |
+
$(this).attr('checked', 'checked');
|
2395 |
|
2396 |
+
else
|
2397 |
+
$(this).attr('checked', false);
|
|
|
2398 |
|
2399 |
+
});
|
2400 |
|
2401 |
+
$layout.find('option').each(function() {
|
2402 |
|
2403 |
+
if (this.selected)
|
2404 |
+
$(this).attr('selected', 'selected');
|
2405 |
|
2406 |
+
else
|
2407 |
+
$(this).attr('selected', false);
|
|
|
2408 |
|
2409 |
+
});
|
|
|
|
|
|
|
2410 |
|
2411 |
+
}
|
|
|
|
|
2412 |
|
2413 |
+
// Flexible: Clean Layout
|
2414 |
+
model.acfeCleanLayouts = function($layout) {
|
2415 |
|
2416 |
+
// Clean WP Editor
|
2417 |
+
$layout.find('.acf-editor-wrap').each(function() {
|
|
|
|
|
2418 |
|
2419 |
+
var $input = $(this);
|
|
|
2420 |
|
2421 |
+
$input.find('.wp-editor-container div').remove();
|
2422 |
+
$input.find('.wp-editor-container textarea').css('display', '');
|
2423 |
|
2424 |
+
});
|
2425 |
|
2426 |
+
// Clean Date
|
2427 |
+
$layout.find('.acf-date-picker').each(function() {
|
2428 |
|
2429 |
+
var $input = $(this);
|
|
|
|
|
|
|
2430 |
|
2431 |
+
$input.find('input.input').removeClass('hasDatepicker').removeAttr('id');
|
|
|
|
|
2432 |
|
2433 |
+
});
|
|
|
2434 |
|
2435 |
+
// Clean Time
|
2436 |
+
$layout.find('.acf-time-picker').each(function() {
|
2437 |
|
2438 |
+
var $input = $(this);
|
2439 |
|
2440 |
+
$input.find('input.input').removeClass('hasDatepicker').removeAttr('id');
|
|
|
2441 |
|
2442 |
+
});
|
|
|
|
|
2443 |
|
2444 |
+
// Clean DateTime
|
2445 |
+
$layout.find('.acf-date-time-picker').each(function() {
|
2446 |
|
2447 |
+
var $input = $(this);
|
2448 |
|
2449 |
+
$input.find('input.input').removeClass('hasDatepicker').removeAttr('id');
|
2450 |
|
2451 |
+
});
|
|
|
2452 |
|
2453 |
+
// Clean Code Editor
|
2454 |
+
$layout.find('.acfe-field-code-editor').each(function() {
|
|
|
2455 |
|
2456 |
+
var $input = $(this);
|
|
|
|
|
|
|
2457 |
|
2458 |
+
$input.find('.CodeMirror').remove();
|
2459 |
|
2460 |
+
});
|
2461 |
|
2462 |
+
// Clean Color Picker
|
2463 |
+
$layout.find('.acf-color-picker').each(function() {
|
|
|
2464 |
|
2465 |
+
var $input = $(this);
|
|
|
|
|
2466 |
|
2467 |
+
var $color_picker = $input.find('> input');
|
2468 |
+
var $color_picker_proxy = $input.find('.wp-picker-container input.wp-color-picker').clone();
|
|
|
2469 |
|
2470 |
+
$color_picker.after($color_picker_proxy);
|
|
|
|
|
2471 |
|
2472 |
+
$input.find('.wp-picker-container').remove();
|
|
|
|
|
2473 |
|
2474 |
+
});
|
2475 |
|
2476 |
+
// Clean Post Object
|
2477 |
+
$layout.find('.acf-field-post-object').each(function() {
|
2478 |
|
2479 |
+
var $input = $(this);
|
2480 |
|
2481 |
+
$input.find('> .acf-input span').remove();
|
2482 |
|
2483 |
+
$input.find('> .acf-input select').removeAttr('tabindex aria-hidden').removeClass();
|
2484 |
|
2485 |
+
});
|
2486 |
|
2487 |
+
// Clean Page Link
|
2488 |
+
$layout.find('.acf-field-page-link').each(function() {
|
2489 |
|
2490 |
+
var $input = $(this);
|
2491 |
|
2492 |
+
$input.find('> .acf-input span').remove();
|
|
|
|
|
2493 |
|
2494 |
+
$input.find('> .acf-input select').removeAttr('tabindex aria-hidden').removeClass();
|
|
|
|
|
|
|
2495 |
|
2496 |
+
});
|
|
|
|
|
|
|
|
|
2497 |
|
2498 |
+
// Clean Select2
|
2499 |
+
$layout.find('.acf-field-select').each(function() {
|
|
|
|
|
2500 |
|
2501 |
+
var $input = $(this);
|
|
|
|
|
|
|
2502 |
|
2503 |
+
$input.find('> .acf-input span').remove();
|
|
|
|
|
|
|
|
|
2504 |
|
2505 |
+
$input.find('> .acf-input select').removeAttr('tabindex aria-hidden').removeClass();
|
2506 |
|
2507 |
+
});
|
2508 |
|
2509 |
+
// Clean FontAwesome
|
2510 |
+
$layout.find('.acf-field-font-awesome').each(function() {
|
|
|
2511 |
|
2512 |
+
var $input = $(this);
|
|
|
|
|
|
|
|
|
2513 |
|
2514 |
+
$input.find('> .acf-input span').remove();
|
2515 |
|
2516 |
+
$input.find('> .acf-input select').removeAttr('tabindex aria-hidden');
|
|
|
2517 |
|
2518 |
+
});
|
2519 |
|
|
|
2520 |
|
2521 |
+
// Clean Tab
|
2522 |
+
$layout.find('.acf-tab-wrap').each(function() {
|
|
|
2523 |
|
2524 |
+
var $wrap = $(this);
|
2525 |
|
2526 |
+
var $content = $wrap.closest('.acf-fields');
|
2527 |
|
2528 |
+
var tabs = [];
|
2529 |
+
$.each($wrap.find('li a'), function() {
|
2530 |
|
2531 |
+
tabs.push($(this));
|
|
|
2532 |
|
2533 |
+
});
|
|
|
|
|
2534 |
|
2535 |
+
$content.find('> .acf-field-tab').each(function() {
|
|
|
|
|
|
|
|
|
2536 |
|
2537 |
+
$current_tab = $(this);
|
|
|
2538 |
|
2539 |
+
$.each(tabs, function() {
|
2540 |
|
2541 |
+
var $this = $(this);
|
|
|
2542 |
|
2543 |
+
if ($this.attr('data-key') !== $current_tab.attr('data-key'))
|
2544 |
+
return;
|
2545 |
|
2546 |
+
$current_tab.find('> .acf-input').append($this);
|
|
|
|
|
|
|
2547 |
|
2548 |
+
});
|
|
|
2549 |
|
|
|
|
|
2550 |
});
|
2551 |
|
2552 |
+
$wrap.remove();
|
|
|
|
|
2553 |
|
2554 |
+
});
|
2555 |
|
2556 |
+
// Clean Accordion
|
2557 |
+
$layout.find('.acf-field-accordion').each(function() {
|
2558 |
|
2559 |
+
var $input = $(this);
|
2560 |
|
2561 |
+
$input.find('> .acf-accordion-title > .acf-accordion-icon').remove();
|
|
|
2562 |
|
2563 |
+
// Append virtual endpoint after each accordion
|
2564 |
+
$input.after('<div class="acf-field acf-field-accordion" data-type="accordion"><div class="acf-input"><div class="acf-fields" data-endpoint="1"></div></div></div>');
|
2565 |
|
2566 |
+
});
|
2567 |
|
2568 |
+
}
|
2569 |
|
2570 |
+
/**
|
2571 |
+
* Spawn
|
2572 |
+
*/
|
2573 |
+
acf.addAction('new_field/type=flexible_content', function(flexible) {
|
2574 |
|
2575 |
+
// ACFE: Lock
|
2576 |
+
if (flexible.has('acfeFlexibleLock')) {
|
2577 |
+
|
2578 |
+
flexible.removeEvents({
|
2579 |
+
'mouseover': 'onHover'
|
2580 |
+
});
|
2581 |
|
2582 |
}
|
2583 |
|
2591 |
}
|
2592 |
|
2593 |
/**
|
2594 |
+
* Init
|
2595 |
*/
|
2596 |
+
var flexible = acf.getFieldType('flexible_content');
|
2597 |
+
var model = flexible.prototype;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2598 |
|
2599 |
+
/**
|
2600 |
+
* Actions
|
2601 |
+
*/
|
2602 |
+
model.events['click [data-action="acfe-flexible-modal-edit"]'] = 'acfeModalEdit';
|
2603 |
+
model.acfeModalEdit = function(e, $el) {
|
2604 |
|
2605 |
+
var flexible = this;
|
|
|
|
|
2606 |
|
2607 |
+
// Layout
|
2608 |
+
var $layout = $el.closest('.layout');
|
2609 |
|
2610 |
+
// Modal data
|
2611 |
+
var $modal = $layout.find('> .acfe-modal.-fields');
|
2612 |
+
var $handle = $layout.find('> .acf-fc-layout-handle');
|
2613 |
|
2614 |
+
var $layout_order = $handle.find('> .acf-fc-layout-order').outerHTML();
|
2615 |
+
var $layout_title = acfe.getTextNode($handle.find('.acfe-layout-title'));
|
2616 |
|
2617 |
+
var close = flexible.has('acfeFlexibleCloseButton') ? acf.__('Close') : false;
|
|
|
|
|
2618 |
|
2619 |
+
// Open modal
|
2620 |
+
new acfe.Popup($modal, {
|
2621 |
+
title: $layout_order + ' ' + $layout_title,
|
2622 |
+
class: 'acfe-modal-edit-' + flexible.get('name') + ' acfe-modal-edit-' + flexible.get('key') + ' acfe-modal-edit-' + $layout.data('layout'),
|
2623 |
+
footer: close,
|
2624 |
+
onOpen: function() {
|
2625 |
+
flexible.openLayout($layout);
|
2626 |
+
},
|
2627 |
+
onClose: function() {
|
2628 |
+
flexible.closeLayout($layout);
|
2629 |
}
|
2630 |
+
});
|
2631 |
|
2632 |
+
};
|
|
|
|
|
|
|
|
|
2633 |
|
2634 |
/**
|
2635 |
+
* Spawn
|
2636 |
*/
|
2637 |
+
acf.addAction('new_field/type=flexible_content', function(flexible) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2638 |
|
2639 |
+
if (flexible.has('acfeFlexibleModalEdition') && (flexible.has('acfeFlexiblePlaceholder') || flexible.has('acfeFlexiblePreview'))) {
|
2640 |
|
2641 |
+
// Remove Collapse Action
|
2642 |
+
flexible.removeEvents({
|
2643 |
+
'click [data-name="collapse-layout"]': 'onClickCollapse'
|
2644 |
+
});
|
2645 |
|
2646 |
+
// Remove placeholder Collapse Action
|
2647 |
+
flexible.removeEvents({
|
2648 |
+
'click .acfe-fc-placeholder': 'onClickCollapse'
|
|
|
|
|
|
|
|
|
2649 |
});
|
2650 |
|
2651 |
}
|
2652 |
|
2653 |
});
|
2654 |
|
2655 |
+
})(jQuery);
|
2656 |
+
(function($) {
|
2657 |
+
|
2658 |
+
if (typeof acf === 'undefined' || typeof acfe === 'undefined') {
|
2659 |
+
return;
|
2660 |
+
}
|
2661 |
+
|
2662 |
/**
|
2663 |
+
* Flexible Content: Modal Select
|
2664 |
*/
|
2665 |
+
var Field = acfe.FieldExtend.extend({
|
2666 |
|
2667 |
+
type: 'flexible_content',
|
|
|
|
|
|
|
2668 |
|
2669 |
+
conditions: function() {
|
2670 |
+
return this.has('acfeFlexibleModal') && this.$clones().length > 1;
|
2671 |
},
|
2672 |
|
2673 |
+
replace: ['onClickAdd'],
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2674 |
|
2675 |
+
onClickAdd: function(e, $el) {
|
2676 |
|
2677 |
+
// get flexible
|
2678 |
+
var flexible = this.field;
|
|
|
2679 |
|
2680 |
+
// validate
|
2681 |
+
if (!flexible.validateAdd()) {
|
2682 |
+
return false;
|
2683 |
+
}
|
2684 |
|
2685 |
+
// vars
|
2686 |
+
var layoutsCategories = this.getLayoutsCategories();
|
2687 |
|
2688 |
+
// retrieve original layout (if user clicked on the '+' icon)
|
2689 |
+
var $before = $el.hasClass('acf-icon') ? $el.closest('.layout') : null;
|
2690 |
|
2691 |
+
// Open Modal
|
2692 |
+
new acfe.Popup({
|
2693 |
+
title: flexible.get('acfeFlexibleModalTitle', acf.__('Add Row')),
|
2694 |
+
class: 'acfe-modal-select-' + flexible.get('name') + ' acfe-modal-select-' + flexible.get('key'),
|
2695 |
+
size: flexible.get('acfeFlexibleModalSize'),
|
2696 |
+
destroy: true,
|
2697 |
|
2698 |
+
events: {
|
2699 |
+
'click .acfe-flexible-categories a': 'onClickCategory',
|
2700 |
+
'click a[data-layout]': 'onClickLayout',
|
2701 |
+
},
|
2702 |
|
2703 |
+
content: function() {
|
2704 |
+
return '<div class="acfe-flex-container">' + flexible.getPopupHTML() + '</div>'
|
2705 |
+
},
|
2706 |
|
2707 |
+
onOpen: function() {
|
2708 |
|
2709 |
+
// add categories tabs
|
2710 |
+
if (layoutsCategories) {
|
2711 |
+
this.$content().prepend(layoutsCategories);
|
2712 |
}
|
2713 |
|
2714 |
+
// add columns class
|
2715 |
+
if (flexible.has('acfeFlexibleModalCol')) {
|
2716 |
+
this.$('.acfe-modal-content .acfe-flex-container').addClass('acfe-col-' + flexible.get('acfeFlexibleModalCol'));
|
2717 |
}
|
2718 |
|
2719 |
+
// add thumbnails class
|
2720 |
+
if (flexible.has('acfeFlexibleThumbnails')) {
|
2721 |
+
this.$('.acfe-modal-content .acfe-flex-container').addClass('acfe-flex-thumbnails');
|
2722 |
}
|
2723 |
|
2724 |
+
// add icon info class
|
2725 |
+
var icon = acfe.versionCompare(acf.get('wp_version'), '>=', '5.5') ? 'dashicons-info-outline' : 'dashicons-info';
|
2726 |
+
this.$('li a span.badge').addClass('acf-js-tooltip dashicons ' + icon);
|
|
|
|
|
|
|
|
|
2727 |
|
2728 |
+
// autofocus fix
|
2729 |
+
this.$('li:first-of-type a').blur();
|
2730 |
|
2731 |
+
},
|
|
|
|
|
|
|
2732 |
|
2733 |
+
onClickCategory: function(e, $el) {
|
2734 |
|
2735 |
+
// prevent default
|
2736 |
+
e.preventDefault();
|
2737 |
|
2738 |
+
// vars
|
2739 |
+
var $activeCategory = $el;
|
2740 |
+
var activeCategory = $activeCategory.data('acfe-flexible-category');
|
2741 |
|
2742 |
+
// remove all active
|
2743 |
+
$activeCategory.closest('.acfe-flexible-categories').find('a').removeClass('nav-tab-active');
|
2744 |
|
2745 |
+
// set active on current
|
2746 |
+
$activeCategory.addClass('nav-tab-active');
|
2747 |
|
2748 |
+
// show all layouts
|
2749 |
+
this.$('a[data-layout] span[data-acfe-flexible-category]').closest('li').show();
|
2750 |
|
2751 |
+
// active category is 'show all'
|
2752 |
+
if (activeCategory === 'acfe-all') {
|
2753 |
+
return;
|
2754 |
+
}
|
2755 |
|
2756 |
+
// loop through layouts to check category
|
2757 |
+
this.$('a[data-layout] span[data-acfe-flexible-category]').each(function() {
|
2758 |
|
2759 |
+
// vars
|
2760 |
+
var $span = $(this);
|
2761 |
+
var categories = $span.data('acfe-flexible-category');
|
2762 |
|
2763 |
+
// hide layout
|
2764 |
+
$span.closest('li').hide();
|
2765 |
|
2766 |
+
for (var category of categories) {
|
2767 |
+
if (acfe.slugify(activeCategory) === acfe.slugify(category)) {
|
2768 |
|
2769 |
+
// show layout
|
2770 |
+
$span.closest('li').show();
|
2771 |
+
break;
|
2772 |
|
2773 |
+
}
|
2774 |
+
}
|
2775 |
|
2776 |
+
});
|
2777 |
|
2778 |
+
},
|
|
|
|
|
2779 |
|
2780 |
+
onClickLayout: function(e, $el) {
|
2781 |
|
2782 |
+
e.preventDefault();
|
|
|
2783 |
|
2784 |
+
// close modal
|
2785 |
+
this.close();
|
2786 |
|
2787 |
+
// Add layout
|
2788 |
+
flexible.add({
|
2789 |
+
layout: $el.data('layout'),
|
2790 |
+
before: $before
|
2791 |
+
});
|
2792 |
|
2793 |
+
},
|
2794 |
+
});
|
|
|
2795 |
|
2796 |
+
},
|
|
|
|
|
|
|
|
|
|
|
2797 |
|
2798 |
+
getLayoutsCategories: function() {
|
|
|
|
|
2799 |
|
2800 |
+
// get layouts selection html
|
2801 |
+
var $layouts = $(this.field.getPopupHTML());
|
2802 |
|
2803 |
+
// categories vars
|
2804 |
+
var categoriesHtml = '';
|
2805 |
+
var categoriesArray = [];
|
2806 |
|
2807 |
+
// check if categories exist
|
2808 |
+
if ($layouts.find('li a span[data-acfe-flexible-category]').exists()) {
|
|
|
|
|
|
|
|
|
2809 |
|
2810 |
+
// loop
|
2811 |
+
$layouts.find('li a span[data-acfe-flexible-category]').each(function() {
|
2812 |
|
2813 |
+
// get categories from data
|
2814 |
+
var categories = $(this).data('acfe-flexible-category');
|
|
|
|
|
2815 |
|
2816 |
+
// loop categories
|
2817 |
+
categories.map(function(label) {
|
|
|
|
|
|
|
2818 |
|
2819 |
+
// generate slug
|
2820 |
+
var slug = acfe.slugify(label);
|
2821 |
|
2822 |
+
// search for slug
|
2823 |
+
var search = categoriesArray.filter(function(row) {
|
2824 |
+
return row.slug === slug;
|
2825 |
+
});
|
2826 |
|
2827 |
+
// slug not found, append
|
2828 |
+
if (acfe.isEmpty(search)) {
|
2829 |
+
categoriesArray.push({
|
2830 |
+
slug: slug,
|
2831 |
+
label: label
|
2832 |
+
});
|
2833 |
+
}
|
2834 |
|
2835 |
+
});
|
2836 |
+
});
|
2837 |
|
2838 |
+
// prepare html
|
2839 |
+
if (categoriesArray.length) {
|
2840 |
|
2841 |
+
categoriesHtml += '<h2 class="acfe-flexible-categories nav-tab-wrapper">';
|
2842 |
+
categoriesHtml += '<a href="#" data-acfe-flexible-category="acfe-all" class="nav-tab nav-tab-active"><span class="dashicons dashicons-menu"></span></a>';
|
2843 |
|
2844 |
+
categoriesArray.sort().map(function(row) {
|
2845 |
+
categoriesHtml += '<a href="#" data-acfe-flexible-category="' + row.label + '" class="nav-tab">' + row.label + '</a>';
|
2846 |
});
|
2847 |
|
2848 |
+
categoriesHtml += '</h2>';
|
|
|
|
|
2849 |
|
2850 |
+
}
|
2851 |
|
2852 |
}
|
2853 |
|
2854 |
+
return categoriesHtml;
|
2855 |
|
2856 |
},
|
2857 |
|
2858 |
});
|
2859 |
|
2860 |
+
acfe.registerFieldExtend(Field);
|
2861 |
+
|
2862 |
})(jQuery);
|
2863 |
(function($) {
|
2864 |
|
2867 |
}
|
2868 |
|
2869 |
/**
|
2870 |
+
* Field: Group
|
2871 |
*/
|
2872 |
+
var Group = acf.Field.extend({
|
2873 |
|
2874 |
+
wait: false,
|
2875 |
+
|
2876 |
+
type: 'group',
|
2877 |
|
2878 |
events: {
|
2879 |
+
'click [data-name="edit"]': 'onClick',
|
2880 |
+
'duplicateField': 'onDuplicate'
|
2881 |
},
|
2882 |
|
2883 |
+
initialize: function() {
|
2884 |
|
2885 |
+
if (this.has('acfeGroupModal')) {
|
2886 |
+
|
2887 |
+
var edit = this.get('acfeGroupModalButton');
|
2888 |
+
|
2889 |
+
this.$el.find('> .acf-input > .acf-fields, > .acf-input > .acf-table').wrapAll('<div class="acfe-modal"><div class="acfe-modal-wrapper"><div class="acfe-modal-content"></div></div></div>');
|
2890 |
+
this.$el.find('> .acf-input').append('<a data-name="edit" class="acf-button button" href="#">' + edit + '</a>');
|
2891 |
+
|
2892 |
+
}
|
2893 |
|
2894 |
},
|
2895 |
|
2896 |
+
onClick: function(e, $el) {
|
2897 |
|
2898 |
+
// normal title
|
2899 |
+
var title = this.$labelWrap().find('label').text().trim();
|
2900 |
+
|
2901 |
+
// inside table
|
2902 |
+
if (this.$el.is('td')) {
|
2903 |
+
|
2904 |
+
title = this.get('acfeGroupModalButton');
|
2905 |
+
var $th = this.$el.closest('table').find(' > thead th[data-key="' + this.get('key') + '"]');
|
2906 |
+
|
2907 |
+
if ($th.length) {
|
2908 |
+
title = acfe.getTextNode($th);
|
2909 |
+
}
|
2910 |
+
|
2911 |
+
}
|
2912 |
+
|
2913 |
+
var $modal = this.$el.find('> .acf-input > .acfe-modal').addClass('acfe-modal-edit-' + this.get('name') + ' acfe-modal-edit-' + this.get('key'));
|
2914 |
+
|
2915 |
+
// Title
|
2916 |
+
if (!title.length) {
|
2917 |
+
title = this.get('acfeGroupModalButton');
|
2918 |
+
}
|
2919 |
+
|
2920 |
+
// Close
|
2921 |
+
var close = false;
|
2922 |
+
|
2923 |
+
if (this.has('acfeGroupModalClose')) {
|
2924 |
+
close = acf.__('Close');
|
2925 |
+
}
|
2926 |
+
|
2927 |
+
// Size
|
2928 |
+
var size = 'large';
|
2929 |
+
|
2930 |
+
if (this.has('acfeGroupModalSize')) {
|
2931 |
+
size = this.get('acfeGroupModalSize');
|
2932 |
+
}
|
2933 |
+
|
2934 |
+
// Open modal
|
2935 |
+
new acfe.Popup($modal, {
|
2936 |
+
title: title,
|
2937 |
+
size: size,
|
2938 |
+
footer: close
|
2939 |
+
});
|
2940 |
|
2941 |
},
|
2942 |
|
2943 |
+
onDuplicate: function(e, $el, $duplicate) {
|
2944 |
+
$duplicate.find('a[data-name="edit"]').remove();
|
2945 |
+
}
|
2946 |
+
|
2947 |
});
|
2948 |
|
2949 |
+
acf.registerFieldType(Group);
|
2950 |
|
2951 |
})(jQuery);
|
2952 |
(function($) {
|
2956 |
}
|
2957 |
|
2958 |
/**
|
2959 |
+
* Field: Radio
|
2960 |
*/
|
2961 |
new acf.Model({
|
2962 |
|
2963 |
actions: {
|
2964 |
+
'new_field': 'newField',
|
2965 |
},
|
2966 |
|
2967 |
+
validateField: function(field) {
|
2968 |
|
2969 |
+
// check setting
|
2970 |
+
if (!field.has('acfeLabels')) {
|
2971 |
+
return false;
|
2972 |
+
}
|
2973 |
|
2974 |
+
// get type and real type
|
2975 |
+
var type = field.has('rtype') ? field.get('rtype') : field.get('type');
|
|
|
2976 |
|
2977 |
+
// not radio
|
2978 |
+
return type === 'radio';
|
2979 |
|
2980 |
+
},
|
2981 |
|
2982 |
+
newField: function(field) {
|
2983 |
|
2984 |
+
// bail early
|
2985 |
+
if (!this.validateField(field)) {
|
2986 |
+
return;
|
2987 |
+
}
|
2988 |
|
2989 |
+
// vars
|
2990 |
+
var label, item;
|
2991 |
+
var labels = field.get('acfeLabels');
|
2992 |
|
2993 |
+
// loop
|
2994 |
+
for (label in labels) {
|
2995 |
|
2996 |
+
item = labels[label];
|
2997 |
+
field.$control().find('input[type=radio][value="' + item + '"]').closest('li').addClass('parent').prepend('<strong>' + label + '</strong>');
|
2998 |
|
2999 |
+
}
|
3000 |
|
3001 |
+
// horizontal rule
|
3002 |
+
if (field.$control().hasClass('acf-hl')) {
|
3003 |
+
|
3004 |
+
field.$control().find('li.parent').each(function() {
|
3005 |
+
$(this).nextUntil('li.parent').addBack().wrapAll('<li><ul></ul></li>');
|
3006 |
+
});
|
3007 |
|
3008 |
}
|
3009 |
|
3014 |
})(jQuery);
|
3015 |
(function($) {
|
3016 |
|
3017 |
+
if (typeof acf === 'undefined' || typeof acfe === 'undefined') {
|
3018 |
+
return;
|
3019 |
+
}
|
3020 |
+
|
3021 |
+
/**
|
3022 |
+
* Field: reCaptcha
|
3023 |
+
*/
|
3024 |
+
var reCaptcha = acf.Field.extend({
|
3025 |
+
|
3026 |
+
type: 'acfe_recaptcha',
|
3027 |
+
|
3028 |
+
wait: 'load',
|
3029 |
+
|
3030 |
+
actions: {
|
3031 |
+
'validation_failure': 'validationFailure'
|
3032 |
+
},
|
3033 |
+
|
3034 |
+
$control: function() {
|
3035 |
+
return this.$('.acfe-field-recaptcha');
|
3036 |
+
},
|
3037 |
+
|
3038 |
+
$input: function() {
|
3039 |
+
return this.$('input[type="hidden"]');
|
3040 |
+
},
|
3041 |
+
|
3042 |
+
$selector: function() {
|
3043 |
+
return this.$control().find('> div');
|
3044 |
+
},
|
3045 |
+
|
3046 |
+
selector: function() {
|
3047 |
+
return this.$selector()[0];
|
3048 |
+
},
|
3049 |
+
|
3050 |
+
initialize: function() {
|
3051 |
+
|
3052 |
+
if (this.get('version') === 'v2') {
|
3053 |
+
|
3054 |
+
this.renderV2(this);
|
3055 |
+
|
3056 |
+
} else if (this.get('version') === 'v3') {
|
3057 |
+
|
3058 |
+
this.renderV3();
|
3059 |
+
|
3060 |
+
}
|
3061 |
+
|
3062 |
+
},
|
3063 |
+
|
3064 |
+
renderV2: function(self) {
|
3065 |
+
|
3066 |
+
// selectors
|
3067 |
+
var selector = this.selector();
|
3068 |
+
var $input = this.$input();
|
3069 |
+
|
3070 |
+
// vars
|
3071 |
+
var sitekey = this.get('siteKey');
|
3072 |
+
var theme = this.get('theme');
|
3073 |
+
var size = this.get('size');
|
3074 |
+
|
3075 |
+
// request
|
3076 |
+
this.recaptcha = grecaptcha.render(selector, {
|
3077 |
+
'sitekey': sitekey,
|
3078 |
+
'theme': theme,
|
3079 |
+
'size': size,
|
3080 |
+
|
3081 |
+
'callback': function(response) {
|
3082 |
+
acf.val($input, response, true);
|
3083 |
+
self.removeError();
|
3084 |
+
},
|
3085 |
|
3086 |
+
'error-callback': function() {
|
3087 |
+
acf.val($input, '', true);
|
3088 |
+
self.showError('An error has occured');
|
3089 |
+
},
|
3090 |
|
3091 |
+
'expired-callback': function() {
|
3092 |
+
acf.val($input, '', true);
|
3093 |
+
self.showError('reCaptcha has expired');
|
3094 |
+
}
|
3095 |
+
});
|
3096 |
|
|
|
|
|
3097 |
},
|
3098 |
|
3099 |
+
renderV3: function() {
|
3100 |
|
3101 |
+
// vars
|
3102 |
+
var $input = this.$input();
|
3103 |
+
var sitekey = this.get('siteKey');
|
3104 |
|
3105 |
+
// request
|
3106 |
+
grecaptcha.ready(function() {
|
3107 |
+
grecaptcha.execute(sitekey, {
|
3108 |
+
action: 'homepage'
|
3109 |
+
}).then(function(response) {
|
3110 |
|
3111 |
+
acf.val($input, response, true);
|
3112 |
|
3113 |
+
});
|
3114 |
+
});
|
3115 |
|
3116 |
+
},
|
3117 |
|
3118 |
+
validationFailure: function($form) {
|
|
|
|
|
3119 |
|
3120 |
+
if (this.get('version') === 'v2') {
|
3121 |
+
grecaptcha.reset(this.recaptcha);
|
3122 |
+
}
|
3123 |
|
3124 |
+
}
|
3125 |
|
3126 |
});
|
3127 |
|
3128 |
+
acf.registerFieldType(reCaptcha);
|
3129 |
|
3130 |
})(jQuery);
|
3131 |
(function($) {
|
3135 |
}
|
3136 |
|
3137 |
/**
|
3138 |
+
* Init
|
3139 |
*/
|
3140 |
+
var repeater = acf.getFieldType('repeater');
|
3141 |
+
var model = repeater.prototype;
|
|
|
3142 |
|
3143 |
+
// Repeater: Lock Layouts
|
3144 |
+
model.acfeOnHover = function() {
|
3145 |
|
3146 |
+
var repeater = this;
|
|
|
|
|
|
|
3147 |
|
3148 |
+
// remove event
|
3149 |
+
repeater.off('mouseover');
|
3150 |
|
3151 |
+
}
|
3152 |
|
3153 |
/**
|
3154 |
+
* Spawn
|
3155 |
*/
|
3156 |
+
acf.addAction('new_field/type=repeater', function(repeater) {
|
3157 |
|
3158 |
+
// ACFE: Lock
|
3159 |
+
if (repeater.has('acfeRepeaterLock')) {
|
|
|
|
|
3160 |
|
3161 |
+
repeater.removeEvents({
|
3162 |
+
'mouseover': 'onHover'
|
3163 |
+
});
|
3164 |
|
3165 |
+
repeater.addEvents({
|
3166 |
+
'mouseover': 'acfeOnHover'
|
3167 |
+
});
|
3168 |
|
3169 |
+
}
|
3170 |
|
3171 |
+
// ACFE: Remove Actions
|
3172 |
+
if (repeater.has('acfeRepeaterRemoveActions')) {
|
3173 |
|
3174 |
+
repeater.$actions().remove();
|
3175 |
|
3176 |
+
repeater.$el.find('thead:first > tr > th.acf-row-handle:last').remove();
|
3177 |
+
repeater.$rows().find('> .acf-row-handle:last').remove();
|
3178 |
|
3179 |
+
repeater.$control().find('> .acfe-repeater-stylised-button').remove();
|
3180 |
|
|
|
|
|
3181 |
|
3182 |
+
}
|
|
|
3183 |
|
3184 |
+
// ACFE: Stylised button
|
3185 |
+
if (repeater.has('acfeRepeaterStylisedButton')) {
|
3186 |
|
3187 |
+
repeater.$button().removeClass('button-primary');
|
3188 |
+
repeater.$actions().wrap('<div class="acfe-repeater-stylised-button" />');
|
3189 |
+
|
3190 |
+
}
|
3191 |
|
3192 |
});
|
3193 |
|
3199 |
}
|
3200 |
|
3201 |
/**
|
3202 |
+
* Field: Select2 Hooks
|
3203 |
*/
|
3204 |
+
new acf.Model({
|
|
|
3205 |
|
3206 |
+
actions: {
|
3207 |
+
'select2_init': 'init',
|
3208 |
+
},
|
|
|
|
|
|
|
|
|
|
|
|
|
3209 |
|
3210 |
+
filters: {
|
3211 |
+
'select2_args': 'args',
|
3212 |
+
'select2_ajax_data': 'ajax',
|
3213 |
+
},
|
|
|
|
|
|
|
|
|
|
|
3214 |
|
3215 |
+
init: function($select, options, data, field, instance) {
|
|
|
|
|
|
|
|
|
|
|
|
|
3216 |
|
3217 |
+
acf.doAction('select2_init/type=' + field.get('type'), $select, options, data, field, instance);
|
3218 |
+
acf.doAction('select2_init/name=' + field.get('name'), $select, options, data, field, instance);
|
3219 |
+
acf.doAction('select2_init/key=' + field.get('key'), $select, options, data, field, instance);
|
|
|
|
|
|
|
|
|
|
|
|
|
3220 |
|
3221 |
+
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3222 |
|
3223 |
+
args: function(options, $select, data, field, instance) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3224 |
|
3225 |
+
options = acf.applyFilters('select2_args/type=' + field.get('type'), options, $select, data, field, instance);
|
3226 |
+
options = acf.applyFilters('select2_args/name=' + field.get('name'), options, $select, data, field, instance);
|
3227 |
+
options = acf.applyFilters('select2_args/key=' + field.get('key'), options, $select, data, field, instance);
|
|
|
|
|
|
|
|
|
|
|
|
|
3228 |
|
3229 |
+
if (!acf.isset(window, 'jQuery', 'fn', 'selectWoo')) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3230 |
|
3231 |
+
options.templateSelection = function(selection) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3232 |
|
3233 |
+
var text = selection.text;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3234 |
|
3235 |
+
text = acf.applyFilters('select2_template_selection', text, selection, $select, data, field, instance);
|
3236 |
+
text = acf.applyFilters('select2_template_selection/type=' + field.get('type'), text, selection, $select, data, field, instance);
|
3237 |
+
text = acf.applyFilters('select2_template_selection/name=' + field.get('name'), text, selection, $select, data, field, instance);
|
3238 |
+
text = acf.applyFilters('select2_template_selection/key=' + field.get('key'), text, selection, $select, data, field, instance);
|
|
|
|
|
|
|
|
|
|
|
3239 |
|
3240 |
+
var $selection = $('<span class="acf-selection"></span>');
|
3241 |
+
$selection.html(acf.escHtml(text));
|
3242 |
+
$selection.data('element', selection.element);
|
|
|
|
|
|
|
|
|
3243 |
|
3244 |
+
return $selection;
|
3245 |
+
|
3246 |
+
};
|
|
|
|
|
|
|
|
|
|
|
|
|
3247 |
|
3248 |
+
options.templateResult = function(selection) {
|
|
|
3249 |
|
3250 |
+
var text = selection.text;
|
|
|
|
|
3251 |
|
3252 |
+
text = acf.applyFilters('select2_template_result', text, selection, $select, data, field, instance);
|
3253 |
+
text = acf.applyFilters('select2_template_result/type=' + field.get('type'), text, selection, $select, data, field, instance);
|
3254 |
+
text = acf.applyFilters('select2_template_result/name=' + field.get('name'), text, selection, $select, data, field, instance);
|
3255 |
+
text = acf.applyFilters('select2_template_result/key=' + field.get('key'), text, selection, $select, data, field, instance);
|
3256 |
|
3257 |
+
var $selection = $('<span class="acf-selection"></span>');
|
3258 |
+
$selection.html(acf.escHtml(text));
|
3259 |
+
$selection.data('element', selection.element);
|
3260 |
|
3261 |
+
return $selection;
|
|
|
|
|
|
|
3262 |
|
3263 |
+
};
|
|
|
|
|
|
|
|
|
|
|
3264 |
|
3265 |
+
}
|
3266 |
|
3267 |
+
return options;
|
3268 |
|
3269 |
+
},
|
|
|
|
|
|
|
3270 |
|
3271 |
+
ajax: function(ajaxData, data, $el, field, instance) {
|
3272 |
|
3273 |
+
ajaxData = acf.applyFilters('select2_ajax_data/type=' + field.get('type'), ajaxData, data, $el, field, instance);
|
3274 |
+
ajaxData = acf.applyFilters('select2_ajax_data/name=' + field.get('name'), ajaxData, data, $el, field, instance);
|
3275 |
+
ajaxData = acf.applyFilters('select2_ajax_data/key=' + field.get('key'), ajaxData, data, $el, field, instance);
|
3276 |
|
3277 |
+
if (ajaxData.action) {
|
3278 |
+
ajaxData = acf.applyFilters('select2_ajax_data/action=' + ajaxData.action, ajaxData, data, $el, field, instance);
|
|
|
3279 |
}
|
3280 |
|
3281 |
+
return ajaxData;
|
|
|
|
|
|
|
3282 |
|
3283 |
+
}
|
|
|
3284 |
|
3285 |
+
});
|
3286 |
|
3287 |
+
/**
|
3288 |
+
* Field: Select2 (onLoad)
|
3289 |
+
*/
|
3290 |
+
new acf.Model({
|
3291 |
|
3292 |
+
wait: 'load',
|
3293 |
+
priority: 20,
|
3294 |
actions: {
|
3295 |
+
'append_field/type=select': 'closeOnClear'
|
3296 |
},
|
3297 |
|
3298 |
+
initialize: function() {
|
3299 |
|
3300 |
+
acf.getFields({
|
3301 |
+
type: 'select'
|
3302 |
+
}).map(this.proxy(this.closeOnClear));
|
3303 |
|
3304 |
+
},
|
3305 |
+
|
3306 |
+
closeOnClear: function(field) {
|
3307 |
+
|
3308 |
+
if (field.select2) {
|
3309 |
+
|
3310 |
+
// close select2 on clear
|
3311 |
+
// https://github.com/select2/select2/issues/3320#issuecomment-1004007176
|
3312 |
+
field.select2.on('select2:clear', function(e) {
|
3313 |
+
$(this).on('select2:opening.cancelOpen', function(e) {
|
3314 |
+
e.preventDefault();
|
3315 |
+
$(this).off("select2:opening.cancelOpen");
|
3316 |
+
});
|
3317 |
+
});
|
3318 |
+
|
3319 |
+
}
|
3320 |
+
|
3321 |
+
}
|
3322 |
+
|
3323 |
+
});
|
3324 |
+
|
3325 |
+
/**
|
3326 |
+
* Field: Select
|
3327 |
+
*/
|
3328 |
+
new acf.Model({
|
3329 |
+
|
3330 |
+
actions: {
|
3331 |
+
'new_field/type=select': 'newField',
|
3332 |
+
'select2_init': 'init',
|
3333 |
+
},
|
3334 |
+
|
3335 |
+
filters: {
|
3336 |
+
'select2_args': 'args',
|
3337 |
},
|
3338 |
|
3339 |
newField: function(field) {
|
3340 |
|
3341 |
+
// inherit properties
|
3342 |
+
field.inherit(field.$input());
|
3343 |
|
3344 |
+
// remove "- -" characters from placeholder
|
3345 |
+
// ACF already apply it to all Select2
|
3346 |
+
if (!field.get('ui') && field.get('allow_null')) {
|
|
|
3347 |
|
3348 |
+
field.$input().find('option').each(function(i, option) {
|
|
|
3349 |
|
3350 |
+
if (option.value) {
|
3351 |
+
return;
|
3352 |
+
}
|
3353 |
|
3354 |
+
if (!option.text.startsWith('- ') || !option.text.endsWith(' -')) {
|
3355 |
+
return;
|
3356 |
+
}
|
3357 |
|
3358 |
+
option.text = option.text.substring(2);
|
3359 |
+
option.text = option.text.substring(0, option.text.length - 2);
|
3360 |
|
3361 |
+
});
|
|
|
|
|
3362 |
|
3363 |
+
}
|
3364 |
|
3365 |
+
// prepend / append
|
3366 |
+
if (field.has('acfePrepend') || field.has('acfeAppend')) {
|
|
|
3367 |
|
3368 |
+
if (!field.$input().parent('.acf-input-wrap').length) {
|
|
|
|
|
|
|
3369 |
|
3370 |
+
field.$input().wrapAll('<div class="acf-input-wrap"></div>');
|
|
|
|
|
3371 |
|
3372 |
+
if (field.get('ui')) {
|
3373 |
+
field.$('.acf-input-wrap:first').append(field.$('.select2'));
|
3374 |
+
}
|
3375 |
|
3376 |
+
if (field.has('acfePrepend')) {
|
3377 |
+
field.$('.acf-input-wrap:first').before('<div class="acf-input-prepend">' + field.get('acfePrepend') + '</div>');
|
3378 |
+
field.$input().addClass('acf-is-prepended');
|
3379 |
+
}
|
3380 |
|
3381 |
+
if (field.has('acfeAppend')) {
|
3382 |
+
field.$('.acf-input-wrap:first').before('<div class="acf-input-append">' + field.get('acfeAppend') + '</div>');
|
3383 |
+
field.$input().addClass('acf-is-appended');
|
3384 |
+
}
|
|
|
3385 |
|
3386 |
+
}
|
3387 |
|
3388 |
+
}
|
3389 |
|
3390 |
+
},
|
3391 |
|
3392 |
+
init: function($select, options, data, field, instance) {
|
3393 |
|
3394 |
+
// Add Class on Dropdown with Field Name + key for developers <3
|
3395 |
+
if ($select.data('select2')) {
|
3396 |
|
3397 |
+
$select.data('select2').$dropdown
|
3398 |
+
.addClass('select2-dropdown-acf')
|
3399 |
+
.addClass('select2-dropdown-acf-field-' + field.get('name'))
|
3400 |
+
.addClass('select2-dropdown-acf-field-' + field.get('key'));
|
3401 |
|
3402 |
+
}
|
3403 |
|
3404 |
+
// only in single mode
|
3405 |
+
if (!field.get('multiple')) {
|
3406 |
|
3407 |
+
// search placeholder
|
3408 |
+
if (field.get('acfeSearchPlaceholder')) {
|
3409 |
|
3410 |
+
$select.on('select2:open', function(e) {
|
3411 |
+
$('.select2-search.select2-search--dropdown > .select2-search__field').attr('placeholder', field.get('acfeSearchPlaceholder'));
|
3412 |
+
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3413 |
|
3414 |
+
}
|
3415 |
+
|
3416 |
+
}
|
3417 |
+
|
3418 |
+
},
|
3419 |
+
|
3420 |
+
args: function(options, $select, data, field, instance) {
|
3421 |
+
|
3422 |
+
// Allow Custom tags
|
3423 |
+
if (field.get('acfeAllowCustom')) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3424 |
|
3425 |
+
options.tags = true;
|
|
|
3426 |
|
3427 |
+
options.createTag = function(params) {
|
|
|
|
|
3428 |
|
3429 |
+
var term = $.trim(params.term);
|
3430 |
|
3431 |
+
if (term === '') {
|
3432 |
+
return null;
|
3433 |
+
}
|
|
|
3434 |
|
3435 |
+
// vars
|
3436 |
+
var foundTerm;
|
3437 |
+
var ajaxResults = acf.isget(this, '_request', 'responseJSON', 'results');
|
3438 |
+
|
3439 |
+
// ajax results
|
3440 |
+
if (ajaxResults) {
|
3441 |
+
|
3442 |
+
loop: for (var item of ajaxResults) {
|
3443 |
+
|
3444 |
+
if (item.children) {
|
3445 |
+
for (var child of item.children) {
|
3446 |
+
|
3447 |
+
if (typeof child.id === 'string' && child.id.toLowerCase() === term.toLowerCase()) {
|
3448 |
+
foundTerm = true;
|
3449 |
+
break loop;
|
3450 |
+
}
|
3451 |
+
|
3452 |
+
}
|
3453 |
+
}
|
3454 |
+
|
3455 |
+
}
|
3456 |
+
|
3457 |
+
// normal results
|
3458 |
+
}
|
3459 |
+
else {
|
3460 |
+
|
3461 |
+
for (var option of this.$element.find('option')) {
|
3462 |
+
if (option.value.toLowerCase() === term.toLowerCase()) {
|
3463 |
+
foundTerm = true;
|
3464 |
+
break;
|
3465 |
+
}
|
3466 |
+
}
|
3467 |
+
|
3468 |
+
}
|
3469 |
+
|
3470 |
+
// found term
|
3471 |
+
if (foundTerm) {
|
3472 |
+
return null;
|
3473 |
+
}
|
3474 |
+
|
3475 |
+
// create tag
|
3476 |
+
return {
|
3477 |
+
id: term,
|
3478 |
+
text: term
|
3479 |
+
};
|
3480 |
|
3481 |
+
};
|
|
|
3482 |
|
3483 |
+
options.insertTag = function(results, tag) {
|
|
|
3484 |
|
3485 |
+
var found;
|
|
|
3486 |
|
3487 |
+
for (var result of results) {
|
3488 |
+
if ($.trim(tag.text).toUpperCase() === $.trim(result.text).toUpperCase()) {
|
3489 |
+
found = true;
|
3490 |
+
break;
|
3491 |
+
}
|
3492 |
+
}
|
3493 |
|
3494 |
+
if (!found) {
|
3495 |
+
results.unshift(tag);
|
3496 |
+
}
|
3497 |
|
3498 |
+
};
|
3499 |
|
3500 |
}
|
3501 |
|
3502 |
+
return options;
|
3503 |
+
|
3504 |
+
},
|
3505 |
|
3506 |
});
|
3507 |
|
3513 |
}
|
3514 |
|
3515 |
/**
|
3516 |
+
* Field: Slug
|
3517 |
*/
|
3518 |
+
var ACFE_Slug = acf.Field.extend({
|
3519 |
|
3520 |
+
type: 'acfe_slug',
|
|
|
3521 |
|
3522 |
+
events: {
|
3523 |
+
'input input': 'onInput',
|
3524 |
+
'focusout input': 'onFocusOut',
|
3525 |
},
|
3526 |
|
3527 |
+
onInput: function(e, $el) {
|
3528 |
|
3529 |
+
$el.val($el.val().toLowerCase()
|
3530 |
+
.replace(/\s+/g, '-') // Replace spaces with -
|
3531 |
+
.replace(/[^\w\-]+/g, '') // Remove all non-word chars
|
3532 |
+
.replace(/\-\-+/g, '-') // Replace multiple - with single -
|
3533 |
+
.replace(/\_\_+/g, '_') // Replace multiple _ with single _
|
3534 |
+
.replace(/^-+/, '')); // Trim - from start of text
|
3535 |
|
3536 |
+
},
|
|
|
|
|
3537 |
|
3538 |
+
onFocusOut: function(e, $el) {
|
|
|
|
|
3539 |
|
3540 |
+
$el.val($el.val().toLowerCase()
|
3541 |
+
.replace(/-+$/, '') // Trim - from end of text
|
3542 |
+
.replace(/_+$/, '')); // Trim _ from end of text
|
3543 |
|
3544 |
},
|
3545 |
|
3546 |
+
});
|
|
|
|
|
3547 |
|
3548 |
+
acf.registerFieldType(ACFE_Slug);
|
|
|
3549 |
|
3550 |
+
})(jQuery);
|
3551 |
+
(function($) {
|
3552 |
|
3553 |
+
if (typeof acf === 'undefined' || typeof acfe === 'undefined') {
|
3554 |
+
return;
|
3555 |
+
}
|
3556 |
|
3557 |
+
/**
|
3558 |
+
* Field: Tab
|
3559 |
+
*/
|
3560 |
+
new acf.Model({
|
3561 |
|
3562 |
+
actions: {
|
3563 |
+
'prepare_field/type=tab': 'prepareField',
|
3564 |
},
|
3565 |
|
3566 |
+
prepareField: function(field) {
|
3567 |
|
3568 |
+
if (!field.has('noPreference')) return;
|
3569 |
|
3570 |
+
var $tabs = field.findTabs();
|
3571 |
+
var tabs = acf.getInstances($tabs);
|
3572 |
+
var key = field.get('key');
|
3573 |
|
3574 |
+
if (tabs.length) {
|
|
|
|
|
3575 |
|
3576 |
+
var preference = acf.getPreference('this.tabs');
|
3577 |
|
3578 |
+
if (!preference) return;
|
3579 |
|
3580 |
+
$.each(tabs, function(i, group) {
|
3581 |
|
3582 |
+
var groupIndex = group.get('index');
|
3583 |
|
3584 |
+
if (group.data.key !== key)
|
3585 |
+
return;
|
3586 |
|
3587 |
+
preference[groupIndex] = 0;
|
|
|
3588 |
|
3589 |
+
});
|
|
|
3590 |
|
3591 |
+
// update
|
3592 |
+
acf.setPreference('this.tabs', preference);
|
3593 |
|
3594 |
+
}
|
3595 |
|
3596 |
+
}
|
3597 |
|
3598 |
+
});
|
3599 |
|
3600 |
+
})(jQuery);
|
3601 |
+
(function($) {
|
3602 |
|
3603 |
+
if (typeof acf === 'undefined' || typeof acfe === 'undefined') {
|
3604 |
+
return;
|
3605 |
+
}
|
3606 |
|
3607 |
+
/**
|
3608 |
+
* Field: Textarea
|
3609 |
+
*/
|
3610 |
+
var Textarea = acf.Field.extend({
|
3611 |
|
3612 |
+
type: 'textarea',
|
3613 |
|
3614 |
+
events: {
|
3615 |
+
'keydown textarea': 'onInput',
|
3616 |
+
},
|
3617 |
|
3618 |
+
onInput: function(e, $el) {
|
3619 |
|
3620 |
+
//check for mode
|
3621 |
+
if (!this.has('acfeTextareaCode')) return;
|
3622 |
|
3623 |
+
// check for tab input
|
3624 |
+
if (e.keyCode !== 9) return;
|
3625 |
|
3626 |
+
e.preventDefault();
|
3627 |
|
3628 |
+
var input = this.$el.find('textarea')[0];
|
3629 |
|
3630 |
+
var s = input.selectionStart;
|
3631 |
|
3632 |
+
this.$el.find('textarea').val(function(i, v) {
|
3633 |
+
return v.substring(0, s) + " " + v.substring(input.selectionEnd)
|
3634 |
+
});
|
3635 |
+
|
3636 |
+
input.selectionEnd = s + 4;
|
3637 |
|
3638 |
},
|
3639 |
|
3640 |
+
});
|
3641 |
|
3642 |
+
acf.registerFieldType(Textarea);
|
3643 |
|
3644 |
+
})(jQuery);
|
3645 |
+
(function($) {
|
3646 |
|
3647 |
+
if (typeof acf === 'undefined' || typeof acfe === 'undefined') {
|
3648 |
+
return;
|
3649 |
+
}
|
3650 |
|
3651 |
+
/**
|
3652 |
+
* Field: WYSIWYG Overwrite
|
3653 |
+
*/
|
3654 |
+
var Wysiwyg = acf.models.WysiwygField;
|
3655 |
+
|
3656 |
+
acf.models.WysiwygField = Wysiwyg.extend({
|
3657 |
+
|
3658 |
+
initialize: function() {
|
3659 |
|
3660 |
+
// initialize Editor if no delay and not already initialized
|
3661 |
+
if (!this.has('id') && !this.$control().hasClass('delay')) {
|
3662 |
+
this.initializeEditor();
|
3663 |
}
|
3664 |
|
3665 |
+
}
|
3666 |
|
3667 |
+
});
|
3668 |
|
3669 |
+
/**
|
3670 |
+
* Field: WYSIWYG
|
3671 |
+
*/
|
3672 |
+
new acf.Model({
|
3673 |
|
3674 |
+
actions: {
|
3675 |
+
'show_field/type=wysiwyg': 'showField',
|
3676 |
+
'ready_field/type=wysiwyg': 'showField',
|
3677 |
+
},
|
3678 |
|
3679 |
+
showField: function(field) {
|
3680 |
|
3681 |
+
if (!field.has('acfeWysiwygAutoInit') || !field.$el.is(':visible') || field.has('id') || acfe.isFilterEnabled('acfeFlexibleOpen')) {
|
3682 |
+
return;
|
3683 |
+
}
|
3684 |
|
3685 |
+
this.initializeEditor(field);
|
3686 |
|
3687 |
+
},
|
3688 |
|
3689 |
+
initializeEditor: function(field) {
|
3690 |
+
|
3691 |
+
var $wrap = field.$control();
|
3692 |
+
|
3693 |
+
if ($wrap.hasClass('delay')) {
|
3694 |
+
|
3695 |
+
$wrap.removeClass('delay');
|
3696 |
+
$wrap.find('.acf-editor-toolbar').remove();
|
3697 |
+
|
3698 |
+
// initialize
|
3699 |
+
field.initializeEditor();
|
3700 |
|
3701 |
}
|
3702 |
|
3703 |
+
},
|
3704 |
|
3705 |
});
|
3706 |
|
3739 |
'click .acfe-form [type="submit"]': 'onClickSubmit',
|
3740 |
},
|
3741 |
|
3742 |
+
$getForm: function(field = false) {
|
|
|
|
|
3743 |
|
3744 |
var $form = $('.acfe-form');
|
3745 |
|
assets/js/acfe-input.min.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
!function(){var e;"undefined"!=typeof acf&&"undefined"!=typeof acfe&&(e=acf.Field.extend({type:"acfe_advanced_link",events:{'click a[data-name="add"]':"onClickEdit",'click a[data-name="edit"]':"onClickEdit",'click a[data-name="remove"]':"onClickRemove"},$control:function(){return this.$(".acf-link")},initialize:function(){},getValue:function(){var e={type:this.$(".input-type :checked").val(),title:this.$(".input-title").val(),url:this.$(".input-url").val(),post:this.$(".input-post :selected").text(),term:this.$(".input-term :selected").text(),target:this.$(".input-target").is(":checked")};return"post"===e.type?e.url=e.post:"term"===e.type&&(e.url=e.term),e},setValue:function(e){e=acf.parseArgs(e,{remove:!1,title:"",url:"",target:!1});var t=this.$control();t.removeClass("-value -external"),(e.url||e.title)&&t.addClass("-value"),e.target&&t.addClass("-external"),this.$(".link-title").html(e.title),this.$(".link-url").attr("href",e.url).html(e.url),e.remove&&(this.$(".input-type :checked").prop("checked",!1),this.$('.input-type [value="url"]').prop("checked",!0).trigger("change"),this.$(".input-title").val(""),this.$(".input-target").prop("checked",!1),this.$(".input-url").val("").trigger("change"),this.$(".input-post").val("").trigger("change"),this.$(".input-term").val("").trigger("change"))},onClickEdit:function(e,t){var a=t.closest(".acf-input").find(".acfe-modal"),t=a.attr("data-modal-title"),i=this;new acfe.Popup(a,{title:t,size:"medium",footer:acf.__("Close"),onClose:function(){i.onChange()}})},onClickRemove:function(e,t){this.setValue({remove:!0})},onChange:function(e,t){var a=this.getValue();this.setValue(a)}}),acf.registerFieldType(e),new acf.Model({actions:{invalid_field:"invalidField"},filters:{"select2_ajax_data/type=post_object":"ajaxField"},invalidField:function(e){var t=e.$el.closest(".acf-field-acfe-advanced-link").not(".acf-error");t.length&&acf.getInstance(t).showError(e.notice.get("text"))},ajaxField:function(e,t,a,i,n){if("post"!==i.get("key"))return e;a=acf.getInstance(a.closest(".acf-field-acfe-advanced-link"));return a&&(e.field_key=a.get("key")),e}}))}(jQuery),function(i){var e;"undefined"!=typeof acf&&"undefined"!=typeof acfe&&(e=acf.Field.extend({type:"acfe_button",events:{"click input":"onClick","click button":"onClick"},$input:function(){return this.$("input").length?this.$("input"):this.$("button").length?this.$("button"):void 0},initialize:function(){var e=this.$input();this.inherit(e)},onClick:function(e,t){var a;this.get("ajax")&&(e.preventDefault(),a={action:"acfe/fields/button",field_key:this.get("key"),acf:acf.serialize(this.$el.closest("form"),"acf")},a=acf.applyFilters("acfe/fields/button/data",a,this.$el),a=acf.applyFilters("acfe/fields/button/data/name="+this.get("name"),a,this.$el),a=acf.applyFilters("acfe/fields/button/data/key="+this.get("key"),a,this.$el),acf.doAction("acfe/fields/button/before_ajax",this.$el,a),acf.doAction("acfe/fields/button/before",this.$el,a),acf.doAction("acfe/fields/button/before/name="+this.get("name"),this.$el,a),acf.doAction("acfe/fields/button/before/key="+this.get("key"),this.$el,a),i.ajax({url:acf.get("ajaxurl"),data:acf.prepareForAjax(a),type:"post",dataType:"json",context:this,success:function(e){acf.doAction("acfe/fields/button/ajax_success",e,this.$el,a),acf.doAction("acfe/fields/button/success",e,this.$el,a),acf.doAction("acfe/fields/button/success/name="+this.get("name"),e,this.$el,a),acf.doAction("acfe/fields/button/success/key="+this.get("key"),e,this.$el,a)},complete:function(e){e=e.responseText;acf.doAction("acfe/fields/button/complete",e,this.$el,a),acf.doAction("acfe/fields/button/complete/name="+this.get("name"),e,this.$el,a),acf.doAction("acfe/fields/button/complete/key="+this.get("key"),e,this.$el,a)}}))}}),acf.registerFieldType(e))}(jQuery),jQuery,"undefined"!=typeof acf&&"undefined"!=typeof acfe&&new acf.Model({actions:{new_field:"newField"},validateField:function(e){return!!e.has("acfeLabels")&&"checkbox"===(e.has("rtype")?e.get("rtype"):e.get("type"))},newField:function(e){if(this.validateField(e)){var t,a,i=e.get("acfeLabels");for(t in i)a=i[t],e.$control().find('input[type=checkbox][value="'+a+'"]').closest("ul").before("<strong>"+t+"</strong>")}}}),function(){var e;"undefined"!=typeof acf&&"undefined"!=typeof acfe&&(e=acf.Field.extend({wait:!1,type:"clone",events:{'click [data-name="edit"]':"onClick",duplicateField:"onDuplicate"},initialize:function(){var e;this.has("acfeCloneModal")&&(e=this.get("acfeCloneModalButton"),this.$el.find("> .acf-input > .acf-fields, > .acf-input > .acf-table").wrapAll('<div class="acfe-modal"><div class="acfe-modal-wrapper"><div class="acfe-modal-content"></div></div></div>'),this.$el.find("> .acf-input").append('<a data-name="edit" class="acf-button button" href="#">'+e+"</a>"))},onClick:function(e,t){var a=this.$labelWrap().find("label").text().trim();this.$el.is("td")&&(a=this.get("acfeGroupModalButton"),(o=this.$el.closest("table").find(' > thead th[data-key="'+this.get("key")+'"]')).length&&(a=acfe.getTextNode(o)));var i=this.$el.find("> .acf-input > .acfe-modal").addClass("acfe-modal-edit-"+this.get("name")+" acfe-modal-edit-"+this.get("key"));a.length||(a=this.get("acfeCloneModalButton"));var n=!1;this.has("acfeCloneModalClose")&&(n=acf.__("Close"));var o="large";this.has("acfeCloneModalSize")&&(o=this.get("acfeCloneModalSize")),new acfe.Popup(i,{title:a,size:o,footer:n})},onDuplicate:function(e,t,a){a.find('a[data-name="edit"]').remove()}}),acf.registerFieldType(e))}(jQuery),function(t){var e;"undefined"!=typeof acf&&"undefined"!=typeof acfe&&(e=acf.Field.extend({wait:!1,type:"acfe_code_editor",editor:{},events:{showField:"onShow",duplicateField:"onDuplicate"},$control:function(){return this.$("> .acf-input > .acf-input-wrap")},$input:function(){return this.$control().find("> textarea")},initialize:function(){var e;acf.isset(wp,"codeEditor")&&(e={lineNumbers:this.get("lines"),lineWrapping:!0,styleActiveLine:!1,continueComments:!0,indentUnit:this.get("indentUnit"),tabSize:1,indentWithTabs:!1,autoRefresh:!0,mode:this.get("mode"),extraKeys:{Tab:function(e){e.execCommand("indentMore")},"Shift-Tab":function(e){e.execCommand("indentLess")}}},e=acf.applyFilters("acfe/fields/code_editor/args",e,this),e=acf.applyFilters("acfe/fields/code_editor/args/name="+this.get("name"),e,this),e=acf.applyFilters("acfe/fields/code_editor/args/key="+this.get("key"),e,this),this.editor=wp.codeEditor.initialize(this.$input().get(0),{codemirror:t.extend(wp.codeEditor.defaultSettings.codemirror,e)}),this.get("rows")&&(this.editor.codemirror.getScrollerElement().style.minHeight=18.5*this.get("rows")+"px"),this.get("maxRows")&&(this.editor.codemirror.getScrollerElement().style.maxHeight=18.5*this.get("maxRows")+"px"),this.editor.codemirror.on("change",this.proxy(this.onEditorChange)),acf.doAction("acfe/fields/code_editor/init",this.editor,this),acf.doAction("acfe/fields/code_editor/init/name="+this.get("name"),this.editor,this),acf.doAction("acfe/fields/code_editor/init/key="+this.get("key"),this.editor,this))},onEditorChange:function(e,t){this.editor.codemirror.save(),this.$input().change()},onShow:function(){this.editor.codemirror&&this.editor.codemirror.refresh()},onDuplicate:function(e,t,a){a.find(".CodeMirror:last").remove()}}),acf.registerFieldType(e))}(jQuery),function(){var e;"undefined"!=typeof acf&&"undefined"!=typeof acfe&&(e=acf.Field.extend({wait:"new_field",type:"acfe_column",$control:function(){return this.$(".acf-fields:first")},initialize:function(){if(this.$el.is("td")&&(this.$el.closest(".acf-table").find('th[data-type="acfe_column"]').remove(),this.remove()),this.get("endpoint"))return this.$el.find("> .acf-label").remove(),void this.$el.find("> .acf-input").remove();var e=this.$el,t=this.$el.find("> .acf-label"),a=(this.$inputWrap(),this.$control());t.remove();t=e.parent();t.addClass("acfe-column-wrapper"),a.addClass(t.hasClass("-left")?"-left":""),a.addClass(t.hasClass("-clear")?"-clear":""),a.append(e.nextUntil(".acf-field-acfe-column",".acf-field"))}}),acf.registerFieldType(e))}(jQuery),function(r){var n;"undefined"!=typeof acf&&"undefined"!=typeof acfe&&((n=acf.getFieldType("flexible_content").prototype).events["click .acf-fc-layout-handle"]="acfeEditLayoutTitleToggleHandle",n.acfeEditLayoutTitleToggleHandle=function(e,t){!this.has("acfeFlexibleTitleEdition")||(t=t.closest(".layout")).hasClass("acfe-flexible-title-edition")&&t.find("> .acf-fc-layout-handle > .acfe-layout-title > input.acfe-flexible-control-title").trigger("blur")},n.events["click .acfe-layout-title-text"]="acfeEditLayoutTitle",n.acfeEditLayoutTitle=function(e,t){this.has("acfeFlexibleTitleEdition")&&(e.stopPropagation(),this.acfeEditLayoutTitleToggle(e,t))},n.events["blur input.acfe-flexible-control-title"]="acfeEditLayoutTitleToggle",n.acfeEditLayoutTitleToggle=function(e,t){var a,i=t.closest(".layout"),n=i.find("> .acf-fc-layout-handle"),t=n.find(".acfe-layout-title");i.hasClass("acfe-flexible-title-edition")?(""===(a=t.find("> input[data-acfe-flexible-control-title-input]")).val()&&a.val(a.attr("placeholder")).trigger("input"),i.removeClass("acfe-flexible-title-edition"),a.insertAfter(n)):(a=(a=i.find("> input[data-acfe-flexible-control-title-input]")).appendTo(t),i.addClass("acfe-flexible-title-edition"),a.focus().attr("size",a.val().length))},n.events["click input.acfe-flexible-control-title"]="acfeEditLayoutTitlePropagation",n.acfeEditLayoutTitlePropagation=function(e,t){e.stopPropagation()},n.events["input [data-acfe-flexible-control-title-input]"]="acfeEditLayoutTitleInput",n.acfeEditLayoutTitleInput=function(e,t){var a=t.closest(".layout").find("> .acf-fc-layout-handle .acfe-layout-title .acfe-layout-title-text"),i=t.val();t.attr("size",i.length),a.html(i)},n.events["keypress [data-acfe-flexible-control-title-input]"]="acfeEditLayoutTitleInputEnter",n.acfeEditLayoutTitleInputEnter=function(e,t){13===e.keyCode&&(e.preventDefault(),t.blur())},n.events["click [data-acfe-flexible-settings]"]="acfeLayoutSettings",n.acfeLayoutSettings=function(e,t){var a=this,i=t.closest(".layout"),n=i.find("> .acfe-modal.-settings"),o=i.find("> .acf-fc-layout-handle"),t=o.find("> .acf-fc-layout-order").outerHTML(),o=o.find(".acfe-layout-title-text").text();new acfe.Popup(n,{title:t+" "+o,footer:acf.__("Close"),onClose:function(){a.has("acfeFlexiblePreview")&&a.closeLayout(i)}})},n.events["click [data-acfe-flexible-control-toggle]"]="acfeLayoutToggle",n.acfeLayoutToggle=function(e,t){var a=t.closest(".layout"),t=a.find("> .acfe-flexible-layout-toggle");t.length&&("1"===t.val()?(a.removeClass("acfe-flexible-layout-hidden"),t.val("")):(a.addClass("acfe-flexible-layout-hidden"),t.val("1")))},acf.addAction("acfe/flexible/layouts",function(e,t){!t.has("acfeFlexibleToggle")||(t=e.find("> .acfe-flexible-layout-toggle")).length&&("1"===t.val()?e.addClass("acfe-flexible-layout-hidden"):e.removeClass("acfe-flexible-layout-hidden"))}),n.events["click [data-acfe-flexible-control-clone]"]="acfeCloneLayout",n.acfeCloneLayout=function(e,t){var a,i=this,n=t.closest(".layout"),o=n.data("layout"),c=r(i.$popup().html()),l=i.$layouts(),c=c.find('[data-layout="'+o+'"]'),c=(c.data("min"),c.data("max")||0),o=(a=o,l.filter(function(){return r(this).data("layout")===a}).length);if(c&&c<=o)return t.addClass("disabled"),!1;t.removeClass("disabled"),i.acfeFixInputs(n);o=n.clone();i.acfeCleanLayouts(o);t=t.closest(".acf-flexible-content").find("> input[type=hidden]").attr("name"),i.acfeDuplicate({layout:o,before:n,parent:t})},n.events["click [data-acfe-flexible-control-copy]"]="acfeCopyLayout",n.acfeCopyLayout=function(e,t){var a=t.closest(".layout").clone(),t=this.$control().find("> input[type=hidden]").attr("name");this.acfeFixInputs(a),this.acfeCleanLayouts(a);t=JSON.stringify({source:t,layouts:a[0].outerHTML}),a=r('<input type="text" style="clip:rect(0,0,0,0);clip-path:none;position:absolute;" value="" />').appendTo(r("body"));a.attr("value",t).select(),document.execCommand("copy")?alert("Layout has been transferred to your clipboard"):prompt("Copy the following layout data to your clipboard",t),a.remove()},n.acfeCopyLayouts=function(){var e=this,t=e.$layoutsWrap().clone(),a=e.$control().find("> input[type=hidden]").attr("name");e.acfeFixInputs(t),e.acfeCleanLayouts(t);t=JSON.stringify({source:a,layouts:t.html()}),e=r('<input type="text" style="clip:rect(0,0,0,0);clip-path:none;position:absolute;" value="" />').appendTo(e.$el);e.attr("value",t).select(),document.execCommand("copy")?alert("Layouts have been transferred to your clipboard"):prompt("Copy the following layouts data to your clipboard",t),e.remove()},n.acfePasteLayouts=function(){var n=this,e=prompt("Paste layouts data in the following field");if(null!=e&&""!==e)try{var t=JSON.parse(e),i=t.source,a=r(t.layouts).closest("[data-layout]");if(!a.length)return alert("No layouts data available");var o=r(n.$popup().html()),c=n.$layouts(),l=[];if(a.each(function(){var e,t=r(this),a=t.data("layout"),i=o.find('[data-layout="'+a+'"]'),i=(i.data("min"),i.data("max")||0),a=(e=a,c.filter(function(){return r(this).data("layout")===e}).length);i&&i<=a||n.$clone(t.attr("data-layout")).length&&l.push(t)}),!l.length)return alert("No layouts could be pasted");r.each(l,function(){var e=r(this),t=i+"["+e.attr("data-id")+"]",a=n.$control().find("> input[type=hidden]").attr("name");n.acfeDuplicate({layout:e,before:!1,search:t,parent:a})})}catch(e){console.log(e),alert("Invalid data")}},n.events['click [data-name="acfe-flexible-control-button"]']="acfeControl",n.acfeControl=function(e,t){var a=this,i=t.next(".tmpl-acfe-flexible-control-popup").html();new(acf.models.TooltipConfirm.extend({render:function(){this.html(this.get("text")),this.$el.addClass("acf-fc-popup")}}))({target:t,targetConfirm:!1,text:i,context:a,confirm:function(e,t){"paste"===t.attr("data-acfe-flexible-control-action")?a.acfePasteLayouts():"copy"===t.attr("data-acfe-flexible-control-action")&&a.acfeCopyLayouts()}}).on("click","a","onConfirm")},n.acfeDuplicate=function(a){if(a=acf.parseArgs(a,{layout:"",before:!1,parent:!1,search:"",replace:""}),!this.allowAdd())return!1;var i=acf.uniqid();a.parent&&(a.search||(a.search=a.parent+"["+a.layout.attr("data-id")+"]"),a.replace=a.parent+"["+i+"]");var e,t={target:a.layout,search:a.search,replace:a.replace,append:this.proxy(function(e,t){t.addClass("acfe-layout-duplicated"),t.attr("data-id",i),a.before?a.before.after(t):this.$layoutsWrap().append(t),acf.enable(t,this.cid),this.render()})};e=acfe.versionCompare(acf.get("acf_version"),"<","5.9")?acf.duplicate(t):n.acfeNewAcfDuplicate(t),this.$input().trigger("change");t=acf.getFields({type:"tab",parent:e});return t.length&&r.each(t,function(){this.$el.hasClass("acf-hidden")&&this.tab.$el.addClass("acf-hidden")}),e},n.acfeNewAcfDuplicate=function(e){e instanceof jQuery&&(e={target:e}),(e=acf.parseArgs(e,{target:!1,search:"",replace:"",rename:!0,before:function(e){},after:function(e,t){},append:function(e,t){e.after(t)}})).target=e.target||e.$el;var t=e.target;e.search=e.search||t.attr("data-id"),e.replace=e.replace||acf.uniqid(),e.before(t),acf.doAction("before_duplicate",t);var a=t.clone();return e.rename&&acf.rename({target:a,search:e.search,replace:e.replace,replacer:"function"==typeof e.rename?e.rename:null}),a.removeClass("acf-clone"),a.find(".ui-sortable").removeClass("ui-sortable"),e.after(t,a),acf.doAction("after_duplicate",t,a),e.append(t,a),acf.doAction("append",a),a},n.acfeFixInputs=function(e){e.find("input").each(function(){r(this).attr("value",this.value)}),e.find("textarea").each(function(){r(this).html(this.value)}),e.find("input:radio,input:checkbox").each(function(){this.checked?r(this).attr("checked","checked"):r(this).attr("checked",!1)}),e.find("option").each(function(){this.selected?r(this).attr("selected","selected"):r(this).attr("selected",!1)})},n.acfeCleanLayouts=function(e){e.find(".acf-editor-wrap").each(function(){var e=r(this);e.find(".wp-editor-container div").remove(),e.find(".wp-editor-container textarea").css("display","")}),e.find(".acf-date-picker").each(function(){r(this).find("input.input").removeClass("hasDatepicker").removeAttr("id")}),e.find(".acf-time-picker").each(function(){r(this).find("input.input").removeClass("hasDatepicker").removeAttr("id")}),e.find(".acf-date-time-picker").each(function(){r(this).find("input.input").removeClass("hasDatepicker").removeAttr("id")}),e.find(".acfe-field-code-editor").each(function(){r(this).find(".CodeMirror").remove()}),e.find(".acf-color-picker").each(function(){var e=r(this),t=e.find("> input"),a=e.find(".wp-picker-container input.wp-color-picker").clone();t.after(a),e.find(".wp-picker-container").remove()}),e.find(".acf-field-post-object").each(function(){var e=r(this);e.find("> .acf-input span").remove(),e.find("> .acf-input select").removeAttr("tabindex aria-hidden").removeClass()}),e.find(".acf-field-page-link").each(function(){var e=r(this);e.find("> .acf-input span").remove(),e.find("> .acf-input select").removeAttr("tabindex aria-hidden").removeClass()}),e.find(".acf-field-select").each(function(){var e=r(this);e.find("> .acf-input span").remove(),e.find("> .acf-input select").removeAttr("tabindex aria-hidden").removeClass()}),e.find(".acf-field-font-awesome").each(function(){var e=r(this);e.find("> .acf-input span").remove(),e.find("> .acf-input select").removeAttr("tabindex aria-hidden")}),e.find(".acf-tab-wrap").each(function(){var e=r(this),t=e.closest(".acf-fields"),a=[];r.each(e.find("li a"),function(){a.push(r(this))}),t.find("> .acf-field-tab").each(function(){$current_tab=r(this),r.each(a,function(){var e=r(this);e.attr("data-key")===$current_tab.attr("data-key")&&$current_tab.find("> .acf-input").append(e)})}),e.remove()}),e.find(".acf-field-accordion").each(function(){var e=r(this);e.find("> .acf-accordion-title > .acf-accordion-icon").remove(),e.after('<div class="acf-field acf-field-accordion" data-type="accordion"><div class="acf-input"><div class="acf-fields" data-endpoint="1"></div></div></div>')})},acf.addAction("new_field/type=flexible_content",function(e){e.has("acfeFlexibleLock")&&e.removeEvents({mouseover:"onHover"})}))}(jQuery),function(){var e;"undefined"!=typeof acf&&"undefined"!=typeof acfe&&((e=acf.getFieldType("flexible_content").prototype).events['click [data-action="acfe-flexible-modal-edit"]']="acfeModalEdit",e.acfeModalEdit=function(e,t){var a=this,i=t.closest(".layout"),n=i.find("> .acfe-modal.-fields").addClass("acfe-modal-edit-"+a.get("name")+" acfe-modal-edit-"+a.get("key")).addClass("acfe-modal-edit-"+i.data("layout")),o=i.find("> .acf-fc-layout-handle"),c=o.find("> .acf-fc-layout-order").outerHTML(),t=acfe.getTextNode(o.find(".acfe-layout-title")),o=!1;a.has("acfeFlexibleCloseButton")&&(o=acf.__("Close")),new acfe.Popup(n,{title:c+" "+t,footer:o,onOpen:function(){a.openLayout(i)},onClose:function(){a.closeLayout(i)}})},acf.addAction("new_field/type=flexible_content",function(e){e.has("acfeFlexibleModalEdition")&&(e.has("acfeFlexiblePlaceholder")||e.has("acfeFlexiblePreview"))&&(e.removeEvents({'click [data-name="collapse-layout"]':"onClickCollapse"}),e.removeEvents({"click .acfe-fc-placeholder":"onClickCollapse"}))}))}(jQuery),function(l){"undefined"!=typeof acf&&"undefined"!=typeof acfe&&(acf.getFieldType("flexible_content").prototype.acfeModalSelect=function(e,t){var a=this;if(!a.validateAdd())return!1;var i=null;t.hasClass("acf-icon")&&(i=t.closest(".layout"));var n=a.getPopupHTML(),o={array:[],html:""};l(n).find("li a span[data-acfe-flexible-category]").each(function(){var e=l(this).data("acfe-flexible-category");l.each(e,function(){acfe.inArray(this,o.array)||o.array.push(this)})}),o.array.length&&(o.array.sort(),o.html+='<h2 class="acfe-flexible-categories nav-tab-wrapper">',o.html+='<a href="#" data-acfe-flexible-category="acfe-all" class="nav-tab nav-tab-active"><span class="dashicons dashicons-menu"></span></a>',l(o.array).each(function(e,t){o.html+='<a href="#" data-acfe-flexible-category="'+t+'" class="nav-tab">'+t+"</a>"}),o.html+="</h2>");t=acf.__("Add Row");a.has("acfeFlexibleModalTitle")&&(t=a.get("acfeFlexibleModalTitle"));var c=l('<div class="acfe-modal acfe-modal-select-'+a.get("name")+" acfe-modal-select-"+a.get("key")+'">'+o.html+'<div class="acfe-flex-container">'+n+"</div></div>").appendTo("body");new acfe.Popup(c,{title:t,size:a.get("acfeFlexibleModalSize"),destroy:!0}),a.has("acfeFlexibleModalCol")&&c.find(".acfe-modal-content .acfe-flex-container").addClass("acfe-col-"+a.get("acfeFlexibleModalCol")),a.has("acfeFlexibleThumbnails")&&c.find(".acfe-modal-content .acfe-flex-container").addClass("acfe-flex-thumbnails"),c.find("li:first-of-type a").blur(),c.find("li a span.badge").each(function(){var e=acfe.versionCompare(acf.get("wp_version"),">=","5.5")?"dashicons-info-outline":"dashicons-info";l(this).addClass("acf-js-tooltip dashicons "+e)}),c.find(".acfe-flexible-categories a").click(function(e){e.preventDefault();e=l(this);e.closest(".acfe-flexible-categories").find("a").removeClass("nav-tab-active"),e.addClass("nav-tab-active");var i=e.data("acfe-flexible-category");c.find("a[data-layout] span[data-acfe-flexible-category]").each(function(){var a=l(this);a.closest("li").show();var e=a.data("acfe-flexible-category");"acfe-all"!==i&&(a.closest("li").hide(),l.each(e,function(e,t){if(i.toLowerCase()===t.toLowerCase())return a.closest("li").show(),!1}))})}),c.on("click","a[data-layout]",function(e){e.preventDefault(),acfe.closePopup(),a.add({layout:l(this).data("layout"),before:i})})},acf.addAction("new_field/type=flexible_content",function(e){e.has("acfeFlexibleModal")&&(e.$clones().length<=1||(e.removeEvents({'click [data-name="add-layout"]':"onClickAdd"}),e.addEvents({'click [data-name="add-layout"]':"acfeModalSelect"})))}))}(jQuery),function(f){var e;"undefined"!=typeof acf&&"undefined"!=typeof acfe&&(e=acf.models.FlexibleContentField,acf.models.FlexibleContentField=e.extend({addSortable:function(a){1!=this.get("max")&&this.$layoutsWrap().sortable({items:" > .layout",handle:"> .acf-fc-layout-handle",forceHelperSize:!1,forcePlaceholderSize:!0,revert:50,tolerance:"pointer",scroll:!0,stop:function(e,t){a.render()},update:function(e,t){a.$input().trigger("change")}})},acfeOneClick:function(e,t){var a=this.$clones(),i=f(a[0]).data("layout"),a=null;t.hasClass("acf-icon")&&(a=t.closest(".layout")),this.add({layout:i,before:a});a=f(".acf-fc-popup");a.length&&a.hide()},acfeLayoutInit:function(t){var e,a,i=this.get("key"),n=this.get("name"),o=this.$el,c=t.data("layout"),l=t.index(),r=t.find("> .acfe-fc-placeholder");r.removeClass("acf-hidden"),this.has("acfeFlexibleModalEdition")||this.isLayoutClosed(t)||r.addClass("acf-hidden"),this.isLayoutClosed(t)&&this.has("acfeFlexiblePreview")&&!r.hasClass("-loading")&&(r.addClass("acfe-fc-preview -loading").find("> .acfe-flexible-placeholder").prepend('<span class="spinner"></span>'),r.find("> .acfe-fc-overlay").addClass("-hover"),e=t.children("input").attr("name").replace("[acf_fc_layout]",""),a={action:"acfe/flexible/layout_preview",field_key:i,i:l,layout:c,value:acf.serialize(t,e)},acf.doAction("acfe/fields/flexible_content/before_preview",o,t,a),acf.doAction("acfe/fields/flexible_content/before_preview/name="+n,o,t,a),acf.doAction("acfe/fields/flexible_content/before_preview/key="+i,o,t,a),acf.doAction("acfe/fields/flexible_content/before_preview/name="+n+"&layout="+c,o,t,a),acf.doAction("acfe/fields/flexible_content/before_preview/key="+i+"&layout="+c,o,t,a),f.ajax({url:acf.get("ajaxurl"),data:acf.prepareForAjax(a),dataType:"html",type:"post",success:function(e){e?r.find("> .acfe-flexible-placeholder").html(e):r.removeClass("acfe-fc-preview"),acf.doAction("acfe/fields/flexible_content/preview",e,o,t,a),acf.doAction("acfe/fields/flexible_content/preview/name="+n,e,o,t,a),acf.doAction("acfe/fields/flexible_content/preview/key="+i,e,o,t,a),acf.doAction("acfe/fields/flexible_content/preview/name="+n+"&layout="+c,e,o,t,a),acf.doAction("acfe/fields/flexible_content/preview/key="+i+"&layout="+c,e,o,t,a)},complete:function(){r.find("> .acfe-fc-overlay").removeClass("-hover"),r.removeClass("-loading").find("> .acfe-flexible-placeholder > .spinner").remove()}}))}}),new acf.Model({actions:{"new_field/type=flexible_content":"newField","acfe/flexible/layouts":"newLayouts",show:"onShow",hide:"onHide",append:"onAppend",invalid_field:"onInvalidField",valid_field:"onValidField"},newField:function(a){var e=a.$clones();a.$layouts().each(function(){var e=f(this),t=e.data("layout");acf.doAction("acfe/flexible/layouts",e,a),acf.doAction("acfe/flexible/layout/name="+t,e,a)}),1===e.length&&(a.removeEvents({'click [data-name="add-layout"]':"onClickAdd"}),a.addEvents({'click [data-name="add-layout"]':"acfeOneClick"})),a.addEvents({"click .acfe-fc-placeholder":"onClickCollapse"}),a.addEvents({"click .acfe-flexible-opened-actions > a":"onClickCollapse"}),a.has("acfeFlexibleAjax")&&(a.add=function(n){var o=this;if(n=acf.parseArgs(n,{layout:"",before:!1}),!this.allowAdd())return!1;f.ajax({url:acf.get("ajaxurl"),data:acf.prepareForAjax({action:"acfe/flexible/models",field_key:this.get("key"),layout:n.layout}),dataType:"html",type:"post",beforeSend:function(){f("body").addClass("-loading")},success:function(e){if(e){var t=f(e),a=acf.uniqid(),i="acf["+o.get("key")+"][acfcloneindex]",e=o.$control().find("> input[type=hidden]").attr("name")+"["+a+"]",e=acf.duplicate({target:t,search:i,replace:e,append:o.proxy(function(e,t){n.before?n.before.before(t):o.$layoutsWrap().append(t),acf.enable(t,o.cid),o.render()})});return e.attr("data-id",a),o.$input().trigger("change"),e}},complete:function(){f("body").removeClass("-loading")}})})},newLayouts:function(e,t){t.isLayoutClosed(e)&&(e.find("> .acfe-fc-placeholder").removeClass("acf-hidden"),t.has("acfeFlexibleOpen")&&(acfe.enableFilter("acfeFlexibleOpen"),t.openLayout(e),acfe.disableFilter("acfeFlexibleOpen")))},onShow:function(e,t){"collapse"===t&&e.is(".layout")&&(acf.getInstance(e.closest(".acf-field-flexible-content")).has("acfeFlexibleModalEdition")||e.find("> .acfe-fc-placeholder").addClass("acf-hidden"))},onHide:function(e,t){"collapse"===t&&e.is(".layout")&&!e.is(".acf-clone")&&((t=acf.getInstance(e.closest(".acf-field-flexible-content"))).has("acfeFlexibleRemoveAjaxTitle")&&(t.renderLayout=function(e){}),t.acfeLayoutInit(e))},onAppend:function(e){var t;e.is(".layout")&&(t=acf.getInstance(e.closest(".acf-field-flexible-content")),e.is(".acfe-layout-duplicated")||(t.has("acfeFlexibleModalEdition")?e.find('> [data-action="acfe-flexible-modal-edit"]:first').trigger("click"):t.openLayout(e)),t.acfeLayoutInit(e),(t=t.$el.closest(".acfe-modal.-open")).length?t.find("> .acfe-modal-wrapper > .acfe-modal-content").animate({scrollTop:parseInt(e.offset().top)-200},200):!acfe.versionCompare(acf.get("acf_version"),"<","5.9")&&e.hasClass("-focused")||f("html, body").animate({scrollTop:parseInt(e.offset().top)-200},200))},onInvalidField:function(e){e.$el.parents(".layout").addClass("acfe-flexible-modal-edit-error")},onValidField:function(e){e.$el.parents(".layout").each(function(){var e=f(this);e.find(".acf-error").length||e.removeClass("acfe-flexible-modal-edit-error")})}}))}(jQuery),function(){var e;"undefined"!=typeof acf&&"undefined"!=typeof acfe&&(e=acf.Field.extend({wait:!1,type:"group",events:{'click [data-name="edit"]':"onClick",duplicateField:"onDuplicate"},initialize:function(){var e;this.has("acfeGroupModal")&&(e=this.get("acfeGroupModalButton"),this.$el.find("> .acf-input > .acf-fields, > .acf-input > .acf-table").wrapAll('<div class="acfe-modal"><div class="acfe-modal-wrapper"><div class="acfe-modal-content"></div></div></div>'),this.$el.find("> .acf-input").append('<a data-name="edit" class="acf-button button" href="#">'+e+"</a>"))},onClick:function(e,t){var a=this.$labelWrap().find("label").text().trim();this.$el.is("td")&&(a=this.get("acfeGroupModalButton"),(o=this.$el.closest("table").find(' > thead th[data-key="'+this.get("key")+'"]')).length&&(a=acfe.getTextNode(o)));var i=this.$el.find("> .acf-input > .acfe-modal").addClass("acfe-modal-edit-"+this.get("name")+" acfe-modal-edit-"+this.get("key"));a.length||(a=this.get("acfeGroupModalButton"));var n=!1;this.has("acfeGroupModalClose")&&(n=acf.__("Close"));var o="large";this.has("acfeGroupModalSize")&&(o=this.get("acfeGroupModalSize")),new acfe.Popup(i,{title:a,size:o,footer:n})},onDuplicate:function(e,t,a){a.find('a[data-name="edit"]').remove()}}),acf.registerFieldType(e))}(jQuery),function(n){"undefined"!=typeof acf&&"undefined"!=typeof acfe&&new acf.Model({actions:{new_field:"newField"},validateField:function(e){return!!e.has("acfeLabels")&&"radio"===(e.has("rtype")?e.get("rtype"):e.get("type"))},newField:function(e){if(this.validateField(e)){var t,a,i=e.get("acfeLabels");for(t in i)a=i[t],e.$control().find('input[type=radio][value="'+a+'"]').closest("li").addClass("parent").prepend("<strong>"+t+"</strong>");e.$control().hasClass("acf-hl")&&e.$control().find("li.parent").each(function(){n(this).nextUntil("li.parent").addBack().wrapAll("<li><ul></ul></li>")})}}})}(jQuery),function(){var e;"undefined"!=typeof acf&&"undefined"!=typeof acfe&&(e=acf.Field.extend({type:"acfe_recaptcha",wait:"load",actions:{validation_failure:"validationFailure"},$control:function(){return this.$(".acfe-field-recaptcha")},$input:function(){return this.$('input[type="hidden"]')},$selector:function(){return this.$control().find("> div")},selector:function(){return this.$selector()[0]},initialize:function(){"v2"===this.get("version")?this.renderV2(this):"v3"===this.get("version")&&this.renderV3()},renderV2:function(t){var e=this.selector(),a=this.$input(),i=this.get("siteKey"),n=this.get("theme"),o=this.get("size");this.recaptcha=grecaptcha.render(e,{sitekey:i,theme:n,size:o,callback:function(e){acf.val(a,e,!0),t.removeError()},"error-callback":function(){acf.val(a,"",!0),t.showError("An error has occured")},"expired-callback":function(){acf.val(a,"",!0),t.showError("reCaptcha has expired")}})},renderV3:function(){var t=this.$input(),e=this.get("siteKey");grecaptcha.ready(function(){grecaptcha.execute(e,{action:"homepage"}).then(function(e){acf.val(t,e,!0)})})},validationFailure:function(e){"v2"===this.get("version")&&grecaptcha.reset(this.recaptcha)}}),acf.registerFieldType(e))}(jQuery),jQuery,"undefined"!=typeof acf&&"undefined"!=typeof acfe&&(acf.getFieldType("repeater").prototype.acfeOnHover=function(){this.off("mouseover")},acf.addAction("new_field/type=repeater",function(e){e.has("acfeRepeaterLock")&&(e.removeEvents({mouseover:"onHover"}),e.addEvents({mouseover:"acfeOnHover"})),e.has("acfeRepeaterRemoveActions")&&(e.$actions().remove(),e.$el.find("thead:first > tr > th.acf-row-handle:last").remove(),e.$rows().find("> .acf-row-handle:last").remove(),e.$control().find("> .acfe-repeater-stylised-button").remove()),e.has("acfeRepeaterStylisedButton")&&(e.$button().removeClass("button-primary"),e.$actions().wrap('<div class="acfe-repeater-stylised-button" />'))})),function(o){"undefined"!=typeof acf&&"undefined"!=typeof acfe&&(new acf.Model({actions:{select2_init:"init"},filters:{select2_args:"args",select2_ajax_data:"ajax"},init:function(e,t,a,i,n){acf.doAction("select2_init/type="+i.get("type"),e,t,a,i,n),acf.doAction("select2_init/name="+i.get("name"),e,t,a,i,n),acf.doAction("select2_init/key="+i.get("key"),e,t,a,i,n)},args:function(e,t,a,i,n){return e=acf.applyFilters("select2_args/type="+i.get("type"),e,t,a,i,n),e=acf.applyFilters("select2_args/name="+i.get("name"),e,t,a,i,n),e=acf.applyFilters("select2_args/key="+i.get("key"),e,t,a,i,n)},ajax:function(e,t,a,i,n){return e=acf.applyFilters("select2_ajax_data/type="+i.get("type"),e,t,a,i,n),e=acf.applyFilters("select2_ajax_data/name="+i.get("name"),e,t,a,i,n),e=(e=acf.applyFilters("select2_ajax_data/key="+i.get("key"),e,t,a,i,n)).action?acf.applyFilters("select2_ajax_data/action="+e.action,e,t,a,i,n):e}}),new acf.Model({wait:"load",priority:20,actions:{"append_field/type=select":"closeOnClear"},initialize:function(){acf.getFields({type:"select"}).map(this.proxy(this.closeOnClear))},closeOnClear:function(e){e.select2&&e.select2.on("select2:clear",function(e){o(this).on("select2:opening.cancelOpen",function(e){e.preventDefault(),o(this).off("select2:opening.cancelOpen")})})}}),new acf.Model({actions:{"new_field/type=select":"newField",select2_init:"init"},filters:{select2_args:"args"},newField:function(e){e.inherit(e.$input()),!e.get("ui")&&e.get("allow_null")&&e.$input().find("option").each(function(e,t){t.value||t.text.startsWith("- ")&&t.text.endsWith(" -")&&(t.text=t.text.substring(2),t.text=t.text.substring(0,t.text.length-2))}),(e.has("acfePrepend")||e.has("acfeAppend"))&&(e.$input().parent(".acf-input-wrap").length||(e.$input().wrapAll('<div class="acf-input-wrap"></div>'),e.get("ui")&&e.$(".acf-input-wrap:first").append(e.$(".select2")),e.has("acfePrepend")&&(e.$(".acf-input-wrap:first").before('<div class="acf-input-prepend">'+e.get("acfePrepend")+"</div>"),e.$input().addClass("acf-is-prepended")),e.has("acfeAppend")&&(e.$(".acf-input-wrap:first").before('<div class="acf-input-append">'+e.get("acfeAppend")+"</div>"),e.$input().addClass("acf-is-appended"))))},init:function(e,t,a,i,n){e.data("select2")&&e.data("select2").$dropdown.addClass("select2-dropdown-acf").addClass("select2-dropdown-acf-field-"+i.get("name")).addClass("select2-dropdown-acf-field-"+i.get("key")),i.get("multiple")||i.get("acfeSearchPlaceholder")&&e.on("select2:open",function(e){o(".select2-search.select2-search--dropdown > .select2-search__field").attr("placeholder",i.get("acfeSearchPlaceholder"))})},args:function(e,t,a,i,n){return i.get("acfeAllowCustom")&&(e.tags=!0,e.createTag=function(e){var t=o.trim(e.term);if(""===t)return null;var a=!1,e=acf.isget(this,"_request","responseJSON","results");return e?o.each(e,function(){if(this.children)return o.each(this.children,function(){if(this.id.toLowerCase()===t.toLowerCase())return!(a=!0)}),!a&&void 0}):this.$element.find("option").each(function(){if(this.value.toLowerCase()===t.toLowerCase())return!(a=!0)}),a?null:{id:t,text:t}},e.insertTag=function(e,t){var a=!1;o.each(e,function(){if(o.trim(t.text).toUpperCase()===o.trim(this.text).toUpperCase())return!(a=!0)}),a||e.unshift(t)}),e}}))}(jQuery),function(){var e;"undefined"!=typeof acf&&"undefined"!=typeof acfe&&(e=acf.Field.extend({type:"acfe_slug",events:{"input input":"onInput","focusout input":"onFocusOut"},onInput:function(e,t){t.val(t.val().toLowerCase().replace(/\s+/g,"-").replace(/[^\w\-]+/g,"").replace(/\-\-+/g,"-").replace(/\_\_+/g,"_").replace(/^-+/,""))},onFocusOut:function(e,t){t.val(t.val().toLowerCase().replace(/-+$/,"").replace(/_+$/,""))}}),acf.registerFieldType(e))}(jQuery),function(a){"undefined"!=typeof acf&&"undefined"!=typeof acfe&&new acf.Model({actions:{"prepare_field/type=tab":"prepareField"},prepareField:function(e){var t,i,n;e.has("noPreference")&&(t=e.findTabs(),t=acf.getInstances(t),i=e.get("key"),!t.length||(n=acf.getPreference("this.tabs"))&&(a.each(t,function(e,t){var a=t.get("index");t.data.key===i&&(n[a]=0)}),acf.setPreference("this.tabs",n)))}})}(jQuery),function(){var e;"undefined"!=typeof acf&&"undefined"!=typeof acfe&&(e=acf.Field.extend({type:"textarea",events:{"keydown textarea":"onInput"},onInput:function(e,t){var a,i;this.has("acfeTextareaCode")&&9===e.keyCode&&(e.preventDefault(),a=this.$el.find("textarea")[0],i=a.selectionStart,this.$el.find("textarea").val(function(e,t){return t.substring(0,i)+" "+t.substring(a.selectionEnd)}),a.selectionEnd=i+4)}}),acf.registerFieldType(e))}(jQuery),function(){var e;"undefined"!=typeof acf&&"undefined"!=typeof acfe&&(e=acf.models.WysiwygField,acf.models.WysiwygField=e.extend({initialize:function(){this.has("id")||this.$control().hasClass("delay")||this.initializeEditor()}}),new acf.Model({actions:{"show_field/type=wysiwyg":"showField","ready_field/type=wysiwyg":"showField"},showField:function(e){e.has("acfeWysiwygAutoInit")&&e.$el.is(":visible")&&!e.has("id")&&!acfe.isFilterEnabled("acfeFlexibleOpen")&&this.initializeEditor(e)},initializeEditor:function(e){var t=e.$control();t.hasClass("delay")&&(t.removeClass("delay"),t.find(".acf-editor-toolbar").remove(),e.initializeEditor())}}))}(jQuery),jQuery,"undefined"!=typeof acf&&"undefined"!=typeof acfe&&(acf.registerConditionForFieldType("contains","checkbox"),acf.registerConditionForFieldType("contains","radio"),acf.registerConditionForFieldType("equalTo","acfe_code_editor"),acf.registerConditionForFieldType("notEqualTo","acfe_code_editor"),acf.registerConditionForFieldType("patternMatch","acfe_code_editor"),acf.registerConditionForFieldType("contains","acfe_code_editor"),acf.registerConditionForFieldType("hasValue","acfe_code_editor"),acf.registerConditionForFieldType("hasNoValue","acfe_code_editor"),acf.registerConditionForFieldType("equalTo","date_picker"),acf.registerConditionForFieldType("notEqualTo","date_picker"),acf.registerConditionForFieldType("patternMatch","date_picker"),acf.registerConditionForFieldType("contains","date_picker"),acf.registerConditionForFieldType("greaterThan","date_picker"),acf.registerConditionForFieldType("lessThan","date_picker"),acf.registerConditionForFieldType("equalTo","date_time_picker"),acf.registerConditionForFieldType("notEqualTo","date_time_picker"),acf.registerConditionForFieldType("patternMatch","date_time_picker"),acf.registerConditionForFieldType("contains","date_time_picker"),acf.registerConditionForFieldType("equalTo","acfe_forms"),acf.registerConditionForFieldType("notEqualTo","acfe_forms"),acf.registerConditionForFieldType("patternMatch","acfe_forms"),acf.registerConditionForFieldType("contains","acfe_forms"),acf.registerConditionForFieldType("hasValue","acfe_forms"),acf.registerConditionForFieldType("hasNoValue","acfe_forms"),acf.registerConditionForFieldType("equalTo","acfe_hidden"),acf.registerConditionForFieldType("notEqualTo","acfe_hidden"),acf.registerConditionForFieldType("patternMatch","acfe_hidden"),acf.registerConditionForFieldType("contains","acfe_hidden"),acf.registerConditionForFieldType("hasValue","acfe_hidden"),acf.registerConditionForFieldType("hasNoValue","acfe_hidden"),acf.registerConditionForFieldType("equalTo","acfe_post_statuses"),acf.registerConditionForFieldType("notEqualTo","acfe_post_statuses"),acf.registerConditionForFieldType("patternMatch","acfe_post_statuses"),acf.registerConditionForFieldType("contains","acfe_post_statuses"),acf.registerConditionForFieldType("hasValue","acfe_post_statuses"),acf.registerConditionForFieldType("hasNoValue","acfe_post_statuses"),acf.registerConditionForFieldType("equalTo","acfe_post_types"),acf.registerConditionForFieldType("notEqualTo","acfe_post_types"),acf.registerConditionForFieldType("patternMatch","acfe_post_types"),acf.registerConditionForFieldType("contains","acfe_post_types"),acf.registerConditionForFieldType("hasValue","acfe_post_types"),acf.registerConditionForFieldType("hasNoValue","acfe_post_types"),acf.registerConditionForFieldType("equalTo","acfe_slug"),acf.registerConditionForFieldType("notEqualTo","acfe_slug"),acf.registerConditionForFieldType("patternMatch","acfe_slug"),acf.registerConditionForFieldType("contains","acfe_slug"),acf.registerConditionForFieldType("hasValue","acfe_slug"),acf.registerConditionForFieldType("hasNoValue","acfe_slug"),acf.registerConditionForFieldType("equalTo","acfe_taxonomies"),acf.registerConditionForFieldType("notEqualTo","acfe_taxonomies"),acf.registerConditionForFieldType("patternMatch","acfe_taxonomies"),acf.registerConditionForFieldType("contains","acfe_taxonomies"),acf.registerConditionForFieldType("hasValue","acfe_taxonomies"),acf.registerConditionForFieldType("hasNoValue","acfe_taxonomies"),acf.registerConditionForFieldType("equalTo","taxonomy"),acf.registerConditionForFieldType("notEqualTo","taxonomy"),acf.registerConditionForFieldType("patternMatch","taxonomy"),acf.registerConditionForFieldType("contains","taxonomy"),acf.registerConditionForFieldType("hasValue","taxonomy"),acf.registerConditionForFieldType("hasNoValue","taxonomy"),acf.registerConditionForFieldType("equalTo","acfe_taxonomy_terms"),acf.registerConditionForFieldType("notEqualTo","acfe_taxonomy_terms"),acf.registerConditionForFieldType("patternMatch","acfe_taxonomy_terms"),acf.registerConditionForFieldType("contains","acfe_taxonomy_terms"),acf.registerConditionForFieldType("hasValue","acfe_taxonomy_terms"),acf.registerConditionForFieldType("hasNoValue","acfe_taxonomy_terms"),acf.registerConditionForFieldType("equalTo","time_picker"),acf.registerConditionForFieldType("notEqualTo","time_picker"),acf.registerConditionForFieldType("patternMatch","time_picker"),acf.registerConditionForFieldType("contains","time_picker"),acf.registerConditionForFieldType("equalTo","acfe_user_roles"),acf.registerConditionForFieldType("notEqualTo","acfe_user_roles"),acf.registerConditionForFieldType("patternMatch","acfe_user_roles"),acf.registerConditionForFieldType("contains","acfe_user_roles"),acf.registerConditionForFieldType("hasValue","acfe_user_roles"),acf.registerConditionForFieldType("hasNoValue","acfe_user_roles")),function(c){var i;"undefined"!=typeof acf&&"undefined"!=typeof acfe&&(i=[],acfe.registerEventForFieldType=function(e,t,a){i.push({fieldType:e,events:t="string"==typeof t?[t]:t,callback:a||!1})},acfe.getEvents=function(t){t=acf.parseArgs(t,{fieldType:""});var a=[];return i.map(function(e){t.fieldType&&-1===e.fieldType.indexOf(t.fieldType)||a.push(e)}),a},new acf.Model({actions:{new_field:"newField"},priority:20,data:{},parseEvent:function(e){return e.match(/^(\S+)\s*(.*)$/)},newField:function(o){this.set(o.cid,o.val()),acfe.getEvents({fieldType:o.get("type")}).map(function(n){n.events.map(function(e){e=this.parseEvent(e);o.on(e[1],e[2],this.proxy(function(e){var t=o.val(),a=this.get(o.cid),i=c(e.currentTarget);(n.callback||this.proxy(function(e,t,a,i,n){var o=e,c=t;"object"==typeof o&&(o=JSON.stringify(o)),(c="object"==typeof c?JSON.stringify(c):c)!==o&&(this.set(a.cid,e),acf.doAction("acfe/change_field",e,t,a,i,n),acf.doAction("acfe/change_field/type="+a.get("type"),e,t,a,i,n),acf.doAction("acfe/change_field/name="+a.get("name"),e,t,a,i,n),acf.doAction("acfe/change_field/key="+a.get("key"),e,t,a,i,n))}))(t,a,o,e,i)}))},this)},this)}}),acfe.registerEventForFieldType("button_group","change"),acfe.registerEventForFieldType("checkbox","change"),acfe.registerEventForFieldType("color_picker","change"),acfe.registerEventForFieldType("date_picker","change"),acfe.registerEventForFieldType("date_time_picker","change"),acfe.registerEventForFieldType("email",["input","change"]),acfe.registerEventForFieldType("file","change"),acfe.registerEventForFieldType("flexible_content","change"),acfe.registerEventForFieldType("gallery","change"),acfe.registerEventForFieldType("google_map","change"),acfe.registerEventForFieldType("image","change"),acfe.registerEventForFieldType("link","change"),acfe.registerEventForFieldType("number",["input","change"]),acfe.registerEventForFieldType("oembed","change"),acfe.registerEventForFieldType("page_link","change"),acfe.registerEventForFieldType("post_object","change"),acfe.registerEventForFieldType("relationship","change"),acfe.registerEventForFieldType("password",["input","change"]),acfe.registerEventForFieldType("radio","change"),acfe.registerEventForFieldType("range",["input","change"]),acfe.registerEventForFieldType("repeater","change"),acfe.registerEventForFieldType("select","change"),acfe.registerEventForFieldType("taxonomy","change"),acfe.registerEventForFieldType("text",["input","change"]),acfe.registerEventForFieldType("textarea",["input","change"]),acfe.registerEventForFieldType("time_picker","change"),acfe.registerEventForFieldType("true_false","change"),acfe.registerEventForFieldType("url",["input","change"]),acfe.registerEventForFieldType("user","change"),acfe.registerEventForFieldType("wysiwyg","change"),acfe.registerEventForFieldType("acfe_advanced_link","change"),acfe.registerEventForFieldType("acfe_block_types","change"),acfe.registerEventForFieldType("acfe_countries","change"),acfe.registerEventForFieldType("acfe_currencies","change"),acfe.registerEventForFieldType("acfe_code_editor","change"),acfe.registerEventForFieldType("acfe_date_range_picker","change"),acfe.registerEventForFieldType("acfe_field_groups","change"),acfe.registerEventForFieldType("acfe_field_types","change"),acfe.registerEventForFieldType("acfe_fields","change"),acfe.registerEventForFieldType("acfe_forms","change"),acfe.registerEventForFieldType("acfe_hidden","change"),acfe.registerEventForFieldType("acfe_image_selector","change"),acfe.registerEventForFieldType("acfe_image_sizes","change"),acfe.registerEventForFieldType("acfe_languages","change"),acfe.registerEventForFieldType("acfe_menu_locations","change"),acfe.registerEventForFieldType("acfe_options_pages","change"),acfe.registerEventForFieldType("acfe_payment","change"),acfe.registerEventForFieldType("acfe_payment_cart","change"),acfe.registerEventForFieldType("acfe_payment_selector","change"),acfe.registerEventForFieldType("acfe_phone_number","change"),acfe.registerEventForFieldType("acfe_post_formats","change"),acfe.registerEventForFieldType("acfe_post_statuses","change"),acfe.registerEventForFieldType("acfe_post_types","change"),acfe.registerEventForFieldType("acfe_recaptcha","change"),acfe.registerEventForFieldType("acfe_taxonomies","change"),acfe.registerEventForFieldType("acfe_taxonomy_terms","change"),acfe.registerEventForFieldType("acfe_templates","change"),acfe.registerEventForFieldType("acfe_user_roles","change"),acfe.registerEventForFieldType("acfe_slug",["input","change"]))}(jQuery),jQuery,"undefined"!=typeof acf&&"undefined"!=typeof acfe&&new acf.Model({actions:{new_field:"newField"},priority:1,newField:function(e){e.has("ftype")&&"taxonomy"!==e.get("type")&&(e.set("rtype",e.get("type"),!0),e.set("type",e.get("ftype"),!0),e.$el.attr("data-type",e.get("ftype")),e.$el.removeAttr("data-ftype"),delete e.data.ftype)}}),function(i){"undefined"!=typeof acf&&"undefined"!=typeof acfe&&new acf.Model({field:!1,placement:!1,actions:{new_field:"newField"},newField:function(e){(this.field=e).has("instructionTooltip")&&this.setTooltip(),e.has("instructionAboveField")&&this.setAboveField(),e.has("instructionPlacement")&&this.overridePlacement(e.get("instructionPlacement"))},setTooltip:function(){var e=acfe.versionCompare(acf.get("wp_version"),">=","5.5")?"dashicons-info-outline":"dashicons-info";this.field.$labelWrap().prepend('<span class="acfe-field-tooltip acf-js-tooltip dashicons '+e+'" title="'+_.escape(this.field.get("instructionTooltip"))+'"></span>'),this.field.$labelWrap().find(".description").remove()},setAboveField:function(){this.field.$inputWrap().prepend('<p class="description">'+this.field.get("instructionAboveField")+"</p>"),this.field.$labelWrap().find(".description").remove()},overridePlacement:function(e){var t=this.getPlacement();t&&t!==e&&this.setPlacement(e)},getPlacement:function(){var e=!1;return this.field.$labelWrap().find(">.description").length?e="label":this.field.$inputWrap().find(">.description:first-child").length?e="above_field":this.field.$inputWrap().find(">.description:last-child").length?e="field":this.field.$labelWrap().find(">.acfe-field-tooltip").length&&(e="tooltip"),this.placement=e,this.placement},$getInstruction:function(){var e=this.getPlacement();return"label"===e?this.field.$labelWrap().find(">.description"):"above_field"===e?this.field.$inputWrap().find(">.description:first-child"):"field"===e?this.field.$inputWrap().find(">.description:last-child"):"tooltip"===e&&this.field.$labelWrap().find(">.acfe-field-tooltip")},setPlacement:function(e){var t,a=this.$getInstruction();"tooltip"===this.placement&&(t=a.attr("title"),a.remove(),a=i('<p class="description">'+t+"</p>")),"label"===e?this.field.$labelWrap().append(a):"above_field"===e?this.field.$inputWrap().prepend(a):"field"===e?this.field.$inputWrap().append(a):"tooltip"===e&&(e=acfe.versionCompare(acf.get("wp_version"),">=","5.5")?"dashicons-info-outline":"dashicons-info",this.field.$labelWrap().prepend(i('<span class="acfe-field-tooltip acf-js-tooltip dashicons '+e+'" title="'+_.escape(a.html())+'"></span>')),a.remove())}})}(jQuery),function(o){var e,a;"undefined"!=typeof acf&&"undefined"!=typeof acfe&&(new acf.Model({wait:"prepare",priority:1,initialize:function(){acfe.get("is_admin")||new e}}),e=acf.Model.extend({actions:{"new_field/type=date_picker":"datePicker","new_field/type=date_time_picker":"datePicker","new_field/type=time_picker":"datePicker","new_field/type=google_map":"googleMap",invalid_field:"invalidField",validation_begin:"validationBegin"},events:{"click .acf-form .button":"onClickSubmit",'click .acf-form [type="submit"]':"onClickSubmit","click .acfe-form .button":"onClickSubmit",'click .acfe-form [type="submit"]':"onClickSubmit"},$getForm:function(e){e=e||!1;var t=o(".acfe-form");return!!(t=e?e.$el.closest(".acfe-form"):t).length&&t},getFormFieldClass:function(e){e=this.$getForm(e);return e&&e.data("fields-class")||!1},initialize:function(){this.setupUnload(),this.setupSuccess()},setupUnload:function(){o('.acfe-form[data-hide-unload="1"]').length&&acf.unload.disable()},setupSuccess:function(){acfe.get("acfe_form_success")&&(window.history.replaceState&&window.history.replaceState(null,null,window.location.href),acfe.get("acfe_form_success").map(function(e){acf.doAction("acfe/form/success"),acf.doAction("acfe/form/success/id="+e.id),acf.doAction("acfe/form/success/name="+e.name),acf.doAction("acfe/form/submit/success"),acf.doAction("acfe/form/submit/success/id="+e.id),acf.doAction("acfe/form/submit/success/name="+e.name)}))},onClickSubmit:function(e,t){t.hasClass("disabled")&&e.preventDefault()},datePicker:function(e){var t=this.getFormFieldClass(e);t&&e.$inputText().addClass(t)},googleMap:function(e){var t=this.getFormFieldClass(e);t&&e.$search().addClass(t)},invalidField:function(e){var t,a,i,n=this.$getForm(e);n&&((t=n.data("errors-class"))&&e.$el.find(".acf-notice.-error").addClass(t),"hide"===(i=n.data("errors-position"))?e.$el.find(".acf-notice.-error").remove():"below"===i?(e.$control().length?e.$el.find(".acf-notice.-error").insertAfter(e.$control()):e.$input().length&&e.$el.find(".acf-notice.-error").insertAfter(e.$input()),a=!1,e.$control().length?a=e.$control():e.$input().length&&(a=e.$input()),a&&e.$el.find(".acf-notice.-error").insertAfter(a)):"group"===i&&(t=e.$el.find(".acf-label label").text().trim(),a=e.$el.find('.acf-input-wrap [placeholder!=""]').attr("placeholder"),i=e.$el.find(".acf-notice.-error").text().trim(),e.$el.find(".acf-notice.-error").remove(),i=t&&t.length&&"*"!==t?(t=t.replace(/ \*$/,""))+": "+i:a&&a.length&&""!==a?a+": "+i:e.get("name")+": "+i,(e=!(e=n.find("> .acfe-form-error")).length?o('<div class="acf-notice -error acf-error-message acfe-form-error" />').prependTo(n):e).append("<p>"+i+"</p>")))},validationBegin:function(e){void 0!==e&&e.find(".acf-error-message").remove()}}),a=function(e){var t=o(".acf-field input"),e=e.closest("form");(t=e.length?e.find(".acf-field input"):t).each(function(){this.checkValidity()||function(e){e=e.parents(".acf-postbox");!e.length||(e=acf.getPostbox(e))&&(e.$el.hasClass("hide-if-js")||"none"==e.$el.css("display"))&&(e.$el.removeClass("hide-if-js"),e.$el.css("display",""))}(o(this))})},acf.validation.onClickSubmit=function(e,t){a(t),this.set("originalEvent",e)},acf.newCondition=function(e,t){var a=t.get("field"),i=a.getField(e.field);if(a&&!i&&(i=acf.getField(e.field)),!a||!i)return!1;t={rule:e,target:a,conditions:t,field:i},i=i.get("type"),e=e.operator;return new(acf.getConditionTypes({fieldType:i,operator:e})[0]||acf.Condition)(t)})}(jQuery);
|
1 |
+
jQuery,"undefined"!=typeof acf&&"undefined"!=typeof acfe&&(acf.registerConditionForFieldType("contains","checkbox"),acf.registerConditionForFieldType("contains","radio"),acf.registerConditionForFieldType("equalTo","acfe_code_editor"),acf.registerConditionForFieldType("notEqualTo","acfe_code_editor"),acf.registerConditionForFieldType("patternMatch","acfe_code_editor"),acf.registerConditionForFieldType("contains","acfe_code_editor"),acf.registerConditionForFieldType("hasValue","acfe_code_editor"),acf.registerConditionForFieldType("hasNoValue","acfe_code_editor"),acf.registerConditionForFieldType("equalTo","date_picker"),acf.registerConditionForFieldType("notEqualTo","date_picker"),acf.registerConditionForFieldType("patternMatch","date_picker"),acf.registerConditionForFieldType("contains","date_picker"),acf.registerConditionForFieldType("greaterThan","date_picker"),acf.registerConditionForFieldType("lessThan","date_picker"),acf.registerConditionForFieldType("equalTo","date_time_picker"),acf.registerConditionForFieldType("notEqualTo","date_time_picker"),acf.registerConditionForFieldType("patternMatch","date_time_picker"),acf.registerConditionForFieldType("contains","date_time_picker"),acf.registerConditionForFieldType("equalTo","acfe_forms"),acf.registerConditionForFieldType("notEqualTo","acfe_forms"),acf.registerConditionForFieldType("patternMatch","acfe_forms"),acf.registerConditionForFieldType("contains","acfe_forms"),acf.registerConditionForFieldType("hasValue","acfe_forms"),acf.registerConditionForFieldType("hasNoValue","acfe_forms"),acf.registerConditionForFieldType("equalTo","acfe_hidden"),acf.registerConditionForFieldType("notEqualTo","acfe_hidden"),acf.registerConditionForFieldType("patternMatch","acfe_hidden"),acf.registerConditionForFieldType("contains","acfe_hidden"),acf.registerConditionForFieldType("hasValue","acfe_hidden"),acf.registerConditionForFieldType("hasNoValue","acfe_hidden"),acf.registerConditionForFieldType("equalTo","acfe_post_statuses"),acf.registerConditionForFieldType("notEqualTo","acfe_post_statuses"),acf.registerConditionForFieldType("patternMatch","acfe_post_statuses"),acf.registerConditionForFieldType("contains","acfe_post_statuses"),acf.registerConditionForFieldType("hasValue","acfe_post_statuses"),acf.registerConditionForFieldType("hasNoValue","acfe_post_statuses"),acf.registerConditionForFieldType("equalTo","acfe_post_types"),acf.registerConditionForFieldType("notEqualTo","acfe_post_types"),acf.registerConditionForFieldType("patternMatch","acfe_post_types"),acf.registerConditionForFieldType("contains","acfe_post_types"),acf.registerConditionForFieldType("hasValue","acfe_post_types"),acf.registerConditionForFieldType("hasNoValue","acfe_post_types"),acf.registerConditionForFieldType("equalTo","acfe_slug"),acf.registerConditionForFieldType("notEqualTo","acfe_slug"),acf.registerConditionForFieldType("patternMatch","acfe_slug"),acf.registerConditionForFieldType("contains","acfe_slug"),acf.registerConditionForFieldType("hasValue","acfe_slug"),acf.registerConditionForFieldType("hasNoValue","acfe_slug"),acf.registerConditionForFieldType("equalTo","acfe_taxonomies"),acf.registerConditionForFieldType("notEqualTo","acfe_taxonomies"),acf.registerConditionForFieldType("patternMatch","acfe_taxonomies"),acf.registerConditionForFieldType("contains","acfe_taxonomies"),acf.registerConditionForFieldType("hasValue","acfe_taxonomies"),acf.registerConditionForFieldType("hasNoValue","acfe_taxonomies"),acf.registerConditionForFieldType("equalTo","taxonomy"),acf.registerConditionForFieldType("notEqualTo","taxonomy"),acf.registerConditionForFieldType("patternMatch","taxonomy"),acf.registerConditionForFieldType("contains","taxonomy"),acf.registerConditionForFieldType("hasValue","taxonomy"),acf.registerConditionForFieldType("hasNoValue","taxonomy"),acf.registerConditionForFieldType("equalTo","acfe_taxonomy_terms"),acf.registerConditionForFieldType("notEqualTo","acfe_taxonomy_terms"),acf.registerConditionForFieldType("patternMatch","acfe_taxonomy_terms"),acf.registerConditionForFieldType("contains","acfe_taxonomy_terms"),acf.registerConditionForFieldType("hasValue","acfe_taxonomy_terms"),acf.registerConditionForFieldType("hasNoValue","acfe_taxonomy_terms"),acf.registerConditionForFieldType("equalTo","time_picker"),acf.registerConditionForFieldType("notEqualTo","time_picker"),acf.registerConditionForFieldType("patternMatch","time_picker"),acf.registerConditionForFieldType("contains","time_picker"),acf.registerConditionForFieldType("equalTo","acfe_user_roles"),acf.registerConditionForFieldType("notEqualTo","acfe_user_roles"),acf.registerConditionForFieldType("patternMatch","acfe_user_roles"),acf.registerConditionForFieldType("contains","acfe_user_roles"),acf.registerConditionForFieldType("hasValue","acfe_user_roles"),acf.registerConditionForFieldType("hasNoValue","acfe_user_roles")),function(c){var i;"undefined"!=typeof acf&&"undefined"!=typeof acfe&&(i=[],acfe.registerEventForFieldType=function(e,t,a){i.push({fieldType:e,events:t="string"==typeof t?[t]:t,callback:a||!1})},acfe.getEvents=function(t){t=acf.parseArgs(t,{fieldType:""});var a=[];return i.map(function(e){t.fieldType&&-1===e.fieldType.indexOf(t.fieldType)||a.push(e)}),a},new acf.Model({actions:{new_field:"newField"},priority:20,data:{},parseEvent:function(e){return e.match(/^(\S+)\s*(.*)$/)},newField:function(o){this.set(o.cid,o.val()),acfe.getEvents({fieldType:o.get("type")}).map(function(n){n.events.map(function(e){e=this.parseEvent(e);o.on(e[1],e[2],this.proxy(function(e){var t=o.val(),a=this.get(o.cid),i=c(e.currentTarget);(n.callback||this.proxy(function(e,t,a,i,n){var o=e,c=t;"object"==typeof o&&(o=JSON.stringify(o)),(c="object"==typeof c?JSON.stringify(c):c)!==o&&(this.set(a.cid,e),acf.doAction("acfe/change_field",e,t,a,i,n),acf.doAction("acfe/change_field/type="+a.get("type"),e,t,a,i,n),acf.doAction("acfe/change_field/name="+a.get("name"),e,t,a,i,n),acf.doAction("acfe/change_field/key="+a.get("key"),e,t,a,i,n))}))(t,a,o,e,i)}))},this)},this)}}),acfe.registerEventForFieldType("button_group","change"),acfe.registerEventForFieldType("checkbox","change"),acfe.registerEventForFieldType("color_picker","change"),acfe.registerEventForFieldType("date_picker","change"),acfe.registerEventForFieldType("date_time_picker","change"),acfe.registerEventForFieldType("email",["input","change"]),acfe.registerEventForFieldType("file","change"),acfe.registerEventForFieldType("flexible_content","change"),acfe.registerEventForFieldType("gallery","change"),acfe.registerEventForFieldType("google_map","change"),acfe.registerEventForFieldType("image","change"),acfe.registerEventForFieldType("link","change"),acfe.registerEventForFieldType("number",["input","change"]),acfe.registerEventForFieldType("oembed","change"),acfe.registerEventForFieldType("page_link","change"),acfe.registerEventForFieldType("post_object","change"),acfe.registerEventForFieldType("relationship","change"),acfe.registerEventForFieldType("password",["input","change"]),acfe.registerEventForFieldType("radio","change"),acfe.registerEventForFieldType("range",["input","change"]),acfe.registerEventForFieldType("repeater","change"),acfe.registerEventForFieldType("select","change"),acfe.registerEventForFieldType("taxonomy","change"),acfe.registerEventForFieldType("text",["input","change"]),acfe.registerEventForFieldType("textarea",["input","change"]),acfe.registerEventForFieldType("time_picker","change"),acfe.registerEventForFieldType("true_false","change"),acfe.registerEventForFieldType("url",["input","change"]),acfe.registerEventForFieldType("user","change"),acfe.registerEventForFieldType("wysiwyg","change"),acfe.registerEventForFieldType("acfe_advanced_link","change"),acfe.registerEventForFieldType("acfe_block_types","change"),acfe.registerEventForFieldType("acfe_countries","change"),acfe.registerEventForFieldType("acfe_currencies","change"),acfe.registerEventForFieldType("acfe_code_editor","change"),acfe.registerEventForFieldType("acfe_date_range_picker","change"),acfe.registerEventForFieldType("acfe_field_groups","change"),acfe.registerEventForFieldType("acfe_field_types","change"),acfe.registerEventForFieldType("acfe_fields","change"),acfe.registerEventForFieldType("acfe_forms","change"),acfe.registerEventForFieldType("acfe_hidden","change"),acfe.registerEventForFieldType("acfe_image_selector","change"),acfe.registerEventForFieldType("acfe_image_sizes","change"),acfe.registerEventForFieldType("acfe_languages","change"),acfe.registerEventForFieldType("acfe_menu_locations","change"),acfe.registerEventForFieldType("acfe_options_pages","change"),acfe.registerEventForFieldType("acfe_payment","change"),acfe.registerEventForFieldType("acfe_payment_cart","change"),acfe.registerEventForFieldType("acfe_payment_selector","change"),acfe.registerEventForFieldType("acfe_phone_number","change"),acfe.registerEventForFieldType("acfe_post_formats","change"),acfe.registerEventForFieldType("acfe_post_statuses","change"),acfe.registerEventForFieldType("acfe_post_types","change"),acfe.registerEventForFieldType("acfe_recaptcha","change"),acfe.registerEventForFieldType("acfe_taxonomies","change"),acfe.registerEventForFieldType("acfe_taxonomy_terms","change"),acfe.registerEventForFieldType("acfe_templates","change"),acfe.registerEventForFieldType("acfe_user_roles","change"),acfe.registerEventForFieldType("acfe_slug",["input","change"]))}(jQuery),function(t){var a;"undefined"!=typeof acf&&"undefined"!=typeof acfe&&(a=[],acfe.registerFieldExtend=function(e){a.push(e)},acfe.getFieldsExtend=function(){return a},new acf.Model({wait:"prepare",priority:1,initialize:function(){a.map(function(t){var a=t.prototype;acf.addAction("new_field/type="+a.type,function(e){a.conditions.apply(e)&&new t(e)},9)})}}),acfe.FieldExtend=acf.Model.extend({type:"",field:!1,conditions:function(){return!0},eventScope:".acf-field",replace:[],setup:function(e){t.extend(this.data,e.data),this.$el=e.$el,this.field=e,this.replace.map(function(e){if("function"==typeof this[e])if("initialize"===e)this.field[e]=function(){};else for(var t in this.field[e]=this.proxy(this[e]),this.field.events){var a,i=this.field.events[t];i===e&&((a={})[t]=i,this.field.removeEvents(a),this.addEvents(a))}},this)},getParentPrototype:function(){return acf.getFieldType(this.get("type")).prototype},apply:function(){var e=acf.arrayArgs(arguments),t=e.shift(),e=e.shift();return this.getParentPrototype()[t].apply(this.field,e)}}))}(jQuery),jQuery,"undefined"!=typeof acf&&"undefined"!=typeof acfe&&new acf.Model({actions:{new_field:"newField"},priority:1,newField:function(e){e.has("ftype")&&"taxonomy"!==e.get("type")&&(e.set("rtype",e.get("type"),!0),e.set("type",e.get("ftype"),!0),e.$el.attr("data-type",e.get("ftype")),e.$el.removeAttr("data-ftype"),delete e.data.ftype)}}),function(i){"undefined"!=typeof acf&&"undefined"!=typeof acfe&&new acf.Model({field:!1,placement:!1,actions:{new_field:"newField"},newField:function(e){(this.field=e).has("instructionTooltip")&&this.setTooltip(),e.has("instructionAboveField")&&this.setAboveField(),e.has("instructionPlacement")&&this.overridePlacement(e.get("instructionPlacement"))},setTooltip:function(){var e=acfe.versionCompare(acf.get("wp_version"),">=","5.5")?"dashicons-info-outline":"dashicons-info";this.field.$labelWrap().prepend('<span class="acfe-field-tooltip acf-js-tooltip dashicons '+e+'" title="'+_.escape(this.field.get("instructionTooltip"))+'"></span>'),this.field.$labelWrap().find(".description").remove()},setAboveField:function(){this.field.$inputWrap().prepend('<p class="description">'+this.field.get("instructionAboveField")+"</p>"),this.field.$labelWrap().find(".description").remove()},overridePlacement:function(e){var t=this.getPlacement();t&&t!==e&&this.setPlacement(e)},getPlacement:function(){var e=!1;return this.field.$labelWrap().find(">.description").length?e="label":this.field.$inputWrap().find(">.description:first-child").length?e="above_field":this.field.$inputWrap().find(">.description:last-child").length?e="field":this.field.$labelWrap().find(">.acfe-field-tooltip").length&&(e="tooltip"),this.placement=e,this.placement},$getInstruction:function(){var e=this.getPlacement();return"label"===e?this.field.$labelWrap().find(">.description"):"above_field"===e?this.field.$inputWrap().find(">.description:first-child"):"field"===e?this.field.$inputWrap().find(">.description:last-child"):"tooltip"===e&&this.field.$labelWrap().find(">.acfe-field-tooltip")},setPlacement:function(e){var t,a=this.$getInstruction();"tooltip"===this.placement&&(t=a.attr("title"),a.remove(),a=i('<p class="description">'+t+"</p>")),"label"===e?this.field.$labelWrap().append(a):"above_field"===e?this.field.$inputWrap().prepend(a):"field"===e?this.field.$inputWrap().append(a):"tooltip"===e&&(e=acfe.versionCompare(acf.get("wp_version"),">=","5.5")?"dashicons-info-outline":"dashicons-info",this.field.$labelWrap().prepend(i('<span class="acfe-field-tooltip acf-js-tooltip dashicons '+e+'" title="'+_.escape(a.html())+'"></span>')),a.remove())}})}(jQuery),function(){var e;"undefined"!=typeof acf&&"undefined"!=typeof acfe&&(e=acf.Field.extend({type:"acfe_advanced_link",events:{'click a[data-name="add"]':"onClickEdit",'click a[data-name="edit"]':"onClickEdit",'click a[data-name="remove"]':"onClickRemove"},$control:function(){return this.$(".acf-link")},initialize:function(){},getValue:function(){var e={type:this.$(".input-type :checked").val(),title:this.$(".input-title").val(),url:this.$(".input-url").val(),post:this.$(".input-post :selected").text(),term:this.$(".input-term :selected").text(),target:this.$(".input-target").is(":checked")};return"post"===e.type?e.url=e.post:"term"===e.type&&(e.url=e.term),e},setValue:function(e){e=acf.parseArgs(e,{remove:!1,title:"",url:"",target:!1});var t=this.$control();t.removeClass("-value -external"),(e.url||e.title)&&t.addClass("-value"),e.target&&t.addClass("-external"),this.$(".link-title").html(e.title),this.$(".link-url").attr("href",e.url).html(e.url),e.remove&&(this.$(".input-type :checked").prop("checked",!1),this.$('.input-type [value="url"]').prop("checked",!0).trigger("change"),this.$(".input-title").val(""),this.$(".input-target").prop("checked",!1),this.$(".input-url").val("").trigger("change"),this.$(".input-post").val("").trigger("change"),this.$(".input-term").val("").trigger("change"))},onClickEdit:function(e,t){var a=t.closest(".acf-input").find(".acfe-modal"),t=a.attr("data-modal-title"),i=this;new acfe.Popup(a,{title:t,size:"medium",footer:acf.__("Close"),onClose:function(){i.onChange()}})},onClickRemove:function(e,t){this.setValue({remove:!0})},onChange:function(e,t){var a=this.getValue();this.setValue(a)}}),acf.registerFieldType(e),new acf.Model({actions:{invalid_field:"invalidField"},filters:{"select2_ajax_data/type=post_object":"ajaxField"},invalidField:function(e){var t=e.$el.closest(".acf-field-acfe-advanced-link").not(".acf-error");t.length&&acf.getInstance(t).showError(e.notice.get("text"))},ajaxField:function(e,t,a,i,n){if("post"!==i.get("key"))return e;a=acf.getInstance(a.closest(".acf-field-acfe-advanced-link"));return a&&(e.field_key=a.get("key")),e}}))}(jQuery),function(i){var e;"undefined"!=typeof acf&&"undefined"!=typeof acfe&&(e=acf.Field.extend({type:"acfe_button",events:{"click input":"onClick","click button":"onClick"},$input:function(){return this.$("input").length?this.$("input"):this.$("button").length?this.$("button"):void 0},initialize:function(){var e=this.$input();this.inherit(e)},onClick:function(e,t){var a;this.get("ajax")&&(e.preventDefault(),a={action:"acfe/fields/button",field_key:this.get("key"),acf:acf.serialize(this.$el.closest("form"),"acf")},a=acf.applyFilters("acfe/fields/button/data",a,this.$el),a=acf.applyFilters("acfe/fields/button/data/name="+this.get("name"),a,this.$el),a=acf.applyFilters("acfe/fields/button/data/key="+this.get("key"),a,this.$el),acf.doAction("acfe/fields/button/before_ajax",this.$el,a),acf.doAction("acfe/fields/button/before",this.$el,a),acf.doAction("acfe/fields/button/before/name="+this.get("name"),this.$el,a),acf.doAction("acfe/fields/button/before/key="+this.get("key"),this.$el,a),i.ajax({url:acf.get("ajaxurl"),data:acf.prepareForAjax(a),type:"post",dataType:"json",context:this,success:function(e){acf.doAction("acfe/fields/button/ajax_success",e,this.$el,a),acf.doAction("acfe/fields/button/success",e,this.$el,a),acf.doAction("acfe/fields/button/success/name="+this.get("name"),e,this.$el,a),acf.doAction("acfe/fields/button/success/key="+this.get("key"),e,this.$el,a)},complete:function(e){e=e.responseText;acf.doAction("acfe/fields/button/complete",e,this.$el,a),acf.doAction("acfe/fields/button/complete/name="+this.get("name"),e,this.$el,a),acf.doAction("acfe/fields/button/complete/key="+this.get("key"),e,this.$el,a)}}))}}),acf.registerFieldType(e))}(jQuery),jQuery,"undefined"!=typeof acf&&"undefined"!=typeof acfe&&new acf.Model({actions:{new_field:"newField"},validateField:function(e){return!!e.has("acfeLabels")&&"checkbox"===e.get("rtype",e.get("type"))},newField:function(e){if(this.validateField(e)){var t,a,i=e.get("acfeLabels");for(t in i)a=i[t],e.$control().find('input[type=checkbox][value="'+a+'"]').closest("ul").before("<strong>"+t+"</strong>")}}}),function(){var e;"undefined"!=typeof acf&&"undefined"!=typeof acfe&&(e=acf.Field.extend({wait:!1,type:"clone",events:{'click [data-name="edit"]':"onClick",duplicateField:"onDuplicate"},initialize:function(){var e;this.has("acfeCloneModal")&&(e=this.get("acfeCloneModalButton"),this.$el.find("> .acf-input > .acf-fields, > .acf-input > .acf-table").wrapAll('<div class="acfe-modal"><div class="acfe-modal-wrapper"><div class="acfe-modal-content"></div></div></div>'),this.$el.find("> .acf-input").append('<a data-name="edit" class="acf-button button" href="#">'+e+"</a>"))},onClick:function(e,t){var a=this.$labelWrap().find("label").text().trim();this.$el.is("td")&&(a=this.get("acfeGroupModalButton"),(o=this.$el.closest("table").find(' > thead th[data-key="'+this.get("key")+'"]')).length&&(a=acfe.getTextNode(o)));var i=this.$el.find("> .acf-input > .acfe-modal").addClass("acfe-modal-edit-"+this.get("name")+" acfe-modal-edit-"+this.get("key"));a.length||(a=this.get("acfeCloneModalButton"));var n=!1;this.has("acfeCloneModalClose")&&(n=acf.__("Close"));var o="large";this.has("acfeCloneModalSize")&&(o=this.get("acfeCloneModalSize")),new acfe.Popup(i,{title:a,size:o,footer:n})},onDuplicate:function(e,t,a){a.find('a[data-name="edit"]').remove()}}),acf.registerFieldType(e))}(jQuery),function(t){var e;"undefined"!=typeof acf&&"undefined"!=typeof acfe&&(e=acf.Field.extend({wait:!1,type:"acfe_code_editor",editor:{},events:{showField:"onShow",duplicateField:"onDuplicate"},$control:function(){return this.$("> .acf-input > .acf-input-wrap")},$input:function(){return this.$control().find("> textarea")},initialize:function(){var e;acf.isset(wp,"codeEditor")&&(e={lineNumbers:this.get("lines"),lineWrapping:!0,styleActiveLine:!1,continueComments:!0,indentUnit:this.get("indentUnit"),tabSize:1,indentWithTabs:!1,autoRefresh:!0,mode:this.get("mode"),extraKeys:{Tab:function(e){e.execCommand("indentMore")},"Shift-Tab":function(e){e.execCommand("indentLess")}}},e=acf.applyFilters("acfe/fields/code_editor/args",e,this),e=acf.applyFilters("acfe/fields/code_editor/args/name="+this.get("name"),e,this),e=acf.applyFilters("acfe/fields/code_editor/args/key="+this.get("key"),e,this),this.editor=wp.codeEditor.initialize(this.$input().get(0),{codemirror:t.extend(wp.codeEditor.defaultSettings.codemirror,e)}),this.get("rows")&&(this.editor.codemirror.getScrollerElement().style.minHeight=18.5*this.get("rows")+"px"),this.get("maxRows")&&(this.editor.codemirror.getScrollerElement().style.maxHeight=18.5*this.get("maxRows")+"px"),this.editor.codemirror.on("change",this.proxy(this.onEditorChange)),acf.doAction("acfe/fields/code_editor/init",this.editor,this),acf.doAction("acfe/fields/code_editor/init/name="+this.get("name"),this.editor,this),acf.doAction("acfe/fields/code_editor/init/key="+this.get("key"),this.editor,this))},onEditorChange:function(e,t){this.editor.codemirror.save(),this.$input().change()},onShow:function(){this.editor.codemirror&&this.editor.codemirror.refresh()},onDuplicate:function(e,t,a){a.find(".CodeMirror:last").remove()}}),acf.registerFieldType(e))}(jQuery),function(){var e;"undefined"!=typeof acf&&"undefined"!=typeof acfe&&(e=acf.Field.extend({wait:"new_field",type:"acfe_column",$control:function(){return this.$(".acf-fields:first")},initialize:function(){if(this.$el.is("td")&&(this.$el.closest(".acf-table").find('th[data-type="acfe_column"]').remove(),this.remove()),this.get("endpoint"))return this.$el.find("> .acf-label").remove(),void this.$el.find("> .acf-input").remove();var e=this.$el,t=this.$el.find("> .acf-label"),a=(this.$inputWrap(),this.$control());t.remove();t=e.parent();t.addClass("acfe-column-wrapper"),a.addClass(t.hasClass("-left")?"-left":""),a.addClass(t.hasClass("-clear")?"-clear":""),a.append(e.nextUntil(".acf-field-acfe-column",".acf-field"))}}),acf.registerFieldType(e))}(jQuery),function(f){var e;"undefined"!=typeof acf&&"undefined"!=typeof acfe&&(e=acf.models.FlexibleContentField,acf.models.FlexibleContentField=e.extend({addSortable:function(a){1!=this.get("max")&&this.$layoutsWrap().sortable({items:" > .layout",handle:"> .acf-fc-layout-handle",forceHelperSize:!1,forcePlaceholderSize:!0,revert:50,tolerance:"pointer",scroll:!0,stop:function(e,t){a.render()},update:function(e,t){a.$input().trigger("change")}})},acfeOneClick:function(e,t){var a=this.$clones(),i=f(a[0]).data("layout"),a=null;t.hasClass("acf-icon")&&(a=t.closest(".layout")),this.add({layout:i,before:a});a=f(".acf-fc-popup");a.length&&a.hide()},acfeLayoutInit:function(t){var e,a,i=this.get("key"),n=this.get("name"),o=this.$el,c=t.data("layout"),l=t.index(),r=t.find("> .acfe-fc-placeholder");r.removeClass("acf-hidden"),this.has("acfeFlexibleModalEdition")||this.isLayoutClosed(t)||r.addClass("acf-hidden"),this.isLayoutClosed(t)&&this.has("acfeFlexiblePreview")&&!r.hasClass("-loading")&&(r.addClass("acfe-fc-preview -loading").find("> .acfe-flexible-placeholder").prepend('<span class="spinner"></span>'),r.find("> .acfe-fc-overlay").addClass("-hover"),e=t.children("input").attr("name").replace("[acf_fc_layout]",""),a={action:"acfe/flexible/layout_preview",field_key:i,i:l,layout:c,value:acf.serialize(t,e)},acf.doAction("acfe/fields/flexible_content/before_preview",o,t,a),acf.doAction("acfe/fields/flexible_content/before_preview/name="+n,o,t,a),acf.doAction("acfe/fields/flexible_content/before_preview/key="+i,o,t,a),acf.doAction("acfe/fields/flexible_content/before_preview/name="+n+"&layout="+c,o,t,a),acf.doAction("acfe/fields/flexible_content/before_preview/key="+i+"&layout="+c,o,t,a),f.ajax({url:acf.get("ajaxurl"),data:acf.prepareForAjax(a),dataType:"html",type:"post",success:function(e){e?r.find("> .acfe-flexible-placeholder").html(e):r.removeClass("acfe-fc-preview"),acf.doAction("acfe/fields/flexible_content/preview",e,o,t,a),acf.doAction("acfe/fields/flexible_content/preview/name="+n,e,o,t,a),acf.doAction("acfe/fields/flexible_content/preview/key="+i,e,o,t,a),acf.doAction("acfe/fields/flexible_content/preview/name="+n+"&layout="+c,e,o,t,a),acf.doAction("acfe/fields/flexible_content/preview/key="+i+"&layout="+c,e,o,t,a)},complete:function(){r.find("> .acfe-fc-overlay").removeClass("-hover"),r.removeClass("-loading").find("> .acfe-flexible-placeholder > .spinner").remove()}}))}}),new acf.Model({actions:{"new_field/type=flexible_content":"newField","acfe/flexible/layouts":"newLayouts",show:"onShow",hide:"onHide",append:"onAppend",invalid_field:"onInvalidField",valid_field:"onValidField"},newField:function(a){var e=a.$clones();a.$layouts().each(function(){var e=f(this),t=e.data("layout");acf.doAction("acfe/flexible/layouts",e,a),acf.doAction("acfe/flexible/layout/name="+t,e,a)}),1===e.length&&(a.removeEvents({'click [data-name="add-layout"]':"onClickAdd"}),a.addEvents({'click [data-name="add-layout"]':"acfeOneClick"})),a.addEvents({"click .acfe-fc-placeholder":"onClickCollapse"}),a.addEvents({"click .acfe-flexible-opened-actions > a":"onClickCollapse"}),a.has("acfeFlexibleAjax")&&(a.add=function(n){var o=this;if(n=acf.parseArgs(n,{layout:"",before:!1}),!this.allowAdd())return!1;f.ajax({url:acf.get("ajaxurl"),data:acf.prepareForAjax({action:"acfe/flexible/models",field_key:this.get("key"),layout:n.layout}),dataType:"html",type:"post",beforeSend:function(){f("body").addClass("-loading")},success:function(e){if(e){var t=f(e),a=acf.uniqid(),i="acf["+o.get("key")+"][acfcloneindex]",e=o.$control().find("> input[type=hidden]").attr("name")+"["+a+"]",e=acf.duplicate({target:t,search:i,replace:e,append:o.proxy(function(e,t){n.before?n.before.before(t):o.$layoutsWrap().append(t),acf.enable(t,o.cid),o.render()})});return e.attr("data-id",a),o.$input().trigger("change"),e}},complete:function(){f("body").removeClass("-loading")}})})},newLayouts:function(e,t){t.isLayoutClosed(e)&&(e.find("> .acfe-fc-placeholder").removeClass("acf-hidden"),t.has("acfeFlexibleOpen")&&(acfe.enableFilter("acfeFlexibleOpen"),t.openLayout(e),acfe.disableFilter("acfeFlexibleOpen")))},onShow:function(e,t){"collapse"===t&&e.is(".layout")&&(acf.getInstance(e.closest(".acf-field-flexible-content")).has("acfeFlexibleModalEdition")||e.find("> .acfe-fc-placeholder").addClass("acf-hidden"))},onHide:function(e,t){"collapse"===t&&e.is(".layout")&&!e.is(".acf-clone")&&((t=acf.getInstance(e.closest(".acf-field-flexible-content"))).has("acfeFlexibleRemoveAjaxTitle")&&(t.renderLayout=function(e){}),t.acfeLayoutInit(e))},onAppend:function(e){var t;e.is(".layout")&&(t=acf.getInstance(e.closest(".acf-field-flexible-content")),e.is(".acfe-layout-duplicated")||(t.has("acfeFlexibleModalEdition")?e.find('> [data-action="acfe-flexible-modal-edit"]:first').trigger("click"):t.openLayout(e)),t.acfeLayoutInit(e),(t=t.$el.closest(".acfe-modal.-open")).length?t.find("> .acfe-modal-wrapper > .acfe-modal-content").animate({scrollTop:parseInt(e.offset().top)-200},200):!acfe.versionCompare(acf.get("acf_version"),"<","5.9")&&e.hasClass("-focused")||f("html, body").animate({scrollTop:parseInt(e.offset().top)-200},200))},onInvalidField:function(e){e.$el.parents(".layout").addClass("acfe-flexible-modal-edit-error")},onValidField:function(e){e.$el.parents(".layout").each(function(){var e=f(this);e.find(".acf-error").length||e.removeClass("acfe-flexible-modal-edit-error")})}}))}(jQuery),function(r){var n;"undefined"!=typeof acf&&"undefined"!=typeof acfe&&((n=acf.getFieldType("flexible_content").prototype).events["click .acf-fc-layout-handle"]="acfeEditLayoutTitleToggleHandle",n.acfeEditLayoutTitleToggleHandle=function(e,t){!this.has("acfeFlexibleTitleEdition")||(t=t.closest(".layout")).hasClass("acfe-flexible-title-edition")&&t.find("> .acf-fc-layout-handle > .acfe-layout-title > input.acfe-flexible-control-title").trigger("blur")},n.events["click .acfe-layout-title-text"]="acfeEditLayoutTitle",n.acfeEditLayoutTitle=function(e,t){this.has("acfeFlexibleTitleEdition")&&(e.stopPropagation(),this.acfeEditLayoutTitleToggle(e,t))},n.events["blur input.acfe-flexible-control-title"]="acfeEditLayoutTitleToggle",n.acfeEditLayoutTitleToggle=function(e,t){var a,i=t.closest(".layout"),n=i.find("> .acf-fc-layout-handle"),t=n.find(".acfe-layout-title");i.hasClass("acfe-flexible-title-edition")?(""===(a=t.find("> input[data-acfe-flexible-control-title-input]")).val()&&a.val(a.attr("placeholder")).trigger("input"),i.removeClass("acfe-flexible-title-edition"),a.insertAfter(n)):(a=(a=i.find("> input[data-acfe-flexible-control-title-input]")).appendTo(t),i.addClass("acfe-flexible-title-edition"),a.focus().attr("size",a.val().length))},n.events["click input.acfe-flexible-control-title"]="acfeEditLayoutTitlePropagation",n.acfeEditLayoutTitlePropagation=function(e,t){e.stopPropagation()},n.events["input [data-acfe-flexible-control-title-input]"]="acfeEditLayoutTitleInput",n.acfeEditLayoutTitleInput=function(e,t){var a=t.closest(".layout").find("> .acf-fc-layout-handle .acfe-layout-title .acfe-layout-title-text"),i=t.val();t.attr("size",i.length),a.html(i)},n.events["keypress [data-acfe-flexible-control-title-input]"]="acfeEditLayoutTitleInputEnter",n.acfeEditLayoutTitleInputEnter=function(e,t){13===e.keyCode&&(e.preventDefault(),t.blur())},n.events["click [data-acfe-flexible-settings]"]="acfeLayoutSettings",n.acfeLayoutSettings=function(e,t){var a=this,i=t.closest(".layout"),n=i.find("> .acfe-modal.-settings"),o=i.find("> .acf-fc-layout-handle"),t=o.find("> .acf-fc-layout-order").outerHTML(),o=o.find(".acfe-layout-title-text").text();new acfe.Popup(n,{title:t+" "+o,footer:acf.__("Close"),onClose:function(){a.has("acfeFlexiblePreview")&&a.closeLayout(i)}})},n.events["click [data-acfe-flexible-control-toggle]"]="acfeLayoutToggle",n.acfeLayoutToggle=function(e,t){var a=t.closest(".layout"),t=a.find("> .acfe-flexible-layout-toggle");t.length&&("1"===t.val()?(a.removeClass("acfe-flexible-layout-hidden"),t.val("")):(a.addClass("acfe-flexible-layout-hidden"),t.val("1")))},acf.addAction("acfe/flexible/layouts",function(e,t){!t.has("acfeFlexibleToggle")||(t=e.find("> .acfe-flexible-layout-toggle")).length&&("1"===t.val()?e.addClass("acfe-flexible-layout-hidden"):e.removeClass("acfe-flexible-layout-hidden"))}),n.events["click [data-acfe-flexible-control-clone]"]="acfeCloneLayout",n.acfeCloneLayout=function(e,t){var a,i=this,n=t.closest(".layout"),o=n.data("layout"),c=r(i.$popup().html()),l=i.$layouts(),c=c.find('[data-layout="'+o+'"]'),c=(c.data("min"),c.data("max")||0),o=(a=o,l.filter(function(){return r(this).data("layout")===a}).length);if(c&&c<=o)return t.addClass("disabled"),!1;t.removeClass("disabled"),i.acfeFixInputs(n);o=n.clone();i.acfeCleanLayouts(o);t=t.closest(".acf-flexible-content").find("> input[type=hidden]").attr("name"),i.acfeDuplicate({layout:o,before:n,parent:t})},n.events["click [data-acfe-flexible-control-copy]"]="acfeCopyLayout",n.acfeCopyLayout=function(e,t){var a=t.closest(".layout").clone(),t=this.$control().find("> input[type=hidden]").attr("name");this.acfeFixInputs(a),this.acfeCleanLayouts(a);t=JSON.stringify({source:t,layouts:a[0].outerHTML}),a=r('<input type="text" style="clip:rect(0,0,0,0);clip-path:none;position:absolute;" value="" />').appendTo(r("body"));a.attr("value",t).select(),document.execCommand("copy")?alert("Layout has been transferred to your clipboard"):prompt("Copy the following layout data to your clipboard",t),a.remove()},n.acfeCopyLayouts=function(){var e=this,t=e.$layoutsWrap().clone(),a=e.$control().find("> input[type=hidden]").attr("name");e.acfeFixInputs(t),e.acfeCleanLayouts(t);t=JSON.stringify({source:a,layouts:t.html()}),e=r('<input type="text" style="clip:rect(0,0,0,0);clip-path:none;position:absolute;" value="" />').appendTo(e.$el);e.attr("value",t).select(),document.execCommand("copy")?alert("Layouts have been transferred to your clipboard"):prompt("Copy the following layouts data to your clipboard",t),e.remove()},n.acfePasteLayouts=function(){var n=this,e=prompt("Paste layouts data in the following field");if(null!=e&&""!==e)try{var t=JSON.parse(e),i=t.source,a=r(t.layouts).closest("[data-layout]");if(!a.length)return alert("No layouts data available");var o=r(n.$popup().html()),c=n.$layouts(),l=[];if(a.each(function(){var e,t=r(this),a=t.data("layout"),i=o.find('[data-layout="'+a+'"]'),i=(i.data("min"),i.data("max")||0),a=(e=a,c.filter(function(){return r(this).data("layout")===e}).length);i&&i<=a||n.$clone(t.attr("data-layout")).length&&l.push(t)}),!l.length)return alert("No layouts could be pasted");r.each(l,function(){var e=r(this),t=i+"["+e.attr("data-id")+"]",a=n.$control().find("> input[type=hidden]").attr("name");n.acfeDuplicate({layout:e,before:!1,search:t,parent:a})})}catch(e){console.log(e),alert("Invalid data")}},n.events['click [data-name="acfe-flexible-control-button"]']="acfeControl",n.acfeControl=function(e,t){var a=this,i=t.next(".tmpl-acfe-flexible-control-popup").html();new(acf.models.TooltipConfirm.extend({render:function(){this.html(this.get("text")),this.$el.addClass("acf-fc-popup")}}))({target:t,targetConfirm:!1,text:i,context:a,confirm:function(e,t){"paste"===t.attr("data-acfe-flexible-control-action")?a.acfePasteLayouts():"copy"===t.attr("data-acfe-flexible-control-action")&&a.acfeCopyLayouts()}}).on("click","a","onConfirm")},n.acfeDuplicate=function(a){if(a=acf.parseArgs(a,{layout:"",before:!1,parent:!1,search:"",replace:""}),!this.allowAdd())return!1;var i=acf.uniqid();a.parent&&(a.search||(a.search=a.parent+"["+a.layout.attr("data-id")+"]"),a.replace=a.parent+"["+i+"]");var e,t={target:a.layout,search:a.search,replace:a.replace,append:this.proxy(function(e,t){t.addClass("acfe-layout-duplicated"),t.attr("data-id",i),a.before?a.before.after(t):this.$layoutsWrap().append(t),acf.enable(t,this.cid),this.render()})};e=acfe.versionCompare(acf.get("acf_version"),"<","5.9")?acf.duplicate(t):n.acfeNewAcfDuplicate(t),this.$input().trigger("change");t=acf.getFields({type:"tab",parent:e});return t.length&&r.each(t,function(){this.$el.hasClass("acf-hidden")&&this.tab.$el.addClass("acf-hidden")}),e},n.acfeNewAcfDuplicate=function(e){e instanceof jQuery&&(e={target:e}),(e=acf.parseArgs(e,{target:!1,search:"",replace:"",rename:!0,before:function(e){},after:function(e,t){},append:function(e,t){e.after(t)}})).target=e.target||e.$el;var t=e.target;e.search=e.search||t.attr("data-id"),e.replace=e.replace||acf.uniqid(),e.before(t),acf.doAction("before_duplicate",t);var a=t.clone();return e.rename&&acf.rename({target:a,search:e.search,replace:e.replace,replacer:"function"==typeof e.rename?e.rename:null}),a.removeClass("acf-clone"),a.find(".ui-sortable").removeClass("ui-sortable"),e.after(t,a),acf.doAction("after_duplicate",t,a),e.append(t,a),acf.doAction("append",a),a},n.acfeFixInputs=function(e){e.find("input").each(function(){r(this).attr("value",this.value)}),e.find("textarea").each(function(){r(this).html(this.value)}),e.find("input:radio,input:checkbox").each(function(){this.checked?r(this).attr("checked","checked"):r(this).attr("checked",!1)}),e.find("option").each(function(){this.selected?r(this).attr("selected","selected"):r(this).attr("selected",!1)})},n.acfeCleanLayouts=function(e){e.find(".acf-editor-wrap").each(function(){var e=r(this);e.find(".wp-editor-container div").remove(),e.find(".wp-editor-container textarea").css("display","")}),e.find(".acf-date-picker").each(function(){r(this).find("input.input").removeClass("hasDatepicker").removeAttr("id")}),e.find(".acf-time-picker").each(function(){r(this).find("input.input").removeClass("hasDatepicker").removeAttr("id")}),e.find(".acf-date-time-picker").each(function(){r(this).find("input.input").removeClass("hasDatepicker").removeAttr("id")}),e.find(".acfe-field-code-editor").each(function(){r(this).find(".CodeMirror").remove()}),e.find(".acf-color-picker").each(function(){var e=r(this),t=e.find("> input"),a=e.find(".wp-picker-container input.wp-color-picker").clone();t.after(a),e.find(".wp-picker-container").remove()}),e.find(".acf-field-post-object").each(function(){var e=r(this);e.find("> .acf-input span").remove(),e.find("> .acf-input select").removeAttr("tabindex aria-hidden").removeClass()}),e.find(".acf-field-page-link").each(function(){var e=r(this);e.find("> .acf-input span").remove(),e.find("> .acf-input select").removeAttr("tabindex aria-hidden").removeClass()}),e.find(".acf-field-select").each(function(){var e=r(this);e.find("> .acf-input span").remove(),e.find("> .acf-input select").removeAttr("tabindex aria-hidden").removeClass()}),e.find(".acf-field-font-awesome").each(function(){var e=r(this);e.find("> .acf-input span").remove(),e.find("> .acf-input select").removeAttr("tabindex aria-hidden")}),e.find(".acf-tab-wrap").each(function(){var e=r(this),t=e.closest(".acf-fields"),a=[];r.each(e.find("li a"),function(){a.push(r(this))}),t.find("> .acf-field-tab").each(function(){$current_tab=r(this),r.each(a,function(){var e=r(this);e.attr("data-key")===$current_tab.attr("data-key")&&$current_tab.find("> .acf-input").append(e)})}),e.remove()}),e.find(".acf-field-accordion").each(function(){var e=r(this);e.find("> .acf-accordion-title > .acf-accordion-icon").remove(),e.after('<div class="acf-field acf-field-accordion" data-type="accordion"><div class="acf-input"><div class="acf-fields" data-endpoint="1"></div></div></div>')})},acf.addAction("new_field/type=flexible_content",function(e){e.has("acfeFlexibleLock")&&e.removeEvents({mouseover:"onHover"})}))}(jQuery),function(){var e;"undefined"!=typeof acf&&"undefined"!=typeof acfe&&((e=acf.getFieldType("flexible_content").prototype).events['click [data-action="acfe-flexible-modal-edit"]']="acfeModalEdit",e.acfeModalEdit=function(e,t){var a=this,i=t.closest(".layout"),n=i.find("> .acfe-modal.-fields"),o=i.find("> .acf-fc-layout-handle"),c=o.find("> .acf-fc-layout-order").outerHTML(),t=acfe.getTextNode(o.find(".acfe-layout-title")),o=!!a.has("acfeFlexibleCloseButton")&&acf.__("Close");new acfe.Popup(n,{title:c+" "+t,class:"acfe-modal-edit-"+a.get("name")+" acfe-modal-edit-"+a.get("key")+" acfe-modal-edit-"+i.data("layout"),footer:o,onOpen:function(){a.openLayout(i)},onClose:function(){a.closeLayout(i)}})},acf.addAction("new_field/type=flexible_content",function(e){e.has("acfeFlexibleModalEdition")&&(e.has("acfeFlexiblePlaceholder")||e.has("acfeFlexiblePreview"))&&(e.removeEvents({'click [data-name="collapse-layout"]':"onClickCollapse"}),e.removeEvents({"click .acfe-fc-placeholder":"onClickCollapse"}))}))}(jQuery),function(o){var e;"undefined"!=typeof acf&&"undefined"!=typeof acfe&&(e=acfe.FieldExtend.extend({type:"flexible_content",conditions:function(){return this.has("acfeFlexibleModal")&&1<this.$clones().length},replace:["onClickAdd"],onClickAdd:function(e,t){var a=this.field;if(!a.validateAdd())return!1;var i=this.getLayoutsCategories(),n=t.hasClass("acf-icon")?t.closest(".layout"):null;new acfe.Popup({title:a.get("acfeFlexibleModalTitle",acf.__("Add Row")),class:"acfe-modal-select-"+a.get("name")+" acfe-modal-select-"+a.get("key"),size:a.get("acfeFlexibleModalSize"),destroy:!0,events:{"click .acfe-flexible-categories a":"onClickCategory","click a[data-layout]":"onClickLayout"},content:function(){return'<div class="acfe-flex-container">'+a.getPopupHTML()+"</div>"},onOpen:function(){i&&this.$content().prepend(i),a.has("acfeFlexibleModalCol")&&this.$(".acfe-modal-content .acfe-flex-container").addClass("acfe-col-"+a.get("acfeFlexibleModalCol")),a.has("acfeFlexibleThumbnails")&&this.$(".acfe-modal-content .acfe-flex-container").addClass("acfe-flex-thumbnails");var e=acfe.versionCompare(acf.get("wp_version"),">=","5.5")?"dashicons-info-outline":"dashicons-info";this.$("li a span.badge").addClass("acf-js-tooltip dashicons "+e),this.$("li:first-of-type a").blur()},onClickCategory:function(e,t){e.preventDefault();var t=t,i=t.data("acfe-flexible-category");t.closest(".acfe-flexible-categories").find("a").removeClass("nav-tab-active"),t.addClass("nav-tab-active"),this.$("a[data-layout] span[data-acfe-flexible-category]").closest("li").show(),"acfe-all"!==i&&this.$("a[data-layout] span[data-acfe-flexible-category]").each(function(){var e,t=o(this),a=t.data("acfe-flexible-category");t.closest("li").hide();for(e of a)if(acfe.slugify(i)===acfe.slugify(e)){t.closest("li").show();break}})},onClickLayout:function(e,t){e.preventDefault(),this.close(),a.add({layout:t.data("layout"),before:n})}})},getLayoutsCategories:function(){var e=o(this.field.getPopupHTML()),t="",i=[];return e.find("li a span[data-acfe-flexible-category]").exists()&&(e.find("li a span[data-acfe-flexible-category]").each(function(){o(this).data("acfe-flexible-category").map(function(e){var t=acfe.slugify(e),a=i.filter(function(e){return e.slug===t});acfe.isEmpty(a)&&i.push({slug:t,label:e})})}),i.length&&(t+='<h2 class="acfe-flexible-categories nav-tab-wrapper">',t+='<a href="#" data-acfe-flexible-category="acfe-all" class="nav-tab nav-tab-active"><span class="dashicons dashicons-menu"></span></a>',i.sort().map(function(e){t+='<a href="#" data-acfe-flexible-category="'+e.label+'" class="nav-tab">'+e.label+"</a>"}),t+="</h2>")),t}}),acfe.registerFieldExtend(e))}(jQuery),function(){var e;"undefined"!=typeof acf&&"undefined"!=typeof acfe&&(e=acf.Field.extend({wait:!1,type:"group",events:{'click [data-name="edit"]':"onClick",duplicateField:"onDuplicate"},initialize:function(){var e;this.has("acfeGroupModal")&&(e=this.get("acfeGroupModalButton"),this.$el.find("> .acf-input > .acf-fields, > .acf-input > .acf-table").wrapAll('<div class="acfe-modal"><div class="acfe-modal-wrapper"><div class="acfe-modal-content"></div></div></div>'),this.$el.find("> .acf-input").append('<a data-name="edit" class="acf-button button" href="#">'+e+"</a>"))},onClick:function(e,t){var a=this.$labelWrap().find("label").text().trim();this.$el.is("td")&&(a=this.get("acfeGroupModalButton"),(o=this.$el.closest("table").find(' > thead th[data-key="'+this.get("key")+'"]')).length&&(a=acfe.getTextNode(o)));var i=this.$el.find("> .acf-input > .acfe-modal").addClass("acfe-modal-edit-"+this.get("name")+" acfe-modal-edit-"+this.get("key"));a.length||(a=this.get("acfeGroupModalButton"));var n=!1;this.has("acfeGroupModalClose")&&(n=acf.__("Close"));var o="large";this.has("acfeGroupModalSize")&&(o=this.get("acfeGroupModalSize")),new acfe.Popup(i,{title:a,size:o,footer:n})},onDuplicate:function(e,t,a){a.find('a[data-name="edit"]').remove()}}),acf.registerFieldType(e))}(jQuery),function(n){"undefined"!=typeof acf&&"undefined"!=typeof acfe&&new acf.Model({actions:{new_field:"newField"},validateField:function(e){return!!e.has("acfeLabels")&&"radio"===(e.has("rtype")?e.get("rtype"):e.get("type"))},newField:function(e){if(this.validateField(e)){var t,a,i=e.get("acfeLabels");for(t in i)a=i[t],e.$control().find('input[type=radio][value="'+a+'"]').closest("li").addClass("parent").prepend("<strong>"+t+"</strong>");e.$control().hasClass("acf-hl")&&e.$control().find("li.parent").each(function(){n(this).nextUntil("li.parent").addBack().wrapAll("<li><ul></ul></li>")})}}})}(jQuery),function(){var e;"undefined"!=typeof acf&&"undefined"!=typeof acfe&&(e=acf.Field.extend({type:"acfe_recaptcha",wait:"load",actions:{validation_failure:"validationFailure"},$control:function(){return this.$(".acfe-field-recaptcha")},$input:function(){return this.$('input[type="hidden"]')},$selector:function(){return this.$control().find("> div")},selector:function(){return this.$selector()[0]},initialize:function(){"v2"===this.get("version")?this.renderV2(this):"v3"===this.get("version")&&this.renderV3()},renderV2:function(t){var e=this.selector(),a=this.$input(),i=this.get("siteKey"),n=this.get("theme"),o=this.get("size");this.recaptcha=grecaptcha.render(e,{sitekey:i,theme:n,size:o,callback:function(e){acf.val(a,e,!0),t.removeError()},"error-callback":function(){acf.val(a,"",!0),t.showError("An error has occured")},"expired-callback":function(){acf.val(a,"",!0),t.showError("reCaptcha has expired")}})},renderV3:function(){var t=this.$input(),e=this.get("siteKey");grecaptcha.ready(function(){grecaptcha.execute(e,{action:"homepage"}).then(function(e){acf.val(t,e,!0)})})},validationFailure:function(e){"v2"===this.get("version")&&grecaptcha.reset(this.recaptcha)}}),acf.registerFieldType(e))}(jQuery),jQuery,"undefined"!=typeof acf&&"undefined"!=typeof acfe&&(acf.getFieldType("repeater").prototype.acfeOnHover=function(){this.off("mouseover")},acf.addAction("new_field/type=repeater",function(e){e.has("acfeRepeaterLock")&&(e.removeEvents({mouseover:"onHover"}),e.addEvents({mouseover:"acfeOnHover"})),e.has("acfeRepeaterRemoveActions")&&(e.$actions().remove(),e.$el.find("thead:first > tr > th.acf-row-handle:last").remove(),e.$rows().find("> .acf-row-handle:last").remove(),e.$control().find("> .acfe-repeater-stylised-button").remove()),e.has("acfeRepeaterStylisedButton")&&(e.$button().removeClass("button-primary"),e.$actions().wrap('<div class="acfe-repeater-stylised-button" />'))})),function(l){"undefined"!=typeof acf&&"undefined"!=typeof acfe&&(new acf.Model({actions:{select2_init:"init"},filters:{select2_args:"args",select2_ajax_data:"ajax"},init:function(e,t,a,i,n){acf.doAction("select2_init/type="+i.get("type"),e,t,a,i,n),acf.doAction("select2_init/name="+i.get("name"),e,t,a,i,n),acf.doAction("select2_init/key="+i.get("key"),e,t,a,i,n)},args:function(e,i,n,o,c){return e=acf.applyFilters("select2_args/type="+o.get("type"),e,i,n,o,c),e=acf.applyFilters("select2_args/name="+o.get("name"),e,i,n,o,c),e=acf.applyFilters("select2_args/key="+o.get("key"),e,i,n,o,c),acf.isset(window,"jQuery","fn","selectWoo")||(e.templateSelection=function(e){var t=e.text,t=acf.applyFilters("select2_template_selection",t,e,i,n,o,c);t=acf.applyFilters("select2_template_selection/type="+o.get("type"),t,e,i,n,o,c),t=acf.applyFilters("select2_template_selection/name="+o.get("name"),t,e,i,n,o,c),t=acf.applyFilters("select2_template_selection/key="+o.get("key"),t,e,i,n,o,c);var a=l('<span class="acf-selection"></span>');return a.html(acf.escHtml(t)),a.data("element",e.element),a},e.templateResult=function(e){var t=e.text,t=acf.applyFilters("select2_template_result",t,e,i,n,o,c);t=acf.applyFilters("select2_template_result/type="+o.get("type"),t,e,i,n,o,c),t=acf.applyFilters("select2_template_result/name="+o.get("name"),t,e,i,n,o,c),t=acf.applyFilters("select2_template_result/key="+o.get("key"),t,e,i,n,o,c);var a=l('<span class="acf-selection"></span>');return a.html(acf.escHtml(t)),a.data("element",e.element),a}),e},ajax:function(e,t,a,i,n){return e=acf.applyFilters("select2_ajax_data/type="+i.get("type"),e,t,a,i,n),e=acf.applyFilters("select2_ajax_data/name="+i.get("name"),e,t,a,i,n),e=(e=acf.applyFilters("select2_ajax_data/key="+i.get("key"),e,t,a,i,n)).action?acf.applyFilters("select2_ajax_data/action="+e.action,e,t,a,i,n):e}}),new acf.Model({wait:"load",priority:20,actions:{"append_field/type=select":"closeOnClear"},initialize:function(){acf.getFields({type:"select"}).map(this.proxy(this.closeOnClear))},closeOnClear:function(e){e.select2&&e.select2.on("select2:clear",function(e){l(this).on("select2:opening.cancelOpen",function(e){e.preventDefault(),l(this).off("select2:opening.cancelOpen")})})}}),new acf.Model({actions:{"new_field/type=select":"newField",select2_init:"init"},filters:{select2_args:"args"},newField:function(e){e.inherit(e.$input()),!e.get("ui")&&e.get("allow_null")&&e.$input().find("option").each(function(e,t){t.value||t.text.startsWith("- ")&&t.text.endsWith(" -")&&(t.text=t.text.substring(2),t.text=t.text.substring(0,t.text.length-2))}),(e.has("acfePrepend")||e.has("acfeAppend"))&&(e.$input().parent(".acf-input-wrap").length||(e.$input().wrapAll('<div class="acf-input-wrap"></div>'),e.get("ui")&&e.$(".acf-input-wrap:first").append(e.$(".select2")),e.has("acfePrepend")&&(e.$(".acf-input-wrap:first").before('<div class="acf-input-prepend">'+e.get("acfePrepend")+"</div>"),e.$input().addClass("acf-is-prepended")),e.has("acfeAppend")&&(e.$(".acf-input-wrap:first").before('<div class="acf-input-append">'+e.get("acfeAppend")+"</div>"),e.$input().addClass("acf-is-appended"))))},init:function(e,t,a,i,n){e.data("select2")&&e.data("select2").$dropdown.addClass("select2-dropdown-acf").addClass("select2-dropdown-acf-field-"+i.get("name")).addClass("select2-dropdown-acf-field-"+i.get("key")),i.get("multiple")||i.get("acfeSearchPlaceholder")&&e.on("select2:open",function(e){l(".select2-search.select2-search--dropdown > .select2-search__field").attr("placeholder",i.get("acfeSearchPlaceholder"))})},args:function(e,t,a,i,n){return i.get("acfeAllowCustom")&&(e.tags=!0,e.createTag=function(e){var t,a=l.trim(e.term);if(""===a)return null;var i=acf.isget(this,"_request","responseJSON","results");if(i){e:for(var n of i)if(n.children)for(var o of n.children)if("string"==typeof o.id&&o.id.toLowerCase()===a.toLowerCase()){t=!0;break e}}else for(var c of this.$element.find("option"))if(c.value.toLowerCase()===a.toLowerCase()){t=!0;break}return t?null:{id:a,text:a}},e.insertTag=function(e,t){var a,i;for(i of e)if(l.trim(t.text).toUpperCase()===l.trim(i.text).toUpperCase()){a=!0;break}a||e.unshift(t)}),e}}))}(jQuery),function(){var e;"undefined"!=typeof acf&&"undefined"!=typeof acfe&&(e=acf.Field.extend({type:"acfe_slug",events:{"input input":"onInput","focusout input":"onFocusOut"},onInput:function(e,t){t.val(t.val().toLowerCase().replace(/\s+/g,"-").replace(/[^\w\-]+/g,"").replace(/\-\-+/g,"-").replace(/\_\_+/g,"_").replace(/^-+/,""))},onFocusOut:function(e,t){t.val(t.val().toLowerCase().replace(/-+$/,"").replace(/_+$/,""))}}),acf.registerFieldType(e))}(jQuery),function(a){"undefined"!=typeof acf&&"undefined"!=typeof acfe&&new acf.Model({actions:{"prepare_field/type=tab":"prepareField"},prepareField:function(e){var t,i,n;e.has("noPreference")&&(t=e.findTabs(),t=acf.getInstances(t),i=e.get("key"),!t.length||(n=acf.getPreference("this.tabs"))&&(a.each(t,function(e,t){var a=t.get("index");t.data.key===i&&(n[a]=0)}),acf.setPreference("this.tabs",n)))}})}(jQuery),function(){var e;"undefined"!=typeof acf&&"undefined"!=typeof acfe&&(e=acf.Field.extend({type:"textarea",events:{"keydown textarea":"onInput"},onInput:function(e,t){var a,i;this.has("acfeTextareaCode")&&9===e.keyCode&&(e.preventDefault(),a=this.$el.find("textarea")[0],i=a.selectionStart,this.$el.find("textarea").val(function(e,t){return t.substring(0,i)+" "+t.substring(a.selectionEnd)}),a.selectionEnd=i+4)}}),acf.registerFieldType(e))}(jQuery),function(){var e;"undefined"!=typeof acf&&"undefined"!=typeof acfe&&(e=acf.models.WysiwygField,acf.models.WysiwygField=e.extend({initialize:function(){this.has("id")||this.$control().hasClass("delay")||this.initializeEditor()}}),new acf.Model({actions:{"show_field/type=wysiwyg":"showField","ready_field/type=wysiwyg":"showField"},showField:function(e){e.has("acfeWysiwygAutoInit")&&e.$el.is(":visible")&&!e.has("id")&&!acfe.isFilterEnabled("acfeFlexibleOpen")&&this.initializeEditor(e)},initializeEditor:function(e){var t=e.$control();t.hasClass("delay")&&(t.removeClass("delay"),t.find(".acf-editor-toolbar").remove(),e.initializeEditor())}}))}(jQuery),function(o){var e,a;"undefined"!=typeof acf&&"undefined"!=typeof acfe&&(new acf.Model({wait:"prepare",priority:1,initialize:function(){acfe.get("is_admin")||new e}}),e=acf.Model.extend({actions:{"new_field/type=date_picker":"datePicker","new_field/type=date_time_picker":"datePicker","new_field/type=time_picker":"datePicker","new_field/type=google_map":"googleMap",invalid_field:"invalidField",validation_begin:"validationBegin"},events:{"click .acf-form .button":"onClickSubmit",'click .acf-form [type="submit"]':"onClickSubmit","click .acfe-form .button":"onClickSubmit",'click .acfe-form [type="submit"]':"onClickSubmit"},$getForm:function(e=!1){var t=o(".acfe-form");return!!(t=e?e.$el.closest(".acfe-form"):t).length&&t},getFormFieldClass:function(e){e=this.$getForm(e);return e&&e.data("fields-class")||!1},initialize:function(){this.setupUnload(),this.setupSuccess()},setupUnload:function(){o('.acfe-form[data-hide-unload="1"]').length&&acf.unload.disable()},setupSuccess:function(){acfe.get("acfe_form_success")&&(window.history.replaceState&&window.history.replaceState(null,null,window.location.href),acfe.get("acfe_form_success").map(function(e){acf.doAction("acfe/form/success"),acf.doAction("acfe/form/success/id="+e.id),acf.doAction("acfe/form/success/name="+e.name),acf.doAction("acfe/form/submit/success"),acf.doAction("acfe/form/submit/success/id="+e.id),acf.doAction("acfe/form/submit/success/name="+e.name)}))},onClickSubmit:function(e,t){t.hasClass("disabled")&&e.preventDefault()},datePicker:function(e){var t=this.getFormFieldClass(e);t&&e.$inputText().addClass(t)},googleMap:function(e){var t=this.getFormFieldClass(e);t&&e.$search().addClass(t)},invalidField:function(e){var t,a,i,n=this.$getForm(e);n&&((t=n.data("errors-class"))&&e.$el.find(".acf-notice.-error").addClass(t),"hide"===(i=n.data("errors-position"))?e.$el.find(".acf-notice.-error").remove():"below"===i?(e.$control().length?e.$el.find(".acf-notice.-error").insertAfter(e.$control()):e.$input().length&&e.$el.find(".acf-notice.-error").insertAfter(e.$input()),a=!1,e.$control().length?a=e.$control():e.$input().length&&(a=e.$input()),a&&e.$el.find(".acf-notice.-error").insertAfter(a)):"group"===i&&(t=e.$el.find(".acf-label label").text().trim(),a=e.$el.find('.acf-input-wrap [placeholder!=""]').attr("placeholder"),i=e.$el.find(".acf-notice.-error").text().trim(),e.$el.find(".acf-notice.-error").remove(),i=t&&t.length&&"*"!==t?(t=t.replace(/ \*$/,""))+": "+i:a&&a.length&&""!==a?a+": "+i:e.get("name")+": "+i,(e=!(e=n.find("> .acfe-form-error")).length?o('<div class="acf-notice -error acf-error-message acfe-form-error" />').prependTo(n):e).append("<p>"+i+"</p>")))},validationBegin:function(e){void 0!==e&&e.find(".acf-error-message").remove()}}),a=function(e){var t=o(".acf-field input"),e=e.closest("form");(t=e.length?e.find(".acf-field input"):t).each(function(){this.checkValidity()||function(e){e=e.parents(".acf-postbox");!e.length||(e=acf.getPostbox(e))&&(e.$el.hasClass("hide-if-js")||"none"==e.$el.css("display"))&&(e.$el.removeClass("hide-if-js"),e.$el.css("display",""))}(o(this))})},acf.validation.onClickSubmit=function(e,t){a(t),this.set("originalEvent",e)},acf.newCondition=function(e,t){var a=t.get("field"),i=a.getField(e.field);if(a&&!i&&(i=acf.getField(e.field)),!a||!i)return!1;t={rule:e,target:a,conditions:t,field:i},i=i.get("type"),e=e.operator;return new(acf.getConditionTypes({fieldType:i,operator:e})[0]||acf.Condition)(t)})}(jQuery);
|
assets/js/acfe.js
CHANGED
@@ -5,186 +5,362 @@
|
|
5 |
}
|
6 |
|
7 |
/**
|
8 |
-
*
|
|
|
|
|
9 |
*/
|
10 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
11 |
|
12 |
/**
|
13 |
-
*
|
|
|
|
|
|
|
14 |
*/
|
15 |
-
var acfe = {};
|
16 |
|
17 |
-
window.acfe = acfe;
|
18 |
|
19 |
/**
|
20 |
-
*
|
|
|
|
|
|
|
|
|
|
|
21 |
*/
|
22 |
-
acfe.
|
23 |
-
|
|
|
24 |
};
|
25 |
|
|
|
26 |
/**
|
27 |
-
*
|
|
|
|
|
|
|
|
|
|
|
28 |
*/
|
29 |
-
acfe.
|
30 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
31 |
};
|
32 |
|
|
|
33 |
/**
|
34 |
-
*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
35 |
*/
|
36 |
-
acfe.
|
37 |
-
|
38 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
39 |
};
|
40 |
|
|
|
41 |
/**
|
42 |
-
*
|
|
|
|
|
|
|
43 |
*/
|
44 |
-
acfe.
|
45 |
-
return
|
46 |
};
|
47 |
|
|
|
48 |
/**
|
49 |
-
*
|
|
|
|
|
|
|
|
|
50 |
*/
|
51 |
-
acfe.
|
|
|
|
|
|
|
52 |
|
53 |
-
|
54 |
-
|
55 |
-
});
|
56 |
|
57 |
-
|
|
|
|
|
58 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
59 |
}
|
60 |
|
|
|
61 |
/**
|
62 |
-
*
|
|
|
|
|
|
|
63 |
*/
|
64 |
-
acfe.
|
65 |
-
return
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
66 |
}
|
67 |
|
|
|
68 |
/**
|
69 |
-
*
|
|
|
|
|
|
|
70 |
*/
|
71 |
-
acfe.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
72 |
|
73 |
-
|
|
|
|
|
|
|
74 |
|
75 |
-
|
76 |
-
var queryString = url.replace(/^[^\?]+\??/, '');
|
77 |
|
78 |
-
if (!queryString) {
|
79 |
-
return params;
|
80 |
}
|
81 |
|
82 |
-
|
|
|
83 |
|
84 |
-
|
85 |
|
86 |
-
var KeyVal = Pairs[i].split('=');
|
87 |
|
88 |
-
|
89 |
-
|
90 |
-
|
|
|
|
|
|
|
91 |
|
92 |
-
|
93 |
-
|
|
|
|
|
|
|
|
|
94 |
|
95 |
-
|
|
|
|
|
|
|
96 |
|
97 |
-
|
98 |
|
99 |
}
|
100 |
|
101 |
-
return
|
|
|
102 |
|
103 |
-
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
104 |
|
105 |
/**
|
106 |
-
*
|
|
|
|
|
107 |
*/
|
108 |
-
|
109 |
-
|
110 |
-
};
|
111 |
|
112 |
/**
|
113 |
-
*
|
114 |
*/
|
115 |
-
acfe.
|
116 |
-
|
117 |
};
|
118 |
|
|
|
119 |
/**
|
120 |
-
*
|
|
|
|
|
121 |
*/
|
122 |
-
acfe.
|
123 |
-
return
|
124 |
};
|
125 |
|
|
|
126 |
/**
|
127 |
-
*
|
|
|
|
|
|
|
128 |
*/
|
129 |
-
acfe.
|
130 |
-
return
|
131 |
-
}
|
|
|
132 |
|
133 |
/**
|
134 |
-
*
|
|
|
|
|
135 |
*/
|
136 |
-
acfe.
|
137 |
-
|
138 |
-
|
|
|
|
|
139 |
|
140 |
-
$selector.contents().each(function() {
|
141 |
-
var text = $.trim($(this).text());
|
142 |
|
143 |
-
|
144 |
-
|
145 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
146 |
}
|
|
|
|
|
147 |
|
148 |
-
|
149 |
-
|
150 |
-
return result;
|
151 |
-
|
152 |
-
}
|
153 |
|
154 |
-
|
155 |
-
|
156 |
-
*/
|
157 |
-
acfe.ucFirst = function(string) {
|
158 |
-
return string.charAt(0).toUpperCase() + string.slice(1);
|
159 |
}
|
160 |
|
161 |
/**
|
162 |
-
*
|
|
|
|
|
|
|
163 |
*/
|
164 |
acfe.findSubmitWrap = function($form) {
|
165 |
|
|
|
166 |
$form = $form || $('form');
|
167 |
|
168 |
// default post submit div
|
169 |
-
|
170 |
if ($wrap.length) {
|
171 |
return $wrap;
|
172 |
}
|
173 |
|
174 |
// 3rd party publish box
|
175 |
-
|
176 |
if ($wrap.length) {
|
177 |
return $wrap;
|
178 |
}
|
179 |
|
180 |
// term, user
|
181 |
-
|
182 |
if ($wrap.length) {
|
183 |
return $wrap;
|
184 |
}
|
185 |
|
186 |
// front end form
|
187 |
-
|
188 |
if ($wrap.length) {
|
189 |
return $wrap;
|
190 |
}
|
@@ -194,8 +370,12 @@
|
|
194 |
|
195 |
};
|
196 |
|
|
|
197 |
/**
|
198 |
-
*
|
|
|
|
|
|
|
199 |
*/
|
200 |
acfe.findSubmit = function($form) {
|
201 |
|
@@ -204,8 +384,12 @@
|
|
204 |
|
205 |
}
|
206 |
|
|
|
207 |
/**
|
208 |
-
*
|
|
|
|
|
|
|
209 |
*/
|
210 |
acfe.findSpinner = function($form) {
|
211 |
|
@@ -214,333 +398,337 @@
|
|
214 |
|
215 |
}
|
216 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
217 |
/**
|
218 |
-
*
|
219 |
*/
|
220 |
-
|
221 |
-
|
222 |
-
acfe.disableFilters = function() {
|
223 |
-
filters = [];
|
224 |
};
|
225 |
|
226 |
-
acfe.
|
227 |
-
return
|
228 |
};
|
229 |
|
230 |
-
acfe.
|
231 |
-
return
|
232 |
};
|
233 |
|
234 |
-
acfe.
|
235 |
|
236 |
-
|
237 |
-
|
238 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
239 |
|
240 |
-
|
|
|
|
|
|
|
241 |
|
242 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
243 |
|
244 |
-
for (var i = filters.length; i--;) {
|
245 |
-
if (filters[i] === name) {
|
246 |
-
filters.splice(i, 1);
|
247 |
}
|
248 |
-
}
|
249 |
|
250 |
-
|
|
|
251 |
|
252 |
-
|
253 |
-
|
254 |
-
*/
|
255 |
-
acfe.fieldExtend = function(fieldType, props) {
|
256 |
|
257 |
-
|
258 |
|
259 |
-
|
260 |
-
return field.prototype;
|
261 |
-
}
|
262 |
|
263 |
-
|
264 |
|
265 |
-
|
|
|
|
|
266 |
|
267 |
-
|
268 |
|
269 |
-
|
270 |
-
props.init.apply(this, arguments);
|
271 |
-
}
|
272 |
|
273 |
-
|
274 |
-
|
275 |
-
|
|
|
|
|
|
|
|
|
276 |
|
277 |
-
|
278 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
279 |
}
|
280 |
|
281 |
-
|
282 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
283 |
}
|
284 |
|
|
|
|
|
|
|
285 |
}
|
286 |
|
287 |
-
}
|
288 |
|
289 |
-
|
|
|
|
|
290 |
|
291 |
-
|
292 |
|
293 |
-
|
294 |
-
|
295 |
-
|
296 |
-
|
297 |
-
* @returns {boolean}
|
298 |
-
*/
|
299 |
-
acfe.isFieldKey = function(name) {
|
300 |
-
return typeof name === 'string' && name.substr(0, 6) === 'field_';
|
301 |
-
}
|
302 |
|
303 |
-
|
304 |
-
|
305 |
-
*
|
306 |
-
* @param name
|
307 |
-
* @returns {boolean}
|
308 |
-
*/
|
309 |
-
acfe.isGroupKey = function(name) {
|
310 |
-
return typeof name === 'string' && name.substr(0, 6) === 'group_';
|
311 |
-
}
|
312 |
|
313 |
-
|
314 |
-
* Version Compare
|
315 |
-
* https://locutus.io/php/info/version_compare/
|
316 |
-
*/
|
317 |
-
acfe.versionCompare = function(v1, operator, v2) {
|
318 |
-
let i
|
319 |
-
let x
|
320 |
-
let compare = 0
|
321 |
|
322 |
-
|
323 |
-
|
324 |
-
|
325 |
-
|
326 |
-
beta: -4,
|
327 |
-
b: -4,
|
328 |
-
RC: -3,
|
329 |
-
rc: -3,
|
330 |
-
'#': -2,
|
331 |
-
p: 1,
|
332 |
-
pl: 1
|
333 |
-
}
|
334 |
|
335 |
-
|
336 |
-
|
337 |
-
v = v.replace(/([^.\d]+)/g, '.$1.').replace(/\.{2,}/g, '.')
|
338 |
-
return (!v.length ? [-8] : v.split('.'))
|
339 |
-
}
|
340 |
|
341 |
-
|
342 |
-
return !v ? 0 : (isNaN(v) ? vm[v] || -7 : parseInt(v, 10))
|
343 |
-
}
|
344 |
-
v1 = _prepVersion(v1)
|
345 |
-
v2 = _prepVersion(v2)
|
346 |
-
x = Math.max(v1.length, v2.length)
|
347 |
-
for (i = 0; i < x; i++) {
|
348 |
-
if (v1[i] === v2[i]) {
|
349 |
-
continue
|
350 |
-
}
|
351 |
-
v1[i] = _numVersion(v1[i])
|
352 |
-
v2[i] = _numVersion(v2[i])
|
353 |
-
if (v1[i] < v2[i]) {
|
354 |
-
compare = -1
|
355 |
-
break
|
356 |
-
} else if (v1[i] > v2[i]) {
|
357 |
-
compare = 1
|
358 |
-
break
|
359 |
-
}
|
360 |
-
}
|
361 |
-
if (!operator) {
|
362 |
-
return compare
|
363 |
-
}
|
364 |
|
365 |
-
|
366 |
-
|
367 |
-
|
368 |
-
|
369 |
-
case '>=':
|
370 |
-
case 'ge':
|
371 |
-
return (compare >= 0)
|
372 |
-
case '<=':
|
373 |
-
case 'le':
|
374 |
-
return (compare <= 0)
|
375 |
-
case '===':
|
376 |
-
case '=':
|
377 |
-
case 'eq':
|
378 |
-
return (compare === 0)
|
379 |
-
case '<>':
|
380 |
-
case '!==':
|
381 |
-
case 'ne':
|
382 |
-
return (compare !== 0)
|
383 |
-
case '':
|
384 |
-
case '<':
|
385 |
-
case 'lt':
|
386 |
-
return (compare < 0)
|
387 |
-
default:
|
388 |
-
return null
|
389 |
-
}
|
390 |
|
391 |
-
|
|
|
392 |
|
393 |
-
|
394 |
-
(
|
|
|
395 |
|
396 |
-
|
397 |
-
return;
|
398 |
-
}
|
399 |
|
400 |
-
|
401 |
-
|
402 |
-
|
403 |
-
var popups = [];
|
404 |
|
405 |
-
|
|
|
|
|
406 |
|
407 |
-
data: {
|
408 |
-
title: false,
|
409 |
-
footer: false,
|
410 |
-
size: false,
|
411 |
-
destroy: false,
|
412 |
-
onOpen: function() {},
|
413 |
-
onClose: function() {},
|
414 |
},
|
415 |
|
416 |
-
|
417 |
-
|
418 |
-
|
|
|
419 |
},
|
420 |
|
421 |
-
|
422 |
-
|
423 |
-
$.extend(this.data, args);
|
424 |
|
425 |
-
|
426 |
-
|
|
|
427 |
|
|
|
|
|
|
|
|
|
|
|
|
|
428 |
},
|
429 |
|
430 |
-
|
|
|
|
|
|
|
431 |
|
432 |
-
this.
|
433 |
|
|
|
|
|
|
|
|
|
|
|
|
|
434 |
},
|
435 |
|
436 |
-
|
437 |
-
|
438 |
-
// Size
|
439 |
-
if (this.get('size')) {
|
440 |
-
this.$el.addClass('-' + this.get('size'));
|
441 |
-
}
|
442 |
|
443 |
-
|
444 |
-
if (!this.$('> .acfe-modal-wrapper').length) {
|
445 |
-
this.$el.wrapInner('<div class="acfe-modal-wrapper" />');
|
446 |
-
}
|
447 |
|
448 |
-
|
|
|
|
|
449 |
|
450 |
-
|
451 |
-
|
452 |
-
|
453 |
-
|
|
|
454 |
|
455 |
-
// Title
|
456 |
-
if (this.get('title')) {
|
457 |
-
$wrapper.prepend('<div class="acfe-modal-title"><span class="title">' + this.get('title') + '</span><button class="close"></button></div>');
|
458 |
}
|
459 |
|
460 |
-
|
461 |
-
$wrapper.prepend('<div class="acfe-modal-wrapper-overlay"></div>');
|
462 |
|
463 |
-
|
464 |
-
if (this
|
465 |
-
|
466 |
}
|
|
|
467 |
|
468 |
-
|
469 |
-
if (typeof tinymce !== 'undefined' && acf.isset(tinymce, 'ui', 'FloatPanel')) {
|
470 |
|
471 |
-
|
|
|
|
|
472 |
tinymce.ui.FloatPanel.hideAll();
|
473 |
});
|
474 |
-
|
475 |
}
|
476 |
|
477 |
},
|
478 |
|
479 |
-
|
480 |
-
|
481 |
-
this.$el.addClass('-open');
|
482 |
-
|
483 |
-
popups.push(this);
|
484 |
-
|
485 |
-
acfe.syncPopup();
|
486 |
|
487 |
-
//
|
488 |
var getSubFields = acf.getFields({
|
489 |
parent: this.$el,
|
490 |
visible: true,
|
491 |
});
|
492 |
|
493 |
-
//
|
494 |
getSubFields.map(function(field) {
|
495 |
acf.doAction('show_field', field, 'group');
|
496 |
}, this);
|
497 |
|
498 |
-
|
499 |
|
500 |
-
|
501 |
|
502 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
503 |
|
504 |
-
|
505 |
|
506 |
-
|
507 |
-
this.$('.acfe-modal-title').remove();
|
508 |
-
this.$('.acfe-modal-footer').remove();
|
509 |
|
510 |
-
|
511 |
-
this.$el.
|
512 |
|
513 |
-
|
|
|
514 |
|
515 |
-
|
|
|
516 |
|
517 |
-
|
|
|
518 |
|
519 |
-
|
|
|
520 |
|
521 |
-
|
522 |
-
|
523 |
-
}
|
524 |
|
525 |
},
|
526 |
|
527 |
-
|
528 |
|
529 |
-
|
530 |
-
this.
|
531 |
-
this.
|
532 |
|
533 |
-
|
534 |
|
535 |
-
|
|
|
536 |
|
537 |
-
|
|
|
538 |
|
539 |
-
|
540 |
-
|
|
|
|
|
|
|
|
|
541 |
}
|
542 |
|
543 |
-
|
|
|
|
|
|
|
|
|
|
|
544 |
|
545 |
}
|
546 |
|
@@ -549,82 +737,116 @@
|
|
549 |
/**
|
550 |
* Popup: Close
|
551 |
*/
|
552 |
-
acfe.closePopup = function() {
|
553 |
|
554 |
-
|
555 |
-
|
|
|
556 |
}
|
557 |
|
558 |
-
|
559 |
|
560 |
-
|
|
|
561 |
|
562 |
-
|
563 |
-
|
564 |
-
|
565 |
-
|
566 |
|
567 |
-
|
|
|
568 |
|
569 |
-
|
|
|
|
|
|
|
|
|
570 |
|
571 |
-
//
|
572 |
-
|
573 |
|
574 |
-
|
|
|
|
|
575 |
|
576 |
-
|
577 |
|
578 |
-
|
579 |
-
acfe.closePopup();
|
580 |
|
581 |
-
|
582 |
|
583 |
-
|
584 |
|
585 |
-
|
586 |
-
|
|
|
|
|
587 |
|
588 |
-
|
589 |
-
return self.$el.removeClass('acfe-modal-sub').css('margin-left', '');
|
590 |
-
}
|
591 |
|
592 |
-
|
|
|
593 |
|
594 |
-
|
595 |
|
596 |
-
|
|
|
|
|
|
|
|
|
|
|
597 |
|
598 |
-
|
599 |
-
$body.removeClass('acfe-modal-opened');
|
600 |
|
601 |
-
|
|
|
602 |
|
603 |
-
|
|
|
|
|
|
|
|
|
604 |
|
605 |
-
|
606 |
|
607 |
-
|
608 |
-
|
609 |
-
|
610 |
|
611 |
-
|
612 |
-
acfe.closePopup();
|
613 |
|
614 |
-
|
|
|
|
|
|
|
615 |
|
616 |
-
|
617 |
-
acfe.modal = {
|
618 |
|
619 |
-
|
620 |
-
|
|
|
|
|
621 |
},
|
622 |
|
623 |
-
|
624 |
-
acfe.closePopup();
|
625 |
-
}
|
626 |
|
627 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
628 |
|
629 |
// Allow open modal in HTML
|
630 |
new acf.Model({
|
@@ -643,8 +865,8 @@
|
|
643 |
// vars
|
644 |
var target = $el.attr('data-acfe-modal') || false;
|
645 |
var size = $el.attr('data-acfe-modal-size') || 'medium';
|
646 |
-
var title = $el.attr('data-acfe-modal-title') ||
|
647 |
-
var footer = $el.attr('data-acfe-modal-footer') ||
|
648 |
|
649 |
// find next modal div
|
650 |
if (!target) {
|
@@ -657,24 +879,16 @@
|
|
657 |
target = $('.acfe-modal[data-acfe-modal=' + target + ']');
|
658 |
}
|
659 |
|
660 |
-
if (
|
661 |
-
return;
|
662 |
-
}
|
663 |
-
|
664 |
-
var args = {
|
665 |
-
size: size
|
666 |
-
}
|
667 |
|
668 |
-
|
669 |
-
|
670 |
-
|
|
|
|
|
671 |
|
672 |
-
if (footer) {
|
673 |
-
args.footer = footer;
|
674 |
}
|
675 |
|
676 |
-
new acfe.Popup(target, args);
|
677 |
-
|
678 |
},
|
679 |
|
680 |
});
|
@@ -687,34 +901,133 @@
|
|
687 |
}
|
688 |
|
689 |
/**
|
690 |
-
*
|
|
|
|
|
|
|
|
|
691 |
*/
|
692 |
-
|
|
|
|
|
693 |
|
694 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
695 |
|
696 |
-
|
697 |
-
|
698 |
-
},
|
699 |
|
700 |
-
|
|
|
|
|
701 |
|
702 |
-
|
703 |
-
|
704 |
-
|
705 |
-
|
706 |
-
|
|
|
|
|
|
|
|
|
|
|
707 |
|
708 |
-
// get field
|
709 |
-
var field = acf.getClosestField($el);
|
710 |
-
if (!field) {
|
711 |
-
return;
|
712 |
-
}
|
713 |
|
714 |
-
|
715 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
716 |
|
717 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
718 |
if (!this.tooltips[field.cid]) {
|
719 |
|
720 |
this.tooltips[field.cid] = acf.newTooltip({
|
@@ -747,4 +1060,460 @@
|
|
747 |
|
748 |
});
|
749 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
750 |
})(jQuery);
|
5 |
}
|
6 |
|
7 |
/**
|
8 |
+
* acfe
|
9 |
+
*
|
10 |
+
* @type {{}}
|
11 |
*/
|
12 |
+
window.acfe = {};
|
13 |
+
|
14 |
+
})(jQuery);
|
15 |
+
(function($) {
|
16 |
+
|
17 |
+
if (typeof acf === 'undefined' || typeof acfe === 'undefined') {
|
18 |
+
return;
|
19 |
+
}
|
20 |
|
21 |
/**
|
22 |
+
* acf helpers
|
23 |
+
*
|
24 |
+
* acf.isget()
|
25 |
+
* acf.acf.isset()
|
26 |
*/
|
|
|
27 |
|
|
|
28 |
|
29 |
/**
|
30 |
+
* acfe.getArray
|
31 |
+
*
|
32 |
+
* Forces val as an array, also allows integer 0
|
33 |
+
*
|
34 |
+
* @param val
|
35 |
+
* @returns {*[]}
|
36 |
*/
|
37 |
+
acfe.getArray = function(val) {
|
38 |
+
val = val !== 0 ? val : '0';
|
39 |
+
return [].concat(val || []);
|
40 |
};
|
41 |
|
42 |
+
|
43 |
/**
|
44 |
+
* acfe.inArray
|
45 |
+
*
|
46 |
+
* @param v1
|
47 |
+
* @param array
|
48 |
+
* @param strict
|
49 |
+
* @returns {boolean}
|
50 |
*/
|
51 |
+
acfe.inArray = function(v1, array, strict = false) {
|
52 |
+
|
53 |
+
if (!strict) {
|
54 |
+
|
55 |
+
v1 = acfe.getString(v1);
|
56 |
+
array = array.map(function(v2) {
|
57 |
+
return acfe.getString(v2);
|
58 |
+
});
|
59 |
+
|
60 |
+
}
|
61 |
+
|
62 |
+
for (var i = 0; i < array.length; i++) {
|
63 |
+
if (array[i] === v1) {
|
64 |
+
return true;
|
65 |
+
}
|
66 |
+
}
|
67 |
+
|
68 |
+
return false;
|
69 |
+
|
70 |
};
|
71 |
|
72 |
+
|
73 |
/**
|
74 |
+
* acfe.arrayGet
|
75 |
+
*
|
76 |
+
* Get array/object value using dot notation
|
77 |
+
*
|
78 |
+
* @param obj
|
79 |
+
* @param path
|
80 |
+
* @param def
|
81 |
+
* @returns {null|*}
|
82 |
*/
|
83 |
+
acfe.arrayGet = function(obj, path = '', def = null) {
|
84 |
+
|
85 |
+
// convert to string if empty
|
86 |
+
path = !acfe.isEmpty(path) ? path : '';
|
87 |
+
|
88 |
+
// check integer, otherwise split '.' notation
|
89 |
+
path = Number.isInteger(path) ? acfe.getArray(path) : path.split('.');
|
90 |
+
|
91 |
+
for (var i = 0; i < path.length; i++) {
|
92 |
+
|
93 |
+
if (!obj || !obj.hasOwnProperty(path[i])) {
|
94 |
+
return def;
|
95 |
+
}
|
96 |
+
|
97 |
+
obj = obj[path[i]];
|
98 |
+
}
|
99 |
+
|
100 |
+
return obj;
|
101 |
+
|
102 |
+
};
|
103 |
+
|
104 |
+
})(jQuery);
|
105 |
+
(function($) {
|
106 |
+
|
107 |
+
if (typeof acf === 'undefined' || typeof acfe === 'undefined') {
|
108 |
+
return;
|
109 |
+
}
|
110 |
+
|
111 |
+
/**
|
112 |
+
* acf.data.acfe
|
113 |
+
*
|
114 |
+
* @type {{}}
|
115 |
+
*/
|
116 |
+
acf.data.acfe = {};
|
117 |
+
|
118 |
+
|
119 |
+
/**
|
120 |
+
* acfe.get
|
121 |
+
*
|
122 |
+
* @param name
|
123 |
+
* @param def
|
124 |
+
* @returns {*|null}
|
125 |
+
*/
|
126 |
+
acfe.get = function(name, def = null) {
|
127 |
+
return acf.data.acfe[name] || def;
|
128 |
};
|
129 |
|
130 |
+
|
131 |
/**
|
132 |
+
* acfe.has
|
133 |
+
*
|
134 |
+
* @param name
|
135 |
+
* @returns {boolean}
|
136 |
*/
|
137 |
+
acfe.has = function(name) {
|
138 |
+
return this.get(name) != null;
|
139 |
};
|
140 |
|
141 |
+
|
142 |
/**
|
143 |
+
* acfe.set
|
144 |
+
*
|
145 |
+
* @param name
|
146 |
+
* @param value
|
147 |
+
* @returns {acfe}
|
148 |
*/
|
149 |
+
acfe.set = function(name, value) {
|
150 |
+
acf.data.acfe[name] = value;
|
151 |
+
return this;
|
152 |
+
};
|
153 |
|
154 |
+
})(jQuery);
|
155 |
+
(function($) {
|
|
|
156 |
|
157 |
+
if (typeof acf === 'undefined' || typeof acfe === 'undefined') {
|
158 |
+
return;
|
159 |
+
}
|
160 |
|
161 |
+
/**
|
162 |
+
* isFieldKey
|
163 |
+
*
|
164 |
+
* @param name
|
165 |
+
* @returns {boolean}
|
166 |
+
*/
|
167 |
+
acfe.isFieldKey = function(name) {
|
168 |
+
return acfe.isString(name) && name.startsWith('field_');
|
169 |
}
|
170 |
|
171 |
+
|
172 |
/**
|
173 |
+
* acfe.isFieldName
|
174 |
+
*
|
175 |
+
* @param name
|
176 |
+
* @returns {boolean}
|
177 |
*/
|
178 |
+
acfe.isFieldName = function(name) {
|
179 |
+
return acfe.isString(name) && !acfe.isFieldKey(name);
|
180 |
+
}
|
181 |
+
|
182 |
+
|
183 |
+
/**
|
184 |
+
* isGroupKey
|
185 |
+
*
|
186 |
+
* @param name
|
187 |
+
* @returns {boolean}
|
188 |
+
*/
|
189 |
+
acfe.isGroupKey = function(name) {
|
190 |
+
return acfe.isString(name) && name.startsWith('group_');
|
191 |
}
|
192 |
|
193 |
+
|
194 |
/**
|
195 |
+
* acfe.getField
|
196 |
+
*
|
197 |
+
* @param name
|
198 |
+
* @returns {[]|*}
|
199 |
*/
|
200 |
+
acfe.getField = function(name) {
|
201 |
+
|
202 |
+
// field name
|
203 |
+
if (acfe.isFieldName(name)) {
|
204 |
+
|
205 |
+
return acf.getFields({
|
206 |
+
name: name,
|
207 |
+
limit: 1,
|
208 |
+
suppressFilters: true
|
209 |
+
}).shift();
|
210 |
+
|
211 |
+
// arguments
|
212 |
+
} else if (acf.isObject(name)) {
|
213 |
|
214 |
+
name = acf.parseArgs(name, {
|
215 |
+
limit: 1,
|
216 |
+
suppressFilters: true
|
217 |
+
});
|
218 |
|
219 |
+
return acf.getFields(name).shift();
|
|
|
220 |
|
|
|
|
|
221 |
}
|
222 |
|
223 |
+
// default getField
|
224 |
+
return acf.getField(name);
|
225 |
|
226 |
+
};
|
227 |
|
|
|
228 |
|
229 |
+
/**
|
230 |
+
* find_fields_selector
|
231 |
+
*
|
232 |
+
* Since ACF 6.0. Allow types as array
|
233 |
+
*/
|
234 |
+
acf.addFilter('find_fields_selector', function(selector, args) {
|
235 |
|
236 |
+
// args.types
|
237 |
+
// allow types array
|
238 |
+
if (args.types && args.types.length && acf.isArray(args.types)) {
|
239 |
+
|
240 |
+
// vars
|
241 |
+
var array = [];
|
242 |
|
243 |
+
// loop
|
244 |
+
for (var type of args.types) {
|
245 |
+
array.push(selector + '[data-type="' + type + '"]');
|
246 |
+
}
|
247 |
|
248 |
+
selector = array.join(',');
|
249 |
|
250 |
}
|
251 |
|
252 |
+
// return
|
253 |
+
return selector;
|
254 |
|
255 |
+
});
|
256 |
+
|
257 |
+
})(jQuery);
|
258 |
+
(function($) {
|
259 |
+
|
260 |
+
if (typeof acf === 'undefined' || typeof acfe === 'undefined') {
|
261 |
+
return;
|
262 |
+
}
|
263 |
|
264 |
/**
|
265 |
+
* storage
|
266 |
+
*
|
267 |
+
* @type {*[]}
|
268 |
*/
|
269 |
+
var filters = [];
|
270 |
+
|
|
|
271 |
|
272 |
/**
|
273 |
+
* acfe.disableFilters
|
274 |
*/
|
275 |
+
acfe.disableFilters = function() {
|
276 |
+
filters = [];
|
277 |
};
|
278 |
|
279 |
+
|
280 |
/**
|
281 |
+
* acfe.getFilters
|
282 |
+
*
|
283 |
+
* @returns {*[]}
|
284 |
*/
|
285 |
+
acfe.getFilters = function() {
|
286 |
+
return filters;
|
287 |
};
|
288 |
|
289 |
+
|
290 |
/**
|
291 |
+
* acfe.isFilterEnabled
|
292 |
+
*
|
293 |
+
* @param name
|
294 |
+
* @returns {boolean}
|
295 |
*/
|
296 |
+
acfe.isFilterEnabled = function(name) {
|
297 |
+
return filters.indexOf(name) > -1;
|
298 |
+
};
|
299 |
+
|
300 |
|
301 |
/**
|
302 |
+
* acfe.enableFilter
|
303 |
+
*
|
304 |
+
* @param name
|
305 |
*/
|
306 |
+
acfe.enableFilter = function(name) {
|
307 |
+
if (filters.indexOf(name) === -1) {
|
308 |
+
filters.push(name);
|
309 |
+
}
|
310 |
+
};
|
311 |
|
|
|
|
|
312 |
|
313 |
+
/**
|
314 |
+
* acfe.disableFilter
|
315 |
+
*
|
316 |
+
* @param name
|
317 |
+
*/
|
318 |
+
acfe.disableFilter = function(name) {
|
319 |
+
for (var i = filters.length; i--;) {
|
320 |
+
if (filters[i] === name) {
|
321 |
+
filters.splice(i, 1);
|
322 |
}
|
323 |
+
}
|
324 |
+
};
|
325 |
|
326 |
+
})(jQuery);
|
327 |
+
(function($) {
|
|
|
|
|
|
|
328 |
|
329 |
+
if (typeof acf === 'undefined' || typeof acfe === 'undefined') {
|
330 |
+
return;
|
|
|
|
|
|
|
331 |
}
|
332 |
|
333 |
/**
|
334 |
+
* acfe.findSubmitWrap
|
335 |
+
*
|
336 |
+
* @param $form
|
337 |
+
* @returns {{length}|*|jQuery|HTMLElement}
|
338 |
*/
|
339 |
acfe.findSubmitWrap = function($form) {
|
340 |
|
341 |
+
var $wrap;
|
342 |
$form = $form || $('form');
|
343 |
|
344 |
// default post submit div
|
345 |
+
$wrap = $form.find('#submitdiv');
|
346 |
if ($wrap.length) {
|
347 |
return $wrap;
|
348 |
}
|
349 |
|
350 |
// 3rd party publish box
|
351 |
+
$wrap = $form.find('#submitpost');
|
352 |
if ($wrap.length) {
|
353 |
return $wrap;
|
354 |
}
|
355 |
|
356 |
// term, user
|
357 |
+
$wrap = $form.find('p.submit').last();
|
358 |
if ($wrap.length) {
|
359 |
return $wrap;
|
360 |
}
|
361 |
|
362 |
// front end form
|
363 |
+
$wrap = $form.find('.acf-form-submit');
|
364 |
if ($wrap.length) {
|
365 |
return $wrap;
|
366 |
}
|
370 |
|
371 |
};
|
372 |
|
373 |
+
|
374 |
/**
|
375 |
+
* acfe.findSubmit
|
376 |
+
*
|
377 |
+
* @param $form
|
378 |
+
* @returns {*|jQuery}
|
379 |
*/
|
380 |
acfe.findSubmit = function($form) {
|
381 |
|
384 |
|
385 |
}
|
386 |
|
387 |
+
|
388 |
/**
|
389 |
+
* acfe.findSpinner
|
390 |
+
*
|
391 |
+
* @param $form
|
392 |
+
* @returns {*|jQuery}
|
393 |
*/
|
394 |
acfe.findSpinner = function($form) {
|
395 |
|
398 |
|
399 |
}
|
400 |
|
401 |
+
})(jQuery);
|
402 |
+
(function($) {
|
403 |
+
|
404 |
+
if (typeof acf === 'undefined' || typeof acfe === 'undefined') {
|
405 |
+
return;
|
406 |
+
}
|
407 |
+
|
408 |
/**
|
409 |
+
* Popup
|
410 |
*/
|
411 |
+
acfe.getPopup = function($el) {
|
412 |
+
return acf.getInstance($el);
|
|
|
|
|
413 |
};
|
414 |
|
415 |
+
acfe.getPopups = function() {
|
416 |
+
return acf.getInstances($('.acfe-modal'));
|
417 |
};
|
418 |
|
419 |
+
acfe.newPopup = function($el, args) {
|
420 |
+
return new acfe.Popup($el, args);
|
421 |
};
|
422 |
|
423 |
+
acfe.Popup = acf.Model.extend({
|
424 |
|
425 |
+
data: {
|
426 |
+
title: '',
|
427 |
+
content: '',
|
428 |
+
footer: '',
|
429 |
+
class: '',
|
430 |
+
size: '',
|
431 |
+
autoOpen: true,
|
432 |
+
destroy: false,
|
433 |
+
events: {},
|
434 |
+
onOpen: function() {},
|
435 |
+
onClose: function() {},
|
436 |
+
},
|
437 |
|
438 |
+
events: {
|
439 |
+
'click >.acfe-modal-wrapper>.acfe-modal-title>.close': 'onClickClose',
|
440 |
+
'click >.acfe-modal-wrapper>.acfe-modal-footer>.close': 'onClickClose',
|
441 |
+
},
|
442 |
|
443 |
+
setup: function($el, args) {
|
444 |
+
|
445 |
+
// content + args
|
446 |
+
if (args) {
|
447 |
+
|
448 |
+
if ($el instanceof jQuery) {
|
449 |
+
// ...
|
450 |
+
} else {
|
451 |
+
$el = $($el);
|
452 |
+
}
|
453 |
+
|
454 |
+
// set el
|
455 |
+
this.$el = $el;
|
456 |
+
|
457 |
+
// only args
|
458 |
+
} else {
|
459 |
+
|
460 |
+
// set args
|
461 |
+
args = $el;
|
462 |
+
|
463 |
+
// set el
|
464 |
+
this.$el = $('<div class="acfe-modal"><div class="acfe-modal-wrapper"><div class="acfe-modal-content"></div></div></div>').appendTo('body');
|
465 |
|
|
|
|
|
|
|
466 |
}
|
|
|
467 |
|
468 |
+
// extend data
|
469 |
+
$.extend(this.data, args);
|
470 |
|
471 |
+
// render
|
472 |
+
this.render();
|
|
|
|
|
473 |
|
474 |
+
},
|
475 |
|
476 |
+
initialize: function() {
|
|
|
|
|
477 |
|
478 |
+
this.addUnscopedEvents();
|
479 |
|
480 |
+
if (this.get('autoOpen')) {
|
481 |
+
this.open();
|
482 |
+
}
|
483 |
|
484 |
+
},
|
485 |
|
486 |
+
addUnscopedEvents: function() {
|
|
|
|
|
487 |
|
488 |
+
if (!this.get('events')) {
|
489 |
+
return;
|
490 |
+
}
|
491 |
+
|
492 |
+
// vars
|
493 |
+
var events = this.get('events');
|
494 |
+
var delegateEventSplitter = /^(\S+)\s*(.*)$/;
|
495 |
|
496 |
+
for (var key in events) {
|
497 |
+
|
498 |
+
// match
|
499 |
+
var match = key.match(delegateEventSplitter);
|
500 |
+
|
501 |
+
// vars
|
502 |
+
var $el, args, event, selector, callback;
|
503 |
+
|
504 |
+
if (match[2]) {
|
505 |
+
event = match[1];
|
506 |
+
selector = match[2];
|
507 |
+
callback = events[key];
|
508 |
+
} else {
|
509 |
+
event = match[1];
|
510 |
+
selector = '';
|
511 |
+
callback = events[key];
|
512 |
}
|
513 |
|
514 |
+
// event
|
515 |
+
event = event + '.' + this.cid;
|
516 |
+
|
517 |
+
// callback
|
518 |
+
callback = this.proxyEvent(this.get(callback));
|
519 |
+
|
520 |
+
if (selector) {
|
521 |
+
args = [event, selector, callback];
|
522 |
+
} else {
|
523 |
+
args = [event, callback];
|
524 |
}
|
525 |
|
526 |
+
$el = this.$el;
|
527 |
+
$el.on.apply($el, args);
|
528 |
+
|
529 |
}
|
530 |
|
531 |
+
},
|
532 |
|
533 |
+
$wrapper: function() {
|
534 |
+
return this.$('> .acfe-modal-wrapper');
|
535 |
+
},
|
536 |
|
537 |
+
$title: function(val) {
|
538 |
|
539 |
+
// set title
|
540 |
+
if (val !== undefined) {
|
541 |
+
return this.$wrapper().find('> .acfe-modal-title > .title').html(val);
|
542 |
+
}
|
|
|
|
|
|
|
|
|
|
|
543 |
|
544 |
+
return this.$wrapper().find('> .acfe-modal-title');
|
545 |
+
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
546 |
|
547 |
+
$content: function(val) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
548 |
|
549 |
+
// set content
|
550 |
+
if (val !== undefined) {
|
551 |
+
return this.$('.acfe-modal-content').html(val);
|
552 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
553 |
|
554 |
+
return this.$wrapper().find('> .acfe-modal-content');
|
555 |
+
},
|
|
|
|
|
|
|
556 |
|
557 |
+
$footer: function(val) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
558 |
|
559 |
+
// set footer
|
560 |
+
if (val !== undefined) {
|
561 |
+
return this.$wrapper().find('> .acfe-modal-footer').html(val);
|
562 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
563 |
|
564 |
+
return this.$wrapper().find('> .acfe-modal-footer');
|
565 |
+
},
|
566 |
|
567 |
+
$overlay: function() {
|
568 |
+
return this.$wrapper().find('> .acfe-modal-wrapper-overlay');
|
569 |
+
},
|
570 |
|
571 |
+
setupClass: function() {
|
|
|
|
|
572 |
|
573 |
+
if (this.get('size')) {
|
574 |
+
this.$el.addClass('-' + this.get('size'));
|
575 |
+
}
|
|
|
576 |
|
577 |
+
if (this.get('class')) {
|
578 |
+
this.$el.addClass(this.get('class'));
|
579 |
+
}
|
580 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
581 |
},
|
582 |
|
583 |
+
setupWrapper: function() {
|
584 |
+
if (!this.$wrapper().length) {
|
585 |
+
this.$el.wrapInner('<div class="acfe-modal-wrapper" />');
|
586 |
+
}
|
587 |
},
|
588 |
|
589 |
+
setupTitle: function() {
|
590 |
+
if (this.get('title')) {
|
|
|
591 |
|
592 |
+
if (!this.$title().length) {
|
593 |
+
this.$wrapper().prepend('<div class="acfe-modal-title"><span class="title"></span><button class="close"></button></div>');
|
594 |
+
}
|
595 |
|
596 |
+
if (typeof this.get('title') === 'function') {
|
597 |
+
this.$title(this.get('title').apply(this));
|
598 |
+
} else {
|
599 |
+
this.$title(this.get('title'));
|
600 |
+
}
|
601 |
+
}
|
602 |
},
|
603 |
|
604 |
+
setupContent: function() {
|
605 |
+
if (!this.$content().length) {
|
606 |
+
this.$wrapper().wrapInner('<div class="acfe-modal-content" />');
|
607 |
+
}
|
608 |
|
609 |
+
if (this.get('content')) {
|
610 |
|
611 |
+
if (typeof this.get('content') === 'function') {
|
612 |
+
this.$content(this.get('content').apply(this));
|
613 |
+
} else {
|
614 |
+
this.$content(this.get('content'));
|
615 |
+
}
|
616 |
+
}
|
617 |
},
|
618 |
|
619 |
+
setupFooter: function() {
|
|
|
|
|
|
|
|
|
|
|
620 |
|
621 |
+
if (this.get('footer')) {
|
|
|
|
|
|
|
622 |
|
623 |
+
if (!this.$footer().length) {
|
624 |
+
this.$wrapper().append('<div class="acfe-modal-footer" />');
|
625 |
+
}
|
626 |
|
627 |
+
if (typeof this.get('footer') === 'function') {
|
628 |
+
this.$footer(this.get('footer').apply(this));
|
629 |
+
} else {
|
630 |
+
this.$footer('<button class="button button-primary close">' + this.get('footer') + '</button>');
|
631 |
+
}
|
632 |
|
|
|
|
|
|
|
633 |
}
|
634 |
|
635 |
+
},
|
|
|
636 |
|
637 |
+
setupOverlay: function() {
|
638 |
+
if (!this.$overlay().length) {
|
639 |
+
this.$wrapper().prepend('<div class="acfe-modal-wrapper-overlay" />');
|
640 |
}
|
641 |
+
},
|
642 |
|
643 |
+
setupTinymce: function() {
|
|
|
644 |
|
645 |
+
// hide TinyMCE dropdown when scroll modal (fix position issues)
|
646 |
+
if (typeof tinymce !== 'undefined' && acf.isset(tinymce, 'ui', 'FloatPanel')) {
|
647 |
+
this.$content().off('scroll.tinymcePanel').on('scroll.tinymcePanel', function(e) {
|
648 |
tinymce.ui.FloatPanel.hideAll();
|
649 |
});
|
|
|
650 |
}
|
651 |
|
652 |
},
|
653 |
|
654 |
+
setupFields: function() {
|
|
|
|
|
|
|
|
|
|
|
|
|
655 |
|
656 |
+
// get subfields
|
657 |
var getSubFields = acf.getFields({
|
658 |
parent: this.$el,
|
659 |
visible: true,
|
660 |
});
|
661 |
|
662 |
+
// show subfields
|
663 |
getSubFields.map(function(field) {
|
664 |
acf.doAction('show_field', field, 'group');
|
665 |
}, this);
|
666 |
|
667 |
+
},
|
668 |
|
669 |
+
render: function() {
|
670 |
|
671 |
+
// setup
|
672 |
+
this.setupClass();
|
673 |
+
this.setupWrapper();
|
674 |
+
this.setupContent();
|
675 |
+
this.setupTitle();
|
676 |
+
this.setupFooter();
|
677 |
+
this.setupOverlay();
|
678 |
+
this.setupTinymce();
|
679 |
|
680 |
+
},
|
681 |
|
682 |
+
open: function() {
|
|
|
|
|
683 |
|
684 |
+
// add class
|
685 |
+
this.$el.addClass('-open');
|
686 |
|
687 |
+
// push to popus storage
|
688 |
+
modalManager.addPopup(this);
|
689 |
|
690 |
+
// action
|
691 |
+
acf.doAction('acfe/modal/open', this);
|
692 |
|
693 |
+
// function
|
694 |
+
this.get('onOpen').apply(this);
|
695 |
|
696 |
+
// event
|
697 |
+
this.trigger('open');
|
698 |
|
699 |
+
// setup fields
|
700 |
+
this.setupFields();
|
|
|
701 |
|
702 |
},
|
703 |
|
704 |
+
close: function() {
|
705 |
|
706 |
+
// remove style & class
|
707 |
+
this.$el.removeAttr('style');
|
708 |
+
this.$el.removeClass('-open');
|
709 |
|
710 |
+
modalManager.removePopup(this);
|
711 |
|
712 |
+
// action
|
713 |
+
acf.doAction('acfe/modal/close', this);
|
714 |
|
715 |
+
// function
|
716 |
+
this.get('onClose').apply(this);
|
717 |
|
718 |
+
// event
|
719 |
+
this.trigger('close');
|
720 |
+
|
721 |
+
// destroy
|
722 |
+
if (this.get('destroy')) {
|
723 |
+
this.remove();
|
724 |
}
|
725 |
|
726 |
+
},
|
727 |
+
|
728 |
+
onClickClose: function(e, $el) {
|
729 |
+
|
730 |
+
e.preventDefault();
|
731 |
+
this.close();
|
732 |
|
733 |
}
|
734 |
|
737 |
/**
|
738 |
* Popup: Close
|
739 |
*/
|
740 |
+
acfe.closePopup = function(instance) {
|
741 |
|
742 |
+
// close last popup
|
743 |
+
if (instance === undefined) {
|
744 |
+
return modalManager.closeLastPopup();
|
745 |
}
|
746 |
|
747 |
+
var popup;
|
748 |
|
749 |
+
// jQuery element
|
750 |
+
if (instance instanceof jQuery) {
|
751 |
|
752 |
+
popup = acfe.getPopup(instance);
|
753 |
+
if (popup) {
|
754 |
+
popup.close();
|
755 |
+
}
|
756 |
|
757 |
+
// jQuery selector
|
758 |
+
} else if (typeof instance === 'string') {
|
759 |
|
760 |
+
instance = $(instance);
|
761 |
+
popup = acfe.getPopup(instance);
|
762 |
+
if (popup) {
|
763 |
+
popup.close();
|
764 |
+
}
|
765 |
|
766 |
+
// ACF instance
|
767 |
+
} else {
|
768 |
|
769 |
+
if (typeof instance.close === 'function') {
|
770 |
+
instance.close();
|
771 |
+
}
|
772 |
|
773 |
+
}
|
774 |
|
775 |
+
};
|
|
|
776 |
|
777 |
+
var modalManager = new acf.Model({
|
778 |
|
779 |
+
popups: [],
|
780 |
|
781 |
+
events: {
|
782 |
+
'click .acfe-modal-overlay': 'onClick',
|
783 |
+
'keydown': 'onKeydown',
|
784 |
+
},
|
785 |
|
786 |
+
onClick: function(e) {
|
|
|
|
|
787 |
|
788 |
+
e.preventDefault();
|
789 |
+
this.closeLastPopup();
|
790 |
|
791 |
+
},
|
792 |
|
793 |
+
onKeydown: function(e) {
|
794 |
+
if (e.keyCode === 27 && $('body').hasClass('acfe-modal-opened')) {
|
795 |
+
e.preventDefault();
|
796 |
+
this.closeLastPopup();
|
797 |
+
}
|
798 |
+
},
|
799 |
|
800 |
+
addPopup: function(instance) {
|
|
|
801 |
|
802 |
+
this.popups.push(instance);
|
803 |
+
this.syncPopups();
|
804 |
|
805 |
+
if (!$('body').hasClass('acfe-modal-opened')) {
|
806 |
+
$('body').addClass('acfe-modal-opened').append($('<div class="acfe-modal-overlay" />'));
|
807 |
+
}
|
808 |
+
|
809 |
+
},
|
810 |
|
811 |
+
removePopup: function(instance) {
|
812 |
|
813 |
+
this.popups = this.popups.filter(function(popup) {
|
814 |
+
return popup.cid !== instance.cid;
|
815 |
+
}, this);
|
816 |
|
817 |
+
this.syncPopups();
|
|
|
818 |
|
819 |
+
if (!this.popups.length) {
|
820 |
+
$('.acfe-modal-overlay').remove();
|
821 |
+
$('body').removeClass('acfe-modal-opened');
|
822 |
+
}
|
823 |
|
824 |
+
},
|
|
|
825 |
|
826 |
+
closeLastPopup: function() {
|
827 |
+
if (this.popups.length) {
|
828 |
+
this.popups[this.popups.length - 1].close();
|
829 |
+
}
|
830 |
},
|
831 |
|
832 |
+
syncPopups: function() {
|
|
|
|
|
833 |
|
834 |
+
// multiple popups: add css margin
|
835 |
+
this.popups.map(function(popup, i) {
|
836 |
+
|
837 |
+
// last popup
|
838 |
+
if (i === this.popups.length - 1) {
|
839 |
+
return popup.$el.removeClass('acfe-modal-sub').css('margin-left', '');
|
840 |
+
}
|
841 |
+
|
842 |
+
// other popups
|
843 |
+
popup.$el.addClass('acfe-modal-sub').css('margin-left', -(500 / (i + 1)));
|
844 |
+
|
845 |
+
}, this);
|
846 |
+
|
847 |
+
},
|
848 |
+
|
849 |
+
});
|
850 |
|
851 |
// Allow open modal in HTML
|
852 |
new acf.Model({
|
865 |
// vars
|
866 |
var target = $el.attr('data-acfe-modal') || false;
|
867 |
var size = $el.attr('data-acfe-modal-size') || 'medium';
|
868 |
+
var title = $el.attr('data-acfe-modal-title') || '';
|
869 |
+
var footer = $el.attr('data-acfe-modal-footer') || '';
|
870 |
|
871 |
// find next modal div
|
872 |
if (!target) {
|
879 |
target = $('.acfe-modal[data-acfe-modal=' + target + ']');
|
880 |
}
|
881 |
|
882 |
+
if (target.length) {
|
|
|
|
|
|
|
|
|
|
|
|
|
883 |
|
884 |
+
new acfe.Popup(target, {
|
885 |
+
size: size,
|
886 |
+
title: title,
|
887 |
+
footer: footer,
|
888 |
+
});
|
889 |
|
|
|
|
|
890 |
}
|
891 |
|
|
|
|
|
892 |
},
|
893 |
|
894 |
});
|
901 |
}
|
902 |
|
903 |
/**
|
904 |
+
* acf.Model.get()
|
905 |
+
*
|
906 |
+
* @param name
|
907 |
+
* @param def
|
908 |
+
* @returns {*|null}
|
909 |
*/
|
910 |
+
acf.Model.prototype.get = function(name, def = null) {
|
911 |
+
return this.data[name] || def;
|
912 |
+
};
|
913 |
|
914 |
+
/**
|
915 |
+
* acf.get()
|
916 |
+
*
|
917 |
+
* @param name
|
918 |
+
* @param def
|
919 |
+
* @returns {*|null}
|
920 |
+
*/
|
921 |
+
acf.get = function(name, def = null) {
|
922 |
+
return this.data[name] || def;
|
923 |
+
};
|
924 |
|
925 |
+
})(jQuery);
|
926 |
+
(function($) {
|
|
|
927 |
|
928 |
+
if (typeof acf === 'undefined' || typeof acfe === 'undefined') {
|
929 |
+
return;
|
930 |
+
}
|
931 |
|
932 |
+
/**
|
933 |
+
* acf helpers
|
934 |
+
*
|
935 |
+
* acf.strReplace()
|
936 |
+
* acf.strCamelCase()
|
937 |
+
* acf.strPascalCase()
|
938 |
+
* acf.strSlugify()
|
939 |
+
* acf.strSanitize()
|
940 |
+
* acf.strMatch()
|
941 |
+
*/
|
942 |
|
|
|
|
|
|
|
|
|
|
|
943 |
|
944 |
+
/**
|
945 |
+
* acfe.getString
|
946 |
+
*
|
947 |
+
* Parse value as string, also allows integer 0
|
948 |
+
*
|
949 |
+
* @param val
|
950 |
+
* @returns {string|string}
|
951 |
+
*/
|
952 |
+
acfe.getString = function(val) {
|
953 |
|
954 |
+
if (acf.isObject(val)) {
|
955 |
+
return JSON.stringify(val);
|
956 |
+
}
|
957 |
+
|
958 |
+
return !acfe.isEmpty(val) ? '' + val : '';
|
959 |
+
};
|
960 |
+
|
961 |
+
|
962 |
+
/**
|
963 |
+
* acfe.getTextNode
|
964 |
+
*
|
965 |
+
* @param $selector
|
966 |
+
* @returns {*}
|
967 |
+
*/
|
968 |
+
acfe.getTextNode = function($selector) {
|
969 |
+
|
970 |
+
if ($selector.exists()) {
|
971 |
+
for (row of $selector.contents()) {
|
972 |
+
|
973 |
+
var text = $.trim($(row).text());
|
974 |
+
if (text) {
|
975 |
+
return text;
|
976 |
+
}
|
977 |
+
|
978 |
+
}
|
979 |
+
}
|
980 |
+
|
981 |
+
return '';
|
982 |
+
|
983 |
+
};
|
984 |
+
|
985 |
+
|
986 |
+
/**
|
987 |
+
*
|
988 |
+
* @param string
|
989 |
+
* @returns {string}
|
990 |
+
*/
|
991 |
+
acfe.ucFirst = function(string) {
|
992 |
+
return string.charAt(0).toUpperCase() + string.slice(1);
|
993 |
+
};
|
994 |
+
|
995 |
+
})(jQuery);
|
996 |
+
(function($) {
|
997 |
+
|
998 |
+
if (typeof acf === 'undefined' || typeof acfe === 'undefined') {
|
999 |
+
return;
|
1000 |
+
}
|
1001 |
+
|
1002 |
+
/**
|
1003 |
+
* Tooltip
|
1004 |
+
*/
|
1005 |
+
var tooltip = new acf.Model({
|
1006 |
+
|
1007 |
+
tooltips: {},
|
1008 |
+
|
1009 |
+
events: {
|
1010 |
+
'click .acfe-field-tooltip': 'clickTooltip',
|
1011 |
+
},
|
1012 |
+
|
1013 |
+
clickTooltip: function(e, $el) {
|
1014 |
+
|
1015 |
+
// title
|
1016 |
+
var title = $el.attr('title');
|
1017 |
+
if (!title) {
|
1018 |
+
return;
|
1019 |
+
}
|
1020 |
+
|
1021 |
+
// get field
|
1022 |
+
var field = acf.getClosestField($el);
|
1023 |
+
if (!field) {
|
1024 |
+
return;
|
1025 |
+
}
|
1026 |
+
|
1027 |
+
// clear title to avoid default browser tooltip
|
1028 |
+
$el.attr('title', '');
|
1029 |
+
|
1030 |
+
// open
|
1031 |
if (!this.tooltips[field.cid]) {
|
1032 |
|
1033 |
this.tooltips[field.cid] = acf.newTooltip({
|
1060 |
|
1061 |
});
|
1062 |
|
1063 |
+
})(jQuery);
|
1064 |
+
(function($) {
|
1065 |
+
|
1066 |
+
if (typeof acf === 'undefined' || typeof acfe === 'undefined') {
|
1067 |
+
return;
|
1068 |
+
}
|
1069 |
+
|
1070 |
+
/**
|
1071 |
+
* acf helpers
|
1072 |
+
*
|
1073 |
+
* acf.isNumeric()
|
1074 |
+
* acf.isArray()
|
1075 |
+
* acf.isObject()
|
1076 |
+
*/
|
1077 |
+
|
1078 |
+
|
1079 |
+
/**
|
1080 |
+
* acfe.isString
|
1081 |
+
*
|
1082 |
+
* @param a
|
1083 |
+
* @returns {boolean}
|
1084 |
+
*/
|
1085 |
+
acfe.isString = function(a) {
|
1086 |
+
return typeof a === 'string';
|
1087 |
+
}
|
1088 |
+
|
1089 |
+
|
1090 |
+
/**
|
1091 |
+
* acfe.isUndefined
|
1092 |
+
*
|
1093 |
+
* @param a
|
1094 |
+
* @returns {boolean}
|
1095 |
+
*/
|
1096 |
+
acfe.isUndefined = function(a) {
|
1097 |
+
return typeof a === 'undefined';
|
1098 |
+
}
|
1099 |
+
|
1100 |
+
|
1101 |
+
/**
|
1102 |
+
* acfe.isFunction
|
1103 |
+
*
|
1104 |
+
* @param a
|
1105 |
+
* @returns {boolean}
|
1106 |
+
*/
|
1107 |
+
acfe.isFunction = function(a) {
|
1108 |
+
return typeof a === 'function';
|
1109 |
+
}
|
1110 |
+
|
1111 |
+
|
1112 |
+
/**
|
1113 |
+
* acfe.isBool
|
1114 |
+
*
|
1115 |
+
* @param a
|
1116 |
+
* @returns {boolean}
|
1117 |
+
*/
|
1118 |
+
acfe.isBool = function(a) {
|
1119 |
+
return typeof a === 'boolean';
|
1120 |
+
}
|
1121 |
+
|
1122 |
+
|
1123 |
+
/**
|
1124 |
+
* acfe.isInt
|
1125 |
+
*
|
1126 |
+
* @param a
|
1127 |
+
* @returns {boolean}
|
1128 |
+
*/
|
1129 |
+
acfe.isInt = function(a) {
|
1130 |
+
return Number.isInteger(a);
|
1131 |
+
}
|
1132 |
+
|
1133 |
+
|
1134 |
+
/**
|
1135 |
+
* acfe.isJquery
|
1136 |
+
*
|
1137 |
+
* @param $a
|
1138 |
+
* @returns {boolean}
|
1139 |
+
*/
|
1140 |
+
acfe.isJquery = function($a) {
|
1141 |
+
return $a instanceof jQuery
|
1142 |
+
}
|
1143 |
+
|
1144 |
+
|
1145 |
+
/**
|
1146 |
+
* acfe.isEmpty
|
1147 |
+
*
|
1148 |
+
* Allows integer 0 to be used
|
1149 |
+
*
|
1150 |
+
* @param val
|
1151 |
+
* @returns {boolean}
|
1152 |
+
*/
|
1153 |
+
acfe.isEmpty = function(val) {
|
1154 |
+
|
1155 |
+
// array
|
1156 |
+
if (acf.isArray(val)) {
|
1157 |
+
return !val.length;
|
1158 |
+
|
1159 |
+
// object
|
1160 |
+
} else if (acf.isObject(val)) {
|
1161 |
+
return val && Object.keys(val).length === 0 && Object.getPrototypeOf(val) === Object.prototype
|
1162 |
+
|
1163 |
+
// string
|
1164 |
+
} else if (acfe.isString(val)) {
|
1165 |
+
return !val.length;
|
1166 |
+
|
1167 |
+
}
|
1168 |
+
|
1169 |
+
// integer 0
|
1170 |
+
return !val && !acf.isNumeric(val);
|
1171 |
+
|
1172 |
+
};
|
1173 |
+
|
1174 |
+
})(jQuery);
|
1175 |
+
(function($) {
|
1176 |
+
|
1177 |
+
if (typeof acf === 'undefined' || typeof acfe === 'undefined') {
|
1178 |
+
return;
|
1179 |
+
}
|
1180 |
+
|
1181 |
+
/**
|
1182 |
+
* acfe.slugify
|
1183 |
+
*
|
1184 |
+
* @param str
|
1185 |
+
* @returns {string}
|
1186 |
+
*/
|
1187 |
+
acfe.slugify = function(str) {
|
1188 |
+
return str.replace(/[\s\./]+/g, '-').replace(/[^\p{L}\p{N}_-]+/gu, '').replace(/-+$/, '').toLowerCase();
|
1189 |
+
}
|
1190 |
+
|
1191 |
+
/**
|
1192 |
+
* acfe.addQueryArgs
|
1193 |
+
*
|
1194 |
+
* @returns {string|any|string}
|
1195 |
+
*/
|
1196 |
+
acfe.addQueryArgs = function() {
|
1197 |
+
|
1198 |
+
let url = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';
|
1199 |
+
let args = arguments.length > 1 ? arguments[1] : undefined;
|
1200 |
+
|
1201 |
+
// If no arguments are to be appended, return original URL.
|
1202 |
+
if (!args || !Object.keys(args).length) {
|
1203 |
+
return url;
|
1204 |
+
}
|
1205 |
+
|
1206 |
+
let baseUrl = url; // Determine whether URL already had query arguments.
|
1207 |
+
|
1208 |
+
const queryStringIndex = url.indexOf('?');
|
1209 |
+
|
1210 |
+
if (queryStringIndex !== -1) {
|
1211 |
+
// Merge into existing query arguments.
|
1212 |
+
args = Object.assign(acfe.getQueryArgs(url), args); // Change working base URL to omit previous query arguments.
|
1213 |
+
|
1214 |
+
baseUrl = baseUrl.substr(0, queryStringIndex);
|
1215 |
+
}
|
1216 |
+
|
1217 |
+
return baseUrl + '?' + buildQueryString(args);
|
1218 |
+
|
1219 |
+
};
|
1220 |
+
|
1221 |
+
|
1222 |
+
/**
|
1223 |
+
* acfe.getQueryArgs
|
1224 |
+
*
|
1225 |
+
* @param url
|
1226 |
+
* @returns {string}
|
1227 |
+
*/
|
1228 |
+
acfe.getQueryArgs = function(url) {
|
1229 |
+
|
1230 |
+
return (getQueryString(url) || '' // Normalize space encoding, accounting for PHP URL encoding
|
1231 |
+
// corresponding to `application/x-www-form-urlencoded`.
|
1232 |
+
//
|
1233 |
+
// See: https://tools.ietf.org/html/rfc1866#section-8.2.1
|
1234 |
+
).replace(/\+/g, '%20').split('&').reduce((accumulator, keyValue) => {
|
1235 |
+
const [key, value = ''] = keyValue.split('=') // Filtering avoids decoding as `undefined` for value, where
|
1236 |
+
// default is restored in destructuring assignment.
|
1237 |
+
.filter(Boolean).map(decodeURIComponent);
|
1238 |
+
|
1239 |
+
if (key) {
|
1240 |
+
const segments = key.replace(/\]/g, '').split('[');
|
1241 |
+
setPath(accumulator, segments, value);
|
1242 |
+
}
|
1243 |
+
|
1244 |
+
return accumulator;
|
1245 |
+
}, Object.create(null));
|
1246 |
+
|
1247 |
+
};
|
1248 |
+
|
1249 |
+
|
1250 |
+
/**
|
1251 |
+
* acfe.getFragment
|
1252 |
+
*
|
1253 |
+
* getFragment('http://localhost:8080/this/is/a/test?query=true#fragment'); // '#fragment'
|
1254 |
+
* getFragment('https://wordpress.org#another-fragment?query=true'); // '#another-fragment'
|
1255 |
+
*
|
1256 |
+
* @param url
|
1257 |
+
* @returns {string}
|
1258 |
+
*/
|
1259 |
+
acfe.getFragment = function(url) {
|
1260 |
+
|
1261 |
+
const matches = /^\S+?(#[^\s\?]*)/.exec(url);
|
1262 |
+
|
1263 |
+
if (matches) {
|
1264 |
+
return matches[1];
|
1265 |
+
}
|
1266 |
+
|
1267 |
+
return '';
|
1268 |
+
|
1269 |
+
};
|
1270 |
+
|
1271 |
+
|
1272 |
+
/**
|
1273 |
+
* acfe.getCurrentUrl
|
1274 |
+
*
|
1275 |
+
* @returns {*}
|
1276 |
+
*/
|
1277 |
+
acfe.getCurrentUrl = function() {
|
1278 |
+
return self.location.href;
|
1279 |
+
};
|
1280 |
+
|
1281 |
+
|
1282 |
+
/**
|
1283 |
+
* acfe.getCurrentPath
|
1284 |
+
*
|
1285 |
+
* @returns {string|string|string|*}
|
1286 |
+
*/
|
1287 |
+
acfe.getCurrentPath = function() {
|
1288 |
+
return self.location.pathname;
|
1289 |
+
};
|
1290 |
+
|
1291 |
+
|
1292 |
+
/**
|
1293 |
+
* acfe.getCurrentFilename
|
1294 |
+
*
|
1295 |
+
* @returns {string}
|
1296 |
+
*/
|
1297 |
+
acfe.getCurrentFilename = function() {
|
1298 |
+
return acfe.getFilename(acfe.getCurrentPath());
|
1299 |
+
};
|
1300 |
+
|
1301 |
+
|
1302 |
+
/**
|
1303 |
+
* acfe.getFilename
|
1304 |
+
*
|
1305 |
+
* @param path
|
1306 |
+
* @returns {*}
|
1307 |
+
*/
|
1308 |
+
acfe.getFilename = function(path) {
|
1309 |
+
return path.split('/').pop();
|
1310 |
+
};
|
1311 |
+
|
1312 |
+
|
1313 |
+
/**
|
1314 |
+
* buildQueryString
|
1315 |
+
*
|
1316 |
+
* wp-includes/js/dist/url.js
|
1317 |
+
*
|
1318 |
+
* @param data
|
1319 |
+
* @returns {string}
|
1320 |
+
*/
|
1321 |
+
var buildQueryString = function(data) {
|
1322 |
+
|
1323 |
+
let string = '';
|
1324 |
+
const stack = Object.entries(data);
|
1325 |
+
let pair;
|
1326 |
+
|
1327 |
+
while (pair = stack.shift()) {
|
1328 |
+
let [key, value] = pair; // Support building deeply nested data, from array or object values.
|
1329 |
+
|
1330 |
+
const hasNestedData = Array.isArray(value) || value && value.constructor === Object;
|
1331 |
+
|
1332 |
+
if (hasNestedData) {
|
1333 |
+
// Push array or object values onto the stack as composed of their
|
1334 |
+
// original key and nested index or key, retaining order by a
|
1335 |
+
// combination of Array#reverse and Array#unshift onto the stack.
|
1336 |
+
const valuePairs = Object.entries(value).reverse();
|
1337 |
+
|
1338 |
+
for (const [member, memberValue] of valuePairs) {
|
1339 |
+
stack.unshift([`${key}[${member}]`, memberValue]);
|
1340 |
+
}
|
1341 |
+
} else if (value !== undefined) {
|
1342 |
+
// Null is treated as special case, equivalent to empty string.
|
1343 |
+
if (value === null) {
|
1344 |
+
value = '';
|
1345 |
+
}
|
1346 |
+
|
1347 |
+
string += '&' + [key, value].map(encodeURIComponent).join('=');
|
1348 |
+
}
|
1349 |
+
} // Loop will concatenate with leading `&`, but it's only expected for all
|
1350 |
+
// but the first query parameter. This strips the leading `&`, while still
|
1351 |
+
// accounting for the case that the string may in-fact be empty.
|
1352 |
+
|
1353 |
+
|
1354 |
+
return string.substr(1);
|
1355 |
+
|
1356 |
+
};
|
1357 |
+
|
1358 |
+
|
1359 |
+
/**
|
1360 |
+
* getQueryString
|
1361 |
+
*
|
1362 |
+
* wp-includes/js/dist/url.js
|
1363 |
+
*
|
1364 |
+
* @param url
|
1365 |
+
* @returns {string}
|
1366 |
+
*/
|
1367 |
+
var getQueryString = function(url) {
|
1368 |
+
let query;
|
1369 |
+
|
1370 |
+
try {
|
1371 |
+
query = new URL(url, 'http://example.com').search.substring(1);
|
1372 |
+
} catch (error) {}
|
1373 |
+
|
1374 |
+
if (query) {
|
1375 |
+
return query;
|
1376 |
+
}
|
1377 |
+
};
|
1378 |
+
|
1379 |
+
|
1380 |
+
/**
|
1381 |
+
* setPath
|
1382 |
+
*
|
1383 |
+
* wp-includes/js/dist/url.js
|
1384 |
+
*
|
1385 |
+
* @param object
|
1386 |
+
* @param path
|
1387 |
+
* @param value
|
1388 |
+
*/
|
1389 |
+
var setPath = function(object, path, value) {
|
1390 |
+
|
1391 |
+
const length = path.length;
|
1392 |
+
const lastIndex = length - 1;
|
1393 |
+
|
1394 |
+
for (let i = 0; i < length; i++) {
|
1395 |
+
let key = path[i];
|
1396 |
+
|
1397 |
+
if (!key && Array.isArray(object)) {
|
1398 |
+
// If key is empty string and next value is array, derive key from
|
1399 |
+
// the current length of the array.
|
1400 |
+
key = object.length.toString();
|
1401 |
+
}
|
1402 |
+
|
1403 |
+
key = ['__proto__', 'constructor', 'prototype'].includes(key) ? key.toUpperCase() : key; // If the next key in the path is numeric (or empty string), it will be
|
1404 |
+
// created as an array. Otherwise, it will be created as an object.
|
1405 |
+
|
1406 |
+
const isNextKeyArrayIndex = !isNaN(Number(path[i + 1]));
|
1407 |
+
object[key] = i === lastIndex ? // If at end of path, assign the intended value.
|
1408 |
+
value : // Otherwise, advance to the next object in the path, creating
|
1409 |
+
// it if it does not yet exist.
|
1410 |
+
object[key] || (isNextKeyArrayIndex ? [] : {});
|
1411 |
+
|
1412 |
+
if (Array.isArray(object[key]) && !isNextKeyArrayIndex) {
|
1413 |
+
// If we current key is non-numeric, but the next value is an
|
1414 |
+
// array, coerce the value to an object.
|
1415 |
+
object[key] = {
|
1416 |
+
...object[key]
|
1417 |
+
};
|
1418 |
+
} // Update working reference object to the next in the path.
|
1419 |
+
|
1420 |
+
|
1421 |
+
object = object[key];
|
1422 |
+
}
|
1423 |
+
|
1424 |
+
};
|
1425 |
+
|
1426 |
+
})(jQuery);
|
1427 |
+
(function($) {
|
1428 |
+
|
1429 |
+
if (typeof acf === 'undefined' || typeof acfe === 'undefined') {
|
1430 |
+
return;
|
1431 |
+
}
|
1432 |
+
|
1433 |
+
/**
|
1434 |
+
* acfe.versionCompare
|
1435 |
+
*
|
1436 |
+
* https://locutus.io/php/info/version_compare/
|
1437 |
+
*
|
1438 |
+
* @param v1
|
1439 |
+
* @param operator
|
1440 |
+
* @param v2
|
1441 |
+
* @returns {null|boolean|number}
|
1442 |
+
*/
|
1443 |
+
acfe.versionCompare = function(v1, operator, v2) {
|
1444 |
+
let i
|
1445 |
+
let x
|
1446 |
+
let compare = 0
|
1447 |
+
|
1448 |
+
const vm = {
|
1449 |
+
dev: -6,
|
1450 |
+
alpha: -5,
|
1451 |
+
a: -5,
|
1452 |
+
beta: -4,
|
1453 |
+
b: -4,
|
1454 |
+
RC: -3,
|
1455 |
+
rc: -3,
|
1456 |
+
'#': -2,
|
1457 |
+
p: 1,
|
1458 |
+
pl: 1
|
1459 |
+
}
|
1460 |
+
|
1461 |
+
const _prepVersion = function(v) {
|
1462 |
+
v = ('' + v).replace(/[_\-+]/g, '.')
|
1463 |
+
v = v.replace(/([^.\d]+)/g, '.$1.').replace(/\.{2,}/g, '.')
|
1464 |
+
return (!v.length ? [-8] : v.split('.'))
|
1465 |
+
}
|
1466 |
+
|
1467 |
+
const _numVersion = function(v) {
|
1468 |
+
return !v ? 0 : (isNaN(v) ? vm[v] || -7 : parseInt(v, 10))
|
1469 |
+
}
|
1470 |
+
v1 = _prepVersion(v1)
|
1471 |
+
v2 = _prepVersion(v2)
|
1472 |
+
x = Math.max(v1.length, v2.length)
|
1473 |
+
for (i = 0; i < x; i++) {
|
1474 |
+
if (v1[i] === v2[i]) {
|
1475 |
+
continue
|
1476 |
+
}
|
1477 |
+
v1[i] = _numVersion(v1[i])
|
1478 |
+
v2[i] = _numVersion(v2[i])
|
1479 |
+
if (v1[i] < v2[i]) {
|
1480 |
+
compare = -1
|
1481 |
+
break
|
1482 |
+
} else if (v1[i] > v2[i]) {
|
1483 |
+
compare = 1
|
1484 |
+
break
|
1485 |
+
}
|
1486 |
+
}
|
1487 |
+
if (!operator) {
|
1488 |
+
return compare
|
1489 |
+
}
|
1490 |
+
|
1491 |
+
switch (operator) {
|
1492 |
+
case '>':
|
1493 |
+
case 'gt':
|
1494 |
+
return (compare > 0)
|
1495 |
+
case '>=':
|
1496 |
+
case 'ge':
|
1497 |
+
return (compare >= 0)
|
1498 |
+
case '<=':
|
1499 |
+
case 'le':
|
1500 |
+
return (compare <= 0)
|
1501 |
+
case '===':
|
1502 |
+
case '=':
|
1503 |
+
case 'eq':
|
1504 |
+
return (compare === 0)
|
1505 |
+
case '<>':
|
1506 |
+
case '!==':
|
1507 |
+
case 'ne':
|
1508 |
+
return (compare !== 0)
|
1509 |
+
case '':
|
1510 |
+
case '<':
|
1511 |
+
case 'lt':
|
1512 |
+
return (compare < 0)
|
1513 |
+
default:
|
1514 |
+
return null
|
1515 |
+
}
|
1516 |
+
|
1517 |
+
};
|
1518 |
+
|
1519 |
})(jQuery);
|
assets/js/acfe.min.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
!function(n){var c,a;"undefined"!=typeof acf&&(acf.data.acfe={},c={},(window.acfe=c).get=function(e){return acf.data.acfe[e]||null},c.has=function(e){return null!==this.get(e)},c.set=function(e,t){return acf.data.acfe[e]=t,this},c.parseString=function(e){return e?""+e:""},c.inArray=function(e,t){return-1<(t=t.map(function(e){return c.parseString(e)})).indexOf(e)},c.getArray=function(e){return[].concat(e||[])},c.parseURL=function(e){var t={},e=(e=e||c.currentURL()).replace(/^[^\?]+\??/,"");if(!e)return t;for(var n=e.split(/[;&]/),a=0;a<n.length;a++){var i,o=n[a].split("=");o&&2===o.length&&(i=decodeURI(o[0]),o=(o=decodeURI(o[1])).replace(/\+/g," "),t[i]=o)}return t},c.currentURL=function(){return self.location.href},c.currentPath=function(){return self.location.pathname},c.currentFilename=function(){return c.currentPath().split("/").pop()},c.parentObject=function(e){return Object.getPrototypeOf(e)},c.getTextNode=function(e){var t;return e.contents().each(function(){var e=n.trim(n(this).text());if(e)return t=e,!1}),t},c.ucFirst=function(e){return e.charAt(0).toUpperCase()+e.slice(1)},c.findSubmitWrap=function(e){var t=(e=e||n("form")).find("#submitdiv");return t.length||(t=e.find("#submitpost")).length||(t=e.find("p.submit").last()).length||(t=e.find(".acf-form-submit")).length?t:e},c.findSubmit=function(e){return e=e||n("form"),this.findSubmitWrap(e).find('.button, [type="submit"]')},c.findSpinner=function(e){return e=e||n("form"),this.findSubmitWrap(e).find(".spinner, .acf-spinner")},a=[],c.disableFilters=function(){a=[]},c.getFilters=function(){return a},c.isFilterEnabled=function(e){return-1<a.indexOf(e)},c.enableFilter=function(e){-1===a.indexOf(e)&&a.push(e)},c.disableFilter=function(e){for(var t=a.length;t--;)a[t]===e&&a.splice(t,1)},c.fieldExtend=function(e,t){var n=acf.getFieldType(e);return t.parent=function(){return n.prototype},t.initialize||(t.initialize=function(){n.prototype.initialize.apply(this,arguments),t.init&&t.init.apply(this,arguments),t._events&&n.prototype.addEvents.apply(this,[t._events]),t._actions&&n.prototype.addActions.apply(this,[t._actions]),t._filters&&n.prototype.addFilters.apply(this,[t._filters])}),n.extend(t)},c.isFieldKey=function(e){return"string"==typeof e&&"field_"===e.substr(0,6)},c.isGroupKey=function(e){return"string"==typeof e&&"group_"===e.substr(0,6)},c.versionCompare=function(e,t,n){let a;var i;let o=0;const c={dev:-6,alpha:-5,a:-5,beta:-4,b:-4,RC:-3,rc:-3,"#":-2,p:1,pl:1};function r(e){return(e=(e=(""+e).replace(/[_\-+]/g,".")).replace(/([^.\d]+)/g,".$1.").replace(/\.{2,}/g,".")).length?e.split("."):[-8]}function s(e){return e?isNaN(e)?c[e]||-7:parseInt(e,10):0}for(e=r(e),n=r(n),i=Math.max(e.length,n.length),a=0;a<i;a++)if(e[a]!==n[a]){if(e[a]=s(e[a]),n[a]=s(n[a]),e[a]<n[a]){o=-1;break}if(e[a]>n[a]){o=1;break}}if(!t)return o;switch(t){case">":case"gt":return 0<o;case">=":case"ge":return 0<=o;case"<=":case"le":return o<=0;case"===":case"=":case"eq":return 0===o;case"<>":case"!==":case"ne":return 0!==o;case"":case"<":case"lt":return o<0;default:return null}})}(jQuery),function(o){var n;"undefined"!=typeof acf&&"undefined"!=typeof acfe&&(acfe.Popup=acf.Model.extend({data:{title:!(n=[]),footer:!1,size:!1,destroy:!1,onOpen:function(){},onClose:function(){}},events:{"click .acfe-modal-title>.close":"onClickClose","click .acfe-modal-footer>button":"onClickClose"},setup:function(e,t){o.extend(this.data,t),this.$el=e,this.render()},initialize:function(){this.open()},render:function(){this.get("size")&&this.$el.addClass("-"+this.get("size")),this.$("> .acfe-modal-wrapper").length||this.$el.wrapInner('<div class="acfe-modal-wrapper" />');var e=this.$("> .acfe-modal-wrapper");e.find("> .acfe-modal-content").length||e.wrapInner('<div class="acfe-modal-content" />'),this.get("title")&&e.prepend('<div class="acfe-modal-title"><span class="title">'+this.get("title")+'</span><button class="close"></button></div>'),e.prepend('<div class="acfe-modal-wrapper-overlay"></div>'),this.get("footer")&&e.append('<div class="acfe-modal-footer"><button class="button button-primary">'+this.get("footer")+"</button></div>"),"undefined"!=typeof tinymce&&acf.isset(tinymce,"ui","FloatPanel")&&e.find(".acfe-modal-content").off("scroll.tinymcePanel").on("scroll.tinymcePanel",function(e){tinymce.ui.FloatPanel.hideAll()})},open:function(){this.$el.addClass("-open"),n.push(this),acfe.syncPopup(),acf.getFields({parent:this.$el,visible:!0}).map(function(e){acf.doAction("show_field",e,"group")},this),acf.doAction("acfe/modal/open",this.$el,this.data),this.get("onOpen").apply(this.$el)},close:function(){this.$(".acfe-modal-wrapper-overlay").remove(),this.$(".acfe-modal-title").remove(),this.$(".acfe-modal-footer").remove(),this.$el.removeAttr("style"),this.$el.removeClass("-open"),acfe.syncPopup(),acf.doAction("acfe/modal/close",this.$el,this.data),this.get("onClose").apply(this.$el),this.remove(),this.get("destroy")&&this.$el.remove()},remove:function(){this.removeEvents(),this.removeActions(),this.removeFilters()},onClickClose:function(e){if(e.preventDefault(),!n.length)return!1;n.pop().close()}}),acfe.closePopup=function(){if(!n.length)return!1;n.pop().close()},acfe.syncPopup=function(){var e=o("body");n.length?(e.hasClass("acfe-modal-opened")||(e.addClass("acfe-modal-opened").append(o('<div class="acfe-modal-overlay" />')),o(".acfe-modal-overlay").on("click",function(e){e.preventDefault(),acfe.closePopup()})),n.map(function(e,t){return t===n.length-1?e.$el.removeClass("acfe-modal-sub").css("margin-left",""):void e.$el.addClass("acfe-modal-sub").css("margin-left",-500/(t+1))})):(o(".acfe-modal-overlay").remove(),e.removeClass("acfe-modal-opened"))},o(window).on("keydown",function(e){27===e.keyCode&&o("body").hasClass("acfe-modal-opened")&&(e.preventDefault(),acfe.closePopup())}),acfe.modal={open:function(e,t){new acfe.Popup(e,t)},close:function(){acfe.closePopup()}},new acf.Model({events:{"click a[data-acfe-modal]":"onClick","click button[data-acfe-modal]":"onClick","click input[data-acfe-modal]":"onClick"},onClick:function(e,t){e.preventDefault();var n=t.attr("data-acfe-modal")||!1,a=t.attr("data-acfe-modal-size")||"medium",i=t.attr("data-acfe-modal-title")||!1,e=t.attr("data-acfe-modal-footer")||!1;(n=!((n=n||t.parent().find(".acfe-modal").first())instanceof jQuery)?o(".acfe-modal[data-acfe-modal="+n+"]"):n).length&&(a={size:a},i&&(a.title=i),e&&(a.footer=e),new acfe.Popup(n,a))}}))}(jQuery),jQuery,"undefined"!=typeof acf&&"undefined"!=typeof acfe&&new acf.Model({tooltips:{},events:{"click .acfe-field-tooltip":"clickTooltip"},clickTooltip:function(e,t){var n,a=t.attr("title");!a||(n=acf.getClosestField(t))&&(t.attr("title",""),this.tooltips[n.cid]?(this.tooltips[n.cid].hide(),t.attr("title",this.tooltips[n.cid].get("text")),this.tooltips[n.cid]=!1,acfe.versionCompare(acf.get("wp_version"),">=","5.5")&&t.removeClass("dashicons-remove").addClass("dashicons-info-outline")):(this.tooltips[n.cid]=acf.newTooltip({text:a,target:t}),acfe.versionCompare(acf.get("wp_version"),">=","5.5")&&t.removeClass("dashicons-info-outline").addClass("dashicons-remove")))}});
|
1 |
+
jQuery,"undefined"!=typeof acf&&(window.acfe={}),jQuery,"undefined"!=typeof acf&&"undefined"!=typeof acfe&&(acfe.getArray=function(e){return[].concat((e=0!==e?e:"0")||[])},acfe.inArray=function(e,t,n=!1){n||(e=acfe.getString(e),t=t.map(function(e){return acfe.getString(e)}));for(var i=0;i<t.length;i++)if(t[i]===e)return!0;return!1},acfe.arrayGet=function(e,t="",n=null){t=acfe.isEmpty(t)?"":t,t=Number.isInteger(t)?acfe.getArray(t):t.split(".");for(var i=0;i<t.length;i++){if(!e||!e.hasOwnProperty(t[i]))return n;e=e[t[i]]}return e}),jQuery,"undefined"!=typeof acf&&"undefined"!=typeof acfe&&(acf.data.acfe={},acfe.get=function(e,t=null){return acf.data.acfe[e]||t},acfe.has=function(e){return null!=this.get(e)},acfe.set=function(e,t){return acf.data.acfe[e]=t,this}),jQuery,"undefined"!=typeof acf&&"undefined"!=typeof acfe&&(acfe.isFieldKey=function(e){return acfe.isString(e)&&e.startsWith("field_")},acfe.isFieldName=function(e){return acfe.isString(e)&&!acfe.isFieldKey(e)},acfe.isGroupKey=function(e){return acfe.isString(e)&&e.startsWith("group_")},acfe.getField=function(e){return acfe.isFieldName(e)?acf.getFields({name:e,limit:1,suppressFilters:!0}).shift():acf.isObject(e)?(e=acf.parseArgs(e,{limit:1,suppressFilters:!0}),acf.getFields(e).shift()):acf.getField(e)},acf.addFilter("find_fields_selector",function(e,t){if(t.types&&t.types.length&&acf.isArray(t.types)){var n,i=[];for(n of t.types)i.push(e+'[data-type="'+n+'"]');e=i.join(",")}return e})),function(){var n;"undefined"!=typeof acf&&"undefined"!=typeof acfe&&(n=[],acfe.disableFilters=function(){n=[]},acfe.getFilters=function(){return n},acfe.isFilterEnabled=function(e){return-1<n.indexOf(e)},acfe.enableFilter=function(e){-1===n.indexOf(e)&&n.push(e)},acfe.disableFilter=function(e){for(var t=n.length;t--;)n[t]===e&&n.splice(t,1)})}(jQuery),function(n){"undefined"!=typeof acf&&"undefined"!=typeof acfe&&(acfe.findSubmitWrap=function(e){var t;return(t=(e=e||n("form")).find("#submitdiv")).length||(t=e.find("#submitpost")).length||(t=e.find("p.submit").last()).length||(t=e.find(".acf-form-submit")).length?t:e},acfe.findSubmit=function(e){return e=e||n("form"),this.findSubmitWrap(e).find('.button, [type="submit"]')},acfe.findSpinner=function(e){return e=e||n("form"),this.findSubmitWrap(e).find(".spinner, .acf-spinner")})}(jQuery),function(o){var n;"undefined"!=typeof acf&&"undefined"!=typeof acfe&&(acfe.getPopup=function(e){return acf.getInstance(e)},acfe.getPopups=function(){return acf.getInstances(o(".acfe-modal"))},acfe.newPopup=function(e,t){return new acfe.Popup(e,t)},acfe.Popup=acf.Model.extend({data:{title:"",content:"",footer:"",class:"",size:"",autoOpen:!0,destroy:!1,events:{},onOpen:function(){},onClose:function(){}},events:{"click >.acfe-modal-wrapper>.acfe-modal-title>.close":"onClickClose","click >.acfe-modal-wrapper>.acfe-modal-footer>.close":"onClickClose"},setup:function(e,t){t?(e instanceof jQuery||(e=o(e)),this.$el=e):(t=e,this.$el=o('<div class="acfe-modal"><div class="acfe-modal-wrapper"><div class="acfe-modal-content"></div></div></div>').appendTo("body")),o.extend(this.data,t),this.render()},initialize:function(){this.addUnscopedEvents(),this.get("autoOpen")&&this.open()},addUnscopedEvents:function(){if(this.get("events")){var e,t=this.get("events"),n=/^(\S+)\s*(.*)$/;for(e in t){var i,a=e.match(n),o=(i=a[2]?(s=a[1],a[2]):(s=a[1],""),t[e]),s=s+"."+this.cid;o=this.proxyEvent(this.get(o)),(a=this.$el).on.apply(a,i?[s,i,o]:[s,o])}}},$wrapper:function(){return this.$("> .acfe-modal-wrapper")},$title:function(e){return void 0!==e?this.$wrapper().find("> .acfe-modal-title > .title").html(e):this.$wrapper().find("> .acfe-modal-title")},$content:function(e){return void 0!==e?this.$(".acfe-modal-content").html(e):this.$wrapper().find("> .acfe-modal-content")},$footer:function(e){return void 0!==e?this.$wrapper().find("> .acfe-modal-footer").html(e):this.$wrapper().find("> .acfe-modal-footer")},$overlay:function(){return this.$wrapper().find("> .acfe-modal-wrapper-overlay")},setupClass:function(){this.get("size")&&this.$el.addClass("-"+this.get("size")),this.get("class")&&this.$el.addClass(this.get("class"))},setupWrapper:function(){this.$wrapper().length||this.$el.wrapInner('<div class="acfe-modal-wrapper" />')},setupTitle:function(){this.get("title")&&(this.$title().length||this.$wrapper().prepend('<div class="acfe-modal-title"><span class="title"></span><button class="close"></button></div>'),"function"==typeof this.get("title")?this.$title(this.get("title").apply(this)):this.$title(this.get("title")))},setupContent:function(){this.$content().length||this.$wrapper().wrapInner('<div class="acfe-modal-content" />'),this.get("content")&&("function"==typeof this.get("content")?this.$content(this.get("content").apply(this)):this.$content(this.get("content")))},setupFooter:function(){this.get("footer")&&(this.$footer().length||this.$wrapper().append('<div class="acfe-modal-footer" />'),"function"==typeof this.get("footer")?this.$footer(this.get("footer").apply(this)):this.$footer('<button class="button button-primary close">'+this.get("footer")+"</button>"))},setupOverlay:function(){this.$overlay().length||this.$wrapper().prepend('<div class="acfe-modal-wrapper-overlay" />')},setupTinymce:function(){"undefined"!=typeof tinymce&&acf.isset(tinymce,"ui","FloatPanel")&&this.$content().off("scroll.tinymcePanel").on("scroll.tinymcePanel",function(e){tinymce.ui.FloatPanel.hideAll()})},setupFields:function(){acf.getFields({parent:this.$el,visible:!0}).map(function(e){acf.doAction("show_field",e,"group")},this)},render:function(){this.setupClass(),this.setupWrapper(),this.setupContent(),this.setupTitle(),this.setupFooter(),this.setupOverlay(),this.setupTinymce()},open:function(){this.$el.addClass("-open"),n.addPopup(this),acf.doAction("acfe/modal/open",this),this.get("onOpen").apply(this),this.trigger("open"),this.setupFields()},close:function(){this.$el.removeAttr("style"),this.$el.removeClass("-open"),n.removePopup(this),acf.doAction("acfe/modal/close",this),this.get("onClose").apply(this),this.trigger("close"),this.get("destroy")&&this.remove()},onClickClose:function(e,t){e.preventDefault(),this.close()}}),acfe.closePopup=function(e){if(void 0===e)return n.closeLastPopup();var t;e instanceof jQuery?(t=acfe.getPopup(e))&&t.close():"string"==typeof e?(e=o(e),(t=acfe.getPopup(e))&&t.close()):"function"==typeof e.close&&e.close()},n=new acf.Model({popups:[],events:{"click .acfe-modal-overlay":"onClick",keydown:"onKeydown"},onClick:function(e){e.preventDefault(),this.closeLastPopup()},onKeydown:function(e){27===e.keyCode&&o("body").hasClass("acfe-modal-opened")&&(e.preventDefault(),this.closeLastPopup())},addPopup:function(e){this.popups.push(e),this.syncPopups(),o("body").hasClass("acfe-modal-opened")||o("body").addClass("acfe-modal-opened").append(o('<div class="acfe-modal-overlay" />'))},removePopup:function(t){this.popups=this.popups.filter(function(e){return e.cid!==t.cid},this),this.syncPopups(),this.popups.length||(o(".acfe-modal-overlay").remove(),o("body").removeClass("acfe-modal-opened"))},closeLastPopup:function(){this.popups.length&&this.popups[this.popups.length-1].close()},syncPopups:function(){this.popups.map(function(e,t){return t===this.popups.length-1?e.$el.removeClass("acfe-modal-sub").css("margin-left",""):void e.$el.addClass("acfe-modal-sub").css("margin-left",-500/(t+1))},this)}}),new acf.Model({events:{"click a[data-acfe-modal]":"onClick","click button[data-acfe-modal]":"onClick","click input[data-acfe-modal]":"onClick"},onClick:function(e,t){e.preventDefault();var n=t.attr("data-acfe-modal")||!1,i=t.attr("data-acfe-modal-size")||"medium",a=t.attr("data-acfe-modal-title")||"",e=t.attr("data-acfe-modal-footer")||"";(n=!((n=n||t.parent().find(".acfe-modal").first())instanceof jQuery)?o(".acfe-modal[data-acfe-modal="+n+"]"):n).length&&new acfe.Popup(n,{size:i,title:a,footer:e})}}))}(jQuery),jQuery,"undefined"!=typeof acf&&"undefined"!=typeof acfe&&(acf.Model.prototype.get=function(e,t=null){return this.data[e]||t},acf.get=function(e,t=null){return this.data[e]||t}),function(n){"undefined"!=typeof acf&&"undefined"!=typeof acfe&&(acfe.getString=function(e){return acf.isObject(e)?JSON.stringify(e):acfe.isEmpty(e)?"":""+e},acfe.getTextNode=function(e){if(e.exists())for(row of e.contents()){var t=n.trim(n(row).text());if(t)return t}return""},acfe.ucFirst=function(e){return e.charAt(0).toUpperCase()+e.slice(1)})}(jQuery),jQuery,"undefined"!=typeof acf&&"undefined"!=typeof acfe&&new acf.Model({tooltips:{},events:{"click .acfe-field-tooltip":"clickTooltip"},clickTooltip:function(e,t){var n,i=t.attr("title");!i||(n=acf.getClosestField(t))&&(t.attr("title",""),this.tooltips[n.cid]?(this.tooltips[n.cid].hide(),t.attr("title",this.tooltips[n.cid].get("text")),this.tooltips[n.cid]=!1,acfe.versionCompare(acf.get("wp_version"),">=","5.5")&&t.removeClass("dashicons-remove").addClass("dashicons-info-outline")):(this.tooltips[n.cid]=acf.newTooltip({text:i,target:t}),acfe.versionCompare(acf.get("wp_version"),">=","5.5")&&t.removeClass("dashicons-info-outline").addClass("dashicons-remove")))}}),jQuery,"undefined"!=typeof acf&&"undefined"!=typeof acfe&&(acfe.isString=function(e){return"string"==typeof e},acfe.isUndefined=function(e){return void 0===e},acfe.isFunction=function(e){return"function"==typeof e},acfe.isBool=function(e){return"boolean"==typeof e},acfe.isInt=function(e){return Number.isInteger(e)},acfe.isJquery=function(e){return e instanceof jQuery},acfe.isEmpty=function(e){return acf.isArray(e)?!e.length:acf.isObject(e)?e&&0===Object.keys(e).length&&Object.getPrototypeOf(e)===Object.prototype:acfe.isString(e)?!e.length:!e&&!acf.isNumeric(e)}),function(){var a,t,o;"undefined"!=typeof acf&&"undefined"!=typeof acfe&&(acfe.slugify=function(e){return e.replace(/[\s\./]+/g,"-").replace(/[^\p{L}\p{N}_-]+/gu,"").replace(/-+$/,"").toLowerCase()},acfe.addQueryArgs=function(){let e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:"",t=1<arguments.length?arguments[1]:void 0;if(!t||!Object.keys(t).length)return e;let n=e;var i=e.indexOf("?");return-1!==i&&(t=Object.assign(acfe.getQueryArgs(e),t),n=n.substr(0,i)),n+"?"+a(t)},acfe.getQueryArgs=function(e){return(t(e)||"").replace(/\+/g,"%20").split("&").reduce((e,t)=>{const[n,i=""]=t.split("=").filter(Boolean).map(decodeURIComponent);return n&&(t=n.replace(/\]/g,"").split("["),o(e,t,i)),e},Object.create(null))},acfe.getFragment=function(e){e=/^\S+?(#[^\s\?]*)/.exec(e);return e?e[1]:""},acfe.getCurrentUrl=function(){return self.location.href},acfe.getCurrentPath=function(){return self.location.pathname},acfe.getCurrentFilename=function(){return acfe.getFilename(acfe.getCurrentPath())},acfe.getFilename=function(e){return e.split("/").pop()},a=function(e){let n="";const i=Object.entries(e);for(;s=i.shift();){let[e,t]=s;var a,o,s=Array.isArray(t)||t&&t.constructor===Object;if(s)for([a,o]of Object.entries(t).reverse())i.unshift([`${e}[${a}]`,o]);else void 0!==t&&(null===t&&(t=""),n+="&"+[e,t].map(encodeURIComponent).join("="))}return n.substr(1)},t=function(e){let t;try{t=new URL(e,"http://example.com").search.substring(1)}catch(e){}if(t)return t},o=function(n,i,a){var e=i.length,o=e-1;for(let t=0;t<e;t++){let e=i[t];!e&&Array.isArray(n)&&(e=n.length.toString()),e=["__proto__","constructor","prototype"].includes(e)?e.toUpperCase():e;var s=!isNaN(Number(i[t+1]));n[e]=t===o?a:n[e]||(s?[]:{}),Array.isArray(n[e])&&!s&&(n[e]={...n[e]}),n=n[e]}})}(jQuery),jQuery,"undefined"!=typeof acf&&"undefined"!=typeof acfe&&(acfe.versionCompare=function(e,t,n){let i;var a;let o=0;const s={dev:-6,alpha:-5,a:-5,beta:-4,b:-4,RC:-3,rc:-3,"#":-2,p:1,pl:1};function c(e){return(e=(e=(""+e).replace(/[_\-+]/g,".")).replace(/([^.\d]+)/g,".$1.").replace(/\.{2,}/g,".")).length?e.split("."):[-8]}function r(e){return e?isNaN(e)?s[e]||-7:parseInt(e,10):0}for(e=c(e),n=c(n),a=Math.max(e.length,n.length),i=0;i<a;i++)if(e[i]!==n[i]){if(e[i]=r(e[i]),n[i]=r(n[i]),e[i]<n[i]){o=-1;break}if(e[i]>n[i]){o=1;break}}if(!t)return o;switch(t){case">":case"gt":return 0<o;case">=":case"ge":return 0<=o;case"<=":case"le":return o<=0;case"===":case"=":case"eq":return 0===o;case"<>":case"!==":case"ne":return 0!==o;case"":case"<":case"lt":return o<0;default:return null}});
|
includes/acfe-helper-functions.php
CHANGED
@@ -140,12 +140,30 @@ function acfe_is_json($string){
|
|
140 |
return false;
|
141 |
}
|
142 |
|
|
|
143 |
json_decode($string);
|
144 |
|
|
|
145 |
return json_last_error() == JSON_ERROR_NONE;
|
146 |
|
147 |
}
|
148 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
149 |
/**
|
150 |
* acfe_array_keys_r
|
151 |
*
|
140 |
return false;
|
141 |
}
|
142 |
|
143 |
+
// decode
|
144 |
json_decode($string);
|
145 |
|
146 |
+
// check if decode has errors
|
147 |
return json_last_error() == JSON_ERROR_NONE;
|
148 |
|
149 |
}
|
150 |
|
151 |
+
|
152 |
+
/**
|
153 |
+
* acfe_is_html
|
154 |
+
*
|
155 |
+
* Check if string is html
|
156 |
+
* https://subinsb.com/php-check-if-string-is-html/
|
157 |
+
*
|
158 |
+
* @param $string
|
159 |
+
*
|
160 |
+
* @return bool
|
161 |
+
*/
|
162 |
+
function acfe_is_html($string){
|
163 |
+
return $string !== strip_tags($string);
|
164 |
+
}
|
165 |
+
|
166 |
+
|
167 |
/**
|
168 |
* acfe_array_keys_r
|
169 |
*
|
includes/acfe-meta-functions.php
CHANGED
@@ -417,7 +417,7 @@ function acfe_get_orphan_meta($post_id = 0){
|
|
417 |
$field = $row['field'];
|
418 |
$field_group = $row['field_group'];
|
419 |
|
420 |
-
// field doesn't
|
421 |
if(!$field){
|
422 |
|
423 |
$delete[] = $row;
|
@@ -425,7 +425,7 @@ function acfe_get_orphan_meta($post_id = 0){
|
|
425 |
|
426 |
}
|
427 |
|
428 |
-
// field group doesn't
|
429 |
if(!$field_group){
|
430 |
|
431 |
$delete[] = $row;
|
417 |
$field = $row['field'];
|
418 |
$field_group = $row['field_group'];
|
419 |
|
420 |
+
// field doesn't exist
|
421 |
if(!$field){
|
422 |
|
423 |
$delete[] = $row;
|
425 |
|
426 |
}
|
427 |
|
428 |
+
// field group doesn't exist
|
429 |
if(!$field_group){
|
430 |
|
431 |
$delete[] = $row;
|
includes/acfe-screen-functions.php
CHANGED
@@ -187,17 +187,8 @@ function acfe_is_dynamic_preview(){
|
|
187 |
*/
|
188 |
function acfe_is_block_editor(){
|
189 |
|
190 |
-
// check block editor screen
|
191 |
-
|
192 |
-
return true;
|
193 |
-
}
|
194 |
-
|
195 |
-
// check if a block is currently fetched (edit mode)
|
196 |
-
if(acf_maybe_get_POST('action') === 'acf/ajax/fetch-block'){
|
197 |
-
return true;
|
198 |
-
}
|
199 |
-
|
200 |
-
return false;
|
201 |
|
202 |
}
|
203 |
|
187 |
*/
|
188 |
function acfe_is_block_editor(){
|
189 |
|
190 |
+
// check block editor screen or ajax fetch (block edit mode)
|
191 |
+
return acf_is_block_editor() || acf_maybe_get_POST('action') === 'acf/ajax/fetch-block';
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
192 |
|
193 |
}
|
194 |
|
includes/acfe-wp-functions.php
CHANGED
@@ -73,27 +73,58 @@ function acfe_get_registered_image_sizes($filter = false){
|
|
73 |
|
74 |
|
75 |
/**
|
76 |
-
*
|
77 |
*
|
78 |
-
* Remove hook from inaccessible PHP class
|
79 |
-
* https://gist.github.com/tripflex/c6518efc1753cf2392559866b4bd1a53
|
80 |
-
*
|
81 |
-
* @param $class_name
|
82 |
* @param $tag
|
83 |
-
* @param $
|
84 |
* @param $priority
|
85 |
*
|
86 |
* @return bool
|
87 |
*/
|
88 |
-
function
|
89 |
|
90 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
91 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
92 |
// Check that filter actually exists first
|
93 |
if(!isset($wp_filter[ $tag ])){
|
94 |
return false;
|
95 |
}
|
96 |
-
|
97 |
/**
|
98 |
* If filter config is an object, means we're using WordPress 4.7+ and the config is no longer
|
99 |
* a simple array, rather it is an object that implements the ArrayAccess interface.
|
@@ -102,78 +133,154 @@ function acfe_remove_class_filter($class_name = '', $tag = '', $method_name = ''
|
|
102 |
*
|
103 |
* @see https://make.wordpress.org/core/2016/09/08/wp_hook-next-generation-actions-and-filters/
|
104 |
*/
|
105 |
-
if
|
|
|
106 |
// Create $fob object from filter tag, to use below
|
107 |
$fob = $wp_filter[ $tag ];
|
108 |
$callbacks = &$wp_filter[ $tag ]->callbacks;
|
109 |
-
|
|
|
110 |
$callbacks = &$wp_filter[ $tag ];
|
111 |
}
|
112 |
-
|
113 |
// Exit if there aren't any callbacks for specified priority
|
114 |
-
if
|
115 |
return false;
|
116 |
}
|
117 |
-
|
118 |
// Loop through each filter for the specified priority, looking for our class & method
|
119 |
-
foreach
|
120 |
-
|
121 |
-
// Filter should always be an array - array(
|
122 |
-
if
|
123 |
continue;
|
124 |
}
|
125 |
-
|
126 |
// If first value in array is not an object, it can't be a class
|
127 |
-
if
|
128 |
continue;
|
129 |
}
|
130 |
-
|
131 |
// Method doesn't match the one we're looking for, goto next
|
132 |
-
if
|
133 |
continue;
|
134 |
}
|
135 |
-
|
136 |
// Method matched, now let's check the Class
|
137 |
-
if
|
138 |
-
|
139 |
// WordPress 4.7+ use core remove_filter() since we found the class object
|
140 |
-
if
|
|
|
141 |
// Handles removing filter, reseting callback priority keys mid-iteration, etc.
|
142 |
-
$fob->remove_filter(
|
|
|
|
|
143 |
|
144 |
-
} else {
|
145 |
// Use legacy removal process (pre 4.7)
|
146 |
-
unset(
|
|
|
147 |
// and if it was the only filter in that priority, unset that priority
|
148 |
-
if
|
149 |
-
unset(
|
150 |
}
|
|
|
151 |
// and if the only filter for that tag, set the tag to an empty array
|
152 |
-
if
|
153 |
$callbacks = array();
|
154 |
}
|
|
|
155 |
// Remove this filter from merged_filters, which specifies if filters have been sorted
|
156 |
-
unset(
|
|
|
157 |
}
|
158 |
-
|
159 |
return true;
|
|
|
160 |
}
|
|
|
161 |
}
|
162 |
-
|
163 |
return false;
|
|
|
164 |
}
|
165 |
|
166 |
|
167 |
/**
|
168 |
-
*
|
169 |
*
|
170 |
-
* @param $class_name
|
171 |
* @param $tag
|
172 |
-
* @param $
|
173 |
* @param $priority
|
174 |
*
|
175 |
* @return bool
|
176 |
*/
|
177 |
-
function
|
178 |
-
return
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
179 |
}
|
73 |
|
74 |
|
75 |
/**
|
76 |
+
* acfe_remove_filter
|
77 |
*
|
|
|
|
|
|
|
|
|
78 |
* @param $tag
|
79 |
+
* @param $function
|
80 |
* @param $priority
|
81 |
*
|
82 |
* @return bool
|
83 |
*/
|
84 |
+
function acfe_remove_filter($tag = '', $function = '', $priority = 10){
|
85 |
|
86 |
+
// string
|
87 |
+
if(is_string($function)){
|
88 |
+
return remove_filter($tag, $function, $priority);
|
89 |
+
}
|
90 |
+
|
91 |
+
// validate array($class, 'method')
|
92 |
+
if(!is_array($function) || !isset($function[0]) || !isset($function[1])){
|
93 |
+
return false;
|
94 |
+
}
|
95 |
|
96 |
+
// already class instance
|
97 |
+
if(is_object($function[0])){
|
98 |
+
return remove_filter($tag, $function, $priority);
|
99 |
+
}
|
100 |
+
|
101 |
+
// vars
|
102 |
+
$class = $function[0];
|
103 |
+
$method = $function[1];
|
104 |
+
|
105 |
+
// check acf instance
|
106 |
+
global $acf_instances;
|
107 |
+
|
108 |
+
if(isset($acf_instances[ $class ])){
|
109 |
+
return remove_filter($tag, array($acf_instances[ $class ], $method), $priority);
|
110 |
+
}
|
111 |
+
|
112 |
+
// check acf field types
|
113 |
+
$field_type = acf_get_field_type($class);
|
114 |
+
|
115 |
+
if($field_type){
|
116 |
+
return remove_filter($tag, array($field_type, $method), $priority);
|
117 |
+
}
|
118 |
+
|
119 |
+
// remove filter
|
120 |
+
// based on: https://gist.github.com/tripflex/c6518efc1753cf2392559866b4bd1a53
|
121 |
+
global $wp_filter;
|
122 |
+
|
123 |
// Check that filter actually exists first
|
124 |
if(!isset($wp_filter[ $tag ])){
|
125 |
return false;
|
126 |
}
|
127 |
+
|
128 |
/**
|
129 |
* If filter config is an object, means we're using WordPress 4.7+ and the config is no longer
|
130 |
* a simple array, rather it is an object that implements the ArrayAccess interface.
|
133 |
*
|
134 |
* @see https://make.wordpress.org/core/2016/09/08/wp_hook-next-generation-actions-and-filters/
|
135 |
*/
|
136 |
+
if(is_object($wp_filter[ $tag ]) && isset($wp_filter[ $tag ]->callbacks)){
|
137 |
+
|
138 |
// Create $fob object from filter tag, to use below
|
139 |
$fob = $wp_filter[ $tag ];
|
140 |
$callbacks = &$wp_filter[ $tag ]->callbacks;
|
141 |
+
|
142 |
+
}else{
|
143 |
$callbacks = &$wp_filter[ $tag ];
|
144 |
}
|
145 |
+
|
146 |
// Exit if there aren't any callbacks for specified priority
|
147 |
+
if(!isset($callbacks[ $priority ]) || empty($callbacks[ $priority ])){
|
148 |
return false;
|
149 |
}
|
150 |
+
|
151 |
// Loop through each filter for the specified priority, looking for our class & method
|
152 |
+
foreach((array) $callbacks[ $priority ] as $filter_id => $filter){
|
153 |
+
|
154 |
+
// Filter should always be an array - array($this, 'method'), if not goto next
|
155 |
+
if(!isset($filter['function']) || !is_array($filter['function'])){
|
156 |
continue;
|
157 |
}
|
158 |
+
|
159 |
// If first value in array is not an object, it can't be a class
|
160 |
+
if(!is_object($filter['function'][0])){
|
161 |
continue;
|
162 |
}
|
163 |
+
|
164 |
// Method doesn't match the one we're looking for, goto next
|
165 |
+
if($filter['function'][1] !== $method){
|
166 |
continue;
|
167 |
}
|
168 |
+
|
169 |
// Method matched, now let's check the Class
|
170 |
+
if(get_class($filter['function'][0]) === $class){
|
171 |
+
|
172 |
// WordPress 4.7+ use core remove_filter() since we found the class object
|
173 |
+
if(isset($fob)){
|
174 |
+
|
175 |
// Handles removing filter, reseting callback priority keys mid-iteration, etc.
|
176 |
+
$fob->remove_filter($tag, $filter['function'], $priority);
|
177 |
+
|
178 |
+
}else{
|
179 |
|
|
|
180 |
// Use legacy removal process (pre 4.7)
|
181 |
+
unset($callbacks[ $priority ][ $filter_id ]);
|
182 |
+
|
183 |
// and if it was the only filter in that priority, unset that priority
|
184 |
+
if(empty($callbacks[ $priority ])){
|
185 |
+
unset($callbacks[ $priority ]);
|
186 |
}
|
187 |
+
|
188 |
// and if the only filter for that tag, set the tag to an empty array
|
189 |
+
if(empty($callbacks)){
|
190 |
$callbacks = array();
|
191 |
}
|
192 |
+
|
193 |
// Remove this filter from merged_filters, which specifies if filters have been sorted
|
194 |
+
unset($GLOBALS['merged_filters'][ $tag ]);
|
195 |
+
|
196 |
}
|
197 |
+
|
198 |
return true;
|
199 |
+
|
200 |
}
|
201 |
+
|
202 |
}
|
203 |
+
|
204 |
return false;
|
205 |
+
|
206 |
}
|
207 |
|
208 |
|
209 |
/**
|
210 |
+
* acfe_remove_action
|
211 |
*
|
|
|
212 |
* @param $tag
|
213 |
+
* @param $function
|
214 |
* @param $priority
|
215 |
*
|
216 |
* @return bool
|
217 |
*/
|
218 |
+
function acfe_remove_action($tag = '', $function = '', $priority = 10){
|
219 |
+
return acfe_remove_filter($tag, $function, $priority);
|
220 |
+
}
|
221 |
+
|
222 |
+
|
223 |
+
/**
|
224 |
+
* acfe_replace_filter
|
225 |
+
*
|
226 |
+
* @param $tag
|
227 |
+
* @param $function_to_remove
|
228 |
+
* @param $function_to_add
|
229 |
+
* @param $priority
|
230 |
+
* @param $accepted_args
|
231 |
+
*/
|
232 |
+
function acfe_replace_filter($tag = '', $function_to_remove = '', $function_to_add = '', $priority = 10, $accepted_args = 1){
|
233 |
+
|
234 |
+
// remove filter
|
235 |
+
acfe_remove_filter($tag, $function_to_remove, $priority);
|
236 |
+
|
237 |
+
// string
|
238 |
+
if(is_string($function_to_add) && is_callable($function_to_add)){
|
239 |
+
return add_filter($tag, $function_to_add, $priority, $accepted_args);
|
240 |
+
}
|
241 |
+
|
242 |
+
// validate array($class, 'method')
|
243 |
+
if(!is_array($function_to_add) || !isset($function_to_add[0]) || !isset($function_to_add[1])){
|
244 |
+
return false;
|
245 |
+
}
|
246 |
+
|
247 |
+
// already class instance
|
248 |
+
if(is_object($function_to_add[0]) && is_callable($function_to_add)){
|
249 |
+
return add_filter($tag, $function_to_add, $priority, $accepted_args);
|
250 |
+
}
|
251 |
+
|
252 |
+
// vars
|
253 |
+
$class = $function_to_add[0];
|
254 |
+
$method = $function_to_add[1];
|
255 |
+
|
256 |
+
// check acf instances
|
257 |
+
global $acf_instances;
|
258 |
+
|
259 |
+
if(isset($acf_instances[ $class ]) && is_callable(array($acf_instances[ $class ], $method))){
|
260 |
+
return add_filter($tag, array($acf_instances[ $class ], $method), $priority, $accepted_args);
|
261 |
+
}
|
262 |
+
|
263 |
+
// check acf field types
|
264 |
+
$field_type = acf_get_field_type($class);
|
265 |
+
|
266 |
+
if($field_type && is_callable(array($field_type, $method))){
|
267 |
+
return add_filter($tag, array($field_type, $method), $priority, $accepted_args);
|
268 |
+
}
|
269 |
+
|
270 |
+
return false;
|
271 |
+
|
272 |
+
}
|
273 |
+
|
274 |
+
|
275 |
+
/**
|
276 |
+
* acfe_replace_action
|
277 |
+
*
|
278 |
+
* @param $tag
|
279 |
+
* @param $function_to_remove
|
280 |
+
* @param $function_to_add
|
281 |
+
* @param $priority
|
282 |
+
* @param $accepted_args
|
283 |
+
*/
|
284 |
+
function acfe_replace_action($tag = '', $function_to_remove = '', $function_to_add = '', $priority = 10, $accepted_args = 1){
|
285 |
+
acfe_replace_filter($tag, $function_to_remove, $function_to_add, $priority, $accepted_args);
|
286 |
}
|
includes/admin/compatibility.php
CHANGED
@@ -23,10 +23,10 @@ class acfe_admin_compatibility{
|
|
23 |
// hooks
|
24 |
add_action('acfe/load_posts/post_type=acf-field-group', array($this, 'load_posts'));
|
25 |
add_action('acfe/load_post/post_type=acf-field-group', array($this, 'load_post'));
|
26 |
-
|
27 |
-
//
|
28 |
-
|
29 |
-
|
30 |
|
31 |
// current screen
|
32 |
add_action('current_screen', array($this, 'current_screen'));
|
@@ -78,17 +78,12 @@ class acfe_admin_compatibility{
|
|
78 |
/**
|
79 |
* acf_load_post
|
80 |
*
|
81 |
-
*
|
|
|
|
|
82 |
*/
|
83 |
function acf_load_post(){
|
84 |
|
85 |
-
// remove class action
|
86 |
-
acfe_remove_class_action('ACF_Form_Post', 'load-post.php', 'initialize');
|
87 |
-
acfe_remove_class_action('ACF_Form_Post', 'load-post-new.php', 'initialize');
|
88 |
-
|
89 |
-
// rewrite load post
|
90 |
-
// /advanced-custom-fields-pro/includes/forms/form-post.php:48
|
91 |
-
|
92 |
// globals
|
93 |
global $typenow;
|
94 |
|
@@ -127,7 +122,7 @@ class acfe_admin_compatibility{
|
|
127 |
function admin_head(){
|
128 |
|
129 |
// remove forced 1 column on screen_layout options
|
130 |
-
|
131 |
|
132 |
// base url
|
133 |
$default_icon = acf_get_url('assets/images/icons/icon-fields.svg');
|
@@ -155,8 +150,6 @@ class acfe_admin_compatibility{
|
|
155 |
// allowed screens
|
156 |
$allowed = array(
|
157 |
'edit-acf-field-group-category',
|
158 |
-
'edit-acf-field-group',
|
159 |
-
'acf-field-group',
|
160 |
'edit-acfe-dbt',
|
161 |
'acfe-dbt',
|
162 |
'edit-acfe-dop',
|
@@ -169,7 +162,14 @@ class acfe_admin_compatibility{
|
|
169 |
|
170 |
// check screen
|
171 |
if(acfe_maybe_get($screen, 'post_type') === 'acf-field-group' || acf_is_screen($allowed)){
|
|
|
172 |
add_action('admin_head', array($this, 'admin_head_navigation'));
|
|
|
|
|
|
|
|
|
|
|
|
|
173 |
}
|
174 |
|
175 |
}
|
@@ -185,12 +185,18 @@ class acfe_admin_compatibility{
|
|
185 |
|
186 |
// pages rules
|
187 |
$pages = array(
|
188 |
-
'categories'
|
189 |
-
'
|
190 |
-
'
|
191 |
-
'
|
192 |
-
'
|
193 |
-
'
|
|
|
|
|
|
|
|
|
|
|
|
|
194 |
);
|
195 |
|
196 |
// generate css
|
@@ -203,6 +209,11 @@ class acfe_admin_compatibility{
|
|
203 |
mask-image: url(<?php echo $base_url . $icon; ?>);
|
204 |
}
|
205 |
<?php endforeach; ?>
|
|
|
|
|
|
|
|
|
|
|
206 |
</style>
|
207 |
<?php
|
208 |
|
23 |
// hooks
|
24 |
add_action('acfe/load_posts/post_type=acf-field-group', array($this, 'load_posts'));
|
25 |
add_action('acfe/load_post/post_type=acf-field-group', array($this, 'load_post'));
|
26 |
+
|
27 |
+
// replace class action
|
28 |
+
acfe_replace_action('load-post.php', array('ACF_Form_Post', 'initialize'), array($this, 'acf_load_post'));
|
29 |
+
acfe_replace_action('load-post-new.php', array('ACF_Form_Post', 'initialize'), array($this, 'acf_load_post'));
|
30 |
|
31 |
// current screen
|
32 |
add_action('current_screen', array($this, 'current_screen'));
|
78 |
/**
|
79 |
* acf_load_post
|
80 |
*
|
81 |
+
* Rewrites the ACF_Form_Post initialize which remove the submitdiv metabox
|
82 |
+
*
|
83 |
+
* advanced-custom-fields-pro/includes/forms/form-post.php:48
|
84 |
*/
|
85 |
function acf_load_post(){
|
86 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
87 |
// globals
|
88 |
global $typenow;
|
89 |
|
122 |
function admin_head(){
|
123 |
|
124 |
// remove forced 1 column on screen_layout options
|
125 |
+
acfe_remove_action('get_user_option_screen_layout_acf-field-group', array('acf_admin_field_group', 'screen_layout'));
|
126 |
|
127 |
// base url
|
128 |
$default_icon = acf_get_url('assets/images/icons/icon-fields.svg');
|
150 |
// allowed screens
|
151 |
$allowed = array(
|
152 |
'edit-acf-field-group-category',
|
|
|
|
|
153 |
'edit-acfe-dbt',
|
154 |
'acfe-dbt',
|
155 |
'edit-acfe-dop',
|
162 |
|
163 |
// check screen
|
164 |
if(acfe_maybe_get($screen, 'post_type') === 'acf-field-group' || acf_is_screen($allowed)){
|
165 |
+
|
166 |
add_action('admin_head', array($this, 'admin_head_navigation'));
|
167 |
+
|
168 |
+
if(acf_is_screen($allowed)){
|
169 |
+
global $acf_page_title;
|
170 |
+
$acf_page_title = '';
|
171 |
+
}
|
172 |
+
|
173 |
}
|
174 |
|
175 |
}
|
185 |
|
186 |
// pages rules
|
187 |
$pages = array(
|
188 |
+
'categories' => 'field-type-icons/icon-field-taxonomy.svg',
|
189 |
+
'edit-tagsphptaxonomyacf-field-group-category' => 'field-type-icons/icon-field-taxonomy.svg',
|
190 |
+
'block-types' => 'icons/icon-fields.svg',
|
191 |
+
'acfe-dbt' => 'icons/icon-fields.svg',
|
192 |
+
'forms' => 'field-type-icons/icon-field-post-object.svg',
|
193 |
+
'acfe-form' => 'field-type-icons/icon-field-post-object.svg',
|
194 |
+
'options-pages' => 'field-type-icons/icon-field-group.svg',
|
195 |
+
'acfe-dop' => 'field-type-icons/icon-field-group.svg',
|
196 |
+
'settings' => 'icons/icon-settings.svg',
|
197 |
+
'acfe-settings' => 'icons/icon-settings.svg',
|
198 |
+
'templates' => 'field-type-icons/icon-field-wysiwyg.svg',
|
199 |
+
'acfe-template' => 'field-type-icons/icon-field-wysiwyg.svg',
|
200 |
);
|
201 |
|
202 |
// generate css
|
209 |
mask-image: url(<?php echo $base_url . $icon; ?>);
|
210 |
}
|
211 |
<?php endforeach; ?>
|
212 |
+
|
213 |
+
.acf-icon.acf-icon-plus{
|
214 |
+
-webkit-mask-image: url(<?php echo $base_url; ?>icons/icon-add.svg);
|
215 |
+
mask-image: url(<?php echo $base_url; ?>icons/icon-add.svg);
|
216 |
+
}
|
217 |
</style>
|
218 |
<?php
|
219 |
|
includes/compatibility.php
CHANGED
@@ -129,12 +129,10 @@ class acfe_compatibility{
|
|
129 |
*/
|
130 |
function field_acfe_update($field){
|
131 |
|
132 |
-
if(
|
133 |
-
|
134 |
}
|
135 |
|
136 |
-
unset($field['acfe_update']);
|
137 |
-
|
138 |
return $field;
|
139 |
|
140 |
}
|
129 |
*/
|
130 |
function field_acfe_update($field){
|
131 |
|
132 |
+
if(isset($field['acfe_update'])){
|
133 |
+
unset($field['acfe_update']);
|
134 |
}
|
135 |
|
|
|
|
|
136 |
return $field;
|
137 |
|
138 |
}
|
includes/fields/field-flexible-content-select.php
CHANGED
@@ -21,7 +21,7 @@ class acfe_field_flexible_content_select{
|
|
21 |
add_action('acfe/flexible/render_layout_settings', array($this, 'render_layout_settings'), 10, 3);
|
22 |
|
23 |
add_filter('acfe/flexible/wrapper_attributes', array($this, 'wrapper_attributes'), 10, 2);
|
24 |
-
add_filter(
|
25 |
|
26 |
}
|
27 |
|
21 |
add_action('acfe/flexible/render_layout_settings', array($this, 'render_layout_settings'), 10, 3);
|
22 |
|
23 |
add_filter('acfe/flexible/wrapper_attributes', array($this, 'wrapper_attributes'), 10, 2);
|
24 |
+
add_filter('acfe/flexible/layouts/label_atts', array($this, 'label_atts'), 10, 3);
|
25 |
|
26 |
}
|
27 |
|
includes/modules/dev-clean-meta.php
ADDED
@@ -0,0 +1,215 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
if(!defined('ABSPATH')){
|
4 |
+
exit;
|
5 |
+
}
|
6 |
+
|
7 |
+
if(!class_exists('acfe_dev_clean_meta')):
|
8 |
+
|
9 |
+
class acfe_dev_clean_meta{
|
10 |
+
|
11 |
+
function __construct(){
|
12 |
+
|
13 |
+
// check settings
|
14 |
+
if((!acfe_is_dev() && !acfe_is_super_dev()) || !acf_current_user_can_admin()){
|
15 |
+
return;
|
16 |
+
}
|
17 |
+
|
18 |
+
// load
|
19 |
+
add_action('acfe/load_post', array($this, 'load_page'));
|
20 |
+
add_action('acfe/load_posts', array($this, 'load_page'));
|
21 |
+
add_action('acfe/load_term', array($this, 'load_page'));
|
22 |
+
add_action('acfe/load_terms', array($this, 'load_page'));
|
23 |
+
add_action('acfe/load_user', array($this, 'load_page'));
|
24 |
+
add_action('acfe/load_users', array($this, 'load_page'));
|
25 |
+
add_action('acfe/load_settings', array($this, 'load_page'));
|
26 |
+
add_action('acfe/load_option', array($this, 'load_page'));
|
27 |
+
add_action('acfe/load_attachment', array($this, 'load_page'));
|
28 |
+
add_action('acfe/load_attachments', array($this, 'load_page'));
|
29 |
+
|
30 |
+
// metabox
|
31 |
+
add_action('acfe/dev/clean_metabox', array($this, 'load_metabox'), 10, 3);
|
32 |
+
|
33 |
+
}
|
34 |
+
|
35 |
+
|
36 |
+
/**
|
37 |
+
* load_page
|
38 |
+
*
|
39 |
+
* acfe/load_post
|
40 |
+
* acfe/load_posts
|
41 |
+
* acfe/load_term
|
42 |
+
* acfe/load_terms
|
43 |
+
* acfe/load_user
|
44 |
+
* acfe/load_users
|
45 |
+
* acfe/load_settings
|
46 |
+
* acfe/load_option'
|
47 |
+
* acfe/load_attachment
|
48 |
+
* acfe/load_attachments
|
49 |
+
*/
|
50 |
+
function load_page(){
|
51 |
+
|
52 |
+
// vars
|
53 |
+
$post_id = acfe_maybe_get_REQUEST('acfe_dev_clean');
|
54 |
+
$nonce = acfe_maybe_get_REQUEST('acfe_dev_clean_nonce');
|
55 |
+
|
56 |
+
// check none
|
57 |
+
if($post_id && wp_verify_nonce($nonce, 'acfe_dev_clean')){
|
58 |
+
|
59 |
+
// get deleted meta
|
60 |
+
$deleted = acfe_delete_orphan_meta($post_id);
|
61 |
+
|
62 |
+
// set transient
|
63 |
+
set_transient('acfe_dev_clean', $deleted, 3600); // 1 hour
|
64 |
+
|
65 |
+
// remove args
|
66 |
+
$url = remove_query_arg(array(
|
67 |
+
'acfe_dev_clean',
|
68 |
+
'acfe_dev_clean_nonce'
|
69 |
+
));
|
70 |
+
|
71 |
+
// add message
|
72 |
+
$url = add_query_arg(array(
|
73 |
+
'message' => 'acfe_dev_clean'
|
74 |
+
), $url);
|
75 |
+
|
76 |
+
// redirect
|
77 |
+
wp_redirect($url);
|
78 |
+
exit;
|
79 |
+
|
80 |
+
}
|
81 |
+
|
82 |
+
// success message
|
83 |
+
if(acf_maybe_get_GET('message') === 'acfe_dev_clean'){
|
84 |
+
|
85 |
+
// vars
|
86 |
+
$deleted = acf_get_array(get_transient('acfe_dev_clean'));
|
87 |
+
$count = count($deleted);
|
88 |
+
|
89 |
+
if(isset($deleted['single_meta']) || isset($deleted['normal'])){
|
90 |
+
|
91 |
+
$count = 0;
|
92 |
+
$count += count(acf_maybe_get($deleted, 'single_meta', array()));
|
93 |
+
$count += count(acf_maybe_get($deleted, 'normal', array()));
|
94 |
+
|
95 |
+
}
|
96 |
+
|
97 |
+
if(!$deleted){
|
98 |
+
|
99 |
+
acf_add_admin_notice(__('No orphan meta found', 'acfe'), 'warning');
|
100 |
+
|
101 |
+
}else{
|
102 |
+
|
103 |
+
$link = ' <a href="#" data-acfe-modal="clean-meta-debug" data-acfe-modal-title="' . __('Deleted meta', 'acfe') . '" data-acfe-modal-footer="' . __('Close', 'acfe') . '">' . __('View', 'acfe') . '</a>';
|
104 |
+
|
105 |
+
add_action('admin_footer', function() use($deleted){
|
106 |
+
?>
|
107 |
+
<div class="acfe-modal" data-acfe-modal="clean-meta-debug">
|
108 |
+
<div class="acfe-modal-spacer">
|
109 |
+
<pre><?php print_r($deleted); ?></pre>
|
110 |
+
</div>
|
111 |
+
</div>
|
112 |
+
<?php
|
113 |
+
});
|
114 |
+
|
115 |
+
acf_add_admin_notice("{$count} meta cleaned.{$link}", 'success');
|
116 |
+
|
117 |
+
}
|
118 |
+
|
119 |
+
// cleanup transient
|
120 |
+
delete_transient('acfe_dev_clean');
|
121 |
+
|
122 |
+
}
|
123 |
+
|
124 |
+
}
|
125 |
+
|
126 |
+
|
127 |
+
/**
|
128 |
+
* load_metabox
|
129 |
+
*
|
130 |
+
* @param $post_id
|
131 |
+
* @param $screen
|
132 |
+
* @param $type
|
133 |
+
*/
|
134 |
+
function load_metabox($post_id, $screen, $type){
|
135 |
+
|
136 |
+
// bail early
|
137 |
+
if(!acfe_is_single_meta_enabled($post_id) || acf_is_filter_enabled('acfe/dev/clean_metabox')){
|
138 |
+
return;
|
139 |
+
}
|
140 |
+
|
141 |
+
// enable filters to force sidebar on list screen
|
142 |
+
switch($type){
|
143 |
+
|
144 |
+
case 'posts': {
|
145 |
+
|
146 |
+
acf_set_filters(array(
|
147 |
+
'acfe/post_type_list/side' => true,
|
148 |
+
'acfe/post_type_list/submitdiv' => true,
|
149 |
+
));
|
150 |
+
|
151 |
+
break;
|
152 |
+
}
|
153 |
+
|
154 |
+
case 'terms': {
|
155 |
+
|
156 |
+
acf_set_filters(array(
|
157 |
+
'acfe/taxonomy_list/side' => true,
|
158 |
+
'acfe/taxonomy_list/submitdiv' => true,
|
159 |
+
));
|
160 |
+
|
161 |
+
break;
|
162 |
+
|
163 |
+
}
|
164 |
+
|
165 |
+
}
|
166 |
+
|
167 |
+
// add meta box
|
168 |
+
$this->add_meta_box($post_id, $screen);
|
169 |
+
|
170 |
+
}
|
171 |
+
|
172 |
+
|
173 |
+
/**
|
174 |
+
* add_meta_box
|
175 |
+
*
|
176 |
+
* @param $post_id
|
177 |
+
* @param $screen
|
178 |
+
*/
|
179 |
+
function add_meta_box($post_id, $screen){
|
180 |
+
|
181 |
+
add_meta_box('acfe-clean-meta', __('Single Meta', 'acfe'), array($this, 'render_metabox'), $screen, 'side', 'core', array('post_id' => $post_id));
|
182 |
+
|
183 |
+
}
|
184 |
+
|
185 |
+
|
186 |
+
/**
|
187 |
+
* render_metabox
|
188 |
+
*
|
189 |
+
* @param $post
|
190 |
+
* @param $metabox
|
191 |
+
*/
|
192 |
+
function render_metabox($post, $metabox){
|
193 |
+
|
194 |
+
// post id
|
195 |
+
$post_id = $metabox['args']['post_id'];
|
196 |
+
|
197 |
+
// url
|
198 |
+
$url = add_query_arg(array(
|
199 |
+
'acfe_dev_clean' => $post_id,
|
200 |
+
'acfe_dev_clean_nonce' => wp_create_nonce('acfe_dev_clean'))
|
201 |
+
);
|
202 |
+
|
203 |
+
?>
|
204 |
+
<a href="<?php echo esc_url($url); ?>" class="button acf-button">
|
205 |
+
<?php _e('Clean orphan meta', 'acfe'); ?>
|
206 |
+
</a>
|
207 |
+
<?php
|
208 |
+
|
209 |
+
}
|
210 |
+
|
211 |
+
}
|
212 |
+
|
213 |
+
acf_new_instance('acfe_dev_clean_meta');
|
214 |
+
|
215 |
+
endif;
|
includes/modules/dev-delete-meta.php
ADDED
@@ -0,0 +1,230 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
if(!defined('ABSPATH')){
|
4 |
+
exit;
|
5 |
+
}
|
6 |
+
|
7 |
+
if(!class_exists('acfe_dev_delete_meta')):
|
8 |
+
|
9 |
+
class acfe_dev_delete_meta{
|
10 |
+
|
11 |
+
function __construct(){
|
12 |
+
|
13 |
+
// check settings
|
14 |
+
if((!acfe_is_dev() && !acfe_is_super_dev()) || !acf_current_user_can_admin()){
|
15 |
+
return;
|
16 |
+
}
|
17 |
+
|
18 |
+
// table
|
19 |
+
add_filter('acfe/dev/meta/row_actions', array($this, 'meta_row_actions'), 10, 3);
|
20 |
+
add_action('acfe/dev/meta/after_table', array($this, 'meta_after_table'));
|
21 |
+
|
22 |
+
// ajax
|
23 |
+
add_action('wp_ajax_acfe/dev/single_delete_meta', array($this, 'ajax_delete_single_meta'));
|
24 |
+
add_action('wp_ajax_acfe/dev/bulk_delete_meta', array($this, 'ajax_delete_bulk_meta'));
|
25 |
+
|
26 |
+
}
|
27 |
+
|
28 |
+
|
29 |
+
/**
|
30 |
+
* meta_row_actions
|
31 |
+
*
|
32 |
+
* acfe/dev/meta/row_actions
|
33 |
+
*
|
34 |
+
* @param $row_actions
|
35 |
+
* @param $meta
|
36 |
+
* @param $args
|
37 |
+
*
|
38 |
+
* @return mixed
|
39 |
+
*/
|
40 |
+
function meta_row_actions($row_actions, $meta, $args){
|
41 |
+
|
42 |
+
// check permission
|
43 |
+
if(!current_user_can(acf_get_setting('capability'))){
|
44 |
+
return $row_actions;
|
45 |
+
}
|
46 |
+
|
47 |
+
/*
|
48 |
+
// todo: remove
|
49 |
+
// option meta
|
50 |
+
if($args['type'] === 'option'){
|
51 |
+
|
52 |
+
// edit link
|
53 |
+
$edit = array(
|
54 |
+
'href' => admin_url("options-general.php?page=acfe-options&action=edit&option={$meta['id']}")
|
55 |
+
);
|
56 |
+
|
57 |
+
$row_actions['edit'] = '<a ' . acf_esc_attrs($edit). '>' . __('Edit') . '</a>';
|
58 |
+
|
59 |
+
}*/
|
60 |
+
|
61 |
+
// delete link
|
62 |
+
$delete = array(
|
63 |
+
'href' => '#',
|
64 |
+
'class' => 'acfe-dev-delete-meta',
|
65 |
+
'data-meta-id' => $meta['id'],
|
66 |
+
'data-meta-key' => $meta['key'],
|
67 |
+
'data-meta-type' => $meta['type'],
|
68 |
+
'data-nonce' => wp_create_nonce("acfe-dev-delete-meta-{$meta['id']}"),
|
69 |
+
);
|
70 |
+
|
71 |
+
$row_actions['delete'] = '<a ' . acf_esc_attrs($delete). '>' . __('Delete') . '</a>';
|
72 |
+
|
73 |
+
// return
|
74 |
+
return $row_actions;
|
75 |
+
|
76 |
+
}
|
77 |
+
|
78 |
+
|
79 |
+
/**
|
80 |
+
* meta_after_table
|
81 |
+
*
|
82 |
+
* acfe/dev/meta/after_table
|
83 |
+
*
|
84 |
+
* @param $args
|
85 |
+
*/
|
86 |
+
function meta_after_table($args){
|
87 |
+
|
88 |
+
// bail early
|
89 |
+
if(!current_user_can(acf_get_setting('capability')) || !$args['bulk']){
|
90 |
+
return;
|
91 |
+
}
|
92 |
+
|
93 |
+
?>
|
94 |
+
<div class="acfe-dev-bulk tablenav bottom">
|
95 |
+
|
96 |
+
<div class="alignleft actions bulkactions">
|
97 |
+
|
98 |
+
<label for="bulk-action-selector-bottom" class="screen-reader-text"><?php _e('Select bulk action'); ?></label>
|
99 |
+
<input type="hidden" class="acfe-dev-bulk-meta-type" value="<?php echo $args['type']; ?>" />
|
100 |
+
<input type="hidden" class="acfe-dev-bulk-nonce" value="<?php echo wp_create_nonce('acfe-dev-bulk'); ?>" />
|
101 |
+
|
102 |
+
<select class="acfe-dev-bulk-action">
|
103 |
+
<option value="-1"><?php _e('Bulk Actions'); ?></option>
|
104 |
+
<option value="delete"><?php _e('Delete'); ?></option>
|
105 |
+
</select>
|
106 |
+
|
107 |
+
<input type="submit" class="button action" value="<?php _e('Apply'); ?>">
|
108 |
+
|
109 |
+
</div>
|
110 |
+
|
111 |
+
<br class="clear">
|
112 |
+
|
113 |
+
</div>
|
114 |
+
<?php
|
115 |
+
}
|
116 |
+
|
117 |
+
|
118 |
+
/**
|
119 |
+
* ajax_delete_single_meta
|
120 |
+
*
|
121 |
+
* wp_ajax_acfe/delete_meta
|
122 |
+
*/
|
123 |
+
function ajax_delete_single_meta(){
|
124 |
+
|
125 |
+
// vars
|
126 |
+
$id = acf_maybe_get_POST('id');
|
127 |
+
$key = acf_maybe_get_POST('key');
|
128 |
+
$type = acf_maybe_get_POST('type');
|
129 |
+
|
130 |
+
// check vars
|
131 |
+
if(!$id || !$key || !$type){
|
132 |
+
wp_die(0);
|
133 |
+
}
|
134 |
+
|
135 |
+
// check referer
|
136 |
+
check_ajax_referer("acfe-dev-delete-meta-{$id}");
|
137 |
+
|
138 |
+
// check permission
|
139 |
+
if(!current_user_can(acf_get_setting('capability'))){
|
140 |
+
wp_die(-1);
|
141 |
+
}
|
142 |
+
|
143 |
+
// delete option
|
144 |
+
if($type === 'option'){
|
145 |
+
|
146 |
+
global $wpdb;
|
147 |
+
|
148 |
+
// retrieve option from option_id
|
149 |
+
$row = $wpdb->get_row($wpdb->prepare("SELECT option_name FROM $wpdb->options WHERE option_id = %d LIMIT 1", $id));
|
150 |
+
|
151 |
+
if($row){
|
152 |
+
|
153 |
+
if(delete_option($row->option_name)){
|
154 |
+
wp_die(1);
|
155 |
+
}
|
156 |
+
|
157 |
+
}
|
158 |
+
|
159 |
+
wp_die(0);
|
160 |
+
|
161 |
+
}
|
162 |
+
|
163 |
+
// delete by meta type
|
164 |
+
if(delete_metadata_by_mid($type, $id)){
|
165 |
+
wp_die(1);
|
166 |
+
}
|
167 |
+
|
168 |
+
wp_die(0);
|
169 |
+
|
170 |
+
}
|
171 |
+
|
172 |
+
|
173 |
+
/**
|
174 |
+
* ajax_delete_bulk_meta
|
175 |
+
*
|
176 |
+
* wp_ajax_acfe/bulk_delete_meta
|
177 |
+
*/
|
178 |
+
function ajax_delete_bulk_meta(){
|
179 |
+
|
180 |
+
// vars
|
181 |
+
$ids = acf_maybe_get_POST('ids');
|
182 |
+
$type = acf_maybe_get_POST('type');
|
183 |
+
|
184 |
+
// check vars
|
185 |
+
if(!$ids || !$type){
|
186 |
+
wp_die(0);
|
187 |
+
}
|
188 |
+
|
189 |
+
// check referer
|
190 |
+
check_ajax_referer('acfe-dev-bulk');
|
191 |
+
|
192 |
+
// check permission
|
193 |
+
if(!current_user_can(acf_get_setting('capability'))){
|
194 |
+
wp_die(-1);
|
195 |
+
}
|
196 |
+
|
197 |
+
// delete option
|
198 |
+
if($type === 'option'){
|
199 |
+
|
200 |
+
global $wpdb;
|
201 |
+
|
202 |
+
foreach($ids as $id){
|
203 |
+
|
204 |
+
// retrieve option from option_id
|
205 |
+
$row = $wpdb->get_row($wpdb->prepare("SELECT option_name FROM $wpdb->options WHERE option_id = %d LIMIT 1", $id));
|
206 |
+
|
207 |
+
if($row){
|
208 |
+
delete_option($row->option_name);
|
209 |
+
}
|
210 |
+
|
211 |
+
}
|
212 |
+
|
213 |
+
wp_die(1);
|
214 |
+
|
215 |
+
}
|
216 |
+
|
217 |
+
// delete by meta type
|
218 |
+
foreach($ids as $id){
|
219 |
+
delete_metadata_by_mid($type, $id);
|
220 |
+
}
|
221 |
+
|
222 |
+
wp_die(1);
|
223 |
+
|
224 |
+
}
|
225 |
+
|
226 |
+
}
|
227 |
+
|
228 |
+
acf_new_instance('acfe_dev_delete_meta');
|
229 |
+
|
230 |
+
endif;
|
includes/modules/dev.php
CHANGED
@@ -8,8 +8,9 @@ if(!class_exists('acfe_dev')):
|
|
8 |
|
9 |
class acfe_dev{
|
10 |
|
11 |
-
|
12 |
-
|
|
|
13 |
|
14 |
function __construct(){
|
15 |
|
@@ -18,21 +19,11 @@ class acfe_dev{
|
|
18 |
return;
|
19 |
}
|
20 |
|
21 |
-
//
|
22 |
add_action('admin_enqueue_scripts', array($this, 'admin_enqueue_scripts'));
|
23 |
|
24 |
// load
|
25 |
add_action('acfe/load_post', array($this, 'load_post'));
|
26 |
-
add_action('acfe/load_post', array($this, 'clean_meta'));
|
27 |
-
add_action('acfe/load_posts', array($this, 'clean_meta'));
|
28 |
-
add_action('acfe/load_term', array($this, 'clean_meta'));
|
29 |
-
add_action('acfe/load_terms', array($this, 'clean_meta'));
|
30 |
-
add_action('acfe/load_user', array($this, 'clean_meta'));
|
31 |
-
add_action('acfe/load_users', array($this, 'clean_meta'));
|
32 |
-
add_action('acfe/load_settings', array($this, 'clean_meta'));
|
33 |
-
add_action('acfe/load_option', array($this, 'clean_meta'));
|
34 |
-
add_action('acfe/load_attachment', array($this, 'clean_meta'));
|
35 |
-
add_action('acfe/load_attachments', array($this, 'clean_meta'));
|
36 |
|
37 |
// add meta boxes
|
38 |
add_action('acfe/add_post_meta_boxes', array($this, 'add_post_meta_boxes'), 10, 2);
|
@@ -47,29 +38,30 @@ class acfe_dev{
|
|
47 |
add_action('acfe/add_attachments_meta_boxes', array($this, 'add_attachments_meta_boxes'));
|
48 |
add_action('acfe/add_users_meta_boxes', array($this, 'add_users_meta_boxes'));
|
49 |
|
50 |
-
//
|
51 |
-
|
52 |
-
add_action('
|
53 |
|
54 |
}
|
55 |
-
|
56 |
-
|
57 |
-
|
|
|
58 |
*/
|
59 |
function admin_enqueue_scripts(){
|
60 |
|
61 |
-
//
|
62 |
-
if(
|
63 |
-
|
64 |
}
|
65 |
|
66 |
-
// enqueue
|
67 |
-
acf_enqueue_scripts();
|
68 |
-
|
69 |
}
|
70 |
|
71 |
-
|
72 |
-
|
|
|
|
|
|
|
73 |
*/
|
74 |
function load_post(){
|
75 |
|
@@ -78,101 +70,40 @@ class acfe_dev{
|
|
78 |
|
79 |
}
|
80 |
|
81 |
-
/*
|
82 |
-
* Clean Meta
|
83 |
-
*/
|
84 |
-
function clean_meta(){
|
85 |
-
|
86 |
-
$post_id = acfe_maybe_get_REQUEST('acfe_dev_clean');
|
87 |
-
$nonce = acfe_maybe_get_REQUEST('acfe_dev_clean_nonce');
|
88 |
-
|
89 |
-
if($post_id && wp_verify_nonce($nonce, 'acfe_dev_clean')){
|
90 |
-
|
91 |
-
$deleted = acfe_delete_orphan_meta($post_id);
|
92 |
-
|
93 |
-
set_transient('acfe_dev_clean', $deleted, 3600); // 1 hour
|
94 |
-
|
95 |
-
// remove args
|
96 |
-
$url = remove_query_arg(array(
|
97 |
-
'acfe_dev_clean',
|
98 |
-
'acfe_dev_clean_nonce'
|
99 |
-
));
|
100 |
-
|
101 |
-
// add message
|
102 |
-
$url = add_query_arg(array(
|
103 |
-
'message' => 'acfe_dev_clean'
|
104 |
-
), $url);
|
105 |
-
|
106 |
-
// redirect
|
107 |
-
wp_redirect($url);
|
108 |
-
exit;
|
109 |
-
|
110 |
-
}
|
111 |
-
|
112 |
-
// success message
|
113 |
-
if(acf_maybe_get_GET('message') === 'acfe_dev_clean'){
|
114 |
-
|
115 |
-
$deleted = acf_get_array(get_transient('acfe_dev_clean'));
|
116 |
-
$count = count($deleted);
|
117 |
-
|
118 |
-
if(isset($deleted['single_meta']) || isset($deleted['normal'])){
|
119 |
-
|
120 |
-
$count = 0;
|
121 |
-
$count += count(acf_maybe_get($deleted, 'single_meta', array()));
|
122 |
-
$count += count(acf_maybe_get($deleted, 'normal', array()));
|
123 |
-
|
124 |
-
}
|
125 |
-
|
126 |
-
if(!$deleted){
|
127 |
-
|
128 |
-
acf_add_admin_notice(__('No orphan meta found', 'acfe'), 'warning');
|
129 |
-
|
130 |
-
}else{
|
131 |
-
|
132 |
-
$link = ' <a href="#" data-acfe-modal="clean-meta-debug" data-acfe-modal-title="' . __('Deleted meta', 'acfe') . '" data-acfe-modal-footer="' . __('Close', 'acfe') . '">' . __('View', 'acfe') . '</a>';
|
133 |
-
|
134 |
-
add_action('admin_footer', function() use($deleted){
|
135 |
-
?>
|
136 |
-
<div class="acfe-modal" data-acfe-modal="clean-meta-debug">
|
137 |
-
<div class="acfe-modal-spacer">
|
138 |
-
<pre><?php print_r($deleted); ?></pre>
|
139 |
-
</div>
|
140 |
-
</div>
|
141 |
-
<?php
|
142 |
-
});
|
143 |
-
|
144 |
-
acf_add_admin_notice("{$count} meta cleaned.{$link}", 'success');
|
145 |
-
|
146 |
-
}
|
147 |
-
|
148 |
-
delete_transient('acfe_dev_clean');
|
149 |
-
|
150 |
-
}
|
151 |
-
|
152 |
-
}
|
153 |
|
154 |
-
|
155 |
-
*
|
|
|
|
|
|
|
|
|
|
|
156 |
*/
|
157 |
function add_post_meta_boxes($post_type, $post){
|
158 |
|
159 |
// check restricted post types
|
160 |
-
if(acfe_is_post_type_reserved_dev($post_type))
|
|
|
|
|
161 |
|
162 |
// post id
|
163 |
$post_id = $post->ID;
|
164 |
|
165 |
// add meta boxes
|
166 |
$this->add_meta_boxes($post_id, $post_type);
|
167 |
-
|
168 |
-
|
169 |
-
|
170 |
-
}
|
171 |
|
172 |
}
|
173 |
|
174 |
-
|
175 |
-
|
|
|
|
|
|
|
|
|
|
|
176 |
*/
|
177 |
function add_posts_meta_boxes($post_type){
|
178 |
|
@@ -182,20 +113,19 @@ class acfe_dev{
|
|
182 |
// add meta boxes
|
183 |
$this->add_meta_boxes($post_id, 'edit');
|
184 |
|
185 |
-
|
186 |
-
|
187 |
-
// enable sidebar
|
188 |
-
acf_enable_filter('acfe/post_type_list/side');
|
189 |
-
acf_enable_filter('acfe/post_type_list/submitdiv');
|
190 |
-
|
191 |
-
add_meta_box('acfe-clean-meta', 'Single Meta', array($this, 'render_clean_metabox'), 'edit', 'side', 'core', array('post_id' => $post_id));
|
192 |
-
|
193 |
-
}
|
194 |
|
195 |
}
|
196 |
|
197 |
-
|
198 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
199 |
*/
|
200 |
function add_term_meta_boxes($taxonomy, $term){
|
201 |
|
@@ -205,14 +135,18 @@ class acfe_dev{
|
|
205 |
// add meta boxes
|
206 |
$this->add_meta_boxes($post_id, "edit-{$taxonomy}");
|
207 |
|
208 |
-
|
209 |
-
|
210 |
-
}
|
211 |
|
212 |
}
|
213 |
|
214 |
-
|
215 |
-
|
|
|
|
|
|
|
|
|
|
|
216 |
*/
|
217 |
function add_terms_meta_boxes($taxonomy){
|
218 |
|
@@ -222,20 +156,18 @@ class acfe_dev{
|
|
222 |
// add meta boxes
|
223 |
$this->add_meta_boxes($post_id, 'edit');
|
224 |
|
225 |
-
|
226 |
-
|
227 |
-
// enable sidebar
|
228 |
-
acf_enable_filter('acfe/taxonomy_list/side');
|
229 |
-
acf_enable_filter('acfe/taxonomy_list/submitdiv');
|
230 |
-
|
231 |
-
add_meta_box('acfe-clean-meta', 'Single Meta', array($this, 'render_clean_metabox'), 'edit', 'side', 'core', array('post_id' => $post_id));
|
232 |
-
|
233 |
-
}
|
234 |
|
235 |
}
|
236 |
|
237 |
-
|
238 |
-
|
|
|
|
|
|
|
|
|
|
|
239 |
*/
|
240 |
function add_user_meta_boxes($user){
|
241 |
|
@@ -245,14 +177,18 @@ class acfe_dev{
|
|
245 |
// add meta boxes
|
246 |
$this->add_meta_boxes($post_id, array('profile', 'user-edit'));
|
247 |
|
248 |
-
|
249 |
-
|
250 |
-
}
|
251 |
|
252 |
}
|
253 |
|
254 |
-
|
255 |
-
|
|
|
|
|
|
|
|
|
|
|
256 |
*/
|
257 |
function add_option_meta_boxes($page){
|
258 |
|
@@ -261,15 +197,19 @@ class acfe_dev{
|
|
261 |
|
262 |
// add meta boxes
|
263 |
$this->add_meta_boxes($post_id, 'acf_options_page');
|
264 |
-
|
265 |
-
|
266 |
-
|
267 |
-
}
|
268 |
|
269 |
}
|
270 |
|
271 |
-
|
272 |
-
|
|
|
|
|
|
|
|
|
|
|
273 |
*/
|
274 |
function add_settings_meta_boxes($page){
|
275 |
|
@@ -281,8 +221,13 @@ class acfe_dev{
|
|
281 |
|
282 |
}
|
283 |
|
284 |
-
|
285 |
-
|
|
|
|
|
|
|
|
|
|
|
286 |
*/
|
287 |
function add_attachment_meta_boxes($post){
|
288 |
|
@@ -293,14 +238,15 @@ class acfe_dev{
|
|
293 |
// add meta boxes
|
294 |
$this->add_meta_boxes($post_id, $post_type);
|
295 |
|
296 |
-
|
297 |
-
add_meta_box('acfe-clean-meta', 'Single Meta', array($this, 'render_clean_metabox'), $post_type, 'side', 'core', array('post_id' => $post_id));
|
298 |
-
}
|
299 |
|
300 |
}
|
301 |
|
302 |
-
|
303 |
-
|
|
|
|
|
|
|
304 |
*/
|
305 |
function add_attachments_meta_boxes(){
|
306 |
|
@@ -312,8 +258,11 @@ class acfe_dev{
|
|
312 |
|
313 |
}
|
314 |
|
315 |
-
|
316 |
-
|
|
|
|
|
|
|
317 |
*/
|
318 |
function add_users_meta_boxes(){
|
319 |
|
@@ -325,96 +274,87 @@ class acfe_dev{
|
|
325 |
|
326 |
}
|
327 |
|
328 |
-
function render_clean_metabox($post, $metabox){
|
329 |
-
|
330 |
-
$post_id = $metabox['args']['post_id'];
|
331 |
-
|
332 |
-
?>
|
333 |
-
<a href="<?php echo add_query_arg(array('acfe_dev_clean' => $post_id, 'acfe_dev_clean_nonce' => wp_create_nonce('acfe_dev_clean'))); ?>" class="button acf-button">
|
334 |
-
<?php _e('Clean orphan meta', 'acfe'); ?>
|
335 |
-
</a>
|
336 |
-
<?php
|
337 |
-
|
338 |
-
}
|
339 |
|
340 |
-
|
341 |
-
*
|
|
|
|
|
|
|
342 |
*/
|
343 |
-
function add_meta_boxes($post_id, $
|
344 |
|
345 |
-
//
|
346 |
-
$this->
|
347 |
|
348 |
-
|
|
|
349 |
|
350 |
-
|
|
|
|
|
|
|
351 |
|
352 |
-
//
|
353 |
if(!empty($this->wp_meta)){
|
354 |
-
|
355 |
-
|
356 |
-
|
357 |
-
|
358 |
-
|
|
|
|
|
|
|
359 |
|
360 |
if(empty($this->acf_meta)){
|
361 |
-
$
|
362 |
}
|
363 |
|
|
|
364 |
$id = 'acfe-wp-custom-fields';
|
365 |
-
$title = 'WP Custom Fields';
|
|
|
366 |
|
367 |
-
|
368 |
-
$title = 'WP Options Meta';
|
369 |
-
}
|
370 |
-
|
371 |
-
$title .= '<span class="acfe_dev_meta_count">' . count($this->wp_meta) . '</span>';
|
372 |
-
$context = 'normal';
|
373 |
-
$priority = 'low';
|
374 |
-
|
375 |
-
add_meta_box($id, $title, array($this, 'render_meta_box'), $object_type, $context, $priority, array('table_type' => 'wp', 'object_type' => $object_type, 'render_bulk' => $render_bulk));
|
376 |
|
377 |
}
|
378 |
|
379 |
-
//
|
380 |
if(!empty($this->acf_meta)){
|
381 |
|
382 |
-
|
383 |
-
|
384 |
-
|
385 |
-
|
|
|
|
|
|
|
386 |
|
387 |
-
if(!$
|
388 |
-
$
|
389 |
}
|
390 |
|
391 |
$id = 'acfe-acf-custom-fields';
|
392 |
-
$title = 'ACF Custom Fields';
|
393 |
-
|
394 |
-
if($object_type === 'acf_options_page'){
|
395 |
-
$title = 'ACF Options Meta';
|
396 |
-
}
|
397 |
-
|
398 |
-
$title .= '<span class="acfe_dev_meta_count">' . count($this->acf_meta) . '</span>';
|
399 |
-
$context = 'normal';
|
400 |
-
$priority = 'low';
|
401 |
|
402 |
-
add_meta_box($id, $title, array($this, 'render_meta_box'), $
|
403 |
|
404 |
}
|
405 |
|
406 |
}
|
407 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
408 |
function render_meta_box($post, $metabox){
|
409 |
|
410 |
-
|
411 |
-
$
|
412 |
-
$
|
413 |
-
|
414 |
-
$is_options = $object_type === 'acf_options_page';
|
415 |
-
$is_acf = $table_type === 'acf';
|
416 |
-
|
417 |
-
$metas = $is_acf ? $this->acf_meta : $this->wp_meta;
|
418 |
|
419 |
?>
|
420 |
<table class="wp-list-table widefat fixed striped">
|
@@ -422,308 +362,280 @@ class acfe_dev{
|
|
422 |
<thead>
|
423 |
<tr>
|
424 |
|
425 |
-
<?php
|
426 |
-
<td scope="col" class="check-column"><input type="checkbox" /></td>
|
427 |
-
<?php } ?>
|
428 |
-
|
429 |
-
<th scope="col" class="col-name">Name</th>
|
430 |
-
<th scope="col" class="col-value">Value</th>
|
431 |
|
432 |
-
|
433 |
-
|
434 |
-
|
435 |
-
|
|
|
|
|
436 |
|
437 |
-
<?php
|
438 |
-
<th scope="col" class="col-autoload">Autoload</th>
|
439 |
-
<?php } ?>
|
440 |
|
441 |
</tr>
|
442 |
</thead>
|
443 |
|
444 |
<tbody>
|
445 |
|
446 |
-
<?php foreach($
|
447 |
|
448 |
-
|
449 |
-
|
450 |
-
|
451 |
-
$meta_key = $meta['key'];
|
452 |
-
$meta_id = $meta['id'];
|
453 |
-
$value = $this->render_meta_value($meta['value']);
|
454 |
-
$type = $meta['type'];
|
455 |
-
|
456 |
-
// ACF
|
457 |
-
$field_type = acf_maybe_get($meta, 'field_type');
|
458 |
-
$field_group = acf_maybe_get($meta, 'field_group');
|
459 |
-
|
460 |
-
$nonce = wp_create_nonce('acfe_delete_meta_' . $meta_id);
|
461 |
-
?>
|
462 |
-
|
463 |
-
<tr class="acfe_dev_meta_<?php echo $is_options ? $meta_key : $meta_id; ?>">
|
464 |
-
|
465 |
-
<?php if(current_user_can(acf_get_setting('capability'))){ ?>
|
466 |
-
<th scope="row" class="check-column">
|
467 |
-
<input type="checkbox" class="acfe_bulk_delete_meta" value="<?php echo $is_options ? $meta_key : $meta_id; ?>" />
|
468 |
-
</th>
|
469 |
-
<?php } ?>
|
470 |
-
|
471 |
-
<td>
|
472 |
-
<strong><?php echo esc_attr($meta_key); ?></strong>
|
473 |
-
|
474 |
-
<?php if(current_user_can(acf_get_setting('capability'))){ ?>
|
475 |
-
|
476 |
-
<div class="row-actions">
|
477 |
-
|
478 |
-
<?php if($is_options){ ?>
|
479 |
-
<span class="edit">
|
480 |
-
<a href="<?php echo admin_url('options-general.php?page=acfe-options&action=edit&option=' . $meta_id); ?>"><?php _e('Edit'); ?></a> |
|
481 |
-
</span>
|
482 |
-
<?php } ?>
|
483 |
-
|
484 |
-
<span class="delete">
|
485 |
-
<a href="#" class="acfe_delete_meta" data-meta-id="<?php echo $meta_id; ?>" data-meta-key="<?php echo $meta_key; ?>" data-type="<?php echo $type; ?>" data-nonce="<?php echo $nonce; ?>"><?php _e('Delete'); ?></a>
|
486 |
-
</span>
|
487 |
-
|
488 |
-
</div>
|
489 |
-
|
490 |
-
<?php } ?>
|
491 |
|
492 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
493 |
|
494 |
-
|
495 |
-
|
496 |
-
<?php if($is_acf){ ?>
|
497 |
-
<td><?php echo $field_type; ?></td>
|
498 |
-
<td><?php echo $field_group; ?></td>
|
499 |
-
<?php } ?>
|
500 |
-
|
501 |
-
<?php if($is_options){ ?>
|
502 |
-
<td><?php echo $meta['autoload']; ?></td>
|
503 |
-
<?php } ?>
|
504 |
|
505 |
</tr>
|
506 |
|
507 |
-
<?php
|
508 |
|
509 |
</tbody>
|
510 |
|
511 |
</table>
|
512 |
-
|
513 |
-
<?php
|
514 |
-
|
515 |
-
|
516 |
-
|
517 |
-
|
518 |
-
|
519 |
-
<label for="bulk-action-selector-bottom" class="screen-reader-text"><?php _e('Select bulk action'); ?></label>
|
520 |
-
|
521 |
-
<input type="hidden" class="acfe_bulk_delete_meta_type" value="<?php echo $type; ?>" />
|
522 |
-
|
523 |
-
<?php $nonce = wp_create_nonce('acfe_bulk_delete_meta'); ?>
|
524 |
-
<input type="hidden" class="acfe_bulk_delete_meta_nonce" value="<?php echo $nonce; ?>" />
|
525 |
-
|
526 |
-
<select class="acfe_bulk_delete_meta_action">
|
527 |
-
<option value="-1"><?php _e('Bulk Actions'); ?></option>
|
528 |
-
<option value="delete"><?php _e('Delete'); ?></option>
|
529 |
-
</select>
|
530 |
-
|
531 |
-
<input type="submit" id="acfe_bulk_delete_meta_submit" class="button action" value="<?php _e('Apply'); ?>">
|
532 |
-
|
533 |
-
</div>
|
534 |
-
|
535 |
-
<br class="clear">
|
536 |
-
|
537 |
-
</div>
|
538 |
-
|
539 |
-
<?php } ?>
|
540 |
-
|
541 |
<?php
|
542 |
|
543 |
}
|
544 |
|
545 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
546 |
|
547 |
-
|
548 |
-
|
|
|
|
|
549 |
|
550 |
-
|
551 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
552 |
|
553 |
-
|
554 |
-
if(empty($value) && !is_numeric($value)){
|
555 |
|
556 |
-
$css = 'color:#aaa;';
|
557 |
-
$value = '(' . __('empty', 'acf') . ')';
|
558 |
|
559 |
-
|
560 |
-
|
561 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
562 |
|
563 |
-
|
564 |
-
elseif(is_serialized($value)){
|
565 |
-
|
566 |
-
$value = maybe_unserialize($value);
|
567 |
-
$value = @map_deep($value, '_wp_specialchars');
|
568 |
|
569 |
-
|
570 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
571 |
|
572 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
573 |
|
574 |
-
|
575 |
-
elseif($value != strip_tags($value)){
|
576 |
|
577 |
-
|
578 |
|
579 |
-
|
580 |
-
|
581 |
-
|
582 |
-
elseif(acfe_is_json($value)){
|
583 |
|
584 |
-
|
585 |
-
$value = @map_deep($value, '_wp_specialchars');
|
586 |
|
587 |
-
|
588 |
-
|
|
|
589 |
|
590 |
-
|
591 |
|
592 |
-
|
|
|
|
|
|
|
|
|
|
|
593 |
|
594 |
-
|
595 |
-
|
596 |
-
function get_meta($post_id = 0){
|
597 |
|
598 |
-
|
599 |
-
|
|
|
|
|
600 |
|
601 |
-
|
602 |
-
if(empty($post_id)) return;
|
603 |
|
604 |
-
|
605 |
-
|
|
|
|
|
606 |
|
607 |
-
|
608 |
|
609 |
-
|
610 |
-
|
611 |
|
612 |
-
|
613 |
|
614 |
}
|
615 |
|
616 |
-
|
617 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
618 |
|
619 |
-
|
|
|
620 |
|
621 |
-
|
622 |
-
|
623 |
-
// User
|
624 |
-
elseif($info['type'] === 'user'){
|
625 |
|
626 |
-
$
|
|
|
627 |
|
628 |
-
|
629 |
-
|
630 |
-
// Option
|
631 |
-
elseif($info['type'] === 'option'){
|
632 |
|
633 |
-
$
|
634 |
|
635 |
-
|
636 |
-
|
637 |
-
$search_single = "{$id}";
|
638 |
|
639 |
-
$
|
640 |
-
$
|
641 |
|
642 |
-
$
|
|
|
643 |
|
644 |
}
|
645 |
|
646 |
-
//
|
647 |
-
|
648 |
|
649 |
-
|
650 |
-
|
651 |
-
// Option
|
652 |
-
if($info['type'] === 'option'){
|
653 |
|
654 |
-
usort($get_meta, function($a, $b){
|
655 |
-
return strcmp($a->option_name, $b->option_name);
|
656 |
-
});
|
657 |
|
658 |
-
|
|
|
|
|
|
|
|
|
|
|
659 |
|
660 |
-
|
661 |
-
|
662 |
-
'key' => $meta->option_name,
|
663 |
-
'value' => $meta->option_value,
|
664 |
-
'autoload' => $meta->autoload,
|
665 |
-
'type' => $info['type'],
|
666 |
-
);
|
667 |
|
668 |
-
|
|
|
|
|
|
|
669 |
|
670 |
-
//
|
671 |
-
|
672 |
-
|
673 |
-
|
674 |
-
return strcmp($a->meta_key, $b->meta_key);
|
675 |
-
});
|
676 |
-
|
677 |
-
foreach($get_meta as $meta){
|
678 |
|
679 |
-
|
680 |
-
|
681 |
-
'key' => $meta->meta_key,
|
682 |
-
'value' => $meta->meta_value,
|
683 |
-
'type' => $info['type'],
|
684 |
-
);
|
685 |
|
686 |
-
|
687 |
-
|
688 |
-
|
689 |
-
}elseif($info['type'] === 'user'){
|
690 |
-
|
691 |
-
usort($get_meta, function($a, $b){
|
692 |
-
return strcmp($a->meta_key, $b->meta_key);
|
693 |
-
});
|
694 |
-
|
695 |
-
foreach($get_meta as $meta){
|
696 |
|
697 |
-
|
698 |
-
|
699 |
-
|
700 |
-
'value' => $meta->meta_value,
|
701 |
-
'type' => $info['type'],
|
702 |
-
);
|
703 |
-
|
704 |
-
}
|
705 |
-
|
706 |
}
|
707 |
-
|
|
|
708 |
$acf_meta = array();
|
709 |
|
|
|
710 |
foreach($wp_meta as $key => $meta){
|
711 |
|
712 |
-
//
|
713 |
-
if(!isset($wp_meta["_$key"]))
|
|
|
|
|
714 |
|
715 |
-
//
|
716 |
-
if(!acf_is_field_key($wp_meta["_$key"]['value']))
|
|
|
|
|
717 |
|
718 |
-
//
|
719 |
$field_key = $wp_meta["_$key"]['value'];
|
720 |
-
$field_type = '<em>Undefined</em>';
|
721 |
-
$field_group_title = '<em>Undefined</em>';
|
722 |
|
723 |
-
//
|
724 |
$field = acf_get_field($field_key);
|
725 |
|
726 |
-
//
|
727 |
if(!$field && substr_count($field_key, 'field_') > 1){
|
728 |
|
729 |
// get field key (last key)
|
@@ -734,7 +646,7 @@ class acfe_dev{
|
|
734 |
|
735 |
}
|
736 |
|
737 |
-
//
|
738 |
if($field){
|
739 |
|
740 |
// Field type
|
@@ -770,113 +682,174 @@ class acfe_dev{
|
|
770 |
|
771 |
}
|
772 |
|
773 |
-
//
|
774 |
$_meta = $wp_meta["_$key"];
|
775 |
$_meta['field_type'] = $field_type;
|
776 |
$_meta['field_group'] = $field_group_title;
|
777 |
|
778 |
$acf_meta[] = $_meta;
|
779 |
|
780 |
-
//
|
781 |
-
$_meta = $wp_meta[$key];
|
782 |
$_meta['field_type'] = $field_type;
|
783 |
$_meta['field_group'] = $field_group_title;
|
784 |
|
785 |
$acf_meta[] = $_meta;
|
786 |
|
787 |
-
//
|
788 |
unset($wp_meta["_$key"]);
|
789 |
unset($wp_meta[$key]);
|
790 |
|
791 |
}
|
792 |
|
|
|
793 |
$this->wp_meta = $wp_meta;
|
794 |
$this->acf_meta = $acf_meta;
|
795 |
|
796 |
}
|
797 |
|
798 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
799 |
|
800 |
-
|
801 |
-
|
802 |
-
$
|
803 |
-
$type = acf_maybe_get_POST('type');
|
804 |
|
805 |
-
|
806 |
-
|
807 |
-
|
808 |
-
|
|
|
|
|
809 |
|
810 |
-
|
811 |
-
|
812 |
-
|
813 |
-
|
814 |
-
wp_die(-1);
|
815 |
-
}
|
816 |
-
|
817 |
-
// Delete option
|
818 |
-
if($type === 'option'){
|
819 |
|
820 |
-
if(delete_option($key)){
|
821 |
-
wp_die(1);
|
822 |
}
|
|
|
|
|
823 |
|
824 |
-
|
825 |
-
|
826 |
|
827 |
-
if(delete_metadata_by_mid($type, $id)){
|
828 |
-
wp_die(1);
|
829 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
830 |
|
|
|
|
|
831 |
}
|
832 |
-
|
833 |
-
|
834 |
|
835 |
}
|
836 |
|
837 |
-
|
838 |
-
|
839 |
-
|
840 |
-
|
841 |
-
|
|
|
|
|
|
|
|
|
|
|
842 |
|
843 |
-
|
844 |
-
|
845 |
-
wp_die(0);
|
846 |
}
|
|
|
|
|
|
|
|
|
|
|
847 |
|
848 |
-
|
849 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
850 |
|
851 |
-
|
852 |
-
if(!current_user_can(acf_get_setting('capability'))){
|
853 |
-
wp_die(-1);
|
854 |
-
}
|
855 |
-
|
856 |
-
// Delete option
|
857 |
-
if($type === 'option'){
|
858 |
|
859 |
-
|
|
|
|
|
860 |
|
861 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
862 |
|
863 |
-
// retrieve option from option_id
|
864 |
-
$row = $wpdb->get_row($wpdb->prepare("SELECT option_name FROM $wpdb->options WHERE option_id = %d LIMIT 1", $id));
|
865 |
-
if($row){
|
866 |
-
delete_option($row->option_name);
|
867 |
}
|
|
|
|
|
|
|
868 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
869 |
|
870 |
-
|
|
|
|
|
871 |
|
872 |
}
|
873 |
-
|
874 |
-
|
875 |
-
foreach($ids as $id){
|
876 |
-
delete_metadata_by_mid($type, $id);
|
877 |
-
}
|
878 |
-
|
879 |
-
wp_die(1);
|
880 |
|
881 |
}
|
882 |
|
@@ -886,14 +859,31 @@ acf_new_instance('acfe_dev');
|
|
886 |
|
887 |
endif;
|
888 |
|
|
|
|
|
|
|
|
|
|
|
889 |
function acfe_dev_get_wp_meta(){
|
890 |
return acf_get_instance('acfe_dev')->wp_meta;
|
891 |
}
|
892 |
|
|
|
|
|
|
|
|
|
|
|
|
|
893 |
function acfe_dev_get_acf_meta(){
|
894 |
return acf_get_instance('acfe_dev')->acf_meta;
|
895 |
}
|
896 |
|
|
|
|
|
|
|
|
|
|
|
|
|
897 |
function acfe_dev_count_meta(){
|
898 |
return count(acfe_dev_get_wp_meta()) + count(acfe_dev_get_acf_meta());
|
899 |
}
|
8 |
|
9 |
class acfe_dev{
|
10 |
|
11 |
+
var $wp_meta = array(),
|
12 |
+
$acf_meta = array(),
|
13 |
+
$type = '';
|
14 |
|
15 |
function __construct(){
|
16 |
|
19 |
return;
|
20 |
}
|
21 |
|
22 |
+
// enqueue
|
23 |
add_action('admin_enqueue_scripts', array($this, 'admin_enqueue_scripts'));
|
24 |
|
25 |
// load
|
26 |
add_action('acfe/load_post', array($this, 'load_post'));
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
27 |
|
28 |
// add meta boxes
|
29 |
add_action('acfe/add_post_meta_boxes', array($this, 'add_post_meta_boxes'), 10, 2);
|
38 |
add_action('acfe/add_attachments_meta_boxes', array($this, 'add_attachments_meta_boxes'));
|
39 |
add_action('acfe/add_users_meta_boxes', array($this, 'add_users_meta_boxes'));
|
40 |
|
41 |
+
// table render
|
42 |
+
add_filter('acfe/dev/meta/columns', array($this, 'meta_columns'), 10, 3);
|
43 |
+
add_action('acfe/dev/meta/render_column', array($this, 'meta_render_column'), 10, 4);
|
44 |
|
45 |
}
|
46 |
+
|
47 |
+
|
48 |
+
/**
|
49 |
+
* admin_enqueue_scripts
|
50 |
*/
|
51 |
function admin_enqueue_scripts(){
|
52 |
|
53 |
+
// enqueue acf on network screen
|
54 |
+
if(acf_is_screen(array('profile-network', 'user-edit-network', 'user-network'))){
|
55 |
+
acf_enqueue_scripts();
|
56 |
}
|
57 |
|
|
|
|
|
|
|
58 |
}
|
59 |
|
60 |
+
|
61 |
+
/**
|
62 |
+
* load_post
|
63 |
+
*
|
64 |
+
* acfe/load_post
|
65 |
*/
|
66 |
function load_post(){
|
67 |
|
70 |
|
71 |
}
|
72 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
73 |
|
74 |
+
/**
|
75 |
+
* add_post_meta_boxes
|
76 |
+
*
|
77 |
+
* acfe/add_post_meta_boxes
|
78 |
+
*
|
79 |
+
* @param $post_type
|
80 |
+
* @param $post
|
81 |
*/
|
82 |
function add_post_meta_boxes($post_type, $post){
|
83 |
|
84 |
// check restricted post types
|
85 |
+
if(acfe_is_post_type_reserved_dev($post_type)){
|
86 |
+
return;
|
87 |
+
}
|
88 |
|
89 |
// post id
|
90 |
$post_id = $post->ID;
|
91 |
|
92 |
// add meta boxes
|
93 |
$this->add_meta_boxes($post_id, $post_type);
|
94 |
+
|
95 |
+
// action
|
96 |
+
do_action('acfe/dev/clean_metabox', $post_id, $post_type, 'post');
|
|
|
97 |
|
98 |
}
|
99 |
|
100 |
+
|
101 |
+
/**
|
102 |
+
* add_posts_meta_boxes
|
103 |
+
*
|
104 |
+
* acfe/add_posts_meta_boxes
|
105 |
+
*
|
106 |
+
* @param $post_type
|
107 |
*/
|
108 |
function add_posts_meta_boxes($post_type){
|
109 |
|
113 |
// add meta boxes
|
114 |
$this->add_meta_boxes($post_id, 'edit');
|
115 |
|
116 |
+
// action
|
117 |
+
do_action('acfe/dev/clean_metabox', $post_id, 'edit', 'posts');
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
118 |
|
119 |
}
|
120 |
|
121 |
+
|
122 |
+
/**
|
123 |
+
* add_term_meta_boxes
|
124 |
+
*
|
125 |
+
* acfe/add_term_meta_boxes
|
126 |
+
*
|
127 |
+
* @param $taxonomy
|
128 |
+
* @param $term
|
129 |
*/
|
130 |
function add_term_meta_boxes($taxonomy, $term){
|
131 |
|
135 |
// add meta boxes
|
136 |
$this->add_meta_boxes($post_id, "edit-{$taxonomy}");
|
137 |
|
138 |
+
// action
|
139 |
+
do_action('acfe/dev/clean_metabox', $post_id, "edit-{$taxonomy}", 'term');
|
|
|
140 |
|
141 |
}
|
142 |
|
143 |
+
|
144 |
+
/**
|
145 |
+
* add_terms_meta_boxes
|
146 |
+
*
|
147 |
+
* acfe/add_terms_meta_boxes
|
148 |
+
*
|
149 |
+
* @param $taxonomy
|
150 |
*/
|
151 |
function add_terms_meta_boxes($taxonomy){
|
152 |
|
156 |
// add meta boxes
|
157 |
$this->add_meta_boxes($post_id, 'edit');
|
158 |
|
159 |
+
// action
|
160 |
+
do_action('acfe/dev/clean_metabox', $post_id, 'edit', 'terms');
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
161 |
|
162 |
}
|
163 |
|
164 |
+
|
165 |
+
/**
|
166 |
+
* add_user_meta_boxes
|
167 |
+
*
|
168 |
+
* acfe/add_user_meta_boxes
|
169 |
+
*
|
170 |
+
* @param $user
|
171 |
*/
|
172 |
function add_user_meta_boxes($user){
|
173 |
|
177 |
// add meta boxes
|
178 |
$this->add_meta_boxes($post_id, array('profile', 'user-edit'));
|
179 |
|
180 |
+
// action
|
181 |
+
do_action('acfe/dev/clean_metabox', $post_id, array('profile', 'user-edit'), 'user');
|
|
|
182 |
|
183 |
}
|
184 |
|
185 |
+
|
186 |
+
/**
|
187 |
+
* add_option_meta_boxes
|
188 |
+
*
|
189 |
+
* acfe/add_option_meta_boxes
|
190 |
+
*
|
191 |
+
* @param $page
|
192 |
*/
|
193 |
function add_option_meta_boxes($page){
|
194 |
|
197 |
|
198 |
// add meta boxes
|
199 |
$this->add_meta_boxes($post_id, 'acf_options_page');
|
200 |
+
|
201 |
+
// action
|
202 |
+
do_action('acfe/dev/clean_metabox', $post_id, 'acf_options_page', 'option');
|
|
|
203 |
|
204 |
}
|
205 |
|
206 |
+
|
207 |
+
/**
|
208 |
+
* add_settings_meta_boxes
|
209 |
+
*
|
210 |
+
* acfe/add_settings_meta_boxes
|
211 |
+
*
|
212 |
+
* @param $page
|
213 |
*/
|
214 |
function add_settings_meta_boxes($page){
|
215 |
|
221 |
|
222 |
}
|
223 |
|
224 |
+
|
225 |
+
/**
|
226 |
+
* add_attachment_meta_boxes
|
227 |
+
*
|
228 |
+
* acfe/add_attachment_meta_boxes
|
229 |
+
*
|
230 |
+
* @param $post
|
231 |
*/
|
232 |
function add_attachment_meta_boxes($post){
|
233 |
|
238 |
// add meta boxes
|
239 |
$this->add_meta_boxes($post_id, $post_type);
|
240 |
|
241 |
+
do_action('acfe/dev/clean_metabox', $post_id, $post_type, 'attachment');
|
|
|
|
|
242 |
|
243 |
}
|
244 |
|
245 |
+
|
246 |
+
/**
|
247 |
+
* add_attachments_meta_boxes
|
248 |
+
*
|
249 |
+
* acfe/add_attachments_meta_boxes
|
250 |
*/
|
251 |
function add_attachments_meta_boxes(){
|
252 |
|
258 |
|
259 |
}
|
260 |
|
261 |
+
|
262 |
+
/**
|
263 |
+
* add_users_meta_boxes
|
264 |
+
*
|
265 |
+
* acfe/add_users_meta_boxes
|
266 |
*/
|
267 |
function add_users_meta_boxes(){
|
268 |
|
274 |
|
275 |
}
|
276 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
277 |
|
278 |
+
/**
|
279 |
+
* add_meta_boxes
|
280 |
+
*
|
281 |
+
* @param $post_id
|
282 |
+
* @param $screen
|
283 |
*/
|
284 |
+
function add_meta_boxes($post_id, $screen){
|
285 |
|
286 |
+
// setup meta
|
287 |
+
$this->setup_meta($post_id);
|
288 |
|
289 |
+
// do action
|
290 |
+
do_action('acfe/dev/add_meta_boxes', $post_id, $screen);
|
291 |
|
292 |
+
// vars
|
293 |
+
$bulk = false;
|
294 |
+
$context = 'normal';
|
295 |
+
$priority = 'low';
|
296 |
|
297 |
+
// wp meta
|
298 |
if(!empty($this->wp_meta)){
|
299 |
+
|
300 |
+
// display metabox on object lists screen
|
301 |
+
acf_set_filters(array(
|
302 |
+
'acfe/post_type_list' => true,
|
303 |
+
'acfe/taxonomy_list' => true,
|
304 |
+
'acfe/user_list' => true,
|
305 |
+
'acfe/attachment_list' => true,
|
306 |
+
));
|
307 |
|
308 |
if(empty($this->acf_meta)){
|
309 |
+
$bulk = true;
|
310 |
}
|
311 |
|
312 |
+
// vars
|
313 |
$id = 'acfe-wp-custom-fields';
|
314 |
+
$title = $this->type === 'option' ? __('WP Options Meta', 'acfe') : __('WP Custom Fields', 'acfe');
|
315 |
+
$title .= '<span class="acfe-dev-meta-count">' . count($this->wp_meta) . '</span>';
|
316 |
|
317 |
+
add_meta_box($id, $title, array($this, 'render_meta_box'), $screen, $context, $priority, array('table' => 'wp_meta', 'type' => $this->type, 'bulk' => $bulk));
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
318 |
|
319 |
}
|
320 |
|
321 |
+
// acf meta
|
322 |
if(!empty($this->acf_meta)){
|
323 |
|
324 |
+
// display metabox on object lists screen
|
325 |
+
acf_set_filters(array(
|
326 |
+
'acfe/post_type_list' => true,
|
327 |
+
'acfe/taxonomy_list' => true,
|
328 |
+
'acfe/user_list' => true,
|
329 |
+
'acfe/attachment_list' => true,
|
330 |
+
));
|
331 |
|
332 |
+
if(!$bulk){
|
333 |
+
$bulk = true;
|
334 |
}
|
335 |
|
336 |
$id = 'acfe-acf-custom-fields';
|
337 |
+
$title = $this->type === 'option' ? __('ACF Options Meta', 'acfe') : __('ACF Custom Fields', 'acfe');
|
338 |
+
$title .= '<span class="acfe-dev-meta-count">' . count($this->acf_meta) . '</span>';
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
339 |
|
340 |
+
add_meta_box($id, $title, array($this, 'render_meta_box'), $screen, $context, $priority, array('table' => 'acf_meta', 'type' => $this->type, 'bulk' => $bulk));
|
341 |
|
342 |
}
|
343 |
|
344 |
}
|
345 |
+
|
346 |
+
|
347 |
+
/**
|
348 |
+
* render_meta_box
|
349 |
+
*
|
350 |
+
* @param $post
|
351 |
+
* @param $metabox
|
352 |
+
*/
|
353 |
function render_meta_box($post, $metabox){
|
354 |
|
355 |
+
//vars
|
356 |
+
$args = $metabox['args'];
|
357 |
+
$columns = apply_filters('acfe/dev/meta/columns', array(), $args);
|
|
|
|
|
|
|
|
|
|
|
358 |
|
359 |
?>
|
360 |
<table class="wp-list-table widefat fixed striped">
|
362 |
<thead>
|
363 |
<tr>
|
364 |
|
365 |
+
<?php foreach($columns as $column_name => $column_label): ?>
|
|
|
|
|
|
|
|
|
|
|
366 |
|
367 |
+
<?php
|
368 |
+
$el = $column_name === 'checkbox' ? 'td' : 'th';
|
369 |
+
$class = $column_name === 'checkbox' ? 'check-column' : "col-{$column_name}";
|
370 |
+
|
371 |
+
echo "<{$el} scope='col' class='{$class}'>{$column_label}</{$el}>";
|
372 |
+
?>
|
373 |
|
374 |
+
<?php endforeach; ?>
|
|
|
|
|
375 |
|
376 |
</tr>
|
377 |
</thead>
|
378 |
|
379 |
<tbody>
|
380 |
|
381 |
+
<?php foreach($this->{$args['table']} as $meta): ?>
|
382 |
|
383 |
+
<tr>
|
384 |
+
|
385 |
+
<?php foreach($columns as $column_name => $column_label): ?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
386 |
|
387 |
+
<?php
|
388 |
+
$el = $column_name === 'checkbox' ? 'th' : 'td';
|
389 |
+
$attrs = $column_name === 'checkbox' ? array('scope' => 'row', 'class' => 'check-column') : array();
|
390 |
+
|
391 |
+
echo "<{$el} " . acf_esc_attrs($attrs) . ">";
|
392 |
+
do_action('acfe/dev/meta/render_column', $column_name, $meta, $args);
|
393 |
+
echo "</{$el}>";
|
394 |
+
?>
|
395 |
|
396 |
+
<?php endforeach; ?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
397 |
|
398 |
</tr>
|
399 |
|
400 |
+
<?php endforeach; ?>
|
401 |
|
402 |
</tbody>
|
403 |
|
404 |
</table>
|
405 |
+
|
406 |
+
<?php do_action('acfe/dev/meta/after_table', $args); ?>
|
407 |
+
<script type="text/javascript">
|
408 |
+
if(typeof acf !== 'undefined'){
|
409 |
+
acf.newPostbox(<?php echo json_encode(array('id' => $metabox['id'])); ?>);
|
410 |
+
}
|
411 |
+
</script>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
412 |
<?php
|
413 |
|
414 |
}
|
415 |
|
416 |
+
|
417 |
+
/**
|
418 |
+
* meta_columns
|
419 |
+
*
|
420 |
+
* acfe/dev/meta/columns
|
421 |
+
*
|
422 |
+
* @param $columns
|
423 |
+
* @param $args
|
424 |
+
*
|
425 |
+
* @return array|string[]
|
426 |
+
*/
|
427 |
+
function meta_columns($columns, $args){
|
428 |
|
429 |
+
$columns = array(
|
430 |
+
'name' => __('Name', 'acfe'),
|
431 |
+
'value' => __('Value', 'acfe'),
|
432 |
+
);
|
433 |
|
434 |
+
if(current_user_can(acf_get_setting('capability'))){
|
435 |
+
$columns = array_merge(array('checkbox' => '<input type="checkbox" />'), $columns);
|
436 |
+
}
|
437 |
+
|
438 |
+
if($args['table'] === 'acf_meta'){
|
439 |
+
$columns['field-type'] = __('Field Type', 'acf');
|
440 |
+
$columns['field-group'] = __('Field Group', 'acf');
|
441 |
+
}
|
442 |
+
|
443 |
+
if($args['type'] === 'option'){
|
444 |
+
$columns['autoload'] = __('Autoload', 'acfe');
|
445 |
+
}
|
446 |
+
|
447 |
+
return $columns;
|
448 |
|
449 |
+
}
|
|
|
450 |
|
|
|
|
|
451 |
|
452 |
+
/**
|
453 |
+
* meta_render_column
|
454 |
+
*
|
455 |
+
* acfe/dev/meta/render_column
|
456 |
+
*
|
457 |
+
* @param $column_name
|
458 |
+
* @param $meta
|
459 |
+
* @param $args
|
460 |
+
*/
|
461 |
+
function meta_render_column($column_name, $meta, $args){
|
462 |
|
463 |
+
switch($column_name){
|
|
|
|
|
|
|
|
|
464 |
|
465 |
+
case 'checkbox': {
|
466 |
+
|
467 |
+
?>
|
468 |
+
<input type="checkbox" class="acfe-dev-bulk-checkbox" value="<?php echo $meta['id']; ?>" />
|
469 |
+
<?php
|
470 |
+
break;
|
471 |
+
|
472 |
+
}
|
473 |
|
474 |
+
case 'name': {
|
475 |
+
|
476 |
+
?>
|
477 |
+
<strong><?php echo esc_attr($meta['key']); ?></strong>
|
478 |
+
<?php
|
479 |
+
|
480 |
+
$row_actions = apply_filters('acfe/dev/meta/row_actions', array(), $meta, $args);
|
481 |
|
482 |
+
if($row_actions){
|
|
|
483 |
|
484 |
+
echo '<div class="row-actions">';
|
485 |
|
486 |
+
echo implode(' | ', array_map(function($action_name, $action){
|
487 |
+
return "<span class='{$action_name}'>{$action}</span>";
|
488 |
+
}, array_keys($row_actions), $row_actions));
|
|
|
489 |
|
490 |
+
echo '</div>';
|
|
|
491 |
|
492 |
+
}
|
493 |
+
|
494 |
+
break;
|
495 |
|
496 |
+
}
|
497 |
|
498 |
+
case 'value': {
|
499 |
+
|
500 |
+
echo $this->render_meta_value($meta['value']);
|
501 |
+
break;
|
502 |
+
|
503 |
+
}
|
504 |
|
505 |
+
case 'field-type': {
|
|
|
|
|
506 |
|
507 |
+
echo acf_maybe_get($meta, 'field_type');
|
508 |
+
break;
|
509 |
+
|
510 |
+
}
|
511 |
|
512 |
+
case 'field-group': {
|
|
|
513 |
|
514 |
+
echo acf_maybe_get($meta, 'field_group');
|
515 |
+
break;
|
516 |
+
|
517 |
+
}
|
518 |
|
519 |
+
case 'autoload': {
|
520 |
|
521 |
+
echo $meta['autoload'];
|
522 |
+
break;
|
523 |
|
524 |
+
}
|
525 |
|
526 |
}
|
527 |
|
528 |
+
}
|
529 |
+
|
530 |
+
|
531 |
+
/**
|
532 |
+
* render_meta_value
|
533 |
+
*
|
534 |
+
* @param $value
|
535 |
+
*
|
536 |
+
* @return string
|
537 |
+
*/
|
538 |
+
function render_meta_value($value){
|
539 |
+
|
540 |
+
// raw
|
541 |
+
$raw = map_deep($value, '_wp_specialchars');
|
542 |
+
|
543 |
+
// string (default)
|
544 |
+
$return = '<pre>' . print_r($raw, true) . '</pre>';
|
545 |
+
|
546 |
+
// empty value
|
547 |
+
if(acf_is_empty($value)){
|
548 |
+
|
549 |
+
$return = '<pre style="color:#aaa;">(' . __('empty', 'acf') . ')</pre>';
|
550 |
|
551 |
+
// serialized value
|
552 |
+
}elseif(is_serialized($value)){
|
553 |
|
554 |
+
$value = maybe_unserialize($value);
|
555 |
+
$value = @map_deep($value, '_wp_specialchars');
|
|
|
|
|
556 |
|
557 |
+
$return = '<pre>' . print_r($value, true) . '</pre>';
|
558 |
+
$return .= '<pre class="raw">' . print_r($raw, true) . '</pre>';
|
559 |
|
560 |
+
// html value
|
561 |
+
}elseif(acfe_is_html($value)){
|
|
|
|
|
562 |
|
563 |
+
$return = '<pre>' . print_r($raw, true) . '</pre>';
|
564 |
|
565 |
+
// json value
|
566 |
+
}elseif(acfe_is_json($value)){
|
|
|
567 |
|
568 |
+
$value = json_decode($value);
|
569 |
+
$value = @map_deep($value, '_wp_specialchars');
|
570 |
|
571 |
+
$return = '<pre>' . print_r($value, true) . '</pre>';
|
572 |
+
$return .= '<pre class="raw">' . print_r($raw, true) . '</pre>';
|
573 |
|
574 |
}
|
575 |
|
576 |
+
// return
|
577 |
+
return $return;
|
578 |
|
579 |
+
}
|
|
|
|
|
|
|
580 |
|
|
|
|
|
|
|
581 |
|
582 |
+
/**
|
583 |
+
* setup_meta
|
584 |
+
*
|
585 |
+
* @param $post_id
|
586 |
+
*/
|
587 |
+
function setup_meta($post_id = 0){
|
588 |
|
589 |
+
// validate
|
590 |
+
$post_id = acf_get_valid_post_id($post_id);
|
|
|
|
|
|
|
|
|
|
|
591 |
|
592 |
+
// bail early
|
593 |
+
if(empty($post_id)){
|
594 |
+
return;
|
595 |
+
}
|
596 |
|
597 |
+
// extract decoded post_id
|
598 |
+
// $id
|
599 |
+
// $type
|
600 |
+
extract(acf_decode_post_id($post_id));
|
|
|
|
|
|
|
|
|
601 |
|
602 |
+
// set global type
|
603 |
+
$this->type = $type;
|
|
|
|
|
|
|
|
|
604 |
|
605 |
+
// get meta
|
606 |
+
$all_meta = $this->get_meta($id, $type);
|
607 |
+
$wp_meta = $this->sort_meta($all_meta, $type);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
608 |
|
609 |
+
// bail early
|
610 |
+
if(empty($wp_meta)){
|
611 |
+
return;
|
|
|
|
|
|
|
|
|
|
|
|
|
612 |
}
|
613 |
+
|
614 |
+
// vars
|
615 |
$acf_meta = array();
|
616 |
|
617 |
+
// loop to prepare acf_meta
|
618 |
foreach($wp_meta as $key => $meta){
|
619 |
|
620 |
+
// no prefix, so not acf meta
|
621 |
+
if(!isset($wp_meta["_$key"])){
|
622 |
+
continue;
|
623 |
+
}
|
624 |
|
625 |
+
// check if key is field_abcde123456?
|
626 |
+
if(!acf_is_field_key($wp_meta["_$key"]['value'])){
|
627 |
+
continue;
|
628 |
+
}
|
629 |
|
630 |
+
// vars
|
631 |
$field_key = $wp_meta["_$key"]['value'];
|
632 |
+
$field_type = '<em>' . __('Undefined', 'acfe') . '</em>';
|
633 |
+
$field_group_title = '<em>' . __('Undefined', 'acfe') . '</em>';
|
634 |
|
635 |
+
// get field
|
636 |
$field = acf_get_field($field_key);
|
637 |
|
638 |
+
// check clone in sub field: field_123456abcdef_field_123456abcfed
|
639 |
if(!$field && substr_count($field_key, 'field_') > 1){
|
640 |
|
641 |
// get field key (last key)
|
646 |
|
647 |
}
|
648 |
|
649 |
+
// found field
|
650 |
if($field){
|
651 |
|
652 |
// Field type
|
682 |
|
683 |
}
|
684 |
|
685 |
+
// assign acf meta: prefix
|
686 |
$_meta = $wp_meta["_$key"];
|
687 |
$_meta['field_type'] = $field_type;
|
688 |
$_meta['field_group'] = $field_group_title;
|
689 |
|
690 |
$acf_meta[] = $_meta;
|
691 |
|
692 |
+
// assign acf meta: normal
|
693 |
+
$_meta = $wp_meta[ $key ];
|
694 |
$_meta['field_type'] = $field_type;
|
695 |
$_meta['field_group'] = $field_group_title;
|
696 |
|
697 |
$acf_meta[] = $_meta;
|
698 |
|
699 |
+
// unset wp meta
|
700 |
unset($wp_meta["_$key"]);
|
701 |
unset($wp_meta[$key]);
|
702 |
|
703 |
}
|
704 |
|
705 |
+
// assign global
|
706 |
$this->wp_meta = $wp_meta;
|
707 |
$this->acf_meta = $acf_meta;
|
708 |
|
709 |
}
|
710 |
|
711 |
+
|
712 |
+
/**
|
713 |
+
* get_meta
|
714 |
+
*
|
715 |
+
* @param $id
|
716 |
+
* @param $type
|
717 |
+
*
|
718 |
+
* @return array|object|stdClass|null
|
719 |
+
*/
|
720 |
+
function get_meta($id, $type){
|
721 |
+
|
722 |
+
global $wpdb;
|
723 |
|
724 |
+
$all_meta = null;
|
725 |
+
|
726 |
+
switch($type){
|
|
|
727 |
|
728 |
+
case 'post': {
|
729 |
+
|
730 |
+
$all_meta = $wpdb->get_results($wpdb->prepare("SELECT * FROM {$wpdb->postmeta} WHERE `post_id` = %d ", $id));
|
731 |
+
break;
|
732 |
+
|
733 |
+
}
|
734 |
|
735 |
+
case 'term': {
|
736 |
+
|
737 |
+
$all_meta = $wpdb->get_results($wpdb->prepare("SELECT * FROM {$wpdb->termmeta} WHERE `term_id` = %d ", $id));
|
738 |
+
break;
|
|
|
|
|
|
|
|
|
|
|
739 |
|
|
|
|
|
740 |
}
|
741 |
+
|
742 |
+
case 'user': {
|
743 |
|
744 |
+
$all_meta = $wpdb->get_results($wpdb->prepare("SELECT * FROM {$wpdb->usermeta} WHERE `user_id` = %d ", $id));
|
745 |
+
break;
|
746 |
|
|
|
|
|
747 |
}
|
748 |
+
|
749 |
+
case 'option': {
|
750 |
+
|
751 |
+
$search_ = $wpdb->esc_like("{$id}_") . '%';
|
752 |
+
$_search_ = $wpdb->esc_like("_{$id}_") . '%';
|
753 |
+
|
754 |
+
$all_meta = $wpdb->get_results($wpdb->prepare("SELECT * FROM {$wpdb->options} WHERE `option_name` LIKE %s OR `option_name` LIKE %s OR `option_name` = %s", $search_, $_search_, $id));
|
755 |
+
break;
|
756 |
|
757 |
+
}
|
758 |
+
|
759 |
}
|
760 |
+
|
761 |
+
return $all_meta;
|
762 |
|
763 |
}
|
764 |
|
765 |
+
|
766 |
+
/**
|
767 |
+
* sort_meta
|
768 |
+
*
|
769 |
+
* @param $all_meta
|
770 |
+
* @param $type
|
771 |
+
*
|
772 |
+
* @return array|false
|
773 |
+
*/
|
774 |
+
function sort_meta($all_meta, $type){
|
775 |
|
776 |
+
if(empty($all_meta)){
|
777 |
+
return false;
|
|
|
778 |
}
|
779 |
+
|
780 |
+
$wp_meta = array();
|
781 |
+
|
782 |
+
// re-order
|
783 |
+
switch($type){
|
784 |
|
785 |
+
case 'post':
|
786 |
+
case 'term': {
|
787 |
+
|
788 |
+
usort($all_meta, function($a, $b){
|
789 |
+
return strcmp($a->meta_key, $b->meta_key);
|
790 |
+
});
|
791 |
+
|
792 |
+
foreach($all_meta as $meta){
|
793 |
+
|
794 |
+
$wp_meta[ $meta->meta_key ] = array(
|
795 |
+
'id' => $meta->meta_id,
|
796 |
+
'key' => $meta->meta_key,
|
797 |
+
'value' => $meta->meta_value,
|
798 |
+
'type' => $type,
|
799 |
+
);
|
800 |
+
|
801 |
+
}
|
802 |
+
|
803 |
+
break;
|
804 |
+
|
805 |
+
}
|
806 |
|
807 |
+
case 'user': {
|
|
|
|
|
|
|
|
|
|
|
|
|
808 |
|
809 |
+
usort($all_meta, function($a, $b){
|
810 |
+
return strcmp($a->meta_key, $b->meta_key);
|
811 |
+
});
|
812 |
|
813 |
+
foreach($all_meta as $meta){
|
814 |
+
|
815 |
+
$wp_meta[ $meta->meta_key ] = array(
|
816 |
+
'id' => $meta->umeta_id,
|
817 |
+
'key' => $meta->meta_key,
|
818 |
+
'value' => $meta->meta_value,
|
819 |
+
'type' => $type,
|
820 |
+
);
|
821 |
|
|
|
|
|
|
|
|
|
822 |
}
|
823 |
+
|
824 |
+
break;
|
825 |
+
|
826 |
}
|
827 |
+
|
828 |
+
case 'option': {
|
829 |
+
|
830 |
+
usort($all_meta, function($a, $b){
|
831 |
+
return strcmp($a->option_name, $b->option_name);
|
832 |
+
});
|
833 |
+
|
834 |
+
foreach($all_meta as $meta){
|
835 |
+
|
836 |
+
$wp_meta[$meta->option_name] = array(
|
837 |
+
'id' => $meta->option_id,
|
838 |
+
'key' => $meta->option_name,
|
839 |
+
'value' => $meta->option_value,
|
840 |
+
'autoload' => $meta->autoload,
|
841 |
+
'type' => $type,
|
842 |
+
);
|
843 |
+
|
844 |
+
}
|
845 |
|
846 |
+
break;
|
847 |
+
|
848 |
+
}
|
849 |
|
850 |
}
|
851 |
+
|
852 |
+
return $wp_meta;
|
|
|
|
|
|
|
|
|
|
|
853 |
|
854 |
}
|
855 |
|
859 |
|
860 |
endif;
|
861 |
|
862 |
+
/**
|
863 |
+
* acfe_dev_get_wp_meta
|
864 |
+
*
|
865 |
+
* @return mixed
|
866 |
+
*/
|
867 |
function acfe_dev_get_wp_meta(){
|
868 |
return acf_get_instance('acfe_dev')->wp_meta;
|
869 |
}
|
870 |
|
871 |
+
|
872 |
+
/**
|
873 |
+
* acfe_dev_get_acf_meta
|
874 |
+
*
|
875 |
+
* @return mixed
|
876 |
+
*/
|
877 |
function acfe_dev_get_acf_meta(){
|
878 |
return acf_get_instance('acfe_dev')->acf_meta;
|
879 |
}
|
880 |
|
881 |
+
|
882 |
+
/**
|
883 |
+
* acfe_dev_count_meta
|
884 |
+
*
|
885 |
+
* @return int
|
886 |
+
*/
|
887 |
function acfe_dev_count_meta(){
|
888 |
return count(acfe_dev_get_wp_meta()) + count(acfe_dev_get_acf_meta());
|
889 |
}
|
includes/modules/forms-shortcode.php
CHANGED
@@ -21,6 +21,12 @@ class acfe_form_shortcode{
|
|
21 |
|
22 |
function render_shortcode($atts){
|
23 |
|
|
|
|
|
|
|
|
|
|
|
|
|
24 |
// attributes array
|
25 |
$atts = acf_get_array($atts);
|
26 |
|
21 |
|
22 |
function render_shortcode($atts){
|
23 |
|
24 |
+
// bail early on gutenberg screen
|
25 |
+
// avoid bug with media modal css in wp back-end
|
26 |
+
if(acfe_is_block_editor()){
|
27 |
+
return false;
|
28 |
+
}
|
29 |
+
|
30 |
// attributes array
|
31 |
$atts = acf_get_array($atts);
|
32 |
|
includes/modules/ui-attachment.php
CHANGED
@@ -36,7 +36,7 @@ class acfe_enhanced_ui_attachment extends acfe_enhanced_ui{
|
|
36 |
|
37 |
// remove acf edit fields
|
38 |
// advanced-custom-fields-pro/includes/forms/form-attachment.php
|
39 |
-
|
40 |
|
41 |
// acf form data + acf_after_title metabox
|
42 |
add_action('edit_form_after_title', array($this, 'edit_form_after_title'));
|
36 |
|
37 |
// remove acf edit fields
|
38 |
// advanced-custom-fields-pro/includes/forms/form-attachment.php
|
39 |
+
acfe_remove_action('attachment_fields_to_edit', array('acf_form_attachment', 'edit_attachment'));
|
40 |
|
41 |
// acf form data + acf_after_title metabox
|
42 |
add_action('edit_form_after_title', array($this, 'edit_form_after_title'));
|
includes/modules/ui-term.php
CHANGED
@@ -111,7 +111,7 @@ class acfe_enhanced_ui_term extends acfe_enhanced_ui{
|
|
111 |
|
112 |
// remove acf render
|
113 |
// advanced-custom-fields-pro/includes/forms/form-taxonomy.php
|
114 |
-
|
115 |
|
116 |
}
|
117 |
|
111 |
|
112 |
// remove acf render
|
113 |
// advanced-custom-fields-pro/includes/forms/form-taxonomy.php
|
114 |
+
acfe_remove_action("{$this->taxonomy}_edit_form", array('acf_form_taxonomy', 'edit_term'));
|
115 |
|
116 |
}
|
117 |
|
lang/acfe-fr_FR.po
CHANGED
@@ -1,4635 +1,4635 @@
|
|
1 |
-
msgid ""
|
2 |
-
msgstr ""
|
3 |
-
"Project-Id-Version: Advanced Custom Fields: Extended\n"
|
4 |
-
"POT-Creation-Date: 2022-09-22 05:24+0200\n"
|
5 |
-
"PO-Revision-Date: 2022-09-22 05:24+0200\n"
|
6 |
-
"Last-Translator: \n"
|
7 |
-
"Language-Team: https://www.acf-extended.com\n"
|
8 |
-
"Language: fr_FR\n"
|
9 |
-
"MIME-Version: 1.0\n"
|
10 |
-
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
-
"Content-Transfer-Encoding: 8bit\n"
|
12 |
-
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
|
13 |
-
"X-Generator: Poedit 3.1.1\n"
|
14 |
-
"X-Poedit-Basepath: ..\n"
|
15 |
-
"X-Poedit-Flags-xgettext: --add-comments=translators:\n"
|
16 |
-
"X-Poedit-WPHeader: acf-extended.php\n"
|
17 |
-
"X-Poedit-SourceCharset: UTF-8\n"
|
18 |
-
"X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;"
|
19 |
-
"esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;"
|
20 |
-
"_nx_noop:3c,1,2;__ngettext_noop:1,2\n"
|
21 |
-
"X-Poedit-SearchPath-0: .\n"
|
22 |
-
"X-Poedit-SearchPathExcluded-0: *.min.js\n"
|
23 |
-
"X-Poedit-SearchPathExcluded-1: .build\n"
|
24 |
-
|
25 |
-
#: assets/js/acfe-admin.js:344 includes/modules/options-pages.php:301
|
26 |
-
#: includes/modules/options.php:470 pro/includes/updates.php:362
|
27 |
-
msgid "Yes"
|
28 |
-
msgstr "Oui"
|
29 |
-
|
30 |
-
#: assets/js/acfe-admin.js:345 includes/modules/options-pages.php:301
|
31 |
-
#: includes/modules/options.php:469 pro/includes/updates.php:374
|
32 |
-
msgid "No"
|
33 |
-
msgstr "Non"
|
34 |
-
|
35 |
-
#: assets/js/acfe-input.js:106 assets/js/acfe-input.js:407
|
36 |
-
#: assets/js/acfe-input.js:743 assets/js/acfe-input.js:1521
|
37 |
-
#: assets/js/acfe-input.js:2279 includes/assets.php:130
|
38 |
-
#: includes/field-groups/field-group-meta.php:146
|
39 |
-
#: includes/fields-settings/data.php:83
|
40 |
-
#: includes/fields/field-flexible-content.php:781
|
41 |
-
#: includes/fields/field-flexible-content.php:787 includes/modules/dev.php:132
|
42 |
-
#: pro/assets/js/acfe-pro-admin.js:397 pro/assets/js/acfe-pro-input.js:671
|
43 |
-
#: pro/includes/field-groups/field-group-ui.php:444
|
44 |
-
#: pro/includes/fields/field-payment.php:472 pro/includes/modules/dev.php:88
|
45 |
-
#: pro/includes/modules/dev.php:178 pro/includes/modules/dev.php:245
|
46 |
-
#: pro/includes/modules/dev.php:345 pro/includes/modules/dev.php:401
|
47 |
-
#: pro/includes/modules/dev.php:457 pro/includes/modules/dev.php:511
|
48 |
-
msgid "Close"
|
49 |
-
msgstr "Fermer"
|
50 |
-
|
51 |
-
#: assets/js/acfe-input.js:1636 includes/fields/field-flexible-content.php:289
|
52 |
-
msgid "Add Row"
|
53 |
-
msgstr "Ajouter une rangée"
|
54 |
-
|
55 |
-
#: includes/acfe-field-functions.php:520 includes/modules/forms-helpers.php:242
|
56 |
-
#: includes/modules/forms-helpers.php:271 includes/modules/module.php:534
|
57 |
-
msgid "no label"
|
58 |
-
msgstr "pas de label"
|
59 |
-
|
60 |
-
#: includes/acfe-field-group-functions.php:468
|
61 |
-
#: includes/modules/block-types.php:177 includes/modules/options-pages.php:181
|
62 |
-
#: pro/includes/fields/field-field-groups.php:17
|
63 |
-
msgid "Field Groups"
|
64 |
-
msgstr "Groupes de champs"
|
65 |
-
|
66 |
-
#: includes/acfe-field-group-functions.php:483
|
67 |
-
msgid "edit"
|
68 |
-
msgstr "éditer"
|
69 |
-
|
70 |
-
#: includes/acfe-file-functions.php:204
|
71 |
-
#: includes/field-groups/field-groups.php:783
|
72 |
-
#: includes/field-groups/field-groups.php:793
|
73 |
-
#: includes/field-groups/field-groups.php:803
|
74 |
-
msgid "Located"
|
75 |
-
msgstr "Situé"
|
76 |
-
|
77 |
-
#: includes/acfe-file-functions.php:205
|
78 |
-
msgid "Not found"
|
79 |
-
msgstr "Introuvable"
|
80 |
-
|
81 |
-
#: includes/acfe-file-functions.php:220 includes/acfe-file-functions.php:231
|
82 |
-
#: includes/field-groups/field-groups.php:786
|
83 |
-
msgid "in theme:"
|
84 |
-
msgstr "dans le thème:"
|
85 |
-
|
86 |
-
#: includes/acfe-file-functions.php:242
|
87 |
-
#: includes/field-groups/field-groups.php:796
|
88 |
-
msgid "in plugin:"
|
89 |
-
msgstr "dans le plugin:"
|
90 |
-
|
91 |
-
#: includes/acfe-file-functions.php:253
|
92 |
-
#: includes/field-groups/field-groups.php:806
|
93 |
-
msgid "in:"
|
94 |
-
msgstr "dans :"
|
95 |
-
|
96 |
-
#: includes/acfe-screen-functions.php:49
|
97 |
-
msgid "Custom Fields"
|
98 |
-
msgstr "Champs personnalisés"
|
99 |
-
|
100 |
-
#: includes/acfe-user-functions.php:23
|
101 |
-
msgid "Super Admin"
|
102 |
-
msgstr "Super-admin"
|
103 |
-
|
104 |
-
#: includes/admin/plugins.php:27
|
105 |
-
msgid "Advanced Custom Fields"
|
106 |
-
msgstr "Champs personnalisés avancés"
|
107 |
-
|
108 |
-
#: includes/admin/settings.php:479 includes/admin/settings.php:611
|
109 |
-
#: includes/admin/settings.php:623 includes/fields-settings/settings.php:123
|
110 |
-
#: includes/fields/field-flexible-content.php:61
|
111 |
-
#: pro/includes/admin/settings.php:278 pro/includes/admin/settings.php:338
|
112 |
-
msgid "Settings"
|
113 |
-
msgstr "Paramètres"
|
114 |
-
|
115 |
-
#: includes/admin/tools/block-types-export.php:19
|
116 |
-
#: includes/admin/tools/block-types-export.php:20
|
117 |
-
msgid "Export Block Types"
|
118 |
-
msgstr "Exporter les types de bloc"
|
119 |
-
|
120 |
-
#: includes/admin/tools/block-types-export.php:21
|
121 |
-
msgid "Select Block Types"
|
122 |
-
msgstr "Sélectionner les types de bloc"
|
123 |
-
|
124 |
-
#: includes/admin/tools/block-types-export.php:28
|
125 |
-
msgid "No block type available."
|
126 |
-
msgstr "Aucun type de bloc dynamique disponible."
|
127 |
-
|
128 |
-
#: includes/admin/tools/block-types-export.php:29
|
129 |
-
msgid "No block types selected"
|
130 |
-
msgstr "Aucun type de bloc sélectionné"
|
131 |
-
|
132 |
-
#: includes/admin/tools/block-types-import.php:20
|
133 |
-
#: includes/admin/tools/block-types-import.php:21
|
134 |
-
msgid "Import Block Types"
|
135 |
-
msgstr "Importer des types de bloc"
|
136 |
-
|
137 |
-
#: includes/admin/tools/field-groups-export.php:37
|
138 |
-
#, php-format
|
139 |
-
msgid "Exported 1 field group."
|
140 |
-
msgid_plural "Exported %s field groups."
|
141 |
-
msgstr[0] "Groupe exporté 1 champ."
|
142 |
-
msgstr[1] "Groupes exportés %s champ."
|
143 |
-
|
144 |
-
#: includes/admin/tools/field-groups-local.php:14
|
145 |
-
msgid "Export Local Field Groups"
|
146 |
-
msgstr "Exporter des groupes de champs locaux"
|
147 |
-
|
148 |
-
#: includes/admin/tools/field-groups-local.php:29
|
149 |
-
#, php-format
|
150 |
-
msgid "Imported 1 field group"
|
151 |
-
msgid_plural "Imported %s field groups"
|
152 |
-
msgstr[0] "Importé 1 groupe de champs"
|
153 |
-
msgstr[1] "Importé %s groupes de champs"
|
154 |
-
|
155 |
-
#: includes/admin/tools/field-groups-local.php:51
|
156 |
-
msgid "No field group selected"
|
157 |
-
msgstr "Aucun groupe de champs sélectionné"
|
158 |
-
|
159 |
-
#: includes/admin/tools/field-groups-local.php:141
|
160 |
-
msgid ""
|
161 |
-
"The following code can be used to register a local version of the selected "
|
162 |
-
"field group(s). A local field group can provide many benefits such as faster "
|
163 |
-
"load times, version control & dynamic fields/settings. Simply copy and paste "
|
164 |
-
"the following code to your theme's functions.php file or include it within "
|
165 |
-
"an external file."
|
166 |
-
msgstr ""
|
167 |
-
"Le code suivant peut être utilisé pour enregistrer une version locale du "
|
168 |
-
"groupe de champs sélectionné. Un groupe de champ local apporte pas mal de "
|
169 |
-
"bénéfices tels qu'un temps de chargement plus rapide, le contrôle de version "
|
170 |
-
"et les champes/paramètres dynamiques. Copiez/collez simplement le code "
|
171 |
-
"suivant dans le functions.php de votre thème."
|
172 |
-
|
173 |
-
#: includes/admin/tools/field-groups-local.php:175
|
174 |
-
#: includes/admin/tools/module-export.php:124
|
175 |
-
#: pro/includes/admin/tools/rewrite-rules-export.php:116
|
176 |
-
#: pro/includes/admin/tools/settings-export.php:135
|
177 |
-
msgid "Copy to clipboard"
|
178 |
-
msgstr "Copier dans le presse-papiers"
|
179 |
-
|
180 |
-
#: includes/admin/tools/field-groups-local.php:203
|
181 |
-
#: includes/admin/tools/module-export.php:152
|
182 |
-
#: pro/includes/admin/tools/rewrite-rules-export.php:144
|
183 |
-
#: pro/includes/admin/tools/settings-export.php:163
|
184 |
-
msgid "Copied"
|
185 |
-
msgstr "Copié"
|
186 |
-
|
187 |
-
#: includes/admin/tools/forms-export.php:19
|
188 |
-
#: includes/admin/tools/forms-export.php:20
|
189 |
-
msgid "Export Forms"
|
190 |
-
msgstr "Exporter Formulaires"
|
191 |
-
|
192 |
-
#: includes/admin/tools/forms-export.php:21
|
193 |
-
msgid "Select Forms"
|
194 |
-
msgstr "Sélectionner Formulaires"
|
195 |
-
|
196 |
-
#: includes/admin/tools/forms-export.php:28
|
197 |
-
msgid "No form available."
|
198 |
-
msgstr "Aucun formulaire disponible."
|
199 |
-
|
200 |
-
#: includes/admin/tools/forms-export.php:29
|
201 |
-
msgid "No forms selected"
|
202 |
-
msgstr "Aucun formulaire sélectionné"
|
203 |
-
|
204 |
-
#: includes/admin/tools/forms-import.php:20
|
205 |
-
#: includes/admin/tools/forms-import.php:21
|
206 |
-
msgid "Import Forms"
|
207 |
-
msgstr "Importer des formulaires"
|
208 |
-
|
209 |
-
#: includes/admin/tools/module-export.php:94
|
210 |
-
#: pro/includes/admin/tools/settings-export.php:59
|
211 |
-
msgid "Export File"
|
212 |
-
msgstr "Exporter sous forme de fichier"
|
213 |
-
|
214 |
-
#: includes/admin/tools/module-export.php:98
|
215 |
-
#: pro/includes/admin/tools/rewrite-rules-export.php:58
|
216 |
-
#: pro/includes/admin/tools/settings-export.php:60
|
217 |
-
msgid "Generate PHP"
|
218 |
-
msgstr "Générer le PHP"
|
219 |
-
|
220 |
-
#: includes/admin/tools/module-export.php:117
|
221 |
-
#: pro/includes/admin/tools/settings-export.php:78
|
222 |
-
msgid ""
|
223 |
-
"You can copy and paste the following code to your theme's functions.php file "
|
224 |
-
"or include it within an external file."
|
225 |
-
msgstr ""
|
226 |
-
"Vous pouvez copier et coller le code suivant dans les fonctions de votre "
|
227 |
-
"thème.php fichier ou l’inclure dans un fichier externe."
|
228 |
-
|
229 |
-
#: includes/admin/tools/module-import.php:37
|
230 |
-
#: pro/assets/js/acfe-pro-input.js:1108 pro/assets/js/acfe-pro-input.js:1126
|
231 |
-
#: pro/includes/admin/tools/settings-import.php:40
|
232 |
-
msgid "Select File"
|
233 |
-
msgstr "Choisir un fichier"
|
234 |
-
|
235 |
-
#: includes/admin/tools/module-import.php:48
|
236 |
-
#: pro/includes/admin/tools/settings-import.php:51
|
237 |
-
msgid "Import File"
|
238 |
-
msgstr "Importer le fichier"
|
239 |
-
|
240 |
-
#: includes/admin/tools/module-import.php:118
|
241 |
-
#: pro/includes/admin/tools/settings-import.php:88
|
242 |
-
msgid "No file selected"
|
243 |
-
msgstr "Aucun fichier sélectionné"
|
244 |
-
|
245 |
-
#: includes/admin/tools/module-import.php:129
|
246 |
-
#: pro/includes/admin/tools/settings-import.php:99
|
247 |
-
msgid "Error uploading file. Please try again"
|
248 |
-
msgstr "Erreur lors du téléchargement, veuillez réessayer"
|
249 |
-
|
250 |
-
#: includes/admin/tools/module-import.php:137
|
251 |
-
#: pro/includes/admin/tools/settings-import.php:107
|
252 |
-
msgid "Incorrect file type"
|
253 |
-
msgstr "Type de fichier incorrect"
|
254 |
-
|
255 |
-
#: includes/admin/tools/module-import.php:149
|
256 |
-
#: pro/includes/admin/tools/settings-import.php:119
|
257 |
-
msgid "Import file empty"
|
258 |
-
msgstr "Importer un fichier vide"
|
259 |
-
|
260 |
-
#: includes/admin/tools/options-pages-export.php:19
|
261 |
-
#: includes/admin/tools/options-pages-export.php:20
|
262 |
-
msgid "Export Options Pages"
|
263 |
-
msgstr "Exporter des options de pages"
|
264 |
-
|
265 |
-
#: includes/admin/tools/options-pages-export.php:21
|
266 |
-
msgid "Select Options Pages"
|
267 |
-
msgstr "Sélectionnez des options de pages"
|
268 |
-
|
269 |
-
#: includes/admin/tools/options-pages-export.php:28
|
270 |
-
msgid "No options page available."
|
271 |
-
msgstr "Aucune option de page disponible."
|
272 |
-
|
273 |
-
#: includes/admin/tools/options-pages-export.php:29
|
274 |
-
msgid "No options pages selected"
|
275 |
-
msgstr "Aucune page d’options sélectionnée"
|
276 |
-
|
277 |
-
#: includes/admin/tools/options-pages-import.php:20
|
278 |
-
#: includes/admin/tools/options-pages-import.php:21
|
279 |
-
msgid "Import Options Pages"
|
280 |
-
msgstr "Importer des options de pages"
|
281 |
-
|
282 |
-
#: includes/admin/tools/post-types-export.php:19
|
283 |
-
#: includes/admin/tools/post-types-export.php:20
|
284 |
-
msgid "Export Post Types"
|
285 |
-
msgstr "Exporter des types de publication"
|
286 |
-
|
287 |
-
#: includes/admin/tools/post-types-export.php:21
|
288 |
-
msgid "Select Post Types"
|
289 |
-
msgstr "Sélectionnez le type article"
|
290 |
-
|
291 |
-
#: includes/admin/tools/post-types-export.php:28
|
292 |
-
msgid "No post type available."
|
293 |
-
msgstr "Aucun type de publication dynamique disponible."
|
294 |
-
|
295 |
-
#: includes/admin/tools/post-types-export.php:29
|
296 |
-
msgid "No post types selected"
|
297 |
-
msgstr "Aucun type de publication sélectionné"
|
298 |
-
|
299 |
-
#: includes/admin/tools/post-types-import.php:20
|
300 |
-
#: includes/admin/tools/post-types-import.php:21
|
301 |
-
msgid "Import Post Types"
|
302 |
-
msgstr "Importer des types de publication"
|
303 |
-
|
304 |
-
#: includes/admin/tools/taxonomies-export.php:19
|
305 |
-
#: includes/admin/tools/taxonomies-export.php:20
|
306 |
-
msgid "Export Taxonomies"
|
307 |
-
msgstr "Exporter les taxonomies"
|
308 |
-
|
309 |
-
#: includes/admin/tools/taxonomies-export.php:21
|
310 |
-
msgid "Select Taxonomies"
|
311 |
-
msgstr "Type de taxonomies"
|
312 |
-
|
313 |
-
#: includes/admin/tools/taxonomies-export.php:28
|
314 |
-
msgid "No taxonomy available."
|
315 |
-
msgstr "Aucune taxonomie dynamique disponible."
|
316 |
-
|
317 |
-
#: includes/admin/tools/taxonomies-export.php:29
|
318 |
-
msgid "No taxonomies selected"
|
319 |
-
msgstr "Aucune taxonomie sélectionnée"
|
320 |
-
|
321 |
-
#: includes/admin/tools/taxonomies-import.php:20
|
322 |
-
#: includes/admin/tools/taxonomies-import.php:21
|
323 |
-
msgid "Import Taxonomies"
|
324 |
-
msgstr "Importer des Taxonomies"
|
325 |
-
|
326 |
-
#: includes/admin/views/html-options-edit.php:4
|
327 |
-
#: includes/modules/options.php:487
|
328 |
-
msgid "Edit Option"
|
329 |
-
msgstr "Modifier Option"
|
330 |
-
|
331 |
-
#: includes/admin/views/html-options-edit.php:6
|
332 |
-
#: includes/modules/options.php:482
|
333 |
-
msgid "Add Option"
|
334 |
-
msgstr "Ajouter une option"
|
335 |
-
|
336 |
-
#: includes/admin/views/html-options-list.php:3
|
337 |
-
#: includes/modules/options.class.php:22 includes/modules/options.php:47
|
338 |
-
msgid "Options"
|
339 |
-
msgstr "Options"
|
340 |
-
|
341 |
-
#: includes/admin/views/html-options-list.php:4
|
342 |
-
#: pro/includes/locations/post-screen.php:22
|
343 |
-
msgid "Add New"
|
344 |
-
msgstr "Ajouter"
|
345 |
-
|
346 |
-
#: includes/assets.php:131 pro/assets/js/acfe-pro-input.js:5092
|
347 |
-
msgid "Read more"
|
348 |
-
msgstr "Lire la suite"
|
349 |
-
|
350 |
-
#: includes/assets.php:132
|
351 |
-
msgid "Details"
|
352 |
-
msgstr "Details"
|
353 |
-
|
354 |
-
#: includes/assets.php:133 pro/assets/js/acfe-pro-admin.js:397
|
355 |
-
msgid "Debug"
|
356 |
-
msgstr "Débogage"
|
357 |
-
|
358 |
-
#: includes/field-groups/field-group-advanced.php:43
|
359 |
-
#: pro/includes/field-groups/field-group-ui.php:96
|
360 |
-
#: pro/includes/field-groups/field-group-ui.php:266
|
361 |
-
msgid "Advanced settings"
|
362 |
-
msgstr "Paramètres avancés"
|
363 |
-
|
364 |
-
#: includes/field-groups/field-group-advanced.php:48
|
365 |
-
#: pro/includes/field-groups/field-group-ui.php:101
|
366 |
-
#: pro/includes/field-groups/field-group-ui.php:271
|
367 |
-
msgid "Enable advanced fields settings & validation"
|
368 |
-
msgstr "Activer les paramètres de champs avancés &validation"
|
369 |
-
|
370 |
-
#: includes/field-groups/field-group-category.php:51
|
371 |
-
#: includes/field-groups/field-group-category.php:52
|
372 |
-
msgctxt "Category"
|
373 |
-
msgid "Categories"
|
374 |
-
msgstr "Catégories"
|
375 |
-
|
376 |
-
#: includes/field-groups/field-group-category.php:53
|
377 |
-
msgid "Search categories"
|
378 |
-
msgstr "Chercher dans les catégories"
|
379 |
-
|
380 |
-
#: includes/field-groups/field-group-category.php:54
|
381 |
-
msgid "All categories"
|
382 |
-
msgstr "Toutes les catégories"
|
383 |
-
|
384 |
-
#: includes/field-groups/field-group-category.php:55
|
385 |
-
msgid "Parent category"
|
386 |
-
msgstr "Catégorie parente"
|
387 |
-
|
388 |
-
#: includes/field-groups/field-group-category.php:56
|
389 |
-
msgid "Parent category:"
|
390 |
-
msgstr "Catégorie parente :"
|
391 |
-
|
392 |
-
#: includes/field-groups/field-group-category.php:57
|
393 |
-
msgid "Edit category"
|
394 |
-
msgstr "Modifier la catégorie"
|
395 |
-
|
396 |
-
#: includes/field-groups/field-group-category.php:58
|
397 |
-
msgid "Update category"
|
398 |
-
msgstr "Mettre à jour la catégorie"
|
399 |
-
|
400 |
-
#: includes/field-groups/field-group-category.php:59
|
401 |
-
msgid "Add New category"
|
402 |
-
msgstr "Ajouter une catégorie"
|
403 |
-
|
404 |
-
#: includes/field-groups/field-group-category.php:60
|
405 |
-
msgid "New category name"
|
406 |
-
msgstr "Nom de la nouvelle catégorie"
|
407 |
-
|
408 |
-
#: includes/field-groups/field-group-category.php:61
|
409 |
-
msgid "category"
|
410 |
-
msgstr "catégorie"
|
411 |
-
|
412 |
-
#: includes/field-groups/field-group-category.php:76
|
413 |
-
#: includes/field-groups/field-group-category.php:143
|
414 |
-
#: includes/fields/field-flexible-content-select.php:194
|
415 |
-
msgid "Categories"
|
416 |
-
msgstr "Catégories"
|
417 |
-
|
418 |
-
#: includes/field-groups/field-group-hide-on-screen.php:43
|
419 |
-
msgid "Block Editor"
|
420 |
-
msgstr "Éditeur de blocs"
|
421 |
-
|
422 |
-
#: includes/field-groups/field-group-meta.php:29
|
423 |
-
msgid "Field group"
|
424 |
-
msgstr "Groupe de champs"
|
425 |
-
|
426 |
-
#: includes/field-groups/field-group-meta.php:42
|
427 |
-
#: pro/includes/field-groups/field-group-ui.php:173
|
428 |
-
#: pro/includes/field-groups/field-group-ui.php:338
|
429 |
-
msgid "Custom meta data"
|
430 |
-
msgstr "Méta données personnalisées"
|
431 |
-
|
432 |
-
#: includes/field-groups/field-group-meta.php:45
|
433 |
-
#: pro/includes/field-groups/field-group-ui.php:176
|
434 |
-
#: pro/includes/field-groups/field-group-ui.php:341
|
435 |
-
msgid "Add custom meta data to the field group."
|
436 |
-
msgstr "Ajoutez des métadonnées personnalisées au groupe de champs."
|
437 |
-
|
438 |
-
#: includes/field-groups/field-group-meta.php:48
|
439 |
-
#: pro/includes/field-groups/field-group-ui.php:179
|
440 |
-
#: pro/includes/field-groups/field-group-ui.php:344
|
441 |
-
msgid "+ Meta"
|
442 |
-
msgstr "+ Méta"
|
443 |
-
|
444 |
-
#: includes/field-groups/field-group-meta.php:58
|
445 |
-
#: pro/includes/field-groups/field-group-ui.php:189
|
446 |
-
#: pro/includes/field-groups/field-group-ui.php:354
|
447 |
-
msgid "Key"
|
448 |
-
msgstr "Clé"
|
449 |
-
|
450 |
-
#: includes/field-groups/field-group-meta.php:75
|
451 |
-
#: includes/fields/field-hidden.php:66 includes/modules/options.class.php:222
|
452 |
-
#: includes/modules/options.php:367 includes/modules/options.php:398
|
453 |
-
#: includes/modules/options.php:430
|
454 |
-
#: pro/includes/field-groups/field-group-ui.php:206
|
455 |
-
#: pro/includes/field-groups/field-group-ui.php:371
|
456 |
-
#: pro/includes/fields/field-color-picker.php:168
|
457 |
-
#: pro/includes/fields/field-image-selector.php:119
|
458 |
-
msgid "Value"
|
459 |
-
msgstr "Valeur"
|
460 |
-
|
461 |
-
#: includes/field-groups/field-group-meta.php:95
|
462 |
-
#: pro/includes/field-groups/field-group-ui.php:243
|
463 |
-
#: pro/includes/field-groups/field-group-ui.php:404
|
464 |
-
#: pro/includes/field-groups/field-group-ui.php:413
|
465 |
-
msgid "Note"
|
466 |
-
msgstr "Note"
|
467 |
-
|
468 |
-
#: includes/field-groups/field-group-meta.php:99
|
469 |
-
#: pro/includes/field-groups/field-group-ui.php:247
|
470 |
-
#: pro/includes/field-groups/field-group-ui.php:417
|
471 |
-
msgid "Add personal note. Only visible to administrators"
|
472 |
-
msgstr ""
|
473 |
-
"Ajoutez une note personnelle. Visible uniquement par les administrateurs"
|
474 |
-
|
475 |
-
#: includes/field-groups/field-group-meta.php:109
|
476 |
-
#: pro/includes/field-groups/field-group-ui.php:226
|
477 |
-
#: pro/includes/field-groups/field-group-ui.php:391
|
478 |
-
msgid "Field group data"
|
479 |
-
msgstr "Données du groupe de champs"
|
480 |
-
|
481 |
-
#: includes/field-groups/field-group-meta.php:110
|
482 |
-
#: pro/includes/field-groups/field-group-ui.php:227
|
483 |
-
#: pro/includes/field-groups/field-group-ui.php:392
|
484 |
-
msgid "View raw field group data, for development use"
|
485 |
-
msgstr ""
|
486 |
-
"Afficher les données brutes du groupe de champs, à des fins de développement"
|
487 |
-
|
488 |
-
#: includes/field-groups/field-group-meta.php:138
|
489 |
-
#: includes/field-groups/field-group-meta.php:146
|
490 |
-
#: includes/fields-settings/data.php:84
|
491 |
-
#: pro/includes/field-groups/field-group-ui.php:329
|
492 |
-
#: pro/includes/field-groups/field-group-ui.php:436
|
493 |
-
#: pro/includes/field-groups/field-group-ui.php:444
|
494 |
-
msgid "Data"
|
495 |
-
msgstr "Données"
|
496 |
-
|
497 |
-
#: includes/field-groups/field-group.php:55
|
498 |
-
#: includes/fields-settings/settings.php:86
|
499 |
-
msgid "Advanced Settings"
|
500 |
-
msgstr "Paramètres avancés"
|
501 |
-
|
502 |
-
#: includes/field-groups/field-group.php:104
|
503 |
-
#: pro/includes/field-groups/field-group-ui.php:113
|
504 |
-
#: pro/includes/field-groups/field-group-ui.php:281
|
505 |
-
msgid "Display title"
|
506 |
-
msgstr "Afficher le titre"
|
507 |
-
|
508 |
-
#: includes/field-groups/field-group.php:105
|
509 |
-
#: pro/includes/field-groups/field-group-ui.php:114
|
510 |
-
#: pro/includes/field-groups/field-group-ui.php:282
|
511 |
-
msgid "Render this title on edit post screen"
|
512 |
-
msgstr "Afficher ce titre sur l’écran d’édition"
|
513 |
-
|
514 |
-
#: includes/field-groups/field-group.php:130
|
515 |
-
#: includes/field-groups/field-groups.php:522
|
516 |
-
#: includes/field-groups/field-groups.php:530
|
517 |
-
msgid "Sync available"
|
518 |
-
msgstr "Synchronisation disponible"
|
519 |
-
|
520 |
-
#: includes/field-groups/field-group.php:131
|
521 |
-
msgid "Local json file is different from the version in database."
|
522 |
-
msgstr ""
|
523 |
-
"Le fichier json local est différent de la version dans la base de données."
|
524 |
-
|
525 |
-
#: includes/field-groups/field-group.php:142
|
526 |
-
msgid "Synchronize"
|
527 |
-
msgstr "Synchroniser"
|
528 |
-
|
529 |
-
#: includes/field-groups/field-group.php:151
|
530 |
-
msgid "Review changes"
|
531 |
-
msgstr "Examiner les modifications"
|
532 |
-
|
533 |
-
#: includes/field-groups/field-group.php:253
|
534 |
-
msgid "Auto Sync"
|
535 |
-
msgstr "Auto Sync"
|
536 |
-
|
537 |
-
#: includes/field-groups/field-group.php:274
|
538 |
-
#: includes/fields-settings/permissions.php:23
|
539 |
-
#: pro/includes/field-groups/field-group-ui.php:150
|
540 |
-
#: pro/includes/field-groups/field-group-ui.php:299
|
541 |
-
#: pro/includes/field-groups/field-group-ui.php:310
|
542 |
-
msgid "Permissions"
|
543 |
-
msgstr "Permissions"
|
544 |
-
|
545 |
-
#: includes/field-groups/field-group.php:278
|
546 |
-
#: pro/includes/field-groups/field-group-ui.php:154
|
547 |
-
#: pro/includes/field-groups/field-group-ui.php:314
|
548 |
-
msgid ""
|
549 |
-
"Select user roles that are allowed to view and edit this field group in post "
|
550 |
-
"edition"
|
551 |
-
msgstr ""
|
552 |
-
"Sélectionnez les rôles d’utilisateur autorisés à afficher et à modifier ce "
|
553 |
-
"groupe de champs dans une édition ultérieure"
|
554 |
-
|
555 |
-
#: includes/field-groups/field-groups-local.php:73
|
556 |
-
msgid "Local"
|
557 |
-
msgstr "Local"
|
558 |
-
|
559 |
-
#: includes/field-groups/field-groups-local.php:147
|
560 |
-
#, php-format
|
561 |
-
msgid "Select %s"
|
562 |
-
msgstr "Sélectionner %s"
|
563 |
-
|
564 |
-
#: includes/field-groups/field-groups-local.php:225
|
565 |
-
#: includes/field-groups/field-groups.php:715
|
566 |
-
msgid "Export PHP"
|
567 |
-
msgstr "Exporter php"
|
568 |
-
|
569 |
-
#: includes/field-groups/field-groups-local.php:226
|
570 |
-
#: includes/field-groups/field-groups.php:716
|
571 |
-
msgid "Export Json"
|
572 |
-
msgstr "Exporter Json"
|
573 |
-
|
574 |
-
#: includes/field-groups/field-groups-local.php:227
|
575 |
-
msgid "Sync to database"
|
576 |
-
msgstr "Synchroniser avec la base de données"
|
577 |
-
|
578 |
-
#: includes/field-groups/field-groups.php:95
|
579 |
-
#: includes/field-groups/field-groups.php:106
|
580 |
-
#: includes/fields/field-flexible-content-select.php:105
|
581 |
-
#: pro/includes/field-groups/field-group-hide-on-screen.php:29
|
582 |
-
#: pro/includes/fields/field-post-field.php:55
|
583 |
-
#: pro/includes/modules/scripts-list.php:260
|
584 |
-
msgid "Title"
|
585 |
-
msgstr "Titre"
|
586 |
-
|
587 |
-
#: includes/field-groups/field-groups.php:96
|
588 |
-
#: includes/field-groups/field-groups.php:107
|
589 |
-
msgid "Source"
|
590 |
-
msgstr "Source"
|
591 |
-
|
592 |
-
#: includes/field-groups/field-groups.php:97
|
593 |
-
#: includes/field-groups/field-groups.php:108
|
594 |
-
#: includes/field-groups/field-groups.php:149 includes/modules/forms.php:159
|
595 |
-
#: pro/includes/fields/field-fields.php:17
|
596 |
-
#: pro/includes/modules/templates.php:26
|
597 |
-
msgid "Fields"
|
598 |
-
msgstr "Champs"
|
599 |
-
|
600 |
-
#: includes/field-groups/field-groups.php:98
|
601 |
-
#: includes/field-groups/field-groups.php:109
|
602 |
-
#: includes/field-groups/field-groups.php:131
|
603 |
-
#: includes/field-groups/field-groups.php:150
|
604 |
-
msgid "Location"
|
605 |
-
msgstr "Emplacement"
|
606 |
-
|
607 |
-
#: includes/field-groups/field-groups.php:99
|
608 |
-
#: includes/field-groups/field-groups.php:110
|
609 |
-
#: includes/field-groups/field-groups.php:132
|
610 |
-
#: includes/field-groups/field-groups.php:152
|
611 |
-
msgid "Load"
|
612 |
-
msgstr "Charger"
|
613 |
-
|
614 |
-
#: includes/field-groups/field-groups.php:116
|
615 |
-
msgid "PHP Sync"
|
616 |
-
msgstr "Synchronisation PHP"
|
617 |
-
|
618 |
-
#: includes/field-groups/field-groups.php:119
|
619 |
-
msgid "Json Sync"
|
620 |
-
msgstr "Synchronisation Json"
|
621 |
-
|
622 |
-
#: includes/field-groups/field-groups.php:135
|
623 |
-
#: includes/field-groups/field-groups.php:155
|
624 |
-
msgid "PHP"
|
625 |
-
msgstr "PHP"
|
626 |
-
|
627 |
-
#: includes/field-groups/field-groups.php:138
|
628 |
-
#: includes/field-groups/field-groups.php:158
|
629 |
-
#: includes/fields/field-code-editor.php:77
|
630 |
-
msgid "Json"
|
631 |
-
msgstr "Json"
|
632 |
-
|
633 |
-
#: includes/field-groups/field-groups.php:253
|
634 |
-
msgid "Theme/Plugin"
|
635 |
-
msgstr "Thème/Plugin"
|
636 |
-
|
637 |
-
#: includes/field-groups/field-groups.php:375
|
638 |
-
#: includes/field-groups/field-groups.php:382
|
639 |
-
#: includes/field-groups/field-groups.php:540
|
640 |
-
msgid "Synchronized"
|
641 |
-
msgstr "Synchronisé"
|
642 |
-
|
643 |
-
#: includes/field-groups/field-groups.php:375
|
644 |
-
#: includes/field-groups/field-groups.php:376
|
645 |
-
msgid "Warning: Duplicated PHP code found in theme/plugin."
|
646 |
-
msgstr "Avertissement: Code PHP dupliqué trouvé dans le thème / plugin."
|
647 |
-
|
648 |
-
#: includes/field-groups/field-groups.php:402
|
649 |
-
#: includes/field-groups/field-groups.php:560
|
650 |
-
msgid "Awaiting save"
|
651 |
-
msgstr "En attente d’enregistrement"
|
652 |
-
|
653 |
-
#: includes/field-groups/field-groups.php:402
|
654 |
-
#: includes/field-groups/field-groups.php:403
|
655 |
-
#: includes/field-groups/field-groups.php:410
|
656 |
-
#: includes/field-groups/field-groups.php:560
|
657 |
-
#: includes/field-groups/field-groups.php:561
|
658 |
-
#: includes/field-groups/field-groups.php:568
|
659 |
-
msgid "Save path"
|
660 |
-
msgstr "Chemin d’enregistrement"
|
661 |
-
|
662 |
-
#: includes/field-groups/field-groups.php:505
|
663 |
-
msgid "Sync"
|
664 |
-
msgstr "Synchroniser"
|
665 |
-
|
666 |
-
#: includes/field-groups/field-groups.php:505
|
667 |
-
#: includes/field-groups/field-groups.php:513
|
668 |
-
msgid "Import"
|
669 |
-
msgstr "Importer"
|
670 |
-
|
671 |
-
#: includes/field-groups/field-groups.php:513
|
672 |
-
msgid "Review"
|
673 |
-
msgstr "Avis"
|
674 |
-
|
675 |
-
#: includes/field-groups/field-groups.php:646
|
676 |
-
#: includes/field-groups/field-groups.php:656 includes/modules/module.php:371
|
677 |
-
msgctxt "post status"
|
678 |
-
msgid "Disabled"
|
679 |
-
msgstr "Désactivé"
|
680 |
-
|
681 |
-
#: includes/field-groups/field-groups.php:667
|
682 |
-
msgid "Alternative title"
|
683 |
-
msgstr "Titre alternatif"
|
684 |
-
|
685 |
-
#: includes/fields-settings/bidirectional.php:39
|
686 |
-
msgid "Bidirectional"
|
687 |
-
msgstr "Bidirectionnel"
|
688 |
-
|
689 |
-
#: includes/fields-settings/bidirectional.php:42
|
690 |
-
msgid "Set the field as bidirectional"
|
691 |
-
msgstr "Définir le champ comme bidirectionnel"
|
692 |
-
|
693 |
-
#: includes/fields-settings/data.php:55
|
694 |
-
msgid "Field data unavailable"
|
695 |
-
msgstr "Aucune donnée disponible"
|
696 |
-
|
697 |
-
#: includes/fields-settings/data.php:67
|
698 |
-
msgid "Post object unavailable"
|
699 |
-
msgstr "Aucun objet de post disponible"
|
700 |
-
|
701 |
-
#: includes/fields-settings/data.php:70
|
702 |
-
msgid "Field Data"
|
703 |
-
msgstr "Données de champ"
|
704 |
-
|
705 |
-
#: includes/fields-settings/permissions.php:26
|
706 |
-
msgid "Restrict user roles that are allowed to view and edit this field"
|
707 |
-
msgstr ""
|
708 |
-
"Restreindre les rôles d’utilisateur autorisés à afficher et à modifier ce "
|
709 |
-
"champ"
|
710 |
-
|
711 |
-
#: includes/fields-settings/settings.php:89
|
712 |
-
msgid "Change field settings based on location"
|
713 |
-
msgstr "Modifier les paramètres de champ en fonction de l’emplacement"
|
714 |
-
|
715 |
-
#: includes/fields-settings/settings.php:91
|
716 |
-
msgid "Add settings"
|
717 |
-
msgstr "Ajouter des paramètres"
|
718 |
-
|
719 |
-
#: includes/fields-settings/settings.php:128
|
720 |
-
msgid "+"
|
721 |
-
msgstr "+"
|
722 |
-
|
723 |
-
#: includes/fields-settings/validation.php:142
|
724 |
-
msgid "Advanced Validation"
|
725 |
-
msgstr "Validation avancée"
|
726 |
-
|
727 |
-
#: includes/fields-settings/validation.php:145
|
728 |
-
msgid "Validate value against rules"
|
729 |
-
msgstr "Valider la valeur contre les règles"
|
730 |
-
|
731 |
-
#: includes/fields-settings/validation.php:147
|
732 |
-
msgid "Add validation"
|
733 |
-
msgstr "Ajouter une validation"
|
734 |
-
|
735 |
-
#: includes/fields-settings/validation.php:179
|
736 |
-
msgid "Rules"
|
737 |
-
msgstr "Règles"
|
738 |
-
|
739 |
-
#: includes/fields-settings/validation.php:184
|
740 |
-
msgid "+ AND"
|
741 |
-
msgstr "ET +"
|
742 |
-
|
743 |
-
#: includes/fields/field-advanced-link.php:20
|
744 |
-
msgid "Advanced Link"
|
745 |
-
msgstr "Lien avancé"
|
746 |
-
|
747 |
-
#: includes/fields/field-advanced-link.php:191
|
748 |
-
msgid "Filter by Post Type"
|
749 |
-
msgstr "Filtrer par type d’article"
|
750 |
-
|
751 |
-
#: includes/fields/field-advanced-link.php:199
|
752 |
-
#: includes/fields/field-post-types.php:61
|
753 |
-
msgid "All post types"
|
754 |
-
msgstr "Types d’article"
|
755 |
-
|
756 |
-
#: includes/fields/field-advanced-link.php:204
|
757 |
-
msgid "Filter by Taxonomy"
|
758 |
-
msgstr "Filtrer par taxonomie"
|
759 |
-
|
760 |
-
#: includes/fields/field-advanced-link.php:212
|
761 |
-
#: includes/fields/field-taxonomies.php:61
|
762 |
-
#: includes/fields/field-taxonomy-terms.php:365
|
763 |
-
msgid "All taxonomies"
|
764 |
-
msgstr "Toutes les taxonomies"
|
765 |
-
|
766 |
-
#: includes/fields/field-advanced-link.php:314 pro/includes/modules/dev.php:83
|
767 |
-
msgid "Type"
|
768 |
-
msgstr "Type"
|
769 |
-
|
770 |
-
#: includes/fields/field-advanced-link.php:319
|
771 |
-
#: includes/fields/field-advanced-link.php:328
|
772 |
-
msgid "URL"
|
773 |
-
msgstr "URL"
|
774 |
-
|
775 |
-
#: includes/fields/field-advanced-link.php:320
|
776 |
-
#: includes/fields/field-advanced-link.php:347
|
777 |
-
#: includes/locations/post-type-archive.php:254
|
778 |
-
#: includes/locations/post-type-list.php:214
|
779 |
-
#: pro/includes/locations/menu-item-type.php:23
|
780 |
-
msgid "Post"
|
781 |
-
msgstr "Article"
|
782 |
-
|
783 |
-
#: includes/fields/field-advanced-link.php:321
|
784 |
-
#: includes/fields/field-advanced-link.php:367
|
785 |
-
msgid "Term"
|
786 |
-
msgstr "Terme"
|
787 |
-
|
788 |
-
#: includes/fields/field-advanced-link.php:389
|
789 |
-
msgid "Link text"
|
790 |
-
msgstr "Texte du lien"
|
791 |
-
|
792 |
-
#: includes/fields/field-advanced-link.php:398
|
793 |
-
msgid "Target"
|
794 |
-
msgstr "Cible"
|
795 |
-
|
796 |
-
#: includes/fields/field-advanced-link.php:400
|
797 |
-
msgid "Open in a new window"
|
798 |
-
msgstr "Ouvrir dans une nouvelle fenêtre"
|
799 |
-
|
800 |
-
#: includes/fields/field-advanced-link.php:447
|
801 |
-
msgid "Select Link"
|
802 |
-
msgstr "Sélectionnez le lien"
|
803 |
-
|
804 |
-
#: includes/fields/field-advanced-link.php:452
|
805 |
-
msgid "Opens in a new window/tab"
|
806 |
-
msgstr "Ouvrir dans une nouvelle fenêtre/onglet"
|
807 |
-
|
808 |
-
#: includes/fields/field-advanced-link.php:453
|
809 |
-
#: includes/fields/field-clone.php:157 includes/fields/field-clone.php:221
|
810 |
-
#: includes/fields/field-group.php:97 includes/fields/field-group.php:156
|
811 |
-
#: includes/modules/dev.php:480 includes/modules/options.class.php:203
|
812 |
-
#: includes/modules/options.php:486 includes/modules/ui-settings.php:70
|
813 |
-
#: includes/modules/ui-term.php:102 includes/modules/ui-user.php:166
|
814 |
-
#: pro/includes/fields/field-file.php:472
|
815 |
-
#: pro/includes/locations/post-screen.php:23
|
816 |
-
msgid "Edit"
|
817 |
-
msgstr "Modifier"
|
818 |
-
|
819 |
-
#: includes/fields/field-advanced-link.php:454
|
820 |
-
#: pro/includes/fields/field-file.php:474
|
821 |
-
msgid "Remove"
|
822 |
-
msgstr "Supprimer"
|
823 |
-
|
824 |
-
#: includes/fields/field-button.php:17 includes/fields/field-button.php:92
|
825 |
-
msgid "Button"
|
826 |
-
msgstr "Bouton"
|
827 |
-
|
828 |
-
#: includes/fields/field-button.php:20 includes/modules/options.php:481
|
829 |
-
#: pro/includes/modules/dev.php:619
|
830 |
-
msgid "Submit"
|
831 |
-
msgstr "Envoyer"
|
832 |
-
|
833 |
-
#: includes/fields/field-button.php:78
|
834 |
-
#: pro/includes/fields/field-payment.php:129
|
835 |
-
msgid "Button value"
|
836 |
-
msgstr "Valeur du bouton"
|
837 |
-
|
838 |
-
#: includes/fields/field-button.php:79
|
839 |
-
#: pro/includes/fields/field-payment.php:130
|
840 |
-
msgid "Set a default button value"
|
841 |
-
msgstr "Définir une valeur de bouton par défaut"
|
842 |
-
|
843 |
-
#: includes/fields/field-button.php:86
|
844 |
-
msgid "Button type"
|
845 |
-
msgstr "Type de bouton"
|
846 |
-
|
847 |
-
#: includes/fields/field-button.php:87
|
848 |
-
msgid "Choose the button type"
|
849 |
-
msgstr "Choisissez le type de bouton"
|
850 |
-
|
851 |
-
#: includes/fields/field-button.php:93
|
852 |
-
msgid "Input"
|
853 |
-
msgstr "Entrée"
|
854 |
-
|
855 |
-
#: includes/fields/field-button.php:99
|
856 |
-
#: pro/includes/fields/field-payment.php:144
|
857 |
-
msgid "Button attributes"
|
858 |
-
msgstr "Attributs du bouton"
|
859 |
-
|
860 |
-
#: includes/fields/field-button.php:103
|
861 |
-
#: pro/includes/fields/field-payment.php:148
|
862 |
-
msgid "class"
|
863 |
-
msgstr "classe"
|
864 |
-
|
865 |
-
#: includes/fields/field-button.php:112
|
866 |
-
#: pro/includes/fields/field-payment.php:164
|
867 |
-
msgid "id"
|
868 |
-
msgstr "id"
|
869 |
-
|
870 |
-
#: includes/fields/field-button.php:118
|
871 |
-
#: pro/includes/fields/field-payment.php:177
|
872 |
-
msgid "Before HTML"
|
873 |
-
msgstr "Avant HTML"
|
874 |
-
|
875 |
-
#: includes/fields/field-button.php:119
|
876 |
-
#: pro/includes/fields/field-payment.php:178
|
877 |
-
msgid "Custom HTML before the button"
|
878 |
-
msgstr "HTML personnalisé avant le bouton"
|
879 |
-
|
880 |
-
#: includes/fields/field-button.php:127
|
881 |
-
#: pro/includes/fields/field-payment.php:193
|
882 |
-
msgid "After HTML"
|
883 |
-
msgstr "Après HTML"
|
884 |
-
|
885 |
-
#: includes/fields/field-button.php:128
|
886 |
-
#: pro/includes/fields/field-payment.php:194
|
887 |
-
msgid "Custom HTML after the button"
|
888 |
-
msgstr "HTML personnalisé après le bouton"
|
889 |
-
|
890 |
-
#: includes/fields/field-button.php:136
|
891 |
-
msgid "Ajax Request"
|
892 |
-
msgstr "Requête Ajax"
|
893 |
-
|
894 |
-
#: includes/fields/field-button.php:137
|
895 |
-
msgid "Trigger ajax event on click"
|
896 |
-
msgstr "Déclencher l’événement ajax au clic"
|
897 |
-
|
898 |
-
#: includes/fields/field-button.php:137
|
899 |
-
#: includes/fields/field-flexible-content-actions.php:86
|
900 |
-
#: includes/fields/field-flexible-content-async.php:65
|
901 |
-
#: includes/fields/field-flexible-content-controls.php:75
|
902 |
-
#: includes/fields/field-flexible-content-controls.php:103
|
903 |
-
#: includes/fields/field-flexible-content-edit.php:81
|
904 |
-
#: includes/fields/field-flexible-content-hide.php:66
|
905 |
-
#: includes/fields/field-flexible-content-preview.php:81
|
906 |
-
#: includes/fields/field-flexible-content-preview.php:104
|
907 |
-
#: includes/fields/field-flexible-content-preview.php:132
|
908 |
-
#: includes/fields/field-flexible-content-select.php:78
|
909 |
-
#: includes/fields/field-flexible-content-settings.php:74
|
910 |
-
#: includes/fields/field-flexible-content-thumbnail.php:74
|
911 |
-
#: pro/includes/fields/field-flexible-content-grid.php:75
|
912 |
-
#: pro/includes/fields/field-flexible-content-locations.php:247
|
913 |
-
msgid "See documentation"
|
914 |
-
msgstr "Voir la documentation"
|
915 |
-
|
916 |
-
#: includes/fields/field-checkbox.php:38
|
917 |
-
msgid "You may use \"## Title\" to create a group of options."
|
918 |
-
msgstr "Vous pouvez utiliser \"## Titre\" pour créer des groupes d'options."
|
919 |
-
|
920 |
-
#: includes/fields/field-clone.php:84 includes/fields/field-group.php:36
|
921 |
-
msgid "Seamless Style"
|
922 |
-
msgstr "Style transparent"
|
923 |
-
|
924 |
-
#: includes/fields/field-clone.php:87 includes/fields/field-group.php:38
|
925 |
-
msgid "Enable better CSS integration: remove borders and padding"
|
926 |
-
msgstr ""
|
927 |
-
"Permettre une meilleure intégration CSS : supprimer les bordures et le "
|
928 |
-
"remplissage"
|
929 |
-
|
930 |
-
#: includes/fields/field-clone.php:110 includes/fields/field-group.php:55
|
931 |
-
msgid "Edition modal"
|
932 |
-
msgstr "Édition modale"
|
933 |
-
|
934 |
-
#: includes/fields/field-clone.php:113 includes/fields/field-group.php:57
|
935 |
-
msgid "Edit fields in a modal"
|
936 |
-
msgstr "Modifier des champs dans un modal"
|
937 |
-
|
938 |
-
#: includes/fields/field-clone.php:131 includes/fields/field-group.php:74
|
939 |
-
msgid "Edition modal: Close button"
|
940 |
-
msgstr "Édition modale : bouton Fermer"
|
941 |
-
|
942 |
-
#: includes/fields/field-clone.php:134 includes/fields/field-group.php:76
|
943 |
-
msgid "Display close button"
|
944 |
-
msgstr "Afficher le bouton Fermer"
|
945 |
-
|
946 |
-
#: includes/fields/field-clone.php:152 includes/fields/field-group.php:93
|
947 |
-
msgid "Edition modal: Text button"
|
948 |
-
msgstr "Édition modale : bouton Texte"
|
949 |
-
|
950 |
-
#: includes/fields/field-clone.php:155 includes/fields/field-group.php:95
|
951 |
-
msgid "Text displayed in the edition modal button"
|
952 |
-
msgstr "Texte affiché dans le bouton modal d’édition"
|
953 |
-
|
954 |
-
#: includes/fields/field-clone.php:171 includes/fields/field-group.php:110
|
955 |
-
msgid "Edition modal: Size"
|
956 |
-
msgstr "Édition modale : Taille"
|
957 |
-
|
958 |
-
#: includes/fields/field-clone.php:174 includes/fields/field-group.php:112
|
959 |
-
msgid "Choose the modal size"
|
960 |
-
msgstr "Choisissez la taille modale"
|
961 |
-
|
962 |
-
#: includes/fields/field-code-editor.php:24
|
963 |
-
msgid "Code Editor"
|
964 |
-
msgstr "Éditeur de code"
|
965 |
-
|
966 |
-
#: includes/fields/field-code-editor.php:52 includes/fields/field-forms.php:80
|
967 |
-
#: includes/fields/field-post-statuses.php:80
|
968 |
-
#: includes/fields/field-post-types.php:80 includes/fields/field-slug.php:39
|
969 |
-
#: includes/fields/field-taxonomies.php:80
|
970 |
-
#: includes/fields/field-taxonomy-terms.php:498
|
971 |
-
#: includes/fields/field-user-roles.php:78
|
972 |
-
#: pro/includes/fields/field-block-types.php:107
|
973 |
-
#: pro/includes/fields/field-countries.php:152
|
974 |
-
#: pro/includes/fields/field-currencies.php:152
|
975 |
-
#: pro/includes/fields/field-field-groups.php:109
|
976 |
-
#: pro/includes/fields/field-field-types.php:112
|
977 |
-
#: pro/includes/fields/field-fields.php:122
|
978 |
-
#: pro/includes/fields/field-image-selector.php:58
|
979 |
-
#: pro/includes/fields/field-image-sizes.php:119
|
980 |
-
#: pro/includes/fields/field-languages.php:231
|
981 |
-
#: pro/includes/fields/field-menu-locations.php:107
|
982 |
-
#: pro/includes/fields/field-menus.php:108
|
983 |
-
#: pro/includes/fields/field-options-pages.php:105
|
984 |
-
#: pro/includes/fields/field-payment-cart.php:90
|
985 |
-
#: pro/includes/fields/field-phone-number.php:163
|
986 |
-
#: pro/includes/fields/field-post-formats.php:119
|
987 |
-
#: pro/includes/fields/field-templates.php:115
|
988 |
-
msgid "Default Value"
|
989 |
-
msgstr "Valeur par défaut"
|
990 |
-
|
991 |
-
#: includes/fields/field-code-editor.php:53 includes/fields/field-slug.php:40
|
992 |
-
msgid "Appears when creating a new post"
|
993 |
-
msgstr "Apparaît à la création d’un nouvel article"
|
994 |
-
|
995 |
-
#: includes/fields/field-code-editor.php:61 includes/fields/field-forms.php:126
|
996 |
-
#: includes/fields/field-post-statuses.php:186
|
997 |
-
#: includes/fields/field-post-types.php:186 includes/fields/field-select.php:54
|
998 |
-
#: includes/fields/field-taxonomies.php:186
|
999 |
-
#: includes/fields/field-taxonomy-terms.php:563
|
1000 |
-
#: includes/fields/field-user-roles.php:171
|
1001 |
-
#: pro/includes/fields/field-block-types.php:212
|
1002 |
-
#: pro/includes/fields/field-countries.php:331
|
1003 |
-
#: pro/includes/fields/field-currencies.php:320
|
1004 |
-
#: pro/includes/fields/field-date-picker.php:35
|
1005 |
-
#: pro/includes/fields/field-date-range-picker.php:103
|
1006 |
-
#: pro/includes/fields/field-date-time-picker.php:43
|
1007 |
-
#: pro/includes/fields/field-field-groups.php:216
|
1008 |
-
#: pro/includes/fields/field-field-types.php:218
|
1009 |
-
#: pro/includes/fields/field-fields.php:230
|
1010 |
-
#: pro/includes/fields/field-file.php:134
|
1011 |
-
#: pro/includes/fields/field-image-sizes.php:239
|
1012 |
-
#: pro/includes/fields/field-languages.php:398
|
1013 |
-
#: pro/includes/fields/field-menu-locations.php:200
|
1014 |
-
#: pro/includes/fields/field-menus.php:215
|
1015 |
-
#: pro/includes/fields/field-options-pages.php:211
|
1016 |
-
#: pro/includes/fields/field-payment-cart.php:186
|
1017 |
-
#: pro/includes/fields/field-phone-number.php:171
|
1018 |
-
#: pro/includes/fields/field-post-formats.php:211
|
1019 |
-
#: pro/includes/fields/field-templates.php:221
|
1020 |
-
#: pro/includes/fields/field-time-picker.php:40
|
1021 |
-
msgid "Placeholder"
|
1022 |
-
msgstr "Etiquette"
|
1023 |
-
|
1024 |
-
#: includes/fields/field-code-editor.php:62 includes/fields/field-forms.php:127
|
1025 |
-
#: includes/fields/field-post-statuses.php:187
|
1026 |
-
#: includes/fields/field-post-types.php:187 includes/fields/field-select.php:55
|
1027 |
-
#: includes/fields/field-slug.php:48 includes/fields/field-taxonomies.php:187
|
1028 |
-
#: includes/fields/field-taxonomy-terms.php:564
|
1029 |
-
#: includes/fields/field-user-roles.php:172
|
1030 |
-
#: pro/includes/fields/field-block-types.php:213
|
1031 |
-
#: pro/includes/fields/field-countries.php:332
|
1032 |
-
#: pro/includes/fields/field-currencies.php:321
|
1033 |
-
#: pro/includes/fields/field-field-groups.php:217
|
1034 |
-
#: pro/includes/fields/field-field-types.php:219
|
1035 |
-
#: pro/includes/fields/field-fields.php:231
|
1036 |
-
#: pro/includes/fields/field-image-sizes.php:240
|
1037 |
-
#: pro/includes/fields/field-languages.php:399
|
1038 |
-
#: pro/includes/fields/field-menu-locations.php:201
|
1039 |
-
#: pro/includes/fields/field-menus.php:216
|
1040 |
-
#: pro/includes/fields/field-options-pages.php:212
|
1041 |
-
#: pro/includes/fields/field-payment-cart.php:187
|
1042 |
-
#: pro/includes/fields/field-post-formats.php:212
|
1043 |
-
#: pro/includes/fields/field-templates.php:222
|
1044 |
-
msgid "Appears within the input"
|
1045 |
-
msgstr "Apparaît dans l’entrée"
|
1046 |
-
|
1047 |
-
#: includes/fields/field-code-editor.php:70
|
1048 |
-
msgid "Editor mode"
|
1049 |
-
msgstr "Mode éditeur"
|
1050 |
-
|
1051 |
-
#: includes/fields/field-code-editor.php:71
|
1052 |
-
msgid "Choose the syntax highlight"
|
1053 |
-
msgstr "Choisissez la mise en surbrillance de la syntaxe"
|
1054 |
-
|
1055 |
-
#: includes/fields/field-code-editor.php:75
|
1056 |
-
msgid "Text/HTML"
|
1057 |
-
msgstr "Texte/HTML"
|
1058 |
-
|
1059 |
-
#: includes/fields/field-code-editor.php:76
|
1060 |
-
msgid "JavaScript"
|
1061 |
-
msgstr "JavaScript"
|
1062 |
-
|
1063 |
-
#: includes/fields/field-code-editor.php:78
|
1064 |
-
msgid "CSS"
|
1065 |
-
msgstr "CSS"
|
1066 |
-
|
1067 |
-
#: includes/fields/field-code-editor.php:79
|
1068 |
-
msgid "PHP (mixed)"
|
1069 |
-
msgstr "PHP (mixte)"
|
1070 |
-
|
1071 |
-
#: includes/fields/field-code-editor.php:80
|
1072 |
-
msgid "PHP (plain)"
|
1073 |
-
msgstr "PHP (simple)"
|
1074 |
-
|
1075 |
-
#: includes/fields/field-code-editor.php:86
|
1076 |
-
msgid "Show Lines"
|
1077 |
-
msgstr "Afficher les lignes"
|
1078 |
-
|
1079 |
-
#: includes/fields/field-code-editor.php:95
|
1080 |
-
msgid "Indent Unit"
|
1081 |
-
msgstr "Unité de retrait"
|
1082 |
-
|
1083 |
-
#: includes/fields/field-code-editor.php:104 includes/fields/field-slug.php:71
|
1084 |
-
msgid "Character Limit"
|
1085 |
-
msgstr "Limite de caractères"
|
1086 |
-
|
1087 |
-
#: includes/fields/field-code-editor.php:105 includes/fields/field-slug.php:72
|
1088 |
-
msgid "Leave blank for no limit"
|
1089 |
-
msgstr "Laisser blanc pour ne fixer aucune limite"
|
1090 |
-
|
1091 |
-
#: includes/fields/field-code-editor.php:112
|
1092 |
-
msgid "Rows"
|
1093 |
-
msgstr "Lignes"
|
1094 |
-
|
1095 |
-
#: includes/fields/field-code-editor.php:113
|
1096 |
-
msgid "Sets the textarea height"
|
1097 |
-
msgstr "Définir la hauteur de la zone de texte"
|
1098 |
-
|
1099 |
-
#: includes/fields/field-code-editor.php:121
|
1100 |
-
msgid "Max rows"
|
1101 |
-
msgstr "Rangées Max"
|
1102 |
-
|
1103 |
-
#: includes/fields/field-code-editor.php:122
|
1104 |
-
msgid "Sets the textarea max height"
|
1105 |
-
msgstr "Définit la hauteur maximale de la zone de texte"
|
1106 |
-
|
1107 |
-
#: includes/fields/field-code-editor.php:130
|
1108 |
-
msgid "Return HTML Entities"
|
1109 |
-
msgstr "Retourner les entités HTML"
|
1110 |
-
|
1111 |
-
#: includes/fields/field-column.php:17
|
1112 |
-
msgid "Column"
|
1113 |
-
msgstr "Colonne"
|
1114 |
-
|
1115 |
-
#: includes/fields/field-column.php:36
|
1116 |
-
msgid "Columns"
|
1117 |
-
msgstr "Colonnes"
|
1118 |
-
|
1119 |
-
#: includes/fields/field-column.php:68
|
1120 |
-
msgid "Endpoint"
|
1121 |
-
msgstr "Terminaison"
|
1122 |
-
|
1123 |
-
#: includes/fields/field-column.php:69
|
1124 |
-
msgid "Define an endpoint for the previous columns to stop."
|
1125 |
-
msgstr ""
|
1126 |
-
"Définissez un point de terminaison pour les colonnes précédentes à arrêter."
|
1127 |
-
|
1128 |
-
#: includes/fields/field-dynamic-render.php:17
|
1129 |
-
#: includes/fields/field-flexible-content-preview.php:78
|
1130 |
-
msgid "Dynamic Render"
|
1131 |
-
msgstr "Rendu Dynamique"
|
1132 |
-
|
1133 |
-
#: includes/fields/field-file.php:68 pro/includes/fields/field-file.php:465
|
1134 |
-
msgid "File size"
|
1135 |
-
msgstr "Taille du fichier"
|
1136 |
-
|
1137 |
-
#: includes/fields/field-file.php:69
|
1138 |
-
msgid "Min size"
|
1139 |
-
msgstr "Taille minimum"
|
1140 |
-
|
1141 |
-
#: includes/fields/field-file.php:76
|
1142 |
-
msgid "Max size"
|
1143 |
-
msgstr "Taille maximum"
|
1144 |
-
|
1145 |
-
#: includes/fields/field-file.php:132 includes/fields/field-image.php:92
|
1146 |
-
msgid "Uploader type"
|
1147 |
-
msgstr "Type de téléchargeur"
|
1148 |
-
|
1149 |
-
#: includes/fields/field-file.php:135 includes/fields/field-image.php:95
|
1150 |
-
msgid "Choose the uploader type"
|
1151 |
-
msgstr "Choisissez le type de téléchargeur"
|
1152 |
-
|
1153 |
-
#: includes/fields/field-flexible-content-actions.php:83
|
1154 |
-
msgid "Additional Actions"
|
1155 |
-
msgstr "Mesures supplémentaires"
|
1156 |
-
|
1157 |
-
#: includes/fields/field-flexible-content-actions.php:442
|
1158 |
-
msgid "Copy layouts"
|
1159 |
-
msgstr "Copier les mises en page"
|
1160 |
-
|
1161 |
-
#: includes/fields/field-flexible-content-actions.php:443
|
1162 |
-
msgid "Paste layouts"
|
1163 |
-
msgstr "Coller des dispositions"
|
1164 |
-
|
1165 |
-
#: includes/fields/field-flexible-content-actions.php:469
|
1166 |
-
#: includes/fields/field-forms.php:325
|
1167 |
-
#: includes/fields/field-post-statuses.php:300
|
1168 |
-
#: includes/fields/field-post-types.php:300
|
1169 |
-
#: includes/fields/field-taxonomies.php:300
|
1170 |
-
#: includes/fields/field-taxonomy-terms.php:699
|
1171 |
-
#: includes/fields/field-user-roles.php:285
|
1172 |
-
#: pro/includes/fields/field-block-types.php:326
|
1173 |
-
#: pro/includes/fields/field-countries.php:445
|
1174 |
-
#: pro/includes/fields/field-currencies.php:434
|
1175 |
-
#: pro/includes/fields/field-field-groups.php:330
|
1176 |
-
#: pro/includes/fields/field-field-types.php:332
|
1177 |
-
#: pro/includes/fields/field-fields.php:344
|
1178 |
-
#: pro/includes/fields/field-image-selector.php:145
|
1179 |
-
#: pro/includes/fields/field-image-sizes.php:353
|
1180 |
-
#: pro/includes/fields/field-languages.php:512
|
1181 |
-
#: pro/includes/fields/field-menu-locations.php:314
|
1182 |
-
#: pro/includes/fields/field-menus.php:329
|
1183 |
-
#: pro/includes/fields/field-options-pages.php:325
|
1184 |
-
#: pro/includes/fields/field-payment-cart.php:281
|
1185 |
-
#: pro/includes/fields/field-payment-selector.php:102
|
1186 |
-
#: pro/includes/fields/field-post-formats.php:325
|
1187 |
-
#: pro/includes/fields/field-templates.php:335
|
1188 |
-
msgid "Layout"
|
1189 |
-
msgstr "Mise en page"
|
1190 |
-
|
1191 |
-
#: includes/fields/field-flexible-content-async.php:62
|
1192 |
-
msgid "Asynchronous Settings"
|
1193 |
-
msgstr "Paramètres asynchrones"
|
1194 |
-
|
1195 |
-
#: includes/fields/field-flexible-content-controls.php:58
|
1196 |
-
msgid "Advanced Flexible Content"
|
1197 |
-
msgstr "Contenu flexible avancé"
|
1198 |
-
|
1199 |
-
#: includes/fields/field-flexible-content-controls.php:61
|
1200 |
-
msgid "Show advanced Flexible Content settings"
|
1201 |
-
msgstr "Afficher les paramètres avancés de contenu flexible"
|
1202 |
-
|
1203 |
-
#: includes/fields/field-flexible-content-controls.php:72
|
1204 |
-
#: includes/fields/field-repeater.php:37 pro/includes/fields/field-file.php:207
|
1205 |
-
msgid "Stylised Button"
|
1206 |
-
msgstr "Bouton stylisé"
|
1207 |
-
|
1208 |
-
#: includes/fields/field-flexible-content-controls.php:75
|
1209 |
-
msgid "Better actions buttons integration"
|
1210 |
-
msgstr "Meilleure intégration des boutons d’actions"
|
1211 |
-
|
1212 |
-
#: includes/fields/field-flexible-content-controls.php:100
|
1213 |
-
msgid "Hide Empty Message"
|
1214 |
-
msgstr "Masquer le message vide"
|
1215 |
-
|
1216 |
-
#: includes/fields/field-flexible-content-controls.php:128
|
1217 |
-
msgid "Empty Message"
|
1218 |
-
msgstr "Message vide"
|
1219 |
-
|
1220 |
-
#: includes/fields/field-flexible-content-controls.php:131
|
1221 |
-
msgid "Text displayed when the flexible field is empty"
|
1222 |
-
msgstr "Texte affiché lorsque le champ flexible est vide"
|
1223 |
-
|
1224 |
-
#: includes/fields/field-flexible-content-controls.php:133
|
1225 |
-
msgid "Click the \"Add Row\" button below to start creating your layout"
|
1226 |
-
msgstr ""
|
1227 |
-
"Cliquez sur le bouton « Ajouter une rangée » ci-dessous pour commencer à "
|
1228 |
-
"créer votre mise en page"
|
1229 |
-
|
1230 |
-
#: includes/fields/field-flexible-content-controls.php:203
|
1231 |
-
msgid "Add layout"
|
1232 |
-
msgstr "Ajouter une mise en page"
|
1233 |
-
|
1234 |
-
#: includes/fields/field-flexible-content-controls.php:204
|
1235 |
-
msgid "Duplicate layout"
|
1236 |
-
msgstr "Dupliquer la mise en page"
|
1237 |
-
|
1238 |
-
#: includes/fields/field-flexible-content-controls.php:205
|
1239 |
-
msgid "Remove layout"
|
1240 |
-
msgstr "Supprimer l'élément"
|
1241 |
-
|
1242 |
-
#: includes/fields/field-flexible-content-controls.php:206
|
1243 |
-
msgid "Click to toggle"
|
1244 |
-
msgstr "Cliquez ici pour basculer"
|
1245 |
-
|
1246 |
-
#: includes/fields/field-flexible-content-edit.php:78
|
1247 |
-
msgid "Edit Modal"
|
1248 |
-
msgstr "Editer Modal"
|
1249 |
-
|
1250 |
-
#: includes/fields/field-flexible-content-edit.php:81
|
1251 |
-
msgid "Edit layout content in a modal"
|
1252 |
-
msgstr "Modifier le contenu de la mise en page dans une fenêtre modale"
|
1253 |
-
|
1254 |
-
#: includes/fields/field-flexible-content-edit.php:169
|
1255 |
-
msgid "Modal settings"
|
1256 |
-
msgstr "Paramètres modaux"
|
1257 |
-
|
1258 |
-
#: includes/fields/field-flexible-content-hide.php:63
|
1259 |
-
msgid "Hide Buttons"
|
1260 |
-
msgstr "Masquer les boutons"
|
1261 |
-
|
1262 |
-
#: includes/fields/field-flexible-content-preview.php:81
|
1263 |
-
msgid "Render the layout using custom template, style & javascript files"
|
1264 |
-
msgstr ""
|
1265 |
-
"Effectuez le rendu de la mise en page à l’aide de fichiers de modèle, de "
|
1266 |
-
"style et javascript personnalisés"
|
1267 |
-
|
1268 |
-
#: includes/fields/field-flexible-content-preview.php:101
|
1269 |
-
msgid "Dynamic Preview"
|
1270 |
-
msgstr "Aperçu dynamique"
|
1271 |
-
|
1272 |
-
#: includes/fields/field-flexible-content-preview.php:104
|
1273 |
-
msgid ""
|
1274 |
-
"Use layouts render settings to display a dynamic preview in the "
|
1275 |
-
"administration"
|
1276 |
-
msgstr ""
|
1277 |
-
"Utilisez les réglages de rendu des présentations pour afficher un aperçu "
|
1278 |
-
"dynamique dans l’administration de publication"
|
1279 |
-
|
1280 |
-
#: includes/fields/field-flexible-content-preview.php:129
|
1281 |
-
msgid "Layouts Placeholder"
|
1282 |
-
msgstr "Texte indicatif"
|
1283 |
-
|
1284 |
-
#: includes/fields/field-flexible-content-preview.php:132
|
1285 |
-
msgid "Display a placeholder with an icon"
|
1286 |
-
msgstr "Afficher un espace réservé avec une icône"
|
1287 |
-
|
1288 |
-
#: includes/fields/field-flexible-content-preview.php:180
|
1289 |
-
#: includes/modules/block-types.php:29
|
1290 |
-
msgid "Render"
|
1291 |
-
msgstr "Afficher"
|
1292 |
-
|
1293 |
-
#: includes/fields/field-flexible-content-preview.php:331
|
1294 |
-
msgid "Edit layout"
|
1295 |
-
msgstr "Modifier la mise en page"
|
1296 |
-
|
1297 |
-
#: includes/fields/field-flexible-content-select.php:75
|
1298 |
-
msgid "Selection Modal"
|
1299 |
-
msgstr "Sélection modale"
|
1300 |
-
|
1301 |
-
#: includes/fields/field-flexible-content-select.php:78
|
1302 |
-
msgid "Select layouts in a modal"
|
1303 |
-
msgstr "Sélectionner des mises en page dans une fenêtre modale"
|
1304 |
-
|
1305 |
-
#: includes/fields/field-flexible-content-select.php:247
|
1306 |
-
#: includes/modules/block-types.php:27
|
1307 |
-
msgid "Category"
|
1308 |
-
msgstr "Catégorie"
|
1309 |
-
|
1310 |
-
#: includes/fields/field-flexible-content-select.php:256
|
1311 |
-
msgid "Enter value"
|
1312 |
-
msgstr "Saisir valeur"
|
1313 |
-
|
1314 |
-
#: includes/fields/field-flexible-content-settings.php:71
|
1315 |
-
msgid "Layouts Settings Modal"
|
1316 |
-
msgstr "Paramètres de disposition modals"
|
1317 |
-
|
1318 |
-
#: includes/fields/field-flexible-content-settings.php:74
|
1319 |
-
msgid "Choose a field group to clone and to be used as a configuration modal"
|
1320 |
-
msgstr ""
|
1321 |
-
"Choisissez un groupe de champs à cloner et à utiliser comme mode de "
|
1322 |
-
"configuration"
|
1323 |
-
|
1324 |
-
#: includes/fields/field-flexible-content-settings.php:126
|
1325 |
-
msgid "Clone settings"
|
1326 |
-
msgstr "Paramètres de clonage"
|
1327 |
-
|
1328 |
-
#: includes/fields/field-flexible-content-state.php:55
|
1329 |
-
msgid "Default Layouts State"
|
1330 |
-
msgstr "État des dispositions par défaut"
|
1331 |
-
|
1332 |
-
#: includes/fields/field-flexible-content-state.php:58
|
1333 |
-
msgid "Force layouts to be collapsed or opened"
|
1334 |
-
msgstr "Forcer les mises en page à être fermées ou ouvertes"
|
1335 |
-
|
1336 |
-
#: includes/fields/field-flexible-content-state.php:62
|
1337 |
-
msgid "Default (User preference)"
|
1338 |
-
msgstr "Par défaut (préférence de l’utilisateur)"
|
1339 |
-
|
1340 |
-
#: includes/fields/field-flexible-content-thumbnail.php:71
|
1341 |
-
msgid "Layouts Thumbnails"
|
1342 |
-
msgstr "Mises en page Thumbnails"
|
1343 |
-
|
1344 |
-
#: includes/fields/field-flexible-content-thumbnail.php:74
|
1345 |
-
msgid "Set a thumbnail for each layouts"
|
1346 |
-
msgstr "Définir une miniature pour chaque mise en page"
|
1347 |
-
|
1348 |
-
#: includes/fields/field-flexible-content-thumbnail.php:111
|
1349 |
-
msgid "Thumbnail"
|
1350 |
-
msgstr "Miniature"
|
1351 |
-
|
1352 |
-
#: includes/fields/field-flexible-content.php:312
|
1353 |
-
#, php-format
|
1354 |
-
msgid "Click the \"%s\" button below to start creating your layout"
|
1355 |
-
msgstr ""
|
1356 |
-
"Cliquer sur le bouton “%s” ci-dessous pour commencer à créer votre mise en "
|
1357 |
-
"page"
|
1358 |
-
|
1359 |
-
#: includes/fields/field-flexible-content.php:508
|
1360 |
-
msgid "Drag to reorder"
|
1361 |
-
msgstr "Faites glisser pour réorganiser"
|
1362 |
-
|
1363 |
-
#: includes/fields/field-forms.php:17 includes/locations/taxonomy-list.php:214
|
1364 |
-
#: includes/modules/forms.php:103 includes/modules/forms.php:104
|
1365 |
-
#: includes/modules/forms.php:106 includes/modules/forms.php:108
|
1366 |
-
#: includes/modules/forms.php:183 pro/includes/locations/settings.php:77
|
1367 |
-
#: pro/includes/modules/templates.php:686
|
1368 |
-
msgid "Forms"
|
1369 |
-
msgstr "Formulaires"
|
1370 |
-
|
1371 |
-
#: includes/fields/field-forms.php:53
|
1372 |
-
msgid "Allow Forms"
|
1373 |
-
msgstr "Autoriser les formulaires"
|
1374 |
-
|
1375 |
-
#: includes/fields/field-forms.php:61
|
1376 |
-
msgid "All forms"
|
1377 |
-
msgstr "Tous les formulaires"
|
1378 |
-
|
1379 |
-
#: includes/fields/field-forms.php:66
|
1380 |
-
#: includes/fields/field-post-statuses.php:66
|
1381 |
-
#: includes/fields/field-post-types.php:66
|
1382 |
-
#: includes/fields/field-taxonomies.php:66
|
1383 |
-
#: includes/fields/field-taxonomy-terms.php:484
|
1384 |
-
#: includes/fields/field-user-roles.php:64
|
1385 |
-
#: pro/includes/fields/field-block-types.php:93
|
1386 |
-
#: pro/includes/fields/field-countries.php:139
|
1387 |
-
#: pro/includes/fields/field-currencies.php:139
|
1388 |
-
#: pro/includes/fields/field-field-groups.php:95
|
1389 |
-
#: pro/includes/fields/field-field-types.php:98
|
1390 |
-
#: pro/includes/fields/field-fields.php:108
|
1391 |
-
#: pro/includes/fields/field-image-sizes.php:105
|
1392 |
-
#: pro/includes/fields/field-languages.php:218
|
1393 |
-
#: pro/includes/fields/field-menu-locations.php:93
|
1394 |
-
#: pro/includes/fields/field-menus.php:94
|
1395 |
-
#: pro/includes/fields/field-options-pages.php:91
|
1396 |
-
#: pro/includes/fields/field-post-formats.php:106
|
1397 |
-
#: pro/includes/fields/field-templates.php:101
|
1398 |
-
msgid "Appearance"
|
1399 |
-
msgstr "Apparence"
|
1400 |
-
|
1401 |
-
#: includes/fields/field-forms.php:67
|
1402 |
-
#: includes/fields/field-post-statuses.php:67
|
1403 |
-
#: includes/fields/field-post-types.php:67
|
1404 |
-
#: includes/fields/field-taxonomies.php:67
|
1405 |
-
#: includes/fields/field-taxonomy-terms.php:485
|
1406 |
-
#: includes/fields/field-user-roles.php:65
|
1407 |
-
#: pro/includes/fields/field-block-types.php:94
|
1408 |
-
#: pro/includes/fields/field-countries.php:140
|
1409 |
-
#: pro/includes/fields/field-currencies.php:140
|
1410 |
-
#: pro/includes/fields/field-field-groups.php:96
|
1411 |
-
#: pro/includes/fields/field-field-types.php:99
|
1412 |
-
#: pro/includes/fields/field-fields.php:109
|
1413 |
-
#: pro/includes/fields/field-image-sizes.php:106
|
1414 |
-
#: pro/includes/fields/field-languages.php:219
|
1415 |
-
#: pro/includes/fields/field-menu-locations.php:94
|
1416 |
-
#: pro/includes/fields/field-menus.php:95
|
1417 |
-
#: pro/includes/fields/field-options-pages.php:92
|
1418 |
-
#: pro/includes/fields/field-post-formats.php:107
|
1419 |
-
#: pro/includes/fields/field-templates.php:102
|
1420 |
-
msgid "Select the appearance of this field"
|
1421 |
-
msgstr "Sélectionnez l'apparence de ce champ"
|
1422 |
-
|
1423 |
-
#: includes/fields/field-forms.php:72
|
1424 |
-
#: includes/fields/field-post-statuses.php:72
|
1425 |
-
#: includes/fields/field-post-types.php:72
|
1426 |
-
#: includes/fields/field-taxonomies.php:72
|
1427 |
-
#: includes/fields/field-taxonomy-terms.php:490
|
1428 |
-
#: includes/fields/field-user-roles.php:70
|
1429 |
-
#: pro/includes/fields/field-block-types.php:99
|
1430 |
-
#: pro/includes/fields/field-countries.php:144
|
1431 |
-
#: pro/includes/fields/field-currencies.php:144
|
1432 |
-
#: pro/includes/fields/field-field-groups.php:101
|
1433 |
-
#: pro/includes/fields/field-field-types.php:104
|
1434 |
-
#: pro/includes/fields/field-fields.php:114
|
1435 |
-
#: pro/includes/fields/field-image-sizes.php:111
|
1436 |
-
#: pro/includes/fields/field-languages.php:223
|
1437 |
-
#: pro/includes/fields/field-menu-locations.php:99
|
1438 |
-
#: pro/includes/fields/field-menus.php:100
|
1439 |
-
#: pro/includes/fields/field-options-pages.php:97
|
1440 |
-
#: pro/includes/fields/field-payment-cart.php:117
|
1441 |
-
#: pro/includes/fields/field-post-formats.php:111
|
1442 |
-
#: pro/includes/fields/field-templates.php:107
|
1443 |
-
msgid "Checkbox"
|
1444 |
-
msgstr "Case à cocher"
|
1445 |
-
|
1446 |
-
#: includes/fields/field-forms.php:73
|
1447 |
-
#: includes/fields/field-post-statuses.php:73
|
1448 |
-
#: includes/fields/field-post-types.php:73
|
1449 |
-
#: includes/fields/field-taxonomies.php:73
|
1450 |
-
#: includes/fields/field-taxonomy-terms.php:491
|
1451 |
-
#: includes/fields/field-user-roles.php:71
|
1452 |
-
#: pro/includes/fields/field-block-types.php:100
|
1453 |
-
#: pro/includes/fields/field-countries.php:145
|
1454 |
-
#: pro/includes/fields/field-currencies.php:145
|
1455 |
-
#: pro/includes/fields/field-field-groups.php:102
|
1456 |
-
#: pro/includes/fields/field-field-types.php:105
|
1457 |
-
#: pro/includes/fields/field-fields.php:115
|
1458 |
-
#: pro/includes/fields/field-image-sizes.php:112
|
1459 |
-
#: pro/includes/fields/field-languages.php:224
|
1460 |
-
#: pro/includes/fields/field-menu-locations.php:100
|
1461 |
-
#: pro/includes/fields/field-menus.php:101
|
1462 |
-
#: pro/includes/fields/field-options-pages.php:98
|
1463 |
-
#: pro/includes/fields/field-post-formats.php:112
|
1464 |
-
#: pro/includes/fields/field-templates.php:108
|
1465 |
-
msgid "Radio Buttons"
|
1466 |
-
msgstr "Boutons radio"
|
1467 |
-
|
1468 |
-
#: includes/fields/field-forms.php:74
|
1469 |
-
#: includes/fields/field-post-statuses.php:74
|
1470 |
-
#: includes/fields/field-post-types.php:74
|
1471 |
-
#: includes/fields/field-taxonomies.php:74
|
1472 |
-
#: includes/fields/field-taxonomy-terms.php:492
|
1473 |
-
#: includes/fields/field-user-roles.php:72
|
1474 |
-
#: pro/includes/fields/field-block-types.php:101
|
1475 |
-
#: pro/includes/fields/field-countries.php:146
|
1476 |
-
#: pro/includes/fields/field-currencies.php:146
|
1477 |
-
#: pro/includes/fields/field-field-groups.php:103
|
1478 |
-
#: pro/includes/fields/field-field-types.php:106
|
1479 |
-
#: pro/includes/fields/field-fields.php:116
|
1480 |
-
#: pro/includes/fields/field-image-sizes.php:113
|
1481 |
-
#: pro/includes/fields/field-languages.php:225
|
1482 |
-
#: pro/includes/fields/field-menu-locations.php:101
|
1483 |
-
#: pro/includes/fields/field-menus.php:102
|
1484 |
-
#: pro/includes/fields/field-options-pages.php:99
|
1485 |
-
#: pro/includes/fields/field-post-formats.php:113
|
1486 |
-
#: pro/includes/fields/field-templates.php:109
|
1487 |
-
msgctxt "noun"
|
1488 |
-
msgid "Select"
|
1489 |
-
msgstr "Sélectionner"
|
1490 |
-
|
1491 |
-
#: includes/fields/field-forms.php:81
|
1492 |
-
#: includes/fields/field-post-statuses.php:81
|
1493 |
-
#: includes/fields/field-post-types.php:81
|
1494 |
-
#: includes/fields/field-taxonomies.php:81
|
1495 |
-
#: includes/fields/field-taxonomy-terms.php:499
|
1496 |
-
#: includes/fields/field-user-roles.php:79
|
1497 |
-
#: pro/includes/fields/field-block-types.php:108
|
1498 |
-
#: pro/includes/fields/field-countries.php:153
|
1499 |
-
#: pro/includes/fields/field-currencies.php:153
|
1500 |
-
#: pro/includes/fields/field-field-groups.php:110
|
1501 |
-
#: pro/includes/fields/field-field-types.php:113
|
1502 |
-
#: pro/includes/fields/field-fields.php:123
|
1503 |
-
#: pro/includes/fields/field-image-selector.php:59
|
1504 |
-
#: pro/includes/fields/field-image-sizes.php:120
|
1505 |
-
#: pro/includes/fields/field-languages.php:232
|
1506 |
-
#: pro/includes/fields/field-menu-locations.php:108
|
1507 |
-
#: pro/includes/fields/field-menus.php:109
|
1508 |
-
#: pro/includes/fields/field-options-pages.php:106
|
1509 |
-
#: pro/includes/fields/field-payment-cart.php:91
|
1510 |
-
#: pro/includes/fields/field-post-formats.php:120
|
1511 |
-
#: pro/includes/fields/field-templates.php:116
|
1512 |
-
msgid "Enter each default value on a new line"
|
1513 |
-
msgstr "Entrer chaque valeur par défaut sur une nouvelle ligne"
|
1514 |
-
|
1515 |
-
#: includes/fields/field-forms.php:88
|
1516 |
-
#: includes/fields/field-post-statuses.php:88
|
1517 |
-
#: includes/fields/field-post-types.php:88
|
1518 |
-
#: includes/fields/field-taxonomies.php:88
|
1519 |
-
#: includes/fields/field-taxonomy-terms.php:506
|
1520 |
-
#: pro/includes/fields/field-block-types.php:115
|
1521 |
-
#: pro/includes/fields/field-color-picker.php:162
|
1522 |
-
#: pro/includes/fields/field-countries.php:160
|
1523 |
-
#: pro/includes/fields/field-currencies.php:175
|
1524 |
-
#: pro/includes/fields/field-field-groups.php:117
|
1525 |
-
#: pro/includes/fields/field-field-types.php:120
|
1526 |
-
#: pro/includes/fields/field-fields.php:130
|
1527 |
-
#: pro/includes/fields/field-image-selector.php:113
|
1528 |
-
#: pro/includes/fields/field-image-sizes.php:141
|
1529 |
-
#: pro/includes/fields/field-languages.php:239
|
1530 |
-
#: pro/includes/fields/field-menus.php:116
|
1531 |
-
#: pro/includes/fields/field-options-pages.php:113
|
1532 |
-
#: pro/includes/fields/field-phone-number.php:191
|
1533 |
-
#: pro/includes/fields/field-templates.php:123
|
1534 |
-
msgid "Return Value"
|
1535 |
-
msgstr "Valeur de retour"
|
1536 |
-
|
1537 |
-
#: includes/fields/field-forms.php:93
|
1538 |
-
msgid "Form ID"
|
1539 |
-
msgstr "ID du formulaire"
|
1540 |
-
|
1541 |
-
#: includes/fields/field-forms.php:94
|
1542 |
-
msgid "Form name"
|
1543 |
-
msgstr "Nom du formulaire"
|
1544 |
-
|
1545 |
-
#: includes/fields/field-forms.php:101
|
1546 |
-
#: includes/fields/field-post-statuses.php:101
|
1547 |
-
#: includes/fields/field-post-types.php:101
|
1548 |
-
#: includes/fields/field-taxonomies.php:101
|
1549 |
-
#: includes/fields/field-taxonomy-terms.php:538
|
1550 |
-
#: includes/fields/field-user-roles.php:86
|
1551 |
-
#: pro/includes/fields/field-block-types.php:128
|
1552 |
-
#: pro/includes/fields/field-countries.php:247
|
1553 |
-
#: pro/includes/fields/field-currencies.php:236
|
1554 |
-
#: pro/includes/fields/field-field-groups.php:131
|
1555 |
-
#: pro/includes/fields/field-field-types.php:133
|
1556 |
-
#: pro/includes/fields/field-fields.php:145
|
1557 |
-
#: pro/includes/fields/field-image-selector.php:127
|
1558 |
-
#: pro/includes/fields/field-image-sizes.php:154
|
1559 |
-
#: pro/includes/fields/field-languages.php:314
|
1560 |
-
#: pro/includes/fields/field-menu-locations.php:115
|
1561 |
-
#: pro/includes/fields/field-menus.php:130
|
1562 |
-
#: pro/includes/fields/field-options-pages.php:126
|
1563 |
-
#: pro/includes/fields/field-payment-cart.php:125
|
1564 |
-
#: pro/includes/fields/field-post-formats.php:127
|
1565 |
-
#: pro/includes/fields/field-templates.php:136
|
1566 |
-
msgid "Allow Null?"
|
1567 |
-
msgstr "Autoriser une valeur « null »?"
|
1568 |
-
|
1569 |
-
#: includes/fields/field-forms.php:130
|
1570 |
-
#: includes/fields/field-post-statuses.php:190
|
1571 |
-
#: includes/fields/field-post-types.php:190 includes/fields/field-select.php:58
|
1572 |
-
#: includes/fields/field-taxonomies.php:190
|
1573 |
-
#: includes/fields/field-taxonomy-terms.php:567
|
1574 |
-
#: includes/fields/field-user-roles.php:175
|
1575 |
-
#: pro/includes/fields/field-block-types.php:216
|
1576 |
-
#: pro/includes/fields/field-countries.php:335
|
1577 |
-
#: pro/includes/fields/field-currencies.php:324
|
1578 |
-
#: pro/includes/fields/field-field-groups.php:220
|
1579 |
-
#: pro/includes/fields/field-field-types.php:222
|
1580 |
-
#: pro/includes/fields/field-fields.php:234
|
1581 |
-
#: pro/includes/fields/field-image-sizes.php:243
|
1582 |
-
#: pro/includes/fields/field-languages.php:402
|
1583 |
-
#: pro/includes/fields/field-menu-locations.php:204
|
1584 |
-
#: pro/includes/fields/field-menus.php:219
|
1585 |
-
#: pro/includes/fields/field-options-pages.php:215
|
1586 |
-
#: pro/includes/fields/field-payment-cart.php:190
|
1587 |
-
#: pro/includes/fields/field-post-formats.php:215
|
1588 |
-
#: pro/includes/fields/field-templates.php:225
|
1589 |
-
msgctxt "verb"
|
1590 |
-
msgid "Select"
|
1591 |
-
msgstr "Sélectionner"
|
1592 |
-
|
1593 |
-
#: includes/fields/field-forms.php:193
|
1594 |
-
#: includes/fields/field-post-statuses.php:253
|
1595 |
-
#: includes/fields/field-post-types.php:253
|
1596 |
-
#: includes/fields/field-select.php:106
|
1597 |
-
#: includes/fields/field-taxonomies.php:253
|
1598 |
-
#: includes/fields/field-taxonomy-terms.php:630
|
1599 |
-
#: includes/fields/field-user-roles.php:238
|
1600 |
-
#: pro/includes/fields/field-block-types.php:279
|
1601 |
-
#: pro/includes/fields/field-countries.php:398
|
1602 |
-
#: pro/includes/fields/field-currencies.php:387
|
1603 |
-
#: pro/includes/fields/field-field-groups.php:283
|
1604 |
-
#: pro/includes/fields/field-field-types.php:285
|
1605 |
-
#: pro/includes/fields/field-fields.php:297
|
1606 |
-
#: pro/includes/fields/field-image-sizes.php:306
|
1607 |
-
#: pro/includes/fields/field-languages.php:465
|
1608 |
-
#: pro/includes/fields/field-menu-locations.php:267
|
1609 |
-
#: pro/includes/fields/field-menus.php:282
|
1610 |
-
#: pro/includes/fields/field-options-pages.php:278
|
1611 |
-
#: pro/includes/fields/field-payment-cart.php:253
|
1612 |
-
#: pro/includes/fields/field-post-formats.php:278
|
1613 |
-
#: pro/includes/fields/field-templates.php:288
|
1614 |
-
msgid "Search Input Placeholder"
|
1615 |
-
msgstr "Espace réservé pour les entrées de recherche"
|
1616 |
-
|
1617 |
-
#: includes/fields/field-forms.php:194
|
1618 |
-
#: includes/fields/field-post-statuses.php:254
|
1619 |
-
#: includes/fields/field-post-types.php:254
|
1620 |
-
#: includes/fields/field-select.php:107
|
1621 |
-
#: includes/fields/field-taxonomies.php:254
|
1622 |
-
#: includes/fields/field-taxonomy-terms.php:631
|
1623 |
-
#: includes/fields/field-user-roles.php:239
|
1624 |
-
#: pro/includes/fields/field-block-types.php:280
|
1625 |
-
#: pro/includes/fields/field-countries.php:399
|
1626 |
-
#: pro/includes/fields/field-currencies.php:388
|
1627 |
-
#: pro/includes/fields/field-field-groups.php:284
|
1628 |
-
#: pro/includes/fields/field-field-types.php:286
|
1629 |
-
#: pro/includes/fields/field-fields.php:298
|
1630 |
-
#: pro/includes/fields/field-image-sizes.php:307
|
1631 |
-
#: pro/includes/fields/field-languages.php:466
|
1632 |
-
#: pro/includes/fields/field-menu-locations.php:268
|
1633 |
-
#: pro/includes/fields/field-menus.php:283
|
1634 |
-
#: pro/includes/fields/field-options-pages.php:279
|
1635 |
-
#: pro/includes/fields/field-payment-cart.php:254
|
1636 |
-
#: pro/includes/fields/field-post-formats.php:279
|
1637 |
-
#: pro/includes/fields/field-templates.php:289
|
1638 |
-
msgid "Appears within the search input"
|
1639 |
-
msgstr "Apparaît dans l’entrée de recherche"
|
1640 |
-
|
1641 |
-
#: includes/fields/field-forms.php:221
|
1642 |
-
#: includes/fields/field-post-statuses.php:126
|
1643 |
-
#: includes/fields/field-post-types.php:126
|
1644 |
-
#: includes/fields/field-taxonomies.php:126
|
1645 |
-
#: includes/fields/field-taxonomy-terms.php:658
|
1646 |
-
#: includes/fields/field-user-roles.php:111
|
1647 |
-
#: pro/includes/fields/field-block-types.php:153
|
1648 |
-
#: pro/includes/fields/field-countries.php:272
|
1649 |
-
#: pro/includes/fields/field-currencies.php:261
|
1650 |
-
#: pro/includes/fields/field-field-groups.php:156
|
1651 |
-
#: pro/includes/fields/field-field-types.php:158
|
1652 |
-
#: pro/includes/fields/field-fields.php:170
|
1653 |
-
#: pro/includes/fields/field-image-selector.php:136
|
1654 |
-
#: pro/includes/fields/field-image-sizes.php:179
|
1655 |
-
#: pro/includes/fields/field-languages.php:339
|
1656 |
-
#: pro/includes/fields/field-menu-locations.php:140
|
1657 |
-
#: pro/includes/fields/field-menus.php:155
|
1658 |
-
#: pro/includes/fields/field-options-pages.php:151
|
1659 |
-
#: pro/includes/fields/field-payment-cart.php:150
|
1660 |
-
#: pro/includes/fields/field-post-formats.php:152
|
1661 |
-
#: pro/includes/fields/field-templates.php:161
|
1662 |
-
msgid "Select multiple values?"
|
1663 |
-
msgstr "Sélectionnez plusieurs valeurs?"
|
1664 |
-
|
1665 |
-
#: includes/fields/field-forms.php:239
|
1666 |
-
#: includes/fields/field-post-statuses.php:144
|
1667 |
-
#: includes/fields/field-post-types.php:144
|
1668 |
-
#: includes/fields/field-taxonomies.php:144
|
1669 |
-
#: includes/fields/field-taxonomy-terms.php:520
|
1670 |
-
#: includes/fields/field-user-roles.php:129
|
1671 |
-
#: pro/includes/fields/field-block-types.php:171
|
1672 |
-
#: pro/includes/fields/field-countries.php:290
|
1673 |
-
#: pro/includes/fields/field-currencies.php:279
|
1674 |
-
#: pro/includes/fields/field-field-groups.php:174
|
1675 |
-
#: pro/includes/fields/field-field-types.php:176
|
1676 |
-
#: pro/includes/fields/field-fields.php:188
|
1677 |
-
#: pro/includes/fields/field-image-sizes.php:197
|
1678 |
-
#: pro/includes/fields/field-languages.php:357
|
1679 |
-
#: pro/includes/fields/field-menu-locations.php:158
|
1680 |
-
#: pro/includes/fields/field-menus.php:173
|
1681 |
-
#: pro/includes/fields/field-options-pages.php:169
|
1682 |
-
#: pro/includes/fields/field-payment-cart.php:168
|
1683 |
-
#: pro/includes/fields/field-payment-selector.php:122
|
1684 |
-
#: pro/includes/fields/field-post-formats.php:170
|
1685 |
-
#: pro/includes/fields/field-templates.php:179
|
1686 |
-
msgid "Stylised UI"
|
1687 |
-
msgstr "UI Stylised"
|
1688 |
-
|
1689 |
-
#: includes/fields/field-forms.php:258
|
1690 |
-
#: includes/fields/field-post-statuses.php:163
|
1691 |
-
#: includes/fields/field-post-types.php:163
|
1692 |
-
#: includes/fields/field-taxonomies.php:163
|
1693 |
-
#: includes/fields/field-taxonomy-terms.php:676
|
1694 |
-
#: includes/fields/field-user-roles.php:148
|
1695 |
-
#: pro/includes/fields/field-block-types.php:189
|
1696 |
-
#: pro/includes/fields/field-countries.php:308
|
1697 |
-
#: pro/includes/fields/field-currencies.php:297
|
1698 |
-
#: pro/includes/fields/field-field-groups.php:193
|
1699 |
-
#: pro/includes/fields/field-field-types.php:195
|
1700 |
-
#: pro/includes/fields/field-fields.php:207
|
1701 |
-
#: pro/includes/fields/field-image-sizes.php:216
|
1702 |
-
#: pro/includes/fields/field-languages.php:375
|
1703 |
-
#: pro/includes/fields/field-menu-locations.php:177
|
1704 |
-
#: pro/includes/fields/field-menus.php:192
|
1705 |
-
#: pro/includes/fields/field-options-pages.php:188
|
1706 |
-
#: pro/includes/fields/field-post-formats.php:188
|
1707 |
-
#: pro/includes/fields/field-templates.php:198
|
1708 |
-
msgid "Use AJAX to lazy load choices?"
|
1709 |
-
msgstr "Utilisez AJAX pour des choix de charge paresseux?"
|
1710 |
-
|
1711 |
-
#: includes/fields/field-forms.php:281
|
1712 |
-
#: includes/fields/field-post-statuses.php:281
|
1713 |
-
#: includes/fields/field-post-types.php:281
|
1714 |
-
#: includes/fields/field-taxonomies.php:281
|
1715 |
-
#: includes/fields/field-user-roles.php:266
|
1716 |
-
#: pro/includes/fields/field-block-types.php:307
|
1717 |
-
#: pro/includes/fields/field-countries.php:426
|
1718 |
-
#: pro/includes/fields/field-currencies.php:415
|
1719 |
-
#: pro/includes/fields/field-field-groups.php:311
|
1720 |
-
#: pro/includes/fields/field-field-types.php:313
|
1721 |
-
#: pro/includes/fields/field-fields.php:325
|
1722 |
-
#: pro/includes/fields/field-image-sizes.php:334
|
1723 |
-
#: pro/includes/fields/field-languages.php:493
|
1724 |
-
#: pro/includes/fields/field-menu-locations.php:295
|
1725 |
-
#: pro/includes/fields/field-menus.php:310
|
1726 |
-
#: pro/includes/fields/field-options-pages.php:306
|
1727 |
-
#: pro/includes/fields/field-post-formats.php:306
|
1728 |
-
#: pro/includes/fields/field-templates.php:316
|
1729 |
-
msgid "Other"
|
1730 |
-
msgstr "Autre"
|
1731 |
-
|
1732 |
-
#: includes/fields/field-forms.php:286
|
1733 |
-
#: includes/fields/field-post-statuses.php:286
|
1734 |
-
#: includes/fields/field-post-types.php:286
|
1735 |
-
#: includes/fields/field-taxonomies.php:286
|
1736 |
-
#: includes/fields/field-user-roles.php:271
|
1737 |
-
#: pro/includes/fields/field-block-types.php:312
|
1738 |
-
#: pro/includes/fields/field-countries.php:431
|
1739 |
-
#: pro/includes/fields/field-currencies.php:420
|
1740 |
-
#: pro/includes/fields/field-field-groups.php:316
|
1741 |
-
#: pro/includes/fields/field-field-types.php:318
|
1742 |
-
#: pro/includes/fields/field-fields.php:330
|
1743 |
-
#: pro/includes/fields/field-image-sizes.php:339
|
1744 |
-
#: pro/includes/fields/field-languages.php:498
|
1745 |
-
#: pro/includes/fields/field-menu-locations.php:300
|
1746 |
-
#: pro/includes/fields/field-menus.php:315
|
1747 |
-
#: pro/includes/fields/field-options-pages.php:311
|
1748 |
-
#: pro/includes/fields/field-post-formats.php:311
|
1749 |
-
#: pro/includes/fields/field-templates.php:321
|
1750 |
-
msgid "Add 'other' choice to allow for custom values"
|
1751 |
-
msgstr ""
|
1752 |
-
"Ajouter 'les autres' pour un autre choix afin d'autoriser les valeurs "
|
1753 |
-
"personnalisées"
|
1754 |
-
|
1755 |
-
#: includes/fields/field-forms.php:301
|
1756 |
-
msgid "Save Other"
|
1757 |
-
msgstr "Enregistrer Autres"
|
1758 |
-
|
1759 |
-
#: includes/fields/field-forms.php:306
|
1760 |
-
msgid "Save 'other' values to the field's choices"
|
1761 |
-
msgstr "Enregistrer 'les autres' pour les valeurs dans les choix du champ"
|
1762 |
-
|
1763 |
-
#: includes/fields/field-forms.php:331
|
1764 |
-
#: includes/fields/field-post-statuses.php:306
|
1765 |
-
#: includes/fields/field-post-types.php:306
|
1766 |
-
#: includes/fields/field-taxonomies.php:306
|
1767 |
-
#: includes/fields/field-taxonomy-terms.php:705
|
1768 |
-
#: includes/fields/field-user-roles.php:291
|
1769 |
-
#: pro/includes/fields/field-block-types.php:332
|
1770 |
-
#: pro/includes/fields/field-countries.php:451
|
1771 |
-
#: pro/includes/fields/field-currencies.php:440
|
1772 |
-
#: pro/includes/fields/field-field-groups.php:336
|
1773 |
-
#: pro/includes/fields/field-field-types.php:338
|
1774 |
-
#: pro/includes/fields/field-fields.php:350
|
1775 |
-
#: pro/includes/fields/field-image-selector.php:152
|
1776 |
-
#: pro/includes/fields/field-image-sizes.php:359
|
1777 |
-
#: pro/includes/fields/field-languages.php:518
|
1778 |
-
#: pro/includes/fields/field-menu-locations.php:320
|
1779 |
-
#: pro/includes/fields/field-menus.php:335
|
1780 |
-
#: pro/includes/fields/field-options-pages.php:331
|
1781 |
-
#: pro/includes/fields/field-payment-cart.php:287
|
1782 |
-
#: pro/includes/fields/field-payment-selector.php:108
|
1783 |
-
#: pro/includes/fields/field-post-formats.php:331
|
1784 |
-
#: pro/includes/fields/field-templates.php:341
|
1785 |
-
msgid "Vertical"
|
1786 |
-
msgstr "Vertical"
|
1787 |
-
|
1788 |
-
#: includes/fields/field-forms.php:332
|
1789 |
-
#: includes/fields/field-post-statuses.php:307
|
1790 |
-
#: includes/fields/field-post-types.php:307
|
1791 |
-
#: includes/fields/field-taxonomies.php:307
|
1792 |
-
#: includes/fields/field-taxonomy-terms.php:706
|
1793 |
-
#: includes/fields/field-user-roles.php:292
|
1794 |
-
#: pro/includes/fields/field-block-types.php:333
|
1795 |
-
#: pro/includes/fields/field-countries.php:452
|
1796 |
-
#: pro/includes/fields/field-currencies.php:441
|
1797 |
-
#: pro/includes/fields/field-field-groups.php:337
|
1798 |
-
#: pro/includes/fields/field-field-types.php:339
|
1799 |
-
#: pro/includes/fields/field-fields.php:351
|
1800 |
-
#: pro/includes/fields/field-image-selector.php:151
|
1801 |
-
#: pro/includes/fields/field-image-sizes.php:360
|
1802 |
-
#: pro/includes/fields/field-languages.php:519
|
1803 |
-
#: pro/includes/fields/field-menu-locations.php:321
|
1804 |
-
#: pro/includes/fields/field-menus.php:336
|
1805 |
-
#: pro/includes/fields/field-options-pages.php:332
|
1806 |
-
#: pro/includes/fields/field-payment-cart.php:288
|
1807 |
-
#: pro/includes/fields/field-payment-selector.php:109
|
1808 |
-
#: pro/includes/fields/field-post-formats.php:332
|
1809 |
-
#: pro/includes/fields/field-templates.php:342
|
1810 |
-
msgid "Horizontal"
|
1811 |
-
msgstr "Horizontal"
|
1812 |
-
|
1813 |
-
#: includes/fields/field-forms.php:354
|
1814 |
-
#: includes/fields/field-post-statuses.php:329
|
1815 |
-
#: includes/fields/field-post-types.php:329
|
1816 |
-
#: includes/fields/field-taxonomies.php:329
|
1817 |
-
#: includes/fields/field-taxonomy-terms.php:728
|
1818 |
-
#: includes/fields/field-user-roles.php:314
|
1819 |
-
#: pro/includes/fields/field-block-types.php:355
|
1820 |
-
#: pro/includes/fields/field-countries.php:474
|
1821 |
-
#: pro/includes/fields/field-currencies.php:463
|
1822 |
-
#: pro/includes/fields/field-field-groups.php:359
|
1823 |
-
#: pro/includes/fields/field-field-types.php:361
|
1824 |
-
#: pro/includes/fields/field-fields.php:373
|
1825 |
-
#: pro/includes/fields/field-image-sizes.php:382
|
1826 |
-
#: pro/includes/fields/field-languages.php:541
|
1827 |
-
#: pro/includes/fields/field-menu-locations.php:343
|
1828 |
-
#: pro/includes/fields/field-menus.php:358
|
1829 |
-
#: pro/includes/fields/field-options-pages.php:354
|
1830 |
-
#: pro/includes/fields/field-payment-cart.php:310
|
1831 |
-
#: pro/includes/fields/field-post-formats.php:354
|
1832 |
-
#: pro/includes/fields/field-templates.php:364
|
1833 |
-
msgid "Toggle"
|
1834 |
-
msgstr "Basculer"
|
1835 |
-
|
1836 |
-
#: includes/fields/field-forms.php:355
|
1837 |
-
#: includes/fields/field-post-statuses.php:330
|
1838 |
-
#: includes/fields/field-post-types.php:330
|
1839 |
-
#: includes/fields/field-taxonomies.php:330
|
1840 |
-
#: includes/fields/field-taxonomy-terms.php:729
|
1841 |
-
#: includes/fields/field-user-roles.php:315
|
1842 |
-
#: pro/includes/fields/field-block-types.php:356
|
1843 |
-
#: pro/includes/fields/field-countries.php:475
|
1844 |
-
#: pro/includes/fields/field-currencies.php:464
|
1845 |
-
#: pro/includes/fields/field-field-groups.php:360
|
1846 |
-
#: pro/includes/fields/field-field-types.php:362
|
1847 |
-
#: pro/includes/fields/field-fields.php:374
|
1848 |
-
#: pro/includes/fields/field-image-sizes.php:383
|
1849 |
-
#: pro/includes/fields/field-languages.php:542
|
1850 |
-
#: pro/includes/fields/field-menu-locations.php:344
|
1851 |
-
#: pro/includes/fields/field-menus.php:359
|
1852 |
-
#: pro/includes/fields/field-options-pages.php:355
|
1853 |
-
#: pro/includes/fields/field-payment-cart.php:311
|
1854 |
-
#: pro/includes/fields/field-post-formats.php:355
|
1855 |
-
#: pro/includes/fields/field-templates.php:365
|
1856 |
-
msgid "Prepend an extra checkbox to toggle all choices"
|
1857 |
-
msgstr "Ajouter une case supplémentaire pour sélectionner tous les choix"
|
1858 |
-
|
1859 |
-
#: includes/fields/field-forms.php:372
|
1860 |
-
#: includes/fields/field-post-statuses.php:347
|
1861 |
-
#: includes/fields/field-post-types.php:347 includes/fields/field-select.php:35
|
1862 |
-
#: includes/fields/field-taxonomies.php:347
|
1863 |
-
#: includes/fields/field-user-roles.php:332
|
1864 |
-
#: pro/includes/fields/field-block-types.php:373
|
1865 |
-
#: pro/includes/fields/field-countries.php:492
|
1866 |
-
#: pro/includes/fields/field-currencies.php:481
|
1867 |
-
#: pro/includes/fields/field-field-groups.php:377
|
1868 |
-
#: pro/includes/fields/field-field-types.php:379
|
1869 |
-
#: pro/includes/fields/field-fields.php:391
|
1870 |
-
#: pro/includes/fields/field-image-sizes.php:400
|
1871 |
-
#: pro/includes/fields/field-languages.php:559
|
1872 |
-
#: pro/includes/fields/field-menu-locations.php:361
|
1873 |
-
#: pro/includes/fields/field-menus.php:376
|
1874 |
-
#: pro/includes/fields/field-options-pages.php:372
|
1875 |
-
#: pro/includes/fields/field-post-formats.php:372
|
1876 |
-
#: pro/includes/fields/field-templates.php:382
|
1877 |
-
msgid "Allow Custom"
|
1878 |
-
msgstr "Autoriser les mots clés personnalisés"
|
1879 |
-
|
1880 |
-
#: includes/fields/field-forms.php:377
|
1881 |
-
#: includes/fields/field-post-statuses.php:352
|
1882 |
-
#: includes/fields/field-post-types.php:352 includes/fields/field-select.php:40
|
1883 |
-
#: includes/fields/field-taxonomies.php:352
|
1884 |
-
#: includes/fields/field-user-roles.php:337
|
1885 |
-
#: pro/includes/fields/field-block-types.php:378
|
1886 |
-
#: pro/includes/fields/field-countries.php:497
|
1887 |
-
#: pro/includes/fields/field-currencies.php:486
|
1888 |
-
#: pro/includes/fields/field-field-groups.php:382
|
1889 |
-
#: pro/includes/fields/field-field-types.php:384
|
1890 |
-
#: pro/includes/fields/field-fields.php:396
|
1891 |
-
#: pro/includes/fields/field-image-sizes.php:405
|
1892 |
-
#: pro/includes/fields/field-languages.php:564
|
1893 |
-
#: pro/includes/fields/field-menu-locations.php:366
|
1894 |
-
#: pro/includes/fields/field-menus.php:381
|
1895 |
-
#: pro/includes/fields/field-options-pages.php:377
|
1896 |
-
#: pro/includes/fields/field-post-formats.php:377
|
1897 |
-
#: pro/includes/fields/field-templates.php:387
|
1898 |
-
msgid "Allow 'custom' values to be added"
|
1899 |
-
msgstr "Autoriser l’ajout de valeurs « personnalisées »"
|
1900 |
-
|
1901 |
-
#: includes/fields/field-forms.php:392
|
1902 |
-
msgid "Save Custom"
|
1903 |
-
msgstr "Enregistrer l'ensemble personnalisé"
|
1904 |
-
|
1905 |
-
#: includes/fields/field-forms.php:397
|
1906 |
-
msgid "Save 'custom' values to the field's choices"
|
1907 |
-
msgstr "Enregistrez les valeurs «personnalisées» dans les choix du champ"
|
1908 |
-
|
1909 |
-
#: includes/fields/field-hidden.php:17
|
1910 |
-
msgid "Hidden"
|
1911 |
-
msgstr "Masqué"
|
1912 |
-
|
1913 |
-
#: includes/fields/field-hidden.php:67
|
1914 |
-
msgid "Default value in the hidden input"
|
1915 |
-
msgstr "Valeur par défaut dans l’entrée masquée"
|
1916 |
-
|
1917 |
-
#: includes/fields/field-image.php:109
|
1918 |
-
msgid "Featured thumbnail"
|
1919 |
-
msgstr "Miniature mise en avant"
|
1920 |
-
|
1921 |
-
#: includes/fields/field-image.php:112
|
1922 |
-
msgid "Make this image the featured thumbnail"
|
1923 |
-
msgstr "Faire de cette image l’image mise en avant"
|
1924 |
-
|
1925 |
-
#: includes/fields/field-post-object.php:38
|
1926 |
-
msgid "Allow & Save Custom value"
|
1927 |
-
msgstr "Autoriser &Enregistrer la valeur personnalisée"
|
1928 |
-
|
1929 |
-
#: includes/fields/field-post-object.php:43
|
1930 |
-
msgid "Save 'custom' values as new post"
|
1931 |
-
msgstr ""
|
1932 |
-
"Enregistrer les valeurs « personnalisées » en tant que nouvelle publication"
|
1933 |
-
|
1934 |
-
#: includes/fields/field-post-object.php:48
|
1935 |
-
msgid "New Post Arguments"
|
1936 |
-
msgstr "Nouveaux arguments post"
|
1937 |
-
|
1938 |
-
#: includes/fields/field-post-object.php:49
|
1939 |
-
msgid ""
|
1940 |
-
"See available hooks in the <a href=\"https://www.acf-extended.com/features/"
|
1941 |
-
"fields/post-object#custom-value-hooks\" target=\"_blank\">documentation</a>."
|
1942 |
-
msgstr ""
|
1943 |
-
"Voir les filtres disponibles dans la <a href=\"https://www.acf-extended.com/"
|
1944 |
-
"features/fields/button\" target=\"_blank\">documentation</a>."
|
1945 |
-
|
1946 |
-
#: includes/fields/field-post-statuses.php:17
|
1947 |
-
msgid "Post Statuses"
|
1948 |
-
msgstr "Statuts de l'article"
|
1949 |
-
|
1950 |
-
#: includes/fields/field-post-statuses.php:53
|
1951 |
-
msgid "Allow Post Status"
|
1952 |
-
msgstr "Autoriser le statut de publication"
|
1953 |
-
|
1954 |
-
#: includes/fields/field-post-statuses.php:61
|
1955 |
-
msgid "All post statuses"
|
1956 |
-
msgstr "Tous les statuts de publication"
|
1957 |
-
|
1958 |
-
#: includes/fields/field-post-statuses.php:93
|
1959 |
-
msgid "Post status object"
|
1960 |
-
msgstr "Objet d’état de publication"
|
1961 |
-
|
1962 |
-
#: includes/fields/field-post-statuses.php:94
|
1963 |
-
msgid "Post status name"
|
1964 |
-
msgstr "Nom du statut de publication"
|
1965 |
-
|
1966 |
-
#: includes/fields/field-post-types.php:17 includes/modules/block-types.php:28
|
1967 |
-
#: includes/modules/taxonomies.php:27
|
1968 |
-
msgid "Post Types"
|
1969 |
-
msgstr "Types d’article"
|
1970 |
-
|
1971 |
-
#: includes/fields/field-post-types.php:53
|
1972 |
-
msgid "Allow Post Type"
|
1973 |
-
msgstr "Autoriser le type de publication"
|
1974 |
-
|
1975 |
-
#: includes/fields/field-post-types.php:93
|
1976 |
-
msgid "Post type object"
|
1977 |
-
msgstr "Objet de type de publication"
|
1978 |
-
|
1979 |
-
#: includes/fields/field-post-types.php:94
|
1980 |
-
msgid "Post type name"
|
1981 |
-
msgstr "Nom du type d'article"
|
1982 |
-
|
1983 |
-
#: includes/fields/field-recaptcha.php:17
|
1984 |
-
msgid "Google reCaptcha"
|
1985 |
-
msgstr "Google reCaptcha"
|
1986 |
-
|
1987 |
-
#: includes/fields/field-recaptcha.php:43
|
1988 |
-
msgid "Version"
|
1989 |
-
msgstr "Version"
|
1990 |
-
|
1991 |
-
#: includes/fields/field-recaptcha.php:44
|
1992 |
-
msgid "Select the reCaptcha version"
|
1993 |
-
msgstr "Sélectionnez la version reCaptcha"
|
1994 |
-
|
1995 |
-
#: includes/fields/field-recaptcha.php:48
|
1996 |
-
msgid "reCaptcha V2"
|
1997 |
-
msgstr "reCaptcha V2"
|
1998 |
-
|
1999 |
-
#: includes/fields/field-recaptcha.php:49
|
2000 |
-
msgid "reCaptcha V3"
|
2001 |
-
msgstr "reCaptcha V3"
|
2002 |
-
|
2003 |
-
#: includes/fields/field-recaptcha.php:55
|
2004 |
-
msgid "Theme"
|
2005 |
-
msgstr "Thème"
|
2006 |
-
|
2007 |
-
#: includes/fields/field-recaptcha.php:56
|
2008 |
-
msgid "Select the reCaptcha theme"
|
2009 |
-
msgstr "Sélectionnez le thème reCaptcha"
|
2010 |
-
|
2011 |
-
#: includes/fields/field-recaptcha.php:60
|
2012 |
-
msgid "Light"
|
2013 |
-
msgstr "Clair"
|
2014 |
-
|
2015 |
-
#: includes/fields/field-recaptcha.php:61
|
2016 |
-
msgid "Dark"
|
2017 |
-
msgstr "Sombre"
|
2018 |
-
|
2019 |
-
#: includes/fields/field-recaptcha.php:76
|
2020 |
-
#: pro/includes/fields/field-image-sizes.php:134
|
2021 |
-
msgid "Size"
|
2022 |
-
msgstr "Taille"
|
2023 |
-
|
2024 |
-
#: includes/fields/field-recaptcha.php:77
|
2025 |
-
msgid "Select the reCaptcha size"
|
2026 |
-
msgstr "Sélectionnez la taille reCaptcha"
|
2027 |
-
|
2028 |
-
#: includes/fields/field-recaptcha.php:81
|
2029 |
-
msgid "Normal"
|
2030 |
-
msgstr "Normal"
|
2031 |
-
|
2032 |
-
#: includes/fields/field-recaptcha.php:82
|
2033 |
-
msgid "Compact"
|
2034 |
-
msgstr "Compact"
|
2035 |
-
|
2036 |
-
#: includes/fields/field-recaptcha.php:97
|
2037 |
-
msgid "Hide logo"
|
2038 |
-
msgstr "Masquer le logo"
|
2039 |
-
|
2040 |
-
#: includes/fields/field-recaptcha.php:98
|
2041 |
-
msgid "Hide the reCaptcha logo"
|
2042 |
-
msgstr "Masquer le logo reCaptcha"
|
2043 |
-
|
2044 |
-
#: includes/fields/field-recaptcha.php:115
|
2045 |
-
msgid "Site key"
|
2046 |
-
msgstr "Clé de site"
|
2047 |
-
|
2048 |
-
#: includes/fields/field-recaptcha.php:116
|
2049 |
-
msgid ""
|
2050 |
-
"Enter the site key. <a href=\"https://www.google.com/recaptcha/admin\" "
|
2051 |
-
"target=\"_blank\">reCaptcha API Admin</a>"
|
2052 |
-
msgstr ""
|
2053 |
-
"Entrez la clé de site. <a href=\"https://www.google.com/recaptcha/admin\" "
|
2054 |
-
"target=\"_blank\">Administration de l’API reCaptcha</a>"
|
2055 |
-
|
2056 |
-
#: includes/fields/field-recaptcha.php:123
|
2057 |
-
#: pro/includes/fields/field-payment.php:229
|
2058 |
-
#: pro/includes/fields/field-payment.php:248
|
2059 |
-
msgid "Secret key"
|
2060 |
-
msgstr "Clé secrète"
|
2061 |
-
|
2062 |
-
#: includes/fields/field-recaptcha.php:124
|
2063 |
-
msgid ""
|
2064 |
-
"Enter the secret key. <a href=\"https://www.google.com/recaptcha/admin\" "
|
2065 |
-
"target=\"_blank\">reCaptcha API Admin</a>"
|
2066 |
-
msgstr ""
|
2067 |
-
"Entrez la clé secrète. <a href=\"https://www.google.com/recaptcha/admin\" "
|
2068 |
-
"target=\"_blank\">Administration de l’API reCaptcha</a>"
|
2069 |
-
|
2070 |
-
#: includes/fields/field-recaptcha.php:273
|
2071 |
-
#: includes/fields/field-recaptcha.php:281
|
2072 |
-
#: pro/includes/fields/field-payment.php:635
|
2073 |
-
#: pro/includes/fields/field-payment.php:749
|
2074 |
-
#: pro/includes/fields/field-payment.php:884
|
2075 |
-
#: pro/includes/fields/field-payment.php:913
|
2076 |
-
#: pro/includes/fields/field-payment.php:961
|
2077 |
-
#: pro/includes/fields/field-payment.php:1075
|
2078 |
-
msgid "An error has occured"
|
2079 |
-
msgstr "Une erreur s’est produite"
|
2080 |
-
|
2081 |
-
#: includes/fields/field-repeater.php:40
|
2082 |
-
msgid "Better row button integration"
|
2083 |
-
msgstr "Meilleure intégration des boutons de ligne"
|
2084 |
-
|
2085 |
-
#: includes/fields/field-slug.php:17
|
2086 |
-
msgid "Slug"
|
2087 |
-
msgstr "Identifiant"
|
2088 |
-
|
2089 |
-
#: includes/fields/field-slug.php:47
|
2090 |
-
msgid "Placeholder Text"
|
2091 |
-
msgstr "Texte d'espace réservé"
|
2092 |
-
|
2093 |
-
#: includes/fields/field-slug.php:55 pro/includes/fields/field-select.php:34
|
2094 |
-
msgid "Prepend"
|
2095 |
-
msgstr "Ajouter avant"
|
2096 |
-
|
2097 |
-
#: includes/fields/field-slug.php:56 pro/includes/fields/field-select.php:35
|
2098 |
-
msgid "Appears before the input"
|
2099 |
-
msgstr "Apparaît avant l’entrée"
|
2100 |
-
|
2101 |
-
#: includes/fields/field-slug.php:63 pro/includes/fields/field-select.php:43
|
2102 |
-
msgid "Append"
|
2103 |
-
msgstr "Ajouter"
|
2104 |
-
|
2105 |
-
#: includes/fields/field-slug.php:64 pro/includes/fields/field-select.php:44
|
2106 |
-
msgid "Appears after the input"
|
2107 |
-
msgstr "Apparaît après l’entrée"
|
2108 |
-
|
2109 |
-
#: includes/fields/field-slug.php:113
|
2110 |
-
#, php-format
|
2111 |
-
msgid "Value must not exceed %d characters"
|
2112 |
-
msgstr "La valeur ne doit pas dépasser %d caractères"
|
2113 |
-
|
2114 |
-
#: includes/fields/field-taxonomies.php:17 includes/modules/post-types.php:27
|
2115 |
-
msgid "Taxonomies"
|
2116 |
-
msgstr "Taxonomies"
|
2117 |
-
|
2118 |
-
#: includes/fields/field-taxonomies.php:53
|
2119 |
-
#: includes/fields/field-taxonomy-terms.php:357
|
2120 |
-
msgid "Allow Taxonomy"
|
2121 |
-
msgstr "Autoriser la taxonomie"
|
2122 |
-
|
2123 |
-
#: includes/fields/field-taxonomies.php:93
|
2124 |
-
msgid "Taxonomy object"
|
2125 |
-
msgstr "Objet taxonomie"
|
2126 |
-
|
2127 |
-
#: includes/fields/field-taxonomies.php:94
|
2128 |
-
msgid "Taxonomy name"
|
2129 |
-
msgstr "Nom de la taxonomie"
|
2130 |
-
|
2131 |
-
#: includes/fields/field-taxonomy-terms.php:20
|
2132 |
-
msgid "Taxonomy Terms"
|
2133 |
-
msgstr "Termes de taxonomie"
|
2134 |
-
|
2135 |
-
#: includes/fields/field-taxonomy-terms.php:456
|
2136 |
-
msgid "Allow Terms"
|
2137 |
-
msgstr "Autoriser les conditions"
|
2138 |
-
|
2139 |
-
#: includes/fields/field-taxonomy-terms.php:465
|
2140 |
-
msgid "All terms"
|
2141 |
-
msgstr "Tous les termes"
|
2142 |
-
|
2143 |
-
#: includes/fields/field-taxonomy-terms.php:471
|
2144 |
-
msgid "Terms_level"
|
2145 |
-
msgstr "Terms_level"
|
2146 |
-
|
2147 |
-
#: includes/fields/field-taxonomy-terms.php:477
|
2148 |
-
#: includes/locations/post-type-all.php:26
|
2149 |
-
#: includes/locations/post-type-archive.php:283
|
2150 |
-
#: includes/locations/post-type-list.php:237
|
2151 |
-
#: includes/locations/taxonomy-list.php:223
|
2152 |
-
#: pro/includes/locations/post-author-role.php:24
|
2153 |
-
#: pro/includes/locations/settings.php:87
|
2154 |
-
#: pro/includes/modules/scripts-list.php:151
|
2155 |
-
msgid "All"
|
2156 |
-
msgstr "Tout"
|
2157 |
-
|
2158 |
-
#: includes/fields/field-taxonomy-terms.php:511
|
2159 |
-
msgid "Term object"
|
2160 |
-
msgstr "Objet de terme"
|
2161 |
-
|
2162 |
-
#: includes/fields/field-taxonomy-terms.php:512
|
2163 |
-
msgid "Term name"
|
2164 |
-
msgstr "Nom du terme"
|
2165 |
-
|
2166 |
-
#: includes/fields/field-taxonomy-terms.php:513
|
2167 |
-
msgid "Term ID"
|
2168 |
-
msgstr "ID terme"
|
2169 |
-
|
2170 |
-
#: includes/fields/field-taxonomy-terms.php:746
|
2171 |
-
msgid "Save Terms"
|
2172 |
-
msgstr "Enregistrer Conditions"
|
2173 |
-
|
2174 |
-
#: includes/fields/field-taxonomy-terms.php:747
|
2175 |
-
msgid "Connect selected terms to the post"
|
2176 |
-
msgstr "Connecter les termes sélectionnés au post"
|
2177 |
-
|
2178 |
-
#: includes/fields/field-taxonomy-terms.php:755
|
2179 |
-
msgid "Load Terms"
|
2180 |
-
msgstr "Charger Conditions"
|
2181 |
-
|
2182 |
-
#: includes/fields/field-taxonomy-terms.php:756
|
2183 |
-
msgid "Load value from posts terms"
|
2184 |
-
msgstr "Valeur de chargement de messages termes"
|
2185 |
-
|
2186 |
-
#: includes/fields/field-textarea.php:62
|
2187 |
-
msgid "Code mode"
|
2188 |
-
msgstr "Mode code"
|
2189 |
-
|
2190 |
-
#: includes/fields/field-textarea.php:65
|
2191 |
-
msgid ""
|
2192 |
-
"Switch font family to monospace and allow tab indent. For a more advanced "
|
2193 |
-
"code editor, please use the <code>Code Editor</code> field type"
|
2194 |
-
msgstr ""
|
2195 |
-
"Basculez la famille de polices vers le monospace et autorisez le retrait de "
|
2196 |
-
"tabulation. Pour un éditeur de code plus avancé, veuillez utiliser le type "
|
2197 |
-
"de <code>Code Editor</code> champ"
|
2198 |
-
|
2199 |
-
#: includes/fields/field-user-roles.php:17
|
2200 |
-
msgid "User Roles"
|
2201 |
-
msgstr "Rôles de l’utilisateur"
|
2202 |
-
|
2203 |
-
#: includes/fields/field-user-roles.php:51
|
2204 |
-
msgid "Allow User Role"
|
2205 |
-
msgstr "Autoriser le rôle d’utilisateur"
|
2206 |
-
|
2207 |
-
#: includes/fields/field-user-roles.php:59
|
2208 |
-
msgid "All user roles"
|
2209 |
-
msgstr "Afficher tous les rôles utilisateur"
|
2210 |
-
|
2211 |
-
#: includes/init.php:171
|
2212 |
-
msgid ""
|
2213 |
-
"ACF Extended requires <a href=\"https://www.advancedcustomfields.com/pro/\" "
|
2214 |
-
"target=\"_blank\">Advanced Custom Fields PRO</a> (minimum: 5.8)."
|
2215 |
-
msgstr ""
|
2216 |
-
"ACF Extended nécessite <a href=\"https://www.advancedcustomfields.com/pro/\" "
|
2217 |
-
"target=\"_blank\">Advanced Custom Fields PRO</a> (minimum : 5.8)."
|
2218 |
-
|
2219 |
-
#: includes/locations/post-type-archive.php:46
|
2220 |
-
#, php-format
|
2221 |
-
msgid "Archive <span class=\"count\">(%s)</span>"
|
2222 |
-
msgstr "Archive <span class=\"count\">(%s)</span>"
|
2223 |
-
|
2224 |
-
#: includes/locations/post-type-archive.php:148
|
2225 |
-
msgid "Permalink:"
|
2226 |
-
msgstr "Permalien:"
|
2227 |
-
|
2228 |
-
#: includes/locations/post-type-archive.php:202
|
2229 |
-
msgid "Archive"
|
2230 |
-
msgstr "Archive"
|
2231 |
-
|
2232 |
-
#: includes/locations/post-type-archive.php:255
|
2233 |
-
msgid "Post Type Archive"
|
2234 |
-
msgstr "Archives de type de contenu"
|
2235 |
-
|
2236 |
-
#: includes/locations/post-type-list.php:199
|
2237 |
-
#: includes/locations/taxonomy-list.php:199 includes/modules/options.php:511
|
2238 |
-
#: pro/includes/admin/settings.php:320
|
2239 |
-
#: pro/includes/locations/attachment-list.php:191
|
2240 |
-
#: pro/includes/locations/user-list.php:189 pro/includes/modules/dev.php:673
|
2241 |
-
msgid "Update"
|
2242 |
-
msgstr "Mettre à jour"
|
2243 |
-
|
2244 |
-
#: includes/locations/post-type-list.php:215
|
2245 |
-
msgid "Post Type List"
|
2246 |
-
msgstr "Liste de Type d’article"
|
2247 |
-
|
2248 |
-
#: includes/locations/taxonomy-list.php:215
|
2249 |
-
msgid "Taxonomy List"
|
2250 |
-
msgstr "Liste de sites web"
|
2251 |
-
|
2252 |
-
#: includes/modules/author.php:66 pro/includes/fields/field-post-field.php:41
|
2253 |
-
msgid "Author"
|
2254 |
-
msgstr "Auteur"
|
2255 |
-
|
2256 |
-
#: includes/modules/block-types.php:26 includes/modules/forms.php:27
|
2257 |
-
#: includes/modules/options.class.php:221 includes/modules/options.php:332
|
2258 |
-
#: includes/modules/post-types.php:26 includes/modules/taxonomies.php:26
|
2259 |
-
#: pro/includes/fields/field-post-field.php:48
|
2260 |
-
msgid "Name"
|
2261 |
-
msgstr "Nom"
|
2262 |
-
|
2263 |
-
#: includes/modules/block-types.php:1045
|
2264 |
-
msgid "Dynamic Block Type"
|
2265 |
-
msgstr "Type de bloc dynamique"
|
2266 |
-
|
2267 |
-
#: includes/modules/dev.php:128
|
2268 |
-
#: pro/includes/modules/scripts/script-orphan-meta-cleaner.php:294
|
2269 |
-
msgid "No orphan meta found"
|
2270 |
-
msgstr "Aucune donnée meta orpheline trouvée"
|
2271 |
-
|
2272 |
-
#: includes/modules/dev.php:132
|
2273 |
-
msgid "Deleted meta"
|
2274 |
-
msgstr "Meta supprimées"
|
2275 |
-
|
2276 |
-
#: includes/modules/dev.php:132 includes/modules/options-pages.php:320
|
2277 |
-
#: includes/modules/post-types.php:177 includes/modules/taxonomies.php:264
|
2278 |
-
#: pro/includes/fields/field-payment.php:472 pro/includes/modules/dev.php:88
|
2279 |
-
#: pro/includes/modules/dev.php:178 pro/includes/modules/dev.php:245
|
2280 |
-
#: pro/includes/modules/dev.php:345 pro/includes/modules/dev.php:401
|
2281 |
-
#: pro/includes/modules/dev.php:457 pro/includes/modules/dev.php:511
|
2282 |
-
#: pro/includes/modules/scripts-list.php:198
|
2283 |
-
msgid "View"
|
2284 |
-
msgstr "Voir"
|
2285 |
-
|
2286 |
-
#: includes/modules/dev.php:334
|
2287 |
-
msgid "Clean orphan meta"
|
2288 |
-
msgstr "Nettoyer les meta orphelines"
|
2289 |
-
|
2290 |
-
#: includes/modules/dev.php:485 includes/modules/dev.php:528
|
2291 |
-
#: includes/modules/options.class.php:204
|
2292 |
-
#: includes/modules/options.class.php:256 includes/modules/options.php:503
|
2293 |
-
msgid "Delete"
|
2294 |
-
msgstr "Supprimer"
|
2295 |
-
|
2296 |
-
#: includes/modules/dev.php:519
|
2297 |
-
msgid "Select bulk action"
|
2298 |
-
msgstr "Sélectionnez l’action groupée"
|
2299 |
-
|
2300 |
-
#: includes/modules/dev.php:527
|
2301 |
-
msgid "Bulk Actions"
|
2302 |
-
msgstr "Actions groupées"
|
2303 |
-
|
2304 |
-
#: includes/modules/dev.php:531
|
2305 |
-
msgid "Apply"
|
2306 |
-
msgstr "Appliquer"
|
2307 |
-
|
2308 |
-
#: includes/modules/dev.php:557
|
2309 |
-
msgid "empty"
|
2310 |
-
msgstr "vide"
|
2311 |
-
|
2312 |
-
#: includes/modules/forms-action-custom.php:83
|
2313 |
-
#: includes/modules/forms-action-email.php:311
|
2314 |
-
#: includes/modules/forms-action-post.php:869
|
2315 |
-
#: includes/modules/forms-action-redirect.php:88
|
2316 |
-
#: includes/modules/forms-action-term.php:475
|
2317 |
-
#: includes/modules/forms-action-user.php:1027 includes/modules/forms.php:177
|
2318 |
-
#: pro/includes/modules/forms-action-option.php:217
|
2319 |
-
msgid "Documentation"
|
2320 |
-
msgstr "Documentation"
|
2321 |
-
|
2322 |
-
#: includes/modules/forms-action-custom.php:113
|
2323 |
-
msgid "Set a unique action slug."
|
2324 |
-
msgstr "Définissez un identifiant d’action unique."
|
2325 |
-
|
2326 |
-
#: includes/modules/forms-action-email.php:341
|
2327 |
-
#: includes/modules/forms-action-redirect.php:118
|
2328 |
-
msgid "(Optional) Target this action using hooks."
|
2329 |
-
msgstr "(Facultatif) Ciblez cette action à l’aide de hooks."
|
2330 |
-
|
2331 |
-
#: includes/modules/forms-action-user.php:272
|
2332 |
-
msgid "An error has occured. Please try again"
|
2333 |
-
msgstr "Une erreur est survenue. Veuillez réessayer"
|
2334 |
-
|
2335 |
-
#: includes/modules/forms-action-user.php:273
|
2336 |
-
msgid "Invalid e-mail"
|
2337 |
-
msgstr "E-mail invalide"
|
2338 |
-
|
2339 |
-
#: includes/modules/forms-action-user.php:274
|
2340 |
-
msgid "Invalid e-mail or password"
|
2341 |
-
msgstr "E-mail ou mot de passe invalide"
|
2342 |
-
|
2343 |
-
#: includes/modules/forms-action-user.php:275
|
2344 |
-
msgid "Invalid username"
|
2345 |
-
msgstr "Nom d'utilisateur invalide"
|
2346 |
-
|
2347 |
-
#: includes/modules/forms-action-user.php:276
|
2348 |
-
msgid "Invalid username or password"
|
2349 |
-
msgstr "Nom d'utilisateur ou mot de passe invalide"
|
2350 |
-
|
2351 |
-
#: includes/modules/forms-action-user.php:277
|
2352 |
-
msgid "E-mail address is already used"
|
2353 |
-
msgstr "L'adresse e-mail est déjà utilisée"
|
2354 |
-
|
2355 |
-
#: includes/modules/forms-action-user.php:278
|
2356 |
-
msgid "Username is already used"
|
2357 |
-
msgstr "Le nom d'utilisateur est déjà utilisé"
|
2358 |
-
|
2359 |
-
#: includes/modules/forms-action-user.php:279
|
2360 |
-
#: includes/modules/forms-action-user.php:728
|
2361 |
-
msgid "Username may not be longer than 60 characters."
|
2362 |
-
msgstr "Nom d'utilisateur ne peut pas excéder 60 caractères."
|
2363 |
-
|
2364 |
-
#: includes/modules/forms-action-user.php:724
|
2365 |
-
msgid "Cannot create a user with an empty login name."
|
2366 |
-
msgstr "Impossible de créer un utilisateur avec un identifiant vide."
|
2367 |
-
|
2368 |
-
#: includes/modules/forms-action-user.php:734
|
2369 |
-
msgid "Sorry, that username already exists!"
|
2370 |
-
msgstr "Désolé, cet identifiant existe déjà !"
|
2371 |
-
|
2372 |
-
#: includes/modules/forms-action-user.php:742
|
2373 |
-
msgid "Nicename may not be longer than 50 characters."
|
2374 |
-
msgstr "Un pseudo ne devrait pas dépasser les 50 caractères."
|
2375 |
-
|
2376 |
-
#: includes/modules/forms-front.php:19
|
2377 |
-
msgid "Validate Email"
|
2378 |
-
msgstr "Valider l’adresse e-mail"
|
2379 |
-
|
2380 |
-
#: includes/modules/forms-front.php:63 includes/modules/forms-shortcode.php:81
|
2381 |
-
#: includes/modules/forms.php:107
|
2382 |
-
msgid "Form"
|
2383 |
-
msgstr "Formulaire"
|
2384 |
-
|
2385 |
-
#: includes/modules/forms-front.php:109
|
2386 |
-
msgid "Spam Detected"
|
2387 |
-
msgstr "Spam détecté"
|
2388 |
-
|
2389 |
-
#: includes/modules/forms.php:28 pro/includes/modules/templates.php:25
|
2390 |
-
msgid "Field groups"
|
2391 |
-
msgstr "Groupes de champs"
|
2392 |
-
|
2393 |
-
#: includes/modules/forms.php:29
|
2394 |
-
msgid "Actions"
|
2395 |
-
msgstr "Actions"
|
2396 |
-
|
2397 |
-
#: includes/modules/forms.php:30
|
2398 |
-
msgid "Shortcode"
|
2399 |
-
msgstr "Shortcode"
|
2400 |
-
|
2401 |
-
#: includes/modules/forms.php:184
|
2402 |
-
msgid "Cheatsheet"
|
2403 |
-
msgstr "Aide-mémoire"
|
2404 |
-
|
2405 |
-
#: includes/modules/forms.php:185
|
2406 |
-
msgid "Hooks"
|
2407 |
-
msgstr "Hooks"
|
2408 |
-
|
2409 |
-
#: includes/modules/forms.php:186
|
2410 |
-
msgid "Helpers"
|
2411 |
-
msgstr "Aides"
|
2412 |
-
|
2413 |
-
#: includes/modules/forms.php:196
|
2414 |
-
msgid "Shortcodes"
|
2415 |
-
msgstr "Shortcodes"
|
2416 |
-
|
2417 |
-
#: includes/modules/forms.php:211
|
2418 |
-
msgid "PHP code"
|
2419 |
-
msgstr "Code PHP"
|
2420 |
-
|
2421 |
-
#: includes/modules/forms.php:1542
|
2422 |
-
msgid "Post updated"
|
2423 |
-
msgstr "Article mis à jour"
|
2424 |
-
|
2425 |
-
#: includes/modules/forms.php:1853
|
2426 |
-
msgid "Input is invalid: Must be a json string or an array."
|
2427 |
-
msgstr "L’entrée n’est pas valide : doit être une chaîne json ou un tableau."
|
2428 |
-
|
2429 |
-
#: includes/modules/module.php:100
|
2430 |
-
#, php-format
|
2431 |
-
msgid "Active <span class=\"count\">(%s)</span>"
|
2432 |
-
msgid_plural "Active <span class=\"count\">(%s)</span>"
|
2433 |
-
msgstr[0] "Actif <span class=\"count\">(%s)</span>"
|
2434 |
-
msgstr[1] "Actif <span class=\"count\">(%s)</span>"
|
2435 |
-
|
2436 |
-
#: includes/modules/module.php:192
|
2437 |
-
msgid "Export "
|
2438 |
-
msgstr "Exporter "
|
2439 |
-
|
2440 |
-
#: includes/modules/module.php:256
|
2441 |
-
msgid "Active"
|
2442 |
-
msgstr "Actif"
|
2443 |
-
|
2444 |
-
#: includes/modules/module.php:256
|
2445 |
-
msgid "Inactive"
|
2446 |
-
msgstr "Inactif"
|
2447 |
-
|
2448 |
-
#: includes/modules/options-pages.php:26
|
2449 |
-
msgid "Menu slug"
|
2450 |
-
msgstr "Slug de menu"
|
2451 |
-
|
2452 |
-
#: includes/modules/options-pages.php:27
|
2453 |
-
msgid "Post ID"
|
2454 |
-
msgstr "ID de l'article"
|
2455 |
-
|
2456 |
-
#: includes/modules/options-pages.php:28 includes/modules/options.class.php:223
|
2457 |
-
#: includes/modules/options.php:454
|
2458 |
-
msgid "Autoload"
|
2459 |
-
msgstr "Chargement automatique"
|
2460 |
-
|
2461 |
-
#: includes/modules/options-pages.php:29
|
2462 |
-
msgid "Position"
|
2463 |
-
msgstr "Position"
|
2464 |
-
|
2465 |
-
#: includes/modules/options-pages.php:417
|
2466 |
-
msgid "This options page slug already exists"
|
2467 |
-
msgstr "Ce slug de page d’options existe déjà"
|
2468 |
-
|
2469 |
-
#: includes/modules/options-pages.php:968
|
2470 |
-
msgid "Options Page"
|
2471 |
-
msgstr "Options de la Page"
|
2472 |
-
|
2473 |
-
#: includes/modules/options.class.php:21
|
2474 |
-
msgid "Option"
|
2475 |
-
msgstr "Option"
|
2476 |
-
|
2477 |
-
#: includes/modules/options.class.php:106
|
2478 |
-
msgid "No options avaliable."
|
2479 |
-
msgstr "Aucune option disponible."
|
2480 |
-
|
2481 |
-
#: includes/modules/options.class.php:220 pro/includes/modules/dev.php:79
|
2482 |
-
#: pro/includes/modules/dev.php:169 pro/includes/modules/dev.php:236
|
2483 |
-
#: pro/includes/modules/dev.php:295 pro/includes/modules/dev.php:340
|
2484 |
-
#: pro/includes/modules/dev.php:396 pro/includes/modules/dev.php:452
|
2485 |
-
#: pro/includes/modules/dev.php:506 pro/includes/modules/dev.php:559
|
2486 |
-
msgid "ID"
|
2487 |
-
msgstr "ID"
|
2488 |
-
|
2489 |
-
#: includes/modules/options.php:65
|
2490 |
-
msgid "Option has been deleted"
|
2491 |
-
msgstr "L’option a été supprimée"
|
2492 |
-
|
2493 |
-
#: includes/modules/options.php:69
|
2494 |
-
msgid "Options have been deleted"
|
2495 |
-
msgstr "Les options on été supprimées"
|
2496 |
-
|
2497 |
-
#: includes/modules/options.php:73
|
2498 |
-
msgid "Option has been updated"
|
2499 |
-
msgstr "L’option a été mise à jour"
|
2500 |
-
|
2501 |
-
#: includes/modules/options.php:77
|
2502 |
-
msgid "Option has been added"
|
2503 |
-
msgstr "L’option a été ajoutée"
|
2504 |
-
|
2505 |
-
#: includes/modules/options.php:534
|
2506 |
-
msgid "Edit field group"
|
2507 |
-
msgstr "Modifier groupe de champs"
|
2508 |
-
|
2509 |
-
#: includes/modules/post-types.php:28
|
2510 |
-
msgid "Posts"
|
2511 |
-
msgstr "Articles"
|
2512 |
-
|
2513 |
-
#: includes/modules/post-types.php:448
|
2514 |
-
msgid "This post type name is reserved"
|
2515 |
-
msgstr "Ce nom de type de publication est réservé"
|
2516 |
-
|
2517 |
-
#: includes/modules/post-types.php:472
|
2518 |
-
msgid "This post type name already exists"
|
2519 |
-
msgstr "Ce nom de type de publication existe déjà"
|
2520 |
-
|
2521 |
-
#: includes/modules/post-types.php:1091
|
2522 |
-
msgid "Dynamic Post Type"
|
2523 |
-
msgstr "Type de contenu dynamique"
|
2524 |
-
|
2525 |
-
#: includes/modules/single-meta.php:358
|
2526 |
-
msgid "Save as individual meta"
|
2527 |
-
msgstr "Enregistrer en tant que méta individuelle"
|
2528 |
-
|
2529 |
-
#: includes/modules/single-meta.php:361
|
2530 |
-
msgid "Save the field as an individual meta."
|
2531 |
-
msgstr "Enregistrez le champ en tant que méta individuel."
|
2532 |
-
|
2533 |
-
#: includes/modules/taxonomies.php:28
|
2534 |
-
msgid "Terms"
|
2535 |
-
msgstr "Termes"
|
2536 |
-
|
2537 |
-
#: includes/modules/taxonomies.php:522
|
2538 |
-
msgid "This taxonomy name is reserved"
|
2539 |
-
msgstr "Ce nom de taxonomie est réservé"
|
2540 |
-
|
2541 |
-
#: includes/modules/taxonomies.php:546
|
2542 |
-
msgid "This taxonomy name already exists"
|
2543 |
-
msgstr "Ce nom de taxonomie existe déjà"
|
2544 |
-
|
2545 |
-
#: includes/modules/taxonomies.php:1140
|
2546 |
-
msgid "Dynamic Taxonomy"
|
2547 |
-
msgstr "Taxonomie dynamique"
|
2548 |
-
|
2549 |
-
#: includes/modules/ui-attachment.php:108
|
2550 |
-
msgid "Edit Media"
|
2551 |
-
msgstr "Editer le Media"
|
2552 |
-
|
2553 |
-
#: pro/assets/js/acfe-pro-field-group.js:31
|
2554 |
-
#: pro/includes/field-groups/field-group-ui.php:45
|
2555 |
-
msgid "Shift+click: Alternative mode"
|
2556 |
-
msgstr "Shift+click: Mode alternatif"
|
2557 |
-
|
2558 |
-
#: pro/assets/js/acfe-pro-field-group.js:72
|
2559 |
-
#: pro/includes/field-groups/field-group-ui.php:42
|
2560 |
-
msgid "Enter a Field Type"
|
2561 |
-
msgstr "Entrez un Type de Champ"
|
2562 |
-
|
2563 |
-
#: pro/assets/js/acfe-pro-field-group.js:91
|
2564 |
-
#: pro/includes/field-groups/field-group-ui.php:43
|
2565 |
-
msgid "Enter the Field Label"
|
2566 |
-
msgstr "Entrez le Nom de Champ"
|
2567 |
-
|
2568 |
-
#: pro/assets/js/acfe-pro-field-group.js:91
|
2569 |
-
msgid "Hint: Shift+click to bypass this prompt"
|
2570 |
-
msgstr "Astuce: Shift+click pour passer"
|
2571 |
-
|
2572 |
-
#: pro/assets/js/acfe-pro-field-group.js:235
|
2573 |
-
#: pro/includes/fields/field-flexible-content-locations.php:312
|
2574 |
-
msgid "or"
|
2575 |
-
msgstr "ou"
|
2576 |
-
|
2577 |
-
#: pro/assets/js/acfe-pro-field-group.js:306
|
2578 |
-
msgid "(this field)"
|
2579 |
-
msgstr "(ce champ)"
|
2580 |
-
|
2581 |
-
#: pro/assets/js/acfe-pro-field-group.js:337
|
2582 |
-
msgid "No toggle fields available"
|
2583 |
-
msgstr "Aucun champ de basculement disponible"
|
2584 |
-
|
2585 |
-
#: pro/assets/js/acfe-pro-input.js:672 pro/includes/modules/scripts.php:278
|
2586 |
-
msgid "Clear"
|
2587 |
-
msgstr "Effacer"
|
2588 |
-
|
2589 |
-
#: pro/assets/js/acfe-pro-input.js:1037
|
2590 |
-
msgid "Maximum items reached ({max} items)"
|
2591 |
-
msgstr "Nombre maximal d’objets atteints ({max} éléments)"
|
2592 |
-
|
2593 |
-
#: pro/assets/js/acfe-pro-input.js:1152
|
2594 |
-
msgid "Edit File"
|
2595 |
-
msgstr "Modifier le fichier"
|
2596 |
-
|
2597 |
-
#: pro/assets/js/acfe-pro-input.js:1153
|
2598 |
-
msgid "Update File"
|
2599 |
-
msgstr "Mettre à jour le fichier"
|
2600 |
-
|
2601 |
-
#: pro/assets/js/acfe-pro-input.js:1609
|
2602 |
-
msgid "This field has a limit of {max} {label} {identifier}"
|
2603 |
-
msgstr "Ce champ a une limite de {Max} {label} {identificateur}"
|
2604 |
-
|
2605 |
-
#: pro/assets/js/acfe-pro-input.js:1610
|
2606 |
-
#: pro/includes/fields/field-flexible-content-locations.php:181
|
2607 |
-
msgid "layout"
|
2608 |
-
msgid_plural "layouts"
|
2609 |
-
msgstr[0] "disposition"
|
2610 |
-
msgstr[1] "mises en page"
|
2611 |
-
|
2612 |
-
#: pro/assets/js/acfe-pro-input.js:3703
|
2613 |
-
msgid "OK"
|
2614 |
-
msgstr "OK"
|
2615 |
-
|
2616 |
-
#: pro/assets/js/acfe-pro-input.js:3703
|
2617 |
-
msgid "Cancel"
|
2618 |
-
msgstr "Annuler"
|
2619 |
-
|
2620 |
-
#: pro/includes/admin/tools/rewrite-rules-export.php:15
|
2621 |
-
#: pro/includes/admin/tools/rewrite-rules-export.php:42
|
2622 |
-
#: pro/includes/admin/tools/rewrite-rules-export.php:48
|
2623 |
-
msgid "Export Rewrite Rules"
|
2624 |
-
msgstr "Exporter les règles de réécriture"
|
2625 |
-
|
2626 |
-
#: pro/includes/admin/tools/rewrite-rules-export.php:177
|
2627 |
-
msgid "Rewrite rules exported."
|
2628 |
-
msgstr "Réécrire les règles exportées."
|
2629 |
-
|
2630 |
-
#: pro/includes/admin/tools/settings-export.php:15
|
2631 |
-
msgid "Export Settings"
|
2632 |
-
msgstr "Exporter les paramètres"
|
2633 |
-
|
2634 |
-
#: pro/includes/admin/tools/settings-export.php:42
|
2635 |
-
#: pro/includes/admin/tools/settings-export.php:48
|
2636 |
-
msgid "Export ACF Settings"
|
2637 |
-
msgstr "Exporter les paramètres ACF"
|
2638 |
-
|
2639 |
-
#: pro/includes/admin/tools/settings-export.php:203
|
2640 |
-
msgid "Settings exported."
|
2641 |
-
msgstr "Paramètres exportés."
|
2642 |
-
|
2643 |
-
#: pro/includes/admin/tools/settings-import.php:15
|
2644 |
-
msgid "Import Settings"
|
2645 |
-
msgstr "Importer les paramètres"
|
2646 |
-
|
2647 |
-
#: pro/includes/admin/tools/settings-import.php:26
|
2648 |
-
#: pro/includes/admin/tools/settings-import.php:32
|
2649 |
-
msgid "Import ACF Settings"
|
2650 |
-
msgstr "Importer les paramètres ACF"
|
2651 |
-
|
2652 |
-
#: pro/includes/admin/tools/settings-import.php:79
|
2653 |
-
msgid "Settings imported."
|
2654 |
-
msgstr "Paramètres importés."
|
2655 |
-
|
2656 |
-
#: pro/includes/admin/tools/templates-export.php:19
|
2657 |
-
#: pro/includes/admin/tools/templates-export.php:20
|
2658 |
-
msgid "Export Templates"
|
2659 |
-
msgstr "Exporter des modèles"
|
2660 |
-
|
2661 |
-
#: pro/includes/admin/tools/templates-export.php:21
|
2662 |
-
msgid "Select Templates"
|
2663 |
-
msgstr "Sélectionner les modèles"
|
2664 |
-
|
2665 |
-
#: pro/includes/admin/tools/templates-export.php:28
|
2666 |
-
msgid "No template available."
|
2667 |
-
msgstr "Aucun modèle disponible."
|
2668 |
-
|
2669 |
-
#: pro/includes/admin/tools/templates-export.php:29
|
2670 |
-
msgid "No templates selected"
|
2671 |
-
msgstr "Aucun modèle sélectionné"
|
2672 |
-
|
2673 |
-
#: pro/includes/admin/tools/templates-import.php:20
|
2674 |
-
#: pro/includes/admin/tools/templates-import.php:21
|
2675 |
-
msgid "Import Templates"
|
2676 |
-
msgstr "Importer un modèle"
|
2677 |
-
|
2678 |
-
#: pro/includes/field-groups/field-group-hide-on-screen.php:30
|
2679 |
-
msgid "Save Draft"
|
2680 |
-
msgstr "Enregistrer le Brouillon"
|
2681 |
-
|
2682 |
-
#: pro/includes/field-groups/field-group-hide-on-screen.php:31
|
2683 |
-
#: pro/includes/fields/field-post-field.php:50
|
2684 |
-
msgid "Preview"
|
2685 |
-
msgstr "Aperçu"
|
2686 |
-
|
2687 |
-
#: pro/includes/field-groups/field-group-hide-on-screen.php:32
|
2688 |
-
msgid "Post Status"
|
2689 |
-
msgstr "Statuts de l'article"
|
2690 |
-
|
2691 |
-
#: pro/includes/field-groups/field-group-hide-on-screen.php:33
|
2692 |
-
msgid "Post Visibility"
|
2693 |
-
msgstr "Visibilité de l'article"
|
2694 |
-
|
2695 |
-
#: pro/includes/field-groups/field-group-hide-on-screen.php:34
|
2696 |
-
msgid "Publish Date"
|
2697 |
-
msgstr "Date de l'article"
|
2698 |
-
|
2699 |
-
#: pro/includes/field-groups/field-group-hide-on-screen.php:35
|
2700 |
-
msgid "Move to trash"
|
2701 |
-
msgstr "Supprimer"
|
2702 |
-
|
2703 |
-
#: pro/includes/field-groups/field-group-hide-on-screen.php:36
|
2704 |
-
msgid "Publish/Update"
|
2705 |
-
msgstr "Publier/Mettre à Jour"
|
2706 |
-
|
2707 |
-
#: pro/includes/field-groups/field-group-hide-on-screen.php:37
|
2708 |
-
msgid "Minor Publishing Actions"
|
2709 |
-
msgstr "Actions de Publication Mineures"
|
2710 |
-
|
2711 |
-
#: pro/includes/field-groups/field-group-hide-on-screen.php:38
|
2712 |
-
msgid "Misc Publishing Actions"
|
2713 |
-
msgstr "Actions de Publication Diverses"
|
2714 |
-
|
2715 |
-
#: pro/includes/field-groups/field-group-hide-on-screen.php:39
|
2716 |
-
msgid "Major Publishing Actions"
|
2717 |
-
msgstr "Actions de Publication Majeures"
|
2718 |
-
|
2719 |
-
#: pro/includes/field-groups/field-group-hide-on-screen.php:40
|
2720 |
-
msgid "Publish Metabox"
|
2721 |
-
msgstr "Métabox de Publication"
|
2722 |
-
|
2723 |
-
#: pro/includes/field-groups/field-group-ui.php:44
|
2724 |
-
msgid "Hint: Shift to bypass this prompt"
|
2725 |
-
msgstr "Astuce: Shift pour passer"
|
2726 |
-
|
2727 |
-
#: pro/includes/fields-settings/instructions.php:39
|
2728 |
-
msgid "Instructions Placement"
|
2729 |
-
msgstr "Instructions Placement"
|
2730 |
-
|
2731 |
-
#: pro/includes/fields-settings/min-max.php:290
|
2732 |
-
msgid "Selection restrictions"
|
2733 |
-
msgstr "Restrictions de sélection"
|
2734 |
-
|
2735 |
-
#: pro/includes/fields-settings/min-max.php:295
|
2736 |
-
msgid "Min"
|
2737 |
-
msgstr "Min"
|
2738 |
-
|
2739 |
-
#: pro/includes/fields-settings/min-max.php:304
|
2740 |
-
msgid "Max"
|
2741 |
-
msgstr "Max"
|
2742 |
-
|
2743 |
-
#: pro/includes/fields-settings/min-max.php:344
|
2744 |
-
#, php-format
|
2745 |
-
msgid "%s requires at least %s selection"
|
2746 |
-
msgid_plural "%s requires at least %s selections"
|
2747 |
-
msgstr[0] "%s requiert une sélection d'au moins %s"
|
2748 |
-
msgstr[1] "%s exige au moins %s sélections"
|
2749 |
-
|
2750 |
-
#: pro/includes/fields-settings/min-max.php:357
|
2751 |
-
#, php-format
|
2752 |
-
msgid "%s allows a maximum of %s selection"
|
2753 |
-
msgid_plural "%s allows a maximum of %s selections"
|
2754 |
-
msgstr[0] "%s permet un maximum de sélection %s"
|
2755 |
-
msgstr[1] "%s permet un maximum de sélections %s"
|
2756 |
-
|
2757 |
-
#: pro/includes/fields-settings/required.php:22
|
2758 |
-
msgid "Required Message"
|
2759 |
-
msgstr "Message requis"
|
2760 |
-
|
2761 |
-
#: pro/includes/fields-settings/required.php:26
|
2762 |
-
#, php-format
|
2763 |
-
msgid "%s value is required"
|
2764 |
-
msgstr "le champ %s est obligatoire"
|
2765 |
-
|
2766 |
-
#: pro/includes/fields-settings/visibility.php:39
|
2767 |
-
msgid "Field Visibility"
|
2768 |
-
msgstr "Champ de visibilité"
|
2769 |
-
|
2770 |
-
#: pro/includes/fields/field-block-types.php:17
|
2771 |
-
msgid "Block Types"
|
2772 |
-
msgstr "Types de bloc"
|
2773 |
-
|
2774 |
-
#: pro/includes/fields/field-block-types.php:80
|
2775 |
-
msgid "Allow Block Types"
|
2776 |
-
msgstr "Autoriser les types de blocs"
|
2777 |
-
|
2778 |
-
#: pro/includes/fields/field-block-types.php:88
|
2779 |
-
msgid "All block types"
|
2780 |
-
msgstr "Tous types de blocs"
|
2781 |
-
|
2782 |
-
#: pro/includes/fields/field-block-types.php:121
|
2783 |
-
msgid "Block type object"
|
2784 |
-
msgstr "Objet de type bloc"
|
2785 |
-
|
2786 |
-
#: pro/includes/fields/field-block-types.php:122
|
2787 |
-
msgid "Block type name"
|
2788 |
-
msgstr "Nom du type de bloc"
|
2789 |
-
|
2790 |
-
#: pro/includes/fields/field-checkbox.php:107
|
2791 |
-
msgid "Toggle All"
|
2792 |
-
msgstr "Sélectionner tout"
|
2793 |
-
|
2794 |
-
#: pro/includes/fields/field-color-picker.php:23
|
2795 |
-
#: pro/includes/fields/field-color-picker.php:181
|
2796 |
-
msgid "Select Color"
|
2797 |
-
msgstr "Sélectionner une couleur"
|
2798 |
-
|
2799 |
-
#: pro/includes/fields/field-color-picker.php:76
|
2800 |
-
#: pro/includes/fields/field-color-picker.php:169
|
2801 |
-
#: pro/includes/fields/field-color-picker.php:305
|
2802 |
-
msgid "Label"
|
2803 |
-
msgstr "Label"
|
2804 |
-
|
2805 |
-
#: pro/includes/fields/field-color-picker.php:77
|
2806 |
-
msgid "Color + Label Array"
|
2807 |
-
msgstr "Tableau Couleur + Intitulé"
|
2808 |
-
|
2809 |
-
#: pro/includes/fields/field-color-picker.php:147
|
2810 |
-
msgid "Display Style"
|
2811 |
-
msgstr "Style d’affichage"
|
2812 |
-
|
2813 |
-
#: pro/includes/fields/field-color-picker.php:170
|
2814 |
-
msgid "Both (Array)"
|
2815 |
-
msgstr "Les deux (Tableau)"
|
2816 |
-
|
2817 |
-
#: pro/includes/fields/field-color-picker.php:177
|
2818 |
-
#: pro/includes/fields/field-file.php:175
|
2819 |
-
msgid "Button Label"
|
2820 |
-
msgstr "Nom du bouton"
|
2821 |
-
|
2822 |
-
#: pro/includes/fields/field-color-picker.php:194
|
2823 |
-
msgid "Color Picker"
|
2824 |
-
msgstr "Sélecteur de couleur"
|
2825 |
-
|
2826 |
-
#: pro/includes/fields/field-color-picker.php:202
|
2827 |
-
msgid "Position Absolute"
|
2828 |
-
msgstr "Position Absolue"
|
2829 |
-
|
2830 |
-
#: pro/includes/fields/field-color-picker.php:219
|
2831 |
-
msgid "Text Input"
|
2832 |
-
msgstr "Saisie de texte"
|
2833 |
-
|
2834 |
-
#: pro/includes/fields/field-color-picker.php:243
|
2835 |
-
#: pro/includes/fields/field-date-range-picker.php:249
|
2836 |
-
msgid "Allow null"
|
2837 |
-
msgstr "Autoriser une valeur « null »"
|
2838 |
-
|
2839 |
-
#: pro/includes/fields/field-color-picker.php:254
|
2840 |
-
msgid "RGBA"
|
2841 |
-
msgstr "RGBA"
|
2842 |
-
|
2843 |
-
#: pro/includes/fields/field-color-picker.php:264
|
2844 |
-
msgid "Use Theme Colors"
|
2845 |
-
msgstr "Utiliser les couleurs du thème"
|
2846 |
-
|
2847 |
-
#: pro/includes/fields/field-color-picker.php:272
|
2848 |
-
msgid "Custom Colors"
|
2849 |
-
msgstr "Couleurs personnalisées"
|
2850 |
-
|
2851 |
-
#: pro/includes/fields/field-color-picker.php:273
|
2852 |
-
msgid "Enter each choice on a new line."
|
2853 |
-
msgstr "Entrez chaque choix sur une nouvelle ligne."
|
2854 |
-
|
2855 |
-
#: pro/includes/fields/field-color-picker.php:273
|
2856 |
-
msgid "For more control, you may specify both a value and label like this:"
|
2857 |
-
msgstr ""
|
2858 |
-
"Pour plus de contrôle, vous pouvez spécifier à la fois une valeur et une "
|
2859 |
-
"étiquette comme ceci:"
|
2860 |
-
|
2861 |
-
#: pro/includes/fields/field-color-picker.php:273
|
2862 |
-
msgid "#2271b1 : Primary"
|
2863 |
-
msgstr "#2271b1 : Primaire"
|
2864 |
-
|
2865 |
-
#: pro/includes/fields/field-column.php:66
|
2866 |
-
#: pro/includes/fields/field-column.php:88
|
2867 |
-
msgid "Border"
|
2868 |
-
msgstr "Bordure"
|
2869 |
-
|
2870 |
-
#: pro/includes/fields/field-column.php:72
|
2871 |
-
msgid "Column Border"
|
2872 |
-
msgstr "Bordure de colonne"
|
2873 |
-
|
2874 |
-
#: pro/includes/fields/field-column.php:73
|
2875 |
-
msgid "Fields Border"
|
2876 |
-
msgstr "Bordure des champs"
|
2877 |
-
|
2878 |
-
#: pro/includes/fields/field-column.php:94
|
2879 |
-
msgid "Endpoint Border"
|
2880 |
-
msgstr "Bordure de point de terminaison"
|
2881 |
-
|
2882 |
-
#: pro/includes/fields/field-countries.php:17
|
2883 |
-
msgid "Countries"
|
2884 |
-
msgstr "Pays"
|
2885 |
-
|
2886 |
-
#: pro/includes/fields/field-countries.php:123
|
2887 |
-
#: pro/includes/fields/field-phone-number.php:46
|
2888 |
-
msgid "Allow Countries"
|
2889 |
-
msgstr "Autoriser les pays"
|
2890 |
-
|
2891 |
-
#: pro/includes/fields/field-countries.php:134
|
2892 |
-
msgid "All Countries"
|
2893 |
-
msgstr "Tous les pays"
|
2894 |
-
|
2895 |
-
#: pro/includes/fields/field-countries.php:166
|
2896 |
-
msgid "Country array"
|
2897 |
-
msgstr "Tableau de pays"
|
2898 |
-
|
2899 |
-
#: pro/includes/fields/field-countries.php:167
|
2900 |
-
msgid "Country name"
|
2901 |
-
msgstr "Nom du pays"
|
2902 |
-
|
2903 |
-
#: pro/includes/fields/field-countries.php:168
|
2904 |
-
msgid "Country code"
|
2905 |
-
msgstr "Code du pays"
|
2906 |
-
|
2907 |
-
#: pro/includes/fields/field-countries.php:186
|
2908 |
-
#: pro/includes/fields/field-currencies.php:160
|
2909 |
-
#: pro/includes/fields/field-date-range-picker.php:63
|
2910 |
-
#: pro/includes/fields/field-image-sizes.php:127
|
2911 |
-
#: pro/includes/fields/field-languages.php:253
|
2912 |
-
#: pro/includes/fields/field-payment-cart.php:98
|
2913 |
-
msgid "Display Format"
|
2914 |
-
msgstr "Format d’affichage"
|
2915 |
-
|
2916 |
-
#: pro/includes/fields/field-countries.php:187
|
2917 |
-
#: pro/includes/fields/field-currencies.php:161
|
2918 |
-
#: pro/includes/fields/field-date-range-picker.php:64
|
2919 |
-
#: pro/includes/fields/field-languages.php:254
|
2920 |
-
#: pro/includes/fields/field-payment-cart.php:99
|
2921 |
-
msgid "The format displayed when editing a post"
|
2922 |
-
msgstr "Le format affiché lors de la modification d'un poste"
|
2923 |
-
|
2924 |
-
#: pro/includes/fields/field-countries.php:195
|
2925 |
-
#: pro/includes/fields/field-currencies.php:169
|
2926 |
-
#: pro/includes/fields/field-date-range-picker.php:72
|
2927 |
-
#: pro/includes/fields/field-date-range-picker.php:88
|
2928 |
-
#: pro/includes/fields/field-languages.php:262
|
2929 |
-
#: pro/includes/fields/field-payment-cart.php:106
|
2930 |
-
msgid "Custom:"
|
2931 |
-
msgstr "Personnalisé:"
|
2932 |
-
|
2933 |
-
#: pro/includes/fields/field-countries.php:201
|
2934 |
-
#: pro/includes/fields/field-currencies.php:190
|
2935 |
-
#: pro/includes/fields/field-languages.php:268
|
2936 |
-
msgid "Display Flags"
|
2937 |
-
msgstr "Afficher les indicateurs"
|
2938 |
-
|
2939 |
-
#: pro/includes/fields/field-countries.php:202
|
2940 |
-
#: pro/includes/fields/field-currencies.php:191
|
2941 |
-
msgid "Display countries flags"
|
2942 |
-
msgstr "Afficher les drapeaux des pays"
|
2943 |
-
|
2944 |
-
#: pro/includes/fields/field-countries.php:238
|
2945 |
-
#: pro/includes/fields/field-currencies.php:227
|
2946 |
-
#: pro/includes/fields/field-languages.php:305
|
2947 |
-
msgid "Group by Continents"
|
2948 |
-
msgstr "Groupe par continents"
|
2949 |
-
|
2950 |
-
#: pro/includes/fields/field-countries.php:239
|
2951 |
-
msgid "Group countries by their continent"
|
2952 |
-
msgstr "Regrouper les pays par continent"
|
2953 |
-
|
2954 |
-
#: pro/includes/fields/field-currencies.php:17
|
2955 |
-
msgid "Currencies"
|
2956 |
-
msgstr "Devises"
|
2957 |
-
|
2958 |
-
#: pro/includes/fields/field-currencies.php:123
|
2959 |
-
msgid "Allow Currencies"
|
2960 |
-
msgstr "Autoriser les devises"
|
2961 |
-
|
2962 |
-
#: pro/includes/fields/field-currencies.php:134
|
2963 |
-
msgid "All Currencies"
|
2964 |
-
msgstr "Toutes les Devises"
|
2965 |
-
|
2966 |
-
#: pro/includes/fields/field-currencies.php:181
|
2967 |
-
msgid "Currency array"
|
2968 |
-
msgstr "Tableau de devises"
|
2969 |
-
|
2970 |
-
#: pro/includes/fields/field-currencies.php:182
|
2971 |
-
msgid "Currency name"
|
2972 |
-
msgstr "Devise"
|
2973 |
-
|
2974 |
-
#: pro/includes/fields/field-currencies.php:183
|
2975 |
-
msgid "Currency code"
|
2976 |
-
msgstr "Code de la devise"
|
2977 |
-
|
2978 |
-
#: pro/includes/fields/field-currencies.php:184
|
2979 |
-
msgid "Currency symbol"
|
2980 |
-
msgstr "Symbole de la monnaie"
|
2981 |
-
|
2982 |
-
#: pro/includes/fields/field-currencies.php:228
|
2983 |
-
msgid "Group currencies by their continent"
|
2984 |
-
msgstr "Regrouper les monnaies par continent"
|
2985 |
-
|
2986 |
-
#: pro/includes/fields/field-date-picker.php:44
|
2987 |
-
#: pro/includes/fields/field-date-range-picker.php:173
|
2988 |
-
#: pro/includes/fields/field-date-time-picker.php:53
|
2989 |
-
msgid "Date Restriction"
|
2990 |
-
msgstr "Date Restriction"
|
2991 |
-
|
2992 |
-
#: pro/includes/fields/field-date-picker.php:69
|
2993 |
-
#: pro/includes/fields/field-date-range-picker.php:229
|
2994 |
-
#: pro/includes/fields/field-date-time-picker.php:103
|
2995 |
-
msgid "No Weekends"
|
2996 |
-
msgstr "Pas de week-end"
|
2997 |
-
|
2998 |
-
#: pro/includes/fields/field-date-range-picker.php:19
|
2999 |
-
msgid "Date Range Picker"
|
3000 |
-
msgstr "Sélecteur de plages de dates"
|
3001 |
-
|
3002 |
-
#: pro/includes/fields/field-date-range-picker.php:78
|
3003 |
-
msgid "Return Format"
|
3004 |
-
msgstr "Format de retour"
|
3005 |
-
|
3006 |
-
#: pro/includes/fields/field-date-range-picker.php:79
|
3007 |
-
msgid "The format returned via template functions"
|
3008 |
-
msgstr "Le format renvoyé par l'intermédiaire des fonctions de modèle"
|
3009 |
-
|
3010 |
-
#: pro/includes/fields/field-date-range-picker.php:94
|
3011 |
-
msgid "Week Starts On"
|
3012 |
-
msgstr "La semaine débute le"
|
3013 |
-
|
3014 |
-
#: pro/includes/fields/field-date-range-picker.php:111
|
3015 |
-
msgid "Separator"
|
3016 |
-
msgstr "Séparateur"
|
3017 |
-
|
3018 |
-
#: pro/includes/fields/field-date-range-picker.php:119
|
3019 |
-
msgid "Default Date"
|
3020 |
-
msgstr "Date par Défaut"
|
3021 |
-
|
3022 |
-
#: pro/includes/fields/field-date-range-picker.php:146
|
3023 |
-
msgid "Range Restriction"
|
3024 |
-
msgstr "Restriction de plage"
|
3025 |
-
|
3026 |
-
#: pro/includes/fields/field-date-range-picker.php:202
|
3027 |
-
msgid "Custom Ranges"
|
3028 |
-
msgstr "Plages personnalisées"
|
3029 |
-
|
3030 |
-
#: pro/includes/fields/field-date-range-picker.php:219
|
3031 |
-
msgid "Show Dropdowns"
|
3032 |
-
msgstr "Autoriser les menus déroulants"
|
3033 |
-
|
3034 |
-
#: pro/includes/fields/field-date-range-picker.php:239
|
3035 |
-
msgid "Auto Close on Selection"
|
3036 |
-
msgstr "Fermeture automatique lors de la sélection"
|
3037 |
-
|
3038 |
-
#: pro/includes/fields/field-date-time-picker.php:79
|
3039 |
-
#: pro/includes/fields/field-time-picker.php:50
|
3040 |
-
msgid "Time Restriction"
|
3041 |
-
msgstr "Restriction de temps"
|
3042 |
-
|
3043 |
-
#: pro/includes/fields/field-date-time-picker.php:113
|
3044 |
-
#: pro/includes/fields/field-time-picker.php:75
|
3045 |
-
msgid "Hour Restriction"
|
3046 |
-
msgstr "Restriction d’heures"
|
3047 |
-
|
3048 |
-
#: pro/includes/fields/field-date-time-picker.php:139
|
3049 |
-
#: pro/includes/fields/field-time-picker.php:101
|
3050 |
-
msgid "Minutes Restriction"
|
3051 |
-
msgstr "Minutes Restriction"
|
3052 |
-
|
3053 |
-
#: pro/includes/fields/field-date-time-picker.php:166
|
3054 |
-
#: pro/includes/fields/field-time-picker.php:128
|
3055 |
-
msgid "Seconds Restriction"
|
3056 |
-
msgstr "Restriction des secondes"
|
3057 |
-
|
3058 |
-
#: pro/includes/fields/field-field-groups.php:82
|
3059 |
-
msgid "Allow Field Groups"
|
3060 |
-
msgstr "Autoriser les groupes de champs"
|
3061 |
-
|
3062 |
-
#: pro/includes/fields/field-field-groups.php:90
|
3063 |
-
msgid "All field groups"
|
3064 |
-
msgstr "Tous les groupes de champs"
|
3065 |
-
|
3066 |
-
#: pro/includes/fields/field-field-groups.php:122
|
3067 |
-
msgid "Field group object"
|
3068 |
-
msgstr "Objet de groupe de champs"
|
3069 |
-
|
3070 |
-
#: pro/includes/fields/field-field-groups.php:123
|
3071 |
-
msgid "Field group key"
|
3072 |
-
msgstr "Clé de groupe de champs"
|
3073 |
-
|
3074 |
-
#: pro/includes/fields/field-field-groups.php:124
|
3075 |
-
msgid "Field group ID"
|
3076 |
-
msgstr "ID de groupe de champs"
|
3077 |
-
|
3078 |
-
#: pro/includes/fields/field-field-types.php:17
|
3079 |
-
msgid "Field Types"
|
3080 |
-
msgstr "Types de champ"
|
3081 |
-
|
3082 |
-
#: pro/includes/fields/field-field-types.php:85
|
3083 |
-
msgid "Allow Field Types"
|
3084 |
-
msgstr "Autoriser les types de champs"
|
3085 |
-
|
3086 |
-
#: pro/includes/fields/field-field-types.php:93
|
3087 |
-
msgid "All field types"
|
3088 |
-
msgstr "Tous les types de champ"
|
3089 |
-
|
3090 |
-
#: pro/includes/fields/field-field-types.php:125
|
3091 |
-
msgid "Field type object"
|
3092 |
-
msgstr "Objet de type de champ"
|
3093 |
-
|
3094 |
-
#: pro/includes/fields/field-field-types.php:126
|
3095 |
-
msgid "Field type name"
|
3096 |
-
msgstr "Nom du type de champ"
|
3097 |
-
|
3098 |
-
#: pro/includes/fields/field-fields.php:95
|
3099 |
-
msgid "Allow Fields"
|
3100 |
-
msgstr "Autoriser les champs"
|
3101 |
-
|
3102 |
-
#: pro/includes/fields/field-fields.php:103
|
3103 |
-
msgid "All fields"
|
3104 |
-
msgstr "Tous les champs"
|
3105 |
-
|
3106 |
-
#: pro/includes/fields/field-fields.php:135
|
3107 |
-
msgid "Field object"
|
3108 |
-
msgstr "Objet de champ"
|
3109 |
-
|
3110 |
-
#: pro/includes/fields/field-fields.php:136
|
3111 |
-
msgid "Field key"
|
3112 |
-
msgstr "Touche de champ"
|
3113 |
-
|
3114 |
-
#: pro/includes/fields/field-fields.php:137
|
3115 |
-
msgid "Field name"
|
3116 |
-
msgstr "Nom du champ"
|
3117 |
-
|
3118 |
-
#: pro/includes/fields/field-fields.php:138
|
3119 |
-
msgid "Field ID"
|
3120 |
-
msgstr "Champ – Identifiant"
|
3121 |
-
|
3122 |
-
#: pro/includes/fields/field-file.php:85
|
3123 |
-
msgid "Preview Style"
|
3124 |
-
msgstr "Style d’aperçu"
|
3125 |
-
|
3126 |
-
#: pro/includes/fields/field-file.php:138
|
3127 |
-
#: pro/includes/fields/field-payment-cart.php:119
|
3128 |
-
#: pro/includes/fields/field-payment-selector.php:96
|
3129 |
-
#: pro/includes/fields/field-phone-number.php:65
|
3130 |
-
msgid "Select"
|
3131 |
-
msgstr "Sélectionner"
|
3132 |
-
|
3133 |
-
#: pro/includes/fields/field-file.php:166
|
3134 |
-
msgid "Upload Folder"
|
3135 |
-
msgstr "Dossier des envois"
|
3136 |
-
|
3137 |
-
#: pro/includes/fields/field-file.php:178
|
3138 |
-
#: pro/includes/fields/field-file.php:496
|
3139 |
-
msgid "Add File"
|
3140 |
-
msgstr "Ajouter un fichier"
|
3141 |
-
|
3142 |
-
#: pro/includes/fields/field-file.php:230
|
3143 |
-
msgid "File Count"
|
3144 |
-
msgstr "Nombre de fichiers"
|
3145 |
-
|
3146 |
-
#: pro/includes/fields/field-file.php:272
|
3147 |
-
msgid "Allow multiple files"
|
3148 |
-
msgstr "Autoriser plusieurs fichiers"
|
3149 |
-
|
3150 |
-
#: pro/includes/fields/field-file.php:461
|
3151 |
-
msgid "File name"
|
3152 |
-
msgstr "Nom du fichier"
|
3153 |
-
|
3154 |
-
#: pro/includes/fields/field-flexible-content-grid.php:72
|
3155 |
-
msgid "Grid System"
|
3156 |
-
msgstr "Système de grille"
|
3157 |
-
|
3158 |
-
#: pro/includes/fields/field-flexible-content-grid.php:75
|
3159 |
-
msgid "Enable columns mode"
|
3160 |
-
msgstr "Activer le mode colonnes"
|
3161 |
-
|
3162 |
-
#: pro/includes/fields/field-flexible-content-grid.php:187
|
3163 |
-
msgid "Grid System: Container"
|
3164 |
-
msgstr "Système de grille: Conteneur"
|
3165 |
-
|
3166 |
-
#: pro/includes/fields/field-flexible-content-grid.php:190
|
3167 |
-
msgid "Apply maximum grid width"
|
3168 |
-
msgstr "Appliquer la largeur maximale de la grille"
|
3169 |
-
|
3170 |
-
#: pro/includes/fields/field-flexible-content-grid.php:221
|
3171 |
-
msgid "Grid settings"
|
3172 |
-
msgstr "Paramètres de grille"
|
3173 |
-
|
3174 |
-
#: pro/includes/fields/field-flexible-content-locations.php:180
|
3175 |
-
#: pro/includes/fields/field-flexible-content-locations.php:195
|
3176 |
-
msgid "This field requires at least {min} {label} {identifier}"
|
3177 |
-
msgstr "Ce champ a une limite de {min} {label} {identifier}"
|
3178 |
-
|
3179 |
-
#: pro/includes/fields/field-flexible-content-locations.php:244
|
3180 |
-
msgid "Layouts Locations Rules"
|
3181 |
-
msgstr "Règles d’emplacements de mise en page"
|
3182 |
-
|
3183 |
-
#: pro/includes/fields/field-flexible-content-locations.php:247
|
3184 |
-
msgid "Define custom locations rules for each layouts"
|
3185 |
-
msgstr ""
|
3186 |
-
"Définir des règles d’emplacements personnalisées pour chaque mise en page"
|
3187 |
-
|
3188 |
-
#: pro/includes/fields/field-flexible-content-locations.php:312
|
3189 |
-
msgid "Location Rules"
|
3190 |
-
msgstr "Règles d’emplacement"
|
3191 |
-
|
3192 |
-
#: pro/includes/fields/field-flexible-content-locations.php:344
|
3193 |
-
msgid "Add rule group"
|
3194 |
-
msgstr "Ajouter un groupe de règles"
|
3195 |
-
|
3196 |
-
#: pro/includes/fields/field-flexible-content-locations.php:442
|
3197 |
-
msgid "and"
|
3198 |
-
msgstr "et"
|
3199 |
-
|
3200 |
-
#: pro/includes/fields/field-google-map.php:56
|
3201 |
-
msgid "Map Preview"
|
3202 |
-
msgstr "Aperçu de la carte"
|
3203 |
-
|
3204 |
-
#: pro/includes/fields/field-google-map.php:91
|
3205 |
-
msgid "Zoom"
|
3206 |
-
msgstr "Zoom"
|
3207 |
-
|
3208 |
-
#: pro/includes/fields/field-google-map.php:153
|
3209 |
-
msgid "Marker: Image"
|
3210 |
-
msgstr "Marqueur : Image"
|
3211 |
-
|
3212 |
-
#: pro/includes/fields/field-google-map.php:161
|
3213 |
-
msgid "Marker: Size"
|
3214 |
-
msgstr "Marqueur : Taille"
|
3215 |
-
|
3216 |
-
#: pro/includes/fields/field-google-map.php:200
|
3217 |
-
msgid "View: Map Type"
|
3218 |
-
msgstr "Affichage : Type de carte"
|
3219 |
-
|
3220 |
-
#: pro/includes/fields/field-google-map.php:215
|
3221 |
-
msgid "View: Hide UI"
|
3222 |
-
msgstr "Affichage : Masquer l’interface utilisateur"
|
3223 |
-
|
3224 |
-
#: pro/includes/fields/field-google-map.php:226
|
3225 |
-
msgid "View: Hide Zoom Control"
|
3226 |
-
msgstr "Affichage : Masquer le contrôle de zoom"
|
3227 |
-
|
3228 |
-
#: pro/includes/fields/field-google-map.php:246
|
3229 |
-
msgid "View: Hide Map Selection"
|
3230 |
-
msgstr "Affichage : Masquer la sélection de carte"
|
3231 |
-
|
3232 |
-
#: pro/includes/fields/field-google-map.php:266
|
3233 |
-
msgid "View: Hide Fullscreen"
|
3234 |
-
msgstr "Affichage : Masquer en plein écran"
|
3235 |
-
|
3236 |
-
#: pro/includes/fields/field-google-map.php:286
|
3237 |
-
msgid "View: Hide Streetview"
|
3238 |
-
msgstr "Affichage : Masquer Streetview"
|
3239 |
-
|
3240 |
-
#: pro/includes/fields/field-google-map.php:306
|
3241 |
-
msgid "View: Map Style"
|
3242 |
-
msgstr "Affichage : Style de carte"
|
3243 |
-
|
3244 |
-
#: pro/includes/fields/field-google-map.php:317
|
3245 |
-
msgid "API Key"
|
3246 |
-
msgstr "Clé API"
|
3247 |
-
|
3248 |
-
#: pro/includes/fields/field-image-selector.php:17
|
3249 |
-
msgid "Image Selector"
|
3250 |
-
msgstr "Sélecteur d’image"
|
3251 |
-
|
3252 |
-
#: pro/includes/fields/field-image-selector.php:50
|
3253 |
-
msgid "Choices"
|
3254 |
-
msgstr "Choix"
|
3255 |
-
|
3256 |
-
#: pro/includes/fields/field-image-selector.php:51
|
3257 |
-
msgid ""
|
3258 |
-
"Enter each choice on a new line. Image can be an URL or an attachment ID. "
|
3259 |
-
"For example:"
|
3260 |
-
msgstr ""
|
3261 |
-
"Entrez chaque choix sur une nouvelle ligne. L’image peut être une URL ou un "
|
3262 |
-
"ID de pièce jointe. par exemple:"
|
3263 |
-
|
3264 |
-
#: pro/includes/fields/field-image-selector.php:51
|
3265 |
-
msgid "choice1 : 895<br/>choice2 : /image.jpg"
|
3266 |
-
msgstr "choix1 : 895<br/>choix2 : /image.jpg"
|
3267 |
-
|
3268 |
-
#: pro/includes/fields/field-image-selector.php:71
|
3269 |
-
msgid "Images Size"
|
3270 |
-
msgstr "Taille des images"
|
3271 |
-
|
3272 |
-
#: pro/includes/fields/field-image-selector.php:82
|
3273 |
-
msgid "Container"
|
3274 |
-
msgstr "Conteneur"
|
3275 |
-
|
3276 |
-
#: pro/includes/fields/field-image-selector.php:120
|
3277 |
-
msgid "Array"
|
3278 |
-
msgstr "Tableau (Array)"
|
3279 |
-
|
3280 |
-
#: pro/includes/fields/field-image-selector.php:121
|
3281 |
-
msgid "Image"
|
3282 |
-
msgstr "Image"
|
3283 |
-
|
3284 |
-
#: pro/includes/fields/field-image-sizes.php:17
|
3285 |
-
msgid "Image Sizes"
|
3286 |
-
msgstr "Tailles des images"
|
3287 |
-
|
3288 |
-
#: pro/includes/fields/field-image-sizes.php:62
|
3289 |
-
#: pro/includes/fields/field-image-sizes.php:483
|
3290 |
-
msgid "Full Size"
|
3291 |
-
msgstr "Taille originale"
|
3292 |
-
|
3293 |
-
#: pro/includes/fields/field-image-sizes.php:92
|
3294 |
-
msgid "Allow Image Sizes"
|
3295 |
-
msgstr "Autoriser les tailles d’image"
|
3296 |
-
|
3297 |
-
#: pro/includes/fields/field-image-sizes.php:100
|
3298 |
-
msgid "All image sizes"
|
3299 |
-
msgstr ""
|
3300 |
-
"Entrez les catégories ids séparées par des virgules, par exemple: 3,5,7,95. "
|
3301 |
-
"Pour toutes catégories laissées en blanc"
|
3302 |
-
|
3303 |
-
#: pro/includes/fields/field-image-sizes.php:133
|
3304 |
-
#: pro/includes/fields/field-image-sizes.php:148
|
3305 |
-
msgid "Size name"
|
3306 |
-
msgstr "Nom de la taille"
|
3307 |
-
|
3308 |
-
#: pro/includes/fields/field-image-sizes.php:135
|
3309 |
-
msgid "Size name & dimensions"
|
3310 |
-
msgstr "Nom de la taille &dimensions"
|
3311 |
-
|
3312 |
-
#: pro/includes/fields/field-image-sizes.php:147
|
3313 |
-
msgid "Size object"
|
3314 |
-
msgstr "Objet de taille"
|
3315 |
-
|
3316 |
-
#: pro/includes/fields/field-languages.php:17
|
3317 |
-
#: pro/includes/fields/field-languages.php:179
|
3318 |
-
msgid "Languages"
|
3319 |
-
msgstr "Langues"
|
3320 |
-
|
3321 |
-
#: pro/includes/fields/field-languages.php:180
|
3322 |
-
msgid "Display languages set in"
|
3323 |
-
msgstr "Langues d’affichage définies dans"
|
3324 |
-
|
3325 |
-
#: pro/includes/fields/field-languages.php:200
|
3326 |
-
msgid "Allow Languages"
|
3327 |
-
msgstr "Autoriser les langues"
|
3328 |
-
|
3329 |
-
#: pro/includes/fields/field-languages.php:212
|
3330 |
-
msgid "All Languages"
|
3331 |
-
msgstr "Toutes les langues"
|
3332 |
-
|
3333 |
-
#: pro/includes/fields/field-languages.php:245
|
3334 |
-
msgid "Language array"
|
3335 |
-
msgstr "Tableau de langues"
|
3336 |
-
|
3337 |
-
#: pro/includes/fields/field-languages.php:246
|
3338 |
-
msgid "Language name"
|
3339 |
-
msgstr "Nom de la langue"
|
3340 |
-
|
3341 |
-
#: pro/includes/fields/field-languages.php:247
|
3342 |
-
msgid "Language locale code"
|
3343 |
-
msgstr "Code de paramètres régionaux de langue"
|
3344 |
-
|
3345 |
-
#: pro/includes/fields/field-languages.php:269
|
3346 |
-
msgid "Display languages flags"
|
3347 |
-
msgstr "Afficher les indicateurs de langues"
|
3348 |
-
|
3349 |
-
#: pro/includes/fields/field-languages.php:306
|
3350 |
-
msgid "Group languages by their continent"
|
3351 |
-
msgstr "Regrouper les langues par continent"
|
3352 |
-
|
3353 |
-
#: pro/includes/fields/field-menu-locations.php:17
|
3354 |
-
msgid "Menu Locations"
|
3355 |
-
msgstr "Emplacements de menus"
|
3356 |
-
|
3357 |
-
#: pro/includes/fields/field-menu-locations.php:80
|
3358 |
-
msgid "Allow Locations"
|
3359 |
-
msgstr "Autoriser les emplacements"
|
3360 |
-
|
3361 |
-
#: pro/includes/fields/field-menu-locations.php:88
|
3362 |
-
msgid "All locations"
|
3363 |
-
msgstr "Tous les lieux"
|
3364 |
-
|
3365 |
-
#: pro/includes/fields/field-menus.php:17
|
3366 |
-
msgid "Menus"
|
3367 |
-
msgstr "Menus"
|
3368 |
-
|
3369 |
-
#: pro/includes/fields/field-menus.php:81
|
3370 |
-
msgid "Allow Menus"
|
3371 |
-
msgstr "Autoriser les menus"
|
3372 |
-
|
3373 |
-
#: pro/includes/fields/field-menus.php:89
|
3374 |
-
msgid "All menus"
|
3375 |
-
msgstr "Tous les menus"
|
3376 |
-
|
3377 |
-
#: pro/includes/fields/field-menus.php:121
|
3378 |
-
msgid "Menu object"
|
3379 |
-
msgstr "Objet de menu"
|
3380 |
-
|
3381 |
-
#: pro/includes/fields/field-menus.php:122
|
3382 |
-
msgid "Menu name"
|
3383 |
-
msgstr "Nom du menu"
|
3384 |
-
|
3385 |
-
#: pro/includes/fields/field-menus.php:123
|
3386 |
-
msgid "Menu ID"
|
3387 |
-
msgstr "ID Menu"
|
3388 |
-
|
3389 |
-
#: pro/includes/fields/field-options-pages.php:14
|
3390 |
-
msgid "Options Pages"
|
3391 |
-
msgstr "Options des pages"
|
3392 |
-
|
3393 |
-
#: pro/includes/fields/field-options-pages.php:78
|
3394 |
-
msgid "Allow Options Pages"
|
3395 |
-
msgstr "Autoriser les pages d’options"
|
3396 |
-
|
3397 |
-
#: pro/includes/fields/field-options-pages.php:86
|
3398 |
-
msgid "All options pages"
|
3399 |
-
msgstr "Toutes les pages d’options"
|
3400 |
-
|
3401 |
-
#: pro/includes/fields/field-options-pages.php:118
|
3402 |
-
msgid "Options page object"
|
3403 |
-
msgstr "Objet de page Options"
|
3404 |
-
|
3405 |
-
#: pro/includes/fields/field-options-pages.php:119
|
3406 |
-
msgid "Options page name"
|
3407 |
-
msgstr "Nom de la page Options"
|
3408 |
-
|
3409 |
-
#: pro/includes/fields/field-payment-cart.php:19
|
3410 |
-
msgid "Payment Cart"
|
3411 |
-
msgstr "Panier de paiement"
|
3412 |
-
|
3413 |
-
#: pro/includes/fields/field-payment-cart.php:68
|
3414 |
-
#: pro/includes/fields/field-payment-selector.php:57
|
3415 |
-
msgid "Payment Field"
|
3416 |
-
msgstr "Champ de paiement"
|
3417 |
-
|
3418 |
-
#: pro/includes/fields/field-payment-cart.php:76
|
3419 |
-
#: pro/includes/fields/field-payment-selector.php:65
|
3420 |
-
msgid "Select the payment field"
|
3421 |
-
msgstr "Sélectionnez le champ de paiement"
|
3422 |
-
|
3423 |
-
#: pro/includes/fields/field-payment-cart.php:82
|
3424 |
-
msgid "items"
|
3425 |
-
msgstr "articles"
|
3426 |
-
|
3427 |
-
#: pro/includes/fields/field-payment-cart.php:83
|
3428 |
-
msgid "Enter each choice on a new line with the item price. For example:"
|
3429 |
-
msgstr ""
|
3430 |
-
"Entrez chaque choix sur une nouvelle ligne. L’image peut être une URL ou un "
|
3431 |
-
"ID de pièce jointe. par exemple:"
|
3432 |
-
|
3433 |
-
#: pro/includes/fields/field-payment-cart.php:83
|
3434 |
-
msgid "Item 1 : 29<br/>Item 2 : 49"
|
3435 |
-
msgstr "Produit 1 : 29<br/>Produit 2 : 49"
|
3436 |
-
|
3437 |
-
#: pro/includes/fields/field-payment-cart.php:112
|
3438 |
-
#: pro/includes/fields/field-payment-cart.php:113
|
3439 |
-
#: pro/includes/fields/field-payment-selector.php:90
|
3440 |
-
#: pro/includes/fields/field-payment-selector.php:91
|
3441 |
-
#: pro/includes/fields/field-post-field.php:35
|
3442 |
-
msgid "Field Type"
|
3443 |
-
msgstr "Type de champ"
|
3444 |
-
|
3445 |
-
#: pro/includes/fields/field-payment-cart.php:118
|
3446 |
-
#: pro/includes/fields/field-payment-selector.php:95
|
3447 |
-
msgid "Radio Button"
|
3448 |
-
msgstr "Bouton radio"
|
3449 |
-
|
3450 |
-
#: pro/includes/fields/field-payment-cart.php:489
|
3451 |
-
msgid "This item doesn't exists. Please try again"
|
3452 |
-
msgstr "Cet élément n'existe pas. Veuillez réessayer"
|
3453 |
-
|
3454 |
-
#: pro/includes/fields/field-payment-selector.php:19
|
3455 |
-
msgid "Payment Selector"
|
3456 |
-
msgstr "Sélecteur de paiement"
|
3457 |
-
|
3458 |
-
#: pro/includes/fields/field-payment-selector.php:23
|
3459 |
-
#: pro/includes/fields/field-payment-selector.php:74
|
3460 |
-
msgid "Credit Card"
|
3461 |
-
msgstr "Carte de crédit"
|
3462 |
-
|
3463 |
-
#: pro/includes/fields/field-payment-selector.php:71
|
3464 |
-
msgid "Payments Labels"
|
3465 |
-
msgstr "Étiquettes de paiement"
|
3466 |
-
|
3467 |
-
#: pro/includes/fields/field-payment-selector.php:80
|
3468 |
-
msgid "PayPal Label"
|
3469 |
-
msgstr "Label PayPal"
|
3470 |
-
|
3471 |
-
#: pro/includes/fields/field-payment-selector.php:140
|
3472 |
-
msgid "Icons"
|
3473 |
-
msgstr "Icônes"
|
3474 |
-
|
3475 |
-
#: pro/includes/fields/field-payment.php:19
|
3476 |
-
msgid "Payment"
|
3477 |
-
msgstr "Paiement"
|
3478 |
-
|
3479 |
-
#: pro/includes/fields/field-payment.php:27
|
3480 |
-
msgid "Pay now"
|
3481 |
-
msgstr "Payer maintenant"
|
3482 |
-
|
3483 |
-
#: pro/includes/fields/field-payment.php:76
|
3484 |
-
msgid "Gateways"
|
3485 |
-
msgstr "Passerelles"
|
3486 |
-
|
3487 |
-
#: pro/includes/fields/field-payment.php:77
|
3488 |
-
msgid "Choose your payment gateways"
|
3489 |
-
msgstr "Choisissez vos passerelles de paiement"
|
3490 |
-
|
3491 |
-
#: pro/includes/fields/field-payment.php:90
|
3492 |
-
#: pro/includes/fields/field-payment.php:450
|
3493 |
-
#: pro/includes/fields/field-payment.php:1415
|
3494 |
-
msgid "Amount"
|
3495 |
-
msgstr "Montant"
|
3496 |
-
|
3497 |
-
#: pro/includes/fields/field-payment.php:91
|
3498 |
-
msgid "The amount to charge"
|
3499 |
-
msgstr "Le montant à facturer"
|
3500 |
-
|
3501 |
-
#: pro/includes/fields/field-payment.php:99
|
3502 |
-
msgid "Currency"
|
3503 |
-
msgstr "Devise"
|
3504 |
-
|
3505 |
-
#: pro/includes/fields/field-payment.php:100
|
3506 |
-
msgid "The currency to use"
|
3507 |
-
msgstr "La devise à utiliser"
|
3508 |
-
|
3509 |
-
#: pro/includes/fields/field-payment.php:112
|
3510 |
-
#: pro/includes/modules/scripts-list.php:261
|
3511 |
-
msgid "Description"
|
3512 |
-
msgstr "Description"
|
3513 |
-
|
3514 |
-
#: pro/includes/fields/field-payment.php:113
|
3515 |
-
msgid "A description attached to the payment. Useful for displaying to users"
|
3516 |
-
msgstr ""
|
3517 |
-
"Une description jointe au paiement. Utile pour l’affichage aux utilisateurs"
|
3518 |
-
|
3519 |
-
#: pro/includes/fields/field-payment.php:120
|
3520 |
-
msgid "Display Button"
|
3521 |
-
msgstr "Affichager Bouton"
|
3522 |
-
|
3523 |
-
#: pro/includes/fields/field-payment.php:209
|
3524 |
-
msgid "Stripe Hide Postal Code"
|
3525 |
-
msgstr "Cacher le Code Postal Stripe"
|
3526 |
-
|
3527 |
-
#: pro/includes/fields/field-payment.php:210
|
3528 |
-
msgid ""
|
3529 |
-
"Hide Stripe's postal code field validation which can be displayed in "
|
3530 |
-
"specific cases"
|
3531 |
-
msgstr ""
|
3532 |
-
"Cache le code postal de validation Stripe qui peut apparaître dans ces cas "
|
3533 |
-
"spécifiques"
|
3534 |
-
|
3535 |
-
#: pro/includes/fields/field-payment.php:225
|
3536 |
-
msgid "Stripe Test API"
|
3537 |
-
msgstr "Stripe Test API"
|
3538 |
-
|
3539 |
-
#: pro/includes/fields/field-payment.php:226
|
3540 |
-
msgid "Your Stripe Test API Keys"
|
3541 |
-
msgstr "Vos clés API Stripe test"
|
3542 |
-
|
3543 |
-
#: pro/includes/fields/field-payment.php:238
|
3544 |
-
#: pro/includes/fields/field-payment.php:257
|
3545 |
-
msgid "Public key"
|
3546 |
-
msgstr "Clé publique"
|
3547 |
-
|
3548 |
-
#: pro/includes/fields/field-payment.php:244
|
3549 |
-
msgid "Stripe Production API"
|
3550 |
-
msgstr "Stripe Production API"
|
3551 |
-
|
3552 |
-
#: pro/includes/fields/field-payment.php:245
|
3553 |
-
msgid "Your Stripe Production API Keys"
|
3554 |
-
msgstr "Vos clés API Stripe Production"
|
3555 |
-
|
3556 |
-
#: pro/includes/fields/field-payment.php:263
|
3557 |
-
msgid "PayPal Test API"
|
3558 |
-
msgstr "PayPal Test API"
|
3559 |
-
|
3560 |
-
#: pro/includes/fields/field-payment.php:264
|
3561 |
-
msgid "Your PayPal Sandbox Credentials"
|
3562 |
-
msgstr "Vos informations d’identification sandbox PayPal"
|
3563 |
-
|
3564 |
-
#: pro/includes/fields/field-payment.php:267
|
3565 |
-
#: pro/includes/fields/field-payment.php:306
|
3566 |
-
msgid "Username"
|
3567 |
-
msgstr "Nom d'utilisateur"
|
3568 |
-
|
3569 |
-
#: pro/includes/fields/field-payment.php:276
|
3570 |
-
#: pro/includes/fields/field-payment.php:315
|
3571 |
-
msgid "Password"
|
3572 |
-
msgstr "Mot de passe"
|
3573 |
-
|
3574 |
-
#: pro/includes/fields/field-payment.php:286
|
3575 |
-
#: pro/includes/fields/field-payment.php:325
|
3576 |
-
msgid "Signature"
|
3577 |
-
msgstr "Signature"
|
3578 |
-
|
3579 |
-
#: pro/includes/fields/field-payment.php:296
|
3580 |
-
#: pro/includes/fields/field-payment.php:335
|
3581 |
-
msgid "Merchant ID"
|
3582 |
-
msgstr "ID du Marchand"
|
3583 |
-
|
3584 |
-
#: pro/includes/fields/field-payment.php:302
|
3585 |
-
msgid "PayPal Production API"
|
3586 |
-
msgstr "PayPal Production API"
|
3587 |
-
|
3588 |
-
#: pro/includes/fields/field-payment.php:303
|
3589 |
-
msgid "Your PayPal Production Credentials"
|
3590 |
-
msgstr "Vos informations d’identification de production PayPal"
|
3591 |
-
|
3592 |
-
#: pro/includes/fields/field-payment.php:341
|
3593 |
-
msgid "Mode"
|
3594 |
-
msgstr "Mode"
|
3595 |
-
|
3596 |
-
#: pro/includes/fields/field-payment.php:342
|
3597 |
-
msgid "Switch API mode"
|
3598 |
-
msgstr "Changer de mode API"
|
3599 |
-
|
3600 |
-
#: pro/includes/fields/field-payment.php:347
|
3601 |
-
#: pro/includes/fields/field-payment.php:446
|
3602 |
-
#: pro/includes/fields/field-payment.php:1371
|
3603 |
-
#: pro/includes/fields/field-payment.php:1413
|
3604 |
-
msgid "Test"
|
3605 |
-
msgstr "Test"
|
3606 |
-
|
3607 |
-
#: pro/includes/fields/field-payment.php:348
|
3608 |
-
#: pro/includes/fields/field-payment.php:1372
|
3609 |
-
msgid "Production"
|
3610 |
-
msgstr "Production"
|
3611 |
-
|
3612 |
-
#: pro/includes/fields/field-payment.php:446
|
3613 |
-
#: pro/includes/fields/field-payment.php:1413
|
3614 |
-
msgid "Gateway"
|
3615 |
-
msgstr "Passerelle"
|
3616 |
-
|
3617 |
-
#: pro/includes/fields/field-payment.php:455
|
3618 |
-
#: pro/includes/fields/field-payment.php:1418
|
3619 |
-
msgid "Items"
|
3620 |
-
msgstr "Articles"
|
3621 |
-
|
3622 |
-
#: pro/includes/fields/field-payment.php:460
|
3623 |
-
#: pro/includes/fields/field-payment.php:1421
|
3624 |
-
#: pro/includes/fields/field-post-field.php:44
|
3625 |
-
msgid "Date"
|
3626 |
-
msgstr "Date"
|
3627 |
-
|
3628 |
-
#: pro/includes/fields/field-payment.php:464
|
3629 |
-
#: pro/includes/fields/field-payment.php:1423
|
3630 |
-
msgid "IP Address"
|
3631 |
-
msgstr "Adresse IP"
|
3632 |
-
|
3633 |
-
#: pro/includes/fields/field-payment.php:468
|
3634 |
-
#: pro/includes/fields/field-payment.php:1425
|
3635 |
-
msgid "Payment ID"
|
3636 |
-
msgstr "ID du Paiement"
|
3637 |
-
|
3638 |
-
#: pro/includes/fields/field-payment.php:472
|
3639 |
-
msgid "Payment Object"
|
3640 |
-
msgstr "Objet de Paiement"
|
3641 |
-
|
3642 |
-
#: pro/includes/fields/field-payment.php:572
|
3643 |
-
msgid "PayPal Checkout"
|
3644 |
-
msgstr "Paiement PayPal"
|
3645 |
-
|
3646 |
-
#: pro/includes/fields/field-payment.php:700
|
3647 |
-
msgid "Amount can't be null"
|
3648 |
-
msgstr "Le montant ne peut pas être nul"
|
3649 |
-
|
3650 |
-
#: pro/includes/fields/field-payment.php:784
|
3651 |
-
msgid "Payment failed"
|
3652 |
-
msgstr "Échec de paiement"
|
3653 |
-
|
3654 |
-
#: pro/includes/fields/field-payment.php:1062
|
3655 |
-
msgid "Your card number is invalid"
|
3656 |
-
msgstr "Votre numéro de carte n’est pas valide"
|
3657 |
-
|
3658 |
-
#: pro/includes/fields/field-phone-number.php:17
|
3659 |
-
#: pro/includes/fields/field-phone-number.php:179
|
3660 |
-
msgid "Phone Number"
|
3661 |
-
msgstr "Numéro de téléphone"
|
3662 |
-
|
3663 |
-
#: pro/includes/fields/field-phone-number.php:52
|
3664 |
-
msgid "All countries"
|
3665 |
-
msgstr "Tous les pays"
|
3666 |
-
|
3667 |
-
#: pro/includes/fields/field-phone-number.php:59
|
3668 |
-
msgid "Preferred Countries"
|
3669 |
-
msgstr "Pays préférés"
|
3670 |
-
|
3671 |
-
#: pro/includes/fields/field-phone-number.php:72
|
3672 |
-
msgid "Default Country"
|
3673 |
-
msgstr "Pays par défaut"
|
3674 |
-
|
3675 |
-
#: pro/includes/fields/field-phone-number.php:93
|
3676 |
-
msgid "Geolocation"
|
3677 |
-
msgstr "Géolocalisation"
|
3678 |
-
|
3679 |
-
#: pro/includes/fields/field-phone-number.php:94
|
3680 |
-
msgid ""
|
3681 |
-
"Lookup the user's country based on their IP address using <a href='https://"
|
3682 |
-
"ipinfo.io/' target='_blank'>IPinfo.io</a>"
|
3683 |
-
msgstr ""
|
3684 |
-
"Rechercher le pays de l'utilisateur basé sur son IP en utilisant <a "
|
3685 |
-
"href='https://ipinfo.io/' target='_blank'>IPinfo.io</a>"
|
3686 |
-
|
3687 |
-
#: pro/includes/fields/field-phone-number.php:101
|
3688 |
-
msgid "Geolocation API token"
|
3689 |
-
msgstr "API token de géolocalisation"
|
3690 |
-
|
3691 |
-
#: pro/includes/fields/field-phone-number.php:102
|
3692 |
-
msgid ""
|
3693 |
-
"<a href=\"https://ipinfo.io/\" target=\"_blank\">IPinfo.io</a> API token"
|
3694 |
-
msgstr ""
|
3695 |
-
"<a href=\"https://ipinfo.io/\" target=\"_blank\">IPinfo.io</a> API token"
|
3696 |
-
|
3697 |
-
#: pro/includes/fields/field-phone-number.php:118
|
3698 |
-
msgid "Native Names"
|
3699 |
-
msgstr "Noms natifs"
|
3700 |
-
|
3701 |
-
#: pro/includes/fields/field-phone-number.php:127
|
3702 |
-
msgid "National Mode"
|
3703 |
-
msgstr "Mode local"
|
3704 |
-
|
3705 |
-
#: pro/includes/fields/field-phone-number.php:145
|
3706 |
-
msgid "Allow Dropdown"
|
3707 |
-
msgstr "Autoriser dropdown"
|
3708 |
-
|
3709 |
-
#: pro/includes/fields/field-phone-number.php:154
|
3710 |
-
msgid "Separate Dial Code"
|
3711 |
-
msgstr "Indicatif téléphonique distinct"
|
3712 |
-
|
3713 |
-
#: pro/includes/fields/field-phone-number.php:178
|
3714 |
-
msgid "Phone Array"
|
3715 |
-
msgstr "Tableau de téléphone"
|
3716 |
-
|
3717 |
-
#: pro/includes/fields/field-phone-number.php:184
|
3718 |
-
msgid "National Number"
|
3719 |
-
msgstr "Numéro de téléphone National"
|
3720 |
-
|
3721 |
-
#: pro/includes/fields/field-phone-number.php:185
|
3722 |
-
msgid "International Number"
|
3723 |
-
msgstr "Numéro de téléphone international"
|
3724 |
-
|
3725 |
-
#: pro/includes/fields/field-phone-number.php:203
|
3726 |
-
msgid "Additional Settings"
|
3727 |
-
msgstr "Réglages supplémentaires"
|
3728 |
-
|
3729 |
-
#: pro/includes/fields/field-phone-number.php:207
|
3730 |
-
msgid ""
|
3731 |
-
"Additional settings such as \"National Number\", \"International Number\" "
|
3732 |
-
"return formats and phone number server validation become available when "
|
3733 |
-
"using the <a href=\"https://github.com/giggsey/libphonenumber-for-php\" "
|
3734 |
-
"target=\"_blank\">Libphonenumber for PHP</a> library.<br />You can install "
|
3735 |
-
"this library manually or with the <a href=\"https://www.acf-extended.com/"
|
3736 |
-
"addons/acf-extended-pro-libphonenumber.zip\" target=\"_blank\">ACF Extended: "
|
3737 |
-
"Phone Number Library Addon</a> plugin."
|
3738 |
-
msgstr ""
|
3739 |
-
"Des réglages supplémentaires tels que \"Numéro de téléphone national\", "
|
3740 |
-
"\"Numéro de téléphone international\" en tant que format de retour et la "
|
3741 |
-
"validation du numéro de téléphone côté serveur deviennent disponibles en "
|
3742 |
-
"utilisant la librairie <a href=\"https://github.com/giggsey/libphonenumber-"
|
3743 |
-
"for-php\" target=\"_blank\">Libphonenumber for PHP</a>.<br />Vous pouvez "
|
3744 |
-
"l'installer manuellement ou télécharger le plugin <a href=\"https://www.acf-"
|
3745 |
-
"extended.com/addons/acf-extended-pro-libphonenumber.zip\" target=\"_blank"
|
3746 |
-
"\">ACF Extended: Phone Number Library Addon</a>."
|
3747 |
-
|
3748 |
-
#: pro/includes/fields/field-phone-number.php:230
|
3749 |
-
msgctxt "Phone Number JS invalidPhoneNumber"
|
3750 |
-
msgid "Invalid Phone Number"
|
3751 |
-
msgstr "Numéro de téléphone invalide"
|
3752 |
-
|
3753 |
-
#: pro/includes/fields/field-phone-number.php:231
|
3754 |
-
msgctxt "Phone Number JS invalidCountry"
|
3755 |
-
msgid "Invalid Country"
|
3756 |
-
msgstr "Pays invalide"
|
3757 |
-
|
3758 |
-
#: pro/includes/fields/field-phone-number.php:232
|
3759 |
-
msgctxt "Phone Number JS phoneNumberTooShort"
|
3760 |
-
msgid "Phone Number is too short"
|
3761 |
-
msgstr "Le numéro de téléphone est trop court"
|
3762 |
-
|
3763 |
-
#: pro/includes/fields/field-phone-number.php:233
|
3764 |
-
msgctxt "Phone Number JS phoneNumberTooLong"
|
3765 |
-
msgid "Phone Number is too long"
|
3766 |
-
msgstr "Le numéro de téléphone est trop long"
|
3767 |
-
|
3768 |
-
#: pro/includes/fields/field-phone-number.php:337
|
3769 |
-
#: pro/includes/fields/field-phone-number.php:354
|
3770 |
-
msgid "Invalid Phone Number"
|
3771 |
-
msgstr "Numéro de téléphone invalide"
|
3772 |
-
|
3773 |
-
#: pro/includes/fields/field-phone-number.php:348
|
3774 |
-
msgid "Invalid Country"
|
3775 |
-
msgstr "Pays invalide"
|
3776 |
-
|
3777 |
-
#: pro/includes/fields/field-post-field.php:17
|
3778 |
-
msgid "Post Field"
|
3779 |
-
msgstr "Champ d'Article"
|
3780 |
-
|
3781 |
-
#: pro/includes/fields/field-post-field.php:40
|
3782 |
-
msgid "Attributes"
|
3783 |
-
msgstr "Attributs"
|
3784 |
-
|
3785 |
-
#: pro/includes/fields/field-post-field.php:42
|
3786 |
-
msgid "Comments"
|
3787 |
-
msgstr "Commentaires"
|
3788 |
-
|
3789 |
-
#: pro/includes/fields/field-post-field.php:43
|
3790 |
-
msgid "Content"
|
3791 |
-
msgstr "Contenu"
|
3792 |
-
|
3793 |
-
#: pro/includes/fields/field-post-field.php:45
|
3794 |
-
#: pro/includes/locations/settings.php:91
|
3795 |
-
msgid "Discussion"
|
3796 |
-
msgstr "Discussion"
|
3797 |
-
|
3798 |
-
#: pro/includes/fields/field-post-field.php:46
|
3799 |
-
msgid "Excerpt"
|
3800 |
-
msgstr "Extrait"
|
3801 |
-
|
3802 |
-
#: pro/includes/fields/field-post-field.php:47
|
3803 |
-
msgid "Featured Image"
|
3804 |
-
msgstr "Image à la une"
|
3805 |
-
|
3806 |
-
#: pro/includes/fields/field-post-field.php:49
|
3807 |
-
msgid "Permalink"
|
3808 |
-
msgstr "Permalien"
|
3809 |
-
|
3810 |
-
#: pro/includes/fields/field-post-field.php:51
|
3811 |
-
msgid "Revisions"
|
3812 |
-
msgstr "Révisions"
|
3813 |
-
|
3814 |
-
#: pro/includes/fields/field-post-field.php:52
|
3815 |
-
msgid "Revisions List"
|
3816 |
-
msgstr "Liste des révisions"
|
3817 |
-
|
3818 |
-
#: pro/includes/fields/field-post-field.php:53
|
3819 |
-
msgid "Status"
|
3820 |
-
msgstr "Statut"
|
3821 |
-
|
3822 |
-
#: pro/includes/fields/field-post-field.php:54
|
3823 |
-
#: pro/includes/fields/field-post-field.php:63
|
3824 |
-
#: pro/includes/locations/menu-item-type.php:24
|
3825 |
-
#: pro/includes/modules/dev.php:173
|
3826 |
-
msgid "Taxonomy"
|
3827 |
-
msgstr "Taxonomie"
|
3828 |
-
|
3829 |
-
#: pro/includes/fields/field-post-field.php:56
|
3830 |
-
msgid "Trackbacks"
|
3831 |
-
msgstr "Rétroliens"
|
3832 |
-
|
3833 |
-
#: pro/includes/fields/field-post-field.php:57
|
3834 |
-
msgid "Visibility"
|
3835 |
-
msgstr "Visibilité"
|
3836 |
-
|
3837 |
-
#: pro/includes/fields/field-post-formats.php:17
|
3838 |
-
msgid "Post Formats"
|
3839 |
-
msgstr "Formats d'articles"
|
3840 |
-
|
3841 |
-
#: pro/includes/fields/field-post-formats.php:93
|
3842 |
-
msgid "Allow Formats"
|
3843 |
-
msgstr "Autoriser les formats"
|
3844 |
-
|
3845 |
-
#: pro/includes/fields/field-post-formats.php:101
|
3846 |
-
msgid "All Formats"
|
3847 |
-
msgstr "Tous les formats"
|
3848 |
-
|
3849 |
-
#: pro/includes/fields/field-relationship.php:36
|
3850 |
-
msgid "Allow Post Creation"
|
3851 |
-
msgstr "Autoriser la création de publication"
|
3852 |
-
|
3853 |
-
#: pro/includes/fields/field-relationship.php:44
|
3854 |
-
msgid "Allow Post Edit"
|
3855 |
-
msgstr "Autoriser la publication de la modification"
|
3856 |
-
|
3857 |
-
#: pro/includes/fields/field-relationship.php:137
|
3858 |
-
msgctxt "post"
|
3859 |
-
msgid "Add New"
|
3860 |
-
msgstr "Ajouter"
|
3861 |
-
|
3862 |
-
#: pro/includes/fields/field-tab.php:32
|
3863 |
-
msgid "No Preference"
|
3864 |
-
msgstr "Pas de préférence"
|
3865 |
-
|
3866 |
-
#: pro/includes/fields/field-templates.php:17
|
3867 |
-
#: pro/includes/modules/templates.php:71 pro/includes/modules/templates.php:72
|
3868 |
-
#: pro/includes/modules/templates.php:74 pro/includes/modules/templates.php:76
|
3869 |
-
msgid "Templates"
|
3870 |
-
msgstr "Modèles"
|
3871 |
-
|
3872 |
-
#: pro/includes/fields/field-templates.php:88
|
3873 |
-
msgid "Allow Templates"
|
3874 |
-
msgstr "Autoriser les modèles"
|
3875 |
-
|
3876 |
-
#: pro/includes/fields/field-templates.php:96
|
3877 |
-
msgid "All templates"
|
3878 |
-
msgstr "Tous les modèles"
|
3879 |
-
|
3880 |
-
#: pro/includes/fields/field-templates.php:128
|
3881 |
-
msgid "Template ID"
|
3882 |
-
msgstr "ID du Template"
|
3883 |
-
|
3884 |
-
#: pro/includes/fields/field-templates.php:129
|
3885 |
-
msgid "Template name"
|
3886 |
-
msgstr "Nom du modèle"
|
3887 |
-
|
3888 |
-
#: pro/includes/fields/field-true-false.php:33
|
3889 |
-
msgid "Style"
|
3890 |
-
msgstr "Style"
|
3891 |
-
|
3892 |
-
#: pro/includes/fields/field-true-false.php:38
|
3893 |
-
msgid "Default"
|
3894 |
-
msgstr "Par défaut"
|
3895 |
-
|
3896 |
-
#: pro/includes/fields/field-true-false.php:39
|
3897 |
-
msgid "Default Rounded"
|
3898 |
-
msgstr "Arrondi par défaut"
|
3899 |
-
|
3900 |
-
#: pro/includes/fields/field-true-false.php:40
|
3901 |
-
msgid "Small"
|
3902 |
-
msgstr "Petit"
|
3903 |
-
|
3904 |
-
#: pro/includes/fields/field-true-false.php:41
|
3905 |
-
msgid "Small Rounded"
|
3906 |
-
msgstr "Petit arrondi"
|
3907 |
-
|
3908 |
-
#: pro/includes/fields/field-true-false.php:42
|
3909 |
-
msgid "Alternative"
|
3910 |
-
msgstr "Alternatif"
|
3911 |
-
|
3912 |
-
#: pro/includes/fields/field-true-false.php:43
|
3913 |
-
msgid "Alternative Rounded"
|
3914 |
-
msgstr "Arrondi alternatif"
|
3915 |
-
|
3916 |
-
#: pro/includes/fields/field-wysiwyg.php:74
|
3917 |
-
msgid "Auto initialization"
|
3918 |
-
msgstr "Initialisation automatique"
|
3919 |
-
|
3920 |
-
#: pro/includes/fields/field-wysiwyg.php:75
|
3921 |
-
msgid "Automatically initialize TinyMCE when shown"
|
3922 |
-
msgstr "Initialiser automatiquement de TinyMCE lorsqu’il est affiché"
|
3923 |
-
|
3924 |
-
#: pro/includes/fields/field-wysiwyg.php:97
|
3925 |
-
#: pro/includes/fields/field-wysiwyg.php:117
|
3926 |
-
#: pro/includes/fields/field-wysiwyg.php:139
|
3927 |
-
msgid "Height"
|
3928 |
-
msgstr "Hauteur"
|
3929 |
-
|
3930 |
-
#: pro/includes/fields/field-wysiwyg.php:162
|
3931 |
-
msgid "Valid Elements"
|
3932 |
-
msgstr "Éléments valides"
|
3933 |
-
|
3934 |
-
#: pro/includes/fields/field-wysiwyg.php:165
|
3935 |
-
msgid "Set custom valid HTML tags"
|
3936 |
-
msgstr "Définir des balises HTML valides personnalisées"
|
3937 |
-
|
3938 |
-
#: pro/includes/fields/field-wysiwyg.php:183
|
3939 |
-
msgid "Custom Style"
|
3940 |
-
msgstr "Style personnalisé"
|
3941 |
-
|
3942 |
-
#: pro/includes/fields/field-wysiwyg.php:186
|
3943 |
-
msgid "Add multiple files separated with comma"
|
3944 |
-
msgstr "Ajouter plusieurs fichiers séparés par une virgule"
|
3945 |
-
|
3946 |
-
#: pro/includes/fields/field-wysiwyg.php:197
|
3947 |
-
msgid "Disable WP Style"
|
3948 |
-
msgstr "Désactiver le style WP"
|
3949 |
-
|
3950 |
-
#: pro/includes/fields/field-wysiwyg.php:200
|
3951 |
-
msgid "Remove TinyMCE builtin stylesheets"
|
3952 |
-
msgstr "Supprimer les feuilles de style intégrées TinyMCE"
|
3953 |
-
|
3954 |
-
#: pro/includes/fields/field-wysiwyg.php:209
|
3955 |
-
msgid "Autoresize"
|
3956 |
-
msgstr "Mise en forme automatique"
|
3957 |
-
|
3958 |
-
#: pro/includes/fields/field-wysiwyg.php:212
|
3959 |
-
msgid "Height will be based on the editor content"
|
3960 |
-
msgstr "La hauteur sera basée sur le contenu de l’éditeur"
|
3961 |
-
|
3962 |
-
#: pro/includes/fields/field-wysiwyg.php:221
|
3963 |
-
msgid "Disable Resize"
|
3964 |
-
msgstr "Désactiver le redimensionnement"
|
3965 |
-
|
3966 |
-
#: pro/includes/fields/field-wysiwyg.php:224
|
3967 |
-
msgid "Remove the editor resize functionality"
|
3968 |
-
msgstr "Supprimer la fonctionnalité de redimensionnement de l’éditeur"
|
3969 |
-
|
3970 |
-
#: pro/includes/fields/field-wysiwyg.php:233
|
3971 |
-
msgid "Disable Path"
|
3972 |
-
msgstr "Désactiver le chemin d’accès"
|
3973 |
-
|
3974 |
-
#: pro/includes/fields/field-wysiwyg.php:236
|
3975 |
-
msgid "Hide the editor path status bar"
|
3976 |
-
msgstr "Masquer la barre d’état du chemin d’accès de l’éditeur"
|
3977 |
-
|
3978 |
-
#: pro/includes/fields/field-wysiwyg.php:245
|
3979 |
-
msgid "Menu Bar"
|
3980 |
-
msgstr "Barre de menu"
|
3981 |
-
|
3982 |
-
#: pro/includes/fields/field-wysiwyg.php:248
|
3983 |
-
msgid "Show the menu bar on top of the editor"
|
3984 |
-
msgstr "Afficher la barre de menus en haut de l’éditeur"
|
3985 |
-
|
3986 |
-
#: pro/includes/fields/field-wysiwyg.php:257
|
3987 |
-
msgid "Transparent Editor"
|
3988 |
-
msgstr "Éditeur transparent"
|
3989 |
-
|
3990 |
-
#: pro/includes/fields/field-wysiwyg.php:260
|
3991 |
-
msgid "Set the editor's background as transparent"
|
3992 |
-
msgstr "Définir l’arrière-plan de l’éditeur comme transparent"
|
3993 |
-
|
3994 |
-
#: pro/includes/fields/field-wysiwyg.php:269
|
3995 |
-
msgid "Merge Toolbars"
|
3996 |
-
msgstr "Fusionner les barres d’outils"
|
3997 |
-
|
3998 |
-
#: pro/includes/fields/field-wysiwyg.php:272
|
3999 |
-
msgid "Glue editor toolbars together"
|
4000 |
-
msgstr "Coller les barres d’outils de l’éditeur ensemble"
|
4001 |
-
|
4002 |
-
#: pro/includes/fields/field-wysiwyg.php:281
|
4003 |
-
msgid "Customize Toolbar"
|
4004 |
-
msgstr "Personnaliser la barre d’outils"
|
4005 |
-
|
4006 |
-
#: pro/includes/fields/field-wysiwyg.php:349
|
4007 |
-
msgid "+ Add button"
|
4008 |
-
msgstr "+ Bouton Ajouter"
|
4009 |
-
|
4010 |
-
#: pro/includes/fields/field-wysiwyg.php:445
|
4011 |
-
msgid "Custom Toolbar Buttons"
|
4012 |
-
msgstr "Boutons de barre d’outils personnalisés"
|
4013 |
-
|
4014 |
-
#: pro/includes/locations/attachment-list.php:206
|
4015 |
-
#: pro/includes/locations/user-list.php:204
|
4016 |
-
msgid "List"
|
4017 |
-
msgstr "Liste"
|
4018 |
-
|
4019 |
-
#: pro/includes/locations/menu-item-depth.php:14
|
4020 |
-
msgid "Menu Item Depth"
|
4021 |
-
msgstr "Profondeur de l’élément de menu"
|
4022 |
-
|
4023 |
-
#: pro/includes/locations/menu-item-depth.php:45
|
4024 |
-
#: pro/includes/locations/post-date-time.php:59
|
4025 |
-
#: pro/includes/locations/post-date.php:59
|
4026 |
-
#: pro/includes/locations/post-time.php:59
|
4027 |
-
msgid "is less than"
|
4028 |
-
msgstr "est inférieur à"
|
4029 |
-
|
4030 |
-
#: pro/includes/locations/menu-item-depth.php:46
|
4031 |
-
#: pro/includes/locations/post-date-time.php:60
|
4032 |
-
#: pro/includes/locations/post-date.php:60
|
4033 |
-
#: pro/includes/locations/post-time.php:60
|
4034 |
-
msgid "is less or equal to"
|
4035 |
-
msgstr "est inférieur ou égal à"
|
4036 |
-
|
4037 |
-
#: pro/includes/locations/menu-item-depth.php:47
|
4038 |
-
#: pro/includes/locations/post-date-time.php:61
|
4039 |
-
#: pro/includes/locations/post-date.php:61
|
4040 |
-
#: pro/includes/locations/post-time.php:61
|
4041 |
-
msgid "is greater than"
|
4042 |
-
msgstr "est supérieur à"
|
4043 |
-
|
4044 |
-
#: pro/includes/locations/menu-item-depth.php:48
|
4045 |
-
#: pro/includes/locations/post-date-time.php:62
|
4046 |
-
#: pro/includes/locations/post-date.php:62
|
4047 |
-
#: pro/includes/locations/post-time.php:62
|
4048 |
-
msgid "is greater or equal to"
|
4049 |
-
msgstr "est supérieur ou égal à"
|
4050 |
-
|
4051 |
-
#: pro/includes/locations/menu-item-type.php:14
|
4052 |
-
msgid "Menu Item Type"
|
4053 |
-
msgstr "Type d’entrée de menu"
|
4054 |
-
|
4055 |
-
#: pro/includes/locations/menu-item-type.php:22
|
4056 |
-
msgid "Custom"
|
4057 |
-
msgstr "Personnalisé"
|
4058 |
-
|
4059 |
-
#: pro/includes/locations/post-author-role.php:14
|
4060 |
-
msgid "Post Author Role"
|
4061 |
-
msgstr "Rôle d’auteur de publication"
|
4062 |
-
|
4063 |
-
#: pro/includes/locations/post-author.php:14
|
4064 |
-
msgid "Post Author"
|
4065 |
-
msgstr "Auteur de l’article"
|
4066 |
-
|
4067 |
-
#: pro/includes/locations/post-date-time.php:14
|
4068 |
-
msgid "Post Date Time"
|
4069 |
-
msgstr "Date de publication, heure"
|
4070 |
-
|
4071 |
-
#: pro/includes/locations/post-date.php:14
|
4072 |
-
msgid "Post Date"
|
4073 |
-
msgstr "Date de l'article"
|
4074 |
-
|
4075 |
-
#: pro/includes/locations/post-path.php:14
|
4076 |
-
msgid "Post Path"
|
4077 |
-
msgstr "Chemin de publication"
|
4078 |
-
|
4079 |
-
#: pro/includes/locations/post-path.php:44
|
4080 |
-
#: pro/includes/locations/post-slug.php:44
|
4081 |
-
#: pro/includes/locations/post-title.php:44
|
4082 |
-
#: pro/includes/locations/taxonomy-term-name.php:44
|
4083 |
-
#: pro/includes/locations/taxonomy-term-slug.php:44
|
4084 |
-
msgid "contains"
|
4085 |
-
msgstr "contient"
|
4086 |
-
|
4087 |
-
#: pro/includes/locations/post-path.php:45
|
4088 |
-
#: pro/includes/locations/post-slug.php:45
|
4089 |
-
#: pro/includes/locations/post-title.php:45
|
4090 |
-
#: pro/includes/locations/taxonomy-term-name.php:45
|
4091 |
-
#: pro/includes/locations/taxonomy-term-slug.php:45
|
4092 |
-
msgid "doesn't contains"
|
4093 |
-
msgstr "ne contient pas"
|
4094 |
-
|
4095 |
-
#: pro/includes/locations/post-path.php:46
|
4096 |
-
#: pro/includes/locations/post-slug.php:46
|
4097 |
-
#: pro/includes/locations/post-title.php:46
|
4098 |
-
#: pro/includes/locations/taxonomy-term-name.php:46
|
4099 |
-
#: pro/includes/locations/taxonomy-term-slug.php:46
|
4100 |
-
msgid "starts with"
|
4101 |
-
msgstr "commence par"
|
4102 |
-
|
4103 |
-
#: pro/includes/locations/post-path.php:47
|
4104 |
-
#: pro/includes/locations/post-slug.php:47
|
4105 |
-
#: pro/includes/locations/post-title.php:47
|
4106 |
-
#: pro/includes/locations/taxonomy-term-name.php:47
|
4107 |
-
#: pro/includes/locations/taxonomy-term-slug.php:47
|
4108 |
-
msgid "doesn't starts with"
|
4109 |
-
msgstr "ne commence pas par"
|
4110 |
-
|
4111 |
-
#: pro/includes/locations/post-path.php:48
|
4112 |
-
#: pro/includes/locations/post-slug.php:48
|
4113 |
-
#: pro/includes/locations/post-title.php:48
|
4114 |
-
#: pro/includes/locations/taxonomy-term-name.php:48
|
4115 |
-
#: pro/includes/locations/taxonomy-term-slug.php:48
|
4116 |
-
msgid "ends with"
|
4117 |
-
msgstr "se termine par"
|
4118 |
-
|
4119 |
-
#: pro/includes/locations/post-path.php:49
|
4120 |
-
#: pro/includes/locations/post-slug.php:49
|
4121 |
-
#: pro/includes/locations/post-title.php:49
|
4122 |
-
#: pro/includes/locations/taxonomy-term-name.php:49
|
4123 |
-
#: pro/includes/locations/taxonomy-term-slug.php:49
|
4124 |
-
msgid "doesn't ends with"
|
4125 |
-
msgstr "ne finit pas par"
|
4126 |
-
|
4127 |
-
#: pro/includes/locations/post-path.php:50
|
4128 |
-
#: pro/includes/locations/post-slug.php:50
|
4129 |
-
#: pro/includes/locations/post-title.php:50
|
4130 |
-
#: pro/includes/locations/taxonomy-term-name.php:50
|
4131 |
-
#: pro/includes/locations/taxonomy-term-slug.php:50
|
4132 |
-
msgid "matches regex"
|
4133 |
-
msgstr "correspond au regex"
|
4134 |
-
|
4135 |
-
#: pro/includes/locations/post-path.php:51
|
4136 |
-
#: pro/includes/locations/post-slug.php:51
|
4137 |
-
#: pro/includes/locations/post-title.php:51
|
4138 |
-
#: pro/includes/locations/taxonomy-term-name.php:51
|
4139 |
-
#: pro/includes/locations/taxonomy-term-slug.php:51
|
4140 |
-
msgid "doesn't matches regex"
|
4141 |
-
msgstr "ne correspond pas à la regex"
|
4142 |
-
|
4143 |
-
#: pro/includes/locations/post-screen.php:14
|
4144 |
-
msgid "Post Screen"
|
4145 |
-
msgstr "Écran de publication"
|
4146 |
-
|
4147 |
-
#: pro/includes/locations/post-slug.php:14
|
4148 |
-
msgid "Post Slug"
|
4149 |
-
msgstr "Jeton d'article"
|
4150 |
-
|
4151 |
-
#: pro/includes/locations/post-time.php:14
|
4152 |
-
msgid "Post Time"
|
4153 |
-
msgstr "Heure de l’article"
|
4154 |
-
|
4155 |
-
#: pro/includes/locations/post-title.php:14
|
4156 |
-
msgid "Post Title"
|
4157 |
-
msgstr "Titre de l'article"
|
4158 |
-
|
4159 |
-
#: pro/includes/locations/settings.php:78
|
4160 |
-
msgid "WP Settings"
|
4161 |
-
msgstr "Paramètres WordPress"
|
4162 |
-
|
4163 |
-
#: pro/includes/locations/settings.php:88
|
4164 |
-
msgctxt "settings screen"
|
4165 |
-
msgid "General"
|
4166 |
-
msgstr "Général"
|
4167 |
-
|
4168 |
-
#: pro/includes/locations/settings.php:89
|
4169 |
-
msgid "Writing"
|
4170 |
-
msgstr "Ecriture"
|
4171 |
-
|
4172 |
-
#: pro/includes/locations/settings.php:90
|
4173 |
-
msgid "Reading"
|
4174 |
-
msgstr "En train de lire"
|
4175 |
-
|
4176 |
-
#: pro/includes/locations/settings.php:92
|
4177 |
-
msgid "Media"
|
4178 |
-
msgstr "Média"
|
4179 |
-
|
4180 |
-
#: pro/includes/locations/settings.php:93
|
4181 |
-
msgid "Permalinks"
|
4182 |
-
msgstr "Permaliens"
|
4183 |
-
|
4184 |
-
#: pro/includes/locations/taxonomy-term-name.php:14
|
4185 |
-
msgid "Taxonomy Term Name"
|
4186 |
-
msgstr "Nom du terme de taxonomie"
|
4187 |
-
|
4188 |
-
#: pro/includes/locations/taxonomy-term-parent.php:14
|
4189 |
-
msgid "Taxonomy Term Parent"
|
4190 |
-
msgstr "Parent du terme de taxonomie"
|
4191 |
-
|
4192 |
-
#: pro/includes/locations/taxonomy-term-slug.php:14
|
4193 |
-
msgid "Taxonomy Term Slug"
|
4194 |
-
msgstr "Terme de taxonomie Slug"
|
4195 |
-
|
4196 |
-
#: pro/includes/locations/taxonomy-term-type.php:14
|
4197 |
-
msgid "Taxonomy Term Type"
|
4198 |
-
msgstr "Type de terme de taxonomie"
|
4199 |
-
|
4200 |
-
#: pro/includes/locations/taxonomy-term-type.php:22
|
4201 |
-
msgid "Top Level Term (no parent)"
|
4202 |
-
msgstr "Terme de niveau supérieur (aucun parent)"
|
4203 |
-
|
4204 |
-
#: pro/includes/locations/taxonomy-term-type.php:23
|
4205 |
-
msgid "Parent Term (has children)"
|
4206 |
-
msgstr "Terme parent (a des enfants)"
|
4207 |
-
|
4208 |
-
#: pro/includes/locations/taxonomy-term-type.php:24
|
4209 |
-
msgid "Child Term (has parent)"
|
4210 |
-
msgstr "Terme enfant (a un parent)"
|
4211 |
-
|
4212 |
-
#: pro/includes/locations/taxonomy-term.php:14
|
4213 |
-
msgid "Taxonomy Term"
|
4214 |
-
msgstr "Terme de taxonomie"
|
4215 |
-
|
4216 |
-
#: pro/includes/modules/dev.php:87 pro/includes/modules/dev.php:177
|
4217 |
-
#: pro/includes/modules/dev.php:244 pro/includes/modules/dev.php:344
|
4218 |
-
#: pro/includes/modules/dev.php:400 pro/includes/modules/dev.php:456
|
4219 |
-
#: pro/includes/modules/dev.php:510
|
4220 |
-
msgid "Object data"
|
4221 |
-
msgstr "Données objet"
|
4222 |
-
|
4223 |
-
#: pro/includes/modules/dev.php:88
|
4224 |
-
msgid "Post Object"
|
4225 |
-
msgstr "Objet de l'article"
|
4226 |
-
|
4227 |
-
#: pro/includes/modules/dev.php:91 pro/includes/modules/dev.php:181
|
4228 |
-
#: pro/includes/modules/dev.php:248 pro/includes/modules/dev.php:299
|
4229 |
-
#: pro/includes/modules/dev.php:348 pro/includes/modules/dev.php:404
|
4230 |
-
#: pro/includes/modules/dev.php:460 pro/includes/modules/dev.php:514
|
4231 |
-
#: pro/includes/modules/dev.php:563
|
4232 |
-
msgid "Meta count"
|
4233 |
-
msgstr "Nombre de meta"
|
4234 |
-
|
4235 |
-
#: pro/includes/modules/dev.php:94 pro/includes/modules/dev.php:184
|
4236 |
-
#: pro/includes/modules/dev.php:251 pro/includes/modules/dev.php:302
|
4237 |
-
#: pro/includes/modules/dev.php:351 pro/includes/modules/dev.php:407
|
4238 |
-
#: pro/includes/modules/dev.php:463 pro/includes/modules/dev.php:517
|
4239 |
-
#: pro/includes/modules/dev.php:566
|
4240 |
-
msgid "Clean"
|
4241 |
-
msgstr "Nettoyer"
|
4242 |
-
|
4243 |
-
#: pro/includes/modules/dev.php:100 pro/includes/modules/dev.php:190
|
4244 |
-
#: pro/includes/modules/dev.php:257 pro/includes/modules/dev.php:308
|
4245 |
-
#: pro/includes/modules/dev.php:357 pro/includes/modules/dev.php:413
|
4246 |
-
#: pro/includes/modules/dev.php:469 pro/includes/modules/dev.php:523
|
4247 |
-
#: pro/includes/modules/dev.php:572
|
4248 |
-
msgid "Single meta"
|
4249 |
-
msgstr "Méta unique"
|
4250 |
-
|
4251 |
-
#: pro/includes/modules/dev.php:101 pro/includes/modules/dev.php:191
|
4252 |
-
#: pro/includes/modules/dev.php:258 pro/includes/modules/dev.php:309
|
4253 |
-
#: pro/includes/modules/dev.php:358 pro/includes/modules/dev.php:414
|
4254 |
-
#: pro/includes/modules/dev.php:470 pro/includes/modules/dev.php:524
|
4255 |
-
#: pro/includes/modules/dev.php:573
|
4256 |
-
msgid "Enabled"
|
4257 |
-
msgstr "Activé"
|
4258 |
-
|
4259 |
-
#: pro/includes/modules/dev.php:178
|
4260 |
-
msgid "Term Object"
|
4261 |
-
msgstr "Objet du terme"
|
4262 |
-
|
4263 |
-
#: pro/includes/modules/dev.php:245
|
4264 |
-
msgid "User Object"
|
4265 |
-
msgstr "Objet utilisateur"
|
4266 |
-
|
4267 |
-
#: pro/includes/modules/dev.php:345
|
4268 |
-
msgid "Options Page Object"
|
4269 |
-
msgstr "Objet de Page Options"
|
4270 |
-
|
4271 |
-
#: pro/includes/modules/dev.php:401 pro/includes/modules/dev.php:511
|
4272 |
-
msgid "Post Type Object"
|
4273 |
-
msgstr "Object du type de publication"
|
4274 |
-
|
4275 |
-
#: pro/includes/modules/dev.php:457
|
4276 |
-
msgid "Taxonomy Object"
|
4277 |
-
msgstr "Objet de la taxonomie"
|
4278 |
-
|
4279 |
-
#: pro/includes/modules/dev.php:633
|
4280 |
-
msgid "Users"
|
4281 |
-
msgstr "Utilisateurs"
|
4282 |
-
|
4283 |
-
#: pro/includes/modules/global-field-condition.php:60
|
4284 |
-
msgid "Set as Global Conditional Logic"
|
4285 |
-
msgstr "Définir comme logique conditionnelle globale"
|
4286 |
-
|
4287 |
-
#: pro/includes/modules/rewrite-rules.php:37
|
4288 |
-
#: pro/includes/modules/rewrite-rules.php:183
|
4289 |
-
msgid "Rewrite Rules"
|
4290 |
-
msgstr "Règles de réécriture"
|
4291 |
-
|
4292 |
-
#: pro/includes/modules/scripts-list.php:30
|
4293 |
-
msgid "Script"
|
4294 |
-
msgstr "Script"
|
4295 |
-
|
4296 |
-
#: pro/includes/modules/scripts-list.php:31 pro/includes/modules/scripts.php:53
|
4297 |
-
#: pro/includes/modules/scripts.php:365
|
4298 |
-
msgid "Scripts"
|
4299 |
-
msgstr "Scripts"
|
4300 |
-
|
4301 |
-
#: pro/includes/modules/scripts-list.php:137
|
4302 |
-
msgid "No scripts avaliable."
|
4303 |
-
msgstr "Aucun script disponible."
|
4304 |
-
|
4305 |
-
#: pro/includes/modules/scripts-list.php:199
|
4306 |
-
msgid "Run now"
|
4307 |
-
msgstr "Exécuter maintenant"
|
4308 |
-
|
4309 |
-
#: pro/includes/modules/scripts.php:89
|
4310 |
-
msgid "Sorry, you are not allowed to access this page."
|
4311 |
-
msgstr "Désolé, vous n'êtes pas autorisé à accéder à cette page."
|
4312 |
-
|
4313 |
-
#: pro/includes/modules/scripts.php:282
|
4314 |
-
msgid "Total"
|
4315 |
-
msgstr "Total"
|
4316 |
-
|
4317 |
-
#: pro/includes/modules/scripts.php:283
|
4318 |
-
msgid "Items left"
|
4319 |
-
msgstr "Objets restants"
|
4320 |
-
|
4321 |
-
#: pro/includes/modules/scripts.php:284
|
4322 |
-
msgid "Time left"
|
4323 |
-
msgstr "Temps restant"
|
4324 |
-
|
4325 |
-
#: pro/includes/modules/scripts.php:285
|
4326 |
-
msgid "Timer"
|
4327 |
-
msgstr "Minuteur"
|
4328 |
-
|
4329 |
-
#: pro/includes/modules/scripts/script-orphan-meta-cleaner.php:127
|
4330 |
-
#: pro/includes/modules/scripts/script-single-meta-converter.php:127
|
4331 |
-
msgid "No options pages"
|
4332 |
-
msgstr "Aucune pages d’options"
|
4333 |
-
|
4334 |
-
#: pro/includes/modules/scripts/script-orphan-meta-cleaner.php:293
|
4335 |
-
msgid "Script finished."
|
4336 |
-
msgstr "Script terminé."
|
4337 |
-
|
4338 |
-
#: pro/includes/modules/templates.php:24
|
4339 |
-
msgid "Locations"
|
4340 |
-
msgstr "Emplacements"
|
4341 |
-
|
4342 |
-
#: pro/includes/modules/templates.php:75
|
4343 |
-
msgid "Template"
|
4344 |
-
msgstr "Modèle"
|
4345 |
-
|
4346 |
-
#: pro/includes/modules/templates.php:77
|
4347 |
-
msgid "Edit Template"
|
4348 |
-
msgstr "Modifier le modèle"
|
4349 |
-
|
4350 |
-
#: pro/includes/modules/templates.php:78
|
4351 |
-
msgid "New Template"
|
4352 |
-
msgstr "Nouveau modèle"
|
4353 |
-
|
4354 |
-
#: pro/includes/modules/templates.php:174
|
4355 |
-
msgid "You are currently editing a Dynamic Template."
|
4356 |
-
msgstr "Vous modifiez actuellement un modèle dynamique."
|
4357 |
-
|
4358 |
-
#: pro/includes/modules/templates.php:200
|
4359 |
-
msgid "Instructions"
|
4360 |
-
msgstr "Instructions"
|
4361 |
-
|
4362 |
-
#: pro/includes/modules/templates.php:687
|
4363 |
-
msgid "Dynamic Template"
|
4364 |
-
msgstr "Modèle dynamique"
|
4365 |
-
|
4366 |
-
#: pro/includes/modules/templates.php:699
|
4367 |
-
msgid "is equal to"
|
4368 |
-
msgstr "est égal à"
|
4369 |
-
|
4370 |
-
#: pro/includes/modules/templates.php:721
|
4371 |
-
msgid "No templates found"
|
4372 |
-
msgstr "Aucun modèle trouvé"
|
4373 |
-
|
4374 |
-
#: pro/includes/updater.php:253
|
4375 |
-
#, php-format
|
4376 |
-
msgid ""
|
4377 |
-
"There is a new version of %1$s available. %2$sView version %3$s details%4$s."
|
4378 |
-
msgstr ""
|
4379 |
-
"Il existe une nouvelle version disponible de %1$s. %2$s Afficher la version "
|
4380 |
-
"%3$s details %4$s."
|
4381 |
-
|
4382 |
-
#: pro/includes/updater.php:261
|
4383 |
-
#, php-format
|
4384 |
-
msgid ""
|
4385 |
-
"There is a new version of %1$s available. %2$sView version %3$s details%4$s "
|
4386 |
-
"or %5$supdate now%6$s."
|
4387 |
-
msgstr ""
|
4388 |
-
"Il y a une nouvelle version disponible de %1$s. %2$s Afficher la version "
|
4389 |
-
"%3$s détails %4$s ou %5$s mettre à jour maintenant %6$s."
|
4390 |
-
|
4391 |
-
#: pro/includes/updater.php:510
|
4392 |
-
msgid "You do not have permission to install plugin updates"
|
4393 |
-
msgstr ""
|
4394 |
-
"Vous n’avez pas la permission d’installer les mises à jour de l’extension"
|
4395 |
-
|
4396 |
-
#: pro/includes/updater.php:510
|
4397 |
-
msgid "Error"
|
4398 |
-
msgstr "Erreur"
|
4399 |
-
|
4400 |
-
#: pro/includes/updates.php:246
|
4401 |
-
msgid "Deactivate License"
|
4402 |
-
msgstr "Désactiver la licence"
|
4403 |
-
|
4404 |
-
#: pro/includes/updates.php:246
|
4405 |
-
msgid "Activate License"
|
4406 |
-
msgstr "Activer la licence"
|
4407 |
-
|
4408 |
-
#: pro/includes/updates.php:286
|
4409 |
-
msgid "ACF Extended: License Information"
|
4410 |
-
msgstr "ACF Extended : informations de licence"
|
4411 |
-
|
4412 |
-
#: pro/includes/updates.php:290
|
4413 |
-
#, php-format
|
4414 |
-
msgid ""
|
4415 |
-
"To unlock updates, please enter your license key below. If you don't have a "
|
4416 |
-
"licence key, please see <a href=\"%s\" target=\"_blank\">details & pricing</"
|
4417 |
-
"a>."
|
4418 |
-
msgstr ""
|
4419 |
-
"Pour débloquer les mises à jour, veuillez saisir votre clé de licence ci-"
|
4420 |
-
"dessous. Si vous n’en possédez pas encore une, jetez un œil à nos <a href="
|
4421 |
-
"\"%s\" target=\"_blank\">détails & tarifs</a>."
|
4422 |
-
|
4423 |
-
#: pro/includes/updates.php:300
|
4424 |
-
msgid "License Key"
|
4425 |
-
msgstr "Clé de licence"
|
4426 |
-
|
4427 |
-
#: pro/includes/updates.php:332
|
4428 |
-
msgid "ACF Extended: Update Information"
|
4429 |
-
msgstr "ACF Extended : informations de mise à jour"
|
4430 |
-
|
4431 |
-
#: pro/includes/updates.php:339
|
4432 |
-
msgid "Current Version"
|
4433 |
-
msgstr "Version Actuelle"
|
4434 |
-
|
4435 |
-
#: pro/includes/updates.php:348
|
4436 |
-
msgid "Latest Version"
|
4437 |
-
msgstr "Dernière version"
|
4438 |
-
|
4439 |
-
#: pro/includes/updates.php:357
|
4440 |
-
msgid "Update Available"
|
4441 |
-
msgstr "Mise à jour disponible"
|
4442 |
-
|
4443 |
-
#: pro/includes/updates.php:366
|
4444 |
-
msgid "Update Plugin"
|
4445 |
-
msgstr "Mettre à jour l'extension"
|
4446 |
-
|
4447 |
-
#: pro/includes/updates.php:369
|
4448 |
-
msgid "Please enter your license key above to unlock updates"
|
4449 |
-
msgstr "Ajouter une clé pour obtenir les futures mise à jour"
|
4450 |
-
|
4451 |
-
#: pro/includes/updates.php:375
|
4452 |
-
msgid "Check Again"
|
4453 |
-
msgstr "Vérifier à nouveau"
|
4454 |
-
|
4455 |
-
#: pro/includes/updates.php:383
|
4456 |
-
msgid "Changelog"
|
4457 |
-
msgstr "Changelog"
|
4458 |
-
|
4459 |
-
#: pro/includes/updates.php:422
|
4460 |
-
msgid "An error occurred, please try again."
|
4461 |
-
msgstr "Une erreur est survenue, veuillez réessayer."
|
4462 |
-
|
4463 |
-
#: pro/includes/updates.php:426
|
4464 |
-
msgid "Your license key has expired."
|
4465 |
-
msgstr "Votre clé de licence a expiré."
|
4466 |
-
|
4467 |
-
#: pro/includes/updates.php:430
|
4468 |
-
msgid "Your license key has been disabled."
|
4469 |
-
msgstr "Votre clé de licence a été désactivée."
|
4470 |
-
|
4471 |
-
#: pro/includes/updates.php:434
|
4472 |
-
msgid "Licence key invalid."
|
4473 |
-
msgstr "Clé de licence non valide."
|
4474 |
-
|
4475 |
-
#: pro/includes/updates.php:438
|
4476 |
-
msgid "Your license is not active for this URL."
|
4477 |
-
msgstr "Votre licence n'est pas active pour cette URL."
|
4478 |
-
|
4479 |
-
#: pro/includes/updates.php:442
|
4480 |
-
msgid "This appears to be an invalid license key for ACF Extended Pro."
|
4481 |
-
msgstr "Cette clé de licence semble être invalide pour ACF Extended Pro."
|
4482 |
-
|
4483 |
-
#: pro/includes/updates.php:446
|
4484 |
-
msgid "Your license key has reached its activation limit."
|
4485 |
-
msgstr "Votre clé de licence a atteint sa limite d'activation."
|
4486 |
-
|
4487 |
-
#: pro/includes/updates.php:450
|
4488 |
-
msgid "<b>Licence key activated</b>. Updates are now enabled."
|
4489 |
-
msgstr ""
|
4490 |
-
"<b>Clé de licence activée</b>. Les mises à jour sont maintenant activées."
|
4491 |
-
|
4492 |
-
#. Plugin Name of the plugin/theme
|
4493 |
-
msgid "Advanced Custom Fields: Extended PRO"
|
4494 |
-
msgstr "Advanced Custom Fields: Extended PRO"
|
4495 |
-
|
4496 |
-
#. Plugin URI of the plugin/theme
|
4497 |
-
#. Author URI of the plugin/theme
|
4498 |
-
msgid "https://www.acf-extended.com"
|
4499 |
-
msgstr "https://www.acf-extended.com"
|
4500 |
-
|
4501 |
-
#. Description of the plugin/theme
|
4502 |
-
msgid ""
|
4503 |
-
"All-in-one enhancement suite that improves WordPress & Advanced Custom "
|
4504 |
-
"Fields."
|
4505 |
-
msgstr ""
|
4506 |
-
"Suite d’amélioration tout-en-un qui améliore WordPress & Advanced Custom "
|
4507 |
-
"Fields."
|
4508 |
-
|
4509 |
-
#. Author of the plugin/theme
|
4510 |
-
msgid "ACF Extended"
|
4511 |
-
msgstr "ACF Extended"
|
4512 |
-
|
4513 |
-
#~ msgid "Username may not be longer than 60 characters"
|
4514 |
-
#~ msgstr "Le nom d'utilisateur ne peut pas excéder 60 caractères"
|
4515 |
-
|
4516 |
-
#~ msgid ""
|
4517 |
-
#~ "Value <code style=\"font-size:11px;float:right; line-height:1.2; margin-"
|
4518 |
-
#~ "top:1px;\">"
|
4519 |
-
#~ msgstr ""
|
4520 |
-
#~ "Valeur <code style=\"font-size:11px;float:right; line-height:1.2; margin-"
|
4521 |
-
#~ "top:1px;\">"
|
4522 |
-
|
4523 |
-
#~ msgid "Value "
|
4524 |
-
#~ msgstr "Valeur "
|
4525 |
-
|
4526 |
-
#~ msgid "Server Validation"
|
4527 |
-
#~ msgstr "Validation du serveur"
|
4528 |
-
|
4529 |
-
#~ msgid "Payment meta is invalid."
|
4530 |
-
#~ msgstr "Les données meta du paiement sont invalides."
|
4531 |
-
|
4532 |
-
#~ msgid "Read more..."
|
4533 |
-
#~ msgstr "Lire la suite…"
|
4534 |
-
|
4535 |
-
#~ msgid "Dynamic Message"
|
4536 |
-
#~ msgstr "Message dynamique"
|
4537 |
-
|
4538 |
-
#~ msgid "Upgrade Notice"
|
4539 |
-
#~ msgstr "Avis de mise à jour"
|
4540 |
-
|
4541 |
-
#~ msgid ""
|
4542 |
-
#~ "<b>Licence key not found</b>. Make sure you have copied your licence key "
|
4543 |
-
#~ "exactly as it appears in your receipt."
|
4544 |
-
#~ msgstr ""
|
4545 |
-
#~ "<b>Clé de licence introuvable</b>. Assurez-vous d’avoir copié votre clé "
|
4546 |
-
#~ "de permis exactement telle qu’elle apparaît dans votre reçu."
|
4547 |
-
|
4548 |
-
#~ msgid "<b>Licence key deactivated</b>. Updates are now disabled."
|
4549 |
-
#~ msgstr ""
|
4550 |
-
#~ "<b>Clé de licence désactivée</b>. Les mises à jour sont maintenant "
|
4551 |
-
#~ "désactivées."
|
4552 |
-
|
4553 |
-
#~ msgid "Ajax call"
|
4554 |
-
#~ msgstr "Appel Ajax"
|
4555 |
-
|
4556 |
-
#~ msgid "Image Array"
|
4557 |
-
#~ msgstr "Image array()"
|
4558 |
-
|
4559 |
-
#~ msgid "Image URL"
|
4560 |
-
#~ msgstr "URL de l'image"
|
4561 |
-
|
4562 |
-
#~ msgid "Additional actions"
|
4563 |
-
#~ msgstr "Actions supplémentaires"
|
4564 |
-
|
4565 |
-
#~ msgid "Asynchronous settings"
|
4566 |
-
#~ msgstr "Paramètres asynchrones"
|
4567 |
-
|
4568 |
-
#~ msgid "Hide the empty message box"
|
4569 |
-
#~ msgstr "Masquer la boîte du message vide"
|
4570 |
-
|
4571 |
-
#~ msgid "Hide buttons"
|
4572 |
-
#~ msgstr "Masquer les boutons"
|
4573 |
-
|
4574 |
-
#, javascript-format
|
4575 |
-
#~ msgid "Not enough arguments following: %s"
|
4576 |
-
#~ msgstr "Pas assez d'arguments suivants: %s"
|
4577 |
-
|
4578 |
-
#, javascript-format
|
4579 |
-
#~ msgid "Invalid JSON config file: %s"
|
4580 |
-
#~ msgstr "Fichier de config JSON invalide : %s"
|
4581 |
-
|
4582 |
-
#~ msgid "Commands:"
|
4583 |
-
#~ msgstr "Commandes :"
|
4584 |
-
|
4585 |
-
#~ msgid "aliases:"
|
4586 |
-
#~ msgstr "alias :"
|
4587 |
-
|
4588 |
-
#~ msgid "boolean"
|
4589 |
-
#~ msgstr "boolean"
|
4590 |
-
|
4591 |
-
#~ msgid "string"
|
4592 |
-
#~ msgstr "chaîne"
|
4593 |
-
|
4594 |
-
#~ msgid "number"
|
4595 |
-
#~ msgstr "nombre"
|
4596 |
-
|
4597 |
-
#~ msgid "required"
|
4598 |
-
#~ msgstr "requis"
|
4599 |
-
|
4600 |
-
#~ msgid "choices:"
|
4601 |
-
#~ msgstr "choix :"
|
4602 |
-
|
4603 |
-
#~ msgid "Examples:"
|
4604 |
-
#~ msgstr "Exemples :"
|
4605 |
-
|
4606 |
-
#~ msgid "generated-value"
|
4607 |
-
#~ msgstr "valeur générée"
|
4608 |
-
|
4609 |
-
#, javascript-format
|
4610 |
-
#~ msgid "Not enough non-option arguments: got %s, need at least %s"
|
4611 |
-
#~ msgstr ""
|
4612 |
-
#~ "Pas assez des arguments sans option: obtenu %s, besoin d'au moins %s"
|
4613 |
-
|
4614 |
-
#, javascript-format
|
4615 |
-
#~ msgid "Too many non-option arguments: got %s, maximum of %s"
|
4616 |
-
#~ msgstr "Trop d'arguments sans option: obtenu %s, maximum de %s"
|
4617 |
-
|
4618 |
-
#, javascript-format
|
4619 |
-
#~ msgid "Argument: %s, Given: %s, Choices: %s"
|
4620 |
-
#~ msgstr "Argument: %s, Donné: %s, Choix: %s"
|
4621 |
-
|
4622 |
-
#, javascript-format
|
4623 |
-
#~ msgid "Argument check failed: %s"
|
4624 |
-
#~ msgstr "Vérification d'argument a échoué: %s"
|
4625 |
-
|
4626 |
-
#~ msgid "Implications failed:"
|
4627 |
-
#~ msgstr "Les implications ont échoué :"
|
4628 |
-
|
4629 |
-
#, javascript-format
|
4630 |
-
#~ msgid "Arguments %s and %s are mutually exclusive"
|
4631 |
-
#~ msgstr "Les arguments %s et %s sont mutuellement exclusifs"
|
4632 |
-
|
4633 |
-
#, javascript-format
|
4634 |
-
#~ msgid "Did you mean %s?"
|
4635 |
-
#~ msgstr "Vous vouliez dire %s ?"
|
1 |
+
msgid ""
|
2 |
+
msgstr ""
|
3 |
+
"Project-Id-Version: Advanced Custom Fields: Extended\n"
|
4 |
+
"POT-Creation-Date: 2022-09-22 05:24+0200\n"
|
5 |
+
"PO-Revision-Date: 2022-09-22 05:24+0200\n"
|
6 |
+
"Last-Translator: \n"
|
7 |
+
"Language-Team: https://www.acf-extended.com\n"
|
8 |
+
"Language: fr_FR\n"
|
9 |
+
"MIME-Version: 1.0\n"
|
10 |
+
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
+
"Content-Transfer-Encoding: 8bit\n"
|
12 |
+
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
|
13 |
+
"X-Generator: Poedit 3.1.1\n"
|
14 |
+
"X-Poedit-Basepath: ..\n"
|
15 |
+
"X-Poedit-Flags-xgettext: --add-comments=translators:\n"
|
16 |
+
"X-Poedit-WPHeader: acf-extended.php\n"
|
17 |
+
"X-Poedit-SourceCharset: UTF-8\n"
|
18 |
+
"X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;"
|
19 |
+
"esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;"
|
20 |
+
"_nx_noop:3c,1,2;__ngettext_noop:1,2\n"
|
21 |
+
"X-Poedit-SearchPath-0: .\n"
|
22 |
+
"X-Poedit-SearchPathExcluded-0: *.min.js\n"
|
23 |
+
"X-Poedit-SearchPathExcluded-1: .build\n"
|
24 |
+
|
25 |
+
#: assets/js/acfe-admin.js:344 includes/modules/options-pages.php:301
|
26 |
+
#: includes/modules/options.php:470 pro/includes/updates.php:362
|
27 |
+
msgid "Yes"
|
28 |
+
msgstr "Oui"
|
29 |
+
|
30 |
+
#: assets/js/acfe-admin.js:345 includes/modules/options-pages.php:301
|
31 |
+
#: includes/modules/options.php:469 pro/includes/updates.php:374
|
32 |
+
msgid "No"
|
33 |
+
msgstr "Non"
|
34 |
+
|
35 |
+
#: assets/js/acfe-input.js:106 assets/js/acfe-input.js:407
|
36 |
+
#: assets/js/acfe-input.js:743 assets/js/acfe-input.js:1521
|
37 |
+
#: assets/js/acfe-input.js:2279 includes/assets.php:130
|
38 |
+
#: includes/field-groups/field-group-meta.php:146
|
39 |
+
#: includes/fields-settings/data.php:83
|
40 |
+
#: includes/fields/field-flexible-content.php:781
|
41 |
+
#: includes/fields/field-flexible-content.php:787 includes/modules/dev.php:132
|
42 |
+
#: pro/assets/js/acfe-pro-admin.js:397 pro/assets/js/acfe-pro-input.js:671
|
43 |
+
#: pro/includes/field-groups/field-group-ui.php:444
|
44 |
+
#: pro/includes/fields/field-payment.php:472 pro/includes/modules/dev.php:88
|
45 |
+
#: pro/includes/modules/dev.php:178 pro/includes/modules/dev.php:245
|
46 |
+
#: pro/includes/modules/dev.php:345 pro/includes/modules/dev.php:401
|
47 |
+
#: pro/includes/modules/dev.php:457 pro/includes/modules/dev.php:511
|
48 |
+
msgid "Close"
|
49 |
+
msgstr "Fermer"
|
50 |
+
|
51 |
+
#: assets/js/acfe-input.js:1636 includes/fields/field-flexible-content.php:289
|
52 |
+
msgid "Add Row"
|
53 |
+
msgstr "Ajouter une rangée"
|
54 |
+
|
55 |
+
#: includes/acfe-field-functions.php:520 includes/modules/forms-helpers.php:242
|
56 |
+
#: includes/modules/forms-helpers.php:271 includes/modules/module.php:534
|
57 |
+
msgid "no label"
|
58 |
+
msgstr "pas de label"
|
59 |
+
|
60 |
+
#: includes/acfe-field-group-functions.php:468
|
61 |
+
#: includes/modules/block-types.php:177 includes/modules/options-pages.php:181
|
62 |
+
#: pro/includes/fields/field-field-groups.php:17
|
63 |
+
msgid "Field Groups"
|
64 |
+
msgstr "Groupes de champs"
|
65 |
+
|
66 |
+
#: includes/acfe-field-group-functions.php:483
|
67 |
+
msgid "edit"
|
68 |
+
msgstr "éditer"
|
69 |
+
|
70 |
+
#: includes/acfe-file-functions.php:204
|
71 |
+
#: includes/field-groups/field-groups.php:783
|
72 |
+
#: includes/field-groups/field-groups.php:793
|
73 |
+
#: includes/field-groups/field-groups.php:803
|
74 |
+
msgid "Located"
|
75 |
+
msgstr "Situé"
|
76 |
+
|
77 |
+
#: includes/acfe-file-functions.php:205
|
78 |
+
msgid "Not found"
|
79 |
+
msgstr "Introuvable"
|
80 |
+
|
81 |
+
#: includes/acfe-file-functions.php:220 includes/acfe-file-functions.php:231
|
82 |
+
#: includes/field-groups/field-groups.php:786
|
83 |
+
msgid "in theme:"
|
84 |
+
msgstr "dans le thème:"
|
85 |
+
|
86 |
+
#: includes/acfe-file-functions.php:242
|
87 |
+
#: includes/field-groups/field-groups.php:796
|
88 |
+
msgid "in plugin:"
|
89 |
+
msgstr "dans le plugin:"
|
90 |
+
|
91 |
+
#: includes/acfe-file-functions.php:253
|
92 |
+
#: includes/field-groups/field-groups.php:806
|
93 |
+
msgid "in:"
|
94 |
+
msgstr "dans :"
|
95 |
+
|
96 |
+
#: includes/acfe-screen-functions.php:49
|
97 |
+
msgid "Custom Fields"
|
98 |
+
msgstr "Champs personnalisés"
|
99 |
+
|
100 |
+
#: includes/acfe-user-functions.php:23
|
101 |
+
msgid "Super Admin"
|
102 |
+
msgstr "Super-admin"
|
103 |
+
|
104 |
+
#: includes/admin/plugins.php:27
|
105 |
+
msgid "Advanced Custom Fields"
|
106 |
+
msgstr "Champs personnalisés avancés"
|
107 |
+
|
108 |
+
#: includes/admin/settings.php:479 includes/admin/settings.php:611
|
109 |
+
#: includes/admin/settings.php:623 includes/fields-settings/settings.php:123
|
110 |
+
#: includes/fields/field-flexible-content.php:61
|
111 |
+
#: pro/includes/admin/settings.php:278 pro/includes/admin/settings.php:338
|
112 |
+
msgid "Settings"
|
113 |
+
msgstr "Paramètres"
|
114 |
+
|
115 |
+
#: includes/admin/tools/block-types-export.php:19
|
116 |
+
#: includes/admin/tools/block-types-export.php:20
|
117 |
+
msgid "Export Block Types"
|
118 |
+
msgstr "Exporter les types de bloc"
|
119 |
+
|
120 |
+
#: includes/admin/tools/block-types-export.php:21
|
121 |
+
msgid "Select Block Types"
|
122 |
+
msgstr "Sélectionner les types de bloc"
|
123 |
+
|
124 |
+
#: includes/admin/tools/block-types-export.php:28
|
125 |
+
msgid "No block type available."
|
126 |
+
msgstr "Aucun type de bloc dynamique disponible."
|
127 |
+
|
128 |
+
#: includes/admin/tools/block-types-export.php:29
|
129 |
+
msgid "No block types selected"
|
130 |
+
msgstr "Aucun type de bloc sélectionné"
|
131 |
+
|
132 |
+
#: includes/admin/tools/block-types-import.php:20
|
133 |
+
#: includes/admin/tools/block-types-import.php:21
|
134 |
+
msgid "Import Block Types"
|
135 |
+
msgstr "Importer des types de bloc"
|
136 |
+
|
137 |
+
#: includes/admin/tools/field-groups-export.php:37
|
138 |
+
#, php-format
|
139 |
+
msgid "Exported 1 field group."
|
140 |
+
msgid_plural "Exported %s field groups."
|
141 |
+
msgstr[0] "Groupe exporté 1 champ."
|
142 |
+
msgstr[1] "Groupes exportés %s champ."
|
143 |
+
|
144 |
+
#: includes/admin/tools/field-groups-local.php:14
|
145 |
+
msgid "Export Local Field Groups"
|
146 |
+
msgstr "Exporter des groupes de champs locaux"
|
147 |
+
|
148 |
+
#: includes/admin/tools/field-groups-local.php:29
|
149 |
+
#, php-format
|
150 |
+
msgid "Imported 1 field group"
|
151 |
+
msgid_plural "Imported %s field groups"
|
152 |
+
msgstr[0] "Importé 1 groupe de champs"
|
153 |
+
msgstr[1] "Importé %s groupes de champs"
|
154 |
+
|
155 |
+
#: includes/admin/tools/field-groups-local.php:51
|
156 |
+
msgid "No field group selected"
|
157 |
+
msgstr "Aucun groupe de champs sélectionné"
|
158 |
+
|
159 |
+
#: includes/admin/tools/field-groups-local.php:141
|
160 |
+
msgid ""
|
161 |
+
"The following code can be used to register a local version of the selected "
|
162 |
+
"field group(s). A local field group can provide many benefits such as faster "
|
163 |
+
"load times, version control & dynamic fields/settings. Simply copy and paste "
|
164 |
+
"the following code to your theme's functions.php file or include it within "
|
165 |
+
"an external file."
|
166 |
+
msgstr ""
|
167 |
+
"Le code suivant peut être utilisé pour enregistrer une version locale du "
|
168 |
+
"groupe de champs sélectionné. Un groupe de champ local apporte pas mal de "
|
169 |
+
"bénéfices tels qu'un temps de chargement plus rapide, le contrôle de version "
|
170 |
+
"et les champes/paramètres dynamiques. Copiez/collez simplement le code "
|
171 |
+
"suivant dans le functions.php de votre thème."
|
172 |
+
|
173 |
+
#: includes/admin/tools/field-groups-local.php:175
|
174 |
+
#: includes/admin/tools/module-export.php:124
|
175 |
+
#: pro/includes/admin/tools/rewrite-rules-export.php:116
|
176 |
+
#: pro/includes/admin/tools/settings-export.php:135
|
177 |
+
msgid "Copy to clipboard"
|
178 |
+
msgstr "Copier dans le presse-papiers"
|
179 |
+
|
180 |
+
#: includes/admin/tools/field-groups-local.php:203
|
181 |
+
#: includes/admin/tools/module-export.php:152
|
182 |
+
#: pro/includes/admin/tools/rewrite-rules-export.php:144
|
183 |
+
#: pro/includes/admin/tools/settings-export.php:163
|
184 |
+
msgid "Copied"
|
185 |
+
msgstr "Copié"
|
186 |
+
|
187 |
+
#: includes/admin/tools/forms-export.php:19
|
188 |
+
#: includes/admin/tools/forms-export.php:20
|
189 |
+
msgid "Export Forms"
|
190 |
+
msgstr "Exporter Formulaires"
|
191 |
+
|
192 |
+
#: includes/admin/tools/forms-export.php:21
|
193 |
+
msgid "Select Forms"
|
194 |
+
msgstr "Sélectionner Formulaires"
|
195 |
+
|
196 |
+
#: includes/admin/tools/forms-export.php:28
|
197 |
+
msgid "No form available."
|
198 |
+
msgstr "Aucun formulaire disponible."
|
199 |
+
|
200 |
+
#: includes/admin/tools/forms-export.php:29
|
201 |
+
msgid "No forms selected"
|
202 |
+
msgstr "Aucun formulaire sélectionné"
|
203 |
+
|
204 |
+
#: includes/admin/tools/forms-import.php:20
|
205 |
+
#: includes/admin/tools/forms-import.php:21
|
206 |
+
msgid "Import Forms"
|
207 |
+
msgstr "Importer des formulaires"
|
208 |
+
|
209 |
+
#: includes/admin/tools/module-export.php:94
|
210 |
+
#: pro/includes/admin/tools/settings-export.php:59
|
211 |
+
msgid "Export File"
|
212 |
+
msgstr "Exporter sous forme de fichier"
|
213 |
+
|
214 |
+
#: includes/admin/tools/module-export.php:98
|
215 |
+
#: pro/includes/admin/tools/rewrite-rules-export.php:58
|
216 |
+
#: pro/includes/admin/tools/settings-export.php:60
|
217 |
+
msgid "Generate PHP"
|
218 |
+
msgstr "Générer le PHP"
|
219 |
+
|
220 |
+
#: includes/admin/tools/module-export.php:117
|
221 |
+
#: pro/includes/admin/tools/settings-export.php:78
|
222 |
+
msgid ""
|
223 |
+
"You can copy and paste the following code to your theme's functions.php file "
|
224 |
+
"or include it within an external file."
|
225 |
+
msgstr ""
|
226 |
+
"Vous pouvez copier et coller le code suivant dans les fonctions de votre "
|
227 |
+
"thème.php fichier ou l’inclure dans un fichier externe."
|
228 |
+
|
229 |
+
#: includes/admin/tools/module-import.php:37
|
230 |
+
#: pro/assets/js/acfe-pro-input.js:1108 pro/assets/js/acfe-pro-input.js:1126
|
231 |
+
#: pro/includes/admin/tools/settings-import.php:40
|
232 |
+
msgid "Select File"
|
233 |
+
msgstr "Choisir un fichier"
|
234 |
+
|
235 |
+
#: includes/admin/tools/module-import.php:48
|
236 |
+
#: pro/includes/admin/tools/settings-import.php:51
|
237 |
+
msgid "Import File"
|
238 |
+
msgstr "Importer le fichier"
|
239 |
+
|
240 |
+
#: includes/admin/tools/module-import.php:118
|
241 |
+
#: pro/includes/admin/tools/settings-import.php:88
|
242 |
+
msgid "No file selected"
|
243 |
+
msgstr "Aucun fichier sélectionné"
|
244 |
+
|
245 |
+
#: includes/admin/tools/module-import.php:129
|
246 |
+
#: pro/includes/admin/tools/settings-import.php:99
|
247 |
+
msgid "Error uploading file. Please try again"
|
248 |
+
msgstr "Erreur lors du téléchargement, veuillez réessayer"
|
249 |
+
|
250 |
+
#: includes/admin/tools/module-import.php:137
|
251 |
+
#: pro/includes/admin/tools/settings-import.php:107
|
252 |
+
msgid "Incorrect file type"
|
253 |
+
msgstr "Type de fichier incorrect"
|
254 |
+
|
255 |
+
#: includes/admin/tools/module-import.php:149
|
256 |
+
#: pro/includes/admin/tools/settings-import.php:119
|
257 |
+
msgid "Import file empty"
|
258 |
+
msgstr "Importer un fichier vide"
|
259 |
+
|
260 |
+
#: includes/admin/tools/options-pages-export.php:19
|
261 |
+
#: includes/admin/tools/options-pages-export.php:20
|
262 |
+
msgid "Export Options Pages"
|
263 |
+
msgstr "Exporter des options de pages"
|
264 |
+
|
265 |
+
#: includes/admin/tools/options-pages-export.php:21
|
266 |
+
msgid "Select Options Pages"
|
267 |
+
msgstr "Sélectionnez des options de pages"
|
268 |
+
|
269 |
+
#: includes/admin/tools/options-pages-export.php:28
|
270 |
+
msgid "No options page available."
|
271 |
+
msgstr "Aucune option de page disponible."
|
272 |
+
|
273 |
+
#: includes/admin/tools/options-pages-export.php:29
|
274 |
+
msgid "No options pages selected"
|
275 |
+
msgstr "Aucune page d’options sélectionnée"
|
276 |
+
|
277 |
+
#: includes/admin/tools/options-pages-import.php:20
|
278 |
+
#: includes/admin/tools/options-pages-import.php:21
|
279 |
+
msgid "Import Options Pages"
|
280 |
+
msgstr "Importer des options de pages"
|
281 |
+
|
282 |
+
#: includes/admin/tools/post-types-export.php:19
|
283 |
+
#: includes/admin/tools/post-types-export.php:20
|
284 |
+
msgid "Export Post Types"
|
285 |
+
msgstr "Exporter des types de publication"
|
286 |
+
|
287 |
+
#: includes/admin/tools/post-types-export.php:21
|
288 |
+
msgid "Select Post Types"
|
289 |
+
msgstr "Sélectionnez le type article"
|
290 |
+
|
291 |
+
#: includes/admin/tools/post-types-export.php:28
|
292 |
+
msgid "No post type available."
|
293 |
+
msgstr "Aucun type de publication dynamique disponible."
|
294 |
+
|
295 |
+
#: includes/admin/tools/post-types-export.php:29
|
296 |
+
msgid "No post types selected"
|
297 |
+
msgstr "Aucun type de publication sélectionné"
|
298 |
+
|
299 |
+
#: includes/admin/tools/post-types-import.php:20
|
300 |
+
#: includes/admin/tools/post-types-import.php:21
|
301 |
+
msgid "Import Post Types"
|
302 |
+
msgstr "Importer des types de publication"
|
303 |
+
|
304 |
+
#: includes/admin/tools/taxonomies-export.php:19
|
305 |
+
#: includes/admin/tools/taxonomies-export.php:20
|
306 |
+
msgid "Export Taxonomies"
|
307 |
+
msgstr "Exporter les taxonomies"
|
308 |
+
|
309 |
+
#: includes/admin/tools/taxonomies-export.php:21
|
310 |
+
msgid "Select Taxonomies"
|
311 |
+
msgstr "Type de taxonomies"
|
312 |
+
|
313 |
+
#: includes/admin/tools/taxonomies-export.php:28
|
314 |
+
msgid "No taxonomy available."
|
315 |
+
msgstr "Aucune taxonomie dynamique disponible."
|
316 |
+
|
317 |
+
#: includes/admin/tools/taxonomies-export.php:29
|
318 |
+
msgid "No taxonomies selected"
|
319 |
+
msgstr "Aucune taxonomie sélectionnée"
|
320 |
+
|
321 |
+
#: includes/admin/tools/taxonomies-import.php:20
|
322 |
+
#: includes/admin/tools/taxonomies-import.php:21
|
323 |
+
msgid "Import Taxonomies"
|
324 |
+
msgstr "Importer des Taxonomies"
|
325 |
+
|
326 |
+
#: includes/admin/views/html-options-edit.php:4
|
327 |
+
#: includes/modules/options.php:487
|
328 |
+
msgid "Edit Option"
|
329 |
+
msgstr "Modifier Option"
|
330 |
+
|
331 |
+
#: includes/admin/views/html-options-edit.php:6
|
332 |
+
#: includes/modules/options.php:482
|
333 |
+
msgid "Add Option"
|
334 |
+
msgstr "Ajouter une option"
|
335 |
+
|
336 |
+
#: includes/admin/views/html-options-list.php:3
|
337 |
+
#: includes/modules/options.class.php:22 includes/modules/options.php:47
|
338 |
+
msgid "Options"
|
339 |
+
msgstr "Options"
|
340 |
+
|
341 |
+
#: includes/admin/views/html-options-list.php:4
|
342 |
+
#: pro/includes/locations/post-screen.php:22
|
343 |
+
msgid "Add New"
|
344 |
+
msgstr "Ajouter"
|
345 |
+
|
346 |
+
#: includes/assets.php:131 pro/assets/js/acfe-pro-input.js:5092
|
347 |
+
msgid "Read more"
|
348 |
+
msgstr "Lire la suite"
|
349 |
+
|
350 |
+
#: includes/assets.php:132
|
351 |
+
msgid "Details"
|
352 |
+
msgstr "Details"
|
353 |
+
|
354 |
+
#: includes/assets.php:133 pro/assets/js/acfe-pro-admin.js:397
|
355 |
+
msgid "Debug"
|
356 |
+
msgstr "Débogage"
|
357 |
+
|
358 |
+
#: includes/field-groups/field-group-advanced.php:43
|
359 |
+
#: pro/includes/field-groups/field-group-ui.php:96
|
360 |
+
#: pro/includes/field-groups/field-group-ui.php:266
|
361 |
+
msgid "Advanced settings"
|
362 |
+
msgstr "Paramètres avancés"
|
363 |
+
|
364 |
+
#: includes/field-groups/field-group-advanced.php:48
|
365 |
+
#: pro/includes/field-groups/field-group-ui.php:101
|
366 |
+
#: pro/includes/field-groups/field-group-ui.php:271
|
367 |
+
msgid "Enable advanced fields settings & validation"
|
368 |
+
msgstr "Activer les paramètres de champs avancés &validation"
|
369 |
+
|
370 |
+
#: includes/field-groups/field-group-category.php:51
|
371 |
+
#: includes/field-groups/field-group-category.php:52
|
372 |
+
msgctxt "Category"
|
373 |
+
msgid "Categories"
|
374 |
+
msgstr "Catégories"
|
375 |
+
|
376 |
+
#: includes/field-groups/field-group-category.php:53
|
377 |
+
msgid "Search categories"
|
378 |
+
msgstr "Chercher dans les catégories"
|
379 |
+
|
380 |
+
#: includes/field-groups/field-group-category.php:54
|
381 |
+
msgid "All categories"
|
382 |
+
msgstr "Toutes les catégories"
|
383 |
+
|
384 |
+
#: includes/field-groups/field-group-category.php:55
|
385 |
+
msgid "Parent category"
|
386 |
+
msgstr "Catégorie parente"
|
387 |
+
|
388 |
+
#: includes/field-groups/field-group-category.php:56
|
389 |
+
msgid "Parent category:"
|
390 |
+
msgstr "Catégorie parente :"
|
391 |
+
|
392 |
+
#: includes/field-groups/field-group-category.php:57
|
393 |
+
msgid "Edit category"
|
394 |
+
msgstr "Modifier la catégorie"
|
395 |
+
|
396 |
+
#: includes/field-groups/field-group-category.php:58
|
397 |
+
msgid "Update category"
|
398 |
+
msgstr "Mettre à jour la catégorie"
|
399 |
+
|
400 |
+
#: includes/field-groups/field-group-category.php:59
|
401 |
+
msgid "Add New category"
|
402 |
+
msgstr "Ajouter une catégorie"
|
403 |
+
|
404 |
+
#: includes/field-groups/field-group-category.php:60
|
405 |
+
msgid "New category name"
|
406 |
+
msgstr "Nom de la nouvelle catégorie"
|
407 |
+
|
408 |
+
#: includes/field-groups/field-group-category.php:61
|
409 |
+
msgid "category"
|
410 |
+
msgstr "catégorie"
|
411 |
+
|
412 |
+
#: includes/field-groups/field-group-category.php:76
|
413 |
+
#: includes/field-groups/field-group-category.php:143
|
414 |
+
#: includes/fields/field-flexible-content-select.php:194
|
415 |
+
msgid "Categories"
|
416 |
+
msgstr "Catégories"
|
417 |
+
|
418 |
+
#: includes/field-groups/field-group-hide-on-screen.php:43
|
419 |
+
msgid "Block Editor"
|
420 |
+
msgstr "Éditeur de blocs"
|
421 |
+
|
422 |
+
#: includes/field-groups/field-group-meta.php:29
|
423 |
+
msgid "Field group"
|
424 |
+
msgstr "Groupe de champs"
|
425 |
+
|
426 |
+
#: includes/field-groups/field-group-meta.php:42
|
427 |
+
#: pro/includes/field-groups/field-group-ui.php:173
|
428 |
+
#: pro/includes/field-groups/field-group-ui.php:338
|
429 |
+
msgid "Custom meta data"
|
430 |
+
msgstr "Méta données personnalisées"
|
431 |
+
|
432 |
+
#: includes/field-groups/field-group-meta.php:45
|
433 |
+
#: pro/includes/field-groups/field-group-ui.php:176
|
434 |
+
#: pro/includes/field-groups/field-group-ui.php:341
|
435 |
+
msgid "Add custom meta data to the field group."
|
436 |
+
msgstr "Ajoutez des métadonnées personnalisées au groupe de champs."
|
437 |
+
|
438 |
+
#: includes/field-groups/field-group-meta.php:48
|
439 |
+
#: pro/includes/field-groups/field-group-ui.php:179
|
440 |
+
#: pro/includes/field-groups/field-group-ui.php:344
|
441 |
+
msgid "+ Meta"
|
442 |
+
msgstr "+ Méta"
|
443 |
+
|
444 |
+
#: includes/field-groups/field-group-meta.php:58
|
445 |
+
#: pro/includes/field-groups/field-group-ui.php:189
|
446 |
+
#: pro/includes/field-groups/field-group-ui.php:354
|
447 |
+
msgid "Key"
|
448 |
+
msgstr "Clé"
|
449 |
+
|
450 |
+
#: includes/field-groups/field-group-meta.php:75
|
451 |
+
#: includes/fields/field-hidden.php:66 includes/modules/options.class.php:222
|
452 |
+
#: includes/modules/options.php:367 includes/modules/options.php:398
|
453 |
+
#: includes/modules/options.php:430
|
454 |
+
#: pro/includes/field-groups/field-group-ui.php:206
|
455 |
+
#: pro/includes/field-groups/field-group-ui.php:371
|
456 |
+
#: pro/includes/fields/field-color-picker.php:168
|
457 |
+
#: pro/includes/fields/field-image-selector.php:119
|
458 |
+
msgid "Value"
|
459 |
+
msgstr "Valeur"
|
460 |
+
|
461 |
+
#: includes/field-groups/field-group-meta.php:95
|
462 |
+
#: pro/includes/field-groups/field-group-ui.php:243
|
463 |
+
#: pro/includes/field-groups/field-group-ui.php:404
|
464 |
+
#: pro/includes/field-groups/field-group-ui.php:413
|
465 |
+
msgid "Note"
|
466 |
+
msgstr "Note"
|
467 |
+
|
468 |
+
#: includes/field-groups/field-group-meta.php:99
|
469 |
+
#: pro/includes/field-groups/field-group-ui.php:247
|
470 |
+
#: pro/includes/field-groups/field-group-ui.php:417
|
471 |
+
msgid "Add personal note. Only visible to administrators"
|
472 |
+
msgstr ""
|
473 |
+
"Ajoutez une note personnelle. Visible uniquement par les administrateurs"
|
474 |
+
|
475 |
+
#: includes/field-groups/field-group-meta.php:109
|
476 |
+
#: pro/includes/field-groups/field-group-ui.php:226
|
477 |
+
#: pro/includes/field-groups/field-group-ui.php:391
|
478 |
+
msgid "Field group data"
|
479 |
+
msgstr "Données du groupe de champs"
|
480 |
+
|
481 |
+
#: includes/field-groups/field-group-meta.php:110
|
482 |
+
#: pro/includes/field-groups/field-group-ui.php:227
|
483 |
+
#: pro/includes/field-groups/field-group-ui.php:392
|
484 |
+
msgid "View raw field group data, for development use"
|
485 |
+
msgstr ""
|
486 |
+
"Afficher les données brutes du groupe de champs, à des fins de développement"
|
487 |
+
|
488 |
+
#: includes/field-groups/field-group-meta.php:138
|
489 |
+
#: includes/field-groups/field-group-meta.php:146
|
490 |
+
#: includes/fields-settings/data.php:84
|
491 |
+
#: pro/includes/field-groups/field-group-ui.php:329
|
492 |
+
#: pro/includes/field-groups/field-group-ui.php:436
|
493 |
+
#: pro/includes/field-groups/field-group-ui.php:444
|
494 |
+
msgid "Data"
|
495 |
+
msgstr "Données"
|
496 |
+
|
497 |
+
#: includes/field-groups/field-group.php:55
|
498 |
+
#: includes/fields-settings/settings.php:86
|
499 |
+
msgid "Advanced Settings"
|
500 |
+
msgstr "Paramètres avancés"
|
501 |
+
|
502 |
+
#: includes/field-groups/field-group.php:104
|
503 |
+
#: pro/includes/field-groups/field-group-ui.php:113
|
504 |
+
#: pro/includes/field-groups/field-group-ui.php:281
|
505 |
+
msgid "Display title"
|
506 |
+
msgstr "Afficher le titre"
|
507 |
+
|
508 |
+
#: includes/field-groups/field-group.php:105
|
509 |
+
#: pro/includes/field-groups/field-group-ui.php:114
|
510 |
+
#: pro/includes/field-groups/field-group-ui.php:282
|
511 |
+
msgid "Render this title on edit post screen"
|
512 |
+
msgstr "Afficher ce titre sur l’écran d’édition"
|
513 |
+
|
514 |
+
#: includes/field-groups/field-group.php:130
|
515 |
+
#: includes/field-groups/field-groups.php:522
|
516 |
+
#: includes/field-groups/field-groups.php:530
|
517 |
+
msgid "Sync available"
|
518 |
+
msgstr "Synchronisation disponible"
|
519 |
+
|
520 |
+
#: includes/field-groups/field-group.php:131
|
521 |
+
msgid "Local json file is different from the version in database."
|
522 |
+
msgstr ""
|
523 |
+
"Le fichier json local est différent de la version dans la base de données."
|
524 |
+
|
525 |
+
#: includes/field-groups/field-group.php:142
|
526 |
+
msgid "Synchronize"
|
527 |
+
msgstr "Synchroniser"
|
528 |
+
|
529 |
+
#: includes/field-groups/field-group.php:151
|
530 |
+
msgid "Review changes"
|
531 |
+
msgstr "Examiner les modifications"
|
532 |
+
|
533 |
+
#: includes/field-groups/field-group.php:253
|
534 |
+
msgid "Auto Sync"
|
535 |
+
msgstr "Auto Sync"
|
536 |
+
|
537 |
+
#: includes/field-groups/field-group.php:274
|
538 |
+
#: includes/fields-settings/permissions.php:23
|
539 |
+
#: pro/includes/field-groups/field-group-ui.php:150
|
540 |
+
#: pro/includes/field-groups/field-group-ui.php:299
|
541 |
+
#: pro/includes/field-groups/field-group-ui.php:310
|
542 |
+
msgid "Permissions"
|
543 |
+
msgstr "Permissions"
|
544 |
+
|
545 |
+
#: includes/field-groups/field-group.php:278
|
546 |
+
#: pro/includes/field-groups/field-group-ui.php:154
|
547 |
+
#: pro/includes/field-groups/field-group-ui.php:314
|
548 |
+
msgid ""
|
549 |
+
"Select user roles that are allowed to view and edit this field group in post "
|
550 |
+
"edition"
|
551 |
+
msgstr ""
|
552 |
+
"Sélectionnez les rôles d’utilisateur autorisés à afficher et à modifier ce "
|
553 |
+
"groupe de champs dans une édition ultérieure"
|
554 |
+
|
555 |
+
#: includes/field-groups/field-groups-local.php:73
|
556 |
+
msgid "Local"
|
557 |
+
msgstr "Local"
|
558 |
+
|
559 |
+
#: includes/field-groups/field-groups-local.php:147
|
560 |
+
#, php-format
|
561 |
+
msgid "Select %s"
|
562 |
+
msgstr "Sélectionner %s"
|
563 |
+
|
564 |
+
#: includes/field-groups/field-groups-local.php:225
|
565 |
+
#: includes/field-groups/field-groups.php:715
|
566 |
+
msgid "Export PHP"
|
567 |
+
msgstr "Exporter php"
|
568 |
+
|
569 |
+
#: includes/field-groups/field-groups-local.php:226
|
570 |
+
#: includes/field-groups/field-groups.php:716
|
571 |
+
msgid "Export Json"
|
572 |
+
msgstr "Exporter Json"
|
573 |
+
|
574 |
+
#: includes/field-groups/field-groups-local.php:227
|
575 |
+
msgid "Sync to database"
|
576 |
+
msgstr "Synchroniser avec la base de données"
|
577 |
+
|
578 |
+
#: includes/field-groups/field-groups.php:95
|
579 |
+
#: includes/field-groups/field-groups.php:106
|
580 |
+
#: includes/fields/field-flexible-content-select.php:105
|
581 |
+
#: pro/includes/field-groups/field-group-hide-on-screen.php:29
|
582 |
+
#: pro/includes/fields/field-post-field.php:55
|
583 |
+
#: pro/includes/modules/scripts-list.php:260
|
584 |
+
msgid "Title"
|
585 |
+
msgstr "Titre"
|
586 |
+
|
587 |
+
#: includes/field-groups/field-groups.php:96
|
588 |
+
#: includes/field-groups/field-groups.php:107
|
589 |
+
msgid "Source"
|
590 |
+
msgstr "Source"
|
591 |
+
|
592 |
+
#: includes/field-groups/field-groups.php:97
|
593 |
+
#: includes/field-groups/field-groups.php:108
|
594 |
+
#: includes/field-groups/field-groups.php:149 includes/modules/forms.php:159
|
595 |
+
#: pro/includes/fields/field-fields.php:17
|
596 |
+
#: pro/includes/modules/templates.php:26
|
597 |
+
msgid "Fields"
|
598 |
+
msgstr "Champs"
|
599 |
+
|
600 |
+
#: includes/field-groups/field-groups.php:98
|
601 |
+
#: includes/field-groups/field-groups.php:109
|
602 |
+
#: includes/field-groups/field-groups.php:131
|
603 |
+
#: includes/field-groups/field-groups.php:150
|
604 |
+
msgid "Location"
|
605 |
+
msgstr "Emplacement"
|
606 |
+
|
607 |
+
#: includes/field-groups/field-groups.php:99
|
608 |
+
#: includes/field-groups/field-groups.php:110
|
609 |
+
#: includes/field-groups/field-groups.php:132
|
610 |
+
#: includes/field-groups/field-groups.php:152
|
611 |
+
msgid "Load"
|
612 |
+
msgstr "Charger"
|
613 |
+
|
614 |
+
#: includes/field-groups/field-groups.php:116
|
615 |
+
msgid "PHP Sync"
|
616 |
+
msgstr "Synchronisation PHP"
|
617 |
+
|
618 |
+
#: includes/field-groups/field-groups.php:119
|
619 |
+
msgid "Json Sync"
|
620 |
+
msgstr "Synchronisation Json"
|
621 |
+
|
622 |
+
#: includes/field-groups/field-groups.php:135
|
623 |
+
#: includes/field-groups/field-groups.php:155
|
624 |
+
msgid "PHP"
|
625 |
+
msgstr "PHP"
|
626 |
+
|
627 |
+
#: includes/field-groups/field-groups.php:138
|
628 |
+
#: includes/field-groups/field-groups.php:158
|
629 |
+
#: includes/fields/field-code-editor.php:77
|
630 |
+
msgid "Json"
|
631 |
+
msgstr "Json"
|
632 |
+
|
633 |
+
#: includes/field-groups/field-groups.php:253
|
634 |
+
msgid "Theme/Plugin"
|
635 |
+
msgstr "Thème/Plugin"
|
636 |
+
|
637 |
+
#: includes/field-groups/field-groups.php:375
|
638 |
+
#: includes/field-groups/field-groups.php:382
|
639 |
+
#: includes/field-groups/field-groups.php:540
|
640 |
+
msgid "Synchronized"
|
641 |
+
msgstr "Synchronisé"
|
642 |
+
|
643 |
+
#: includes/field-groups/field-groups.php:375
|
644 |
+
#: includes/field-groups/field-groups.php:376
|
645 |
+
msgid "Warning: Duplicated PHP code found in theme/plugin."
|
646 |
+
msgstr "Avertissement: Code PHP dupliqué trouvé dans le thème / plugin."
|
647 |
+
|
648 |
+
#: includes/field-groups/field-groups.php:402
|
649 |
+
#: includes/field-groups/field-groups.php:560
|
650 |
+
msgid "Awaiting save"
|
651 |
+
msgstr "En attente d’enregistrement"
|
652 |
+
|
653 |
+
#: includes/field-groups/field-groups.php:402
|
654 |
+
#: includes/field-groups/field-groups.php:403
|
655 |
+
#: includes/field-groups/field-groups.php:410
|
656 |
+
#: includes/field-groups/field-groups.php:560
|
657 |
+
#: includes/field-groups/field-groups.php:561
|
658 |
+
#: includes/field-groups/field-groups.php:568
|
659 |
+
msgid "Save path"
|
660 |
+
msgstr "Chemin d’enregistrement"
|
661 |
+
|
662 |
+
#: includes/field-groups/field-groups.php:505
|
663 |
+
msgid "Sync"
|
664 |
+
msgstr "Synchroniser"
|
665 |
+
|
666 |
+
#: includes/field-groups/field-groups.php:505
|
667 |
+
#: includes/field-groups/field-groups.php:513
|
668 |
+
msgid "Import"
|
669 |
+
msgstr "Importer"
|
670 |
+
|
671 |
+
#: includes/field-groups/field-groups.php:513
|
672 |
+
msgid "Review"
|
673 |
+
msgstr "Avis"
|
674 |
+
|
675 |
+
#: includes/field-groups/field-groups.php:646
|
676 |
+
#: includes/field-groups/field-groups.php:656 includes/modules/module.php:371
|
677 |
+
msgctxt "post status"
|
678 |
+
msgid "Disabled"
|
679 |
+
msgstr "Désactivé"
|
680 |
+
|
681 |
+
#: includes/field-groups/field-groups.php:667
|
682 |
+
msgid "Alternative title"
|
683 |
+
msgstr "Titre alternatif"
|
684 |
+
|
685 |
+
#: includes/fields-settings/bidirectional.php:39
|
686 |
+
msgid "Bidirectional"
|
687 |
+
msgstr "Bidirectionnel"
|
688 |
+
|
689 |
+
#: includes/fields-settings/bidirectional.php:42
|
690 |
+
msgid "Set the field as bidirectional"
|
691 |
+
msgstr "Définir le champ comme bidirectionnel"
|
692 |
+
|
693 |
+
#: includes/fields-settings/data.php:55
|
694 |
+
msgid "Field data unavailable"
|
695 |
+
msgstr "Aucune donnée disponible"
|
696 |
+
|
697 |
+
#: includes/fields-settings/data.php:67
|
698 |
+
msgid "Post object unavailable"
|
699 |
+
msgstr "Aucun objet de post disponible"
|
700 |
+
|
701 |
+
#: includes/fields-settings/data.php:70
|
702 |
+
msgid "Field Data"
|
703 |
+
msgstr "Données de champ"
|
704 |
+
|
705 |
+
#: includes/fields-settings/permissions.php:26
|
706 |
+
msgid "Restrict user roles that are allowed to view and edit this field"
|
707 |
+
msgstr ""
|
708 |
+
"Restreindre les rôles d’utilisateur autorisés à afficher et à modifier ce "
|
709 |
+
"champ"
|
710 |
+
|
711 |
+
#: includes/fields-settings/settings.php:89
|
712 |
+
msgid "Change field settings based on location"
|
713 |
+
msgstr "Modifier les paramètres de champ en fonction de l’emplacement"
|
714 |
+
|
715 |
+
#: includes/fields-settings/settings.php:91
|
716 |
+
msgid "Add settings"
|
717 |
+
msgstr "Ajouter des paramètres"
|
718 |
+
|
719 |
+
#: includes/fields-settings/settings.php:128
|
720 |
+
msgid "+"
|
721 |
+
msgstr "+"
|
722 |
+
|
723 |
+
#: includes/fields-settings/validation.php:142
|
724 |
+
msgid "Advanced Validation"
|
725 |
+
msgstr "Validation avancée"
|
726 |
+
|
727 |
+
#: includes/fields-settings/validation.php:145
|
728 |
+
msgid "Validate value against rules"
|
729 |
+
msgstr "Valider la valeur contre les règles"
|
730 |
+
|
731 |
+
#: includes/fields-settings/validation.php:147
|
732 |
+
msgid "Add validation"
|
733 |
+
msgstr "Ajouter une validation"
|
734 |
+
|
735 |
+
#: includes/fields-settings/validation.php:179
|
736 |
+
msgid "Rules"
|
737 |
+
msgstr "Règles"
|
738 |
+
|
739 |
+
#: includes/fields-settings/validation.php:184
|
740 |
+
msgid "+ AND"
|
741 |
+
msgstr "ET +"
|
742 |
+
|
743 |
+
#: includes/fields/field-advanced-link.php:20
|
744 |
+
msgid "Advanced Link"
|
745 |
+
msgstr "Lien avancé"
|
746 |
+
|
747 |
+
#: includes/fields/field-advanced-link.php:191
|
748 |
+
msgid "Filter by Post Type"
|
749 |
+
msgstr "Filtrer par type d’article"
|
750 |
+
|
751 |
+
#: includes/fields/field-advanced-link.php:199
|
752 |
+
#: includes/fields/field-post-types.php:61
|
753 |
+
msgid "All post types"
|
754 |
+
msgstr "Types d’article"
|
755 |
+
|
756 |
+
#: includes/fields/field-advanced-link.php:204
|
757 |
+
msgid "Filter by Taxonomy"
|
758 |
+
msgstr "Filtrer par taxonomie"
|
759 |
+
|
760 |
+
#: includes/fields/field-advanced-link.php:212
|
761 |
+
#: includes/fields/field-taxonomies.php:61
|
762 |
+
#: includes/fields/field-taxonomy-terms.php:365
|
763 |
+
msgid "All taxonomies"
|
764 |
+
msgstr "Toutes les taxonomies"
|
765 |
+
|
766 |
+
#: includes/fields/field-advanced-link.php:314 pro/includes/modules/dev.php:83
|
767 |
+
msgid "Type"
|
768 |
+
msgstr "Type"
|
769 |
+
|
770 |
+
#: includes/fields/field-advanced-link.php:319
|
771 |
+
#: includes/fields/field-advanced-link.php:328
|
772 |
+
msgid "URL"
|
773 |
+
msgstr "URL"
|
774 |
+
|
775 |
+
#: includes/fields/field-advanced-link.php:320
|
776 |
+
#: includes/fields/field-advanced-link.php:347
|
777 |
+
#: includes/locations/post-type-archive.php:254
|
778 |
+
#: includes/locations/post-type-list.php:214
|
779 |
+
#: pro/includes/locations/menu-item-type.php:23
|
780 |
+
msgid "Post"
|
781 |
+
msgstr "Article"
|
782 |
+
|
783 |
+
#: includes/fields/field-advanced-link.php:321
|
784 |
+
#: includes/fields/field-advanced-link.php:367
|
785 |
+
msgid "Term"
|
786 |
+
msgstr "Terme"
|
787 |
+
|
788 |
+
#: includes/fields/field-advanced-link.php:389
|
789 |
+
msgid "Link text"
|
790 |
+
msgstr "Texte du lien"
|
791 |
+
|
792 |
+
#: includes/fields/field-advanced-link.php:398
|
793 |
+
msgid "Target"
|
794 |
+
msgstr "Cible"
|
795 |
+
|
796 |
+
#: includes/fields/field-advanced-link.php:400
|
797 |
+
msgid "Open in a new window"
|
798 |
+
msgstr "Ouvrir dans une nouvelle fenêtre"
|
799 |
+
|
800 |
+
#: includes/fields/field-advanced-link.php:447
|
801 |
+
msgid "Select Link"
|
802 |
+
msgstr "Sélectionnez le lien"
|
803 |
+
|
804 |
+
#: includes/fields/field-advanced-link.php:452
|
805 |
+
msgid "Opens in a new window/tab"
|
806 |
+
msgstr "Ouvrir dans une nouvelle fenêtre/onglet"
|
807 |
+
|
808 |
+
#: includes/fields/field-advanced-link.php:453
|
809 |
+
#: includes/fields/field-clone.php:157 includes/fields/field-clone.php:221
|
810 |
+
#: includes/fields/field-group.php:97 includes/fields/field-group.php:156
|
811 |
+
#: includes/modules/dev.php:480 includes/modules/options.class.php:203
|
812 |
+
#: includes/modules/options.php:486 includes/modules/ui-settings.php:70
|
813 |
+
#: includes/modules/ui-term.php:102 includes/modules/ui-user.php:166
|
814 |
+
#: pro/includes/fields/field-file.php:472
|
815 |
+
#: pro/includes/locations/post-screen.php:23
|
816 |
+
msgid "Edit"
|
817 |
+
msgstr "Modifier"
|
818 |
+
|
819 |
+
#: includes/fields/field-advanced-link.php:454
|
820 |
+
#: pro/includes/fields/field-file.php:474
|
821 |
+
msgid "Remove"
|
822 |
+
msgstr "Supprimer"
|
823 |
+
|
824 |
+
#: includes/fields/field-button.php:17 includes/fields/field-button.php:92
|
825 |
+
msgid "Button"
|
826 |
+
msgstr "Bouton"
|
827 |
+
|
828 |
+
#: includes/fields/field-button.php:20 includes/modules/options.php:481
|
829 |
+
#: pro/includes/modules/dev.php:619
|
830 |
+
msgid "Submit"
|
831 |
+
msgstr "Envoyer"
|
832 |
+
|
833 |
+
#: includes/fields/field-button.php:78
|
834 |
+
#: pro/includes/fields/field-payment.php:129
|
835 |
+
msgid "Button value"
|
836 |
+
msgstr "Valeur du bouton"
|
837 |
+
|
838 |
+
#: includes/fields/field-button.php:79
|
839 |
+
#: pro/includes/fields/field-payment.php:130
|
840 |
+
msgid "Set a default button value"
|
841 |
+
msgstr "Définir une valeur de bouton par défaut"
|
842 |
+
|
843 |
+
#: includes/fields/field-button.php:86
|
844 |
+
msgid "Button type"
|
845 |
+
msgstr "Type de bouton"
|
846 |
+
|
847 |
+
#: includes/fields/field-button.php:87
|
848 |
+
msgid "Choose the button type"
|
849 |
+
msgstr "Choisissez le type de bouton"
|
850 |
+
|
851 |
+
#: includes/fields/field-button.php:93
|
852 |
+
msgid "Input"
|
853 |
+
msgstr "Entrée"
|
854 |
+
|
855 |
+
#: includes/fields/field-button.php:99
|
856 |
+
#: pro/includes/fields/field-payment.php:144
|
857 |
+
msgid "Button attributes"
|
858 |
+
msgstr "Attributs du bouton"
|
859 |
+
|
860 |
+
#: includes/fields/field-button.php:103
|
861 |
+
#: pro/includes/fields/field-payment.php:148
|
862 |
+
msgid "class"
|
863 |
+
msgstr "classe"
|
864 |
+
|
865 |
+
#: includes/fields/field-button.php:112
|
866 |
+
#: pro/includes/fields/field-payment.php:164
|
867 |
+
msgid "id"
|
868 |
+
msgstr "id"
|
869 |
+
|
870 |
+
#: includes/fields/field-button.php:118
|
871 |
+
#: pro/includes/fields/field-payment.php:177
|
872 |
+
msgid "Before HTML"
|
873 |
+
msgstr "Avant HTML"
|
874 |
+
|
875 |
+
#: includes/fields/field-button.php:119
|
876 |
+
#: pro/includes/fields/field-payment.php:178
|
877 |
+
msgid "Custom HTML before the button"
|
878 |
+
msgstr "HTML personnalisé avant le bouton"
|
879 |
+
|
880 |
+
#: includes/fields/field-button.php:127
|
881 |
+
#: pro/includes/fields/field-payment.php:193
|
882 |
+
msgid "After HTML"
|
883 |
+
msgstr "Après HTML"
|
884 |
+
|
885 |
+
#: includes/fields/field-button.php:128
|
886 |
+
#: pro/includes/fields/field-payment.php:194
|
887 |
+
msgid "Custom HTML after the button"
|
888 |
+
msgstr "HTML personnalisé après le bouton"
|
889 |
+
|
890 |
+
#: includes/fields/field-button.php:136
|
891 |
+
msgid "Ajax Request"
|
892 |
+
msgstr "Requête Ajax"
|
893 |
+
|
894 |
+
#: includes/fields/field-button.php:137
|
895 |
+
msgid "Trigger ajax event on click"
|
896 |
+
msgstr "Déclencher l’événement ajax au clic"
|
897 |
+
|
898 |
+
#: includes/fields/field-button.php:137
|
899 |
+
#: includes/fields/field-flexible-content-actions.php:86
|
900 |
+
#: includes/fields/field-flexible-content-async.php:65
|
901 |
+
#: includes/fields/field-flexible-content-controls.php:75
|
902 |
+
#: includes/fields/field-flexible-content-controls.php:103
|
903 |
+
#: includes/fields/field-flexible-content-edit.php:81
|
904 |
+
#: includes/fields/field-flexible-content-hide.php:66
|
905 |
+
#: includes/fields/field-flexible-content-preview.php:81
|
906 |
+
#: includes/fields/field-flexible-content-preview.php:104
|
907 |
+
#: includes/fields/field-flexible-content-preview.php:132
|
908 |
+
#: includes/fields/field-flexible-content-select.php:78
|
909 |
+
#: includes/fields/field-flexible-content-settings.php:74
|
910 |
+
#: includes/fields/field-flexible-content-thumbnail.php:74
|
911 |
+
#: pro/includes/fields/field-flexible-content-grid.php:75
|
912 |
+
#: pro/includes/fields/field-flexible-content-locations.php:247
|
913 |
+
msgid "See documentation"
|
914 |
+
msgstr "Voir la documentation"
|
915 |
+
|
916 |
+
#: includes/fields/field-checkbox.php:38
|
917 |
+
msgid "You may use \"## Title\" to create a group of options."
|
918 |
+
msgstr "Vous pouvez utiliser \"## Titre\" pour créer des groupes d'options."
|
919 |
+
|
920 |
+
#: includes/fields/field-clone.php:84 includes/fields/field-group.php:36
|
921 |
+
msgid "Seamless Style"
|
922 |
+
msgstr "Style transparent"
|
923 |
+
|
924 |
+
#: includes/fields/field-clone.php:87 includes/fields/field-group.php:38
|
925 |
+
msgid "Enable better CSS integration: remove borders and padding"
|
926 |
+
msgstr ""
|
927 |
+
"Permettre une meilleure intégration CSS : supprimer les bordures et le "
|
928 |
+
"remplissage"
|
929 |
+
|
930 |
+
#: includes/fields/field-clone.php:110 includes/fields/field-group.php:55
|
931 |
+
msgid "Edition modal"
|
932 |
+
msgstr "Édition modale"
|
933 |
+
|
934 |
+
#: includes/fields/field-clone.php:113 includes/fields/field-group.php:57
|
935 |
+
msgid "Edit fields in a modal"
|
936 |
+
msgstr "Modifier des champs dans un modal"
|
937 |
+
|
938 |
+
#: includes/fields/field-clone.php:131 includes/fields/field-group.php:74
|
939 |
+
msgid "Edition modal: Close button"
|
940 |
+
msgstr "Édition modale : bouton Fermer"
|
941 |
+
|
942 |
+
#: includes/fields/field-clone.php:134 includes/fields/field-group.php:76
|
943 |
+
msgid "Display close button"
|
944 |
+
msgstr "Afficher le bouton Fermer"
|
945 |
+
|
946 |
+
#: includes/fields/field-clone.php:152 includes/fields/field-group.php:93
|
947 |
+
msgid "Edition modal: Text button"
|
948 |
+
msgstr "Édition modale : bouton Texte"
|
949 |
+
|
950 |
+
#: includes/fields/field-clone.php:155 includes/fields/field-group.php:95
|
951 |
+
msgid "Text displayed in the edition modal button"
|
952 |
+
msgstr "Texte affiché dans le bouton modal d’édition"
|
953 |
+
|
954 |
+
#: includes/fields/field-clone.php:171 includes/fields/field-group.php:110
|
955 |
+
msgid "Edition modal: Size"
|
956 |
+
msgstr "Édition modale : Taille"
|
957 |
+
|
958 |
+
#: includes/fields/field-clone.php:174 includes/fields/field-group.php:112
|
959 |
+
msgid "Choose the modal size"
|
960 |
+
msgstr "Choisissez la taille modale"
|
961 |
+
|
962 |
+
#: includes/fields/field-code-editor.php:24
|
963 |
+
msgid "Code Editor"
|
964 |
+
msgstr "Éditeur de code"
|
965 |
+
|
966 |
+
#: includes/fields/field-code-editor.php:52 includes/fields/field-forms.php:80
|
967 |
+
#: includes/fields/field-post-statuses.php:80
|
968 |
+
#: includes/fields/field-post-types.php:80 includes/fields/field-slug.php:39
|
969 |
+
#: includes/fields/field-taxonomies.php:80
|
970 |
+
#: includes/fields/field-taxonomy-terms.php:498
|
971 |
+
#: includes/fields/field-user-roles.php:78
|
972 |
+
#: pro/includes/fields/field-block-types.php:107
|
973 |
+
#: pro/includes/fields/field-countries.php:152
|
974 |
+
#: pro/includes/fields/field-currencies.php:152
|
975 |
+
#: pro/includes/fields/field-field-groups.php:109
|
976 |
+
#: pro/includes/fields/field-field-types.php:112
|
977 |
+
#: pro/includes/fields/field-fields.php:122
|
978 |
+
#: pro/includes/fields/field-image-selector.php:58
|
979 |
+
#: pro/includes/fields/field-image-sizes.php:119
|
980 |
+
#: pro/includes/fields/field-languages.php:231
|
981 |
+
#: pro/includes/fields/field-menu-locations.php:107
|
982 |
+
#: pro/includes/fields/field-menus.php:108
|
983 |
+
#: pro/includes/fields/field-options-pages.php:105
|
984 |
+
#: pro/includes/fields/field-payment-cart.php:90
|
985 |
+
#: pro/includes/fields/field-phone-number.php:163
|
986 |
+
#: pro/includes/fields/field-post-formats.php:119
|
987 |
+
#: pro/includes/fields/field-templates.php:115
|
988 |
+
msgid "Default Value"
|
989 |
+
msgstr "Valeur par défaut"
|
990 |
+
|
991 |
+
#: includes/fields/field-code-editor.php:53 includes/fields/field-slug.php:40
|
992 |
+
msgid "Appears when creating a new post"
|
993 |
+
msgstr "Apparaît à la création d’un nouvel article"
|
994 |
+
|
995 |
+
#: includes/fields/field-code-editor.php:61 includes/fields/field-forms.php:126
|
996 |
+
#: includes/fields/field-post-statuses.php:186
|
997 |
+
#: includes/fields/field-post-types.php:186 includes/fields/field-select.php:54
|
998 |
+
#: includes/fields/field-taxonomies.php:186
|
999 |
+
#: includes/fields/field-taxonomy-terms.php:563
|
1000 |
+
#: includes/fields/field-user-roles.php:171
|
1001 |
+
#: pro/includes/fields/field-block-types.php:212
|
1002 |
+
#: pro/includes/fields/field-countries.php:331
|
1003 |
+
#: pro/includes/fields/field-currencies.php:320
|
1004 |
+
#: pro/includes/fields/field-date-picker.php:35
|
1005 |
+
#: pro/includes/fields/field-date-range-picker.php:103
|
1006 |
+
#: pro/includes/fields/field-date-time-picker.php:43
|
1007 |
+
#: pro/includes/fields/field-field-groups.php:216
|
1008 |
+
#: pro/includes/fields/field-field-types.php:218
|
1009 |
+
#: pro/includes/fields/field-fields.php:230
|
1010 |
+
#: pro/includes/fields/field-file.php:134
|
1011 |
+
#: pro/includes/fields/field-image-sizes.php:239
|
1012 |
+
#: pro/includes/fields/field-languages.php:398
|
1013 |
+
#: pro/includes/fields/field-menu-locations.php:200
|
1014 |
+
#: pro/includes/fields/field-menus.php:215
|
1015 |
+
#: pro/includes/fields/field-options-pages.php:211
|
1016 |
+
#: pro/includes/fields/field-payment-cart.php:186
|
1017 |
+
#: pro/includes/fields/field-phone-number.php:171
|
1018 |
+
#: pro/includes/fields/field-post-formats.php:211
|
1019 |
+
#: pro/includes/fields/field-templates.php:221
|
1020 |
+
#: pro/includes/fields/field-time-picker.php:40
|
1021 |
+
msgid "Placeholder"
|
1022 |
+
msgstr "Etiquette"
|
1023 |
+
|
1024 |
+
#: includes/fields/field-code-editor.php:62 includes/fields/field-forms.php:127
|
1025 |
+
#: includes/fields/field-post-statuses.php:187
|
1026 |
+
#: includes/fields/field-post-types.php:187 includes/fields/field-select.php:55
|
1027 |
+
#: includes/fields/field-slug.php:48 includes/fields/field-taxonomies.php:187
|
1028 |
+
#: includes/fields/field-taxonomy-terms.php:564
|
1029 |
+
#: includes/fields/field-user-roles.php:172
|
1030 |
+
#: pro/includes/fields/field-block-types.php:213
|
1031 |
+
#: pro/includes/fields/field-countries.php:332
|
1032 |
+
#: pro/includes/fields/field-currencies.php:321
|
1033 |
+
#: pro/includes/fields/field-field-groups.php:217
|
1034 |
+
#: pro/includes/fields/field-field-types.php:219
|
1035 |
+
#: pro/includes/fields/field-fields.php:231
|
1036 |
+
#: pro/includes/fields/field-image-sizes.php:240
|
1037 |
+
#: pro/includes/fields/field-languages.php:399
|
1038 |
+
#: pro/includes/fields/field-menu-locations.php:201
|
1039 |
+
#: pro/includes/fields/field-menus.php:216
|
1040 |
+
#: pro/includes/fields/field-options-pages.php:212
|
1041 |
+
#: pro/includes/fields/field-payment-cart.php:187
|
1042 |
+
#: pro/includes/fields/field-post-formats.php:212
|
1043 |
+
#: pro/includes/fields/field-templates.php:222
|
1044 |
+
msgid "Appears within the input"
|
1045 |
+
msgstr "Apparaît dans l’entrée"
|
1046 |
+
|
1047 |
+
#: includes/fields/field-code-editor.php:70
|
1048 |
+
msgid "Editor mode"
|
1049 |
+
msgstr "Mode éditeur"
|
1050 |
+
|
1051 |
+
#: includes/fields/field-code-editor.php:71
|
1052 |
+
msgid "Choose the syntax highlight"
|
1053 |
+
msgstr "Choisissez la mise en surbrillance de la syntaxe"
|
1054 |
+
|
1055 |
+
#: includes/fields/field-code-editor.php:75
|
1056 |
+
msgid "Text/HTML"
|
1057 |
+
msgstr "Texte/HTML"
|
1058 |
+
|
1059 |
+
#: includes/fields/field-code-editor.php:76
|
1060 |
+
msgid "JavaScript"
|
1061 |
+
msgstr "JavaScript"
|
1062 |
+
|
1063 |
+
#: includes/fields/field-code-editor.php:78
|
1064 |
+
msgid "CSS"
|
1065 |
+
msgstr "CSS"
|
1066 |
+
|
1067 |
+
#: includes/fields/field-code-editor.php:79
|
1068 |
+
msgid "PHP (mixed)"
|
1069 |
+
msgstr "PHP (mixte)"
|
1070 |
+
|
1071 |
+
#: includes/fields/field-code-editor.php:80
|
1072 |
+
msgid "PHP (plain)"
|
1073 |
+
msgstr "PHP (simple)"
|
1074 |
+
|
1075 |
+
#: includes/fields/field-code-editor.php:86
|
1076 |
+
msgid "Show Lines"
|
1077 |
+
msgstr "Afficher les lignes"
|
1078 |
+
|
1079 |
+
#: includes/fields/field-code-editor.php:95
|
1080 |
+
msgid "Indent Unit"
|
1081 |
+
msgstr "Unité de retrait"
|
1082 |
+
|
1083 |
+
#: includes/fields/field-code-editor.php:104 includes/fields/field-slug.php:71
|
1084 |
+
msgid "Character Limit"
|
1085 |
+
msgstr "Limite de caractères"
|
1086 |
+
|
1087 |
+
#: includes/fields/field-code-editor.php:105 includes/fields/field-slug.php:72
|
1088 |
+
msgid "Leave blank for no limit"
|
1089 |
+
msgstr "Laisser blanc pour ne fixer aucune limite"
|
1090 |
+
|
1091 |
+
#: includes/fields/field-code-editor.php:112
|
1092 |
+
msgid "Rows"
|
1093 |
+
msgstr "Lignes"
|
1094 |
+
|
1095 |
+
#: includes/fields/field-code-editor.php:113
|
1096 |
+
msgid "Sets the textarea height"
|
1097 |
+
msgstr "Définir la hauteur de la zone de texte"
|
1098 |
+
|
1099 |
+
#: includes/fields/field-code-editor.php:121
|
1100 |
+
msgid "Max rows"
|
1101 |
+
msgstr "Rangées Max"
|
1102 |
+
|
1103 |
+
#: includes/fields/field-code-editor.php:122
|
1104 |
+
msgid "Sets the textarea max height"
|
1105 |
+
msgstr "Définit la hauteur maximale de la zone de texte"
|
1106 |
+
|
1107 |
+
#: includes/fields/field-code-editor.php:130
|
1108 |
+
msgid "Return HTML Entities"
|
1109 |
+
msgstr "Retourner les entités HTML"
|
1110 |
+
|
1111 |
+
#: includes/fields/field-column.php:17
|
1112 |
+
msgid "Column"
|
1113 |
+
msgstr "Colonne"
|
1114 |
+
|
1115 |
+
#: includes/fields/field-column.php:36
|
1116 |
+
msgid "Columns"
|
1117 |
+
msgstr "Colonnes"
|
1118 |
+
|
1119 |
+
#: includes/fields/field-column.php:68
|
1120 |
+
msgid "Endpoint"
|
1121 |
+
msgstr "Terminaison"
|
1122 |
+
|
1123 |
+
#: includes/fields/field-column.php:69
|
1124 |
+
msgid "Define an endpoint for the previous columns to stop."
|
1125 |
+
msgstr ""
|
1126 |
+
"Définissez un point de terminaison pour les colonnes précédentes à arrêter."
|
1127 |
+
|
1128 |
+
#: includes/fields/field-dynamic-render.php:17
|
1129 |
+
#: includes/fields/field-flexible-content-preview.php:78
|
1130 |
+
msgid "Dynamic Render"
|
1131 |
+
msgstr "Rendu Dynamique"
|
1132 |
+
|
1133 |
+
#: includes/fields/field-file.php:68 pro/includes/fields/field-file.php:465
|
1134 |
+
msgid "File size"
|
1135 |
+
msgstr "Taille du fichier"
|
1136 |
+
|
1137 |
+
#: includes/fields/field-file.php:69
|
1138 |
+
msgid "Min size"
|
1139 |
+
msgstr "Taille minimum"
|
1140 |
+
|
1141 |
+
#: includes/fields/field-file.php:76
|
1142 |
+
msgid "Max size"
|
1143 |
+
msgstr "Taille maximum"
|
1144 |
+
|
1145 |
+
#: includes/fields/field-file.php:132 includes/fields/field-image.php:92
|
1146 |
+
msgid "Uploader type"
|
1147 |
+
msgstr "Type de téléchargeur"
|
1148 |
+
|
1149 |
+
#: includes/fields/field-file.php:135 includes/fields/field-image.php:95
|
1150 |
+
msgid "Choose the uploader type"
|
1151 |
+
msgstr "Choisissez le type de téléchargeur"
|
1152 |
+
|
1153 |
+
#: includes/fields/field-flexible-content-actions.php:83
|
1154 |
+
msgid "Additional Actions"
|
1155 |
+
msgstr "Mesures supplémentaires"
|
1156 |
+
|
1157 |
+
#: includes/fields/field-flexible-content-actions.php:442
|
1158 |
+
msgid "Copy layouts"
|
1159 |
+
msgstr "Copier les mises en page"
|
1160 |
+
|
1161 |
+
#: includes/fields/field-flexible-content-actions.php:443
|
1162 |
+
msgid "Paste layouts"
|
1163 |
+
msgstr "Coller des dispositions"
|
1164 |
+
|
1165 |
+
#: includes/fields/field-flexible-content-actions.php:469
|
1166 |
+
#: includes/fields/field-forms.php:325
|
1167 |
+
#: includes/fields/field-post-statuses.php:300
|
1168 |
+
#: includes/fields/field-post-types.php:300
|
1169 |
+
#: includes/fields/field-taxonomies.php:300
|
1170 |
+
#: includes/fields/field-taxonomy-terms.php:699
|
1171 |
+
#: includes/fields/field-user-roles.php:285
|
1172 |
+
#: pro/includes/fields/field-block-types.php:326
|
1173 |
+
#: pro/includes/fields/field-countries.php:445
|
1174 |
+
#: pro/includes/fields/field-currencies.php:434
|
1175 |
+
#: pro/includes/fields/field-field-groups.php:330
|
1176 |
+
#: pro/includes/fields/field-field-types.php:332
|
1177 |
+
#: pro/includes/fields/field-fields.php:344
|
1178 |
+
#: pro/includes/fields/field-image-selector.php:145
|
1179 |
+
#: pro/includes/fields/field-image-sizes.php:353
|
1180 |
+
#: pro/includes/fields/field-languages.php:512
|
1181 |
+
#: pro/includes/fields/field-menu-locations.php:314
|
1182 |
+
#: pro/includes/fields/field-menus.php:329
|
1183 |
+
#: pro/includes/fields/field-options-pages.php:325
|
1184 |
+
#: pro/includes/fields/field-payment-cart.php:281
|
1185 |
+
#: pro/includes/fields/field-payment-selector.php:102
|
1186 |
+
#: pro/includes/fields/field-post-formats.php:325
|
1187 |
+
#: pro/includes/fields/field-templates.php:335
|
1188 |
+
msgid "Layout"
|
1189 |
+
msgstr "Mise en page"
|
1190 |
+
|
1191 |
+
#: includes/fields/field-flexible-content-async.php:62
|
1192 |
+
msgid "Asynchronous Settings"
|
1193 |
+
msgstr "Paramètres asynchrones"
|
1194 |
+
|
1195 |
+
#: includes/fields/field-flexible-content-controls.php:58
|
1196 |
+
msgid "Advanced Flexible Content"
|
1197 |
+
msgstr "Contenu flexible avancé"
|
1198 |
+
|
1199 |
+
#: includes/fields/field-flexible-content-controls.php:61
|
1200 |
+
msgid "Show advanced Flexible Content settings"
|
1201 |
+
msgstr "Afficher les paramètres avancés de contenu flexible"
|
1202 |
+
|
1203 |
+
#: includes/fields/field-flexible-content-controls.php:72
|
1204 |
+
#: includes/fields/field-repeater.php:37 pro/includes/fields/field-file.php:207
|
1205 |
+
msgid "Stylised Button"
|
1206 |
+
msgstr "Bouton stylisé"
|
1207 |
+
|
1208 |
+
#: includes/fields/field-flexible-content-controls.php:75
|
1209 |
+
msgid "Better actions buttons integration"
|
1210 |
+
msgstr "Meilleure intégration des boutons d’actions"
|
1211 |
+
|
1212 |
+
#: includes/fields/field-flexible-content-controls.php:100
|
1213 |
+
msgid "Hide Empty Message"
|
1214 |
+
msgstr "Masquer le message vide"
|
1215 |
+
|
1216 |
+
#: includes/fields/field-flexible-content-controls.php:128
|
1217 |
+
msgid "Empty Message"
|
1218 |
+
msgstr "Message vide"
|
1219 |
+
|
1220 |
+
#: includes/fields/field-flexible-content-controls.php:131
|
1221 |
+
msgid "Text displayed when the flexible field is empty"
|
1222 |
+
msgstr "Texte affiché lorsque le champ flexible est vide"
|
1223 |
+
|
1224 |
+
#: includes/fields/field-flexible-content-controls.php:133
|
1225 |
+
msgid "Click the \"Add Row\" button below to start creating your layout"
|
1226 |
+
msgstr ""
|
1227 |
+
"Cliquez sur le bouton « Ajouter une rangée » ci-dessous pour commencer à "
|
1228 |
+
"créer votre mise en page"
|
1229 |
+
|
1230 |
+
#: includes/fields/field-flexible-content-controls.php:203
|
1231 |
+
msgid "Add layout"
|
1232 |
+
msgstr "Ajouter une mise en page"
|
1233 |
+
|
1234 |
+
#: includes/fields/field-flexible-content-controls.php:204
|
1235 |
+
msgid "Duplicate layout"
|
1236 |
+
msgstr "Dupliquer la mise en page"
|
1237 |
+
|
1238 |
+
#: includes/fields/field-flexible-content-controls.php:205
|
1239 |
+
msgid "Remove layout"
|
1240 |
+
msgstr "Supprimer l'élément"
|
1241 |
+
|
1242 |
+
#: includes/fields/field-flexible-content-controls.php:206
|
1243 |
+
msgid "Click to toggle"
|
1244 |
+
msgstr "Cliquez ici pour basculer"
|
1245 |
+
|
1246 |
+
#: includes/fields/field-flexible-content-edit.php:78
|
1247 |
+
msgid "Edit Modal"
|
1248 |
+
msgstr "Editer Modal"
|
1249 |
+
|
1250 |
+
#: includes/fields/field-flexible-content-edit.php:81
|
1251 |
+
msgid "Edit layout content in a modal"
|
1252 |
+
msgstr "Modifier le contenu de la mise en page dans une fenêtre modale"
|
1253 |
+
|
1254 |
+
#: includes/fields/field-flexible-content-edit.php:169
|
1255 |
+
msgid "Modal settings"
|
1256 |
+
msgstr "Paramètres modaux"
|
1257 |
+
|
1258 |
+
#: includes/fields/field-flexible-content-hide.php:63
|
1259 |
+
msgid "Hide Buttons"
|
1260 |
+
msgstr "Masquer les boutons"
|
1261 |
+
|
1262 |
+
#: includes/fields/field-flexible-content-preview.php:81
|
1263 |
+
msgid "Render the layout using custom template, style & javascript files"
|
1264 |
+
msgstr ""
|
1265 |
+
"Effectuez le rendu de la mise en page à l’aide de fichiers de modèle, de "
|
1266 |
+
"style et javascript personnalisés"
|
1267 |
+
|
1268 |
+
#: includes/fields/field-flexible-content-preview.php:101
|
1269 |
+
msgid "Dynamic Preview"
|
1270 |
+
msgstr "Aperçu dynamique"
|
1271 |
+
|
1272 |
+
#: includes/fields/field-flexible-content-preview.php:104
|
1273 |
+
msgid ""
|
1274 |
+
"Use layouts render settings to display a dynamic preview in the "
|
1275 |
+
"administration"
|
1276 |
+
msgstr ""
|
1277 |
+
"Utilisez les réglages de rendu des présentations pour afficher un aperçu "
|
1278 |
+
"dynamique dans l’administration de publication"
|
1279 |
+
|
1280 |
+
#: includes/fields/field-flexible-content-preview.php:129
|
1281 |
+
msgid "Layouts Placeholder"
|
1282 |
+
msgstr "Texte indicatif"
|
1283 |
+
|
1284 |
+
#: includes/fields/field-flexible-content-preview.php:132
|
1285 |
+
msgid "Display a placeholder with an icon"
|
1286 |
+
msgstr "Afficher un espace réservé avec une icône"
|
1287 |
+
|
1288 |
+
#: includes/fields/field-flexible-content-preview.php:180
|
1289 |
+
#: includes/modules/block-types.php:29
|
1290 |
+
msgid "Render"
|
1291 |
+
msgstr "Afficher"
|
1292 |
+
|
1293 |
+
#: includes/fields/field-flexible-content-preview.php:331
|
1294 |
+
msgid "Edit layout"
|
1295 |
+
msgstr "Modifier la mise en page"
|
1296 |
+
|
1297 |
+
#: includes/fields/field-flexible-content-select.php:75
|
1298 |
+
msgid "Selection Modal"
|
1299 |
+
msgstr "Sélection modale"
|
1300 |
+
|
1301 |
+
#: includes/fields/field-flexible-content-select.php:78
|
1302 |
+
msgid "Select layouts in a modal"
|
1303 |
+
msgstr "Sélectionner des mises en page dans une fenêtre modale"
|
1304 |
+
|
1305 |
+
#: includes/fields/field-flexible-content-select.php:247
|
1306 |
+
#: includes/modules/block-types.php:27
|
1307 |
+
msgid "Category"
|
1308 |
+
msgstr "Catégorie"
|
1309 |
+
|
1310 |
+
#: includes/fields/field-flexible-content-select.php:256
|
1311 |
+
msgid "Enter value"
|
1312 |
+
msgstr "Saisir valeur"
|
1313 |
+
|
1314 |
+
#: includes/fields/field-flexible-content-settings.php:71
|
1315 |
+
msgid "Layouts Settings Modal"
|
1316 |
+
msgstr "Paramètres de disposition modals"
|
1317 |
+
|
1318 |
+
#: includes/fields/field-flexible-content-settings.php:74
|
1319 |
+
msgid "Choose a field group to clone and to be used as a configuration modal"
|
1320 |
+
msgstr ""
|
1321 |
+
"Choisissez un groupe de champs à cloner et à utiliser comme mode de "
|
1322 |
+
"configuration"
|
1323 |
+
|
1324 |
+
#: includes/fields/field-flexible-content-settings.php:126
|
1325 |
+
msgid "Clone settings"
|
1326 |
+
msgstr "Paramètres de clonage"
|
1327 |
+
|
1328 |
+
#: includes/fields/field-flexible-content-state.php:55
|
1329 |
+
msgid "Default Layouts State"
|
1330 |
+
msgstr "État des dispositions par défaut"
|
1331 |
+
|
1332 |
+
#: includes/fields/field-flexible-content-state.php:58
|
1333 |
+
msgid "Force layouts to be collapsed or opened"
|
1334 |
+
msgstr "Forcer les mises en page à être fermées ou ouvertes"
|
1335 |
+
|
1336 |
+
#: includes/fields/field-flexible-content-state.php:62
|
1337 |
+
msgid "Default (User preference)"
|
1338 |
+
msgstr "Par défaut (préférence de l’utilisateur)"
|
1339 |
+
|
1340 |
+
#: includes/fields/field-flexible-content-thumbnail.php:71
|
1341 |
+
msgid "Layouts Thumbnails"
|
1342 |
+
msgstr "Mises en page Thumbnails"
|
1343 |
+
|
1344 |
+
#: includes/fields/field-flexible-content-thumbnail.php:74
|
1345 |
+
msgid "Set a thumbnail for each layouts"
|
1346 |
+
msgstr "Définir une miniature pour chaque mise en page"
|
1347 |
+
|
1348 |
+
#: includes/fields/field-flexible-content-thumbnail.php:111
|
1349 |
+
msgid "Thumbnail"
|
1350 |
+
msgstr "Miniature"
|
1351 |
+
|
1352 |
+
#: includes/fields/field-flexible-content.php:312
|
1353 |
+
#, php-format
|
1354 |
+
msgid "Click the \"%s\" button below to start creating your layout"
|
1355 |
+
msgstr ""
|
1356 |
+
"Cliquer sur le bouton “%s” ci-dessous pour commencer à créer votre mise en "
|
1357 |
+
"page"
|
1358 |
+
|
1359 |
+
#: includes/fields/field-flexible-content.php:508
|
1360 |
+
msgid "Drag to reorder"
|
1361 |
+
msgstr "Faites glisser pour réorganiser"
|
1362 |
+
|
1363 |
+
#: includes/fields/field-forms.php:17 includes/locations/taxonomy-list.php:214
|
1364 |
+
#: includes/modules/forms.php:103 includes/modules/forms.php:104
|
1365 |
+
#: includes/modules/forms.php:106 includes/modules/forms.php:108
|
1366 |
+
#: includes/modules/forms.php:183 pro/includes/locations/settings.php:77
|
1367 |
+
#: pro/includes/modules/templates.php:686
|
1368 |
+
msgid "Forms"
|
1369 |
+
msgstr "Formulaires"
|
1370 |
+
|
1371 |
+
#: includes/fields/field-forms.php:53
|
1372 |
+
msgid "Allow Forms"
|
1373 |
+
msgstr "Autoriser les formulaires"
|
1374 |
+
|
1375 |
+
#: includes/fields/field-forms.php:61
|
1376 |
+
msgid "All forms"
|
1377 |
+
msgstr "Tous les formulaires"
|
1378 |
+
|
1379 |
+
#: includes/fields/field-forms.php:66
|
1380 |
+
#: includes/fields/field-post-statuses.php:66
|
1381 |
+
#: includes/fields/field-post-types.php:66
|
1382 |
+
#: includes/fields/field-taxonomies.php:66
|
1383 |
+
#: includes/fields/field-taxonomy-terms.php:484
|
1384 |
+
#: includes/fields/field-user-roles.php:64
|
1385 |
+
#: pro/includes/fields/field-block-types.php:93
|
1386 |
+
#: pro/includes/fields/field-countries.php:139
|
1387 |
+
#: pro/includes/fields/field-currencies.php:139
|
1388 |
+
#: pro/includes/fields/field-field-groups.php:95
|
1389 |
+
#: pro/includes/fields/field-field-types.php:98
|
1390 |
+
#: pro/includes/fields/field-fields.php:108
|
1391 |
+
#: pro/includes/fields/field-image-sizes.php:105
|
1392 |
+
#: pro/includes/fields/field-languages.php:218
|
1393 |
+
#: pro/includes/fields/field-menu-locations.php:93
|
1394 |
+
#: pro/includes/fields/field-menus.php:94
|
1395 |
+
#: pro/includes/fields/field-options-pages.php:91
|
1396 |
+
#: pro/includes/fields/field-post-formats.php:106
|
1397 |
+
#: pro/includes/fields/field-templates.php:101
|
1398 |
+
msgid "Appearance"
|
1399 |
+
msgstr "Apparence"
|
1400 |
+
|
1401 |
+
#: includes/fields/field-forms.php:67
|
1402 |
+
#: includes/fields/field-post-statuses.php:67
|
1403 |
+
#: includes/fields/field-post-types.php:67
|
1404 |
+
#: includes/fields/field-taxonomies.php:67
|
1405 |
+
#: includes/fields/field-taxonomy-terms.php:485
|
1406 |
+
#: includes/fields/field-user-roles.php:65
|
1407 |
+
#: pro/includes/fields/field-block-types.php:94
|
1408 |
+
#: pro/includes/fields/field-countries.php:140
|
1409 |
+
#: pro/includes/fields/field-currencies.php:140
|
1410 |
+
#: pro/includes/fields/field-field-groups.php:96
|
1411 |
+
#: pro/includes/fields/field-field-types.php:99
|
1412 |
+
#: pro/includes/fields/field-fields.php:109
|
1413 |
+
#: pro/includes/fields/field-image-sizes.php:106
|
1414 |
+
#: pro/includes/fields/field-languages.php:219
|
1415 |
+
#: pro/includes/fields/field-menu-locations.php:94
|
1416 |
+
#: pro/includes/fields/field-menus.php:95
|
1417 |
+
#: pro/includes/fields/field-options-pages.php:92
|
1418 |
+
#: pro/includes/fields/field-post-formats.php:107
|
1419 |
+
#: pro/includes/fields/field-templates.php:102
|
1420 |
+
msgid "Select the appearance of this field"
|
1421 |
+
msgstr "Sélectionnez l'apparence de ce champ"
|
1422 |
+
|
1423 |
+
#: includes/fields/field-forms.php:72
|
1424 |
+
#: includes/fields/field-post-statuses.php:72
|
1425 |
+
#: includes/fields/field-post-types.php:72
|
1426 |
+
#: includes/fields/field-taxonomies.php:72
|
1427 |
+
#: includes/fields/field-taxonomy-terms.php:490
|
1428 |
+
#: includes/fields/field-user-roles.php:70
|
1429 |
+
#: pro/includes/fields/field-block-types.php:99
|
1430 |
+
#: pro/includes/fields/field-countries.php:144
|
1431 |
+
#: pro/includes/fields/field-currencies.php:144
|
1432 |
+
#: pro/includes/fields/field-field-groups.php:101
|
1433 |
+
#: pro/includes/fields/field-field-types.php:104
|
1434 |
+
#: pro/includes/fields/field-fields.php:114
|
1435 |
+
#: pro/includes/fields/field-image-sizes.php:111
|
1436 |
+
#: pro/includes/fields/field-languages.php:223
|
1437 |
+
#: pro/includes/fields/field-menu-locations.php:99
|
1438 |
+
#: pro/includes/fields/field-menus.php:100
|
1439 |
+
#: pro/includes/fields/field-options-pages.php:97
|
1440 |
+
#: pro/includes/fields/field-payment-cart.php:117
|
1441 |
+
#: pro/includes/fields/field-post-formats.php:111
|
1442 |
+
#: pro/includes/fields/field-templates.php:107
|
1443 |
+
msgid "Checkbox"
|
1444 |
+
msgstr "Case à cocher"
|
1445 |
+
|
1446 |
+
#: includes/fields/field-forms.php:73
|
1447 |
+
#: includes/fields/field-post-statuses.php:73
|
1448 |
+
#: includes/fields/field-post-types.php:73
|
1449 |
+
#: includes/fields/field-taxonomies.php:73
|
1450 |
+
#: includes/fields/field-taxonomy-terms.php:491
|
1451 |
+
#: includes/fields/field-user-roles.php:71
|
1452 |
+
#: pro/includes/fields/field-block-types.php:100
|
1453 |
+
#: pro/includes/fields/field-countries.php:145
|
1454 |
+
#: pro/includes/fields/field-currencies.php:145
|
1455 |
+
#: pro/includes/fields/field-field-groups.php:102
|
1456 |
+
#: pro/includes/fields/field-field-types.php:105
|
1457 |
+
#: pro/includes/fields/field-fields.php:115
|
1458 |
+
#: pro/includes/fields/field-image-sizes.php:112
|
1459 |
+
#: pro/includes/fields/field-languages.php:224
|
1460 |
+
#: pro/includes/fields/field-menu-locations.php:100
|
1461 |
+
#: pro/includes/fields/field-menus.php:101
|
1462 |
+
#: pro/includes/fields/field-options-pages.php:98
|
1463 |
+
#: pro/includes/fields/field-post-formats.php:112
|
1464 |
+
#: pro/includes/fields/field-templates.php:108
|
1465 |
+
msgid "Radio Buttons"
|
1466 |
+
msgstr "Boutons radio"
|
1467 |
+
|
1468 |
+
#: includes/fields/field-forms.php:74
|
1469 |
+
#: includes/fields/field-post-statuses.php:74
|
1470 |
+
#: includes/fields/field-post-types.php:74
|
1471 |
+
#: includes/fields/field-taxonomies.php:74
|
1472 |
+
#: includes/fields/field-taxonomy-terms.php:492
|
1473 |
+
#: includes/fields/field-user-roles.php:72
|
1474 |
+
#: pro/includes/fields/field-block-types.php:101
|
1475 |
+
#: pro/includes/fields/field-countries.php:146
|
1476 |
+
#: pro/includes/fields/field-currencies.php:146
|
1477 |
+
#: pro/includes/fields/field-field-groups.php:103
|
1478 |
+
#: pro/includes/fields/field-field-types.php:106
|
1479 |
+
#: pro/includes/fields/field-fields.php:116
|
1480 |
+
#: pro/includes/fields/field-image-sizes.php:113
|
1481 |
+
#: pro/includes/fields/field-languages.php:225
|
1482 |
+
#: pro/includes/fields/field-menu-locations.php:101
|
1483 |
+
#: pro/includes/fields/field-menus.php:102
|
1484 |
+
#: pro/includes/fields/field-options-pages.php:99
|
1485 |
+
#: pro/includes/fields/field-post-formats.php:113
|
1486 |
+
#: pro/includes/fields/field-templates.php:109
|
1487 |
+
msgctxt "noun"
|
1488 |
+
msgid "Select"
|
1489 |
+
msgstr "Sélectionner"
|
1490 |
+
|
1491 |
+
#: includes/fields/field-forms.php:81
|
1492 |
+
#: includes/fields/field-post-statuses.php:81
|
1493 |
+
#: includes/fields/field-post-types.php:81
|
1494 |
+
#: includes/fields/field-taxonomies.php:81
|
1495 |
+
#: includes/fields/field-taxonomy-terms.php:499
|
1496 |
+
#: includes/fields/field-user-roles.php:79
|
1497 |
+
#: pro/includes/fields/field-block-types.php:108
|
1498 |
+
#: pro/includes/fields/field-countries.php:153
|
1499 |
+
#: pro/includes/fields/field-currencies.php:153
|
1500 |
+
#: pro/includes/fields/field-field-groups.php:110
|
1501 |
+
#: pro/includes/fields/field-field-types.php:113
|
1502 |
+
#: pro/includes/fields/field-fields.php:123
|
1503 |
+
#: pro/includes/fields/field-image-selector.php:59
|
1504 |
+
#: pro/includes/fields/field-image-sizes.php:120
|
1505 |
+
#: pro/includes/fields/field-languages.php:232
|
1506 |
+
#: pro/includes/fields/field-menu-locations.php:108
|
1507 |
+
#: pro/includes/fields/field-menus.php:109
|
1508 |
+
#: pro/includes/fields/field-options-pages.php:106
|
1509 |
+
#: pro/includes/fields/field-payment-cart.php:91
|
1510 |
+
#: pro/includes/fields/field-post-formats.php:120
|
1511 |
+
#: pro/includes/fields/field-templates.php:116
|
1512 |
+
msgid "Enter each default value on a new line"
|
1513 |
+
msgstr "Entrer chaque valeur par défaut sur une nouvelle ligne"
|
1514 |
+
|
1515 |
+
#: includes/fields/field-forms.php:88
|
1516 |
+
#: includes/fields/field-post-statuses.php:88
|
1517 |
+
#: includes/fields/field-post-types.php:88
|
1518 |
+
#: includes/fields/field-taxonomies.php:88
|
1519 |
+
#: includes/fields/field-taxonomy-terms.php:506
|
1520 |
+
#: pro/includes/fields/field-block-types.php:115
|
1521 |
+
#: pro/includes/fields/field-color-picker.php:162
|
1522 |
+
#: pro/includes/fields/field-countries.php:160
|
1523 |
+
#: pro/includes/fields/field-currencies.php:175
|
1524 |
+
#: pro/includes/fields/field-field-groups.php:117
|
1525 |
+
#: pro/includes/fields/field-field-types.php:120
|
1526 |
+
#: pro/includes/fields/field-fields.php:130
|
1527 |
+
#: pro/includes/fields/field-image-selector.php:113
|
1528 |
+
#: pro/includes/fields/field-image-sizes.php:141
|
1529 |
+
#: pro/includes/fields/field-languages.php:239
|
1530 |
+
#: pro/includes/fields/field-menus.php:116
|
1531 |
+
#: pro/includes/fields/field-options-pages.php:113
|
1532 |
+
#: pro/includes/fields/field-phone-number.php:191
|
1533 |
+
#: pro/includes/fields/field-templates.php:123
|
1534 |
+
msgid "Return Value"
|
1535 |
+
msgstr "Valeur de retour"
|
1536 |
+
|
1537 |
+
#: includes/fields/field-forms.php:93
|
1538 |
+
msgid "Form ID"
|
1539 |
+
msgstr "ID du formulaire"
|
1540 |
+
|
1541 |
+
#: includes/fields/field-forms.php:94
|
1542 |
+
msgid "Form name"
|
1543 |
+
msgstr "Nom du formulaire"
|
1544 |
+
|
1545 |
+
#: includes/fields/field-forms.php:101
|
1546 |
+
#: includes/fields/field-post-statuses.php:101
|
1547 |
+
#: includes/fields/field-post-types.php:101
|
1548 |
+
#: includes/fields/field-taxonomies.php:101
|
1549 |
+
#: includes/fields/field-taxonomy-terms.php:538
|
1550 |
+
#: includes/fields/field-user-roles.php:86
|
1551 |
+
#: pro/includes/fields/field-block-types.php:128
|
1552 |
+
#: pro/includes/fields/field-countries.php:247
|
1553 |
+
#: pro/includes/fields/field-currencies.php:236
|
1554 |
+
#: pro/includes/fields/field-field-groups.php:131
|
1555 |
+
#: pro/includes/fields/field-field-types.php:133
|
1556 |
+
#: pro/includes/fields/field-fields.php:145
|
1557 |
+
#: pro/includes/fields/field-image-selector.php:127
|
1558 |
+
#: pro/includes/fields/field-image-sizes.php:154
|
1559 |
+
#: pro/includes/fields/field-languages.php:314
|
1560 |
+
#: pro/includes/fields/field-menu-locations.php:115
|
1561 |
+
#: pro/includes/fields/field-menus.php:130
|
1562 |
+
#: pro/includes/fields/field-options-pages.php:126
|
1563 |
+
#: pro/includes/fields/field-payment-cart.php:125
|
1564 |
+
#: pro/includes/fields/field-post-formats.php:127
|
1565 |
+
#: pro/includes/fields/field-templates.php:136
|
1566 |
+
msgid "Allow Null?"
|
1567 |
+
msgstr "Autoriser une valeur « null »?"
|
1568 |
+
|
1569 |
+
#: includes/fields/field-forms.php:130
|
1570 |
+
#: includes/fields/field-post-statuses.php:190
|
1571 |
+
#: includes/fields/field-post-types.php:190 includes/fields/field-select.php:58
|
1572 |
+
#: includes/fields/field-taxonomies.php:190
|
1573 |
+
#: includes/fields/field-taxonomy-terms.php:567
|
1574 |
+
#: includes/fields/field-user-roles.php:175
|
1575 |
+
#: pro/includes/fields/field-block-types.php:216
|
1576 |
+
#: pro/includes/fields/field-countries.php:335
|
1577 |
+
#: pro/includes/fields/field-currencies.php:324
|
1578 |
+
#: pro/includes/fields/field-field-groups.php:220
|
1579 |
+
#: pro/includes/fields/field-field-types.php:222
|
1580 |
+
#: pro/includes/fields/field-fields.php:234
|
1581 |
+
#: pro/includes/fields/field-image-sizes.php:243
|
1582 |
+
#: pro/includes/fields/field-languages.php:402
|
1583 |
+
#: pro/includes/fields/field-menu-locations.php:204
|
1584 |
+
#: pro/includes/fields/field-menus.php:219
|
1585 |
+
#: pro/includes/fields/field-options-pages.php:215
|
1586 |
+
#: pro/includes/fields/field-payment-cart.php:190
|
1587 |
+
#: pro/includes/fields/field-post-formats.php:215
|
1588 |
+
#: pro/includes/fields/field-templates.php:225
|
1589 |
+
msgctxt "verb"
|
1590 |
+
msgid "Select"
|
1591 |
+
msgstr "Sélectionner"
|
1592 |
+
|
1593 |
+
#: includes/fields/field-forms.php:193
|
1594 |
+
#: includes/fields/field-post-statuses.php:253
|
1595 |
+
#: includes/fields/field-post-types.php:253
|
1596 |
+
#: includes/fields/field-select.php:106
|
1597 |
+
#: includes/fields/field-taxonomies.php:253
|
1598 |
+
#: includes/fields/field-taxonomy-terms.php:630
|
1599 |
+
#: includes/fields/field-user-roles.php:238
|
1600 |
+
#: pro/includes/fields/field-block-types.php:279
|
1601 |
+
#: pro/includes/fields/field-countries.php:398
|
1602 |
+
#: pro/includes/fields/field-currencies.php:387
|
1603 |
+
#: pro/includes/fields/field-field-groups.php:283
|
1604 |
+
#: pro/includes/fields/field-field-types.php:285
|
1605 |
+
#: pro/includes/fields/field-fields.php:297
|
1606 |
+
#: pro/includes/fields/field-image-sizes.php:306
|
1607 |
+
#: pro/includes/fields/field-languages.php:465
|
1608 |
+
#: pro/includes/fields/field-menu-locations.php:267
|
1609 |
+
#: pro/includes/fields/field-menus.php:282
|
1610 |
+
#: pro/includes/fields/field-options-pages.php:278
|
1611 |
+
#: pro/includes/fields/field-payment-cart.php:253
|
1612 |
+
#: pro/includes/fields/field-post-formats.php:278
|
1613 |
+
#: pro/includes/fields/field-templates.php:288
|
1614 |
+
msgid "Search Input Placeholder"
|
1615 |
+
msgstr "Espace réservé pour les entrées de recherche"
|
1616 |
+
|
1617 |
+
#: includes/fields/field-forms.php:194
|
1618 |
+
#: includes/fields/field-post-statuses.php:254
|
1619 |
+
#: includes/fields/field-post-types.php:254
|
1620 |
+
#: includes/fields/field-select.php:107
|
1621 |
+
#: includes/fields/field-taxonomies.php:254
|
1622 |
+
#: includes/fields/field-taxonomy-terms.php:631
|
1623 |
+
#: includes/fields/field-user-roles.php:239
|
1624 |
+
#: pro/includes/fields/field-block-types.php:280
|
1625 |
+
#: pro/includes/fields/field-countries.php:399
|
1626 |
+
#: pro/includes/fields/field-currencies.php:388
|
1627 |
+
#: pro/includes/fields/field-field-groups.php:284
|
1628 |
+
#: pro/includes/fields/field-field-types.php:286
|
1629 |
+
#: pro/includes/fields/field-fields.php:298
|
1630 |
+
#: pro/includes/fields/field-image-sizes.php:307
|
1631 |
+
#: pro/includes/fields/field-languages.php:466
|
1632 |
+
#: pro/includes/fields/field-menu-locations.php:268
|
1633 |
+
#: pro/includes/fields/field-menus.php:283
|
1634 |
+
#: pro/includes/fields/field-options-pages.php:279
|
1635 |
+
#: pro/includes/fields/field-payment-cart.php:254
|
1636 |
+
#: pro/includes/fields/field-post-formats.php:279
|
1637 |
+
#: pro/includes/fields/field-templates.php:289
|
1638 |
+
msgid "Appears within the search input"
|
1639 |
+
msgstr "Apparaît dans l’entrée de recherche"
|
1640 |
+
|
1641 |
+
#: includes/fields/field-forms.php:221
|
1642 |
+
#: includes/fields/field-post-statuses.php:126
|
1643 |
+
#: includes/fields/field-post-types.php:126
|
1644 |
+
#: includes/fields/field-taxonomies.php:126
|
1645 |
+
#: includes/fields/field-taxonomy-terms.php:658
|
1646 |
+
#: includes/fields/field-user-roles.php:111
|
1647 |
+
#: pro/includes/fields/field-block-types.php:153
|
1648 |
+
#: pro/includes/fields/field-countries.php:272
|
1649 |
+
#: pro/includes/fields/field-currencies.php:261
|
1650 |
+
#: pro/includes/fields/field-field-groups.php:156
|
1651 |
+
#: pro/includes/fields/field-field-types.php:158
|
1652 |
+
#: pro/includes/fields/field-fields.php:170
|
1653 |
+
#: pro/includes/fields/field-image-selector.php:136
|
1654 |
+
#: pro/includes/fields/field-image-sizes.php:179
|
1655 |
+
#: pro/includes/fields/field-languages.php:339
|
1656 |
+
#: pro/includes/fields/field-menu-locations.php:140
|
1657 |
+
#: pro/includes/fields/field-menus.php:155
|
1658 |
+
#: pro/includes/fields/field-options-pages.php:151
|
1659 |
+
#: pro/includes/fields/field-payment-cart.php:150
|
1660 |
+
#: pro/includes/fields/field-post-formats.php:152
|
1661 |
+
#: pro/includes/fields/field-templates.php:161
|
1662 |
+
msgid "Select multiple values?"
|
1663 |
+
msgstr "Sélectionnez plusieurs valeurs?"
|
1664 |
+
|
1665 |
+
#: includes/fields/field-forms.php:239
|
1666 |
+
#: includes/fields/field-post-statuses.php:144
|
1667 |
+
#: includes/fields/field-post-types.php:144
|
1668 |
+
#: includes/fields/field-taxonomies.php:144
|
1669 |
+
#: includes/fields/field-taxonomy-terms.php:520
|
1670 |
+
#: includes/fields/field-user-roles.php:129
|
1671 |
+
#: pro/includes/fields/field-block-types.php:171
|
1672 |
+
#: pro/includes/fields/field-countries.php:290
|
1673 |
+
#: pro/includes/fields/field-currencies.php:279
|
1674 |
+
#: pro/includes/fields/field-field-groups.php:174
|
1675 |
+
#: pro/includes/fields/field-field-types.php:176
|
1676 |
+
#: pro/includes/fields/field-fields.php:188
|
1677 |
+
#: pro/includes/fields/field-image-sizes.php:197
|
1678 |
+
#: pro/includes/fields/field-languages.php:357
|
1679 |
+
#: pro/includes/fields/field-menu-locations.php:158
|
1680 |
+
#: pro/includes/fields/field-menus.php:173
|
1681 |
+
#: pro/includes/fields/field-options-pages.php:169
|
1682 |
+
#: pro/includes/fields/field-payment-cart.php:168
|
1683 |
+
#: pro/includes/fields/field-payment-selector.php:122
|
1684 |
+
#: pro/includes/fields/field-post-formats.php:170
|
1685 |
+
#: pro/includes/fields/field-templates.php:179
|
1686 |
+
msgid "Stylised UI"
|
1687 |
+
msgstr "UI Stylised"
|
1688 |
+
|
1689 |
+
#: includes/fields/field-forms.php:258
|
1690 |
+
#: includes/fields/field-post-statuses.php:163
|
1691 |
+
#: includes/fields/field-post-types.php:163
|
1692 |
+
#: includes/fields/field-taxonomies.php:163
|
1693 |
+
#: includes/fields/field-taxonomy-terms.php:676
|
1694 |
+
#: includes/fields/field-user-roles.php:148
|
1695 |
+
#: pro/includes/fields/field-block-types.php:189
|
1696 |
+
#: pro/includes/fields/field-countries.php:308
|
1697 |
+
#: pro/includes/fields/field-currencies.php:297
|
1698 |
+
#: pro/includes/fields/field-field-groups.php:193
|
1699 |
+
#: pro/includes/fields/field-field-types.php:195
|
1700 |
+
#: pro/includes/fields/field-fields.php:207
|
1701 |
+
#: pro/includes/fields/field-image-sizes.php:216
|
1702 |
+
#: pro/includes/fields/field-languages.php:375
|
1703 |
+
#: pro/includes/fields/field-menu-locations.php:177
|
1704 |
+
#: pro/includes/fields/field-menus.php:192
|
1705 |
+
#: pro/includes/fields/field-options-pages.php:188
|
1706 |
+
#: pro/includes/fields/field-post-formats.php:188
|
1707 |
+
#: pro/includes/fields/field-templates.php:198
|
1708 |
+
msgid "Use AJAX to lazy load choices?"
|
1709 |
+
msgstr "Utilisez AJAX pour des choix de charge paresseux?"
|
1710 |
+
|
1711 |
+
#: includes/fields/field-forms.php:281
|
1712 |
+
#: includes/fields/field-post-statuses.php:281
|
1713 |
+
#: includes/fields/field-post-types.php:281
|
1714 |
+
#: includes/fields/field-taxonomies.php:281
|
1715 |
+
#: includes/fields/field-user-roles.php:266
|
1716 |
+
#: pro/includes/fields/field-block-types.php:307
|
1717 |
+
#: pro/includes/fields/field-countries.php:426
|
1718 |
+
#: pro/includes/fields/field-currencies.php:415
|
1719 |
+
#: pro/includes/fields/field-field-groups.php:311
|
1720 |
+
#: pro/includes/fields/field-field-types.php:313
|
1721 |
+
#: pro/includes/fields/field-fields.php:325
|
1722 |
+
#: pro/includes/fields/field-image-sizes.php:334
|
1723 |
+
#: pro/includes/fields/field-languages.php:493
|
1724 |
+
#: pro/includes/fields/field-menu-locations.php:295
|
1725 |
+
#: pro/includes/fields/field-menus.php:310
|
1726 |
+
#: pro/includes/fields/field-options-pages.php:306
|
1727 |
+
#: pro/includes/fields/field-post-formats.php:306
|
1728 |
+
#: pro/includes/fields/field-templates.php:316
|
1729 |
+
msgid "Other"
|
1730 |
+
msgstr "Autre"
|
1731 |
+
|
1732 |
+
#: includes/fields/field-forms.php:286
|
1733 |
+
#: includes/fields/field-post-statuses.php:286
|
1734 |
+
#: includes/fields/field-post-types.php:286
|
1735 |
+
#: includes/fields/field-taxonomies.php:286
|
1736 |
+
#: includes/fields/field-user-roles.php:271
|
1737 |
+
#: pro/includes/fields/field-block-types.php:312
|
1738 |
+
#: pro/includes/fields/field-countries.php:431
|
1739 |
+
#: pro/includes/fields/field-currencies.php:420
|
1740 |
+
#: pro/includes/fields/field-field-groups.php:316
|
1741 |
+
#: pro/includes/fields/field-field-types.php:318
|
1742 |
+
#: pro/includes/fields/field-fields.php:330
|
1743 |
+
#: pro/includes/fields/field-image-sizes.php:339
|
1744 |
+
#: pro/includes/fields/field-languages.php:498
|
1745 |
+
#: pro/includes/fields/field-menu-locations.php:300
|
1746 |
+
#: pro/includes/fields/field-menus.php:315
|
1747 |
+
#: pro/includes/fields/field-options-pages.php:311
|
1748 |
+
#: pro/includes/fields/field-post-formats.php:311
|
1749 |
+
#: pro/includes/fields/field-templates.php:321
|
1750 |
+
msgid "Add 'other' choice to allow for custom values"
|
1751 |
+
msgstr ""
|
1752 |
+
"Ajouter 'les autres' pour un autre choix afin d'autoriser les valeurs "
|
1753 |
+
"personnalisées"
|
1754 |
+
|
1755 |
+
#: includes/fields/field-forms.php:301
|
1756 |
+
msgid "Save Other"
|
1757 |
+
msgstr "Enregistrer Autres"
|
1758 |
+
|
1759 |
+
#: includes/fields/field-forms.php:306
|
1760 |
+
msgid "Save 'other' values to the field's choices"
|
1761 |
+
msgstr "Enregistrer 'les autres' pour les valeurs dans les choix du champ"
|
1762 |
+
|
1763 |
+
#: includes/fields/field-forms.php:331
|
1764 |
+
#: includes/fields/field-post-statuses.php:306
|
1765 |
+
#: includes/fields/field-post-types.php:306
|
1766 |
+
#: includes/fields/field-taxonomies.php:306
|
1767 |
+
#: includes/fields/field-taxonomy-terms.php:705
|
1768 |
+
#: includes/fields/field-user-roles.php:291
|
1769 |
+
#: pro/includes/fields/field-block-types.php:332
|
1770 |
+
#: pro/includes/fields/field-countries.php:451
|
1771 |
+
#: pro/includes/fields/field-currencies.php:440
|
1772 |
+
#: pro/includes/fields/field-field-groups.php:336
|
1773 |
+
#: pro/includes/fields/field-field-types.php:338
|
1774 |
+
#: pro/includes/fields/field-fields.php:350
|
1775 |
+
#: pro/includes/fields/field-image-selector.php:152
|
1776 |
+
#: pro/includes/fields/field-image-sizes.php:359
|
1777 |
+
#: pro/includes/fields/field-languages.php:518
|
1778 |
+
#: pro/includes/fields/field-menu-locations.php:320
|
1779 |
+
#: pro/includes/fields/field-menus.php:335
|
1780 |
+
#: pro/includes/fields/field-options-pages.php:331
|
1781 |
+
#: pro/includes/fields/field-payment-cart.php:287
|
1782 |
+
#: pro/includes/fields/field-payment-selector.php:108
|
1783 |
+
#: pro/includes/fields/field-post-formats.php:331
|
1784 |
+
#: pro/includes/fields/field-templates.php:341
|
1785 |
+
msgid "Vertical"
|
1786 |
+
msgstr "Vertical"
|
1787 |
+
|
1788 |
+
#: includes/fields/field-forms.php:332
|
1789 |
+
#: includes/fields/field-post-statuses.php:307
|
1790 |
+
#: includes/fields/field-post-types.php:307
|
1791 |
+
#: includes/fields/field-taxonomies.php:307
|
1792 |
+
#: includes/fields/field-taxonomy-terms.php:706
|
1793 |
+
#: includes/fields/field-user-roles.php:292
|
1794 |
+
#: pro/includes/fields/field-block-types.php:333
|
1795 |
+
#: pro/includes/fields/field-countries.php:452
|
1796 |
+
#: pro/includes/fields/field-currencies.php:441
|
1797 |
+
#: pro/includes/fields/field-field-groups.php:337
|
1798 |
+
#: pro/includes/fields/field-field-types.php:339
|
1799 |
+
#: pro/includes/fields/field-fields.php:351
|
1800 |
+
#: pro/includes/fields/field-image-selector.php:151
|
1801 |
+
#: pro/includes/fields/field-image-sizes.php:360
|
1802 |
+
#: pro/includes/fields/field-languages.php:519
|
1803 |
+
#: pro/includes/fields/field-menu-locations.php:321
|
1804 |
+
#: pro/includes/fields/field-menus.php:336
|
1805 |
+
#: pro/includes/fields/field-options-pages.php:332
|
1806 |
+
#: pro/includes/fields/field-payment-cart.php:288
|
1807 |
+
#: pro/includes/fields/field-payment-selector.php:109
|
1808 |
+
#: pro/includes/fields/field-post-formats.php:332
|
1809 |
+
#: pro/includes/fields/field-templates.php:342
|
1810 |
+
msgid "Horizontal"
|
1811 |
+
msgstr "Horizontal"
|
1812 |
+
|
1813 |
+
#: includes/fields/field-forms.php:354
|
1814 |
+
#: includes/fields/field-post-statuses.php:329
|
1815 |
+
#: includes/fields/field-post-types.php:329
|
1816 |
+
#: includes/fields/field-taxonomies.php:329
|
1817 |
+
#: includes/fields/field-taxonomy-terms.php:728
|
1818 |
+
#: includes/fields/field-user-roles.php:314
|
1819 |
+
#: pro/includes/fields/field-block-types.php:355
|
1820 |
+
#: pro/includes/fields/field-countries.php:474
|
1821 |
+
#: pro/includes/fields/field-currencies.php:463
|
1822 |
+
#: pro/includes/fields/field-field-groups.php:359
|
1823 |
+
#: pro/includes/fields/field-field-types.php:361
|
1824 |
+
#: pro/includes/fields/field-fields.php:373
|
1825 |
+
#: pro/includes/fields/field-image-sizes.php:382
|
1826 |
+
#: pro/includes/fields/field-languages.php:541
|
1827 |
+
#: pro/includes/fields/field-menu-locations.php:343
|
1828 |
+
#: pro/includes/fields/field-menus.php:358
|
1829 |
+
#: pro/includes/fields/field-options-pages.php:354
|
1830 |
+
#: pro/includes/fields/field-payment-cart.php:310
|
1831 |
+
#: pro/includes/fields/field-post-formats.php:354
|
1832 |
+
#: pro/includes/fields/field-templates.php:364
|
1833 |
+
msgid "Toggle"
|
1834 |
+
msgstr "Basculer"
|
1835 |
+
|
1836 |
+
#: includes/fields/field-forms.php:355
|
1837 |
+
#: includes/fields/field-post-statuses.php:330
|
1838 |
+
#: includes/fields/field-post-types.php:330
|
1839 |
+
#: includes/fields/field-taxonomies.php:330
|
1840 |
+
#: includes/fields/field-taxonomy-terms.php:729
|
1841 |
+
#: includes/fields/field-user-roles.php:315
|
1842 |
+
#: pro/includes/fields/field-block-types.php:356
|
1843 |
+
#: pro/includes/fields/field-countries.php:475
|
1844 |
+
#: pro/includes/fields/field-currencies.php:464
|
1845 |
+
#: pro/includes/fields/field-field-groups.php:360
|
1846 |
+
#: pro/includes/fields/field-field-types.php:362
|
1847 |
+
#: pro/includes/fields/field-fields.php:374
|
1848 |
+
#: pro/includes/fields/field-image-sizes.php:383
|
1849 |
+
#: pro/includes/fields/field-languages.php:542
|
1850 |
+
#: pro/includes/fields/field-menu-locations.php:344
|
1851 |
+
#: pro/includes/fields/field-menus.php:359
|
1852 |
+
#: pro/includes/fields/field-options-pages.php:355
|
1853 |
+
#: pro/includes/fields/field-payment-cart.php:311
|
1854 |
+
#: pro/includes/fields/field-post-formats.php:355
|
1855 |
+
#: pro/includes/fields/field-templates.php:365
|
1856 |
+
msgid "Prepend an extra checkbox to toggle all choices"
|
1857 |
+
msgstr "Ajouter une case supplémentaire pour sélectionner tous les choix"
|
1858 |
+
|
1859 |
+
#: includes/fields/field-forms.php:372
|
1860 |
+
#: includes/fields/field-post-statuses.php:347
|
1861 |
+
#: includes/fields/field-post-types.php:347 includes/fields/field-select.php:35
|
1862 |
+
#: includes/fields/field-taxonomies.php:347
|
1863 |
+
#: includes/fields/field-user-roles.php:332
|
1864 |
+
#: pro/includes/fields/field-block-types.php:373
|
1865 |
+
#: pro/includes/fields/field-countries.php:492
|
1866 |
+
#: pro/includes/fields/field-currencies.php:481
|
1867 |
+
#: pro/includes/fields/field-field-groups.php:377
|
1868 |
+
#: pro/includes/fields/field-field-types.php:379
|
1869 |
+
#: pro/includes/fields/field-fields.php:391
|
1870 |
+
#: pro/includes/fields/field-image-sizes.php:400
|
1871 |
+
#: pro/includes/fields/field-languages.php:559
|
1872 |
+
#: pro/includes/fields/field-menu-locations.php:361
|
1873 |
+
#: pro/includes/fields/field-menus.php:376
|
1874 |
+
#: pro/includes/fields/field-options-pages.php:372
|
1875 |
+
#: pro/includes/fields/field-post-formats.php:372
|
1876 |
+
#: pro/includes/fields/field-templates.php:382
|
1877 |
+
msgid "Allow Custom"
|
1878 |
+
msgstr "Autoriser les mots clés personnalisés"
|
1879 |
+
|
1880 |
+
#: includes/fields/field-forms.php:377
|
1881 |
+
#: includes/fields/field-post-statuses.php:352
|
1882 |
+
#: includes/fields/field-post-types.php:352 includes/fields/field-select.php:40
|
1883 |
+
#: includes/fields/field-taxonomies.php:352
|
1884 |
+
#: includes/fields/field-user-roles.php:337
|
1885 |
+
#: pro/includes/fields/field-block-types.php:378
|
1886 |
+
#: pro/includes/fields/field-countries.php:497
|
1887 |
+
#: pro/includes/fields/field-currencies.php:486
|
1888 |
+
#: pro/includes/fields/field-field-groups.php:382
|
1889 |
+
#: pro/includes/fields/field-field-types.php:384
|
1890 |
+
#: pro/includes/fields/field-fields.php:396
|
1891 |
+
#: pro/includes/fields/field-image-sizes.php:405
|
1892 |
+
#: pro/includes/fields/field-languages.php:564
|
1893 |
+
#: pro/includes/fields/field-menu-locations.php:366
|
1894 |
+
#: pro/includes/fields/field-menus.php:381
|
1895 |
+
#: pro/includes/fields/field-options-pages.php:377
|
1896 |
+
#: pro/includes/fields/field-post-formats.php:377
|
1897 |
+
#: pro/includes/fields/field-templates.php:387
|
1898 |
+
msgid "Allow 'custom' values to be added"
|
1899 |
+
msgstr "Autoriser l’ajout de valeurs « personnalisées »"
|
1900 |
+
|
1901 |
+
#: includes/fields/field-forms.php:392
|
1902 |
+
msgid "Save Custom"
|
1903 |
+
msgstr "Enregistrer l'ensemble personnalisé"
|
1904 |
+
|
1905 |
+
#: includes/fields/field-forms.php:397
|
1906 |
+
msgid "Save 'custom' values to the field's choices"
|
1907 |
+
msgstr "Enregistrez les valeurs «personnalisées» dans les choix du champ"
|
1908 |
+
|
1909 |
+
#: includes/fields/field-hidden.php:17
|
1910 |
+
msgid "Hidden"
|
1911 |
+
msgstr "Masqué"
|
1912 |
+
|
1913 |
+
#: includes/fields/field-hidden.php:67
|
1914 |
+
msgid "Default value in the hidden input"
|
1915 |
+
msgstr "Valeur par défaut dans l’entrée masquée"
|
1916 |
+
|
1917 |
+
#: includes/fields/field-image.php:109
|
1918 |
+
msgid "Featured thumbnail"
|
1919 |
+
msgstr "Miniature mise en avant"
|
1920 |
+
|
1921 |
+
#: includes/fields/field-image.php:112
|
1922 |
+
msgid "Make this image the featured thumbnail"
|
1923 |
+
msgstr "Faire de cette image l’image mise en avant"
|
1924 |
+
|
1925 |
+
#: includes/fields/field-post-object.php:38
|
1926 |
+
msgid "Allow & Save Custom value"
|
1927 |
+
msgstr "Autoriser &Enregistrer la valeur personnalisée"
|
1928 |
+
|
1929 |
+
#: includes/fields/field-post-object.php:43
|
1930 |
+
msgid "Save 'custom' values as new post"
|
1931 |
+
msgstr ""
|
1932 |
+
"Enregistrer les valeurs « personnalisées » en tant que nouvelle publication"
|
1933 |
+
|
1934 |
+
#: includes/fields/field-post-object.php:48
|
1935 |
+
msgid "New Post Arguments"
|
1936 |
+
msgstr "Nouveaux arguments post"
|
1937 |
+
|
1938 |
+
#: includes/fields/field-post-object.php:49
|
1939 |
+
msgid ""
|
1940 |
+
"See available hooks in the <a href=\"https://www.acf-extended.com/features/"
|
1941 |
+
"fields/post-object#custom-value-hooks\" target=\"_blank\">documentation</a>."
|
1942 |
+
msgstr ""
|
1943 |
+
"Voir les filtres disponibles dans la <a href=\"https://www.acf-extended.com/"
|
1944 |
+
"features/fields/button\" target=\"_blank\">documentation</a>."
|
1945 |
+
|
1946 |
+
#: includes/fields/field-post-statuses.php:17
|
1947 |
+
msgid "Post Statuses"
|
1948 |
+
msgstr "Statuts de l'article"
|
1949 |
+
|
1950 |
+
#: includes/fields/field-post-statuses.php:53
|
1951 |
+
msgid "Allow Post Status"
|
1952 |
+
msgstr "Autoriser le statut de publication"
|
1953 |
+
|
1954 |
+
#: includes/fields/field-post-statuses.php:61
|
1955 |
+
msgid "All post statuses"
|
1956 |
+
msgstr "Tous les statuts de publication"
|
1957 |
+
|
1958 |
+
#: includes/fields/field-post-statuses.php:93
|
1959 |
+
msgid "Post status object"
|
1960 |
+
msgstr "Objet d’état de publication"
|
1961 |
+
|
1962 |
+
#: includes/fields/field-post-statuses.php:94
|
1963 |
+
msgid "Post status name"
|
1964 |
+
msgstr "Nom du statut de publication"
|
1965 |
+
|
1966 |
+
#: includes/fields/field-post-types.php:17 includes/modules/block-types.php:28
|
1967 |
+
#: includes/modules/taxonomies.php:27
|
1968 |
+
msgid "Post Types"
|
1969 |
+
msgstr "Types d’article"
|
1970 |
+
|
1971 |
+
#: includes/fields/field-post-types.php:53
|
1972 |
+
msgid "Allow Post Type"
|
1973 |
+
msgstr "Autoriser le type de publication"
|
1974 |
+
|
1975 |
+
#: includes/fields/field-post-types.php:93
|
1976 |
+
msgid "Post type object"
|
1977 |
+
msgstr "Objet de type de publication"
|
1978 |
+
|
1979 |
+
#: includes/fields/field-post-types.php:94
|
1980 |
+
msgid "Post type name"
|
1981 |
+
msgstr "Nom du type d'article"
|
1982 |
+
|
1983 |
+
#: includes/fields/field-recaptcha.php:17
|
1984 |
+
msgid "Google reCaptcha"
|
1985 |
+
msgstr "Google reCaptcha"
|
1986 |
+
|
1987 |
+
#: includes/fields/field-recaptcha.php:43
|
1988 |
+
msgid "Version"
|
1989 |
+
msgstr "Version"
|
1990 |
+
|
1991 |
+
#: includes/fields/field-recaptcha.php:44
|
1992 |
+
msgid "Select the reCaptcha version"
|
1993 |
+
msgstr "Sélectionnez la version reCaptcha"
|
1994 |
+
|
1995 |
+
#: includes/fields/field-recaptcha.php:48
|
1996 |
+
msgid "reCaptcha V2"
|
1997 |
+
msgstr "reCaptcha V2"
|
1998 |
+
|
1999 |
+
#: includes/fields/field-recaptcha.php:49
|
2000 |
+
msgid "reCaptcha V3"
|
2001 |
+
msgstr "reCaptcha V3"
|
2002 |
+
|
2003 |
+
#: includes/fields/field-recaptcha.php:55
|
2004 |
+
msgid "Theme"
|
2005 |
+
msgstr "Thème"
|
2006 |
+
|
2007 |
+
#: includes/fields/field-recaptcha.php:56
|
2008 |
+
msgid "Select the reCaptcha theme"
|
2009 |
+
msgstr "Sélectionnez le thème reCaptcha"
|
2010 |
+
|
2011 |
+
#: includes/fields/field-recaptcha.php:60
|
2012 |
+
msgid "Light"
|
2013 |
+
msgstr "Clair"
|
2014 |
+
|
2015 |
+
#: includes/fields/field-recaptcha.php:61
|
2016 |
+
msgid "Dark"
|
2017 |
+
msgstr "Sombre"
|
2018 |
+
|
2019 |
+
#: includes/fields/field-recaptcha.php:76
|
2020 |
+
#: pro/includes/fields/field-image-sizes.php:134
|
2021 |
+
msgid "Size"
|
2022 |
+
msgstr "Taille"
|
2023 |
+
|
2024 |
+
#: includes/fields/field-recaptcha.php:77
|
2025 |
+
msgid "Select the reCaptcha size"
|
2026 |
+
msgstr "Sélectionnez la taille reCaptcha"
|
2027 |
+
|
2028 |
+
#: includes/fields/field-recaptcha.php:81
|
2029 |
+
msgid "Normal"
|
2030 |
+
msgstr "Normal"
|
2031 |
+
|
2032 |
+
#: includes/fields/field-recaptcha.php:82
|
2033 |
+
msgid "Compact"
|
2034 |
+
msgstr "Compact"
|
2035 |
+
|
2036 |
+
#: includes/fields/field-recaptcha.php:97
|
2037 |
+
msgid "Hide logo"
|
2038 |
+
msgstr "Masquer le logo"
|
2039 |
+
|
2040 |
+
#: includes/fields/field-recaptcha.php:98
|
2041 |
+
msgid "Hide the reCaptcha logo"
|
2042 |
+
msgstr "Masquer le logo reCaptcha"
|
2043 |
+
|
2044 |
+
#: includes/fields/field-recaptcha.php:115
|
2045 |
+
msgid "Site key"
|
2046 |
+
msgstr "Clé de site"
|
2047 |
+
|
2048 |
+
#: includes/fields/field-recaptcha.php:116
|
2049 |
+
msgid ""
|
2050 |
+
"Enter the site key. <a href=\"https://www.google.com/recaptcha/admin\" "
|
2051 |
+
"target=\"_blank\">reCaptcha API Admin</a>"
|
2052 |
+
msgstr ""
|
2053 |
+
"Entrez la clé de site. <a href=\"https://www.google.com/recaptcha/admin\" "
|
2054 |
+
"target=\"_blank\">Administration de l’API reCaptcha</a>"
|
2055 |
+
|
2056 |
+
#: includes/fields/field-recaptcha.php:123
|
2057 |
+
#: pro/includes/fields/field-payment.php:229
|
2058 |
+
#: pro/includes/fields/field-payment.php:248
|
2059 |
+
msgid "Secret key"
|
2060 |
+
msgstr "Clé secrète"
|
2061 |
+
|
2062 |
+
#: includes/fields/field-recaptcha.php:124
|
2063 |
+
msgid ""
|
2064 |
+
"Enter the secret key. <a href=\"https://www.google.com/recaptcha/admin\" "
|
2065 |
+
"target=\"_blank\">reCaptcha API Admin</a>"
|
2066 |
+
msgstr ""
|
2067 |
+
"Entrez la clé secrète. <a href=\"https://www.google.com/recaptcha/admin\" "
|
2068 |
+
"target=\"_blank\">Administration de l’API reCaptcha</a>"
|
2069 |
+
|
2070 |
+
#: includes/fields/field-recaptcha.php:273
|
2071 |
+
#: includes/fields/field-recaptcha.php:281
|
2072 |
+
#: pro/includes/fields/field-payment.php:635
|
2073 |
+
#: pro/includes/fields/field-payment.php:749
|
2074 |
+
#: pro/includes/fields/field-payment.php:884
|
2075 |
+
#: pro/includes/fields/field-payment.php:913
|
2076 |
+
#: pro/includes/fields/field-payment.php:961
|
2077 |
+
#: pro/includes/fields/field-payment.php:1075
|
2078 |
+
msgid "An error has occured"
|
2079 |
+
msgstr "Une erreur s’est produite"
|
2080 |
+
|
2081 |
+
#: includes/fields/field-repeater.php:40
|
2082 |
+
msgid "Better row button integration"
|
2083 |
+
msgstr "Meilleure intégration des boutons de ligne"
|
2084 |
+
|
2085 |
+
#: includes/fields/field-slug.php:17
|
2086 |
+
msgid "Slug"
|
2087 |
+
msgstr "Identifiant"
|
2088 |
+
|
2089 |
+
#: includes/fields/field-slug.php:47
|
2090 |
+
msgid "Placeholder Text"
|
2091 |
+
msgstr "Texte d'espace réservé"
|
2092 |
+
|
2093 |
+
#: includes/fields/field-slug.php:55 pro/includes/fields/field-select.php:34
|
2094 |
+
msgid "Prepend"
|
2095 |
+
msgstr "Ajouter avant"
|
2096 |
+
|
2097 |
+
#: includes/fields/field-slug.php:56 pro/includes/fields/field-select.php:35
|
2098 |
+
msgid "Appears before the input"
|
2099 |
+
msgstr "Apparaît avant l’entrée"
|
2100 |
+
|
2101 |
+
#: includes/fields/field-slug.php:63 pro/includes/fields/field-select.php:43
|
2102 |
+
msgid "Append"
|
2103 |
+
msgstr "Ajouter"
|
2104 |
+
|
2105 |
+
#: includes/fields/field-slug.php:64 pro/includes/fields/field-select.php:44
|
2106 |
+
msgid "Appears after the input"
|
2107 |
+
msgstr "Apparaît après l’entrée"
|
2108 |
+
|
2109 |
+
#: includes/fields/field-slug.php:113
|
2110 |
+
#, php-format
|
2111 |
+
msgid "Value must not exceed %d characters"
|
2112 |
+
msgstr "La valeur ne doit pas dépasser %d caractères"
|
2113 |
+
|
2114 |
+
#: includes/fields/field-taxonomies.php:17 includes/modules/post-types.php:27
|
2115 |
+
msgid "Taxonomies"
|
2116 |
+
msgstr "Taxonomies"
|
2117 |
+
|
2118 |
+
#: includes/fields/field-taxonomies.php:53
|
2119 |
+
#: includes/fields/field-taxonomy-terms.php:357
|
2120 |
+
msgid "Allow Taxonomy"
|
2121 |
+
msgstr "Autoriser la taxonomie"
|
2122 |
+
|
2123 |
+
#: includes/fields/field-taxonomies.php:93
|
2124 |
+
msgid "Taxonomy object"
|
2125 |
+
msgstr "Objet taxonomie"
|
2126 |
+
|
2127 |
+
#: includes/fields/field-taxonomies.php:94
|
2128 |
+
msgid "Taxonomy name"
|
2129 |
+
msgstr "Nom de la taxonomie"
|
2130 |
+
|
2131 |
+
#: includes/fields/field-taxonomy-terms.php:20
|
2132 |
+
msgid "Taxonomy Terms"
|
2133 |
+
msgstr "Termes de taxonomie"
|
2134 |
+
|
2135 |
+
#: includes/fields/field-taxonomy-terms.php:456
|
2136 |
+
msgid "Allow Terms"
|
2137 |
+
msgstr "Autoriser les conditions"
|
2138 |
+
|
2139 |
+
#: includes/fields/field-taxonomy-terms.php:465
|
2140 |
+
msgid "All terms"
|
2141 |
+
msgstr "Tous les termes"
|
2142 |
+
|
2143 |
+
#: includes/fields/field-taxonomy-terms.php:471
|
2144 |
+
msgid "Terms_level"
|
2145 |
+
msgstr "Terms_level"
|
2146 |
+
|
2147 |
+
#: includes/fields/field-taxonomy-terms.php:477
|
2148 |
+
#: includes/locations/post-type-all.php:26
|
2149 |
+
#: includes/locations/post-type-archive.php:283
|
2150 |
+
#: includes/locations/post-type-list.php:237
|
2151 |
+
#: includes/locations/taxonomy-list.php:223
|
2152 |
+
#: pro/includes/locations/post-author-role.php:24
|
2153 |
+
#: pro/includes/locations/settings.php:87
|
2154 |
+
#: pro/includes/modules/scripts-list.php:151
|
2155 |
+
msgid "All"
|
2156 |
+
msgstr "Tout"
|
2157 |
+
|
2158 |
+
#: includes/fields/field-taxonomy-terms.php:511
|
2159 |
+
msgid "Term object"
|
2160 |
+
msgstr "Objet de terme"
|
2161 |
+
|
2162 |
+
#: includes/fields/field-taxonomy-terms.php:512
|
2163 |
+
msgid "Term name"
|
2164 |
+
msgstr "Nom du terme"
|
2165 |
+
|
2166 |
+
#: includes/fields/field-taxonomy-terms.php:513
|
2167 |
+
msgid "Term ID"
|
2168 |
+
msgstr "ID terme"
|
2169 |
+
|
2170 |
+
#: includes/fields/field-taxonomy-terms.php:746
|
2171 |
+
msgid "Save Terms"
|
2172 |
+
msgstr "Enregistrer Conditions"
|
2173 |
+
|
2174 |
+
#: includes/fields/field-taxonomy-terms.php:747
|
2175 |
+
msgid "Connect selected terms to the post"
|
2176 |
+
msgstr "Connecter les termes sélectionnés au post"
|
2177 |
+
|
2178 |
+
#: includes/fields/field-taxonomy-terms.php:755
|
2179 |
+
msgid "Load Terms"
|
2180 |
+
msgstr "Charger Conditions"
|
2181 |
+
|
2182 |
+
#: includes/fields/field-taxonomy-terms.php:756
|
2183 |
+
msgid "Load value from posts terms"
|
2184 |
+
msgstr "Valeur de chargement de messages termes"
|
2185 |
+
|
2186 |
+
#: includes/fields/field-textarea.php:62
|
2187 |
+
msgid "Code mode"
|
2188 |
+
msgstr "Mode code"
|
2189 |
+
|
2190 |
+
#: includes/fields/field-textarea.php:65
|
2191 |
+
msgid ""
|
2192 |
+
"Switch font family to monospace and allow tab indent. For a more advanced "
|
2193 |
+
"code editor, please use the <code>Code Editor</code> field type"
|
2194 |
+
msgstr ""
|
2195 |
+
"Basculez la famille de polices vers le monospace et autorisez le retrait de "
|
2196 |
+
"tabulation. Pour un éditeur de code plus avancé, veuillez utiliser le type "
|
2197 |
+
"de <code>Code Editor</code> champ"
|
2198 |
+
|
2199 |
+
#: includes/fields/field-user-roles.php:17
|
2200 |
+
msgid "User Roles"
|
2201 |
+
msgstr "Rôles de l’utilisateur"
|
2202 |
+
|
2203 |
+
#: includes/fields/field-user-roles.php:51
|
2204 |
+
msgid "Allow User Role"
|
2205 |
+
msgstr "Autoriser le rôle d’utilisateur"
|
2206 |
+
|
2207 |
+
#: includes/fields/field-user-roles.php:59
|
2208 |
+
msgid "All user roles"
|
2209 |
+
msgstr "Afficher tous les rôles utilisateur"
|
2210 |
+
|
2211 |
+
#: includes/init.php:171
|
2212 |
+
msgid ""
|
2213 |
+
"ACF Extended requires <a href=\"https://www.advancedcustomfields.com/pro/\" "
|
2214 |
+
"target=\"_blank\">Advanced Custom Fields PRO</a> (minimum: 5.8)."
|
2215 |
+
msgstr ""
|
2216 |
+
"ACF Extended nécessite <a href=\"https://www.advancedcustomfields.com/pro/\" "
|
2217 |
+
"target=\"_blank\">Advanced Custom Fields PRO</a> (minimum : 5.8)."
|
2218 |
+
|
2219 |
+
#: includes/locations/post-type-archive.php:46
|
2220 |
+
#, php-format
|
2221 |
+
msgid "Archive <span class=\"count\">(%s)</span>"
|
2222 |
+
msgstr "Archive <span class=\"count\">(%s)</span>"
|
2223 |
+
|
2224 |
+
#: includes/locations/post-type-archive.php:148
|
2225 |
+
msgid "Permalink:"
|
2226 |
+
msgstr "Permalien:"
|
2227 |
+
|
2228 |
+
#: includes/locations/post-type-archive.php:202
|
2229 |
+
msgid "Archive"
|
2230 |
+
msgstr "Archive"
|
2231 |
+
|
2232 |
+
#: includes/locations/post-type-archive.php:255
|
2233 |
+
msgid "Post Type Archive"
|
2234 |
+
msgstr "Archives de type de contenu"
|
2235 |
+
|
2236 |
+
#: includes/locations/post-type-list.php:199
|
2237 |
+
#: includes/locations/taxonomy-list.php:199 includes/modules/options.php:511
|
2238 |
+
#: pro/includes/admin/settings.php:320
|
2239 |
+
#: pro/includes/locations/attachment-list.php:191
|
2240 |
+
#: pro/includes/locations/user-list.php:189 pro/includes/modules/dev.php:673
|
2241 |
+
msgid "Update"
|
2242 |
+
msgstr "Mettre à jour"
|
2243 |
+
|
2244 |
+
#: includes/locations/post-type-list.php:215
|
2245 |
+
msgid "Post Type List"
|
2246 |
+
msgstr "Liste de Type d’article"
|
2247 |
+
|
2248 |
+
#: includes/locations/taxonomy-list.php:215
|
2249 |
+
msgid "Taxonomy List"
|
2250 |
+
msgstr "Liste de sites web"
|
2251 |
+
|
2252 |
+
#: includes/modules/author.php:66 pro/includes/fields/field-post-field.php:41
|
2253 |
+
msgid "Author"
|
2254 |
+
msgstr "Auteur"
|
2255 |
+
|
2256 |
+
#: includes/modules/block-types.php:26 includes/modules/forms.php:27
|
2257 |
+
#: includes/modules/options.class.php:221 includes/modules/options.php:332
|
2258 |
+
#: includes/modules/post-types.php:26 includes/modules/taxonomies.php:26
|
2259 |
+
#: pro/includes/fields/field-post-field.php:48
|
2260 |
+
msgid "Name"
|
2261 |
+
msgstr "Nom"
|
2262 |
+
|
2263 |
+
#: includes/modules/block-types.php:1045
|
2264 |
+
msgid "Dynamic Block Type"
|
2265 |
+
msgstr "Type de bloc dynamique"
|
2266 |
+
|
2267 |
+
#: includes/modules/dev.php:128
|
2268 |
+
#: pro/includes/modules/scripts/script-orphan-meta-cleaner.php:294
|
2269 |
+
msgid "No orphan meta found"
|
2270 |
+
msgstr "Aucune donnée meta orpheline trouvée"
|
2271 |
+
|
2272 |
+
#: includes/modules/dev.php:132
|
2273 |
+
msgid "Deleted meta"
|
2274 |
+
msgstr "Meta supprimées"
|
2275 |
+
|
2276 |
+
#: includes/modules/dev.php:132 includes/modules/options-pages.php:320
|
2277 |
+
#: includes/modules/post-types.php:177 includes/modules/taxonomies.php:264
|
2278 |
+
#: pro/includes/fields/field-payment.php:472 pro/includes/modules/dev.php:88
|
2279 |
+
#: pro/includes/modules/dev.php:178 pro/includes/modules/dev.php:245
|
2280 |
+
#: pro/includes/modules/dev.php:345 pro/includes/modules/dev.php:401
|
2281 |
+
#: pro/includes/modules/dev.php:457 pro/includes/modules/dev.php:511
|
2282 |
+
#: pro/includes/modules/scripts-list.php:198
|
2283 |
+
msgid "View"
|
2284 |
+
msgstr "Voir"
|
2285 |
+
|
2286 |
+
#: includes/modules/dev.php:334
|
2287 |
+
msgid "Clean orphan meta"
|
2288 |
+
msgstr "Nettoyer les meta orphelines"
|
2289 |
+
|
2290 |
+
#: includes/modules/dev.php:485 includes/modules/dev.php:528
|
2291 |
+
#: includes/modules/options.class.php:204
|
2292 |
+
#: includes/modules/options.class.php:256 includes/modules/options.php:503
|
2293 |
+
msgid "Delete"
|
2294 |
+
msgstr "Supprimer"
|
2295 |
+
|
2296 |
+
#: includes/modules/dev.php:519
|
2297 |
+
msgid "Select bulk action"
|
2298 |
+
msgstr "Sélectionnez l’action groupée"
|
2299 |
+
|
2300 |
+
#: includes/modules/dev.php:527
|
2301 |
+
msgid "Bulk Actions"
|
2302 |
+
msgstr "Actions groupées"
|
2303 |
+
|
2304 |
+
#: includes/modules/dev.php:531
|
2305 |
+
msgid "Apply"
|
2306 |
+
msgstr "Appliquer"
|
2307 |
+
|
2308 |
+
#: includes/modules/dev.php:557
|
2309 |
+
msgid "empty"
|
2310 |
+
msgstr "vide"
|
2311 |
+
|
2312 |
+
#: includes/modules/forms-action-custom.php:83
|
2313 |
+
#: includes/modules/forms-action-email.php:311
|
2314 |
+
#: includes/modules/forms-action-post.php:869
|
2315 |
+
#: includes/modules/forms-action-redirect.php:88
|
2316 |
+
#: includes/modules/forms-action-term.php:475
|
2317 |
+
#: includes/modules/forms-action-user.php:1027 includes/modules/forms.php:177
|
2318 |
+
#: pro/includes/modules/forms-action-option.php:217
|
2319 |
+
msgid "Documentation"
|
2320 |
+
msgstr "Documentation"
|
2321 |
+
|
2322 |
+
#: includes/modules/forms-action-custom.php:113
|
2323 |
+
msgid "Set a unique action slug."
|
2324 |
+
msgstr "Définissez un identifiant d’action unique."
|
2325 |
+
|
2326 |
+
#: includes/modules/forms-action-email.php:341
|
2327 |
+
#: includes/modules/forms-action-redirect.php:118
|
2328 |
+
msgid "(Optional) Target this action using hooks."
|
2329 |
+
msgstr "(Facultatif) Ciblez cette action à l’aide de hooks."
|
2330 |
+
|
2331 |
+
#: includes/modules/forms-action-user.php:272
|
2332 |
+
msgid "An error has occured. Please try again"
|
2333 |
+
msgstr "Une erreur est survenue. Veuillez réessayer"
|
2334 |
+
|
2335 |
+
#: includes/modules/forms-action-user.php:273
|
2336 |
+
msgid "Invalid e-mail"
|
2337 |
+
msgstr "E-mail invalide"
|
2338 |
+
|
2339 |
+
#: includes/modules/forms-action-user.php:274
|
2340 |
+
msgid "Invalid e-mail or password"
|
2341 |
+
msgstr "E-mail ou mot de passe invalide"
|
2342 |
+
|
2343 |
+
#: includes/modules/forms-action-user.php:275
|
2344 |
+
msgid "Invalid username"
|
2345 |
+
msgstr "Nom d'utilisateur invalide"
|
2346 |
+
|
2347 |
+
#: includes/modules/forms-action-user.php:276
|
2348 |
+
msgid "Invalid username or password"
|
2349 |
+
msgstr "Nom d'utilisateur ou mot de passe invalide"
|
2350 |
+
|
2351 |
+
#: includes/modules/forms-action-user.php:277
|
2352 |
+
msgid "E-mail address is already used"
|
2353 |
+
msgstr "L'adresse e-mail est déjà utilisée"
|
2354 |
+
|
2355 |
+
#: includes/modules/forms-action-user.php:278
|
2356 |
+
msgid "Username is already used"
|
2357 |
+
msgstr "Le nom d'utilisateur est déjà utilisé"
|
2358 |
+
|
2359 |
+
#: includes/modules/forms-action-user.php:279
|
2360 |
+
#: includes/modules/forms-action-user.php:728
|
2361 |
+
msgid "Username may not be longer than 60 characters."
|
2362 |
+
msgstr "Nom d'utilisateur ne peut pas excéder 60 caractères."
|
2363 |
+
|
2364 |
+
#: includes/modules/forms-action-user.php:724
|
2365 |
+
msgid "Cannot create a user with an empty login name."
|
2366 |
+
msgstr "Impossible de créer un utilisateur avec un identifiant vide."
|
2367 |
+
|
2368 |
+
#: includes/modules/forms-action-user.php:734
|
2369 |
+
msgid "Sorry, that username already exists!"
|
2370 |
+
msgstr "Désolé, cet identifiant existe déjà !"
|
2371 |
+
|
2372 |
+
#: includes/modules/forms-action-user.php:742
|
2373 |
+
msgid "Nicename may not be longer than 50 characters."
|
2374 |
+
msgstr "Un pseudo ne devrait pas dépasser les 50 caractères."
|
2375 |
+
|
2376 |
+
#: includes/modules/forms-front.php:19
|
2377 |
+
msgid "Validate Email"
|
2378 |
+
msgstr "Valider l’adresse e-mail"
|
2379 |
+
|
2380 |
+
#: includes/modules/forms-front.php:63 includes/modules/forms-shortcode.php:81
|
2381 |
+
#: includes/modules/forms.php:107
|
2382 |
+
msgid "Form"
|
2383 |
+
msgstr "Formulaire"
|
2384 |
+
|
2385 |
+
#: includes/modules/forms-front.php:109
|
2386 |
+
msgid "Spam Detected"
|
2387 |
+
msgstr "Spam détecté"
|
2388 |
+
|
2389 |
+
#: includes/modules/forms.php:28 pro/includes/modules/templates.php:25
|
2390 |
+
msgid "Field groups"
|
2391 |
+
msgstr "Groupes de champs"
|
2392 |
+
|
2393 |
+
#: includes/modules/forms.php:29
|
2394 |
+
msgid "Actions"
|
2395 |
+
msgstr "Actions"
|
2396 |
+
|
2397 |
+
#: includes/modules/forms.php:30
|
2398 |
+
msgid "Shortcode"
|
2399 |
+
msgstr "Shortcode"
|
2400 |
+
|
2401 |
+
#: includes/modules/forms.php:184
|
2402 |
+
msgid "Cheatsheet"
|
2403 |
+
msgstr "Aide-mémoire"
|
2404 |
+
|
2405 |
+
#: includes/modules/forms.php:185
|
2406 |
+
msgid "Hooks"
|
2407 |
+
msgstr "Hooks"
|
2408 |
+
|
2409 |
+
#: includes/modules/forms.php:186
|
2410 |
+
msgid "Helpers"
|
2411 |
+
msgstr "Aides"
|
2412 |
+
|
2413 |
+
#: includes/modules/forms.php:196
|
2414 |
+
msgid "Shortcodes"
|
2415 |
+
msgstr "Shortcodes"
|
2416 |
+
|
2417 |
+
#: includes/modules/forms.php:211
|
2418 |
+
msgid "PHP code"
|
2419 |
+
msgstr "Code PHP"
|
2420 |
+
|
2421 |
+
#: includes/modules/forms.php:1542
|
2422 |
+
msgid "Post updated"
|
2423 |
+
msgstr "Article mis à jour"
|
2424 |
+
|
2425 |
+
#: includes/modules/forms.php:1853
|
2426 |
+
msgid "Input is invalid: Must be a json string or an array."
|
2427 |
+
msgstr "L’entrée n’est pas valide : doit être une chaîne json ou un tableau."
|
2428 |
+
|
2429 |
+
#: includes/modules/module.php:100
|
2430 |
+
#, php-format
|
2431 |
+
msgid "Active <span class=\"count\">(%s)</span>"
|
2432 |
+
msgid_plural "Active <span class=\"count\">(%s)</span>"
|
2433 |
+
msgstr[0] "Actif <span class=\"count\">(%s)</span>"
|
2434 |
+
msgstr[1] "Actif <span class=\"count\">(%s)</span>"
|
2435 |
+
|
2436 |
+
#: includes/modules/module.php:192
|
2437 |
+
msgid "Export "
|
2438 |
+
msgstr "Exporter "
|
2439 |
+
|
2440 |
+
#: includes/modules/module.php:256
|
2441 |
+
msgid "Active"
|
2442 |
+
msgstr "Actif"
|
2443 |
+
|
2444 |
+
#: includes/modules/module.php:256
|
2445 |
+
msgid "Inactive"
|
2446 |
+
msgstr "Inactif"
|
2447 |
+
|
2448 |
+
#: includes/modules/options-pages.php:26
|
2449 |
+
msgid "Menu slug"
|
2450 |
+
msgstr "Slug de menu"
|
2451 |
+
|
2452 |
+
#: includes/modules/options-pages.php:27
|
2453 |
+
msgid "Post ID"
|
2454 |
+
msgstr "ID de l'article"
|
2455 |
+
|
2456 |
+
#: includes/modules/options-pages.php:28 includes/modules/options.class.php:223
|
2457 |
+
#: includes/modules/options.php:454
|
2458 |
+
msgid "Autoload"
|
2459 |
+
msgstr "Chargement automatique"
|
2460 |
+
|
2461 |
+
#: includes/modules/options-pages.php:29
|
2462 |
+
msgid "Position"
|
2463 |
+
msgstr "Position"
|
2464 |
+
|
2465 |
+
#: includes/modules/options-pages.php:417
|
2466 |
+
msgid "This options page slug already exists"
|
2467 |
+
msgstr "Ce slug de page d’options existe déjà"
|
2468 |
+
|
2469 |
+
#: includes/modules/options-pages.php:968
|
2470 |
+
msgid "Options Page"
|
2471 |
+
msgstr "Options de la Page"
|
2472 |
+
|
2473 |
+
#: includes/modules/options.class.php:21
|
2474 |
+
msgid "Option"
|
2475 |
+
msgstr "Option"
|
2476 |
+
|
2477 |
+
#: includes/modules/options.class.php:106
|
2478 |
+
msgid "No options avaliable."
|
2479 |
+
msgstr "Aucune option disponible."
|
2480 |
+
|
2481 |
+
#: includes/modules/options.class.php:220 pro/includes/modules/dev.php:79
|
2482 |
+
#: pro/includes/modules/dev.php:169 pro/includes/modules/dev.php:236
|
2483 |
+
#: pro/includes/modules/dev.php:295 pro/includes/modules/dev.php:340
|
2484 |
+
#: pro/includes/modules/dev.php:396 pro/includes/modules/dev.php:452
|
2485 |
+
#: pro/includes/modules/dev.php:506 pro/includes/modules/dev.php:559
|
2486 |
+
msgid "ID"
|
2487 |
+
msgstr "ID"
|
2488 |
+
|
2489 |
+
#: includes/modules/options.php:65
|
2490 |
+
msgid "Option has been deleted"
|
2491 |
+
msgstr "L’option a été supprimée"
|
2492 |
+
|
2493 |
+
#: includes/modules/options.php:69
|
2494 |
+
msgid "Options have been deleted"
|
2495 |
+
msgstr "Les options on été supprimées"
|
2496 |
+
|
2497 |
+
#: includes/modules/options.php:73
|
2498 |
+
msgid "Option has been updated"
|
2499 |
+
msgstr "L’option a été mise à jour"
|
2500 |
+
|
2501 |
+
#: includes/modules/options.php:77
|
2502 |
+
msgid "Option has been added"
|
2503 |
+
msgstr "L’option a été ajoutée"
|
2504 |
+
|
2505 |
+
#: includes/modules/options.php:534
|
2506 |
+
msgid "Edit field group"
|
2507 |
+
msgstr "Modifier groupe de champs"
|
2508 |
+
|
2509 |
+
#: includes/modules/post-types.php:28
|
2510 |
+
msgid "Posts"
|
2511 |
+
msgstr "Articles"
|
2512 |
+
|
2513 |
+
#: includes/modules/post-types.php:448
|
2514 |
+
msgid "This post type name is reserved"
|
2515 |
+
msgstr "Ce nom de type de publication est réservé"
|
2516 |
+
|
2517 |
+
#: includes/modules/post-types.php:472
|
2518 |
+
msgid "This post type name already exists"
|
2519 |
+
msgstr "Ce nom de type de publication existe déjà"
|
2520 |
+
|
2521 |
+
#: includes/modules/post-types.php:1091
|
2522 |
+
msgid "Dynamic Post Type"
|
2523 |
+
msgstr "Type de contenu dynamique"
|
2524 |
+
|
2525 |
+
#: includes/modules/single-meta.php:358
|
2526 |
+
msgid "Save as individual meta"
|
2527 |
+
msgstr "Enregistrer en tant que méta individuelle"
|
2528 |
+
|
2529 |
+
#: includes/modules/single-meta.php:361
|
2530 |
+
msgid "Save the field as an individual meta."
|
2531 |
+
msgstr "Enregistrez le champ en tant que méta individuel."
|
2532 |
+
|
2533 |
+
#: includes/modules/taxonomies.php:28
|
2534 |
+
msgid "Terms"
|
2535 |
+
msgstr "Termes"
|
2536 |
+
|
2537 |
+
#: includes/modules/taxonomies.php:522
|
2538 |
+
msgid "This taxonomy name is reserved"
|
2539 |
+
msgstr "Ce nom de taxonomie est réservé"
|
2540 |
+
|
2541 |
+
#: includes/modules/taxonomies.php:546
|
2542 |
+
msgid "This taxonomy name already exists"
|
2543 |
+
msgstr "Ce nom de taxonomie existe déjà"
|
2544 |
+
|
2545 |
+
#: includes/modules/taxonomies.php:1140
|
2546 |
+
msgid "Dynamic Taxonomy"
|
2547 |
+
msgstr "Taxonomie dynamique"
|
2548 |
+
|
2549 |
+
#: includes/modules/ui-attachment.php:108
|
2550 |
+
msgid "Edit Media"
|
2551 |
+
msgstr "Editer le Media"
|
2552 |
+
|
2553 |
+
#: pro/assets/js/acfe-pro-field-group.js:31
|
2554 |
+
#: pro/includes/field-groups/field-group-ui.php:45
|
2555 |
+
msgid "Shift+click: Alternative mode"
|
2556 |
+
msgstr "Shift+click: Mode alternatif"
|
2557 |
+
|
2558 |
+
#: pro/assets/js/acfe-pro-field-group.js:72
|
2559 |
+
#: pro/includes/field-groups/field-group-ui.php:42
|
2560 |
+
msgid "Enter a Field Type"
|
2561 |
+
msgstr "Entrez un Type de Champ"
|
2562 |
+
|
2563 |
+
#: pro/assets/js/acfe-pro-field-group.js:91
|
2564 |
+
#: pro/includes/field-groups/field-group-ui.php:43
|
2565 |
+
msgid "Enter the Field Label"
|
2566 |
+
msgstr "Entrez le Nom de Champ"
|
2567 |
+
|
2568 |
+
#: pro/assets/js/acfe-pro-field-group.js:91
|
2569 |
+
msgid "Hint: Shift+click to bypass this prompt"
|
2570 |
+
msgstr "Astuce: Shift+click pour passer"
|
2571 |
+
|
2572 |
+
#: pro/assets/js/acfe-pro-field-group.js:235
|
2573 |
+
#: pro/includes/fields/field-flexible-content-locations.php:312
|
2574 |
+
msgid "or"
|
2575 |
+
msgstr "ou"
|
2576 |
+
|
2577 |
+
#: pro/assets/js/acfe-pro-field-group.js:306
|
2578 |
+
msgid "(this field)"
|
2579 |
+
msgstr "(ce champ)"
|
2580 |
+
|
2581 |
+
#: pro/assets/js/acfe-pro-field-group.js:337
|
2582 |
+
msgid "No toggle fields available"
|
2583 |
+
msgstr "Aucun champ de basculement disponible"
|
2584 |
+
|
2585 |
+
#: pro/assets/js/acfe-pro-input.js:672 pro/includes/modules/scripts.php:278
|
2586 |
+
msgid "Clear"
|
2587 |
+
msgstr "Effacer"
|
2588 |
+
|
2589 |
+
#: pro/assets/js/acfe-pro-input.js:1037
|
2590 |
+
msgid "Maximum items reached ({max} items)"
|
2591 |
+
msgstr "Nombre maximal d’objets atteints ({max} éléments)"
|
2592 |
+
|
2593 |
+
#: pro/assets/js/acfe-pro-input.js:1152
|
2594 |
+
msgid "Edit File"
|
2595 |
+
msgstr "Modifier le fichier"
|
2596 |
+
|
2597 |
+
#: pro/assets/js/acfe-pro-input.js:1153
|
2598 |
+
msgid "Update File"
|
2599 |
+
msgstr "Mettre à jour le fichier"
|
2600 |
+
|
2601 |
+
#: pro/assets/js/acfe-pro-input.js:1609
|
2602 |
+
msgid "This field has a limit of {max} {label} {identifier}"
|
2603 |
+
msgstr "Ce champ a une limite de {Max} {label} {identificateur}"
|
2604 |
+
|
2605 |
+
#: pro/assets/js/acfe-pro-input.js:1610
|
2606 |
+
#: pro/includes/fields/field-flexible-content-locations.php:181
|
2607 |
+
msgid "layout"
|
2608 |
+
msgid_plural "layouts"
|
2609 |
+
msgstr[0] "disposition"
|
2610 |
+
msgstr[1] "mises en page"
|
2611 |
+
|
2612 |
+
#: pro/assets/js/acfe-pro-input.js:3703
|
2613 |
+
msgid "OK"
|
2614 |
+
msgstr "OK"
|
2615 |
+
|
2616 |
+
#: pro/assets/js/acfe-pro-input.js:3703
|
2617 |
+
msgid "Cancel"
|
2618 |
+
msgstr "Annuler"
|
2619 |
+
|
2620 |
+
#: pro/includes/admin/tools/rewrite-rules-export.php:15
|
2621 |
+
#: pro/includes/admin/tools/rewrite-rules-export.php:42
|
2622 |
+
#: pro/includes/admin/tools/rewrite-rules-export.php:48
|
2623 |
+
msgid "Export Rewrite Rules"
|
2624 |
+
msgstr "Exporter les règles de réécriture"
|
2625 |
+
|
2626 |
+
#: pro/includes/admin/tools/rewrite-rules-export.php:177
|
2627 |
+
msgid "Rewrite rules exported."
|
2628 |
+
msgstr "Réécrire les règles exportées."
|
2629 |
+
|
2630 |
+
#: pro/includes/admin/tools/settings-export.php:15
|
2631 |
+
msgid "Export Settings"
|
2632 |
+
msgstr "Exporter les paramètres"
|
2633 |
+
|
2634 |
+
#: pro/includes/admin/tools/settings-export.php:42
|
2635 |
+
#: pro/includes/admin/tools/settings-export.php:48
|
2636 |
+
msgid "Export ACF Settings"
|
2637 |
+
msgstr "Exporter les paramètres ACF"
|
2638 |
+
|
2639 |
+
#: pro/includes/admin/tools/settings-export.php:203
|
2640 |
+
msgid "Settings exported."
|
2641 |
+
msgstr "Paramètres exportés."
|
2642 |
+
|
2643 |
+
#: pro/includes/admin/tools/settings-import.php:15
|
2644 |
+
msgid "Import Settings"
|
2645 |
+
msgstr "Importer les paramètres"
|
2646 |
+
|
2647 |
+
#: pro/includes/admin/tools/settings-import.php:26
|
2648 |
+
#: pro/includes/admin/tools/settings-import.php:32
|
2649 |
+
msgid "Import ACF Settings"
|
2650 |
+
msgstr "Importer les paramètres ACF"
|
2651 |
+
|
2652 |
+
#: pro/includes/admin/tools/settings-import.php:79
|
2653 |
+
msgid "Settings imported."
|
2654 |
+
msgstr "Paramètres importés."
|
2655 |
+
|
2656 |
+
#: pro/includes/admin/tools/templates-export.php:19
|
2657 |
+
#: pro/includes/admin/tools/templates-export.php:20
|
2658 |
+
msgid "Export Templates"
|
2659 |
+
msgstr "Exporter des modèles"
|
2660 |
+
|
2661 |
+
#: pro/includes/admin/tools/templates-export.php:21
|
2662 |
+
msgid "Select Templates"
|
2663 |
+
msgstr "Sélectionner les modèles"
|
2664 |
+
|
2665 |
+
#: pro/includes/admin/tools/templates-export.php:28
|
2666 |
+
msgid "No template available."
|
2667 |
+
msgstr "Aucun modèle disponible."
|
2668 |
+
|
2669 |
+
#: pro/includes/admin/tools/templates-export.php:29
|
2670 |
+
msgid "No templates selected"
|
2671 |
+
msgstr "Aucun modèle sélectionné"
|
2672 |
+
|
2673 |
+
#: pro/includes/admin/tools/templates-import.php:20
|
2674 |
+
#: pro/includes/admin/tools/templates-import.php:21
|
2675 |
+
msgid "Import Templates"
|
2676 |
+
msgstr "Importer un modèle"
|
2677 |
+
|
2678 |
+
#: pro/includes/field-groups/field-group-hide-on-screen.php:30
|
2679 |
+
msgid "Save Draft"
|
2680 |
+
msgstr "Enregistrer le Brouillon"
|
2681 |
+
|
2682 |
+
#: pro/includes/field-groups/field-group-hide-on-screen.php:31
|
2683 |
+
#: pro/includes/fields/field-post-field.php:50
|
2684 |
+
msgid "Preview"
|
2685 |
+
msgstr "Aperçu"
|
2686 |
+
|
2687 |
+
#: pro/includes/field-groups/field-group-hide-on-screen.php:32
|
2688 |
+
msgid "Post Status"
|
2689 |
+
msgstr "Statuts de l'article"
|
2690 |
+
|
2691 |
+
#: pro/includes/field-groups/field-group-hide-on-screen.php:33
|
2692 |
+
msgid "Post Visibility"
|
2693 |
+
msgstr "Visibilité de l'article"
|
2694 |
+
|
2695 |
+
#: pro/includes/field-groups/field-group-hide-on-screen.php:34
|
2696 |
+
msgid "Publish Date"
|
2697 |
+
msgstr "Date de l'article"
|
2698 |
+
|
2699 |
+
#: pro/includes/field-groups/field-group-hide-on-screen.php:35
|
2700 |
+
msgid "Move to trash"
|
2701 |
+
msgstr "Supprimer"
|
2702 |
+
|
2703 |
+
#: pro/includes/field-groups/field-group-hide-on-screen.php:36
|
2704 |
+
msgid "Publish/Update"
|
2705 |
+
msgstr "Publier/Mettre à Jour"
|
2706 |
+
|
2707 |
+
#: pro/includes/field-groups/field-group-hide-on-screen.php:37
|
2708 |
+
msgid "Minor Publishing Actions"
|
2709 |
+
msgstr "Actions de Publication Mineures"
|
2710 |
+
|
2711 |
+
#: pro/includes/field-groups/field-group-hide-on-screen.php:38
|
2712 |
+
msgid "Misc Publishing Actions"
|
2713 |
+
msgstr "Actions de Publication Diverses"
|
2714 |
+
|
2715 |
+
#: pro/includes/field-groups/field-group-hide-on-screen.php:39
|
2716 |
+
msgid "Major Publishing Actions"
|
2717 |
+
msgstr "Actions de Publication Majeures"
|
2718 |
+
|
2719 |
+
#: pro/includes/field-groups/field-group-hide-on-screen.php:40
|
2720 |
+
msgid "Publish Metabox"
|
2721 |
+
msgstr "Métabox de Publication"
|
2722 |
+
|
2723 |
+
#: pro/includes/field-groups/field-group-ui.php:44
|
2724 |
+
msgid "Hint: Shift to bypass this prompt"
|
2725 |
+
msgstr "Astuce: Shift pour passer"
|
2726 |
+
|
2727 |
+
#: pro/includes/fields-settings/instructions.php:39
|
2728 |
+
msgid "Instructions Placement"
|
2729 |
+
msgstr "Instructions Placement"
|
2730 |
+
|
2731 |
+
#: pro/includes/fields-settings/min-max.php:290
|
2732 |
+
msgid "Selection restrictions"
|
2733 |
+
msgstr "Restrictions de sélection"
|
2734 |
+
|
2735 |
+
#: pro/includes/fields-settings/min-max.php:295
|
2736 |
+
msgid "Min"
|
2737 |
+
msgstr "Min"
|
2738 |
+
|
2739 |
+
#: pro/includes/fields-settings/min-max.php:304
|
2740 |
+
msgid "Max"
|
2741 |
+
msgstr "Max"
|
2742 |
+
|
2743 |
+
#: pro/includes/fields-settings/min-max.php:344
|
2744 |
+
#, php-format
|
2745 |
+
msgid "%s requires at least %s selection"
|
2746 |
+
msgid_plural "%s requires at least %s selections"
|
2747 |
+
msgstr[0] "%s requiert une sélection d'au moins %s"
|
2748 |
+
msgstr[1] "%s exige au moins %s sélections"
|
2749 |
+
|
2750 |
+
#: pro/includes/fields-settings/min-max.php:357
|
2751 |
+
#, php-format
|
2752 |
+
msgid "%s allows a maximum of %s selection"
|
2753 |
+
msgid_plural "%s allows a maximum of %s selections"
|
2754 |
+
msgstr[0] "%s permet un maximum de sélection %s"
|
2755 |
+
msgstr[1] "%s permet un maximum de sélections %s"
|
2756 |
+
|
2757 |
+
#: pro/includes/fields-settings/required.php:22
|
2758 |
+
msgid "Required Message"
|
2759 |
+
msgstr "Message requis"
|
2760 |
+
|
2761 |
+
#: pro/includes/fields-settings/required.php:26
|
2762 |
+
#, php-format
|
2763 |
+
msgid "%s value is required"
|
2764 |
+
msgstr "le champ %s est obligatoire"
|
2765 |
+
|
2766 |
+
#: pro/includes/fields-settings/visibility.php:39
|
2767 |
+
msgid "Field Visibility"
|
2768 |
+
msgstr "Champ de visibilité"
|
2769 |
+
|
2770 |
+
#: pro/includes/fields/field-block-types.php:17
|
2771 |
+
msgid "Block Types"
|
2772 |
+
msgstr "Types de bloc"
|
2773 |
+
|
2774 |
+
#: pro/includes/fields/field-block-types.php:80
|
2775 |
+
msgid "Allow Block Types"
|
2776 |
+
msgstr "Autoriser les types de blocs"
|
2777 |
+
|
2778 |
+
#: pro/includes/fields/field-block-types.php:88
|
2779 |
+
msgid "All block types"
|
2780 |
+
msgstr "Tous types de blocs"
|
2781 |
+
|
2782 |
+
#: pro/includes/fields/field-block-types.php:121
|
2783 |
+
msgid "Block type object"
|
2784 |
+
msgstr "Objet de type bloc"
|
2785 |
+
|
2786 |
+
#: pro/includes/fields/field-block-types.php:122
|
2787 |
+
msgid "Block type name"
|
2788 |
+
msgstr "Nom du type de bloc"
|
2789 |
+
|
2790 |
+
#: pro/includes/fields/field-checkbox.php:107
|
2791 |
+
msgid "Toggle All"
|
2792 |
+
msgstr "Sélectionner tout"
|
2793 |
+
|
2794 |
+
#: pro/includes/fields/field-color-picker.php:23
|
2795 |
+
#: pro/includes/fields/field-color-picker.php:181
|
2796 |
+
msgid "Select Color"
|
2797 |
+
msgstr "Sélectionner une couleur"
|
2798 |
+
|
2799 |
+
#: pro/includes/fields/field-color-picker.php:76
|
2800 |
+
#: pro/includes/fields/field-color-picker.php:169
|
2801 |
+
#: pro/includes/fields/field-color-picker.php:305
|
2802 |
+
msgid "Label"
|
2803 |
+
msgstr "Label"
|
2804 |
+
|
2805 |
+
#: pro/includes/fields/field-color-picker.php:77
|
2806 |
+
msgid "Color + Label Array"
|
2807 |
+
msgstr "Tableau Couleur + Intitulé"
|
2808 |
+
|
2809 |
+
#: pro/includes/fields/field-color-picker.php:147
|
2810 |
+
msgid "Display Style"
|
2811 |
+
msgstr "Style d’affichage"
|
2812 |
+
|
2813 |
+
#: pro/includes/fields/field-color-picker.php:170
|
2814 |
+
msgid "Both (Array)"
|
2815 |
+
msgstr "Les deux (Tableau)"
|
2816 |
+
|
2817 |
+
#: pro/includes/fields/field-color-picker.php:177
|
2818 |
+
#: pro/includes/fields/field-file.php:175
|
2819 |
+
msgid "Button Label"
|
2820 |
+
msgstr "Nom du bouton"
|
2821 |
+
|
2822 |
+
#: pro/includes/fields/field-color-picker.php:194
|
2823 |
+
msgid "Color Picker"
|
2824 |
+
msgstr "Sélecteur de couleur"
|
2825 |
+
|
2826 |
+
#: pro/includes/fields/field-color-picker.php:202
|
2827 |
+
msgid "Position Absolute"
|
2828 |
+
msgstr "Position Absolue"
|
2829 |
+
|
2830 |
+
#: pro/includes/fields/field-color-picker.php:219
|
2831 |
+
msgid "Text Input"
|
2832 |
+
msgstr "Saisie de texte"
|
2833 |
+
|
2834 |
+
#: pro/includes/fields/field-color-picker.php:243
|
2835 |
+
#: pro/includes/fields/field-date-range-picker.php:249
|
2836 |
+
msgid "Allow null"
|
2837 |
+
msgstr "Autoriser une valeur « null »"
|
2838 |
+
|
2839 |
+
#: pro/includes/fields/field-color-picker.php:254
|
2840 |
+
msgid "RGBA"
|
2841 |
+
msgstr "RGBA"
|
2842 |
+
|
2843 |
+
#: pro/includes/fields/field-color-picker.php:264
|
2844 |
+
msgid "Use Theme Colors"
|
2845 |
+
msgstr "Utiliser les couleurs du thème"
|
2846 |
+
|
2847 |
+
#: pro/includes/fields/field-color-picker.php:272
|
2848 |
+
msgid "Custom Colors"
|
2849 |
+
msgstr "Couleurs personnalisées"
|
2850 |
+
|
2851 |
+
#: pro/includes/fields/field-color-picker.php:273
|
2852 |
+
msgid "Enter each choice on a new line."
|
2853 |
+
msgstr "Entrez chaque choix sur une nouvelle ligne."
|
2854 |
+
|
2855 |
+
#: pro/includes/fields/field-color-picker.php:273
|
2856 |
+
msgid "For more control, you may specify both a value and label like this:"
|
2857 |
+
msgstr ""
|
2858 |
+
"Pour plus de contrôle, vous pouvez spécifier à la fois une valeur et une "
|
2859 |
+
"étiquette comme ceci:"
|
2860 |
+
|
2861 |
+
#: pro/includes/fields/field-color-picker.php:273
|
2862 |
+
msgid "#2271b1 : Primary"
|
2863 |
+
msgstr "#2271b1 : Primaire"
|
2864 |
+
|
2865 |
+
#: pro/includes/fields/field-column.php:66
|
2866 |
+
#: pro/includes/fields/field-column.php:88
|
2867 |
+
msgid "Border"
|
2868 |
+
msgstr "Bordure"
|
2869 |
+
|
2870 |
+
#: pro/includes/fields/field-column.php:72
|
2871 |
+
msgid "Column Border"
|
2872 |
+
msgstr "Bordure de colonne"
|
2873 |
+
|
2874 |
+
#: pro/includes/fields/field-column.php:73
|
2875 |
+
msgid "Fields Border"
|
2876 |
+
msgstr "Bordure des champs"
|
2877 |
+
|
2878 |
+
#: pro/includes/fields/field-column.php:94
|
2879 |
+
msgid "Endpoint Border"
|
2880 |
+
msgstr "Bordure de point de terminaison"
|
2881 |
+
|
2882 |
+
#: pro/includes/fields/field-countries.php:17
|
2883 |
+
msgid "Countries"
|
2884 |
+
msgstr "Pays"
|
2885 |
+
|
2886 |
+
#: pro/includes/fields/field-countries.php:123
|
2887 |
+
#: pro/includes/fields/field-phone-number.php:46
|
2888 |
+
msgid "Allow Countries"
|
2889 |
+
msgstr "Autoriser les pays"
|
2890 |
+
|
2891 |
+
#: pro/includes/fields/field-countries.php:134
|
2892 |
+
msgid "All Countries"
|
2893 |
+
msgstr "Tous les pays"
|
2894 |
+
|
2895 |
+
#: pro/includes/fields/field-countries.php:166
|
2896 |
+
msgid "Country array"
|
2897 |
+
msgstr "Tableau de pays"
|
2898 |
+
|
2899 |
+
#: pro/includes/fields/field-countries.php:167
|
2900 |
+
msgid "Country name"
|
2901 |
+
msgstr "Nom du pays"
|
2902 |
+
|
2903 |
+
#: pro/includes/fields/field-countries.php:168
|
2904 |
+
msgid "Country code"
|
2905 |
+
msgstr "Code du pays"
|
2906 |
+
|
2907 |
+
#: pro/includes/fields/field-countries.php:186
|
2908 |
+
#: pro/includes/fields/field-currencies.php:160
|
2909 |
+
#: pro/includes/fields/field-date-range-picker.php:63
|
2910 |
+
#: pro/includes/fields/field-image-sizes.php:127
|
2911 |
+
#: pro/includes/fields/field-languages.php:253
|
2912 |
+
#: pro/includes/fields/field-payment-cart.php:98
|
2913 |
+
msgid "Display Format"
|
2914 |
+
msgstr "Format d’affichage"
|
2915 |
+
|
2916 |
+
#: pro/includes/fields/field-countries.php:187
|
2917 |
+
#: pro/includes/fields/field-currencies.php:161
|
2918 |
+
#: pro/includes/fields/field-date-range-picker.php:64
|
2919 |
+
#: pro/includes/fields/field-languages.php:254
|
2920 |
+
#: pro/includes/fields/field-payment-cart.php:99
|
2921 |
+
msgid "The format displayed when editing a post"
|
2922 |
+
msgstr "Le format affiché lors de la modification d'un poste"
|
2923 |
+
|
2924 |
+
#: pro/includes/fields/field-countries.php:195
|
2925 |
+
#: pro/includes/fields/field-currencies.php:169
|
2926 |
+
#: pro/includes/fields/field-date-range-picker.php:72
|
2927 |
+
#: pro/includes/fields/field-date-range-picker.php:88
|
2928 |
+
#: pro/includes/fields/field-languages.php:262
|
2929 |
+
#: pro/includes/fields/field-payment-cart.php:106
|
2930 |
+
msgid "Custom:"
|
2931 |
+
msgstr "Personnalisé:"
|
2932 |
+
|
2933 |
+
#: pro/includes/fields/field-countries.php:201
|
2934 |
+
#: pro/includes/fields/field-currencies.php:190
|
2935 |
+
#: pro/includes/fields/field-languages.php:268
|
2936 |
+
msgid "Display Flags"
|
2937 |
+
msgstr "Afficher les indicateurs"
|
2938 |
+
|
2939 |
+
#: pro/includes/fields/field-countries.php:202
|
2940 |
+
#: pro/includes/fields/field-currencies.php:191
|
2941 |
+
msgid "Display countries flags"
|
2942 |
+
msgstr "Afficher les drapeaux des pays"
|
2943 |
+
|
2944 |
+
#: pro/includes/fields/field-countries.php:238
|
2945 |
+
#: pro/includes/fields/field-currencies.php:227
|
2946 |
+
#: pro/includes/fields/field-languages.php:305
|
2947 |
+
msgid "Group by Continents"
|
2948 |
+
msgstr "Groupe par continents"
|
2949 |
+
|
2950 |
+
#: pro/includes/fields/field-countries.php:239
|
2951 |
+
msgid "Group countries by their continent"
|
2952 |
+
msgstr "Regrouper les pays par continent"
|
2953 |
+
|
2954 |
+
#: pro/includes/fields/field-currencies.php:17
|
2955 |
+
msgid "Currencies"
|
2956 |
+
msgstr "Devises"
|
2957 |
+
|
2958 |
+
#: pro/includes/fields/field-currencies.php:123
|
2959 |
+
msgid "Allow Currencies"
|
2960 |
+
msgstr "Autoriser les devises"
|
2961 |
+
|
2962 |
+
#: pro/includes/fields/field-currencies.php:134
|
2963 |
+
msgid "All Currencies"
|
2964 |
+
msgstr "Toutes les Devises"
|
2965 |
+
|
2966 |
+
#: pro/includes/fields/field-currencies.php:181
|
2967 |
+
msgid "Currency array"
|
2968 |
+
msgstr "Tableau de devises"
|
2969 |
+
|
2970 |
+
#: pro/includes/fields/field-currencies.php:182
|
2971 |
+
msgid "Currency name"
|
2972 |
+
msgstr "Devise"
|
2973 |
+
|
2974 |
+
#: pro/includes/fields/field-currencies.php:183
|
2975 |
+
msgid "Currency code"
|
2976 |
+
msgstr "Code de la devise"
|
2977 |
+
|
2978 |
+
#: pro/includes/fields/field-currencies.php:184
|
2979 |
+
msgid "Currency symbol"
|
2980 |
+
msgstr "Symbole de la monnaie"
|
2981 |
+
|
2982 |
+
#: pro/includes/fields/field-currencies.php:228
|
2983 |
+
msgid "Group currencies by their continent"
|
2984 |
+
msgstr "Regrouper les monnaies par continent"
|
2985 |
+
|
2986 |
+
#: pro/includes/fields/field-date-picker.php:44
|
2987 |
+
#: pro/includes/fields/field-date-range-picker.php:173
|
2988 |
+
#: pro/includes/fields/field-date-time-picker.php:53
|
2989 |
+
msgid "Date Restriction"
|
2990 |
+
msgstr "Date Restriction"
|
2991 |
+
|
2992 |
+
#: pro/includes/fields/field-date-picker.php:69
|
2993 |
+
#: pro/includes/fields/field-date-range-picker.php:229
|
2994 |
+
#: pro/includes/fields/field-date-time-picker.php:103
|
2995 |
+
msgid "No Weekends"
|
2996 |
+
msgstr "Pas de week-end"
|
2997 |
+
|
2998 |
+
#: pro/includes/fields/field-date-range-picker.php:19
|
2999 |
+
msgid "Date Range Picker"
|
3000 |
+
msgstr "Sélecteur de plages de dates"
|
3001 |
+
|
3002 |
+
#: pro/includes/fields/field-date-range-picker.php:78
|
3003 |
+
msgid "Return Format"
|
3004 |
+
msgstr "Format de retour"
|
3005 |
+
|
3006 |
+
#: pro/includes/fields/field-date-range-picker.php:79
|
3007 |
+
msgid "The format returned via template functions"
|
3008 |
+
msgstr "Le format renvoyé par l'intermédiaire des fonctions de modèle"
|
3009 |
+
|
3010 |
+
#: pro/includes/fields/field-date-range-picker.php:94
|
3011 |
+
msgid "Week Starts On"
|
3012 |
+
msgstr "La semaine débute le"
|
3013 |
+
|
3014 |
+
#: pro/includes/fields/field-date-range-picker.php:111
|
3015 |
+
msgid "Separator"
|
3016 |
+
msgstr "Séparateur"
|
3017 |
+
|
3018 |
+
#: pro/includes/fields/field-date-range-picker.php:119
|
3019 |
+
msgid "Default Date"
|
3020 |
+
msgstr "Date par Défaut"
|
3021 |
+
|
3022 |
+
#: pro/includes/fields/field-date-range-picker.php:146
|
3023 |
+
msgid "Range Restriction"
|
3024 |
+
msgstr "Restriction de plage"
|
3025 |
+
|
3026 |
+
#: pro/includes/fields/field-date-range-picker.php:202
|
3027 |
+
msgid "Custom Ranges"
|
3028 |
+
msgstr "Plages personnalisées"
|
3029 |
+
|
3030 |
+
#: pro/includes/fields/field-date-range-picker.php:219
|
3031 |
+
msgid "Show Dropdowns"
|
3032 |
+
msgstr "Autoriser les menus déroulants"
|
3033 |
+
|
3034 |
+
#: pro/includes/fields/field-date-range-picker.php:239
|
3035 |
+
msgid "Auto Close on Selection"
|
3036 |
+
msgstr "Fermeture automatique lors de la sélection"
|
3037 |
+
|
3038 |
+
#: pro/includes/fields/field-date-time-picker.php:79
|
3039 |
+
#: pro/includes/fields/field-time-picker.php:50
|
3040 |
+
msgid "Time Restriction"
|
3041 |
+
msgstr "Restriction de temps"
|
3042 |
+
|
3043 |
+
#: pro/includes/fields/field-date-time-picker.php:113
|
3044 |
+
#: pro/includes/fields/field-time-picker.php:75
|
3045 |
+
msgid "Hour Restriction"
|
3046 |
+
msgstr "Restriction d’heures"
|
3047 |
+
|
3048 |
+
#: pro/includes/fields/field-date-time-picker.php:139
|
3049 |
+
#: pro/includes/fields/field-time-picker.php:101
|
3050 |
+
msgid "Minutes Restriction"
|
3051 |
+
msgstr "Minutes Restriction"
|
3052 |
+
|
3053 |
+
#: pro/includes/fields/field-date-time-picker.php:166
|
3054 |
+
#: pro/includes/fields/field-time-picker.php:128
|
3055 |
+
msgid "Seconds Restriction"
|
3056 |
+
msgstr "Restriction des secondes"
|
3057 |
+
|
3058 |
+
#: pro/includes/fields/field-field-groups.php:82
|
3059 |
+
msgid "Allow Field Groups"
|
3060 |
+
msgstr "Autoriser les groupes de champs"
|
3061 |
+
|
3062 |
+
#: pro/includes/fields/field-field-groups.php:90
|
3063 |
+
msgid "All field groups"
|
3064 |
+
msgstr "Tous les groupes de champs"
|
3065 |
+
|
3066 |
+
#: pro/includes/fields/field-field-groups.php:122
|
3067 |
+
msgid "Field group object"
|
3068 |
+
msgstr "Objet de groupe de champs"
|
3069 |
+
|
3070 |
+
#: pro/includes/fields/field-field-groups.php:123
|
3071 |
+
msgid "Field group key"
|
3072 |
+
msgstr "Clé de groupe de champs"
|
3073 |
+
|
3074 |
+
#: pro/includes/fields/field-field-groups.php:124
|
3075 |
+
msgid "Field group ID"
|
3076 |
+
msgstr "ID de groupe de champs"
|
3077 |
+
|
3078 |
+
#: pro/includes/fields/field-field-types.php:17
|
3079 |
+
msgid "Field Types"
|
3080 |
+
msgstr "Types de champ"
|
3081 |
+
|
3082 |
+
#: pro/includes/fields/field-field-types.php:85
|
3083 |
+
msgid "Allow Field Types"
|
3084 |
+
msgstr "Autoriser les types de champs"
|
3085 |
+
|
3086 |
+
#: pro/includes/fields/field-field-types.php:93
|
3087 |
+
msgid "All field types"
|
3088 |
+
msgstr "Tous les types de champ"
|
3089 |
+
|
3090 |
+
#: pro/includes/fields/field-field-types.php:125
|
3091 |
+
msgid "Field type object"
|
3092 |
+
msgstr "Objet de type de champ"
|
3093 |
+
|
3094 |
+
#: pro/includes/fields/field-field-types.php:126
|
3095 |
+
msgid "Field type name"
|
3096 |
+
msgstr "Nom du type de champ"
|
3097 |
+
|
3098 |
+
#: pro/includes/fields/field-fields.php:95
|
3099 |
+
msgid "Allow Fields"
|
3100 |
+
msgstr "Autoriser les champs"
|
3101 |
+
|
3102 |
+
#: pro/includes/fields/field-fields.php:103
|
3103 |
+
msgid "All fields"
|
3104 |
+
msgstr "Tous les champs"
|
3105 |
+
|
3106 |
+
#: pro/includes/fields/field-fields.php:135
|
3107 |
+
msgid "Field object"
|
3108 |
+
msgstr "Objet de champ"
|
3109 |
+
|
3110 |
+
#: pro/includes/fields/field-fields.php:136
|
3111 |
+
msgid "Field key"
|
3112 |
+
msgstr "Touche de champ"
|
3113 |
+
|
3114 |
+
#: pro/includes/fields/field-fields.php:137
|
3115 |
+
msgid "Field name"
|
3116 |
+
msgstr "Nom du champ"
|
3117 |
+
|
3118 |
+
#: pro/includes/fields/field-fields.php:138
|
3119 |
+
msgid "Field ID"
|
3120 |
+
msgstr "Champ – Identifiant"
|
3121 |
+
|
3122 |
+
#: pro/includes/fields/field-file.php:85
|
3123 |
+
msgid "Preview Style"
|
3124 |
+
msgstr "Style d’aperçu"
|
3125 |
+
|
3126 |
+
#: pro/includes/fields/field-file.php:138
|
3127 |
+
#: pro/includes/fields/field-payment-cart.php:119
|
3128 |
+
#: pro/includes/fields/field-payment-selector.php:96
|
3129 |
+
#: pro/includes/fields/field-phone-number.php:65
|
3130 |
+
msgid "Select"
|
3131 |
+
msgstr "Sélectionner"
|
3132 |
+
|
3133 |
+
#: pro/includes/fields/field-file.php:166
|
3134 |
+
msgid "Upload Folder"
|
3135 |
+
msgstr "Dossier des envois"
|
3136 |
+
|
3137 |
+
#: pro/includes/fields/field-file.php:178
|
3138 |
+
#: pro/includes/fields/field-file.php:496
|
3139 |
+
msgid "Add File"
|
3140 |
+
msgstr "Ajouter un fichier"
|
3141 |
+
|
3142 |
+
#: pro/includes/fields/field-file.php:230
|
3143 |
+
msgid "File Count"
|
3144 |
+
msgstr "Nombre de fichiers"
|
3145 |
+
|
3146 |
+
#: pro/includes/fields/field-file.php:272
|
3147 |
+
msgid "Allow multiple files"
|
3148 |
+
msgstr "Autoriser plusieurs fichiers"
|
3149 |
+
|
3150 |
+
#: pro/includes/fields/field-file.php:461
|
3151 |
+
msgid "File name"
|
3152 |
+
msgstr "Nom du fichier"
|
3153 |
+
|
3154 |
+
#: pro/includes/fields/field-flexible-content-grid.php:72
|
3155 |
+
msgid "Grid System"
|
3156 |
+
msgstr "Système de grille"
|
3157 |
+
|
3158 |
+
#: pro/includes/fields/field-flexible-content-grid.php:75
|
3159 |
+
msgid "Enable columns mode"
|
3160 |
+
msgstr "Activer le mode colonnes"
|
3161 |
+
|
3162 |
+
#: pro/includes/fields/field-flexible-content-grid.php:187
|
3163 |
+
msgid "Grid System: Container"
|
3164 |
+
msgstr "Système de grille: Conteneur"
|
3165 |
+
|
3166 |
+
#: pro/includes/fields/field-flexible-content-grid.php:190
|
3167 |
+
msgid "Apply maximum grid width"
|
3168 |
+
msgstr "Appliquer la largeur maximale de la grille"
|
3169 |
+
|
3170 |
+
#: pro/includes/fields/field-flexible-content-grid.php:221
|
3171 |
+
msgid "Grid settings"
|
3172 |
+
msgstr "Paramètres de grille"
|
3173 |
+
|
3174 |
+
#: pro/includes/fields/field-flexible-content-locations.php:180
|
3175 |
+
#: pro/includes/fields/field-flexible-content-locations.php:195
|
3176 |
+
msgid "This field requires at least {min} {label} {identifier}"
|
3177 |
+
msgstr "Ce champ a une limite de {min} {label} {identifier}"
|
3178 |
+
|
3179 |
+
#: pro/includes/fields/field-flexible-content-locations.php:244
|
3180 |
+
msgid "Layouts Locations Rules"
|
3181 |
+
msgstr "Règles d’emplacements de mise en page"
|
3182 |
+
|
3183 |
+
#: pro/includes/fields/field-flexible-content-locations.php:247
|
3184 |
+
msgid "Define custom locations rules for each layouts"
|
3185 |
+
msgstr ""
|
3186 |
+
"Définir des règles d’emplacements personnalisées pour chaque mise en page"
|
3187 |
+
|
3188 |
+
#: pro/includes/fields/field-flexible-content-locations.php:312
|
3189 |
+
msgid "Location Rules"
|
3190 |
+
msgstr "Règles d’emplacement"
|
3191 |
+
|
3192 |
+
#: pro/includes/fields/field-flexible-content-locations.php:344
|
3193 |
+
msgid "Add rule group"
|
3194 |
+
msgstr "Ajouter un groupe de règles"
|
3195 |
+
|
3196 |
+
#: pro/includes/fields/field-flexible-content-locations.php:442
|
3197 |
+
msgid "and"
|
3198 |
+
msgstr "et"
|
3199 |
+
|
3200 |
+
#: pro/includes/fields/field-google-map.php:56
|
3201 |
+
msgid "Map Preview"
|
3202 |
+
msgstr "Aperçu de la carte"
|
3203 |
+
|
3204 |
+
#: pro/includes/fields/field-google-map.php:91
|
3205 |
+
msgid "Zoom"
|
3206 |
+
msgstr "Zoom"
|
3207 |
+
|
3208 |
+
#: pro/includes/fields/field-google-map.php:153
|
3209 |
+
msgid "Marker: Image"
|
3210 |
+
msgstr "Marqueur : Image"
|
3211 |
+
|
3212 |
+
#: pro/includes/fields/field-google-map.php:161
|
3213 |
+
msgid "Marker: Size"
|
3214 |
+
msgstr "Marqueur : Taille"
|
3215 |
+
|
3216 |
+
#: pro/includes/fields/field-google-map.php:200
|
3217 |
+
msgid "View: Map Type"
|
3218 |
+
msgstr "Affichage : Type de carte"
|
3219 |
+
|
3220 |
+
#: pro/includes/fields/field-google-map.php:215
|
3221 |
+
msgid "View: Hide UI"
|
3222 |
+
msgstr "Affichage : Masquer l’interface utilisateur"
|
3223 |
+
|
3224 |
+
#: pro/includes/fields/field-google-map.php:226
|
3225 |
+
msgid "View: Hide Zoom Control"
|
3226 |
+
msgstr "Affichage : Masquer le contrôle de zoom"
|
3227 |
+
|
3228 |
+
#: pro/includes/fields/field-google-map.php:246
|
3229 |
+
msgid "View: Hide Map Selection"
|
3230 |
+
msgstr "Affichage : Masquer la sélection de carte"
|
3231 |
+
|
3232 |
+
#: pro/includes/fields/field-google-map.php:266
|
3233 |
+
msgid "View: Hide Fullscreen"
|
3234 |
+
msgstr "Affichage : Masquer en plein écran"
|
3235 |
+
|
3236 |
+
#: pro/includes/fields/field-google-map.php:286
|
3237 |
+
msgid "View: Hide Streetview"
|
3238 |
+
msgstr "Affichage : Masquer Streetview"
|
3239 |
+
|
3240 |
+
#: pro/includes/fields/field-google-map.php:306
|
3241 |
+
msgid "View: Map Style"
|
3242 |
+
msgstr "Affichage : Style de carte"
|
3243 |
+
|
3244 |
+
#: pro/includes/fields/field-google-map.php:317
|
3245 |
+
msgid "API Key"
|
3246 |
+
msgstr "Clé API"
|
3247 |
+
|
3248 |
+
#: pro/includes/fields/field-image-selector.php:17
|
3249 |
+
msgid "Image Selector"
|
3250 |
+
msgstr "Sélecteur d’image"
|
3251 |
+
|
3252 |
+
#: pro/includes/fields/field-image-selector.php:50
|
3253 |
+
msgid "Choices"
|
3254 |
+
msgstr "Choix"
|
3255 |
+
|
3256 |
+
#: pro/includes/fields/field-image-selector.php:51
|
3257 |
+
msgid ""
|
3258 |
+
"Enter each choice on a new line. Image can be an URL or an attachment ID. "
|
3259 |
+
"For example:"
|
3260 |
+
msgstr ""
|
3261 |
+
"Entrez chaque choix sur une nouvelle ligne. L’image peut être une URL ou un "
|
3262 |
+
"ID de pièce jointe. par exemple:"
|
3263 |
+
|
3264 |
+
#: pro/includes/fields/field-image-selector.php:51
|
3265 |
+
msgid "choice1 : 895<br/>choice2 : /image.jpg"
|
3266 |
+
msgstr "choix1 : 895<br/>choix2 : /image.jpg"
|
3267 |
+
|
3268 |
+
#: pro/includes/fields/field-image-selector.php:71
|
3269 |
+
msgid "Images Size"
|
3270 |
+
msgstr "Taille des images"
|
3271 |
+
|
3272 |
+
#: pro/includes/fields/field-image-selector.php:82
|
3273 |
+
msgid "Container"
|
3274 |
+
msgstr "Conteneur"
|
3275 |
+
|
3276 |
+
#: pro/includes/fields/field-image-selector.php:120
|
3277 |
+
msgid "Array"
|
3278 |
+
msgstr "Tableau (Array)"
|
3279 |
+
|
3280 |
+
#: pro/includes/fields/field-image-selector.php:121
|
3281 |
+
msgid "Image"
|
3282 |
+
msgstr "Image"
|
3283 |
+
|
3284 |
+
#: pro/includes/fields/field-image-sizes.php:17
|
3285 |
+
msgid "Image Sizes"
|
3286 |
+
msgstr "Tailles des images"
|
3287 |
+
|
3288 |
+
#: pro/includes/fields/field-image-sizes.php:62
|
3289 |
+
#: pro/includes/fields/field-image-sizes.php:483
|
3290 |
+
msgid "Full Size"
|
3291 |
+
msgstr "Taille originale"
|
3292 |
+
|
3293 |
+
#: pro/includes/fields/field-image-sizes.php:92
|
3294 |
+
msgid "Allow Image Sizes"
|
3295 |
+
msgstr "Autoriser les tailles d’image"
|
3296 |
+
|
3297 |
+
#: pro/includes/fields/field-image-sizes.php:100
|
3298 |
+
msgid "All image sizes"
|
3299 |
+
msgstr ""
|
3300 |
+
"Entrez les catégories ids séparées par des virgules, par exemple: 3,5,7,95. "
|
3301 |
+
"Pour toutes catégories laissées en blanc"
|
3302 |
+
|
3303 |
+
#: pro/includes/fields/field-image-sizes.php:133
|
3304 |
+
#: pro/includes/fields/field-image-sizes.php:148
|
3305 |
+
msgid "Size name"
|
3306 |
+
msgstr "Nom de la taille"
|
3307 |
+
|
3308 |
+
#: pro/includes/fields/field-image-sizes.php:135
|
3309 |
+
msgid "Size name & dimensions"
|
3310 |
+
msgstr "Nom de la taille &dimensions"
|
3311 |
+
|
3312 |
+
#: pro/includes/fields/field-image-sizes.php:147
|
3313 |
+
msgid "Size object"
|
3314 |
+
msgstr "Objet de taille"
|
3315 |
+
|
3316 |
+
#: pro/includes/fields/field-languages.php:17
|
3317 |
+
#: pro/includes/fields/field-languages.php:179
|
3318 |
+
msgid "Languages"
|
3319 |
+
msgstr "Langues"
|
3320 |
+
|
3321 |
+
#: pro/includes/fields/field-languages.php:180
|
3322 |
+
msgid "Display languages set in"
|
3323 |
+
msgstr "Langues d’affichage définies dans"
|
3324 |
+
|
3325 |
+
#: pro/includes/fields/field-languages.php:200
|
3326 |
+
msgid "Allow Languages"
|
3327 |
+
msgstr "Autoriser les langues"
|
3328 |
+
|
3329 |
+
#: pro/includes/fields/field-languages.php:212
|
3330 |
+
msgid "All Languages"
|
3331 |
+
msgstr "Toutes les langues"
|
3332 |
+
|
3333 |
+
#: pro/includes/fields/field-languages.php:245
|
3334 |
+
msgid "Language array"
|
3335 |
+
msgstr "Tableau de langues"
|
3336 |
+
|
3337 |
+
#: pro/includes/fields/field-languages.php:246
|
3338 |
+
msgid "Language name"
|
3339 |
+
msgstr "Nom de la langue"
|
3340 |
+
|
3341 |
+
#: pro/includes/fields/field-languages.php:247
|
3342 |
+
msgid "Language locale code"
|
3343 |
+
msgstr "Code de paramètres régionaux de langue"
|
3344 |
+
|
3345 |
+
#: pro/includes/fields/field-languages.php:269
|
3346 |
+
msgid "Display languages flags"
|
3347 |
+
msgstr "Afficher les indicateurs de langues"
|
3348 |
+
|
3349 |
+
#: pro/includes/fields/field-languages.php:306
|
3350 |
+
msgid "Group languages by their continent"
|
3351 |
+
msgstr "Regrouper les langues par continent"
|
3352 |
+
|
3353 |
+
#: pro/includes/fields/field-menu-locations.php:17
|
3354 |
+
msgid "Menu Locations"
|
3355 |
+
msgstr "Emplacements de menus"
|
3356 |
+
|
3357 |
+
#: pro/includes/fields/field-menu-locations.php:80
|
3358 |
+
msgid "Allow Locations"
|
3359 |
+
msgstr "Autoriser les emplacements"
|
3360 |
+
|
3361 |
+
#: pro/includes/fields/field-menu-locations.php:88
|
3362 |
+
msgid "All locations"
|
3363 |
+
msgstr "Tous les lieux"
|
3364 |
+
|
3365 |
+
#: pro/includes/fields/field-menus.php:17
|
3366 |
+
msgid "Menus"
|
3367 |
+
msgstr "Menus"
|
3368 |
+
|
3369 |
+
#: pro/includes/fields/field-menus.php:81
|
3370 |
+
msgid "Allow Menus"
|
3371 |
+
msgstr "Autoriser les menus"
|
3372 |
+
|
3373 |
+
#: pro/includes/fields/field-menus.php:89
|
3374 |
+
msgid "All menus"
|
3375 |
+
msgstr "Tous les menus"
|
3376 |
+
|
3377 |
+
#: pro/includes/fields/field-menus.php:121
|
3378 |
+
msgid "Menu object"
|
3379 |
+
msgstr "Objet de menu"
|
3380 |
+
|
3381 |
+
#: pro/includes/fields/field-menus.php:122
|
3382 |
+
msgid "Menu name"
|
3383 |
+
msgstr "Nom du menu"
|
3384 |
+
|
3385 |
+
#: pro/includes/fields/field-menus.php:123
|
3386 |
+
msgid "Menu ID"
|
3387 |
+
msgstr "ID Menu"
|
3388 |
+
|
3389 |
+
#: pro/includes/fields/field-options-pages.php:14
|
3390 |
+
msgid "Options Pages"
|
3391 |
+
msgstr "Options des pages"
|
3392 |
+
|
3393 |
+
#: pro/includes/fields/field-options-pages.php:78
|
3394 |
+
msgid "Allow Options Pages"
|
3395 |
+
msgstr "Autoriser les pages d’options"
|
3396 |
+
|
3397 |
+
#: pro/includes/fields/field-options-pages.php:86
|
3398 |
+
msgid "All options pages"
|
3399 |
+
msgstr "Toutes les pages d’options"
|
3400 |
+
|
3401 |
+
#: pro/includes/fields/field-options-pages.php:118
|
3402 |
+
msgid "Options page object"
|
3403 |
+
msgstr "Objet de page Options"
|
3404 |
+
|
3405 |
+
#: pro/includes/fields/field-options-pages.php:119
|
3406 |
+
msgid "Options page name"
|
3407 |
+
msgstr "Nom de la page Options"
|
3408 |
+
|
3409 |
+
#: pro/includes/fields/field-payment-cart.php:19
|
3410 |
+
msgid "Payment Cart"
|
3411 |
+
msgstr "Panier de paiement"
|
3412 |
+
|
3413 |
+
#: pro/includes/fields/field-payment-cart.php:68
|
3414 |
+
#: pro/includes/fields/field-payment-selector.php:57
|
3415 |
+
msgid "Payment Field"
|
3416 |
+
msgstr "Champ de paiement"
|
3417 |
+
|
3418 |
+
#: pro/includes/fields/field-payment-cart.php:76
|
3419 |
+
#: pro/includes/fields/field-payment-selector.php:65
|
3420 |
+
msgid "Select the payment field"
|
3421 |
+
msgstr "Sélectionnez le champ de paiement"
|
3422 |
+
|
3423 |
+
#: pro/includes/fields/field-payment-cart.php:82
|
3424 |
+
msgid "items"
|
3425 |
+
msgstr "articles"
|
3426 |
+
|
3427 |
+
#: pro/includes/fields/field-payment-cart.php:83
|
3428 |
+
msgid "Enter each choice on a new line with the item price. For example:"
|
3429 |
+
msgstr ""
|
3430 |
+
"Entrez chaque choix sur une nouvelle ligne. L’image peut être une URL ou un "
|
3431 |
+
"ID de pièce jointe. par exemple:"
|
3432 |
+
|
3433 |
+
#: pro/includes/fields/field-payment-cart.php:83
|
3434 |
+
msgid "Item 1 : 29<br/>Item 2 : 49"
|
3435 |
+
msgstr "Produit 1 : 29<br/>Produit 2 : 49"
|
3436 |
+
|
3437 |
+
#: pro/includes/fields/field-payment-cart.php:112
|
3438 |
+
#: pro/includes/fields/field-payment-cart.php:113
|
3439 |
+
#: pro/includes/fields/field-payment-selector.php:90
|
3440 |
+
#: pro/includes/fields/field-payment-selector.php:91
|
3441 |
+
#: pro/includes/fields/field-post-field.php:35
|
3442 |
+
msgid "Field Type"
|
3443 |
+
msgstr "Type de champ"
|
3444 |
+
|
3445 |
+
#: pro/includes/fields/field-payment-cart.php:118
|
3446 |
+
#: pro/includes/fields/field-payment-selector.php:95
|
3447 |
+
msgid "Radio Button"
|
3448 |
+
msgstr "Bouton radio"
|
3449 |
+
|
3450 |
+
#: pro/includes/fields/field-payment-cart.php:489
|
3451 |
+
msgid "This item doesn't exists. Please try again"
|
3452 |
+
msgstr "Cet élément n'existe pas. Veuillez réessayer"
|
3453 |
+
|
3454 |
+
#: pro/includes/fields/field-payment-selector.php:19
|
3455 |
+
msgid "Payment Selector"
|
3456 |
+
msgstr "Sélecteur de paiement"
|
3457 |
+
|
3458 |
+
#: pro/includes/fields/field-payment-selector.php:23
|
3459 |
+
#: pro/includes/fields/field-payment-selector.php:74
|
3460 |
+
msgid "Credit Card"
|
3461 |
+
msgstr "Carte de crédit"
|
3462 |
+
|
3463 |
+
#: pro/includes/fields/field-payment-selector.php:71
|
3464 |
+
msgid "Payments Labels"
|
3465 |
+
msgstr "Étiquettes de paiement"
|
3466 |
+
|
3467 |
+
#: pro/includes/fields/field-payment-selector.php:80
|
3468 |
+
msgid "PayPal Label"
|
3469 |
+
msgstr "Label PayPal"
|
3470 |
+
|
3471 |
+
#: pro/includes/fields/field-payment-selector.php:140
|
3472 |
+
msgid "Icons"
|
3473 |
+
msgstr "Icônes"
|
3474 |
+
|
3475 |
+
#: pro/includes/fields/field-payment.php:19
|
3476 |
+
msgid "Payment"
|
3477 |
+
msgstr "Paiement"
|
3478 |
+
|
3479 |
+
#: pro/includes/fields/field-payment.php:27
|
3480 |
+
msgid "Pay now"
|
3481 |
+
msgstr "Payer maintenant"
|
3482 |
+
|
3483 |
+
#: pro/includes/fields/field-payment.php:76
|
3484 |
+
msgid "Gateways"
|
3485 |
+
msgstr "Passerelles"
|
3486 |
+
|
3487 |
+
#: pro/includes/fields/field-payment.php:77
|
3488 |
+
msgid "Choose your payment gateways"
|
3489 |
+
msgstr "Choisissez vos passerelles de paiement"
|
3490 |
+
|
3491 |
+
#: pro/includes/fields/field-payment.php:90
|
3492 |
+
#: pro/includes/fields/field-payment.php:450
|
3493 |
+
#: pro/includes/fields/field-payment.php:1415
|
3494 |
+
msgid "Amount"
|
3495 |
+
msgstr "Montant"
|
3496 |
+
|
3497 |
+
#: pro/includes/fields/field-payment.php:91
|
3498 |
+
msgid "The amount to charge"
|
3499 |
+
msgstr "Le montant à facturer"
|
3500 |
+
|
3501 |
+
#: pro/includes/fields/field-payment.php:99
|
3502 |
+
msgid "Currency"
|
3503 |
+
msgstr "Devise"
|
3504 |
+
|
3505 |
+
#: pro/includes/fields/field-payment.php:100
|
3506 |
+
msgid "The currency to use"
|
3507 |
+
msgstr "La devise à utiliser"
|
3508 |
+
|
3509 |
+
#: pro/includes/fields/field-payment.php:112
|
3510 |
+
#: pro/includes/modules/scripts-list.php:261
|
3511 |
+
msgid "Description"
|
3512 |
+
msgstr "Description"
|
3513 |
+
|
3514 |
+
#: pro/includes/fields/field-payment.php:113
|
3515 |
+
msgid "A description attached to the payment. Useful for displaying to users"
|
3516 |
+
msgstr ""
|
3517 |
+
"Une description jointe au paiement. Utile pour l’affichage aux utilisateurs"
|
3518 |
+
|
3519 |
+
#: pro/includes/fields/field-payment.php:120
|
3520 |
+
msgid "Display Button"
|
3521 |
+
msgstr "Affichager Bouton"
|
3522 |
+
|
3523 |
+
#: pro/includes/fields/field-payment.php:209
|
3524 |
+
msgid "Stripe Hide Postal Code"
|
3525 |
+
msgstr "Cacher le Code Postal Stripe"
|
3526 |
+
|
3527 |
+
#: pro/includes/fields/field-payment.php:210
|
3528 |
+
msgid ""
|
3529 |
+
"Hide Stripe's postal code field validation which can be displayed in "
|
3530 |
+
"specific cases"
|
3531 |
+
msgstr ""
|
3532 |
+
"Cache le code postal de validation Stripe qui peut apparaître dans ces cas "
|
3533 |
+
"spécifiques"
|
3534 |
+
|
3535 |
+
#: pro/includes/fields/field-payment.php:225
|
3536 |
+
msgid "Stripe Test API"
|
3537 |
+
msgstr "Stripe Test API"
|
3538 |
+
|
3539 |
+
#: pro/includes/fields/field-payment.php:226
|
3540 |
+
msgid "Your Stripe Test API Keys"
|
3541 |
+
msgstr "Vos clés API Stripe test"
|
3542 |
+
|
3543 |
+
#: pro/includes/fields/field-payment.php:238
|
3544 |
+
#: pro/includes/fields/field-payment.php:257
|
3545 |
+
msgid "Public key"
|
3546 |
+
msgstr "Clé publique"
|
3547 |
+
|
3548 |
+
#: pro/includes/fields/field-payment.php:244
|
3549 |
+
msgid "Stripe Production API"
|
3550 |
+
msgstr "Stripe Production API"
|
3551 |
+
|
3552 |
+
#: pro/includes/fields/field-payment.php:245
|
3553 |
+
msgid "Your Stripe Production API Keys"
|
3554 |
+
msgstr "Vos clés API Stripe Production"
|
3555 |
+
|
3556 |
+
#: pro/includes/fields/field-payment.php:263
|
3557 |
+
msgid "PayPal Test API"
|
3558 |
+
msgstr "PayPal Test API"
|
3559 |
+
|
3560 |
+
#: pro/includes/fields/field-payment.php:264
|
3561 |
+
msgid "Your PayPal Sandbox Credentials"
|
3562 |
+
msgstr "Vos informations d’identification sandbox PayPal"
|
3563 |
+
|
3564 |
+
#: pro/includes/fields/field-payment.php:267
|
3565 |
+
#: pro/includes/fields/field-payment.php:306
|
3566 |
+
msgid "Username"
|
3567 |
+
msgstr "Nom d'utilisateur"
|
3568 |
+
|
3569 |
+
#: pro/includes/fields/field-payment.php:276
|
3570 |
+
#: pro/includes/fields/field-payment.php:315
|
3571 |
+
msgid "Password"
|
3572 |
+
msgstr "Mot de passe"
|
3573 |
+
|
3574 |
+
#: pro/includes/fields/field-payment.php:286
|
3575 |
+
#: pro/includes/fields/field-payment.php:325
|
3576 |
+
msgid "Signature"
|
3577 |
+
msgstr "Signature"
|
3578 |
+
|
3579 |
+
#: pro/includes/fields/field-payment.php:296
|
3580 |
+
#: pro/includes/fields/field-payment.php:335
|
3581 |
+
msgid "Merchant ID"
|
3582 |
+
msgstr "ID du Marchand"
|
3583 |
+
|
3584 |
+
#: pro/includes/fields/field-payment.php:302
|
3585 |
+
msgid "PayPal Production API"
|
3586 |
+
msgstr "PayPal Production API"
|
3587 |
+
|
3588 |
+
#: pro/includes/fields/field-payment.php:303
|
3589 |
+
msgid "Your PayPal Production Credentials"
|
3590 |
+
msgstr "Vos informations d’identification de production PayPal"
|
3591 |
+
|
3592 |
+
#: pro/includes/fields/field-payment.php:341
|
3593 |
+
msgid "Mode"
|
3594 |
+
msgstr "Mode"
|
3595 |
+
|
3596 |
+
#: pro/includes/fields/field-payment.php:342
|
3597 |
+
msgid "Switch API mode"
|
3598 |
+
msgstr "Changer de mode API"
|
3599 |
+
|
3600 |
+
#: pro/includes/fields/field-payment.php:347
|
3601 |
+
#: pro/includes/fields/field-payment.php:446
|
3602 |
+
#: pro/includes/fields/field-payment.php:1371
|
3603 |
+
#: pro/includes/fields/field-payment.php:1413
|
3604 |
+
msgid "Test"
|
3605 |
+
msgstr "Test"
|
3606 |
+
|
3607 |
+
#: pro/includes/fields/field-payment.php:348
|
3608 |
+
#: pro/includes/fields/field-payment.php:1372
|
3609 |
+
msgid "Production"
|
3610 |
+
msgstr "Production"
|
3611 |
+
|
3612 |
+
#: pro/includes/fields/field-payment.php:446
|
3613 |
+
#: pro/includes/fields/field-payment.php:1413
|
3614 |
+
msgid "Gateway"
|
3615 |
+
msgstr "Passerelle"
|
3616 |
+
|
3617 |
+
#: pro/includes/fields/field-payment.php:455
|
3618 |
+
#: pro/includes/fields/field-payment.php:1418
|
3619 |
+
msgid "Items"
|
3620 |
+
msgstr "Articles"
|
3621 |
+
|
3622 |
+
#: pro/includes/fields/field-payment.php:460
|
3623 |
+
#: pro/includes/fields/field-payment.php:1421
|
3624 |
+
#: pro/includes/fields/field-post-field.php:44
|
3625 |
+
msgid "Date"
|
3626 |
+
msgstr "Date"
|
3627 |
+
|
3628 |
+
#: pro/includes/fields/field-payment.php:464
|
3629 |
+
#: pro/includes/fields/field-payment.php:1423
|
3630 |
+
msgid "IP Address"
|
3631 |
+
msgstr "Adresse IP"
|
3632 |
+
|
3633 |
+
#: pro/includes/fields/field-payment.php:468
|
3634 |
+
#: pro/includes/fields/field-payment.php:1425
|
3635 |
+
msgid "Payment ID"
|
3636 |
+
msgstr "ID du Paiement"
|
3637 |
+
|
3638 |
+
#: pro/includes/fields/field-payment.php:472
|
3639 |
+
msgid "Payment Object"
|
3640 |
+
msgstr "Objet de Paiement"
|
3641 |
+
|
3642 |
+
#: pro/includes/fields/field-payment.php:572
|
3643 |
+
msgid "PayPal Checkout"
|
3644 |
+
msgstr "Paiement PayPal"
|
3645 |
+
|
3646 |
+
#: pro/includes/fields/field-payment.php:700
|
3647 |
+
msgid "Amount can't be null"
|
3648 |
+
msgstr "Le montant ne peut pas être nul"
|
3649 |
+
|
3650 |
+
#: pro/includes/fields/field-payment.php:784
|
3651 |
+
msgid "Payment failed"
|
3652 |
+
msgstr "Échec de paiement"
|
3653 |
+
|
3654 |
+
#: pro/includes/fields/field-payment.php:1062
|
3655 |
+
msgid "Your card number is invalid"
|
3656 |
+
msgstr "Votre numéro de carte n’est pas valide"
|
3657 |
+
|
3658 |
+
#: pro/includes/fields/field-phone-number.php:17
|
3659 |
+
#: pro/includes/fields/field-phone-number.php:179
|
3660 |
+
msgid "Phone Number"
|
3661 |
+
msgstr "Numéro de téléphone"
|
3662 |
+
|
3663 |
+
#: pro/includes/fields/field-phone-number.php:52
|
3664 |
+
msgid "All countries"
|
3665 |
+
msgstr "Tous les pays"
|
3666 |
+
|
3667 |
+
#: pro/includes/fields/field-phone-number.php:59
|
3668 |
+
msgid "Preferred Countries"
|
3669 |
+
msgstr "Pays préférés"
|
3670 |
+
|
3671 |
+
#: pro/includes/fields/field-phone-number.php:72
|
3672 |
+
msgid "Default Country"
|
3673 |
+
msgstr "Pays par défaut"
|
3674 |
+
|
3675 |
+
#: pro/includes/fields/field-phone-number.php:93
|
3676 |
+
msgid "Geolocation"
|
3677 |
+
msgstr "Géolocalisation"
|
3678 |
+
|
3679 |
+
#: pro/includes/fields/field-phone-number.php:94
|
3680 |
+
msgid ""
|
3681 |
+
"Lookup the user's country based on their IP address using <a href='https://"
|
3682 |
+
"ipinfo.io/' target='_blank'>IPinfo.io</a>"
|
3683 |
+
msgstr ""
|
3684 |
+
"Rechercher le pays de l'utilisateur basé sur son IP en utilisant <a "
|
3685 |
+
"href='https://ipinfo.io/' target='_blank'>IPinfo.io</a>"
|
3686 |
+
|
3687 |
+
#: pro/includes/fields/field-phone-number.php:101
|
3688 |
+
msgid "Geolocation API token"
|
3689 |
+
msgstr "API token de géolocalisation"
|
3690 |
+
|
3691 |
+
#: pro/includes/fields/field-phone-number.php:102
|
3692 |
+
msgid ""
|
3693 |
+
"<a href=\"https://ipinfo.io/\" target=\"_blank\">IPinfo.io</a> API token"
|
3694 |
+
msgstr ""
|
3695 |
+
"<a href=\"https://ipinfo.io/\" target=\"_blank\">IPinfo.io</a> API token"
|
3696 |
+
|
3697 |
+
#: pro/includes/fields/field-phone-number.php:118
|
3698 |
+
msgid "Native Names"
|
3699 |
+
msgstr "Noms natifs"
|
3700 |
+
|
3701 |
+
#: pro/includes/fields/field-phone-number.php:127
|
3702 |
+
msgid "National Mode"
|
3703 |
+
msgstr "Mode local"
|
3704 |
+
|
3705 |
+
#: pro/includes/fields/field-phone-number.php:145
|
3706 |
+
msgid "Allow Dropdown"
|
3707 |
+
msgstr "Autoriser dropdown"
|
3708 |
+
|
3709 |
+
#: pro/includes/fields/field-phone-number.php:154
|
3710 |
+
msgid "Separate Dial Code"
|
3711 |
+
msgstr "Indicatif téléphonique distinct"
|
3712 |
+
|
3713 |
+
#: pro/includes/fields/field-phone-number.php:178
|
3714 |
+
msgid "Phone Array"
|
3715 |
+
msgstr "Tableau de téléphone"
|
3716 |
+
|
3717 |
+
#: pro/includes/fields/field-phone-number.php:184
|
3718 |
+
msgid "National Number"
|
3719 |
+
msgstr "Numéro de téléphone National"
|
3720 |
+
|
3721 |
+
#: pro/includes/fields/field-phone-number.php:185
|
3722 |
+
msgid "International Number"
|
3723 |
+
msgstr "Numéro de téléphone international"
|
3724 |
+
|
3725 |
+
#: pro/includes/fields/field-phone-number.php:203
|
3726 |
+
msgid "Additional Settings"
|
3727 |
+
msgstr "Réglages supplémentaires"
|
3728 |
+
|
3729 |
+
#: pro/includes/fields/field-phone-number.php:207
|
3730 |
+
msgid ""
|
3731 |
+
"Additional settings such as \"National Number\", \"International Number\" "
|
3732 |
+
"return formats and phone number server validation become available when "
|
3733 |
+
"using the <a href=\"https://github.com/giggsey/libphonenumber-for-php\" "
|
3734 |
+
"target=\"_blank\">Libphonenumber for PHP</a> library.<br />You can install "
|
3735 |
+
"this library manually or with the <a href=\"https://www.acf-extended.com/"
|
3736 |
+
"addons/acf-extended-pro-libphonenumber.zip\" target=\"_blank\">ACF Extended: "
|
3737 |
+
"Phone Number Library Addon</a> plugin."
|
3738 |
+
msgstr ""
|
3739 |
+
"Des réglages supplémentaires tels que \"Numéro de téléphone national\", "
|
3740 |
+
"\"Numéro de téléphone international\" en tant que format de retour et la "
|
3741 |
+
"validation du numéro de téléphone côté serveur deviennent disponibles en "
|
3742 |
+
"utilisant la librairie <a href=\"https://github.com/giggsey/libphonenumber-"
|
3743 |
+
"for-php\" target=\"_blank\">Libphonenumber for PHP</a>.<br />Vous pouvez "
|
3744 |
+
"l'installer manuellement ou télécharger le plugin <a href=\"https://www.acf-"
|
3745 |
+
"extended.com/addons/acf-extended-pro-libphonenumber.zip\" target=\"_blank"
|
3746 |
+
"\">ACF Extended: Phone Number Library Addon</a>."
|
3747 |
+
|
3748 |
+
#: pro/includes/fields/field-phone-number.php:230
|
3749 |
+
msgctxt "Phone Number JS invalidPhoneNumber"
|
3750 |
+
msgid "Invalid Phone Number"
|
3751 |
+
msgstr "Numéro de téléphone invalide"
|
3752 |
+
|
3753 |
+
#: pro/includes/fields/field-phone-number.php:231
|
3754 |
+
msgctxt "Phone Number JS invalidCountry"
|
3755 |
+
msgid "Invalid Country"
|
3756 |
+
msgstr "Pays invalide"
|
3757 |
+
|
3758 |
+
#: pro/includes/fields/field-phone-number.php:232
|
3759 |
+
msgctxt "Phone Number JS phoneNumberTooShort"
|
3760 |
+
msgid "Phone Number is too short"
|
3761 |
+
msgstr "Le numéro de téléphone est trop court"
|
3762 |
+
|
3763 |
+
#: pro/includes/fields/field-phone-number.php:233
|
3764 |
+
msgctxt "Phone Number JS phoneNumberTooLong"
|
3765 |
+
msgid "Phone Number is too long"
|
3766 |
+
msgstr "Le numéro de téléphone est trop long"
|
3767 |
+
|
3768 |
+
#: pro/includes/fields/field-phone-number.php:337
|
3769 |
+
#: pro/includes/fields/field-phone-number.php:354
|
3770 |
+
msgid "Invalid Phone Number"
|
3771 |
+
msgstr "Numéro de téléphone invalide"
|
3772 |
+
|
3773 |
+
#: pro/includes/fields/field-phone-number.php:348
|
3774 |
+
msgid "Invalid Country"
|
3775 |
+
msgstr "Pays invalide"
|
3776 |
+
|
3777 |
+
#: pro/includes/fields/field-post-field.php:17
|
3778 |
+
msgid "Post Field"
|
3779 |
+
msgstr "Champ d'Article"
|
3780 |
+
|
3781 |
+
#: pro/includes/fields/field-post-field.php:40
|
3782 |
+
msgid "Attributes"
|
3783 |
+
msgstr "Attributs"
|
3784 |
+
|
3785 |
+
#: pro/includes/fields/field-post-field.php:42
|
3786 |
+
msgid "Comments"
|
3787 |
+
msgstr "Commentaires"
|
3788 |
+
|
3789 |
+
#: pro/includes/fields/field-post-field.php:43
|
3790 |
+
msgid "Content"
|
3791 |
+
msgstr "Contenu"
|
3792 |
+
|
3793 |
+
#: pro/includes/fields/field-post-field.php:45
|
3794 |
+
#: pro/includes/locations/settings.php:91
|
3795 |
+
msgid "Discussion"
|
3796 |
+
msgstr "Discussion"
|
3797 |
+
|
3798 |
+
#: pro/includes/fields/field-post-field.php:46
|
3799 |
+
msgid "Excerpt"
|
3800 |
+
msgstr "Extrait"
|
3801 |
+
|
3802 |
+
#: pro/includes/fields/field-post-field.php:47
|
3803 |
+
msgid "Featured Image"
|
3804 |
+
msgstr "Image à la une"
|
3805 |
+
|
3806 |
+
#: pro/includes/fields/field-post-field.php:49
|
3807 |
+
msgid "Permalink"
|
3808 |
+
msgstr "Permalien"
|
3809 |
+
|
3810 |
+
#: pro/includes/fields/field-post-field.php:51
|
3811 |
+
msgid "Revisions"
|
3812 |
+
msgstr "Révisions"
|
3813 |
+
|
3814 |
+
#: pro/includes/fields/field-post-field.php:52
|
3815 |
+
msgid "Revisions List"
|
3816 |
+
msgstr "Liste des révisions"
|
3817 |
+
|
3818 |
+
#: pro/includes/fields/field-post-field.php:53
|
3819 |
+
msgid "Status"
|
3820 |
+
msgstr "Statut"
|
3821 |
+
|
3822 |
+
#: pro/includes/fields/field-post-field.php:54
|
3823 |
+
#: pro/includes/fields/field-post-field.php:63
|
3824 |
+
#: pro/includes/locations/menu-item-type.php:24
|
3825 |
+
#: pro/includes/modules/dev.php:173
|
3826 |
+
msgid "Taxonomy"
|
3827 |
+
msgstr "Taxonomie"
|
3828 |
+
|
3829 |
+
#: pro/includes/fields/field-post-field.php:56
|
3830 |
+
msgid "Trackbacks"
|
3831 |
+
msgstr "Rétroliens"
|
3832 |
+
|
3833 |
+
#: pro/includes/fields/field-post-field.php:57
|
3834 |
+
msgid "Visibility"
|
3835 |
+
msgstr "Visibilité"
|
3836 |
+
|
3837 |
+
#: pro/includes/fields/field-post-formats.php:17
|
3838 |
+
msgid "Post Formats"
|
3839 |
+
msgstr "Formats d'articles"
|
3840 |
+
|
3841 |
+
#: pro/includes/fields/field-post-formats.php:93
|
3842 |
+
msgid "Allow Formats"
|
3843 |
+
msgstr "Autoriser les formats"
|
3844 |
+
|
3845 |
+
#: pro/includes/fields/field-post-formats.php:101
|
3846 |
+
msgid "All Formats"
|
3847 |
+
msgstr "Tous les formats"
|
3848 |
+
|
3849 |
+
#: pro/includes/fields/field-relationship.php:36
|
3850 |
+
msgid "Allow Post Creation"
|
3851 |
+
msgstr "Autoriser la création de publication"
|
3852 |
+
|
3853 |
+
#: pro/includes/fields/field-relationship.php:44
|
3854 |
+
msgid "Allow Post Edit"
|
3855 |
+
msgstr "Autoriser la publication de la modification"
|
3856 |
+
|
3857 |
+
#: pro/includes/fields/field-relationship.php:137
|
3858 |
+
msgctxt "post"
|
3859 |
+
msgid "Add New"
|
3860 |
+
msgstr "Ajouter"
|
3861 |
+
|
3862 |
+
#: pro/includes/fields/field-tab.php:32
|
3863 |
+
msgid "No Preference"
|
3864 |
+
msgstr "Pas de préférence"
|
3865 |
+
|
3866 |
+
#: pro/includes/fields/field-templates.php:17
|
3867 |
+
#: pro/includes/modules/templates.php:71 pro/includes/modules/templates.php:72
|
3868 |
+
#: pro/includes/modules/templates.php:74 pro/includes/modules/templates.php:76
|
3869 |
+
msgid "Templates"
|
3870 |
+
msgstr "Modèles"
|
3871 |
+
|
3872 |
+
#: pro/includes/fields/field-templates.php:88
|
3873 |
+
msgid "Allow Templates"
|
3874 |
+
msgstr "Autoriser les modèles"
|
3875 |
+
|
3876 |
+
#: pro/includes/fields/field-templates.php:96
|
3877 |
+
msgid "All templates"
|
3878 |
+
msgstr "Tous les modèles"
|
3879 |
+
|
3880 |
+
#: pro/includes/fields/field-templates.php:128
|
3881 |
+
msgid "Template ID"
|
3882 |
+
msgstr "ID du Template"
|
3883 |
+
|
3884 |
+
#: pro/includes/fields/field-templates.php:129
|
3885 |
+
msgid "Template name"
|
3886 |
+
msgstr "Nom du modèle"
|
3887 |
+
|
3888 |
+
#: pro/includes/fields/field-true-false.php:33
|
3889 |
+
msgid "Style"
|
3890 |
+
msgstr "Style"
|
3891 |
+
|
3892 |
+
#: pro/includes/fields/field-true-false.php:38
|
3893 |
+
msgid "Default"
|
3894 |
+
msgstr "Par défaut"
|
3895 |
+
|
3896 |
+
#: pro/includes/fields/field-true-false.php:39
|
3897 |
+
msgid "Default Rounded"
|
3898 |
+
msgstr "Arrondi par défaut"
|
3899 |
+
|
3900 |
+
#: pro/includes/fields/field-true-false.php:40
|
3901 |
+
msgid "Small"
|
3902 |
+
msgstr "Petit"
|
3903 |
+
|
3904 |
+
#: pro/includes/fields/field-true-false.php:41
|
3905 |
+
msgid "Small Rounded"
|
3906 |
+
msgstr "Petit arrondi"
|
3907 |
+
|
3908 |
+
#: pro/includes/fields/field-true-false.php:42
|
3909 |
+
msgid "Alternative"
|
3910 |
+
msgstr "Alternatif"
|
3911 |
+
|
3912 |
+
#: pro/includes/fields/field-true-false.php:43
|
3913 |
+
msgid "Alternative Rounded"
|
3914 |
+
msgstr "Arrondi alternatif"
|
3915 |
+
|
3916 |
+
#: pro/includes/fields/field-wysiwyg.php:74
|
3917 |
+
msgid "Auto initialization"
|
3918 |
+
msgstr "Initialisation automatique"
|
3919 |
+
|
3920 |
+
#: pro/includes/fields/field-wysiwyg.php:75
|
3921 |
+
msgid "Automatically initialize TinyMCE when shown"
|
3922 |
+
msgstr "Initialiser automatiquement de TinyMCE lorsqu’il est affiché"
|
3923 |
+
|
3924 |
+
#: pro/includes/fields/field-wysiwyg.php:97
|
3925 |
+
#: pro/includes/fields/field-wysiwyg.php:117
|
3926 |
+
#: pro/includes/fields/field-wysiwyg.php:139
|
3927 |
+
msgid "Height"
|
3928 |
+
msgstr "Hauteur"
|
3929 |
+
|
3930 |
+
#: pro/includes/fields/field-wysiwyg.php:162
|
3931 |
+
msgid "Valid Elements"
|
3932 |
+
msgstr "Éléments valides"
|
3933 |
+
|
3934 |
+
#: pro/includes/fields/field-wysiwyg.php:165
|
3935 |
+
msgid "Set custom valid HTML tags"
|
3936 |
+
msgstr "Définir des balises HTML valides personnalisées"
|
3937 |
+
|
3938 |
+
#: pro/includes/fields/field-wysiwyg.php:183
|
3939 |
+
msgid "Custom Style"
|
3940 |
+
msgstr "Style personnalisé"
|
3941 |
+
|
3942 |
+
#: pro/includes/fields/field-wysiwyg.php:186
|
3943 |
+
msgid "Add multiple files separated with comma"
|
3944 |
+
msgstr "Ajouter plusieurs fichiers séparés par une virgule"
|
3945 |
+
|
3946 |
+
#: pro/includes/fields/field-wysiwyg.php:197
|
3947 |
+
msgid "Disable WP Style"
|
3948 |
+
msgstr "Désactiver le style WP"
|
3949 |
+
|
3950 |
+
#: pro/includes/fields/field-wysiwyg.php:200
|
3951 |
+
msgid "Remove TinyMCE builtin stylesheets"
|
3952 |
+
msgstr "Supprimer les feuilles de style intégrées TinyMCE"
|
3953 |
+
|
3954 |
+
#: pro/includes/fields/field-wysiwyg.php:209
|
3955 |
+
msgid "Autoresize"
|
3956 |
+
msgstr "Mise en forme automatique"
|
3957 |
+
|
3958 |
+
#: pro/includes/fields/field-wysiwyg.php:212
|
3959 |
+
msgid "Height will be based on the editor content"
|
3960 |
+
msgstr "La hauteur sera basée sur le contenu de l’éditeur"
|
3961 |
+
|
3962 |
+
#: pro/includes/fields/field-wysiwyg.php:221
|
3963 |
+
msgid "Disable Resize"
|
3964 |
+
msgstr "Désactiver le redimensionnement"
|
3965 |
+
|
3966 |
+
#: pro/includes/fields/field-wysiwyg.php:224
|
3967 |
+
msgid "Remove the editor resize functionality"
|
3968 |
+
msgstr "Supprimer la fonctionnalité de redimensionnement de l’éditeur"
|
3969 |
+
|
3970 |
+
#: pro/includes/fields/field-wysiwyg.php:233
|
3971 |
+
msgid "Disable Path"
|
3972 |
+
msgstr "Désactiver le chemin d’accès"
|
3973 |
+
|
3974 |
+
#: pro/includes/fields/field-wysiwyg.php:236
|
3975 |
+
msgid "Hide the editor path status bar"
|
3976 |
+
msgstr "Masquer la barre d’état du chemin d’accès de l’éditeur"
|
3977 |
+
|
3978 |
+
#: pro/includes/fields/field-wysiwyg.php:245
|
3979 |
+
msgid "Menu Bar"
|
3980 |
+
msgstr "Barre de menu"
|
3981 |
+
|
3982 |
+
#: pro/includes/fields/field-wysiwyg.php:248
|
3983 |
+
msgid "Show the menu bar on top of the editor"
|
3984 |
+
msgstr "Afficher la barre de menus en haut de l’éditeur"
|
3985 |
+
|
3986 |
+
#: pro/includes/fields/field-wysiwyg.php:257
|
3987 |
+
msgid "Transparent Editor"
|
3988 |
+
msgstr "Éditeur transparent"
|
3989 |
+
|
3990 |
+
#: pro/includes/fields/field-wysiwyg.php:260
|
3991 |
+
msgid "Set the editor's background as transparent"
|
3992 |
+
msgstr "Définir l’arrière-plan de l’éditeur comme transparent"
|
3993 |
+
|
3994 |
+
#: pro/includes/fields/field-wysiwyg.php:269
|
3995 |
+
msgid "Merge Toolbars"
|
3996 |
+
msgstr "Fusionner les barres d’outils"
|
3997 |
+
|
3998 |
+
#: pro/includes/fields/field-wysiwyg.php:272
|
3999 |
+
msgid "Glue editor toolbars together"
|
4000 |
+
msgstr "Coller les barres d’outils de l’éditeur ensemble"
|
4001 |
+
|
4002 |
+
#: pro/includes/fields/field-wysiwyg.php:281
|
4003 |
+
msgid "Customize Toolbar"
|
4004 |
+
msgstr "Personnaliser la barre d’outils"
|
4005 |
+
|
4006 |
+
#: pro/includes/fields/field-wysiwyg.php:349
|
4007 |
+
msgid "+ Add button"
|
4008 |
+
msgstr "+ Bouton Ajouter"
|
4009 |
+
|
4010 |
+
#: pro/includes/fields/field-wysiwyg.php:445
|
4011 |
+
msgid "Custom Toolbar Buttons"
|
4012 |
+
msgstr "Boutons de barre d’outils personnalisés"
|
4013 |
+
|
4014 |
+
#: pro/includes/locations/attachment-list.php:206
|
4015 |
+
#: pro/includes/locations/user-list.php:204
|
4016 |
+
msgid "List"
|
4017 |
+
msgstr "Liste"
|
4018 |
+
|
4019 |
+
#: pro/includes/locations/menu-item-depth.php:14
|
4020 |
+
msgid "Menu Item Depth"
|
4021 |
+
msgstr "Profondeur de l’élément de menu"
|
4022 |
+
|
4023 |
+
#: pro/includes/locations/menu-item-depth.php:45
|
4024 |
+
#: pro/includes/locations/post-date-time.php:59
|
4025 |
+
#: pro/includes/locations/post-date.php:59
|
4026 |
+
#: pro/includes/locations/post-time.php:59
|
4027 |
+
msgid "is less than"
|
4028 |
+
msgstr "est inférieur à"
|
4029 |
+
|
4030 |
+
#: pro/includes/locations/menu-item-depth.php:46
|
4031 |
+
#: pro/includes/locations/post-date-time.php:60
|
4032 |
+
#: pro/includes/locations/post-date.php:60
|
4033 |
+
#: pro/includes/locations/post-time.php:60
|
4034 |
+
msgid "is less or equal to"
|
4035 |
+
msgstr "est inférieur ou égal à"
|
4036 |
+
|
4037 |
+
#: pro/includes/locations/menu-item-depth.php:47
|
4038 |
+
#: pro/includes/locations/post-date-time.php:61
|
4039 |
+
#: pro/includes/locations/post-date.php:61
|
4040 |
+
#: pro/includes/locations/post-time.php:61
|
4041 |
+
msgid "is greater than"
|
4042 |
+
msgstr "est supérieur à"
|
4043 |
+
|
4044 |
+
#: pro/includes/locations/menu-item-depth.php:48
|
4045 |
+
#: pro/includes/locations/post-date-time.php:62
|
4046 |
+
#: pro/includes/locations/post-date.php:62
|
4047 |
+
#: pro/includes/locations/post-time.php:62
|
4048 |
+
msgid "is greater or equal to"
|
4049 |
+
msgstr "est supérieur ou égal à"
|
4050 |
+
|
4051 |
+
#: pro/includes/locations/menu-item-type.php:14
|
4052 |
+
msgid "Menu Item Type"
|
4053 |
+
msgstr "Type d’entrée de menu"
|
4054 |
+
|
4055 |
+
#: pro/includes/locations/menu-item-type.php:22
|
4056 |
+
msgid "Custom"
|
4057 |
+
msgstr "Personnalisé"
|
4058 |
+
|
4059 |
+
#: pro/includes/locations/post-author-role.php:14
|
4060 |
+
msgid "Post Author Role"
|
4061 |
+
msgstr "Rôle d’auteur de publication"
|
4062 |
+
|
4063 |
+
#: pro/includes/locations/post-author.php:14
|
4064 |
+
msgid "Post Author"
|
4065 |
+
msgstr "Auteur de l’article"
|
4066 |
+
|
4067 |
+
#: pro/includes/locations/post-date-time.php:14
|
4068 |
+
msgid "Post Date Time"
|
4069 |
+
msgstr "Date de publication, heure"
|
4070 |
+
|
4071 |
+
#: pro/includes/locations/post-date.php:14
|
4072 |
+
msgid "Post Date"
|
4073 |
+
msgstr "Date de l'article"
|
4074 |
+
|
4075 |
+
#: pro/includes/locations/post-path.php:14
|
4076 |
+
msgid "Post Path"
|
4077 |
+
msgstr "Chemin de publication"
|
4078 |
+
|
4079 |
+
#: pro/includes/locations/post-path.php:44
|
4080 |
+
#: pro/includes/locations/post-slug.php:44
|
4081 |
+
#: pro/includes/locations/post-title.php:44
|
4082 |
+
#: pro/includes/locations/taxonomy-term-name.php:44
|
4083 |
+
#: pro/includes/locations/taxonomy-term-slug.php:44
|
4084 |
+
msgid "contains"
|
4085 |
+
msgstr "contient"
|
4086 |
+
|
4087 |
+
#: pro/includes/locations/post-path.php:45
|
4088 |
+
#: pro/includes/locations/post-slug.php:45
|
4089 |
+
#: pro/includes/locations/post-title.php:45
|
4090 |
+
#: pro/includes/locations/taxonomy-term-name.php:45
|
4091 |
+
#: pro/includes/locations/taxonomy-term-slug.php:45
|
4092 |
+
msgid "doesn't contains"
|
4093 |
+
msgstr "ne contient pas"
|
4094 |
+
|
4095 |
+
#: pro/includes/locations/post-path.php:46
|
4096 |
+
#: pro/includes/locations/post-slug.php:46
|
4097 |
+
#: pro/includes/locations/post-title.php:46
|
4098 |
+
#: pro/includes/locations/taxonomy-term-name.php:46
|
4099 |
+
#: pro/includes/locations/taxonomy-term-slug.php:46
|
4100 |
+
msgid "starts with"
|
4101 |
+
msgstr "commence par"
|
4102 |
+
|
4103 |
+
#: pro/includes/locations/post-path.php:47
|
4104 |
+
#: pro/includes/locations/post-slug.php:47
|
4105 |
+
#: pro/includes/locations/post-title.php:47
|
4106 |
+
#: pro/includes/locations/taxonomy-term-name.php:47
|
4107 |
+
#: pro/includes/locations/taxonomy-term-slug.php:47
|
4108 |
+
msgid "doesn't starts with"
|
4109 |
+
msgstr "ne commence pas par"
|
4110 |
+
|
4111 |
+
#: pro/includes/locations/post-path.php:48
|
4112 |
+
#: pro/includes/locations/post-slug.php:48
|
4113 |
+
#: pro/includes/locations/post-title.php:48
|
4114 |
+
#: pro/includes/locations/taxonomy-term-name.php:48
|
4115 |
+
#: pro/includes/locations/taxonomy-term-slug.php:48
|
4116 |
+
msgid "ends with"
|
4117 |
+
msgstr "se termine par"
|
4118 |
+
|
4119 |
+
#: pro/includes/locations/post-path.php:49
|
4120 |
+
#: pro/includes/locations/post-slug.php:49
|
4121 |
+
#: pro/includes/locations/post-title.php:49
|
4122 |
+
#: pro/includes/locations/taxonomy-term-name.php:49
|
4123 |
+
#: pro/includes/locations/taxonomy-term-slug.php:49
|
4124 |
+
msgid "doesn't ends with"
|
4125 |
+
msgstr "ne finit pas par"
|
4126 |
+
|
4127 |
+
#: pro/includes/locations/post-path.php:50
|
4128 |
+
#: pro/includes/locations/post-slug.php:50
|
4129 |
+
#: pro/includes/locations/post-title.php:50
|
4130 |
+
#: pro/includes/locations/taxonomy-term-name.php:50
|
4131 |
+
#: pro/includes/locations/taxonomy-term-slug.php:50
|
4132 |
+
msgid "matches regex"
|
4133 |
+
msgstr "correspond au regex"
|
4134 |
+
|
4135 |
+
#: pro/includes/locations/post-path.php:51
|
4136 |
+
#: pro/includes/locations/post-slug.php:51
|
4137 |
+
#: pro/includes/locations/post-title.php:51
|
4138 |
+
#: pro/includes/locations/taxonomy-term-name.php:51
|
4139 |
+
#: pro/includes/locations/taxonomy-term-slug.php:51
|
4140 |
+
msgid "doesn't matches regex"
|
4141 |
+
msgstr "ne correspond pas à la regex"
|
4142 |
+
|
4143 |
+
#: pro/includes/locations/post-screen.php:14
|
4144 |
+
msgid "Post Screen"
|
4145 |
+
msgstr "Écran de publication"
|
4146 |
+
|
4147 |
+
#: pro/includes/locations/post-slug.php:14
|
4148 |
+
msgid "Post Slug"
|
4149 |
+
msgstr "Jeton d'article"
|
4150 |
+
|
4151 |
+
#: pro/includes/locations/post-time.php:14
|
4152 |
+
msgid "Post Time"
|
4153 |
+
msgstr "Heure de l’article"
|
4154 |
+
|
4155 |
+
#: pro/includes/locations/post-title.php:14
|
4156 |
+
msgid "Post Title"
|
4157 |
+
msgstr "Titre de l'article"
|
4158 |
+
|
4159 |
+
#: pro/includes/locations/settings.php:78
|
4160 |
+
msgid "WP Settings"
|
4161 |
+
msgstr "Paramètres WordPress"
|
4162 |
+
|
4163 |
+
#: pro/includes/locations/settings.php:88
|
4164 |
+
msgctxt "settings screen"
|
4165 |
+
msgid "General"
|
4166 |
+
msgstr "Général"
|
4167 |
+
|
4168 |
+
#: pro/includes/locations/settings.php:89
|
4169 |
+
msgid "Writing"
|
4170 |
+
msgstr "Ecriture"
|
4171 |
+
|
4172 |
+
#: pro/includes/locations/settings.php:90
|
4173 |
+
msgid "Reading"
|
4174 |
+
msgstr "En train de lire"
|
4175 |
+
|
4176 |
+
#: pro/includes/locations/settings.php:92
|
4177 |
+
msgid "Media"
|
4178 |
+
msgstr "Média"
|
4179 |
+
|
4180 |
+
#: pro/includes/locations/settings.php:93
|
4181 |
+
msgid "Permalinks"
|
4182 |
+
msgstr "Permaliens"
|
4183 |
+
|
4184 |
+
#: pro/includes/locations/taxonomy-term-name.php:14
|
4185 |
+
msgid "Taxonomy Term Name"
|
4186 |
+
msgstr "Nom du terme de taxonomie"
|
4187 |
+
|
4188 |
+
#: pro/includes/locations/taxonomy-term-parent.php:14
|
4189 |
+
msgid "Taxonomy Term Parent"
|
4190 |
+
msgstr "Parent du terme de taxonomie"
|
4191 |
+
|
4192 |
+
#: pro/includes/locations/taxonomy-term-slug.php:14
|
4193 |
+
msgid "Taxonomy Term Slug"
|
4194 |
+
msgstr "Terme de taxonomie Slug"
|
4195 |
+
|
4196 |
+
#: pro/includes/locations/taxonomy-term-type.php:14
|
4197 |
+
msgid "Taxonomy Term Type"
|
4198 |
+
msgstr "Type de terme de taxonomie"
|
4199 |
+
|
4200 |
+
#: pro/includes/locations/taxonomy-term-type.php:22
|
4201 |
+
msgid "Top Level Term (no parent)"
|
4202 |
+
msgstr "Terme de niveau supérieur (aucun parent)"
|
4203 |
+
|
4204 |
+
#: pro/includes/locations/taxonomy-term-type.php:23
|
4205 |
+
msgid "Parent Term (has children)"
|
4206 |
+
msgstr "Terme parent (a des enfants)"
|
4207 |
+
|
4208 |
+
#: pro/includes/locations/taxonomy-term-type.php:24
|
4209 |
+
msgid "Child Term (has parent)"
|
4210 |
+
msgstr "Terme enfant (a un parent)"
|
4211 |
+
|
4212 |
+
#: pro/includes/locations/taxonomy-term.php:14
|
4213 |
+
msgid "Taxonomy Term"
|
4214 |
+
msgstr "Terme de taxonomie"
|
4215 |
+
|
4216 |
+
#: pro/includes/modules/dev.php:87 pro/includes/modules/dev.php:177
|
4217 |
+
#: pro/includes/modules/dev.php:244 pro/includes/modules/dev.php:344
|
4218 |
+
#: pro/includes/modules/dev.php:400 pro/includes/modules/dev.php:456
|
4219 |
+
#: pro/includes/modules/dev.php:510
|
4220 |
+
msgid "Object data"
|
4221 |
+
msgstr "Données objet"
|
4222 |
+
|
4223 |
+
#: pro/includes/modules/dev.php:88
|
4224 |
+
msgid "Post Object"
|
4225 |
+
msgstr "Objet de l'article"
|
4226 |
+
|
4227 |
+
#: pro/includes/modules/dev.php:91 pro/includes/modules/dev.php:181
|
4228 |
+
#: pro/includes/modules/dev.php:248 pro/includes/modules/dev.php:299
|
4229 |
+
#: pro/includes/modules/dev.php:348 pro/includes/modules/dev.php:404
|
4230 |
+
#: pro/includes/modules/dev.php:460 pro/includes/modules/dev.php:514
|
4231 |
+
#: pro/includes/modules/dev.php:563
|
4232 |
+
msgid "Meta count"
|
4233 |
+
msgstr "Nombre de meta"
|
4234 |
+
|
4235 |
+
#: pro/includes/modules/dev.php:94 pro/includes/modules/dev.php:184
|
4236 |
+
#: pro/includes/modules/dev.php:251 pro/includes/modules/dev.php:302
|
4237 |
+
#: pro/includes/modules/dev.php:351 pro/includes/modules/dev.php:407
|
4238 |
+
#: pro/includes/modules/dev.php:463 pro/includes/modules/dev.php:517
|
4239 |
+
#: pro/includes/modules/dev.php:566
|
4240 |
+
msgid "Clean"
|
4241 |
+
msgstr "Nettoyer"
|
4242 |
+
|
4243 |
+
#: pro/includes/modules/dev.php:100 pro/includes/modules/dev.php:190
|
4244 |
+
#: pro/includes/modules/dev.php:257 pro/includes/modules/dev.php:308
|
4245 |
+
#: pro/includes/modules/dev.php:357 pro/includes/modules/dev.php:413
|
4246 |
+
#: pro/includes/modules/dev.php:469 pro/includes/modules/dev.php:523
|
4247 |
+
#: pro/includes/modules/dev.php:572
|
4248 |
+
msgid "Single meta"
|
4249 |
+
msgstr "Méta unique"
|
4250 |
+
|
4251 |
+
#: pro/includes/modules/dev.php:101 pro/includes/modules/dev.php:191
|
4252 |
+
#: pro/includes/modules/dev.php:258 pro/includes/modules/dev.php:309
|
4253 |
+
#: pro/includes/modules/dev.php:358 pro/includes/modules/dev.php:414
|
4254 |
+
#: pro/includes/modules/dev.php:470 pro/includes/modules/dev.php:524
|
4255 |
+
#: pro/includes/modules/dev.php:573
|
4256 |
+
msgid "Enabled"
|
4257 |
+
msgstr "Activé"
|
4258 |
+
|
4259 |
+
#: pro/includes/modules/dev.php:178
|
4260 |
+
msgid "Term Object"
|
4261 |
+
msgstr "Objet du terme"
|
4262 |
+
|
4263 |
+
#: pro/includes/modules/dev.php:245
|
4264 |
+
msgid "User Object"
|
4265 |
+
msgstr "Objet utilisateur"
|
4266 |
+
|
4267 |
+
#: pro/includes/modules/dev.php:345
|
4268 |
+
msgid "Options Page Object"
|
4269 |
+
msgstr "Objet de Page Options"
|
4270 |
+
|
4271 |
+
#: pro/includes/modules/dev.php:401 pro/includes/modules/dev.php:511
|
4272 |
+
msgid "Post Type Object"
|
4273 |
+
msgstr "Object du type de publication"
|
4274 |
+
|
4275 |
+
#: pro/includes/modules/dev.php:457
|
4276 |
+
msgid "Taxonomy Object"
|
4277 |
+
msgstr "Objet de la taxonomie"
|
4278 |
+
|
4279 |
+
#: pro/includes/modules/dev.php:633
|
4280 |
+
msgid "Users"
|
4281 |
+
msgstr "Utilisateurs"
|
4282 |
+
|
4283 |
+
#: pro/includes/modules/global-field-condition.php:60
|
4284 |
+
msgid "Set as Global Conditional Logic"
|
4285 |
+
msgstr "Définir comme logique conditionnelle globale"
|
4286 |
+
|
4287 |
+
#: pro/includes/modules/rewrite-rules.php:37
|
4288 |
+
#: pro/includes/modules/rewrite-rules.php:183
|
4289 |
+
msgid "Rewrite Rules"
|
4290 |
+
msgstr "Règles de réécriture"
|
4291 |
+
|
4292 |
+
#: pro/includes/modules/scripts-list.php:30
|
4293 |
+
msgid "Script"
|
4294 |
+
msgstr "Script"
|
4295 |
+
|
4296 |
+
#: pro/includes/modules/scripts-list.php:31 pro/includes/modules/scripts.php:53
|
4297 |
+
#: pro/includes/modules/scripts.php:365
|
4298 |
+
msgid "Scripts"
|
4299 |
+
msgstr "Scripts"
|
4300 |
+
|
4301 |
+
#: pro/includes/modules/scripts-list.php:137
|
4302 |
+
msgid "No scripts avaliable."
|
4303 |
+
msgstr "Aucun script disponible."
|
4304 |
+
|
4305 |
+
#: pro/includes/modules/scripts-list.php:199
|
4306 |
+
msgid "Run now"
|
4307 |
+
msgstr "Exécuter maintenant"
|
4308 |
+
|
4309 |
+
#: pro/includes/modules/scripts.php:89
|
4310 |
+
msgid "Sorry, you are not allowed to access this page."
|
4311 |
+
msgstr "Désolé, vous n'êtes pas autorisé à accéder à cette page."
|
4312 |
+
|
4313 |
+
#: pro/includes/modules/scripts.php:282
|
4314 |
+
msgid "Total"
|
4315 |
+
msgstr "Total"
|
4316 |
+
|
4317 |
+
#: pro/includes/modules/scripts.php:283
|
4318 |
+
msgid "Items left"
|
4319 |
+
msgstr "Objets restants"
|
4320 |
+
|
4321 |
+
#: pro/includes/modules/scripts.php:284
|
4322 |
+
msgid "Time left"
|
4323 |
+
msgstr "Temps restant"
|
4324 |
+
|
4325 |
+
#: pro/includes/modules/scripts.php:285
|
4326 |
+
msgid "Timer"
|
4327 |
+
msgstr "Minuteur"
|
4328 |
+
|
4329 |
+
#: pro/includes/modules/scripts/script-orphan-meta-cleaner.php:127
|
4330 |
+
#: pro/includes/modules/scripts/script-single-meta-converter.php:127
|
4331 |
+
msgid "No options pages"
|
4332 |
+
msgstr "Aucune pages d’options"
|
4333 |
+
|
4334 |
+
#: pro/includes/modules/scripts/script-orphan-meta-cleaner.php:293
|
4335 |
+
msgid "Script finished."
|
4336 |
+
msgstr "Script terminé."
|
4337 |
+
|
4338 |
+
#: pro/includes/modules/templates.php:24
|
4339 |
+
msgid "Locations"
|
4340 |
+
msgstr "Emplacements"
|
4341 |
+
|
4342 |
+
#: pro/includes/modules/templates.php:75
|
4343 |
+
msgid "Template"
|
4344 |
+
msgstr "Modèle"
|
4345 |
+
|
4346 |
+
#: pro/includes/modules/templates.php:77
|
4347 |
+
msgid "Edit Template"
|
4348 |
+
msgstr "Modifier le modèle"
|
4349 |
+
|
4350 |
+
#: pro/includes/modules/templates.php:78
|
4351 |
+
msgid "New Template"
|
4352 |
+
msgstr "Nouveau modèle"
|
4353 |
+
|
4354 |
+
#: pro/includes/modules/templates.php:174
|
4355 |
+
msgid "You are currently editing a Dynamic Template."
|
4356 |
+
msgstr "Vous modifiez actuellement un modèle dynamique."
|
4357 |
+
|
4358 |
+
#: pro/includes/modules/templates.php:200
|
4359 |
+
msgid "Instructions"
|
4360 |
+
msgstr "Instructions"
|
4361 |
+
|
4362 |
+
#: pro/includes/modules/templates.php:687
|
4363 |
+
msgid "Dynamic Template"
|
4364 |
+
msgstr "Modèle dynamique"
|
4365 |
+
|
4366 |
+
#: pro/includes/modules/templates.php:699
|
4367 |
+
msgid "is equal to"
|
4368 |
+
msgstr "est égal à"
|
4369 |
+
|
4370 |
+
#: pro/includes/modules/templates.php:721
|
4371 |
+
msgid "No templates found"
|
4372 |
+
msgstr "Aucun modèle trouvé"
|
4373 |
+
|
4374 |
+
#: pro/includes/updater.php:253
|
4375 |
+
#, php-format
|
4376 |
+
msgid ""
|
4377 |
+
"There is a new version of %1$s available. %2$sView version %3$s details%4$s."
|
4378 |
+
msgstr ""
|
4379 |
+
"Il existe une nouvelle version disponible de %1$s. %2$s Afficher la version "
|
4380 |
+
"%3$s details %4$s."
|
4381 |
+
|
4382 |
+
#: pro/includes/updater.php:261
|
4383 |
+
#, php-format
|
4384 |
+
msgid ""
|
4385 |
+
"There is a new version of %1$s available. %2$sView version %3$s details%4$s "
|
4386 |
+
"or %5$supdate now%6$s."
|
4387 |
+
msgstr ""
|
4388 |
+
"Il y a une nouvelle version disponible de %1$s. %2$s Afficher la version "
|
4389 |
+
"%3$s détails %4$s ou %5$s mettre à jour maintenant %6$s."
|
4390 |
+
|
4391 |
+
#: pro/includes/updater.php:510
|
4392 |
+
msgid "You do not have permission to install plugin updates"
|
4393 |
+
msgstr ""
|
4394 |
+
"Vous n’avez pas la permission d’installer les mises à jour de l’extension"
|
4395 |
+
|
4396 |
+
#: pro/includes/updater.php:510
|
4397 |
+
msgid "Error"
|
4398 |
+
msgstr "Erreur"
|
4399 |
+
|
4400 |
+
#: pro/includes/updates.php:246
|
4401 |
+
msgid "Deactivate License"
|
4402 |
+
msgstr "Désactiver la licence"
|
4403 |
+
|
4404 |
+
#: pro/includes/updates.php:246
|
4405 |
+
msgid "Activate License"
|
4406 |
+
msgstr "Activer la licence"
|
4407 |
+
|
4408 |
+
#: pro/includes/updates.php:286
|
4409 |
+
msgid "ACF Extended: License Information"
|
4410 |
+
msgstr "ACF Extended : informations de licence"
|
4411 |
+
|
4412 |
+
#: pro/includes/updates.php:290
|
4413 |
+
#, php-format
|
4414 |
+
msgid ""
|
4415 |
+
"To unlock updates, please enter your license key below. If you don't have a "
|
4416 |
+
"licence key, please see <a href=\"%s\" target=\"_blank\">details & pricing</"
|
4417 |
+
"a>."
|
4418 |
+
msgstr ""
|
4419 |
+
"Pour débloquer les mises à jour, veuillez saisir votre clé de licence ci-"
|
4420 |
+
"dessous. Si vous n’en possédez pas encore une, jetez un œil à nos <a href="
|
4421 |
+
"\"%s\" target=\"_blank\">détails & tarifs</a>."
|
4422 |
+
|
4423 |
+
#: pro/includes/updates.php:300
|
4424 |
+
msgid "License Key"
|
4425 |
+
msgstr "Clé de licence"
|
4426 |
+
|
4427 |
+
#: pro/includes/updates.php:332
|
4428 |
+
msgid "ACF Extended: Update Information"
|
4429 |
+
msgstr "ACF Extended : informations de mise à jour"
|
4430 |
+
|
4431 |
+
#: pro/includes/updates.php:339
|
4432 |
+
msgid "Current Version"
|
4433 |
+
msgstr "Version Actuelle"
|
4434 |
+
|
4435 |
+
#: pro/includes/updates.php:348
|
4436 |
+
msgid "Latest Version"
|
4437 |
+
msgstr "Dernière version"
|
4438 |
+
|
4439 |
+
#: pro/includes/updates.php:357
|
4440 |
+
msgid "Update Available"
|
4441 |
+
msgstr "Mise à jour disponible"
|
4442 |
+
|
4443 |
+
#: pro/includes/updates.php:366
|
4444 |
+
msgid "Update Plugin"
|
4445 |
+
msgstr "Mettre à jour l'extension"
|
4446 |
+
|
4447 |
+
#: pro/includes/updates.php:369
|
4448 |
+
msgid "Please enter your license key above to unlock updates"
|
4449 |
+
msgstr "Ajouter une clé pour obtenir les futures mise à jour"
|
4450 |
+
|
4451 |
+
#: pro/includes/updates.php:375
|
4452 |
+
msgid "Check Again"
|
4453 |
+
msgstr "Vérifier à nouveau"
|
4454 |
+
|
4455 |
+
#: pro/includes/updates.php:383
|
4456 |
+
msgid "Changelog"
|
4457 |
+
msgstr "Changelog"
|
4458 |
+
|
4459 |
+
#: pro/includes/updates.php:422
|
4460 |
+
msgid "An error occurred, please try again."
|
4461 |
+
msgstr "Une erreur est survenue, veuillez réessayer."
|
4462 |
+
|
4463 |
+
#: pro/includes/updates.php:426
|
4464 |
+
msgid "Your license key has expired."
|
4465 |
+
msgstr "Votre clé de licence a expiré."
|
4466 |
+
|
4467 |
+
#: pro/includes/updates.php:430
|
4468 |
+
msgid "Your license key has been disabled."
|
4469 |
+
msgstr "Votre clé de licence a été désactivée."
|
4470 |
+
|
4471 |
+
#: pro/includes/updates.php:434
|
4472 |
+
msgid "Licence key invalid."
|
4473 |
+
msgstr "Clé de licence non valide."
|
4474 |
+
|
4475 |
+
#: pro/includes/updates.php:438
|
4476 |
+
msgid "Your license is not active for this URL."
|
4477 |
+
msgstr "Votre licence n'est pas active pour cette URL."
|
4478 |
+
|
4479 |
+
#: pro/includes/updates.php:442
|
4480 |
+
msgid "This appears to be an invalid license key for ACF Extended Pro."
|
4481 |
+
msgstr "Cette clé de licence semble être invalide pour ACF Extended Pro."
|
4482 |
+
|
4483 |
+
#: pro/includes/updates.php:446
|
4484 |
+
msgid "Your license key has reached its activation limit."
|
4485 |
+
msgstr "Votre clé de licence a atteint sa limite d'activation."
|
4486 |
+
|
4487 |
+
#: pro/includes/updates.php:450
|
4488 |
+
msgid "<b>Licence key activated</b>. Updates are now enabled."
|
4489 |
+
msgstr ""
|
4490 |
+
"<b>Clé de licence activée</b>. Les mises à jour sont maintenant activées."
|
4491 |
+
|
4492 |
+
#. Plugin Name of the plugin/theme
|
4493 |
+
msgid "Advanced Custom Fields: Extended PRO"
|
4494 |
+
msgstr "Advanced Custom Fields: Extended PRO"
|
4495 |
+
|
4496 |
+
#. Plugin URI of the plugin/theme
|
4497 |
+
#. Author URI of the plugin/theme
|
4498 |
+
msgid "https://www.acf-extended.com"
|
4499 |
+
msgstr "https://www.acf-extended.com"
|
4500 |
+
|
4501 |
+
#. Description of the plugin/theme
|
4502 |
+
msgid ""
|
4503 |
+
"All-in-one enhancement suite that improves WordPress & Advanced Custom "
|
4504 |
+
"Fields."
|
4505 |
+
msgstr ""
|
4506 |
+
"Suite d’amélioration tout-en-un qui améliore WordPress & Advanced Custom "
|
4507 |
+
"Fields."
|
4508 |
+
|
4509 |
+
#. Author of the plugin/theme
|
4510 |
+
msgid "ACF Extended"
|
4511 |
+
msgstr "ACF Extended"
|
4512 |
+
|
4513 |
+
#~ msgid "Username may not be longer than 60 characters"
|
4514 |
+
#~ msgstr "Le nom d'utilisateur ne peut pas excéder 60 caractères"
|
4515 |
+
|
4516 |
+
#~ msgid ""
|
4517 |
+
#~ "Value <code style=\"font-size:11px;float:right; line-height:1.2; margin-"
|
4518 |
+
#~ "top:1px;\">"
|
4519 |
+
#~ msgstr ""
|
4520 |
+
#~ "Valeur <code style=\"font-size:11px;float:right; line-height:1.2; margin-"
|
4521 |
+
#~ "top:1px;\">"
|
4522 |
+
|
4523 |
+
#~ msgid "Value "
|
4524 |
+
#~ msgstr "Valeur "
|
4525 |
+
|
4526 |
+
#~ msgid "Server Validation"
|
4527 |
+
#~ msgstr "Validation du serveur"
|
4528 |
+
|
4529 |
+
#~ msgid "Payment meta is invalid."
|
4530 |
+
#~ msgstr "Les données meta du paiement sont invalides."
|
4531 |
+
|
4532 |
+
#~ msgid "Read more..."
|
4533 |
+
#~ msgstr "Lire la suite…"
|
4534 |
+
|
4535 |
+
#~ msgid "Dynamic Message"
|
4536 |
+
#~ msgstr "Message dynamique"
|
4537 |
+
|
4538 |
+
#~ msgid "Upgrade Notice"
|
4539 |
+
#~ msgstr "Avis de mise à jour"
|
4540 |
+
|
4541 |
+
#~ msgid ""
|
4542 |
+
#~ "<b>Licence key not found</b>. Make sure you have copied your licence key "
|
4543 |
+
#~ "exactly as it appears in your receipt."
|
4544 |
+
#~ msgstr ""
|
4545 |
+
#~ "<b>Clé de licence introuvable</b>. Assurez-vous d’avoir copié votre clé "
|
4546 |
+
#~ "de permis exactement telle qu’elle apparaît dans votre reçu."
|
4547 |
+
|
4548 |
+
#~ msgid "<b>Licence key deactivated</b>. Updates are now disabled."
|
4549 |
+
#~ msgstr ""
|
4550 |
+
#~ "<b>Clé de licence désactivée</b>. Les mises à jour sont maintenant "
|
4551 |
+
#~ "désactivées."
|
4552 |
+
|
4553 |
+
#~ msgid "Ajax call"
|
4554 |
+
#~ msgstr "Appel Ajax"
|
4555 |
+
|
4556 |
+
#~ msgid "Image Array"
|
4557 |
+
#~ msgstr "Image array()"
|
4558 |
+
|
4559 |
+
#~ msgid "Image URL"
|
4560 |
+
#~ msgstr "URL de l'image"
|
4561 |
+
|
4562 |
+
#~ msgid "Additional actions"
|
4563 |
+
#~ msgstr "Actions supplémentaires"
|
4564 |
+
|
4565 |
+
#~ msgid "Asynchronous settings"
|
4566 |
+
#~ msgstr "Paramètres asynchrones"
|
4567 |
+
|
4568 |
+
#~ msgid "Hide the empty message box"
|
4569 |
+
#~ msgstr "Masquer la boîte du message vide"
|
4570 |
+
|
4571 |
+
#~ msgid "Hide buttons"
|
4572 |
+
#~ msgstr "Masquer les boutons"
|
4573 |
+
|
4574 |
+
#, javascript-format
|
4575 |
+
#~ msgid "Not enough arguments following: %s"
|
4576 |
+
#~ msgstr "Pas assez d'arguments suivants: %s"
|
4577 |
+
|
4578 |
+
#, javascript-format
|
4579 |
+
#~ msgid "Invalid JSON config file: %s"
|
4580 |
+
#~ msgstr "Fichier de config JSON invalide : %s"
|
4581 |
+
|
4582 |
+
#~ msgid "Commands:"
|
4583 |
+
#~ msgstr "Commandes :"
|
4584 |
+
|
4585 |
+
#~ msgid "aliases:"
|
4586 |
+
#~ msgstr "alias :"
|
4587 |
+
|
4588 |
+
#~ msgid "boolean"
|
4589 |
+
#~ msgstr "boolean"
|
4590 |
+
|
4591 |
+
#~ msgid "string"
|
4592 |
+
#~ msgstr "chaîne"
|
4593 |
+
|
4594 |
+
#~ msgid "number"
|
4595 |
+
#~ msgstr "nombre"
|
4596 |
+
|
4597 |
+
#~ msgid "required"
|
4598 |
+
#~ msgstr "requis"
|
4599 |
+
|
4600 |
+
#~ msgid "choices:"
|
4601 |
+
#~ msgstr "choix :"
|
4602 |
+
|
4603 |
+
#~ msgid "Examples:"
|
4604 |
+
#~ msgstr "Exemples :"
|
4605 |
+
|
4606 |
+
#~ msgid "generated-value"
|
4607 |
+
#~ msgstr "valeur générée"
|
4608 |
+
|
4609 |
+
#, javascript-format
|
4610 |
+
#~ msgid "Not enough non-option arguments: got %s, need at least %s"
|
4611 |
+
#~ msgstr ""
|
4612 |
+
#~ "Pas assez des arguments sans option: obtenu %s, besoin d'au moins %s"
|
4613 |
+
|
4614 |
+
#, javascript-format
|
4615 |
+
#~ msgid "Too many non-option arguments: got %s, maximum of %s"
|
4616 |
+
#~ msgstr "Trop d'arguments sans option: obtenu %s, maximum de %s"
|
4617 |
+
|
4618 |
+
#, javascript-format
|
4619 |
+
#~ msgid "Argument: %s, Given: %s, Choices: %s"
|
4620 |
+
#~ msgstr "Argument: %s, Donné: %s, Choix: %s"
|
4621 |
+
|
4622 |
+
#, javascript-format
|
4623 |
+
#~ msgid "Argument check failed: %s"
|
4624 |
+
#~ msgstr "Vérification d'argument a échoué: %s"
|
4625 |
+
|
4626 |
+
#~ msgid "Implications failed:"
|
4627 |
+
#~ msgstr "Les implications ont échoué :"
|
4628 |
+
|
4629 |
+
#, javascript-format
|
4630 |
+
#~ msgid "Arguments %s and %s are mutually exclusive"
|
4631 |
+
#~ msgstr "Les arguments %s et %s sont mutuellement exclusifs"
|
4632 |
+
|
4633 |
+
#, javascript-format
|
4634 |
+
#~ msgid "Did you mean %s?"
|
4635 |
+
#~ msgstr "Vous vouliez dire %s ?"
|
readme.txt
CHANGED
@@ -5,7 +5,7 @@ Tags: acf, custom fields, meta, admin, fields, form, repeater, content
|
|
5 |
Requires at least: 4.9
|
6 |
Tested up to: 6.0
|
7 |
Requires PHP: 5.6
|
8 |
-
Stable tag: 0.8.8.
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
@@ -484,6 +484,35 @@ The content of the upcoming patch and work in progress features are all listed o
|
|
484 |
|
485 |
== Changelog ==
|
486 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
487 |
= 0.8.8.8 =
|
488 |
|
489 |
**ACF Extended Pro 0.8.8.8:**
|
@@ -493,8 +522,8 @@ The content of the upcoming patch and work in progress features are all listed o
|
|
493 |
* Module: Global Conditional Logic - Fixed postbox being hidden when user interacted with Screen Options
|
494 |
* Module: Scripts - Fixed Attachments post type in Orphan Meta Cleaner
|
495 |
* Module: Rewrite Rules - Fixed non-registered rewrite tag php notice
|
496 |
-
* Field: Color Picker -
|
497 |
-
* Field: Color Picker
|
498 |
* Field: Countries / Languages / Currencies - Removed potential notice in some edge cases
|
499 |
* Field: Date Range Picker - The `end_date` sub field is now correctly cleared upon save
|
500 |
* Field: Date Range Picker - Displaying only one date when the user select the same start/end date
|
@@ -508,7 +537,7 @@ The content of the upcoming patch and work in progress features are all listed o
|
|
508 |
* Field: Payment Cart - Field is now compatible with Repeater/Flexible Content
|
509 |
* Field: Payment Cart - Cart items are now automatically passed to js in `acf.data.acfe.carts`
|
510 |
* Field: Phone Number - Added National & International return format when libphonenumber is installed
|
511 |
-
* Field: Phone Number - Added Geolocation Token setting
|
512 |
* Field: Phone Number - Field value now only save the phone number instead of an array for data accessibility
|
513 |
* Field: Phone Number - Server Validation now also take care of Allowed Countries setting
|
514 |
* Field: Post Field - Fixed Content reinit JS undefined variable
|
@@ -538,11 +567,11 @@ The content of the upcoming patch and work in progress features are all listed o
|
|
538 |
* Field: Advanced Link - Display preview when URL or Title is entered
|
539 |
* Field: Code Editor - Fixed value update when used inside an ACF Block Type
|
540 |
* Field: Code Editor - Fixed missing Field Object Settings in the Field Group UI on duplicate
|
541 |
-
* Field: Columns - Fixed CSS when inside a collapsed Repeater
|
542 |
* Field: Columns - Added field to GraphQL
|
543 |
* Field: Clone - Fixed Modal Edit title when in repeater table
|
544 |
* Field: Flexible Content - Select Modal - Fixed Layout Category showing in all categories when there is no category set
|
545 |
-
* Field: Flexible Content - Edit Modal -
|
546 |
* Field: Group - Fixed Modal Edit title when in repeater table
|
547 |
* Field: Post Statuses - slugs are only shown when duplicated labels
|
548 |
* Field: Select - Enhanced Select2 "on clear" logic by closing selection
|
@@ -550,7 +579,7 @@ The content of the upcoming patch and work in progress features are all listed o
|
|
550 |
* Field Settings: Validation - Added regex unicode compatibility
|
551 |
* Locations: Post Type Archive - Enhanced `have_archive()` to find post type when there is no posts
|
552 |
* Locations: Post Type Archive - Fixed native `post`, `page` & `attachment` post types archive location matching field groups
|
553 |
-
* General: Compatibility - Enhanced Elementor Dynamic Tags detection
|
554 |
* General: Compatibility - Added ACF 6.0 new UI compatibility fixes
|
555 |
* General: Core - Fixed editable `<code>` tag for facetwp
|
556 |
* General: Core - Enhanced localize data
|
5 |
Requires at least: 4.9
|
6 |
Tested up to: 6.0
|
7 |
Requires PHP: 5.6
|
8 |
+
Stable tag: 0.8.8.9
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
484 |
|
485 |
== Changelog ==
|
486 |
|
487 |
+
= 0.8.8.9 =
|
488 |
+
|
489 |
+
**ACF Extended Pro 0.8.8.9:**
|
490 |
+
|
491 |
+
* Field: Code Editor - Fixed ACF 6.0 UI field setting width
|
492 |
+
* Field: Google Map - Fixed potential undefined `zoom` key in some edge case
|
493 |
+
* Field: Post Object - Fixed an issue with the Inline Post Edit modal which would not work correctly in some edge case
|
494 |
+
* Field: Relationship - Reworked & Enhanced Post Creation/Edit code logic
|
495 |
+
|
496 |
+
**ACF Extended Basic 0.8.8.9:**
|
497 |
+
|
498 |
+
* Field: Dynamic Render - Fixed potential undefined `render` key when using the old `acfe_dynamic_message` field type
|
499 |
+
* Field: Flexible Content - Fixed duplicated Modal Select Categories
|
500 |
+
* Field: Flexible Content - Fixed Sortable ui helper css margin
|
501 |
+
* Field: Post Object - Fixed ACF 6.0 UI wrong border color
|
502 |
+
* Field: Post Object - Fixed sortable items when Inline Post Edit is enabled with "Allow Multiple values"
|
503 |
+
* Field: Select - Fixed potential JS issue while searching a value when using "Allow custom value"
|
504 |
+
* Field: Tab - Fixed ACF 6.0 UI missing colors
|
505 |
+
* Field: Taxonomy - Fixed JS error on initialization
|
506 |
+
* Module: Advanced Validation/Settings - Fixed ACF 6.0 UI settings css
|
507 |
+
* Module: Forms - Bail early in the Block Editor in the `[acfe_form]` shortcode to avoid conflict with Media Modal (ACF core logic)
|
508 |
+
* Module: Dev - Enhanced module logic
|
509 |
+
* General: Added several ACF 6.0 & ACF 6.0.1 UI compatibility fixes
|
510 |
+
* General: Added several JS helpers
|
511 |
+
* General: Enhanced ACFE Modal logic
|
512 |
+
* General: Enhanced Readme
|
513 |
+
* General: Enhanced Build Tools
|
514 |
+
* General: Introduced `acfe.fieldExtend`
|
515 |
+
|
516 |
= 0.8.8.8 =
|
517 |
|
518 |
**ACF Extended Pro 0.8.8.8:**
|
522 |
* Module: Global Conditional Logic - Fixed postbox being hidden when user interacted with Screen Options
|
523 |
* Module: Scripts - Fixed Attachments post type in Orphan Meta Cleaner
|
524 |
* Module: Rewrite Rules - Fixed non-registered rewrite tag php notice
|
525 |
+
* Field: Color Picker - Added `theme.json` compatibility for color palette
|
526 |
+
* Field: Color Picker - Added Return Format "Label" and "Color + Label Array"
|
527 |
* Field: Countries / Languages / Currencies - Removed potential notice in some edge cases
|
528 |
* Field: Date Range Picker - The `end_date` sub field is now correctly cleared upon save
|
529 |
* Field: Date Range Picker - Displaying only one date when the user select the same start/end date
|
537 |
* Field: Payment Cart - Field is now compatible with Repeater/Flexible Content
|
538 |
* Field: Payment Cart - Cart items are now automatically passed to js in `acf.data.acfe.carts`
|
539 |
* Field: Phone Number - Added National & International return format when libphonenumber is installed
|
540 |
+
* Field: Phone Number - Added Geolocation API Token setting for ipinfo.io
|
541 |
* Field: Phone Number - Field value now only save the phone number instead of an array for data accessibility
|
542 |
* Field: Phone Number - Server Validation now also take care of Allowed Countries setting
|
543 |
* Field: Post Field - Fixed Content reinit JS undefined variable
|
567 |
* Field: Advanced Link - Display preview when URL or Title is entered
|
568 |
* Field: Code Editor - Fixed value update when used inside an ACF Block Type
|
569 |
* Field: Code Editor - Fixed missing Field Object Settings in the Field Group UI on duplicate
|
570 |
+
* Field: Columns - Fixed CSS when inside a collapsed Repeater
|
571 |
* Field: Columns - Added field to GraphQL
|
572 |
* Field: Clone - Fixed Modal Edit title when in repeater table
|
573 |
* Field: Flexible Content - Select Modal - Fixed Layout Category showing in all categories when there is no category set
|
574 |
+
* Field: Flexible Content - Edit Modal - Fixed usage with `acf/fields/flexible_content/layout_title`
|
575 |
* Field: Group - Fixed Modal Edit title when in repeater table
|
576 |
* Field: Post Statuses - slugs are only shown when duplicated labels
|
577 |
* Field: Select - Enhanced Select2 "on clear" logic by closing selection
|
579 |
* Field Settings: Validation - Added regex unicode compatibility
|
580 |
* Locations: Post Type Archive - Enhanced `have_archive()` to find post type when there is no posts
|
581 |
* Locations: Post Type Archive - Fixed native `post`, `page` & `attachment` post types archive location matching field groups
|
582 |
+
* General: Compatibility - Enhanced Elementor Dynamic Tags detection
|
583 |
* General: Compatibility - Added ACF 6.0 new UI compatibility fixes
|
584 |
* General: Core - Fixed editable `<code>` tag for facetwp
|
585 |
* General: Core - Enhanced localize data
|