diff --git a/acf.php b/acf.php index 7eedbea..8b36b43 100644 --- a/acf.php +++ b/acf.php @@ -3,7 +3,7 @@ Plugin Name: Advanced Custom Fields PRO Plugin URI: https://www.advancedcustomfields.com/ Description: Customize WordPress with powerful, professional and intuitive fields. -Version: 5.7.9 +Version: 5.7.10 Author: Elliot Condon Author URI: http://www.elliotcondon.com/ Copyright: Elliot Condon @@ -18,7 +18,7 @@ if( ! class_exists('ACF') ) : class ACF { /** @var string The plugin version number */ - var $version = '5.7.9'; + var $version = '5.7.10'; /** @var array The plugin settings array */ var $settings = array(); @@ -130,6 +130,16 @@ class ACF { acf_include('includes/api/api-template.php'); acf_include('includes/api/api-term.php'); + // Include models. + acf_include('includes/class-acf-data.php'); + + // Include functions. + acf_include('includes/acf-helper-functions.php'); + acf_include('includes/acf-data-functions.php'); + acf_include('includes/acf-form-functions.php'); + acf_include('includes/acf-user-functions.php'); + + // fields acf_include('includes/fields.php'); acf_include('includes/fields/class-acf-field.php'); @@ -145,8 +155,8 @@ class ACF { acf_include('includes/cache.php'); acf_include('includes/compatibility.php'); acf_include('includes/deprecated.php'); - acf_include('includes/form.php'); acf_include('includes/json.php'); + acf_include('includes/l10n.php'); acf_include('includes/local.php'); acf_include('includes/loop.php'); acf_include('includes/media.php'); @@ -181,6 +191,7 @@ class ACF { acf_include('includes/admin/admin.php'); acf_include('includes/admin/admin-field-group.php'); acf_include('includes/admin/admin-field-groups.php'); + acf_include('includes/admin/admin-notices.php'); acf_include('includes/admin/admin-tools.php'); acf_include('includes/admin/admin-upgrade.php'); acf_include('includes/admin/settings-info.php'); @@ -190,6 +201,8 @@ class ACF { // pro acf_include('pro/acf-pro.php'); + // Include tests. + //acf_include('tests/tests.php'); // actions add_action('init', array($this, 'init'), 5); @@ -237,7 +250,7 @@ class ACF { // textdomain - $this->load_plugin_textdomain(); + acf_load_textdomain(); // include 3rd party support acf_include('includes/third-party.php'); @@ -247,11 +260,6 @@ class ACF { acf_include('includes/wpml.php'); } - // include gutenberg - if( defined('GUTENBERG_VERSION') ) { - acf_include('includes/forms/form-gutenberg.php'); - } - // fields acf_include('includes/fields/class-acf-field-text.php'); acf_include('includes/fields/class-acf-field-textarea.php'); @@ -323,42 +331,6 @@ class ACF { // action for 3rd party do_action('acf/init'); - - } - - - /* - * load_plugin_textdomain - * - * This function will load the textdomain file - * - * @type function - * @date 3/5/17 - * @since 5.5.13 - * - * @param n/a - * @return n/a - */ - - function load_plugin_textdomain() { - - // vars - $domain = 'acf'; - $locale = apply_filters( 'plugin_locale', acf_get_locale(), $domain ); - $mofile = $domain . '-' . $locale . '.mo'; - - - // load from the languages directory first - load_textdomain( $domain, WP_LANG_DIR . '/plugins/' . $mofile ); - - - // redirect missing translations - $mofile = str_replace('fr_CA', 'fr_FR', $mofile); - - - // load from plugin lang folder - load_textdomain( $domain, acf_get_path( 'lang/' . $mofile ) ); - } diff --git a/assets/css/acf-dark.css b/assets/css/acf-dark.css index cbe89a0..a150c03 100644 --- a/assets/css/acf-dark.css +++ b/assets/css/acf-dark.css @@ -1 +1 @@ -.acf-box{background-color:#32373c;border-color:#191f25;color:#bbc8d4}.acf-box .footer,.acf-box .title{border-color:#23282d}.acf-box h2{color:#bbc8d4}.acf-box table,.acf-box tbody,.acf-box tr{background:0 0!important}.acf-thead{color:#bbc8d4;border-color:#191f25}.acf-tfoot{background-color:#2d3136;border-color:#23282d}.acf-table.-clear,.acf-table.-clear tr{background:0 0!important}.acf-loading-overlay{background:rgba(0,0,0,.5)}.acf-fields>.acf-field{border-color:#23282d}.acf-fields.-left>.acf-field:before{background:rgba(0,0,0,.1);border-color:#23282d}.acf-fields.-border{background-color:#32373c;border-color:#191f25;color:#bbc8d4}.acf-field[data-width]+.acf-field[data-width]{border-color:#23282d}.acf-input-append,.acf-input-prepend{background-color:#32373c;border-color:#191f25;color:#bbc8d4}.acf-fields>.acf-tab-wrap{background-color:#32373c;border-color:#191f25;color:#bbc8d4}.acf-fields>.acf-tab-wrap .acf-tab-group{background-color:#2d3136;border-color:#23282d}.acf-fields>.acf-tab-wrap .acf-tab-group li a{background-color:#2d3136;border-color:#23282d}.acf-fields>.acf-tab-wrap .acf-tab-group li a:hover{background-color:#2d3136;border-color:#23282d;color:#bbc8d4}.acf-fields>.acf-tab-wrap .acf-tab-group li.active a{background-color:#32373c;border-color:#191f25;color:#bbc8d4}.acf-fields.-sidebar:before{background-color:#2d3136;border-color:#23282d}.acf-fields.-sidebar.-left:before{background-color:#2d3136;border-color:#23282d;background:#23282d}.acf-fields.-sidebar.-left>.acf-tab-wrap.-left .acf-tab-group li a{background-color:#2d3136;border-color:#23282d}.acf-fields.-sidebar.-left>.acf-tab-wrap.-left .acf-tab-group li.active a{background-color:#2d3136;border-color:#23282d}.acf-file-uploader .show-if-value{background-color:#32373c;border-color:#191f25;color:#bbc8d4}.acf-file-uploader .show-if-value .file-icon{background-color:#2d3136;border-color:#23282d}.acf-oembed{background-color:#2d3136;border-color:#23282d}.acf-oembed .title{background-color:#50626f;border-color:#191f25;color:#fff}.acf-gallery{background-color:#2d3136;border-color:#23282d}.acf-gallery .acf-gallery-main{background:#23282d}.acf-gallery .acf-gallery-attachment .margin{background-color:#2d3136;border-color:#23282d}.acf-gallery .acf-gallery-side{background-color:#2d3136;border-color:#23282d}.acf-gallery .acf-gallery-side .acf-gallery-side-info{background-color:#2d3136;border-color:#23282d}.acf-gallery .acf-gallery-toolbar{background-color:#2d3136;border-color:#23282d}.acf-button-group label:not(.selected){background-color:#2d3136;border-color:#23282d}.acf-switch:not(.-on){background-color:#2d3136;border-color:#23282d}.acf-switch:not(.-on) .acf-switch-slider{background-color:#50626f;border-color:#191f25;color:#fff}.acf-link .link-wrap{background-color:#2d3136;border-color:#23282d}.acf-relationship .filters{background-color:#32373c;border-color:#191f25;color:#bbc8d4}.acf-relationship .selection{background-color:#2d3136;border-color:#23282d}.acf-relationship .selection .choices,.acf-relationship .selection .choices-list,.acf-relationship .selection .values{background-color:#2d3136;border-color:#23282d}.acf-taxonomy-field .categorychecklist-holder{background-color:#2d3136;border-color:#23282d}.acf-google-map{background-color:#2d3136;border-color:#23282d}.acf-google-map .title{background-color:#50626f;border-color:#191f25;color:#fff}.acf-accordion{background-color:#32373c;border-color:#191f25;color:#bbc8d4}.acf-field.acf-accordion .acf-accordion-content>.acf-fields{border-color:#191f25}.acf-flexible-content .layout{background-color:#32373c;border-color:#191f25;color:#bbc8d4}.acf-flexible-content .layout .acf-fc-layout-handle{background-color:#2d3136;border-color:#23282d}.acf-flexible-content .layout .acf-fc-layout-handle .acf-fc-layout-order{background-color:#32373c;border-color:#191f25;color:#bbc8d4}#wpbody .acf-table{background-color:#2d3136;border-color:#23282d}#wpbody .acf-table>tbody>tr,#wpbody .acf-table>thead>tr{background:0 0}#wpbody .acf-table>tbody>tr>td,#wpbody .acf-table>tbody>tr>th,#wpbody .acf-table>thead>tr>td,#wpbody .acf-table>thead>tr>th{border-color:#191f25}.acf-field select optgroup,.acf-field select optgroup:nth-child(2n){background:#50626f}#acf-field-group-fields .acf-field-list-wrap{background-color:#32373c;border-color:#191f25;color:#bbc8d4}#acf-field-group-fields .acf-field-list .no-fields-message{background-color:#32373c;border-color:#191f25;color:#bbc8d4}#acf-field-group-fields .acf-field-object{background-color:#32373c;border-color:#191f25;color:#bbc8d4;border-color:#23282d}#acf-field-group-fields .acf-field-object table,#acf-field-group-fields .acf-field-object tbody,#acf-field-group-fields .acf-field-object td,#acf-field-group-fields .acf-field-object th,#acf-field-group-fields .acf-field-object tr{background:0 0;border-color:#23282d}#acf-field-group-fields .acf-field-object .acf-field .acf-label{background-color:#2d3136;border-color:#23282d}#acf-field-group-fields .acf-field-object.ui-sortable-helper{border-color:#191f25;box-shadow:none}#acf-field-group-fields .acf-field-object.ui-sortable-placeholder{background-color:#2d3136;border-color:#23282d;box-shadow:none}#acf-field-group-fields .acf-field-object+.acf-field-object-accordion::before,#acf-field-group-fields .acf-field-object+.acf-field-object-tab::before{background-color:#2d3136;border-color:#23282d}.acf-meta-box-wrap .acf-fields{background-color:#50626f;border-color:#191f25;color:#fff;background:0 0} \ No newline at end of file +.acf-box{background-color:#32373c;border-color:#191f25;color:#bbc8d4}.acf-box .title,.acf-box .footer{border-color:#23282d}.acf-box h2{color:#bbc8d4}.acf-box table,.acf-box tbody,.acf-box tr{background:transparent !important}.acf-thead{color:#bbc8d4;border-color:#191f25}.acf-tfoot{background-color:#2d3136;border-color:#23282d}.acf-table.-clear,.acf-table.-clear tr{background:transparent !important}.acf-loading-overlay{background:rgba(0,0,0,0.5)}.acf-fields>.acf-field{border-color:#23282d}.acf-fields.-left>.acf-field:before{background:rgba(0,0,0,0.1);border-color:#23282d}.acf-fields.-border{background-color:#32373c;border-color:#191f25;color:#bbc8d4}.acf-field[data-width]+.acf-field[data-width]{border-color:#23282d}.acf-input-prepend,.acf-input-append{background-color:#32373c;border-color:#191f25;color:#bbc8d4}.acf-fields>.acf-tab-wrap{background-color:#32373c;border-color:#191f25;color:#bbc8d4}.acf-fields>.acf-tab-wrap .acf-tab-group{background-color:#2d3136;border-color:#23282d}.acf-fields>.acf-tab-wrap .acf-tab-group li a{background-color:#2d3136;border-color:#23282d}.acf-fields>.acf-tab-wrap .acf-tab-group li a:hover{background-color:#2d3136;border-color:#23282d;color:#bbc8d4}.acf-fields>.acf-tab-wrap .acf-tab-group li.active a{background-color:#32373c;border-color:#191f25;color:#bbc8d4}.acf-fields.-sidebar:before{background-color:#2d3136;border-color:#23282d}.acf-fields.-sidebar.-left:before{background-color:#2d3136;border-color:#23282d;background:#23282d}.acf-fields.-sidebar.-left>.acf-tab-wrap.-left .acf-tab-group li a{background-color:#2d3136;border-color:#23282d}.acf-fields.-sidebar.-left>.acf-tab-wrap.-left .acf-tab-group li.active a{background-color:#2d3136;border-color:#23282d}.acf-file-uploader .show-if-value{background-color:#32373c;border-color:#191f25;color:#bbc8d4}.acf-file-uploader .show-if-value .file-icon{background-color:#2d3136;border-color:#23282d}.acf-oembed{background-color:#2d3136;border-color:#23282d}.acf-oembed .title{background-color:#50626f;border-color:#191f25;color:#fff}.acf-gallery{background-color:#2d3136;border-color:#23282d}.acf-gallery .acf-gallery-main{background:#23282d}.acf-gallery .acf-gallery-attachment .margin{background-color:#2d3136;border-color:#23282d}.acf-gallery .acf-gallery-side{background-color:#2d3136;border-color:#23282d}.acf-gallery .acf-gallery-side .acf-gallery-side-info{background-color:#2d3136;border-color:#23282d}.acf-gallery .acf-gallery-toolbar{background-color:#2d3136;border-color:#23282d}.acf-button-group label:not(.selected){background-color:#2d3136;border-color:#23282d}.acf-switch:not(.-on){background-color:#2d3136;border-color:#23282d}.acf-switch:not(.-on) .acf-switch-slider{background-color:#50626f;border-color:#191f25;color:#fff}.acf-link .link-wrap{background-color:#2d3136;border-color:#23282d}.acf-relationship .filters{background-color:#32373c;border-color:#191f25;color:#bbc8d4}.acf-relationship .selection{background-color:#2d3136;border-color:#23282d}.acf-relationship .selection .choices,.acf-relationship .selection .choices-list,.acf-relationship .selection .values{background-color:#2d3136;border-color:#23282d}.acf-taxonomy-field .categorychecklist-holder{background-color:#2d3136;border-color:#23282d}.acf-google-map{background-color:#2d3136;border-color:#23282d}.acf-google-map .title{background-color:#50626f;border-color:#191f25;color:#fff}.acf-accordion{background-color:#32373c;border-color:#191f25;color:#bbc8d4}.acf-field.acf-accordion .acf-accordion-content>.acf-fields{border-color:#191f25}.acf-flexible-content .layout{background-color:#32373c;border-color:#191f25;color:#bbc8d4}.acf-flexible-content .layout .acf-fc-layout-handle{background-color:#2d3136;border-color:#23282d}.acf-flexible-content .layout .acf-fc-layout-handle .acf-fc-layout-order{background-color:#32373c;border-color:#191f25;color:#bbc8d4}#wpbody .acf-table{background-color:#2d3136;border-color:#23282d}#wpbody .acf-table>tbody>tr,#wpbody .acf-table>thead>tr{background:transparent}#wpbody .acf-table>tbody>tr>td,#wpbody .acf-table>tbody>tr>th,#wpbody .acf-table>thead>tr>td,#wpbody .acf-table>thead>tr>th{border-color:#191f25}.acf-field select optgroup,.acf-field select optgroup:nth-child(2n){background:#50626f}#acf-field-group-fields .acf-field-list-wrap{background-color:#32373c;border-color:#191f25;color:#bbc8d4}#acf-field-group-fields .acf-field-list .no-fields-message{background-color:#32373c;border-color:#191f25;color:#bbc8d4}#acf-field-group-fields .acf-field-object{background-color:#32373c;border-color:#191f25;color:#bbc8d4;border-color:#23282d}#acf-field-group-fields .acf-field-object table,#acf-field-group-fields .acf-field-object tbody,#acf-field-group-fields .acf-field-object tr,#acf-field-group-fields .acf-field-object td,#acf-field-group-fields .acf-field-object th{background:transparent;border-color:#23282d}#acf-field-group-fields .acf-field-object .acf-field .acf-label{background-color:#2d3136;border-color:#23282d}#acf-field-group-fields .acf-field-object.ui-sortable-helper{border-color:#191f25;box-shadow:none}#acf-field-group-fields .acf-field-object.ui-sortable-placeholder{background-color:#2d3136;border-color:#23282d;box-shadow:none}#acf-field-group-fields .acf-field-object+.acf-field-object-tab::before,#acf-field-group-fields .acf-field-object+.acf-field-object-accordion::before{background-color:#2d3136;border-color:#23282d}.acf-meta-box-wrap .acf-fields{background-color:#50626f;border-color:#191f25;color:#fff;background:transparent} diff --git a/assets/css/acf-field-group.css b/assets/css/acf-field-group.css index 8773e84..d37ebc6 100644 --- a/assets/css/acf-field-group.css +++ b/assets/css/acf-field-group.css @@ -1,457 +1 @@ -/*-------------------------------------------------------------------------------------------- -* -* Vars -* -*--------------------------------------------------------------------------------------------*/ -/* colors */ -/* acf-field */ -/* responsive */ -/*-------------------------------------------------------------------------------------------- -* -* Mixins -* -*--------------------------------------------------------------------------------------------*/ -/*--------------------------------------------------------------------------------------------- -* -* Global -* -*---------------------------------------------------------------------------------------------*/ -#adv-settings .show-field-keys label { - padding: 0 5px; -} -#acf-field-group-fields > .inside, -#acf-field-group-locations > .inside, -#acf-field-group-options > .inside { - padding: 0; - margin: 0; -} -.acf-field p.description { - font-style: normal; - font-size: 12px; - color: #777777; -} -/*--------------------------------------------------------------------------------------------- -* -* Postbox: Publish -* -*---------------------------------------------------------------------------------------------*/ -#minor-publishing-actions, -#misc-publishing-actions #visibility { - display: none; -} -#minor-publishing { - border-bottom: 0 none; -} -#misc-pub-section { - border-bottom: 0 none; -} -#misc-publishing-actions .misc-pub-section { - border-bottom-color: #F5F5F5; -} -/*--------------------------------------------------------------------------------------------- -* -* Postbox: Fields -* -*---------------------------------------------------------------------------------------------*/ -#acf-field-group-fields { - border: 0 none; - box-shadow: none; - /* metabox */ - /* links */ - /* table header */ - /* show keys */ - /* fields */ -} -#acf-field-group-fields > .handlediv, -#acf-field-group-fields > .hndle { - display: none; -} -#acf-field-group-fields a { - text-decoration: none; -} -#acf-field-group-fields a:active, -#acf-field-group-fields a:focus { - outline: none; - box-shadow: none; -} -#acf-field-group-fields .li-field-order { - width: 20%; -} -#acf-field-group-fields .li-field-label { - width: 30%; -} -#acf-field-group-fields .li-field-name { - width: 25%; -} -#acf-field-group-fields .li-field-type { - width: 25%; -} -#acf-field-group-fields .li-field-key { - display: none; -} -#acf-field-group-fields.show-field-keys .li-field-label, -#acf-field-group-fields.show-field-keys .li-field-name, -#acf-field-group-fields.show-field-keys .li-field-type, -#acf-field-group-fields.show-field-keys .li-field-key { - width: 20%; -} -#acf-field-group-fields.show-field-keys .li-field-key { - display: block; -} -#acf-field-group-fields .acf-field-list-wrap { - border: #DFDFDF solid 1px; -} -#acf-field-group-fields .acf-field-list { - background: #F9F9F9; - margin-top: -1px; - /* no fields */ - /* empty */ -} -#acf-field-group-fields .acf-field-list .no-fields-message { - padding: 15px 15px; - background: #fff; - display: none; -} -#acf-field-group-fields .acf-field-list.-empty .no-fields-message { - display: block; -} -/* field object */ -.acf-field-object { - border-top: #F0F0F0 solid 1px; - background: #fff; - /* sortable */ - /* meta */ - /* handle */ - /* open */ - /* - // debug - &[data-save="meta"] { - > .handle { - border-left: #ffb700 solid 5px !important; - } - } - - &[data-save="settings"] { - > .handle { - border-left: #0ec563 solid 5px !important; - } - } -*/ - /* hover */ - /* settings */ - /* conditional logic */ -} -.acf-field-object.ui-sortable-helper { - border-top-color: #fff; - box-shadow: 0 0 0 1px #DFDFDF, 0 1px 4px rgba(0, 0, 0, 0.1); -} -.acf-field-object.ui-sortable-placeholder { - box-shadow: 0 -1px 0 0 #DFDFDF; - visibility: visible !important; - background: #F9F9F9; - border-top-color: transparent; - min-height: 54px; -} -.acf-field-object.ui-sortable-placeholder:after, -.acf-field-object.ui-sortable-placeholder:before { - visibility: hidden; -} -.acf-field-object > .meta { - display: none; -} -.acf-field-object > .handle a { - -webkit-transition: none; - -moz-transition: none; - -o-transition: none; - transition: none; -} -.acf-field-object > .handle li { - padding-top: 10px; - padding-bottom: 10px; - word-wrap: break-word; -} -.acf-field-object > .handle .acf-icon { - margin: 1px 0 0; - cursor: move; - background: transparent; - float: left; - height: 28px; - line-height: 28px; - width: 28px; - font-size: 13px; - color: #444; - position: relative; - z-index: 1; -} -.acf-field-object > .handle strong { - display: block; - padding-bottom: 6px; - font-size: 14px; - line-height: 14px; - min-height: 14px; -} -.acf-field-object > .handle .row-options { - visibility: hidden; -} -.acf-field-object > .handle .row-options a { - margin-right: 4px; -} -.acf-field-object > .handle .row-options a.delete-field { - color: #a00; -} -.acf-field-object > .handle .row-options a.delete-field:hover { - color: #f00; -} -.acf-field-object.open + .acf-field-object { - border-top-color: #E1E1E1; -} -.acf-field-object.open > .handle { - background: #2a9bd9; - border: #2696d3 solid 1px; - text-shadow: #268FBB 0 1px 0; - color: #fff; - position: relative; - margin: -1px -1px 0 -1px; -} -.acf-field-object.open > .handle a { - color: #fff !important; -} -.acf-field-object.open > .handle a:hover { - text-decoration: underline !important; -} -.acf-field-object.open > .handle .acf-icon { - border-color: #fff; - color: #fff; -} -.acf-field-object.open > .handle .acf-required { - color: #fff; -} -.acf-field-object:hover > .handle .row-options, -.acf-field-object.-hover > .handle .row-options { - visibility: visible; -} -.acf-field-object > .settings { - display: none; - width: 100%; -} -.acf-field-object > .settings > .acf-table { - border: none; -} -.acf-field-object .rule-groups { - margin-top: 20px; -} -/*--------------------------------------------------------------------------------------------- -* -* Postbox: Locations -* -*---------------------------------------------------------------------------------------------*/ -.rule-groups h4 { - margin: 15px 0 5px; -} -.rule-groups .rule-group { - margin: 0 0 5px; - /* Don't allow user to delete the first field group */ -} -.rule-groups .rule-group h4 { - margin: 0 0 3px; -} -.rule-groups .rule-group td.param { - width: 35%; -} -.rule-groups .rule-group td.operator { - width: 20%; -} -.rule-groups .rule-group td.add { - width: 40px; -} -.rule-groups .rule-group td.remove { - width: 28px; - vertical-align: middle; -} -.rule-groups .rule-group td.remove a { - visibility: hidden; -} -.rule-groups .rule-group tr:hover td.remove a { - visibility: visible; -} -.rule-groups .rule-group:first-child tr:first-child td.remove a { - visibility: hidden !important; -} -.rule-groups .rule-group select:empty { - background: #f8f8f8; -} -/*--------------------------------------------------------------------------------------------- -* -* Options -* -*---------------------------------------------------------------------------------------------*/ -#acf-field-group-options tr[data-name="hide_on_screen"] li { - float: left; - width: 33%; -} -@media (max-width: 1100px) { - #acf-field-group-options tr[data-name="hide_on_screen"] li { - width: 50%; - } -} -/*--------------------------------------------------------------------------------------------- -* -* Conditional Logic -* -*---------------------------------------------------------------------------------------------*/ -table.conditional-logic-rules { - background: transparent; - border: 0 none; - border-radius: 0; -} -table.conditional-logic-rules tbody td { - background: transparent; - border: 0 none !important; - padding: 5px 2px !important; -} -/*--------------------------------------------------------------------------------------------- -* -* Field: Tab -* -*---------------------------------------------------------------------------------------------*/ -.acf-field-object-tab .acf-field-setting-name, -.acf-field-object-tab .acf-field-setting-instructions, -.acf-field-object-tab .acf-field-setting-required, -.acf-field-object-tab .acf-field-setting-warning, -.acf-field-object-tab .acf-field-setting-wrapper, -.acf-field-object-accordion .acf-field-setting-name, -.acf-field-object-accordion .acf-field-setting-instructions, -.acf-field-object-accordion .acf-field-setting-required, -.acf-field-object-accordion .acf-field-setting-warning, -.acf-field-object-accordion .acf-field-setting-wrapper { - display: none; -} -.acf-field-object-tab .li-field-name, -.acf-field-object-accordion .li-field-name { - visibility: hidden; -} -.acf-field-object + .acf-field-object-tab:before, -.acf-field-object + .acf-field-object-accordion:before { - display: block; - content: ""; - height: 5px; - width: 100%; - background: #f9f9f9; - border-bottom: #f0f0f0 solid 1px; -} -.acf-field-object-tab p:first-child, -.acf-field-object-accordion p:first-child { - margin: 0.5em 0; -} -/*--------------------------------------------------------------------------------------------- -* -* Field: Accordion -* -*---------------------------------------------------------------------------------------------*/ -.acf-field-object-accordion .acf-field-setting-instructions { - display: table-row; -} -/*--------------------------------------------------------------------------------------------- -* -* Field: Message -* -*---------------------------------------------------------------------------------------------*/ -.acf-field-object-message tr[data-name="name"], -.acf-field-object-message tr[data-name="instructions"], -.acf-field-object-message tr[data-name="required"] { - display: none !important; -} -.acf-field-object-message .li-field-name { - visibility: hidden; -} -.acf-field-object-message textarea { - height: 175px !important; -} -/*--------------------------------------------------------------------------------------------- -* -* Field: Separator -* -*---------------------------------------------------------------------------------------------*/ -.acf-field-object-separator tr[data-name="name"], -.acf-field-object-separator tr[data-name="instructions"], -.acf-field-object-separator tr[data-name="required"] { - display: none !important; -} -/*--------------------------------------------------------------------------------------------- -* -* Field: Date Picker -* -*---------------------------------------------------------------------------------------------*/ -.acf-field-object-date-picker .acf-radio-list li, -.acf-field-object-time-picker .acf-radio-list li, -.acf-field-object-date-time-picker .acf-radio-list li { - line-height: 25px; -} -.acf-field-object-date-picker .acf-radio-list span, -.acf-field-object-time-picker .acf-radio-list span, -.acf-field-object-date-time-picker .acf-radio-list span { - display: inline-block; - min-width: 10em; -} -.acf-field-object-date-picker .acf-radio-list input[type="text"], -.acf-field-object-time-picker .acf-radio-list input[type="text"], -.acf-field-object-date-time-picker .acf-radio-list input[type="text"] { - width: 100px; -} -.acf-field-object-date-time-picker .acf-radio-list span { - min-width: 15em; -} -.acf-field-object-date-time-picker .acf-radio-list input[type="text"] { - width: 200px; -} -/*-------------------------------------------------------------------------------------------- -* -* Slug -* -*--------------------------------------------------------------------------------------------*/ -#slugdiv .inside { - padding: 12px; - margin: 0; -} -#slugdiv input[type="text"] { - width: 100%; - height: 28px; - font-size: 14px; -} -/*-------------------------------------------------------------------------------------------- -* -* RTL -* -*--------------------------------------------------------------------------------------------*/ -html[dir="rtl"] .acf-field-object.open > .handle { - margin: -1px -1px 0; -} -html[dir="rtl"] .acf-field-object.open > .handle .acf-icon { - float: right; -} -html[dir="rtl"] .acf-field-object.open > .handle .li-field-order { - padding-left: 0 !important; - padding-right: 15px !important; -} -/*--------------------------------------------------------------------------------------------- -* -* Device -* -*---------------------------------------------------------------------------------------------*/ -@media only screen and (max-width: 850px) { - tr.acf-field, - td.acf-label, - td.acf-input { - display: block !important; - width: auto !important; - border: 0 none !important; - } - tr.acf-field { - border-top: #ededed solid 1px !important; - margin-bottom: 0 !important; - } - td.acf-label { - background: transparent !important; - padding-bottom: 0 !important; - } -} +#adv-settings .show-field-keys label{padding:0 5px}#acf-field-group-fields>.inside,#acf-field-group-locations>.inside,#acf-field-group-options>.inside{padding:0;margin:0}.acf-field p.description{font-style:normal;font-size:12px;color:#777777}#minor-publishing-actions,#misc-publishing-actions #visibility{display:none}#minor-publishing{border-bottom:0 none}#misc-pub-section{border-bottom:0 none}#misc-publishing-actions .misc-pub-section{border-bottom-color:#F5F5F5}#acf-field-group-fields{border:0 none;box-shadow:none}#acf-field-group-fields>.handlediv,#acf-field-group-fields>.hndle{display:none}#acf-field-group-fields a{text-decoration:none}#acf-field-group-fields a:active,#acf-field-group-fields a:focus{outline:none;box-shadow:none}#acf-field-group-fields .li-field-order{width:20%}#acf-field-group-fields .li-field-label{width:30%}#acf-field-group-fields .li-field-name{width:25%}#acf-field-group-fields .li-field-type{width:25%}#acf-field-group-fields .li-field-key{display:none}#acf-field-group-fields.show-field-keys .li-field-label,#acf-field-group-fields.show-field-keys .li-field-name,#acf-field-group-fields.show-field-keys .li-field-type,#acf-field-group-fields.show-field-keys .li-field-key{width:20%}#acf-field-group-fields.show-field-keys .li-field-key{display:block}#acf-field-group-fields .acf-field-list-wrap{border:#DFDFDF solid 1px}#acf-field-group-fields .acf-field-list{background:#F9F9F9;margin-top:-1px}#acf-field-group-fields .acf-field-list .no-fields-message{padding:15px 15px;background:#fff;display:none}#acf-field-group-fields .acf-field-list.-empty .no-fields-message{display:block}.acf-field-object{border-top:#F0F0F0 solid 1px;background:#fff}.acf-field-object.ui-sortable-helper{border-top-color:#fff;box-shadow:0 0 0 1px #DFDFDF,0 1px 4px rgba(0,0,0,0.1)}.acf-field-object.ui-sortable-placeholder{box-shadow:0 -1px 0 0 #DFDFDF;visibility:visible !important;background:#F9F9F9;border-top-color:transparent;min-height:54px}.acf-field-object.ui-sortable-placeholder:after,.acf-field-object.ui-sortable-placeholder:before{visibility:hidden}.acf-field-object>.meta{display:none}.acf-field-object>.handle a{-webkit-transition:none;-moz-transition:none;-o-transition:none;transition:none}.acf-field-object>.handle li{padding-top:10px;padding-bottom:10px;word-wrap:break-word}.acf-field-object>.handle .acf-icon{margin:1px 0 0;cursor:move;background:transparent;float:left;height:28px;line-height:28px;width:28px;font-size:13px;color:#444;position:relative;z-index:1}.acf-field-object>.handle strong{display:block;padding-bottom:6px;font-size:14px;line-height:14px;min-height:14px}.acf-field-object>.handle .row-options{visibility:hidden}.acf-field-object>.handle .row-options a{margin-right:4px}.acf-field-object>.handle .row-options a.delete-field{color:#a00}.acf-field-object>.handle .row-options a.delete-field:hover{color:#f00}.acf-field-object.open+.acf-field-object{border-top-color:#E1E1E1}.acf-field-object.open>.handle{background:#2a9bd9;border:#2696d3 solid 1px;text-shadow:#268FBB 0 1px 0;color:#fff;position:relative;margin:-1px -1px 0 -1px}.acf-field-object.open>.handle a{color:#fff !important}.acf-field-object.open>.handle a:hover{text-decoration:underline !important}.acf-field-object.open>.handle .acf-icon{border-color:#fff;color:#fff}.acf-field-object.open>.handle .acf-required{color:#fff}.acf-field-object:hover>.handle .row-options,.acf-field-object.-hover>.handle .row-options{visibility:visible}.acf-field-object>.settings{display:none;width:100%}.acf-field-object>.settings>.acf-table{border:none}.acf-field-object .rule-groups{margin-top:20px}.rule-groups h4{margin:15px 0 5px}.rule-groups .rule-group{margin:0 0 5px}.rule-groups .rule-group h4{margin:0 0 3px}.rule-groups .rule-group td.param{width:35%}.rule-groups .rule-group td.operator{width:20%}.rule-groups .rule-group td.add{width:40px}.rule-groups .rule-group td.remove{width:28px;vertical-align:middle}.rule-groups .rule-group td.remove a{visibility:hidden}.rule-groups .rule-group tr:hover td.remove a{visibility:visible}.rule-groups .rule-group:first-child tr:first-child td.remove a{visibility:hidden !important}.rule-groups .rule-group select:empty{background:#f8f8f8}#acf-field-group-options tr[data-name="hide_on_screen"] li{float:left;width:33%}@media (max-width: 1100px){#acf-field-group-options tr[data-name="hide_on_screen"] li{width:50%}}table.conditional-logic-rules{background:transparent;border:0 none;border-radius:0}table.conditional-logic-rules tbody td{background:transparent;border:0 none !important;padding:5px 2px !important}.acf-field-object-tab .acf-field-setting-name,.acf-field-object-accordion .acf-field-setting-name,.acf-field-object-tab .acf-field-setting-instructions,.acf-field-object-accordion .acf-field-setting-instructions,.acf-field-object-tab .acf-field-setting-required,.acf-field-object-accordion .acf-field-setting-required,.acf-field-object-tab .acf-field-setting-warning,.acf-field-object-accordion .acf-field-setting-warning,.acf-field-object-tab .acf-field-setting-wrapper,.acf-field-object-accordion .acf-field-setting-wrapper{display:none}.acf-field-object-tab .li-field-name,.acf-field-object-accordion .li-field-name{visibility:hidden}.acf-field-object+.acf-field-object-tab:before,.acf-field-object+.acf-field-object-accordion:before{display:block;content:"";height:5px;width:100%;background:#f9f9f9;border-bottom:#f0f0f0 solid 1px}.acf-field-object-tab p:first-child,.acf-field-object-accordion p:first-child{margin:0.5em 0}.acf-field-object-accordion .acf-field-setting-instructions{display:table-row}.acf-field-object-message tr[data-name="name"],.acf-field-object-message tr[data-name="instructions"],.acf-field-object-message tr[data-name="required"]{display:none !important}.acf-field-object-message .li-field-name{visibility:hidden}.acf-field-object-message textarea{height:175px !important}.acf-field-object-separator tr[data-name="name"],.acf-field-object-separator tr[data-name="instructions"],.acf-field-object-separator tr[data-name="required"]{display:none !important}.acf-field-object-date-picker .acf-radio-list li,.acf-field-object-time-picker .acf-radio-list li,.acf-field-object-date-time-picker .acf-radio-list li{line-height:25px}.acf-field-object-date-picker .acf-radio-list span,.acf-field-object-time-picker .acf-radio-list span,.acf-field-object-date-time-picker .acf-radio-list span{display:inline-block;min-width:10em}.acf-field-object-date-picker .acf-radio-list input[type="text"],.acf-field-object-time-picker .acf-radio-list input[type="text"],.acf-field-object-date-time-picker .acf-radio-list input[type="text"]{width:100px}.acf-field-object-date-time-picker .acf-radio-list span{min-width:15em}.acf-field-object-date-time-picker .acf-radio-list input[type="text"]{width:200px}#slugdiv .inside{padding:12px;margin:0}#slugdiv input[type="text"]{width:100%;height:28px;font-size:14px}html[dir="rtl"] .acf-field-object.open>.handle{margin:-1px -1px 0}html[dir="rtl"] .acf-field-object.open>.handle .acf-icon{float:right}html[dir="rtl"] .acf-field-object.open>.handle .li-field-order{padding-left:0 !important;padding-right:15px !important}@media only screen and (max-width: 850px){tr.acf-field,td.acf-label,td.acf-input{display:block !important;width:auto !important;border:0 none !important}tr.acf-field{border-top:#ededed solid 1px !important;margin-bottom:0 !important}td.acf-label{background:transparent !important;padding-bottom:0 !important}} diff --git a/assets/css/acf-global.css b/assets/css/acf-global.css index 9cce786..6c1a4ec 100644 --- a/assets/css/acf-global.css +++ b/assets/css/acf-global.css @@ -1,1525 +1 @@ -/*-------------------------------------------------------------------------------------------- -* -* Vars -* -*--------------------------------------------------------------------------------------------*/ -/* colors */ -/* acf-field */ -/* responsive */ -/*-------------------------------------------------------------------------------------------- -* -* Mixins -* -*--------------------------------------------------------------------------------------------*/ -/*-------------------------------------------------------------------------------------------- -* -* General -* -*--------------------------------------------------------------------------------------------*/ -/* Horizontal List */ -.acf-hl { - padding: 0; - margin: 0; - list-style: none; - display: block; - position: relative; -} -.acf-hl > li { - float: left; - display: block; - margin: 0; - padding: 0; -} -.acf-hl > li.acf-fr { - float: right; -} -/* Horizontal List: Clearfix */ -.acf-hl:before, -.acf-hl:after, -.acf-bl:before, -.acf-bl:after, -.acf-cf:before, -.acf-cf:after { - content: ""; - display: block; - line-height: 0; -} -.acf-hl:after, -.acf-bl:after, -.acf-cf:after { - clear: both; -} -/* Block List */ -.acf-bl { - padding: 0; - margin: 0; - list-style: none; - display: block; - position: relative; -} -.acf-bl > li { - display: block; - margin: 0; - padding: 0; - float: none; -} -/* Visibility */ -.acf-hidden { - display: none !important; -} -.acf-empty { - display: table-cell !important; -} -.acf-empty * { - display: none !important; -} -/* Float */ -.acf-fl { - float: left; -} -.acf-fr { - float: right; -} -.acf-fn { - float: none; -} -/* Align */ -.acf-al { - text-align: left; -} -.acf-ar { - text-align: right; -} -.acf-ac { - text-align: center; -} -/* loading */ -.acf-loading, -.acf-spinner { - display: inline-block; - height: 20px; - width: 20px; - vertical-align: text-top; - background: transparent url(../images/spinner.gif) no-repeat 50% 50%; -} -/* spinner */ -.acf-spinner { - display: none; -} -.acf-spinner.is-active { - display: inline-block; -} -/* WP < 4.2 */ -.spinner.is-active { - display: inline-block; -} -/* required */ -.acf-required { - color: #f00; -} -/* show on hover */ -.acf-soh .acf-soh-target { - -webkit-transition: opacity 0.25s 0s ease-in-out, visibility 0s linear 0.25s; - -moz-transition: opacity 0.25s 0s ease-in-out, visibility 0s linear 0.25s; - -o-transition: opacity 0.25s 0s ease-in-out, visibility 0s linear 0.25s; - transition: opacity 0.25s 0s ease-in-out, visibility 0s linear 0.25s; - visibility: hidden; - opacity: 0; -} -.acf-soh:hover .acf-soh-target { - -webkit-transition-delay: 0s; - -moz-transition-delay: 0s; - -o-transition-delay: 0s; - transition-delay: 0s; - visibility: visible; - opacity: 1; -} -/* show if value */ -.show-if-value { - display: none; -} -.hide-if-value { - display: block; -} -.has-value .show-if-value { - display: block; -} -.has-value .hide-if-value { - display: none; -} -/* select2 WP animation fix */ -.select2-search-choice-close { - -webkit-transition: none; - -moz-transition: none; - -o-transition: none; - transition: none; -} -/*--------------------------------------------------------------------------------------------- -* -* tooltip -* -*---------------------------------------------------------------------------------------------*/ -/* tooltip */ -.acf-tooltip { - background: #2F353E; - border-radius: 5px; - color: #fff; - padding: 5px 10px; - position: absolute; - font-size: 12px; - line-height: 1.4em; - z-index: 900000; - /* tip */ - /* positions */ -} -.acf-tooltip:before { - border: solid; - border-color: transparent; - border-width: 6px; - content: ""; - position: absolute; -} -.acf-tooltip.top { - margin-top: -8px; -} -.acf-tooltip.top:before { - top: 100%; - left: 50%; - margin-left: -6px; - border-top-color: #2F353E; - border-bottom-width: 0; -} -.acf-tooltip.right { - margin-left: 8px; -} -.acf-tooltip.right:before { - top: 50%; - margin-top: -6px; - right: 100%; - border-right-color: #2F353E; - border-left-width: 0; -} -.acf-tooltip.bottom { - margin-top: 8px; -} -.acf-tooltip.bottom:before { - bottom: 100%; - left: 50%; - margin-left: -6px; - border-bottom-color: #2F353E; - border-top-width: 0; -} -.acf-tooltip.left { - margin-left: -8px; -} -.acf-tooltip.left:before { - top: 50%; - margin-top: -6px; - left: 100%; - border-left-color: #2F353E; - border-right-width: 0; -} -.acf-tooltip .acf-overlay { - z-index: -1; -} -/* confirm */ -.acf-tooltip.-confirm { - z-index: 900001; -} -.acf-tooltip.-confirm a { - text-decoration: none; - color: #9ea3a8; -} -.acf-tooltip.-confirm a:hover { - text-decoration: underline; -} -.acf-tooltip.-confirm a[data-event="confirm"] { - color: #F55E4F; -} -.acf-overlay { - position: fixed; - top: 0; - bottom: 0; - left: 0; - right: 0; - cursor: default; -} -.acf-tooltip-target { - position: relative; - z-index: 900002; -} -/*--------------------------------------------------------------------------------------------- -* -* loading -* -*---------------------------------------------------------------------------------------------*/ -.acf-loading-overlay { - position: absolute; - top: 0; - bottom: 0; - left: 0; - right: 0; - cursor: default; - z-index: 99; - background: rgba(249, 249, 249, 0.5); -} -.acf-loading-overlay i { - position: absolute; - top: 50%; - left: 50%; - transform: translate(-50%, -50%); -} -/*--------------------------------------------------------------------------------------------- -* -* callout -* -*---------------------------------------------------------------------------------------------*/ -.acf-callout { - margin: 20px 0; - padding: 20px; - background-color: #FCF8F2; - border-left: 3px solid #F0AD4E; -} -.acf-callout h4 { - color: #F0AD4E; - margin: 0 !important; -} -.acf-callout p { - margin-bottom: 0; -} -.acf-callout.danger { - border-color: #D9534F; - background-color: #FDF7F7; -} -.acf-callout.danger h4 { - color: #D9534F; -} -.acf-callout.success { - background-color: #f4faf6; - border-color: #bcf1c5; -} -.acf-callout.success h4 { - color: #3aad60; -} -/*-------------------------------------------------------------------------------------------- -* -* acf-icon -* -*--------------------------------------------------------------------------------------------*/ -@font-face { - font-family: 'acf'; - src: url('../font/acf.eot?57601716'); - src: url('../font/acf.eot?57601716#iefix') format('embedded-opentype'), url('../font/acf.woff2?57601716') format('woff2'), url('../font/acf.woff?57601716') format('woff'), url('../font/acf.ttf?57601716') format('truetype'), url('../font/acf.svg?57601716#acf') format('svg'); - font-weight: normal; - font-style: normal; -} -.acf-icon:before { - font-family: "acf"; - font-style: normal; - font-weight: normal; - speak: none; - display: inline-block; - text-decoration: inherit; - width: 1em; - text-align: center; - /* opacity: .8; */ - /* For safety - reset parent styles, that can break glyph codes*/ - font-variant: normal; - text-transform: none; - /* fix buttons height, for twitter bootstrap */ - line-height: 1em; - /* Font smoothing. That was taken from TWBS */ - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; - /* more consistent vertical align */ - position: relative; -} -.acf-icon.-plus:before { - content: '\e800'; -} -/* '' */ -.acf-icon.-minus:before { - content: '\e801'; -} -/* '' */ -.acf-icon.-cancel:before { - content: '\e802'; -} -/* '' */ -.acf-icon.-pencil:before { - content: '\e803'; - top: -1px; -} -/* '' */ -.acf-icon.-location:before { - content: '\e804'; -} -/* '' */ -.acf-icon.-down:before { - content: '\e805'; - top: 1px; -} -/* '' */ -.acf-icon.-left:before { - content: '\e806'; - left: -1px; -} -/* '' */ -.acf-icon.-right:before { - content: '\e807'; - left: 1px; -} -/* '' */ -.acf-icon.-up:before { - content: '\e808'; - top: -1px; -} -/* '' */ -.acf-icon.-sync:before { - content: '\e809'; -} -/* '' */ -.acf-icon.-globe:before { - content: '\e80a'; -} -/* '' */ -.acf-icon.-picture:before { - content: '\e80b'; -} -/* '' */ -.acf-icon.-check:before { - content: '\e80c'; -} -/* '' */ -.acf-icon.-dot-3:before { - content: '\e80d'; -} -/* '' */ -.acf-icon.-arrow-combo:before { - content: '\e80e'; -} -/* '' */ -.acf-icon.-arrow-up:before { - content: '\e810'; - top: -1px; -} -/* '' */ -.acf-icon.-arrow-down:before { - content: '\e80f'; - top: 1px; -} -/* '' */ -.acf-icon.-search:before { - content: '\e811'; -} -/* '' */ -.acf-icon.-link-ext:before { - content: '\f08e'; -} -/* '' */ -/* collapse */ -.acf-icon.-collapse:before { - content: '\e810'; - top: -1px; -} -/* arrow-up */ -.-collapsed .acf-icon.-collapse:before { - content: '\e80f'; - top: 1px; -} -/* arrow-down */ -/* default */ -.acf-icon { - display: inline-block; - height: 26px; - width: 26px; - border: transparent solid 1px; - border-radius: 100%; - font-size: 16px; - line-height: 26px; - text-align: center; - text-decoration: none; - vertical-align: top; -} -/* elements */ -span.acf-icon { - color: #999; - border-color: #BBB; - background-color: #fff; -} -/* icon */ -a.acf-icon { - color: #999; - border-color: #BBB; - background-color: #fff; - position: relative; - overflow: hidden; - transition: none; - /* clear */ - /* light*/ - /* states */ - /* remove WP outline box-shadow */ - /* red */ -} -a.acf-icon.-clear { - color: #444; - background: transparent; - border: none; -} -a.acf-icon.light { - border: none; - padding: 1px; - background: #F5F5F5; - color: #72777c; -} -a.acf-icon:hover { - border-color: transparent; - background: #2a9bd9; - color: #fff; -} -a.acf-icon:active { - color: #fff; - background-color: #238cc6; -} -a.acf-icon:active, -a.acf-icon:focus { - outline: none; - box-shadow: none; -} -a.acf-icon.-minus:hover, -a.acf-icon.-cancel:hover { - background-color: #F55E4F; -} -a.acf-icon.-minus:active, -a.acf-icon.-cancel:active { - background-color: #f44837; -} -/* minor tweaks */ -.acf-icon.-pencil { - font-size: 15px; -} -.acf-icon.-location { - font-size: 18px; -} -/* sizes */ -.acf-icon.small, -.acf-icon.-small { - width: 18px; - height: 18px; - line-height: 18px; - font-size: 14px; -} -/* dark */ -.acf-icon.dark { - border-color: transparent; - background: #23282D; - color: #eee; -} -a.acf-icon.dark:hover { - border-color: transparent; - background: #191E23; - color: #00b9eb; -} -a.acf-icon.-minus.dark:hover, -a.acf-icon.-cancel.dark:hover { - color: #D54E21; -} -/* grey */ -.acf-icon.grey { - border-color: transparent; - background: #b4b9be; - color: #fff; -} -a.acf-icon.grey:hover { - border-color: transparent; - background: #00A0D2; - color: #fff; -} -a.acf-icon.-minus.grey:hover, -a.acf-icon.-cancel.grey:hover { - background: #32373C; -} -/* red */ -.acf-icon.red { - border-color: transparent; - background-color: #F55E4F; - color: #fff; -} -/* yellow */ -.acf-icon.yellow { - border-color: transparent; - background-color: #FDBC40; - color: #fff; -} -/* logo */ -.acf-icon.logo { - width: 150px; - height: 150px; - background: #5EE8BF; - border: 0 none; - position: absolute; - right: 0; - top: 0; -} -/*-------------------------------------------------------------------------------------------- -* -* acf-box -* -*--------------------------------------------------------------------------------------------*/ -.acf-box { - background: #FFFFFF; - border: 1px solid #E5E5E5; - position: relative; - box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04); - /* title */ - /* footer */ -} -.acf-box .title { - border-bottom: 1px solid #EEEEEE; - margin: 0; - padding: 15px; -} -.acf-box .title h3 { - font-size: 14px; - line-height: 1em; - margin: 0; - padding: 0; -} -.acf-box .inner { - padding: 15px; -} -.acf-box h2 { - color: #333333; - font-size: 26px; - line-height: 1.25em; - margin: 0.25em 0 0.75em; - padding: 0; -} -.acf-box h3 { - margin: 1.5em 0 0; -} -.acf-box p { - margin-top: 0.5em; -} -.acf-box a { - text-decoration: none; -} -.acf-box i.dashicons-external { - margin-top: -1px; -} -.acf-box .footer { - border-top: 1px solid #eee; - padding: 12px; - font-size: 13px; - line-height: 1.5; -} -.acf-box .footer p { - margin: 0; -} -/*-------------------------------------------------------------------------------------------- -* -* acf-notice -* -*--------------------------------------------------------------------------------------------*/ -.acf-notice { - position: relative; - display: block; - color: #fff; - margin: 5px 0 15px; - padding: 3px 12px; - background: #2a9bd9; - border-left: #2183b9 solid 4px; -} -.acf-notice p { - font-size: 13px; - line-height: 1.5; - margin: 0.5em 0; - text-shadow: none; - color: inherit; -} -.acf-notice a.acf-notice-dismiss { - position: absolute; - border-color: transparent; - top: 9px; - right: 12px; - color: #fff; - background: rgba(0, 0, 0, 0.1); -} -.acf-notice a.acf-notice-dismiss:hover { - background: rgba(0, 0, 0, 0.2); -} -.acf-notice.-dismiss { - padding-right: 40px; -} -.acf-notice.-error { - background: #F55E4F; - border-color: #f33b28; -} -.acf-notice.-success { - background: #46b450; - border-color: #3b9743; -} -.acf-notice.-warning { - background: #fd8d3b; - border-color: #fd7613; -} -/*-------------------------------------------------------------------------------------------- -* -* acf-table -* -*--------------------------------------------------------------------------------------------*/ -.acf-table { - border: #DFDFDF solid 1px; - background: #fff; - border-spacing: 0; - border-radius: 0; - table-layout: auto; - padding: 0; - margin: 0; - width: 100%; - clear: both; - /* defaults */ - /* thead */ - /* tbody */ - /* -clear */ -} -.acf-table > tbody > tr > th, -.acf-table > thead > tr > th, -.acf-table > tbody > tr > td, -.acf-table > thead > tr > td { - padding: 8px; - vertical-align: top; - background: #fff; - text-align: left; - border-style: solid; - font-weight: normal; -} -.acf-table > tbody > tr > th, -.acf-table > thead > tr > th { - position: relative; - color: #333333; -} -.acf-table > thead > tr > th { - border-color: #E1E1E1; - border-width: 0 0 1px 1px; -} -.acf-table > thead > tr > th:first-child { - border-left-width: 0; -} -.acf-table > tbody > tr { - z-index: 1; -} -.acf-table > tbody > tr > td { - border-color: #EDEDED; - border-width: 1px 0 0 1px; -} -.acf-table > tbody > tr > td:first-child { - border-left-width: 0; -} -.acf-table > tbody > tr:first-child > td { - border-top-width: 0; -} -.acf-table.-clear { - border: 0 none; -} -.acf-table.-clear > tbody > tr > td, -.acf-table.-clear > thead > tr > td, -.acf-table.-clear > tbody > tr > th, -.acf-table.-clear > thead > tr > th { - border: 0 none; - padding: 4px; -} -/* remove tr */ -.acf-remove-element { - -webkit-transition: all 0.25s ease-out; - -moz-transition: all 0.25s ease-out; - -o-transition: all 0.25s ease-out; - transition: all 0.25s ease-out; - transform: translate(50px, 0); - opacity: 0; -} -/* fade-up */ -.acf-fade-up { - -webkit-transition: all 0.25s ease-out; - -moz-transition: all 0.25s ease-out; - -o-transition: all 0.25s ease-out; - transition: all 0.25s ease-out; - transform: translate(0, -10px); - opacity: 0; -} -/*--------------------------------------------------------------------------------------------- -* -* wp-admin -* -*---------------------------------------------------------------------------------------------*/ -/* Menu */ -#adminmenu a[href="edit.php?post_type=acf-field-group&page=acf-settings-info"] { - display: none; -} -/*--------------------------------------------------------------------------------------------- -* -* Field Group List -* -*---------------------------------------------------------------------------------------------*/ -#icon-edit.icon32-posts-acf-field-group { - background-position: -11px -5px; -} -#acf-field-group-wrap .tablenav, -#acf-field-group-wrap p.search-box { - display: none; -} -#acf-field-group-wrap .wp-list-table .column-acf-fg-description, -#acf-field-group-wrap .wp-list-table .column-acf-fg-description:before { - display: none !important; - /* important needed to override mobile */ -} -#acf-field-group-wrap .wp-list-table .column-acf-fg-count { - width: 10%; -} -#acf-field-group-wrap .wp-list-table .column-acf-fg-status { - width: 10%; -} -#acf-field-group-wrap .tablenav.bottom { - display: block; -} -#acf-field-group-wrap .acf-description { - font-weight: normal; - font-size: 13px; - color: #999; - margin-left: 7px; - font-style: italic; -} -/* subsubsub */ -#acf-field-group-wrap .subsubsub { - /* WPML */ - margin-bottom: 3px; - /* search */ -} -#acf-field-group-wrap .subsubsub ul { - margin: 0; -} -#acf-field-group-wrap .subsubsub + .subsubsub { - margin-top: 0; -} -#acf-field-group-wrap .subsubsub a:focus { - box-shadow: none; -} -/* columns (replicate post edit layout) */ -.acf-columns-2 { - margin-right: 300px; - clear: both; - /* rtl */ -} -.acf-columns-2:after { - clear: both; - content: ""; - display: table; -} -html[dir="rtl"] .acf-columns-2 { - margin-right: 0; - margin-left: 300px; -} -.acf-columns-2 .acf-column-1 { - float: left; - width: 100%; - /* rtl */ -} -html[dir="rtl"] .acf-columns-2 .acf-column-1 { - float: right; -} -.acf-columns-2 .acf-column-2 { - float: right; - margin-right: -300px; - width: 280px; - /* rtl */ -} -html[dir="rtl"] .acf-columns-2 .acf-column-2 { - float: left; - margin-right: 0; - margin-left: -300px; -} -/* search */ -#acf-field-group-wrap .search-box:after { - display: block; - content: ""; - height: 5px; -} -.acf-clear { - clear: both; -} -/* mobile compatibilty */ -@media screen and (max-width: 782px) { - #acf-field-group-wrap #the-list .acf-icon:after { - content: attr(title); - position: absolute; - margin-left: 5px; - font-size: 13px; - line-height: 18px; - font-style: normal; - color: #444; - } -} -/*--------------------------------------------------------------------------------------------- -* -* Fake table -* -*---------------------------------------------------------------------------------------------*/ -.acf-thead, -.acf-tbody, -.acf-tfoot { - width: 100%; - padding: 0; - margin: 0; -} -.acf-thead > li, -.acf-tbody > li, -.acf-tfoot > li { - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; - padding: 8px 15px; - font-size: 12px; - line-height: 14px; -} -.acf-thead { - border-bottom: #E1E1E1 solid 1px; - color: #23282d; -} -.acf-thead > li { - font-size: 14px; - line-height: 1.4em; - font-family: "Open Sans", sans-serif; - font-weight: bold; -} -.acf-tfoot { - background: #f5f5f5; - border-top: #dddddd solid 1px; -} -.acf-tfoot > li { - color: #7A9BBE; - font-size: 12px; - line-height: 27px; -} -/*-------------------------------------------------------------------------------------------- -* -* Settings -* -*--------------------------------------------------------------------------------------------*/ -.acf-settings-wrap .acf-box { - margin: 20px 0; -} -.acf-settings-wrap table { - margin: 0; -} -.acf-settings-wrap table .button { - vertical-align: middle; -} -/*-------------------------------------------------------------------------------------------- -* -* Settings: Add-ons -* -*--------------------------------------------------------------------------------------------*/ -.add-ons-list { - margin: 20px 0 0 -18px; - max-width: 960px; -} -.add-ons-list .add-on { - width: 220px; - margin: 0 0 20px 18px; - float: left; -} -.add-ons-list .add-on .inner { - min-height: 90px; -} -.add-ons-list .add-on-acf-pro { - width: 940px; -} -.add-ons-list .add-on .thumbnail img { - display: block; -} -.add-ons-list .add-on h3 a { - color: inherit; - text-decoration: none; -} -.add-ons-list .add-on h3 { - margin: 0.5em 0; -} -/*-------------------------------------------------------------------------------------------- -* -* acf-popup -* -*--------------------------------------------------------------------------------------------*/ -#acf-popup { - position: fixed; - z-index: 900000; - top: 0; - left: 0; - right: 0; - bottom: 0; - text-align: center; -} -#acf-popup .bg { - position: absolute; - top: 0; - left: 0; - right: 0; - bottom: 0; - z-index: 0; - background: rgba(0, 0, 0, 0.25); -} -#acf-popup:before { - content: ''; - display: inline-block; - height: 100%; - vertical-align: middle; -} -#acf-popup .acf-popup-box { - display: inline-block; - vertical-align: middle; - z-index: 1; - min-width: 300px; - min-height: 160px; - border-color: #aaaaaa; - box-shadow: 0 5px 30px -5px rgba(0, 0, 0, 0.25); - text-align: left; -} -html[dir="rtl"] #acf-popup .acf-popup-box { - text-align: right; -} -#acf-popup .acf-popup-box .title { - min-height: 15px; - line-height: 15px; -} -#acf-popup .acf-popup-box .title .acf-icon { - position: absolute; - top: 10px; - right: 10px; -} -html[dir="rtl"] #acf-popup .acf-popup-box .title .acf-icon { - right: auto; - left: 10px; -} -#acf-popup .acf-popup-box .inner { - min-height: 50px; - padding: 0; - margin: 15px; -} -#acf-popup .acf-popup-box .loading { - position: absolute; - top: 45px; - left: 0; - right: 0; - bottom: 0; - z-index: 2; - background: rgba(0, 0, 0, 0.1); - display: none; -} -#acf-popup .acf-popup-box .loading i { - position: absolute; - top: 50%; - left: 50%; - transform: translate(-50%, -50%); -} -.acf-submit { - margin-bottom: 0; - line-height: 28px; -} -.acf-submit span { - float: right; - color: #999; -} -.acf-submit span.-error { - color: #dd4232; -} -.acf-submit .button { - margin-right: 5px; -} -/*-------------------------------------------------------------------------------------------- -* -* upgrade notice -* -*--------------------------------------------------------------------------------------------*/ -#acf-upgrade-notice { - position: relative; - background: #fff; - border-left: 4px solid #00a0d2; - padding: 20px; -} -#acf-upgrade-notice:after { - clear: both; - content: ""; - display: table; -} -#acf-upgrade-notice .col-content { - float: left; - width: 55%; - padding-left: 90px; -} -#acf-upgrade-notice .col-actions { - float: right; - text-align: center; - padding: 10px; -} -#acf-upgrade-notice img { - float: left; - width: 70px; - height: 70px; - margin: 0 0 0 -90px; -} -#acf-upgrade-notice h2 { - font-size: 16px; - margin: 2px 0 6.5px; -} -#acf-upgrade-notice p { - padding: 0; - margin: 0; -} -#acf-upgrade-notice .button:before { - margin-top: 11px; -} -@media screen and (max-width: 640px) { - #acf-upgrade-notice .col-content, - #acf-upgrade-notice .col-actions { - float: none; - padding-left: 90px; - width: auto; - text-align: left; - } -} -/*-------------------------------------------------------------------------------------------- -* -* Welcome -* -*--------------------------------------------------------------------------------------------*/ -.acf-wrap h1 { - margin-top: 0; - padding-top: 20px; -} -.acf-wrap .about-text { - margin-top: 0.5em; - min-height: 50px; -} -.acf-wrap .about-headline-callout { - font-size: 2.4em; - font-weight: 300; - line-height: 1.3; - margin: 1.1em 0 0.2em; - text-align: center; -} -.acf-wrap .feature-section { - padding: 40px 0; -} -.acf-wrap .feature-section h2 { - margin-top: 20px; -} -.acf-wrap .changelog { - list-style: disc; - padding-left: 15px; -} -.acf-wrap .changelog li { - margin: 0 0 0.75em; -} -.acf-wrap .acf-three-col { - display: flex; - flex-wrap: wrap; - justify-content: space-between; -} -.acf-wrap .acf-three-col > div { - flex: 1; - align-self: flex-start; - min-width: 31%; - max-width: 31%; -} -@media screen and (max-width: 880px) { - .acf-wrap .acf-three-col > div { - min-width: 48%; - } -} -@media screen and (max-width: 640px) { - .acf-wrap .acf-three-col > div { - min-width: 100%; - } -} -.acf-wrap .acf-three-col h3 .badge { - display: inline-block; - vertical-align: top; - border-radius: 5px; - background: #fc9700; - color: #fff; - font-weight: normal; - font-size: 12px; - padding: 2px 5px; -} -.acf-wrap .acf-three-col img + h3 { - margin-top: 0.5em; -} -/*-------------------------------------------------------------------------------------------- -* -* acf-hl cols -* -*--------------------------------------------------------------------------------------------*/ -.acf-hl[data-cols] { - margin-left: -10px; - margin-right: -10px; -} -.acf-hl[data-cols] > li { - padding: 0 10px; - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; -} -/* sizes */ -.acf-hl[data-cols="2"] > li { - width: 50%; -} -.acf-hl[data-cols="3"] > li { - width: 33.333%; -} -.acf-hl[data-cols="4"] > li { - width: 25%; -} -/* mobile */ -@media screen and (max-width: 640px) { - .acf-hl[data-cols] { - margin-left: 0; - margin-right: 0; - margin-top: -10px; - } - .acf-hl[data-cols] > li { - width: 100% !important; - padding: 10px 0 0; - } -} -/*-------------------------------------------------------------------------------------------- -* -* misc -* -*--------------------------------------------------------------------------------------------*/ -.acf-actions { - text-align: right; - z-index: 1; - /* hover */ - /* rtl */ -} -.acf-actions a { - margin-left: 4px; -} -.acf-actions.-hover { - position: absolute; - display: none; - top: 0; - right: 0; - padding: 5px; -} -html[dir="rtl"] .acf-actions a { - margin-left: 0; - margin-right: 4px; -} -html[dir="rtl"] .acf-actions.-hover { - right: auto; - left: 0; -} -/* ul compatibility */ -ul.acf-actions li { - float: right; - margin-left: 4px; -} -/*-------------------------------------------------------------------------------------------- -* -* Plugins -* -*--------------------------------------------------------------------------------------------*/ -.acf-plugin-upgrade-notice { - font-weight: normal; - color: #fff; - background: #d54d21; - padding: 1em; - margin: 9px 0; -} -.acf-plugin-upgrade-notice:before { - content: "\f348"; - display: inline-block; - font: 400 18px/1 dashicons; - speak: none; - margin: 0 8px 0 -2px; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; - vertical-align: top; -} -.acf-plugin-upgrade-notice h4 { - display: none; -} -.acf-plugin-upgrade-notice ul, -.acf-plugin-upgrade-notice li { - display: inline; - color: inherit; - list-style: none; -} -.acf-plugin-upgrade-notice li:after { - content: '. '; - display: inline; -} -/*-------------------------------------------------------------------------------------------- -* -* RTL -* -*--------------------------------------------------------------------------------------------*/ -html[dir="rtl"] .acf-fl { - float: right; -} -html[dir="rtl"] .acf-fr { - float: left; -} -html[dir="rtl"] .acf-hl > li { - float: right; -} -html[dir="rtl"] .acf-hl > li.acf-fr { - float: left; -} -html[dir="rtl"] .acf-icon.logo { - left: 0; - right: auto; -} -html[dir="rtl"] .acf-table thead th { - text-align: right; - border-right-width: 1px; - border-left-width: 0px; -} -html[dir="rtl"] .acf-table > tbody > tr > td { - text-align: right; - border-right-width: 1px; - border-left-width: 0px; -} -html[dir="rtl"] .acf-table > thead > tr > th:first-child, -html[dir="rtl"] .acf-table > tbody > tr > td:first-child { - border-right-width: 0; -} -html[dir="rtl"] .acf-table > tbody > tr > td.order + td { - border-right-color: #e1e1e1; -} -/*--------------------------------------------------------------------------------------------- -* -* acf-postbox-columns -* -*---------------------------------------------------------------------------------------------*/ -.acf-postbox-columns { - position: relative; - margin-top: -11px; - margin-bottom: -11px; - margin-left: -12px; - margin-right: 268px; -} -.acf-postbox-columns:after { - clear: both; - content: ""; - display: table; -} -.acf-postbox-columns .acf-postbox-main, -.acf-postbox-columns .acf-postbox-side { - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; - padding: 0 12px 12px; -} -.acf-postbox-columns .acf-postbox-main { - float: left; - width: 100%; -} -.acf-postbox-columns .acf-postbox-side { - float: right; - width: 280px; - margin-right: -280px; -} -.acf-postbox-columns .acf-postbox-side:before { - content: ""; - display: block; - position: absolute; - width: 1px; - height: 100%; - top: 0; - right: 0; - background: #ebebeb; -} -/* mobile */ -@media only screen and (max-width: 850px) { - .acf-postbox-columns { - margin: 0; - } - .acf-postbox-columns .acf-postbox-main, - .acf-postbox-columns .acf-postbox-side { - float: none; - width: auto; - margin: 0; - padding: 0; - } - .acf-postbox-columns .acf-postbox-side { - margin-top: 1em; - } - .acf-postbox-columns .acf-postbox-side:before { - display: none; - } -} -/*--------------------------------------------------------------------------------------------- -* -* acf-panel -* -*---------------------------------------------------------------------------------------------*/ -.acf-panel { - margin-top: -1px; - border-top: 1px solid #e2e4e7; - border-bottom: 1px solid #e2e4e7; - /* open */ - /* inside postbox */ - /* fields */ -} -.acf-panel .acf-panel-title { - margin: 0; - padding: 12px; - font-weight: bold; - cursor: pointer; - font-size: inherit; -} -.acf-panel .acf-panel-title i { - float: right; -} -.acf-panel .acf-panel-inside { - margin: 0; - padding: 0 12px 12px; - display: none; -} -.acf-panel.-open .acf-panel-inside { - display: block; -} -.postbox .acf-panel { - margin-left: -12px; - margin-right: -12px; -} -.acf-panel .acf-field { - margin: 20px 0 0; -} -.acf-panel .acf-field .acf-label label { - color: #555d66; - font-weight: normal; -} -.acf-panel .acf-field:first-child { - margin-top: 0; -} -/*--------------------------------------------------------------------------------------------- -* -* Admin Tools -* -*---------------------------------------------------------------------------------------------*/ -#acf-admin-tools .notice { - margin-top: 10px; -} -.acf-meta-box-wrap { - margin-top: 10px; - /* acf-fields */ -} -.acf-meta-box-wrap .postbox { - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; -} -.acf-meta-box-wrap .postbox .inside { - margin-bottom: 0; -} -.acf-meta-box-wrap .postbox .hndle { - font-size: 14px; - padding: 8px 12px; - margin: 0; - line-height: 1.4; -} -.acf-meta-box-wrap .postbox .handlediv { - display: none; -} -.acf-meta-box-wrap .acf-fields { - border: #ebebeb solid 1px; - background: #fafafa; - border-radius: 3px; -} -/* grid */ -.acf-meta-box-wrap.-grid { - margin-left: 8px; - margin-right: 8px; -} -.acf-meta-box-wrap.-grid .postbox { - float: left; - clear: left; - width: 50%; - margin: 0 0 16px; -} -.acf-meta-box-wrap.-grid .postbox:nth-child(odd) { - margin-left: -8px; -} -.acf-meta-box-wrap.-grid .postbox:nth-child(even) { - float: right; - clear: right; - margin-right: -8px; -} -/* mobile */ -@media only screen and (max-width: 850px) { - .acf-meta-box-wrap.-grid { - margin-left: 0; - margin-right: 0; - } - .acf-meta-box-wrap.-grid .postbox { - margin-left: 0 !important; - margin-right: 0 !important; - width: 100%; - } -} -/* export tool */ -#acf-admin-tool-export { - /* panel: selection */ -} -#acf-admin-tool-export p { - max-width: 800px; -} -#acf-admin-tool-export ul { - column-width: 200px; -} -#acf-admin-tool-export .acf-postbox-side .button { - margin: 0; - width: 100%; -} -#acf-admin-tool-export textarea { - display: block; - width: 100%; - min-height: 500px; - background: #fafafa; - box-shadow: none; - padding: 7px; - border-radius: 3px; -} -#acf-admin-tool-export .acf-panel-selection .acf-label { - display: none; -} -/*--------------------------------------------------------------------------------------------- -* -* Retina -* -*---------------------------------------------------------------------------------------------*/ -@media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min--moz-device-pixel-ratio: 2), only screen and (-o-min-device-pixel-ratio: 2/1), only screen and (min-device-pixel-ratio: 2), only screen and (min-resolution: 192dpi), only screen and (min-resolution: 2dppx) { - .acf-loading, - .acf-spinner { - background-image: url(../images/spinner@2x.gif); - background-size: 20px 20px; - } -} -/*--------------------------------------------------------------------------------------------- -* -* Device -* -*---------------------------------------------------------------------------------------------*/ -@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; - } -} +.acf-hl{padding:0;margin:0;list-style:none;display:block;position:relative}.acf-hl>li{float:left;display:block;margin:0;padding:0}.acf-hl>li.acf-fr{float:right}.acf-hl:before,.acf-hl:after,.acf-bl:before,.acf-bl:after,.acf-cf:before,.acf-cf:after{content:"";display:block;line-height:0}.acf-hl:after,.acf-bl:after,.acf-cf:after{clear:both}.acf-bl{padding:0;margin:0;list-style:none;display:block;position:relative}.acf-bl>li{display:block;margin:0;padding:0;float:none}.acf-hidden{display:none !important}.acf-empty{display:table-cell !important}.acf-empty *{display:none !important}.acf-fl{float:left}.acf-fr{float:right}.acf-fn{float:none}.acf-al{text-align:left}.acf-ar{text-align:right}.acf-ac{text-align:center}.acf-loading,.acf-spinner{display:inline-block;height:20px;width:20px;vertical-align:text-top;background:transparent url(../images/spinner.gif) no-repeat 50% 50%}.acf-spinner{display:none}.acf-spinner.is-active{display:inline-block}.spinner.is-active{display:inline-block}.acf-required{color:#f00}.acf-soh .acf-soh-target{-webkit-transition:opacity 0.25s 0s ease-in-out, visibility 0s linear 0.25s;-moz-transition:opacity 0.25s 0s ease-in-out, visibility 0s linear 0.25s;-o-transition:opacity 0.25s 0s ease-in-out, visibility 0s linear 0.25s;transition:opacity 0.25s 0s ease-in-out, visibility 0s linear 0.25s;visibility:hidden;opacity:0}.acf-soh:hover .acf-soh-target{-webkit-transition-delay:0s;-moz-transition-delay:0s;-o-transition-delay:0s;transition-delay:0s;visibility:visible;opacity:1}.show-if-value{display:none}.hide-if-value{display:block}.has-value .show-if-value{display:block}.has-value .hide-if-value{display:none}.select2-search-choice-close{-webkit-transition:none;-moz-transition:none;-o-transition:none;transition:none}.acf-tooltip{background:#2F353E;border-radius:5px;color:#fff;padding:5px 10px;position:absolute;font-size:12px;line-height:1.4em;z-index:900000}.acf-tooltip:before{border:solid;border-color:transparent;border-width:6px;content:"";position:absolute}.acf-tooltip.top{margin-top:-8px}.acf-tooltip.top:before{top:100%;left:50%;margin-left:-6px;border-top-color:#2F353E;border-bottom-width:0}.acf-tooltip.right{margin-left:8px}.acf-tooltip.right:before{top:50%;margin-top:-6px;right:100%;border-right-color:#2F353E;border-left-width:0}.acf-tooltip.bottom{margin-top:8px}.acf-tooltip.bottom:before{bottom:100%;left:50%;margin-left:-6px;border-bottom-color:#2F353E;border-top-width:0}.acf-tooltip.left{margin-left:-8px}.acf-tooltip.left:before{top:50%;margin-top:-6px;left:100%;border-left-color:#2F353E;border-right-width:0}.acf-tooltip .acf-overlay{z-index:-1}.acf-tooltip.-confirm{z-index:900001}.acf-tooltip.-confirm a{text-decoration:none;color:#9ea3a8}.acf-tooltip.-confirm a:hover{text-decoration:underline}.acf-tooltip.-confirm a[data-event="confirm"]{color:#F55E4F}.acf-overlay{position:fixed;top:0;bottom:0;left:0;right:0;cursor:default}.acf-tooltip-target{position:relative;z-index:900002}.acf-loading-overlay{position:absolute;top:0;bottom:0;left:0;right:0;cursor:default;z-index:99;background:rgba(249,249,249,0.5)}.acf-loading-overlay i{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}.acf-callout{margin:20px 0;padding:20px;background-color:#FCF8F2;border-left:3px solid #F0AD4E}.acf-callout h4{color:#F0AD4E;margin:0 !important}.acf-callout p{margin-bottom:0}.acf-callout.danger{border-color:#D9534F;background-color:#FDF7F7}.acf-callout.danger h4{color:#D9534F}.acf-callout.success{background-color:#f4faf6;border-color:#bcf1c5}.acf-callout.success h4{color:#3aad60}@font-face{font-family:'acf';src:url("../font/acf.eot?57601716");src:url("../font/acf.eot?57601716#iefix") format("embedded-opentype"),url("../font/acf.woff2?57601716") format("woff2"),url("../font/acf.woff?57601716") format("woff"),url("../font/acf.ttf?57601716") format("truetype"),url("../font/acf.svg?57601716#acf") format("svg");font-weight:normal;font-style:normal}.acf-icon:before{font-family:"acf";font-style:normal;font-weight:normal;speak:none;display:inline-block;text-decoration:inherit;width:1em;text-align:center;font-variant:normal;text-transform:none;line-height:1em;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;position:relative}.acf-icon.-plus:before{content:'\e800'}.acf-icon.-minus:before{content:'\e801'}.acf-icon.-cancel:before{content:'\e802'}.acf-icon.-pencil:before{content:'\e803';top:-1px}.acf-icon.-location:before{content:'\e804'}.acf-icon.-down:before{content:'\e805';top:1px}.acf-icon.-left:before{content:'\e806';left:-1px}.acf-icon.-right:before{content:'\e807';left:1px}.acf-icon.-up:before{content:'\e808';top:-1px}.acf-icon.-sync:before{content:'\e809'}.acf-icon.-globe:before{content:'\e80a'}.acf-icon.-picture:before{content:'\e80b'}.acf-icon.-check:before{content:'\e80c'}.acf-icon.-dot-3:before{content:'\e80d'}.acf-icon.-arrow-combo:before{content:'\e80e'}.acf-icon.-arrow-up:before{content:'\e810';top:-1px}.acf-icon.-arrow-down:before{content:'\e80f';top:1px}.acf-icon.-search:before{content:'\e811'}.acf-icon.-link-ext:before{content:'\f08e'}.acf-icon.-collapse:before{content:'\e810';top:-1px}.-collapsed .acf-icon.-collapse:before{content:'\e80f';top:1px}.acf-icon{display:inline-block;height:26px;width:26px;border:transparent solid 1px;border-radius:100%;font-size:16px;line-height:26px;text-align:center;text-decoration:none;vertical-align:top}span.acf-icon{color:#999;border-color:#BBB;background-color:#fff}a.acf-icon{color:#999;border-color:#BBB;background-color:#fff;position:relative;overflow:hidden;transition:none}a.acf-icon.-clear{color:#444;background:transparent;border:none}a.acf-icon.light{border:none;padding:1px;background:#F5F5F5;color:#72777c}a.acf-icon:hover{border-color:transparent;background:#2a9bd9;color:#fff}a.acf-icon:active{color:#fff;background-color:#238cc6}a.acf-icon:active,a.acf-icon:focus{outline:none;box-shadow:none}a.acf-icon.-minus:hover,a.acf-icon.-cancel:hover{background-color:#F55E4F}a.acf-icon.-minus:active,a.acf-icon.-cancel:active{background-color:#f44837}.acf-icon.-pencil{font-size:15px}.acf-icon.-location{font-size:18px}.acf-icon.small,.acf-icon.-small{width:18px;height:18px;line-height:18px;font-size:14px}.acf-icon.dark{border-color:transparent;background:#23282D;color:#eee}a.acf-icon.dark:hover{border-color:transparent;background:#191E23;color:#00b9eb}a.acf-icon.-minus.dark:hover,a.acf-icon.-cancel.dark:hover{color:#D54E21}.acf-icon.grey{border-color:transparent;background:#b4b9be;color:#fff}a.acf-icon.grey:hover{border-color:transparent;background:#00A0D2;color:#fff}a.acf-icon.-minus.grey:hover,a.acf-icon.-cancel.grey:hover{background:#32373C}.acf-icon.red{border-color:transparent;background-color:#F55E4F;color:#fff}.acf-icon.yellow{border-color:transparent;background-color:#FDBC40;color:#fff}.acf-icon.logo{width:150px;height:150px;background:#5EE8BF;border:0 none;position:absolute;right:0;top:0}.acf-box{background:#FFFFFF;border:1px solid #E5E5E5;position:relative;box-shadow:0 1px 1px rgba(0,0,0,0.04)}.acf-box .title{border-bottom:1px solid #EEEEEE;margin:0;padding:15px}.acf-box .title h3{font-size:14px;line-height:1em;margin:0;padding:0}.acf-box .inner{padding:15px}.acf-box h2{color:#333333;font-size:26px;line-height:1.25em;margin:0.25em 0 0.75em;padding:0}.acf-box h3{margin:1.5em 0 0}.acf-box p{margin-top:0.5em}.acf-box a{text-decoration:none}.acf-box i.dashicons-external{margin-top:-1px}.acf-box .footer{border-top:1px solid #eee;padding:12px;font-size:13px;line-height:1.5}.acf-box .footer p{margin:0}.acf-notice{position:relative;display:block;color:#fff;margin:5px 0 15px;padding:3px 12px;background:#2a9bd9;border-left:#2183b9 solid 4px}.acf-notice p{font-size:13px;line-height:1.5;margin:0.5em 0;text-shadow:none;color:inherit}.acf-notice a.acf-notice-dismiss{position:absolute;border-color:transparent;top:9px;right:12px;color:#fff;background:rgba(0,0,0,0.1)}.acf-notice a.acf-notice-dismiss:hover{background:rgba(0,0,0,0.2)}.acf-notice.-dismiss{padding-right:40px}.acf-notice.-error{background:#F55E4F;border-color:#f33b28}.acf-notice.-success{background:#46b450;border-color:#3b9743}.acf-notice.-warning{background:#fd8d3b;border-color:#fd7613}.acf-table{border:#DFDFDF solid 1px;background:#fff;border-spacing:0;border-radius:0;table-layout:auto;padding:0;margin:0;width:100%;clear:both}.acf-table>tbody>tr>th,.acf-table>tbody>tr>td,.acf-table>thead>tr>th,.acf-table>thead>tr>td{padding:8px;vertical-align:top;background:#fff;text-align:left;border-style:solid;font-weight:normal}.acf-table>tbody>tr>th,.acf-table>thead>tr>th{position:relative;color:#333333}.acf-table>thead>tr>th{border-color:#E1E1E1;border-width:0 0 1px 1px}.acf-table>thead>tr>th:first-child{border-left-width:0}.acf-table>tbody>tr{z-index:1}.acf-table>tbody>tr>td{border-color:#EDEDED;border-width:1px 0 0 1px}.acf-table>tbody>tr>td:first-child{border-left-width:0}.acf-table>tbody>tr:first-child>td{border-top-width:0}.acf-table.-clear{border:0 none}.acf-table.-clear>tbody>tr>td,.acf-table.-clear>tbody>tr>th,.acf-table.-clear>thead>tr>td,.acf-table.-clear>thead>tr>th{border:0 none;padding:4px}.acf-remove-element{-webkit-transition:all 0.25s ease-out;-moz-transition:all 0.25s ease-out;-o-transition:all 0.25s ease-out;transition:all 0.25s ease-out;transform:translate(50px, 0);opacity:0}.acf-fade-up{-webkit-transition:all 0.25s ease-out;-moz-transition:all 0.25s ease-out;-o-transition:all 0.25s ease-out;transition:all 0.25s ease-out;transform:translate(0, -10px);opacity:0}#adminmenu a[href="edit.php?post_type=acf-field-group&page=acf-settings-info"]{display:none}#icon-edit.icon32-posts-acf-field-group{background-position:-11px -5px}#acf-field-group-wrap .tablenav,#acf-field-group-wrap p.search-box{display:none}#acf-field-group-wrap .wp-list-table .column-acf-fg-description,#acf-field-group-wrap .wp-list-table .column-acf-fg-description:before{display:none !important}#acf-field-group-wrap .wp-list-table .column-acf-fg-count{width:10%}#acf-field-group-wrap .wp-list-table .column-acf-fg-status{width:10%}#acf-field-group-wrap .tablenav.bottom{display:block}#acf-field-group-wrap .acf-description{font-weight:normal;font-size:13px;color:#999;margin-left:7px;font-style:italic}#acf-field-group-wrap .subsubsub{margin-bottom:3px}#acf-field-group-wrap .subsubsub ul{margin:0}#acf-field-group-wrap .subsubsub+.subsubsub{margin-top:0}#acf-field-group-wrap .subsubsub a:focus{box-shadow:none}.acf-columns-2{margin-right:300px;clear:both}.acf-columns-2:after{display:block;clear:both;content:""}html[dir="rtl"] .acf-columns-2{margin-right:0;margin-left:300px}.acf-columns-2 .acf-column-1{float:left;width:100%}html[dir="rtl"] .acf-columns-2 .acf-column-1{float:right}.acf-columns-2 .acf-column-2{float:right;margin-right:-300px;width:280px}html[dir="rtl"] .acf-columns-2 .acf-column-2{float:left;margin-right:0;margin-left:-300px}#acf-field-group-wrap .search-box:after{display:block;content:"";height:5px}.acf-clear{clear:both}@media screen and (max-width: 782px){#acf-field-group-wrap #the-list .acf-icon:after{content:attr(title);position:absolute;margin-left:5px;font-size:13px;line-height:18px;font-style:normal;color:#444}}.acf-thead,.acf-tbody,.acf-tfoot{width:100%;padding:0;margin:0}.acf-thead>li,.acf-tbody>li,.acf-tfoot>li{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;padding:8px 15px;font-size:12px;line-height:14px}.acf-thead{border-bottom:#E1E1E1 solid 1px;color:#23282d}.acf-thead>li{font-size:14px;line-height:1.4em;font-family:"Open Sans",sans-serif;font-weight:bold}.acf-tfoot{background:#f5f5f5;border-top:#dddddd solid 1px}.acf-tfoot>li{color:#7A9BBE;font-size:12px;line-height:27px}.acf-settings-wrap .acf-box{margin:20px 0}.acf-settings-wrap table{margin:0}.acf-settings-wrap table .button{vertical-align:middle}.add-ons-list{margin:20px 0 0 -18px;max-width:960px}.add-ons-list .add-on{width:220px;margin:0 0 20px 18px;float:left}.add-ons-list .add-on .inner{min-height:90px}.add-ons-list .add-on-acf-pro{width:940px}.add-ons-list .add-on .thumbnail img{display:block}.add-ons-list .add-on h3 a{color:inherit;text-decoration:none}.add-ons-list .add-on h3{margin:0.5em 0}#acf-popup{position:fixed;z-index:900000;top:0;left:0;right:0;bottom:0;text-align:center}#acf-popup .bg{position:absolute;top:0;left:0;right:0;bottom:0;z-index:0;background:rgba(0,0,0,0.25)}#acf-popup:before{content:'';display:inline-block;height:100%;vertical-align:middle}#acf-popup .acf-popup-box{display:inline-block;vertical-align:middle;z-index:1;min-width:300px;min-height:160px;border-color:#aaaaaa;box-shadow:0 5px 30px -5px rgba(0,0,0,0.25);text-align:left}html[dir="rtl"] #acf-popup .acf-popup-box{text-align:right}#acf-popup .acf-popup-box .title{min-height:15px;line-height:15px}#acf-popup .acf-popup-box .title .acf-icon{position:absolute;top:10px;right:10px}html[dir="rtl"] #acf-popup .acf-popup-box .title .acf-icon{right:auto;left:10px}#acf-popup .acf-popup-box .inner{min-height:50px;padding:0;margin:15px}#acf-popup .acf-popup-box .loading{position:absolute;top:45px;left:0;right:0;bottom:0;z-index:2;background:rgba(0,0,0,0.1);display:none}#acf-popup .acf-popup-box .loading i{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}.acf-submit{margin-bottom:0;line-height:28px}.acf-submit span{float:right;color:#999}.acf-submit span.-error{color:#dd4232}.acf-submit .button{margin-right:5px}#acf-upgrade-notice{position:relative;background:#fff;border-left:4px solid #00a0d2;padding:20px}#acf-upgrade-notice:after{display:block;clear:both;content:""}#acf-upgrade-notice .col-content{float:left;width:55%;padding-left:90px}#acf-upgrade-notice .col-actions{float:right;text-align:center;padding:10px}#acf-upgrade-notice img{float:left;width:70px;height:70px;margin:0 0 0 -90px}#acf-upgrade-notice h2{font-size:16px;margin:2px 0 6.5px}#acf-upgrade-notice p{padding:0;margin:0}#acf-upgrade-notice .button:before{margin-top:11px}@media screen and (max-width: 640px){#acf-upgrade-notice .col-content,#acf-upgrade-notice .col-actions{float:none;padding-left:90px;width:auto;text-align:left}}.acf-wrap h1{margin-top:0;padding-top:20px}.acf-wrap .about-text{margin-top:0.5em;min-height:50px}.acf-wrap .about-headline-callout{font-size:2.4em;font-weight:300;line-height:1.3;margin:1.1em 0 0.2em;text-align:center}.acf-wrap .feature-section{padding:40px 0}.acf-wrap .feature-section h2{margin-top:20px}.acf-wrap .changelog{list-style:disc;padding-left:15px}.acf-wrap .changelog li{margin:0 0 0.75em}.acf-wrap .acf-three-col{display:flex;flex-wrap:wrap;justify-content:space-between}.acf-wrap .acf-three-col>div{flex:1;align-self:flex-start;min-width:31%;max-width:31%}@media screen and (max-width: 880px){.acf-wrap .acf-three-col>div{min-width:48%}}@media screen and (max-width: 640px){.acf-wrap .acf-three-col>div{min-width:100%}}.acf-wrap .acf-three-col h3 .badge{display:inline-block;vertical-align:top;border-radius:5px;background:#fc9700;color:#fff;font-weight:normal;font-size:12px;padding:2px 5px}.acf-wrap .acf-three-col img+h3{margin-top:0.5em}.acf-hl[data-cols]{margin-left:-10px;margin-right:-10px}.acf-hl[data-cols]>li{padding:0 10px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.acf-hl[data-cols="2"]>li{width:50%}.acf-hl[data-cols="3"]>li{width:33.333%}.acf-hl[data-cols="4"]>li{width:25%}@media screen and (max-width: 640px){.acf-hl[data-cols]{margin-left:0;margin-right:0;margin-top:-10px}.acf-hl[data-cols]>li{width:100% !important;padding:10px 0 0}}.acf-actions{text-align:right;z-index:1}.acf-actions a{margin-left:4px}.acf-actions.-hover{position:absolute;display:none;top:0;right:0;padding:5px}html[dir="rtl"] .acf-actions a{margin-left:0;margin-right:4px}html[dir="rtl"] .acf-actions.-hover{right:auto;left:0}ul.acf-actions li{float:right;margin-left:4px}.acf-plugin-upgrade-notice{font-weight:normal;color:#fff;background:#d54d21;padding:1em;margin:9px 0}.acf-plugin-upgrade-notice:before{content:"\f348";display:inline-block;font:400 18px/1 dashicons;speak:none;margin:0 8px 0 -2px;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;vertical-align:top}.acf-plugin-upgrade-notice h4{display:none}.acf-plugin-upgrade-notice ul,.acf-plugin-upgrade-notice li{display:inline;color:inherit;list-style:none}.acf-plugin-upgrade-notice li:after{content:'. ';display:inline}html[dir="rtl"] .acf-fl{float:right}html[dir="rtl"] .acf-fr{float:left}html[dir="rtl"] .acf-hl>li{float:right}html[dir="rtl"] .acf-hl>li.acf-fr{float:left}html[dir="rtl"] .acf-icon.logo{left:0;right:auto}html[dir="rtl"] .acf-table thead th{text-align:right;border-right-width:1px;border-left-width:0px}html[dir="rtl"] .acf-table>tbody>tr>td{text-align:right;border-right-width:1px;border-left-width:0px}html[dir="rtl"] .acf-table>thead>tr>th:first-child,html[dir="rtl"] .acf-table>tbody>tr>td:first-child{border-right-width:0}html[dir="rtl"] .acf-table>tbody>tr>td.order+td{border-right-color:#e1e1e1}.acf-postbox-columns{position:relative;margin-top:-11px;margin-bottom:-11px;margin-left:-12px;margin-right:268px}.acf-postbox-columns:after{display:block;clear:both;content:""}.acf-postbox-columns .acf-postbox-main,.acf-postbox-columns .acf-postbox-side{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;padding:0 12px 12px}.acf-postbox-columns .acf-postbox-main{float:left;width:100%}.acf-postbox-columns .acf-postbox-side{float:right;width:280px;margin-right:-280px}.acf-postbox-columns .acf-postbox-side:before{content:"";display:block;position:absolute;width:1px;height:100%;top:0;right:0;background:#ebebeb}@media only screen and (max-width: 850px){.acf-postbox-columns{margin:0}.acf-postbox-columns .acf-postbox-main,.acf-postbox-columns .acf-postbox-side{float:none;width:auto;margin:0;padding:0}.acf-postbox-columns .acf-postbox-side{margin-top:1em}.acf-postbox-columns .acf-postbox-side:before{display:none}}.acf-panel{margin-top:-1px;border-top:1px solid #e2e4e7;border-bottom:1px solid #e2e4e7}.acf-panel .acf-panel-title{margin:0;padding:12px;font-weight:bold;cursor:pointer;font-size:inherit}.acf-panel .acf-panel-title i{float:right}.acf-panel .acf-panel-inside{margin:0;padding:0 12px 12px;display:none}.acf-panel.-open .acf-panel-inside{display:block}.postbox .acf-panel{margin-left:-12px;margin-right:-12px}.acf-panel .acf-field{margin:20px 0 0}.acf-panel .acf-field .acf-label label{color:#555d66;font-weight:normal}.acf-panel .acf-field:first-child{margin-top:0}#acf-admin-tools .notice{margin-top:10px}.acf-meta-box-wrap{margin-top:10px}.acf-meta-box-wrap .postbox{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.acf-meta-box-wrap .postbox .inside{margin-bottom:0}.acf-meta-box-wrap .postbox .hndle{font-size:14px;padding:8px 12px;margin:0;line-height:1.4}.acf-meta-box-wrap .postbox .handlediv{display:none}.acf-meta-box-wrap .acf-fields{border:#ebebeb solid 1px;background:#fafafa;border-radius:3px}.acf-meta-box-wrap.-grid{margin-left:8px;margin-right:8px}.acf-meta-box-wrap.-grid .postbox{float:left;clear:left;width:50%;margin:0 0 16px}.acf-meta-box-wrap.-grid .postbox:nth-child(odd){margin-left:-8px}.acf-meta-box-wrap.-grid .postbox:nth-child(even){float:right;clear:right;margin-right:-8px}@media only screen and (max-width: 850px){.acf-meta-box-wrap.-grid{margin-left:0;margin-right:0}.acf-meta-box-wrap.-grid .postbox{margin-left:0 !important;margin-right:0 !important;width:100%}}#acf-admin-tool-export p{max-width:800px}#acf-admin-tool-export ul{column-width:200px}#acf-admin-tool-export .acf-postbox-side .button{margin:0;width:100%}#acf-admin-tool-export textarea{display:block;width:100%;min-height:500px;background:#fafafa;box-shadow:none;padding:7px;border-radius:3px}#acf-admin-tool-export .acf-panel-selection .acf-label{display:none}@media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min--moz-device-pixel-ratio: 2), only screen and (-o-min-device-pixel-ratio: 2 / 1), only screen and (min-device-pixel-ratio: 2), only screen and (min-resolution: 192dpi), only screen and (min-resolution: 2dppx){.acf-loading,.acf-spinner{background-image:url(../images/spinner@2x.gif);background-size:20px 20px}}@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}} diff --git a/assets/css/acf-input.css b/assets/css/acf-input.css index 55d9588..19964f7 100644 --- a/assets/css/acf-input.css +++ b/assets/css/acf-input.css @@ -1,2680 +1 @@ -/*-------------------------------------------------------------------------------------------- -* -* Vars -* -*--------------------------------------------------------------------------------------------*/ -/* colors */ -/* acf-field */ -/* responsive */ -/*-------------------------------------------------------------------------------------------- -* -* Mixins -* -*--------------------------------------------------------------------------------------------*/ -/*-------------------------------------------------------------------------------------------- -* -* acf-field -* -*--------------------------------------------------------------------------------------------*/ -.acf-field, -.acf-field .acf-label, -.acf-field .acf-input { - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; - position: relative; -} -.acf-field { - margin: 15px 0; - clear: both; -} -.acf-field p.description { - display: block; - margin: 0; - padding: 0; -} -.acf-field .acf-label { - vertical-align: top; - margin: 0 0 10px; -} -.acf-field .acf-label label { - display: block; - font-weight: bold; - margin: 0 0 3px; - padding: 0; -} -.acf-field .acf-label:empty { - margin-bottom: 0; -} -.acf-field .acf-input { - vertical-align: top; -} -.acf-field .acf-input > p.description { - margin-top: 5px; -} -.acf-field .acf-notice { - margin: 0 0 15px; - background: #edf2ff; - color: #2183b9; - border: none; -} -.acf-field .acf-notice .acf-notice-dismiss { - background: transparent; - color: inherit; -} -.acf-field .acf-notice .acf-notice-dismiss:hover { - background: #fff; -} -.acf-field .acf-notice.-dismiss { - padding-right: 40px; -} -.acf-field .acf-notice.-error { - background: #ffe6e6; - color: #d12626; -} -.acf-field .acf-notice.-success { - background: #eefbe8; - color: #32a23b; -} -.acf-field .acf-notice.-warning { - background: #fff3e6; - color: #d16226; -} -td.acf-field, -tr.acf-field { - margin: 0; -} -.acf-field[data-width] { - float: left; - clear: none; - /* - @media screen and (max-width: @sm) { - float: none; - width: auto; - border-left-width: 0; - border-right-width: 0; - } -*/ -} -.acf-field[data-width] + .acf-field[data-width] { - border-left: 1px solid #eeeeee; -} -html[dir="rtl"] .acf-field[data-width] { - float: right; -} -html[dir="rtl"] .acf-field[data-width] + .acf-field[data-width] { - border-left: none; - border-right: 1px solid #eeeeee; -} -td.acf-field[data-width], -tr.acf-field[data-width] { - float: none; -} -.acf-field.-c0 { - clear: both; - border-left-width: 0 !important; -} -html[dir="rtl"] .acf-field.-c0 { - border-left-width: 1px !important; - border-right-width: 0 !important; -} -.acf-field.-r0 { - border-top-width: 0 !important; -} -/*-------------------------------------------------------------------------------------------- -* -* acf-fields -* -*--------------------------------------------------------------------------------------------*/ -.acf-fields { - position: relative; -} -.acf-fields:after { - clear: both; - content: ""; - display: table; -} -.acf-fields.-border { - border: #dfdfdf solid 1px; - background: #fff; -} -.acf-fields > .acf-field { - position: relative; - margin: 0; - padding: 15px 12px; - border-top: #EEEEEE solid 1px; -} -.acf-fields > .acf-field:first-child { - border-top-width: 0; -} -td.acf-fields { - padding: 0 !important; -} -/*-------------------------------------------------------------------------------------------- -* -* acf-fields (clear) -* -*--------------------------------------------------------------------------------------------*/ -.acf-fields.-clear > .acf-field { - border: none; - padding: 0; - margin: 15px 0; -} -.acf-fields.-clear > .acf-field[data-width] { - border: none !important; -} -.acf-fields.-clear > .acf-field > .acf-label { - padding: 0; -} -.acf-fields.-clear > .acf-field > .acf-input { - padding: 0; -} -/*-------------------------------------------------------------------------------------------- -* -* acf-fields (left) -* -*--------------------------------------------------------------------------------------------*/ -.acf-fields.-left > .acf-field { - padding: 15px 0; -} -.acf-fields.-left > .acf-field:after { - clear: both; - content: ""; - display: table; -} -.acf-fields.-left > .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%; -} -.acf-fields.-left > .acf-field[data-width] { - float: none; - width: auto !important; - border-left-width: 0 !important; - border-right-width: 0 !important; -} -.acf-fields.-left > .acf-field > .acf-label { - float: left; - width: 20%; - margin: 0; - padding: 0 12px; -} -.acf-fields.-left > .acf-field > .acf-input { - float: left; - width: 80%; - margin: 0; - padding: 0 12px; -} -html[dir="rtl"] .acf-fields.-left > .acf-field:before { - border-width: 0 0 0 1px; - left: auto; - right: 0; -} -html[dir="rtl"] .acf-fields.-left > .acf-field > .acf-label { - float: right; -} -html[dir="rtl"] .acf-fields.-left > .acf-field > .acf-input { - float: right; -} -@media screen and (max-width: 640px) { - .acf-fields.-left > .acf-field:before { - display: none; - } - .acf-fields.-left > .acf-field > .acf-label { - width: 100%; - margin-bottom: 10px; - } - .acf-fields.-left > .acf-field > .acf-input { - width: 100%; - } -} -/* clear + left */ -.acf-fields.-clear.-left > .acf-field { - padding: 0; - border: none; -} -.acf-fields.-clear.-left > .acf-field:before { - display: none; -} -.acf-fields.-clear.-left > .acf-field > .acf-label { - padding: 0; -} -.acf-fields.-clear.-left > .acf-field > .acf-input { - padding: 0; -} -/*-------------------------------------------------------------------------------------------- -* -* acf-table -* -*--------------------------------------------------------------------------------------------*/ -.acf-table tr.acf-field > td.acf-label { - padding: 15px 12px; - margin: 0; - background: #F9F9F9; - width: 20%; -} -.acf-table tr.acf-field > td.acf-input { - padding: 15px 12px; - margin: 0; - border-left-color: #E1E1E1; -} -.acf-sortable-tr-helper { - position: relative !important; - display: table-row !important; -} -/*-------------------------------------------------------------------------------------------- -* -* acf-postbox -* -*--------------------------------------------------------------------------------------------*/ -.acf-postbox { - position: relative; -} -.acf-postbox > .inside { - margin: 0 !important; - /* override WP style - do not delete - you have tried this before */ - padding: 0 !important; - /* override WP style - do not delete - you have tried this before */ -} -.acf-postbox > .hndle { - /* edit field group */ -} -.acf-postbox > .hndle .acf-hndle-cog { - color: #AAAAAA; - font-size: 16px; - line-height: 20px; - padding: 0 2px; - float: right; - position: relative; - display: none; -} -.acf-postbox > .hndle .acf-hndle-cog:hover { - color: #777777; -} -.acf-postbox:hover > .hndle .acf-hndle-cog { - display: block; -} -.acf-postbox .acf-replace-with-fields { - padding: 15px; - text-align: center; -} -#post-body-content #acf_after_title-sortables { - margin: 20px 0 -20px; -} -/* seamless */ -.acf-postbox.seamless { - border: 0 none; - background: transparent; - box-shadow: none; - /* hide hndle */ - /* inside */ -} -.acf-postbox.seamless > .hndle, -.acf-postbox.seamless > .handlediv { - display: none !important; -} -.acf-postbox.seamless > .inside { - display: block !important; - /* stop metabox from hiding when closed */ - margin-left: -12px !important; - margin-right: -12px !important; -} -.acf-postbox.seamless > .inside > .acf-field { - border-color: transparent; -} -/* seamless (left) */ -.acf-postbox.seamless > .acf-fields.-left { - /* hide sidebar bg */ - /* mobile */ -} -.acf-postbox.seamless > .acf-fields.-left > .acf-field:before { - display: none; -} -@media screen and (max-width: 782px) { - .acf-postbox.seamless > .acf-fields.-left { - /* remove padding */ - } - .acf-postbox.seamless > .acf-fields.-left > .acf-field > .acf-label, - .acf-postbox.seamless > .acf-fields.-left > .acf-field > .acf-input { - padding: 0; - } -} -/*--------------------------------------------------------------------------------------------- -* -* Inputs -* -*---------------------------------------------------------------------------------------------*/ -.acf-field input[type="text"], -.acf-field input[type="password"], -.acf-field input[type="number"], -.acf-field input[type="search"], -.acf-field input[type="email"], -.acf-field input[type="url"], -.acf-field textarea, -.acf-field select { - width: 100%; - padding: 3px 5px; - resize: none; - margin: 0; - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; - font-size: 14px; - line-height: 1.4; -} -.acf-field input[type="text"]:disabled, -.acf-field input[type="password"]:disabled, -.acf-field input[type="number"]:disabled, -.acf-field input[type="search"]:disabled, -.acf-field input[type="email"]:disabled, -.acf-field input[type="url"]:disabled, -.acf-field textarea:disabled, -.acf-field select:disabled { - background: #f8f8f8; -} -.acf-field input[type="text"][readonly], -.acf-field input[type="password"][readonly], -.acf-field input[type="number"][readonly], -.acf-field input[type="search"][readonly], -.acf-field input[type="email"][readonly], -.acf-field input[type="url"][readonly], -.acf-field textarea[readonly], -.acf-field select[readonly] { - background: #f8f8f8; -} -.acf-field textarea { - resize: vertical; -} -/*--------------------------------------------------------------------------------------------- -* -* Text -* -*---------------------------------------------------------------------------------------------*/ -.acf-input-prepend, -.acf-input-append { - font-size: 13px; - line-height: 20px; - height: 20px; - padding: 3px 7px; - background: #F4F4F4; - border: #DFDFDF solid 1px; -} -.acf-input-prepend { - float: left; - border-right-width: 0; - border-radius: 3px 0 0 3px; -} -.acf-input-append { - float: right; - border-left-width: 0; - border-radius: 0 3px 3px 0; -} -.acf-input-wrap { - position: relative; - overflow: hidden; -} -.acf-input-wrap input { - height: 28px; - margin: 0; -} -input.acf-is-prepended { - border-radius: 0 3px 3px 0 !important; -} -input.acf-is-appended { - border-radius: 3px 0 0 3px !important; -} -input.acf-is-prepended.acf-is-appended { - border-radius: 0 !important; -} -/* rtl */ -html[dir="rtl"] .acf-input-prepend { - border-left-width: 0; - border-right-width: 1px; - border-radius: 0 3px 3px 0; - float: right; -} -html[dir="rtl"] .acf-input-append { - border-left-width: 1px; - border-right-width: 0; - border-radius: 3px 0 0 3px; - float: left; -} -html[dir="rtl"] input.acf-is-prepended { - border-radius: 3px 0 0 3px !important; -} -html[dir="rtl"] input.acf-is-appended { - border-radius: 0 3px 3px 0 !important; -} -html[dir="rtl"] input.acf-is-prepended.acf-is-appended { - border-radius: 0 !important; -} -/*--------------------------------------------------------------------------------------------- -* -* Color Picker -* -*---------------------------------------------------------------------------------------------*/ -.acf-color-picker .wp-picker-active { - position: relative; - z-index: 1; -} -/*--------------------------------------------------------------------------------------------- -* -* Url -* -*---------------------------------------------------------------------------------------------*/ -.acf-url i { - position: absolute; - top: 4px; - left: 4px; - opacity: 0.5; - color: #A9A9A9; -} -.acf-url input[type="url"] { - padding-left: 25px; -} -.acf-url.-valid i { - opacity: 1; -} -/*--------------------------------------------------------------------------------------------- -* -* Select -* -*---------------------------------------------------------------------------------------------*/ -.acf-field select { - padding: 2px; -} -.acf-field select optgroup { - padding: 5px; - background: #fff; -} -.acf-field select option { - padding: 3px; -} -.acf-field select optgroup option { - padding-left: 5px; -} -.acf-field select optgroup:nth-child(2n) { - background: #F9F9F9; -} -.acf-field .select2-input { - max-width: 200px; -} -/*--------------------------------------------------------------------------------------------- -* -* Select2 (v3) -* -*---------------------------------------------------------------------------------------------*/ -.select2-container.-acf { - /* open */ - /* single open */ -} -.select2-container.-acf .select2-choices { - background: #fff; - border-color: #ddd; - box-shadow: 0 1px 2px rgba(0, 0, 0, 0.07) inset; - min-height: 31px; -} -.select2-container.-acf .select2-choices .select2-search-choice { - margin: 5px 0 5px 5px; - padding: 3px 5px 3px 18px; - border-color: #bbb; - background: #f9f9f9; - box-shadow: 0 1px 0 rgba(255, 255, 255, 0.25) inset; - /* sortable item*/ - /* sortable shadow */ -} -.select2-container.-acf .select2-choices .select2-search-choice.ui-sortable-helper { - background: #5897fb; - border-color: #3f87fa; - color: #fff; - box-shadow: 0 0 3px rgba(0, 0, 0, 0.1); -} -.select2-container.-acf .select2-choices .select2-search-choice.ui-sortable-helper a { - visibility: hidden; -} -.select2-container.-acf .select2-choices .select2-search-choice.ui-sortable-placeholder { - background-color: #f7f7f7; - border-color: #f7f7f7; - visibility: visible !important; -} -.select2-container.-acf .select2-choices .select2-search-choice-focus { - border-color: #999; -} -.select2-container.-acf .select2-choices .select2-search-field input { - height: 31px; - line-height: 22px; - margin: 0; - padding: 5px 5px 5px 7px; -} -.select2-container.-acf .select2-choice { - border-color: #BBBBBB; -} -.select2-container.-acf .select2-choice .select2-arrow { - background: transparent; - border-left-color: #DFDFDF; - padding-left: 1px; -} -.select2-container.-acf .select2-choice .select2-result-description { - display: none; -} -.select2-container.-acf.select2-container-active .select2-choices, -.select2-container.-acf.select2-dropdown-open .select2-choices { - border-color: #5B9DD9; - border-radius: 3px 3px 0 0; -} -.select2-container.-acf.select2-dropdown-open .select2-choice { - background: #fff; - border-color: #5B9DD9; -} -/* rtl */ -html[dir="rtl"] .select2-container.-acf .select2-search-choice-close { - left: 24px; -} -html[dir="rtl"] .select2-container.-acf .select2-choice > .select2-chosen { - margin-left: 42px; -} -html[dir="rtl"] .select2-container.-acf .select2-choice .select2-arrow { - padding-left: 0; - padding-right: 1px; -} -/* description */ -.select2-drop { - /* search*/ - /* result */ -} -.select2-drop .select2-search { - padding: 4px 4px 0; -} -.select2-drop .select2-result { - /* hover*/ -} -.select2-drop .select2-result .select2-result-description { - color: #999; - font-size: 12px; - margin-left: 5px; -} -.select2-drop .select2-result.select2-highlighted .select2-result-description { - color: #fff; - opacity: 0.75; -} -/*--------------------------------------------------------------------------------------------- -* -* Select2 (v4) -* -*---------------------------------------------------------------------------------------------*/ -.select2-container.-acf li { - margin-bottom: 0; -} -.select2-container--default.-acf .select2-selection--multiple { - /* multiple choice item */ -} -.select2-container--default.-acf .select2-selection--multiple .select2-search--inline:first-child { - float: none; -} -.select2-container--default.-acf .select2-selection--multiple .select2-search--inline:first-child input { - width: 100% !important; -} -.select2-container--default.-acf .select2-selection--multiple .select2-selection__choice { - background-color: #f7f7f7; - border-color: #cccccc; - /* sortable item*/ - /* sortable shadow */ -} -.select2-container--default.-acf .select2-selection--multiple .select2-selection__choice.ui-sortable-helper { - background: #5897fb; - border-color: #3f87fa; - color: #fff; - box-shadow: 0 0 3px rgba(0, 0, 0, 0.1); -} -.select2-container--default.-acf .select2-selection--multiple .select2-selection__choice.ui-sortable-helper span { - visibility: hidden; -} -.select2-container--default.-acf .select2-selection--multiple .select2-selection__choice.ui-sortable-placeholder { - background-color: #f7f7f7; - border-color: #f7f7f7; - visibility: visible !important; -} -.select2-container .select2-dropdown { - z-index: 900000; -} -/*--------------------------------------------------------------------------------------------- -* -* Link -* -*---------------------------------------------------------------------------------------------*/ -.link-wrap { - border: #dddddd solid 1px; - border-radius: 3px; - padding: 5px; - line-height: 26px; - background: #fff; - word-wrap: break-word; - word-break: break-all; -} -.link-wrap .link-title { - padding: 0 5px; -} -.acf-link { - /* value */ - /* external */ -} -.acf-link .link-wrap, -.acf-link .acf-icon.-link-ext { - display: none; -} -.acf-link.-value .button { - display: none; -} -.acf-link.-value .link-wrap { - display: inline-block; -} -.acf-link.-external .acf-icon.-link-ext { - display: inline-block; -} -#wp-link-backdrop { - z-index: 900000 !important; -} -#wp-link-wrap { - z-index: 900001 !important; -} -/*--------------------------------------------------------------------------------------------- -* -* Radio -* -*---------------------------------------------------------------------------------------------*/ -ul.acf-radio-list, -ul.acf-checkbox-list { - background: transparent; - position: relative; - padding: 1px; - margin: 0; - /* hl */ - /* rtl */ -} -ul.acf-radio-list li, -ul.acf-checkbox-list li { - font-size: 13px; - line-height: 22px; - margin: 0; - position: relative; - word-wrap: break-word; - /* attachment sidebar fix*/ -} -ul.acf-radio-list li label, -ul.acf-checkbox-list li label { - display: inline; -} -ul.acf-radio-list li input[type="checkbox"], -ul.acf-checkbox-list li input[type="checkbox"], -ul.acf-radio-list li input[type="radio"], -ul.acf-checkbox-list li input[type="radio"] { - margin: -1px 4px 0 0; - vertical-align: middle; -} -ul.acf-radio-list li input[type="text"], -ul.acf-checkbox-list li input[type="text"] { - width: auto; - vertical-align: middle; - margin: 2px 0; -} -ul.acf-radio-list li span, -ul.acf-checkbox-list li span { - float: none; -} -ul.acf-radio-list li i, -ul.acf-checkbox-list li i { - vertical-align: middle; -} -ul.acf-radio-list.acf-hl li, -ul.acf-checkbox-list.acf-hl li { - margin-right: 20px; - clear: none; -} -html[dir="rtl"] ul.acf-radio-list input[type="checkbox"], -html[dir="rtl"] ul.acf-checkbox-list input[type="checkbox"], -html[dir="rtl"] ul.acf-radio-list input[type="radio"], -html[dir="rtl"] ul.acf-checkbox-list input[type="radio"] { - margin-left: 4px; - margin-right: 0; -} -/*--------------------------------------------------------------------------------------------- -* -* Button Group -* -*---------------------------------------------------------------------------------------------*/ -.acf-button-group { - display: inline-block; - /* default (horizontal) */ - padding-left: 1px; - display: inline-flex; - flex-direction: row; - flex-wrap: nowrap; - /* vertical */ -} -.acf-button-group label { - display: inline-block; - border: #ccc solid 1px; - position: relative; - z-index: 1; - padding: 5px 10px; - background: #fff; -} -.acf-button-group label:hover { - border-color: #999999; - z-index: 2; -} -.acf-button-group label.selected { - border-color: #2b9af3; - background: #309cf3; - color: #fff; - z-index: 2; -} -.acf-button-group label.selected:hover { - background: #48a8f4; -} -.acf-button-group input { - display: none !important; -} -.acf-button-group label { - margin: 0 0 0 -1px; - flex: 1; - text-align: center; - white-space: nowrap; -} -.acf-button-group label:first-child { - border-radius: 3px 0 0 3px; -} -html[dir="rtl"] .acf-button-group label:first-child { - border-radius: 0 3px 3px 0; -} -.acf-button-group label:last-child { - border-radius: 0 3px 3px 0; -} -html[dir="rtl"] .acf-button-group label:last-child { - border-radius: 3px 0 0 3px; -} -.acf-button-group label:only-child { - border-radius: 3px; -} -.acf-button-group.-vertical { - padding-left: 0; - padding-top: 1px; - flex-direction: column; -} -.acf-button-group.-vertical label { - margin: -1px 0 0 0; -} -.acf-button-group.-vertical label:first-child { - border-radius: 3px 3px 0 0; -} -.acf-button-group.-vertical label:last-child { - border-radius: 0 0 3px 3px; -} -.acf-button-group.-vertical label:only-child { - border-radius: 3px; -} -/*--------------------------------------------------------------------------------------------- -* -* Checkbox -* -*---------------------------------------------------------------------------------------------*/ -.acf-checkbox-list .button { - margin: 10px 0 0; -} -/*--------------------------------------------------------------------------------------------- -* -* True / False -* -*---------------------------------------------------------------------------------------------*/ -.acf-switch { - display: inline-block; - border-radius: 5px; - cursor: pointer; - position: relative; - background: #f8f8f8; - height: 30px; - vertical-align: middle; - border: #ccc solid 1px; - -webkit-transition: background 0.25s ease; - -moz-transition: background 0.25s ease; - -o-transition: background 0.25s ease; - transition: background 0.25s ease; - /* hover */ - /* active */ - /* focus */ - /* message */ -} -.acf-switch span { - display: inline-block; - float: left; - text-align: center; - font-size: 13px; - line-height: 22px; - padding: 4px 10px; - min-width: 15px; -} -.acf-switch span i { - vertical-align: middle; -} -.acf-switch .acf-switch-on { - color: #fff; - text-shadow: #1f7db1 0 1px 0; -} -.acf-switch .acf-switch-slider { - position: absolute; - top: 2px; - left: 2px; - bottom: 2px; - right: 50%; - z-index: 1; - background: #fff; - border-radius: 3px; - border: #ccc solid 1px; - -webkit-transition: all 0.25s ease; - -moz-transition: all 0.25s ease; - -o-transition: all 0.25s ease; - transition: all 0.25s ease; - transition-property: left, right; -} -.acf-switch:hover .acf-switch-slider { - border-color: #b3b3b3; -} -.acf-switch.-on { - background: #309cf3; - border-color: #2b9af3; - /* hover */ -} -.acf-switch.-on .acf-switch-slider { - left: 50%; - right: 2px; - border-color: #0d84e3; -} -.acf-switch.-on:hover { - background: #48a8f4; -} -.acf-switch.-focus .acf-switch-slider { - border-color: #5b9dd9; - box-shadow: 0 0 2px rgba(30, 140, 190, 0.5); -} -.acf-switch.-focus.-on .acf-switch-slider { - border-color: #185e85; - box-shadow: 0 0 2px #1f7db1; -} -.acf-switch + span { - margin-left: 6px; -} -/* checkbox */ -.acf-switch-input { - opacity: 0; - position: absolute; - margin: 0; -} -/* in media modal */ -.compat-item .acf-true-false .message { - float: none; - padding: 0; - vertical-align: middle; -} -/*-------------------------------------------------------------------------- -* -* Google Map -* -*-------------------------------------------------------------------------*/ -.acf-google-map { - position: relative; - border: #DFDFDF solid 1px; - background: #fff; - /* default is focused */ - /* -search */ - /* -value */ - /* -loading */ -} -.acf-google-map .title { - position: relative; - border-bottom: #DFDFDF solid 1px; -} -.acf-google-map .title .search { - margin: 0; - font-size: 14px; - line-height: 30px; - height: 40px; - padding: 5px 10px; - border: 0 none; - box-shadow: none; - border-radius: 0; - font-family: inherit; - cursor: text; -} -.acf-google-map .title .acf-loading { - position: absolute; - top: 10px; - right: 11px; - display: none; -} -.acf-google-map .title:hover .acf-actions { - display: block; -} -.acf-google-map .canvas { - height: 400px; -} -.acf-google-map .title .acf-icon.-location { - display: inline-block; -} -.acf-google-map .title .acf-icon.-cancel { - display: none; -} -.acf-google-map .title .acf-icon.-search { - display: none; -} -.acf-google-map.-search .title .acf-icon.-location { - display: none; -} -.acf-google-map.-search .title .acf-icon.-cancel { - display: inline-block; -} -.acf-google-map.-search .title .acf-icon.-search { - display: inline-block; -} -.acf-google-map.-value .title .search { - font-weight: bold; -} -.acf-google-map.-value .title .acf-icon.-location { - display: none; -} -.acf-google-map.-value .title .acf-icon.-cancel { - display: inline-block; -} -.acf-google-map.-value .title .acf-icon.-search { - display: none; -} -.acf-google-map.-loading .title a { - display: none !important; -} -.acf-google-map.-loading .title i { - display: inline-block; -} -/* autocomplete */ -.pac-container { - border-width: 1px 0; - box-shadow: none; -} -.pac-container:after { - display: none; -} -.pac-container .pac-item:first-child { - border-top: 0 none; -} -.pac-container .pac-item { - padding: 5px 10px; - cursor: pointer; -} -html[dir="rtl"] .pac-container .pac-item { - text-align: right; -} -/*-------------------------------------------------------------------------- -* -* Relationship -* -*-------------------------------------------------------------------------*/ -.acf-relationship { - background: #fff; - /* filters (top) */ - /* list */ - /* selection (bottom) */ -} -.acf-relationship .filters { - border: #DFDFDF solid 1px; - background: #fff; - /* widths */ -} -.acf-relationship .filters:after { - clear: both; - content: ""; - display: table; -} -.acf-relationship .filters .filter { - margin: 0; - padding: 0; - float: left; - width: 100%; - /* inner padding */ -} -.acf-relationship .filters .filter span { - display: block; - padding: 7px 7px 7px 0; -} -.acf-relationship .filters .filter:first-child span { - padding-left: 7px; -} -.acf-relationship .filters .filter input, -.acf-relationship .filters .filter select { - height: 28px; - line-height: 28px; - padding: 2px; - width: 100%; - margin: 0; - float: none; - /* potential fix for media popup? */ -} -.acf-relationship .filters .filter input:focus, -.acf-relationship .filters .filter select:focus, -.acf-relationship .filters .filter input:active, -.acf-relationship .filters .filter select:active { - outline: none; - box-shadow: none; -} -.acf-relationship .filters .filter input { - border-color: transparent; - box-shadow: none; -} -.acf-relationship .filters.-f2 .filter { - width: 50%; -} -.acf-relationship .filters.-f3 .filter { - width: 25%; -} -.acf-relationship .filters.-f3 .filter.-search { - width: 50%; -} -.acf-relationship .list { - margin: 0; - padding: 5px; - height: 160px; - overflow: auto; -} -.acf-relationship .list .acf-rel-label, -.acf-relationship .list .acf-rel-item, -.acf-relationship .list p { - padding: 5px 7px; - margin: 0; - display: block; - position: relative; - min-height: 18px; -} -.acf-relationship .list .acf-rel-label { - font-weight: bold; -} -.acf-relationship .list .acf-rel-item { - cursor: pointer; - /* hover */ - /* disabled */ -} -.acf-relationship .list .acf-rel-item b { - text-decoration: underline; - font-weight: normal; -} -.acf-relationship .list .acf-rel-item .thumbnail { - background: #e0e0e0; - width: 22px; - height: 22px; - float: left; - margin: -2px 5px 0 0; -} -.acf-relationship .list .acf-rel-item .thumbnail img { - max-width: 22px; - max-height: 22px; - margin: 0 auto; - display: block; -} -.acf-relationship .list .acf-rel-item .thumbnail.-icon { - background: #fff; -} -.acf-relationship .list .acf-rel-item .thumbnail.-icon img { - max-height: 20px; - margin-top: 1px; -} -.acf-relationship .list .acf-rel-item:hover { - background: #3875D7; - color: #fff; -} -.acf-relationship .list .acf-rel-item:hover .thumbnail { - background: #a2bfec; -} -.acf-relationship .list .acf-rel-item:hover .thumbnail.-icon { - background: #fff; -} -.acf-relationship .list .acf-rel-item.disabled { - opacity: 0.5; -} -.acf-relationship .list .acf-rel-item.disabled:hover { - background: transparent; - color: #333; - cursor: default; -} -.acf-relationship .list .acf-rel-item.disabled:hover .thumbnail { - background: #e0e0e0; -} -.acf-relationship .list .acf-rel-item.disabled:hover .thumbnail.-icon { - background: #fff; -} -.acf-relationship .list ul { - padding-bottom: 5px; -} -.acf-relationship .list ul .acf-rel-label, -.acf-relationship .list ul .acf-rel-item, -.acf-relationship .list ul p { - padding-left: 20px; -} -.acf-relationship .selection { - border: #DFDFDF solid 1px; - position: relative; - margin-top: -1px; - /* choices */ - /* values */ -} -.acf-relationship .selection:after { - clear: both; - content: ""; - display: table; -} -.acf-relationship .selection .values, -.acf-relationship .selection .choices { - width: 50%; - background: #fff; - float: left; -} -.acf-relationship .selection .choices { - background: #F9F9F9; -} -.acf-relationship .selection .choices .list { - border-right: #DFDFDF solid 1px; -} -.acf-relationship .selection .values .acf-icon { - position: absolute; - top: 4px; - right: 7px; - display: none; - /* rtl */ -} -html[dir="rtl"] .acf-relationship .selection .values .acf-icon { - right: auto; - left: 7px; -} -.acf-relationship .selection .values .acf-rel-item:hover .acf-icon { - display: block; -} -.acf-relationship .selection .values .acf-rel-item { - cursor: move; -} -.acf-relationship .selection .values .acf-rel-item b { - text-decoration: none; -} -/* menu item fix */ -.menu-item .acf-relationship ul { - width: auto; -} -.menu-item .acf-relationship li { - display: block; -} -/*-------------------------------------------------------------------------- -* -* WYSIWYG -* -*-------------------------------------------------------------------------*/ -.acf-editor-wrap { - /* delay */ -} -.acf-editor-wrap.delay .acf-editor-toolbar { - content: ""; - display: block; - background: #f5f5f5; - border-bottom: #dddddd solid 1px; - color: #555d66; - padding: 10px; -} -.acf-editor-wrap.delay textarea { - padding: 10px; -} -.acf-editor-wrap iframe { - min-height: 200px; -} -.acf-editor-wrap .wp-editor-container { - border: 1px solid #E5E5E5; - box-shadow: none; -} -#mce_fullscreen_container { - z-index: 900000 !important; -} -/* WP < 4.1 */ -.acf-editor-wrap .wp-switch-editor { - float: left; - -moz-box-sizing: content-box; - -webkit-box-sizing: content-box; - box-sizing: content-box; -} -.acf-editor-wrap.tmce-active .wp-editor-area { - color: #333 !important; -} -/*--------------------------------------------------------------------------------------------- -* -* Tab -* -*---------------------------------------------------------------------------------------------*/ -.acf-field-tab { - display: none !important; -} -.hidden-by-tab { - display: none !important; -} -.acf-tab-wrap { - clear: both; - z-index: 1; -} -.acf-tab-group { - border-bottom: #ccc solid 1px; - padding: 10px 10px 0; -} -.acf-tab-group li { - margin: 0 0.5em 0 0; -} -.acf-tab-group li a { - padding: 5px 10px; - display: block; - color: #555; - font-size: 14px; - font-weight: 600; - line-height: 24px; - border: #ccc solid 1px; - border-bottom: 0 none; - text-decoration: none; - background: #e5e5e5; - transition: none; -} -.acf-tab-group li a:hover { - background: #FFF; -} -.acf-tab-group li a:focus { - outline: none; - box-shadow: none; -} -.acf-tab-group li a:empty { - display: none; -} -html[dir="rtl"] .acf-tab-group li { - margin: 0 0 0 0.5em; -} -.acf-tab-group li.active a { - background: #F1F1F1; - color: #000; - padding-bottom: 6px; - margin-bottom: -1px; - position: relative; - z-index: 1; -} -.acf-fields > .acf-tab-wrap { - background: #F9F9F9; -} -.acf-fields > .acf-tab-wrap .acf-tab-group { - position: relative; - z-index: 1; - margin-bottom: -1px; - border-top: #DFDFDF solid 1px; - border-bottom: #DFDFDF solid 1px; -} -.acf-fields > .acf-tab-wrap .acf-tab-group li a { - background: #f1f1f1; -} -.acf-fields > .acf-tab-wrap .acf-tab-group li a:hover { - background: #FFF; -} -.acf-fields > .acf-tab-wrap .acf-tab-group li.active a { - background: #FFFFFF; -} -.acf-fields > .acf-tab-wrap:first-child .acf-tab-group { - border-top: none; -} -.acf-fields.-left > .acf-tab-wrap .acf-tab-group { - padding-left: 20%; - /* mobile */ - /* rtl */ -} -@media screen and (max-width: 640px) { - .acf-fields.-left > .acf-tab-wrap .acf-tab-group { - padding-left: 10px; - } -} -html[dir="rtl"] .acf-fields.-left > .acf-tab-wrap .acf-tab-group { - padding-left: 0; - padding-right: 20%; - /* mobile */ -} -@media screen and (max-width: 850px) { - html[dir="rtl"] .acf-fields.-left > .acf-tab-wrap .acf-tab-group { - padding-right: 10px; - } -} -.acf-tab-wrap.-left .acf-tab-group { - position: absolute; - left: 0; - width: 20%; - border: 0 none; - padding: 0 !important; - /* important overrides 'left aligned labels' */ - margin: 1px 0 0; -} -.acf-tab-wrap.-left .acf-tab-group li { - float: none; - margin: -1px 0 0; -} -.acf-tab-wrap.-left .acf-tab-group li a { - border: 1px solid #ededed; - font-size: 13px; - line-height: 18px; - color: #0073aa; - padding: 10px; - margin: 0; - font-weight: normal; - border-width: 1px 0; - border-radius: 0; - background: transparent; -} -.acf-tab-wrap.-left .acf-tab-group li a:hover { - color: #00a0d2; -} -.acf-tab-wrap.-left .acf-tab-group li.active a { - border-color: #DFDFDF; - color: #000; - margin-right: -1px; - background: #fff; -} -html[dir="rtl"] .acf-tab-wrap.-left .acf-tab-group { - left: auto; - right: 0; -} -html[dir="rtl"] .acf-tab-wrap.-left .acf-tab-group li.active a { - margin-right: 0; - margin-left: -1px; -} -.acf-field + .acf-tab-wrap.-left:before { - content: ""; - display: block; - position: relative; - z-index: 1; - height: 10px; - border-top: #DFDFDF solid 1px; - border-bottom: #DFDFDF solid 1px; - margin-bottom: -1px; -} -.acf-tab-wrap.-left:first-child .acf-tab-group li:first-child a { - border-top: none; -} -/* sidebar */ -.acf-fields.-sidebar { - padding: 0 0 0 20% !important; - position: relative; - /* before */ - /* rtl */ -} -.acf-fields.-sidebar:before { - content: ""; - display: block; - position: absolute; - top: 0; - left: 0; - width: 20%; - bottom: 0; - border-right: #DFDFDF solid 1px; - background: #F9F9F9; - z-index: 1; -} -html[dir="rtl"] .acf-fields.-sidebar { - padding: 0 20% 0 0 !important; -} -html[dir="rtl"] .acf-fields.-sidebar:before { - border-left: #DFDFDF solid 1px; - border-right-width: 0; - left: auto; - right: 0; -} -.acf-fields.-sidebar.-left { - padding: 0 0 0 180px !important; - /* rtl */ -} -html[dir="rtl"] .acf-fields.-sidebar.-left { - padding: 0 180px 0 0 !important; -} -.acf-fields.-sidebar.-left:before { - background: #F1F1F1; - border-color: #dfdfdf; - width: 180px; -} -.acf-fields.-sidebar.-left > .acf-tab-wrap.-left .acf-tab-group { - width: 180px; -} -.acf-fields.-sidebar.-left > .acf-tab-wrap.-left .acf-tab-group li a { - border-color: #e4e4e4; -} -.acf-fields.-sidebar.-left > .acf-tab-wrap.-left .acf-tab-group li.active a { - background: #F9F9F9; -} -.acf-fields.-sidebar > .acf-field-tab + .acf-field { - border-top: none; -} -.acf-fields.-clear > .acf-tab-wrap { - background: transparent; -} -.acf-fields.-clear > .acf-tab-wrap .acf-tab-group { - margin-top: 0; - border-top: none; - padding-left: 0; - padding-right: 0; -} -.acf-fields.-clear > .acf-tab-wrap .acf-tab-group li a { - background: #e5e5e5; -} -.acf-fields.-clear > .acf-tab-wrap .acf-tab-group li a:hover { - background: #fff; -} -.acf-fields.-clear > .acf-tab-wrap .acf-tab-group li.active a { - background: #f1f1f1; -} -/* seamless */ -.acf-postbox.seamless > .acf-fields.-sidebar { - margin-left: 0 !important; -} -.acf-postbox.seamless > .acf-fields.-sidebar:before { - background: transparent; -} -.acf-postbox.seamless > .acf-fields > .acf-tab-wrap { - background: transparent; - margin-bottom: 10px; - padding-left: 12px; - padding-right: 12px; -} -.acf-postbox.seamless > .acf-fields > .acf-tab-wrap .acf-tab-group { - border-top: 0 none; -} -.acf-postbox.seamless > .acf-fields > .acf-tab-wrap .acf-tab-group li a { - background: #e5e5e5; -} -.acf-postbox.seamless > .acf-fields > .acf-tab-wrap .acf-tab-group li a:hover { - background: #fff; -} -.acf-postbox.seamless > .acf-fields > .acf-tab-wrap .acf-tab-group li.active a { - background: #f1f1f1; -} -.acf-postbox.seamless > .acf-fields > .acf-tab-wrap.-left:before { - border-top: none; - height: auto; -} -.acf-postbox.seamless > .acf-fields > .acf-tab-wrap.-left .acf-tab-group { - margin-bottom: 0; -} -.acf-postbox.seamless > .acf-fields > .acf-tab-wrap.-left .acf-tab-group li a { - border-width: 1px 0 1px 1px !important; - border-color: #cccccc; - background: #e5e5e5; -} -.acf-postbox.seamless > .acf-fields > .acf-tab-wrap.-left .acf-tab-group li.active a { - background: #f1f1f1; -} -.menu-edit .acf-fields.-clear > .acf-tab-wrap .acf-tab-group li a, -.widget .acf-fields.-clear > .acf-tab-wrap .acf-tab-group li a { - background: #f1f1f1; -} -.menu-edit .acf-fields.-clear > .acf-tab-wrap .acf-tab-group li a:hover, -.widget .acf-fields.-clear > .acf-tab-wrap .acf-tab-group li a:hover, -.menu-edit .acf-fields.-clear > .acf-tab-wrap .acf-tab-group li.active a, -.widget .acf-fields.-clear > .acf-tab-wrap .acf-tab-group li.active a { - background: #fff; -} -.compat-item .acf-tab-wrap td { - display: block; -} -/* within gallery sidebar */ -.acf-gallery-side .acf-tab-wrap { - border-top: 0 none !important; -} -.acf-gallery-side .acf-tab-wrap .acf-tab-group { - margin: 10px 0 !important; - padding: 0 !important; -} -.acf-gallery-side .acf-tab-group li.active a { - background: #F9F9F9 !important; -} -/* withing widget */ -.widget .acf-tab-group { - border-bottom-color: #e8e8e8; -} -.widget .acf-tab-group li a { - background: #F1F1F1; -} -.widget .acf-tab-group li.active a { - background: #fff; -} -/* media popup (edit image) */ -.media-modal.acf-expanded .compat-attachment-fields > tbody > tr.acf-tab-wrap .acf-tab-group { - padding-left: 23%; - border-bottom-color: #DDDDDD; -} -/* table */ -.form-table > tbody > tr.acf-tab-wrap .acf-tab-group { - padding: 0 5px 0 210px; -} -/* rtl */ -html[dir="rtl"] .form-table > tbody > tr.acf-tab-wrap .acf-tab-group { - padding: 0 210px 0 5px; -} -/*-------------------------------------------------------------------------------------------- -* -* oembed -* -*--------------------------------------------------------------------------------------------*/ -.acf-oembed { - position: relative; - border: #DFDFDF solid 1px; - background: #fff; -} -.acf-oembed .title { - position: relative; - border-bottom: #DFDFDF solid 1px; - padding: 5px 10px; -} -.acf-oembed .title .input-search { - margin: 0; - font-size: 14px; - line-height: 30px; - height: 30px; - padding: 0; - border: 0 none; - box-shadow: none; - border-radius: 0; - font-family: inherit; - cursor: text; -} -.acf-oembed .title .acf-actions { - padding: 6px; -} -.acf-oembed .canvas { - position: relative; - min-height: 250px; - background: #F9F9F9; -} -.acf-oembed .canvas .canvas-media { - position: relative; - z-index: 1; -} -.acf-oembed .canvas iframe { - display: block; - margin: 0; - padding: 0; - width: 100%; -} -.acf-oembed .canvas .acf-icon.-picture { - position: absolute; - top: 50%; - left: 50%; - transform: translate(-50%, -50%); - z-index: 0; - height: 42px; - width: 42px; - font-size: 42px; - color: #999; -} -.acf-oembed .canvas .acf-loading-overlay { - background: rgba(255, 255, 255, 0.9); -} -.acf-oembed .canvas .canvas-error { - position: absolute; - top: 50%; - left: 0%; - right: 0%; - margin: -9px 0 0 0; - text-align: center; - display: none; -} -.acf-oembed .canvas .canvas-error p { - padding: 8px; - margin: 0; - display: inline; -} -.acf-oembed.has-value .canvas { - min-height: 50; -} -.acf-oembed.has-value .input-search { - font-weight: bold; -} -.acf-oembed.has-value .title:hover .acf-actions { - display: block; -} -/*-------------------------------------------------------------------------------------------- -* -* Image -* -*--------------------------------------------------------------------------------------------*/ -.acf-image-uploader { - position: relative; - /* image wrap*/ - /* input */ - /* rtl */ -} -.acf-image-uploader:after { - clear: both; - content: ""; - display: table; -} -.acf-image-uploader p { - margin: 0; -} -.acf-image-uploader .image-wrap { - position: relative; - float: left; - /* hover */ -} -.acf-image-uploader .image-wrap img { - max-width: 100%; - width: auto; - height: auto; - display: block; - min-width: 30px; - min-height: 30px; - background: #f1f1f1; - margin: 0; - padding: 0; - /* svg */ -} -.acf-image-uploader .image-wrap img[src$=".svg"] { - min-height: 100px; - min-width: 100px; -} -.acf-image-uploader .image-wrap:hover .acf-actions { - display: block; -} -.acf-image-uploader input.button { - width: auto; -} -html[dir="rtl"] .acf-image-uploader .image-wrap { - float: right; -} -/*-------------------------------------------------------------------------------------------- -* -* File -* -*--------------------------------------------------------------------------------------------*/ -.acf-file-uploader { - position: relative; - /* hover */ - /* rtl */ -} -.acf-file-uploader p { - margin: 0; -} -.acf-file-uploader .file-wrap { - border: #DFDFDF solid 1px; - min-height: 84px; - position: relative; - background: #fff; -} -.acf-file-uploader .file-icon { - position: absolute; - top: 0; - left: 0; - bottom: 0; - padding: 10px; - background: #F1F1F1; - border-right: #E5E5E5 solid 1px; -} -.acf-file-uploader .file-icon img { - display: block; - padding: 0; - margin: 0; - max-width: 48px; -} -.acf-file-uploader .file-info { - padding: 10px; - margin-left: 69px; -} -.acf-file-uploader .file-info p { - margin: 0 0 2px; - font-size: 13px; - line-height: 1.4em; - word-break: break-all; -} -.acf-file-uploader .file-info a { - text-decoration: none; -} -.acf-file-uploader:hover .acf-actions { - display: block; -} -html[dir="rtl"] .acf-file-uploader .file-icon { - left: auto; - right: 0; - border-left: #E5E5E5 solid 1px; - border-right: none; -} -html[dir="rtl"] .acf-file-uploader .file-info { - margin-right: 69px; - margin-left: 0; -} -/*--------------------------------------------------------------------------------------------- -* -* Date Picker -* -*---------------------------------------------------------------------------------------------*/ -.acf-ui-datepicker .ui-datepicker { - z-index: 900000 !important; -} -.acf-ui-datepicker .ui-datepicker .ui-widget-header a { - cursor: pointer; - transition: none; -} -/* fix highlight state overriding hover / active */ -.acf-ui-datepicker .ui-state-highlight.ui-state-hover { - border: 1px solid #98b7e8 !important; - background: #98b7e8 !important; - font-weight: normal !important; - color: #ffffff !important; -} -.acf-ui-datepicker .ui-state-highlight.ui-state-active { - border: 1px solid #3875d7 !important; - background: #3875d7 !important; - font-weight: normal !important; - color: #ffffff !important; -} -/*--------------------------------------------------------------------------------------------- -* -* Separator field -* -*---------------------------------------------------------------------------------------------*/ -.acf-field-separator { - /* fields */ -} -.acf-field-separator .acf-label { - margin-bottom: 0; -} -.acf-field-separator .acf-label label { - font-weight: normal; -} -.acf-field-separator .acf-input { - display: none; -} -.acf-fields > .acf-field-separator { - background: #f9f9f9; - border-bottom: 1px solid #dfdfdf; - border-top: 1px solid #dfdfdf; - margin-bottom: -1px; - z-index: 2; -} -/*--------------------------------------------------------------------------------------------- -* -* Taxonomy -* -*---------------------------------------------------------------------------------------------*/ -.acf-taxonomy-field { - position: relative; - /* hover */ - /* select */ -} -.acf-taxonomy-field .categorychecklist-holder { - border: #DFDFDF solid 1px; - border-radius: 3px; - max-height: 200px; - overflow: auto; -} -.acf-taxonomy-field .acf-checkbox-list { - margin: 0; - padding: 10px; -} -.acf-taxonomy-field .acf-checkbox-list ul.children { - padding-left: 18px; -} -.acf-taxonomy-field:hover .acf-actions { - display: block; -} -.acf-taxonomy-field[data-ftype="select"] .acf-actions { - padding: 0; - margin: -9px; -} -/*--------------------------------------------------------------------------------------------- -* -* Range -* -*---------------------------------------------------------------------------------------------*/ -.acf-range-wrap { - /* rtl */ -} -.acf-range-wrap .acf-append, -.acf-range-wrap .acf-prepend { - display: inline-block; - vertical-align: middle; - line-height: 28px; - margin: 0 7px 0 0; -} -.acf-range-wrap .acf-append { - margin: 0 0 0 7px; -} -.acf-range-wrap input[type="range"] { - display: inline-block; - padding: 0; - margin: 0; - vertical-align: middle; - height: 28px; -} -.acf-range-wrap input[type="range"]:focus { - outline: none; -} -.acf-range-wrap input[type="number"] { - display: inline-block; - min-width: 3em; - margin-left: 10px; - vertical-align: middle; -} -html[dir="rtl"] .acf-range-wrap input[type="number"] { - margin-right: 10px; - margin-left: 0; -} -html[dir="rtl"] .acf-range-wrap .acf-append { - margin: 0 7px 0 0; -} -html[dir="rtl"] .acf-range-wrap .acf-prepend { - margin: 0 0 0 7px; -} -/*--------------------------------------------------------------------------------------------- -* -* acf-accordion -* -*---------------------------------------------------------------------------------------------*/ -.acf-accordion { - margin: 0; - padding: 0; - background: #fff; - /* title */ - /* open */ -} -.acf-accordion .acf-accordion-title { - margin: 0; - padding: 12px; - font-weight: bold; - cursor: pointer; - font-size: inherit; - font-size: 13px; - line-height: 1.4em; -} -.acf-accordion .acf-accordion-title label { - margin: 0; - padding: 0; - font-size: 13px; - line-height: 1.4em; -} -.acf-accordion .acf-accordion-title p { - font-weight: normal; -} -.acf-accordion .acf-accordion-title .acf-accordion-icon { - float: right; -} -.acf-accordion .acf-accordion-content { - margin: 0; - padding: 0 12px 12px; - display: none; -} -.acf-accordion.-open > .acf-accordion-content { - display: block; -} -/* field specific */ -.acf-field.acf-accordion { - padding: 0; - border-color: #dfdfdf; -} -.acf-field.acf-accordion .acf-accordion-title { - padding: 12px !important; - float: none !important; - width: auto !important; -} -.acf-field.acf-accordion .acf-accordion-content { - padding: 0; - float: none !important; - width: auto !important; -} -.acf-field.acf-accordion .acf-accordion-content > .acf-fields { - border-top: #EEEEEE solid 1px; -} -.acf-field.acf-accordion .acf-accordion-content > .acf-fields.-clear { - padding: 0 12px 15px; -} -/* field specific (left) */ -.acf-fields.-left > .acf-field.acf-accordion { - padding: 0 !important; -} -.acf-fields.-left > .acf-field.acf-accordion:before { - display: none; -} -.acf-fields.-left > .acf-field.acf-accordion .acf-accordion-title { - width: auto; - margin: 0 !important; - padding: 12px; - float: none !important; -} -.acf-fields.-left > .acf-field.acf-accordion .acf-accordion-content { - padding: 0 !important; -} -/* field specific (clear) */ -.acf-fields.-clear > .acf-field.acf-accordion { - border: #cccccc solid 1px; - background: transparent; -} -.acf-fields.-clear > .acf-field.acf-accordion + .acf-field.acf-accordion { - margin-top: -16px; -} -/* table */ -tr.acf-field.acf-accordion { - background: transparent; -} -tr.acf-field.acf-accordion > .acf-input { - padding: 0 !important; - border: #cccccc solid 1px; -} -tr.acf-field.acf-accordion .acf-accordion-content { - padding: 0 12px 12px; -} -/* #addtag */ -#addtag div.acf-field.error { - border: 0 none; - padding: 8px 0; -} -#addtag > .acf-field.acf-accordion { - padding-right: 0; - margin-right: 5%; -} -#addtag > .acf-field.acf-accordion + p.submit { - margin-top: 0; -} -/* border */ -tr.acf-accordion { - margin: 15px 0 !important; -} -tr.acf-accordion + tr.acf-accordion { - margin-top: -16px !important; -} -/* seamless */ -.acf-postbox.seamless > .acf-fields > .acf-accordion { - margin-left: 12px !important; - margin-right: 12px !important; -} -/* rtl */ -/* menu item */ -/* -.menu-item-settings > .field-acf > .acf-field.acf-accordion { - border: #dfdfdf solid 1px; - margin: 10px -13px 10px -11px; - - + .acf-field.acf-accordion { - margin-top: -11px; - } -} -*/ -/* widget */ -.widget .widget-content > .acf-field.acf-accordion { - border: #dfdfdf solid 1px; - margin-bottom: 10px; -} -.widget .widget-content > .acf-field.acf-accordion .acf-accordion-title { - margin-bottom: 0; -} -.widget .widget-content > .acf-field.acf-accordion + .acf-field.acf-accordion { - margin-top: -11px; -} -.acf-postbox.seamless > .acf-fields > .acf-field.acf-accordion { - border: #e5e5e5 solid 1px; -} -.acf-postbox.seamless > .acf-fields > .acf-field.acf-accordion + .acf-field.acf-accordion { - margin-top: -1px; -} -.media-modal .compat-attachment-fields .acf-field.acf-accordion + .acf-field.acf-accordion { - margin-top: -1px; -} -.media-modal .compat-attachment-fields .acf-field.acf-accordion > .acf-input { - width: 100%; -} -.media-modal .compat-attachment-fields .acf-field.acf-accordion .compat-attachment-fields > tbody > tr > td { - padding-bottom: 5px; -} -/*--------------------------------------------------------------------------------------------- -* -* Attachment Form (single page) -* -*---------------------------------------------------------------------------------------------*/ -#post .compat-attachment-fields .compat-field-acf-form-data { - display: none; -} -#post .compat-attachment-fields, -#post .compat-attachment-fields > tbody, -#post .compat-attachment-fields > tbody > tr, -#post .compat-attachment-fields > tbody > tr > th, -#post .compat-attachment-fields > tbody > tr > td { - display: block; -} -#post .compat-attachment-fields > tbody > .acf-field { - margin: 15px 0; -} -#post .compat-attachment-fields > tbody > .acf-field > .acf-label { - margin: 0; -} -#post .compat-attachment-fields > tbody > .acf-field > .acf-label label { - margin: 0; - padding: 0; -} -#post .compat-attachment-fields > tbody > .acf-field > .acf-label label p { - margin: 0 0 3px !important; -} -#post .compat-attachment-fields > tbody > .acf-field > .acf-input { - margin: 0; -} -/*--------------------------------------------------------------------------------------------- -* -* Media Model -* -*---------------------------------------------------------------------------------------------*/ -/* WP sets tables to act as divs. ACF uses tables, so these muct be reset */ -.media-modal .compat-attachment-fields td.acf-input table { - display: table; - table-layout: auto; -} -.media-modal .compat-attachment-fields td.acf-input table tbody { - display: table-row-group; -} -.media-modal .compat-attachment-fields td.acf-input table tr { - display: table-row; -} -.media-modal .compat-attachment-fields td.acf-input table td, -.media-modal .compat-attachment-fields td.acf-input table th { - display: table-cell; -} -/* field widths floats */ -.media-modal .compat-attachment-fields > tbody > .acf-field { - margin: 5px 0; -} -.media-modal .compat-attachment-fields > tbody > .acf-field > .acf-label { - min-width: 30%; - margin: 0; - padding: 0; - text-align: right; - display: block; - float: left; -} -.media-modal .compat-attachment-fields > tbody > .acf-field > .acf-label > label { - padding-top: 6px; - margin: 0; - color: #666666; - font-weight: 400; - line-height: 16px; -} -.media-modal .compat-attachment-fields > tbody > .acf-field > .acf-input { - width: 65%; - margin: 0; - padding: 0; - float: right; - display: block; -} -.media-modal .compat-attachment-fields > tbody > .acf-field p.description { - margin: 0; -} -/* restricted selection (copy of WP .upload-errors)*/ -.acf-selection-error { - background: #ffebe8; - border: 1px solid #c00; - border-radius: 3px; - padding: 8px; - margin: 20px 0 0; -} -.acf-selection-error .selection-error-label { - background: #CC0000; - border-radius: 3px; - color: #fff; - font-weight: bold; - margin-right: 8px; - padding: 2px 4px; -} -.acf-selection-error .selection-error-message { - color: #b44; - display: block; - padding-top: 8px; - word-wrap: break-word; - white-space: pre-wrap; -} -/* disabled attachment */ -.media-modal .attachment.acf-disabled .thumbnail { - opacity: 0.25 !important; -} -.media-modal .attachment.acf-disabled .attachment-preview:before { - background: rgba(0, 0, 0, 0.15); - z-index: 1; - position: relative; -} -/* misc */ -.media-modal { - /* compat-item */ - /* allow line breaks in upload error */ - /* fix required span */ - /* sidebar */ - /* mobile md */ -} -.media-modal .compat-field-acf-form-data, -.media-modal .compat-field-acf-blank { - display: none !important; -} -.media-modal .upload-error-message { - white-space: pre-wrap; -} -.media-modal .acf-required { - padding: 0 !important; - margin: 0 !important; - float: none !important; - color: #f00 !important; -} -.media-modal .media-sidebar .compat-item { - padding-bottom: 20px; -} -@media (max-width: 900px) { - .media-modal { - /* label */ - /* field */ - } - .media-modal .setting span, - .media-modal .compat-attachment-fields > tbody > .acf-field > .acf-label { - width: 98%; - float: none; - text-align: left; - min-height: 0; - padding: 0; - } - .media-modal .setting input, - .media-modal .setting textarea, - .media-modal .compat-attachment-fields > tbody > .acf-field > .acf-input { - float: none; - height: auto; - max-width: none; - width: 98%; - } -} -/*--------------------------------------------------------------------------------------------- -* -* Media Model (expand details) -* -*---------------------------------------------------------------------------------------------*/ -.media-modal .acf-expand-details { - float: right; - padding: 1px 10px; - margin-right: 6px; - height: 18px; - line-height: 18px; - color: #AAAAAA; - font-size: 12px; - /* mobile sm */ -} -.media-modal .acf-expand-details:focus, -.media-modal .acf-expand-details:active { - outline: 0 none; - box-shadow: none; - color: #AAAAAA; -} -.media-modal .acf-expand-details:hover { - color: #666666 !important; -} -.media-modal .acf-expand-details span { - display: block; - float: left; -} -.media-modal .acf-expand-details .acf-icon { - margin: 0 4px 0 0; -} -.media-modal .acf-expand-details:hover .acf-icon { - border-color: #AAAAAA; -} -.media-modal .acf-expand-details .is-open { - display: none; -} -.media-modal .acf-expand-details .is-closed { - display: block; -} -@media (max-width: 640px) { - .media-modal .acf-expand-details { - display: none; - } -} -/* expanded */ -.media-modal.acf-expanded { - /* toggle */ - /* resize */ - /* label & fields */ - /* mobile md */ -} -.media-modal.acf-expanded .acf-expand-details .is-open { - display: block; -} -.media-modal.acf-expanded .acf-expand-details .is-closed { - display: none; -} -.media-modal.acf-expanded .attachments-browser .media-toolbar, -.media-modal.acf-expanded .attachments-browser .attachments { - right: 740px; -} -.media-modal.acf-expanded .media-sidebar { - width: 708px; -} -.media-modal.acf-expanded .media-sidebar { - /* label */ - /* field */ - /* larger thumbnail */ -} -.media-modal.acf-expanded .media-sidebar .attachment-info .thumbnail, -.media-modal.acf-expanded .media-sidebar .setting span, -.media-modal.acf-expanded .media-sidebar .compat-attachment-fields > tbody > .acf-field > .acf-label { - min-width: 20%; -} -.media-modal.acf-expanded .media-sidebar .attachment-info .details, -.media-modal.acf-expanded .media-sidebar .setting input, -.media-modal.acf-expanded .media-sidebar .setting textarea, -.media-modal.acf-expanded .media-sidebar .compat-attachment-fields > tbody > .acf-field > .acf-input { - min-width: 77%; -} -.media-modal.acf-expanded .media-sidebar .setting span { - margin-right: 2%; -} -.media-modal.acf-expanded .media-sidebar .attachment-info .thumbnail { - max-height: none; -} -.media-modal.acf-expanded .media-sidebar .attachment-info .thumbnail img { - max-width: 100%; - max-height: 200px; -} -.media-modal.acf-expanded .media-sidebar .attachment-info .details { - float: right; -} -@media (max-width: 900px) { - .media-modal.acf-expanded { - /* resize */ - } - .media-modal.acf-expanded .attachments-browser .media-toolbar { - display: none; - } - .media-modal.acf-expanded .attachments { - display: none; - } - .media-modal.acf-expanded .media-sidebar { - width: auto; - max-width: none !important; - } - .media-modal.acf-expanded .media-sidebar .attachment-info .thumbnail { - min-width: 30%; - margin: 0; - } - .media-modal.acf-expanded .media-sidebar .attachment-info .details { - min-width: 67%; - } -} -/*--------------------------------------------------------------------------------------------- -* -* ACF Media Model -* -*---------------------------------------------------------------------------------------------*/ -.acf-media-modal { - /* hide embed settings */ -} -.acf-media-modal .media-embed .setting.align, -.acf-media-modal .media-embed .setting.link-to { - display: none; -} -@media screen and (min-width: 1024px) { - .acf-media-modal .media-modal-content .media-frame .media-toolbar-secondary { - max-width: none; - } - .acf-media-modal .media-modal-content .media-frame .media-toolbar-secondary select.attachment-filters { - width: auto; - min-width: 150px; - max-width: none; - margin: 11px 6px 0 0; - vertical-align: middle; - } -} -/*--------------------------------------------------------------------------------------------- -* -* ACF Media Model (Select Mode) -* -*---------------------------------------------------------------------------------------------*/ -/*--------------------------------------------------------------------------------------------- -* -* ACF Media Model (Edit Mode) -* -*---------------------------------------------------------------------------------------------*/ -.acf-media-modal.-edit { - /* resize modal */ - left: 15%; - right: 15%; - top: 100px; - bottom: 100px; - /* hide elements */ - /* full width */ - /* tidy up incorrect distance */ - /* title box shadow (to match media grid) */ - /* sidebar */ - /* mobile md */ - /* mobile sm */ -} -.acf-media-modal.-edit .media-frame-menu, -.acf-media-modal.-edit .media-frame-router, -.acf-media-modal.-edit .media-frame-content .attachments, -.acf-media-modal.-edit .media-frame-content .media-toolbar { - display: none; -} -.acf-media-modal.-edit .media-frame-title, -.acf-media-modal.-edit .media-frame-content, -.acf-media-modal.-edit .media-frame-toolbar, -.acf-media-modal.-edit .media-sidebar { - width: auto; - left: 0; - right: 0; -} -.acf-media-modal.-edit .media-frame-content { - top: 50px; -} -.acf-media-modal.-edit .media-frame-title { - border-bottom: 1px solid #DFDFDF; - box-shadow: 0 4px 4px -4px rgba(0, 0, 0, 0.1); -} -.acf-media-modal.-edit .media-sidebar { - padding: 0 16px; - /* WP details */ - /* ACF fields */ - /* WP required message */ -} -.acf-media-modal.-edit .media-sidebar .attachment-details { - overflow: visible; - /* hide 'Attachment Details' heading */ - /* remove overflow */ - /* move thumbnail */ -} -.acf-media-modal.-edit .media-sidebar .attachment-details > h3, -.acf-media-modal.-edit .media-sidebar .attachment-details > h2 { - display: none; -} -.acf-media-modal.-edit .media-sidebar .attachment-details .attachment-info { - background: #fff; - border-bottom: #dddddd solid 1px; - padding: 16px; - margin: 0 -16px 16px; -} -.acf-media-modal.-edit .media-sidebar .attachment-details .thumbnail { - margin: 0 16px 0 0; -} -.acf-media-modal.-edit .media-sidebar .attachment-details .setting { - display: block; - overflow: hidden; - float: none; - width: auto; - margin: 0 0 5px; -} -.acf-media-modal.-edit .media-sidebar .attachment-details .setting span { - margin: 0; -} -.acf-media-modal.-edit .media-sidebar .compat-attachment-fields > tbody > .acf-field { - margin: 0 0 5px; -} -.acf-media-modal.-edit .media-sidebar .compat-attachment-fields > tbody > .acf-field p.description { - margin-top: 3px; -} -.acf-media-modal.-edit .media-sidebar .media-types-required-info { - display: none; -} -@media (max-width: 900px) { - .acf-media-modal.-edit { - top: 30px; - right: 30px; - bottom: 30px; - left: 30px; - } -} -@media (max-width: 640px) { - .acf-media-modal.-edit { - top: 0; - right: 0; - bottom: 0; - left: 0; - } - .acf-media-modal.-edit .media-sidebar { - bottom: 0 !important; - } -} -/*-------------------------------------------------------------------------------------------- -* -* User -* -*--------------------------------------------------------------------------------------------*/ -.form-table > tbody { - /* field */ - /* tab wrap */ - /* misc */ -} -.form-table > tbody > .acf-field { - /* label */ - /* input */ -} -.form-table > tbody > .acf-field > .acf-label { - padding: 20px 10px 20px 0; - width: 210px; - /* rtl */ -} -html[dir="rtl"] .form-table > tbody > .acf-field > .acf-label { - padding: 20px 0 20px 10px; -} -.form-table > tbody > .acf-field > .acf-label label { - font-size: 14px; - color: #23282d; -} -.form-table > tbody > .acf-field > .acf-input { - padding: 15px 10px; - /* rtl */ -} -html[dir="rtl"] .form-table > tbody > .acf-field > .acf-input { - padding: 15px 10px 15px 5%; -} -.form-table > tbody > .acf-tab-wrap td { - padding: 15px 5% 15px 0; - /* rtl */ -} -html[dir="rtl"] .form-table > tbody > .acf-tab-wrap td { - padding: 15px 0 15px 5%; -} -.form-table > tbody .form-table th.acf-th { - width: auto; -} -#your-profile, -#createuser { - /* override for user css */ - /* allow sub fields to display correctly */ -} -#your-profile .acf-field input[type="text"], -#createuser .acf-field input[type="text"], -#your-profile .acf-field input[type="password"], -#createuser .acf-field input[type="password"], -#your-profile .acf-field input[type="number"], -#createuser .acf-field input[type="number"], -#your-profile .acf-field input[type="search"], -#createuser .acf-field input[type="search"], -#your-profile .acf-field input[type="email"], -#createuser .acf-field input[type="email"], -#your-profile .acf-field input[type="url"], -#createuser .acf-field input[type="url"], -#your-profile .acf-field select, -#createuser .acf-field select { - max-width: 25em; -} -#your-profile .acf-field textarea, -#createuser .acf-field textarea { - max-width: 500px; -} -#your-profile .acf-field .acf-field input[type="text"], -#createuser .acf-field .acf-field input[type="text"], -#your-profile .acf-field .acf-field input[type="password"], -#createuser .acf-field .acf-field input[type="password"], -#your-profile .acf-field .acf-field input[type="number"], -#createuser .acf-field .acf-field input[type="number"], -#your-profile .acf-field .acf-field input[type="search"], -#createuser .acf-field .acf-field input[type="search"], -#your-profile .acf-field .acf-field input[type="email"], -#createuser .acf-field .acf-field input[type="email"], -#your-profile .acf-field .acf-field input[type="url"], -#createuser .acf-field .acf-field input[type="url"], -#your-profile .acf-field .acf-field textarea, -#createuser .acf-field .acf-field textarea, -#your-profile .acf-field .acf-field select, -#createuser .acf-field .acf-field select { - max-width: none; -} -#registerform h2 { - margin: 1em 0; -} -#registerform .acf-field .acf-label { - margin-bottom: 0; -} -#registerform .acf-field .acf-label label { - font-weight: normal; - font-size: 14px; -} -#registerform p.submit { - text-align: right; -} -/*-------------------------------------------------------------------------------------------- -* -* Term -* -*--------------------------------------------------------------------------------------------*/ -#acf-term-fields { - padding-right: 5%; -} -#acf-term-fields > .acf-field > .acf-label { - margin: 0; -} -#acf-term-fields > .acf-field > .acf-label label { - font-size: 12px; - font-weight: normal; -} -p.submit .spinner, -p.submit .acf-spinner { - vertical-align: top; - float: none; - margin: 4px 4px 0; -} -#edittag .acf-fields.-left > .acf-field { - padding-left: 220px; -} -#edittag .acf-fields.-left > .acf-field:before { - width: 209px; -} -#edittag .acf-fields.-left > .acf-field > .acf-label { - width: 220px; - margin-left: -220px; - padding: 0 10px; -} -#edittag .acf-fields.-left > .acf-field > .acf-input { - padding: 0; -} -#edittag > .acf-fields.-left { - width: 96%; -} -#edittag > .acf-fields.-left > .acf-field > .acf-label { - padding-left: 0; -} -/*-------------------------------------------------------------------------------------------- -* -* Comment -* -*--------------------------------------------------------------------------------------------*/ -.editcomment td:first-child { - white-space: nowrap; - width: 131px; -} -/*-------------------------------------------------------------------------------------------- -* -* Widget -* -*--------------------------------------------------------------------------------------------*/ -#widgets-right .widget .acf-field .description { - padding-left: 0; - padding-right: 0; -} -.acf-widget-fields > .acf-field .acf-label { - margin-bottom: 5px; -} -.acf-widget-fields > .acf-field .acf-label label { - font-weight: normal; - margin: 0; -} -/*-------------------------------------------------------------------------------------------- -* -* Nav Menu -* -*--------------------------------------------------------------------------------------------*/ -.acf-menu-settings { - border-top: 1px solid #eee; - margin-top: 2em; -} -.acf-menu-settings.-seamless { - border-top: none; - margin-top: 15px; -} -.acf-menu-settings.-seamless > h2 { - display: none; -} -.acf-menu-item-fields { - margin-right: 10px; - float: left; -} -/*-------------------------------------------------------------------------------------------- -* -* Confirm remove -* -*--------------------------------------------------------------------------------------------*/ -.acf-temp-remove { - position: relative; - opacity: 1; - -webkit-transition: all 0.25s ease; - -moz-transition: all 0.25s ease; - -o-transition: all 0.25s ease; - transition: all 0.25s ease; - overflow: hidden; - /* overlay prevents hover */ -} -.acf-temp-remove:after { - display: block; - content: ""; - position: absolute; - top: 0; - left: 0; - right: 0; - bottom: 0; - z-index: 99; -} -/*-------------------------------------------------------------------------- -* -* Conditional Logic -* -*-------------------------------------------------------------------------*/ -/* Hide */ -.hidden-by-conditional-logic { - display: none !important; -} -/* Hide (appear empty) */ -.hidden-by-conditional-logic.appear-empty { - display: table-cell !important; -} -.hidden-by-conditional-logic.appear-empty .acf-input { - display: none !important; -} -/*-------------------------------------------------------------------------- -* -* 3rd Party -* -*-------------------------------------------------------------------------*/ -/* Tabify shows hidden postboxes */ -.acf-postbox.acf-hidden { - display: none !important; -} +.acf-field,.acf-field .acf-label,.acf-field .acf-input{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;position:relative}.acf-field{margin:15px 0;clear:both}.acf-field p.description{display:block;margin:0;padding:0}.acf-field .acf-label{vertical-align:top;margin:0 0 10px}.acf-field .acf-label label{display:block;font-weight:bold;margin:0 0 3px;padding:0}.acf-field .acf-label:empty{margin-bottom:0}.acf-field .acf-input{vertical-align:top}.acf-field .acf-input>p.description{margin-top:5px}.acf-field .acf-notice{margin:0 0 15px;background:#edf2ff;color:#2183b9;border:none}.acf-field .acf-notice .acf-notice-dismiss{background:transparent;color:inherit}.acf-field .acf-notice .acf-notice-dismiss:hover{background:#fff}.acf-field .acf-notice.-dismiss{padding-right:40px}.acf-field .acf-notice.-error{background:#ffe6e6;color:#d12626}.acf-field .acf-notice.-success{background:#eefbe8;color:#32a23b}.acf-field .acf-notice.-warning{background:#fff3e6;color:#d16226}td.acf-field,tr.acf-field{margin:0}.acf-field[data-width]{float:left;clear:none}.acf-field[data-width]+.acf-field[data-width]{border-left:1px solid #eeeeee}html[dir="rtl"] .acf-field[data-width]{float:right}html[dir="rtl"] .acf-field[data-width]+.acf-field[data-width]{border-left:none;border-right:1px solid #eeeeee}td.acf-field[data-width],tr.acf-field[data-width]{float:none}.acf-field.-c0{clear:both;border-left-width:0 !important}html[dir="rtl"] .acf-field.-c0{border-left-width:1px !important;border-right-width:0 !important}.acf-field.-r0{border-top-width:0 !important}.acf-fields{position:relative}.acf-fields:after{display:block;clear:both;content:""}.acf-fields.-border{border:#dfdfdf solid 1px;background:#fff}.acf-fields>.acf-field{position:relative;margin:0;padding:15px 12px;border-top:#EEEEEE solid 1px}.acf-fields>.acf-field:first-child{border-top-width:0}td.acf-fields{padding:0 !important}.acf-fields.-clear>.acf-field{border:none;padding:0;margin:15px 0}.acf-fields.-clear>.acf-field[data-width]{border:none !important}.acf-fields.-clear>.acf-field>.acf-label{padding:0}.acf-fields.-clear>.acf-field>.acf-input{padding:0}.acf-fields.-left>.acf-field{padding:15px 0}.acf-fields.-left>.acf-field:after{display:block;clear:both;content:""}.acf-fields.-left>.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%}.acf-fields.-left>.acf-field[data-width]{float:none;width:auto !important;border-left-width:0 !important;border-right-width:0 !important}.acf-fields.-left>.acf-field>.acf-label{float:left;width:20%;margin:0;padding:0 12px}.acf-fields.-left>.acf-field>.acf-input{float:left;width:80%;margin:0;padding:0 12px}html[dir="rtl"] .acf-fields.-left>.acf-field:before{border-width:0 0 0 1px;left:auto;right:0}html[dir="rtl"] .acf-fields.-left>.acf-field>.acf-label{float:right}html[dir="rtl"] .acf-fields.-left>.acf-field>.acf-input{float:right}@media screen and (max-width: 640px){.acf-fields.-left>.acf-field:before{display:none}.acf-fields.-left>.acf-field>.acf-label{width:100%;margin-bottom:10px}.acf-fields.-left>.acf-field>.acf-input{width:100%}}.acf-fields.-clear.-left>.acf-field{padding:0;border:none}.acf-fields.-clear.-left>.acf-field:before{display:none}.acf-fields.-clear.-left>.acf-field>.acf-label{padding:0}.acf-fields.-clear.-left>.acf-field>.acf-input{padding:0}.acf-table tr.acf-field>td.acf-label{padding:15px 12px;margin:0;background:#F9F9F9;width:20%}.acf-table tr.acf-field>td.acf-input{padding:15px 12px;margin:0;border-left-color:#E1E1E1}.acf-sortable-tr-helper{position:relative !important;display:table-row !important}.acf-postbox{position:relative}.acf-postbox>.inside{margin:0 !important;padding:0 !important}.acf-postbox>.hndle .acf-hndle-cog{color:#AAAAAA;font-size:16px;line-height:20px;padding:0 2px;float:right;position:relative;display:none}.acf-postbox>.hndle .acf-hndle-cog:hover{color:#777777}.acf-postbox:hover>.hndle .acf-hndle-cog{display:block}.acf-postbox .acf-replace-with-fields{padding:15px;text-align:center}#post-body-content #acf_after_title-sortables{margin:20px 0 -20px}.acf-postbox.seamless{border:0 none;background:transparent;box-shadow:none}.acf-postbox.seamless>.hndle,.acf-postbox.seamless>.handlediv{display:none !important}.acf-postbox.seamless>.inside{display:block !important;margin-left:-12px !important;margin-right:-12px !important}.acf-postbox.seamless>.inside>.acf-field{border-color:transparent}.acf-postbox.seamless>.acf-fields.-left>.acf-field:before{display:none}@media screen and (max-width: 782px){.acf-postbox.seamless>.acf-fields.-left>.acf-field>.acf-label,.acf-postbox.seamless>.acf-fields.-left>.acf-field>.acf-input{padding:0}}.acf-field input[type="text"],.acf-field input[type="password"],.acf-field input[type="number"],.acf-field input[type="search"],.acf-field input[type="email"],.acf-field input[type="url"],.acf-field textarea,.acf-field select{width:100%;padding:3px 5px;resize:none;margin:0;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;font-size:14px;line-height:1.4}.acf-field input[type="text"]:disabled,.acf-field input[type="password"]:disabled,.acf-field input[type="number"]:disabled,.acf-field input[type="search"]:disabled,.acf-field input[type="email"]:disabled,.acf-field input[type="url"]:disabled,.acf-field textarea:disabled,.acf-field select:disabled{background:#f8f8f8}.acf-field input[type="text"][readonly],.acf-field input[type="password"][readonly],.acf-field input[type="number"][readonly],.acf-field input[type="search"][readonly],.acf-field input[type="email"][readonly],.acf-field input[type="url"][readonly],.acf-field textarea[readonly],.acf-field select[readonly]{background:#f8f8f8}.acf-field textarea{resize:vertical}.acf-input-prepend,.acf-input-append{font-size:13px;line-height:20px;height:20px;padding:3px 7px;background:#F4F4F4;border:#DFDFDF solid 1px}.acf-input-prepend{float:left;border-right-width:0;border-radius:3px 0 0 3px}.acf-input-append{float:right;border-left-width:0;border-radius:0 3px 3px 0}.acf-input-wrap{position:relative;overflow:hidden}.acf-input-wrap input{height:28px;margin:0}input.acf-is-prepended{border-radius:0 3px 3px 0 !important}input.acf-is-appended{border-radius:3px 0 0 3px !important}input.acf-is-prepended.acf-is-appended{border-radius:0 !important}html[dir="rtl"] .acf-input-prepend{border-left-width:0;border-right-width:1px;border-radius:0 3px 3px 0;float:right}html[dir="rtl"] .acf-input-append{border-left-width:1px;border-right-width:0;border-radius:3px 0 0 3px;float:left}html[dir="rtl"] input.acf-is-prepended{border-radius:3px 0 0 3px !important}html[dir="rtl"] input.acf-is-appended{border-radius:0 3px 3px 0 !important}html[dir="rtl"] input.acf-is-prepended.acf-is-appended{border-radius:0 !important}.acf-color-picker .wp-picker-active{position:relative;z-index:1}.acf-url i{position:absolute;top:4px;left:4px;opacity:0.5;color:#A9A9A9}.acf-url input[type="url"]{padding-left:25px}.acf-url.-valid i{opacity:1}.acf-field select{padding:2px}.acf-field select optgroup{padding:5px;background:#fff}.acf-field select option{padding:3px}.acf-field select optgroup option{padding-left:5px}.acf-field select optgroup:nth-child(2n){background:#F9F9F9}.acf-field .select2-input{max-width:200px}.select2-container.-acf .select2-choices{background:#fff;border-color:#ddd;box-shadow:0 1px 2px rgba(0,0,0,0.07) inset;min-height:31px}.select2-container.-acf .select2-choices .select2-search-choice{margin:5px 0 5px 5px;padding:3px 5px 3px 18px;border-color:#bbb;background:#f9f9f9;box-shadow:0 1px 0 rgba(255,255,255,0.25) inset}.select2-container.-acf .select2-choices .select2-search-choice.ui-sortable-helper{background:#5897fb;border-color:#3f87fa;color:#fff;box-shadow:0 0 3px rgba(0,0,0,0.1)}.select2-container.-acf .select2-choices .select2-search-choice.ui-sortable-helper a{visibility:hidden}.select2-container.-acf .select2-choices .select2-search-choice.ui-sortable-placeholder{background-color:#f7f7f7;border-color:#f7f7f7;visibility:visible !important}.select2-container.-acf .select2-choices .select2-search-choice-focus{border-color:#999}.select2-container.-acf .select2-choices .select2-search-field input{height:31px;line-height:22px;margin:0;padding:5px 5px 5px 7px}.select2-container.-acf .select2-choice{border-color:#BBBBBB}.select2-container.-acf .select2-choice .select2-arrow{background:transparent;border-left-color:#DFDFDF;padding-left:1px}.select2-container.-acf .select2-choice .select2-result-description{display:none}.select2-container.-acf.select2-container-active .select2-choices,.select2-container.-acf.select2-dropdown-open .select2-choices{border-color:#5B9DD9;border-radius:3px 3px 0 0}.select2-container.-acf.select2-dropdown-open .select2-choice{background:#fff;border-color:#5B9DD9}html[dir="rtl"] .select2-container.-acf .select2-search-choice-close{left:24px}html[dir="rtl"] .select2-container.-acf .select2-choice>.select2-chosen{margin-left:42px}html[dir="rtl"] .select2-container.-acf .select2-choice .select2-arrow{padding-left:0;padding-right:1px}.select2-drop .select2-search{padding:4px 4px 0}.select2-drop .select2-result .select2-result-description{color:#999;font-size:12px;margin-left:5px}.select2-drop .select2-result.select2-highlighted .select2-result-description{color:#fff;opacity:0.75}.select2-container.-acf li{margin-bottom:0}.select2-container--default.-acf .select2-selection--multiple .select2-search--inline:first-child{float:none}.select2-container--default.-acf .select2-selection--multiple .select2-search--inline:first-child input{width:100% !important}.select2-container--default.-acf .select2-selection--multiple .select2-selection__rendered{padding-right:0}.select2-container--default.-acf .select2-selection--multiple .select2-selection__choice{background-color:#f7f7f7;border-color:#cccccc;max-width:100%;overflow:hidden;word-wrap:normal !important;white-space:normal}.select2-container--default.-acf .select2-selection--multiple .select2-selection__choice.ui-sortable-helper{background:#5897fb;border-color:#3f87fa;color:#fff;box-shadow:0 0 3px rgba(0,0,0,0.1)}.select2-container--default.-acf .select2-selection--multiple .select2-selection__choice.ui-sortable-helper span{visibility:hidden}.select2-container--default.-acf .select2-selection--multiple .select2-selection__choice.ui-sortable-placeholder{background-color:#f7f7f7;border-color:#f7f7f7;visibility:visible !important}.select2-container .select2-dropdown{z-index:900000}.link-wrap{border:#dddddd solid 1px;border-radius:3px;padding:5px;line-height:26px;background:#fff;word-wrap:break-word;word-break:break-all}.link-wrap .link-title{padding:0 5px}.acf-link .link-wrap,.acf-link .acf-icon.-link-ext{display:none}.acf-link.-value .button{display:none}.acf-link.-value .link-wrap{display:inline-block}.acf-link.-external .acf-icon.-link-ext{display:inline-block}#wp-link-backdrop{z-index:900000 !important}#wp-link-wrap{z-index:900001 !important}ul.acf-radio-list,ul.acf-checkbox-list{background:transparent;position:relative;padding:1px;margin:0}ul.acf-radio-list li,ul.acf-checkbox-list li{font-size:13px;line-height:22px;margin:0;position:relative;word-wrap:break-word}ul.acf-radio-list li label,ul.acf-checkbox-list li label{display:inline}ul.acf-radio-list li input[type="checkbox"],ul.acf-radio-list li input[type="radio"],ul.acf-checkbox-list li input[type="checkbox"],ul.acf-checkbox-list li input[type="radio"]{margin:-1px 4px 0 0;vertical-align:middle}ul.acf-radio-list li input[type="text"],ul.acf-checkbox-list li input[type="text"]{width:auto;vertical-align:middle;margin:2px 0}ul.acf-radio-list li span,ul.acf-checkbox-list li span{float:none}ul.acf-radio-list li i,ul.acf-checkbox-list li i{vertical-align:middle}ul.acf-radio-list.acf-hl li,ul.acf-checkbox-list.acf-hl li{margin-right:20px;clear:none}html[dir="rtl"] ul.acf-radio-list input[type="checkbox"],html[dir="rtl"] ul.acf-radio-list input[type="radio"],html[dir="rtl"] ul.acf-checkbox-list input[type="checkbox"],html[dir="rtl"] ul.acf-checkbox-list input[type="radio"]{margin-left:4px;margin-right:0}.acf-button-group{display:inline-block}.acf-button-group label{display:inline-block;border:#ccc solid 1px;position:relative;z-index:1;padding:5px 10px;background:#fff}.acf-button-group label:hover{border-color:#999;z-index:2}.acf-button-group label.selected{border-color:#2b9af3;background:#309cf3;color:#fff;z-index:2}.acf-button-group label.selected:hover{background:#48a8f4}.acf-button-group input{display:none !important}.acf-button-group{padding-left:1px;display:inline-flex;flex-direction:row;flex-wrap:nowrap}.acf-button-group label{margin:0 0 0 -1px;flex:1;text-align:center;white-space:nowrap}.acf-button-group label:first-child{border-radius:3px 0 0 3px}html[dir="rtl"] .acf-button-group label:first-child{border-radius:0 3px 3px 0}.acf-button-group label:last-child{border-radius:0 3px 3px 0}html[dir="rtl"] .acf-button-group label:last-child{border-radius:3px 0 0 3px}.acf-button-group label:only-child{border-radius:3px}.acf-button-group.-vertical{padding-left:0;padding-top:1px;flex-direction:column}.acf-button-group.-vertical label{margin:-1px 0 0 0}.acf-button-group.-vertical label:first-child{border-radius:3px 3px 0 0}.acf-button-group.-vertical label:last-child{border-radius:0 0 3px 3px}.acf-button-group.-vertical label:only-child{border-radius:3px}.acf-checkbox-list .button{margin:10px 0 0}.acf-switch{display:inline-block;border-radius:5px;cursor:pointer;position:relative;background:#f8f8f8;height:30px;vertical-align:middle;border:#ccc solid 1px;-webkit-transition:background 0.25s ease;-moz-transition:background 0.25s ease;-o-transition:background 0.25s ease;transition:background 0.25s ease}.acf-switch span{display:inline-block;float:left;text-align:center;font-size:13px;line-height:22px;padding:4px 10px;min-width:15px}.acf-switch span i{vertical-align:middle}.acf-switch .acf-switch-on{color:#fff;text-shadow:#1f7db1 0 1px 0}.acf-switch .acf-switch-slider{position:absolute;top:2px;left:2px;bottom:2px;right:50%;z-index:1;background:#fff;border-radius:3px;border:#ccc solid 1px;-webkit-transition:all 0.25s ease;-moz-transition:all 0.25s ease;-o-transition:all 0.25s ease;transition:all 0.25s ease;transition-property:left, right}.acf-switch:hover .acf-switch-slider{border-color:#b3b3b3}.acf-switch.-on{background:#309cf3;border-color:#2b9af3}.acf-switch.-on .acf-switch-slider{left:50%;right:2px;border-color:#0d84e3}.acf-switch.-on:hover{background:#48a8f4}.acf-switch.-focus .acf-switch-slider{border-color:#5b9dd9;box-shadow:0 0 2px rgba(30,140,190,0.5)}.acf-switch.-focus.-on .acf-switch-slider{border-color:#185e85;box-shadow:0 0 2px #1f7db1}.acf-switch+span{margin-left:6px}.acf-switch-input{opacity:0;position:absolute;margin:0}.compat-item .acf-true-false .message{float:none;padding:0;vertical-align:middle}.acf-google-map{position:relative;border:#DFDFDF solid 1px;background:#fff}.acf-google-map .title{position:relative;border-bottom:#DFDFDF solid 1px}.acf-google-map .title .search{margin:0;font-size:14px;line-height:30px;height:40px;padding:5px 10px;border:0 none;box-shadow:none;border-radius:0;font-family:inherit;cursor:text}.acf-google-map .title .acf-loading{position:absolute;top:10px;right:11px;display:none}.acf-google-map .title:hover .acf-actions{display:block}.acf-google-map .canvas{height:400px}.acf-google-map .title .acf-icon.-location{display:inline-block}.acf-google-map .title .acf-icon.-cancel{display:none}.acf-google-map .title .acf-icon.-search{display:none}.acf-google-map.-search .title .acf-icon.-location{display:none}.acf-google-map.-search .title .acf-icon.-cancel{display:inline-block}.acf-google-map.-search .title .acf-icon.-search{display:inline-block}.acf-google-map.-value .title .search{font-weight:bold}.acf-google-map.-value .title .acf-icon.-location{display:none}.acf-google-map.-value .title .acf-icon.-cancel{display:inline-block}.acf-google-map.-value .title .acf-icon.-search{display:none}.acf-google-map.-loading .title a{display:none !important}.acf-google-map.-loading .title i{display:inline-block}.pac-container{border-width:1px 0;box-shadow:none}.pac-container:after{display:none}.pac-container .pac-item:first-child{border-top:0 none}.pac-container .pac-item{padding:5px 10px;cursor:pointer}html[dir="rtl"] .pac-container .pac-item{text-align:right}.acf-relationship{background:#fff}.acf-relationship .filters{border:#DFDFDF solid 1px;background:#fff}.acf-relationship .filters:after{display:block;clear:both;content:""}.acf-relationship .filters .filter{margin:0;padding:0;float:left;width:100%}.acf-relationship .filters .filter span{display:block;padding:7px 7px 7px 0}.acf-relationship .filters .filter:first-child span{padding-left:7px}.acf-relationship .filters .filter input,.acf-relationship .filters .filter select{height:28px;line-height:28px;padding:2px;width:100%;margin:0;float:none}.acf-relationship .filters .filter input:focus,.acf-relationship .filters .filter input:active,.acf-relationship .filters .filter select:focus,.acf-relationship .filters .filter select:active{outline:none;box-shadow:none}.acf-relationship .filters .filter input{border-color:transparent;box-shadow:none}.acf-relationship .filters.-f2 .filter{width:50%}.acf-relationship .filters.-f3 .filter{width:25%}.acf-relationship .filters.-f3 .filter.-search{width:50%}.acf-relationship .list{margin:0;padding:5px;height:160px;overflow:auto}.acf-relationship .list .acf-rel-label,.acf-relationship .list .acf-rel-item,.acf-relationship .list p{padding:5px 7px;margin:0;display:block;position:relative;min-height:18px}.acf-relationship .list .acf-rel-label{font-weight:bold}.acf-relationship .list .acf-rel-item{cursor:pointer}.acf-relationship .list .acf-rel-item b{text-decoration:underline;font-weight:normal}.acf-relationship .list .acf-rel-item .thumbnail{background:#e0e0e0;width:22px;height:22px;float:left;margin:-2px 5px 0 0}.acf-relationship .list .acf-rel-item .thumbnail img{max-width:22px;max-height:22px;margin:0 auto;display:block}.acf-relationship .list .acf-rel-item .thumbnail.-icon{background:#fff}.acf-relationship .list .acf-rel-item .thumbnail.-icon img{max-height:20px;margin-top:1px}.acf-relationship .list .acf-rel-item:hover{background:#3875D7;color:#fff}.acf-relationship .list .acf-rel-item:hover .thumbnail{background:#a2bfec}.acf-relationship .list .acf-rel-item:hover .thumbnail.-icon{background:#fff}.acf-relationship .list .acf-rel-item.disabled{opacity:0.5}.acf-relationship .list .acf-rel-item.disabled:hover{background:transparent;color:#333;cursor:default}.acf-relationship .list .acf-rel-item.disabled:hover .thumbnail{background:#e0e0e0}.acf-relationship .list .acf-rel-item.disabled:hover .thumbnail.-icon{background:#fff}.acf-relationship .list ul{padding-bottom:5px}.acf-relationship .list ul .acf-rel-label,.acf-relationship .list ul .acf-rel-item,.acf-relationship .list ul p{padding-left:20px}.acf-relationship .selection{border:#DFDFDF solid 1px;position:relative;margin-top:-1px}.acf-relationship .selection:after{display:block;clear:both;content:""}.acf-relationship .selection .values,.acf-relationship .selection .choices{width:50%;background:#fff;float:left}.acf-relationship .selection .choices{background:#F9F9F9}.acf-relationship .selection .choices .list{border-right:#DFDFDF solid 1px}.acf-relationship .selection .values .acf-icon{position:absolute;top:4px;right:7px;display:none}html[dir="rtl"] .acf-relationship .selection .values .acf-icon{right:auto;left:7px}.acf-relationship .selection .values .acf-rel-item:hover .acf-icon{display:block}.acf-relationship .selection .values .acf-rel-item{cursor:move}.acf-relationship .selection .values .acf-rel-item b{text-decoration:none}.menu-item .acf-relationship ul{width:auto}.menu-item .acf-relationship li{display:block}.acf-editor-wrap.delay .acf-editor-toolbar{content:"";display:block;background:#f5f5f5;border-bottom:#dddddd solid 1px;color:#555d66;padding:10px}.acf-editor-wrap.delay textarea{padding:10px}.acf-editor-wrap iframe{min-height:200px}.acf-editor-wrap .wp-editor-container{border:1px solid #E5E5E5;box-shadow:none}#mce_fullscreen_container{z-index:900000 !important}.acf-editor-wrap .wp-switch-editor{float:left;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box}.acf-editor-wrap.tmce-active .wp-editor-area{color:#333 !important}.acf-field-tab{display:none !important}.hidden-by-tab{display:none !important}.acf-tab-wrap{clear:both;z-index:1}.acf-tab-group{border-bottom:#ccc solid 1px;padding:10px 10px 0}.acf-tab-group li{margin:0 0.5em 0 0}.acf-tab-group li a{padding:5px 10px;display:block;color:#555;font-size:14px;font-weight:600;line-height:24px;border:#ccc solid 1px;border-bottom:0 none;text-decoration:none;background:#e5e5e5;transition:none}.acf-tab-group li a:hover{background:#FFF}.acf-tab-group li a:focus{outline:none;box-shadow:none}.acf-tab-group li a:empty{display:none}html[dir="rtl"] .acf-tab-group li{margin:0 0 0 0.5em}.acf-tab-group li.active a{background:#F1F1F1;color:#000;padding-bottom:6px;margin-bottom:-1px;position:relative;z-index:1}.acf-fields>.acf-tab-wrap{background:#F9F9F9}.acf-fields>.acf-tab-wrap .acf-tab-group{position:relative;z-index:1;margin-bottom:-1px;border-top:#DFDFDF solid 1px;border-bottom:#DFDFDF solid 1px}.acf-fields>.acf-tab-wrap .acf-tab-group li a{background:#f1f1f1}.acf-fields>.acf-tab-wrap .acf-tab-group li a:hover{background:#FFF}.acf-fields>.acf-tab-wrap .acf-tab-group li.active a{background:#FFFFFF}.acf-fields>.acf-tab-wrap:first-child .acf-tab-group{border-top:none}.acf-fields.-left>.acf-tab-wrap .acf-tab-group{padding-left:20%}@media screen and (max-width: 640px){.acf-fields.-left>.acf-tab-wrap .acf-tab-group{padding-left:10px}}html[dir="rtl"] .acf-fields.-left>.acf-tab-wrap .acf-tab-group{padding-left:0;padding-right:20%}@media screen and (max-width: 850px){html[dir="rtl"] .acf-fields.-left>.acf-tab-wrap .acf-tab-group{padding-right:10px}}.acf-tab-wrap.-left .acf-tab-group{position:absolute;left:0;width:20%;border:0 none;padding:0 !important;margin:1px 0 0}.acf-tab-wrap.-left .acf-tab-group li{float:none;margin:-1px 0 0}.acf-tab-wrap.-left .acf-tab-group li a{border:1px solid #ededed;font-size:13px;line-height:18px;color:#0073aa;padding:10px;margin:0;font-weight:normal;border-width:1px 0;border-radius:0;background:transparent}.acf-tab-wrap.-left .acf-tab-group li a:hover{color:#00a0d2}.acf-tab-wrap.-left .acf-tab-group li.active a{border-color:#DFDFDF;color:#000;margin-right:-1px;background:#fff}html[dir="rtl"] .acf-tab-wrap.-left .acf-tab-group{left:auto;right:0}html[dir="rtl"] .acf-tab-wrap.-left .acf-tab-group li.active a{margin-right:0;margin-left:-1px}.acf-field+.acf-tab-wrap.-left:before{content:"";display:block;position:relative;z-index:1;height:10px;border-top:#DFDFDF solid 1px;border-bottom:#DFDFDF solid 1px;margin-bottom:-1px}.acf-tab-wrap.-left:first-child .acf-tab-group li:first-child a{border-top:none}.acf-fields.-sidebar{padding:0 0 0 20% !important;position:relative}.acf-fields.-sidebar:before{content:"";display:block;position:absolute;top:0;left:0;width:20%;bottom:0;border-right:#DFDFDF solid 1px;background:#F9F9F9;z-index:1}html[dir="rtl"] .acf-fields.-sidebar{padding:0 20% 0 0 !important}html[dir="rtl"] .acf-fields.-sidebar:before{border-left:#DFDFDF solid 1px;border-right-width:0;left:auto;right:0}.acf-fields.-sidebar.-left{padding:0 0 0 180px !important}html[dir="rtl"] .acf-fields.-sidebar.-left{padding:0 180px 0 0 !important}.acf-fields.-sidebar.-left:before{background:#F1F1F1;border-color:#dfdfdf;width:180px}.acf-fields.-sidebar.-left>.acf-tab-wrap.-left .acf-tab-group{width:180px}.acf-fields.-sidebar.-left>.acf-tab-wrap.-left .acf-tab-group li a{border-color:#e4e4e4}.acf-fields.-sidebar.-left>.acf-tab-wrap.-left .acf-tab-group li.active a{background:#F9F9F9}.acf-fields.-sidebar>.acf-field-tab+.acf-field{border-top:none}.acf-fields.-clear>.acf-tab-wrap{background:transparent}.acf-fields.-clear>.acf-tab-wrap .acf-tab-group{margin-top:0;border-top:none;padding-left:0;padding-right:0}.acf-fields.-clear>.acf-tab-wrap .acf-tab-group li a{background:#e5e5e5}.acf-fields.-clear>.acf-tab-wrap .acf-tab-group li a:hover{background:#fff}.acf-fields.-clear>.acf-tab-wrap .acf-tab-group li.active a{background:#f1f1f1}.acf-postbox.seamless>.acf-fields.-sidebar{margin-left:0 !important}.acf-postbox.seamless>.acf-fields.-sidebar:before{background:transparent}.acf-postbox.seamless>.acf-fields>.acf-tab-wrap{background:transparent;margin-bottom:10px;padding-left:12px;padding-right:12px}.acf-postbox.seamless>.acf-fields>.acf-tab-wrap .acf-tab-group{border-top:0 none}.acf-postbox.seamless>.acf-fields>.acf-tab-wrap .acf-tab-group li a{background:#e5e5e5}.acf-postbox.seamless>.acf-fields>.acf-tab-wrap .acf-tab-group li a:hover{background:#fff}.acf-postbox.seamless>.acf-fields>.acf-tab-wrap .acf-tab-group li.active a{background:#f1f1f1}.acf-postbox.seamless>.acf-fields>.acf-tab-wrap.-left:before{border-top:none;height:auto}.acf-postbox.seamless>.acf-fields>.acf-tab-wrap.-left .acf-tab-group{margin-bottom:0}.acf-postbox.seamless>.acf-fields>.acf-tab-wrap.-left .acf-tab-group li a{border-width:1px 0 1px 1px !important;border-color:#cccccc;background:#e5e5e5}.acf-postbox.seamless>.acf-fields>.acf-tab-wrap.-left .acf-tab-group li.active a{background:#f1f1f1}.menu-edit .acf-fields.-clear>.acf-tab-wrap .acf-tab-group li a,.widget .acf-fields.-clear>.acf-tab-wrap .acf-tab-group li a{background:#f1f1f1}.menu-edit .acf-fields.-clear>.acf-tab-wrap .acf-tab-group li a:hover,.menu-edit .acf-fields.-clear>.acf-tab-wrap .acf-tab-group li.active a,.widget .acf-fields.-clear>.acf-tab-wrap .acf-tab-group li a:hover,.widget .acf-fields.-clear>.acf-tab-wrap .acf-tab-group li.active a{background:#fff}.compat-item .acf-tab-wrap td{display:block}.acf-gallery-side .acf-tab-wrap{border-top:0 none !important}.acf-gallery-side .acf-tab-wrap .acf-tab-group{margin:10px 0 !important;padding:0 !important}.acf-gallery-side .acf-tab-group li.active a{background:#F9F9F9 !important}.widget .acf-tab-group{border-bottom-color:#e8e8e8}.widget .acf-tab-group li a{background:#F1F1F1}.widget .acf-tab-group li.active a{background:#fff}.media-modal.acf-expanded .compat-attachment-fields>tbody>tr.acf-tab-wrap .acf-tab-group{padding-left:23%;border-bottom-color:#DDDDDD}.form-table>tbody>tr.acf-tab-wrap .acf-tab-group{padding:0 5px 0 210px}html[dir="rtl"] .form-table>tbody>tr.acf-tab-wrap .acf-tab-group{padding:0 210px 0 5px}.acf-oembed{position:relative;border:#DFDFDF solid 1px;background:#fff}.acf-oembed .title{position:relative;border-bottom:#DFDFDF solid 1px;padding:5px 10px}.acf-oembed .title .input-search{margin:0;font-size:14px;line-height:30px;height:30px;padding:0;border:0 none;box-shadow:none;border-radius:0;font-family:inherit;cursor:text}.acf-oembed .title .acf-actions{padding:6px}.acf-oembed .canvas{position:relative;min-height:250px;background:#F9F9F9}.acf-oembed .canvas .canvas-media{position:relative;z-index:1}.acf-oembed .canvas iframe{display:block;margin:0;padding:0;width:100%}.acf-oembed .canvas .acf-icon.-picture{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);z-index:0;height:42px;width:42px;font-size:42px;color:#999}.acf-oembed .canvas .acf-loading-overlay{background:rgba(255,255,255,0.9)}.acf-oembed .canvas .canvas-error{position:absolute;top:50%;left:0%;right:0%;margin:-9px 0 0 0;text-align:center;display:none}.acf-oembed .canvas .canvas-error p{padding:8px;margin:0;display:inline}.acf-oembed.has-value .canvas{min-height:50}.acf-oembed.has-value .input-search{font-weight:bold}.acf-oembed.has-value .title:hover .acf-actions{display:block}.acf-image-uploader{position:relative}.acf-image-uploader:after{display:block;clear:both;content:""}.acf-image-uploader p{margin:0}.acf-image-uploader .image-wrap{position:relative;float:left}.acf-image-uploader .image-wrap img{max-width:100%;width:auto;height:auto;display:block;min-width:30px;min-height:30px;background:#f1f1f1;margin:0;padding:0}.acf-image-uploader .image-wrap img[src$=".svg"]{min-height:100px;min-width:100px}.acf-image-uploader .image-wrap:hover .acf-actions{display:block}.acf-image-uploader input.button{width:auto}html[dir="rtl"] .acf-image-uploader .image-wrap{float:right}.acf-file-uploader{position:relative}.acf-file-uploader p{margin:0}.acf-file-uploader .file-wrap{border:#DFDFDF solid 1px;min-height:84px;position:relative;background:#fff}.acf-file-uploader .file-icon{position:absolute;top:0;left:0;bottom:0;padding:10px;background:#F1F1F1;border-right:#E5E5E5 solid 1px}.acf-file-uploader .file-icon img{display:block;padding:0;margin:0;max-width:48px}.acf-file-uploader .file-info{padding:10px;margin-left:69px}.acf-file-uploader .file-info p{margin:0 0 2px;font-size:13px;line-height:1.4em;word-break:break-all}.acf-file-uploader .file-info a{text-decoration:none}.acf-file-uploader:hover .acf-actions{display:block}html[dir="rtl"] .acf-file-uploader .file-icon{left:auto;right:0;border-left:#E5E5E5 solid 1px;border-right:none}html[dir="rtl"] .acf-file-uploader .file-info{margin-right:69px;margin-left:0}.acf-ui-datepicker .ui-datepicker{z-index:900000 !important}.acf-ui-datepicker .ui-datepicker .ui-widget-header a{cursor:pointer;transition:none}.acf-ui-datepicker .ui-state-highlight.ui-state-hover{border:1px solid #98b7e8 !important;background:#98b7e8 !important;font-weight:normal !important;color:#ffffff !important}.acf-ui-datepicker .ui-state-highlight.ui-state-active{border:1px solid #3875d7 !important;background:#3875d7 !important;font-weight:normal !important;color:#ffffff !important}.acf-field-separator .acf-label{margin-bottom:0}.acf-field-separator .acf-label label{font-weight:normal}.acf-field-separator .acf-input{display:none}.acf-fields>.acf-field-separator{background:#f9f9f9;border-bottom:1px solid #dfdfdf;border-top:1px solid #dfdfdf;margin-bottom:-1px;z-index:2}.acf-taxonomy-field{position:relative}.acf-taxonomy-field .categorychecklist-holder{border:#DFDFDF solid 1px;border-radius:3px;max-height:200px;overflow:auto}.acf-taxonomy-field .acf-checkbox-list{margin:0;padding:10px}.acf-taxonomy-field .acf-checkbox-list ul.children{padding-left:18px}.acf-taxonomy-field:hover .acf-actions{display:block}.acf-taxonomy-field[data-ftype="select"] .acf-actions{padding:0;margin:-9px}.acf-range-wrap .acf-append,.acf-range-wrap .acf-prepend{display:inline-block;vertical-align:middle;line-height:28px;margin:0 7px 0 0}.acf-range-wrap .acf-append{margin:0 0 0 7px}.acf-range-wrap input[type="range"]{display:inline-block;padding:0;margin:0;vertical-align:middle;height:28px}.acf-range-wrap input[type="range"]:focus{outline:none}.acf-range-wrap input[type="number"]{display:inline-block;min-width:3em;margin-left:10px;vertical-align:middle}html[dir="rtl"] .acf-range-wrap input[type="number"]{margin-right:10px;margin-left:0}html[dir="rtl"] .acf-range-wrap .acf-append{margin:0 7px 0 0}html[dir="rtl"] .acf-range-wrap .acf-prepend{margin:0 0 0 7px}.acf-accordion{margin:0;padding:0;background:#fff}.acf-accordion .acf-accordion-title{margin:0;padding:12px;font-weight:bold;cursor:pointer;font-size:inherit;font-size:13px;line-height:1.4em}.acf-accordion .acf-accordion-title label{margin:0;padding:0;font-size:13px;line-height:1.4em}.acf-accordion .acf-accordion-title p{font-weight:normal}.acf-accordion .acf-accordion-title .acf-accordion-icon{float:right}.acf-accordion .acf-accordion-content{margin:0;padding:0 12px 12px;display:none}.acf-accordion.-open>.acf-accordion-content{display:block}.acf-field.acf-accordion{padding:0;border-color:#dfdfdf}.acf-field.acf-accordion .acf-accordion-title{padding:12px !important;width:auto !important;float:none !important;width:auto !important}.acf-field.acf-accordion .acf-accordion-content{padding:0;float:none !important;width:auto !important}.acf-field.acf-accordion .acf-accordion-content>.acf-fields{border-top:#EEEEEE solid 1px}.acf-field.acf-accordion .acf-accordion-content>.acf-fields.-clear{padding:0 12px 15px}.acf-fields.-left>.acf-field.acf-accordion{padding:0 !important}.acf-fields.-left>.acf-field.acf-accordion:before{display:none}.acf-fields.-left>.acf-field.acf-accordion .acf-accordion-title{width:auto;margin:0 !important;padding:12px;float:none !important}.acf-fields.-left>.acf-field.acf-accordion .acf-accordion-content{padding:0 !important}.acf-fields.-clear>.acf-field.acf-accordion{border:#cccccc solid 1px;background:transparent}.acf-fields.-clear>.acf-field.acf-accordion+.acf-field.acf-accordion{margin-top:-16px}tr.acf-field.acf-accordion{background:transparent}tr.acf-field.acf-accordion>.acf-input{padding:0 !important;border:#cccccc solid 1px}tr.acf-field.acf-accordion .acf-accordion-content{padding:0 12px 12px}#addtag div.acf-field.error{border:0 none;padding:8px 0}#addtag>.acf-field.acf-accordion{padding-right:0;margin-right:5%}#addtag>.acf-field.acf-accordion+p.submit{margin-top:0}tr.acf-accordion{margin:15px 0 !important}tr.acf-accordion+tr.acf-accordion{margin-top:-16px !important}.acf-postbox.seamless>.acf-fields>.acf-accordion{margin-left:12px !important;margin-right:12px !important}.widget .widget-content>.acf-field.acf-accordion{border:#dfdfdf solid 1px;margin-bottom:10px}.widget .widget-content>.acf-field.acf-accordion .acf-accordion-title{margin-bottom:0}.widget .widget-content>.acf-field.acf-accordion+.acf-field.acf-accordion{margin-top:-11px}.acf-postbox.seamless>.acf-fields>.acf-field.acf-accordion{border:#e5e5e5 solid 1px}.acf-postbox.seamless>.acf-fields>.acf-field.acf-accordion+.acf-field.acf-accordion{margin-top:-1px}.media-modal .compat-attachment-fields .acf-field.acf-accordion+.acf-field.acf-accordion{margin-top:-1px}.media-modal .compat-attachment-fields .acf-field.acf-accordion>.acf-input{width:100%}.media-modal .compat-attachment-fields .acf-field.acf-accordion .compat-attachment-fields>tbody>tr>td{padding-bottom:5px}.form-table>tbody>.acf-field>.acf-label{padding:20px 10px 20px 0;width:210px}html[dir="rtl"] .form-table>tbody>.acf-field>.acf-label{padding:20px 0 20px 10px}.form-table>tbody>.acf-field>.acf-label label{font-size:14px;color:#23282d}.form-table>tbody>.acf-field>.acf-input{padding:15px 10px}html[dir="rtl"] .form-table>tbody>.acf-field>.acf-input{padding:15px 10px 15px 5%}.form-table>tbody>.acf-tab-wrap td{padding:15px 5% 15px 0}html[dir="rtl"] .form-table>tbody>.acf-tab-wrap td{padding:15px 0 15px 5%}.form-table>tbody .form-table th.acf-th{width:auto}#your-profile .acf-field input[type="text"],#your-profile .acf-field input[type="password"],#your-profile .acf-field input[type="number"],#your-profile .acf-field input[type="search"],#your-profile .acf-field input[type="email"],#your-profile .acf-field input[type="url"],#your-profile .acf-field select,#createuser .acf-field input[type="text"],#createuser .acf-field input[type="password"],#createuser .acf-field input[type="number"],#createuser .acf-field input[type="search"],#createuser .acf-field input[type="email"],#createuser .acf-field input[type="url"],#createuser .acf-field select{max-width:25em}#your-profile .acf-field textarea,#createuser .acf-field textarea{max-width:500px}#your-profile .acf-field .acf-field input[type="text"],#your-profile .acf-field .acf-field input[type="password"],#your-profile .acf-field .acf-field input[type="number"],#your-profile .acf-field .acf-field input[type="search"],#your-profile .acf-field .acf-field input[type="email"],#your-profile .acf-field .acf-field input[type="url"],#your-profile .acf-field .acf-field textarea,#your-profile .acf-field .acf-field select,#createuser .acf-field .acf-field input[type="text"],#createuser .acf-field .acf-field input[type="password"],#createuser .acf-field .acf-field input[type="number"],#createuser .acf-field .acf-field input[type="search"],#createuser .acf-field .acf-field input[type="email"],#createuser .acf-field .acf-field input[type="url"],#createuser .acf-field .acf-field textarea,#createuser .acf-field .acf-field select{max-width:none}#registerform h2{margin:1em 0}#registerform .acf-field .acf-label{margin-bottom:0}#registerform .acf-field .acf-label label{font-weight:normal;font-size:14px}#registerform p.submit{text-align:right}#acf-term-fields{padding-right:5%}#acf-term-fields>.acf-field>.acf-label{margin:0}#acf-term-fields>.acf-field>.acf-label label{font-size:12px;font-weight:normal}p.submit .spinner,p.submit .acf-spinner{vertical-align:top;float:none;margin:4px 4px 0}#edittag .acf-fields.-left>.acf-field{padding-left:220px}#edittag .acf-fields.-left>.acf-field:before{width:209px}#edittag .acf-fields.-left>.acf-field>.acf-label{width:220px;margin-left:-220px;padding:0 10px}#edittag .acf-fields.-left>.acf-field>.acf-input{padding:0}#edittag>.acf-fields.-left{width:96%}#edittag>.acf-fields.-left>.acf-field>.acf-label{padding-left:0}.editcomment td:first-child{white-space:nowrap;width:131px}#widgets-right .widget .acf-field .description{padding-left:0;padding-right:0}.acf-widget-fields>.acf-field .acf-label{margin-bottom:5px}.acf-widget-fields>.acf-field .acf-label label{font-weight:normal;margin:0}.acf-menu-settings{border-top:1px solid #eee;margin-top:2em}.acf-menu-settings.-seamless{border-top:none;margin-top:15px}.acf-menu-settings.-seamless>h2{display:none}.acf-menu-settings .list li{display:block;margin-bottom:0}.acf-menu-item-fields{margin-right:10px;float:left}#post .compat-attachment-fields .compat-field-acf-form-data{display:none}#post .compat-attachment-fields,#post .compat-attachment-fields>tbody,#post .compat-attachment-fields>tbody>tr,#post .compat-attachment-fields>tbody>tr>th,#post .compat-attachment-fields>tbody>tr>td{display:block}#post .compat-attachment-fields>tbody>.acf-field{margin:15px 0}#post .compat-attachment-fields>tbody>.acf-field>.acf-label{margin:0}#post .compat-attachment-fields>tbody>.acf-field>.acf-label label{margin:0;padding:0}#post .compat-attachment-fields>tbody>.acf-field>.acf-label label p{margin:0 0 3px !important}#post .compat-attachment-fields>tbody>.acf-field>.acf-input{margin:0}.media-modal .compat-attachment-fields td.acf-input table{display:table;table-layout:auto}.media-modal .compat-attachment-fields td.acf-input table tbody{display:table-row-group}.media-modal .compat-attachment-fields td.acf-input table tr{display:table-row}.media-modal .compat-attachment-fields td.acf-input table td,.media-modal .compat-attachment-fields td.acf-input table th{display:table-cell}.media-modal .compat-attachment-fields>tbody>.acf-field{margin:5px 0}.media-modal .compat-attachment-fields>tbody>.acf-field>.acf-label{min-width:30%;margin:0;padding:0;float:left;text-align:right;display:block;float:left}.media-modal .compat-attachment-fields>tbody>.acf-field>.acf-label>label{padding-top:6px;margin:0;color:#666666;font-weight:400;line-height:16px}.media-modal .compat-attachment-fields>tbody>.acf-field>.acf-input{width:65%;margin:0;padding:0;float:right;display:block}.media-modal .compat-attachment-fields>tbody>.acf-field p.description{margin:0}.acf-selection-error{background:#ffebe8;border:1px solid #c00;border-radius:3px;padding:8px;margin:20px 0 0}.acf-selection-error .selection-error-label{background:#CC0000;border-radius:3px;color:#fff;font-weight:bold;margin-right:8px;padding:2px 4px}.acf-selection-error .selection-error-message{color:#b44;display:block;padding-top:8px;word-wrap:break-word;white-space:pre-wrap}.media-modal .attachment.acf-disabled .thumbnail{opacity:0.25 !important}.media-modal .attachment.acf-disabled .attachment-preview:before{background:rgba(0,0,0,0.15);z-index:1;position:relative}.media-modal .compat-field-acf-form-data,.media-modal .compat-field-acf-blank{display:none !important}.media-modal .upload-error-message{white-space:pre-wrap}.media-modal .acf-required{padding:0 !important;margin:0 !important;float:none !important;color:#f00 !important}.media-modal .media-sidebar .compat-item{padding-bottom:20px}@media (max-width: 900px){.media-modal .setting span,.media-modal .compat-attachment-fields>tbody>.acf-field>.acf-label{width:98%;float:none;text-align:left;min-height:0;padding:0}.media-modal .setting input,.media-modal .setting textarea,.media-modal .compat-attachment-fields>tbody>.acf-field>.acf-input{float:none;height:auto;max-width:none;width:98%}}.media-modal .acf-expand-details{float:right;padding:1px 10px;margin-right:6px;height:18px;line-height:18px;color:#AAAAAA;font-size:12px}.media-modal .acf-expand-details:focus,.media-modal .acf-expand-details:active{outline:0 none;box-shadow:none;color:#AAAAAA}.media-modal .acf-expand-details:hover{color:#666666 !important}.media-modal .acf-expand-details span{display:block;float:left}.media-modal .acf-expand-details .acf-icon{margin:0 4px 0 0}.media-modal .acf-expand-details:hover .acf-icon{border-color:#AAAAAA}.media-modal .acf-expand-details .is-open{display:none}.media-modal .acf-expand-details .is-closed{display:block}@media (max-width: 640px){.media-modal .acf-expand-details{display:none}}.media-modal.acf-expanded .acf-expand-details .is-open{display:block}.media-modal.acf-expanded .acf-expand-details .is-closed{display:none}.media-modal.acf-expanded .attachments-browser .media-toolbar,.media-modal.acf-expanded .attachments-browser .attachments{right:740px}.media-modal.acf-expanded .media-sidebar{width:708px}.media-modal.acf-expanded .media-sidebar .attachment-info .thumbnail,.media-modal.acf-expanded .media-sidebar .setting span,.media-modal.acf-expanded .media-sidebar .compat-attachment-fields>tbody>.acf-field>.acf-label{min-width:20%}.media-modal.acf-expanded .media-sidebar .attachment-info .details,.media-modal.acf-expanded .media-sidebar .setting input,.media-modal.acf-expanded .media-sidebar .setting textarea,.media-modal.acf-expanded .media-sidebar .compat-attachment-fields>tbody>.acf-field>.acf-input{min-width:77%}.media-modal.acf-expanded .media-sidebar .setting span{margin-right:2%}.media-modal.acf-expanded .media-sidebar .attachment-info .thumbnail{max-height:none}.media-modal.acf-expanded .media-sidebar .attachment-info .thumbnail img{max-width:100%;max-height:200px}.media-modal.acf-expanded .media-sidebar .attachment-info .details{float:right}@media (max-width: 900px){.media-modal.acf-expanded .attachments-browser .media-toolbar{display:none}.media-modal.acf-expanded .attachments{display:none}.media-modal.acf-expanded .media-sidebar{width:auto;max-width:none !important}.media-modal.acf-expanded .media-sidebar .attachment-info .thumbnail{min-width:30%;margin:0}.media-modal.acf-expanded .media-sidebar .attachment-info .details{min-width:67%}}.acf-media-modal .media-embed .setting.align,.acf-media-modal .media-embed .setting.link-to{display:none}@media screen and (min-width: 1024px){.acf-media-modal .media-modal-content .media-frame .media-toolbar-secondary{max-width:none}.acf-media-modal .media-modal-content .media-frame .media-toolbar-secondary select.attachment-filters{width:auto;min-width:150px;max-width:none;margin:11px 6px 0 0;vertical-align:middle}}.acf-media-modal.-edit{left:15%;right:15%;top:100px;bottom:100px}.acf-media-modal.-edit .media-frame-menu,.acf-media-modal.-edit .media-frame-router,.acf-media-modal.-edit .media-frame-content .attachments,.acf-media-modal.-edit .media-frame-content .media-toolbar{display:none}.acf-media-modal.-edit .media-frame-title,.acf-media-modal.-edit .media-frame-content,.acf-media-modal.-edit .media-frame-toolbar,.acf-media-modal.-edit .media-sidebar{width:auto;left:0;right:0}.acf-media-modal.-edit .media-frame-content{top:50px}.acf-media-modal.-edit .media-frame-title{border-bottom:1px solid #DFDFDF;box-shadow:0 4px 4px -4px rgba(0,0,0,0.1)}.acf-media-modal.-edit .media-sidebar{padding:0 16px}.acf-media-modal.-edit .media-sidebar .attachment-details{overflow:visible}.acf-media-modal.-edit .media-sidebar .attachment-details>h3,.acf-media-modal.-edit .media-sidebar .attachment-details>h2{display:none}.acf-media-modal.-edit .media-sidebar .attachment-details .attachment-info{background:#fff;border-bottom:#dddddd solid 1px;padding:16px;margin:0 -16px 16px}.acf-media-modal.-edit .media-sidebar .attachment-details .thumbnail{margin:0 16px 0 0}.acf-media-modal.-edit .media-sidebar .attachment-details .setting{display:block;overflow:hidden;float:none;width:auto;margin:0 0 5px}.acf-media-modal.-edit .media-sidebar .attachment-details .setting span{margin:0}.acf-media-modal.-edit .media-sidebar .compat-attachment-fields>tbody>.acf-field{margin:0 0 5px}.acf-media-modal.-edit .media-sidebar .compat-attachment-fields>tbody>.acf-field p.description{margin-top:3px}.acf-media-modal.-edit .media-sidebar .media-types-required-info{display:none}@media (max-width: 900px){.acf-media-modal.-edit{top:30px;right:30px;bottom:30px;left:30px}}@media (max-width: 640px){.acf-media-modal.-edit{top:0;right:0;bottom:0;left:0}.acf-media-modal.-edit .media-sidebar{bottom:0 !important}}.acf-temp-remove{position:relative;opacity:1;-webkit-transition:all 0.25s ease;-moz-transition:all 0.25s ease;-o-transition:all 0.25s ease;transition:all 0.25s ease;overflow:hidden}.acf-temp-remove:after{display:block;content:"";position:absolute;top:0;left:0;right:0;bottom:0;z-index:99}.hidden-by-conditional-logic{display:none !important}.hidden-by-conditional-logic.appear-empty{display:table-cell !important}.hidden-by-conditional-logic.appear-empty .acf-input{display:none !important}.acf-postbox.acf-hidden{display:none !important} diff --git a/assets/js/acf-field-group.js b/assets/js/acf-field-group.js index 75be133..b0d7651 100644 --- a/assets/js/acf-field-group.js +++ b/assets/js/acf-field-group.js @@ -2499,10 +2499,10 @@ })(jQuery); -// @codekit-prepend "../js/field-group.js"; -// @codekit-prepend "../js/field-group-field.js"; -// @codekit-prepend "../js/field-group-settings.js"; -// @codekit-prepend "../js/field-group-conditions.js"; -// @codekit-prepend "../js/field-group-fields.js"; -// @codekit-prepend "../js/field-group-locations.js"; -// @codekit-prepend "../js/field-group-compatibility.js"; \ No newline at end of file +// @codekit-prepend "_field-group.js"; +// @codekit-prepend "_field-group-field.js"; +// @codekit-prepend "_field-group-settings.js"; +// @codekit-prepend "_field-group-conditions.js"; +// @codekit-prepend "_field-group-fields.js"; +// @codekit-prepend "_field-group-locations.js"; +// @codekit-prepend "_field-group-compatibility.js"; \ No newline at end of file diff --git a/assets/js/acf-input.js b/assets/js/acf-input.js index 9fbf156..998ffc6 100644 --- a/assets/js/acf-input.js +++ b/assets/js/acf-input.js @@ -2100,6 +2100,23 @@ return ( window.wp && wp.blocks ); }; + /** + * acf.objectToArray + * + * Returns an array of items from the given object. + * + * @date 20/11/18 + * @since 5.8.0 + * + * @param object obj The object of items. + * @return array + */ + acf.objectToArray = function( obj ){ + return Object.keys( obj ).map(function( key ){ + return obj[key]; + }); + }; + /* * exists * @@ -3485,7 +3502,15 @@ 'change form .acf-field': 'startListening', 'submit form': 'stopListening' }, - + + enable: function(){ + this.active = true; + }, + + disable: function(){ + this.active = false; + }, + reset: function(){ this.stopListening(); }, @@ -3741,12 +3766,7 @@ * @return array */ acf.getPostboxes = function(){ - - // find all postboxes - var $postboxes = $('.acf-postbox'); - - // return instances - return acf.getInstances( $postboxes ); + return acf.getInstances( $('.acf-postbox') ); }; /** @@ -3782,9 +3802,7 @@ key: '', style: 'default', label: 'top', - visible: true, - edit: '', - html: true, + edit: '' }, setup: function( props ){ @@ -3805,10 +3823,6 @@ return $('#' + this.get('id')); }, - $placeholder: function(){ - return $('#' + this.get('id') + '-placeholder'); - }, - $hide: function(){ return $('#' + this.get('id') + '-hide'); }, @@ -3826,11 +3840,7 @@ }, isVisible: function(){ - return this.get('visible'); - }, - - hasHTML: function(){ - return this.get('html'); + return this.$el.hasClass('acf-hidden'); }, initialize: function(){ @@ -3858,15 +3868,7 @@ } // Show postbox. - if( this.isVisible() ) { - this.show(); - - // Hide postbox. - // Hidden postboxes do not contain HTML and are used as placeholders. - } else { - this.set('html', false); - this.hide(); - } + this.show(); }, show: function(){ @@ -3913,9 +3915,6 @@ // Update HTML. this.$inside().html( html ); - // Keep a record that this postbox has HTML. - this.set('html', true); - // Do action. acf.doAction('append', this.$el); } @@ -5235,7 +5234,7 @@ } // add icon - $label.prepend(''); + $label.prepend( accordionManager.iconHtml({ open: this.get('open') }) ); // classes // - remove 'inside' which is a #poststuff WP class @@ -5290,11 +5289,24 @@ } }, + iconHtml: function( props ){ + + // Determine icon. + //if( acf.isGutenberg() ) { + // var icon = props.open ? 'arrow-up-alt2' : 'arrow-down-alt2'; + //} else { + var icon = props.open ? 'arrow-down' : 'arrow-right'; + //} + + // Return HTML. + return ''; + }, + open: function( $el ){ // open $el.find('.acf-accordion-content:first').slideDown().css('display', 'block'); - $el.find('.acf-accordion-icon:first').removeClass('dashicons-arrow-right').addClass('dashicons-arrow-down'); + $el.find('.acf-accordion-icon:first').replaceWith( this.iconHtml({ open: true }) ); $el.addClass('-open'); // action @@ -5312,7 +5324,7 @@ // close $el.find('.acf-accordion-content:first').slideUp(); - $el.find('.acf-accordion-icon:first').removeClass('dashicons-arrow-down').addClass('dashicons-arrow-right'); + $el.find('.acf-accordion-icon:first').replaceWith( this.iconHtml({ open: false }) ); $el.removeClass('-open'); // action @@ -10857,9 +10869,7 @@ // add array of existing postboxes to increase performance and reduce JSON HTML acf.getPostboxes().map(function( postbox ){ - if( postbox.hasHTML() ) { - ajaxData.exists.push( postbox.get('key') ); - } + ajaxData.exists.push( postbox.get('key') ); }); // filter @@ -10868,43 +10878,19 @@ // success var onSuccess = function( json ){ - // bail early if not success - if( !acf.isAjaxSuccess(json) ) { - return; + // Check success. + if( acf.isAjaxSuccess(json) ) { + + // Render post screen. + if( acf.get('screen') == 'post' ) { + this.renderPostScreen( json.data ); + + // Render user screen. + } else if( acf.get('screen') == 'user' ) { + this.renderUserScreen( json.data ); + } } - // vars - var visible = []; - - // loop - json.data.results.map(function( fieldGroup, i ){ - - // vars - var id = 'acf-' + fieldGroup.key; - var postbox = acf.getPostbox( id ); - - // show postbox - postbox.showEnable(); - - // append - visible.push( id ); - - // update HTML - if( !postbox.hasHTML() && fieldGroup.html ) { - postbox.html( fieldGroup.html ); - } - }); - - // hide other postboxes - acf.getPostboxes().map(function( postbox ){ - if( visible.indexOf( postbox.get('id') ) === -1 ) { - postbox.hideDisable(); - } - }); - - // reset style - $('#acf-style').html( json.data.style ); - // action acf.doAction('check_screen_complete', json.data, ajaxData); }; @@ -10922,6 +10908,162 @@ onChange: function( e, $el ){ this.setTimeout(this.check, 1); + }, + + renderPostScreen: function( data ){ + + // vars + var visible = []; + + // Helper function to copy events + var copyEvents = function( $from, $to ){ + var events = $._data($from[0]).events; + for( var type in events ) { + for( var i = 0; i < events[type].length; i++ ) { + $to.on( type, events[type][i].handler ); + } + } + } + + // Helper function to sort metabox. + var sortMetabox = function( id, ids ){ + + // Find position of id within ids. + var index = ids.indexOf( id ); + + // Bail early if index not found. + if( index == -1 ) { + return false; + } + + // Loop over metaboxes behind (in reverse order). + for( var i = index-1; i >= 0; i-- ) { + if( $('#'+ids[i]).length ) { + return $('#'+ids[i]).after( $('#'+id) ); + } + } + + // Loop over metaboxes infront. + for( var i = index+1; i < ids.length; i++ ) { + if( $('#'+ids[i]).length ) { + return $('#'+ids[i]).before( $('#'+id) ); + } + } + + // Return false if not sorted. + return false; + }; + + // Show these postboxes. + data.results.map(function( result, i ){ + + // vars + var postbox = acf.getPostbox( result.id ); + + // Create postbox if doesn't exist. + if( !postbox ) { + + // Create it. + var $postbox = $([ + '
', + '', + '

', + '' + result.title + '', + '

', + '
', + result.html, + '
', + '
' + ].join('')); + + // Create new hide toggle. + if( $('#adv-settings').length ) { + var $prefs = $('#adv-settings .metabox-prefs'); + var $label = $([ + '' + ].join('')); + + // Copy default WP events onto checkbox. + copyEvents( $prefs.find('input').first(), $label.find('input') ); + + // Append hide label + $prefs.append( $label ); + } + + // Append metabox to the bottom of "side-sortables". + if( result.position === 'side' ) { + $('#' + result.position + '-sortables').append( $postbox ); + + // Prepend metabox to the top of "normal-sortbables". + } else { + $('#' + result.position + '-sortables').prepend( $postbox ); + } + + // Position metabox amongst existing ACF metaboxes within the same location. + var order = []; + data.results.map(function( _result ){ + if( result.position === _result.position && $('#' + result.position + '-sortables #' + _result.id).length ) { + order.push( _result.id ); + } + }); + sortMetabox(result.id, order) + + // Check 'sorted' for user preference. + if( data.sorted ) { + + // Loop over each position (acf_after_title, side, normal). + for( var position in data.sorted ) { + + // Explode string into array of ids. + var order = data.sorted[position].split(','); + + // Position metabox relative to order. + if( sortMetabox(result.id, order) ) { + break; + } + } + } + + // Copy default WP events onto metabox. + var $submitdiv = $('#submitdiv'); + if( $('#submitdiv').length ) { + copyEvents( $submitdiv.children('.handlediv'), $postbox.children('.handlediv') ); + copyEvents( $submitdiv.children('.hndle'), $postbox.children('.hndle') ); + } + + // Trigger action. + acf.doAction('append', $postbox); + + // Initalize it. + postbox = acf.newPostbox( result ); + } + + // show postbox + postbox.showEnable(); + + // append + visible.push( result.id ); + }); + + // Hide these postboxes. + acf.getPostboxes().map(function( postbox ){ + if( visible.indexOf( postbox.get('id') ) === -1 ) { + postbox.hideDisable(); + } + }); + + // Update style. + $('#acf-style').html( data.style ); + }, + + renderUserScreen: function( json ){ + } }); @@ -11025,7 +11167,10 @@ taxonomies.map(function( taxonomy ){ // Append selected taxonomies to terms object. - terms[ taxonomy.slug ] = wp.data.select( 'core/editor' ).getEditedPostAttribute( taxonomy.rest_base ); + var postTerms = wp.data.select( 'core/editor' ).getEditedPostAttribute( taxonomy.rest_base ); + if( postTerms ) { + terms[ taxonomy.slug ] = postTerms; + } }); // return @@ -12558,7 +12703,7 @@ acf.lockForm( this.$el ); // loading callback - args.loading( this.$el ); + args.loading( this.$el, this ); // update status this.set('status', 'validating'); @@ -12572,7 +12717,7 @@ } // filter - var data = acf.applyFilters('validation_complete', json.data, this.$el); + var data = acf.applyFilters('validation_complete', json.data, this.$el, this); // add errors if( !data.valid ) { @@ -12593,13 +12738,13 @@ this.set('status', 'invalid'); // action - acf.doAction('validation_failure', this.$el); + acf.doAction('validation_failure', this.$el, this); // display errors this.showErrors(); // failure callback - args.failure( this.$el ); + args.failure( this.$el, this ); // success } else { @@ -12617,11 +12762,11 @@ } // action - acf.doAction('validation_success', this.$el); + acf.doAction('validation_success', this.$el, this); acf.doAction('submit', this.$el); // success callback (submit form) - args.success( this.$el ); + args.success( this.$el, this ); // lock form acf.lockForm( this.$el ); @@ -12633,7 +12778,7 @@ } // complete callback - args.complete( this.$el ); + args.complete( this.$el, this ); // clear errors this.clearErrors(); @@ -12653,6 +12798,9 @@ success: onSuccess, complete: onComplete }); + + // return false to fail validation and allow AJAX + return false }, /** @@ -12924,6 +13072,7 @@ events: { 'click input[type="submit"]': 'onClickSubmit', 'click button[type="submit"]': 'onClickSubmit', + //'click #editor .editor-post-publish-button': 'onClickSubmitGutenberg', 'click #save-post': 'onClickSave', 'mousedown #post-preview': 'onClickPreview', // use mousedown to hook in before WP click event 'submit form': 'onSubmit', @@ -13109,6 +13258,39 @@ $('form#post').off('submit.edit-post'); }, + /** + * onClickSubmitGutenberg + * + * Custom validation event for the gutenberg editor. + * + * @date 29/10/18 + * @since 5.8.0 + * + * @param object e The event object. + * @param jQuery $el The input element. + * @return void + */ + onClickSubmitGutenberg: function( e, $el ){ + + // validate + var valid = acf.validateForm({ + form: $('#editor'), + event: e, + reset: true, + failure: function( $form, validator ){ + var $notice = validator.get('notice').$el; + $notice.appendTo('.components-notice-list'); + $notice.find('.acf-notice-dismiss').removeClass('small'); + } + }); + + // if not valid, stop event and allow validation to continue + if( !valid ) { + e.preventDefault(); + e.stopImmediatePropagation(); + } + }, + /** * onSubmit * @@ -13204,7 +13386,7 @@ // replace $placeholder children with a single td // fixes "width calculation issues" due to conditional logic hiding some children - $placeholder.html(''); + $placeholder.html(''); // add helper class to remove absolute positioning $item.addClass('acf-sortable-tr-helper'); @@ -14249,48 +14431,48 @@ })(jQuery); -// @codekit-prepend "../js/acf.js"; -// @codekit-prepend "../js/acf-hooks.js"; -// @codekit-prepend "../js/acf-model.js"; -// @codekit-prepend "../js/acf-popup.js"; -// @codekit-prepend "../js/acf-unload.js"; -// @codekit-prepend "../js/acf-panel.js"; -// @codekit-prepend "../js/acf-notice.js"; -// @codekit-prepend "../js/acf-postbox.js"; -// @codekit-prepend "../js/acf-tooltip.js"; -// @codekit-prepend "../js/acf-field.js"; -// @codekit-prepend "../js/acf-fields.js"; -// @codekit-prepend "../js/acf-field-accordion.js"; -// @codekit-prepend "../js/acf-field-button-group.js"; -// @codekit-prepend "../js/acf-field-checkbox.js"; -// @codekit-prepend "../js/acf-field-color-picker.js"; -// @codekit-prepend "../js/acf-field-date-picker.js"; -// @codekit-prepend "../js/acf-field-date-time-picker.js"; -// @codekit-prepend "../js/acf-field-google-map.js"; -// @codekit-prepend "../js/acf-field-image.js"; -// @codekit-prepend "../js/acf-field-file.js"; -// @codekit-prepend "../js/acf-field-link.js"; -// @codekit-prepend "../js/acf-field-oembed.js"; -// @codekit-prepend "../js/acf-field-radio.js"; -// @codekit-prepend "../js/acf-field-range.js"; -// @codekit-prepend "../js/acf-field-relationship.js"; -// @codekit-prepend "../js/acf-field-select.js"; -// @codekit-prepend "../js/acf-field-tab.js"; -// @codekit-prepend "../js/acf-field-post-object.js"; -// @codekit-prepend "../js/acf-field-page-link.js"; -// @codekit-prepend "../js/acf-field-user.js"; -// @codekit-prepend "../js/acf-field-taxonomy.js"; -// @codekit-prepend "../js/acf-field-time-picker.js"; -// @codekit-prepend "../js/acf-field-true-false.js"; -// @codekit-prepend "../js/acf-field-url.js"; -// @codekit-prepend "../js/acf-field-wysiwyg.js"; -// @codekit-prepend "../js/acf-condition.js"; -// @codekit-prepend "../js/acf-conditions.js"; -// @codekit-prepend "../js/acf-condition-types.js"; -// @codekit-prepend "../js/acf-media.js"; -// @codekit-prepend "../js/acf-screen.js"; -// @codekit-prepend "../js/acf-select2.js"; -// @codekit-prepend "../js/acf-tinymce.js"; -// @codekit-prepend "../js/acf-validation.js"; -// @codekit-prepend "../js/acf-helpers.js"; -// @codekit-prepend "../js/acf-compatibility"; +// @codekit-prepend "_acf.js"; +// @codekit-prepend "_acf-hooks.js"; +// @codekit-prepend "_acf-model.js"; +// @codekit-prepend "_acf-popup.js"; +// @codekit-prepend "_acf-unload.js"; +// @codekit-prepend "_acf-panel.js"; +// @codekit-prepend "_acf-notice.js"; +// @codekit-prepend "_acf-postbox.js"; +// @codekit-prepend "_acf-tooltip.js"; +// @codekit-prepend "_acf-field.js"; +// @codekit-prepend "_acf-fields.js"; +// @codekit-prepend "_acf-field-accordion.js"; +// @codekit-prepend "_acf-field-button-group.js"; +// @codekit-prepend "_acf-field-checkbox.js"; +// @codekit-prepend "_acf-field-color-picker.js"; +// @codekit-prepend "_acf-field-date-picker.js"; +// @codekit-prepend "_acf-field-date-time-picker.js"; +// @codekit-prepend "_acf-field-google-map.js"; +// @codekit-prepend "_acf-field-image.js"; +// @codekit-prepend "_acf-field-file.js"; +// @codekit-prepend "_acf-field-link.js"; +// @codekit-prepend "_acf-field-oembed.js"; +// @codekit-prepend "_acf-field-radio.js"; +// @codekit-prepend "_acf-field-range.js"; +// @codekit-prepend "_acf-field-relationship.js"; +// @codekit-prepend "_acf-field-select.js"; +// @codekit-prepend "_acf-field-tab.js"; +// @codekit-prepend "_acf-field-post-object.js"; +// @codekit-prepend "_acf-field-page-link.js"; +// @codekit-prepend "_acf-field-user.js"; +// @codekit-prepend "_acf-field-taxonomy.js"; +// @codekit-prepend "_acf-field-time-picker.js"; +// @codekit-prepend "_acf-field-true-false.js"; +// @codekit-prepend "_acf-field-url.js"; +// @codekit-prepend "_acf-field-wysiwyg.js"; +// @codekit-prepend "_acf-condition.js"; +// @codekit-prepend "_acf-conditions.js"; +// @codekit-prepend "_acf-condition-types.js"; +// @codekit-prepend "_acf-media.js"; +// @codekit-prepend "_acf-screen.js"; +// @codekit-prepend "_acf-select2.js"; +// @codekit-prepend "_acf-tinymce.js"; +// @codekit-prepend "_acf-validation.js"; +// @codekit-prepend "_acf-helpers.js"; +// @codekit-prepend "_acf-compatibility"; diff --git a/assets/js/acf-input.min.js b/assets/js/acf-input.min.js index 22f29da..3ef6113 100644 --- a/assets/js/acf-input.min.js +++ b/assets/js/acf-input.min.js @@ -1,4 +1,4 @@ -!function(r,s){var c={};(window.acf=c).data={},c.get=function(t){return this.data[t]||null},c.has=function(t){return null!==this.get(t)},c.set=function(t,e){return this.data[t]=e,this};var i=0;c.uniqueId=function(t){var e=++i+"";return t?t+e:e},c.uniqueArray=function(t){function e(t,e,i){return i.indexOf(t)===e}return t.filter(e)};var a="";c.uniqid=function(t,e){var i;void 0===t&&(t="");var n=function(t,e){return e<(t=parseInt(t,10).toString(16)).length?t.slice(t.length-e):e>t.length?Array(e-t.length+1).join("0")+t:t};return a||(a=Math.floor(123456789*Math.random())),a++,i=t,i+=n(parseInt((new Date).getTime()/1e3,10),8),i+=n(a,5),e&&(i+=(10*Math.random()).toFixed(8).toString()),i},c.strReplace=function(t,e,i){return i.split(t).join(e)},c.strCamelCase=function(t){return t=(t=t.replace(/[_-]/g," ")).replace(/(?:^\w|\b\w|\s+)/g,function(t,e){return 0==+t?"":0==e?t.toLowerCase():t.toUpperCase()})},c.strPascalCase=function(t){var e=c.strCamelCase(t);return e.charAt(0).toUpperCase()+e.slice(1)},c.strSlugify=function(t){return c.strReplace("_","-",t.toLowerCase())},c.strSanitize=function(t){var e={"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","Æ":"AE","Ç":"C","È":"E","É":"E","Ê":"E","Ë":"E","Ì":"I","Í":"I","Î":"I","Ï":"I","Ð":"D","Ñ":"N","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","Ù":"U","Ú":"U","Û":"U","Ü":"U","Ý":"Y","ß":"s","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","æ":"ae","ç":"c","è":"e","é":"e","ê":"e","ë":"e","ì":"i","í":"i","î":"i","ï":"i","ñ":"n","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","ù":"u","ú":"u","û":"u","ü":"u","ý":"y","ÿ":"y","Ā":"A","ā":"a","Ă":"A","ă":"a","Ą":"A","ą":"a","Ć":"C","ć":"c","Ĉ":"C","ĉ":"c","Ċ":"C","ċ":"c","Č":"C","č":"c","Ď":"D","ď":"d","Đ":"D","đ":"d","Ē":"E","ē":"e","Ĕ":"E","ĕ":"e","Ė":"E","ė":"e","Ę":"E","ę":"e","Ě":"E","ě":"e","Ĝ":"G","ĝ":"g","Ğ":"G","ğ":"g","Ġ":"G","ġ":"g","Ģ":"G","ģ":"g","Ĥ":"H","ĥ":"h","Ħ":"H","ħ":"h","Ĩ":"I","ĩ":"i","Ī":"I","ī":"i","Ĭ":"I","ĭ":"i","Į":"I","į":"i","İ":"I","ı":"i","IJ":"IJ","ij":"ij","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","Ĺ":"L","ĺ":"l","Ļ":"L","ļ":"l","Ľ":"L","ľ":"l","Ŀ":"L","ŀ":"l","Ł":"l","ł":"l","Ń":"N","ń":"n","Ņ":"N","ņ":"n","Ň":"N","ň":"n","ʼn":"n","Ō":"O","ō":"o","Ŏ":"O","ŏ":"o","Ő":"O","ő":"o","Œ":"OE","œ":"oe","Ŕ":"R","ŕ":"r","Ŗ":"R","ŗ":"r","Ř":"R","ř":"r","Ś":"S","ś":"s","Ŝ":"S","ŝ":"s","Ş":"S","ş":"s","Š":"S","š":"s","Ţ":"T","ţ":"t","Ť":"T","ť":"t","Ŧ":"T","ŧ":"t","Ũ":"U","ũ":"u","Ū":"U","ū":"u","Ŭ":"U","ŭ":"u","Ů":"U","ů":"u","Ű":"U","ű":"u","Ų":"U","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","ź":"z","Ż":"Z","ż":"z","Ž":"Z","ž":"z","ſ":"s","ƒ":"f","Ơ":"O","ơ":"o","Ư":"U","ư":"u","Ǎ":"A","ǎ":"a","Ǐ":"I","ǐ":"i","Ǒ":"O","ǒ":"o","Ǔ":"U","ǔ":"u","Ǖ":"U","ǖ":"u","Ǘ":"U","ǘ":"u","Ǚ":"U","ǚ":"u","Ǜ":"U","ǜ":"u","Ǻ":"A","ǻ":"a","Ǽ":"AE","ǽ":"ae","Ǿ":"O","ǿ":"o"," ":"_","'":"","?":"","/":"","\\":"",".":"",",":"","`":"",">":"","<":"",'"':"","[":"","]":"","|":"","{":"","}":"","(":"",")":""},i=/\W/g,n=function(t){return e[t]!==s?e[t]:t};return t=(t=t.replace(i,n)).toLowerCase()},c.strMatch=function(t,e){for(var i=0,n=Math.min(t.length,e.length),a=0;a").html(t).text()},c.strEscape=function(t){var e={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/","`":"`","=":"="};return String(t).replace(/[&<>"'`=\/]/g,function(t){return e[t]})},c.parseArgs=function(t,e){return"object"!=typeof t&&(t={}),"object"!=typeof e&&(e={}),r.extend({},e,t)},window.acfL10n==s&&(acfL10n={}),c.__=function(t){return acfL10n[t]||t},c._x=function(t,e){return acfL10n[t+"."+e]||acfL10n[t]||t},c._n=function(t,e,i){return 1==i?c.__(t):c.__(e)},c.isArray=function(t){return Array.isArray(t)},c.isObject=function(t){return"object"==typeof t};var o=function(t,e,i){var n=(e=e.replace("[]","[%%index%%]")).match(/([^\[\]])+/g);if(n)for(var a=n.length,r=t,s=0;s');var o=e.parent();e.css({height:i,width:n,margin:a,position:"absolute"}),setTimeout(function(){o.css({opacity:0,height:t.endHeight})},50),setTimeout(function(){e.attr("style",s),o.remove(),t.complete()},301)},d=function(t){var e=t.target,i=e.height(),n=e.children().length,a=r('');e.addClass("acf-remove-element"),setTimeout(function(){e.html(a)},251),setTimeout(function(){e.removeClass("acf-remove-element"),a.css({height:t.endHeight})},300),setTimeout(function(){e.remove(),t.complete()},451)};c.duplicate=function(t){t instanceof jQuery&&(t={target:t});var i=0;(t=c.parseArgs(t,{target:!1,search:"",replace:"",before:function(t){},after:function(t,e){},append:function(t,e){t.after(e),i=1}})).target=t.target||t.$el;var e=t.target;t.search=t.search||e.attr("data-id"),t.replace=t.replace||c.uniqid(),t.before(e),c.doAction("before_duplicate",e);var n=e.clone();return c.rename({target:n,search:t.search,replace:t.replace}),n.removeClass("acf-clone"),n.find(".ui-sortable").removeClass("ui-sortable"),t.after(e,n),c.doAction("after_duplicate",e,n),t.append(e,n),c.doAction("append",n),n},c.rename=function(t){t instanceof jQuery&&(t={target:t});var e=(t=c.parseArgs(t,{target:!1,destructive:!1,search:"",replace:""})).target,i=t.search||e.attr("data-id"),n=t.replace||c.uniqid("acf"),a=function(t,e){return e.replace(i,n)};if(t.destructive){var r=e.outerHTML();r=c.strReplace(i,n,r),e.replaceWith(r)}else e.attr("data-id",n),e.find('[id*="'+i+'"]').attr("id",a),e.find('[for*="'+i+'"]').attr("for",a),e.find('[name*="'+i+'"]').attr("name",a);return e},c.prepareForAjax=function(t){return t.nonce=c.get("nonce"),t.post_id=c.get("post_id"),c.has("language")&&(t.lang=c.get("language")),t=c.applyFilters("prepare_for_ajax",t)},c.startButtonLoading=function(t){t.prop("disabled",!0),t.after(' ')},c.stopButtonLoading=function(t){t.prop("disabled",!1),t.next(".acf-loading").remove()},c.showLoading=function(t){t.append('
')},c.hideLoading=function(t){t.children(".acf-loading-overlay").remove()},c.updateUserSetting=function(t,e){var i={action:"acf/ajax/user_setting",name:t,value:e};r.ajax({url:c.get("ajaxurl"),data:c.prepareForAjax(i),type:"post",dataType:"html"})},c.val=function(t,e,i){var n=t.val();return e!==n&&(t.val(e),t.is("select")&&null===t.val()?(t.val(n),!1):(!0!==i&&t.trigger("change"),!0))},c.show=function(t,e){return e&&c.unlock(t,"hidden",e),!c.isLocked(t,"hidden")&&(!!t.hasClass("acf-hidden")&&(t.removeClass("acf-hidden"),!0))},c.hide=function(t,e){return e&&c.lock(t,"hidden",e),!t.hasClass("acf-hidden")&&(t.addClass("acf-hidden"),!0)},c.isHidden=function(t){return t.hasClass("acf-hidden")},c.isVisible=function(t){return!c.isHidden(t)};var f=function(t,e){return!t.hasClass("acf-disabled")&&(e&&c.unlock(t,"disabled",e),!c.isLocked(t,"disabled")&&(!!t.prop("disabled")&&(t.prop("disabled",!1),!0)))};c.enable=function(t,e){if(t.attr("name"))return f(t,e);var i=!1;return t.find("[name]").each(function(){var t;f(r(this),e)&&(i=!0)}),i};var h=function(t,e){return e&&c.lock(t,"disabled",e),!t.prop("disabled")&&(t.prop("disabled",!0),!0)};c.disable=function(t,e){if(t.attr("name"))return h(t,e);var i=!1;return t.find("[name]").each(function(){var t;h(r(this),e)&&(i=!0)}),i},c.isset=function(t){for(var e=1;e'+r(t.children)+"":n+='"}),n};return t.html(r(e)),-1e.priority;)t[i]=t[i-1],--i;t[i]=e}return t}function u(t,e,i){var n=f[t][e];if(!n)return"filters"===t&&i[0];var a=0,r=n.length;if("filters"===t)for(;a','
','

','
','
',"
",'
',""].join("")},render:function(){var t=this.get("title"),e=this.get("content"),i=this.get("loading"),n=this.get("width"),a=this.get("height");this.title(t),this.content(e),n&&this.$(".acf-popup-box").css("width",n),a&&this.$(".acf-popup-box").css("min-height",a),this.loading(i),acf.doAction("append",this.$el)},update:function(t){this.data=acf.parseArgs(t,this.data),this.render()},title:function(t){this.$(".title:first h3").html(t)},content:function(t){this.$(".inner:first").html(t)},loading:function(t){var e=this.$(".loading:first");t?e.show():e.hide()},open:function(){e("body").append(this.$el)},close:function(){this.remove()},onClickClose:function(t,e){t.preventDefault(),this.close()}}),acf.newPopup=function(t){return new acf.models.Popup(t)}}(jQuery),function(t,e){acf.unload=new acf.Model({wait:"load",active:!0,changed:!1,actions:{validation_failure:"startListening",validation_success:"stopListening"},events:{"change form .acf-field":"startListening","submit form":"stopListening"},reset:function(){this.stopListening()},startListening:function(){!this.changed&&this.active&&(this.changed=!0,t(window).on("beforeunload",this.onUnload))},stopListening:function(){this.changed=!1,t(window).off("beforeunload",this.onUnload)},onUnload:function(){return acf.__("The changes you made will be lost if you navigate away from this page")}})}(jQuery),function(t,e){var i=new acf.Model({events:{"click .acf-panel-title":"onClick"},onClick:function(t,e){t.preventDefault(),this.toggle(e.parent())},isOpen:function(t){return t.hasClass("-open")},toggle:function(t){this.isOpen(t)?this.close(t):this.open(t)},open:function(t){t.addClass("-open"),t.find(".acf-panel-title i").attr("class","dashicons dashicons-arrow-down")},close:function(t){t.removeClass("-open"),t.find(".acf-panel-title i").attr("class","dashicons dashicons-arrow-right")}})}(jQuery),function(e,t){var i=acf.Model.extend({data:{text:"",type:"",timeout:0,dismiss:!0,target:!1,close:function(){}},events:{"click .acf-notice-dismiss":"onClickClose"},tmpl:function(){return'
'},setup:function(t){e.extend(this.data,t),this.$el=e(this.tmpl())},initialize:function(){this.render(),this.show()},render:function(){this.type(this.get("type")),this.html("

"+this.get("text")+"

"),this.get("dismiss")&&(this.$el.append(''),this.$el.addClass("-dismiss"));var t=this.get("timeout");t&&this.away(t)},update:function(t){e.extend(this.data,t),this.initialize(),this.removeEvents(),this.addEvents()},show:function(){var t=this.get("target");t&&t.prepend(this.$el)},hide:function(){this.$el.remove()},away:function(t){this.setTimeout(function(){acf.remove(this.$el)},t)},type:function(t){var e=this.get("type");e&&this.$el.removeClass("-"+e),this.$el.addClass("-"+t),"error"==t&&this.$el.addClass("acf-error-message")},html:function(t){this.$el.html(t)},text:function(t){this.$("p").html(t)},onClickClose:function(t,e){t.preventDefault(),this.get("close").apply(this,arguments),this.remove()}});acf.newNotice=function(t){return"object"!=typeof t&&(t={text:t}),new i(t)};var n=new acf.Model({wait:"prepare",priority:1,initialize:function(){var t=e(".acf-admin-notice");t.length&&e("h1:first").after(t)}})}(jQuery),function(e,t){acf.getPostbox=function(t){return"string"==typeof t&&(t=e("#"+t)),acf.getInstance(t)},acf.getPostboxes=function(){var t=e(".acf-postbox");return acf.getInstances(t)},acf.newPostbox=function(t){return new acf.models.Postbox(t)},acf.models.Postbox=acf.Model.extend({data:{id:"",key:"",style:"default",label:"top",visible:!0,edit:"",html:!0},setup:function(t){t.editLink&&(t.edit=t.editLink),e.extend(this.data,t),this.$el=this.$postbox()},$postbox:function(){return e("#"+this.get("id"))},$placeholder:function(){return e("#"+this.get("id")+"-placeholder")},$hide:function(){return e("#"+this.get("id")+"-hide")},$hideLabel:function(){return this.$hide().parent()},$hndle:function(){return this.$("> .hndle")},$inside:function(){return this.$("> .inside")},isVisible:function(){return this.get("visible")},hasHTML:function(){return this.get("html")},initialize:function(){this.$el.addClass("acf-postbox"),this.$el.removeClass("hide-if-js");var t=this.get("style");"default"!==t&&this.$el.addClass(t),this.$inside().addClass("acf-fields").addClass("-"+this.get("label"));var e=this.get("edit");e&&this.$hndle().append(''),this.isVisible()?this.show():(this.set("html",!1),this.hide())},show:function(){this.$hideLabel().show(),this.$hide().prop("checked",!0),this.$el.show().removeClass("acf-hidden")},enable:function(){acf.enable(this.$el,"postbox")},showEnable:function(){this.show(),this.enable()},hide:function(){this.$hideLabel().hide(),this.$el.hide().addClass("acf-hidden")},disable:function(){acf.disable(this.$el,"postbox")},hideDisable:function(){this.hide(),this.disable()},html:function(t){this.$inside().html(t),this.set("html",!0),acf.doAction("append",this.$el)}})}(jQuery),function(f,e){acf.newTooltip=function(t){return"object"!=typeof t&&(t={text:t}),t.confirmRemove!==e?(t.textConfirm=acf.__("Remove"),t.textCancel=acf.__("Cancel"),new n(t)):t.confirm!==e?new n(t):new i(t)};var i=acf.Model.extend({data:{text:"",timeout:0,target:null},tmpl:function(){return'
'},setup:function(t){f.extend(this.data,t),this.$el=f(this.tmpl())},initialize:function(){this.render(),this.show(),this.position();var t=this.get("timeout");t&&setTimeout(f.proxy(this.fade,this),t)},update:function(t){f.extend(this.data,t),this.initialize()},render:function(){this.html(this.get("text"))},show:function(){f("body").append(this.$el)},hide:function(){this.$el.remove()},fade:function(){this.$el.addClass("acf-fade-up"),this.setTimeout(function(){this.remove()},250)},html:function(t){this.$el.html(t)},position:function(){var t=this.$el,e=this.get("target");if(e){t.removeClass("right left bottom top").css({top:0,left:0});var i=10,n=e.outerWidth(),a=e.outerHeight(),r=e.offset().top,s=e.offset().left,o=t.outerWidth(),c=t.outerHeight(),l=t.offset().top,u=r-c-l,d=s+n/2-o/2;d<10?(t.addClass("right"),d=s+n,u=r+a/2-c/2-l):d+o+10>f(window).width()?(t.addClass("left"),d=s-o,u=r+a/2-c/2-l):u-f(window).scrollTop()<10?(t.addClass("bottom"),u=r+a-l):t.addClass("top"),t.css({top:u,left:d})}}}),n=i.extend({data:{text:"",textConfirm:"",textCancel:"",target:null,targetConfirm:!0,confirm:function(){},cancel:function(){},context:!1},events:{'click [data-event="cancel"]':"onCancel",'click [data-event="confirm"]':"onConfirm"},addEvents:function(){acf.Model.prototype.addEvents.apply(this);var t=f(document),e=this.get("target");this.setTimeout(function(){this.on(t,"click","onCancel")}),this.get("targetConfirm")&&this.on(e,"click","onConfirm")},removeEvents:function(){acf.Model.prototype.removeEvents.apply(this);var t=f(document),e=this.get("target");this.off(t,"click"),this.off(e,"click")},render:function(){var t,e,i,n=[this.get("text")||acf.__("Are you sure?"),''+(this.get("textConfirm")||acf.__("Yes"))+"",''+(this.get("textCancel")||acf.__("No"))+""].join(" ");this.html(n),this.$el.addClass("-confirm")},onCancel:function(t,e){t.preventDefault(),t.stopImmediatePropagation();var i=this.get("cancel"),n=this.get("context")||this;i.apply(n,arguments),this.remove()},onConfirm:function(t,e){t.preventDefault(),t.stopImmediatePropagation();var i=this.get("confirm"),n=this.get("context")||this;i.apply(n,arguments),this.remove()}});acf.models.Tooltip=i,acf.models.TooltipConfirm=n;var t=new acf.Model({tooltip:!1,events:{"mouseenter .acf-js-tooltip":"showTitle","mouseup .acf-js-tooltip":"hideTitle","mouseleave .acf-js-tooltip":"hideTitle"},showTitle:function(t,e){var i=e.attr("title");i&&(e.attr("title",""),this.tooltip?this.tooltip.update({text:i,target:e}):this.tooltip=acf.newTooltip({text:i,target:e}))},hideTitle:function(t,e){this.tooltip.hide(),e.attr("title",this.tooltip.get("text"))}})}(jQuery),function(e,i){var r=[];acf.Field=acf.Model.extend({type:"",eventScope:".acf-field",wait:"ready",setup:function(t){this.$el=t,this.inherit(t),this.inherit(this.$control())},val:function(t){return t!==i?this.setValue(t):this.prop("disabled")?null:this.getValue()},getValue:function(){return this.$input().val()},setValue:function(t){return acf.val(this.$input(),t)},__:function(t){return acf._e(this.type,t)},$control:function(){return!1},$input:function(){return this.$("[name]:first")},$inputWrap:function(){return this.$(".acf-input:first")},$labelWrap:function(){return this.$(".acf-label:first")},getInputName:function(){return this.$input().attr("name")||""},parent:function(){var t=this.parents();return!!t.length&&t[0]},parents:function(){var t=this.$el.parents(".acf-field"),e;return acf.getFields(t)},show:function(t,e){var i=acf.show(this.$el,t);return i&&(this.prop("hidden",!1),acf.doAction("show_field",this,e)),i},hide:function(t,e){var i=acf.hide(this.$el,t);return i&&(this.prop("hidden",!0),acf.doAction("hide_field",this,e)),i},enable:function(t,e){var i=acf.enable(this.$el,t);return i&&(this.prop("disabled",!1),acf.doAction("enable_field",this,e)),i},disable:function(t,e){var i=acf.disable(this.$el,t);return i&&(this.prop("disabled",!0),acf.doAction("disable_field",this,e)),i},showEnable:function(t,e){return this.enable.apply(this,arguments),this.show.apply(this,arguments)},hideDisable:function(t,e){return this.disable.apply(this,arguments),this.hide.apply(this,arguments)},showNotice:function(t){"object"!=typeof t&&(t={text:t}),this.notice&&this.notice.remove(),t.target=this.$inputWrap(),this.notice=acf.newNotice(t)},removeNotice:function(t){this.notice&&(this.notice.away(t||0),this.notice=!1)},showError:function(t){this.$el.addClass("acf-error"),t!==i&&this.showNotice({text:t,type:"error",dismiss:!1}),acf.doAction("invalid_field",this),this.$el.one("focus change","input, select, textarea",e.proxy(this.removeError,this))},removeError:function(){this.$el.removeClass("acf-error"),this.removeNotice(250),acf.doAction("valid_field",this)},trigger:function(t,e,i){return"invalidField"==t&&(i=!0),acf.Model.prototype.trigger.apply(this,[t,e,i])}}),acf.newField=function(t){var e=t.data("type"),i=s(e),n,a=new(acf.models[i]||acf.Field)(t);return acf.doAction("new_field",a),a};var s=function(t){return acf.strPascalCase(t||"")+"Field"};acf.registerFieldType=function(t){var e,i=t.prototype.type,n=s(i);acf.models[n]=t,r.push(i)},acf.getFieldType=function(t){var e=s(t);return acf.models[e]||!1},acf.getFieldTypes=function(n){n=acf.parseArgs(n,{category:""});var a=[];return r.map(function(t){var e=acf.getFieldType(t),i=e.prototype;n.category&&i.category!==n.category||a.push(e)}),a}}(jQuery),function(n,t){acf.findFields=function(t){var e=".acf-field",i=!1;return(t=acf.parseArgs(t,{key:"",name:"",type:"",is:"",parent:!1,sibling:!1,limit:!1,visible:!1,suppressFilters:!1})).suppressFilters||(t=acf.applyFilters("find_fields_args",t)),t.key&&(e+='[data-key="'+t.key+'"]'),t.type&&(e+='[data-type="'+t.type+'"]'),t.name&&(e+='[data-name="'+t.name+'"]'),t.is&&(e+=t.is),t.visible&&(e+=":visible"),i=t.parent?t.parent.find(e):t.sibling?t.sibling.siblings(e):n(e),t.suppressFilters||(i=i.not(".acf-clone .acf-field"),i=acf.applyFilters("find_fields",i)),t.limit&&(i=i.slice(0,t.limit)),i},acf.findField=function(t,e){return acf.findFields({key:t,limit:1,parent:e,suppressFilters:!0})},acf.getField=function(t){t instanceof jQuery||(t=acf.findField(t));var e=t.data("acf");return e||(e=acf.newField(t)),e},acf.getFields=function(t){t instanceof jQuery||(t=acf.findFields(t));var e=[];return t.each(function(){var t=acf.getField(n(this));e.push(t)}),e},acf.findClosestField=function(t){return t.closest(".acf-field")},acf.getClosestField=function(t){var e=acf.findClosestField(t);return this.getField(e)};var e=function(t){var e=t,r=t+"_fields",a=t+"_field",i=function(t){var e,i=acf.arrayArgs(arguments).slice(1),n=acf.getFields({parent:t});if(n.length){var a=[r,n].concat(i);acf.doAction.apply(null,a)}},n=function(t){var e,n=acf.arrayArgs(arguments).slice(1);t.map(function(t,e){var i=[a,t].concat(n);acf.doAction.apply(null,i)})};acf.addAction(e,i),acf.addAction(r,n),s(t)},s=function(e){var r=e+"_field",s=e+"Field",t=function(i){var n=acf.arrayArgs(arguments),a=n.slice(1),t;["type","name","key"].map(function(t){var e="/"+t+"="+i.get(t);n=[r+e,i].concat(a),acf.doAction.apply(null,n)}),-1'),o=f('
'),c=f(''),l=f("");s.append(e.html()),c.append(l),o.append(c),i.append(s),i.append(o),e.remove(),n.remove(),i.attr("colspan",2),e=s,i=o,n=l}t.addClass("acf-accordion"),e.addClass("acf-accordion-title"),i.addClass("acf-accordion-content"),p++,this.get("multi_expand")&&t.attr("multi-expand",1);var u=acf.getPreference("this.accordions")||[];u[p-1]!==h&&this.set("open",u[p-1]),this.get("open")&&(t.addClass("-open"),i.css("display","block")),e.prepend('');var d=t.parent();n.addClass(d.hasClass("-left")?"-left":""),n.addClass(d.hasClass("-clear")?"-clear":""),n.append(t.nextUntil(".acf-field-accordion",".acf-field")),n.removeAttr("data-open data-multi_expand data-endpoint")}}});acf.registerFieldType(t);var e=new acf.Model({actions:{unload:"onUnload"},events:{"click .acf-accordion-title":"onClick", -"invalidField .acf-accordion":"onInvalidField"},isOpen:function(t){return t.hasClass("-open")},toggle:function(t){this.isOpen(t)?this.close(t):this.open(t)},open:function(t){t.find(".acf-accordion-content:first").slideDown().css("display","block"),t.find(".acf-accordion-icon:first").removeClass("dashicons-arrow-right").addClass("dashicons-arrow-down"),t.addClass("-open"),acf.doAction("show",t),t.attr("multi-expand")||t.siblings(".acf-accordion.-open").each(function(){e.close(f(this))})},close:function(t){t.find(".acf-accordion-content:first").slideUp(),t.find(".acf-accordion-icon:first").removeClass("dashicons-arrow-down").addClass("dashicons-arrow-right"),t.removeClass("-open"),acf.doAction("hide",t)},onClick:function(t,e){t.preventDefault(),this.toggle(e.parent())},onInvalidField:function(t,e){this.busy||(this.busy=!0,this.setTimeout(function(){this.busy=!1},1e3),this.open(e))},onUnload:function(t){var e=[];f(".acf-accordion").each(function(){var t=f(this).hasClass("-open")?1:0;e.push(t)}),e.length&&acf.setPreference("this.accordions",e)}})}(jQuery),function(t,e){var i=acf.Field.extend({type:"button_group",events:{'click input[type="radio"]':"onClick"},$control:function(){return this.$(".acf-button-group")},$input:function(){return this.$("input:checked")},setValue:function(t){this.$('input[value="'+t+'"]').prop("checked",!0).trigger("change")},onClick:function(t,e){var i=e.parent("label"),n=i.hasClass("selected");this.$(".selected").removeClass("selected"),i.addClass("selected"),this.get("allow_null")&&n&&(i.removeClass("selected"),e.prop("checked",!1).trigger("change"))}});acf.registerFieldType(i)}(jQuery),function(e,t){var i=acf.Field.extend({type:"checkbox",events:{"change input":"onChange","click .acf-add-checkbox":"onClickAdd","click .acf-checkbox-toggle":"onClickToggle","click .acf-checkbox-custom":"onClickCustom"},$control:function(){return this.$(".acf-checkbox-list")},$toggle:function(){return this.$(".acf-checkbox-toggle")},$input:function(){return this.$('input[type="hidden"]')},$inputs:function(){return this.$('input[type="checkbox"]').not(".acf-checkbox-toggle")},getValue:function(){var t=[];return this.$(":checked").each(function(){t.push(e(this).val())}),!!t.length&&t},onChange:function(t,e){var i=e.prop("checked"),n=this.$toggle(),a;(i?e.parent().addClass("selected"):e.parent().removeClass("selected"),n.length)&&(0==this.$inputs().not(":checked").length?n.prop("checked",!0):n.prop("checked",!1))},onClickAdd:function(t,e){var i='
  • ';e.parent("li").before(i)},onClickToggle:function(t,e){var i=e.prop("checked"),n;this.$inputs().prop("checked",i)},onClickCustom:function(t,e){var i=e.prop("checked"),n=e.next('input[type="text"]');i?n.prop("disabled",!1):(n.prop("disabled",!0),""==n.val()&&e.parent("li").remove())}});acf.registerFieldType(i)}(jQuery),function(t,e){var i=acf.Field.extend({type:"color_picker",wait:"load",$control:function(){return this.$(".acf-color-picker")},$input:function(){return this.$('input[type="hidden"]')},$inputText:function(){return this.$('input[type="text"]')},setValue:function(t){acf.val(this.$input(),t),this.$inputText().iris("color",t)},initialize:function(){var e=this.$input(),i=this.$inputText(),t=function(t){setTimeout(function(){acf.val(e,i.val())},1)},n={defaultColor:!1,palettes:!0,hide:!0,change:t,clear:t},n=acf.applyFilters("color_picker_args",n,this);i.wpColorPicker(n)}});acf.registerFieldType(i)}(jQuery),function(n,t){var e=acf.Field.extend({type:"date_picker",events:{'blur input[type="text"]':"onBlur"},$control:function(){return this.$(".acf-date-picker")},$input:function(){return this.$('input[type="hidden"]')},$inputText:function(){return this.$('input[type="text"]')},initialize:function(){if(this.has("save_format"))return this.initializeCompatibility();var t=this.$input(),e=this.$inputText(),i={dateFormat:this.get("date_format"),altField:t,altFormat:"yymmdd",changeYear:!0,yearRange:"-100:+100",changeMonth:!0,showButtonPanel:!0,firstDay:this.get("first_day")};i=acf.applyFilters("date_picker_args",i,this),acf.newDatePicker(e,i),acf.doAction("date_picker_init",e,i,this)},initializeCompatibility:function(){var t=this.$input(),e=this.$inputText();e.val(t.val());var i={dateFormat:this.get("date_format"),altField:t,altFormat:this.get("save_format"),changeYear:!0,yearRange:"-100:+100",changeMonth:!0,showButtonPanel:!0,firstDay:this.get("first_day")},n=(i=acf.applyFilters("date_picker_args",i,this)).dateFormat;i.dateFormat=this.get("save_format"),acf.newDatePicker(e,i),e.datepicker("option","dateFormat",n),acf.doAction("date_picker_init",e,i,this)},onBlur:function(){this.$inputText().val()||acf.val(this.$input(),"")}});acf.registerFieldType(e);var i=new acf.Model({priority:5,wait:"ready",initialize:function(){var t=acf.get("locale"),e=acf.get("rtl"),i=acf.get("datePickerL10n");return!!i&&(void 0!==n.datepicker&&(i.isRTL=e,n.datepicker.regional[t]=i,void n.datepicker.setDefaults(i)))}});acf.newDatePicker=function(t,e){if(void 0===n.datepicker)return!1;e=e||{},t.datepicker(e),n("body > #ui-datepicker-div").exists()&&n("body > #ui-datepicker-div").wrap('
    ')}}(jQuery),function(n,t){var e=acf.models.DatePickerField.extend({type:"date_time_picker",$control:function(){return this.$(".acf-date-time-picker")},initialize:function(){var t=this.$input(),e=this.$inputText(),i={dateFormat:this.get("date_format"),timeFormat:this.get("time_format"),altField:t,altFieldTimeOnly:!1,altFormat:"yy-mm-dd",altTimeFormat:"HH:mm:ss",changeYear:!0,yearRange:"-100:+100",changeMonth:!0,showButtonPanel:!0,firstDay:this.get("first_day"),controlType:"select",oneLine:!0};i=acf.applyFilters("date_time_picker_args",i,this),acf.newDateTimePicker(e,i),acf.doAction("date_time_picker_init",e,i,this)}});acf.registerFieldType(e);var i=new acf.Model({priority:5,wait:"ready",initialize:function(){var t=acf.get("locale"),e=acf.get("rtl"),i=acf.get("dateTimePickerL10n");return!!i&&(void 0!==n.timepicker&&(i.isRTL=e,n.timepicker.regional[t]=i,void n.timepicker.setDefaults(i)))}});acf.newDateTimePicker=function(t,e){if(void 0===n.timepicker)return!1;e=e||{},t.datetimepicker(e),n("body > #ui-datepicker-div").exists()&&n("body > #ui-datepicker-div").wrap('
    ')}}(jQuery),function(s,t){var e=acf.Field.extend({type:"google_map",map:!1,wait:"load",events:{'click a[data-name="clear"]':"onClickClear",'click a[data-name="locate"]':"onClickLocate",'click a[data-name="search"]':"onClickSearch","keydown .search":"onKeydownSearch","keyup .search":"onKeyupSearch","focus .search":"onFocusSearch","blur .search":"onBlurSearch",showField:"onShow"},$control:function(){return this.$(".acf-google-map")},$input:function(t){return this.$('input[data-name="'+(t||"address")+'"]')},$search:function(){return this.$(".search")},$canvas:function(){return this.$(".canvas")},addClass:function(t){this.$control().addClass(t)},removeClass:function(t){this.$control().removeClass(t)},getValue:function(){var t={lat:"",lng:"",address:""};return this.$('input[type="hidden"]').each(function(){t[s(this).data("name")]=s(this).val()}),t.lat&&t.lng||(t=!1),t},setValue:function(t){for(var e in t=acf.parseArgs(t,{lat:"",lng:"",address:""}))acf.val(this.$input(e),t[e]);t.lat&&t.lng||(t=!1),this.renderVal(t)},renderVal:function(t){t?(this.addClass("-value"),this.setPosition(t.lat,t.lng),this.map.marker.setVisible(!0)):(this.removeClass("-value"),this.map.marker.setVisible(!1)),this.$search().val(t.address)},setPosition:function(t,e){var i=this.newLatLng(t,e);return this.map.marker.setPosition(i),this.map.marker.setVisible(!0),acf.doAction("google_map_change",i,this.map,this),this.center(),this},center:function(){var t=this.map.marker.getPosition(),e=this.get("lat"),i=this.get("lng");t&&(e=t.lat(),i=t.lng());var n=this.newLatLng(e,i);this.map.setCenter(n)},getSearchVal:function(){return this.$search().val()},initialize:function(){o.isReady()?this.initializeMap():o.ready(this.initializeMap,this)},newLatLng:function(t,e){return new google.maps.LatLng(parseFloat(t),parseFloat(e))},initializeMap:function(){var t=this.get("zoom"),e=this.get("lat"),i=this.get("lng"),n={scrollwheel:!1,zoom:parseInt(t),center:this.newLatLng(e,i),mapTypeId:google.maps.MapTypeId.ROADMAP,marker:{draggable:!0,raiseOnDrag:!0},autocomplete:{}};n=acf.applyFilters("google_map_args",n,this);var a=new google.maps.Map(this.$canvas()[0],n),r=acf.parseArgs(n.marker,{draggable:!0,raiseOnDrag:!0,map:a});r=acf.applyFilters("google_map_marker_args",r,this);var s=new google.maps.Marker(r),o=!1;if(acf.isset(google,"maps","places","Autocomplete")){var c=n.autocomplete||{};c=acf.applyFilters("google_map_autocomplete_args",c,this),(o=new google.maps.places.Autocomplete(this.$search()[0],c)).bindTo("bounds",a)}this.addMapEvents(this,a,s,o),a.acf=this,a.marker=s,a.autocomplete=o,this.map=a,acf.doAction("google_map_init",a,s,this);var l=this.getValue();this.renderVal(l)},addMapEvents:function(n,t,e,i){google.maps.event.addListener(t,"click",function(t){var e=t.latLng.lat(),i=t.latLng.lng();n.searchPosition(e,i)}),google.maps.event.addListener(e,"dragend",function(){var t=this.getPosition(),e=t.lat(),i=t.lng();n.searchPosition(e,i)}),i&&google.maps.event.addListener(i,"place_changed",function(){var t=this.getPlace();t.address=n.getSearchVal(),n.setPlace(t)})},searchPosition:function(n,a){var t=this.newLatLng(n,a),r=this.$control();this.setPosition(n,a),r.addClass("-loading");var e=s.proxy(function(t,e){r.removeClass("-loading");var i="";e!=google.maps.GeocoderStatus.OK?console.log("Geocoder failed due to: "+e):t[0]?i=t[0].formatted_address:console.log("No results found"),this.val({lat:n,lng:a,address:i})},this);o.geocoder.geocode({latLng:t},e)},setPlace:function(t){if(!t)return this;if(t.name&&!t.geometry)return this.searchAddress(t.name),this;var e=t.geometry.location.lat(),i=t.geometry.location.lng(),n=t.address||t.formatted_address;return this.setValue({lat:e,lng:i,address:n}),this},searchAddress:function(a){var t=a.split(",");if(2==t.length){var e=t[0],i=t[1];if(s.isNumeric(e)&&s.isNumeric(i))return this.searchPosition(e,i)}var r=this.$control();r.addClass("-loading");var n=this.proxy(function(t,e){r.removeClass("-loading");var i="",n="";e!=google.maps.GeocoderStatus.OK?console.log("Geocoder failed due to: "+e):t[0]?(i=t[0].geometry.location.lat(),n=t[0].geometry.location.lng()):console.log("No results found"),this.val({lat:i,lng:n,address:a})});o.geocoder.geocode({address:a},n)},searchLocation:function(){if(!navigator.geolocation)return alert(acf.__("Sorry, this browser does not support geolocation"));var a=this.$control();a.addClass("-loading");var t=s.proxy(function(t,e){a.removeClass("-loading");var i=t.coords.latitude,n=t.coords.longitude;this.searchPosition(i,n)},this),e=function(t){a.removeClass("-loading")};navigator.geolocation.getCurrentPosition(t,e)},onClickClear:function(t,e){this.val(!1)},onClickLocate:function(t,e){this.searchLocation()},onClickSearch:function(t,e){this.searchAddress(this.$search().val())},onFocusSearch:function(t,e){this.removeClass("-value"),this.onKeyupSearch.apply(this,arguments)},onBlurSearch:function(t,e){this.setTimeout(function(){this.removeClass("-search"),e.val()&&this.addClass("-value")},100)},onKeyupSearch:function(t,e){e.val()?this.addClass("-search"):this.removeClass("-search")},onKeydownSearch:function(t,e){13==t.which&&t.preventDefault()},onMousedown:function(){},onShow:function(){if(!this.map)return!1;this.setTimeout(this.center,10)}});acf.registerFieldType(e);var o=new acf.Model({geocoder:!1,data:{status:!1},getStatus:function(){return this.get("status")},setStatus:function(t){return this.set("status",t)},isReady:function(){if("ready"==this.getStatus())return!0;if("loading"==this.getStatus())return!1;if(acf.isset(window,"google","maps","places"))return this.setStatus("ready"),!0;var t=acf.get("google_map_api");return t&&(this.setStatus("loading"),s.ajax({url:t,dataType:"script",cache:!0,context:this,success:function(){this.setStatus("ready"),this.geocoder=new google.maps.Geocoder,acf.doAction("google_map_api_loaded")}})),!1},ready:function(t,e){acf.addAction("google_map_api_loaded",t,10,e)}})}(jQuery),function(n,i){var t=acf.Field.extend({type:"image",$control:function(){return this.$(".acf-image-uploader")},$input:function(){return this.$('input[type="hidden"]')},events:{'click a[data-name="add"]':"onClickAdd",'click a[data-name="edit"]':"onClickEdit",'click a[data-name="remove"]':"onClickRemove",'change input[type="file"]':"onChange"},initialize:function(){"basic"===this.get("uploader")&&this.$el.closest("form").attr("enctype","multipart/form-data")},validateAttachment:function(t){(t=t||{}).id!==i&&(t=t.attributes),t=acf.parseArgs(t,{url:"",alt:"",title:"",caption:"",description:"",width:0,height:0});var e=acf.isget(t,"sizes",this.get("preview_size"),"url");return null!==e&&(t.url=e),t},render:function(t){t=this.validateAttachment(t),this.$("img").attr({src:t.url,alt:t.alt,title:t.title});var e=t.id||"";this.val(e),e?this.$control().addClass("has-value"):this.$control().removeClass("has-value")},append:function(t,e){var i=function(t,e){for(var i=acf.getFields({key:t.get("key"),parent:e.$el}),n=0;n
    '):this.$el=a('
      '),i.before(this.$el),this.set("index",r,!0),r++},initializeTabs:function(){var t=this.getVisible().shift(),e,i,n=(acf.getPreference("this.tabs")||[])[this.get("index")];this.tabs[n]&&this.tabs[n].isVisible()&&(t=this.tabs[n]),t?this.selectTab(t):this.closeTabs(),this.set("initialized",!0)},getVisible:function(){return this.tabs.filter(function(t){return t.isVisible()})},getActive:function(){return this.active},setActive:function(t){return this.active=t},hasActive:function(){return!1!==this.active},isActive:function(t){var e=this.getActive();return e&&e.cid===t.cid},closeActive:function(){this.hasActive()&&this.closeTab(this.getActive())},openTab:function(t){this.closeActive(),t.open(),this.setActive(t)},closeTab:function(t){t.close(),this.setActive(!1)},closeTabs:function(){this.tabs.map(this.closeTab,this)},selectTab:function(e){this.tabs.map(function(t){e.cid!==t.cid&&this.closeTab(t)},this),this.openTab(e)},addTab:function(t,e){var i=a("
    • ");i.append(t),this.$("ul").append(i);var n=new s({$el:i,field:e,group:this});return this.tabs.push(n),n},reset:function(){return this.closeActive(),this.refresh()},refresh:function(){if(this.hasActive())return!1;var t=this.getVisible().shift();return t&&this.openTab(t),t},onRefresh:function(){if("left"===this.get("placement")){var t=this.$el.parent(),e=this.$el.children("ul"),i=t.is("td")?"height":"min-height",n=e.position().top+e.outerHeight(!0)-1;t.css(i,n)}}}),s=acf.Model.extend({group:!1,field:!1,events:{"click a":"onClick"},index:function(){return this.$el.index()},isVisible:function(){return acf.isVisible(this.$el)},isActive:function(){return this.$el.hasClass("active")},open:function(){this.$el.addClass("active"),this.field.showFields()},close:function(){this.$el.removeClass("active"),this.field.hideFields()},onClick:function(t,e){t.preventDefault(),this.toggle()},toggle:function(){this.isActive()||this.group.openTab(this)}}),o=new acf.Model({priority:50,actions:{prepare:"render",append:"render",unload:"onUnload",invalid_field:"onInvalidField"},findTabs:function(){return a(".acf-tab-wrap")},getTabs:function(){return acf.getInstances(this.findTabs())},render:function(t){this.getTabs().map(function(t){t.get("initialized")||t.initializeTabs()})},onInvalidField:function(t){this.busy||t.hiddenByTab&&(t.hiddenByTab.toggle(),this.busy=!0,this.setTimeout(function(){this.busy=!1},100))},onUnload:function(){var i=[];this.getTabs().map(function(t){var e=t.hasActive()?t.getActive().index():0;i.push(e)}),i.length&&acf.setPreference("this.tabs",i)}})}(jQuery),function(t,e){var i=acf.models.SelectField.extend({type:"post_object"});acf.registerFieldType(i)}(jQuery),function(t,e){var i=acf.models.SelectField.extend({type:"page_link"});acf.registerFieldType(i)}(jQuery),function(t,e){var i=acf.models.SelectField.extend({type:"user"});acf.registerFieldType(i)}(jQuery),function(g,t){var e=acf.Field.extend({type:"taxonomy",data:{ftype:"select"},select2:!1,wait:"load",events:{'click a[data-name="add"]':"onClickAdd",'click input[type="radio"]':"onClickRadio"},$control:function(){return this.$(".acf-taxonomy-field")},$input:function(){return this.getRelatedPrototype().$input.apply(this,arguments)},getRelatedType:function(){var t=this.get("ftype");return"multi_select"==t&&(t="select"),t},getRelatedPrototype:function(){return acf.getFieldType(this.getRelatedType()).prototype},getValue:function(){return this.getRelatedPrototype().getValue.apply(this,arguments)},setValue:function(){return this.getRelatedPrototype().setValue.apply(this,arguments)},initialize:function(){this.getRelatedPrototype().initialize.apply(this,arguments)},onRemove:function(){this.select2&&this.select2.destroy()},onClickAdd:function(t,e){var n=this,i=!1,a=!1,r=!1,s=!1,o=!1,c=!1,l=!1,u=function(){i=acf.newPopup({title:e.attr("title"),loading:!0,width:"300px"});var t={action:"acf/fields/taxonomy/add_term",field_key:n.get("key")};g.ajax({url:acf.get("ajaxurl"),data:acf.prepareForAjax(t),type:"post",dataType:"html",success:d})},d=function(t){i.loading(!1),i.content(t),a=i.$("form"),r=i.$('input[name="term_name"]'),s=i.$('select[name="term_parent"]'),o=i.$(".acf-submit-button"),r.focus(),i.on("submit","form",f)},f=function(t,e){if(t.preventDefault(),t.stopImmediatePropagation(),""===r.val())return r.focus(),!1;acf.startButtonLoading(o);var i={action:"acf/fields/taxonomy/add_term",field_key:n.get("key"),term_name:r.val(),term_parent:s.length?s.val():0};g.ajax({url:acf.get("ajaxurl"),data:acf.prepareForAjax(i),type:"post",dataType:"json", -success:h})},h=function(t){acf.stopButtonLoading(o),l&&l.remove(),l=acf.isAjaxSuccess(t)?(r.val(""),p(t.data),acf.newNotice({type:"success",text:acf.getAjaxMessage(t),target:a,timeout:2e3,dismiss:!1})):acf.newNotice({type:"error",text:acf.getAjaxError(t),target:a,timeout:2e3,dismiss:!1}),r.focus()},p=function(e){var t=g('"),i;e.term_parent?s.children('option[value="'+e.term_parent+'"]').after(t):s.append(t),acf.getFields({type:"taxonomy"}).map(function(t){t.get("taxonomy")==n.get("taxonomy")&&t.appendTerm(e)}),n.selectTerm(e.term_id)};u()},appendTerm:function(t){"select"==this.getRelatedType()?this.appendTermSelect(t):this.appendTermCheckbox(t)},appendTermSelect:function(t){this.select2.addOption({id:t.term_id,text:t.term_label})},appendTermCheckbox:function(t){var e=this.$("[name]:first").attr("name"),i=this.$("ul:first");"checkbox"==this.getRelatedType()&&(e+="[]");var n=g(['
    • ',"","
    • "].join(""));if(t.term_parent){var a=i.find('li[data-id="'+t.term_parent+'"]');(i=a.children("ul")).exists()||(i=g('
        '),a.append(i))}i.append(n)},selectTerm:function(t){var e;"select"==this.getRelatedType()?this.select2.selectOption(t):this.$('input[value="'+t+'"]').prop("checked",!0).trigger("change")},onClickRadio:function(t,e){var i=e.parent("label"),n=i.hasClass("selected");this.$(".selected").removeClass("selected"),i.addClass("selected"),this.get("allow_null")&&n&&(i.removeClass("selected"),e.prop("checked",!1).trigger("change"))}});acf.registerFieldType(e)}(jQuery),function(i,t){var e=acf.models.DatePickerField.extend({type:"time_picker",$control:function(){return this.$(".acf-time-picker")},initialize:function(){var t=this.$input(),e=this.$inputText(),i={timeFormat:this.get("time_format"),altField:t,altFieldTimeOnly:!1,altTimeFormat:"HH:mm:ss",showButtonPanel:!0,controlType:"select",oneLine:!0,closeText:acf.get("dateTimePickerL10n").selectText,timeOnly:!0,onClose:function(t,e,i){var n=e.dpDiv.find(".ui-datepicker-close");!t&&n.is(":hover")&&i._updateDateTime()}};i=acf.applyFilters("time_picker_args",i,this),acf.newTimePicker(e,i),acf.doAction("time_picker_init",e,i,this)}});acf.registerFieldType(e),acf.newTimePicker=function(t,e){if(void 0===i.timepicker)return!1;e=e||{},t.timepicker(e),i("body > #ui-datepicker-div").exists()&&i("body > #ui-datepicker-div").wrap('
        ')}}(jQuery),function(t,e){var i=acf.Field.extend({type:"true_false",events:{"change .acf-switch-input":"onChange","focus .acf-switch-input":"onFocus","blur .acf-switch-input":"onBlur","keypress .acf-switch-input":"onKeypress"},$input:function(){return this.$('input[type="checkbox"]')},$switch:function(){return this.$(".acf-switch")},getValue:function(){return this.$input().prop("checked")?1:0},initialize:function(){this.render()},render:function(){var t=this.$switch();if(t.length){var e=t.children(".acf-switch-on"),i=t.children(".acf-switch-off"),n=Math.max(e.width(),i.width());n&&(e.css("min-width",n),i.css("min-width",n))}},switchOn:function(){this.$input().prop("checked",!0),this.$switch().addClass("-on")},switchOff:function(){this.$input().prop("checked",!1),this.$switch().removeClass("-on")},onChange:function(t,e){e.prop("checked")?this.switchOn():this.switchOff()},onFocus:function(t,e){this.$switch().addClass("-focus")},onBlur:function(t,e){this.$switch().removeClass("-focus")},onKeypress:function(t,e){return 37===t.keyCode?this.switchOff():39===t.keyCode?this.switchOn():void 0}});acf.registerFieldType(i)}(jQuery),function(t,e){var i=acf.Field.extend({type:"url",events:{'keyup input[type="url"]':"onkeyup"},$control:function(){return this.$(".acf-input-wrap")},$input:function(){return this.$('input[type="url"]')},initialize:function(){this.render()},isValid:function(){var t=this.val();return!!t&&(-1!==t.indexOf("://")||0===t.indexOf("//"))},render:function(){this.isValid()?this.$control().addClass("-valid"):this.$control().removeClass("-valid")},onkeyup:function(t,e){this.render()}});acf.registerFieldType(i)}(jQuery),function(t,e){var i=acf.Field.extend({type:"wysiwyg",wait:"load",events:{"mousedown .acf-editor-wrap.delay":"onMousedown",sortstartField:"disableEditor",sortstopField:"enableEditor",removeField:"disableEditor"},$control:function(){return this.$(".acf-editor-wrap")},$input:function(){return this.$("textarea")},getMode:function(){return this.$control().hasClass("tmce-active")?"visual":"text"},initialize:function(){this.$control().hasClass("delay")||this.initializeEditor()},initializeEditor:function(){var t=this.$control(),e=this.$input(),i={tinymce:!0,quicktags:!0,toolbar:this.get("toolbar"),mode:this.getMode(),field:this},n=e.attr("id"),a=acf.uniqueId("acf-editor-"),r=e.data();acf.rename({target:t,search:n,replace:a,destructive:!0}),this.set("id",a,!0),acf.tinymce.initialize(a,i),this.$input().data(r)},onMousedown:function(t){t.preventDefault();var e=this.$control();e.removeClass("delay"),e.find(".acf-editor-toolbar").remove(),this.initializeEditor()},enableEditor:function(){"visual"==this.getMode()&&acf.tinymce.enable(this.get("id"))},disableEditor:function(){acf.tinymce.destroy(this.get("id"))}});acf.registerFieldType(i)}(jQuery),function(e,t){var s=[];acf.Condition=acf.Model.extend({type:"",operator:"==",label:"",choiceType:"input",fieldTypes:[],data:{conditions:!1,field:!1,rule:{}},events:{change:"change",keyup:"change",enableField:"change",disableField:"change"},setup:function(t){e.extend(this.data,t)},getEventTarget:function(t,e){return t||this.get("field").$el},change:function(t,e){this.get("conditions").change(t)},match:function(t,e){return!1},calculate:function(){return this.match(this.get("rule"),this.get("field"))},choices:function(t){return''}}),acf.newCondition=function(t,e){var i=e.get("field"),n=i.getField(t.field);if(!i||!n)return!1;var a={rule:t,target:i,conditions:e,field:n},r=n.get("type"),s=t.operator,o,c,l;return new(acf.getConditionTypes({fieldType:r,operator:s})[0]||acf.Condition)(a)};var a=function(t){return acf.strPascalCase(t||"")+"Condition"};acf.registerConditionType=function(t){var e,i=t.prototype.type,n=a(i);acf.models[n]=t,s.push(i)},acf.getConditionType=function(t){var e=a(t);return acf.models[e]||!1},acf.registerConditionForFieldType=function(t,e){var i=acf.getConditionType(t);i&&i.prototype.fieldTypes.push(e)},acf.getConditionTypes=function(a){a=acf.parseArgs(a,{fieldType:"",operator:""});var r=[];return s.map(function(t){var e=acf.getConditionType(t),i=e.prototype.fieldTypes,n=e.prototype.operator;a.fieldType&&-1===i.indexOf(a.fieldType)||a.operator&&n!==a.operator||r.push(e)}),r}}(jQuery),function(t,e){var i="conditional_logic",n=new acf.Model({id:"conditionsManager",priority:20,actions:{new_field:"onNewField"},onNewField:function(t){t.has("conditions")&&t.getConditions().render()}}),a=function(t,e){var i=acf.getFields({key:e,sibling:t.$el,suppressFilters:!0});return i.length||(i=acf.getFields({key:e,parent:t.$el.parent(),suppressFilters:!0})),!!i.length&&i[0]};acf.Field.prototype.getField=function(t){var e=a(this,t);if(e)return e;for(var i=this.parents(),n=0;nparseFloat(e)},c=function(t,e){return parseFloat(t)'}});acf.registerConditionType(f);var e=f.extend({type:"hasNoValue",operator:"==empty",label:a("Has no value"),match:function(t,e){return!f.prototype.match.apply(this,arguments)}});acf.registerConditionType(e);var h=acf.Condition.extend({type:"equalTo",operator:"==",label:a("Value is equal to"),fieldTypes:["text","textarea","number","range","email","url","password"],match:function(t,e){return n.isNumeric(t.value)?i(t.value,e.val()):s(t.value,e.val())},choices:function(t){return''}});acf.registerConditionType(h);var p=h.extend({type:"notEqualTo",operator:"!=",label:a("Value is not equal to"),match:function(t,e){return!h.prototype.match.apply(this,arguments)}});acf.registerConditionType(p);var g=acf.Condition.extend({type:"patternMatch",operator:"==pattern",label:a("Value matches pattern"),fieldTypes:["text","textarea","email","url","password","wysiwyg"],match:function(t,e){return d(e.val(),t.value)},choices:function(t){return''}});acf.registerConditionType(g);var m=acf.Condition.extend({type:"contains",operator:"==contains",label:a("Value contains"),fieldTypes:["text","textarea","number","email","url","password","wysiwyg","oembed","select"],match:function(t,e){return u(e.val(),t.value)},choices:function(t){return''}});acf.registerConditionType(m);var v=h.extend({type:"trueFalseEqualTo",choiceType:"select",fieldTypes:["true_false"],choices:function(t){return[{id:1,text:a("Checked")}]}});acf.registerConditionType(v);var y=p.extend({type:"trueFalseNotEqualTo",choiceType:"select",fieldTypes:["true_false"],choices:function(t){return[{id:1,text:a("Checked")}]}});acf.registerConditionType(y);var b=acf.Condition.extend({type:"selectEqualTo",operator:"==",label:a("Value is equal to"),fieldTypes:["select","checkbox","radio","button_group"],match:function(t,e){var i=e.val();return i instanceof Array?l(t.value,i):s(t.value,i)},choices:function(t){var e=[],i=t.$setting("choices textarea").val().split("\n");return t.$input("allow_null").prop("checked")&&e.push({id:"",text:a("Null")}),i.map(function(t){(t=t.split(":"))[1]=t[1]||t[0],e.push({id:n.trim(t[0]),text:n.trim(t[1])})}),e}});acf.registerConditionType(b);var x=b.extend({type:"selectNotEqualTo",operator:"!=",label:a("Value is not equal to"),match:function(t,e){return!b.prototype.match.apply(this,arguments)}});acf.registerConditionType(x);var w=acf.Condition.extend({type:"greaterThan",operator:">",label:a("Value is greater than"),fieldTypes:["number","range"],match:function(t,e){var i=e.val();return i instanceof Array&&(i=i.length),o(i,t.value)},choices:function(t){return''}});acf.registerConditionType(w);var _=w.extend({type:"lessThan",operator:"<",label:a("Value is less than"),match:function(t,e){var i=e.val();return i instanceof Array&&(i=i.length),c(i,t.value)},choices:function(t){return''}});acf.registerConditionType(_);var $=w.extend({type:"selectionGreaterThan",label:a("Selection is greater than"),fieldTypes:["checkbox","select","post_object","page_link","relationship","taxonomy","user"]});acf.registerConditionType($);var k=_.extend({type:"selectionLessThan",label:a("Selection is less than"),fieldTypes:["checkbox","select","post_object","page_link","relationship","taxonomy","user"]});acf.registerConditionType(k)}(jQuery),function(s,n){acf.newMediaPopup=function(t){var e=null,t=acf.parseArgs(t,{mode:"select",title:"",button:"",type:"",field:!1,allowedTypes:"",library:"all",multiple:!1,attachment:0,autoOpen:!0,open:function(){},select:function(){},close:function(){}});return e="edit"==t.mode?new acf.models.EditMediaPopup(t):new acf.models.SelectMediaPopup(t),t.autoOpen&&setTimeout(function(){e.open()},1),acf.doAction("new_media_popup",e),e};var e=function(){var t=acf.get("post_id");return s.isNumeric(t)?t:0};acf.getMimeTypes=function(){return this.get("mimeTypes")},acf.getMimeType=function(t){var e=acf.getMimeTypes();if(e[t]!==n)return e[t];for(var i in e)if(-1!==i.indexOf(t))return e[i];return!1};var i=acf.Model.extend({id:"MediaPopup",data:{},defaults:{},frame:!1,setup:function(t){s.extend(this.data,t)},initialize:function(){var t=this.getFrameOptions();this.addFrameStates(t);var e=wp.media(t);(e.acf=this).addFrameEvents(e,t),this.frame=e},open:function(){this.frame.open()},close:function(){this.frame.close()},remove:function(){this.frame.detach(),this.frame.remove()},getFrameOptions:function(){var t={title:this.get("title"),multiple:this.get("multiple"),library:{},states:[]};return this.get("type")&&(t.library.type=this.get("type")),"uploadedTo"===this.get("library")&&(t.library.uploadedTo=e()),this.get("attachment")&&(t.library.post__in=[this.get("attachment")]),this.get("button")&&(t.button={text:this.get("button")}),t},addFrameStates:function(t){var e=wp.media.query(t.library);this.get("field")&&acf.isset(e,"mirroring","args")&&(e.mirroring.args._acfuploader=this.get("field")),t.states.push(new wp.media.controller.Library({library:e,multiple:this.get("multiple"),title:this.get("title"),priority:20,filterable:"all",editable:!0,allowLocalEdits:!0})),acf.isset(wp,"media","controller","EditImage")&&t.states.push(new wp.media.controller.EditImage)},addFrameEvents:function(i,t){i.on("open",function(){this.$el.closest(".media-modal").addClass("acf-media-modal -"+this.acf.get("mode"))},i),i.on("content:render:edit-image",function(){var t=this.state().get("image"),e=new wp.media.view.EditImage({model:t,controller:this}).render();this.content.set(e),e.loadEditor()},i),i.on("select",function(){var t=i.state().get("selection");t&&t.each(function(t,e){i.acf.get("select").apply(i.acf,[t,e])})}),i.on("close",function(){setTimeout(function(){i.acf.get("close").apply(i.acf),i.acf.remove()},1)})}});acf.models.SelectMediaPopup=i.extend({id:"SelectMediaPopup",setup:function(t){t.button||(t.button=acf._x("Select","verb")),i.prototype.setup.apply(this,arguments)},addFrameEvents:function(e,t){acf.isset(_wpPluploadSettings,"defaults","multipart_params")&&(_wpPluploadSettings.defaults.multipart_params._acfuploader=this.get("field"),e.on("open",function(){delete _wpPluploadSettings.defaults.multipart_params._acfuploader})),e.on("content:activate:browse",function(){var t=!1;try{t=e.content.get().toolbar}catch(t){return void console.log(t)}e.acf.customizeFilters.apply(e.acf,[t])}),i.prototype.addFrameEvents.apply(this,arguments)},customizeFilters:function(t){var n=t.get("filters"),e;("image"==this.get("type")&&(n.filters.all.text=acf.__("All images"),delete n.filters.audio,delete n.filters.video,delete n.filters.image,s.each(n.filters,function(t,e){e.props.type=e.props.type||"image"})),this.get("allowedTypes"))&&this.get("allowedTypes").split(" ").join("").split(".").join("").split(",").map(function(t){var e=acf.getMimeType(t);if(e){var i={text:e,props:{status:null,type:e,uploadedTo:null,orderby:"date",order:"DESC"},priority:20};n.filters[e]=i}});if("uploadedTo"===this.get("library")){var i=this.frame.options.library.uploadedTo;delete n.filters.unattached,delete n.filters.uploaded,s.each(n.filters,function(t,e){e.text+=" ("+acf.__("Uploaded to this post")+")",e.props.uploadedTo=i})}var a=this.get("field"),r;s.each(n.filters,function(t,e){e.props._acfuploader=a}),t.get("search").model.attributes._acfuploader=a,n.renderFilters&&n.renderFilters()}}),acf.models.EditMediaPopup=i.extend({id:"SelectMediaPopup",setup:function(t){t.button||(t.button=acf._x("Update","verb")),i.prototype.setup.apply(this,arguments)},addFrameEvents:function(n,t){n.on("open",function(){this.$el.closest(".media-modal").addClass("acf-expanded"),"browse"!=this.content.mode()&&this.content.mode("browse");var t,e=this.state().get("selection"),i=wp.media.attachment(n.acf.get("attachment"));e.add(i)},n),i.prototype.addFrameEvents.apply(this,arguments)}});var t=new acf.Model({id:"customizePrototypes",wait:"ready",initialize:function(){if(acf.isset(window,"wp","media","view")){var t=e();t&&acf.isset(wp,"media","view","settings","post")&&(wp.media.view.settings.post.id=t),this.customizeAttachmentsRouter(),this.customizeAttachmentFilters(),this.customizeAttachmentCompat(),this.customizeAttachmentLibrary()}},customizeAttachmentsRouter:function(){if(acf.isset(wp,"media","view","Router")){var t=wp.media.view.Router;wp.media.view.Router=t.extend({addExpand:function(){var t=s(['',''+acf.__("Expand Details")+"",''+acf.__("Collapse Details")+"",""].join(""));t.on("click",function(t){t.preventDefault();var e=s(this).closest(".media-modal");e.hasClass("acf-expanded")?e.removeClass("acf-expanded"):e.addClass("acf-expanded")}),this.$el.append(t)},initialize:function(){return t.prototype.initialize.apply(this,arguments),this.addExpand(),this}})}},customizeAttachmentFilters:function(){var t;acf.isset(wp,"media","view","AttachmentFilters","All")&&(wp.media.view.AttachmentFilters.All.prototype.renderFilters=function(){this.$el.html(_.chain(this.filters).map(function(t,e){return{el:s("").val(e).html(t.text)[0],priority:t.priority||50}},this).sortBy("priority").pluck("el").value())})},customizeAttachmentCompat:function(){if(acf.isset(wp,"media","view","AttachmentCompat")){var t=wp.media.view.AttachmentCompat,e=!1;wp.media.view.AttachmentCompat=t.extend({render:function(){return this.rendered?this:(t.prototype.render.apply(this,arguments),this.$("#acf-form-data").length&&(clearTimeout(e),e=setTimeout(s.proxy(function(){this.rendered=!0,acf.doAction("append",this.$el)},this),50)),this)},save:function(t){var e={};t&&t.preventDefault(),e=acf.serializeForAjax(this.$el),this.controller.trigger("attachment:compat:waiting",["waiting"]),this.model.saveCompat(e).always(_.bind(this.postSave,this))}})}},customizeAttachmentLibrary:function(){if(acf.isset(wp,"media","view","Attachment","Library")){var l=wp.media.view.Attachment.Library;wp.media.view.Attachment.Library=l.extend({render:function(){var t=acf.isget(this,"controller","acf"),e=acf.isget(this,"model","attributes");if(t&&e){e.acf_errors&&this.$el.addClass("acf-disabled");var i=t.get("selected");i&&-1',''+acf.__("Restricted")+"",''+c+"",''+s+"","
        "].join("")),i.reset(),void i.single(n)}return l.prototype.toggleSelection.apply(this,arguments)}})}}})}(jQuery),function(n,e){acf.screen=new acf.Model({active:!0,xhr:!1,timeout:!1,wait:"load",events:{"change #page_template":"onChange","change #parent_id":"onChange","change #post-formats-select":"onChange","change .categorychecklist":"onChange","change .tagsdiv":"onChange",'change .acf-taxonomy-field[data-save="1"]':"onChange","change #product-type":"onChange"},isPost:function(){return"post"===acf.get("screen")},isUser:function(){return"user"===acf.get("screen")},isTaxonomy:function(){return"taxonomy"===acf.get("screen")},isAttachment:function(){return"attachment"===acf.get("screen")},isNavMenu:function(){return"nav_menu"===acf.get("screen")},isWidget:function(){return"widget"===acf.get("screen")},isComment:function(){return"comment"===acf.get("screen")},getPageTemplate:function(){var t=n("#page_template");return t.length?t.val():null},getPageParent:function(t,e){var e;return(e=n("#parent_id")).length?e.val():null},getPageType:function(t,e){return this.getPageParent()?"child":"parent"},getPostType:function(){return n("#post_type").val()},getPostFormat:function(t,e){var e;if((e=n("#post-formats-select input:checked")).length){var i=e.val();return"0"==i?"standard":i}return null},getPostCoreTerms:function(){var t={},e=acf.serialize(n(".categorydiv, .tagsdiv"));for(var i in e.tax_input&&(t=e.tax_input),e.post_category&&(t.category=e.post_category),t)acf.isArray(t[i])||(t[i]=t[i].split(", "));return t},getPostTerms:function(){var n=this.getPostCoreTerms();for(var t in acf.getFields({type:"taxonomy"}).map(function(t){if(t.get("save")){var e=t.val(),i=t.get("taxonomy");e&&(n[i]=n[i]||[],e=acf.isArray(e)?e:[e],n[i]=n[i].concat(e))}}),null!==(productType=this.getProductType())&&(n.product_type=[productType]),n)n[t]=acf.uniqueArray(n[t]);return n},getProductType:function(){var t=n("#product-type");return t.length?t.val():null},check:function(){if("post"===acf.get("screen")){this.xhr&&this.xhr.abort();var e=acf.parseArgs(this.data,{action:"acf/ajax/check_screen",screen:acf.get("screen"),exists:[]});this.isPost()&&(e.post_id=acf.get("post_id")),null!==(postType=this.getPostType())&&(e.post_type=postType),null!==(pageTemplate=this.getPageTemplate())&&(e.page_template=pageTemplate),null!==(pageParent=this.getPageParent())&&(e.page_parent=pageParent),null!==(pageType=this.getPageType())&&(e.page_type=pageType),null!==(postFormat=this.getPostFormat())&&(e.post_format=postFormat),null!==(postTerms=this.getPostTerms())&&(e.post_terms=postTerms),acf.getPostboxes().map(function(t){t.hasHTML()&&e.exists.push(t.get("key"))}),e=acf.applyFilters("check_screen_args",e);var t=function(t){if(acf.isAjaxSuccess(t)){var a=[];t.data.results.map(function(t,e){var i="acf-"+t.key,n=acf.getPostbox(i);n.showEnable(),a.push(i),!n.hasHTML()&&t.html&&n.html(t.html)}),acf.getPostboxes().map(function(t){-1===a.indexOf(t.get("id"))&&t.hideDisable()}),n("#acf-style").html(t.data.style),acf.doAction("check_screen_complete",t.data,e)}};this.xhr=n.ajax({url:acf.get("ajaxurl"),data:acf.prepareForAjax(e),type:"post",dataType:"json",context:this,success:t})}},onChange:function(t,e){this.setTimeout(this.check,1)}});var t=new acf.Model({wait:"load",initialize:function(){acf.isGutenberg()&&(wp.data.subscribe(this.proxy(this.onChange)),acf.screen.getPageTemplate=this.getPageTemplate,acf.screen.getPageParent=this.getPageParent,acf.screen.getPostType=this.getPostType,acf.screen.getPostFormat=this.getPostFormat,acf.screen.getPostCoreTerms=this.getPostCoreTerms)},onChange:function(){var e=wp.data.select("core/editor").getPostEdits(),i=["template","parent","format"],t;(wp.data.select("core").getTaxonomies()||[]).map(function(t){i.push(t.rest_base)}),(i=i.filter(this.proxy(function(t){return e[t]&&e[t]!==this.get(t)}))).length&&this.triggerChange(e)},triggerChange:function(t){t!==e&&(this.data=t),acf.screen.check()},getPageTemplate:function(){return wp.data.select("core/editor").getEditedPostAttribute("template")},getPageParent:function(t,e){return wp.data.select("core/editor").getEditedPostAttribute("parent")},getPostType:function(){return wp.data.select("core/editor").getEditedPostAttribute("type")},getPostFormat:function(t,e){return wp.data.select("core/editor").getEditedPostAttribute("format")},getPostCoreTerms:function(){var e={},t;return(wp.data.select("core").getTaxonomies()||[]).map(function(t){e[t.slug]=wp.data.select("core/editor").getEditedPostAttribute(t.rest_base)}),e}})}(jQuery),function(l,t){function a(){return acf.isset(window,"jQuery","fn","select2","amd")?4:!!acf.isset(window,"Select2")&&3}acf.newSelect2=function(t,e){if(e=acf.parseArgs(e,{allowNull:!1,placeholder:"",multiple:!1,field:!1,ajax:!1,ajaxAction:"",ajaxData:function(t){return t},ajaxResults:function(t){return t}}),4==a())var i=new r(t,e);else var i=new s(t,e);return acf.doAction("new_select2",i),i};var n=acf.Model.extend({setup:function(t,e){l.extend(this.data,e),this.$el=t},initialize:function(){},selectOption:function(t){var e=this.getOption(t);e.prop("selected")||e.prop("selected",!0).trigger("change")},unselectOption:function(t){var e=this.getOption(t);e.prop("selected")&&e.prop("selected",!1).trigger("change")},getOption:function(t){return this.$('option[value="'+t+'"]')},addOption:function(t){t=acf.parseArgs(t,{id:"",text:"",selected:!1});var e=this.getOption(t.id);return e.length||((e=l("")).html(t.text),e.attr("value",t.id),e.prop("selected",t.selected),this.$el.append(e)),e},getValue:function(){var e=[],t=this.$el.find("option:selected");return t.exists()&&(t=t.sort(function(t,e){return+t.getAttribute("data-i")-+e.getAttribute("data-i")})).each(function(){var t=l(this);e.push({$el:t,id:t.attr("value"),text:t.text()})}),e},mergeOptions:function(){},getChoices:function(){var i=function(t){var e=[];return t.children().each(function(){var t=l(this);t.is("optgroup")?e.push({text:t.attr("label"),children:i(t)}):e.push({id:t.attr("value"),text:t.text()})}),e};return i(this.$el)},decodeChoices:function(t){var e=function(t){return t.map(function(t){return t.text=acf.decode(t.text),t.children&&(t.children=e(t.children)),t}),t};return e(t)},getAjaxData:function(t){var e={action:this.get("ajaxAction"),s:t.term||"",paged:t.page||1},i=this.get("field");i&&(e.field_key=i.get("key"));var n=this.get("ajaxData");return n&&(e=n.apply(this,[e,t])),e=acf.applyFilters("select2_ajax_data",e,this.data,this.$el,i||!1,this),acf.prepareForAjax(e)},getAjaxResults:function(t,e){(t=acf.parseArgs(t,{results:!1,more:!1})).results&&(t.results=this.decodeChoices(t.results));var i=this.get("ajaxResults");return i&&(t=i.apply(this,[t,e])),t=acf.applyFilters("select2_ajax_results",t,e,this)},processAjaxResults:function(t,e){var t;return(t=this.getAjaxResults(t,e)).more&&(t.pagination={more:!0}),setTimeout(l.proxy(this.mergeOptions,this),1),t},destroy:function(){this.$el.data("select2")&&this.$el.select2("destroy"),this.$el.siblings(".select2-container").remove()}}),r=n.extend({initialize:function(){var e=this.$el,t={width:"100%",allowClear:this.get("allowNull"),placeholder:this.get("placeholder"),multiple:this.get("multiple"),data:[],escapeMarkup:function(t){return t}};t.multiple&&this.getValue().map(function(t){t.$el.detach().appendTo(e)}),e.removeData("ajax"),e.removeAttr("data-ajax"),this.get("ajax")&&(t.ajax={url:acf.get("ajaxurl"),delay:250,dataType:"json",type:"post",cache:!1,data:l.proxy(this.getAjaxData,this),processResults:l.proxy(this.processAjaxResults,this)});var i=this.get("field");t=acf.applyFilters("select2_args",t,e,this.data,i||!1,this),e.select2(t);var n=e.next(".select2-container");if(t.multiple){var a=n.find("ul");a.sortable({stop:function(t){a.find(".select2-selection__choice").each(function(){var t;l(l(this).data("data").element).detach().appendTo(e)}),e.trigger("change")}}),e.on("select2:select",this.proxy(function(t){this.getOption(t.params.data.id).detach().appendTo(this.$el)}))}n.addClass("-acf"),acf.doAction("select2_init",e,t,this.data,i||!1,this)},mergeOptions:function(){var i=!1,n=!1;l('.select2-results__option[role="group"]').each(function(){var t=l(this).children("ul"),e=l(this).children("strong");if(n&&n.text()===e.text())return i.append(t.children()),void l(this).remove();i=t,n=e})}}),s=n.extend({initialize:function(){var n=this.$el,i=this.getValue(),a=this.get("multiple"),t={width:"100%",allowClear:this.get("allowNull"),placeholder:this.get("placeholder"),separator:"||",multiple:this.get("multiple"),data:this.getChoices(),escapeMarkup:function(t){return t},dropdownCss:{"z-index":"999999999"},initSelection:function(t,e){e(a?i:i.shift())}},e=n.siblings("input");e.length||(e=l(''),n.before(e)),inputValue=i.map(function(t){return t.id}).join("||"),e.val(inputValue),t.multiple&&i.map(function(t){t.$el.detach().appendTo(n)}),t.allowClear&&(t.data=t.data.filter(function(t){return""!==t.id})),n.removeData("ajax"),n.removeAttr("data-ajax"),this.get("ajax")&&(t.ajax={url:acf.get("ajaxurl"),quietMillis:250,dataType:"json",type:"post",cache:!1,data:l.proxy(this.getAjaxData,this),results:l.proxy(this.processAjaxResults,this)});var r=this.get("field");t=acf.applyFilters("select2_args",t,n,this.data,r||!1,this),e.select2(t);var s=e.select2("container"),o=l.proxy(this.getOption,this);if(t.multiple){var c=s.find("ul");c.sortable({stop:function(){c.find(".select2-search-choice").each(function(){var t=l(this).data("select2Data"),e;o(t.id).detach().appendTo(n)}),n.trigger("change")}})}e.on("select2-selecting",function(t){var e=t.choice,i=o(e.id);i.length||(i=l('")),i.detach().appendTo(n)}),s.addClass("-acf"),acf.doAction("select2_init",n,t,this.data,r||!1,this),e.on("change",function(){var t=e.val();t.indexOf("||")&&(t=t.split("||")),n.val(t).trigger("change")}),n.hide()},mergeOptions:function(){var i=!1,n=!1;l("#select2-drop .select2-result-with-children").each(function(){var t=l(this).children("ul"),e=l(this).children(".select2-result-label");if(n&&n.text()===e.text())return n.append(t.children()),void l(this).remove();i=t,n=e})},getAjaxData:function(t,e){var i={term:t,page:e};return n.prototype.getAjaxData.apply(this,[i])}}),e=new acf.Model({priority:5,wait:"prepare",initialize:function(){var t=acf.get("locale"),e=acf.get("rtl"),i=acf.get("select2L10n"),n=a();return!!i&&(0!==t.indexOf("en")&&void(4==n?this.addTranslations4():3==n&&this.addTranslations3()))},addTranslations4:function(){var i=acf.get("select2L10n"),t=acf.get("locale");t=t.replace("_","-");var e={errorLoading:function(){return i.load_fail},inputTooLong:function(t){var e=t.input.length-t.maximum;return 1'),t.addClass("acf-sortable-tr-helper"),t.children().each(function(){l(this).width(l(this).width())}),e.height(t.height()+"px"),t.removeClass("acf-sortable-tr-helper"))}}),n=new acf.Model({actions:{after_duplicate:"onAfterDuplicate"},onAfterDuplicate:function(t,e){var i=[];t.find("select").each(function(t){i.push(l(this).val())}),e.find("select").each(function(t){l(this).val(i[t])})}}),a=new acf.Model({id:"tableHelper",priority:20,actions:{refresh:"renderTables"},renderTables:function(t){var e=this;l(".acf-table:visible").each(function(){e.renderTable(l(this))})},renderTable:function(t){var e=t.find("> thead > tr:visible > th[data-key]"),r=t.find("> tbody > tr:visible > td[data-key]");if(!e.length||!r.length)return!1;e.each(function(t){var e=l(this),i=e.data("key"),n=r.filter('[data-key="'+i+'"]'),a=n.filter(".acf-hidden");n.removeClass("acf-empty"),n.length===a.length?acf.hide(e):(acf.show(e),a.addClass("acf-empty"))}),e.css("width","auto"),e=e.not(".acf-hidden");var i=100,n=e.length,a;e.filter("[data-width]").each(function(){var t=l(this).data("width");l(this).css("width",t+"%"),i-=t});var s=e.not("[data-width]");if(s.length){var o=i/s.length;s.css("width",o+"%"),i=0}0t.length?Array(e-t.length+1).join("0")+t:t};return a||(a=Math.floor(123456789*Math.random())),a++,i=t,i+=n(parseInt((new Date).getTime()/1e3,10),8),i+=n(a,5),e&&(i+=(10*Math.random()).toFixed(8).toString()),i},c.strReplace=function(t,e,i){return i.split(t).join(e)},c.strCamelCase=function(t){return t=(t=t.replace(/[_-]/g," ")).replace(/(?:^\w|\b\w|\s+)/g,function(t,e){return 0==+t?"":0==e?t.toLowerCase():t.toUpperCase()})},c.strPascalCase=function(t){var e=c.strCamelCase(t);return e.charAt(0).toUpperCase()+e.slice(1)},c.strSlugify=function(t){return c.strReplace("_","-",t.toLowerCase())},c.strSanitize=function(t){var e={"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","Æ":"AE","Ç":"C","È":"E","É":"E","Ê":"E","Ë":"E","Ì":"I","Í":"I","Î":"I","Ï":"I","Ð":"D","Ñ":"N","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","Ù":"U","Ú":"U","Û":"U","Ü":"U","Ý":"Y","ß":"s","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","æ":"ae","ç":"c","è":"e","é":"e","ê":"e","ë":"e","ì":"i","í":"i","î":"i","ï":"i","ñ":"n","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","ù":"u","ú":"u","û":"u","ü":"u","ý":"y","ÿ":"y","Ā":"A","ā":"a","Ă":"A","ă":"a","Ą":"A","ą":"a","Ć":"C","ć":"c","Ĉ":"C","ĉ":"c","Ċ":"C","ċ":"c","Č":"C","č":"c","Ď":"D","ď":"d","Đ":"D","đ":"d","Ē":"E","ē":"e","Ĕ":"E","ĕ":"e","Ė":"E","ė":"e","Ę":"E","ę":"e","Ě":"E","ě":"e","Ĝ":"G","ĝ":"g","Ğ":"G","ğ":"g","Ġ":"G","ġ":"g","Ģ":"G","ģ":"g","Ĥ":"H","ĥ":"h","Ħ":"H","ħ":"h","Ĩ":"I","ĩ":"i","Ī":"I","ī":"i","Ĭ":"I","ĭ":"i","Į":"I","į":"i","İ":"I","ı":"i","IJ":"IJ","ij":"ij","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","Ĺ":"L","ĺ":"l","Ļ":"L","ļ":"l","Ľ":"L","ľ":"l","Ŀ":"L","ŀ":"l","Ł":"l","ł":"l","Ń":"N","ń":"n","Ņ":"N","ņ":"n","Ň":"N","ň":"n","ʼn":"n","Ō":"O","ō":"o","Ŏ":"O","ŏ":"o","Ő":"O","ő":"o","Œ":"OE","œ":"oe","Ŕ":"R","ŕ":"r","Ŗ":"R","ŗ":"r","Ř":"R","ř":"r","Ś":"S","ś":"s","Ŝ":"S","ŝ":"s","Ş":"S","ş":"s","Š":"S","š":"s","Ţ":"T","ţ":"t","Ť":"T","ť":"t","Ŧ":"T","ŧ":"t","Ũ":"U","ũ":"u","Ū":"U","ū":"u","Ŭ":"U","ŭ":"u","Ů":"U","ů":"u","Ű":"U","ű":"u","Ų":"U","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","ź":"z","Ż":"Z","ż":"z","Ž":"Z","ž":"z","ſ":"s","ƒ":"f","Ơ":"O","ơ":"o","Ư":"U","ư":"u","Ǎ":"A","ǎ":"a","Ǐ":"I","ǐ":"i","Ǒ":"O","ǒ":"o","Ǔ":"U","ǔ":"u","Ǖ":"U","ǖ":"u","Ǘ":"U","ǘ":"u","Ǚ":"U","ǚ":"u","Ǜ":"U","ǜ":"u","Ǻ":"A","ǻ":"a","Ǽ":"AE","ǽ":"ae","Ǿ":"O","ǿ":"o"," ":"_","'":"","?":"","/":"","\\":"",".":"",",":"","`":"",">":"","<":"",'"':"","[":"","]":"","|":"","{":"","}":"","(":"",")":""},i=/\W/g,n=function(t){return e[t]!==s?e[t]:t};return t=(t=t.replace(i,n)).toLowerCase()},c.strMatch=function(t,e){for(var i=0,n=Math.min(t.length,e.length),a=0;a").html(t).text()},c.strEscape=function(t){var e={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/","`":"`","=":"="};return String(t).replace(/[&<>"'`=\/]/g,function(t){return e[t]})},c.parseArgs=function(t,e){return"object"!=typeof t&&(t={}),"object"!=typeof e&&(e={}),r.extend({},e,t)},window.acfL10n==s&&(acfL10n={}),c.__=function(t){return acfL10n[t]||t},c._x=function(t,e){return acfL10n[t+"."+e]||acfL10n[t]||t},c._n=function(t,e,i){return 1==i?c.__(t):c.__(e)},c.isArray=function(t){return Array.isArray(t)},c.isObject=function(t){return"object"==typeof t};var o=function(t,e,i){var n=(e=e.replace("[]","[%%index%%]")).match(/([^\[\]])+/g);if(n)for(var a=n.length,r=t,s=0;s');var o=e.parent();e.css({height:i,width:n,margin:a,position:"absolute"}),setTimeout(function(){o.css({opacity:0,height:t.endHeight})},50),setTimeout(function(){e.attr("style",s),o.remove(),t.complete()},301)},d=function(t){var e=t.target,i=e.height(),n=e.children().length,a=r('');e.addClass("acf-remove-element"),setTimeout(function(){e.html(a)},251),setTimeout(function(){e.removeClass("acf-remove-element"),a.css({height:t.endHeight})},300),setTimeout(function(){e.remove(),t.complete()},451)};c.duplicate=function(t){t instanceof jQuery&&(t={target:t});var i=0;(t=c.parseArgs(t,{target:!1,search:"",replace:"",before:function(t){},after:function(t,e){},append:function(t,e){t.after(e),i=1}})).target=t.target||t.$el;var e=t.target;t.search=t.search||e.attr("data-id"),t.replace=t.replace||c.uniqid(),t.before(e),c.doAction("before_duplicate",e);var n=e.clone();return c.rename({target:n,search:t.search,replace:t.replace}),n.removeClass("acf-clone"),n.find(".ui-sortable").removeClass("ui-sortable"),t.after(e,n),c.doAction("after_duplicate",e,n),t.append(e,n),c.doAction("append",n),n},c.rename=function(t){t instanceof jQuery&&(t={target:t});var e=(t=c.parseArgs(t,{target:!1,destructive:!1,search:"",replace:""})).target,i=t.search||e.attr("data-id"),n=t.replace||c.uniqid("acf"),a=function(t,e){return e.replace(i,n)};if(t.destructive){var r=e.outerHTML();r=c.strReplace(i,n,r),e.replaceWith(r)}else e.attr("data-id",n),e.find('[id*="'+i+'"]').attr("id",a),e.find('[for*="'+i+'"]').attr("for",a),e.find('[name*="'+i+'"]').attr("name",a);return e},c.prepareForAjax=function(t){return t.nonce=c.get("nonce"),t.post_id=c.get("post_id"),c.has("language")&&(t.lang=c.get("language")),t=c.applyFilters("prepare_for_ajax",t)},c.startButtonLoading=function(t){t.prop("disabled",!0),t.after(' ')},c.stopButtonLoading=function(t){t.prop("disabled",!1),t.next(".acf-loading").remove()},c.showLoading=function(t){t.append('
        ')},c.hideLoading=function(t){t.children(".acf-loading-overlay").remove()},c.updateUserSetting=function(t,e){var i={action:"acf/ajax/user_setting",name:t,value:e};r.ajax({url:c.get("ajaxurl"),data:c.prepareForAjax(i),type:"post",dataType:"html"})},c.val=function(t,e,i){var n=t.val();return e!==n&&(t.val(e),t.is("select")&&null===t.val()?(t.val(n),!1):(!0!==i&&t.trigger("change"),!0))},c.show=function(t,e){return e&&c.unlock(t,"hidden",e),!c.isLocked(t,"hidden")&&(!!t.hasClass("acf-hidden")&&(t.removeClass("acf-hidden"),!0))},c.hide=function(t,e){return e&&c.lock(t,"hidden",e),!t.hasClass("acf-hidden")&&(t.addClass("acf-hidden"),!0)},c.isHidden=function(t){return t.hasClass("acf-hidden")},c.isVisible=function(t){return!c.isHidden(t)};var f=function(t,e){return!t.hasClass("acf-disabled")&&(e&&c.unlock(t,"disabled",e),!c.isLocked(t,"disabled")&&(!!t.prop("disabled")&&(t.prop("disabled",!1),!0)))};c.enable=function(t,e){if(t.attr("name"))return f(t,e);var i=!1;return t.find("[name]").each(function(){var t;f(r(this),e)&&(i=!0)}),i};var h=function(t,e){return e&&c.lock(t,"disabled",e),!t.prop("disabled")&&(t.prop("disabled",!0),!0)};c.disable=function(t,e){if(t.attr("name"))return h(t,e);var i=!1;return t.find("[name]").each(function(){var t;h(r(this),e)&&(i=!0)}),i},c.isset=function(t){for(var e=1;e'+r(t.children)+"":n+='"}),n};return t.html(r(e)),-1e.priority;)t[i]=t[i-1],--i;t[i]=e}return t}function u(t,e,i){var n=f[t][e];if(!n)return"filters"===t&&i[0];var a=0,r=n.length;if("filters"===t)for(;a','
        ','

        ','
        ','
        ',"
        ",'
        ',""].join("")},render:function(){var t=this.get("title"),e=this.get("content"),i=this.get("loading"),n=this.get("width"),a=this.get("height");this.title(t),this.content(e),n&&this.$(".acf-popup-box").css("width",n),a&&this.$(".acf-popup-box").css("min-height",a),this.loading(i),acf.doAction("append",this.$el)},update:function(t){this.data=acf.parseArgs(t,this.data),this.render()},title:function(t){this.$(".title:first h3").html(t)},content:function(t){this.$(".inner:first").html(t)},loading:function(t){var e=this.$(".loading:first");t?e.show():e.hide()},open:function(){e("body").append(this.$el)},close:function(){this.remove()},onClickClose:function(t,e){t.preventDefault(),this.close()}}),acf.newPopup=function(t){return new acf.models.Popup(t)}}(jQuery),function(t,e){acf.unload=new acf.Model({wait:"load",active:!0,changed:!1,actions:{validation_failure:"startListening",validation_success:"stopListening"},events:{"change form .acf-field":"startListening","submit form":"stopListening"},enable:function(){this.active=!0},disable:function(){this.active=!1},reset:function(){this.stopListening()},startListening:function(){!this.changed&&this.active&&(this.changed=!0,t(window).on("beforeunload",this.onUnload))},stopListening:function(){this.changed=!1,t(window).off("beforeunload",this.onUnload)},onUnload:function(){return acf.__("The changes you made will be lost if you navigate away from this page")}})}(jQuery),function(t,e){var i=new acf.Model({events:{"click .acf-panel-title":"onClick"},onClick:function(t,e){t.preventDefault(),this.toggle(e.parent())},isOpen:function(t){return t.hasClass("-open")},toggle:function(t){this.isOpen(t)?this.close(t):this.open(t)},open:function(t){t.addClass("-open"),t.find(".acf-panel-title i").attr("class","dashicons dashicons-arrow-down")},close:function(t){t.removeClass("-open"),t.find(".acf-panel-title i").attr("class","dashicons dashicons-arrow-right")}})}(jQuery),function(e,t){var i=acf.Model.extend({data:{text:"",type:"",timeout:0,dismiss:!0,target:!1,close:function(){}},events:{"click .acf-notice-dismiss":"onClickClose"},tmpl:function(){return'
        '},setup:function(t){e.extend(this.data,t),this.$el=e(this.tmpl())},initialize:function(){this.render(),this.show()},render:function(){this.type(this.get("type")),this.html("

        "+this.get("text")+"

        "),this.get("dismiss")&&(this.$el.append(''),this.$el.addClass("-dismiss"));var t=this.get("timeout");t&&this.away(t)},update:function(t){e.extend(this.data,t),this.initialize(),this.removeEvents(),this.addEvents()},show:function(){var t=this.get("target");t&&t.prepend(this.$el)},hide:function(){this.$el.remove()},away:function(t){this.setTimeout(function(){acf.remove(this.$el)},t)},type:function(t){var e=this.get("type");e&&this.$el.removeClass("-"+e),this.$el.addClass("-"+t),"error"==t&&this.$el.addClass("acf-error-message")},html:function(t){this.$el.html(t)},text:function(t){this.$("p").html(t)},onClickClose:function(t,e){t.preventDefault(),this.get("close").apply(this,arguments),this.remove()}});acf.newNotice=function(t){return"object"!=typeof t&&(t={text:t}),new i(t)};var n=new acf.Model({wait:"prepare",priority:1,initialize:function(){var t=e(".acf-admin-notice");t.length&&e("h1:first").after(t)}})}(jQuery),function(e,t){acf.getPostbox=function(t){return"string"==typeof t&&(t=e("#"+t)),acf.getInstance(t)},acf.getPostboxes=function(){return acf.getInstances(e(".acf-postbox"))},acf.newPostbox=function(t){return new acf.models.Postbox(t)},acf.models.Postbox=acf.Model.extend({data:{id:"",key:"",style:"default",label:"top",edit:""},setup:function(t){t.editLink&&(t.edit=t.editLink),e.extend(this.data,t),this.$el=this.$postbox()},$postbox:function(){return e("#"+this.get("id"))},$hide:function(){return e("#"+this.get("id")+"-hide")},$hideLabel:function(){return this.$hide().parent()},$hndle:function(){return this.$("> .hndle")},$inside:function(){return this.$("> .inside")},isVisible:function(){return this.$el.hasClass("acf-hidden")},initialize:function(){this.$el.addClass("acf-postbox"),this.$el.removeClass("hide-if-js");var t=this.get("style");"default"!==t&&this.$el.addClass(t),this.$inside().addClass("acf-fields").addClass("-"+this.get("label"));var e=this.get("edit");e&&this.$hndle().append(''),this.show()},show:function(){this.$hideLabel().show(),this.$hide().prop("checked",!0),this.$el.show().removeClass("acf-hidden")},enable:function(){acf.enable(this.$el,"postbox")},showEnable:function(){this.show(),this.enable()},hide:function(){this.$hideLabel().hide(),this.$el.hide().addClass("acf-hidden")},disable:function(){acf.disable(this.$el,"postbox")},hideDisable:function(){this.hide(),this.disable()},html:function(t){this.$inside().html(t),acf.doAction("append",this.$el)}})}(jQuery),function(f,e){acf.newTooltip=function(t){return"object"!=typeof t&&(t={text:t}),t.confirmRemove!==e?(t.textConfirm=acf.__("Remove"),t.textCancel=acf.__("Cancel"),new n(t)):t.confirm!==e?new n(t):new i(t)};var i=acf.Model.extend({data:{text:"",timeout:0,target:null},tmpl:function(){return'
        '},setup:function(t){f.extend(this.data,t),this.$el=f(this.tmpl())},initialize:function(){this.render(),this.show(),this.position();var t=this.get("timeout");t&&setTimeout(f.proxy(this.fade,this),t)},update:function(t){f.extend(this.data,t),this.initialize()},render:function(){this.html(this.get("text"))},show:function(){f("body").append(this.$el)},hide:function(){this.$el.remove()},fade:function(){this.$el.addClass("acf-fade-up"),this.setTimeout(function(){this.remove()},250)},html:function(t){this.$el.html(t)},position:function(){var t=this.$el,e=this.get("target");if(e){t.removeClass("right left bottom top").css({top:0,left:0});var i=10,n=e.outerWidth(),a=e.outerHeight(),r=e.offset().top,s=e.offset().left,o=t.outerWidth(),c=t.outerHeight(),l=t.offset().top,u=r-c-l,d=s+n/2-o/2;d<10?(t.addClass("right"),d=s+n,u=r+a/2-c/2-l):d+o+10>f(window).width()?(t.addClass("left"),d=s-o,u=r+a/2-c/2-l):u-f(window).scrollTop()<10?(t.addClass("bottom"),u=r+a-l):t.addClass("top"),t.css({top:u,left:d})}}}),n=i.extend({data:{text:"",textConfirm:"",textCancel:"",target:null,targetConfirm:!0,confirm:function(){},cancel:function(){},context:!1},events:{'click [data-event="cancel"]':"onCancel",'click [data-event="confirm"]':"onConfirm"},addEvents:function(){acf.Model.prototype.addEvents.apply(this);var t=f(document),e=this.get("target");this.setTimeout(function(){this.on(t,"click","onCancel")}),this.get("targetConfirm")&&this.on(e,"click","onConfirm")},removeEvents:function(){acf.Model.prototype.removeEvents.apply(this);var t=f(document),e=this.get("target");this.off(t,"click"),this.off(e,"click")},render:function(){var t,e,i,n=[this.get("text")||acf.__("Are you sure?"),''+(this.get("textConfirm")||acf.__("Yes"))+"",''+(this.get("textCancel")||acf.__("No"))+""].join(" ");this.html(n),this.$el.addClass("-confirm")},onCancel:function(t,e){t.preventDefault(),t.stopImmediatePropagation();var i=this.get("cancel"),n=this.get("context")||this;i.apply(n,arguments),this.remove()},onConfirm:function(t,e){t.preventDefault(),t.stopImmediatePropagation();var i=this.get("confirm"),n=this.get("context")||this;i.apply(n,arguments),this.remove()}});acf.models.Tooltip=i,acf.models.TooltipConfirm=n;var t=new acf.Model({tooltip:!1,events:{"mouseenter .acf-js-tooltip":"showTitle","mouseup .acf-js-tooltip":"hideTitle","mouseleave .acf-js-tooltip":"hideTitle"},showTitle:function(t,e){var i=e.attr("title");i&&(e.attr("title",""),this.tooltip?this.tooltip.update({text:i,target:e}):this.tooltip=acf.newTooltip({text:i,target:e}))},hideTitle:function(t,e){this.tooltip.hide(),e.attr("title",this.tooltip.get("text"))}})}(jQuery),function(e,i){var r=[];acf.Field=acf.Model.extend({type:"",eventScope:".acf-field",wait:"ready",setup:function(t){this.$el=t,this.inherit(t),this.inherit(this.$control())},val:function(t){return t!==i?this.setValue(t):this.prop("disabled")?null:this.getValue()},getValue:function(){return this.$input().val()},setValue:function(t){return acf.val(this.$input(),t)},__:function(t){return acf._e(this.type,t)},$control:function(){return!1},$input:function(){return this.$("[name]:first")},$inputWrap:function(){return this.$(".acf-input:first")},$labelWrap:function(){return this.$(".acf-label:first")},getInputName:function(){return this.$input().attr("name")||""},parent:function(){var t=this.parents();return!!t.length&&t[0]},parents:function(){var t=this.$el.parents(".acf-field"),e;return acf.getFields(t)},show:function(t,e){var i=acf.show(this.$el,t);return i&&(this.prop("hidden",!1),acf.doAction("show_field",this,e)),i},hide:function(t,e){var i=acf.hide(this.$el,t);return i&&(this.prop("hidden",!0),acf.doAction("hide_field",this,e)),i},enable:function(t,e){var i=acf.enable(this.$el,t);return i&&(this.prop("disabled",!1),acf.doAction("enable_field",this,e)),i},disable:function(t,e){var i=acf.disable(this.$el,t);return i&&(this.prop("disabled",!0),acf.doAction("disable_field",this,e)),i},showEnable:function(t,e){return this.enable.apply(this,arguments),this.show.apply(this,arguments)},hideDisable:function(t,e){return this.disable.apply(this,arguments),this.hide.apply(this,arguments)},showNotice:function(t){"object"!=typeof t&&(t={text:t}),this.notice&&this.notice.remove(),t.target=this.$inputWrap(),this.notice=acf.newNotice(t)},removeNotice:function(t){this.notice&&(this.notice.away(t||0),this.notice=!1)},showError:function(t){this.$el.addClass("acf-error"),t!==i&&this.showNotice({text:t,type:"error",dismiss:!1}),acf.doAction("invalid_field",this),this.$el.one("focus change","input, select, textarea",e.proxy(this.removeError,this))},removeError:function(){this.$el.removeClass("acf-error"),this.removeNotice(250),acf.doAction("valid_field",this)},trigger:function(t,e,i){return"invalidField"==t&&(i=!0),acf.Model.prototype.trigger.apply(this,[t,e,i])}}),acf.newField=function(t){var e=t.data("type"),i=s(e),n,a=new(acf.models[i]||acf.Field)(t);return acf.doAction("new_field",a),a};var s=function(t){return acf.strPascalCase(t||"")+"Field"};acf.registerFieldType=function(t){var e,i=t.prototype.type,n=s(i);acf.models[n]=t,r.push(i)},acf.getFieldType=function(t){var e=s(t);return acf.models[e]||!1},acf.getFieldTypes=function(n){n=acf.parseArgs(n,{category:""});var a=[];return r.map(function(t){var e=acf.getFieldType(t),i=e.prototype;n.category&&i.category!==n.category||a.push(e)}),a}}(jQuery),function(n,t){acf.findFields=function(t){var e=".acf-field",i=!1;return(t=acf.parseArgs(t,{key:"",name:"",type:"",is:"",parent:!1,sibling:!1,limit:!1,visible:!1,suppressFilters:!1})).suppressFilters||(t=acf.applyFilters("find_fields_args",t)),t.key&&(e+='[data-key="'+t.key+'"]'),t.type&&(e+='[data-type="'+t.type+'"]'),t.name&&(e+='[data-name="'+t.name+'"]'),t.is&&(e+=t.is),t.visible&&(e+=":visible"),i=t.parent?t.parent.find(e):t.sibling?t.sibling.siblings(e):n(e),t.suppressFilters||(i=i.not(".acf-clone .acf-field"),i=acf.applyFilters("find_fields",i)),t.limit&&(i=i.slice(0,t.limit)),i},acf.findField=function(t,e){return acf.findFields({key:t,limit:1,parent:e,suppressFilters:!0})},acf.getField=function(t){t instanceof jQuery||(t=acf.findField(t));var e=t.data("acf");return e||(e=acf.newField(t)),e},acf.getFields=function(t){t instanceof jQuery||(t=acf.findFields(t));var e=[];return t.each(function(){var t=acf.getField(n(this));e.push(t)}),e},acf.findClosestField=function(t){return t.closest(".acf-field")},acf.getClosestField=function(t){var e=acf.findClosestField(t);return this.getField(e)};var e=function(t){var e=t,r=t+"_fields",a=t+"_field",i=function(t){var e,i=acf.arrayArgs(arguments).slice(1),n=acf.getFields({parent:t});if(n.length){var a=[r,n].concat(i);acf.doAction.apply(null,a)}},n=function(t){var e,n=acf.arrayArgs(arguments).slice(1);t.map(function(t,e){var i=[a,t].concat(n);acf.doAction.apply(null,i)})};acf.addAction(e,i),acf.addAction(r,n),s(t)},s=function(e){var r=e+"_field",s=e+"Field",t=function(i){var n=acf.arrayArgs(arguments),a=n.slice(1),t;["type","name","key"].map(function(t){var e="/"+t+"="+i.get(t);n=[r+e,i].concat(a),acf.doAction.apply(null,n)}),-1'),o=f('
        '),c=f('
          '),l=f("");s.append(e.html()),c.append(l),o.append(c),i.append(s),i.append(o),e.remove(),n.remove(),i.attr("colspan",2),e=s,i=o,n=l}t.addClass("acf-accordion"),e.addClass("acf-accordion-title"),i.addClass("acf-accordion-content"),p++,this.get("multi_expand")&&t.attr("multi-expand",1);var u=acf.getPreference("this.accordions")||[];u[p-1]!==h&&this.set("open",u[p-1]),this.get("open")&&(t.addClass("-open"),i.css("display","block")),e.prepend(g.iconHtml({open:this.get("open")}));var d=t.parent();n.addClass(d.hasClass("-left")?"-left":""),n.addClass(d.hasClass("-clear")?"-clear":""),n.append(t.nextUntil(".acf-field-accordion",".acf-field")),n.removeAttr("data-open data-multi_expand data-endpoint")}}});acf.registerFieldType(t);var g=new acf.Model({actions:{unload:"onUnload"},events:{"click .acf-accordion-title":"onClick","invalidField .acf-accordion":"onInvalidField"},isOpen:function(t){return t.hasClass("-open")},toggle:function(t){this.isOpen(t)?this.close(t +):this.open(t)},iconHtml:function(t){var e;return''},open:function(t){t.find(".acf-accordion-content:first").slideDown().css("display","block"),t.find(".acf-accordion-icon:first").replaceWith(this.iconHtml({open:!0})),t.addClass("-open"),acf.doAction("show",t),t.attr("multi-expand")||t.siblings(".acf-accordion.-open").each(function(){g.close(f(this))})},close:function(t){t.find(".acf-accordion-content:first").slideUp(),t.find(".acf-accordion-icon:first").replaceWith(this.iconHtml({open:!1})),t.removeClass("-open"),acf.doAction("hide",t)},onClick:function(t,e){t.preventDefault(),this.toggle(e.parent())},onInvalidField:function(t,e){this.busy||(this.busy=!0,this.setTimeout(function(){this.busy=!1},1e3),this.open(e))},onUnload:function(t){var e=[];f(".acf-accordion").each(function(){var t=f(this).hasClass("-open")?1:0;e.push(t)}),e.length&&acf.setPreference("this.accordions",e)}})}(jQuery),function(t,e){var i=acf.Field.extend({type:"button_group",events:{'click input[type="radio"]':"onClick"},$control:function(){return this.$(".acf-button-group")},$input:function(){return this.$("input:checked")},setValue:function(t){this.$('input[value="'+t+'"]').prop("checked",!0).trigger("change")},onClick:function(t,e){var i=e.parent("label"),n=i.hasClass("selected");this.$(".selected").removeClass("selected"),i.addClass("selected"),this.get("allow_null")&&n&&(i.removeClass("selected"),e.prop("checked",!1).trigger("change"))}});acf.registerFieldType(i)}(jQuery),function(e,t){var i=acf.Field.extend({type:"checkbox",events:{"change input":"onChange","click .acf-add-checkbox":"onClickAdd","click .acf-checkbox-toggle":"onClickToggle","click .acf-checkbox-custom":"onClickCustom"},$control:function(){return this.$(".acf-checkbox-list")},$toggle:function(){return this.$(".acf-checkbox-toggle")},$input:function(){return this.$('input[type="hidden"]')},$inputs:function(){return this.$('input[type="checkbox"]').not(".acf-checkbox-toggle")},getValue:function(){var t=[];return this.$(":checked").each(function(){t.push(e(this).val())}),!!t.length&&t},onChange:function(t,e){var i=e.prop("checked"),n=this.$toggle(),a;(i?e.parent().addClass("selected"):e.parent().removeClass("selected"),n.length)&&(0==this.$inputs().not(":checked").length?n.prop("checked",!0):n.prop("checked",!1))},onClickAdd:function(t,e){var i='
        • ';e.parent("li").before(i)},onClickToggle:function(t,e){var i=e.prop("checked"),n;this.$inputs().prop("checked",i)},onClickCustom:function(t,e){var i=e.prop("checked"),n=e.next('input[type="text"]');i?n.prop("disabled",!1):(n.prop("disabled",!0),""==n.val()&&e.parent("li").remove())}});acf.registerFieldType(i)}(jQuery),function(t,e){var i=acf.Field.extend({type:"color_picker",wait:"load",$control:function(){return this.$(".acf-color-picker")},$input:function(){return this.$('input[type="hidden"]')},$inputText:function(){return this.$('input[type="text"]')},setValue:function(t){acf.val(this.$input(),t),this.$inputText().iris("color",t)},initialize:function(){var e=this.$input(),i=this.$inputText(),t=function(t){setTimeout(function(){acf.val(e,i.val())},1)},n={defaultColor:!1,palettes:!0,hide:!0,change:t,clear:t},n=acf.applyFilters("color_picker_args",n,this);i.wpColorPicker(n)}});acf.registerFieldType(i)}(jQuery),function(n,t){var e=acf.Field.extend({type:"date_picker",events:{'blur input[type="text"]':"onBlur"},$control:function(){return this.$(".acf-date-picker")},$input:function(){return this.$('input[type="hidden"]')},$inputText:function(){return this.$('input[type="text"]')},initialize:function(){if(this.has("save_format"))return this.initializeCompatibility();var t=this.$input(),e=this.$inputText(),i={dateFormat:this.get("date_format"),altField:t,altFormat:"yymmdd",changeYear:!0,yearRange:"-100:+100",changeMonth:!0,showButtonPanel:!0,firstDay:this.get("first_day")};i=acf.applyFilters("date_picker_args",i,this),acf.newDatePicker(e,i),acf.doAction("date_picker_init",e,i,this)},initializeCompatibility:function(){var t=this.$input(),e=this.$inputText();e.val(t.val());var i={dateFormat:this.get("date_format"),altField:t,altFormat:this.get("save_format"),changeYear:!0,yearRange:"-100:+100",changeMonth:!0,showButtonPanel:!0,firstDay:this.get("first_day")},n=(i=acf.applyFilters("date_picker_args",i,this)).dateFormat;i.dateFormat=this.get("save_format"),acf.newDatePicker(e,i),e.datepicker("option","dateFormat",n),acf.doAction("date_picker_init",e,i,this)},onBlur:function(){this.$inputText().val()||acf.val(this.$input(),"")}});acf.registerFieldType(e);var i=new acf.Model({priority:5,wait:"ready",initialize:function(){var t=acf.get("locale"),e=acf.get("rtl"),i=acf.get("datePickerL10n");return!!i&&(void 0!==n.datepicker&&(i.isRTL=e,n.datepicker.regional[t]=i,void n.datepicker.setDefaults(i)))}});acf.newDatePicker=function(t,e){if(void 0===n.datepicker)return!1;e=e||{},t.datepicker(e),n("body > #ui-datepicker-div").exists()&&n("body > #ui-datepicker-div").wrap('
          ')}}(jQuery),function(n,t){var e=acf.models.DatePickerField.extend({type:"date_time_picker",$control:function(){return this.$(".acf-date-time-picker")},initialize:function(){var t=this.$input(),e=this.$inputText(),i={dateFormat:this.get("date_format"),timeFormat:this.get("time_format"),altField:t,altFieldTimeOnly:!1,altFormat:"yy-mm-dd",altTimeFormat:"HH:mm:ss",changeYear:!0,yearRange:"-100:+100",changeMonth:!0,showButtonPanel:!0,firstDay:this.get("first_day"),controlType:"select",oneLine:!0};i=acf.applyFilters("date_time_picker_args",i,this),acf.newDateTimePicker(e,i),acf.doAction("date_time_picker_init",e,i,this)}});acf.registerFieldType(e);var i=new acf.Model({priority:5,wait:"ready",initialize:function(){var t=acf.get("locale"),e=acf.get("rtl"),i=acf.get("dateTimePickerL10n");return!!i&&(void 0!==n.timepicker&&(i.isRTL=e,n.timepicker.regional[t]=i,void n.timepicker.setDefaults(i)))}});acf.newDateTimePicker=function(t,e){if(void 0===n.timepicker)return!1;e=e||{},t.datetimepicker(e),n("body > #ui-datepicker-div").exists()&&n("body > #ui-datepicker-div").wrap('
          ')}}(jQuery),function(s,t){var e=acf.Field.extend({type:"google_map",map:!1,wait:"load",events:{'click a[data-name="clear"]':"onClickClear",'click a[data-name="locate"]':"onClickLocate",'click a[data-name="search"]':"onClickSearch","keydown .search":"onKeydownSearch","keyup .search":"onKeyupSearch","focus .search":"onFocusSearch","blur .search":"onBlurSearch",showField:"onShow"},$control:function(){return this.$(".acf-google-map")},$input:function(t){return this.$('input[data-name="'+(t||"address")+'"]')},$search:function(){return this.$(".search")},$canvas:function(){return this.$(".canvas")},addClass:function(t){this.$control().addClass(t)},removeClass:function(t){this.$control().removeClass(t)},getValue:function(){var t={lat:"",lng:"",address:""};return this.$('input[type="hidden"]').each(function(){t[s(this).data("name")]=s(this).val()}),t.lat&&t.lng||(t=!1),t},setValue:function(t){for(var e in t=acf.parseArgs(t,{lat:"",lng:"",address:""}))acf.val(this.$input(e),t[e]);t.lat&&t.lng||(t=!1),this.renderVal(t)},renderVal:function(t){t?(this.addClass("-value"),this.setPosition(t.lat,t.lng),this.map.marker.setVisible(!0)):(this.removeClass("-value"),this.map.marker.setVisible(!1)),this.$search().val(t.address)},setPosition:function(t,e){var i=this.newLatLng(t,e);return this.map.marker.setPosition(i),this.map.marker.setVisible(!0),acf.doAction("google_map_change",i,this.map,this),this.center(),this},center:function(){var t=this.map.marker.getPosition(),e=this.get("lat"),i=this.get("lng");t&&(e=t.lat(),i=t.lng());var n=this.newLatLng(e,i);this.map.setCenter(n)},getSearchVal:function(){return this.$search().val()},initialize:function(){o.isReady()?this.initializeMap():o.ready(this.initializeMap,this)},newLatLng:function(t,e){return new google.maps.LatLng(parseFloat(t),parseFloat(e))},initializeMap:function(){var t=this.get("zoom"),e=this.get("lat"),i=this.get("lng"),n={scrollwheel:!1,zoom:parseInt(t),center:this.newLatLng(e,i),mapTypeId:google.maps.MapTypeId.ROADMAP,marker:{draggable:!0,raiseOnDrag:!0},autocomplete:{}};n=acf.applyFilters("google_map_args",n,this);var a=new google.maps.Map(this.$canvas()[0],n),r=acf.parseArgs(n.marker,{draggable:!0,raiseOnDrag:!0,map:a});r=acf.applyFilters("google_map_marker_args",r,this);var s=new google.maps.Marker(r),o=!1;if(acf.isset(google,"maps","places","Autocomplete")){var c=n.autocomplete||{};c=acf.applyFilters("google_map_autocomplete_args",c,this),(o=new google.maps.places.Autocomplete(this.$search()[0],c)).bindTo("bounds",a)}this.addMapEvents(this,a,s,o),a.acf=this,a.marker=s,a.autocomplete=o,this.map=a,acf.doAction("google_map_init",a,s,this);var l=this.getValue();this.renderVal(l)},addMapEvents:function(n,t,e,i){google.maps.event.addListener(t,"click",function(t){var e=t.latLng.lat(),i=t.latLng.lng();n.searchPosition(e,i)}),google.maps.event.addListener(e,"dragend",function(){var t=this.getPosition(),e=t.lat(),i=t.lng();n.searchPosition(e,i)}),i&&google.maps.event.addListener(i,"place_changed",function(){var t=this.getPlace();t.address=n.getSearchVal(),n.setPlace(t)})},searchPosition:function(n,a){var t=this.newLatLng(n,a),r=this.$control();this.setPosition(n,a),r.addClass("-loading");var e=s.proxy(function(t,e){r.removeClass("-loading");var i="";e!=google.maps.GeocoderStatus.OK?console.log("Geocoder failed due to: "+e):t[0]?i=t[0].formatted_address:console.log("No results found"),this.val({lat:n,lng:a,address:i})},this);o.geocoder.geocode({latLng:t},e)},setPlace:function(t){if(!t)return this;if(t.name&&!t.geometry)return this.searchAddress(t.name),this;var e=t.geometry.location.lat(),i=t.geometry.location.lng(),n=t.address||t.formatted_address;return this.setValue({lat:e,lng:i,address:n}),this},searchAddress:function(a){var t=a.split(",");if(2==t.length){var e=t[0],i=t[1];if(s.isNumeric(e)&&s.isNumeric(i))return this.searchPosition(e,i)}var r=this.$control();r.addClass("-loading");var n=this.proxy(function(t,e){r.removeClass("-loading");var i="",n="";e!=google.maps.GeocoderStatus.OK?console.log("Geocoder failed due to: "+e):t[0]?(i=t[0].geometry.location.lat(),n=t[0].geometry.location.lng()):console.log("No results found"),this.val({lat:i,lng:n,address:a})});o.geocoder.geocode({address:a},n)},searchLocation:function(){if(!navigator.geolocation)return alert(acf.__("Sorry, this browser does not support geolocation"));var a=this.$control();a.addClass("-loading");var t=s.proxy(function(t,e){a.removeClass("-loading");var i=t.coords.latitude,n=t.coords.longitude;this.searchPosition(i,n)},this),e=function(t){a.removeClass("-loading")};navigator.geolocation.getCurrentPosition(t,e)},onClickClear:function(t,e){this.val(!1)},onClickLocate:function(t,e){this.searchLocation()},onClickSearch:function(t,e){this.searchAddress(this.$search().val())},onFocusSearch:function(t,e){this.removeClass("-value"),this.onKeyupSearch.apply(this,arguments)},onBlurSearch:function(t,e){this.setTimeout(function(){this.removeClass("-search"),e.val()&&this.addClass("-value")},100)},onKeyupSearch:function(t,e){e.val()?this.addClass("-search"):this.removeClass("-search")},onKeydownSearch:function(t,e){13==t.which&&t.preventDefault()},onMousedown:function(){},onShow:function(){if(!this.map)return!1;this.setTimeout(this.center,10)}});acf.registerFieldType(e);var o=new acf.Model({geocoder:!1,data:{status:!1},getStatus:function(){return this.get("status")},setStatus:function(t){return this.set("status",t)},isReady:function(){if("ready"==this.getStatus())return!0;if("loading"==this.getStatus())return!1;if(acf.isset(window,"google","maps","places"))return this.setStatus("ready"),!0;var t=acf.get("google_map_api");return t&&(this.setStatus("loading"),s.ajax({url:t,dataType:"script",cache:!0,context:this,success:function(){this.setStatus("ready"),this.geocoder=new google.maps.Geocoder,acf.doAction("google_map_api_loaded")}})),!1},ready:function(t,e){acf.addAction("google_map_api_loaded",t,10,e)}})}(jQuery),function(n,i){var t=acf.Field.extend({type:"image",$control:function(){return this.$(".acf-image-uploader")},$input:function(){return this.$('input[type="hidden"]')},events:{'click a[data-name="add"]':"onClickAdd",'click a[data-name="edit"]':"onClickEdit",'click a[data-name="remove"]':"onClickRemove",'change input[type="file"]':"onChange"},initialize:function(){"basic"===this.get("uploader")&&this.$el.closest("form").attr("enctype","multipart/form-data")},validateAttachment:function(t){(t=t||{}).id!==i&&(t=t.attributes),t=acf.parseArgs(t,{url:"",alt:"",title:"",caption:"",description:"",width:0,height:0});var e=acf.isget(t,"sizes",this.get("preview_size"),"url");return null!==e&&(t.url=e),t},render:function(t){t=this.validateAttachment(t),this.$("img").attr({src:t.url,alt:t.alt,title:t.title});var e=t.id||"";this.val(e),e?this.$control().addClass("has-value"):this.$control().removeClass("has-value")},append:function(t,e){var i=function(t,e){for(var i=acf.getFields({key:t.get("key"),parent:e.$el}),n=0;n
          '):this.$el=a('
            '),i.before(this.$el),this.set("index",r,!0),r++},initializeTabs:function(){var t=this.getVisible().shift(),e,i,n=(acf.getPreference("this.tabs")||[])[this.get("index")];this.tabs[n]&&this.tabs[n].isVisible()&&(t=this.tabs[n]),t?this.selectTab(t):this.closeTabs(),this.set("initialized",!0)},getVisible:function(){return this.tabs.filter(function(t){return t.isVisible()})},getActive:function(){return this.active},setActive:function(t){return this.active=t},hasActive:function(){return!1!==this.active},isActive:function(t){var e=this.getActive();return e&&e.cid===t.cid},closeActive:function(){this.hasActive()&&this.closeTab(this.getActive())},openTab:function(t){this.closeActive(),t.open(),this.setActive(t)},closeTab:function(t){t.close(),this.setActive(!1)},closeTabs:function(){this.tabs.map(this.closeTab,this)},selectTab:function(e){this.tabs.map(function(t){e.cid!==t.cid&&this.closeTab(t)},this),this.openTab(e)},addTab:function(t,e){var i=a("
          • ");i.append(t),this.$("ul").append(i);var n=new s({$el:i,field:e,group:this});return this.tabs.push(n),n},reset:function(){return this.closeActive(),this.refresh()},refresh:function(){if(this.hasActive())return!1;var t=this.getVisible().shift();return t&&this.openTab(t),t},onRefresh:function(){if("left"===this.get("placement")){var t=this.$el.parent(),e=this.$el.children("ul"),i=t.is("td")?"height":"min-height",n=e.position().top+e.outerHeight(!0)-1;t.css(i,n)}}}),s=acf.Model.extend({group:!1,field:!1,events:{"click a":"onClick"},index:function(){return this.$el.index()},isVisible:function(){return acf.isVisible(this.$el)},isActive:function(){return this.$el.hasClass("active")},open:function(){this.$el.addClass("active"),this.field.showFields()},close:function(){this.$el.removeClass("active"),this.field.hideFields()},onClick:function(t,e){t.preventDefault(),this.toggle()},toggle:function(){this.isActive()||this.group.openTab(this)}}),o=new acf.Model({priority:50,actions:{prepare:"render",append:"render",unload:"onUnload",invalid_field:"onInvalidField"},findTabs:function(){return a(".acf-tab-wrap")},getTabs:function(){return acf.getInstances(this.findTabs())},render:function(t){this.getTabs().map(function(t){t.get("initialized")||t.initializeTabs()})},onInvalidField:function(t){this.busy||t.hiddenByTab&&(t.hiddenByTab.toggle(),this.busy=!0,this.setTimeout(function(){this.busy=!1},100))},onUnload:function(){var i=[];this.getTabs().map(function(t){var e=t.hasActive()?t.getActive().index():0;i.push(e)}),i.length&&acf.setPreference("this.tabs",i)}})}(jQuery),function(t,e){var i=acf.models.SelectField.extend({type:"post_object"});acf.registerFieldType(i)}(jQuery),function(t,e){var i=acf.models.SelectField.extend({type:"page_link"});acf.registerFieldType(i)}(jQuery),function(t,e){var i=acf.models.SelectField.extend({type:"user"});acf.registerFieldType(i)}(jQuery),function(g,t){var e=acf.Field.extend({type:"taxonomy",data:{ftype:"select"},select2:!1,wait:"load",events:{'click a[data-name="add"]':"onClickAdd",'click input[type="radio"]':"onClickRadio"},$control:function(){return this.$(".acf-taxonomy-field")},$input:function(){return this.getRelatedPrototype().$input.apply(this,arguments)},getRelatedType:function(){var t=this.get("ftype");return"multi_select"==t&&(t="select"),t},getRelatedPrototype:function(){return acf.getFieldType(this.getRelatedType()).prototype},getValue:function(){return this.getRelatedPrototype().getValue.apply(this,arguments)},setValue:function(){return this.getRelatedPrototype().setValue.apply(this,arguments)},initialize:function(){this.getRelatedPrototype().initialize.apply(this,arguments)},onRemove:function(){this.select2&&this.select2.destroy()},onClickAdd:function(t,e){var n=this,i=!1,a=!1,r=!1,s=!1,o=!1,c=!1,l=!1,u=function(){i=acf.newPopup({title:e.attr("title"),loading:!0,width:"300px"});var t={action:"acf/fields/taxonomy/add_term",field_key:n.get("key")};g.ajax({url:acf.get("ajaxurl"),data:acf.prepareForAjax(t),type:"post",dataType:"html",success:d})},d=function(t){i.loading(!1),i.content(t),a=i.$("form"),r=i.$('input[name="term_name"]'),s=i.$('select[name="term_parent"]'),o=i.$(".acf-submit-button"),r.focus(),i.on("submit","form",f)},f=function(t,e){if(t.preventDefault(),t.stopImmediatePropagation(),""===r.val())return r.focus(),!1;acf.startButtonLoading(o);var i={action:"acf/fields/taxonomy/add_term",field_key:n.get("key"),term_name:r.val(),term_parent:s.length?s.val():0};g.ajax({url:acf.get("ajaxurl"),data:acf.prepareForAjax(i),type:"post",dataType:"json",success:h})},h=function(t){acf.stopButtonLoading(o),l&&l.remove(), +l=acf.isAjaxSuccess(t)?(r.val(""),p(t.data),acf.newNotice({type:"success",text:acf.getAjaxMessage(t),target:a,timeout:2e3,dismiss:!1})):acf.newNotice({type:"error",text:acf.getAjaxError(t),target:a,timeout:2e3,dismiss:!1}),r.focus()},p=function(e){var t=g('"),i;e.term_parent?s.children('option[value="'+e.term_parent+'"]').after(t):s.append(t),acf.getFields({type:"taxonomy"}).map(function(t){t.get("taxonomy")==n.get("taxonomy")&&t.appendTerm(e)}),n.selectTerm(e.term_id)};u()},appendTerm:function(t){"select"==this.getRelatedType()?this.appendTermSelect(t):this.appendTermCheckbox(t)},appendTermSelect:function(t){this.select2.addOption({id:t.term_id,text:t.term_label})},appendTermCheckbox:function(t){var e=this.$("[name]:first").attr("name"),i=this.$("ul:first");"checkbox"==this.getRelatedType()&&(e+="[]");var n=g(['
          • ',"","
          • "].join(""));if(t.term_parent){var a=i.find('li[data-id="'+t.term_parent+'"]');(i=a.children("ul")).exists()||(i=g('
              '),a.append(i))}i.append(n)},selectTerm:function(t){var e;"select"==this.getRelatedType()?this.select2.selectOption(t):this.$('input[value="'+t+'"]').prop("checked",!0).trigger("change")},onClickRadio:function(t,e){var i=e.parent("label"),n=i.hasClass("selected");this.$(".selected").removeClass("selected"),i.addClass("selected"),this.get("allow_null")&&n&&(i.removeClass("selected"),e.prop("checked",!1).trigger("change"))}});acf.registerFieldType(e)}(jQuery),function(i,t){var e=acf.models.DatePickerField.extend({type:"time_picker",$control:function(){return this.$(".acf-time-picker")},initialize:function(){var t=this.$input(),e=this.$inputText(),i={timeFormat:this.get("time_format"),altField:t,altFieldTimeOnly:!1,altTimeFormat:"HH:mm:ss",showButtonPanel:!0,controlType:"select",oneLine:!0,closeText:acf.get("dateTimePickerL10n").selectText,timeOnly:!0,onClose:function(t,e,i){var n=e.dpDiv.find(".ui-datepicker-close");!t&&n.is(":hover")&&i._updateDateTime()}};i=acf.applyFilters("time_picker_args",i,this),acf.newTimePicker(e,i),acf.doAction("time_picker_init",e,i,this)}});acf.registerFieldType(e),acf.newTimePicker=function(t,e){if(void 0===i.timepicker)return!1;e=e||{},t.timepicker(e),i("body > #ui-datepicker-div").exists()&&i("body > #ui-datepicker-div").wrap('
              ')}}(jQuery),function(t,e){var i=acf.Field.extend({type:"true_false",events:{"change .acf-switch-input":"onChange","focus .acf-switch-input":"onFocus","blur .acf-switch-input":"onBlur","keypress .acf-switch-input":"onKeypress"},$input:function(){return this.$('input[type="checkbox"]')},$switch:function(){return this.$(".acf-switch")},getValue:function(){return this.$input().prop("checked")?1:0},initialize:function(){this.render()},render:function(){var t=this.$switch();if(t.length){var e=t.children(".acf-switch-on"),i=t.children(".acf-switch-off"),n=Math.max(e.width(),i.width());n&&(e.css("min-width",n),i.css("min-width",n))}},switchOn:function(){this.$input().prop("checked",!0),this.$switch().addClass("-on")},switchOff:function(){this.$input().prop("checked",!1),this.$switch().removeClass("-on")},onChange:function(t,e){e.prop("checked")?this.switchOn():this.switchOff()},onFocus:function(t,e){this.$switch().addClass("-focus")},onBlur:function(t,e){this.$switch().removeClass("-focus")},onKeypress:function(t,e){return 37===t.keyCode?this.switchOff():39===t.keyCode?this.switchOn():void 0}});acf.registerFieldType(i)}(jQuery),function(t,e){var i=acf.Field.extend({type:"url",events:{'keyup input[type="url"]':"onkeyup"},$control:function(){return this.$(".acf-input-wrap")},$input:function(){return this.$('input[type="url"]')},initialize:function(){this.render()},isValid:function(){var t=this.val();return!!t&&(-1!==t.indexOf("://")||0===t.indexOf("//"))},render:function(){this.isValid()?this.$control().addClass("-valid"):this.$control().removeClass("-valid")},onkeyup:function(t,e){this.render()}});acf.registerFieldType(i)}(jQuery),function(t,e){var i=acf.Field.extend({type:"wysiwyg",wait:"load",events:{"mousedown .acf-editor-wrap.delay":"onMousedown",sortstartField:"disableEditor",sortstopField:"enableEditor",removeField:"disableEditor"},$control:function(){return this.$(".acf-editor-wrap")},$input:function(){return this.$("textarea")},getMode:function(){return this.$control().hasClass("tmce-active")?"visual":"text"},initialize:function(){this.$control().hasClass("delay")||this.initializeEditor()},initializeEditor:function(){var t=this.$control(),e=this.$input(),i={tinymce:!0,quicktags:!0,toolbar:this.get("toolbar"),mode:this.getMode(),field:this},n=e.attr("id"),a=acf.uniqueId("acf-editor-"),r=e.data();acf.rename({target:t,search:n,replace:a,destructive:!0}),this.set("id",a,!0),acf.tinymce.initialize(a,i),this.$input().data(r)},onMousedown:function(t){t.preventDefault();var e=this.$control();e.removeClass("delay"),e.find(".acf-editor-toolbar").remove(),this.initializeEditor()},enableEditor:function(){"visual"==this.getMode()&&acf.tinymce.enable(this.get("id"))},disableEditor:function(){acf.tinymce.destroy(this.get("id"))}});acf.registerFieldType(i)}(jQuery),function(e,t){var s=[];acf.Condition=acf.Model.extend({type:"",operator:"==",label:"",choiceType:"input",fieldTypes:[],data:{conditions:!1,field:!1,rule:{}},events:{change:"change",keyup:"change",enableField:"change",disableField:"change"},setup:function(t){e.extend(this.data,t)},getEventTarget:function(t,e){return t||this.get("field").$el},change:function(t,e){this.get("conditions").change(t)},match:function(t,e){return!1},calculate:function(){return this.match(this.get("rule"),this.get("field"))},choices:function(t){return''}}),acf.newCondition=function(t,e){var i=e.get("field"),n=i.getField(t.field);if(!i||!n)return!1;var a={rule:t,target:i,conditions:e,field:n},r=n.get("type"),s=t.operator,o,c,l;return new(acf.getConditionTypes({fieldType:r,operator:s})[0]||acf.Condition)(a)};var a=function(t){return acf.strPascalCase(t||"")+"Condition"};acf.registerConditionType=function(t){var e,i=t.prototype.type,n=a(i);acf.models[n]=t,s.push(i)},acf.getConditionType=function(t){var e=a(t);return acf.models[e]||!1},acf.registerConditionForFieldType=function(t,e){var i=acf.getConditionType(t);i&&i.prototype.fieldTypes.push(e)},acf.getConditionTypes=function(a){a=acf.parseArgs(a,{fieldType:"",operator:""});var r=[];return s.map(function(t){var e=acf.getConditionType(t),i=e.prototype.fieldTypes,n=e.prototype.operator;a.fieldType&&-1===i.indexOf(a.fieldType)||a.operator&&n!==a.operator||r.push(e)}),r}}(jQuery),function(t,e){var i="conditional_logic",n=new acf.Model({id:"conditionsManager",priority:20,actions:{new_field:"onNewField"},onNewField:function(t){t.has("conditions")&&t.getConditions().render()}}),a=function(t,e){var i=acf.getFields({key:e,sibling:t.$el,suppressFilters:!0});return i.length||(i=acf.getFields({key:e,parent:t.$el.parent(),suppressFilters:!0})),!!i.length&&i[0]};acf.Field.prototype.getField=function(t){var e=a(this,t);if(e)return e;for(var i=this.parents(),n=0;nparseFloat(e)},c=function(t,e){return parseFloat(t)'}});acf.registerConditionType(f);var e=f.extend({type:"hasNoValue",operator:"==empty",label:a("Has no value"),match:function(t,e){return!f.prototype.match.apply(this,arguments)}});acf.registerConditionType(e);var h=acf.Condition.extend({type:"equalTo",operator:"==",label:a("Value is equal to"),fieldTypes:["text","textarea","number","range","email","url","password"],match:function(t,e){return n.isNumeric(t.value)?i(t.value,e.val()):s(t.value,e.val())},choices:function(t){return''}});acf.registerConditionType(h);var p=h.extend({type:"notEqualTo",operator:"!=",label:a("Value is not equal to"),match:function(t,e){return!h.prototype.match.apply(this,arguments)}});acf.registerConditionType(p);var g=acf.Condition.extend({type:"patternMatch",operator:"==pattern",label:a("Value matches pattern"),fieldTypes:["text","textarea","email","url","password","wysiwyg"],match:function(t,e){return d(e.val(),t.value)},choices:function(t){return''}});acf.registerConditionType(g);var m=acf.Condition.extend({type:"contains",operator:"==contains",label:a("Value contains"),fieldTypes:["text","textarea","number","email","url","password","wysiwyg","oembed","select"],match:function(t,e){return u(e.val(),t.value)},choices:function(t){return''}});acf.registerConditionType(m);var v=h.extend({type:"trueFalseEqualTo",choiceType:"select",fieldTypes:["true_false"],choices:function(t){return[{id:1,text:a("Checked")}]}});acf.registerConditionType(v);var y=p.extend({type:"trueFalseNotEqualTo",choiceType:"select",fieldTypes:["true_false"],choices:function(t){return[{id:1,text:a("Checked")}]}});acf.registerConditionType(y);var b=acf.Condition.extend({type:"selectEqualTo",operator:"==",label:a("Value is equal to"),fieldTypes:["select","checkbox","radio","button_group"],match:function(t,e){var i=e.val();return i instanceof Array?l(t.value,i):s(t.value,i)},choices:function(t){var e=[],i=t.$setting("choices textarea").val().split("\n");return t.$input("allow_null").prop("checked")&&e.push({id:"",text:a("Null")}),i.map(function(t){(t=t.split(":"))[1]=t[1]||t[0],e.push({id:n.trim(t[0]),text:n.trim(t[1])})}),e}});acf.registerConditionType(b);var x=b.extend({type:"selectNotEqualTo",operator:"!=",label:a("Value is not equal to"),match:function(t,e){return!b.prototype.match.apply(this,arguments)}});acf.registerConditionType(x);var w=acf.Condition.extend({type:"greaterThan",operator:">",label:a("Value is greater than"),fieldTypes:["number","range"],match:function(t,e){var i=e.val();return i instanceof Array&&(i=i.length),o(i,t.value)},choices:function(t){return''}});acf.registerConditionType(w);var _=w.extend({type:"lessThan",operator:"<",label:a("Value is less than"),match:function(t,e){var i=e.val();return i instanceof Array&&(i=i.length),c(i,t.value)},choices:function(t){return''}});acf.registerConditionType(_);var $=w.extend({type:"selectionGreaterThan",label:a("Selection is greater than"),fieldTypes:["checkbox","select","post_object","page_link","relationship","taxonomy","user"]});acf.registerConditionType($);var k=_.extend({type:"selectionLessThan",label:a("Selection is less than"),fieldTypes:["checkbox","select","post_object","page_link","relationship","taxonomy","user"]});acf.registerConditionType(k)}(jQuery),function(s,n){acf.newMediaPopup=function(t){var e=null,t=acf.parseArgs(t,{mode:"select",title:"",button:"",type:"",field:!1,allowedTypes:"",library:"all",multiple:!1,attachment:0,autoOpen:!0,open:function(){},select:function(){},close:function(){}});return e="edit"==t.mode?new acf.models.EditMediaPopup(t):new acf.models.SelectMediaPopup(t),t.autoOpen&&setTimeout(function(){e.open()},1),acf.doAction("new_media_popup",e),e};var e=function(){var t=acf.get("post_id");return s.isNumeric(t)?t:0};acf.getMimeTypes=function(){return this.get("mimeTypes")},acf.getMimeType=function(t){var e=acf.getMimeTypes();if(e[t]!==n)return e[t];for(var i in e)if(-1!==i.indexOf(t))return e[i];return!1};var i=acf.Model.extend({id:"MediaPopup",data:{},defaults:{},frame:!1,setup:function(t){s.extend(this.data,t)},initialize:function(){var t=this.getFrameOptions();this.addFrameStates(t);var e=wp.media(t);(e.acf=this).addFrameEvents(e,t),this.frame=e},open:function(){this.frame.open()},close:function(){this.frame.close()},remove:function(){this.frame.detach(),this.frame.remove()},getFrameOptions:function(){var t={title:this.get("title"),multiple:this.get("multiple"),library:{},states:[]};return this.get("type")&&(t.library.type=this.get("type")),"uploadedTo"===this.get("library")&&(t.library.uploadedTo=e()),this.get("attachment")&&(t.library.post__in=[this.get("attachment")]),this.get("button")&&(t.button={text:this.get("button")}),t},addFrameStates:function(t){var e=wp.media.query(t.library);this.get("field")&&acf.isset(e,"mirroring","args")&&(e.mirroring.args._acfuploader=this.get("field")),t.states.push(new wp.media.controller.Library({library:e,multiple:this.get("multiple"),title:this.get("title"),priority:20,filterable:"all",editable:!0,allowLocalEdits:!0})),acf.isset(wp,"media","controller","EditImage")&&t.states.push(new wp.media.controller.EditImage)},addFrameEvents:function(i,t){i.on("open",function(){this.$el.closest(".media-modal").addClass("acf-media-modal -"+this.acf.get("mode"))},i),i.on("content:render:edit-image",function(){var t=this.state().get("image"),e=new wp.media.view.EditImage({model:t,controller:this}).render();this.content.set(e),e.loadEditor()},i),i.on("select",function(){var t=i.state().get("selection");t&&t.each(function(t,e){i.acf.get("select").apply(i.acf,[t,e])})}),i.on("close",function(){setTimeout(function(){i.acf.get("close").apply(i.acf),i.acf.remove()},1)})}});acf.models.SelectMediaPopup=i.extend({id:"SelectMediaPopup",setup:function(t){t.button||(t.button=acf._x("Select","verb")),i.prototype.setup.apply(this,arguments)},addFrameEvents:function(e,t){acf.isset(_wpPluploadSettings,"defaults","multipart_params")&&(_wpPluploadSettings.defaults.multipart_params._acfuploader=this.get("field"),e.on("open",function(){delete _wpPluploadSettings.defaults.multipart_params._acfuploader})),e.on("content:activate:browse",function(){var t=!1;try{t=e.content.get().toolbar}catch(t){return void console.log(t)}e.acf.customizeFilters.apply(e.acf,[t])}),i.prototype.addFrameEvents.apply(this,arguments)},customizeFilters:function(t){var n=t.get("filters"),e;("image"==this.get("type")&&(n.filters.all.text=acf.__("All images"),delete n.filters.audio,delete n.filters.video,delete n.filters.image,s.each(n.filters,function(t,e){e.props.type=e.props.type||"image"})),this.get("allowedTypes"))&&this.get("allowedTypes").split(" ").join("").split(".").join("").split(",").map(function(t){var e=acf.getMimeType(t);if(e){var i={text:e,props:{status:null,type:e,uploadedTo:null,orderby:"date",order:"DESC"},priority:20};n.filters[e]=i}});if("uploadedTo"===this.get("library")){var i=this.frame.options.library.uploadedTo;delete n.filters.unattached,delete n.filters.uploaded,s.each(n.filters,function(t,e){e.text+=" ("+acf.__("Uploaded to this post")+")",e.props.uploadedTo=i})}var a=this.get("field"),r;s.each(n.filters,function(t,e){e.props._acfuploader=a}),t.get("search").model.attributes._acfuploader=a,n.renderFilters&&n.renderFilters()}}),acf.models.EditMediaPopup=i.extend({id:"SelectMediaPopup",setup:function(t){t.button||(t.button=acf._x("Update","verb")),i.prototype.setup.apply(this,arguments)},addFrameEvents:function(n,t){n.on("open",function(){this.$el.closest(".media-modal").addClass("acf-expanded"),"browse"!=this.content.mode()&&this.content.mode("browse");var t,e=this.state().get("selection"),i=wp.media.attachment(n.acf.get("attachment"));e.add(i)},n),i.prototype.addFrameEvents.apply(this,arguments)}});var t=new acf.Model({id:"customizePrototypes",wait:"ready",initialize:function(){if(acf.isset(window,"wp","media","view")){var t=e();t&&acf.isset(wp,"media","view","settings","post")&&(wp.media.view.settings.post.id=t),this.customizeAttachmentsRouter(),this.customizeAttachmentFilters(),this.customizeAttachmentCompat(),this.customizeAttachmentLibrary()}},customizeAttachmentsRouter:function(){if(acf.isset(wp,"media","view","Router")){var t=wp.media.view.Router;wp.media.view.Router=t.extend({addExpand:function(){var t=s(['',''+acf.__("Expand Details")+"",''+acf.__("Collapse Details")+"",""].join(""));t.on("click",function(t){t.preventDefault();var e=s(this).closest(".media-modal");e.hasClass("acf-expanded")?e.removeClass("acf-expanded"):e.addClass("acf-expanded")}),this.$el.append(t)},initialize:function(){return t.prototype.initialize.apply(this,arguments),this.addExpand(),this}})}},customizeAttachmentFilters:function(){var t;acf.isset(wp,"media","view","AttachmentFilters","All")&&(wp.media.view.AttachmentFilters.All.prototype.renderFilters=function(){this.$el.html(_.chain(this.filters).map(function(t,e){return{el:s("").val(e).html(t.text)[0],priority:t.priority||50}},this).sortBy("priority").pluck("el").value())})},customizeAttachmentCompat:function(){if(acf.isset(wp,"media","view","AttachmentCompat")){var t=wp.media.view.AttachmentCompat,e=!1;wp.media.view.AttachmentCompat=t.extend({render:function(){return this.rendered?this:(t.prototype.render.apply(this,arguments),this.$("#acf-form-data").length&&(clearTimeout(e),e=setTimeout(s.proxy(function(){this.rendered=!0,acf.doAction("append",this.$el)},this),50)),this)},save:function(t){var e={};t&&t.preventDefault(),e=acf.serializeForAjax(this.$el),this.controller.trigger("attachment:compat:waiting",["waiting"]),this.model.saveCompat(e).always(_.bind(this.postSave,this))}})}},customizeAttachmentLibrary:function(){if(acf.isset(wp,"media","view","Attachment","Library")){var l=wp.media.view.Attachment.Library;wp.media.view.Attachment.Library=l.extend({render:function(){var t=acf.isget(this,"controller","acf"),e=acf.isget(this,"model","attributes");if(t&&e){e.acf_errors&&this.$el.addClass("acf-disabled");var i=t.get("selected");i&&-1',''+acf.__("Restricted")+"",''+c+"",''+s+"","
              "].join("")),i.reset(),void i.single(n)}return l.prototype.toggleSelection.apply(this,arguments)}})}}})}(jQuery),function(h,e){acf.screen=new acf.Model({active:!0,xhr:!1,timeout:!1,wait:"load",events:{"change #page_template":"onChange","change #parent_id":"onChange","change #post-formats-select":"onChange","change .categorychecklist":"onChange","change .tagsdiv":"onChange",'change .acf-taxonomy-field[data-save="1"]':"onChange","change #product-type":"onChange"},isPost:function(){return"post"===acf.get("screen")},isUser:function(){return"user"===acf.get("screen")},isTaxonomy:function(){return"taxonomy"===acf.get("screen")},isAttachment:function(){return"attachment"===acf.get("screen")},isNavMenu:function(){return"nav_menu"===acf.get("screen")},isWidget:function(){return"widget"===acf.get("screen")},isComment:function(){return"comment"===acf.get("screen")},getPageTemplate:function(){var t=h("#page_template");return t.length?t.val():null},getPageParent:function(t,e){var e;return(e=h("#parent_id")).length?e.val():null},getPageType:function(t,e){return this.getPageParent()?"child":"parent"},getPostType:function(){return h("#post_type").val()},getPostFormat:function(t,e){var e;if((e=h("#post-formats-select input:checked")).length){var i=e.val();return"0"==i?"standard":i}return null},getPostCoreTerms:function(){var t={},e=acf.serialize(h(".categorydiv, .tagsdiv"));for(var i in e.tax_input&&(t=e.tax_input),e.post_category&&(t.category=e.post_category),t)acf.isArray(t[i])||(t[i]=t[i].split(", "));return t},getPostTerms:function(){var n=this.getPostCoreTerms();for(var t in acf.getFields({type:"taxonomy"}).map(function(t){if(t.get("save")){var e=t.val(),i=t.get("taxonomy");e&&(n[i]=n[i]||[],e=acf.isArray(e)?e:[e],n[i]=n[i].concat(e))}}),null!==(productType=this.getProductType())&&(n.product_type=[productType]),n)n[t]=acf.uniqueArray(n[t]);return n},getProductType:function(){var t=h("#product-type");return t.length?t.val():null},check:function(){if("post"===acf.get("screen")){this.xhr&&this.xhr.abort();var e=acf.parseArgs(this.data,{action:"acf/ajax/check_screen",screen:acf.get("screen"),exists:[]});this.isPost()&&(e.post_id=acf.get("post_id")),null!==(postType=this.getPostType())&&(e.post_type=postType),null!==(pageTemplate=this.getPageTemplate())&&(e.page_template=pageTemplate),null!==(pageParent=this.getPageParent())&&(e.page_parent=pageParent),null!==(pageType=this.getPageType())&&(e.page_type=pageType),null!==(postFormat=this.getPostFormat())&&(e.post_format=postFormat),null!==(postTerms=this.getPostTerms())&&(e.post_terms=postTerms),acf.getPostboxes().map(function(t){e.exists.push(t.get("key"))}),e=acf.applyFilters("check_screen_args",e);var t=function(t){acf.isAjaxSuccess(t)&&("post"==acf.get("screen")?this.renderPostScreen(t.data):"user"==acf.get("screen")&&this.renderUserScreen(t.data)),acf.doAction("check_screen_complete",t.data,e)};this.xhr=h.ajax({url:acf.get("ajaxurl"),data:acf.prepareForAjax(e),type:"post",dataType:"json",context:this,success:t})}},onChange:function(t,e){this.setTimeout(this.check,1)},renderPostScreen:function(l){var u=[],d=function(t,e){var i=h._data(t[0]).events;for(var n in i)for(var a=0;a','",'

              ',""+e.title+"","

              ",'
              ',e.html,"
              ",""].join(""));if(h("#adv-settings").length){var a=h("#adv-settings .metabox-prefs"),r=h(['"].join(""));d(a.find("input").first(),r.find("input")),a.append(r)}"side"===e.position?h("#"+e.position+"-sortables").append(n):h("#"+e.position+"-sortables").prepend(n);var s=[];if(l.results.map(function(t){e.position===t.position&&h("#"+e.position+"-sortables #"+t.id).length&&s.push(t.id)}),f(e.id,s),l.sorted)for(var o in l.sorted){var s=l.sorted[o].split(",");if(f(e.id,s))break}var c=h("#submitdiv");h("#submitdiv").length&&(d(c.children(".handlediv"),n.children(".handlediv")),d(c.children(".hndle"),n.children(".hndle"))),acf.doAction("append",n),i=acf.newPostbox(e)}i.showEnable(),u.push(e.id)}),acf.getPostboxes().map(function(t){-1===u.indexOf(t.get("id"))&&t.hideDisable()}),h("#acf-style").html(l.style)},renderUserScreen:function(t){}});var t=new acf.Model({wait:"load",initialize:function(){acf.isGutenberg()&&(wp.data.subscribe(this.proxy(this.onChange)),acf.screen.getPageTemplate=this.getPageTemplate,acf.screen.getPageParent=this.getPageParent,acf.screen.getPostType=this.getPostType,acf.screen.getPostFormat=this.getPostFormat,acf.screen.getPostCoreTerms=this.getPostCoreTerms)},onChange:function(){var e=wp.data.select("core/editor").getPostEdits(),i=["template","parent","format"],t;(wp.data.select("core").getTaxonomies()||[]).map(function(t){i.push(t.rest_base)}),(i=i.filter(this.proxy(function(t){return e[t]&&e[t]!==this.get(t)}))).length&&this.triggerChange(e)},triggerChange:function(t){t!==e&&(this.data=t),acf.screen.check()},getPageTemplate:function(){return wp.data.select("core/editor").getEditedPostAttribute("template")},getPageParent:function(t,e){return wp.data.select("core/editor").getEditedPostAttribute("parent")},getPostType:function(){return wp.data.select("core/editor").getEditedPostAttribute("type")},getPostFormat:function(t,e){return wp.data.select("core/editor").getEditedPostAttribute("format")},getPostCoreTerms:function(){var i={},t;return(wp.data.select("core").getTaxonomies()||[]).map(function(t){var e=wp.data.select("core/editor").getEditedPostAttribute(t.rest_base);e&&(i[t.slug]=e)}),i}})}(jQuery),function(l,t){function a(){return acf.isset(window,"jQuery","fn","select2","amd")?4:!!acf.isset(window,"Select2")&&3}acf.newSelect2=function(t,e){if(e=acf.parseArgs(e,{allowNull:!1,placeholder:"",multiple:!1,field:!1,ajax:!1,ajaxAction:"",ajaxData:function(t){return t},ajaxResults:function(t){return t}}),4==a())var i=new r(t,e);else var i=new s(t,e);return acf.doAction("new_select2",i),i};var n=acf.Model.extend({setup:function(t,e){l.extend(this.data,e),this.$el=t},initialize:function(){},selectOption:function(t){var e=this.getOption(t);e.prop("selected")||e.prop("selected",!0).trigger("change")},unselectOption:function(t){var e=this.getOption(t);e.prop("selected")&&e.prop("selected",!1).trigger("change")},getOption:function(t){return this.$('option[value="'+t+'"]')},addOption:function(t){t=acf.parseArgs(t,{id:"",text:"",selected:!1});var e=this.getOption(t.id);return e.length||((e=l("")).html(t.text),e.attr("value",t.id),e.prop("selected",t.selected),this.$el.append(e)),e},getValue:function(){var e=[],t=this.$el.find("option:selected");return t.exists()&&(t=t.sort(function(t,e){return+t.getAttribute("data-i")-+e.getAttribute("data-i")})).each(function(){var t=l(this);e.push({$el:t,id:t.attr("value"),text:t.text()})}),e},mergeOptions:function(){},getChoices:function(){var i=function(t){var e=[];return t.children().each(function(){var t=l(this);t.is("optgroup")?e.push({text:t.attr("label"),children:i(t)}):e.push({id:t.attr("value"),text:t.text()})}),e};return i(this.$el)},decodeChoices:function(t){var e=function(t){return t.map(function(t){return t.text=acf.decode(t.text),t.children&&(t.children=e(t.children)),t}),t};return e(t)},getAjaxData:function(t){var e={action:this.get("ajaxAction"),s:t.term||"",paged:t.page||1},i=this.get("field");i&&(e.field_key=i.get("key"));var n=this.get("ajaxData");return n&&(e=n.apply(this,[e,t])),e=acf.applyFilters("select2_ajax_data",e,this.data,this.$el,i||!1,this),acf.prepareForAjax(e)},getAjaxResults:function(t,e){(t=acf.parseArgs(t,{results:!1,more:!1})).results&&(t.results=this.decodeChoices(t.results));var i=this.get("ajaxResults");return i&&(t=i.apply(this,[t,e])),t=acf.applyFilters("select2_ajax_results",t,e,this)},processAjaxResults:function(t,e){var t;return(t=this.getAjaxResults(t,e)).more&&(t.pagination={more:!0}),setTimeout(l.proxy(this.mergeOptions,this),1),t},destroy:function(){this.$el.data("select2")&&this.$el.select2("destroy"),this.$el.siblings(".select2-container").remove()}}),r=n.extend({initialize:function(){var e=this.$el,t={width:"100%",allowClear:this.get("allowNull"),placeholder:this.get("placeholder"),multiple:this.get("multiple"),data:[],escapeMarkup:function(t){return t}};t.multiple&&this.getValue().map(function(t){t.$el.detach().appendTo(e)}),e.removeData("ajax"),e.removeAttr("data-ajax"),this.get("ajax")&&(t.ajax={url:acf.get("ajaxurl"),delay:250,dataType:"json",type:"post",cache:!1,data:l.proxy(this.getAjaxData,this),processResults:l.proxy(this.processAjaxResults,this)});var i=this.get("field");t=acf.applyFilters("select2_args",t,e,this.data,i||!1,this),e.select2(t);var n=e.next(".select2-container");if(t.multiple){var a=n.find("ul");a.sortable({stop:function(t){a.find(".select2-selection__choice").each(function(){var t;l(l(this).data("data").element).detach().appendTo(e)}),e.trigger("change")}}),e.on("select2:select",this.proxy(function(t){this.getOption(t.params.data.id).detach().appendTo(this.$el)}))}n.addClass("-acf"),acf.doAction("select2_init",e,t,this.data,i||!1,this)},mergeOptions:function(){var i=!1,n=!1;l('.select2-results__option[role="group"]').each(function(){var t=l(this).children("ul"),e=l(this).children("strong");if(n&&n.text()===e.text())return i.append(t.children()),void l(this).remove();i=t,n=e})}}),s=n.extend({initialize:function(){var n=this.$el,i=this.getValue(),a=this.get("multiple"),t={width:"100%",allowClear:this.get("allowNull"),placeholder:this.get("placeholder"),separator:"||",multiple:this.get("multiple"),data:this.getChoices(),escapeMarkup:function(t){return t},dropdownCss:{"z-index":"999999999"},initSelection:function(t,e){e(a?i:i.shift())}},e=n.siblings("input");e.length||(e=l(''),n.before(e)),inputValue=i.map(function(t){return t.id}).join("||"),e.val(inputValue),t.multiple&&i.map(function(t){t.$el.detach().appendTo(n)}),t.allowClear&&(t.data=t.data.filter(function(t){return""!==t.id})),n.removeData("ajax"),n.removeAttr("data-ajax"),this.get("ajax")&&(t.ajax={url:acf.get("ajaxurl"),quietMillis:250,dataType:"json",type:"post",cache:!1,data:l.proxy(this.getAjaxData,this),results:l.proxy(this.processAjaxResults,this)});var r=this.get("field");t=acf.applyFilters("select2_args",t,n,this.data,r||!1,this),e.select2(t);var s=e.select2("container"),o=l.proxy(this.getOption,this);if(t.multiple){var c=s.find("ul");c.sortable({stop:function(){c.find(".select2-search-choice").each(function(){var t=l(this).data("select2Data"),e;o(t.id).detach().appendTo(n)}),n.trigger("change")}})}e.on("select2-selecting",function(t){var e=t.choice,i=o(e.id);i.length||(i=l( +'")),i.detach().appendTo(n)}),s.addClass("-acf"),acf.doAction("select2_init",n,t,this.data,r||!1,this),e.on("change",function(){var t=e.val();t.indexOf("||")&&(t=t.split("||")),n.val(t).trigger("change")}),n.hide()},mergeOptions:function(){var i=!1,n=!1;l("#select2-drop .select2-result-with-children").each(function(){var t=l(this).children("ul"),e=l(this).children(".select2-result-label");if(n&&n.text()===e.text())return n.append(t.children()),void l(this).remove();i=t,n=e})},getAjaxData:function(t,e){var i={term:t,page:e};return n.prototype.getAjaxData.apply(this,[i])}}),e=new acf.Model({priority:5,wait:"prepare",initialize:function(){var t=acf.get("locale"),e=acf.get("rtl"),i=acf.get("select2L10n"),n=a();return!!i&&(0!==t.indexOf("en")&&void(4==n?this.addTranslations4():3==n&&this.addTranslations3()))},addTranslations4:function(){var i=acf.get("select2L10n"),t=acf.get("locale");t=t.replace("_","-");var e={errorLoading:function(){return i.load_fail},inputTooLong:function(t){var e=t.input.length-t.maximum;return 1'),t.addClass("acf-sortable-tr-helper"),t.children().each(function(){l(this).width(l(this).width())}),e.height(t.height()+"px"),t.removeClass("acf-sortable-tr-helper"))}}),n=new acf.Model({actions:{after_duplicate:"onAfterDuplicate"},onAfterDuplicate:function(t,e){var i=[];t.find("select").each(function(t){i.push(l(this).val())}),e.find("select").each(function(t){l(this).val(i[t])})}}),a=new acf.Model({id:"tableHelper",priority:20,actions:{refresh:"renderTables"},renderTables:function(t){var e=this;l(".acf-table:visible").each(function(){e.renderTable(l(this))})},renderTable:function(t){var e=t.find("> thead > tr:visible > th[data-key]"),r=t.find("> tbody > tr:visible > td[data-key]");if(!e.length||!r.length)return!1;e.each(function(t){var e=l(this),i=e.data("key"),n=r.filter('[data-key="'+i+'"]'),a=n.filter(".acf-hidden");n.removeClass("acf-empty"),n.length===a.length?acf.hide(e):(acf.show(e),a.addClass("acf-empty"))}),e.css("width","auto"),e=e.not(".acf-hidden");var i=100,n=e.length,a;e.filter("[data-width]").each(function(){var t=l(this).data("width");l(this).css("width",t+"%"),i-=t});var s=e.not("[data-width]");if(s.length){var o=i/s.length;s.css("width",o+"%"),i=0}0set( $class, $instance ); + + // Return instance. + return $instance; +} + +/** + * acf_get_instance + * + * Returns an instance for the given class. + * + * @date 9/1/19 + * @since 5.7.10 + * + * @param string $class The class name. + * @return object The instance. + */ +function acf_get_instance( $class = '' ) { + return acf_instances()->get( $class ); +} + +/** + * acf_register_store + * + * Registers a data store. + * + * @date 9/1/19 + * @since 5.7.10 + * + * @param string $name The store name. + * @param array $data Array of data to start the store with. + * @return ACF_Data + */ + function acf_register_store( $name = '', $data = false ) { + + // Create store. + $store = new ACF_Data( $data ); + + // Register store. + acf_instances()->set( "ACF_Store_$name", $store ); + + // Return store. + return $store; + } + +/** + * acf_get_store + * + * Returns a data store. + * + * @date 9/1/19 + * @since 5.7.10 + * + * @param string $name The store name. + * @return ACF_Data + */ +function acf_get_store( $name = '' ) { + return acf_instances()->get( "ACF_Store_$name" ); +} + \ No newline at end of file diff --git a/includes/acf-form-functions.php b/includes/acf-form-functions.php new file mode 100644 index 0000000..ca05607 --- /dev/null +++ b/includes/acf-form-functions.php @@ -0,0 +1,174 @@ +set( $name, $data ); +} + +/** + * acf_get_form_data + * + * Gets data about the current form. + * + * @date 6/10/13 + * @since 5.0.0 + * + * @param string $name The store name. + * @return mixed + */ +function acf_get_form_data( $name = '' ) { + return acf_get_store( 'form' )->get( $name ); +} + +/** + * acf_form_data + * + * Called within a form to set important information and render hidden inputs. + * + * @date 15/10/13 + * @since 5.0.0 + * + * @param void + * @return void + */ +function acf_form_data( $data = array() ) { + + // Apply defaults. + $data = wp_parse_args($data, array( + + /** @type string The current screen (post, user, taxonomy, etc). */ + 'screen' => 'post', + + /** @type int|string The ID of current post being edited. */ + 'post_id' => 0, + + /** @type bool Enables AJAX validation. */ + 'validation' => true, + )); + + // Create nonce using screen. + $data['nonce'] = wp_create_nonce( $data['screen'] ); + + // Append "changed" input used within "_wp_post_revision_fields" action. + $data['changed'] = 0; + + // Set data. + acf_set_form_data( $data ); + + // Render HTML. + ?> +
              + $value ) { + acf_hidden_input(array( + 'id' => '_acf_' . $name, + 'name' => '_acf_' . $name, + 'value' => $value + )); + } + + /** + * Fires within the #acf-form-data element to add extra HTML. + * + * @date 15/10/13 + * @since 5.0.0 + * + * @param array $data The form data. + */ + do_action( 'acf/form_data', $data ); + do_action( 'acf/input/form_data', $data ); + + ?> +
              + $value ) { + + // Get field. + $field = acf_get_field( $key ); + + // Update value. + if( $field ) { + acf_update_value( $value, $post_id, $field ); + } + } + } +} + +// Run during generic action. +add_action( 'acf/save_post', '_acf_do_save_post' ); diff --git a/includes/acf-helper-functions.php b/includes/acf-helper-functions.php new file mode 100644 index 0000000..034c890 --- /dev/null +++ b/includes/acf-helper-functions.php @@ -0,0 +1,24 @@ + $user ) { + $order[ $i ] = array_search($user->ID, $args['include']); + } + + // Sort results. + array_multisort($order, $users); + } + + // Return + return $users; +} + +/** + * acf_allow_unfiltered_html + * + * Returns true if the current user is allowed to save unfiltered HTML. + * + * @date 9/1/19 + * @since 5.7.10 + * + * @param void + * @return bool + */ +function acf_allow_unfiltered_html() { + + // Check capability. + $allow_unfiltered_html = current_user_can('unfiltered_html'); + + /** + * Filters whether the current user is allowed to save unfiltered HTML. + * + * @date 9/1/19 + * @since 5.7.10 + * + * @param bool allow_unfiltered_html The result. + */ + return apply_filters( 'acf/allow_unfiltered_html', $allow_unfiltered_html ); +} \ No newline at end of file diff --git a/includes/admin/admin-field-groups.php b/includes/admin/admin-field-groups.php index 7e2f155..a6321b1 100644 --- a/includes/admin/admin-field-groups.php +++ b/includes/admin/admin-field-groups.php @@ -145,23 +145,25 @@ class acf_admin_field_groups { function check_duplicate() { - // message + // Display notice if( $ids = acf_maybe_get_GET('acfduplicatecomplete') ) { // explode $ids = explode(',', $ids); $total = count($ids); - if( $total == 1 ) { - - acf_add_admin_notice( sprintf(__('Field group duplicated. %s', 'acf'), '' . get_the_title($ids[0]) . '') ); - - } else { - - acf_add_admin_notice( sprintf(_n( '%s field group duplicated.', '%s field groups duplicated.', $total, 'acf' ), $total) ); - - } + // Generate text. + $text = sprintf( _n( 'Field group duplicated.', '%s field groups duplicated.', $total, 'acf' ), $total ); + // Add links to text. + $links = array(); + foreach( $ids as $id ) { + $links[] = '' . get_the_title( $id ) . ''; + } + $text .= ' ' . implode( ', ', $links ); + + // Add notice + acf_add_admin_notice( $text, 'success' ); } @@ -230,23 +232,25 @@ class acf_admin_field_groups { function check_sync() { - // message + // Display notice if( $ids = acf_maybe_get_GET('acfsynccomplete') ) { // explode $ids = explode(',', $ids); $total = count($ids); - if( $total == 1 ) { - - acf_add_admin_notice( sprintf(__('Field group synchronised. %s', 'acf'), '' . get_the_title($ids[0]) . '') ); - - } else { - - acf_add_admin_notice( sprintf(_n( '%s field group synchronised.', '%s field groups synchronised.', $total, 'acf' ), $total) ); - - } + // Generate text. + $text = sprintf( _n( 'Field group synchronised.', '%s field groups synchronised.', $total, 'acf' ), $total ); + // Add links to text. + $links = array(); + foreach( $ids as $id ) { + $links[] = '' . get_the_title( $id ) . ''; + } + $text .= ' ' . implode( ', ', $links ); + + // Add notice + acf_add_admin_notice( $text, 'success' ); } diff --git a/includes/admin/admin-notices.php b/includes/admin/admin-notices.php new file mode 100644 index 0000000..b6ffdf5 --- /dev/null +++ b/includes/admin/admin-notices.php @@ -0,0 +1,146 @@ + '', + + /** @type string Optional HTML alternative to text. + 'html' => '', */ + + /** @type string The type of notice (warning, error, success, info). */ + 'type' => 'info', + + /** @type bool If the notice can be dismissed. */ + 'dismissible' => true, + ); + + /** + * render + * + * Renders the notice HTML. + * + * @date 27/12/18 + * @since 5.8.0 + * + * @param void + * @return void + */ + function render() { + + // Ensure text contains punctuation. + // todo: Remove this after updating translations. + $text = $this->get('text'); + if( substr($text, -1) !== '.' && substr($text, -1) !== '>' ) { + $text .= '.'; + } + + // Print HTML. + printf('
              %s
              ', + + // Type class. + $this->get('type'), + + // Dismissible class. + $this->get('dismissible') ? 'is-dismissible' : '', + + // InnerHTML + $this->has('html') ? $this->get('html') : wpautop($text) + ); + } +} + +endif; // class_exists check + +/** +* acf_new_admin_notice +* +* Instantiates and returns a new model. +* +* @date 23/12/18 +* @since 5.8.0 +* +* @param array $data Optional data to set. +* @return ACF_Admin_Notice +*/ +function acf_new_admin_notice( $data = false ) { + + // Create notice. + $instance = new ACF_Admin_Notice( $data ); + + // Register notice. + acf_get_store( 'notices' )->set( $instance->cid, $instance ); + + // Return notice. + return $instance; +} + +/** + * acf_render_admin_notices + * + * Renders all admin notices HTML. + * + * @date 10/1/19 + * @since 5.7.10 + * + * @param void + * @return void + */ +function acf_render_admin_notices() { + + // Get notices. + $notices = acf_get_store( 'notices' )->get_data(); + + // Loop over notices and render. + if( $notices ) { + foreach( $notices as $notice ) { + $notice->render(); + } + } +} + +// Render notices during admin action. +add_action('admin_notices', 'acf_render_admin_notices', 99); + +/** + * acf_add_admin_notice + * + * Creates and returns a new notice. + * + * @date 17/10/13 + * @since 5.0.0 + * + * @param string $text The admin notice text. + * @param string $class The type of notice (warning, error, success, info). + * @return ACF_Admin_Notice + */ +function acf_add_admin_notice( $text = '', $type = 'info' ) { + return acf_new_admin_notice( array( 'text' => $text, 'type' => $type ) ); +} \ No newline at end of file diff --git a/includes/admin/admin.php b/includes/admin/admin.php index b8ddc9a..31f147d 100644 --- a/includes/admin/admin.php +++ b/includes/admin/admin.php @@ -6,10 +6,6 @@ if( ! class_exists('acf_admin') ) : class acf_admin { - // vars - var $notices = array(); - - /* * __construct * @@ -28,63 +24,8 @@ class acf_admin { // actions add_action('admin_menu', array($this, 'admin_menu')); add_action('admin_enqueue_scripts', array($this, 'admin_enqueue_scripts'), 0); - add_action('admin_notices', array($this, 'admin_notices')); - } - - /* - * add_notice - * - * This function will add the notice data to a setting in the acf object for the admin_notices action to use - * - * @type function - * @date 17/10/13 - * @since 5.0.0 - * - * @param $text (string) - * @param $class (string) - * @param wrap (string) - * @return n/a - */ - - function add_notice( $text = '', $class = '', $wrap = 'p' ) { - - // append - $this->notices[] = array( - 'text' => $text, - 'class' => 'updated ' . $class, - 'wrap' => $wrap - ); - - } - - - /* - * get_notices - * - * This function will return an array of admin notices - * - * @type function - * @date 17/10/13 - * @since 5.0.0 - * - * @param n/a - * @return (array) - */ - - function get_notices() { - - // bail early if no notices - if( empty($this->notices) ) return false; - - - // return - return $this->notices; - - } - - /* * admin_menu * @@ -138,52 +79,6 @@ class acf_admin { wp_enqueue_style( 'acf-global' ); } - - - /* - * admin_notices - * - * This function will render any admin notices - * - * @type function - * @date 17/10/13 - * @since 5.0.0 - * - * @param n/a - * @return n/a - */ - - function admin_notices() { - - // vars - $notices = $this->get_notices(); - - - // bail early if no notices - if( !$notices ) return; - - - // loop - foreach( $notices as $notice ) { - - $open = ''; - $close = ''; - - if( $notice['wrap'] ) { - - $open = "<{$notice['wrap']}>"; - $close = ""; - - } - - ?> -
              - admin = new acf_admin(); endif; // class_exists check - -/* -* acf_add_admin_notice -* -* This function will add the notice data to a setting in the acf object for the admin_notices action to use -* -* @type function -* @date 17/10/13 -* @since 5.0.0 -* -* @param $text (string) -* @param $class (string) -* @return (int) message ID (array position) -*/ - -function acf_add_admin_notice( $text, $class = '', $wrap = 'p' ) { - - return acf()->admin->add_notice($text, $class, $wrap); - -} - - -/* -* acf_get_admin_notices -* -* This function will return an array containing any admin notices -* -* @type function -* @date 17/10/13 -* @since 5.0.0 -* -* @param n/a -* @return (array) -*/ - -function acf_get_admin_notices() { - - return acf()->admin->get_notices(); - -} - ?> \ No newline at end of file diff --git a/includes/admin/settings-addons.php b/includes/admin/settings-addons.php deleted file mode 100644 index 0f84740..0000000 --- a/includes/admin/settings-addons.php +++ /dev/null @@ -1,123 +0,0 @@ -view = array( - 'json' => array(), - ); - - - // load json - $request = wp_remote_post( 'https://assets.advancedcustomfields.com/add-ons/add-ons.json' ); - - // validate - if( is_wp_error($request) || wp_remote_retrieve_response_code($request) != 200) - { - acf_add_admin_notice(__('Error. Could not load add-ons list', 'acf'), 'error'); - } - else - { - $this->view['json'] = json_decode( $request['body'], true ); - } - - } - - - /* - * html - * - * description - * - * @type function - * @date 7/01/2014 - * @since 5.0.0 - * - * @param $post_id (int) - * @return $post_id (int) - */ - - function html() { - - // load view - acf_get_view('settings-addons', $this->view); - - } - -} - - -// initialize -new acf_settings_addons(); - -?> \ No newline at end of file diff --git a/includes/admin/tools/class-acf-admin-tool-export.php b/includes/admin/tools/class-acf-admin-tool-export.php index 34e5966..f506dc6 100644 --- a/includes/admin/tools/class-acf-admin-tool-export.php +++ b/includes/admin/tools/class-acf-admin-tool-export.php @@ -94,7 +94,7 @@ class ACF_Admin_Tool_Export extends ACF_Admin_Tool { // validate if( $json === false ) { - return acf_add_admin_notice( __("No field groups selected", 'acf') , 'error'); + return acf_add_admin_notice( __("No field groups selected", 'acf'), 'warning' ); } @@ -132,7 +132,7 @@ class ACF_Admin_Tool_Export extends ACF_Admin_Tool { // validate if( !$keys ) { - return acf_add_admin_notice( __("No field groups selected", 'acf') , 'error'); + return acf_add_admin_notice( __("No field groups selected", 'acf'), 'warning' ); } @@ -171,8 +171,8 @@ class ACF_Admin_Tool_Export extends ACF_Admin_Tool { // add notice if( $selected ) { $count = count($selected); - $message = sprintf( _n( 'Exported 1 field group.', 'Exported %s field groups.', $count, 'acf' ), $count ); - acf_add_admin_notice( $message ); + $text = sprintf( _n( 'Exported 1 field group.', 'Exported %s field groups.', $count, 'acf' ), $count ); + acf_add_admin_notice( $text, 'success' ); } } diff --git a/includes/admin/tools/class-acf-admin-tool-import.php b/includes/admin/tools/class-acf-admin-tool-import.php index a08a816..360bd7b 100644 --- a/includes/admin/tools/class-acf-admin-tool-import.php +++ b/includes/admin/tools/class-acf-admin-tool-import.php @@ -96,10 +96,7 @@ class ACF_Admin_Tool_Import extends ACF_Admin_Tool { // validate if( empty($_FILES['acf_import_file']['size']) ) { - - acf_add_admin_notice( __("No file selected", 'acf') , 'error'); - return; - + return acf_add_admin_notice( __("No file selected", 'acf'), 'warning' ); } @@ -109,19 +106,13 @@ class ACF_Admin_Tool_Import extends ACF_Admin_Tool { // validate error if( $file['error'] ) { - - acf_add_admin_notice(__('Error uploading file. Please try again', 'acf'), 'error'); - return; - + return acf_add_admin_notice( __("Error uploading file. Please try again", 'acf'), 'warning' ); } // validate type if( pathinfo($file['name'], PATHINFO_EXTENSION) !== 'json' ) { - - acf_add_admin_notice(__('Incorrect file type', 'acf'), 'error'); - return; - + return acf_add_admin_notice( __("Incorrect file type", 'acf'), 'warning' ); } @@ -135,10 +126,7 @@ class ACF_Admin_Tool_Import extends ACF_Admin_Tool { // validate json if( empty($json) ) { - - acf_add_admin_notice(__('Import file empty', 'acf'), 'error'); - return; - + return acf_add_admin_notice( __("Import file empty", 'acf'), 'warning' ); } @@ -260,8 +248,7 @@ class ACF_Admin_Tool_Import extends ACF_Admin_Tool { // add notice - acf_add_admin_notice( $message ); - + acf_add_admin_notice( $message, 'success' ); } } diff --git a/includes/ajax/class-acf-ajax-check-screen.php b/includes/ajax/class-acf-ajax-check-screen.php index f962c7b..0afd485 100644 --- a/includes/ajax/class-acf-ajax-check-screen.php +++ b/includes/ajax/class-acf-ajax-check-screen.php @@ -35,7 +35,7 @@ class ACF_Ajax_Check_Screen extends ACF_Ajax { )); // vars - $json = array( + $response = array( 'results' => array(), 'style' => '' ); @@ -45,42 +45,50 @@ class ACF_Ajax_Check_Screen extends ACF_Ajax { // loop through field groups if( $field_groups ) { - foreach( $field_groups as $i => $field_group ) { - - // vars - $item = array( - 'key' => $field_group['key'], - 'title' => $field_group['title'], - 'html' => '' - ); - - // append first field group's style - if( $i == 0 ) { - $json['style'] = acf_get_field_group_style( $field_group ); + foreach( $field_groups as $i => $field_group ) { + + // vars + $item = array( + 'id' => 'acf-' . $field_group['key'], + 'key' => $field_group['key'], + 'title' => $field_group['title'], + 'position' => $field_group['position'], + 'style' => $field_group['style'], + 'label' => $field_group['label_placement'], + 'edit' => acf_get_field_group_edit_link( $field_group['ID'] ), + 'html' => '' + ); + + // append html if doesnt already exist on page + if( !in_array($field_group['key'], $args['exists']) ) { + + // load fields + $fields = acf_get_fields( $field_group ); + + // get field HTML + ob_start(); + + // render + acf_render_fields( $fields, $args['post_id'], 'div', $field_group['instruction_placement'] ); + + $item['html'] = ob_get_clean(); + } + + // append + $response['results'][] = $item; } - // append html if doesnt already exist on page - if( !in_array($field_group['key'], $args['exists']) ) { - - // load fields - $fields = acf_get_fields( $field_group ); - - // get field HTML - ob_start(); - - // render - acf_render_fields( $fields, $args['post_id'], 'div', $field_group['instruction_placement'] ); - - $item['html'] = ob_get_clean(); - } - - // append - $json['results'][] = $item; - }} + // Get style from first field group. + $response['style'] = acf_get_field_group_style( $field_groups[0] ); + } + // Custom metabox order. + if( $this->get('screen') == 'post' ) { + $response['sorted'] = get_user_option('meta-box-order_' . $this->get('post_type')); + } // return - return $json; + return $response; } } diff --git a/includes/api/api-helpers.php b/includes/api/api-helpers.php index 776ca23..0019fba 100644 --- a/includes/api/api-helpers.php +++ b/includes/api/api-helpers.php @@ -243,41 +243,6 @@ function acf_set_data( $name, $value ) { return acf()->set_data( $name, $value ); } - -/** -* acf_new_instance -* -* description -* -* @date 13/2/18 -* @since 5.6.5 -* -* @param type $var Description. Default. -* @return type Description. -*/ - -function acf_new_instance( $class ) { - return acf()->new_instance( $class ); -} - - -/** -* acf_get_instance -* -* description -* -* @date 13/2/18 -* @since 5.6.5 -* -* @param type $var Description. Default. -* @return type Description. -*/ - -function acf_get_instance( $class ) { - return acf()->get_instance( $class ); -} - - /* * acf_init * @@ -1193,26 +1158,6 @@ function acf_get_full_version( $version = '1' ) { } -/* -* acf_get_locale -* -* This function is a wrapper for the get_locale() function -* -* @type function -* @date 16/12/16 -* @since 5.5.0 -* -* @param n/a -* @return (string) -*/ - -function acf_get_locale() { - - return is_admin() && function_exists('get_user_locale') ? get_user_locale() : get_locale(); - -} - - /* * acf_get_terms * @@ -1450,6 +1395,20 @@ function acf_decode_taxonomy_term( $value ) { } +/** + * acf_array + * + * Casts the value into an array. + * + * @date 9/1/19 + * @since 5.7.10 + * + * @param mixed $val The value to cast. + * @return array + */ +function acf_array( $val = array() ) { + return (array) $val; +} /* * acf_get_array @@ -2896,6 +2855,12 @@ function acf_in_array( $value = '', $array = false ) { function acf_get_valid_post_id( $post_id = 0 ) { + // allow filter to short-circuit load_value logic + $preload = apply_filters( "acf/pre_load_post_id", null, $post_id ); + if( $preload !== null ) { + return $preload; + } + // vars $_post_id = $post_id; @@ -3592,29 +3557,17 @@ function acf_get_truncated( $text, $length = 64 ) { /* * acf_get_current_url * -* This function will return the current URL +* This function will return the current URL. * -* @type function * @date 23/01/2015 * @since 5.1.5 * -* @param n/a -* @return (string) +* @param void +* @return string */ function acf_get_current_url() { - - // Get url to current request. - $url = home_url($_SERVER['REQUEST_URI']); - - // Fix bug where multisite sub-directory path segment is repeated. - // Eg. http://multisite.local/sub1/sub1/sample-page/ - if( is_multisite() ) { - $url = acf_str_join( home_url(), $_SERVER['REQUEST_URI'] ); - } - - // Return url. - return $url; + return ( is_ssl() ? 'https' : 'http' ) . '://' . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI']; } /** @@ -4577,6 +4530,22 @@ function acf_dev_log() { } } +/** +* acf_test +* +* Tests a function against an expected result and logs the pass/fail. +* +* @date 19/11/18 +* @since 5.8.0 +* +* @param type $var Description. Default. +* @return type Description. +*/ +function acf_test( $result, $expected_result ) { + $success = ($result === $expected_result); + acf_log('ACF Test', $success ? '(Pass)' : '(Fail)', $result, $expected_result); +} + /* * acf_doing @@ -5383,4 +5352,80 @@ function acf_convert_rules_to_groups( $rules, $anyorall = 'any' ) { return $groups; } +/** +* acf_register_ajax +* +* Regsiters an ajax callback. +* +* @date 5/10/18 +* @since 5.7.7 +* +* @param string $name The ajax action name. +* @param array $callback The callback function or array. +* @param bool $public Whether to allow access to non logged in users. +* @return void +*/ +function acf_register_ajax( $name = '', $callback = false, $public = false ) { + + // vars + $action = "acf/ajax/$name"; + + // add action for logged-in users + add_action( "wp_ajax_$action", $callback ); + + // add action for non logged-in users + if( $public ) { + add_action( "wp_ajax_nopriv_$action", $callback ); + } +} + +/** +* acf_str_camel_case +* +* Converts a string into camelCase. +* Thanks to https://stackoverflow.com/questions/31274782/convert-array-keys-from-underscore-case-to-camelcase-recursively +* +* @date 24/10/18 +* @since 5.8.0 +* +* @param string $string The string ot convert. +* @return string +*/ +function acf_str_camel_case( $string = '' ) { + return lcfirst(str_replace(' ', '', ucwords(str_replace('_', ' ', $string)))); +} + +/** +* acf_array_camel_case +* +* Converts all aray keys to camelCase. +* +* @date 24/10/18 +* @since 5.8.0 +* +* @param array $array The array to convert. +* @return array +*/ +function acf_array_camel_case( $array = array() ) { + $array2 = array(); + foreach( $array as $k => $v ) { + $array2[ acf_str_camel_case($k) ] = $v; + } + return $array2; +} + +/** +* acf_is_block_editor +* +* Returns true if the current screen uses the block editor. +* +* @date 13/12/18 +* @since 5.8.0 +* +* @return bool +*/ +function acf_is_block_editor() { + return get_current_screen()->is_block_editor(); +} + ?> \ No newline at end of file diff --git a/includes/api/api-template.php b/includes/api/api-template.php index 036ffdb..bbfba1f 100644 --- a/includes/api/api-template.php +++ b/includes/api/api-template.php @@ -206,123 +206,46 @@ function get_fields( $post_id = false, $format_value = true ) { function get_field_objects( $post_id = false, $format_value = true, $load_value = true ) { - // global - global $wpdb; - - - // filter post_id + // validate post_id $post_id = acf_get_valid_post_id( $post_id ); - $info = acf_get_post_id_info( $post_id ); - - - // vars - $meta = array(); - $fields = array(); - - - // get field_names - if( $info['type'] == 'post' ) { - - $meta = get_post_meta( $info['id'] ); - - } elseif( $info['type'] == 'user' ) { - - $meta = get_user_meta( $info['id'] ); - - } elseif( $info['type'] == 'comment' ) { - - $meta = get_comment_meta( $info['id'] ); - - } elseif( $info['type'] == 'term' ) { - - $meta = get_term_meta( $info['id'] ); - - } else { - - $rows = $wpdb->get_results($wpdb->prepare( - "SELECT option_name, option_value FROM $wpdb->options WHERE option_name LIKE %s OR option_name LIKE %s", - $post_id . '_%' , - '_' . $post_id . '_%' - ), ARRAY_A); - - if( !empty($rows) ) { - - foreach( $rows as $row ) { - - // vars - $name = $row['option_name']; - $prefix = $post_id . '_'; - $_prefix = '_' . $prefix; - - - // remove prefix from name - if( strpos($name, $prefix) === 0 ) { - - $name = substr($name, strlen($prefix)); - - } elseif( strpos($name, $_prefix) === 0 ) { - - $name = '_' . substr($name, strlen($_prefix)); - - } - - $meta[ $name ][] = $row['option_value']; - - } - - } - - } + // get meta + $meta = acf_get_meta( $post_id ); // bail early if no meta if( empty($meta) ) return false; - // populate vars - foreach( $meta as $k => $v ) { - - // does a field key exist for this value? - if( !isset($meta["_{$k}"]) ) continue; + $fields = array(); + foreach( $meta as $key => $value ) { + // bail if reference key does not exist + if( !isset($meta["_$key"]) ) continue; // get field - $field_key = $meta["_{$k}"][0]; - $field = acf_maybe_get_field( $field_key ); + $field = acf_get_field($meta["_$key"]); - - // bail early if no field, or if the field's name is different to $k + // bail early if no field, or if the field's name is different to $key // - solves problem where sub fields (and clone fields) are incorrectly allowed - if( !$field || $field['name'] !== $k ) continue; - + if( !$field || $field['name'] !== $key ) continue; // load value if( $load_value ) { - $field['value'] = acf_get_value( $post_id, $field ); - } - // format value if( $format_value ) { - - // get value for field $field['value'] = acf_format_value( $field['value'], $post_id, $field ); - } - // append to $value - $fields[ $field['name'] ] = $field; - + $fields[ $key ] = $field; } - // no value if( empty($fields) ) return false; - // return return $fields; } diff --git a/includes/api/api-value.php b/includes/api/api-value.php index 7754a8d..bd59965 100644 --- a/includes/api/api-value.php +++ b/includes/api/api-value.php @@ -619,6 +619,97 @@ function acf_preview_value( $value, $post_id, $field ) { // return return $value; -} +} + +/** +* acf_get_option_meta +* +* Returns an array of meta for the given wp_option name prefix. +* +* @date 9/10/18 +* @since 5.8.0 +* +* @param string $prefix The wp_option name prefix. +* @return array +*/ +function acf_get_option_meta( $prefix = '' ) { + + // global + global $wpdb; + + // vars + $meta = array(); + $search = "{$prefix}_%"; + $_search = "_{$prefix}_%"; + + // escape underscores + $search = str_replace('_', '\_', $search); + $_search = str_replace('_', '\_', $_search); + + // query + $rows = $wpdb->get_results($wpdb->prepare( + "SELECT * + FROM $wpdb->options + WHERE option_name LIKE %s + OR option_name LIKE %s", + $search, + $_search + ), ARRAY_A); + + // loop + $len = strlen("{$prefix}_"); + foreach( $rows as $row ) { + $meta[ substr($row['option_name'], $len) ][] = $row['option_value']; + } + + // return unserialized + return array_map('maybe_unserialize', $meta); +} + +/** +* acf_get_meta +* +* Returns an array of "ACF only" meta for the given post_id. +* +* @date 9/10/18 +* @since 5.8.0 +* +* @param mixed $post_id The post_id for this data. +* @return array +*/ +function acf_get_meta( $post_id = 0 ) { + + // allow filter to short-circuit load_value logic + $pre = apply_filters( "acf/pre_load_meta", null, $post_id ); + if( $pre !== null ) { + return $pre; + } + + // get post_id info + extract( acf_get_post_id_info($post_id) ); + + // use get_$type_meta() function when possible + if( function_exists("get_{$type}_meta") ) { + $allmeta = call_user_func("get_{$type}_meta", $id, '', true); + + // default to wp_options + } else { + $allmeta = acf_get_option_meta( $id ); + } + + // loop + $meta = array(); + foreach( $allmeta as $key => $value ) { + + // if is value + if( isset($allmeta["_$key"]) ) { + $meta[ $key ] = $allmeta[ $key ][0]; + $meta[ "_$key" ] = $allmeta[ "_$key" ][0]; + } + } + + // return + return $meta; +} ?> \ No newline at end of file diff --git a/includes/class-acf-data.php b/includes/class-acf-data.php new file mode 100644 index 0000000..3cf987c --- /dev/null +++ b/includes/class-acf-data.php @@ -0,0 +1,148 @@ +cid = acf_uniqid(); + + // Set data. + if( $data && is_array($data) ) { + $this->data = array_merge($this->data, $data); + } + + // Initialize. + $this->initialize(); + } + + /** + * initialize + * + * Called during constructor to setup class functionality. + * + * @date 9/1/19 + * @since 5.7.10 + * + * @param void + * @return void + */ + function initialize() { + + } + + /** + * has + * + * Returns true if this has data for the given name. + * + * @date 9/1/19 + * @since 5.7.10 + * + * @param string $name The data name. + * @return boolean + */ + function has( $name = '' ) { + return isset($this->data[ $name ]); + } + + /** + * get + * + * Returns data for the given name of null if doesn't exist. + * + * @date 9/1/19 + * @since 5.7.10 + * + * @param string $name The data name. + * @return mixed + */ + function get( $name = '' ) { + return isset($this->data[ $name ]) ? $this->data[ $name ] : null; + } + + /** + * get_data + * + * Returns an array of all data. + * + * @date 9/1/19 + * @since 5.7.10 + * + * @param void + * @return array + */ + function get_data() { + return $this->data; + } + + /** + * set + * + * Sets data for the given name and returns $this for chaining. + * + * @date 9/1/19 + * @since 5.7.10 + * + * @param (string|array) $name The data name or an array of data. + * @param mixed $value The data value. + * @return ACF_Data + */ + function set( $name = '', $value ) { + + // Set multiple. + if( is_array($name) ) { + $this->data = array_merge($this->data, $name); + + // Set single. + } else { + $this->data[ $name ] = $value; + } + + // Return this for chaining. + return $this; + } + + /** + * remove + * + * Removes data for the given name. + * + * @date 9/1/19 + * @since 5.7.10 + * + * @param string $name The data name. + * @return ACF_Data + */ + function remove( $name = '' ) { + + // Remove data. + unset( $this->data[ $name ] ); + + // Return this for chaining. + return $this; + } +} + +endif; // class_exists check diff --git a/includes/fields/class-acf-field-user.php b/includes/fields/class-acf-field-user.php index 2718caf..9ebe826 100644 --- a/includes/fields/class-acf-field-user.php +++ b/includes/fields/class-acf-field-user.php @@ -329,45 +329,33 @@ class acf_field_user extends acf_field { function render_field( $field ) { - // Change Field into a select + // Change Field into a select. $field['type'] = 'select'; $field['ui'] = 1; $field['ajax'] = 1; $field['choices'] = array(); - - // populate choices - if( !empty($field['value']) ) { + // Populate choices. + if( $field['value'] ) { - // force value to array - $field['value'] = acf_get_array( $field['value'] ); + // Clean value into an array of IDs. + $user_ids = array_map('intval', acf_array($field['value'])); - - // convert values to int - $field['value'] = array_map('intval', $field['value']); - - - $users = get_users(array( - 'include' => $field['value'] + // Find users in database (ensures all results are real). + $users = acf_get_users(array( + 'include' => $user_ids )); - - if( !empty($users) ) { - + // Append. + if( $users ) { foreach( $users as $user ) { - $field['choices'][ $user->ID ] = $this->get_result( $user, $field ); - } - - } - + } } - - // render + // Render. acf_render_field( $field ); - } @@ -523,65 +511,65 @@ class acf_field_user extends acf_field { function format_value( $value, $post_id, $field ) { - // bail early if no value - if( empty($value) ) { + // Bail early if no value. + if( !$value ) { return false; } - // ensure array - $value = acf_get_array( $value ); + // Clean value into an array of IDs. + $user_ids = array_map('intval', acf_array($value)); - // update value - foreach( array_keys($value) as $i ) { - $value[ $i ] = $this->format_value_single( $value[ $i ], $post_id, $field ); + // Find users in database (ensures all results are real). + $users = acf_get_users(array( + 'include' => $user_ids + )); + + // Bail early if no users found. + if( !$users ) { + return false; } - // convert to single - if( !$field['multiple'] ) { - $value = array_shift($value); - } - - // return value - return $value; - - } - - function format_value_single( $value, $post_id, $field ) { - - // vars - $user_id = (int) $value; - - // object - if( $field['return_format'] == 'object' ) { - $value = get_userdata( $user_id ); - - // array - } elseif( $field['return_format'] == 'array' ) { - $wp_user = get_userdata( $user_id ); - $value = array( - 'ID' => $user_id, - 'user_firstname' => $wp_user->user_firstname, - 'user_lastname' => $wp_user->user_lastname, - 'nickname' => $wp_user->nickname, - 'user_nicename' => $wp_user->user_nicename, - 'display_name' => $wp_user->display_name, - 'user_email' => $wp_user->user_email, - 'user_url' => $wp_user->user_url, - 'user_registered' => $wp_user->user_registered, - 'user_description' => $wp_user->user_description, - 'user_avatar' => get_avatar( $user_id ), - ); + // Format values using field settings. + $value = array(); + foreach( $users as $user ) { - // id - } else { - $value = $user_id; + // Return object. + if( $field['return_format'] == 'object' ) { + $item = $user; + + // Return array. + } elseif( $field['return_format'] == 'array' ) { + $item = array( + 'ID' => $user->ID, + 'user_firstname' => $user->user_firstname, + 'user_lastname' => $user->user_lastname, + 'nickname' => $user->nickname, + 'user_nicename' => $user->user_nicename, + 'display_name' => $user->display_name, + 'user_email' => $user->user_email, + 'user_url' => $user->user_url, + 'user_registered' => $user->user_registered, + 'user_description' => $user->user_description, + 'user_avatar' => get_avatar( $user->ID ), + ); + + // Return ID. + } else { + $item = $user->ID; + } + + // Append item + $value[] = $item; } - // return + // Convert to single. + if( !$field['multiple'] ) { + $value = array_shift( $value ); + } + + // Return. return $value; - - } - + } } diff --git a/includes/form.php b/includes/form.php deleted file mode 100644 index c144a0e..0000000 --- a/includes/form.php +++ /dev/null @@ -1,281 +0,0 @@ - 'post', // Current screen loaded (post, user, taxonomy, etc) - 'post_id' => 0, // ID of current post being edited - 'nonce' => '', // nonce used for $_POST validation (defaults to screen) - 'validation' => 1, // enables form validation - 'changed' => 0, // used by revisions and unload to detect change - )); - - // crete nonce - $data['nonce'] = wp_create_nonce($data['screen']); - - // update - $this->data = $data; - - // return - return $data; - } - - - /* - * get_data - * - * Returns data. - * - * @type function - * @date 4/03/2016 - * @since 5.3.2 - * - * @param string $name The data anme. - * @return mixed The data. - */ - - function get_data( $name = false ) { - return isset($this->data[ $name ]) ? $this->data[ $name ] : null; - } - - /** - * render_data - * - * Renders the
              element with hidden "form data" inputs - * - * @date 17/4/18 - * @since 5.6.9 - * - * @param array $data An array of data. - * @return void - */ - - function render_data( $data = array() ) { - - // set form data - $data = $this->set_data( $data ); - - ?> -
              - $value ) { - - // input - acf_hidden_input(array( - 'id' => '_acf_' . $name, - 'name' => '_acf_' . $name, - 'value' => $value - )); - } - - // actions - do_action('acf/form_data', $data); - do_action('acf/input/form_data', $data); - - ?> -
              - set_data(array( - 'post_id' => $post_id - )); - - // Filter $_POST data for users without the 'unfiltered_html' capability. - if( !current_user_can('unfiltered_html') ) { - $_POST['acf'] = wp_kses_post_deep( $_POST['acf'] ); - } - - // action - do_action('acf/save_post', $post_id); - - // return - return true; - } - - - /** - * _save_post - * - * Saves the actual $_POST['acf'] data. - * Performing this logic within an action allows developers to hook in before and after data is saved. - * - * @date 24/10/2014 - * @since 5.0.9 - * - * @param mixed $post_id The $post_id used to save data to the DB - * @return void. - */ - - function _save_post( $post_id ) { - - // bail early if empty - // - post data may have be modified - if( empty($_POST['acf']) ) { - return; - } - - // loop - foreach( $_POST['acf'] as $key => $value ) { - - // get field - $field = acf_get_field( $key ); - - // update - if( $field ) { - acf_update_value( $value, $post_id, $field ); - } - } - } -} - -// instantiate -acf_new_instance('ACF_Form'); - -endif; // class_exists check - - -/* -* acf_get_form_data -* -* alias of acf()->form->get_data() -* -* @type function -* @date 6/10/13 -* @since 5.0.0 -* -* @param n/a -* @return n/a -*/ - -function acf_get_form_data( $name = '' ) { - return acf_get_instance('ACF_Form')->get_data( $name ); -} - - -/* -* acf_set_form_data -* -* alias of acf()->form->set_data() -* -* @type function -* @date 6/10/13 -* @since 5.0.0 -* -* @param n/a -* @return n/a -*/ - -function acf_set_form_data( $data = array() ) { - return acf_get_instance('ACF_Form')->set_data( $data ); -} - - -/* -* acf_form_data -* -* description -* -* @type function -* @date 15/10/13 -* @since 5.0.0 -* -* @param $post_id (int) -* @return $post_id (int) -*/ - -function acf_form_data( $data = array() ) { - return acf_get_instance('ACF_Form')->render_data( $data ); -} - -/* -* acf_save_post -* -* description -* -* @type function -* @date 15/10/13 -* @since 5.0.0 -* -* @param $post_id (int) -* @return $post_id (int) -*/ - -function acf_save_post( $post_id = 0, $values = null ) { - return acf_get_instance('ACF_Form')->save_post( $post_id, $values ); -} - -?> \ No newline at end of file diff --git a/includes/forms/form-gutenberg.php b/includes/forms/form-gutenberg.php index 71afeba..707f9f1 100644 --- a/includes/forms/form-gutenberg.php +++ b/includes/forms/form-gutenberg.php @@ -80,13 +80,19 @@ class ACF_Form_Gutenberg { // Manually call 'edit_form_after_title' function. acf_get_instance('ACF_Form_Post')->edit_form_after_title(); - // Move elements around screen. + // Add inline script. ?> $post->ID, + 'post_type' => $post_type + )); - // get all field groups - $field_groups = acf_get_field_groups(); - - // loop + // Loop over field groups. if( $field_groups ) { - foreach( $field_groups as $field_group ) { + foreach( $field_groups as $field_group ) { + + // vars + $id = "acf-{$field_group['key']}"; // acf-group_123 + $title = $field_group['title']; // Group 1 + $context = $field_group['position']; // normal, side, acf_after_title + $priority = 'high'; // high, core, default, low - // vars - $id = "acf-{$field_group['key']}"; // acf-group_123 - $title = $field_group['title']; // Group 1 - $context = $field_group['position']; // normal, side, acf_after_title - $priority = 'high'; // high, core, default, low - - // change priority for sidebar metaboxes - if( $context == 'side' ) { - $priority = 'core'; - } - - /** - * Filters the metabox priority. - * - * @date 23/06/12 - * @since 3.1.8 - * - * @param string $priority The metabox priority (high, core, default, low). - * @param array $field_group The field group array. - */ - $priority = apply_filters('acf/input/meta_box_priority', $priority, $field_group); - - // set the visibility for this field group - $visible = acf_get_field_group_visibility($field_group, array( - 'post_id' => $post->ID, - 'post_type' => $post_type - )); - - // add meta box - add_meta_box( $id, $title, array($this, 'render_meta_box'), $post_type, $context, $priority, array('field_group' => $field_group) ); - - // append to $postboxes - $this->postboxes[ $id ] = array( - 'id' => $id, - 'key' => $field_group['key'], - 'style' => $field_group['style'], - 'label' => $field_group['label_placement'], - 'visible' => $visible, - 'edit' => acf_get_field_group_edit_link( $field_group['ID'] ) - ); - - // increase count for visible - if( $visible ) { - $count++; - - // find first field group's style - if( $count == 1 ) { - $this->style = acf_get_field_group_style( $field_group ); + // Reduce priority for sidebar metaboxes for best position. + if( $context == 'side' ) { + $priority = 'core'; } + + /** + * Filters the metabox priority. + * + * @date 23/06/12 + * @since 3.1.8 + * + * @param string $priority The metabox priority (high, core, default, low). + * @param array $field_group The field group array. + */ + $priority = apply_filters('acf/input/meta_box_priority', $priority, $field_group); + + // Add the meta box. + add_meta_box( $id, $title, array($this, 'render_meta_box'), $post_type, $context, $priority, array('field_group' => $field_group) ); } - }} + + // Get style from first field group. + $this->style = acf_get_field_group_style( $field_groups[0] ); + } // remove postcustom metabox (removes expensive SQL query) if( acf_get_setting('remove_wp_meta_box') ) { remove_meta_box( 'postcustom', false, 'normal' ); } + + // Add hidden input fields. + add_action('edit_form_after_title', array($this, 'edit_form_after_title')); + + /** + * Fires after metaboxes have been added. + * + * @date 13/12/18 + * @since 5.8.0 + * + * @param string $post_type The post type. + * @param WP_Post $post The post being edited. + * @param array $field_groups The field groups added. + */ + do_action('acf/add_meta_boxes', $post_type, $post, $field_groups); } /** @@ -175,40 +162,11 @@ class ACF_Form_Post { // render 'acf_after_title' metaboxes do_meta_boxes( get_current_screen(), 'acf_after_title', $post ); - - // clean up $wp_meta_boxes - unset( $wp_meta_boxes['post']['acf_after_title'] ); // render dynamic field group style echo ''; } - /** - * hidden_meta_boxes - * - * Appends the id of all metaboxes that are not visible for WP to hide. - * - * @date 21/9/18 - * @since 5.7.6 - * - * @param array $hidden An array of hidden meta boxes. - * @param WP_Screen $screen WP_Screen object of the current screen. - * @param bool $use_defaults Whether to show the default meta boxes. - * @return array - */ - function hidden_meta_boxes( $hidden, $screen, $use_defaults ) { - - // loop over visiblity array - foreach( $this->postboxes as $id => $postbox ) { - if( !$postbox['visible'] ) { - $hidden[] = $id; - } - } - - // return - return $hidden; - } - /** * render_meta_box * @@ -226,19 +184,24 @@ class ACF_Form_Post { // vars $id = $metabox['id']; $field_group = $metabox['args']['field_group']; - $postbox = $this->postboxes[ $id ]; - // render fields if visible - if( $postbox['visible'] ) { - $fields = acf_get_fields( $field_group ); - acf_render_fields( $fields, $post->ID, 'div', $field_group['instruction_placement'] ); - } + // Render fields. + $fields = acf_get_fields( $field_group ); + acf_render_fields( $fields, $post->ID, 'div', $field_group['instruction_placement'] ); + + // Create metabox localized data. + $data = array( + 'id' => $id, + 'key' => $field_group['key'], + 'style' => $field_group['style'], + 'label' => $field_group['label_placement'], + 'edit' => acf_get_field_group_edit_link( $field_group['ID'] ) + ); - // inline javascript ?> post_status == 'publish' ) { - acf_validate_save_post( true ); + + // bail early if validation fails + if( !acf_validate_save_post() ) { + return; + } } // save diff --git a/includes/l10n.php b/includes/l10n.php new file mode 100644 index 0000000..a549c68 --- /dev/null +++ b/includes/l10n.php @@ -0,0 +1,128 @@ + 'az', // Azerbaijani (Turkey) + 'zh_HK' => 'zh_CN', // Chinese (Hong Kong) + 'zh_TW' => 'zh_CN', // Chinese (Taiwan) + 'nl_BE' => 'nl_NL', // Dutch (Belgium) + 'fr_BE' => 'fr_FR', // French (Belgium) + 'nn_NO' => 'nb_NO', // Norwegian (Nynorsk) + 'fa_AF' => 'fa_IR', // Persian (Afghanistan) + 'ru_UA' => 'ru_RU', // Russian (Ukraine) + ); + if( isset($langs[ $locale ]) ) { + $locale = $langs[ $locale ]; + } + + /** + * Filters the determined local. + * + * @date 8/1/19 + * @since 5.7.10 + * + * @param string $locale The local. + */ + return apply_filters( 'acf/get_locale', $locale ); +} + +/** + * acf_load_textdomain + * + * Loads the plugin's translated strings similar to load_plugin_textdomain(). + * + * @date 8/1/19 + * @since 5.7.10 + * + * @param string $locale The plugin's current locale. + * @return void + */ +function acf_load_textdomain( $domain = 'acf' ) { + + /** + * Filters a plugin's locale. + * + * @date 8/1/19 + * @since 5.7.10 + * + * @param string $locale The plugin's current locale. + * @param string $domain Text domain. Unique identifier for retrieving translated strings. + */ + $locale = apply_filters( 'plugin_locale', acf_get_locale(), $domain ); + $mofile = $domain . '-' . $locale . '.mo'; + + // Try to load from the languages directory first. + if( load_textdomain( $domain, WP_LANG_DIR . '/plugins/' . $mofile ) ) { + return true; + } + + // Load from plugin lang folder. + return load_textdomain( $domain, acf_get_path( 'lang/' . $mofile ) ); +} diff --git a/lang/acf-cs_CZ.mo b/lang/acf-cs_CZ.mo index 088a5b0..2f4462a 100644 Binary files a/lang/acf-cs_CZ.mo and b/lang/acf-cs_CZ.mo differ diff --git a/lang/acf-cs_CZ.po b/lang/acf-cs_CZ.po index a9b7bb4..10e6d27 100644 --- a/lang/acf-cs_CZ.po +++ b/lang/acf-cs_CZ.po @@ -2,8 +2,8 @@ msgid "" msgstr "" "Project-Id-Version: Advanced Custom Fields Pro v5.2.9\n" "Report-Msgid-Bugs-To: http://support.advancedcustomfields.com\n" -"POT-Creation-Date: 2015-08-11 23:09+0200\n" -"PO-Revision-Date: 2018-10-22 16:29+0200\n" +"POT-Creation-Date: 2018-09-06 12:21+1000\n" +"PO-Revision-Date: 2018-12-11 09:20+0100\n" "Last-Translator: Elliot Condon \n" "Language-Team: webees.cz s.r.o. \n" "Language: cs_CZ\n" @@ -12,8 +12,9 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "X-Generator: Poedit 2.2\n" "X-Poedit-SourceCharset: UTF-8\n" -"X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;esc_attr_e;esc_attr_x:1,2c;" -"esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;_nx_noop:3c,1,2;__ngettext_noop:1,2\n" +"X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;" +"esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;" +"_nx_noop:3c,1,2;__ngettext_noop:1,2\n" "X-Poedit-Basepath: ..\n" "X-Poedit-WPHeader: acf.php\n" "X-Textdomain-Support: yes\n" @@ -21,289 +22,239 @@ msgstr "" "X-Poedit-SearchPath-0: .\n" "X-Poedit-SearchPathExcluded-0: *.js\n" -#: acf.php:63 +#: acf.php:80 msgid "Advanced Custom Fields" -msgstr "Pokročilá vlastní pole" +msgstr "Advanced Custom Fields" -#: acf.php:205 admin/admin.php:61 +#: acf.php:385 includes/admin/admin.php:117 msgid "Field Groups" msgstr "Skupiny polí" -#: acf.php:206 +#: acf.php:386 msgid "Field Group" msgstr "Skupina polí" -#: acf.php:207 acf.php:239 admin/admin.php:62 pro/fields/flexible-content.php:517 +#: acf.php:387 acf.php:419 includes/admin/admin.php:118 +#: pro/fields/class-acf-field-flexible-content.php:572 msgid "Add New" msgstr "Přidat nové" -#: acf.php:208 +#: acf.php:388 msgid "Add New Field Group" msgstr "Přidat novou skupinu polí" -#: acf.php:209 +#: acf.php:389 msgid "Edit Field Group" msgstr "Upravit skupinu polí" -#: acf.php:210 +#: acf.php:390 msgid "New Field Group" msgstr "Nová skupina polí" -#: acf.php:211 +#: acf.php:391 msgid "View Field Group" msgstr "Prohlížet skupinu polí" -#: acf.php:212 +#: acf.php:392 msgid "Search Field Groups" msgstr "Hledat skupiny polí" -#: acf.php:213 +#: acf.php:393 msgid "No Field Groups found" msgstr "Nebyly nalezeny žádné skupiny polí" -#: acf.php:214 +#: acf.php:394 msgid "No Field Groups found in Trash" msgstr "V koši nebyly nalezeny žádné skupiny polí" -#: acf.php:237 admin/field-group.php:182 admin/field-group.php:213 admin/field-groups.php:519 +#: acf.php:417 includes/admin/admin-field-group.php:202 +#: includes/admin/admin-field-groups.php:510 +#: pro/fields/class-acf-field-clone.php:811 msgid "Fields" msgstr "Pole" -#: acf.php:238 +#: acf.php:418 msgid "Field" msgstr "Pole" -#: acf.php:240 +#: acf.php:420 msgid "Add New Field" msgstr "Přidat nové pole" -#: acf.php:241 +#: acf.php:421 msgid "Edit Field" msgstr "Upravit pole" -#: acf.php:242 admin/views/field-group-fields.php:18 admin/views/settings-info.php:111 +#: acf.php:422 includes/admin/views/field-group-fields.php:41 msgid "New Field" msgstr "Nové pole" -#: acf.php:243 +#: acf.php:423 msgid "View Field" msgstr "Zobrazit pole" -#: acf.php:244 +#: acf.php:424 msgid "Search Fields" msgstr "Vyhledat pole" -#: acf.php:245 +#: acf.php:425 msgid "No Fields found" msgstr "Nenalezeno žádné pole" -#: acf.php:246 +#: acf.php:426 msgid "No Fields found in Trash" msgstr "V koši nenalezeno žádné pole" -#: acf.php:268 admin/field-group.php:283 admin/field-groups.php:583 admin/views/field-group-options.php:18 -msgid "Disabled" -msgstr "Zakázáno" +#: acf.php:465 includes/admin/admin-field-group.php:384 +#: includes/admin/admin-field-groups.php:567 +msgid "Inactive" +msgstr "Neaktivní" -#: acf.php:273 +#: acf.php:470 #, php-format -msgid "Disabled (%s)" -msgid_plural "Disabled (%s)" -msgstr[0] "(%s) zakázán" -msgstr[1] "(%s) zakázány" -msgstr[2] "(%s) zakázáno" +msgid "Inactive (%s)" +msgid_plural "Inactive (%s)" +msgstr[0] "Neaktivní (%s)" +msgstr[1] "Neaktivní (%s)" +msgstr[2] "Neaktivních (%s)" -#: admin/admin.php:57 admin/views/field-group-options.php:120 -msgid "Custom Fields" -msgstr "Vlastní pole" - -#: admin/field-group.php:68 admin/field-group.php:69 admin/field-group.php:71 +#: includes/admin/admin-field-group.php:68 +#: includes/admin/admin-field-group.php:69 +#: includes/admin/admin-field-group.php:71 msgid "Field group updated." msgstr "Skupina polí aktualizována." -#: admin/field-group.php:70 +#: includes/admin/admin-field-group.php:70 msgid "Field group deleted." msgstr "Skupina polí smazána." -#: admin/field-group.php:73 +#: includes/admin/admin-field-group.php:73 msgid "Field group published." msgstr "Skupina polí publikována." -#: admin/field-group.php:74 +#: includes/admin/admin-field-group.php:74 msgid "Field group saved." msgstr "Skupina polí uložena." -#: admin/field-group.php:75 +#: includes/admin/admin-field-group.php:75 msgid "Field group submitted." msgstr "Skupina polí odeslána." -#: admin/field-group.php:76 +#: includes/admin/admin-field-group.php:76 msgid "Field group scheduled for." msgstr "Skupina polí naplánována." -#: admin/field-group.php:77 +#: includes/admin/admin-field-group.php:77 msgid "Field group draft updated." msgstr "Koncept skupiny polí aktualizován." -#: admin/field-group.php:176 -msgid "Move to trash. Are you sure?" -msgstr "Přesunout do koše. Jste si jistí?" - -#: admin/field-group.php:177 -msgid "checked" -msgstr "zaškrtnuto" - -#: admin/field-group.php:178 -msgid "No toggle fields available" -msgstr "Žádné zapínatelné pole není k dispozici" - -#: admin/field-group.php:179 -msgid "Field group title is required" -msgstr "Vyžadován nadpis pro skupinu polí" - -#: admin/field-group.php:180 api/api-field-group.php:607 -msgid "copy" -msgstr "kopírovat" - -#: admin/field-group.php:181 admin/views/field-group-field-conditional-logic.php:67 -#: admin/views/field-group-field-conditional-logic.php:162 admin/views/field-group-locations.php:23 -#: admin/views/field-group-locations.php:131 api/api-helpers.php:3262 -msgid "or" -msgstr "nebo" - -#: admin/field-group.php:183 -msgid "Parent fields" -msgstr "Rodičovské pole" - -#: admin/field-group.php:184 -msgid "Sibling fields" -msgstr "Sesterské pole" - -#: admin/field-group.php:185 -msgid "Move Custom Field" -msgstr "Přesunout vlastní pole" - -#: admin/field-group.php:186 -msgid "This field cannot be moved until its changes have been saved" -msgstr "Toto pole nelze přesunout, dokud nebudou uloženy jeho změny" - -#: admin/field-group.php:187 -msgid "Null" -msgstr "Nula" - -#: admin/field-group.php:188 core/input.php:128 -msgid "The changes you made will be lost if you navigate away from this page" -msgstr "Pokud opustíte tuto stránku, změny, které jste provedli, budou ztraceny" - -#: admin/field-group.php:189 +#: includes/admin/admin-field-group.php:153 msgid "The string \"field_\" may not be used at the start of a field name" msgstr "Řetězec \"pole_\" nesmí být použit na začátku názvu pole" -#: admin/field-group.php:214 +#: includes/admin/admin-field-group.php:154 +msgid "This field cannot be moved until its changes have been saved" +msgstr "Toto pole nelze přesunout, dokud nebudou uloženy jeho změny" + +#: includes/admin/admin-field-group.php:155 +msgid "Field group title is required" +msgstr "Vyžadován nadpis pro skupinu polí" + +#: includes/admin/admin-field-group.php:156 +msgid "Move to trash. Are you sure?" +msgstr "Přesunout do koše. Jste si jistí?" + +#: includes/admin/admin-field-group.php:157 +msgid "No toggle fields available" +msgstr "Žádné zapínatelné pole není k dispozici" + +#: includes/admin/admin-field-group.php:158 +msgid "Move Custom Field" +msgstr "Přesunout vlastní pole" + +#: includes/admin/admin-field-group.php:159 +msgid "Checked" +msgstr "Zaškrtnuto" + +#: includes/admin/admin-field-group.php:160 includes/api/api-field.php:289 +msgid "(no label)" +msgstr "(bez štítku)" + +#: includes/admin/admin-field-group.php:161 +msgid "(this field)" +msgstr "(toto pole)" + +#: includes/admin/admin-field-group.php:162 +#: includes/api/api-field-group.php:751 +msgid "copy" +msgstr "kopírovat" + +#: includes/admin/admin-field-group.php:163 +#: includes/admin/views/field-group-field-conditional-logic.php:51 +#: includes/admin/views/field-group-field-conditional-logic.php:151 +#: includes/admin/views/field-group-locations.php:29 +#: includes/admin/views/html-location-group.php:3 +#: includes/api/api-helpers.php:4073 +msgid "or" +msgstr "nebo" + +#: includes/admin/admin-field-group.php:164 +msgid "Null" +msgstr "Nula" + +#: includes/admin/admin-field-group.php:203 msgid "Location" msgstr "Umístění" -#: admin/field-group.php:215 +#: includes/admin/admin-field-group.php:204 +#: includes/admin/tools/class-acf-admin-tool-export.php:295 msgid "Settings" msgstr "Nastavení" -#: admin/field-group.php:253 +#: includes/admin/admin-field-group.php:354 msgid "Field Keys" msgstr "Klíče polí" -#: admin/field-group.php:283 admin/views/field-group-options.php:17 +#: includes/admin/admin-field-group.php:384 +#: includes/admin/views/field-group-options.php:9 msgid "Active" msgstr "Aktivní" -#: admin/field-group.php:744 -msgid "Front Page" -msgstr "Hlavní stránka" - -#: admin/field-group.php:745 -msgid "Posts Page" -msgstr "Stránka příspěvku" - -#: admin/field-group.php:746 -msgid "Top Level Page (no parent)" -msgstr "Stránka nejvyšší úrovně (žádný nadřazený)" - -#: admin/field-group.php:747 -msgid "Parent Page (has children)" -msgstr "Rodičovská stránka (má potomky)" - -#: admin/field-group.php:748 -msgid "Child Page (has parent)" -msgstr "Podřazená stránka (má rodiče)" - -#: admin/field-group.php:764 -msgid "Default Template" -msgstr "Výchozí šablona" - -#: admin/field-group.php:786 -msgid "Logged in" -msgstr "Přihlášen" - -#: admin/field-group.php:787 -msgid "Viewing front end" -msgstr "Prohlížíte frontend" - -#: admin/field-group.php:788 -msgid "Viewing back end" -msgstr "Prohlížíte backend" - -#: admin/field-group.php:807 -msgid "Super Admin" -msgstr "Super Admin" - -#: admin/field-group.php:818 admin/field-group.php:826 admin/field-group.php:840 admin/field-group.php:847 -#: admin/field-group.php:862 admin/field-group.php:872 fields/file.php:235 fields/image.php:226 -#: pro/fields/gallery.php:653 -msgid "All" -msgstr "Vše" - -#: admin/field-group.php:827 -msgid "Add / Edit" -msgstr "Přidat / Editovat" - -#: admin/field-group.php:828 -msgid "Register" -msgstr "Registrovat" - -#: admin/field-group.php:1059 +#: includes/admin/admin-field-group.php:746 msgid "Move Complete." msgstr "Přesun hotov." -#: admin/field-group.php:1060 +#: includes/admin/admin-field-group.php:747 #, php-format msgid "The %s field can now be found in the %s field group" msgstr "Pole %s lze nyní najít ve skupině polí %s" -#: admin/field-group.php:1062 +#: includes/admin/admin-field-group.php:748 msgid "Close Window" msgstr "Zavřít okno" -#: admin/field-group.php:1097 +#: includes/admin/admin-field-group.php:789 msgid "Please select the destination for this field" msgstr "Prosím zvolte umístění pro toto pole" -#: admin/field-group.php:1104 +#: includes/admin/admin-field-group.php:796 msgid "Move Field" msgstr "Přesunout pole" -#: admin/field-groups.php:74 +#: includes/admin/admin-field-groups.php:74 #, php-format msgid "Active (%s)" msgid_plural "Active (%s)" -msgstr[0] "(%s) aktivní" -msgstr[1] "(%s) aktivní" -msgstr[2] "(%s) aktivní" +msgstr[0] "Aktivní (%s)" +msgstr[1] "Aktivní (%s)" +msgstr[2] "Aktivních (%s)" -#: admin/field-groups.php:142 +#: includes/admin/admin-field-groups.php:142 #, php-format msgid "Field group duplicated. %s" msgstr "Skupina polí duplikována. %s" -#: admin/field-groups.php:146 +#: includes/admin/admin-field-groups.php:146 #, php-format msgid "%s field group duplicated." msgid_plural "%s field groups duplicated." @@ -311,12 +262,12 @@ msgstr[0] "%s skupina polí duplikována." msgstr[1] "%s skupiny polí duplikovány." msgstr[2] "%s skupin polí duplikováno." -#: admin/field-groups.php:228 +#: includes/admin/admin-field-groups.php:227 #, php-format msgid "Field group synchronised. %s" msgstr "Skupina polí synchronizována. %s" -#: admin/field-groups.php:232 +#: includes/admin/admin-field-groups.php:231 #, php-format msgid "%s field group synchronised." msgid_plural "%s field groups synchronised." @@ -324,2106 +275,2119 @@ msgstr[0] "%s skupina polí synchronizována." msgstr[1] "%s skupiny polí synchronizovány." msgstr[2] "%s skupin polí synchronizováno." -#: admin/field-groups.php:403 admin/field-groups.php:573 +#: includes/admin/admin-field-groups.php:394 +#: includes/admin/admin-field-groups.php:557 msgid "Sync available" msgstr "Synchronizace je k dispozici" -#: admin/field-groups.php:516 +#: includes/admin/admin-field-groups.php:507 includes/forms/form-front.php:38 +#: pro/fields/class-acf-field-gallery.php:370 msgid "Title" msgstr "Název" -#: admin/field-groups.php:517 admin/views/field-group-options.php:98 admin/views/update-network.php:20 -#: admin/views/update-network.php:28 +#: includes/admin/admin-field-groups.php:508 +#: includes/admin/views/field-group-options.php:96 +#: includes/admin/views/html-admin-page-upgrade-network.php:38 +#: includes/admin/views/html-admin-page-upgrade-network.php:49 +#: pro/fields/class-acf-field-gallery.php:397 msgid "Description" msgstr "Popis" -#: admin/field-groups.php:518 admin/views/field-group-options.php:10 +#: includes/admin/admin-field-groups.php:509 msgid "Status" msgstr "Stav" -#: admin/field-groups.php:616 admin/settings-info.php:76 pro/admin/views/settings-updates.php:111 +#. Description of the plugin/theme +#: includes/admin/admin-field-groups.php:607 +msgid "Customise WordPress with powerful, professional and intuitive fields." +msgstr "" +"Upravte si WordPress pomocí výkonných, profesionálních a intuitivně " +"použitelných polí." + +#: includes/admin/admin-field-groups.php:609 +#: includes/admin/settings-info.php:76 +#: pro/admin/views/html-settings-updates.php:107 msgid "Changelog" msgstr "Seznam změn" -#: admin/field-groups.php:617 -msgid "See what's new in" -msgstr "Co je nového v" +#: includes/admin/admin-field-groups.php:614 +#, php-format +msgid "See what's new in version %s." +msgstr "Podívejte se, co je nového ve verzi %s." -#: admin/field-groups.php:617 -msgid "version" -msgstr "verze" - -#: admin/field-groups.php:619 +#: includes/admin/admin-field-groups.php:617 msgid "Resources" msgstr "Zdroje" -#: admin/field-groups.php:621 -msgid "Getting Started" -msgstr "Začínáme" +#: includes/admin/admin-field-groups.php:619 +msgid "Website" +msgstr "Webová stránka" -#: admin/field-groups.php:622 pro/admin/settings-updates.php:73 pro/admin/views/settings-updates.php:17 -msgid "Updates" -msgstr "Aktualizace" +#: includes/admin/admin-field-groups.php:620 +msgid "Documentation" +msgstr "Dokumentace" -#: admin/field-groups.php:623 -msgid "Field Types" -msgstr "Typy polí" +#: includes/admin/admin-field-groups.php:621 +msgid "Support" +msgstr "Podpora" -#: admin/field-groups.php:624 -msgid "Functions" -msgstr "Funkce" +#: includes/admin/admin-field-groups.php:623 +#: includes/admin/views/settings-info.php:84 +msgid "Pro" +msgstr "Pro" -#: admin/field-groups.php:625 -msgid "Actions" -msgstr "Akce" +#: includes/admin/admin-field-groups.php:628 +#, php-format +msgid "Thank you for creating with ACF." +msgstr "Děkujeme, že používáte ACF." -#: admin/field-groups.php:626 fields/relationship.php:718 -msgid "Filters" -msgstr "Filtry" - -#: admin/field-groups.php:627 -msgid "'How to' guides" -msgstr "Průvodce \"jak na to\"" - -#: admin/field-groups.php:628 -msgid "Tutorials" -msgstr "Tutoriál" - -#: admin/field-groups.php:633 -msgid "Created by" -msgstr "Vytvořil/a" - -#: admin/field-groups.php:673 +#: includes/admin/admin-field-groups.php:667 msgid "Duplicate this item" msgstr "Duplikovat tuto položku" -#: admin/field-groups.php:673 admin/field-groups.php:685 admin/views/field-group-field.php:58 -#: pro/fields/flexible-content.php:516 +#: includes/admin/admin-field-groups.php:667 +#: includes/admin/admin-field-groups.php:683 +#: includes/admin/views/field-group-field.php:46 +#: pro/fields/class-acf-field-flexible-content.php:571 msgid "Duplicate" msgstr "Duplikovat" -#: admin/field-groups.php:724 +#: includes/admin/admin-field-groups.php:700 +#: includes/fields/class-acf-field-google-map.php:164 +#: includes/fields/class-acf-field-relationship.php:674 +msgid "Search" +msgstr "Hledat" + +#: includes/admin/admin-field-groups.php:759 #, php-format msgid "Select %s" msgstr "Zvolit %s" -#: admin/field-groups.php:730 +#: includes/admin/admin-field-groups.php:767 msgid "Synchronise field group" msgstr "Synchronizujte skupinu polí" -#: admin/field-groups.php:730 admin/field-groups.php:750 +#: includes/admin/admin-field-groups.php:767 +#: includes/admin/admin-field-groups.php:797 msgid "Sync" msgstr "Synchronizace" -#: admin/settings-addons.php:51 admin/views/settings-addons.php:9 -msgid "Add-ons" -msgstr "Doplňky" +#: includes/admin/admin-field-groups.php:779 +msgid "Apply" +msgstr "Použít" -#: admin/settings-addons.php:87 -msgid "Error. Could not load add-ons list" -msgstr "Chyba. Nelze načíst seznam doplňků" +#: includes/admin/admin-field-groups.php:797 +msgid "Bulk Actions" +msgstr "Hromadné akce" -#: admin/settings-info.php:50 -msgid "Info" -msgstr "Informace" - -#: admin/settings-info.php:75 -msgid "What's New" -msgstr "Co je nového" - -#: admin/settings-tools.php:54 admin/views/settings-tools-export.php:9 admin/views/settings-tools.php:31 +#: includes/admin/admin-tools.php:116 +#: includes/admin/views/html-admin-tools.php:21 msgid "Tools" msgstr "Nástroje" -#: admin/settings-tools.php:151 admin/settings-tools.php:365 -msgid "No field groups selected" -msgstr "Nebyly vybrány žádné skupiny polí" - -#: admin/settings-tools.php:188 -msgid "No file selected" -msgstr "Dokument nevybrán" - -#: admin/settings-tools.php:201 -msgid "Error uploading file. Please try again" -msgstr "Chyba při nahrávání souboru. Prosím zkuste to znovu" - -#: admin/settings-tools.php:210 -msgid "Incorrect file type" -msgstr "Nesprávný typ souboru" - -#: admin/settings-tools.php:227 -msgid "Import file empty" -msgstr "Importovaný soubor je prázdný" - -#: admin/settings-tools.php:323 -#, php-format -msgid "Success. Import tool added %s field groups: %s" -msgstr "Úspěch. Nástroj pro import přidal %s skupin polí: %s" - -#: admin/settings-tools.php:332 -#, php-format -msgid "Warning. Import tool detected %s field groups already exist and have been ignored: %s" -msgstr "" -"Upozornění. Nástroj pro import rozpoznal %s již existujících skupin polí a ty byly ignorovány: %s" - -#: admin/update.php:113 -msgid "Upgrade ACF" -msgstr "Aktualizovat ACF" - -#: admin/update.php:143 -msgid "Review sites & upgrade" -msgstr "Zkontrolujte stránky a aktualizujte" - -#: admin/update.php:298 -msgid "Upgrade" -msgstr "Aktualizovat" - -#: admin/update.php:328 +#: includes/admin/admin-upgrade.php:47 includes/admin/admin-upgrade.php:94 +#: includes/admin/admin-upgrade.php:156 +#: includes/admin/views/html-admin-page-upgrade-network.php:24 +#: includes/admin/views/html-admin-page-upgrade.php:26 msgid "Upgrade Database" msgstr "Aktualizovat databázi" -#: admin/views/field-group-field-conditional-logic.php:29 -msgid "Conditional Logic" -msgstr "Podmíněná logika" +#: includes/admin/admin-upgrade.php:180 +msgid "Review sites & upgrade" +msgstr "Zkontrolujte stránky a aktualizujte" -#: admin/views/field-group-field-conditional-logic.php:40 admin/views/field-group-field.php:137 -#: fields/checkbox.php:246 fields/message.php:117 fields/page_link.php:568 fields/page_link.php:582 -#: fields/post_object.php:434 fields/post_object.php:448 fields/select.php:411 fields/select.php:425 -#: fields/select.php:439 fields/select.php:453 fields/tab.php:172 fields/taxonomy.php:770 -#: fields/taxonomy.php:784 fields/taxonomy.php:798 fields/taxonomy.php:812 fields/user.php:457 -#: fields/user.php:471 fields/wysiwyg.php:384 pro/admin/views/settings-updates.php:93 -msgid "Yes" -msgstr "Ano" +#: includes/admin/admin.php:113 +#: includes/admin/views/field-group-options.php:110 +msgid "Custom Fields" +msgstr "Vlastní pole" -#: admin/views/field-group-field-conditional-logic.php:41 admin/views/field-group-field.php:138 -#: fields/checkbox.php:247 fields/message.php:118 fields/page_link.php:569 fields/page_link.php:583 -#: fields/post_object.php:435 fields/post_object.php:449 fields/select.php:412 fields/select.php:426 -#: fields/select.php:440 fields/select.php:454 fields/tab.php:173 fields/taxonomy.php:685 -#: fields/taxonomy.php:771 fields/taxonomy.php:785 fields/taxonomy.php:799 fields/taxonomy.php:813 -#: fields/user.php:458 fields/user.php:472 fields/wysiwyg.php:385 pro/admin/views/settings-updates.php:103 -msgid "No" -msgstr "Ne" +#: includes/admin/settings-addons.php:51 +#: includes/admin/views/settings-addons.php:3 +msgid "Add-ons" +msgstr "Doplňky" -#: admin/views/field-group-field-conditional-logic.php:65 -msgid "Show this field if" -msgstr "Zobrazit toto pole, pokud" +#: includes/admin/settings-addons.php:87 +msgid "Error. Could not load add-ons list" +msgstr "Chyba. Nelze načíst seznam doplňků" -#: admin/views/field-group-field-conditional-logic.php:111 admin/views/field-group-locations.php:88 -msgid "is equal to" -msgstr "je rovno" +#: includes/admin/settings-info.php:50 +msgid "Info" +msgstr "Informace" -#: admin/views/field-group-field-conditional-logic.php:112 admin/views/field-group-locations.php:89 -msgid "is not equal to" -msgstr "není rovno" +#: includes/admin/settings-info.php:75 +msgid "What's New" +msgstr "Co je nového" -#: admin/views/field-group-field-conditional-logic.php:149 admin/views/field-group-locations.php:118 -msgid "and" -msgstr "a" - -#: admin/views/field-group-field-conditional-logic.php:164 admin/views/field-group-locations.php:133 -msgid "Add rule group" -msgstr "Přidat skupinu pravidel" - -#: admin/views/field-group-field.php:54 admin/views/field-group-field.php:57 -msgid "Edit field" -msgstr "Upravit pole" - -#: admin/views/field-group-field.php:57 pro/fields/gallery.php:355 -msgid "Edit" -msgstr "Upravit" - -#: admin/views/field-group-field.php:58 -msgid "Duplicate field" -msgstr "Duplikovat pole" - -#: admin/views/field-group-field.php:59 -msgid "Move field to another group" -msgstr "Přesunout pole do jiné skupiny" - -#: admin/views/field-group-field.php:59 -msgid "Move" -msgstr "Přesunout" - -#: admin/views/field-group-field.php:60 -msgid "Delete field" -msgstr "Smazat pole" - -#: admin/views/field-group-field.php:60 pro/fields/flexible-content.php:515 -msgid "Delete" -msgstr "Smazat" - -#: admin/views/field-group-field.php:68 fields/oembed.php:212 fields/taxonomy.php:886 -msgid "Error" -msgstr "Chyba" - -#: fields/oembed.php:220 fields/taxonomy.php:900 -msgid "Error." -msgstr "Chyba." - -#: admin/views/field-group-field.php:68 -msgid "Field type does not exist" -msgstr "Typ pole neexistuje" - -#: admin/views/field-group-field.php:81 -msgid "Field Label" -msgstr "Název pole" - -#: admin/views/field-group-field.php:82 -msgid "This is the name which will appear on the EDIT page" -msgstr "Toto je jméno, které se zobrazí na stránce úprav" - -#: admin/views/field-group-field.php:93 -msgid "Field Name" -msgstr "Jméno pole" - -#: admin/views/field-group-field.php:94 -msgid "Single word, no spaces. Underscores and dashes allowed" -msgstr "Jedno slovo, bez mezer. Podtržítka a pomlčky jsou povoleny" - -#: admin/views/field-group-field.php:105 -msgid "Field Type" -msgstr "Typ pole" - -#: admin/views/field-group-field.php:118 fields/tab.php:143 -msgid "Instructions" -msgstr "Instrukce" - -#: admin/views/field-group-field.php:119 -msgid "Instructions for authors. Shown when submitting data" -msgstr "Instrukce pro autory. Jsou zobrazeny při zadávání dat" - -#: admin/views/field-group-field.php:130 -msgid "Required?" -msgstr "Požadováno?" - -#: admin/views/field-group-field.php:158 -msgid "Wrapper Attributes" -msgstr "Atributy obalového pole" - -#: admin/views/field-group-field.php:164 -msgid "width" -msgstr "šířka" - -#: admin/views/field-group-field.php:178 -msgid "class" -msgstr "třída" - -#: admin/views/field-group-field.php:191 -msgid "id" -msgstr "identifikátor" - -#: admin/views/field-group-field.php:203 -msgid "Close Field" -msgstr "Zavřít pole" - -#: admin/views/field-group-fields.php:29 -msgid "Order" -msgstr "Pořadí" - -#: admin/views/field-group-fields.php:30 pro/fields/flexible-content.php:541 -msgid "Label" -msgstr "Název" - -#: admin/views/field-group-fields.php:31 pro/fields/flexible-content.php:554 -msgid "Name" -msgstr "Jméno" - -#: admin/views/field-group-fields.php:32 -msgid "Type" -msgstr "Typ" - -#: admin/views/field-group-fields.php:44 -msgid "No fields. Click the + Add Field button to create your first field." -msgstr "Žádná pole. Klikněte na tlačítko+ Přidat pole pro vytvoření prvního pole." - -#: admin/views/field-group-fields.php:51 -msgid "Drag and drop to reorder" -msgstr "Chytněte a táhněte pro změnu pořadí" - -#: admin/views/field-group-fields.php:54 -msgid "+ Add Field" -msgstr "+ Přidat pole" - -#: admin/views/field-group-locations.php:5 -msgid "Rules" -msgstr "Pravidla" - -#: admin/views/field-group-locations.php:6 -msgid "Create a set of rules to determine which edit screens will use these advanced custom fields" -msgstr "Vytváří sadu pravidel pro určení, na kterých stránkách úprav budou použita tato vlastní pole" - -#: admin/views/field-group-locations.php:21 -msgid "Show this field group if" -msgstr "Zobrazit tuto skupinu polí, pokud" - -#: admin/views/field-group-locations.php:41 admin/views/field-group-locations.php:47 -msgid "Post" -msgstr "Příspěvek" - -#: admin/views/field-group-locations.php:42 fields/relationship.php:724 -msgid "Post Type" -msgstr "Typ příspěvku" - -#: admin/views/field-group-locations.php:43 -msgid "Post Status" -msgstr "Stav příspěvku" - -#: admin/views/field-group-locations.php:44 -msgid "Post Format" -msgstr "Formát příspěvku" - -#: admin/views/field-group-locations.php:45 -msgid "Post Category" -msgstr "Rubrika příspěvku" - -#: admin/views/field-group-locations.php:46 -msgid "Post Taxonomy" -msgstr "Taxonomie příspěvku" - -#: admin/views/field-group-locations.php:49 admin/views/field-group-locations.php:53 -msgid "Page" -msgstr "Stránka" - -#: admin/views/field-group-locations.php:50 -msgid "Page Template" -msgstr "Šablona stránky" - -#: admin/views/field-group-locations.php:51 -msgid "Page Type" -msgstr "Typ stránky" - -#: admin/views/field-group-locations.php:52 -msgid "Page Parent" -msgstr "Rodičovská stránka" - -#: admin/views/field-group-locations.php:55 fields/user.php:36 -msgid "User" -msgstr "Uživatel" - -#: admin/views/field-group-locations.php:56 -msgid "Current User" -msgstr "Aktuální uživatel" - -#: admin/views/field-group-locations.php:57 -msgid "Current User Role" -msgstr "Aktuální uživatelská role" - -#: admin/views/field-group-locations.php:58 -msgid "User Form" -msgstr "Uživatelský formulář" - -#: admin/views/field-group-locations.php:59 -msgid "User Role" -msgstr "Uživatelská role" - -#: admin/views/field-group-locations.php:61 pro/admin/options-page.php:48 -msgid "Forms" -msgstr "Formuláře" - -#: admin/views/field-group-locations.php:62 -msgid "Attachment" -msgstr "Příloha" - -#: admin/views/field-group-locations.php:63 -msgid "Taxonomy Term" -msgstr "Taxonomie" - -#: admin/views/field-group-locations.php:64 -msgid "Comment" -msgstr "Komentář" - -#: admin/views/field-group-locations.php:65 -msgid "Widget" -msgstr "Widget" - -#: admin/views/field-group-options.php:25 -msgid "Style" -msgstr "Styl" - -#: admin/views/field-group-options.php:32 -msgid "Standard (WP metabox)" -msgstr "Standardní (WP metabox)" - -#: admin/views/field-group-options.php:33 -msgid "Seamless (no metabox)" -msgstr "Bezokrajové (bez metaboxu)" - -#: admin/views/field-group-options.php:40 -msgid "Position" -msgstr "Pozice" - -#: admin/views/field-group-options.php:47 -msgid "High (after title)" -msgstr "Vysoko (po nadpisu)" - -#: admin/views/field-group-options.php:48 -msgid "Normal (after content)" -msgstr "Normální (po obsahu)" - -#: admin/views/field-group-options.php:49 -msgid "Side" -msgstr "Na straně" - -#: admin/views/field-group-options.php:57 -msgid "Label placement" -msgstr "Umístění štítků" - -#: admin/views/field-group-options.php:64 fields/tab.php:159 -msgid "Top aligned" -msgstr "Zarovnat shora" - -#: admin/views/field-group-options.php:65 fields/tab.php:160 -msgid "Left aligned" -msgstr "Zarovnat zleva" - -#: admin/views/field-group-options.php:72 -msgid "Instruction placement" -msgstr "Umístění instrukcí" - -#: admin/views/field-group-options.php:79 -msgid "Below labels" -msgstr "Pod štítky" - -#: admin/views/field-group-options.php:80 -msgid "Below fields" -msgstr "Pod poli" - -#: admin/views/field-group-options.php:87 -msgid "Order No." -msgstr "Pořadí" - -#: admin/views/field-group-options.php:88 -msgid "Field groups with a lower order will appear first" -msgstr "Skupiny polí s nižším pořadím se zobrazí první" - -#: admin/views/field-group-options.php:99 -msgid "Shown in field group list" -msgstr "Zobrazit v seznamu skupin polí" - -#: admin/views/field-group-options.php:109 -msgid "Hide on screen" -msgstr "Skrýt na obrazovce" - -#: admin/views/field-group-options.php:110 -msgid "Select items to hide them from the edit screen." -msgstr "Zvolte položky, které budou na obrazovce úprav skryté." - -#: admin/views/field-group-options.php:110 -msgid "" -"If multiple field groups appear on an edit screen, the first field group's options will be used (the " -"one with the lowest order number)" -msgstr "" -"Pokud se na obrazovce úprav objeví více skupin polí, použije se nastavení dle první skupiny polí (té s " -"nejnižším pořadovým číslem)" - -#: admin/views/field-group-options.php:117 -msgid "Permalink" -msgstr "Trvalý odkaz" - -#: admin/views/field-group-options.php:118 -msgid "Content Editor" -msgstr "Editor obsahu" - -#: admin/views/field-group-options.php:119 -msgid "Excerpt" -msgstr "Stručný výpis" - -#: admin/views/field-group-options.php:121 -msgid "Discussion" -msgstr "Diskuze" - -#: admin/views/field-group-options.php:122 -msgid "Comments" -msgstr "Komentáře" - -#: admin/views/field-group-options.php:123 -msgid "Revisions" -msgstr "Revize" - -#: admin/views/field-group-options.php:124 -msgid "Slug" -msgstr "Adresa" - -#: admin/views/field-group-options.php:125 -msgid "Author" -msgstr "Autor" - -#: admin/views/field-group-options.php:126 -msgid "Format" -msgstr "Formát" - -#: admin/views/field-group-options.php:127 -msgid "Page Attributes" -msgstr "Atributy stránky" - -#: admin/views/field-group-options.php:128 fields/relationship.php:737 -msgid "Featured Image" -msgstr "Uživatelský obrázek" - -#: admin/views/field-group-options.php:129 -msgid "Categories" -msgstr "Kategorie" - -#: admin/views/field-group-options.php:130 -msgid "Tags" -msgstr "Štítky" - -#: admin/views/field-group-options.php:131 -msgid "Send Trackbacks" -msgstr "Odesílat zpětné linkování odkazů" - -#: admin/views/settings-addons.php:23 -msgid "Download & Install" -msgstr "Stáhnout a instalovat" - -#: admin/views/settings-addons.php:42 -msgid "Installed" -msgstr "Instalováno" - -#: admin/views/settings-info.php:9 -msgid "Welcome to Advanced Custom Fields" -msgstr "Vítejte v Advanced Custom Fields" - -#: admin/views/settings-info.php:10 -#, php-format -msgid "Thank you for updating! ACF %s is bigger and better than ever before. We hope you like it." -msgstr "" -"Děkujeme za aktualizaci! ACF %s je větší a lepší než kdykoli předtím. Doufáme, že se vám bude líbit." - -#: admin/views/settings-info.php:23 -msgid "A smoother custom field experience" -msgstr "Příjemnější zážitek s uživatelskými poli" - -#: admin/views/settings-info.php:28 -msgid "Improved Usability" -msgstr "Vylepšená použitelnost" - -#: admin/views/settings-info.php:29 -msgid "" -"Including the popular Select2 library has improved both usability and speed across a number of field " -"types including post object, page link, taxonomy and select." -msgstr "" -"Zahrnutí oblíbené knihovny Select2 zlepšilo jak použitelnost, tak i rychlost v různých typech polí, " -"včetně objektu příspěvku, odkazu na stránku, taxonomie a možnosti výběru." - -#: admin/views/settings-info.php:33 -msgid "Improved Design" -msgstr "Zlepšený design" - -#: admin/views/settings-info.php:34 -msgid "" -"Many fields have undergone a visual refresh to make ACF look better than ever! Noticeable changes are " -"seen on the gallery, relationship and oEmbed (new) fields!" -msgstr "" -"Mnoho polí podstoupilo osvěžení grafiky, aby ACF vypadalo lépe než kdy jindy! Znatelné změny jsou vidět " -"na polích galerie, vztahů a oEmbed (novinka)!" - -#: admin/views/settings-info.php:38 -msgid "Improved Data" -msgstr "Vylepšené údaje" - -#: admin/views/settings-info.php:39 -msgid "" -"Redesigning the data architecture has allowed sub fields to live independently from their parents. This " -"allows you to drag and drop fields in and out of parent fields!" -msgstr "" -"Přepracování datové architektury umožnilo, aby podřazená pole žila nezávisle na rodičích. To umožňuje " -"jejich přetahování mezi rodičovskými poli!" - -#: admin/views/settings-info.php:45 -msgid "Goodbye Add-ons. Hello PRO" -msgstr "Sbohem doplňkům. Pozdrav verzi PRO" - -#: admin/views/settings-info.php:50 -msgid "Introducing ACF PRO" -msgstr "Představujeme ACF PRO" - -#: admin/views/settings-info.php:51 -msgid "We're changing the way premium functionality is delivered in an exciting way!" -msgstr "Měníme způsob poskytování prémiových funkcí vzrušujícím způsobem!" - -#: admin/views/settings-info.php:52 -#, php-format -msgid "" -"All 4 premium add-ons have been combined into a new Pro version of ACF. With both " -"personal and developer licenses available, premium functionality is more affordable and accessible than " -"ever before!" -msgstr "" -"Všechny 4 prémiové doplňky byly spojeny do nové verze Pro pro ACF. Se svými osobními " -"i vývojovými licencemi je prémiová funkčnost cenově dostupná a přístupnější než kdykoli předtím!" - -#: admin/views/settings-info.php:56 -msgid "Powerful Features" -msgstr "Výkonné funkce" - -#: admin/views/settings-info.php:57 -msgid "" -"ACF PRO contains powerful features such as repeatable data, flexible content layouts, a beautiful " -"gallery field and the ability to create extra admin options pages!" -msgstr "" -"ACF PRO obsahuje výkonné funkce, jako jsou opakovatelná data, flexibilní rozložení obsahu, krásné pole " -"galerie a možnost vytvářet další stránky administrátorských voleb!" - -#: admin/views/settings-info.php:58 -#, php-format -msgid "Read more about ACF PRO features." -msgstr "Přečtěte si další informace o funkcích ACF PRO." - -#: admin/views/settings-info.php:62 -msgid "Easy Upgrading" -msgstr "Snadná aktualizace" - -#: admin/views/settings-info.php:63 -#, php-format -msgid "" -"To help make upgrading easy, login to your store account and claim a free copy of " -"ACF PRO!" -msgstr "" -"Pro usnadnění aktualizace se přihlaste do svého obchodu a požádejte o bezplatnou " -"kopii ACF PRO!" - -#: admin/views/settings-info.php:64 -#, php-format -msgid "" -"We also wrote an upgrade guide to answer any questions, but if you do have one, " -"please contact our support team via the help desk" -msgstr "" -"Odpovědi na nejčastější dotazy naleznete v průvodci aktualizací. Pokud máte nějaký " -"zde nezodpovězený dotaz, obraťte se na náš tým podpory prostřednictvím helpdesku" - -#: admin/views/settings-info.php:72 -msgid "Under the Hood" -msgstr "Pod kapotou" - -#: admin/views/settings-info.php:77 -msgid "Smarter field settings" -msgstr "Chytřejší nastavení pole" - -#: admin/views/settings-info.php:78 -msgid "ACF now saves its field settings as individual post objects" -msgstr "ACF nyní ukládá nastavení polí jako individuální objekty" - -#: admin/views/settings-info.php:82 -msgid "More AJAX" -msgstr "Více AJAXu" - -#: admin/views/settings-info.php:83 -msgid "More fields use AJAX powered search to speed up page loading" -msgstr "Více polí využívá vyhledávání pomocí AJAX pro rychlé načítání stránky" - -#: admin/views/settings-info.php:87 -msgid "Local JSON" -msgstr "Lokální JSON" - -#: admin/views/settings-info.php:88 -msgid "New auto export to JSON feature improves speed" -msgstr "Nový automatický export do funkce JSON zvyšuje rychlost" - -#: admin/views/settings-info.php:94 -msgid "Better version control" -msgstr "Lepší verzování" - -#: admin/views/settings-info.php:95 -msgid "New auto export to JSON feature allows field settings to be version controlled" -msgstr "Nový automatický export do formátu JSON umožňuje, aby nastavení polí bylo verzovatelné" - -#: admin/views/settings-info.php:99 -msgid "Swapped XML for JSON" -msgstr "XML vyměněno za JSON" - -#: admin/views/settings-info.php:100 -msgid "Import / Export now uses JSON in favour of XML" -msgstr "Import / Export nyní používá JSON místo XML" - -#: admin/views/settings-info.php:104 -msgid "New Forms" -msgstr "Nové formuláře" - -#: admin/views/settings-info.php:105 -msgid "Fields can now be mapped to comments, widgets and all user forms!" -msgstr "Pole mohou být nyní mapovány na komentáře, widgety a všechny uživatelské formuláře!" - -#: admin/views/settings-info.php:112 -msgid "A new field for embedding content has been added" -msgstr "Bylo přidáno nové pole pro vkládání obsahu" - -#: admin/views/settings-info.php:116 -msgid "New Gallery" -msgstr "Nová galerie" - -#: admin/views/settings-info.php:117 -msgid "The gallery field has undergone a much needed facelift" -msgstr "Pole pro galerii prošlo potřebovaným vylepšením vzhledu" - -#: admin/views/settings-info.php:121 -msgid "New Settings" -msgstr "Nová nastavení" - -#: admin/views/settings-info.php:122 -msgid "Field group settings have been added for label placement and instruction placement" -msgstr "Nastavení umístění polí bylo přidáno pro umístění štítků a umístění instrukcí" - -#: admin/views/settings-info.php:128 -msgid "Better Front End Forms" -msgstr "Lepší vizuální stránka formulářů" - -#: admin/views/settings-info.php:129 -msgid "acf_form() can now create a new post on submission" -msgstr "acf_form() může nyní vytvořit nový příspěvek po odeslání" - -#: admin/views/settings-info.php:133 -msgid "Better Validation" -msgstr "Lepší validace" - -#: admin/views/settings-info.php:134 -msgid "Form validation is now done via PHP + AJAX in favour of only JS" -msgstr "Validace formuláře nyní probíhá prostřednictvím PHP + AJAX a to ve prospěch pouze JS" - -#: admin/views/settings-info.php:138 -msgid "Relationship Field" -msgstr "Vztahová pole" - -#: admin/views/settings-info.php:139 -msgid "New Relationship field setting for 'Filters' (Search, Post Type, Taxonomy)" -msgstr "Nastavení nových polí pro \"Filtry\" (vyhledávání, typ příspěvku, taxonomie)" - -#: admin/views/settings-info.php:145 -msgid "Moving Fields" -msgstr "Pohyblivá pole" - -#: admin/views/settings-info.php:146 -msgid "New field group functionality allows you to move a field between groups & parents" -msgstr "Nová funkčnost skupiny polí umožňuje přesouvání pole mezi skupinami a rodiči" - -#: admin/views/settings-info.php:150 fields/page_link.php:36 -msgid "Page Link" -msgstr "Odkaz stránky" - -#: admin/views/settings-info.php:151 -msgid "New archives group in page_link field selection" -msgstr "Nová skupina archivů v poli pro výběr page_link" - -#: admin/views/settings-info.php:155 -msgid "Better Options Pages" -msgstr "Vylepšená stránka nastavení" - -#: admin/views/settings-info.php:156 -msgid "New functions for options page allow creation of both parent and child menu pages" -msgstr "Nové funkce pro stránku nastavení umožňují vytvoření stránek obou rodičovských i podřízených menu" - -#: admin/views/settings-info.php:165 -#, php-format -msgid "We think you'll love the changes in %s." -msgstr "Myslíme si, že změny v %s si zamilujete." - -#: admin/views/settings-tools-export.php:13 -msgid "Export Field Groups to PHP" -msgstr "Exportujte skupiny polí do PHP" - -#: admin/views/settings-tools-export.php:17 -msgid "" -"The following code can be used to register a local version of the selected field group(s). A local " -"field group can provide many benefits such as faster load times, version control & dynamic fields/" -"settings. Simply copy and paste the following code to your theme's functions.php file or include it " -"within an external file." -msgstr "" -"Následující kód lze použít k registraci lokální verze vybrané skupiny polí. Místní skupina polí může " -"poskytnout mnoho výhod, jako jsou rychlejší doby načítání, řízení verzí a dynamická pole / nastavení. " -"Jednoduše zkopírujte a vložte následující kód do souboru functions.php svého motivu nebo jej vložte do " -"externího souboru." - -#: admin/views/settings-tools.php:5 -msgid "Select Field Groups" -msgstr "Zvolit skupiny polí" - -#: admin/views/settings-tools.php:35 +#: includes/admin/tools/class-acf-admin-tool-export.php:33 msgid "Export Field Groups" msgstr "Exportovat skupiny polí" -#: admin/views/settings-tools.php:38 +#: includes/admin/tools/class-acf-admin-tool-export.php:38 +#: includes/admin/tools/class-acf-admin-tool-export.php:342 +#: includes/admin/tools/class-acf-admin-tool-export.php:371 +msgid "Generate PHP" +msgstr "Vytvořit PHP" + +#: includes/admin/tools/class-acf-admin-tool-export.php:97 +#: includes/admin/tools/class-acf-admin-tool-export.php:135 +msgid "No field groups selected" +msgstr "Nebyly vybrány žádné skupiny polí" + +#: includes/admin/tools/class-acf-admin-tool-export.php:174 +#, php-format +msgid "Exported 1 field group." +msgid_plural "Exported %s field groups." +msgstr[0] "Exportovaná 1 skupina polí." +msgstr[1] "Exportované %s skupiny polí." +msgstr[2] "Exportovaných %s skupin polí." + +#: includes/admin/tools/class-acf-admin-tool-export.php:241 +#: includes/admin/tools/class-acf-admin-tool-export.php:269 +msgid "Select Field Groups" +msgstr "Zvolit skupiny polí" + +#: includes/admin/tools/class-acf-admin-tool-export.php:336 msgid "" -"Select the field groups you would like to export and then select your export method. Use the download " -"button to export to a .json file which you can then import to another ACF installation. Use the " -"generate button to export to PHP code which you can place in your theme." +"Select the field groups you would like to export and then select your export " +"method. Use the download button to export to a .json file which you can then " +"import to another ACF installation. Use the generate button to export to PHP " +"code which you can place in your theme." msgstr "" -"Vyberte skupiny polí, které chcete exportovat, a vyberte způsob exportu. Použijte tlačítko pro stažení " -"pro exportování do souboru .json, který pak můžete importovat do jiné instalace ACF. Pomocí tlačítka " -"generovat můžete exportovat do kódu PHP, který můžete umístit do vašeho tématu." +"Vyberte skupiny polí, které chcete exportovat, a vyberte způsob exportu. " +"Použijte tlačítko pro stažení pro exportování do souboru .json, který pak " +"můžete importovat do jiné instalace ACF. Pomocí tlačítka generovat můžete " +"exportovat do kódu PHP, který můžete umístit do vašeho tématu." -#: admin/views/settings-tools.php:50 -msgid "Download export file" -msgstr "Stáhnout soubor s exportem" +#: includes/admin/tools/class-acf-admin-tool-export.php:341 +msgid "Export File" +msgstr "Exportovat soubor" -#: admin/views/settings-tools.php:51 -msgid "Generate export code" -msgstr "Generovat kód pro exportu" +#: includes/admin/tools/class-acf-admin-tool-export.php:414 +msgid "" +"The following code can be used to register a local version of the selected " +"field group(s). A local field group can provide many benefits such as faster " +"load times, version control & dynamic fields/settings. Simply copy and paste " +"the following code to your theme's functions.php file or include it within " +"an external file." +msgstr "" +"Následující kód lze použít k registraci lokální verze vybrané skupiny polí. " +"Místní skupina polí může poskytnout mnoho výhod, jako jsou rychlejší doby " +"načítání, řízení verzí a dynamická pole / nastavení. Jednoduše zkopírujte a " +"vložte následující kód do souboru functions.php svého motivu nebo jej vložte " +"do externího souboru." -#: admin/views/settings-tools.php:64 +#: includes/admin/tools/class-acf-admin-tool-export.php:446 +msgid "Copy to clipboard" +msgstr "Zkopírovat od schránky" + +#: includes/admin/tools/class-acf-admin-tool-export.php:483 +msgid "Copied" +msgstr "Zkopírováno" + +#: includes/admin/tools/class-acf-admin-tool-import.php:26 msgid "Import Field Groups" msgstr "Importovat skupiny polí" -#: admin/views/settings-tools.php:67 +#: includes/admin/tools/class-acf-admin-tool-import.php:61 msgid "" -"Select the Advanced Custom Fields JSON file you would like to import. When you click the import button " -"below, ACF will import the field groups." +"Select the Advanced Custom Fields JSON file you would like to import. When " +"you click the import button below, ACF will import the field groups." msgstr "" -"Vyberte Advanced Custom Fields JSON soubor, který chcete importovat. Po klepnutí na tlačítko importu " -"níže bude ACF importovat skupiny polí." +"Vyberte Advanced Custom Fields JSON soubor, který chcete importovat. Po " +"klepnutí na tlačítko importu níže bude ACF importovat skupiny polí." -#: admin/views/settings-tools.php:77 fields/file.php:46 +#: includes/admin/tools/class-acf-admin-tool-import.php:66 +#: includes/fields/class-acf-field-file.php:57 msgid "Select File" msgstr "Vybrat soubor" -#: admin/views/settings-tools.php:86 -msgid "Import" -msgstr "Importovat" +#: includes/admin/tools/class-acf-admin-tool-import.php:76 +msgid "Import File" +msgstr "Importovat soubor" -#: admin/views/update-network.php:8 admin/views/update.php:8 -msgid "Advanced Custom Fields Database Upgrade" -msgstr "Aktualizace databáze Advanced Custom Fields" +#: includes/admin/tools/class-acf-admin-tool-import.php:100 +#: includes/fields/class-acf-field-file.php:170 +msgid "No file selected" +msgstr "Dokument nevybrán" -#: admin/views/update-network.php:10 +#: includes/admin/tools/class-acf-admin-tool-import.php:113 +msgid "Error uploading file. Please try again" +msgstr "Chyba při nahrávání souboru. Prosím zkuste to znovu" + +#: includes/admin/tools/class-acf-admin-tool-import.php:122 +msgid "Incorrect file type" +msgstr "Nesprávný typ souboru" + +#: includes/admin/tools/class-acf-admin-tool-import.php:139 +msgid "Import file empty" +msgstr "Importovaný soubor je prázdný" + +#: includes/admin/tools/class-acf-admin-tool-import.php:247 +#, php-format +msgid "Imported 1 field group" +msgid_plural "Imported %s field groups" +msgstr[0] "Importovaná 1 skupina polí" +msgstr[1] "Importované %s skupiny polí" +msgstr[2] "Importovaných %s skupin polí" + +#: includes/admin/views/field-group-field-conditional-logic.php:25 +msgid "Conditional Logic" +msgstr "Podmíněná logika" + +#: includes/admin/views/field-group-field-conditional-logic.php:51 +msgid "Show this field if" +msgstr "Zobrazit toto pole, pokud" + +#: includes/admin/views/field-group-field-conditional-logic.php:138 +#: includes/admin/views/html-location-rule.php:86 +msgid "and" +msgstr "a" + +#: includes/admin/views/field-group-field-conditional-logic.php:153 +#: includes/admin/views/field-group-locations.php:31 +msgid "Add rule group" +msgstr "Přidat skupinu pravidel" + +#: includes/admin/views/field-group-field.php:38 +#: pro/fields/class-acf-field-flexible-content.php:424 +#: pro/fields/class-acf-field-repeater.php:294 +msgid "Drag to reorder" +msgstr "Přetažením změníte pořadí" + +#: includes/admin/views/field-group-field.php:42 +#: includes/admin/views/field-group-field.php:45 +msgid "Edit field" +msgstr "Upravit pole" + +#: includes/admin/views/field-group-field.php:45 +#: includes/fields/class-acf-field-file.php:152 +#: includes/fields/class-acf-field-image.php:139 +#: includes/fields/class-acf-field-link.php:139 +#: pro/fields/class-acf-field-gallery.php:357 +msgid "Edit" +msgstr "Upravit" + +#: includes/admin/views/field-group-field.php:46 +msgid "Duplicate field" +msgstr "Duplikovat pole" + +#: includes/admin/views/field-group-field.php:47 +msgid "Move field to another group" +msgstr "Přesunout pole do jiné skupiny" + +#: includes/admin/views/field-group-field.php:47 +msgid "Move" +msgstr "Přesunout" + +#: includes/admin/views/field-group-field.php:48 +msgid "Delete field" +msgstr "Smazat pole" + +#: includes/admin/views/field-group-field.php:48 +#: pro/fields/class-acf-field-flexible-content.php:570 +msgid "Delete" +msgstr "Smazat" + +#: includes/admin/views/field-group-field.php:65 +msgid "Field Label" +msgstr "Štítek pole" + +#: includes/admin/views/field-group-field.php:66 +msgid "This is the name which will appear on the EDIT page" +msgstr "Toto je jméno, které se zobrazí na stránce úprav" + +#: includes/admin/views/field-group-field.php:75 +msgid "Field Name" +msgstr "Jméno pole" + +#: includes/admin/views/field-group-field.php:76 +msgid "Single word, no spaces. Underscores and dashes allowed" +msgstr "Jedno slovo, bez mezer. Podtržítka a pomlčky jsou povoleny" + +#: includes/admin/views/field-group-field.php:85 +msgid "Field Type" +msgstr "Typ pole" + +#: includes/admin/views/field-group-field.php:96 +msgid "Instructions" +msgstr "Instrukce" + +#: includes/admin/views/field-group-field.php:97 +msgid "Instructions for authors. Shown when submitting data" +msgstr "Instrukce pro autory. Jsou zobrazeny při zadávání dat" + +#: includes/admin/views/field-group-field.php:106 +msgid "Required?" +msgstr "Požadováno?" + +#: includes/admin/views/field-group-field.php:129 +msgid "Wrapper Attributes" +msgstr "Atributy obalového pole" + +#: includes/admin/views/field-group-field.php:135 +msgid "width" +msgstr "šířka" + +#: includes/admin/views/field-group-field.php:150 +msgid "class" +msgstr "třída" + +#: includes/admin/views/field-group-field.php:163 +msgid "id" +msgstr "identifikátor" + +#: includes/admin/views/field-group-field.php:175 +msgid "Close Field" +msgstr "Zavřít pole" + +#: includes/admin/views/field-group-fields.php:4 +msgid "Order" +msgstr "Pořadí" + +#: includes/admin/views/field-group-fields.php:5 +#: includes/fields/class-acf-field-button-group.php:198 +#: includes/fields/class-acf-field-checkbox.php:420 +#: includes/fields/class-acf-field-radio.php:311 +#: includes/fields/class-acf-field-select.php:428 +#: pro/fields/class-acf-field-flexible-content.php:596 +msgid "Label" +msgstr "Štítek" + +#: includes/admin/views/field-group-fields.php:6 +#: includes/fields/class-acf-field-taxonomy.php:939 +#: pro/fields/class-acf-field-flexible-content.php:610 +msgid "Name" +msgstr "Jméno" + +#: includes/admin/views/field-group-fields.php:7 +msgid "Key" +msgstr "Klíč" + +#: includes/admin/views/field-group-fields.php:8 +msgid "Type" +msgstr "Typ" + +#: includes/admin/views/field-group-fields.php:14 msgid "" -"The following sites require a DB upgrade. Check the ones you want to update and then click “Upgrade " -"Database”." +"No fields. Click the + Add Field button to create your " +"first field." msgstr "" -"Následující weby vyžadují upgrade DB. Zkontrolujte ty, které chcete aktualizovat, a poté klikněte na " -"\"Upgradovat databázi\"." +"Žádná pole. Klikněte na tlačítko+ Přidat pole pro vytvoření " +"prvního pole." -#: admin/views/update-network.php:19 admin/views/update-network.php:27 +#: includes/admin/views/field-group-fields.php:31 +msgid "+ Add Field" +msgstr "+ Přidat pole" + +#: includes/admin/views/field-group-locations.php:9 +msgid "Rules" +msgstr "Pravidla" + +#: includes/admin/views/field-group-locations.php:10 +msgid "" +"Create a set of rules to determine which edit screens will use these " +"advanced custom fields" +msgstr "" +"Vytváří sadu pravidel pro určení, na kterých stránkách úprav budou použita " +"tato vlastní pole" + +#: includes/admin/views/field-group-options.php:23 +msgid "Style" +msgstr "Styl" + +#: includes/admin/views/field-group-options.php:30 +msgid "Standard (WP metabox)" +msgstr "Standardní (WP metabox)" + +#: includes/admin/views/field-group-options.php:31 +msgid "Seamless (no metabox)" +msgstr "Bezokrajové (bez metaboxu)" + +#: includes/admin/views/field-group-options.php:38 +msgid "Position" +msgstr "Pozice" + +#: includes/admin/views/field-group-options.php:45 +msgid "High (after title)" +msgstr "Vysoko (po nadpisu)" + +#: includes/admin/views/field-group-options.php:46 +msgid "Normal (after content)" +msgstr "Normální (po obsahu)" + +#: includes/admin/views/field-group-options.php:47 +msgid "Side" +msgstr "Na straně" + +#: includes/admin/views/field-group-options.php:55 +msgid "Label placement" +msgstr "Umístění štítků" + +#: includes/admin/views/field-group-options.php:62 +#: includes/fields/class-acf-field-tab.php:106 +msgid "Top aligned" +msgstr "Zarovnat shora" + +#: includes/admin/views/field-group-options.php:63 +#: includes/fields/class-acf-field-tab.php:107 +msgid "Left aligned" +msgstr "Zarovnat zleva" + +#: includes/admin/views/field-group-options.php:70 +msgid "Instruction placement" +msgstr "Umístění instrukcí" + +#: includes/admin/views/field-group-options.php:77 +msgid "Below labels" +msgstr "Pod štítky" + +#: includes/admin/views/field-group-options.php:78 +msgid "Below fields" +msgstr "Pod poli" + +#: includes/admin/views/field-group-options.php:85 +msgid "Order No." +msgstr "Pořadové č." + +#: includes/admin/views/field-group-options.php:86 +msgid "Field groups with a lower order will appear first" +msgstr "Skupiny polí s nižším pořadím se zobrazí první" + +#: includes/admin/views/field-group-options.php:97 +msgid "Shown in field group list" +msgstr "Zobrazit v seznamu skupin polí" + +#: includes/admin/views/field-group-options.php:107 +msgid "Permalink" +msgstr "Trvalý odkaz" + +#: includes/admin/views/field-group-options.php:108 +msgid "Content Editor" +msgstr "Editor obsahu" + +#: includes/admin/views/field-group-options.php:109 +msgid "Excerpt" +msgstr "Stručný výpis" + +#: includes/admin/views/field-group-options.php:111 +msgid "Discussion" +msgstr "Diskuze" + +#: includes/admin/views/field-group-options.php:112 +msgid "Comments" +msgstr "Komentáře" + +#: includes/admin/views/field-group-options.php:113 +msgid "Revisions" +msgstr "Revize" + +#: includes/admin/views/field-group-options.php:114 +msgid "Slug" +msgstr "Adresa" + +#: includes/admin/views/field-group-options.php:115 +msgid "Author" +msgstr "Autor" + +#: includes/admin/views/field-group-options.php:116 +msgid "Format" +msgstr "Formát" + +#: includes/admin/views/field-group-options.php:117 +msgid "Page Attributes" +msgstr "Atributy stránky" + +#: includes/admin/views/field-group-options.php:118 +#: includes/fields/class-acf-field-relationship.php:688 +msgid "Featured Image" +msgstr "Uživatelský obrázek" + +#: includes/admin/views/field-group-options.php:119 +msgid "Categories" +msgstr "Kategorie" + +#: includes/admin/views/field-group-options.php:120 +msgid "Tags" +msgstr "Štítky" + +#: includes/admin/views/field-group-options.php:121 +msgid "Send Trackbacks" +msgstr "Odesílat zpětné linkování odkazů" + +#: includes/admin/views/field-group-options.php:128 +msgid "Hide on screen" +msgstr "Skrýt na obrazovce" + +#: includes/admin/views/field-group-options.php:129 +msgid "Select items to hide them from the edit screen." +msgstr "Zvolte položky, které budou na obrazovce úprav skryté." + +#: includes/admin/views/field-group-options.php:129 +msgid "" +"If multiple field groups appear on an edit screen, the first field group's " +"options will be used (the one with the lowest order number)" +msgstr "" +"Pokud se na obrazovce úprav objeví více skupin polí, použije se nastavení " +"dle první skupiny polí (té s nejnižším pořadovým číslem)" + +#: includes/admin/views/html-admin-page-upgrade-network.php:26 +#, php-format +msgid "" +"The following sites require a DB upgrade. Check the ones you want to update " +"and then click %s." +msgstr "" +"Následující stránky vyžadují upgrade DB. Zaškrtněte ty, které chcete " +"aktualizovat, a poté klikněte na %s." + +#: includes/admin/views/html-admin-page-upgrade-network.php:26 +#: includes/admin/views/html-admin-page-upgrade-network.php:27 +#: includes/admin/views/html-admin-page-upgrade-network.php:92 +msgid "Upgrade Sites" +msgstr "Upgradovat stránky" + +#: includes/admin/views/html-admin-page-upgrade-network.php:36 +#: includes/admin/views/html-admin-page-upgrade-network.php:47 msgid "Site" msgstr "Stránky" -#: admin/views/update-network.php:47 +#: includes/admin/views/html-admin-page-upgrade-network.php:74 #, php-format msgid "Site requires database upgrade from %s to %s" msgstr "Stránky vyžadují aktualizaci databáze z %s na %s" -#: admin/views/update-network.php:49 +#: includes/admin/views/html-admin-page-upgrade-network.php:76 msgid "Site is up to date" msgstr "Stránky jsou aktuální" -#: admin/views/update-network.php:62 admin/views/update.php:16 -msgid "Database Upgrade complete. Return to network dashboard" -msgstr "Aktualizace databáze je dokončena. Návrat na nástěnku sítě" - -#: admin/views/update-network.php:101 admin/views/update-notice.php:35 -msgid "" -"It is strongly recommended that you backup your database before proceeding. Are you sure you wish to " -"run the updater now?" -msgstr "Důrazně doporučujeme zálohovat databázi před pokračováním. Opravdu chcete aktualizaci spustit?" - -#: admin/views/update-network.php:157 -msgid "Upgrade complete" -msgstr "Aktualizace dokončena" - -#: admin/views/update-network.php:161 -msgid "Upgrading data to" -msgstr "Aktualizace dat na" - -#: admin/views/update-notice.php:23 -msgid "Database Upgrade Required" -msgstr "Vyžadován upgrade databáze" - -#: admin/views/update-notice.php:25 +#: includes/admin/views/html-admin-page-upgrade-network.php:93 #, php-format -msgid "Thank you for updating to %s v%s!" -msgstr "Děkujeme vám za aktualizaci na %s v%s!" - -#: admin/views/update-notice.php:25 msgid "" -"Before you start using the new awesome features, please update your database to the newest version." -msgstr "Než začnete používat nové úžasné funkce, aktualizujte databázi na nejnovější verzi." +"Database Upgrade complete. Return to network dashboard" +msgstr "" +"Aktualizace databáze je dokončena. Návrat na nástěnku sítě" -#: admin/views/update.php:12 -msgid "Reading upgrade tasks..." -msgstr "Čtení úkolů aktualizace..." +#: includes/admin/views/html-admin-page-upgrade-network.php:113 +msgid "Please select at least one site to upgrade." +msgstr "Vyberte alespoň jednu stránku, kterou chcete upgradovat." -#: admin/views/update.php:14 +#: includes/admin/views/html-admin-page-upgrade-network.php:117 +#: includes/admin/views/html-notice-upgrade.php:38 +msgid "" +"It is strongly recommended that you backup your database before proceeding. " +"Are you sure you wish to run the updater now?" +msgstr "" +"Důrazně doporučujeme zálohovat databázi před pokračováním. Opravdu chcete " +"aktualizaci spustit?" + +#: includes/admin/views/html-admin-page-upgrade-network.php:144 +#: includes/admin/views/html-admin-page-upgrade.php:31 #, php-format msgid "Upgrading data to version %s" msgstr "Aktualizace dat na verzi %s" -#: admin/views/update.php:16 -msgid "See what's new" -msgstr "Podívejte se, co je nového" +#: includes/admin/views/html-admin-page-upgrade-network.php:167 +msgid "Upgrade complete." +msgstr "Aktualizace dokončena." -#: admin/views/update.php:110 +#: includes/admin/views/html-admin-page-upgrade-network.php:176 +#: includes/admin/views/html-admin-page-upgrade-network.php:185 +#: includes/admin/views/html-admin-page-upgrade.php:78 +#: includes/admin/views/html-admin-page-upgrade.php:87 +msgid "Upgrade failed." +msgstr "Upgrade se nezdařil." + +#: includes/admin/views/html-admin-page-upgrade.php:30 +msgid "Reading upgrade tasks..." +msgstr "Čtení úkolů aktualizace..." + +#: includes/admin/views/html-admin-page-upgrade.php:33 +#, php-format +msgid "Database upgrade complete. See what's new" +msgstr "" +"Upgrade databáze byl dokončen. Podívejte se, co je nového" + +#: includes/admin/views/html-admin-page-upgrade.php:116 +#: includes/ajax/class-acf-ajax-upgrade.php:33 msgid "No updates available." msgstr "K dispozici nejsou žádné aktualizace." -#: api/api-helpers.php:821 +#: includes/admin/views/html-location-group.php:3 +msgid "Show this field group if" +msgstr "Zobrazit tuto skupinu polí, pokud" + +#: includes/admin/views/html-notice-upgrade.php:8 +#: pro/fields/class-acf-field-repeater.php:25 +msgid "Repeater" +msgstr "Opakovač" + +#: includes/admin/views/html-notice-upgrade.php:9 +#: pro/fields/class-acf-field-flexible-content.php:25 +msgid "Flexible Content" +msgstr "Flexibilní obsah" + +#: includes/admin/views/html-notice-upgrade.php:10 +#: pro/fields/class-acf-field-gallery.php:25 +msgid "Gallery" +msgstr "Galerie" + +#: includes/admin/views/html-notice-upgrade.php:11 +#: pro/locations/class-acf-location-options-page.php:26 +msgid "Options Page" +msgstr "Stránka konfigurace" + +#: includes/admin/views/html-notice-upgrade.php:21 +msgid "Database Upgrade Required" +msgstr "Vyžadován upgrade databáze" + +#: includes/admin/views/html-notice-upgrade.php:22 +#, php-format +msgid "Thank you for updating to %s v%s!" +msgstr "Děkujeme vám za aktualizaci na %s v%s!" + +#: includes/admin/views/html-notice-upgrade.php:22 +msgid "" +"This version contains improvements to your database and requires an upgrade." +msgstr "Tato verze obsahuje vylepšení databáze a vyžaduje upgrade." + +#: includes/admin/views/html-notice-upgrade.php:24 +#, php-format +msgid "" +"Please also ensure any premium add-ons (%s) have first been updated to the " +"latest version." +msgstr "" +"Zkontrolujte také, zda jsou všechny prémiové doplňky ( %s) nejprve " +"aktualizovány na nejnovější verzi." + +#: includes/admin/views/settings-addons.php:17 +msgid "Download & Install" +msgstr "Stáhnout a instalovat" + +#: includes/admin/views/settings-addons.php:36 +msgid "Installed" +msgstr "Instalováno" + +#: includes/admin/views/settings-info.php:3 +msgid "Welcome to Advanced Custom Fields" +msgstr "Vítejte v Advanced Custom Fields" + +#: includes/admin/views/settings-info.php:4 +#, php-format +msgid "" +"Thank you for updating! ACF %s is bigger and better than ever before. We " +"hope you like it." +msgstr "" +"Děkujeme za aktualizaci! ACF %s je větší a lepší než kdykoli předtím. " +"Doufáme, že se vám bude líbit." + +#: includes/admin/views/settings-info.php:15 +msgid "A Smoother Experience" +msgstr "Plynulejší zážitek" + +#: includes/admin/views/settings-info.php:19 +msgid "Improved Usability" +msgstr "Vylepšená použitelnost" + +#: includes/admin/views/settings-info.php:20 +msgid "" +"Including the popular Select2 library has improved both usability and speed " +"across a number of field types including post object, page link, taxonomy " +"and select." +msgstr "" +"Zahrnutí oblíbené knihovny Select2 zlepšilo jak použitelnost, tak i rychlost " +"v různých typech polí, včetně objektu příspěvku, odkazu na stránku, " +"taxonomie a možnosti výběru." + +#: includes/admin/views/settings-info.php:24 +msgid "Improved Design" +msgstr "Zlepšený design" + +#: includes/admin/views/settings-info.php:25 +msgid "" +"Many fields have undergone a visual refresh to make ACF look better than " +"ever! Noticeable changes are seen on the gallery, relationship and oEmbed " +"(new) fields!" +msgstr "" +"Mnoho polí podstoupilo osvěžení grafiky, aby ACF vypadalo lépe než kdy " +"jindy! Znatelné změny jsou vidět na polích galerie, vztahů a oEmbed " +"(novinka)!" + +#: includes/admin/views/settings-info.php:29 +msgid "Improved Data" +msgstr "Vylepšené údaje" + +#: includes/admin/views/settings-info.php:30 +msgid "" +"Redesigning the data architecture has allowed sub fields to live " +"independently from their parents. This allows you to drag and drop fields in " +"and out of parent fields!" +msgstr "" +"Přepracování datové architektury umožnilo, aby podřazená pole žila nezávisle " +"na rodičích. To umožňuje jejich přetahování mezi rodičovskými poli!" + +#: includes/admin/views/settings-info.php:38 +msgid "Goodbye Add-ons. Hello PRO" +msgstr "Sbohem doplňkům. Pozdrav verzi PRO" + +#: includes/admin/views/settings-info.php:41 +msgid "Introducing ACF PRO" +msgstr "Představujeme ACF PRO" + +#: includes/admin/views/settings-info.php:42 +msgid "" +"We're changing the way premium functionality is delivered in an exciting way!" +msgstr "Měníme způsob poskytování prémiových funkcí vzrušujícím způsobem!" + +#: includes/admin/views/settings-info.php:43 +#, php-format +msgid "" +"All 4 premium add-ons have been combined into a new Pro " +"version of ACF. With both personal and developer licenses available, " +"premium functionality is more affordable and accessible than ever before!" +msgstr "" +"Všechny 4 prémiové doplňky byly spojeny do nové verze Pro pro " +"ACF. Se svými osobními i vývojovými licencemi je prémiová funkčnost " +"cenově dostupná a přístupnější než kdykoli předtím!" + +#: includes/admin/views/settings-info.php:47 +msgid "Powerful Features" +msgstr "Výkonné funkce" + +#: includes/admin/views/settings-info.php:48 +msgid "" +"ACF PRO contains powerful features such as repeatable data, flexible content " +"layouts, a beautiful gallery field and the ability to create extra admin " +"options pages!" +msgstr "" +"ACF PRO obsahuje výkonné funkce, jako jsou opakovatelná data, flexibilní " +"rozložení obsahu, krásné pole galerie a možnost vytvářet další stránky " +"administrátorských voleb!" + +#: includes/admin/views/settings-info.php:49 +#, php-format +msgid "Read more about ACF PRO features." +msgstr "Přečtěte si další informace o funkcích ACF PRO." + +#: includes/admin/views/settings-info.php:53 +msgid "Easy Upgrading" +msgstr "Snadná aktualizace" + +#: includes/admin/views/settings-info.php:54 +msgid "" +"Upgrading to ACF PRO is easy. Simply purchase a license online and download " +"the plugin!" +msgstr "" +"Upgrade na ACF PRO je snadný. Stačí online zakoupit licenci a stáhnout " +"plugin!" + +#: includes/admin/views/settings-info.php:55 +#, php-format +msgid "" +"We also wrote an upgrade guide to answer any questions, " +"but if you do have one, please contact our support team via the help desk." +msgstr "" +"Také jsme napsali průvodce aktualizací na zodpovězení " +"jakýchkoliv dotazů, ale pokud i přes to nějaký máte, kontaktujte prosím náš " +"tým podpory prostřednictvím Help Desku." + +#: includes/admin/views/settings-info.php:64 +msgid "New Features" +msgstr "Nové funkce" + +#: includes/admin/views/settings-info.php:69 +msgid "Link Field" +msgstr "Odkaz pole" + +#: includes/admin/views/settings-info.php:70 +msgid "" +"The Link field provides a simple way to select or define a link (url, title, " +"target)." +msgstr "" +"Pole odkazu poskytuje jednoduchý způsob, jak vybrat nebo definovat odkaz " +"(URL, název, cíl)." + +#: includes/admin/views/settings-info.php:74 +msgid "Group Field" +msgstr "Skupinové pole" + +#: includes/admin/views/settings-info.php:75 +msgid "The Group field provides a simple way to create a group of fields." +msgstr "Skupina polí poskytuje jednoduchý způsob vytvoření skupiny polí." + +#: includes/admin/views/settings-info.php:79 +msgid "oEmbed Field" +msgstr "oEmbed pole" + +#: includes/admin/views/settings-info.php:80 +msgid "" +"The oEmbed field allows an easy way to embed videos, images, tweets, audio, " +"and other content." +msgstr "" +"oEmbed pole umožňuje snadno vkládat videa, obrázky, tweety, audio a další " +"obsah." + +#: includes/admin/views/settings-info.php:84 +msgid "Clone Field" +msgstr "Klonovat pole" + +#: includes/admin/views/settings-info.php:85 +msgid "The clone field allows you to select and display existing fields." +msgstr "Klonované pole umožňuje vybrat a zobrazit existující pole." + +#: includes/admin/views/settings-info.php:89 +msgid "More AJAX" +msgstr "Více AJAXu" + +#: includes/admin/views/settings-info.php:90 +msgid "More fields use AJAX powered search to speed up page loading." +msgstr "Více polí využívá vyhledávání pomocí AJAX pro rychlé načítání stránky." + +#: includes/admin/views/settings-info.php:94 +msgid "Local JSON" +msgstr "Lokální JSON" + +#: includes/admin/views/settings-info.php:95 +msgid "" +"New auto export to JSON feature improves speed and allows for syncronisation." +msgstr "" +"Nová funkce automatického exportu do JSONu zvyšuje rychlost a umožňuje " +"synchronizaci." + +#: includes/admin/views/settings-info.php:99 +msgid "Easy Import / Export" +msgstr "Snadný import/export" + +#: includes/admin/views/settings-info.php:100 +msgid "Both import and export can easily be done through a new tools page." +msgstr "Import i export lze snadno provést pomocí nové stránky nástroje." + +#: includes/admin/views/settings-info.php:104 +msgid "New Form Locations" +msgstr "Umístění nového formuláře" + +#: includes/admin/views/settings-info.php:105 +msgid "" +"Fields can now be mapped to menus, menu items, comments, widgets and all " +"user forms!" +msgstr "" +"Pole lze nyní mapovat na nabídky, položky nabídky, komentáře, widgety a " +"všechny uživatelské formuláře!" + +#: includes/admin/views/settings-info.php:109 +msgid "More Customization" +msgstr "Další úpravy" + +#: includes/admin/views/settings-info.php:110 +msgid "" +"New PHP (and JS) actions and filters have been added to allow for more " +"customization." +msgstr "" +"Byly přidány nové akce a filtry PHP (a JS), které umožňují další úpravy." + +#: includes/admin/views/settings-info.php:114 +msgid "Fresh UI" +msgstr "Svěží uživatelské rozhraní" + +#: includes/admin/views/settings-info.php:115 +msgid "" +"The entire plugin has had a design refresh including new field types, " +"settings and design!" +msgstr "Celý plugin je redesignován včetně nových typů polí a nastavení!" + +#: includes/admin/views/settings-info.php:119 +msgid "New Settings" +msgstr "Nová nastavení" + +#: includes/admin/views/settings-info.php:120 +msgid "" +"Field group settings have been added for Active, Label Placement, " +"Instructions Placement and Description." +msgstr "" +"Bylo přidáno nastavení skupiny polí bylo přidáno pro aktivní, umístění " +"štítků, umístění instrukcí a popis." + +#: includes/admin/views/settings-info.php:124 +msgid "Better Front End Forms" +msgstr "Lepší vizuální stránka formulářů" + +#: includes/admin/views/settings-info.php:125 +msgid "" +"acf_form() can now create a new post on submission with lots of new settings." +msgstr "" +"acf_form() může nyní vytvořit nový příspěvek po odeslání se spoustou nových " +"možností." + +#: includes/admin/views/settings-info.php:129 +msgid "Better Validation" +msgstr "Lepší validace" + +#: includes/admin/views/settings-info.php:130 +msgid "Form validation is now done via PHP + AJAX in favour of only JS." +msgstr "" +"Validace formuláře nyní probíhá prostřednictvím PHP + AJAX a to ve prospěch " +"pouze JS." + +#: includes/admin/views/settings-info.php:134 +msgid "Moving Fields" +msgstr "Pohyblivá pole" + +#: includes/admin/views/settings-info.php:135 +msgid "" +"New field group functionality allows you to move a field between groups & " +"parents." +msgstr "" +"Nová funkčnost skupiny polí umožňuje přesouvání pole mezi skupinami a rodiči." + +#: includes/admin/views/settings-info.php:146 +#, php-format +msgid "We think you'll love the changes in %s." +msgstr "Myslíme si, že změny v %s si zamilujete." + +#: includes/api/api-helpers.php:1046 msgid "Thumbnail" msgstr "Miniatura" -#: api/api-helpers.php:822 +#: includes/api/api-helpers.php:1047 msgid "Medium" msgstr "Střední" -#: api/api-helpers.php:823 +#: includes/api/api-helpers.php:1048 msgid "Large" msgstr "Velký" -#: api/api-helpers.php:871 +#: includes/api/api-helpers.php:1097 msgid "Full Size" msgstr "Plná velikost" -#: api/api-helpers.php:1581 +#: includes/api/api-helpers.php:1339 includes/api/api-helpers.php:1912 +#: pro/fields/class-acf-field-clone.php:996 msgid "(no title)" msgstr "(bez názvu)" -#: api/api-helpers.php:3183 +#: includes/api/api-helpers.php:3994 #, php-format msgid "Image width must be at least %dpx." msgstr "Šířka obrázku musí být alespoň %dpx." -#: api/api-helpers.php:3188 +#: includes/api/api-helpers.php:3999 #, php-format msgid "Image width must not exceed %dpx." msgstr "Šířka obrázku nesmí přesáhnout %dpx." -#: api/api-helpers.php:3204 +#: includes/api/api-helpers.php:4015 #, php-format msgid "Image height must be at least %dpx." msgstr "Výška obrázku musí být alespoň %dpx." -#: api/api-helpers.php:3209 +#: includes/api/api-helpers.php:4020 #, php-format msgid "Image height must not exceed %dpx." msgstr "Výška obrázku nesmí přesáhnout %dpx." -#: api/api-helpers.php:3227 +#: includes/api/api-helpers.php:4038 #, php-format msgid "File size must be at least %s." msgstr "Velikost souboru musí být alespoň %s." -#: api/api-helpers.php:3232 +#: includes/api/api-helpers.php:4043 #, php-format msgid "File size must must not exceed %s." msgstr "Velikost souboru nesmí přesáhnout %s." -#: api/api-helpers.php:3266 +#: includes/api/api-helpers.php:4077 #, php-format msgid "File type must be %s." msgstr "Typ souboru musí být %s." -#: api/api-template.php:1289 pro/fields/gallery.php:564 +#: includes/assets.php:172 +msgid "The changes you made will be lost if you navigate away from this page" +msgstr "" +"Pokud opustíte tuto stránku, změny, které jste provedli, budou ztraceny" + +#: includes/assets.php:175 includes/fields/class-acf-field-select.php:259 +msgctxt "verb" +msgid "Select" +msgstr "Vybrat" + +#: includes/assets.php:176 +msgctxt "verb" +msgid "Edit" +msgstr "Upravit" + +#: includes/assets.php:177 +msgctxt "verb" msgid "Update" msgstr "Aktualizace" -#: api/api-template.php:1290 -msgid "Post updated" -msgstr "Příspěvek aktualizován" +#: includes/assets.php:178 +msgid "Uploaded to this post" +msgstr "Nahrán k tomuto příspěvku" -#: core/field.php:131 -msgid "Basic" -msgstr "Základní" - -#: core/field.php:132 -msgid "Content" -msgstr "Obsah" - -#: core/field.php:133 -msgid "Choice" -msgstr "Volba" - -#: core/field.php:134 -msgid "Relational" -msgstr "Relační" - -#: core/field.php:135 -msgid "jQuery" -msgstr "jQuery" - -#: core/field.php:136 fields/checkbox.php:226 fields/radio.php:231 pro/fields/flexible-content.php:512 -#: pro/fields/repeater.php:392 -msgid "Layout" -msgstr "Typ zobrazení" - -#: core/input.php:129 +#: includes/assets.php:179 msgid "Expand Details" msgstr "Rozbalit podrobnosti" -#: core/input.php:130 +#: includes/assets.php:180 msgid "Collapse Details" msgstr "Sbalit podrobnosti" -#: core/input.php:131 +#: includes/assets.php:181 +msgid "Restricted" +msgstr "Omezeno" + +#: includes/assets.php:182 includes/fields/class-acf-field-image.php:67 +msgid "All images" +msgstr "Všechny obrázky" + +#: includes/assets.php:185 msgid "Validation successful" msgstr "Ověření úspěšné" -#: core/input.php:132 +#: includes/assets.php:186 includes/validation.php:285 +#: includes/validation.php:296 msgid "Validation failed" msgstr "Ověření selhalo" -#: core/input.php:133 +#: includes/assets.php:187 msgid "1 field requires attention" msgstr "1 pole vyžaduje pozornost" -#: core/input.php:134 +#: includes/assets.php:188 #, php-format msgid "%d fields require attention" msgstr "Několik polí vyžaduje pozornost (%d)" -#: core/input.php:135 -msgid "Restricted" -msgstr "Omezeno" +#: includes/assets.php:191 +msgid "Are you sure?" +msgstr "Jste si jistí?" -#: core/input.php:533 -#, php-format -msgid "%s value is required" -msgstr "%s hodnota je vyžadována" +#: includes/assets.php:192 includes/fields/class-acf-field-true_false.php:79 +#: includes/fields/class-acf-field-true_false.php:159 +#: pro/admin/views/html-settings-updates.php:89 +msgid "Yes" +msgstr "Ano" -#: fields/checkbox.php:36 fields/taxonomy.php:752 -msgid "Checkbox" -msgstr "Zaškrtávátko" +#: includes/assets.php:193 includes/fields/class-acf-field-true_false.php:80 +#: includes/fields/class-acf-field-true_false.php:174 +#: pro/admin/views/html-settings-updates.php:99 +msgid "No" +msgstr "Ne" -#: fields/checkbox.php:144 -msgid "Toggle All" -msgstr "Přepnout vše" +#: includes/assets.php:194 includes/fields/class-acf-field-file.php:154 +#: includes/fields/class-acf-field-image.php:141 +#: includes/fields/class-acf-field-link.php:140 +#: pro/fields/class-acf-field-gallery.php:358 +#: pro/fields/class-acf-field-gallery.php:546 +msgid "Remove" +msgstr "Odstranit" -#: fields/checkbox.php:208 fields/radio.php:193 fields/select.php:388 +#: includes/assets.php:195 +msgid "Cancel" +msgstr "Zrušit" + +#: includes/assets.php:198 +msgid "Has any value" +msgstr "Má libovolnou hodnotu" + +#: includes/assets.php:199 +msgid "Has no value" +msgstr "Nemá hodnotu" + +#: includes/assets.php:200 +msgid "Value is equal to" +msgstr "Hodnota je rovna" + +#: includes/assets.php:201 +msgid "Value is not equal to" +msgstr "Hodnota není rovna" + +#: includes/assets.php:202 +msgid "Value matches pattern" +msgstr "Hodnota odpovídá masce" + +#: includes/assets.php:203 +msgid "Value contains" +msgstr "Hodnota obsahuje" + +#: includes/assets.php:204 +msgid "Value is greater than" +msgstr "Hodnota je větší než" + +#: includes/assets.php:205 +msgid "Value is less than" +msgstr "Hodnota je menší než" + +#: includes/assets.php:206 +msgid "Selection is greater than" +msgstr "Výběr je větší než" + +#: includes/assets.php:207 +msgid "Selection is less than" +msgstr "Výběr je menší než" + +#: includes/fields.php:308 +msgid "Field type does not exist" +msgstr "Typ pole neexistuje" + +#: includes/fields.php:308 +msgid "Unknown" +msgstr "Neznámý" + +#: includes/fields.php:349 +msgid "Basic" +msgstr "Základní" + +#: includes/fields.php:350 includes/forms/form-front.php:47 +msgid "Content" +msgstr "Obsah" + +#: includes/fields.php:351 +msgid "Choice" +msgstr "Volba" + +#: includes/fields.php:352 +msgid "Relational" +msgstr "Relační" + +#: includes/fields.php:353 +msgid "jQuery" +msgstr "jQuery" + +#: includes/fields.php:354 includes/fields/class-acf-field-button-group.php:177 +#: includes/fields/class-acf-field-checkbox.php:389 +#: includes/fields/class-acf-field-group.php:474 +#: includes/fields/class-acf-field-radio.php:290 +#: pro/fields/class-acf-field-clone.php:843 +#: pro/fields/class-acf-field-flexible-content.php:567 +#: pro/fields/class-acf-field-flexible-content.php:616 +#: pro/fields/class-acf-field-repeater.php:443 +msgid "Layout" +msgstr "Typ zobrazení" + +#: includes/fields/class-acf-field-accordion.php:24 +msgid "Accordion" +msgstr "Akordeon" + +#: includes/fields/class-acf-field-accordion.php:99 +msgid "Open" +msgstr "Otevřít" + +#: includes/fields/class-acf-field-accordion.php:100 +msgid "Display this accordion as open on page load." +msgstr "Zobrazit tento akordeon jako otevřený při načtení stránky." + +#: includes/fields/class-acf-field-accordion.php:109 +msgid "Multi-expand" +msgstr "Vícenásobné rozbalení" + +#: includes/fields/class-acf-field-accordion.php:110 +msgid "Allow this accordion to open without closing others." +msgstr "Povolit otevření tohoto akordeonu bez zavření ostatních." + +#: includes/fields/class-acf-field-accordion.php:119 +#: includes/fields/class-acf-field-tab.php:114 +msgid "Endpoint" +msgstr "Koncový bod" + +#: includes/fields/class-acf-field-accordion.php:120 +msgid "" +"Define an endpoint for the previous accordion to stop. This accordion will " +"not be visible." +msgstr "" +"Definujte koncový bod pro předchozí akordeon. Tento akordeon nebude " +"viditelný." + +#: includes/fields/class-acf-field-button-group.php:24 +msgid "Button Group" +msgstr "Skupina tlačítek" + +#: includes/fields/class-acf-field-button-group.php:149 +#: includes/fields/class-acf-field-checkbox.php:344 +#: includes/fields/class-acf-field-radio.php:235 +#: includes/fields/class-acf-field-select.php:359 msgid "Choices" msgstr "Možnosti" -#: fields/checkbox.php:209 fields/radio.php:194 fields/select.php:389 +#: includes/fields/class-acf-field-button-group.php:150 +#: includes/fields/class-acf-field-checkbox.php:345 +#: includes/fields/class-acf-field-radio.php:236 +#: includes/fields/class-acf-field-select.php:360 msgid "Enter each choice on a new line." msgstr "Zadejte každou volbu na nový řádek." -#: fields/checkbox.php:209 fields/radio.php:194 fields/select.php:389 +#: includes/fields/class-acf-field-button-group.php:150 +#: includes/fields/class-acf-field-checkbox.php:345 +#: includes/fields/class-acf-field-radio.php:236 +#: includes/fields/class-acf-field-select.php:360 msgid "For more control, you may specify both a value and label like this:" msgstr "Pro větší kontrolu můžete zadat jak hodnotu, tak štítek:" -#: fields/checkbox.php:209 fields/radio.php:194 fields/select.php:389 +#: includes/fields/class-acf-field-button-group.php:150 +#: includes/fields/class-acf-field-checkbox.php:345 +#: includes/fields/class-acf-field-radio.php:236 +#: includes/fields/class-acf-field-select.php:360 msgid "red : Red" msgstr "cervena : Červená" -#: fields/checkbox.php:217 fields/color_picker.php:158 fields/email.php:124 fields/number.php:150 -#: fields/radio.php:222 fields/select.php:397 fields/text.php:148 fields/textarea.php:145 -#: fields/true_false.php:115 fields/url.php:117 fields/wysiwyg.php:345 +#: includes/fields/class-acf-field-button-group.php:158 +#: includes/fields/class-acf-field-page_link.php:513 +#: includes/fields/class-acf-field-post_object.php:411 +#: includes/fields/class-acf-field-radio.php:244 +#: includes/fields/class-acf-field-select.php:377 +#: includes/fields/class-acf-field-taxonomy.php:784 +#: includes/fields/class-acf-field-user.php:409 +msgid "Allow Null?" +msgstr "Povolit prázdné?" + +#: includes/fields/class-acf-field-button-group.php:168 +#: includes/fields/class-acf-field-checkbox.php:380 +#: includes/fields/class-acf-field-color_picker.php:131 +#: includes/fields/class-acf-field-email.php:118 +#: includes/fields/class-acf-field-number.php:127 +#: includes/fields/class-acf-field-radio.php:281 +#: includes/fields/class-acf-field-range.php:149 +#: includes/fields/class-acf-field-select.php:368 +#: includes/fields/class-acf-field-text.php:119 +#: includes/fields/class-acf-field-textarea.php:102 +#: includes/fields/class-acf-field-true_false.php:135 +#: includes/fields/class-acf-field-url.php:100 +#: includes/fields/class-acf-field-wysiwyg.php:381 msgid "Default Value" msgstr "Výchozí hodnota" -#: fields/checkbox.php:218 fields/select.php:398 -msgid "Enter each default value on a new line" -msgstr "Zadejte každou výchozí hodnotu na nový řádek" - -#: fields/checkbox.php:232 fields/radio.php:237 -msgid "Vertical" -msgstr "Vertikální" - -#: fields/checkbox.php:233 fields/radio.php:238 -msgid "Horizontal" -msgstr "Horizontální" - -#: fields/checkbox.php:240 -msgid "Toggle" -msgstr "Přepnout" - -#: fields/checkbox.php:241 -msgid "Prepend an extra checkbox to toggle all choices" -msgstr "Přidat zaškrtávátko navíc pro přepnutí všech možností" - -#: fields/color_picker.php:36 -msgid "Color Picker" -msgstr "Výběr barvy" - -#: fields/color_picker.php:94 -msgid "Clear" -msgstr "Vymazat" - -#: fields/color_picker.php:95 -msgid "Default" -msgstr "Výchozí nastavení" - -#: fields/color_picker.php:96 -msgid "Select Color" -msgstr "Výběr barvy" - -#: fields/date_picker.php:36 -msgid "Date Picker" -msgstr "Výběr data" - -#: fields/date_picker.php:72 -msgid "Done" -msgstr "Hotovo" - -#: fields/date_picker.php:73 -msgid "Today" -msgstr "Dnes" - -#: fields/date_picker.php:76 -msgid "Show a different month" -msgstr "Zobrazit jiný měsíc" - -#: fields/date_picker.php:149 -msgid "Display Format" -msgstr "Formát zobrazení" - -#: fields/date_picker.php:150 -msgid "The format displayed when editing a post" -msgstr "Formát zobrazený při úpravě příspěvku" - -#: fields/date_picker.php:164 -msgid "Return format" -msgstr "Formát návratu" - -#: fields/date_picker.php:165 -msgid "The format returned via template functions" -msgstr "Formát vrácen pomocí funkcí šablony" - -#: fields/date_picker.php:180 -msgid "Week Starts On" -msgstr "Týden začíná" - -#: fields/email.php:36 -msgid "Email" -msgstr "Email" - -#: fields/email.php:125 fields/number.php:151 fields/radio.php:223 fields/text.php:149 -#: fields/textarea.php:146 fields/url.php:118 fields/wysiwyg.php:346 +#: includes/fields/class-acf-field-button-group.php:169 +#: includes/fields/class-acf-field-email.php:119 +#: includes/fields/class-acf-field-number.php:128 +#: includes/fields/class-acf-field-radio.php:282 +#: includes/fields/class-acf-field-range.php:150 +#: includes/fields/class-acf-field-text.php:120 +#: includes/fields/class-acf-field-textarea.php:103 +#: includes/fields/class-acf-field-url.php:101 +#: includes/fields/class-acf-field-wysiwyg.php:382 msgid "Appears when creating a new post" msgstr "Objeví se při vytváření nového příspěvku" -#: fields/email.php:133 fields/number.php:159 fields/password.php:137 fields/text.php:157 -#: fields/textarea.php:154 fields/url.php:126 -msgid "Placeholder Text" -msgstr "Zástupný text" +#: includes/fields/class-acf-field-button-group.php:183 +#: includes/fields/class-acf-field-checkbox.php:396 +#: includes/fields/class-acf-field-radio.php:297 +msgid "Horizontal" +msgstr "Horizontální" -#: fields/email.php:134 fields/number.php:160 fields/password.php:138 fields/text.php:158 -#: fields/textarea.php:155 fields/url.php:127 -msgid "Appears within the input" -msgstr "Zobrazí se v inputu" +#: includes/fields/class-acf-field-button-group.php:184 +#: includes/fields/class-acf-field-checkbox.php:395 +#: includes/fields/class-acf-field-radio.php:296 +msgid "Vertical" +msgstr "Vertikální" -#: fields/email.php:142 fields/number.php:168 fields/password.php:146 fields/text.php:166 -msgid "Prepend" -msgstr "Zobrazit před" - -#: fields/email.php:143 fields/number.php:169 fields/password.php:147 fields/text.php:167 -msgid "Appears before the input" -msgstr "Zobrazí se před inputem" - -#: fields/email.php:151 fields/number.php:177 fields/password.php:155 fields/text.php:175 -msgid "Append" -msgstr "Zobrazit po" - -#: fields/email.php:152 fields/number.php:178 fields/password.php:156 fields/text.php:176 -msgid "Appears after the input" -msgstr "Zobrazí se za inputem" - -#: fields/file.php:36 -msgid "File" -msgstr "Soubor" - -#: fields/file.php:47 -msgid "Edit File" -msgstr "Upravit soubor" - -#: fields/file.php:48 -msgid "Update File" -msgstr "Aktualizovat soubor" - -#: fields/file.php:49 pro/fields/gallery.php:55 -msgid "uploaded to this post" -msgstr "nahrán k tomuto příspěvku" - -#: fields/file.php:142 -msgid "File Name" -msgstr "Jméno souboru" - -#: fields/file.php:146 -msgid "File Size" -msgstr "Velikost souboru" - -#: fields/file.php:169 -msgid "No File selected" -msgstr "Nebyl vybrán žádný soubor" - -#: fields/file.php:169 -msgid "Add File" -msgstr "Přidat soubor" - -#: fields/file.php:214 fields/image.php:195 fields/taxonomy.php:821 +#: includes/fields/class-acf-field-button-group.php:191 +#: includes/fields/class-acf-field-checkbox.php:413 +#: includes/fields/class-acf-field-file.php:215 +#: includes/fields/class-acf-field-image.php:205 +#: includes/fields/class-acf-field-link.php:166 +#: includes/fields/class-acf-field-radio.php:304 +#: includes/fields/class-acf-field-taxonomy.php:829 msgid "Return Value" msgstr "Vrátit hodnotu" -#: fields/file.php:215 fields/image.php:196 +#: includes/fields/class-acf-field-button-group.php:192 +#: includes/fields/class-acf-field-checkbox.php:414 +#: includes/fields/class-acf-field-file.php:216 +#: includes/fields/class-acf-field-image.php:206 +#: includes/fields/class-acf-field-link.php:167 +#: includes/fields/class-acf-field-radio.php:305 msgid "Specify the returned value on front end" msgstr "Zadat konkrétní návratovou hodnotu na frontendu" -#: fields/file.php:220 -msgid "File Array" -msgstr "Pole souboru" +#: includes/fields/class-acf-field-button-group.php:197 +#: includes/fields/class-acf-field-checkbox.php:419 +#: includes/fields/class-acf-field-radio.php:310 +#: includes/fields/class-acf-field-select.php:427 +msgid "Value" +msgstr "Hodnota" -#: fields/file.php:221 -msgid "File URL" -msgstr "Adresa souboru" +#: includes/fields/class-acf-field-button-group.php:199 +#: includes/fields/class-acf-field-checkbox.php:421 +#: includes/fields/class-acf-field-radio.php:312 +#: includes/fields/class-acf-field-select.php:429 +msgid "Both (Array)" +msgstr "Obě (pole)" -#: fields/file.php:222 -msgid "File ID" -msgstr "ID souboru" +#: includes/fields/class-acf-field-checkbox.php:25 +#: includes/fields/class-acf-field-taxonomy.php:771 +msgid "Checkbox" +msgstr "Zaškrtávátko" -#: fields/file.php:229 fields/image.php:220 pro/fields/gallery.php:647 -msgid "Library" -msgstr "Knihovna" +#: includes/fields/class-acf-field-checkbox.php:154 +msgid "Toggle All" +msgstr "Přepnout vše" -#: fields/file.php:230 fields/image.php:221 pro/fields/gallery.php:648 -msgid "Limit the media library choice" -msgstr "Omezit výběr knihovny médií" +#: includes/fields/class-acf-field-checkbox.php:221 +msgid "Add new choice" +msgstr "Přidat novou volbu" -#: fields/file.php:236 fields/image.php:227 pro/fields/gallery.php:654 -msgid "Uploaded to post" -msgstr "Nahráno k příspěvku" +#: includes/fields/class-acf-field-checkbox.php:353 +msgid "Allow Custom" +msgstr "Povolit vlastní" -#: fields/file.php:243 fields/image.php:234 pro/fields/gallery.php:661 -msgid "Minimum" -msgstr "Minimum" +#: includes/fields/class-acf-field-checkbox.php:358 +msgid "Allow 'custom' values to be added" +msgstr "Povolit přidání 'vlastních' hodnot" -#: fields/file.php:244 fields/file.php:255 -msgid "Restrict which files can be uploaded" -msgstr "Omezte, které typy souborů lze nahrát" +#: includes/fields/class-acf-field-checkbox.php:364 +msgid "Save Custom" +msgstr "Uložit vlastní" -#: fields/file.php:247 fields/file.php:258 fields/image.php:257 fields/image.php:290 -#: pro/fields/gallery.php:684 pro/fields/gallery.php:717 +#: includes/fields/class-acf-field-checkbox.php:369 +msgid "Save 'custom' values to the field's choices" +msgstr "Uložit 'vlastní' hodnoty do voleb polí" + +#: includes/fields/class-acf-field-checkbox.php:381 +#: includes/fields/class-acf-field-select.php:369 +msgid "Enter each default value on a new line" +msgstr "Zadejte každou výchozí hodnotu na nový řádek" + +#: includes/fields/class-acf-field-checkbox.php:403 +msgid "Toggle" +msgstr "Přepnout" + +#: includes/fields/class-acf-field-checkbox.php:404 +msgid "Prepend an extra checkbox to toggle all choices" +msgstr "Přidat zaškrtávátko navíc pro přepnutí všech možností" + +#: includes/fields/class-acf-field-color_picker.php:25 +msgid "Color Picker" +msgstr "Výběr barvy" + +#: includes/fields/class-acf-field-color_picker.php:68 +msgid "Clear" +msgstr "Vymazat" + +#: includes/fields/class-acf-field-color_picker.php:69 +msgid "Default" +msgstr "Výchozí nastavení" + +#: includes/fields/class-acf-field-color_picker.php:70 +msgid "Select Color" +msgstr "Výběr barvy" + +#: includes/fields/class-acf-field-color_picker.php:71 +msgid "Current Color" +msgstr "Aktuální barva" + +#: includes/fields/class-acf-field-date_picker.php:25 +msgid "Date Picker" +msgstr "Výběr data" + +#: includes/fields/class-acf-field-date_picker.php:59 +msgctxt "Date Picker JS closeText" +msgid "Done" +msgstr "Hotovo" + +#: includes/fields/class-acf-field-date_picker.php:60 +msgctxt "Date Picker JS currentText" +msgid "Today" +msgstr "Dnes" + +#: includes/fields/class-acf-field-date_picker.php:61 +msgctxt "Date Picker JS nextText" +msgid "Next" +msgstr "Následující" + +#: includes/fields/class-acf-field-date_picker.php:62 +msgctxt "Date Picker JS prevText" +msgid "Prev" +msgstr "Předchozí" + +#: includes/fields/class-acf-field-date_picker.php:63 +msgctxt "Date Picker JS weekHeader" +msgid "Wk" +msgstr "Týden" + +#: includes/fields/class-acf-field-date_picker.php:180 +#: includes/fields/class-acf-field-date_time_picker.php:183 +#: includes/fields/class-acf-field-time_picker.php:109 +msgid "Display Format" +msgstr "Formát zobrazení" + +#: includes/fields/class-acf-field-date_picker.php:181 +#: includes/fields/class-acf-field-date_time_picker.php:184 +#: includes/fields/class-acf-field-time_picker.php:110 +msgid "The format displayed when editing a post" +msgstr "Formát zobrazený při úpravě příspěvku" + +#: includes/fields/class-acf-field-date_picker.php:189 +#: includes/fields/class-acf-field-date_picker.php:220 +#: includes/fields/class-acf-field-date_time_picker.php:193 +#: includes/fields/class-acf-field-date_time_picker.php:210 +#: includes/fields/class-acf-field-time_picker.php:117 +#: includes/fields/class-acf-field-time_picker.php:132 +msgid "Custom:" +msgstr "Vlastní:" + +#: includes/fields/class-acf-field-date_picker.php:199 +msgid "Save Format" +msgstr "Uložit formát" + +#: includes/fields/class-acf-field-date_picker.php:200 +msgid "The format used when saving a value" +msgstr "Formát použitý při ukládání hodnoty" + +#: includes/fields/class-acf-field-date_picker.php:210 +#: includes/fields/class-acf-field-date_time_picker.php:200 +#: includes/fields/class-acf-field-post_object.php:431 +#: includes/fields/class-acf-field-relationship.php:715 +#: includes/fields/class-acf-field-select.php:422 +#: includes/fields/class-acf-field-time_picker.php:124 +#: includes/fields/class-acf-field-user.php:428 +msgid "Return Format" +msgstr "Formát návratové hodnoty" + +#: includes/fields/class-acf-field-date_picker.php:211 +#: includes/fields/class-acf-field-date_time_picker.php:201 +#: includes/fields/class-acf-field-time_picker.php:125 +msgid "The format returned via template functions" +msgstr "Formát vrácen pomocí funkcí šablony" + +#: includes/fields/class-acf-field-date_picker.php:229 +#: includes/fields/class-acf-field-date_time_picker.php:217 +msgid "Week Starts On" +msgstr "Týden začíná" + +#: includes/fields/class-acf-field-date_time_picker.php:25 +msgid "Date Time Picker" +msgstr "Výběr data a času" + +#: includes/fields/class-acf-field-date_time_picker.php:68 +msgctxt "Date Time Picker JS timeOnlyTitle" +msgid "Choose Time" +msgstr "Zvolit čas" + +#: includes/fields/class-acf-field-date_time_picker.php:69 +msgctxt "Date Time Picker JS timeText" +msgid "Time" +msgstr "Čas" + +#: includes/fields/class-acf-field-date_time_picker.php:70 +msgctxt "Date Time Picker JS hourText" +msgid "Hour" +msgstr "Hodina" + +#: includes/fields/class-acf-field-date_time_picker.php:71 +msgctxt "Date Time Picker JS minuteText" +msgid "Minute" +msgstr "Minuta" + +#: includes/fields/class-acf-field-date_time_picker.php:72 +msgctxt "Date Time Picker JS secondText" +msgid "Second" +msgstr "Vteřina" + +#: includes/fields/class-acf-field-date_time_picker.php:73 +msgctxt "Date Time Picker JS millisecText" +msgid "Millisecond" +msgstr "Milisekunda" + +#: includes/fields/class-acf-field-date_time_picker.php:74 +msgctxt "Date Time Picker JS microsecText" +msgid "Microsecond" +msgstr "Mikrosekunda" + +#: includes/fields/class-acf-field-date_time_picker.php:75 +msgctxt "Date Time Picker JS timezoneText" +msgid "Time Zone" +msgstr "Časové pásmo" + +#: includes/fields/class-acf-field-date_time_picker.php:76 +msgctxt "Date Time Picker JS currentText" +msgid "Now" +msgstr "Nyní" + +#: includes/fields/class-acf-field-date_time_picker.php:77 +msgctxt "Date Time Picker JS closeText" +msgid "Done" +msgstr "Hotovo" + +#: includes/fields/class-acf-field-date_time_picker.php:78 +msgctxt "Date Time Picker JS selectText" +msgid "Select" +msgstr "Vybrat" + +#: includes/fields/class-acf-field-date_time_picker.php:80 +msgctxt "Date Time Picker JS amText" +msgid "AM" +msgstr "dop" + +#: includes/fields/class-acf-field-date_time_picker.php:81 +msgctxt "Date Time Picker JS amTextShort" +msgid "A" +msgstr "od" + +#: includes/fields/class-acf-field-date_time_picker.php:84 +msgctxt "Date Time Picker JS pmText" +msgid "PM" +msgstr "odp" + +#: includes/fields/class-acf-field-date_time_picker.php:85 +msgctxt "Date Time Picker JS pmTextShort" +msgid "P" +msgstr "do" + +#: includes/fields/class-acf-field-email.php:25 +msgid "Email" +msgstr "Email" + +#: includes/fields/class-acf-field-email.php:127 +#: includes/fields/class-acf-field-number.php:136 +#: includes/fields/class-acf-field-password.php:71 +#: includes/fields/class-acf-field-text.php:128 +#: includes/fields/class-acf-field-textarea.php:111 +#: includes/fields/class-acf-field-url.php:109 +msgid "Placeholder Text" +msgstr "Zástupný text" + +#: includes/fields/class-acf-field-email.php:128 +#: includes/fields/class-acf-field-number.php:137 +#: includes/fields/class-acf-field-password.php:72 +#: includes/fields/class-acf-field-text.php:129 +#: includes/fields/class-acf-field-textarea.php:112 +#: includes/fields/class-acf-field-url.php:110 +msgid "Appears within the input" +msgstr "Zobrazí se v inputu" + +#: includes/fields/class-acf-field-email.php:136 +#: includes/fields/class-acf-field-number.php:145 +#: includes/fields/class-acf-field-password.php:80 +#: includes/fields/class-acf-field-range.php:188 +#: includes/fields/class-acf-field-text.php:137 +msgid "Prepend" +msgstr "Zobrazit před" + +#: includes/fields/class-acf-field-email.php:137 +#: includes/fields/class-acf-field-number.php:146 +#: includes/fields/class-acf-field-password.php:81 +#: includes/fields/class-acf-field-range.php:189 +#: includes/fields/class-acf-field-text.php:138 +msgid "Appears before the input" +msgstr "Zobrazí se před inputem" + +#: includes/fields/class-acf-field-email.php:145 +#: includes/fields/class-acf-field-number.php:154 +#: includes/fields/class-acf-field-password.php:89 +#: includes/fields/class-acf-field-range.php:197 +#: includes/fields/class-acf-field-text.php:146 +msgid "Append" +msgstr "Zobrazit po" + +#: includes/fields/class-acf-field-email.php:146 +#: includes/fields/class-acf-field-number.php:155 +#: includes/fields/class-acf-field-password.php:90 +#: includes/fields/class-acf-field-range.php:198 +#: includes/fields/class-acf-field-text.php:147 +msgid "Appears after the input" +msgstr "Zobrazí se za inputem" + +#: includes/fields/class-acf-field-file.php:25 +msgid "File" +msgstr "Soubor" + +#: includes/fields/class-acf-field-file.php:58 +msgid "Edit File" +msgstr "Upravit soubor" + +#: includes/fields/class-acf-field-file.php:59 +msgid "Update File" +msgstr "Aktualizovat soubor" + +#: includes/fields/class-acf-field-file.php:141 +msgid "File name" +msgstr "Jméno souboru" + +#: includes/fields/class-acf-field-file.php:145 +#: includes/fields/class-acf-field-file.php:248 +#: includes/fields/class-acf-field-file.php:259 +#: includes/fields/class-acf-field-image.php:265 +#: includes/fields/class-acf-field-image.php:294 +#: pro/fields/class-acf-field-gallery.php:705 +#: pro/fields/class-acf-field-gallery.php:734 msgid "File size" msgstr "Velikost souboru" -#: fields/file.php:254 fields/image.php:267 pro/fields/gallery.php:694 +#: includes/fields/class-acf-field-file.php:170 +msgid "Add File" +msgstr "Přidat soubor" + +#: includes/fields/class-acf-field-file.php:221 +msgid "File Array" +msgstr "Pole souboru" + +#: includes/fields/class-acf-field-file.php:222 +msgid "File URL" +msgstr "Adresa souboru" + +#: includes/fields/class-acf-field-file.php:223 +msgid "File ID" +msgstr "ID souboru" + +#: includes/fields/class-acf-field-file.php:230 +#: includes/fields/class-acf-field-image.php:230 +#: pro/fields/class-acf-field-gallery.php:670 +msgid "Library" +msgstr "Knihovna" + +#: includes/fields/class-acf-field-file.php:231 +#: includes/fields/class-acf-field-image.php:231 +#: pro/fields/class-acf-field-gallery.php:671 +msgid "Limit the media library choice" +msgstr "Omezit výběr knihovny médií" + +#: includes/fields/class-acf-field-file.php:236 +#: includes/fields/class-acf-field-image.php:236 +#: includes/locations/class-acf-location-attachment.php:101 +#: includes/locations/class-acf-location-comment.php:79 +#: includes/locations/class-acf-location-nav-menu.php:102 +#: includes/locations/class-acf-location-taxonomy.php:79 +#: includes/locations/class-acf-location-user-form.php:87 +#: includes/locations/class-acf-location-user-role.php:111 +#: includes/locations/class-acf-location-widget.php:83 +#: pro/fields/class-acf-field-gallery.php:676 +msgid "All" +msgstr "Vše" + +#: includes/fields/class-acf-field-file.php:237 +#: includes/fields/class-acf-field-image.php:237 +#: pro/fields/class-acf-field-gallery.php:677 +msgid "Uploaded to post" +msgstr "Nahráno k příspěvku" + +#: includes/fields/class-acf-field-file.php:244 +#: includes/fields/class-acf-field-image.php:244 +#: pro/fields/class-acf-field-gallery.php:684 +msgid "Minimum" +msgstr "Minimum" + +#: includes/fields/class-acf-field-file.php:245 +#: includes/fields/class-acf-field-file.php:256 +msgid "Restrict which files can be uploaded" +msgstr "Omezte, které typy souborů lze nahrát" + +#: includes/fields/class-acf-field-file.php:255 +#: includes/fields/class-acf-field-image.php:273 +#: pro/fields/class-acf-field-gallery.php:713 msgid "Maximum" msgstr "Maximum" -#: fields/file.php:265 fields/image.php:300 pro/fields/gallery.php:727 +#: includes/fields/class-acf-field-file.php:266 +#: includes/fields/class-acf-field-image.php:302 +#: pro/fields/class-acf-field-gallery.php:742 msgid "Allowed file types" msgstr "Povolené typy souborů" -#: fields/file.php:266 fields/image.php:301 pro/fields/gallery.php:728 +#: includes/fields/class-acf-field-file.php:267 +#: includes/fields/class-acf-field-image.php:303 +#: pro/fields/class-acf-field-gallery.php:743 msgid "Comma separated list. Leave blank for all types" msgstr "Seznam oddělený čárkami. Nechte prázdné pro povolení všech typů" -#: fields/google-map.php:36 +#: includes/fields/class-acf-field-google-map.php:25 msgid "Google Map" msgstr "Mapa Google" -#: fields/google-map.php:51 -msgid "Locating" -msgstr "Určování polohy" - -#: fields/google-map.php:52 +#: includes/fields/class-acf-field-google-map.php:59 msgid "Sorry, this browser does not support geolocation" msgstr "Je nám líto, ale tento prohlížeč nepodporuje geolokaci" -#: fields/google-map.php:135 +#: includes/fields/class-acf-field-google-map.php:165 msgid "Clear location" msgstr "Vymazat polohu" -#: fields/google-map.php:140 +#: includes/fields/class-acf-field-google-map.php:166 msgid "Find current location" msgstr "Najít aktuální umístění" -#: fields/google-map.php:141 +#: includes/fields/class-acf-field-google-map.php:169 msgid "Search for address..." msgstr "Vyhledat adresu..." -#: fields/google-map.php:173 fields/google-map.php:184 +#: includes/fields/class-acf-field-google-map.php:199 +#: includes/fields/class-acf-field-google-map.php:210 msgid "Center" msgstr "Vycentrovat" -#: fields/google-map.php:174 fields/google-map.php:185 +#: includes/fields/class-acf-field-google-map.php:200 +#: includes/fields/class-acf-field-google-map.php:211 msgid "Center the initial map" msgstr "Vycentrovat počáteční zobrazení mapy" -#: fields/google-map.php:198 +#: includes/fields/class-acf-field-google-map.php:222 msgid "Zoom" msgstr "Přiblížení" -#: fields/google-map.php:199 +#: includes/fields/class-acf-field-google-map.php:223 msgid "Set the initial zoom level" msgstr "Nastavit počáteční úroveň přiblížení" -#: fields/google-map.php:208 fields/image.php:246 fields/image.php:279 fields/oembed.php:262 -#: pro/fields/gallery.php:673 pro/fields/gallery.php:706 +#: includes/fields/class-acf-field-google-map.php:232 +#: includes/fields/class-acf-field-image.php:256 +#: includes/fields/class-acf-field-image.php:285 +#: includes/fields/class-acf-field-oembed.php:268 +#: pro/fields/class-acf-field-gallery.php:696 +#: pro/fields/class-acf-field-gallery.php:725 msgid "Height" msgstr "Výška" -#: fields/google-map.php:209 +#: includes/fields/class-acf-field-google-map.php:233 msgid "Customise the map height" msgstr "Upravit výšku mapy" -#: fields/image.php:36 +#: includes/fields/class-acf-field-group.php:25 +msgid "Group" +msgstr "Skupina" + +#: includes/fields/class-acf-field-group.php:459 +#: pro/fields/class-acf-field-repeater.php:379 +msgid "Sub Fields" +msgstr "Podřazená pole" + +#: includes/fields/class-acf-field-group.php:475 +#: pro/fields/class-acf-field-clone.php:844 +msgid "Specify the style used to render the selected fields" +msgstr "Určení stylu použitého pro vykreslení vybraných polí" + +#: includes/fields/class-acf-field-group.php:480 +#: pro/fields/class-acf-field-clone.php:849 +#: pro/fields/class-acf-field-flexible-content.php:627 +#: pro/fields/class-acf-field-repeater.php:451 +msgid "Block" +msgstr "Blok" + +#: includes/fields/class-acf-field-group.php:481 +#: pro/fields/class-acf-field-clone.php:850 +#: pro/fields/class-acf-field-flexible-content.php:626 +#: pro/fields/class-acf-field-repeater.php:450 +msgid "Table" +msgstr "Tabulka" + +#: includes/fields/class-acf-field-group.php:482 +#: pro/fields/class-acf-field-clone.php:851 +#: pro/fields/class-acf-field-flexible-content.php:628 +#: pro/fields/class-acf-field-repeater.php:452 +msgid "Row" +msgstr "Řádek" + +#: includes/fields/class-acf-field-image.php:25 msgid "Image" msgstr "Obrázek" -#: fields/image.php:51 +#: includes/fields/class-acf-field-image.php:64 msgid "Select Image" msgstr "Vybrat obrázek" -#: fields/image.php:52 pro/fields/gallery.php:53 +#: includes/fields/class-acf-field-image.php:65 msgid "Edit Image" msgstr "Upravit obrázek" -#: fields/image.php:53 pro/fields/gallery.php:54 +#: includes/fields/class-acf-field-image.php:66 msgid "Update Image" msgstr "Aktualizovat obrázek" -#: fields/image.php:54 -msgid "Uploaded to this post" -msgstr "Nahrán k tomuto příspěvku" - -#: fields/image.php:55 -msgid "All images" -msgstr "Všechny obrázky" - -#: fields/image.php:147 +#: includes/fields/class-acf-field-image.php:157 msgid "No image selected" msgstr "Není vybrán žádný obrázek" -#: fields/image.php:147 +#: includes/fields/class-acf-field-image.php:157 msgid "Add Image" msgstr "Přidat obrázek" -#: fields/image.php:201 +#: includes/fields/class-acf-field-image.php:211 msgid "Image Array" msgstr "Pole obrázku" -#: fields/image.php:202 +#: includes/fields/class-acf-field-image.php:212 msgid "Image URL" msgstr "Adresa obrázku" -#: fields/image.php:203 +#: includes/fields/class-acf-field-image.php:213 msgid "Image ID" msgstr "ID obrázku" -#: fields/image.php:210 pro/fields/gallery.php:637 +#: includes/fields/class-acf-field-image.php:220 msgid "Preview Size" msgstr "Velikost náhledu" -#: fields/image.php:211 pro/fields/gallery.php:638 +#: includes/fields/class-acf-field-image.php:221 msgid "Shown when entering data" msgstr "Zobrazit při zadávání dat" -#: fields/image.php:235 fields/image.php:268 pro/fields/gallery.php:662 pro/fields/gallery.php:695 +#: includes/fields/class-acf-field-image.php:245 +#: includes/fields/class-acf-field-image.php:274 +#: pro/fields/class-acf-field-gallery.php:685 +#: pro/fields/class-acf-field-gallery.php:714 msgid "Restrict which images can be uploaded" msgstr "Omezte, které typy obrázků je možné nahrát" -#: fields/image.php:238 fields/image.php:271 fields/oembed.php:251 pro/fields/gallery.php:665 -#: pro/fields/gallery.php:698 +#: includes/fields/class-acf-field-image.php:248 +#: includes/fields/class-acf-field-image.php:277 +#: includes/fields/class-acf-field-oembed.php:257 +#: pro/fields/class-acf-field-gallery.php:688 +#: pro/fields/class-acf-field-gallery.php:717 msgid "Width" msgstr "Šířka" -#: fields/message.php:36 fields/message.php:103 fields/true_false.php:106 +#: includes/fields/class-acf-field-link.php:25 +msgid "Link" +msgstr "Odkaz" + +#: includes/fields/class-acf-field-link.php:133 +msgid "Select Link" +msgstr "Vybrat odkaz" + +#: includes/fields/class-acf-field-link.php:138 +msgid "Opens in a new window/tab" +msgstr "Otevřít v novém okně/záložce" + +#: includes/fields/class-acf-field-link.php:172 +msgid "Link Array" +msgstr "Pole odkazů" + +#: includes/fields/class-acf-field-link.php:173 +msgid "Link URL" +msgstr "URL adresa odkazu" + +#: includes/fields/class-acf-field-message.php:25 +#: includes/fields/class-acf-field-message.php:101 +#: includes/fields/class-acf-field-true_false.php:126 msgid "Message" msgstr "Zpráva" -#: fields/message.php:104 -msgid "Please note that all text will first be passed through the wp function " -msgstr "Berte prosím na vědomí, že veškerý text musí projít přes funkce wordpressu " +#: includes/fields/class-acf-field-message.php:110 +#: includes/fields/class-acf-field-textarea.php:139 +msgid "New Lines" +msgstr "Nové řádky" -#: fields/message.php:112 +#: includes/fields/class-acf-field-message.php:111 +#: includes/fields/class-acf-field-textarea.php:140 +msgid "Controls how new lines are rendered" +msgstr "Řídí, jak se vykreslují nové řádky" + +#: includes/fields/class-acf-field-message.php:115 +#: includes/fields/class-acf-field-textarea.php:144 +msgid "Automatically add paragraphs" +msgstr "Automaticky přidávat odstavce" + +#: includes/fields/class-acf-field-message.php:116 +#: includes/fields/class-acf-field-textarea.php:145 +msgid "Automatically add <br>" +msgstr "Automaticky přidávat <br>" + +#: includes/fields/class-acf-field-message.php:117 +#: includes/fields/class-acf-field-textarea.php:146 +msgid "No Formatting" +msgstr "Žádné formátování" + +#: includes/fields/class-acf-field-message.php:124 msgid "Escape HTML" msgstr "Escapovat HTML" -#: fields/message.php:113 +#: includes/fields/class-acf-field-message.php:125 msgid "Allow HTML markup to display as visible text instead of rendering" msgstr "Nevykreslovat efekt, ale zobrazit značky HTML jako prostý text" -#: fields/number.php:36 +#: includes/fields/class-acf-field-number.php:25 msgid "Number" msgstr "Číslo" -#: fields/number.php:186 +#: includes/fields/class-acf-field-number.php:163 +#: includes/fields/class-acf-field-range.php:158 msgid "Minimum Value" msgstr "Minimální hodnota" -#: fields/number.php:195 +#: includes/fields/class-acf-field-number.php:172 +#: includes/fields/class-acf-field-range.php:168 msgid "Maximum Value" msgstr "Maximální hodnota" -#: fields/number.php:204 +#: includes/fields/class-acf-field-number.php:181 +#: includes/fields/class-acf-field-range.php:178 msgid "Step Size" msgstr "Velikost kroku" -#: fields/number.php:242 +#: includes/fields/class-acf-field-number.php:219 msgid "Value must be a number" msgstr "Hodnota musí být číslo" -#: fields/number.php:260 +#: includes/fields/class-acf-field-number.php:237 #, php-format msgid "Value must be equal to or higher than %d" msgstr "Hodnota musí být rovna nebo větší než %d" -#: fields/number.php:268 +#: includes/fields/class-acf-field-number.php:245 #, php-format msgid "Value must be equal to or lower than %d" msgstr "Hodnota musí být rovna nebo menší než %d" -#: fields/oembed.php:36 +#: includes/fields/class-acf-field-oembed.php:25 msgid "oEmbed" msgstr "oEmbed" -#: fields/oembed.php:199 +#: includes/fields/class-acf-field-oembed.php:216 msgid "Enter URL" msgstr "Vložte URL" -#: fields/oembed.php:212 -msgid "No embed found for the given URL." -msgstr "Pro danou adresu URL nebyl nalezen žádný embed." - -#: fields/oembed.php:248 fields/oembed.php:259 +#: includes/fields/class-acf-field-oembed.php:254 +#: includes/fields/class-acf-field-oembed.php:265 msgid "Embed Size" msgstr "Velikost pro Embed" -#: fields/page_link.php:206 +#: includes/fields/class-acf-field-page_link.php:25 +msgid "Page Link" +msgstr "Odkaz stránky" + +#: includes/fields/class-acf-field-page_link.php:177 msgid "Archives" msgstr "Archivy" -#: fields/page_link.php:535 fields/post_object.php:401 fields/relationship.php:690 +#: includes/fields/class-acf-field-page_link.php:269 +#: includes/fields/class-acf-field-post_object.php:267 +#: includes/fields/class-acf-field-taxonomy.php:961 +msgid "Parent" +msgstr "Rodič" + +#: includes/fields/class-acf-field-page_link.php:485 +#: includes/fields/class-acf-field-post_object.php:383 +#: includes/fields/class-acf-field-relationship.php:641 msgid "Filter by Post Type" msgstr "Filtrovat dle typu příspěvku" -#: fields/page_link.php:543 fields/post_object.php:409 fields/relationship.php:698 +#: includes/fields/class-acf-field-page_link.php:493 +#: includes/fields/class-acf-field-post_object.php:391 +#: includes/fields/class-acf-field-relationship.php:649 msgid "All post types" msgstr "Všechny typy příspěvků" -#: fields/page_link.php:549 fields/post_object.php:415 fields/relationship.php:704 +#: includes/fields/class-acf-field-page_link.php:499 +#: includes/fields/class-acf-field-post_object.php:397 +#: includes/fields/class-acf-field-relationship.php:655 msgid "Filter by Taxonomy" msgstr "Filtrovat dle taxonomie" -#: fields/page_link.php:557 fields/post_object.php:423 fields/relationship.php:712 +#: includes/fields/class-acf-field-page_link.php:507 +#: includes/fields/class-acf-field-post_object.php:405 +#: includes/fields/class-acf-field-relationship.php:663 msgid "All taxonomies" msgstr "Všechny taxonomie" -#: fields/page_link.php:563 fields/post_object.php:429 fields/select.php:406 fields/taxonomy.php:765 -#: fields/user.php:452 -msgid "Allow Null?" -msgstr "Povolit prázdné?" +#: includes/fields/class-acf-field-page_link.php:523 +msgid "Allow Archives URLs" +msgstr "Umožnit URL adresy archivu" -#: fields/page_link.php:577 fields/post_object.php:443 fields/select.php:420 fields/user.php:466 +#: includes/fields/class-acf-field-page_link.php:533 +#: includes/fields/class-acf-field-post_object.php:421 +#: includes/fields/class-acf-field-select.php:387 +#: includes/fields/class-acf-field-user.php:419 msgid "Select multiple values?" msgstr "Vybrat více hodnot?" -#: fields/password.php:36 +#: includes/fields/class-acf-field-password.php:25 msgid "Password" msgstr "Heslo" -#: fields/post_object.php:36 fields/post_object.php:462 fields/relationship.php:769 +#: includes/fields/class-acf-field-post_object.php:25 +#: includes/fields/class-acf-field-post_object.php:436 +#: includes/fields/class-acf-field-relationship.php:720 msgid "Post Object" msgstr "Objekt příspěvku" -#: fields/post_object.php:457 fields/relationship.php:764 -msgid "Return Format" -msgstr "Formát návratové hodnoty" - -#: fields/post_object.php:463 fields/relationship.php:770 +#: includes/fields/class-acf-field-post_object.php:437 +#: includes/fields/class-acf-field-relationship.php:721 msgid "Post ID" msgstr "ID příspěvku" -#: fields/radio.php:36 +#: includes/fields/class-acf-field-radio.php:25 msgid "Radio Button" msgstr "Přepínač" -#: fields/radio.php:202 +#: includes/fields/class-acf-field-radio.php:254 msgid "Other" msgstr "Jiné" -#: fields/radio.php:206 +#: includes/fields/class-acf-field-radio.php:259 msgid "Add 'other' choice to allow for custom values" msgstr "Přidat volbu 'jiné', která umožňuje vlastní hodnoty" -#: fields/radio.php:212 +#: includes/fields/class-acf-field-radio.php:265 msgid "Save Other" msgstr "Uložit Jiné" -#: fields/radio.php:216 +#: includes/fields/class-acf-field-radio.php:270 msgid "Save 'other' values to the field's choices" msgstr "Uložit 'jiné' hodnoty do voleb polí" -#: fields/relationship.php:36 +#: includes/fields/class-acf-field-range.php:25 +msgid "Range" +msgstr "Rozmezí" + +#: includes/fields/class-acf-field-relationship.php:25 msgid "Relationship" msgstr "Vztah" -#: fields/relationship.php:48 -msgid "Minimum values reached ( {min} values )" -msgstr "Dosaženo minimálního množství hodnot ( {min} hodnot )" - -#: fields/relationship.php:49 +#: includes/fields/class-acf-field-relationship.php:62 msgid "Maximum values reached ( {max} values )" msgstr "Dosaženo maximálního množství hodnot ( {max} hodnot )" -#: fields/relationship.php:50 +#: includes/fields/class-acf-field-relationship.php:63 msgid "Loading" msgstr "Načítání" -#: fields/relationship.php:51 +#: includes/fields/class-acf-field-relationship.php:64 msgid "No matches found" msgstr "Nebyly nalezeny žádné výsledky" -#: fields/relationship.php:571 -msgid "Search..." -msgstr "Hledat..." - -#: fields/relationship.php:580 +#: includes/fields/class-acf-field-relationship.php:441 msgid "Select post type" msgstr "Zvolit typ příspěvku" -#: fields/relationship.php:593 +#: includes/fields/class-acf-field-relationship.php:467 msgid "Select taxonomy" msgstr "Zvolit taxonomii" -#: fields/relationship.php:723 -msgid "Search" -msgstr "Hledat" +#: includes/fields/class-acf-field-relationship.php:557 +msgid "Search..." +msgstr "Hledat..." -#: fields/relationship.php:725 fields/taxonomy.php:36 fields/taxonomy.php:735 +#: includes/fields/class-acf-field-relationship.php:669 +msgid "Filters" +msgstr "Filtry" + +#: includes/fields/class-acf-field-relationship.php:675 +#: includes/locations/class-acf-location-post-type.php:27 +msgid "Post Type" +msgstr "Typ příspěvku" + +#: includes/fields/class-acf-field-relationship.php:676 +#: includes/fields/class-acf-field-taxonomy.php:28 +#: includes/fields/class-acf-field-taxonomy.php:754 +#: includes/locations/class-acf-location-taxonomy.php:27 msgid "Taxonomy" msgstr "Taxonomie" -#: fields/relationship.php:732 +#: includes/fields/class-acf-field-relationship.php:683 msgid "Elements" msgstr "Prvky" -#: fields/relationship.php:733 +#: includes/fields/class-acf-field-relationship.php:684 msgid "Selected elements will be displayed in each result" msgstr "Vybrané prvky se zobrazí v každém výsledku" -#: fields/relationship.php:744 +#: includes/fields/class-acf-field-relationship.php:695 msgid "Minimum posts" msgstr "Minimum příspěvků" -#: fields/relationship.php:753 +#: includes/fields/class-acf-field-relationship.php:704 msgid "Maximum posts" msgstr "Maximum příspěvků" -#: fields/select.php:36 fields/select.php:174 fields/taxonomy.php:757 -msgid "Select" -msgstr "Vybrat" - -#: fields/select.php:434 -msgid "Stylised UI" -msgstr "Stylizované uživatelské rozhraní" - -#: fields/select.php:448 -msgid "Use AJAX to lazy load choices?" -msgstr "K načtení volby použít AJAX lazy load?" - -#: fields/tab.php:36 -msgid "Tab" -msgstr "Záložka" - -#: fields/tab.php:128 -msgid "Warning" -msgstr "Varování" - -#: fields/tab.php:133 -msgid "" -"The tab field will display incorrectly when added to a Table style repeater field or flexible content " -"field layout" -msgstr "" -"Pole záložky se zobrazí nesprávně, pokud je přidáno do opakovače v tabulkovém stylu nebo do " -"flexibilního pole" - -#: fields/tab.php:146 -msgid "Use \"Tab Fields\" to better organize your edit screen by grouping fields together." -msgstr "Chcete-li lépe uspořádat obrazovku úprav, použijte seskupování polí pomocí Záložek." - -#: fields/tab.php:148 -msgid "" -"All fields following this \"tab field\" (or until another \"tab field\" is defined) will be grouped " -"together using this field's label as the tab heading." -msgstr "" -"Všechna pole následující po této záložce (až po další záložku nebo konec výpisu) budou seskupena a jako " -"nadpis bude použit štítek záložky." - -#: fields/tab.php:155 -msgid "Placement" -msgstr "Umístění" - -#: fields/tab.php:167 -msgid "End-point" -msgstr "Koncový bod" - -#: fields/tab.php:168 -msgid "Use this field as an end-point and start a new group of tabs" -msgstr "Použít toto pole jako koncový bod a začít novou skupinu záložek" - -#: fields/taxonomy.php:565 -#, php-format -msgid "Add new %s " -msgstr "Přidat novou %s " - -#: fields/taxonomy.php:704 -msgid "None" -msgstr "Žádný" - -#: fields/taxonomy.php:736 -msgid "Select the taxonomy to be displayed" -msgstr "Zvolit zobrazovanou taxonomii" - -#: fields/taxonomy.php:745 -msgid "Appearance" -msgstr "Vzhled" - -#: fields/taxonomy.php:746 -msgid "Select the appearance of this field" -msgstr "Vyberte vzhled tohoto pole" - -#: fields/taxonomy.php:751 -msgid "Multiple Values" -msgstr "Více hodnot" - -#: fields/taxonomy.php:753 -msgid "Multi Select" -msgstr "Vícenásobný výběr" - -#: fields/taxonomy.php:755 -msgid "Single Value" -msgstr "Jednotlivá hodnota" - -#: fields/taxonomy.php:756 -msgid "Radio Buttons" -msgstr "Radio přepínače" - -#: fields/taxonomy.php:779 -msgid "Create Terms" -msgstr "Vytvořit pojmy" - -#: fields/taxonomy.php:780 -msgid "Allow new terms to be created whilst editing" -msgstr "Povolit vytvoření nových pojmů během editace" - -#: fields/taxonomy.php:793 -msgid "Save Terms" -msgstr "Uložit pojmy" - -#: fields/taxonomy.php:794 -msgid "Connect selected terms to the post" -msgstr "Připojte vybrané pojmy k příspěvku" - -#: fields/taxonomy.php:807 -msgid "Load Terms" -msgstr "Nahrát pojmy" - -#: fields/taxonomy.php:808 -msgid "Load value from posts terms" -msgstr "Nahrát pojmy z příspěvků" - -#: fields/taxonomy.php:826 -msgid "Term Object" -msgstr "Objekt pojmu" - -#: fields/taxonomy.php:827 -msgid "Term ID" -msgstr "ID pojmu" - -#: fields/taxonomy.php:886 -#, php-format -msgid "User unable to add new %s" -msgstr "Uživatel není schopen přidat nové %s" - -#: fields/taxonomy.php:899 -#, php-format -msgid "%s already exists" -msgstr "%s již existuje" - -#: fields/taxonomy.php:940 -#, php-format -msgid "%s added" -msgstr "%s přidán" - -#: fields/taxonomy.php:985 -msgid "Add" -msgstr "Přidat" - -#: fields/text.php:36 -msgid "Text" -msgstr "Text" - -#: fields/text.php:184 fields/textarea.php:163 -msgid "Character Limit" -msgstr "Limit znaků" - -#: fields/text.php:185 fields/textarea.php:164 -msgid "Leave blank for no limit" -msgstr "Nechte prázdné pro nastavení bez omezení" - -#: fields/textarea.php:36 -msgid "Text Area" -msgstr "Textové pole" - -#: fields/textarea.php:172 -msgid "Rows" -msgstr "Řádky" - -#: fields/textarea.php:173 -msgid "Sets the textarea height" -msgstr "Nastavuje výšku textového pole" - -#: fields/textarea.php:182 -msgid "New Lines" -msgstr "Nové řádky" - -#: fields/textarea.php:183 -msgid "Controls how new lines are rendered" -msgstr "Řídí, jak se vykreslují nové řádky" - -#: fields/textarea.php:187 -msgid "Automatically add paragraphs" -msgstr "Automaticky přidávat odstavce" - -#: fields/textarea.php:188 -msgid "Automatically add <br>" -msgstr "Automaticky přidávat <br>" - -#: fields/textarea.php:189 -msgid "No Formatting" -msgstr "Žádné formátování" - -#: fields/true_false.php:36 -msgid "True / False" -msgstr "Pravda / Nepravda" - -#: fields/true_false.php:107 -msgid "eg. Show extra content" -msgstr "např. Zobrazit dodatečný obsah" - -#: fields/url.php:36 -msgid "Url" -msgstr "Adresa URL" - -#: fields/url.php:160 -msgid "Value must be a valid URL" -msgstr "Hodnota musí být validní adresa URL" - -#: fields/user.php:437 -msgid "Filter by role" -msgstr "Filtrovat podle role" - -#: fields/user.php:445 -msgid "All user roles" -msgstr "Všechny uživatelské role" - -#: fields/wysiwyg.php:37 -msgid "Wysiwyg Editor" -msgstr "Wysiwyg Editor" - -#: fields/wysiwyg.php:297 -msgid "Visual" -msgstr "Grafika" - -#: fields/wysiwyg.php:298 -msgctxt "Name for the Text editor tab (formerly HTML)" -msgid "Text" -msgstr "Text" - -#: fields/wysiwyg.php:354 -msgid "Tabs" -msgstr "Záložky" - -#: fields/wysiwyg.php:359 -msgid "Visual & Text" -msgstr "Grafika a text" - -#: fields/wysiwyg.php:360 -msgid "Visual Only" -msgstr "Pouze grafika" - -#: fields/wysiwyg.php:361 -msgid "Text Only" -msgstr "Pouze text" - -#: fields/wysiwyg.php:368 -msgid "Toolbar" -msgstr "Lišta nástrojů" - -#: fields/wysiwyg.php:378 -msgid "Show Media Upload Buttons?" -msgstr "Zobrazit tlačítka nahrávání médií?" - -#: forms/post.php:297 pro/admin/options-page.php:373 -msgid "Edit field group" -msgstr "Editovat skupinu polí" - -#: pro/acf-pro.php:24 -msgid "Advanced Custom Fields PRO" -msgstr "Advanced Custom Fields PRO" - -#: pro/acf-pro.php:175 -msgid "Flexible Content requires at least 1 layout" -msgstr "Flexibilní obsah vyžaduje minimálně jedno rozložení obsahu" - -#: pro/admin/options-page.php:48 -msgid "Options Page" -msgstr "Stránka konfigurace" - -#: pro/admin/options-page.php:83 -msgid "No options pages exist" -msgstr "Neexistuje stránka nastavení" - -#: pro/admin/options-page.php:298 -msgid "Options Updated" -msgstr "Nastavení aktualizováno" - -#: pro/admin/options-page.php:304 -msgid "No Custom Field Groups found for this options page. Create a Custom Field Group" -msgstr "Nebyly nalezeny žádné vlastní skupiny polí. Vytvořit vlastní skupinu polí" - -#: pro/admin/settings-updates.php:137 -msgid "Error. Could not connect to update server" -msgstr "Chyba. Nelze se připojit k serveru a aktualizovat" - -#: pro/admin/settings-updates.php:267 pro/admin/settings-updates.php:338 -msgid "Connection Error. Sorry, please try again" -msgstr "Chyba připojení. Omlouváme se, zkuste to znovu" - -#: pro/admin/views/options-page.php:48 -msgid "Publish" -msgstr "Publikovat" - -#: pro/admin/views/options-page.php:54 -msgid "Save Options" -msgstr "Uložit nastavení" - -#: pro/admin/views/settings-updates.php:11 -msgid "Deactivate License" -msgstr "Deaktivujte licenci" - -#: pro/admin/views/settings-updates.php:11 -msgid "Activate License" -msgstr "Aktivujte licenci" - -#: pro/admin/views/settings-updates.php:21 -msgid "License" -msgstr "Licence" - -#: pro/admin/views/settings-updates.php:24 -msgid "" -"To unlock updates, please enter your license key below. If you don't have a licence key, please see" -msgstr "" -"Pro odemčení aktualizací prosím zadejte níže svůj licenční klíč. Pokud nemáte licenční klíč, prosím " -"navštivte" - -#: pro/admin/views/settings-updates.php:24 -msgid "details & pricing" -msgstr "detaily a ceny" - -#: pro/admin/views/settings-updates.php:33 -msgid "License Key" -msgstr "Licenční klíč" - -#: pro/admin/views/settings-updates.php:65 -msgid "Update Information" -msgstr "Aktualizovat informace" - -#: pro/admin/views/settings-updates.php:72 -msgid "Current Version" -msgstr "Současná verze" - -#: pro/admin/views/settings-updates.php:80 -msgid "Latest Version" -msgstr "Nejnovější verze" - -#: pro/admin/views/settings-updates.php:88 -msgid "Update Available" -msgstr "Aktualizace je dostupná" - -#: pro/admin/views/settings-updates.php:96 -msgid "Update Plugin" -msgstr "Aktualizovat plugin" - -#: pro/admin/views/settings-updates.php:98 -msgid "Please enter your license key above to unlock updates" -msgstr "Pro odemčení aktualizací zadejte prosím výše svůj licenční klíč" - -#: pro/admin/views/settings-updates.php:104 -msgid "Check Again" -msgstr "Zkontrolujte znovu" - -#: pro/admin/views/settings-updates.php:121 -msgid "Upgrade Notice" -msgstr "Upozornění na aktualizaci" - -#: pro/api/api-options-page.php:22 pro/api/api-options-page.php:23 -msgid "Options" -msgstr "Konfigurace" - -#: pro/core/updates.php:186 -#, php-format -msgid "" -"To enable updates, please enter your license key on the Updates page. If you don't " -"have a licence key, please see details & pricing" -msgstr "" -"Chcete-li povolit aktualizace, zadejte prosím licenční klíč na stránce Aktualizace. " -"Pokud nemáte licenční klíč, přečtěte si podrobnosti a ceny" - -#: pro/fields/flexible-content.php:36 -msgid "Flexible Content" -msgstr "Flexibilní obsah" - -#: pro/fields/flexible-content.php:42 pro/fields/repeater.php:43 -msgid "Add Row" -msgstr "Přidat řádek" - -#: pro/fields/flexible-content.php:45 -msgid "layout" -msgstr "typ zobrazení" - -#: pro/fields/flexible-content.php:46 -msgid "layouts" -msgstr "typy zobrazení" - -#: pro/fields/flexible-content.php:47 -msgid "remove {layout}?" -msgstr "odstranit {layout}?" - -#: pro/fields/flexible-content.php:48 -msgid "This field requires at least {min} {identifier}" -msgstr "Toto pole vyžaduje alespoň {min} {identifier}" - -#: pro/fields/flexible-content.php:49 -msgid "This field has a limit of {max} {identifier}" -msgstr "Toto pole má limit {max} {identifier}" - -#: pro/fields/flexible-content.php:50 -msgid "This field requires at least {min} {label} {identifier}" -msgstr "Toto pole vyžaduje alespoň {min} {label} {identifier}" - -#: pro/fields/flexible-content.php:51 -msgid "Maximum {label} limit reached ({max} {identifier})" -msgstr "Maximální {label} limit dosažen ({max} {identifier})" - -#: pro/fields/flexible-content.php:52 -msgid "{available} {label} {identifier} available (max {max})" -msgstr "{available} {label} {identifier} dostupný (max {max})" - -#: pro/fields/flexible-content.php:53 -msgid "{required} {label} {identifier} required (min {min})" -msgstr "{required} {label} {identifier} povinný (min {min})" - -#: pro/fields/flexible-content.php:211 -#, php-format -msgid "Click the \"%s\" button below to start creating your layout" -msgstr "Klikněte na tlačítko \"%s\" níže pro vytvoření vlastního typu zobrazení" - -#: pro/fields/flexible-content.php:369 -msgid "Add layout" -msgstr "Přidat typ zobrazení" - -#: pro/fields/flexible-content.php:372 -msgid "Remove layout" -msgstr "Odstranit typ zobrazení" - -#: pro/fields/flexible-content.php:514 -msgid "Reorder Layout" -msgstr "Změnit pořadí typu zobrazení" - -#: pro/fields/flexible-content.php:514 -msgid "Reorder" -msgstr "Změnit pořadí" - -#: pro/fields/flexible-content.php:515 -msgid "Delete Layout" -msgstr "Smazat typ zobrazení" - -#: pro/fields/flexible-content.php:516 -msgid "Duplicate Layout" -msgstr "Duplikovat typ zobrazení" - -#: pro/fields/flexible-content.php:517 -msgid "Add New Layout" -msgstr "Přidat nový typ zobrazení" - -#: pro/fields/flexible-content.php:561 -msgid "Display" -msgstr "Zobrazovat" - -#: pro/fields/flexible-content.php:572 pro/fields/repeater.php:399 -msgid "Table" -msgstr "Tabulka" - -#: pro/fields/flexible-content.php:573 pro/fields/repeater.php:400 -msgid "Block" -msgstr "Blok" - -#: pro/fields/flexible-content.php:574 pro/fields/repeater.php:401 -msgid "Row" -msgstr "Řádek" - -#: pro/fields/flexible-content.php:589 -msgid "Min" -msgstr "Min" - -#: pro/fields/flexible-content.php:602 -msgid "Max" -msgstr "Max" - -#: pro/fields/flexible-content.php:630 pro/fields/repeater.php:408 -msgid "Button Label" -msgstr "Nápis tlačítka" - -#: pro/fields/flexible-content.php:639 -msgid "Minimum Layouts" -msgstr "Minimální rozložení" - -#: pro/fields/flexible-content.php:648 -msgid "Maximum Layouts" -msgstr "Maximální rozložení" - -#: pro/fields/gallery.php:36 -msgid "Gallery" -msgstr "Galerie" - -#: pro/fields/gallery.php:52 -msgid "Add Image to Gallery" -msgstr "Přidat obrázek do galerie" - -#: pro/fields/gallery.php:56 -msgid "Maximum selection reached" -msgstr "Maximální výběr dosažen" - -#: pro/fields/gallery.php:335 -msgid "Length" -msgstr "Délka" - -#: pro/fields/gallery.php:355 -msgid "Remove" -msgstr "Odstranit" - -#: pro/fields/gallery.php:535 -msgid "Add to gallery" -msgstr "Přidat do galerie" - -#: pro/fields/gallery.php:539 -msgid "Bulk actions" -msgstr "Hromadné akce" - -#: pro/fields/gallery.php:540 -msgid "Sort by date uploaded" -msgstr "Řadit dle data nahrání" - -#: pro/fields/gallery.php:541 -msgid "Sort by date modified" -msgstr "Řadit dle data změny" - -#: pro/fields/gallery.php:542 -msgid "Sort by title" -msgstr "Řadit dle názvu" - -#: pro/fields/gallery.php:543 -msgid "Reverse current order" -msgstr "Převrátit aktuální pořadí" - -#: pro/fields/gallery.php:561 -msgid "Close" -msgstr "Zavřít" - -#: pro/fields/gallery.php:619 -msgid "Minimum Selection" -msgstr "Minimální výběr" - -#: pro/fields/gallery.php:628 -msgid "Maximum Selection" -msgstr "Maximální výběr" - -#: pro/fields/gallery.php:809 +#: includes/fields/class-acf-field-relationship.php:808 +#: pro/fields/class-acf-field-gallery.php:815 #, php-format msgid "%s requires at least %s selection" msgid_plural "%s requires at least %s selections" @@ -2431,62 +2395,1144 @@ msgstr[0] "%s vyžaduje alespoň %s volbu" msgstr[1] "%s vyžaduje alespoň %s volby" msgstr[2] "%s vyžaduje alespoň %s voleb" -#: pro/fields/repeater.php:36 -msgid "Repeater" -msgstr "Opakovač" +#: includes/fields/class-acf-field-select.php:25 +#: includes/fields/class-acf-field-taxonomy.php:776 +msgctxt "noun" +msgid "Select" +msgstr "Vybrat" -#: pro/fields/repeater.php:46 +#: includes/fields/class-acf-field-select.php:111 +msgctxt "Select2 JS matches_1" +msgid "One result is available, press enter to select it." +msgstr "" +"Jeden výsledek je k dispozici, stiskněte klávesu enter pro jeho vybrání." + +#: includes/fields/class-acf-field-select.php:112 +#, php-format +msgctxt "Select2 JS matches_n" +msgid "%d results are available, use up and down arrow keys to navigate." +msgstr "%d výsledků je k dispozici, použijte šipky nahoru a dolů pro navigaci." + +#: includes/fields/class-acf-field-select.php:113 +msgctxt "Select2 JS matches_0" +msgid "No matches found" +msgstr "Nebyly nalezeny žádné výsledky" + +#: includes/fields/class-acf-field-select.php:114 +msgctxt "Select2 JS input_too_short_1" +msgid "Please enter 1 or more characters" +msgstr "Prosím zadejte 1 nebo více znaků" + +#: includes/fields/class-acf-field-select.php:115 +#, php-format +msgctxt "Select2 JS input_too_short_n" +msgid "Please enter %d or more characters" +msgstr "Prosím zadejte %d nebo více znaků" + +#: includes/fields/class-acf-field-select.php:116 +msgctxt "Select2 JS input_too_long_1" +msgid "Please delete 1 character" +msgstr "Prosím odstraňte 1 znak" + +#: includes/fields/class-acf-field-select.php:117 +#, php-format +msgctxt "Select2 JS input_too_long_n" +msgid "Please delete %d characters" +msgstr "Prosím odstraňte %d znaků" + +#: includes/fields/class-acf-field-select.php:118 +msgctxt "Select2 JS selection_too_long_1" +msgid "You can only select 1 item" +msgstr "Můžete vybrat pouze 1 položku" + +#: includes/fields/class-acf-field-select.php:119 +#, php-format +msgctxt "Select2 JS selection_too_long_n" +msgid "You can only select %d items" +msgstr "Můžete vybrat pouze %d položek" + +#: includes/fields/class-acf-field-select.php:120 +msgctxt "Select2 JS load_more" +msgid "Loading more results…" +msgstr "Načítání dalších výsledků…" + +#: includes/fields/class-acf-field-select.php:121 +msgctxt "Select2 JS searching" +msgid "Searching…" +msgstr "Vyhledávání…" + +#: includes/fields/class-acf-field-select.php:122 +msgctxt "Select2 JS load_fail" +msgid "Loading failed" +msgstr "Načítání selhalo" + +#: includes/fields/class-acf-field-select.php:397 +#: includes/fields/class-acf-field-true_false.php:144 +msgid "Stylised UI" +msgstr "Stylizované uživatelské rozhraní" + +#: includes/fields/class-acf-field-select.php:407 +msgid "Use AJAX to lazy load choices?" +msgstr "K načtení volby použít AJAX lazy load?" + +#: includes/fields/class-acf-field-select.php:423 +msgid "Specify the value returned" +msgstr "Zadat konkrétní návratovou hodnotu" + +#: includes/fields/class-acf-field-separator.php:25 +msgid "Separator" +msgstr "Oddělovač" + +#: includes/fields/class-acf-field-tab.php:25 +msgid "Tab" +msgstr "Záložka" + +#: includes/fields/class-acf-field-tab.php:102 +msgid "Placement" +msgstr "Umístění" + +#: includes/fields/class-acf-field-tab.php:115 +msgid "" +"Define an endpoint for the previous tabs to stop. This will start a new " +"group of tabs." +msgstr "" +"Definujte koncový bod pro předchozí záložky. Tím se začne nová skupina " +"záložek." + +#: includes/fields/class-acf-field-taxonomy.php:714 +#, php-format +msgctxt "No terms" +msgid "No %s" +msgstr "Nic pro %s" + +#: includes/fields/class-acf-field-taxonomy.php:755 +msgid "Select the taxonomy to be displayed" +msgstr "Zvolit zobrazovanou taxonomii" + +#: includes/fields/class-acf-field-taxonomy.php:764 +msgid "Appearance" +msgstr "Vzhled" + +#: includes/fields/class-acf-field-taxonomy.php:765 +msgid "Select the appearance of this field" +msgstr "Vyberte vzhled tohoto pole" + +#: includes/fields/class-acf-field-taxonomy.php:770 +msgid "Multiple Values" +msgstr "Více hodnot" + +#: includes/fields/class-acf-field-taxonomy.php:772 +msgid "Multi Select" +msgstr "Vícenásobný výběr" + +#: includes/fields/class-acf-field-taxonomy.php:774 +msgid "Single Value" +msgstr "Jednotlivá hodnota" + +#: includes/fields/class-acf-field-taxonomy.php:775 +msgid "Radio Buttons" +msgstr "Radio přepínače" + +#: includes/fields/class-acf-field-taxonomy.php:799 +msgid "Create Terms" +msgstr "Vytvořit pojmy" + +#: includes/fields/class-acf-field-taxonomy.php:800 +msgid "Allow new terms to be created whilst editing" +msgstr "Povolit vytvoření nových pojmů během editace" + +#: includes/fields/class-acf-field-taxonomy.php:809 +msgid "Save Terms" +msgstr "Uložit pojmy" + +#: includes/fields/class-acf-field-taxonomy.php:810 +msgid "Connect selected terms to the post" +msgstr "Připojte vybrané pojmy k příspěvku" + +#: includes/fields/class-acf-field-taxonomy.php:819 +msgid "Load Terms" +msgstr "Nahrát pojmy" + +#: includes/fields/class-acf-field-taxonomy.php:820 +msgid "Load value from posts terms" +msgstr "Nahrát pojmy z příspěvků" + +#: includes/fields/class-acf-field-taxonomy.php:834 +msgid "Term Object" +msgstr "Objekt pojmu" + +#: includes/fields/class-acf-field-taxonomy.php:835 +msgid "Term ID" +msgstr "ID pojmu" + +#: includes/fields/class-acf-field-taxonomy.php:885 +#, php-format +msgid "User unable to add new %s" +msgstr "Uživatel není schopen přidat nové %s" + +#: includes/fields/class-acf-field-taxonomy.php:895 +#, php-format +msgid "%s already exists" +msgstr "%s již existuje" + +#: includes/fields/class-acf-field-taxonomy.php:927 +#, php-format +msgid "%s added" +msgstr "%s přidán" + +#: includes/fields/class-acf-field-taxonomy.php:973 +msgid "Add" +msgstr "Přidat" + +#: includes/fields/class-acf-field-text.php:25 +msgid "Text" +msgstr "Text" + +#: includes/fields/class-acf-field-text.php:155 +#: includes/fields/class-acf-field-textarea.php:120 +msgid "Character Limit" +msgstr "Limit znaků" + +#: includes/fields/class-acf-field-text.php:156 +#: includes/fields/class-acf-field-textarea.php:121 +msgid "Leave blank for no limit" +msgstr "Nechte prázdné pro nastavení bez omezení" + +#: includes/fields/class-acf-field-textarea.php:25 +msgid "Text Area" +msgstr "Textové pole" + +#: includes/fields/class-acf-field-textarea.php:129 +msgid "Rows" +msgstr "Řádky" + +#: includes/fields/class-acf-field-textarea.php:130 +msgid "Sets the textarea height" +msgstr "Nastavuje výšku textového pole" + +#: includes/fields/class-acf-field-time_picker.php:25 +msgid "Time Picker" +msgstr "Výběr času" + +#: includes/fields/class-acf-field-true_false.php:25 +msgid "True / False" +msgstr "Pravda / Nepravda" + +#: includes/fields/class-acf-field-true_false.php:127 +msgid "Displays text alongside the checkbox" +msgstr "Zobrazí text vedle zaškrtávacího políčka" + +#: includes/fields/class-acf-field-true_false.php:155 +msgid "On Text" +msgstr "Text (aktivní)" + +#: includes/fields/class-acf-field-true_false.php:156 +msgid "Text shown when active" +msgstr "Text zobrazený při aktivním poli" + +#: includes/fields/class-acf-field-true_false.php:170 +msgid "Off Text" +msgstr "Text (neaktivní)" + +#: includes/fields/class-acf-field-true_false.php:171 +msgid "Text shown when inactive" +msgstr "Text zobrazený při neaktivním poli" + +#: includes/fields/class-acf-field-url.php:25 +msgid "Url" +msgstr "Adresa URL" + +#: includes/fields/class-acf-field-url.php:151 +msgid "Value must be a valid URL" +msgstr "Hodnota musí být validní adresa URL" + +#: includes/fields/class-acf-field-user.php:25 includes/locations.php:95 +msgid "User" +msgstr "Uživatel" + +#: includes/fields/class-acf-field-user.php:394 +msgid "Filter by role" +msgstr "Filtrovat podle role" + +#: includes/fields/class-acf-field-user.php:402 +msgid "All user roles" +msgstr "Všechny uživatelské role" + +#: includes/fields/class-acf-field-user.php:433 +msgid "User Array" +msgstr "Pole uživatelů" + +#: includes/fields/class-acf-field-user.php:434 +msgid "User Object" +msgstr "Objekt uživatele" + +#: includes/fields/class-acf-field-user.php:435 +msgid "User ID" +msgstr "ID uživatele" + +#: includes/fields/class-acf-field-wysiwyg.php:25 +msgid "Wysiwyg Editor" +msgstr "Wysiwyg Editor" + +#: includes/fields/class-acf-field-wysiwyg.php:330 +msgid "Visual" +msgstr "Grafika" + +#: includes/fields/class-acf-field-wysiwyg.php:331 +msgctxt "Name for the Text editor tab (formerly HTML)" +msgid "Text" +msgstr "Text" + +#: includes/fields/class-acf-field-wysiwyg.php:337 +msgid "Click to initialize TinyMCE" +msgstr "Klikněte pro inicializaci TinyMCE" + +#: includes/fields/class-acf-field-wysiwyg.php:390 +msgid "Tabs" +msgstr "Záložky" + +#: includes/fields/class-acf-field-wysiwyg.php:395 +msgid "Visual & Text" +msgstr "Grafika a text" + +#: includes/fields/class-acf-field-wysiwyg.php:396 +msgid "Visual Only" +msgstr "Pouze grafika" + +#: includes/fields/class-acf-field-wysiwyg.php:397 +msgid "Text Only" +msgstr "Pouze text" + +#: includes/fields/class-acf-field-wysiwyg.php:404 +msgid "Toolbar" +msgstr "Lišta nástrojů" + +#: includes/fields/class-acf-field-wysiwyg.php:419 +msgid "Show Media Upload Buttons?" +msgstr "Zobrazit tlačítka nahrávání médií?" + +#: includes/fields/class-acf-field-wysiwyg.php:429 +msgid "Delay initialization?" +msgstr "Zpoždění inicializace?" + +#: includes/fields/class-acf-field-wysiwyg.php:430 +msgid "TinyMCE will not be initalized until field is clicked" +msgstr "TinyMCE nebude inicializován, dokud nekliknete na pole" + +#: includes/forms/form-comment.php:166 includes/forms/form-post.php:301 +#: pro/admin/admin-options-page.php:308 +msgid "Edit field group" +msgstr "Editovat skupinu polí" + +#: includes/forms/form-front.php:55 +msgid "Validate Email" +msgstr "Ověřit email" + +#: includes/forms/form-front.php:103 pro/fields/class-acf-field-gallery.php:588 +#: pro/options-page.php:81 +msgid "Update" +msgstr "Aktualizace" + +#: includes/forms/form-front.php:104 +msgid "Post updated" +msgstr "Příspěvek aktualizován" + +#: includes/forms/form-front.php:230 +msgid "Spam Detected" +msgstr "Zjištěn spam" + +#: includes/locations.php:93 includes/locations/class-acf-location-post.php:27 +msgid "Post" +msgstr "Příspěvek" + +#: includes/locations.php:94 includes/locations/class-acf-location-page.php:27 +msgid "Page" +msgstr "Stránka" + +#: includes/locations.php:96 +msgid "Forms" +msgstr "Formuláře" + +#: includes/locations.php:243 +msgid "is equal to" +msgstr "je rovno" + +#: includes/locations.php:244 +msgid "is not equal to" +msgstr "není rovno" + +#: includes/locations/class-acf-location-attachment.php:27 +msgid "Attachment" +msgstr "Příloha" + +#: includes/locations/class-acf-location-attachment.php:109 +#, php-format +msgid "All %s formats" +msgstr "Všechny formáty %s" + +#: includes/locations/class-acf-location-comment.php:27 +msgid "Comment" +msgstr "Komentář" + +#: includes/locations/class-acf-location-current-user-role.php:27 +msgid "Current User Role" +msgstr "Aktuální uživatelská role" + +#: includes/locations/class-acf-location-current-user-role.php:110 +msgid "Super Admin" +msgstr "Super Admin" + +#: includes/locations/class-acf-location-current-user.php:27 +msgid "Current User" +msgstr "Aktuální uživatel" + +#: includes/locations/class-acf-location-current-user.php:97 +msgid "Logged in" +msgstr "Přihlášen" + +#: includes/locations/class-acf-location-current-user.php:98 +msgid "Viewing front end" +msgstr "Prohlížíte frontend" + +#: includes/locations/class-acf-location-current-user.php:99 +msgid "Viewing back end" +msgstr "Prohlížíte backend" + +#: includes/locations/class-acf-location-nav-menu-item.php:27 +msgid "Menu Item" +msgstr "Položka nabídky" + +#: includes/locations/class-acf-location-nav-menu.php:27 +msgid "Menu" +msgstr "Nabídka" + +#: includes/locations/class-acf-location-nav-menu.php:109 +msgid "Menu Locations" +msgstr "Umístění nabídky" + +#: includes/locations/class-acf-location-nav-menu.php:119 +msgid "Menus" +msgstr "Nabídky" + +#: includes/locations/class-acf-location-page-parent.php:27 +msgid "Page Parent" +msgstr "Rodičovská stránka" + +#: includes/locations/class-acf-location-page-template.php:27 +msgid "Page Template" +msgstr "Šablona stránky" + +#: includes/locations/class-acf-location-page-template.php:98 +#: includes/locations/class-acf-location-post-template.php:151 +msgid "Default Template" +msgstr "Výchozí šablona" + +#: includes/locations/class-acf-location-page-type.php:27 +msgid "Page Type" +msgstr "Typ stránky" + +#: includes/locations/class-acf-location-page-type.php:146 +msgid "Front Page" +msgstr "Hlavní stránka" + +#: includes/locations/class-acf-location-page-type.php:147 +msgid "Posts Page" +msgstr "Stránka příspěvku" + +#: includes/locations/class-acf-location-page-type.php:148 +msgid "Top Level Page (no parent)" +msgstr "Stránka nejvyšší úrovně (žádný nadřazený)" + +#: includes/locations/class-acf-location-page-type.php:149 +msgid "Parent Page (has children)" +msgstr "Rodičovská stránka (má potomky)" + +#: includes/locations/class-acf-location-page-type.php:150 +msgid "Child Page (has parent)" +msgstr "Podřazená stránka (má rodiče)" + +#: includes/locations/class-acf-location-post-category.php:27 +msgid "Post Category" +msgstr "Rubrika příspěvku" + +#: includes/locations/class-acf-location-post-format.php:27 +msgid "Post Format" +msgstr "Formát příspěvku" + +#: includes/locations/class-acf-location-post-status.php:27 +msgid "Post Status" +msgstr "Stav příspěvku" + +#: includes/locations/class-acf-location-post-taxonomy.php:27 +msgid "Post Taxonomy" +msgstr "Taxonomie příspěvku" + +#: includes/locations/class-acf-location-post-template.php:27 +msgid "Post Template" +msgstr "Šablona příspěvku" + +#: includes/locations/class-acf-location-user-form.php:27 +msgid "User Form" +msgstr "Uživatelský formulář" + +#: includes/locations/class-acf-location-user-form.php:88 +msgid "Add / Edit" +msgstr "Přidat / Editovat" + +#: includes/locations/class-acf-location-user-form.php:89 +msgid "Register" +msgstr "Registrovat" + +#: includes/locations/class-acf-location-user-role.php:27 +msgid "User Role" +msgstr "Uživatelská role" + +#: includes/locations/class-acf-location-widget.php:27 +msgid "Widget" +msgstr "Widget" + +#: includes/validation.php:364 +#, php-format +msgid "%s value is required" +msgstr "%s hodnota je vyžadována" + +#. Plugin Name of the plugin/theme +#: pro/acf-pro.php:28 +msgid "Advanced Custom Fields PRO" +msgstr "Advanced Custom Fields PRO" + +#: pro/admin/admin-options-page.php:200 +msgid "Publish" +msgstr "Publikovat" + +#: pro/admin/admin-options-page.php:206 +#, php-format +msgid "" +"No Custom Field Groups found for this options page. Create a " +"Custom Field Group" +msgstr "" +"Nebyly nalezeny žádné vlastní skupiny polí. Vytvořit vlastní " +"skupinu polí" + +#: pro/admin/admin-settings-updates.php:78 +msgid "Error. Could not connect to update server" +msgstr "Chyba. Nelze se připojit k serveru a aktualizovat" + +#: pro/admin/admin-settings-updates.php:162 +#: pro/admin/views/html-settings-updates.php:13 +msgid "Updates" +msgstr "Aktualizace" + +#: pro/admin/views/html-settings-updates.php:7 +msgid "Deactivate License" +msgstr "Deaktivujte licenci" + +#: pro/admin/views/html-settings-updates.php:7 +msgid "Activate License" +msgstr "Aktivujte licenci" + +#: pro/admin/views/html-settings-updates.php:17 +msgid "License Information" +msgstr "Informace o licenci" + +#: pro/admin/views/html-settings-updates.php:20 +#, php-format +msgid "" +"To unlock updates, please enter your license key below. If you don't have a " +"licence key, please see details & pricing." +msgstr "" +"Chcete-li povolit aktualizace, zadejte prosím licenční klíč. Pokud nemáte " +"licenční klíč, přečtěte si podrobnosti a ceny." + +#: pro/admin/views/html-settings-updates.php:29 +msgid "License Key" +msgstr "Licenční klíč" + +#: pro/admin/views/html-settings-updates.php:61 +msgid "Update Information" +msgstr "Aktualizovat informace" + +#: pro/admin/views/html-settings-updates.php:68 +msgid "Current Version" +msgstr "Současná verze" + +#: pro/admin/views/html-settings-updates.php:76 +msgid "Latest Version" +msgstr "Nejnovější verze" + +#: pro/admin/views/html-settings-updates.php:84 +msgid "Update Available" +msgstr "Aktualizace je dostupná" + +#: pro/admin/views/html-settings-updates.php:92 +msgid "Update Plugin" +msgstr "Aktualizovat plugin" + +#: pro/admin/views/html-settings-updates.php:94 +msgid "Please enter your license key above to unlock updates" +msgstr "Pro odemčení aktualizací zadejte prosím výše svůj licenční klíč" + +#: pro/admin/views/html-settings-updates.php:100 +msgid "Check Again" +msgstr "Zkontrolujte znovu" + +#: pro/admin/views/html-settings-updates.php:117 +msgid "Upgrade Notice" +msgstr "Upozornění na aktualizaci" + +#: pro/fields/class-acf-field-clone.php:25 +msgctxt "noun" +msgid "Clone" +msgstr "Klonovat" + +#: pro/fields/class-acf-field-clone.php:812 +msgid "Select one or more fields you wish to clone" +msgstr "Vyberte jedno nebo více polí, které chcete klonovat" + +#: pro/fields/class-acf-field-clone.php:829 +msgid "Display" +msgstr "Zobrazovat" + +#: pro/fields/class-acf-field-clone.php:830 +msgid "Specify the style used to render the clone field" +msgstr "Určení stylu použitého pro vykreslení klonovaných polí" + +#: pro/fields/class-acf-field-clone.php:835 +msgid "Group (displays selected fields in a group within this field)" +msgstr "Skupina (zobrazuje vybrané pole ve skupině v tomto poli)" + +#: pro/fields/class-acf-field-clone.php:836 +msgid "Seamless (replaces this field with selected fields)" +msgstr "Bezešvé (nahradí toto pole vybranými poli)" + +#: pro/fields/class-acf-field-clone.php:857 +#, php-format +msgid "Labels will be displayed as %s" +msgstr "Štítky budou zobrazeny jako %s" + +#: pro/fields/class-acf-field-clone.php:860 +msgid "Prefix Field Labels" +msgstr "Prefix štítku pole" + +#: pro/fields/class-acf-field-clone.php:871 +#, php-format +msgid "Values will be saved as %s" +msgstr "Hodnoty budou uloženy jako %s" + +#: pro/fields/class-acf-field-clone.php:874 +msgid "Prefix Field Names" +msgstr "Prefix jména pole" + +#: pro/fields/class-acf-field-clone.php:992 +msgid "Unknown field" +msgstr "Neznámé pole" + +#: pro/fields/class-acf-field-clone.php:1031 +msgid "Unknown field group" +msgstr "Skupina neznámých polí" + +#: pro/fields/class-acf-field-clone.php:1035 +#, php-format +msgid "All fields from %s field group" +msgstr "Všechna pole z skupiny polí %s" + +#: pro/fields/class-acf-field-flexible-content.php:31 +#: pro/fields/class-acf-field-repeater.php:193 +#: pro/fields/class-acf-field-repeater.php:463 +msgid "Add Row" +msgstr "Přidat řádek" + +#: pro/fields/class-acf-field-flexible-content.php:73 +#: pro/fields/class-acf-field-flexible-content.php:938 +#: pro/fields/class-acf-field-flexible-content.php:1020 +msgid "layout" +msgid_plural "layouts" +msgstr[0] "typ zobrazení" +msgstr[1] "typ zobrazení" +msgstr[2] "typ zobrazení" + +#: pro/fields/class-acf-field-flexible-content.php:74 +msgid "layouts" +msgstr "typy zobrazení" + +#: pro/fields/class-acf-field-flexible-content.php:77 +#: pro/fields/class-acf-field-flexible-content.php:937 +#: pro/fields/class-acf-field-flexible-content.php:1019 +msgid "This field requires at least {min} {label} {identifier}" +msgstr "Toto pole vyžaduje alespoň {min} {label} {identifier}" + +#: pro/fields/class-acf-field-flexible-content.php:78 +msgid "This field has a limit of {max} {label} {identifier}" +msgstr "Toto pole má limit {max}{label} {identifier}" + +#: pro/fields/class-acf-field-flexible-content.php:81 +msgid "{available} {label} {identifier} available (max {max})" +msgstr "{available} {label} {identifier} dostupný (max {max})" + +#: pro/fields/class-acf-field-flexible-content.php:82 +msgid "{required} {label} {identifier} required (min {min})" +msgstr "{required} {label} {identifier} povinný (min {min})" + +#: pro/fields/class-acf-field-flexible-content.php:85 +msgid "Flexible Content requires at least 1 layout" +msgstr "Flexibilní obsah vyžaduje minimálně jedno rozložení obsahu" + +#: pro/fields/class-acf-field-flexible-content.php:302 +#, php-format +msgid "Click the \"%s\" button below to start creating your layout" +msgstr "" +"Klikněte na tlačítko \"%s\" níže pro vytvoření vlastního typu zobrazení" + +#: pro/fields/class-acf-field-flexible-content.php:427 +msgid "Add layout" +msgstr "Přidat typ zobrazení" + +#: pro/fields/class-acf-field-flexible-content.php:428 +msgid "Remove layout" +msgstr "Odstranit typ zobrazení" + +#: pro/fields/class-acf-field-flexible-content.php:429 +#: pro/fields/class-acf-field-repeater.php:296 +msgid "Click to toggle" +msgstr "Klikněte pro přepnutí" + +#: pro/fields/class-acf-field-flexible-content.php:569 +msgid "Reorder Layout" +msgstr "Změnit pořadí typu zobrazení" + +#: pro/fields/class-acf-field-flexible-content.php:569 +msgid "Reorder" +msgstr "Změnit pořadí" + +#: pro/fields/class-acf-field-flexible-content.php:570 +msgid "Delete Layout" +msgstr "Smazat typ zobrazení" + +#: pro/fields/class-acf-field-flexible-content.php:571 +msgid "Duplicate Layout" +msgstr "Duplikovat typ zobrazení" + +#: pro/fields/class-acf-field-flexible-content.php:572 +msgid "Add New Layout" +msgstr "Přidat nový typ zobrazení" + +#: pro/fields/class-acf-field-flexible-content.php:643 +msgid "Min" +msgstr "Min" + +#: pro/fields/class-acf-field-flexible-content.php:656 +msgid "Max" +msgstr "Max" + +#: pro/fields/class-acf-field-flexible-content.php:683 +#: pro/fields/class-acf-field-repeater.php:459 +msgid "Button Label" +msgstr "Nápis tlačítka" + +#: pro/fields/class-acf-field-flexible-content.php:692 +msgid "Minimum Layouts" +msgstr "Minimální rozložení" + +#: pro/fields/class-acf-field-flexible-content.php:701 +msgid "Maximum Layouts" +msgstr "Maximální rozložení" + +#: pro/fields/class-acf-field-gallery.php:71 +msgid "Add Image to Gallery" +msgstr "Přidat obrázek do galerie" + +#: pro/fields/class-acf-field-gallery.php:72 +msgid "Maximum selection reached" +msgstr "Maximální výběr dosažen" + +#: pro/fields/class-acf-field-gallery.php:336 +msgid "Length" +msgstr "Délka" + +#: pro/fields/class-acf-field-gallery.php:379 +msgid "Caption" +msgstr "Popisek" + +#: pro/fields/class-acf-field-gallery.php:388 +msgid "Alt Text" +msgstr "Alternativní text" + +#: pro/fields/class-acf-field-gallery.php:559 +msgid "Add to gallery" +msgstr "Přidat do galerie" + +#: pro/fields/class-acf-field-gallery.php:563 +msgid "Bulk actions" +msgstr "Hromadné akce" + +#: pro/fields/class-acf-field-gallery.php:564 +msgid "Sort by date uploaded" +msgstr "Řadit dle data nahrání" + +#: pro/fields/class-acf-field-gallery.php:565 +msgid "Sort by date modified" +msgstr "Řadit dle data změny" + +#: pro/fields/class-acf-field-gallery.php:566 +msgid "Sort by title" +msgstr "Řadit dle názvu" + +#: pro/fields/class-acf-field-gallery.php:567 +msgid "Reverse current order" +msgstr "Převrátit aktuální pořadí" + +#: pro/fields/class-acf-field-gallery.php:585 +msgid "Close" +msgstr "Zavřít" + +#: pro/fields/class-acf-field-gallery.php:639 +msgid "Minimum Selection" +msgstr "Minimální výběr" + +#: pro/fields/class-acf-field-gallery.php:648 +msgid "Maximum Selection" +msgstr "Maximální výběr" + +#: pro/fields/class-acf-field-gallery.php:657 +msgid "Insert" +msgstr "Vložit" + +#: pro/fields/class-acf-field-gallery.php:658 +msgid "Specify where new attachments are added" +msgstr "Určete, kde budou přidány nové přílohy" + +#: pro/fields/class-acf-field-gallery.php:662 +msgid "Append to the end" +msgstr "Přidat na konec" + +#: pro/fields/class-acf-field-gallery.php:663 +msgid "Prepend to the beginning" +msgstr "Přidat na začátek" + +#: pro/fields/class-acf-field-repeater.php:65 +#: pro/fields/class-acf-field-repeater.php:656 msgid "Minimum rows reached ({min} rows)" msgstr "Minimální počet řádků dosažen ({min} řádků)" -#: pro/fields/repeater.php:47 +#: pro/fields/class-acf-field-repeater.php:66 msgid "Maximum rows reached ({max} rows)" msgstr "Maximální počet řádků dosažen ({max} řádků)" -#: pro/fields/repeater.php:259 -msgid "Drag to reorder" -msgstr "Přetažením změníte pořadí" - -#: pro/fields/repeater.php:301 +#: pro/fields/class-acf-field-repeater.php:333 msgid "Add row" msgstr "Přidat řádek" -#: pro/fields/repeater.php:302 +#: pro/fields/class-acf-field-repeater.php:334 msgid "Remove row" msgstr "Odebrat řádek" -#: pro/fields/repeater.php:350 -msgid "Sub Fields" -msgstr "Podřazená pole" +#: pro/fields/class-acf-field-repeater.php:412 +msgid "Collapsed" +msgstr "Sbaleno" -#: pro/fields/repeater.php:372 +#: pro/fields/class-acf-field-repeater.php:413 +msgid "Select a sub field to show when row is collapsed" +msgstr "Zvolte dílčí pole, které se zobrazí při sbalení řádku" + +#: pro/fields/class-acf-field-repeater.php:423 msgid "Minimum Rows" msgstr "Minimum řádků" -#: pro/fields/repeater.php:382 +#: pro/fields/class-acf-field-repeater.php:433 msgid "Maximum Rows" msgstr "Maximum řádků" -#. Plugin Name of the plugin/theme -msgid "Advanced Custom Fields Pro" -msgstr "Advanced Custom Fields PRO" +#: pro/locations/class-acf-location-options-page.php:79 +msgid "No options pages exist" +msgstr "Neexistuje stránka nastavení" + +#: pro/options-page.php:51 +msgid "Options" +msgstr "Konfigurace" + +#: pro/options-page.php:82 +msgid "Options Updated" +msgstr "Nastavení aktualizováno" + +#: pro/updates.php:97 +#, php-format +msgid "" +"To enable updates, please enter your license key on the Updates page. If you don't have a licence key, please see details & pricing." +msgstr "" +"Chcete-li povolit aktualizace, zadejte prosím licenční klíč na stránce Aktualizace. Pokud nemáte licenční klíč, přečtěte si podrobnosti a ceny." #. Plugin URI of the plugin/theme -msgid "http://www.advancedcustomfields.com/" -msgstr "http://www.advancedcustomfields.com/" - -#. Description of the plugin/theme -msgid "Customise WordPress with powerful, professional and intuitive fields." -msgstr "Upravte si WordPress pomocí výkonných, profesionálních a intuitivně použitelných polí." +#| msgid "http://www.advancedcustomfields.com/" +msgid "https://www.advancedcustomfields.com/" +msgstr "https://www.advancedcustomfields.com/" #. Author of the plugin/theme -msgid "elliot condon" -msgstr "elliot condon" +#| msgid "elliot condon" +msgid "Elliot Condon" +msgstr "Elliot Condon" #. Author URI of the plugin/theme msgid "http://www.elliotcondon.com/" msgstr "http://www.elliotcondon.com/" +#~ msgid "Disabled" +#~ msgstr "Zakázáno" + +#~ msgid "Disabled (%s)" +#~ msgid_plural "Disabled (%s)" +#~ msgstr[0] "(%s) zakázán" +#~ msgstr[1] "(%s) zakázány" +#~ msgstr[2] "(%s) zakázáno" + +#~ msgid "Parent fields" +#~ msgstr "Rodičovské pole" + +#~ msgid "Sibling fields" +#~ msgstr "Sesterské pole" + +#~ msgid "See what's new in" +#~ msgstr "Co je nového v" + +#~ msgid "version" +#~ msgstr "verze" + +#~ msgid "Getting Started" +#~ msgstr "Začínáme" + +#~ msgid "Field Types" +#~ msgstr "Typy polí" + +#~ msgid "Functions" +#~ msgstr "Funkce" + +#~ msgid "Actions" +#~ msgstr "Akce" + +#~ msgid "'How to' guides" +#~ msgstr "Průvodce \"jak na to\"" + +#~ msgid "Tutorials" +#~ msgstr "Tutoriál" + +#~ msgid "Created by" +#~ msgstr "Vytvořil/a" + +#~ msgid "Success. Import tool added %s field groups: %s" +#~ msgstr "Úspěch. Nástroj pro import přidal %s skupin polí: %s" + +#~ msgid "" +#~ "Warning. Import tool detected %s field groups already exist and " +#~ "have been ignored: %s" +#~ msgstr "" +#~ "Upozornění. Nástroj pro import rozpoznal %s již existujících " +#~ "skupin polí a ty byly ignorovány: %s" + +#~ msgid "Upgrade ACF" +#~ msgstr "Aktualizovat ACF" + +#~ msgid "Upgrade" +#~ msgstr "Aktualizovat" + +#~ msgid "Error" +#~ msgstr "Chyba" + +#~ msgid "Error." +#~ msgstr "Chyba." + +#~ msgid "Drag and drop to reorder" +#~ msgstr "Chytněte a táhněte pro změnu pořadí" + +#~ msgid "Taxonomy Term" +#~ msgstr "Taxonomie" + +#~ msgid "" +#~ "To help make upgrading easy, login to your store account and claim a free copy of ACF PRO!" +#~ msgstr "" +#~ "Pro usnadnění aktualizace se přihlaste do svého obchodu a požádejte o bezplatnou kopii ACF PRO!" + +#~ msgid "Under the Hood" +#~ msgstr "Pod kapotou" + +#~ msgid "Smarter field settings" +#~ msgstr "Chytřejší nastavení pole" + +#~ msgid "ACF now saves its field settings as individual post objects" +#~ msgstr "ACF nyní ukládá nastavení polí jako individuální objekty" + +#~ msgid "Better version control" +#~ msgstr "Lepší verzování" + +#~ msgid "" +#~ "New auto export to JSON feature allows field settings to be version " +#~ "controlled" +#~ msgstr "" +#~ "Nový automatický export do formátu JSON umožňuje, aby nastavení polí bylo " +#~ "verzovatelné" + +#~ msgid "Swapped XML for JSON" +#~ msgstr "XML vyměněno za JSON" + +#~ msgid "Import / Export now uses JSON in favour of XML" +#~ msgstr "Import / Export nyní používá JSON místo XML" + +#~ msgid "A new field for embedding content has been added" +#~ msgstr "Bylo přidáno nové pole pro vkládání obsahu" + +#~ msgid "New Gallery" +#~ msgstr "Nová galerie" + +#~ msgid "The gallery field has undergone a much needed facelift" +#~ msgstr "Pole pro galerii prošlo potřebovaným vylepšením vzhledu" + +#~ msgid "Relationship Field" +#~ msgstr "Vztahová pole" + +#~ msgid "" +#~ "New Relationship field setting for 'Filters' (Search, Post Type, Taxonomy)" +#~ msgstr "" +#~ "Nastavení nových polí pro \"Filtry\" (vyhledávání, typ příspěvku, " +#~ "taxonomie)" + +#~ msgid "New archives group in page_link field selection" +#~ msgstr "Nová skupina archivů v poli pro výběr page_link" + +#~ msgid "Better Options Pages" +#~ msgstr "Vylepšená stránka nastavení" + +#~ msgid "" +#~ "New functions for options page allow creation of both parent and child " +#~ "menu pages" +#~ msgstr "" +#~ "Nové funkce pro stránku nastavení umožňují vytvoření stránek obou " +#~ "rodičovských i podřízených menu" + +#~ msgid "Export Field Groups to PHP" +#~ msgstr "Exportujte skupiny polí do PHP" + +#~ msgid "Download export file" +#~ msgstr "Stáhnout soubor s exportem" + +#~ msgid "Generate export code" +#~ msgstr "Generovat kód pro exportu" + +#~ msgid "Advanced Custom Fields Database Upgrade" +#~ msgstr "Aktualizace databáze Advanced Custom Fields" + +#~ msgid "Upgrading data to" +#~ msgstr "Aktualizace dat na" + +#~ msgid "" +#~ "Before you start using the new awesome features, please update your " +#~ "database to the newest version." +#~ msgstr "" +#~ "Než začnete používat nové úžasné funkce, aktualizujte databázi na " +#~ "nejnovější verzi." + +#~ msgid "See what's new" +#~ msgstr "Podívejte se, co je nového" + +#~ msgid "Show a different month" +#~ msgstr "Zobrazit jiný měsíc" + +#~ msgid "Return format" +#~ msgstr "Formát návratu" + +#~ msgid "uploaded to this post" +#~ msgstr "nahrán k tomuto příspěvku" + +#~ msgid "File Size" +#~ msgstr "Velikost souboru" + +#~ msgid "No File selected" +#~ msgstr "Nebyl vybrán žádný soubor" + +#~ msgid "Locating" +#~ msgstr "Určování polohy" + +#~ msgid "" +#~ "Please note that all text will first be passed through the wp function " +#~ msgstr "" +#~ "Berte prosím na vědomí, že veškerý text musí projít přes funkce " +#~ "wordpressu " + +#~ msgid "No embed found for the given URL." +#~ msgstr "Pro danou adresu URL nebyl nalezen žádný embed." + +#~ msgid "Minimum values reached ( {min} values )" +#~ msgstr "Dosaženo minimálního množství hodnot ( {min} hodnot )" + +#~ msgid "Warning" +#~ msgstr "Varování" + +#~ msgid "" +#~ "The tab field will display incorrectly when added to a Table style " +#~ "repeater field or flexible content field layout" +#~ msgstr "" +#~ "Pole záložky se zobrazí nesprávně, pokud je přidáno do opakovače v " +#~ "tabulkovém stylu nebo do flexibilního pole" + +#~ msgid "" +#~ "Use \"Tab Fields\" to better organize your edit screen by grouping fields " +#~ "together." +#~ msgstr "" +#~ "Chcete-li lépe uspořádat obrazovku úprav, použijte seskupování polí " +#~ "pomocí Záložek." + +#~ msgid "" +#~ "All fields following this \"tab field\" (or until another \"tab field\" " +#~ "is defined) will be grouped together using this field's label as the tab " +#~ "heading." +#~ msgstr "" +#~ "Všechna pole následující po této záložce (až po další záložku nebo konec " +#~ "výpisu) budou seskupena a jako nadpis bude použit štítek záložky." + +#~ msgid "Add new %s " +#~ msgstr "Přidat novou %s " + +#~ msgid "None" +#~ msgstr "Žádný" + +#~ msgid "eg. Show extra content" +#~ msgstr "např. Zobrazit dodatečný obsah" + +#~ msgid "Connection Error. Sorry, please try again" +#~ msgstr "Chyba připojení. Omlouváme se, zkuste to znovu" + +#~ msgid "Save Options" +#~ msgstr "Uložit nastavení" + +#~ msgid "License" +#~ msgstr "Licence" + +#~ msgid "" +#~ "To unlock updates, please enter your license key below. If you don't have " +#~ "a licence key, please see" +#~ msgstr "" +#~ "Pro odemčení aktualizací prosím zadejte níže svůj licenční klíč. Pokud " +#~ "nemáte licenční klíč, prosím navštivte" + +#~ msgid "details & pricing" +#~ msgstr "detaily a ceny" + +#~ msgid "remove {layout}?" +#~ msgstr "odstranit {layout}?" + +#~ msgid "This field requires at least {min} {identifier}" +#~ msgstr "Toto pole vyžaduje alespoň {min} {identifier}" + +#~ msgid "Maximum {label} limit reached ({max} {identifier})" +#~ msgstr "Maximální {label} limit dosažen ({max} {identifier})" + +#~ msgid "Advanced Custom Fields Pro" +#~ msgstr "Advanced Custom Fields Pro" + #~ msgid "Custom field updated." #~ msgstr "Vlastní pole aktualizováno." @@ -2527,10 +3573,11 @@ msgstr "http://www.elliotcondon.com/" #~ msgstr "Žádný metabox" #~ msgid "" -#~ "Read documentation, learn the functions and find some tips & tricks for your next web project." +#~ "Read documentation, learn the functions and find some tips & tricks " +#~ "for your next web project." #~ msgstr "" -#~ "Přečtěte si dokumentaci, naučte se funkce a objevte zajímavé tipy & triky pro váš další webový " -#~ "projekt." +#~ "Přečtěte si dokumentaci, naučte se funkce a objevte zajímavé tipy & " +#~ "triky pro váš další webový projekt." #~ msgid "Visit the ACF website" #~ msgstr "Navštívit web ACF" @@ -2586,9 +3633,12 @@ msgstr "http://www.elliotcondon.com/" #~ msgid "Activate Add-ons." #~ msgstr "Aktivovat přídavky." -#~ msgid "Add-ons can be unlocked by purchasing a license key. Each key can be used on multiple sites." +#~ msgid "" +#~ "Add-ons can be unlocked by purchasing a license key. Each key can be used " +#~ "on multiple sites." #~ msgstr "" -#~ "Přídavky mohou být odemčeny zakoupením licenčního klíče. Každý klíč může být použit na více webech." +#~ "Přídavky mohou být odemčeny zakoupením licenčního klíče. Každý klíč může " +#~ "být použit na více webech." #~ msgid "Find Add-ons" #~ msgstr "Hledat přídavky" @@ -2599,9 +3649,6 @@ msgstr "http://www.elliotcondon.com/" #~ msgid "Repeater Field" #~ msgstr "Opakovací pole" -#~ msgid "Inactive" -#~ msgstr "Neaktivní" - #~ msgid "Deactivate" #~ msgstr "Deaktivovat" @@ -2617,15 +3664,19 @@ msgstr "http://www.elliotcondon.com/" #~ msgid "Export Field Groups to XML" #~ msgstr "Exportovat skupiny polí do XML" -#~ msgid "ACF will create a .xml export file which is compatible with the native WP import plugin." -#~ msgstr "ACF vytvoří soubor .xml exportu, který je kompatibilní s originálním importním pluginem WP." +#~ msgid "" +#~ "ACF will create a .xml export file which is compatible with the native WP " +#~ "import plugin." +#~ msgstr "" +#~ "ACF vytvoří soubor .xml exportu, který je kompatibilní s originálním " +#~ "importním pluginem WP." #~ msgid "" -#~ "Imported field groups will appear in the list of editable field groups. This is useful for " -#~ "migrating fields groups between Wp websites." +#~ "Imported field groups will appear in the list of editable field " +#~ "groups. This is useful for migrating fields groups between Wp websites." #~ msgstr "" -#~ "Importované skupiny polí budou zobrazeny v seznamu upravitelných skupin polí. Toto je " -#~ "užitečné pro přesouvání skupin polí mezi WP weby." +#~ "Importované skupiny polí budou zobrazeny v seznamu upravitelných " +#~ "skupin polí. Toto je užitečné pro přesouvání skupin polí mezi WP weby." #~ msgid "Select field group(s) from the list and click \"Export XML\"" #~ msgstr "Vyberte skupinu(y) polí ze seznamu a klikněte na \"Export XML\"" @@ -2658,20 +3709,23 @@ msgstr "http://www.elliotcondon.com/" #~ msgstr "Registrovat skupiny polí" #~ msgid "" -#~ "Registered field groups will not appear in the list of editable field groups. This is useful " -#~ "for including fields in themes." +#~ "Registered field groups will not appear in the list of editable " +#~ "field groups. This is useful for including fields in themes." #~ msgstr "" -#~ "Registrované skupiny polí nebudou zobrazeny v seznamu upravitelných skupin polí. Toto je " -#~ "užitečné při používání polí v šablonách." +#~ "Registrované skupiny polí nebudou zobrazeny v seznamu " +#~ "upravitelných skupin polí. Toto je užitečné při používání polí v " +#~ "šablonách." #~ msgid "" -#~ "Please note that if you export and register field groups within the same WP, you will see duplicate " -#~ "fields on your edit screens. To fix this, please move the original field group to the trash or " -#~ "remove the code from your functions.php file." +#~ "Please note that if you export and register field groups within the same " +#~ "WP, you will see duplicate fields on your edit screens. To fix this, " +#~ "please move the original field group to the trash or remove the code from " +#~ "your functions.php file." #~ msgstr "" -#~ "Mějte prosím na paměti, že pokud exportujete a registrujete skupiny polí v rámci stejného " -#~ "WordPressu, uvidíte na obrazovkách úprav duplikovaná pole. Pro nápravu prosím přesuňte původní " -#~ "skupinu polí do koše nebo odstraňte kód ze souboru functions.php." +#~ "Mějte prosím na paměti, že pokud exportujete a registrujete skupiny polí " +#~ "v rámci stejného WordPressu, uvidíte na obrazovkách úprav duplikovaná " +#~ "pole. Pro nápravu prosím přesuňte původní skupinu polí do koše nebo " +#~ "odstraňte kód ze souboru functions.php." #~ msgid "Select field group(s) from the list and click \"Create PHP\"" #~ msgstr "Vyberte skupinu(y) polí ze seznamu a klikněte na \"Vytvořit PHP\"" @@ -2682,11 +3736,11 @@ msgstr "http://www.elliotcondon.com/" #~ msgid "Paste into your functions.php file" #~ msgstr "Vložte jej do vašeho souboru functions.php" -#~ msgid "To activate any Add-ons, edit and use the code in the first few lines." -#~ msgstr "K aktivací kteréhokoli přídavku upravte a použijte kód na prvních několika řádcích." - -#~ msgid "Create PHP" -#~ msgstr "Vytvořit PHP" +#~ msgid "" +#~ "To activate any Add-ons, edit and use the code in the first few lines." +#~ msgstr "" +#~ "K aktivací kteréhokoli přídavku upravte a použijte kód na prvních " +#~ "několika řádcích." #~ msgid "Back to settings" #~ msgstr "Zpět na nastavení" @@ -2694,37 +3748,44 @@ msgstr "http://www.elliotcondon.com/" #~ msgid "" #~ "/**\n" #~ " * Activate Add-ons\n" -#~ " * Here you can enter your activation codes to unlock Add-ons to use in your theme. \n" -#~ " * Since all activation codes are multi-site licenses, you are allowed to include your key in " -#~ "premium themes. \n" -#~ " * Use the commented out code to update the database with your activation code. \n" -#~ " * You may place this code inside an IF statement that only runs on theme activation.\n" +#~ " * Here you can enter your activation codes to unlock Add-ons to use in " +#~ "your theme. \n" +#~ " * Since all activation codes are multi-site licenses, you are allowed to " +#~ "include your key in premium themes. \n" +#~ " * Use the commented out code to update the database with your activation " +#~ "code. \n" +#~ " * You may place this code inside an IF statement that only runs on theme " +#~ "activation.\n" #~ " */" #~ msgstr "" #~ "/**\n" #~ " * Aktivovat přídavky\n" -#~ " * Zde můžete vložit váš aktivační kód pro odemčení přídavků k použití ve vaší šabloně. \n" -#~ " * Jelikož jsou všechny aktivační kódy licencovány pro použití na více webech, můžete je použít ve " -#~ "vaší premium šabloně. \n" -#~ " * Použijte zakomentovaný kód pro aktualizaci databáze s vaším aktivačním kódem. \n" -#~ " * Tento kód můžete vložit dovnitř IF konstrukce, která proběhne pouze po aktivaci šablony.\n" +#~ " * Zde můžete vložit váš aktivační kód pro odemčení přídavků k použití ve " +#~ "vaší šabloně. \n" +#~ " * Jelikož jsou všechny aktivační kódy licencovány pro použití na více " +#~ "webech, můžete je použít ve vaší premium šabloně. \n" +#~ " * Použijte zakomentovaný kód pro aktualizaci databáze s vaším aktivačním " +#~ "kódem. \n" +#~ " * Tento kód můžete vložit dovnitř IF konstrukce, která proběhne pouze po " +#~ "aktivaci šablony.\n" #~ " */" #~ msgid "" #~ "/**\n" #~ " * Register field groups\n" -#~ " * The register_field_group function accepts 1 array which holds the relevant data to register a " -#~ "field group\n" -#~ " * You may edit the array as you see fit. However, this may result in errors if the array is not " -#~ "compatible with ACF\n" +#~ " * The register_field_group function accepts 1 array which holds the " +#~ "relevant data to register a field group\n" +#~ " * You may edit the array as you see fit. However, this may result in " +#~ "errors if the array is not compatible with ACF\n" #~ " * This code must run every time the functions.php file is read\n" #~ " */" #~ msgstr "" #~ "/**\n" #~ " * Registrace skupiny polí\n" -#~ " * Funkce register_field_group akceptuje pole, které obsahuje relevatní data k registraci skupiny " -#~ "polí\n" -#~ " * Pole můžete upravit podle potřeb. Může to ovšem vyústit v pole nekompatibilní s ACF\n" +#~ " * Funkce register_field_group akceptuje pole, které obsahuje relevatní " +#~ "data k registraci skupiny polí\n" +#~ " * Pole můžete upravit podle potřeb. Může to ovšem vyústit v pole " +#~ "nekompatibilní s ACF\n" #~ " * Tento kód musí proběhnout při každém čtení souboru functions.php\n" #~ " */" @@ -2770,9 +3831,6 @@ msgstr "http://www.elliotcondon.com/" #~ msgid "blue : Blue" #~ msgstr "modra: Modrá" -#~ msgid "Date format" -#~ msgstr "Formát data" - #~ msgid "eg. dd/mm/yy. read more about" #~ msgstr "např. dd/mm/yy. přečtěte si více" @@ -2800,8 +3858,12 @@ msgstr "http://www.elliotcondon.com/" #~ msgid "Field Order" #~ msgstr "Pořadí pole" -#~ msgid "No fields. Click the \"+ Add Sub Field button\" to create your first field." -#~ msgstr "Žádná pole. Klikněte na tlačítko \"+ Přidat podpole\" pro vytvoření prvního pole." +#~ msgid "" +#~ "No fields. Click the \"+ Add Sub Field button\" to create your first " +#~ "field." +#~ msgstr "" +#~ "Žádná pole. Klikněte na tlačítko \"+ Přidat podpole\" pro vytvoření " +#~ "prvního pole." #~ msgid "Edit this Field" #~ msgstr "Upravit toto pole" @@ -2827,12 +3889,6 @@ msgstr "http://www.elliotcondon.com/" #~ msgid "+ Add Sub Field" #~ msgstr "+ Přidat podpole" -#~ msgid "Alternate Text" -#~ msgstr "Alternativní text" - -#~ msgid "Caption" -#~ msgstr "Popisek" - #~ msgid "Thumbnail is advised" #~ msgstr "Je doporučen náhled" @@ -2933,17 +3989,18 @@ msgstr "http://www.elliotcondon.com/" #~ msgstr "Odemkněte přídavek konfigurace s aktivačním kódem" #~ msgid "Field groups are created in order
              from lowest to highest." -#~ msgstr "Skupiny polí jsou vytvořeny v pořadí
              od nejnižšího k nejvyššímu." +#~ msgstr "" +#~ "Skupiny polí jsou vytvořeny v pořadí
              od nejnižšího k nejvyššímu." #~ msgid "Select items to hide them from the edit screen" #~ msgstr "Vybrat položky pro skrytí z obrazovky úprav" #~ msgid "" -#~ "If multiple field groups appear on an edit screen, the first field group's options will be used. " -#~ "(the one with the lowest order number)" +#~ "If multiple field groups appear on an edit screen, the first field " +#~ "group's options will be used. (the one with the lowest order number)" #~ msgstr "" -#~ "Pokud se na obrazovce úprav objeví několik skupin polí, bude použito nastavení první skupiny. (s " -#~ "nejnižším pořadovým číslem)" +#~ "Pokud se na obrazovce úprav objeví několik skupin polí, bude použito " +#~ "nastavení první skupiny. (s nejnižším pořadovým číslem)" #~ msgid "Everything Fields deactivated" #~ msgstr "Všechna pole deaktivována" @@ -2954,9 +4011,6 @@ msgstr "http://www.elliotcondon.com/" #~ msgid "Navigate to the" #~ msgstr "Běžte na" -#~ msgid "Import Tool" -#~ msgstr "Nástroj importu" - #~ msgid "and select WordPress" #~ msgstr "a vyberte WordPress" @@ -2965,7 +4019,8 @@ msgstr "http://www.elliotcondon.com/" #~ "\t\t\t\tTip: deselect all post types to show all post type's posts" #~ msgstr "" #~ "Filtrovat příspěvky výběrem typu příspěvku
              \n" -#~ "\t\t\t\tTip: zrušte výběr všech typů příspěvku pro zobrazení příspěvků všech typů příspěvků" +#~ "\t\t\t\tTip: zrušte výběr všech typů příspěvku pro zobrazení příspěvků " +#~ "všech typů příspěvků" #~ msgid "Set to -1 for infinite" #~ msgstr "Nastavte na -1 pro nekonečno" diff --git a/lang/acf-fr_FR.mo b/lang/acf-fr_FR.mo index d179d12..47ede8f 100644 Binary files a/lang/acf-fr_FR.mo and b/lang/acf-fr_FR.mo differ diff --git a/lang/acf-fr_FR.po b/lang/acf-fr_FR.po index 26ceb87..ab10e9c 100644 --- a/lang/acf-fr_FR.po +++ b/lang/acf-fr_FR.po @@ -2,16 +2,16 @@ msgid "" msgstr "" "Project-Id-Version: Advanced Custom Fields Pro v5.2.9\n" "Report-Msgid-Bugs-To: http://support.advancedcustomfields.com\n" -"POT-Creation-Date: 2018-02-06 10:08+1000\n" -"PO-Revision-Date: 2018-09-10 13:39-0400\n" -"Last-Translator: David Lapointe \n" +"POT-Creation-Date: 2019-01-02 17:39+0100\n" +"PO-Revision-Date: 2019-01-03 09:13+0100\n" +"Last-Translator: Maxime BERNARD-JACQUET \n" "Language-Team: Dysign \n" "Language: fr_FR\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n > 1);\n" -"X-Generator: Poedit 2.1.1\n" +"X-Generator: Poedit 2.0.4\n" "X-Poedit-SourceCharset: UTF-8\n" "X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;" "esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;" @@ -23,116 +23,114 @@ msgstr "" "X-Poedit-SearchPathExcluded-0: *.js\n" # @ acf -#: acf.php:67 +#: acf.php:80 msgid "Advanced Custom Fields" msgstr "Advanced Custom Fields" # @ acf -#: acf.php:369 includes/admin/admin.php:117 +#: acf.php:381 includes/admin/admin.php:117 msgid "Field Groups" msgstr "Groupes de champs" # @ acf -#: acf.php:370 +#: acf.php:382 msgid "Field Group" msgstr "Groupe de champs" # @ acf -#: acf.php:371 acf.php:403 includes/admin/admin.php:118 -#: pro/fields/class-acf-field-flexible-content.php:559 +#: acf.php:383 acf.php:415 includes/admin/admin.php:118 +#: pro/fields/class-acf-field-flexible-content.php:572 msgid "Add New" msgstr "Ajouter" # @ acf -#: acf.php:372 +#: acf.php:384 msgid "Add New Field Group" msgstr "Nouveau groupe de champs" # @ acf -#: acf.php:373 +#: acf.php:385 msgid "Edit Field Group" msgstr "Modifier le groupe de champs" # @ acf -#: acf.php:374 +#: acf.php:386 msgid "New Field Group" msgstr "Nouveau groupe de champs" # @ default -#: acf.php:375 +#: acf.php:387 msgid "View Field Group" msgstr "Voir le groupe de champs" # @ default -#: acf.php:376 +#: acf.php:388 msgid "Search Field Groups" msgstr "Rechercher un groupe de champs" # @ default -#: acf.php:377 +#: acf.php:389 msgid "No Field Groups found" msgstr "Aucun groupe de champs trouvé" # @ default -#: acf.php:378 +#: acf.php:390 msgid "No Field Groups found in Trash" msgstr "Aucun groupe de champs trouvé dans la corbeille" # @ acf -#: acf.php:401 includes/admin/admin-field-group.php:182 -#: includes/admin/admin-field-group.php:275 -#: includes/admin/admin-field-groups.php:510 +#: acf.php:413 includes/admin/admin-field-group.php:220 +#: includes/admin/admin-field-groups.php:525 #: pro/fields/class-acf-field-clone.php:811 msgid "Fields" msgstr "Champs" # @ acf -#: acf.php:402 +#: acf.php:414 msgid "Field" msgstr "Champ" # @ acf -#: acf.php:404 +#: acf.php:416 msgid "Add New Field" msgstr "Ajouter un champ" # @ acf -#: acf.php:405 +#: acf.php:417 msgid "Edit Field" msgstr "Modifier le champ" # @ acf -#: acf.php:406 includes/admin/views/field-group-fields.php:41 -#: includes/admin/views/settings-info.php:105 +#: acf.php:418 includes/admin/views/field-group-fields.php:41 msgid "New Field" msgstr "Nouveau champ" # @ acf -#: acf.php:407 +#: acf.php:419 msgid "View Field" msgstr "Voir le champ" # @ default -#: acf.php:408 +#: acf.php:420 msgid "Search Fields" msgstr "Rechercher des champs" # @ default -#: acf.php:409 +#: acf.php:421 msgid "No Fields found" msgstr "Aucun champ trouvé" # @ default -#: acf.php:410 +#: acf.php:422 msgid "No Fields found in Trash" msgstr "Aucun champ trouvé dans la corbeille" -#: acf.php:449 includes/admin/admin-field-group.php:390 -#: includes/admin/admin-field-groups.php:567 +#: acf.php:461 includes/admin/admin-field-group.php:402 +#: includes/admin/admin-field-groups.php:582 msgid "Inactive" msgstr "Inactif" -#: acf.php:454 +#: acf.php:466 #, php-format msgid "Inactive (%s)" msgid_plural "Inactive (%s)" @@ -140,147 +138,143 @@ msgstr[0] "Inactif (%s)" msgstr[1] "Inactif (%s)" # @ default -#: includes/admin/admin-field-group.php:68 -#: includes/admin/admin-field-group.php:69 -#: includes/admin/admin-field-group.php:71 +#: includes/admin/admin-field-group.php:86 +#: includes/admin/admin-field-group.php:87 +#: includes/admin/admin-field-group.php:89 msgid "Field group updated." msgstr "Groupe de champs mis à jour." # @ default -#: includes/admin/admin-field-group.php:70 +#: includes/admin/admin-field-group.php:88 msgid "Field group deleted." msgstr "Groupe de champs supprimé." # @ default -#: includes/admin/admin-field-group.php:73 +#: includes/admin/admin-field-group.php:91 msgid "Field group published." msgstr "Groupe de champ publié." # @ default -#: includes/admin/admin-field-group.php:74 +#: includes/admin/admin-field-group.php:92 msgid "Field group saved." msgstr "Groupe de champ enregistré." # @ default -#: includes/admin/admin-field-group.php:75 +#: includes/admin/admin-field-group.php:93 msgid "Field group submitted." msgstr "Groupe de champ enregistré." -#: includes/admin/admin-field-group.php:76 +#: includes/admin/admin-field-group.php:94 msgid "Field group scheduled for." msgstr "Groupe de champs programmé pour." -#: includes/admin/admin-field-group.php:77 +#: includes/admin/admin-field-group.php:95 msgid "Field group draft updated." msgstr "Brouillon du groupe de champs mis à jour." -# @ acf -#: includes/admin/admin-field-group.php:183 -msgid "Location" -msgstr "Assigner ce groupe de champs" +#: includes/admin/admin-field-group.php:171 +msgid "The string \"field_\" may not be used at the start of a field name" +msgstr "Un champ ne peut pas commencer par \"field_\"" -#: includes/admin/admin-field-group.php:184 -#: includes/admin/tools/class-acf-admin-tool-export.php:295 -msgid "Settings" -msgstr "Réglages" - -# @ acf -#: includes/admin/admin-field-group.php:269 -msgid "Move to trash. Are you sure?" -msgstr "Mettre à la corbeille. Êtes-vous sûr ?" - -#: includes/admin/admin-field-group.php:270 -msgid "checked" -msgstr "sélectionné" - -#: includes/admin/admin-field-group.php:271 -msgid "No toggle fields available" -msgstr "Ajoutez d'abord une case à cocher ou un champ sélection" - -# @ default -#: includes/admin/admin-field-group.php:272 -msgid "Field group title is required" -msgstr "Veuillez indiquer un titre pour le groupe de champs" - -#: includes/admin/admin-field-group.php:273 -#: includes/api/api-field-group.php:751 -msgid "copy" -msgstr "copie" - -#: includes/admin/admin-field-group.php:274 -#: includes/admin/views/field-group-field-conditional-logic.php:54 -#: includes/admin/views/field-group-field-conditional-logic.php:154 -#: includes/admin/views/field-group-locations.php:29 -#: includes/admin/views/html-location-group.php:3 -#: includes/api/api-helpers.php:4048 -msgid "or" -msgstr "ou" - -#: includes/admin/admin-field-group.php:276 -msgid "Parent fields" -msgstr "Champs parents" - -#: includes/admin/admin-field-group.php:277 -msgid "Sibling fields" -msgstr "Champs voisins" - -# @ acf -#: includes/admin/admin-field-group.php:278 -msgid "Move Custom Field" -msgstr "Déplacer le champ personnalisé" - -#: includes/admin/admin-field-group.php:279 +#: includes/admin/admin-field-group.php:172 msgid "This field cannot be moved until its changes have been saved" msgstr "" "Ce champ ne peut pas être déplacé tant que ses modifications n'ont pas été " "enregistrées" -#: includes/admin/admin-field-group.php:280 +# @ default +#: includes/admin/admin-field-group.php:173 +msgid "Field group title is required" +msgstr "Veuillez indiquer un titre pour le groupe de champs" + +# @ acf +#: includes/admin/admin-field-group.php:174 +msgid "Move to trash. Are you sure?" +msgstr "Mettre à la corbeille. Êtes-vous sûr ?" + +#: includes/admin/admin-field-group.php:175 +msgid "No toggle fields available" +msgstr "Ajoutez d'abord une case à cocher ou un champ sélection" + +# @ acf +#: includes/admin/admin-field-group.php:176 +msgid "Move Custom Field" +msgstr "Déplacer le champ personnalisé" + +#: includes/admin/admin-field-group.php:177 +msgid "Checked" +msgstr "Coché" + +#: includes/admin/admin-field-group.php:178 includes/api/api-field.php:320 +msgid "(no label)" +msgstr "(aucun libellé)" + +#: includes/admin/admin-field-group.php:179 +msgid "(this field)" +msgstr "(ce champ)" + +#: includes/admin/admin-field-group.php:180 +#: includes/api/api-field-group.php:751 +msgid "copy" +msgstr "copie" + +#: includes/admin/admin-field-group.php:181 +#: includes/admin/views/field-group-field-conditional-logic.php:51 +#: includes/admin/views/field-group-field-conditional-logic.php:151 +#: includes/admin/views/field-group-locations.php:29 +#: includes/admin/views/html-location-group.php:3 +#: includes/api/api-helpers.php:4039 +msgid "or" +msgstr "ou" + +#: includes/admin/admin-field-group.php:182 msgid "Null" msgstr "Vide" -#: includes/admin/admin-field-group.php:281 includes/input.php:258 -msgid "The changes you made will be lost if you navigate away from this page" -msgstr "Les modifications seront perdues si vous quittez cette page" +# @ acf +#: includes/admin/admin-field-group.php:221 +msgid "Location" +msgstr "Assigner ce groupe de champs" -#: includes/admin/admin-field-group.php:282 -msgid "The string \"field_\" may not be used at the start of a field name" -msgstr "Un champ ne peut pas commencer par \"field_\"" +#: includes/admin/admin-field-group.php:222 +#: includes/admin/tools/class-acf-admin-tool-export.php:295 +msgid "Settings" +msgstr "Réglages" -#: includes/admin/admin-field-group.php:360 +#: includes/admin/admin-field-group.php:372 msgid "Field Keys" msgstr "Identifiants des champs" -#: includes/admin/admin-field-group.php:390 +#: includes/admin/admin-field-group.php:402 #: includes/admin/views/field-group-options.php:9 msgid "Active" msgstr "Actif" -#: includes/admin/admin-field-group.php:801 +#: includes/admin/admin-field-group.php:771 msgid "Move Complete." msgstr "Déplacement effectué." -#: includes/admin/admin-field-group.php:802 +#: includes/admin/admin-field-group.php:772 #, php-format msgid "The %s field can now be found in the %s field group" msgstr "Le champ %s a été déplacé dans le groupe %s" # @ acf -#: includes/admin/admin-field-group.php:803 +#: includes/admin/admin-field-group.php:773 msgid "Close Window" msgstr "Fermer la fenêtre" # @ acf -#: includes/admin/admin-field-group.php:844 +#: includes/admin/admin-field-group.php:814 msgid "Please select the destination for this field" msgstr "Choisissez la destination de ce champ" # @ acf -#: includes/admin/admin-field-group.php:851 +#: includes/admin/admin-field-group.php:821 msgid "Move Field" msgstr "Déplacer le champ" -#: includes/admin/admin-field-groups.php:74 +#: includes/admin/admin-field-groups.php:89 #, php-format msgid "Active (%s)" msgid_plural "Active (%s)" @@ -288,13 +282,13 @@ msgstr[0] "Actif (%s)" msgstr[1] "Actifs (%s)" # @ default -#: includes/admin/admin-field-groups.php:142 +#: includes/admin/admin-field-groups.php:157 #, php-format msgid "Field group duplicated. %s" msgstr "Groupe de champs dupliqué. %s" # @ default -#: includes/admin/admin-field-groups.php:146 +#: includes/admin/admin-field-groups.php:161 #, php-format msgid "%s field group duplicated." msgid_plural "%s field groups duplicated." @@ -302,13 +296,13 @@ msgstr[0] "%s groupe dupliqué." msgstr[1] "%s groupes de champs dupliqués." # @ default -#: includes/admin/admin-field-groups.php:227 +#: includes/admin/admin-field-groups.php:242 #, php-format msgid "Field group synchronised. %s" msgstr "Groupe de champs synchronisé. %s" # @ acf -#: includes/admin/admin-field-groups.php:231 +#: includes/admin/admin-field-groups.php:246 #, php-format msgid "%s field group synchronised." msgid_plural "%s field groups synchronised." @@ -316,113 +310,114 @@ msgstr[0] "%s groupe de champs synchronisé." msgstr[1] "%s groupes de champs synchronisés." # @ acf -#: includes/admin/admin-field-groups.php:394 -#: includes/admin/admin-field-groups.php:557 +#: includes/admin/admin-field-groups.php:409 +#: includes/admin/admin-field-groups.php:572 msgid "Sync available" msgstr "Synchronisation disponible" -#: includes/admin/admin-field-groups.php:507 includes/forms/form-front.php:38 -#: pro/fields/class-acf-field-gallery.php:355 +#: includes/admin/admin-field-groups.php:522 includes/forms/form-front.php:38 +#: pro/fields/class-acf-field-gallery.php:372 msgid "Title" msgstr "Titre" # @ acf -#: includes/admin/admin-field-groups.php:508 +#: includes/admin/admin-field-groups.php:523 #: includes/admin/views/field-group-options.php:96 -#: includes/admin/views/install-network.php:21 -#: includes/admin/views/install-network.php:29 -#: pro/fields/class-acf-field-gallery.php:382 +#: includes/admin/views/html-admin-page-upgrade-network.php:38 +#: includes/admin/views/html-admin-page-upgrade-network.php:49 +#: pro/fields/class-acf-field-gallery.php:399 msgid "Description" msgstr "Description" -#: includes/admin/admin-field-groups.php:509 +#: includes/admin/admin-field-groups.php:524 msgid "Status" msgstr "Statut" #. Description of the plugin/theme -#: includes/admin/admin-field-groups.php:607 -msgid "Customise WordPress with powerful, professional and intuitive fields." +#: includes/admin/admin-field-groups.php:622 +msgid "Customize WordPress with powerful, professional and intuitive fields." msgstr "" -"Personnalisez WordPress en ajoutant des champs intuitifs, puissants et " +"Personnalisez WordPress avec des champs intuitifs, puissants et " "professionnels." # @ acf -#: includes/admin/admin-field-groups.php:609 +#: includes/admin/admin-field-groups.php:624 #: includes/admin/settings-info.php:76 #: pro/admin/views/html-settings-updates.php:107 msgid "Changelog" msgstr "Améliorations" -#: includes/admin/admin-field-groups.php:614 +#: includes/admin/admin-field-groups.php:629 #, php-format msgid "See what's new in
              version %s." msgstr "Découvrez les nouveautés de la version %s." # @ acf -#: includes/admin/admin-field-groups.php:617 +#: includes/admin/admin-field-groups.php:632 msgid "Resources" msgstr "Ressources" -#: includes/admin/admin-field-groups.php:619 +#: includes/admin/admin-field-groups.php:634 msgid "Website" msgstr "Site web" -#: includes/admin/admin-field-groups.php:620 +#: includes/admin/admin-field-groups.php:635 msgid "Documentation" msgstr "Documentation" -#: includes/admin/admin-field-groups.php:621 +#: includes/admin/admin-field-groups.php:636 msgid "Support" msgstr "Support" -#: includes/admin/admin-field-groups.php:623 +#: includes/admin/admin-field-groups.php:638 +#: includes/admin/views/settings-info.php:84 msgid "Pro" msgstr "Pro" -#: includes/admin/admin-field-groups.php:628 +#: includes/admin/admin-field-groups.php:643 #, php-format msgid "Thank you for creating with ACF." msgstr "Merci d’utiliser ACF." # @ acf -#: includes/admin/admin-field-groups.php:667 +#: includes/admin/admin-field-groups.php:682 msgid "Duplicate this item" msgstr "Dupliquer cet élément" -#: includes/admin/admin-field-groups.php:667 -#: includes/admin/admin-field-groups.php:683 -#: includes/admin/views/field-group-field.php:49 -#: pro/fields/class-acf-field-flexible-content.php:558 +#: includes/admin/admin-field-groups.php:682 +#: includes/admin/admin-field-groups.php:698 +#: includes/admin/views/field-group-field.php:46 +#: pro/fields/class-acf-field-flexible-content.php:571 msgid "Duplicate" msgstr "Dupliquer" -#: includes/admin/admin-field-groups.php:700 -#: includes/fields/class-acf-field-google-map.php:112 -#: includes/fields/class-acf-field-relationship.php:656 +#: includes/admin/admin-field-groups.php:715 +#: includes/fields/class-acf-field-google-map.php:165 +#: includes/fields/class-acf-field-relationship.php:593 msgid "Search" msgstr "Rechercher" # @ acf -#: includes/admin/admin-field-groups.php:759 +#: includes/admin/admin-field-groups.php:774 #, php-format msgid "Select %s" msgstr "Choisir %s" -#: includes/admin/admin-field-groups.php:767 +#: includes/admin/admin-field-groups.php:782 msgid "Synchronise field group" msgstr "Synchroniser le groupe de champs" -#: includes/admin/admin-field-groups.php:767 -#: includes/admin/admin-field-groups.php:797 +#: includes/admin/admin-field-groups.php:782 +#: includes/admin/admin-field-groups.php:812 msgid "Sync" msgstr "Synchronisation" -#: includes/admin/admin-field-groups.php:779 +#: includes/admin/admin-field-groups.php:794 msgid "Apply" msgstr "Appliquer" # @ acf -#: includes/admin/admin-field-groups.php:797 +#: includes/admin/admin-field-groups.php:812 msgid "Bulk Actions" msgstr "Actions en vrac" @@ -432,29 +427,22 @@ msgid "Tools" msgstr "Outils" # @ acf -#: includes/admin/admin.php:113 -#: includes/admin/views/field-group-options.php:118 -msgid "Custom Fields" -msgstr "ACF" - -# @ acf -#: includes/admin/install-network.php:88 includes/admin/install.php:70 -#: includes/admin/install.php:121 +#: includes/admin/admin-upgrade.php:47 includes/admin/admin-upgrade.php:94 +#: includes/admin/admin-upgrade.php:156 +#: includes/admin/views/html-admin-page-upgrade-network.php:24 +#: includes/admin/views/html-admin-page-upgrade.php:26 msgid "Upgrade Database" msgstr "Mise à niveau de la base de données" -#: includes/admin/install-network.php:140 +#: includes/admin/admin-upgrade.php:180 msgid "Review sites & upgrade" msgstr "Examiner les sites et mettre à niveau" -#: includes/admin/install.php:187 -msgid "Error validating request" -msgstr "Erreur : la requête n’a pas pu être validée" - # @ acf -#: includes/admin/install.php:210 includes/admin/views/install.php:105 -msgid "No updates available." -msgstr "Aucune mise à jour disponible." +#: includes/admin/admin.php:113 +#: includes/admin/views/field-group-options.php:110 +msgid "Custom Fields" +msgstr "ACF" # @ acf #: includes/admin/settings-addons.php:51 @@ -540,6 +528,10 @@ msgstr "" msgid "Copy to clipboard" msgstr "Copier dans le presse-papiers" +#: includes/admin/tools/class-acf-admin-tool-export.php:483 +msgid "Copied" +msgstr "Copié" + # @ acf #: includes/admin/tools/class-acf-admin-tool-import.php:26 msgid "Import Field Groups" @@ -555,7 +547,7 @@ msgstr "" # @ acf #: includes/admin/tools/class-acf-admin-tool-import.php:66 -#: includes/fields/class-acf-field-file.php:35 +#: includes/fields/class-acf-field-file.php:57 msgid "Select File" msgstr "Sélectionner un fichier" @@ -565,7 +557,7 @@ msgstr "Importer le fichier" # @ acf #: includes/admin/tools/class-acf-admin-tool-import.php:100 -#: includes/fields/class-acf-field-file.php:159 +#: includes/fields/class-acf-field-file.php:170 msgid "No file selected" msgstr "Aucun fichier sélectionné" @@ -588,138 +580,128 @@ msgid_plural "Imported %s field groups" msgstr[0] "1 groupe de champs importé" msgstr[1] "%s groupes de champs importés" -#: includes/admin/views/field-group-field-conditional-logic.php:28 +#: includes/admin/views/field-group-field-conditional-logic.php:25 msgid "Conditional Logic" msgstr "Logique conditionnelle" -#: includes/admin/views/field-group-field-conditional-logic.php:54 +#: includes/admin/views/field-group-field-conditional-logic.php:51 msgid "Show this field if" msgstr "Montrer ce champ si" -#: includes/admin/views/field-group-field-conditional-logic.php:103 -#: includes/locations.php:247 -msgid "is equal to" -msgstr "est égal à" - -#: includes/admin/views/field-group-field-conditional-logic.php:104 -#: includes/locations.php:248 -msgid "is not equal to" -msgstr "n‘est pas égal à" - -#: includes/admin/views/field-group-field-conditional-logic.php:141 -#: includes/admin/views/html-location-rule.php:80 +#: includes/admin/views/field-group-field-conditional-logic.php:138 +#: includes/admin/views/html-location-rule.php:86 msgid "and" msgstr "et" # @ acf -#: includes/admin/views/field-group-field-conditional-logic.php:156 +#: includes/admin/views/field-group-field-conditional-logic.php:153 #: includes/admin/views/field-group-locations.php:31 msgid "Add rule group" msgstr "Ajouter une règle" -#: includes/admin/views/field-group-field.php:41 -#: pro/fields/class-acf-field-flexible-content.php:403 -#: pro/fields/class-acf-field-repeater.php:296 +#: includes/admin/views/field-group-field.php:38 +#: pro/fields/class-acf-field-flexible-content.php:424 +#: pro/fields/class-acf-field-repeater.php:294 msgid "Drag to reorder" msgstr "Faites glisser pour réorganiser" # @ acf +#: includes/admin/views/field-group-field.php:42 #: includes/admin/views/field-group-field.php:45 -#: includes/admin/views/field-group-field.php:48 msgid "Edit field" msgstr "Modifier ce champ" # @ acf -#: includes/admin/views/field-group-field.php:48 -#: includes/fields/class-acf-field-file.php:141 -#: includes/fields/class-acf-field-image.php:122 +#: includes/admin/views/field-group-field.php:45 +#: includes/fields/class-acf-field-file.php:152 +#: includes/fields/class-acf-field-image.php:139 #: includes/fields/class-acf-field-link.php:139 -#: pro/fields/class-acf-field-gallery.php:342 +#: pro/fields/class-acf-field-gallery.php:359 msgid "Edit" msgstr "Modifier" # @ acf -#: includes/admin/views/field-group-field.php:49 +#: includes/admin/views/field-group-field.php:46 msgid "Duplicate field" msgstr "Dupliquer ce champ" -#: includes/admin/views/field-group-field.php:50 +#: includes/admin/views/field-group-field.php:47 msgid "Move field to another group" msgstr "Déplacer les champs dans un autre groupe" -#: includes/admin/views/field-group-field.php:50 +#: includes/admin/views/field-group-field.php:47 msgid "Move" msgstr "Déplacer" # @ acf -#: includes/admin/views/field-group-field.php:51 +#: includes/admin/views/field-group-field.php:48 msgid "Delete field" msgstr "Supprimer ce champ" # @ acf -#: includes/admin/views/field-group-field.php:51 -#: pro/fields/class-acf-field-flexible-content.php:557 +#: includes/admin/views/field-group-field.php:48 +#: pro/fields/class-acf-field-flexible-content.php:570 msgid "Delete" msgstr "Supprimer" # @ acf -#: includes/admin/views/field-group-field.php:68 +#: includes/admin/views/field-group-field.php:65 msgid "Field Label" msgstr "Titre du champ" # @ acf -#: includes/admin/views/field-group-field.php:69 +#: includes/admin/views/field-group-field.php:66 msgid "This is the name which will appear on the EDIT page" msgstr "Ce nom apparaîtra sur la page d‘édition" # @ acf -#: includes/admin/views/field-group-field.php:78 +#: includes/admin/views/field-group-field.php:75 msgid "Field Name" msgstr "Nom du champ" # @ acf -#: includes/admin/views/field-group-field.php:79 +#: includes/admin/views/field-group-field.php:76 msgid "Single word, no spaces. Underscores and dashes allowed" msgstr "Un seul mot sans espace.
              Les '_' et '-' sont autorisés" # @ acf -#: includes/admin/views/field-group-field.php:88 +#: includes/admin/views/field-group-field.php:85 msgid "Field Type" msgstr "Type de champ" # @ acf -#: includes/admin/views/field-group-field.php:99 +#: includes/admin/views/field-group-field.php:96 msgid "Instructions" msgstr "Instructions" # @ acf -#: includes/admin/views/field-group-field.php:100 +#: includes/admin/views/field-group-field.php:97 msgid "Instructions for authors. Shown when submitting data" msgstr "Instructions pour les auteurs. Affichées lors de la saisie du contenu" # @ acf -#: includes/admin/views/field-group-field.php:109 +#: includes/admin/views/field-group-field.php:106 msgid "Required?" msgstr "Requis ?" -#: includes/admin/views/field-group-field.php:132 +#: includes/admin/views/field-group-field.php:129 msgid "Wrapper Attributes" msgstr "Attributs" -#: includes/admin/views/field-group-field.php:138 +#: includes/admin/views/field-group-field.php:135 msgid "width" msgstr "largeur" -#: includes/admin/views/field-group-field.php:153 +#: includes/admin/views/field-group-field.php:150 msgid "class" msgstr "classe" -#: includes/admin/views/field-group-field.php:166 +#: includes/admin/views/field-group-field.php:163 msgid "id" msgstr "id" # @ acf -#: includes/admin/views/field-group-field.php:178 +#: includes/admin/views/field-group-field.php:175 msgid "Close Field" msgstr "Fermer le champ" @@ -731,17 +713,17 @@ msgstr "Ordre" # @ acf #: includes/admin/views/field-group-fields.php:5 #: includes/fields/class-acf-field-button-group.php:198 -#: includes/fields/class-acf-field-checkbox.php:415 -#: includes/fields/class-acf-field-radio.php:306 -#: includes/fields/class-acf-field-select.php:432 -#: pro/fields/class-acf-field-flexible-content.php:584 +#: includes/fields/class-acf-field-checkbox.php:420 +#: includes/fields/class-acf-field-radio.php:311 +#: includes/fields/class-acf-field-select.php:433 +#: pro/fields/class-acf-field-flexible-content.php:596 msgid "Label" msgstr "Intitulé" # @ acf #: includes/admin/views/field-group-fields.php:6 -#: includes/fields/class-acf-field-taxonomy.php:964 -#: pro/fields/class-acf-field-flexible-content.php:597 +#: includes/fields/class-acf-field-taxonomy.php:939 +#: pro/fields/class-acf-field-flexible-content.php:610 msgid "Name" msgstr "Nom" @@ -856,18 +838,77 @@ msgid "Shown in field group list" msgstr "Affiché dans la page des groupes de champs ACF" #: includes/admin/views/field-group-options.php:107 +msgid "Permalink" +msgstr "Permalien" + +#: includes/admin/views/field-group-options.php:108 +msgid "Content Editor" +msgstr "L'éditeur visuel (WYSIWYG)" + +#: includes/admin/views/field-group-options.php:109 +msgid "Excerpt" +msgstr "Le résumé (excerpt)" + +#: includes/admin/views/field-group-options.php:111 +msgid "Discussion" +msgstr "Discussion" + +#: includes/admin/views/field-group-options.php:112 +msgid "Comments" +msgstr "Les commentaires" + +#: includes/admin/views/field-group-options.php:113 +msgid "Revisions" +msgstr "Révisions" + +#: includes/admin/views/field-group-options.php:114 +msgid "Slug" +msgstr "Identifiant (slug)" + +#: includes/admin/views/field-group-options.php:115 +msgid "Author" +msgstr "Auteur" + +# @ acf +#: includes/admin/views/field-group-options.php:116 +msgid "Format" +msgstr "Format" + +#: includes/admin/views/field-group-options.php:117 +msgid "Page Attributes" +msgstr "Attributs de la page" + +# @ acf +#: includes/admin/views/field-group-options.php:118 +#: includes/fields/class-acf-field-relationship.php:607 +msgid "Featured Image" +msgstr "Image à la Une" + +#: includes/admin/views/field-group-options.php:119 +msgid "Categories" +msgstr "Catégories" + +#: includes/admin/views/field-group-options.php:120 +msgid "Tags" +msgstr "Mots-clés" + +#: includes/admin/views/field-group-options.php:121 +msgid "Send Trackbacks" +msgstr "Envoyer des Trackbacks" + +#: includes/admin/views/field-group-options.php:128 msgid "Hide on screen" msgstr "Masquer" # @ acf -#: includes/admin/views/field-group-options.php:108 +#: includes/admin/views/field-group-options.php:129 msgid "Select items to hide them from the edit screen." msgstr "" "Cochez les champs que vous souhaitez masquer sur la page " "d‘édition." # @ acf -#: includes/admin/views/field-group-options.php:108 +#: includes/admin/views/field-group-options.php:129 msgid "" "If multiple field groups appear on an edit screen, the first field group's " "options will be used (the one with the lowest order number)" @@ -875,80 +916,7 @@ msgstr "" "Si plusieurs groupes ACF sont présents sur une page d‘édition, le groupe " "portant le numéro le plus bas sera affiché en premier." -#: includes/admin/views/field-group-options.php:115 -msgid "Permalink" -msgstr "Permalien" - -#: includes/admin/views/field-group-options.php:116 -msgid "Content Editor" -msgstr "L'éditeur visuel (WYSIWYG)" - -#: includes/admin/views/field-group-options.php:117 -msgid "Excerpt" -msgstr "Le résumé (excerpt)" - -#: includes/admin/views/field-group-options.php:119 -msgid "Discussion" -msgstr "Discussion" - -#: includes/admin/views/field-group-options.php:120 -msgid "Comments" -msgstr "Les commentaires" - -#: includes/admin/views/field-group-options.php:121 -msgid "Revisions" -msgstr "Révisions" - -#: includes/admin/views/field-group-options.php:122 -msgid "Slug" -msgstr "Identifiant (slug)" - -#: includes/admin/views/field-group-options.php:123 -msgid "Author" -msgstr "Auteur" - -# @ acf -#: includes/admin/views/field-group-options.php:124 -msgid "Format" -msgstr "Format" - -#: includes/admin/views/field-group-options.php:125 -msgid "Page Attributes" -msgstr "Attributs de la page" - -# @ acf -#: includes/admin/views/field-group-options.php:126 -#: includes/fields/class-acf-field-relationship.php:670 -msgid "Featured Image" -msgstr "Image à la Une" - -#: includes/admin/views/field-group-options.php:127 -msgid "Categories" -msgstr "Catégories" - -#: includes/admin/views/field-group-options.php:128 -msgid "Tags" -msgstr "Mots-clés" - -#: includes/admin/views/field-group-options.php:129 -msgid "Send Trackbacks" -msgstr "Envoyer des Trackbacks" - -#: includes/admin/views/html-location-group.php:3 -msgid "Show this field group if" -msgstr "Montrer ce groupe quand" - -#: includes/admin/views/install-network.php:4 -msgid "Upgrade Sites" -msgstr "Mise à niveau des sites" - -# @ acf -#: includes/admin/views/install-network.php:9 -#: includes/admin/views/install.php:3 -msgid "Advanced Custom Fields Database Upgrade" -msgstr "Mise à niveau de la base de données Advanced Custom Fields" - -#: includes/admin/views/install-network.php:11 +#: includes/admin/views/html-admin-page-upgrade-network.php:26 #, php-format msgid "" "The following sites require a DB upgrade. Check the ones you want to update " @@ -957,21 +925,27 @@ msgstr "" "Les sites suivants nécessites une mise à niveau de la base de données. " "Sélectionnez ceux que vous voulez mettre à jour et cliquez sur %s." -#: includes/admin/views/install-network.php:20 -#: includes/admin/views/install-network.php:28 +#: includes/admin/views/html-admin-page-upgrade-network.php:26 +#: includes/admin/views/html-admin-page-upgrade-network.php:27 +#: includes/admin/views/html-admin-page-upgrade-network.php:92 +msgid "Upgrade Sites" +msgstr "Mise à niveau des sites" + +#: includes/admin/views/html-admin-page-upgrade-network.php:36 +#: includes/admin/views/html-admin-page-upgrade-network.php:47 msgid "Site" msgstr "Site" -#: includes/admin/views/install-network.php:48 +#: includes/admin/views/html-admin-page-upgrade-network.php:74 #, php-format msgid "Site requires database upgrade from %s to %s" msgstr "Le site requiert la mise à niveau de la base de %s à %s" -#: includes/admin/views/install-network.php:50 +#: includes/admin/views/html-admin-page-upgrade-network.php:76 msgid "Site is up to date" msgstr "Site à jour" -#: includes/admin/views/install-network.php:63 +#: includes/admin/views/html-admin-page-upgrade-network.php:93 #, php-format msgid "" "Database Upgrade complete. Return to network dashboard" @@ -979,8 +953,12 @@ msgstr "" "Mise à niveau de la base de données effectuée. Retourner au " "panneau d'administration du réseau" -#: includes/admin/views/install-network.php:102 -#: includes/admin/views/install-notice.php:42 +#: includes/admin/views/html-admin-page-upgrade-network.php:113 +msgid "Please select at least one site to upgrade." +msgstr "Merci de sélectionner au moins un site à mettre à niveau." + +#: includes/admin/views/html-admin-page-upgrade-network.php:117 +#: includes/admin/views/html-notice-upgrade.php:38 msgid "" "It is strongly recommended that you backup your database before proceeding. " "Are you sure you wish to run the updater now?" @@ -988,76 +966,95 @@ msgstr "" "Il est fortement recommandé de faire une sauvegarde de votre base de données " "avant de continuer. Êtes-vous sûr de vouloir lancer la migration maintenant ?" -# @ wp3i -#: includes/admin/views/install-network.php:158 -msgid "Upgrade complete" -msgstr "Mise à niveau terminée" - -#: includes/admin/views/install-network.php:162 -#: includes/admin/views/install.php:9 +#: includes/admin/views/html-admin-page-upgrade-network.php:144 +#: includes/admin/views/html-admin-page-upgrade.php:31 #, php-format msgid "Upgrading data to version %s" msgstr "Migration des données vers la version %s" +#: includes/admin/views/html-admin-page-upgrade-network.php:167 +msgid "Upgrade complete." +msgstr "Mise à niveau terminée." + +#: includes/admin/views/html-admin-page-upgrade-network.php:176 +#: includes/admin/views/html-admin-page-upgrade-network.php:185 +#: includes/admin/views/html-admin-page-upgrade.php:78 +#: includes/admin/views/html-admin-page-upgrade.php:87 +msgid "Upgrade failed." +msgstr "Mise à niveau échouée." + +#: includes/admin/views/html-admin-page-upgrade.php:30 +msgid "Reading upgrade tasks..." +msgstr "Lecture des instructions de mise à jour..." + +#: includes/admin/views/html-admin-page-upgrade.php:33 +#, php-format +msgid "Database upgrade complete. See what's new" +msgstr "" +"Mise à niveau de la base de données terminée. Consulter les " +"nouveautés" + # @ acf -#: includes/admin/views/install-notice.php:8 +#: includes/admin/views/html-admin-page-upgrade.php:116 +#: includes/ajax/class-acf-ajax-upgrade.php:33 +msgid "No updates available." +msgstr "Aucune mise à jour disponible." + +#: includes/admin/views/html-admin-tools.php:21 +msgid "Back to all tools" +msgstr "Retour aux outils" + +#: includes/admin/views/html-location-group.php:3 +msgid "Show this field group if" +msgstr "Montrer ce groupe quand" + +# @ acf +#: includes/admin/views/html-notice-upgrade.php:8 #: pro/fields/class-acf-field-repeater.php:25 msgid "Repeater" msgstr "Répéteur" # @ acf -#: includes/admin/views/install-notice.php:9 +#: includes/admin/views/html-notice-upgrade.php:9 #: pro/fields/class-acf-field-flexible-content.php:25 msgid "Flexible Content" msgstr "Contenu flexible" # @ acf -#: includes/admin/views/install-notice.php:10 +#: includes/admin/views/html-notice-upgrade.php:10 #: pro/fields/class-acf-field-gallery.php:25 msgid "Gallery" msgstr "Galerie" # @ acf -#: includes/admin/views/install-notice.php:11 +#: includes/admin/views/html-notice-upgrade.php:11 #: pro/locations/class-acf-location-options-page.php:26 msgid "Options Page" msgstr "Page d‘options" -#: includes/admin/views/install-notice.php:26 +#: includes/admin/views/html-notice-upgrade.php:21 msgid "Database Upgrade Required" msgstr "Mise à jour de la base de données nécessaire" -#: includes/admin/views/install-notice.php:28 +#: includes/admin/views/html-notice-upgrade.php:22 #, php-format msgid "Thank you for updating to %s v%s!" msgstr "Merci d'avoir mis à jour %s v%s !" -#: includes/admin/views/install-notice.php:28 +#: includes/admin/views/html-notice-upgrade.php:22 msgid "" -"Before you start using the new awesome features, please update your database " -"to the newest version." +"This version contains improvements to your database and requires an upgrade." msgstr "" -"Avant d'utiliser ces nouvelles fonctionnalités, il faut mettre à jour la " -"base de données." +"Cette version contient des améliorations de la base de données et nécessite " +"une mise à niveau." -#: includes/admin/views/install-notice.php:31 +#: includes/admin/views/html-notice-upgrade.php:24 #, php-format msgid "" -"Please also ensure any premium add-ons (%s) have first been updated to the " -"latest version." +"Please also check all premium add-ons (%s) are updated to the latest version." msgstr "" -"Merci de vérifier également que tous les add-ons premium (%s) ont bien été " -"mis à jour vers la dernière version." - -#: includes/admin/views/install.php:7 -msgid "Reading upgrade tasks..." -msgstr "Lecture des instructions de mise à jour..." - -#: includes/admin/views/install.php:11 -#, php-format -msgid "Database Upgrade complete. See what's new" -msgstr "" -"Mise à niveau de la base de données terminée. Quoi de neuf" +"Veuillez également vérifier que tous les add-ons premiums (%s) soient à jour " +"avec la dernière version." # @ acf #: includes/admin/views/settings-addons.php:17 @@ -1082,15 +1079,15 @@ msgstr "" "Merci d'avoir mis à jour ! ACF %s est plus performant que jamais. Nous " "espérons que vous l'apprécierez." -#: includes/admin/views/settings-info.php:17 -msgid "A smoother custom field experience" -msgstr "Une expérience des champs personnalisés plus aboutie" +#: includes/admin/views/settings-info.php:15 +msgid "A Smoother Experience" +msgstr "Une expérience plus fluide" -#: includes/admin/views/settings-info.php:22 +#: includes/admin/views/settings-info.php:19 msgid "Improved Usability" msgstr "Convivialité améliorée" -#: includes/admin/views/settings-info.php:23 +#: includes/admin/views/settings-info.php:20 msgid "" "Including the popular Select2 library has improved both usability and speed " "across a number of field types including post object, page link, taxonomy " @@ -1100,11 +1097,11 @@ msgstr "" "l'ergonomie et la vitesse sur plusieurs types de champs dont l'objet " "article, lien vers page, taxonomie, et sélection." -#: includes/admin/views/settings-info.php:27 +#: includes/admin/views/settings-info.php:24 msgid "Improved Design" msgstr "Design amélioré" -#: includes/admin/views/settings-info.php:28 +#: includes/admin/views/settings-info.php:25 msgid "" "Many fields have undergone a visual refresh to make ACF look better than " "ever! Noticeable changes are seen on the gallery, relationship and oEmbed " @@ -1114,11 +1111,11 @@ msgstr "" "son plus beau jour ! Vous apercevrez des améliorations sur la galerie, le " "champ relationnel et le petit nouveau : oembed !" -#: includes/admin/views/settings-info.php:32 +#: includes/admin/views/settings-info.php:29 msgid "Improved Data" msgstr "Données améliorées" -#: includes/admin/views/settings-info.php:33 +#: includes/admin/views/settings-info.php:30 msgid "" "Redesigning the data architecture has allowed sub fields to live " "independently from their parents. This allows you to drag and drop fields in " @@ -1128,21 +1125,21 @@ msgstr "" "sous champs de vivre indépendamment de leurs parents. Cela permet de " "déplacer les champs en dehors de leurs parents !" -#: includes/admin/views/settings-info.php:39 +#: includes/admin/views/settings-info.php:38 msgid "Goodbye Add-ons. Hello PRO" msgstr "Au revoir Add-ons. Bonjour ACF Pro" -#: includes/admin/views/settings-info.php:44 +#: includes/admin/views/settings-info.php:41 msgid "Introducing ACF PRO" msgstr "Nous vous présentons ACF PRO" -#: includes/admin/views/settings-info.php:45 +#: includes/admin/views/settings-info.php:42 msgid "" "We're changing the way premium functionality is delivered in an exciting way!" msgstr "" "Nous avons changé la façon dont les fonctionnalités premium sont délivrées !" -#: includes/admin/views/settings-info.php:46 +#: includes/admin/views/settings-info.php:43 #, php-format msgid "" "All 4 premium add-ons have been combined into a new Pro " @@ -1154,11 +1151,11 @@ msgstr "" "d'ACF. Avec les licences personnelles et développeur disponibles, les " "fonctionnalités premium sont encore plus accessibles que jamais auparavant !" -#: includes/admin/views/settings-info.php:50 +#: includes/admin/views/settings-info.php:47 msgid "Powerful Features" msgstr "Nouvelles fonctionnalités surpuissantes" -#: includes/admin/views/settings-info.php:51 +#: includes/admin/views/settings-info.php:48 msgid "" "ACF PRO contains powerful features such as repeatable data, flexible content " "layouts, a beautiful gallery field and the ability to create extra admin " @@ -1168,302 +1165,439 @@ msgstr "" "répéteurs, les dispositions flexibles, une superbe galerie et la possibilité " "de créer des pages d'options !" -#: includes/admin/views/settings-info.php:52 +#: includes/admin/views/settings-info.php:49 #, php-format msgid "Read more about ACF PRO features." msgstr "" "En savoir plus à propos des fonctionnalités ACF PRO." # @ wp3i -#: includes/admin/views/settings-info.php:56 +#: includes/admin/views/settings-info.php:53 msgid "Easy Upgrading" msgstr "Mise à niveau facile" -#: includes/admin/views/settings-info.php:57 -#, php-format +#: includes/admin/views/settings-info.php:54 msgid "" -"To help make upgrading easy, login to your store account " -"and claim a free copy of ACF PRO!" +"Upgrading to ACF PRO is easy. Simply purchase a license online and download " +"the plugin!" msgstr "" -"Afin de mettre à niveau facilement, Connectez-vous à votre " -"compte ACF en ligne et obtenez une licence gratuite d'ACF PRO !" +"La mise à niveau vers ACF PRO est facile. Achetez simplement une licence en " +"ligne et téléchargez l'extension !" -#: includes/admin/views/settings-info.php:58 +#: includes/admin/views/settings-info.php:55 #, php-format msgid "" "We also wrote an upgrade guide to answer any questions, " "but if you do have one, please contact our support team via the help desk." +msgstr "" +"Nous avons également rédigé un guide de mise à niveau " +"pour répondre aux questions habituelles, mais si vous une question " +"spécifique, veuillez contacter notre équipe de support via le help desk" + +#: includes/admin/views/settings-info.php:64 +msgid "New Features" +msgstr "Nouvelles Fonctionnalités" + +#: includes/admin/views/settings-info.php:69 +msgid "Link Field" +msgstr "Champ Lien" + +#: includes/admin/views/settings-info.php:70 +msgid "" +"The Link field provides a simple way to select or define a link (url, title, " +"target)." msgstr "" -"Nous avons également rédigé un guide de mise à jour pour " -"répondre aux questions fréquentes. Si vous avez une question spécifique, " -"merci de contacter notre équipe le support" +"Le champ Lien permet de sélectionner ou définir un lien en toute simplicité " +"(URL, titre, cible)." -#: includes/admin/views/settings-info.php:66 -msgid "Under the Hood" -msgstr "Changements techniques sous le capot" +#: includes/admin/views/settings-info.php:74 +msgid "Group Field" +msgstr "Champ Groupe" -#: includes/admin/views/settings-info.php:71 -msgid "Smarter field settings" -msgstr "Paramètres de champs plus intelligents" - -#: includes/admin/views/settings-info.php:72 -msgid "ACF now saves its field settings as individual post objects" +#: includes/admin/views/settings-info.php:75 +msgid "The Group field provides a simple way to create a group of fields." msgstr "" -"ACF enregistre désormais les paramètres des champs en tant qu'objets " -"individuels" +"Le champ Groupe permet de créer un groupe de champs en toute simplicité." -#: includes/admin/views/settings-info.php:76 +#: includes/admin/views/settings-info.php:79 +msgid "oEmbed Field" +msgstr "Champ Contenu Embarqué (oEmbed)" + +#: includes/admin/views/settings-info.php:80 +msgid "" +"The oEmbed field allows an easy way to embed videos, images, tweets, audio, " +"and other content." +msgstr "" +"Le champ oEmbed vous permet d'embarquer des vidéos, des images, des tweets, " +"de l'audio ou encore d'autres médias en toute simplicité." + +#: includes/admin/views/settings-info.php:84 +msgid "Clone Field" +msgstr "Champ Clone" + +#: includes/admin/views/settings-info.php:85 +msgid "The clone field allows you to select and display existing fields." +msgstr "" +"Le champ Clone vous permet de sélectionner et afficher des champs existants." + +#: includes/admin/views/settings-info.php:89 msgid "More AJAX" msgstr "Plus d'AJAX" -#: includes/admin/views/settings-info.php:77 -msgid "More fields use AJAX powered search to speed up page loading" +#: includes/admin/views/settings-info.php:90 +msgid "More fields use AJAX powered search to speed up page loading." msgstr "" -"Plus de champs utilisent la recherche via AJAX pour améliorer le temps de " -"chargement des pages" - -#: includes/admin/views/settings-info.php:81 -msgid "Local JSON" -msgstr "JSON local" - -#: includes/admin/views/settings-info.php:82 -msgid "New auto export to JSON feature improves speed" -msgstr "Nouvelles fonctionnalité d'export JSON améliorant la vitesse" - -#: includes/admin/views/settings-info.php:88 -msgid "Better version control" -msgstr "Meilleur contrôle de version" - -#: includes/admin/views/settings-info.php:89 -msgid "" -"New auto export to JSON feature allows field settings to be version " -"controlled" -msgstr "" -"Nouvelle fonctionnalité d'export JSON permettant un contrôle de version des " -"champs" - -#: includes/admin/views/settings-info.php:93 -msgid "Swapped XML for JSON" -msgstr "Abandon de XML au profit de JSON" +"Encore plus de champs utilisent la recherche via AJAX afin d'améliorer le " +"temps de chargement des pages." #: includes/admin/views/settings-info.php:94 -msgid "Import / Export now uses JSON in favour of XML" -msgstr "L'import / export utilise désormais JSON à la place de XML" +msgid "Local JSON" +msgstr "JSON Local" -#: includes/admin/views/settings-info.php:98 -msgid "New Forms" -msgstr "Nouveaux formulaires" +#: includes/admin/views/settings-info.php:95 +msgid "" +"New auto export to JSON feature improves speed and allows for syncronisation." +msgstr "" +"Nouvelle fonctionnalité d'export automatique en JSON qui améliore la " +"rapidité et simplifie la synchronisation. " #: includes/admin/views/settings-info.php:99 -msgid "Fields can now be mapped to comments, widgets and all user forms!" -msgstr "" -"Vous pouvez désormais assigner des champs aux commentaires, widgets et tous " -"les formulaires utilisateurs !" +msgid "Easy Import / Export" +msgstr "Import / Export Facile" -#: includes/admin/views/settings-info.php:106 -msgid "A new field for embedding content has been added" -msgstr "Un nouveau champ pour embarquer du contenu a été ajouté" +#: includes/admin/views/settings-info.php:100 +msgid "Both import and export can easily be done through a new tools page." +msgstr "" +"Les imports et exports de données d'ACF sont encore plus simples à réaliser " +"via notre nouvelle page d'outils." + +#: includes/admin/views/settings-info.php:104 +msgid "New Form Locations" +msgstr "Nouveaux Emplacements de Champs" + +#: includes/admin/views/settings-info.php:105 +msgid "" +"Fields can now be mapped to menus, menu items, comments, widgets and all " +"user forms!" +msgstr "" +"Les champs peuvent désormais être intégrés dans les pages de menus, éléments " +"de menus, commentaires, widgets et tous les formulaires utilisateurs ! " + +#: includes/admin/views/settings-info.php:109 +msgid "More Customization" +msgstr "Encore plus de Personnalisation" #: includes/admin/views/settings-info.php:110 -msgid "New Gallery" -msgstr "Nouvelle galerie" - -#: includes/admin/views/settings-info.php:111 -msgid "The gallery field has undergone a much needed facelift" +msgid "" +"New PHP (and JS) actions and filters have been added to allow for more " +"customization." msgstr "" -"La galerie d'images a subi un lifting qui la rend encore plus agréable à " -"utiliser" +"De nouveaux filtres et actions PHP (et JS) ont été ajoutés afin de vous " +"permettre plus de personnalisation." + +#: includes/admin/views/settings-info.php:114 +msgid "Fresh UI" +msgstr "Interface Améliorée" #: includes/admin/views/settings-info.php:115 +msgid "" +"The entire plugin has had a design refresh including new field types, " +"settings and design!" +msgstr "" +"Toute l'extension a été améliorée et inclut de nouveaux types de champs, " +"réglages ainsi qu'un nouveau design !" + +#: includes/admin/views/settings-info.php:119 msgid "New Settings" msgstr "Nouveaux paramètres" -#: includes/admin/views/settings-info.php:116 +#: includes/admin/views/settings-info.php:120 msgid "" -"Field group settings have been added for label placement and instruction " -"placement" +"Field group settings have been added for Active, Label Placement, " +"Instructions Placement and Description." msgstr "" -"De nouveaux paramètres permettent de choisir la position de l'intitulé et " -"des instructions" +"De nouveaux réglages font leur apparition dans les groupes de champs avec " +"notamment les options : Actif, emplacement du libellé, emplacement des " +"instructions et de la description." -#: includes/admin/views/settings-info.php:122 +#: includes/admin/views/settings-info.php:124 msgid "Better Front End Forms" -msgstr "De meilleurs formulaires" +msgstr "De meilleurs formulaires côté public" -#: includes/admin/views/settings-info.php:123 -msgid "acf_form() can now create a new post on submission" +#: includes/admin/views/settings-info.php:125 +msgid "" +"acf_form() can now create a new post on submission with lots of new settings." msgstr "" -"acf_form() peut désormais créer un nouvel article lors de l'enregistrement" +"acf_form() peut maintenant créer une nouvelle publication lors de la " +"soumission et propose de nombreux réglages." -#: includes/admin/views/settings-info.php:127 +#: includes/admin/views/settings-info.php:129 msgid "Better Validation" msgstr "Meilleure validation" -#: includes/admin/views/settings-info.php:128 -msgid "Form validation is now done via PHP + AJAX in favour of only JS" +#: includes/admin/views/settings-info.php:130 +msgid "Form validation is now done via PHP + AJAX in favour of only JS." msgstr "" -"La validation des formulaires est désormais effectuée via PHP + AJAX au lieu " -"d'être simplement faite en JS" +"La validation des formulaires est maintenant faite via PHP + AJAX au lieu " +"d'être seulement faite en JS." # @ acf -#: includes/admin/views/settings-info.php:132 -msgid "Relationship Field" -msgstr "Champ relationnel" - -#: includes/admin/views/settings-info.php:133 -msgid "" -"New Relationship field setting for 'Filters' (Search, Post Type, Taxonomy)" -msgstr "" -"Nouveau paramètre de filtres (recherche, type de publication, taxonomie) " -"pour le champ relationnel" - -# @ acf -#: includes/admin/views/settings-info.php:139 +#: includes/admin/views/settings-info.php:134 msgid "Moving Fields" -msgstr "Champs déplaçables" +msgstr "Champs amovibles" -#: includes/admin/views/settings-info.php:140 +#: includes/admin/views/settings-info.php:135 msgid "" "New field group functionality allows you to move a field between groups & " -"parents" +"parents." msgstr "" -"Nouvelle fonctionnalité dans les groupes de champs permettant de déplacer un " -"champ dans un autre groupe ou vers les parents" +"La nouvelle fonctionnalité Groupe de Champ vous permet de déplacer un champ " +"entre différents groupes et parents." -# @ acf -#: includes/admin/views/settings-info.php:144 -#: includes/fields/class-acf-field-page_link.php:25 -msgid "Page Link" -msgstr "Lien vers page ou article" - -#: includes/admin/views/settings-info.php:145 -msgid "New archives group in page_link field selection" -msgstr "" -"Il est désormais possible de faire un lien vers les archives du blog ou d'un " -"type de publication avec le champ Lien vers une page ou un article" - -# @ acf -#: includes/admin/views/settings-info.php:149 -msgid "Better Options Pages" -msgstr "Des pages d'options encore plus abouties" - -#: includes/admin/views/settings-info.php:150 -msgid "" -"New functions for options page allow creation of both parent and child menu " -"pages" -msgstr "" -"Nouvelles fonctions pour les pages d'options vous permettant la création de " -"pages parents/enfants" - -#: includes/admin/views/settings-info.php:159 +#: includes/admin/views/settings-info.php:146 #, php-format msgid "We think you'll love the changes in %s." msgstr "" "Nous pensons que vous allez adorer les nouveautés présentées dans la version " "%s." -#: includes/api/api-helpers.php:947 +#: includes/api/api-helpers.php:1046 msgid "Thumbnail" msgstr "Miniature" -#: includes/api/api-helpers.php:948 +#: includes/api/api-helpers.php:1047 msgid "Medium" msgstr "Moyen" -#: includes/api/api-helpers.php:949 +#: includes/api/api-helpers.php:1048 msgid "Large" msgstr "Grande" -#: includes/api/api-helpers.php:998 +#: includes/api/api-helpers.php:1097 msgid "Full Size" msgstr "Taille originale" # @ acf -#: includes/api/api-helpers.php:1339 includes/api/api-helpers.php:1912 +#: includes/api/api-helpers.php:1872 includes/api/api-term.php:147 #: pro/fields/class-acf-field-clone.php:996 msgid "(no title)" msgstr "(aucun titre)" -#: includes/api/api-helpers.php:3969 +#: includes/api/api-helpers.php:3960 #, php-format msgid "Image width must be at least %dpx." msgstr "L'image doit mesurer au moins %dpx de largeur." -#: includes/api/api-helpers.php:3974 +#: includes/api/api-helpers.php:3965 #, php-format msgid "Image width must not exceed %dpx." msgstr "L'image ne doit pas dépasser %dpx de largeur." -#: includes/api/api-helpers.php:3990 +#: includes/api/api-helpers.php:3981 #, php-format msgid "Image height must be at least %dpx." msgstr "L'image doit mesurer au moins %dpx de hauteur." -#: includes/api/api-helpers.php:3995 +#: includes/api/api-helpers.php:3986 #, php-format msgid "Image height must not exceed %dpx." msgstr "L'image ne doit pas dépasser %dpx de hauteur." -#: includes/api/api-helpers.php:4013 +#: includes/api/api-helpers.php:4004 #, php-format msgid "File size must be at least %s." msgstr "Le poids de l'image doit être d'au moins %s." -#: includes/api/api-helpers.php:4018 +#: includes/api/api-helpers.php:4009 #, php-format msgid "File size must must not exceed %s." msgstr "Le poids de l'image ne peut pas dépasser %s." # @ acf -#: includes/api/api-helpers.php:4052 +#: includes/api/api-helpers.php:4043 #, php-format msgid "File type must be %s." msgstr "Le type de fichier doit être %s." -#: includes/fields.php:144 +#: includes/assets.php:168 +msgid "The changes you made will be lost if you navigate away from this page" +msgstr "Les modifications seront perdues si vous quittez cette page" + +#: includes/assets.php:171 includes/fields/class-acf-field-select.php:259 +msgctxt "verb" +msgid "Select" +msgstr "Choisir" + +#: includes/assets.php:172 +msgctxt "verb" +msgid "Edit" +msgstr "Éditer" + +#: includes/assets.php:173 +msgctxt "verb" +msgid "Update" +msgstr "Mettre à jour" + +#: includes/assets.php:174 +msgid "Uploaded to this post" +msgstr "Liés à cette publication" + +#: includes/assets.php:175 +msgid "Expand Details" +msgstr "Afficher les détails" + +#: includes/assets.php:176 +msgid "Collapse Details" +msgstr "Masquer les détails" + +#: includes/assets.php:177 +msgid "Restricted" +msgstr "Limité" + +# @ acf +#: includes/assets.php:178 includes/fields/class-acf-field-image.php:67 +msgid "All images" +msgstr "Toutes les images" + +#: includes/assets.php:181 +msgid "Validation successful" +msgstr "Validé avec succès" + +#: includes/assets.php:182 includes/validation.php:285 +#: includes/validation.php:296 +msgid "Validation failed" +msgstr "Échec de la validation" + +#: includes/assets.php:183 +msgid "1 field requires attention" +msgstr "1 champ requiert votre attention" + +#: includes/assets.php:184 +#, php-format +msgid "%d fields require attention" +msgstr "%d champs requièrent votre attention" + +# @ acf +#: includes/assets.php:187 +msgid "Are you sure?" +msgstr "Êtes-vous sûr ?" + +#: includes/assets.php:188 includes/fields/class-acf-field-true_false.php:79 +#: includes/fields/class-acf-field-true_false.php:159 +#: pro/admin/views/html-settings-updates.php:89 +msgid "Yes" +msgstr "Oui" + +#: includes/assets.php:189 includes/fields/class-acf-field-true_false.php:80 +#: includes/fields/class-acf-field-true_false.php:174 +#: pro/admin/views/html-settings-updates.php:99 +msgid "No" +msgstr "Non" + +# @ acf +#: includes/assets.php:190 includes/fields/class-acf-field-file.php:154 +#: includes/fields/class-acf-field-image.php:141 +#: includes/fields/class-acf-field-link.php:140 +#: pro/fields/class-acf-field-gallery.php:360 +#: pro/fields/class-acf-field-gallery.php:549 +msgid "Remove" +msgstr "Enlever" + +#: includes/assets.php:191 +msgid "Cancel" +msgstr "Annuler" + +#: includes/assets.php:194 +msgid "Has any value" +msgstr "A n'importe quelle valeur" + +#: includes/assets.php:195 +msgid "Has no value" +msgstr "N'a pas de valeur" + +#: includes/assets.php:196 +msgid "Value is equal to" +msgstr "La valeur est égale à" + +#: includes/assets.php:197 +msgid "Value is not equal to" +msgstr "La valeur est différente de" + +#: includes/assets.php:198 +msgid "Value matches pattern" +msgstr "La valeur correspond au modèle" + +#: includes/assets.php:199 +msgid "Value contains" +msgstr "La valeur contient" + +#: includes/assets.php:200 +msgid "Value is greater than" +msgstr "La valeur est supérieure à" + +#: includes/assets.php:201 +msgid "Value is less than" +msgstr "La valeur est inférieure à" + +#: includes/assets.php:202 +msgid "Selection is greater than" +msgstr "La sélection est supérieure à" + +#: includes/assets.php:203 +msgid "Selection is less than" +msgstr "La sélection est inférieure à" + +# @ acf +#: includes/assets.php:206 includes/forms/form-comment.php:166 +#: pro/admin/admin-options-page.php:327 +msgid "Edit field group" +msgstr "Modifier le groupe de champs" + +# @ acf +#: includes/fields.php:308 +msgid "Field type does not exist" +msgstr "Ce type de champ n‘existe pas" + +#: includes/fields.php:308 +msgid "Unknown" +msgstr "Inconnu" + +#: includes/fields.php:349 msgid "Basic" msgstr "Champs basiques" -#: includes/fields.php:145 includes/forms/form-front.php:47 +#: includes/fields.php:350 includes/forms/form-front.php:47 msgid "Content" msgstr "Contenu" # @ acf -#: includes/fields.php:146 +#: includes/fields.php:351 msgid "Choice" msgstr "Choix" # @ acf -#: includes/fields.php:147 +#: includes/fields.php:352 msgid "Relational" msgstr "Relationnel" -#: includes/fields.php:148 +#: includes/fields.php:353 msgid "jQuery" msgstr "jQuery" # @ acf -#: includes/fields.php:149 includes/fields/class-acf-field-button-group.php:177 -#: includes/fields/class-acf-field-checkbox.php:384 +#: includes/fields.php:354 includes/fields/class-acf-field-button-group.php:177 +#: includes/fields/class-acf-field-checkbox.php:389 #: includes/fields/class-acf-field-group.php:474 -#: includes/fields/class-acf-field-radio.php:285 +#: includes/fields/class-acf-field-radio.php:290 #: pro/fields/class-acf-field-clone.php:843 -#: pro/fields/class-acf-field-flexible-content.php:554 -#: pro/fields/class-acf-field-flexible-content.php:603 -#: pro/fields/class-acf-field-repeater.php:450 +#: pro/fields/class-acf-field-flexible-content.php:567 +#: pro/fields/class-acf-field-flexible-content.php:616 +#: pro/fields/class-acf-field-repeater.php:443 msgid "Layout" msgstr "Disposition" -# @ acf -#: includes/fields.php:326 -msgid "Field type does not exist" -msgstr "Ce type de champ n‘existe pas" - -#: includes/fields.php:326 -msgid "Unknown" -msgstr "Inconnu" - #: includes/fields/class-acf-field-accordion.php:24 msgid "Accordion" msgstr "Accordéon" @@ -1505,21 +1639,21 @@ msgstr "Groupe de boutons" #: includes/fields/class-acf-field-button-group.php:149 #: includes/fields/class-acf-field-checkbox.php:344 #: includes/fields/class-acf-field-radio.php:235 -#: includes/fields/class-acf-field-select.php:368 +#: includes/fields/class-acf-field-select.php:364 msgid "Choices" msgstr "Choix" #: includes/fields/class-acf-field-button-group.php:150 #: includes/fields/class-acf-field-checkbox.php:345 #: includes/fields/class-acf-field-radio.php:236 -#: includes/fields/class-acf-field-select.php:369 +#: includes/fields/class-acf-field-select.php:365 msgid "Enter each choice on a new line." msgstr "Indiquez une valeur par ligne." #: includes/fields/class-acf-field-button-group.php:150 #: includes/fields/class-acf-field-checkbox.php:345 #: includes/fields/class-acf-field-radio.php:236 -#: includes/fields/class-acf-field-select.php:369 +#: includes/fields/class-acf-field-select.php:365 msgid "For more control, you may specify both a value and label like this:" msgstr "" "Pour un contrôle plus poussé, vous pouvez spécifier la valeur et le libellé " @@ -1528,99 +1662,99 @@ msgstr "" #: includes/fields/class-acf-field-button-group.php:150 #: includes/fields/class-acf-field-checkbox.php:345 #: includes/fields/class-acf-field-radio.php:236 -#: includes/fields/class-acf-field-select.php:369 +#: includes/fields/class-acf-field-select.php:365 msgid "red : Red" msgstr "rouge : Rouge" # @ acf #: includes/fields/class-acf-field-button-group.php:158 #: includes/fields/class-acf-field-page_link.php:513 -#: includes/fields/class-acf-field-post_object.php:412 +#: includes/fields/class-acf-field-post_object.php:411 #: includes/fields/class-acf-field-radio.php:244 -#: includes/fields/class-acf-field-select.php:386 -#: includes/fields/class-acf-field-taxonomy.php:793 -#: includes/fields/class-acf-field-user.php:408 +#: includes/fields/class-acf-field-select.php:382 +#: includes/fields/class-acf-field-taxonomy.php:784 +#: includes/fields/class-acf-field-user.php:405 msgid "Allow Null?" msgstr "Autoriser une valeur vide ?" # @ acf #: includes/fields/class-acf-field-button-group.php:168 -#: includes/fields/class-acf-field-checkbox.php:375 +#: includes/fields/class-acf-field-checkbox.php:380 #: includes/fields/class-acf-field-color_picker.php:131 #: includes/fields/class-acf-field-email.php:118 #: includes/fields/class-acf-field-number.php:127 -#: includes/fields/class-acf-field-radio.php:276 -#: includes/fields/class-acf-field-range.php:148 -#: includes/fields/class-acf-field-select.php:377 +#: includes/fields/class-acf-field-radio.php:281 +#: includes/fields/class-acf-field-range.php:149 +#: includes/fields/class-acf-field-select.php:373 #: includes/fields/class-acf-field-text.php:119 #: includes/fields/class-acf-field-textarea.php:102 #: includes/fields/class-acf-field-true_false.php:135 #: includes/fields/class-acf-field-url.php:100 -#: includes/fields/class-acf-field-wysiwyg.php:410 +#: includes/fields/class-acf-field-wysiwyg.php:381 msgid "Default Value" msgstr "Valeur par défaut" #: includes/fields/class-acf-field-button-group.php:169 #: includes/fields/class-acf-field-email.php:119 #: includes/fields/class-acf-field-number.php:128 -#: includes/fields/class-acf-field-radio.php:277 -#: includes/fields/class-acf-field-range.php:149 +#: includes/fields/class-acf-field-radio.php:282 +#: includes/fields/class-acf-field-range.php:150 #: includes/fields/class-acf-field-text.php:120 #: includes/fields/class-acf-field-textarea.php:103 #: includes/fields/class-acf-field-url.php:101 -#: includes/fields/class-acf-field-wysiwyg.php:411 +#: includes/fields/class-acf-field-wysiwyg.php:382 msgid "Appears when creating a new post" msgstr "Valeur affichée à la création d'un article" #: includes/fields/class-acf-field-button-group.php:183 -#: includes/fields/class-acf-field-checkbox.php:391 -#: includes/fields/class-acf-field-radio.php:292 +#: includes/fields/class-acf-field-checkbox.php:396 +#: includes/fields/class-acf-field-radio.php:297 msgid "Horizontal" msgstr "Horizontal" #: includes/fields/class-acf-field-button-group.php:184 -#: includes/fields/class-acf-field-checkbox.php:390 -#: includes/fields/class-acf-field-radio.php:291 +#: includes/fields/class-acf-field-checkbox.php:395 +#: includes/fields/class-acf-field-radio.php:296 msgid "Vertical" msgstr "Vertical" # @ acf #: includes/fields/class-acf-field-button-group.php:191 -#: includes/fields/class-acf-field-checkbox.php:408 -#: includes/fields/class-acf-field-file.php:204 -#: includes/fields/class-acf-field-image.php:188 +#: includes/fields/class-acf-field-checkbox.php:413 +#: includes/fields/class-acf-field-file.php:215 +#: includes/fields/class-acf-field-image.php:205 #: includes/fields/class-acf-field-link.php:166 -#: includes/fields/class-acf-field-radio.php:299 -#: includes/fields/class-acf-field-taxonomy.php:833 +#: includes/fields/class-acf-field-radio.php:304 +#: includes/fields/class-acf-field-taxonomy.php:829 msgid "Return Value" msgstr "Valeur affichée dans le template" #: includes/fields/class-acf-field-button-group.php:192 -#: includes/fields/class-acf-field-checkbox.php:409 -#: includes/fields/class-acf-field-file.php:205 -#: includes/fields/class-acf-field-image.php:189 +#: includes/fields/class-acf-field-checkbox.php:414 +#: includes/fields/class-acf-field-file.php:216 +#: includes/fields/class-acf-field-image.php:206 #: includes/fields/class-acf-field-link.php:167 -#: includes/fields/class-acf-field-radio.php:300 +#: includes/fields/class-acf-field-radio.php:305 msgid "Specify the returned value on front end" msgstr "Spécifier la valeur retournée sur le site" #: includes/fields/class-acf-field-button-group.php:197 -#: includes/fields/class-acf-field-checkbox.php:414 -#: includes/fields/class-acf-field-radio.php:305 -#: includes/fields/class-acf-field-select.php:431 +#: includes/fields/class-acf-field-checkbox.php:419 +#: includes/fields/class-acf-field-radio.php:310 +#: includes/fields/class-acf-field-select.php:432 msgid "Value" msgstr "Valeur" #: includes/fields/class-acf-field-button-group.php:199 -#: includes/fields/class-acf-field-checkbox.php:416 -#: includes/fields/class-acf-field-radio.php:307 -#: includes/fields/class-acf-field-select.php:433 +#: includes/fields/class-acf-field-checkbox.php:421 +#: includes/fields/class-acf-field-radio.php:312 +#: includes/fields/class-acf-field-select.php:434 msgid "Both (Array)" msgstr "Les deux (tableau)" # @ acf #: includes/fields/class-acf-field-checkbox.php:25 -#: includes/fields/class-acf-field-taxonomy.php:780 +#: includes/fields/class-acf-field-taxonomy.php:771 msgid "Checkbox" msgstr "Case à cocher" @@ -1648,16 +1782,16 @@ msgstr "Enregistrer la valeur personnalisée" msgid "Save 'custom' values to the field's choices" msgstr "Enregistre la valeur personnalisée dans les choix du champs" -#: includes/fields/class-acf-field-checkbox.php:376 -#: includes/fields/class-acf-field-select.php:378 +#: includes/fields/class-acf-field-checkbox.php:381 +#: includes/fields/class-acf-field-select.php:374 msgid "Enter each default value on a new line" msgstr "Entrez chaque valeur par défaut sur une nouvelle ligne" -#: includes/fields/class-acf-field-checkbox.php:398 +#: includes/fields/class-acf-field-checkbox.php:403 msgid "Toggle" msgstr "Masquer/afficher" -#: includes/fields/class-acf-field-checkbox.php:399 +#: includes/fields/class-acf-field-checkbox.php:404 msgid "Prepend an extra checkbox to toggle all choices" msgstr "Ajouter une case à cocher au début pour intervertir tous les choix" @@ -1689,81 +1823,82 @@ msgstr "Couleur actuelle" msgid "Date Picker" msgstr "Date" -#: includes/fields/class-acf-field-date_picker.php:33 +#: includes/fields/class-acf-field-date_picker.php:59 msgctxt "Date Picker JS closeText" msgid "Done" msgstr "Valider" -#: includes/fields/class-acf-field-date_picker.php:34 +#: includes/fields/class-acf-field-date_picker.php:60 msgctxt "Date Picker JS currentText" msgid "Today" msgstr "Aujourd’hui" -#: includes/fields/class-acf-field-date_picker.php:35 +#: includes/fields/class-acf-field-date_picker.php:61 msgctxt "Date Picker JS nextText" msgid "Next" msgstr "Suivant" -#: includes/fields/class-acf-field-date_picker.php:36 +#: includes/fields/class-acf-field-date_picker.php:62 msgctxt "Date Picker JS prevText" msgid "Prev" msgstr "Précédent" -#: includes/fields/class-acf-field-date_picker.php:37 +#: includes/fields/class-acf-field-date_picker.php:63 msgctxt "Date Picker JS weekHeader" msgid "Wk" msgstr "Sem" # @ acf -#: includes/fields/class-acf-field-date_picker.php:207 -#: includes/fields/class-acf-field-date_time_picker.php:181 +#: includes/fields/class-acf-field-date_picker.php:178 +#: includes/fields/class-acf-field-date_time_picker.php:183 #: includes/fields/class-acf-field-time_picker.php:109 msgid "Display Format" msgstr "Format dans l’administration" -#: includes/fields/class-acf-field-date_picker.php:208 -#: includes/fields/class-acf-field-date_time_picker.php:182 +#: includes/fields/class-acf-field-date_picker.php:179 +#: includes/fields/class-acf-field-date_time_picker.php:184 #: includes/fields/class-acf-field-time_picker.php:110 msgid "The format displayed when editing a post" msgstr "" "Format affiché lors de l’édition d’un article depuis l’interface " "d’administration" -#: includes/fields/class-acf-field-date_picker.php:216 -#: includes/fields/class-acf-field-date_picker.php:247 -#: includes/fields/class-acf-field-date_time_picker.php:191 -#: includes/fields/class-acf-field-date_time_picker.php:208 +#: includes/fields/class-acf-field-date_picker.php:187 +#: includes/fields/class-acf-field-date_picker.php:218 +#: includes/fields/class-acf-field-date_time_picker.php:193 +#: includes/fields/class-acf-field-date_time_picker.php:210 #: includes/fields/class-acf-field-time_picker.php:117 #: includes/fields/class-acf-field-time_picker.php:132 msgid "Custom:" msgstr "Personnalisé :" -#: includes/fields/class-acf-field-date_picker.php:226 +#: includes/fields/class-acf-field-date_picker.php:197 msgid "Save Format" msgstr "Enregistrer le format" -#: includes/fields/class-acf-field-date_picker.php:227 +#: includes/fields/class-acf-field-date_picker.php:198 msgid "The format used when saving a value" msgstr "Le format enregistré" # @ acf -#: includes/fields/class-acf-field-date_picker.php:237 -#: includes/fields/class-acf-field-date_time_picker.php:198 -#: includes/fields/class-acf-field-post_object.php:432 -#: includes/fields/class-acf-field-relationship.php:697 -#: includes/fields/class-acf-field-select.php:426 +#: includes/fields/class-acf-field-date_picker.php:208 +#: includes/fields/class-acf-field-date_time_picker.php:200 +#: includes/fields/class-acf-field-post_object.php:431 +#: includes/fields/class-acf-field-relationship.php:634 +#: includes/fields/class-acf-field-select.php:427 #: includes/fields/class-acf-field-time_picker.php:124 +#: includes/fields/class-acf-field-user.php:424 msgid "Return Format" msgstr "Format dans le modèle" -#: includes/fields/class-acf-field-date_picker.php:238 -#: includes/fields/class-acf-field-date_time_picker.php:199 +#: includes/fields/class-acf-field-date_picker.php:209 +#: includes/fields/class-acf-field-date_time_picker.php:201 #: includes/fields/class-acf-field-time_picker.php:125 msgid "The format returned via template functions" msgstr "Valeur retournée dans le modèle sur le site" -#: includes/fields/class-acf-field-date_picker.php:256 -#: includes/fields/class-acf-field-date_time_picker.php:215 +#: includes/fields/class-acf-field-date_picker.php:227 +#: includes/fields/class-acf-field-date_time_picker.php:217 msgid "Week Starts On" msgstr "Les semaines commencent le" @@ -1771,77 +1906,77 @@ msgstr "Les semaines commencent le" msgid "Date Time Picker" msgstr "Date et Heure" -#: includes/fields/class-acf-field-date_time_picker.php:33 +#: includes/fields/class-acf-field-date_time_picker.php:68 msgctxt "Date Time Picker JS timeOnlyTitle" msgid "Choose Time" msgstr "Choix de l’heure" -#: includes/fields/class-acf-field-date_time_picker.php:34 +#: includes/fields/class-acf-field-date_time_picker.php:69 msgctxt "Date Time Picker JS timeText" msgid "Time" msgstr "Heure" -#: includes/fields/class-acf-field-date_time_picker.php:35 +#: includes/fields/class-acf-field-date_time_picker.php:70 msgctxt "Date Time Picker JS hourText" msgid "Hour" msgstr "Heure" -#: includes/fields/class-acf-field-date_time_picker.php:36 +#: includes/fields/class-acf-field-date_time_picker.php:71 msgctxt "Date Time Picker JS minuteText" msgid "Minute" msgstr "Minute" -#: includes/fields/class-acf-field-date_time_picker.php:37 +#: includes/fields/class-acf-field-date_time_picker.php:72 msgctxt "Date Time Picker JS secondText" msgid "Second" msgstr "Seconde" -#: includes/fields/class-acf-field-date_time_picker.php:38 +#: includes/fields/class-acf-field-date_time_picker.php:73 msgctxt "Date Time Picker JS millisecText" msgid "Millisecond" msgstr "Milliseconde" -#: includes/fields/class-acf-field-date_time_picker.php:39 +#: includes/fields/class-acf-field-date_time_picker.php:74 msgctxt "Date Time Picker JS microsecText" msgid "Microsecond" msgstr "Microseconde" -#: includes/fields/class-acf-field-date_time_picker.php:40 +#: includes/fields/class-acf-field-date_time_picker.php:75 msgctxt "Date Time Picker JS timezoneText" msgid "Time Zone" msgstr "Fuseau horaire" -#: includes/fields/class-acf-field-date_time_picker.php:41 +#: includes/fields/class-acf-field-date_time_picker.php:76 msgctxt "Date Time Picker JS currentText" msgid "Now" msgstr "Maintenant" -#: includes/fields/class-acf-field-date_time_picker.php:42 +#: includes/fields/class-acf-field-date_time_picker.php:77 msgctxt "Date Time Picker JS closeText" msgid "Done" msgstr "Valider" -#: includes/fields/class-acf-field-date_time_picker.php:43 +#: includes/fields/class-acf-field-date_time_picker.php:78 msgctxt "Date Time Picker JS selectText" msgid "Select" msgstr "Valider" -#: includes/fields/class-acf-field-date_time_picker.php:45 +#: includes/fields/class-acf-field-date_time_picker.php:80 msgctxt "Date Time Picker JS amText" msgid "AM" msgstr "AM" -#: includes/fields/class-acf-field-date_time_picker.php:46 +#: includes/fields/class-acf-field-date_time_picker.php:81 msgctxt "Date Time Picker JS amTextShort" msgid "A" msgstr "A" -#: includes/fields/class-acf-field-date_time_picker.php:49 +#: includes/fields/class-acf-field-date_time_picker.php:84 msgctxt "Date Time Picker JS pmText" msgid "PM" msgstr "PM" -#: includes/fields/class-acf-field-date_time_picker.php:50 +#: includes/fields/class-acf-field-date_time_picker.php:85 msgctxt "Date Time Picker JS pmTextShort" msgid "P" msgstr "P" @@ -1871,7 +2006,7 @@ msgstr "Apparait dans le champ (placeholder)" #: includes/fields/class-acf-field-email.php:136 #: includes/fields/class-acf-field-number.php:145 #: includes/fields/class-acf-field-password.php:80 -#: includes/fields/class-acf-field-range.php:187 +#: includes/fields/class-acf-field-range.php:188 #: includes/fields/class-acf-field-text.php:137 msgid "Prepend" msgstr "Préfixe" @@ -1879,7 +2014,7 @@ msgstr "Préfixe" #: includes/fields/class-acf-field-email.php:137 #: includes/fields/class-acf-field-number.php:146 #: includes/fields/class-acf-field-password.php:81 -#: includes/fields/class-acf-field-range.php:188 +#: includes/fields/class-acf-field-range.php:189 #: includes/fields/class-acf-field-text.php:138 msgid "Appears before the input" msgstr "Apparait avant le champ" @@ -1887,7 +2022,7 @@ msgstr "Apparait avant le champ" #: includes/fields/class-acf-field-email.php:145 #: includes/fields/class-acf-field-number.php:154 #: includes/fields/class-acf-field-password.php:89 -#: includes/fields/class-acf-field-range.php:196 +#: includes/fields/class-acf-field-range.php:197 #: includes/fields/class-acf-field-text.php:146 msgid "Append" msgstr "Suffixe" @@ -1895,7 +2030,7 @@ msgstr "Suffixe" #: includes/fields/class-acf-field-email.php:146 #: includes/fields/class-acf-field-number.php:155 #: includes/fields/class-acf-field-password.php:90 -#: includes/fields/class-acf-field-range.php:197 +#: includes/fields/class-acf-field-range.php:198 #: includes/fields/class-acf-field-text.php:147 msgid "Appears after the input" msgstr "Apparait après le champ" @@ -1906,79 +2041,64 @@ msgid "File" msgstr "Fichier" # @ acf -#: includes/fields/class-acf-field-file.php:36 +#: includes/fields/class-acf-field-file.php:58 msgid "Edit File" msgstr "Modifier le fichier" # @ acf -#: includes/fields/class-acf-field-file.php:37 +#: includes/fields/class-acf-field-file.php:59 msgid "Update File" msgstr "Mettre à jour le fichier" -#: includes/fields/class-acf-field-file.php:38 -#: includes/fields/class-acf-field-image.php:43 includes/media.php:57 -#: pro/fields/class-acf-field-gallery.php:44 -msgid "Uploaded to this post" -msgstr "Liés à cette publication" - # @ acf -#: includes/fields/class-acf-field-file.php:130 +#: includes/fields/class-acf-field-file.php:141 msgid "File name" msgstr "Nom du fichier" # @ acf -#: includes/fields/class-acf-field-file.php:134 -#: includes/fields/class-acf-field-file.php:237 +#: includes/fields/class-acf-field-file.php:145 #: includes/fields/class-acf-field-file.php:248 -#: includes/fields/class-acf-field-image.php:248 -#: includes/fields/class-acf-field-image.php:277 -#: pro/fields/class-acf-field-gallery.php:690 -#: pro/fields/class-acf-field-gallery.php:719 +#: includes/fields/class-acf-field-file.php:259 +#: includes/fields/class-acf-field-image.php:265 +#: includes/fields/class-acf-field-image.php:294 +#: pro/fields/class-acf-field-gallery.php:708 +#: pro/fields/class-acf-field-gallery.php:737 msgid "File size" msgstr "Taille du fichier" # @ acf -#: includes/fields/class-acf-field-file.php:143 -#: includes/fields/class-acf-field-image.php:124 -#: includes/fields/class-acf-field-link.php:140 includes/input.php:269 -#: pro/fields/class-acf-field-gallery.php:343 -#: pro/fields/class-acf-field-gallery.php:531 -msgid "Remove" -msgstr "Enlever" - -# @ acf -#: includes/fields/class-acf-field-file.php:159 +#: includes/fields/class-acf-field-file.php:170 msgid "Add File" msgstr "Ajouter un fichier" -#: includes/fields/class-acf-field-file.php:210 +#: includes/fields/class-acf-field-file.php:221 msgid "File Array" msgstr "Données du fichier (array)" # @ acf -#: includes/fields/class-acf-field-file.php:211 +#: includes/fields/class-acf-field-file.php:222 msgid "File URL" msgstr "URL du fichier" # @ acf -#: includes/fields/class-acf-field-file.php:212 +#: includes/fields/class-acf-field-file.php:223 msgid "File ID" msgstr "ID du Fichier" -#: includes/fields/class-acf-field-file.php:219 -#: includes/fields/class-acf-field-image.php:213 -#: pro/fields/class-acf-field-gallery.php:655 +#: includes/fields/class-acf-field-file.php:230 +#: includes/fields/class-acf-field-image.php:230 +#: pro/fields/class-acf-field-gallery.php:673 msgid "Library" msgstr "Médias" -#: includes/fields/class-acf-field-file.php:220 -#: includes/fields/class-acf-field-image.php:214 -#: pro/fields/class-acf-field-gallery.php:656 +#: includes/fields/class-acf-field-file.php:231 +#: includes/fields/class-acf-field-image.php:231 +#: pro/fields/class-acf-field-gallery.php:674 msgid "Limit the media library choice" msgstr "Limiter le choix de la médiathèque" -#: includes/fields/class-acf-field-file.php:225 -#: includes/fields/class-acf-field-image.php:219 +#: includes/fields/class-acf-field-file.php:236 +#: includes/fields/class-acf-field-image.php:236 #: includes/locations/class-acf-location-attachment.php:101 #: includes/locations/class-acf-location-comment.php:79 #: includes/locations/class-acf-location-nav-menu.php:102 @@ -1986,44 +2106,44 @@ msgstr "Limiter le choix de la médiathèque" #: includes/locations/class-acf-location-user-form.php:87 #: includes/locations/class-acf-location-user-role.php:111 #: includes/locations/class-acf-location-widget.php:83 -#: pro/fields/class-acf-field-gallery.php:661 +#: pro/fields/class-acf-field-gallery.php:679 msgid "All" msgstr "Tous" -#: includes/fields/class-acf-field-file.php:226 -#: includes/fields/class-acf-field-image.php:220 -#: pro/fields/class-acf-field-gallery.php:662 +#: includes/fields/class-acf-field-file.php:237 +#: includes/fields/class-acf-field-image.php:237 +#: pro/fields/class-acf-field-gallery.php:680 msgid "Uploaded to post" msgstr "Liés à cet article" # @ acf -#: includes/fields/class-acf-field-file.php:233 -#: includes/fields/class-acf-field-image.php:227 -#: pro/fields/class-acf-field-gallery.php:669 +#: includes/fields/class-acf-field-file.php:244 +#: includes/fields/class-acf-field-image.php:244 +#: pro/fields/class-acf-field-gallery.php:687 msgid "Minimum" msgstr "Minimum" -#: includes/fields/class-acf-field-file.php:234 #: includes/fields/class-acf-field-file.php:245 +#: includes/fields/class-acf-field-file.php:256 msgid "Restrict which files can be uploaded" msgstr "Restreindre l'import de fichiers" # @ acf -#: includes/fields/class-acf-field-file.php:244 -#: includes/fields/class-acf-field-image.php:256 -#: pro/fields/class-acf-field-gallery.php:698 +#: includes/fields/class-acf-field-file.php:255 +#: includes/fields/class-acf-field-image.php:273 +#: pro/fields/class-acf-field-gallery.php:716 msgid "Maximum" msgstr "Maximum" -#: includes/fields/class-acf-field-file.php:255 -#: includes/fields/class-acf-field-image.php:285 -#: pro/fields/class-acf-field-gallery.php:727 +#: includes/fields/class-acf-field-file.php:266 +#: includes/fields/class-acf-field-image.php:302 +#: pro/fields/class-acf-field-gallery.php:745 msgid "Allowed file types" msgstr "Types de fichiers autorisés" -#: includes/fields/class-acf-field-file.php:256 -#: includes/fields/class-acf-field-image.php:286 -#: pro/fields/class-acf-field-gallery.php:728 +#: includes/fields/class-acf-field-file.php:267 +#: includes/fields/class-acf-field-image.php:303 +#: pro/fields/class-acf-field-gallery.php:746 msgid "Comma separated list. Leave blank for all types" msgstr "" "Listez les extensions autorisées en les séparant par une virgule. Laissez " @@ -2033,57 +2153,52 @@ msgstr "" msgid "Google Map" msgstr "Google Map" -# @ acf -#: includes/fields/class-acf-field-google-map.php:40 -msgid "Locating" -msgstr "Localiser" - -#: includes/fields/class-acf-field-google-map.php:41 +#: includes/fields/class-acf-field-google-map.php:59 msgid "Sorry, this browser does not support geolocation" msgstr "Désolé, ce navigateur ne prend pas en charge la géolocalisation" # @ acf -#: includes/fields/class-acf-field-google-map.php:113 +#: includes/fields/class-acf-field-google-map.php:166 msgid "Clear location" msgstr "Effacer la position" -#: includes/fields/class-acf-field-google-map.php:114 +#: includes/fields/class-acf-field-google-map.php:167 msgid "Find current location" msgstr "Trouver l'emplacement actuel" -#: includes/fields/class-acf-field-google-map.php:117 +#: includes/fields/class-acf-field-google-map.php:170 msgid "Search for address..." msgstr "Rechercher une adresse..." -#: includes/fields/class-acf-field-google-map.php:147 -#: includes/fields/class-acf-field-google-map.php:158 +#: includes/fields/class-acf-field-google-map.php:200 +#: includes/fields/class-acf-field-google-map.php:211 msgid "Center" msgstr "Centre" -#: includes/fields/class-acf-field-google-map.php:148 -#: includes/fields/class-acf-field-google-map.php:159 +#: includes/fields/class-acf-field-google-map.php:201 +#: includes/fields/class-acf-field-google-map.php:212 msgid "Center the initial map" msgstr "Position géographique du centre de la carte" -#: includes/fields/class-acf-field-google-map.php:170 +#: includes/fields/class-acf-field-google-map.php:223 msgid "Zoom" msgstr "Zoom" -#: includes/fields/class-acf-field-google-map.php:171 +#: includes/fields/class-acf-field-google-map.php:224 msgid "Set the initial zoom level" msgstr "Définir le niveau de zoom (0 : monde ; 14 : ville ; 21 : rue)" -#: includes/fields/class-acf-field-google-map.php:180 -#: includes/fields/class-acf-field-image.php:239 -#: includes/fields/class-acf-field-image.php:268 -#: includes/fields/class-acf-field-oembed.php:281 -#: pro/fields/class-acf-field-gallery.php:681 -#: pro/fields/class-acf-field-gallery.php:710 +#: includes/fields/class-acf-field-google-map.php:233 +#: includes/fields/class-acf-field-image.php:256 +#: includes/fields/class-acf-field-image.php:285 +#: includes/fields/class-acf-field-oembed.php:268 +#: pro/fields/class-acf-field-gallery.php:699 +#: pro/fields/class-acf-field-gallery.php:728 msgid "Height" msgstr "Hauteur" -#: includes/fields/class-acf-field-google-map.php:181 -msgid "Customise the map height" +#: includes/fields/class-acf-field-google-map.php:234 +msgid "Customize the map height" msgstr "Personnaliser la hauteur de la carte" # @ acf @@ -2093,7 +2208,7 @@ msgstr "Groupe" # @ acf #: includes/fields/class-acf-field-group.php:459 -#: pro/fields/class-acf-field-repeater.php:389 +#: pro/fields/class-acf-field-repeater.php:379 msgid "Sub Fields" msgstr "Sous champs" @@ -2104,22 +2219,22 @@ msgstr "Définit le style utilisé pour générer les champs sélectionnés" #: includes/fields/class-acf-field-group.php:480 #: pro/fields/class-acf-field-clone.php:849 -#: pro/fields/class-acf-field-flexible-content.php:614 -#: pro/fields/class-acf-field-repeater.php:458 +#: pro/fields/class-acf-field-flexible-content.php:627 +#: pro/fields/class-acf-field-repeater.php:451 msgid "Block" msgstr "Bloc" #: includes/fields/class-acf-field-group.php:481 #: pro/fields/class-acf-field-clone.php:850 -#: pro/fields/class-acf-field-flexible-content.php:613 -#: pro/fields/class-acf-field-repeater.php:457 +#: pro/fields/class-acf-field-flexible-content.php:626 +#: pro/fields/class-acf-field-repeater.php:450 msgid "Table" msgstr "Tableau" #: includes/fields/class-acf-field-group.php:482 #: pro/fields/class-acf-field-clone.php:851 -#: pro/fields/class-acf-field-flexible-content.php:615 -#: pro/fields/class-acf-field-repeater.php:459 +#: pro/fields/class-acf-field-flexible-content.php:628 +#: pro/fields/class-acf-field-repeater.php:452 msgid "Row" msgstr "Rangée" @@ -2129,73 +2244,66 @@ msgid "Image" msgstr "Image" # acf -#: includes/fields/class-acf-field-image.php:40 +#: includes/fields/class-acf-field-image.php:64 msgid "Select Image" msgstr "Sélectionner l‘image" # @ acf -#: includes/fields/class-acf-field-image.php:41 -#: pro/fields/class-acf-field-gallery.php:42 +#: includes/fields/class-acf-field-image.php:65 msgid "Edit Image" msgstr "Modifier l'image" # @ acf -#: includes/fields/class-acf-field-image.php:42 -#: pro/fields/class-acf-field-gallery.php:43 +#: includes/fields/class-acf-field-image.php:66 msgid "Update Image" msgstr "Mettre à jour" # @ acf -#: includes/fields/class-acf-field-image.php:44 -msgid "All images" -msgstr "Toutes les images" - -# @ acf -#: includes/fields/class-acf-field-image.php:140 +#: includes/fields/class-acf-field-image.php:157 msgid "No image selected" msgstr "Aucune image sélectionnée" # @ acf -#: includes/fields/class-acf-field-image.php:140 +#: includes/fields/class-acf-field-image.php:157 msgid "Add Image" msgstr "Ajouter une image" # @ acf -#: includes/fields/class-acf-field-image.php:194 +#: includes/fields/class-acf-field-image.php:211 msgid "Image Array" msgstr "Données de l'image (array)" # @ acf -#: includes/fields/class-acf-field-image.php:195 +#: includes/fields/class-acf-field-image.php:212 msgid "Image URL" msgstr "URL de l‘image" # @ acf -#: includes/fields/class-acf-field-image.php:196 +#: includes/fields/class-acf-field-image.php:213 msgid "Image ID" msgstr "ID de l‘image" # @ acf -#: includes/fields/class-acf-field-image.php:203 +#: includes/fields/class-acf-field-image.php:220 msgid "Preview Size" msgstr "Taille de prévisualisation" -#: includes/fields/class-acf-field-image.php:204 +#: includes/fields/class-acf-field-image.php:221 msgid "Shown when entering data" msgstr "Côté interface d'administration" -#: includes/fields/class-acf-field-image.php:228 -#: includes/fields/class-acf-field-image.php:257 -#: pro/fields/class-acf-field-gallery.php:670 -#: pro/fields/class-acf-field-gallery.php:699 +#: includes/fields/class-acf-field-image.php:245 +#: includes/fields/class-acf-field-image.php:274 +#: pro/fields/class-acf-field-gallery.php:688 +#: pro/fields/class-acf-field-gallery.php:717 msgid "Restrict which images can be uploaded" msgstr "Restreindre les images téléversées" -#: includes/fields/class-acf-field-image.php:231 -#: includes/fields/class-acf-field-image.php:260 -#: includes/fields/class-acf-field-oembed.php:270 -#: pro/fields/class-acf-field-gallery.php:673 -#: pro/fields/class-acf-field-gallery.php:702 +#: includes/fields/class-acf-field-image.php:248 +#: includes/fields/class-acf-field-image.php:277 +#: includes/fields/class-acf-field-oembed.php:257 +#: pro/fields/class-acf-field-gallery.php:691 +#: pro/fields/class-acf-field-gallery.php:720 msgid "Width" msgstr "Largeur" @@ -2269,18 +2377,18 @@ msgid "Number" msgstr "Nombre" #: includes/fields/class-acf-field-number.php:163 -#: includes/fields/class-acf-field-range.php:157 +#: includes/fields/class-acf-field-range.php:158 msgid "Minimum Value" msgstr "Valeur minimale" # @ acf #: includes/fields/class-acf-field-number.php:172 -#: includes/fields/class-acf-field-range.php:167 +#: includes/fields/class-acf-field-range.php:168 msgid "Maximum Value" msgstr "Valeur maximale" #: includes/fields/class-acf-field-number.php:181 -#: includes/fields/class-acf-field-range.php:177 +#: includes/fields/class-acf-field-range.php:178 msgid "Step Size" msgstr "Pas" @@ -2302,56 +2410,52 @@ msgstr "La valeur doit être inférieure ou égale à %d" msgid "oEmbed" msgstr "oEmbed" -#: includes/fields/class-acf-field-oembed.php:219 +#: includes/fields/class-acf-field-oembed.php:216 msgid "Enter URL" msgstr "Entrez l'URL" -#: includes/fields/class-acf-field-oembed.php:234 -#: includes/fields/class-acf-field-taxonomy.php:898 -msgid "Error." -msgstr "Erreur." - -#: includes/fields/class-acf-field-oembed.php:234 -msgid "No embed found for the given URL." -msgstr "Aucune instruction d'intégration trouvée à cette adresse." - -#: includes/fields/class-acf-field-oembed.php:267 -#: includes/fields/class-acf-field-oembed.php:278 +#: includes/fields/class-acf-field-oembed.php:254 +#: includes/fields/class-acf-field-oembed.php:265 msgid "Embed Size" msgstr "Dimensions" +# @ acf +#: includes/fields/class-acf-field-page_link.php:25 +msgid "Page Link" +msgstr "Lien vers page ou article" + #: includes/fields/class-acf-field-page_link.php:177 msgid "Archives" msgstr "Archives" #: includes/fields/class-acf-field-page_link.php:269 -#: includes/fields/class-acf-field-post_object.php:268 -#: includes/fields/class-acf-field-taxonomy.php:986 +#: includes/fields/class-acf-field-post_object.php:267 +#: includes/fields/class-acf-field-taxonomy.php:961 msgid "Parent" msgstr "Parent" #: includes/fields/class-acf-field-page_link.php:485 -#: includes/fields/class-acf-field-post_object.php:384 -#: includes/fields/class-acf-field-relationship.php:623 +#: includes/fields/class-acf-field-post_object.php:383 +#: includes/fields/class-acf-field-relationship.php:560 msgid "Filter by Post Type" msgstr "Filtrer par type de publication" #: includes/fields/class-acf-field-page_link.php:493 -#: includes/fields/class-acf-field-post_object.php:392 -#: includes/fields/class-acf-field-relationship.php:631 +#: includes/fields/class-acf-field-post_object.php:391 +#: includes/fields/class-acf-field-relationship.php:568 msgid "All post types" msgstr "Tous les types de publication" # @ acf #: includes/fields/class-acf-field-page_link.php:499 -#: includes/fields/class-acf-field-post_object.php:398 -#: includes/fields/class-acf-field-relationship.php:637 +#: includes/fields/class-acf-field-post_object.php:397 +#: includes/fields/class-acf-field-relationship.php:574 msgid "Filter by Taxonomy" msgstr "Filtrer par taxonomie" #: includes/fields/class-acf-field-page_link.php:507 -#: includes/fields/class-acf-field-post_object.php:406 -#: includes/fields/class-acf-field-relationship.php:645 +#: includes/fields/class-acf-field-post_object.php:405 +#: includes/fields/class-acf-field-relationship.php:582 msgid "All taxonomies" msgstr "Toutes les taxonomies" @@ -2361,9 +2465,9 @@ msgstr "Afficher les pages d’archives" # @ acf #: includes/fields/class-acf-field-page_link.php:533 -#: includes/fields/class-acf-field-post_object.php:422 -#: includes/fields/class-acf-field-select.php:396 -#: includes/fields/class-acf-field-user.php:418 +#: includes/fields/class-acf-field-post_object.php:421 +#: includes/fields/class-acf-field-select.php:392 +#: includes/fields/class-acf-field-user.php:415 msgid "Select multiple values?" msgstr "Plusieurs valeurs possibles ?" @@ -2373,14 +2477,14 @@ msgstr "Mot de passe" # @ acf #: includes/fields/class-acf-field-post_object.php:25 -#: includes/fields/class-acf-field-post_object.php:437 -#: includes/fields/class-acf-field-relationship.php:702 +#: includes/fields/class-acf-field-post_object.php:436 +#: includes/fields/class-acf-field-relationship.php:639 msgid "Post Object" msgstr "Objet Article" # @ acf -#: includes/fields/class-acf-field-post_object.php:438 -#: includes/fields/class-acf-field-relationship.php:703 +#: includes/fields/class-acf-field-post_object.php:437 +#: includes/fields/class-acf-field-relationship.php:640 msgid "Post ID" msgstr "ID de l'article" @@ -2414,72 +2518,69 @@ msgstr "Plage de valeurs" msgid "Relationship" msgstr "Relation" -#: includes/fields/class-acf-field-relationship.php:37 -msgid "Minimum values reached ( {min} values )" -msgstr "Nombre minimum de valeurs atteint ({min} valeurs)" - -#: includes/fields/class-acf-field-relationship.php:38 +#: includes/fields/class-acf-field-relationship.php:62 msgid "Maximum values reached ( {max} values )" msgstr "Nombre maximal de valeurs atteint ({max} valeurs)" -#: includes/fields/class-acf-field-relationship.php:39 +#: includes/fields/class-acf-field-relationship.php:63 msgid "Loading" msgstr "Chargement" -#: includes/fields/class-acf-field-relationship.php:40 +#: includes/fields/class-acf-field-relationship.php:64 msgid "No matches found" msgstr "Aucun résultat" -#: includes/fields/class-acf-field-relationship.php:423 +#: includes/fields/class-acf-field-relationship.php:411 msgid "Select post type" msgstr "Choisissez le type de publication" # @ acf -#: includes/fields/class-acf-field-relationship.php:449 +#: includes/fields/class-acf-field-relationship.php:420 msgid "Select taxonomy" msgstr "Choisissez la taxonomie" -#: includes/fields/class-acf-field-relationship.php:539 +#: includes/fields/class-acf-field-relationship.php:477 msgid "Search..." msgstr "Rechercher..." -#: includes/fields/class-acf-field-relationship.php:651 +#: includes/fields/class-acf-field-relationship.php:588 msgid "Filters" msgstr "Filtres" # @ acf -#: includes/fields/class-acf-field-relationship.php:657 +#: includes/fields/class-acf-field-relationship.php:594 #: includes/locations/class-acf-location-post-type.php:27 msgid "Post Type" msgstr "Type de publication" # @ acf -#: includes/fields/class-acf-field-relationship.php:658 +#: includes/fields/class-acf-field-relationship.php:595 #: includes/fields/class-acf-field-taxonomy.php:28 -#: includes/fields/class-acf-field-taxonomy.php:763 +#: includes/fields/class-acf-field-taxonomy.php:754 +#: includes/locations/class-acf-location-taxonomy.php:27 msgid "Taxonomy" msgstr "Taxonomie" -#: includes/fields/class-acf-field-relationship.php:665 +#: includes/fields/class-acf-field-relationship.php:602 msgid "Elements" msgstr "Éléments" -#: includes/fields/class-acf-field-relationship.php:666 +#: includes/fields/class-acf-field-relationship.php:603 msgid "Selected elements will be displayed in each result" msgstr "Les éléments sélectionnés seront affichés dans chaque résultat" # @ acf -#: includes/fields/class-acf-field-relationship.php:677 +#: includes/fields/class-acf-field-relationship.php:614 msgid "Minimum posts" msgstr "Minimum d'articles sélectionnables" # @ acf -#: includes/fields/class-acf-field-relationship.php:686 +#: includes/fields/class-acf-field-relationship.php:623 msgid "Maximum posts" msgstr "Maximum d'articles sélectionnables" -#: includes/fields/class-acf-field-relationship.php:790 -#: pro/fields/class-acf-field-gallery.php:800 +#: includes/fields/class-acf-field-relationship.php:727 +#: pro/fields/class-acf-field-gallery.php:818 #, php-format msgid "%s requires at least %s selection" msgid_plural "%s requires at least %s selections" @@ -2487,17 +2588,17 @@ msgstr[0] "%s requiert au moins %s sélection" msgstr[1] "%s requiert au moins %s sélections" #: includes/fields/class-acf-field-select.php:25 -#: includes/fields/class-acf-field-taxonomy.php:785 +#: includes/fields/class-acf-field-taxonomy.php:776 msgctxt "noun" msgid "Select" msgstr "Sélection" -#: includes/fields/class-acf-field-select.php:38 +#: includes/fields/class-acf-field-select.php:111 msgctxt "Select2 JS matches_1" msgid "One result is available, press enter to select it." msgstr "Un résultat disponible, appuyez sur Entrée pour le sélectionner." -#: includes/fields/class-acf-field-select.php:39 +#: includes/fields/class-acf-field-select.php:112 #, php-format msgctxt "Select2 JS matches_n" msgid "%d results are available, use up and down arrow keys to navigate." @@ -2505,75 +2606,70 @@ msgstr "" "%d résultats sont disponibles, utilisez les flèches haut et bas pour " "naviguer parmi les résultats." -#: includes/fields/class-acf-field-select.php:40 +#: includes/fields/class-acf-field-select.php:113 msgctxt "Select2 JS matches_0" msgid "No matches found" msgstr "Aucun résultat trouvé" -#: includes/fields/class-acf-field-select.php:41 +#: includes/fields/class-acf-field-select.php:114 msgctxt "Select2 JS input_too_short_1" msgid "Please enter 1 or more characters" msgstr "Veuillez saisir au minimum 1 caractère" -#: includes/fields/class-acf-field-select.php:42 +#: includes/fields/class-acf-field-select.php:115 #, php-format msgctxt "Select2 JS input_too_short_n" msgid "Please enter %d or more characters" msgstr "Veuillez saisir au minimum %d caractères" -#: includes/fields/class-acf-field-select.php:43 +#: includes/fields/class-acf-field-select.php:116 msgctxt "Select2 JS input_too_long_1" msgid "Please delete 1 character" msgstr "Veuillez retirer 1 caractère" -#: includes/fields/class-acf-field-select.php:44 +#: includes/fields/class-acf-field-select.php:117 #, php-format msgctxt "Select2 JS input_too_long_n" msgid "Please delete %d characters" msgstr "Veuillez retirer %d caractères" -#: includes/fields/class-acf-field-select.php:45 +#: includes/fields/class-acf-field-select.php:118 msgctxt "Select2 JS selection_too_long_1" msgid "You can only select 1 item" msgstr "Vous ne pouvez sélectionner qu’un seul élément" -#: includes/fields/class-acf-field-select.php:46 +#: includes/fields/class-acf-field-select.php:119 #, php-format msgctxt "Select2 JS selection_too_long_n" msgid "You can only select %d items" msgstr "Vous ne pouvez sélectionner que %d éléments" -#: includes/fields/class-acf-field-select.php:47 +#: includes/fields/class-acf-field-select.php:120 msgctxt "Select2 JS load_more" msgid "Loading more results…" msgstr "Chargement de résultats supplémentaires…" -#: includes/fields/class-acf-field-select.php:48 +#: includes/fields/class-acf-field-select.php:121 msgctxt "Select2 JS searching" msgid "Searching…" msgstr "Recherche en cours…" -#: includes/fields/class-acf-field-select.php:49 +#: includes/fields/class-acf-field-select.php:122 msgctxt "Select2 JS load_fail" msgid "Loading failed" msgstr "Échec du chargement" -#: includes/fields/class-acf-field-select.php:255 includes/media.php:54 -msgctxt "verb" -msgid "Select" -msgstr "Choisir" - # @ acf -#: includes/fields/class-acf-field-select.php:406 +#: includes/fields/class-acf-field-select.php:402 #: includes/fields/class-acf-field-true_false.php:144 msgid "Stylised UI" msgstr "Interface avancée" -#: includes/fields/class-acf-field-select.php:416 +#: includes/fields/class-acf-field-select.php:412 msgid "Use AJAX to lazy load choices?" msgstr "Utiliser AJAX pour charger les choix (lazy load) ?" -#: includes/fields/class-acf-field-select.php:427 +#: includes/fields/class-acf-field-select.php:428 msgid "Specify the value returned" msgstr "Définie la valeur retournée" @@ -2597,100 +2693,96 @@ msgstr "" "Définir un point de terminaison pour arrêter les précédents onglets. Cela va " "commencer un nouveau groupe d'onglets." -#: includes/fields/class-acf-field-taxonomy.php:713 +#: includes/fields/class-acf-field-taxonomy.php:714 #, php-format msgctxt "No terms" msgid "No %s" msgstr "Pas de %s" -#: includes/fields/class-acf-field-taxonomy.php:732 -msgid "None" -msgstr "Aucun" - # @ acf -#: includes/fields/class-acf-field-taxonomy.php:764 +#: includes/fields/class-acf-field-taxonomy.php:755 msgid "Select the taxonomy to be displayed" msgstr "Choisissez la taxonomie à afficher" -#: includes/fields/class-acf-field-taxonomy.php:773 +#: includes/fields/class-acf-field-taxonomy.php:764 msgid "Appearance" msgstr "Apparence" # @ acf -#: includes/fields/class-acf-field-taxonomy.php:774 +#: includes/fields/class-acf-field-taxonomy.php:765 msgid "Select the appearance of this field" msgstr "Personnaliser l'apparence de champ" # @ acf -#: includes/fields/class-acf-field-taxonomy.php:779 +#: includes/fields/class-acf-field-taxonomy.php:770 msgid "Multiple Values" msgstr "Valeurs multiples" # @ acf -#: includes/fields/class-acf-field-taxonomy.php:781 +#: includes/fields/class-acf-field-taxonomy.php:772 msgid "Multi Select" msgstr "Sélecteur multiple" -#: includes/fields/class-acf-field-taxonomy.php:783 +#: includes/fields/class-acf-field-taxonomy.php:774 msgid "Single Value" msgstr "Valeur seule" # @ acf -#: includes/fields/class-acf-field-taxonomy.php:784 +#: includes/fields/class-acf-field-taxonomy.php:775 msgid "Radio Buttons" msgstr "Boutons radio" # @ acf -#: includes/fields/class-acf-field-taxonomy.php:803 +#: includes/fields/class-acf-field-taxonomy.php:799 msgid "Create Terms" msgstr "Créer des termes" -#: includes/fields/class-acf-field-taxonomy.php:804 +#: includes/fields/class-acf-field-taxonomy.php:800 msgid "Allow new terms to be created whilst editing" msgstr "Autoriser la création de nouveaux termes pendant l'édition" -#: includes/fields/class-acf-field-taxonomy.php:813 +#: includes/fields/class-acf-field-taxonomy.php:809 msgid "Save Terms" msgstr "Enregistrer les termes" -#: includes/fields/class-acf-field-taxonomy.php:814 +#: includes/fields/class-acf-field-taxonomy.php:810 msgid "Connect selected terms to the post" msgstr "Lier les termes sélectionnés à l'article" -#: includes/fields/class-acf-field-taxonomy.php:823 +#: includes/fields/class-acf-field-taxonomy.php:819 msgid "Load Terms" msgstr "Charger les termes" -#: includes/fields/class-acf-field-taxonomy.php:824 +#: includes/fields/class-acf-field-taxonomy.php:820 msgid "Load value from posts terms" msgstr "Charger une valeur depuis les termes" # @ acf -#: includes/fields/class-acf-field-taxonomy.php:838 +#: includes/fields/class-acf-field-taxonomy.php:834 msgid "Term Object" msgstr "Objet Terme" -#: includes/fields/class-acf-field-taxonomy.php:839 +#: includes/fields/class-acf-field-taxonomy.php:835 msgid "Term ID" msgstr "ID du terme" -#: includes/fields/class-acf-field-taxonomy.php:898 +#: includes/fields/class-acf-field-taxonomy.php:885 #, php-format msgid "User unable to add new %s" msgstr "Utilisateur incapable d'ajouter un nouveau %s" -#: includes/fields/class-acf-field-taxonomy.php:911 +#: includes/fields/class-acf-field-taxonomy.php:895 #, php-format msgid "%s already exists" msgstr "%s existe déjà" -#: includes/fields/class-acf-field-taxonomy.php:952 +#: includes/fields/class-acf-field-taxonomy.php:927 #, php-format msgid "%s added" msgstr "%s Ajouté" # @ acf -#: includes/fields/class-acf-field-taxonomy.php:997 +#: includes/fields/class-acf-field-taxonomy.php:973 msgid "Add" msgstr "Ajouter" @@ -2731,18 +2823,6 @@ msgstr "Heure" msgid "True / False" msgstr "Vrai / Faux" -#: includes/fields/class-acf-field-true_false.php:79 -#: includes/fields/class-acf-field-true_false.php:159 includes/input.php:267 -#: pro/admin/views/html-settings-updates.php:89 -msgid "Yes" -msgstr "Oui" - -#: includes/fields/class-acf-field-true_false.php:80 -#: includes/fields/class-acf-field-true_false.php:169 includes/input.php:268 -#: pro/admin/views/html-settings-updates.php:99 -msgid "No" -msgstr "Non" - #: includes/fields/class-acf-field-true_false.php:127 msgid "Displays text alongside the checkbox" msgstr "Affiche le texte aux côtés de la case à cocher" @@ -2755,11 +2835,11 @@ msgstr "Texte côté « Actif »" msgid "Text shown when active" msgstr "Text affiché lorsqu’il est actif" -#: includes/fields/class-acf-field-true_false.php:165 +#: includes/fields/class-acf-field-true_false.php:170 msgid "Off Text" msgstr "Texte côté « Inactif »" -#: includes/fields/class-acf-field-true_false.php:166 +#: includes/fields/class-acf-field-true_false.php:171 msgid "Text shown when inactive" msgstr "Texte affiché lorsqu’il est désactivé" @@ -2775,81 +2855,87 @@ msgstr "La valeur doit être une URL valide" msgid "User" msgstr "Utilisateur" -#: includes/fields/class-acf-field-user.php:393 +#: includes/fields/class-acf-field-user.php:390 msgid "Filter by role" msgstr "Filtrer par rôle" -#: includes/fields/class-acf-field-user.php:401 +#: includes/fields/class-acf-field-user.php:398 msgid "All user roles" msgstr "Tous les rôles utilisateurs" +#: includes/fields/class-acf-field-user.php:429 +msgid "User Array" +msgstr "Tableau d'utilisateurs" + +#: includes/fields/class-acf-field-user.php:430 +msgid "User Object" +msgstr "Objet d'utilisateurs" + +#: includes/fields/class-acf-field-user.php:431 +msgid "User ID" +msgstr "ID de l'utilisateur" + # @ acf #: includes/fields/class-acf-field-wysiwyg.php:25 msgid "Wysiwyg Editor" msgstr "Éditeur WYSIWYG" -#: includes/fields/class-acf-field-wysiwyg.php:359 +#: includes/fields/class-acf-field-wysiwyg.php:330 msgid "Visual" msgstr "Visuel" # @ acf -#: includes/fields/class-acf-field-wysiwyg.php:360 +#: includes/fields/class-acf-field-wysiwyg.php:331 msgctxt "Name for the Text editor tab (formerly HTML)" msgid "Text" msgstr "Texte" -#: includes/fields/class-acf-field-wysiwyg.php:366 +#: includes/fields/class-acf-field-wysiwyg.php:337 msgid "Click to initialize TinyMCE" msgstr "Cliquez pour initialiser TinyMCE" -#: includes/fields/class-acf-field-wysiwyg.php:419 +#: includes/fields/class-acf-field-wysiwyg.php:390 msgid "Tabs" msgstr "Onglets" -#: includes/fields/class-acf-field-wysiwyg.php:424 +#: includes/fields/class-acf-field-wysiwyg.php:395 msgid "Visual & Text" msgstr "Visuel & Texte brut" -#: includes/fields/class-acf-field-wysiwyg.php:425 +#: includes/fields/class-acf-field-wysiwyg.php:396 msgid "Visual Only" msgstr "Éditeur visuel seulement" # @ acf -#: includes/fields/class-acf-field-wysiwyg.php:426 +#: includes/fields/class-acf-field-wysiwyg.php:397 msgid "Text Only" msgstr "Texte brut seulement" # @ acf -#: includes/fields/class-acf-field-wysiwyg.php:433 +#: includes/fields/class-acf-field-wysiwyg.php:404 msgid "Toolbar" msgstr "Barre d‘outils" # @ acf -#: includes/fields/class-acf-field-wysiwyg.php:443 +#: includes/fields/class-acf-field-wysiwyg.php:419 msgid "Show Media Upload Buttons?" msgstr "Afficher les boutons d‘ajout de médias ?" -#: includes/fields/class-acf-field-wysiwyg.php:453 +#: includes/fields/class-acf-field-wysiwyg.php:429 msgid "Delay initialization?" msgstr "Retarder l’initialisation ?" -#: includes/fields/class-acf-field-wysiwyg.php:454 +#: includes/fields/class-acf-field-wysiwyg.php:430 msgid "TinyMCE will not be initalized until field is clicked" msgstr "" "TinyMCE ne sera pas automatiquement initialisé si cette option est activée" -# @ acf -#: includes/forms/form-comment.php:166 includes/forms/form-post.php:303 -#: pro/admin/admin-options-page.php:308 -msgid "Edit field group" -msgstr "Modifier le groupe de champs" - #: includes/forms/form-front.php:55 msgid "Validate Email" msgstr "Valider l’email" # @ acf -#: includes/forms/form-front.php:103 pro/fields/class-acf-field-gallery.php:573 +#: includes/forms/form-front.php:103 pro/fields/class-acf-field-gallery.php:591 #: pro/options-page.php:81 msgid "Update" msgstr "Mise à jour" @@ -2863,45 +2949,6 @@ msgstr "Article mis à jour" msgid "Spam Detected" msgstr "Spam repéré" -#: includes/input.php:259 -msgid "Expand Details" -msgstr "Afficher les détails" - -#: includes/input.php:260 -msgid "Collapse Details" -msgstr "Masquer les détails" - -#: includes/input.php:261 -msgid "Validation successful" -msgstr "Validé avec succès" - -#: includes/input.php:262 includes/validation.php:285 -#: includes/validation.php:296 -msgid "Validation failed" -msgstr "Échec de la validation" - -#: includes/input.php:263 -msgid "1 field requires attention" -msgstr "1 champ requiert votre attention" - -#: includes/input.php:264 -#, php-format -msgid "%d fields require attention" -msgstr "%d champs requièrent votre attention" - -#: includes/input.php:265 -msgid "Restricted" -msgstr "Limité" - -# @ acf -#: includes/input.php:266 -msgid "Are you sure?" -msgstr "Êtes-vous sûr ?" - -#: includes/input.php:270 -msgid "Cancel" -msgstr "Annuler" - # @ acf #: includes/locations.php:93 includes/locations/class-acf-location-post.php:27 msgid "Post" @@ -2917,6 +2964,14 @@ msgstr "Page" msgid "Forms" msgstr "Formulaires" +#: includes/locations.php:243 +msgid "is equal to" +msgstr "est égal à" + +#: includes/locations.php:244 +msgid "is not equal to" +msgstr "n‘est pas égal à" + #: includes/locations/class-acf-location-attachment.php:27 msgid "Attachment" msgstr "Média (photo, fichier…)" @@ -2992,23 +3047,23 @@ msgstr "Modèle de base" msgid "Page Type" msgstr "Type de page" -#: includes/locations/class-acf-location-page-type.php:145 +#: includes/locations/class-acf-location-page-type.php:146 msgid "Front Page" msgstr "Page d'accueil" -#: includes/locations/class-acf-location-page-type.php:146 +#: includes/locations/class-acf-location-page-type.php:147 msgid "Posts Page" msgstr "Page des articles" -#: includes/locations/class-acf-location-page-type.php:147 +#: includes/locations/class-acf-location-page-type.php:148 msgid "Top Level Page (no parent)" msgstr "Page de haut niveau (sans descendant)" -#: includes/locations/class-acf-location-page-type.php:148 +#: includes/locations/class-acf-location-page-type.php:149 msgid "Parent Page (has children)" msgstr "Page parente (avec page enfant)" -#: includes/locations/class-acf-location-page-type.php:149 +#: includes/locations/class-acf-location-page-type.php:150 msgid "Child Page (has parent)" msgstr "Page enfant (avec parent)" @@ -3035,11 +3090,6 @@ msgstr "Taxonomie" msgid "Post Template" msgstr "Modèle d'article" -# @ acf -#: includes/locations/class-acf-location-taxonomy.php:27 -msgid "Taxonomy Term" -msgstr "Termes de taxonomie" - # @ acf #: includes/locations/class-acf-location-user-form.php:27 msgid "User Form" @@ -3062,16 +3112,6 @@ msgstr "Rôle utilisateur" msgid "Widget" msgstr "Widget" -#: includes/media.php:55 -msgctxt "verb" -msgid "Edit" -msgstr "Éditer" - -#: includes/media.php:56 -msgctxt "verb" -msgid "Update" -msgstr "Mettre à jour" - # @ default #: includes/validation.php:364 #, php-format @@ -3108,6 +3148,15 @@ msgstr "Erreur. Impossible de joindre le serveur" msgid "Updates" msgstr "Mises à jour" +#: pro/admin/admin-settings-updates.php:238 +msgid "" +"Error. Could not authenticate update package. Please check again or " +"deactivate and reactivate your ACF PRO license." +msgstr "" +"Erreur. Impossible d'authentifier la mise à jour. Merci d'essayer à " +"nouveau et si le problème persiste, désactivez et réactivez votre licence " +"ACF PRO." + #: pro/admin/views/html-settings-updates.php:7 msgid "Deactivate License" msgstr "Désactiver la licence" @@ -3235,232 +3284,227 @@ msgstr "Tous les champs du groupe %s" # @ acf #: pro/fields/class-acf-field-flexible-content.php:31 -#: pro/fields/class-acf-field-repeater.php:174 -#: pro/fields/class-acf-field-repeater.php:470 +#: pro/fields/class-acf-field-repeater.php:193 +#: pro/fields/class-acf-field-repeater.php:463 msgid "Add Row" msgstr "Ajouter un élément" # @ acf -#: pro/fields/class-acf-field-flexible-content.php:34 +#: pro/fields/class-acf-field-flexible-content.php:73 +#: pro/fields/class-acf-field-flexible-content.php:938 +#: pro/fields/class-acf-field-flexible-content.php:1020 msgid "layout" -msgstr "disposition" +msgid_plural "layouts" +msgstr[0] "disposition" +msgstr[1] "dispositions" # @ acf -#: pro/fields/class-acf-field-flexible-content.php:35 +#: pro/fields/class-acf-field-flexible-content.php:74 msgid "layouts" msgstr "dispositions" -#: pro/fields/class-acf-field-flexible-content.php:36 -msgid "remove {layout}?" -msgstr "retirer {layout} ?" - -#: pro/fields/class-acf-field-flexible-content.php:37 -msgid "This field requires at least {min} {identifier}" -msgstr "Ce champ requiert au moins {min} {identifier}" - -#: pro/fields/class-acf-field-flexible-content.php:38 -msgid "This field has a limit of {max} {identifier}" -msgstr "Ce champ a une limite de {max} {identifier}" - -#: pro/fields/class-acf-field-flexible-content.php:39 +#: pro/fields/class-acf-field-flexible-content.php:77 +#: pro/fields/class-acf-field-flexible-content.php:937 +#: pro/fields/class-acf-field-flexible-content.php:1019 msgid "This field requires at least {min} {label} {identifier}" msgstr "Ce champ requiert au moins {min} {label} {identifier}" -#: pro/fields/class-acf-field-flexible-content.php:40 -msgid "Maximum {label} limit reached ({max} {identifier})" -msgstr "Nombre maximal de {label} atteint ({max} {identifier})" +#: pro/fields/class-acf-field-flexible-content.php:78 +msgid "This field has a limit of {max} {label} {identifier}" +msgstr "Ce champ a une limite de {max} {label} {identifier}" -#: pro/fields/class-acf-field-flexible-content.php:41 +#: pro/fields/class-acf-field-flexible-content.php:81 msgid "{available} {label} {identifier} available (max {max})" msgstr "{available} {label} {identifier} disponible (max {max})" -#: pro/fields/class-acf-field-flexible-content.php:42 +#: pro/fields/class-acf-field-flexible-content.php:82 msgid "{required} {label} {identifier} required (min {min})" msgstr "{required} {label} {identifier} required (min {min})" # @ acf -#: pro/fields/class-acf-field-flexible-content.php:43 +#: pro/fields/class-acf-field-flexible-content.php:85 msgid "Flexible Content requires at least 1 layout" msgstr "Le contenu flexible nécessite au moins une disposition" -#: pro/fields/class-acf-field-flexible-content.php:273 +#: pro/fields/class-acf-field-flexible-content.php:302 #, php-format msgid "Click the \"%s\" button below to start creating your layout" msgstr "" "Cliquez sur le bouton \"%s\" ci-dessous pour créer votre première disposition" # @ acf -#: pro/fields/class-acf-field-flexible-content.php:406 +#: pro/fields/class-acf-field-flexible-content.php:427 msgid "Add layout" msgstr "Disposition" # @ acf -#: pro/fields/class-acf-field-flexible-content.php:407 +#: pro/fields/class-acf-field-flexible-content.php:428 msgid "Remove layout" msgstr "Retirer la disposition" -#: pro/fields/class-acf-field-flexible-content.php:408 -#: pro/fields/class-acf-field-repeater.php:298 +#: pro/fields/class-acf-field-flexible-content.php:429 +#: pro/fields/class-acf-field-repeater.php:296 msgid "Click to toggle" msgstr "Cliquer pour intervertir" # @ acf -#: pro/fields/class-acf-field-flexible-content.php:556 +#: pro/fields/class-acf-field-flexible-content.php:569 msgid "Reorder Layout" msgstr "Réorganiser la disposition" -#: pro/fields/class-acf-field-flexible-content.php:556 +#: pro/fields/class-acf-field-flexible-content.php:569 msgid "Reorder" msgstr "Réorganiser" # @ acf -#: pro/fields/class-acf-field-flexible-content.php:557 +#: pro/fields/class-acf-field-flexible-content.php:570 msgid "Delete Layout" msgstr "Supprimer la disposition" -#: pro/fields/class-acf-field-flexible-content.php:558 +#: pro/fields/class-acf-field-flexible-content.php:571 msgid "Duplicate Layout" msgstr "Dupliquer la disposition" # @ acf -#: pro/fields/class-acf-field-flexible-content.php:559 +#: pro/fields/class-acf-field-flexible-content.php:572 msgid "Add New Layout" msgstr "Ajouter une disposition" -#: pro/fields/class-acf-field-flexible-content.php:630 +#: pro/fields/class-acf-field-flexible-content.php:643 msgid "Min" msgstr "Min" -#: pro/fields/class-acf-field-flexible-content.php:643 +#: pro/fields/class-acf-field-flexible-content.php:656 msgid "Max" msgstr "Max" -#: pro/fields/class-acf-field-flexible-content.php:670 -#: pro/fields/class-acf-field-repeater.php:466 +#: pro/fields/class-acf-field-flexible-content.php:683 +#: pro/fields/class-acf-field-repeater.php:459 msgid "Button Label" msgstr "Intitulé du bouton" # @ acf -#: pro/fields/class-acf-field-flexible-content.php:679 +#: pro/fields/class-acf-field-flexible-content.php:692 msgid "Minimum Layouts" msgstr "Nombre minimum de dispositions" # @ acf -#: pro/fields/class-acf-field-flexible-content.php:688 +#: pro/fields/class-acf-field-flexible-content.php:701 msgid "Maximum Layouts" msgstr "Nombre maximum de dispositions" # @ acf -#: pro/fields/class-acf-field-gallery.php:41 +#: pro/fields/class-acf-field-gallery.php:71 msgid "Add Image to Gallery" msgstr "Ajouter l'image à la galerie" -#: pro/fields/class-acf-field-gallery.php:45 +#: pro/fields/class-acf-field-gallery.php:72 msgid "Maximum selection reached" msgstr "Nombre de sélections maximales atteint" -#: pro/fields/class-acf-field-gallery.php:321 +#: pro/fields/class-acf-field-gallery.php:338 msgid "Length" msgstr "Longueur" -#: pro/fields/class-acf-field-gallery.php:364 +#: pro/fields/class-acf-field-gallery.php:381 msgid "Caption" msgstr "Légende" -#: pro/fields/class-acf-field-gallery.php:373 +#: pro/fields/class-acf-field-gallery.php:390 msgid "Alt Text" msgstr "Texte alternatif" -#: pro/fields/class-acf-field-gallery.php:544 +#: pro/fields/class-acf-field-gallery.php:562 msgid "Add to gallery" msgstr "Ajouter à la galerie" # @ acf -#: pro/fields/class-acf-field-gallery.php:548 +#: pro/fields/class-acf-field-gallery.php:566 msgid "Bulk actions" msgstr "Actions de groupe" -#: pro/fields/class-acf-field-gallery.php:549 +#: pro/fields/class-acf-field-gallery.php:567 msgid "Sort by date uploaded" msgstr "Ranger par date d'import" -#: pro/fields/class-acf-field-gallery.php:550 +#: pro/fields/class-acf-field-gallery.php:568 msgid "Sort by date modified" msgstr "Ranger par date de modification" # @ acf -#: pro/fields/class-acf-field-gallery.php:551 +#: pro/fields/class-acf-field-gallery.php:569 msgid "Sort by title" msgstr "Ranger par titre" -#: pro/fields/class-acf-field-gallery.php:552 +#: pro/fields/class-acf-field-gallery.php:570 msgid "Reverse current order" msgstr "Inverser l'ordre actuel" # @ acf -#: pro/fields/class-acf-field-gallery.php:570 +#: pro/fields/class-acf-field-gallery.php:588 msgid "Close" msgstr "Appliquer" # @ acf -#: pro/fields/class-acf-field-gallery.php:624 +#: pro/fields/class-acf-field-gallery.php:642 msgid "Minimum Selection" msgstr "Minimum d'images" # @ acf -#: pro/fields/class-acf-field-gallery.php:633 +#: pro/fields/class-acf-field-gallery.php:651 msgid "Maximum Selection" msgstr "Maximum d'images" -#: pro/fields/class-acf-field-gallery.php:642 +#: pro/fields/class-acf-field-gallery.php:660 msgid "Insert" msgstr "Insérer" -#: pro/fields/class-acf-field-gallery.php:643 +#: pro/fields/class-acf-field-gallery.php:661 msgid "Specify where new attachments are added" msgstr "Définir comment les images sont insérées" -#: pro/fields/class-acf-field-gallery.php:647 +#: pro/fields/class-acf-field-gallery.php:665 msgid "Append to the end" msgstr "Insérer à la fin" -#: pro/fields/class-acf-field-gallery.php:648 +#: pro/fields/class-acf-field-gallery.php:666 msgid "Prepend to the beginning" msgstr "Insérer au début" -#: pro/fields/class-acf-field-repeater.php:36 +#: pro/fields/class-acf-field-repeater.php:65 +#: pro/fields/class-acf-field-repeater.php:656 msgid "Minimum rows reached ({min} rows)" msgstr "Nombre minimal d'éléments atteint ({min} éléments)" -#: pro/fields/class-acf-field-repeater.php:37 +#: pro/fields/class-acf-field-repeater.php:66 msgid "Maximum rows reached ({max} rows)" msgstr "Nombre maximal d'éléments atteint ({max} éléments)" # @ acf -#: pro/fields/class-acf-field-repeater.php:343 +#: pro/fields/class-acf-field-repeater.php:333 msgid "Add row" msgstr "Ajouter un élément" # @ acf -#: pro/fields/class-acf-field-repeater.php:344 +#: pro/fields/class-acf-field-repeater.php:334 msgid "Remove row" msgstr "Retirer l'élément" -#: pro/fields/class-acf-field-repeater.php:419 +#: pro/fields/class-acf-field-repeater.php:412 msgid "Collapsed" msgstr "Refermé" -#: pro/fields/class-acf-field-repeater.php:420 +#: pro/fields/class-acf-field-repeater.php:413 msgid "Select a sub field to show when row is collapsed" msgstr "Choisir un sous champ à montrer lorsque la ligne est refermée" # @ acf -#: pro/fields/class-acf-field-repeater.php:430 +#: pro/fields/class-acf-field-repeater.php:423 msgid "Minimum Rows" msgstr "Nombre minimum d'éléments" # @ acf -#: pro/fields/class-acf-field-repeater.php:440 +#: pro/fields/class-acf-field-repeater.php:433 msgid "Maximum Rows" msgstr "Nombre maximum d'éléments" @@ -3501,6 +3545,208 @@ msgstr "Elliot Condon" msgid "http://www.elliotcondon.com/" msgstr "http://www.elliotcondon.com/" +#~ msgid "checked" +#~ msgstr "sélectionné" + +#~ msgid "Parent fields" +#~ msgstr "Champs parents" + +#~ msgid "Sibling fields" +#~ msgstr "Champs voisins" + +#~ msgid "" +#~ "Customise WordPress with powerful, professional and intuitive fields." +#~ msgstr "" +#~ "Personnalisez WordPress en ajoutant des champs intuitifs, puissants et " +#~ "professionnels." + +#~ msgid "Error validating request" +#~ msgstr "Erreur : la requête n’a pas pu être validée" + +# @ acf +#~ msgid "Advanced Custom Fields Database Upgrade" +#~ msgstr "Mise à niveau de la base de données Advanced Custom Fields" + +# @ wp3i +#~ msgid "Upgrade complete" +#~ msgstr "Mise à niveau terminée" + +#~ msgid "" +#~ "Before you start using the new awesome features, please update your " +#~ "database to the newest version." +#~ msgstr "" +#~ "Avant d'utiliser ces nouvelles fonctionnalités, il faut mettre à jour la " +#~ "base de données." + +#~ msgid "" +#~ "Please also ensure any premium add-ons (%s) have first been updated to " +#~ "the latest version." +#~ msgstr "" +#~ "Merci de vérifier également que tous les add-ons premium (%s) ont bien " +#~ "été mis à jour vers la dernière version." + +#~ msgid "Database Upgrade complete. See what's new" +#~ msgstr "" +#~ "Mise à niveau de la base de données terminée. Quoi de " +#~ "neuf" + +#~ msgid "A smoother custom field experience" +#~ msgstr "Une expérience des champs personnalisés plus aboutie" + +#~ msgid "" +#~ "To help make upgrading easy, login to your store account and claim a free copy of ACF PRO!" +#~ msgstr "" +#~ "Afin de mettre à niveau facilement, Connectez-vous à votre " +#~ "compte ACF en ligne et obtenez une licence gratuite d'ACF PRO !" + +#~ msgid "" +#~ "We also wrote an upgrade guide to answer any " +#~ "questions, but if you do have one, please contact our support team via " +#~ "the help desk" +#~ msgstr "" +#~ "Nous avons également rédigé un guide de mise à jour " +#~ "pour répondre aux questions fréquentes. Si vous avez une question " +#~ "spécifique, merci de contacter notre équipe le support" + +#~ msgid "Under the Hood" +#~ msgstr "Changements techniques sous le capot" + +#~ msgid "Smarter field settings" +#~ msgstr "Paramètres de champs plus intelligents" + +#~ msgid "ACF now saves its field settings as individual post objects" +#~ msgstr "" +#~ "ACF enregistre désormais les paramètres des champs en tant qu'objets " +#~ "individuels" + +#~ msgid "More fields use AJAX powered search to speed up page loading" +#~ msgstr "" +#~ "Plus de champs utilisent la recherche via AJAX pour améliorer le temps de " +#~ "chargement des pages" + +#~ msgid "New auto export to JSON feature improves speed" +#~ msgstr "Nouvelles fonctionnalité d'export JSON améliorant la vitesse" + +#~ msgid "Better version control" +#~ msgstr "Meilleur contrôle de version" + +#~ msgid "" +#~ "New auto export to JSON feature allows field settings to be version " +#~ "controlled" +#~ msgstr "" +#~ "Nouvelle fonctionnalité d'export JSON permettant un contrôle de version " +#~ "des champs" + +#~ msgid "Swapped XML for JSON" +#~ msgstr "Abandon de XML au profit de JSON" + +#~ msgid "Import / Export now uses JSON in favour of XML" +#~ msgstr "L'import / export utilise désormais JSON à la place de XML" + +#~ msgid "New Forms" +#~ msgstr "Nouveaux formulaires" + +#~ msgid "Fields can now be mapped to comments, widgets and all user forms!" +#~ msgstr "" +#~ "Vous pouvez désormais assigner des champs aux commentaires, widgets et " +#~ "tous les formulaires utilisateurs !" + +#~ msgid "A new field for embedding content has been added" +#~ msgstr "Un nouveau champ pour embarquer du contenu a été ajouté" + +#~ msgid "New Gallery" +#~ msgstr "Nouvelle galerie" + +#~ msgid "The gallery field has undergone a much needed facelift" +#~ msgstr "" +#~ "La galerie d'images a subi un lifting qui la rend encore plus agréable à " +#~ "utiliser" + +#~ msgid "" +#~ "Field group settings have been added for label placement and instruction " +#~ "placement" +#~ msgstr "" +#~ "De nouveaux paramètres permettent de choisir la position de l'intitulé et " +#~ "des instructions" + +#~ msgid "acf_form() can now create a new post on submission" +#~ msgstr "" +#~ "acf_form() peut désormais créer un nouvel article lors de l'enregistrement" + +#~ msgid "Form validation is now done via PHP + AJAX in favour of only JS" +#~ msgstr "" +#~ "La validation des formulaires est désormais effectuée via PHP + AJAX au " +#~ "lieu d'être simplement faite en JS" + +# @ acf +#~ msgid "Relationship Field" +#~ msgstr "Champ relationnel" + +#~ msgid "" +#~ "New Relationship field setting for 'Filters' (Search, Post Type, Taxonomy)" +#~ msgstr "" +#~ "Nouveau paramètre de filtres (recherche, type de publication, taxonomie) " +#~ "pour le champ relationnel" + +#~ msgid "" +#~ "New field group functionality allows you to move a field between groups & " +#~ "parents" +#~ msgstr "" +#~ "Nouvelle fonctionnalité dans les groupes de champs permettant de déplacer " +#~ "un champ dans un autre groupe ou vers les parents" + +#~ msgid "New archives group in page_link field selection" +#~ msgstr "" +#~ "Il est désormais possible de faire un lien vers les archives du blog ou " +#~ "d'un type de publication avec le champ Lien vers une page ou un article" + +# @ acf +#~ msgid "Better Options Pages" +#~ msgstr "Des pages d'options encore plus abouties" + +#~ msgid "" +#~ "New functions for options page allow creation of both parent and child " +#~ "menu pages" +#~ msgstr "" +#~ "Nouvelles fonctions pour les pages d'options vous permettant la création " +#~ "de pages parents/enfants" + +# @ acf +#~ msgid "Locating" +#~ msgstr "Localiser" + +#~ msgid "Customise the map height" +#~ msgstr "Personnaliser la hauteur de la carte" + +#~ msgid "Error." +#~ msgstr "Erreur." + +#~ msgid "No embed found for the given URL." +#~ msgstr "Aucune instruction d'intégration trouvée à cette adresse." + +#~ msgid "Minimum values reached ( {min} values )" +#~ msgstr "Nombre minimum de valeurs atteint ({min} valeurs)" + +#~ msgid "None" +#~ msgstr "Aucun" + +# @ acf +#~ msgid "Taxonomy Term" +#~ msgstr "Termes de taxonomie" + +#~ msgid "remove {layout}?" +#~ msgstr "retirer {layout} ?" + +#~ msgid "This field requires at least {min} {identifier}" +#~ msgstr "Ce champ requiert au moins {min} {identifier}" + +#~ msgid "This field has a limit of {max} {identifier}" +#~ msgstr "Ce champ a une limite de {max} {identifier}" + +#~ msgid "Maximum {label} limit reached ({max} {identifier})" +#~ msgstr "Nombre maximal de {label} atteint ({max} {identifier})" + # @ acf #~ msgid "Export Field Groups to PHP" #~ msgstr "Exportez des groupes de champs en PHP" diff --git a/lang/acf-ru_RU.mo b/lang/acf-ru_RU.mo index ae0531f..319c358 100644 Binary files a/lang/acf-ru_RU.mo and b/lang/acf-ru_RU.mo differ diff --git a/lang/acf-ru_RU.po b/lang/acf-ru_RU.po index 5182e9a..8f2e550 100644 --- a/lang/acf-ru_RU.po +++ b/lang/acf-ru_RU.po @@ -3,14 +3,14 @@ msgstr "" "Project-Id-Version: Advanced Custom Fields Pro v5.2.9\n" "Report-Msgid-Bugs-To: http://support.advancedcustomfields.com\n" "POT-Creation-Date: 2018-08-18 18:25+0300\n" -"PO-Revision-Date: 2018-08-18 18:49+0300\n" -"Last-Translator: Toniievych Andrii \n" +"PO-Revision-Date: 2019-01-05 10:08+1000\n" +"Last-Translator: Elliot Condon \n" "Language-Team: \n" "Language: ru_RU\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Generator: Poedit 2.1.1\n" +"X-Generator: Poedit 1.8.1\n" "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" "%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" "X-Poedit-SourceCharset: UTF-8\n" @@ -1450,7 +1450,8 @@ msgstr "Отношение" msgid "jQuery" msgstr "jQuery" -#: includes/fields.php:354 includes/fields/class-acf-field-button-group.php:177 +#: includes/fields.php:354 +#: includes/fields/class-acf-field-button-group.php:177 #: includes/fields/class-acf-field-checkbox.php:389 #: includes/fields/class-acf-field-group.php:474 #: includes/fields/class-acf-field-radio.php:290 @@ -2724,8 +2725,8 @@ msgstr "Редактировать группу полей" msgid "Validate Email" msgstr "Проверка Email" -#: includes/forms/form-front.php:103 pro/fields/class-acf-field-gallery.php:588 -#: pro/options-page.php:81 +#: includes/forms/form-front.php:103 +#: pro/fields/class-acf-field-gallery.php:588 pro/options-page.php:81 msgid "Update" msgstr "Обновить" @@ -2921,7 +2922,7 @@ msgstr "Обновление" #: pro/admin/views/html-settings-updates.php:7 msgid "Deactivate License" -msgstr "Декативировать лицензию" +msgstr "Деактивировать лицензию" #: pro/admin/views/html-settings-updates.php:7 msgid "Activate License" diff --git a/lang/acf.pot b/lang/acf.pot index 27fb3ae..241cb18 100644 --- a/lang/acf.pot +++ b/lang/acf.pot @@ -3,7 +3,7 @@ msgid "" msgstr "" "Project-Id-Version: Advanced Custom Fields\n" "Report-Msgid-Bugs-To: http://support.advancedcustomfields.com\n" -"POT-Creation-Date: 2018-09-06 12:21+1000\n" +"POT-Creation-Date: 2019-01-15 11:15+1000\n" "PO-Revision-Date: 2015-06-11 13:00+1000\n" "Last-Translator: Elliot Condon \n" "Language-Team: Elliot Condon \n" @@ -26,351 +26,341 @@ msgstr "" msgid "Advanced Custom Fields" msgstr "" -#: acf.php:385 includes/admin/admin.php:117 +#: acf.php:362 includes/admin/admin.php:58 msgid "Field Groups" msgstr "" -#: acf.php:386 +#: acf.php:363 msgid "Field Group" msgstr "" -#: acf.php:387 acf.php:419 includes/admin/admin.php:118 +#: acf.php:364 acf.php:396 includes/admin/admin.php:59 #: pro/fields/class-acf-field-flexible-content.php:572 msgid "Add New" msgstr "" -#: acf.php:388 +#: acf.php:365 msgid "Add New Field Group" msgstr "" -#: acf.php:389 +#: acf.php:366 msgid "Edit Field Group" msgstr "" -#: acf.php:390 +#: acf.php:367 msgid "New Field Group" msgstr "" -#: acf.php:391 +#: acf.php:368 msgid "View Field Group" msgstr "" -#: acf.php:392 +#: acf.php:369 msgid "Search Field Groups" msgstr "" -#: acf.php:393 +#: acf.php:370 msgid "No Field Groups found" msgstr "" -#: acf.php:394 +#: acf.php:371 msgid "No Field Groups found in Trash" msgstr "" -#: acf.php:417 includes/admin/admin-field-group.php:202 -#: includes/admin/admin-field-groups.php:510 +#: acf.php:394 includes/admin/admin-field-group.php:220 +#: includes/admin/admin-field-groups.php:529 #: pro/fields/class-acf-field-clone.php:811 msgid "Fields" msgstr "" -#: acf.php:418 +#: acf.php:395 msgid "Field" msgstr "" -#: acf.php:420 +#: acf.php:397 msgid "Add New Field" msgstr "" -#: acf.php:421 +#: acf.php:398 msgid "Edit Field" msgstr "" -#: acf.php:422 includes/admin/views/field-group-fields.php:41 +#: acf.php:399 includes/admin/views/field-group-fields.php:41 msgid "New Field" msgstr "" -#: acf.php:423 +#: acf.php:400 msgid "View Field" msgstr "" -#: acf.php:424 +#: acf.php:401 msgid "Search Fields" msgstr "" -#: acf.php:425 +#: acf.php:402 msgid "No Fields found" msgstr "" -#: acf.php:426 +#: acf.php:403 msgid "No Fields found in Trash" msgstr "" -#: acf.php:465 includes/admin/admin-field-group.php:384 -#: includes/admin/admin-field-groups.php:567 +#: acf.php:442 includes/admin/admin-field-group.php:402 +#: includes/admin/admin-field-groups.php:586 msgid "Inactive" msgstr "" -#: acf.php:470 +#: acf.php:447 #, php-format msgid "Inactive (%s)" msgid_plural "Inactive (%s)" msgstr[0] "" msgstr[1] "" -#: includes/admin/admin-field-group.php:68 -#: includes/admin/admin-field-group.php:69 -#: includes/admin/admin-field-group.php:71 +#: includes/admin/admin-field-group.php:86 +#: includes/admin/admin-field-group.php:87 +#: includes/admin/admin-field-group.php:89 msgid "Field group updated." msgstr "" -#: includes/admin/admin-field-group.php:70 +#: includes/admin/admin-field-group.php:88 msgid "Field group deleted." msgstr "" -#: includes/admin/admin-field-group.php:73 +#: includes/admin/admin-field-group.php:91 msgid "Field group published." msgstr "" -#: includes/admin/admin-field-group.php:74 +#: includes/admin/admin-field-group.php:92 msgid "Field group saved." msgstr "" -#: includes/admin/admin-field-group.php:75 +#: includes/admin/admin-field-group.php:93 msgid "Field group submitted." msgstr "" -#: includes/admin/admin-field-group.php:76 +#: includes/admin/admin-field-group.php:94 msgid "Field group scheduled for." msgstr "" -#: includes/admin/admin-field-group.php:77 +#: includes/admin/admin-field-group.php:95 msgid "Field group draft updated." msgstr "" -#: includes/admin/admin-field-group.php:153 +#: includes/admin/admin-field-group.php:171 msgid "The string \"field_\" may not be used at the start of a field name" msgstr "" -#: includes/admin/admin-field-group.php:154 +#: includes/admin/admin-field-group.php:172 msgid "This field cannot be moved until its changes have been saved" msgstr "" -#: includes/admin/admin-field-group.php:155 +#: includes/admin/admin-field-group.php:173 msgid "Field group title is required" msgstr "" -#: includes/admin/admin-field-group.php:156 +#: includes/admin/admin-field-group.php:174 msgid "Move to trash. Are you sure?" msgstr "" -#: includes/admin/admin-field-group.php:157 +#: includes/admin/admin-field-group.php:175 msgid "No toggle fields available" msgstr "" -#: includes/admin/admin-field-group.php:158 +#: includes/admin/admin-field-group.php:176 msgid "Move Custom Field" msgstr "" -#: includes/admin/admin-field-group.php:159 +#: includes/admin/admin-field-group.php:177 msgid "Checked" msgstr "" -#: includes/admin/admin-field-group.php:160 includes/api/api-field.php:289 +#: includes/admin/admin-field-group.php:178 includes/api/api-field.php:320 msgid "(no label)" msgstr "" -#: includes/admin/admin-field-group.php:161 +#: includes/admin/admin-field-group.php:179 msgid "(this field)" msgstr "" -#: includes/admin/admin-field-group.php:162 +#: includes/admin/admin-field-group.php:180 #: includes/api/api-field-group.php:751 msgid "copy" msgstr "" -#: includes/admin/admin-field-group.php:163 +#: includes/admin/admin-field-group.php:181 #: includes/admin/views/field-group-field-conditional-logic.php:51 #: includes/admin/views/field-group-field-conditional-logic.php:151 #: includes/admin/views/field-group-locations.php:29 #: includes/admin/views/html-location-group.php:3 -#: includes/api/api-helpers.php:4073 +#: includes/api/api-helpers.php:3998 msgid "or" msgstr "" -#: includes/admin/admin-field-group.php:164 +#: includes/admin/admin-field-group.php:182 msgid "Null" msgstr "" -#: includes/admin/admin-field-group.php:203 +#: includes/admin/admin-field-group.php:221 msgid "Location" msgstr "" -#: includes/admin/admin-field-group.php:204 +#: includes/admin/admin-field-group.php:222 #: includes/admin/tools/class-acf-admin-tool-export.php:295 msgid "Settings" msgstr "" -#: includes/admin/admin-field-group.php:354 +#: includes/admin/admin-field-group.php:372 msgid "Field Keys" msgstr "" -#: includes/admin/admin-field-group.php:384 +#: includes/admin/admin-field-group.php:402 #: includes/admin/views/field-group-options.php:9 msgid "Active" msgstr "" -#: includes/admin/admin-field-group.php:746 +#: includes/admin/admin-field-group.php:771 msgid "Move Complete." msgstr "" -#: includes/admin/admin-field-group.php:747 +#: includes/admin/admin-field-group.php:772 #, php-format msgid "The %s field can now be found in the %s field group" msgstr "" -#: includes/admin/admin-field-group.php:748 +#: includes/admin/admin-field-group.php:773 msgid "Close Window" msgstr "" -#: includes/admin/admin-field-group.php:789 +#: includes/admin/admin-field-group.php:814 msgid "Please select the destination for this field" msgstr "" -#: includes/admin/admin-field-group.php:796 +#: includes/admin/admin-field-group.php:821 msgid "Move Field" msgstr "" -#: includes/admin/admin-field-groups.php:74 +#: includes/admin/admin-field-groups.php:89 #, php-format msgid "Active (%s)" msgid_plural "Active (%s)" msgstr[0] "" msgstr[1] "" -#: includes/admin/admin-field-groups.php:142 +#: includes/admin/admin-field-groups.php:156 #, php-format -msgid "Field group duplicated. %s" -msgstr "" - -#: includes/admin/admin-field-groups.php:146 -#, php-format -msgid "%s field group duplicated." +msgid "Field group duplicated." msgid_plural "%s field groups duplicated." msgstr[0] "" msgstr[1] "" -#: includes/admin/admin-field-groups.php:227 +#: includes/admin/admin-field-groups.php:243 #, php-format -msgid "Field group synchronised. %s" -msgstr "" - -#: includes/admin/admin-field-groups.php:231 -#, php-format -msgid "%s field group synchronised." +msgid "Field group synchronised." msgid_plural "%s field groups synchronised." msgstr[0] "" msgstr[1] "" -#: includes/admin/admin-field-groups.php:394 -#: includes/admin/admin-field-groups.php:557 +#: includes/admin/admin-field-groups.php:413 +#: includes/admin/admin-field-groups.php:576 msgid "Sync available" msgstr "" -#: includes/admin/admin-field-groups.php:507 includes/forms/form-front.php:38 -#: pro/fields/class-acf-field-gallery.php:370 +#: includes/admin/admin-field-groups.php:526 includes/forms/form-front.php:38 +#: pro/fields/class-acf-field-gallery.php:372 msgid "Title" msgstr "" -#: includes/admin/admin-field-groups.php:508 +#: includes/admin/admin-field-groups.php:527 #: includes/admin/views/field-group-options.php:96 #: includes/admin/views/html-admin-page-upgrade-network.php:38 #: includes/admin/views/html-admin-page-upgrade-network.php:49 -#: pro/fields/class-acf-field-gallery.php:397 +#: pro/fields/class-acf-field-gallery.php:399 msgid "Description" msgstr "" -#: includes/admin/admin-field-groups.php:509 +#: includes/admin/admin-field-groups.php:528 msgid "Status" msgstr "" #. Description of the plugin/theme -#: includes/admin/admin-field-groups.php:607 -msgid "Customise WordPress with powerful, professional and intuitive fields." +#: includes/admin/admin-field-groups.php:626 +msgid "Customize WordPress with powerful, professional and intuitive fields." msgstr "" -#: includes/admin/admin-field-groups.php:609 +#: includes/admin/admin-field-groups.php:628 #: includes/admin/settings-info.php:76 #: pro/admin/views/html-settings-updates.php:107 msgid "Changelog" msgstr "" -#: includes/admin/admin-field-groups.php:614 +#: includes/admin/admin-field-groups.php:633 #, php-format msgid "See what's new in version %s." msgstr "" -#: includes/admin/admin-field-groups.php:617 +#: includes/admin/admin-field-groups.php:636 msgid "Resources" msgstr "" -#: includes/admin/admin-field-groups.php:619 +#: includes/admin/admin-field-groups.php:638 msgid "Website" msgstr "" -#: includes/admin/admin-field-groups.php:620 +#: includes/admin/admin-field-groups.php:639 msgid "Documentation" msgstr "" -#: includes/admin/admin-field-groups.php:621 +#: includes/admin/admin-field-groups.php:640 msgid "Support" msgstr "" -#: includes/admin/admin-field-groups.php:623 +#: includes/admin/admin-field-groups.php:642 #: includes/admin/views/settings-info.php:84 msgid "Pro" msgstr "" -#: includes/admin/admin-field-groups.php:628 +#: includes/admin/admin-field-groups.php:647 #, php-format msgid "Thank you for creating with ACF." msgstr "" -#: includes/admin/admin-field-groups.php:667 +#: includes/admin/admin-field-groups.php:686 msgid "Duplicate this item" msgstr "" -#: includes/admin/admin-field-groups.php:667 -#: includes/admin/admin-field-groups.php:683 +#: includes/admin/admin-field-groups.php:686 +#: includes/admin/admin-field-groups.php:702 #: includes/admin/views/field-group-field.php:46 #: pro/fields/class-acf-field-flexible-content.php:571 msgid "Duplicate" msgstr "" -#: includes/admin/admin-field-groups.php:700 -#: includes/fields/class-acf-field-google-map.php:164 -#: includes/fields/class-acf-field-relationship.php:674 +#: includes/admin/admin-field-groups.php:719 +#: includes/fields/class-acf-field-google-map.php:165 +#: includes/fields/class-acf-field-relationship.php:593 msgid "Search" msgstr "" -#: includes/admin/admin-field-groups.php:759 +#: includes/admin/admin-field-groups.php:778 #, php-format msgid "Select %s" msgstr "" -#: includes/admin/admin-field-groups.php:767 +#: includes/admin/admin-field-groups.php:786 msgid "Synchronise field group" msgstr "" -#: includes/admin/admin-field-groups.php:767 -#: includes/admin/admin-field-groups.php:797 +#: includes/admin/admin-field-groups.php:786 +#: includes/admin/admin-field-groups.php:816 msgid "Sync" msgstr "" -#: includes/admin/admin-field-groups.php:779 +#: includes/admin/admin-field-groups.php:798 msgid "Apply" msgstr "" -#: includes/admin/admin-field-groups.php:797 +#: includes/admin/admin-field-groups.php:816 msgid "Bulk Actions" msgstr "" @@ -390,20 +380,11 @@ msgstr "" msgid "Review sites & upgrade" msgstr "" -#: includes/admin/admin.php:113 +#: includes/admin/admin.php:54 #: includes/admin/views/field-group-options.php:110 msgid "Custom Fields" msgstr "" -#: includes/admin/settings-addons.php:51 -#: includes/admin/views/settings-addons.php:3 -msgid "Add-ons" -msgstr "" - -#: includes/admin/settings-addons.php:87 -msgid "Error. Could not load add-ons list" -msgstr "" - #: includes/admin/settings-info.php:50 msgid "Info" msgstr "" @@ -487,24 +468,24 @@ msgstr "" msgid "Import File" msgstr "" -#: includes/admin/tools/class-acf-admin-tool-import.php:100 +#: includes/admin/tools/class-acf-admin-tool-import.php:99 #: includes/fields/class-acf-field-file.php:170 msgid "No file selected" msgstr "" -#: includes/admin/tools/class-acf-admin-tool-import.php:113 +#: includes/admin/tools/class-acf-admin-tool-import.php:109 msgid "Error uploading file. Please try again" msgstr "" -#: includes/admin/tools/class-acf-admin-tool-import.php:122 +#: includes/admin/tools/class-acf-admin-tool-import.php:115 msgid "Incorrect file type" msgstr "" -#: includes/admin/tools/class-acf-admin-tool-import.php:139 +#: includes/admin/tools/class-acf-admin-tool-import.php:129 msgid "Import file empty" msgstr "" -#: includes/admin/tools/class-acf-admin-tool-import.php:247 +#: includes/admin/tools/class-acf-admin-tool-import.php:235 #, php-format msgid "Imported 1 field group" msgid_plural "Imported %s field groups" @@ -544,7 +525,7 @@ msgstr "" #: includes/fields/class-acf-field-file.php:152 #: includes/fields/class-acf-field-image.php:139 #: includes/fields/class-acf-field-link.php:139 -#: pro/fields/class-acf-field-gallery.php:357 +#: pro/fields/class-acf-field-gallery.php:359 msgid "Edit" msgstr "" @@ -629,7 +610,7 @@ msgstr "" #: includes/fields/class-acf-field-button-group.php:198 #: includes/fields/class-acf-field-checkbox.php:420 #: includes/fields/class-acf-field-radio.php:311 -#: includes/fields/class-acf-field-select.php:428 +#: includes/fields/class-acf-field-select.php:433 #: pro/fields/class-acf-field-flexible-content.php:596 msgid "Label" msgstr "" @@ -775,7 +756,7 @@ msgid "Page Attributes" msgstr "" #: includes/admin/views/field-group-options.php:118 -#: includes/fields/class-acf-field-relationship.php:688 +#: includes/fields/class-acf-field-relationship.php:607 msgid "Featured Image" msgstr "" @@ -880,6 +861,10 @@ msgstr "" msgid "No updates available." msgstr "" +#: includes/admin/views/html-admin-tools.php:21 +msgid "Back to all tools" +msgstr "" + #: includes/admin/views/html-location-group.php:3 msgid "Show this field group if" msgstr "" @@ -921,8 +906,11 @@ msgstr "" #: includes/admin/views/html-notice-upgrade.php:24 #, php-format msgid "" -"Please also ensure any premium add-ons (%s) have first been updated to the " -"latest version." +"Please also check all premium add-ons (%s) are updated to the latest version." +msgstr "" + +#: includes/admin/views/settings-addons.php:3 +msgid "Add-ons" msgstr "" #: includes/admin/views/settings-addons.php:17 @@ -1173,187 +1161,192 @@ msgstr "" msgid "We think you'll love the changes in %s." msgstr "" -#: includes/api/api-helpers.php:1046 +#: includes/api/api-helpers.php:1011 msgid "Thumbnail" msgstr "" -#: includes/api/api-helpers.php:1047 +#: includes/api/api-helpers.php:1012 msgid "Medium" msgstr "" -#: includes/api/api-helpers.php:1048 +#: includes/api/api-helpers.php:1013 msgid "Large" msgstr "" -#: includes/api/api-helpers.php:1097 +#: includes/api/api-helpers.php:1062 msgid "Full Size" msgstr "" -#: includes/api/api-helpers.php:1339 includes/api/api-helpers.php:1912 +#: includes/api/api-helpers.php:1831 includes/api/api-term.php:147 #: pro/fields/class-acf-field-clone.php:996 msgid "(no title)" msgstr "" -#: includes/api/api-helpers.php:3994 +#: includes/api/api-helpers.php:3919 #, php-format msgid "Image width must be at least %dpx." msgstr "" -#: includes/api/api-helpers.php:3999 +#: includes/api/api-helpers.php:3924 #, php-format msgid "Image width must not exceed %dpx." msgstr "" -#: includes/api/api-helpers.php:4015 +#: includes/api/api-helpers.php:3940 #, php-format msgid "Image height must be at least %dpx." msgstr "" -#: includes/api/api-helpers.php:4020 +#: includes/api/api-helpers.php:3945 #, php-format msgid "Image height must not exceed %dpx." msgstr "" -#: includes/api/api-helpers.php:4038 +#: includes/api/api-helpers.php:3963 #, php-format msgid "File size must be at least %s." msgstr "" -#: includes/api/api-helpers.php:4043 +#: includes/api/api-helpers.php:3968 #, php-format msgid "File size must must not exceed %s." msgstr "" -#: includes/api/api-helpers.php:4077 +#: includes/api/api-helpers.php:4002 #, php-format msgid "File type must be %s." msgstr "" -#: includes/assets.php:172 +#: includes/assets.php:168 msgid "The changes you made will be lost if you navigate away from this page" msgstr "" -#: includes/assets.php:175 includes/fields/class-acf-field-select.php:259 +#: includes/assets.php:171 includes/fields/class-acf-field-select.php:259 msgctxt "verb" msgid "Select" msgstr "" -#: includes/assets.php:176 +#: includes/assets.php:172 msgctxt "verb" msgid "Edit" msgstr "" -#: includes/assets.php:177 +#: includes/assets.php:173 msgctxt "verb" msgid "Update" msgstr "" -#: includes/assets.php:178 +#: includes/assets.php:174 msgid "Uploaded to this post" msgstr "" -#: includes/assets.php:179 +#: includes/assets.php:175 msgid "Expand Details" msgstr "" -#: includes/assets.php:180 +#: includes/assets.php:176 msgid "Collapse Details" msgstr "" -#: includes/assets.php:181 +#: includes/assets.php:177 msgid "Restricted" msgstr "" -#: includes/assets.php:182 includes/fields/class-acf-field-image.php:67 +#: includes/assets.php:178 includes/fields/class-acf-field-image.php:67 msgid "All images" msgstr "" -#: includes/assets.php:185 +#: includes/assets.php:181 msgid "Validation successful" msgstr "" -#: includes/assets.php:186 includes/validation.php:285 +#: includes/assets.php:182 includes/validation.php:285 #: includes/validation.php:296 msgid "Validation failed" msgstr "" -#: includes/assets.php:187 +#: includes/assets.php:183 msgid "1 field requires attention" msgstr "" -#: includes/assets.php:188 +#: includes/assets.php:184 #, php-format msgid "%d fields require attention" msgstr "" -#: includes/assets.php:191 +#: includes/assets.php:187 msgid "Are you sure?" msgstr "" -#: includes/assets.php:192 includes/fields/class-acf-field-true_false.php:79 +#: includes/assets.php:188 includes/fields/class-acf-field-true_false.php:79 #: includes/fields/class-acf-field-true_false.php:159 #: pro/admin/views/html-settings-updates.php:89 msgid "Yes" msgstr "" -#: includes/assets.php:193 includes/fields/class-acf-field-true_false.php:80 +#: includes/assets.php:189 includes/fields/class-acf-field-true_false.php:80 #: includes/fields/class-acf-field-true_false.php:174 #: pro/admin/views/html-settings-updates.php:99 msgid "No" msgstr "" -#: includes/assets.php:194 includes/fields/class-acf-field-file.php:154 +#: includes/assets.php:190 includes/fields/class-acf-field-file.php:154 #: includes/fields/class-acf-field-image.php:141 #: includes/fields/class-acf-field-link.php:140 -#: pro/fields/class-acf-field-gallery.php:358 -#: pro/fields/class-acf-field-gallery.php:546 +#: pro/fields/class-acf-field-gallery.php:360 +#: pro/fields/class-acf-field-gallery.php:549 msgid "Remove" msgstr "" -#: includes/assets.php:195 +#: includes/assets.php:191 msgid "Cancel" msgstr "" -#: includes/assets.php:198 +#: includes/assets.php:194 msgid "Has any value" msgstr "" -#: includes/assets.php:199 +#: includes/assets.php:195 msgid "Has no value" msgstr "" -#: includes/assets.php:200 +#: includes/assets.php:196 msgid "Value is equal to" msgstr "" -#: includes/assets.php:201 +#: includes/assets.php:197 msgid "Value is not equal to" msgstr "" -#: includes/assets.php:202 +#: includes/assets.php:198 msgid "Value matches pattern" msgstr "" -#: includes/assets.php:203 +#: includes/assets.php:199 msgid "Value contains" msgstr "" -#: includes/assets.php:204 +#: includes/assets.php:200 msgid "Value is greater than" msgstr "" -#: includes/assets.php:205 +#: includes/assets.php:201 msgid "Value is less than" msgstr "" -#: includes/assets.php:206 +#: includes/assets.php:202 msgid "Selection is greater than" msgstr "" -#: includes/assets.php:207 +#: includes/assets.php:203 msgid "Selection is less than" msgstr "" +#: includes/assets.php:206 includes/forms/form-comment.php:166 +#: pro/admin/admin-options-page.php:325 +msgid "Edit field group" +msgstr "" + #: includes/fields.php:308 msgid "Field type does not exist" msgstr "" @@ -1432,28 +1425,28 @@ msgstr "" #: includes/fields/class-acf-field-button-group.php:149 #: includes/fields/class-acf-field-checkbox.php:344 #: includes/fields/class-acf-field-radio.php:235 -#: includes/fields/class-acf-field-select.php:359 +#: includes/fields/class-acf-field-select.php:364 msgid "Choices" msgstr "" #: includes/fields/class-acf-field-button-group.php:150 #: includes/fields/class-acf-field-checkbox.php:345 #: includes/fields/class-acf-field-radio.php:236 -#: includes/fields/class-acf-field-select.php:360 +#: includes/fields/class-acf-field-select.php:365 msgid "Enter each choice on a new line." msgstr "" #: includes/fields/class-acf-field-button-group.php:150 #: includes/fields/class-acf-field-checkbox.php:345 #: includes/fields/class-acf-field-radio.php:236 -#: includes/fields/class-acf-field-select.php:360 +#: includes/fields/class-acf-field-select.php:365 msgid "For more control, you may specify both a value and label like this:" msgstr "" #: includes/fields/class-acf-field-button-group.php:150 #: includes/fields/class-acf-field-checkbox.php:345 #: includes/fields/class-acf-field-radio.php:236 -#: includes/fields/class-acf-field-select.php:360 +#: includes/fields/class-acf-field-select.php:365 msgid "red : Red" msgstr "" @@ -1461,9 +1454,9 @@ msgstr "" #: includes/fields/class-acf-field-page_link.php:513 #: includes/fields/class-acf-field-post_object.php:411 #: includes/fields/class-acf-field-radio.php:244 -#: includes/fields/class-acf-field-select.php:377 +#: includes/fields/class-acf-field-select.php:382 #: includes/fields/class-acf-field-taxonomy.php:784 -#: includes/fields/class-acf-field-user.php:409 +#: includes/fields/class-acf-field-user.php:393 msgid "Allow Null?" msgstr "" @@ -1474,7 +1467,7 @@ msgstr "" #: includes/fields/class-acf-field-number.php:127 #: includes/fields/class-acf-field-radio.php:281 #: includes/fields/class-acf-field-range.php:149 -#: includes/fields/class-acf-field-select.php:368 +#: includes/fields/class-acf-field-select.php:373 #: includes/fields/class-acf-field-text.php:119 #: includes/fields/class-acf-field-textarea.php:102 #: includes/fields/class-acf-field-true_false.php:135 @@ -1529,14 +1522,14 @@ msgstr "" #: includes/fields/class-acf-field-button-group.php:197 #: includes/fields/class-acf-field-checkbox.php:419 #: includes/fields/class-acf-field-radio.php:310 -#: includes/fields/class-acf-field-select.php:427 +#: includes/fields/class-acf-field-select.php:432 msgid "Value" msgstr "" #: includes/fields/class-acf-field-button-group.php:199 #: includes/fields/class-acf-field-checkbox.php:421 #: includes/fields/class-acf-field-radio.php:312 -#: includes/fields/class-acf-field-select.php:429 +#: includes/fields/class-acf-field-select.php:434 msgid "Both (Array)" msgstr "" @@ -1570,7 +1563,7 @@ msgid "Save 'custom' values to the field's choices" msgstr "" #: includes/fields/class-acf-field-checkbox.php:381 -#: includes/fields/class-acf-field-select.php:369 +#: includes/fields/class-acf-field-select.php:374 msgid "Enter each default value on a new line" msgstr "" @@ -1631,20 +1624,20 @@ msgctxt "Date Picker JS weekHeader" msgid "Wk" msgstr "" -#: includes/fields/class-acf-field-date_picker.php:180 +#: includes/fields/class-acf-field-date_picker.php:178 #: includes/fields/class-acf-field-date_time_picker.php:183 #: includes/fields/class-acf-field-time_picker.php:109 msgid "Display Format" msgstr "" -#: includes/fields/class-acf-field-date_picker.php:181 +#: includes/fields/class-acf-field-date_picker.php:179 #: includes/fields/class-acf-field-date_time_picker.php:184 #: includes/fields/class-acf-field-time_picker.php:110 msgid "The format displayed when editing a post" msgstr "" -#: includes/fields/class-acf-field-date_picker.php:189 -#: includes/fields/class-acf-field-date_picker.php:220 +#: includes/fields/class-acf-field-date_picker.php:187 +#: includes/fields/class-acf-field-date_picker.php:218 #: includes/fields/class-acf-field-date_time_picker.php:193 #: includes/fields/class-acf-field-date_time_picker.php:210 #: includes/fields/class-acf-field-time_picker.php:117 @@ -1652,31 +1645,31 @@ msgstr "" msgid "Custom:" msgstr "" -#: includes/fields/class-acf-field-date_picker.php:199 +#: includes/fields/class-acf-field-date_picker.php:197 msgid "Save Format" msgstr "" -#: includes/fields/class-acf-field-date_picker.php:200 +#: includes/fields/class-acf-field-date_picker.php:198 msgid "The format used when saving a value" msgstr "" -#: includes/fields/class-acf-field-date_picker.php:210 +#: includes/fields/class-acf-field-date_picker.php:208 #: includes/fields/class-acf-field-date_time_picker.php:200 #: includes/fields/class-acf-field-post_object.php:431 -#: includes/fields/class-acf-field-relationship.php:715 -#: includes/fields/class-acf-field-select.php:422 +#: includes/fields/class-acf-field-relationship.php:634 +#: includes/fields/class-acf-field-select.php:427 #: includes/fields/class-acf-field-time_picker.php:124 -#: includes/fields/class-acf-field-user.php:428 +#: includes/fields/class-acf-field-user.php:412 msgid "Return Format" msgstr "" -#: includes/fields/class-acf-field-date_picker.php:211 +#: includes/fields/class-acf-field-date_picker.php:209 #: includes/fields/class-acf-field-date_time_picker.php:201 #: includes/fields/class-acf-field-time_picker.php:125 msgid "The format returned via template functions" msgstr "" -#: includes/fields/class-acf-field-date_picker.php:229 +#: includes/fields/class-acf-field-date_picker.php:227 #: includes/fields/class-acf-field-date_time_picker.php:217 msgid "Week Starts On" msgstr "" @@ -1835,8 +1828,8 @@ msgstr "" #: includes/fields/class-acf-field-file.php:259 #: includes/fields/class-acf-field-image.php:265 #: includes/fields/class-acf-field-image.php:294 -#: pro/fields/class-acf-field-gallery.php:705 -#: pro/fields/class-acf-field-gallery.php:734 +#: pro/fields/class-acf-field-gallery.php:708 +#: pro/fields/class-acf-field-gallery.php:737 msgid "File size" msgstr "" @@ -1858,13 +1851,13 @@ msgstr "" #: includes/fields/class-acf-field-file.php:230 #: includes/fields/class-acf-field-image.php:230 -#: pro/fields/class-acf-field-gallery.php:670 +#: pro/fields/class-acf-field-gallery.php:673 msgid "Library" msgstr "" #: includes/fields/class-acf-field-file.php:231 #: includes/fields/class-acf-field-image.php:231 -#: pro/fields/class-acf-field-gallery.php:671 +#: pro/fields/class-acf-field-gallery.php:674 msgid "Limit the media library choice" msgstr "" @@ -1877,19 +1870,19 @@ msgstr "" #: includes/locations/class-acf-location-user-form.php:87 #: includes/locations/class-acf-location-user-role.php:111 #: includes/locations/class-acf-location-widget.php:83 -#: pro/fields/class-acf-field-gallery.php:676 +#: pro/fields/class-acf-field-gallery.php:679 msgid "All" msgstr "" #: includes/fields/class-acf-field-file.php:237 #: includes/fields/class-acf-field-image.php:237 -#: pro/fields/class-acf-field-gallery.php:677 +#: pro/fields/class-acf-field-gallery.php:680 msgid "Uploaded to post" msgstr "" #: includes/fields/class-acf-field-file.php:244 #: includes/fields/class-acf-field-image.php:244 -#: pro/fields/class-acf-field-gallery.php:684 +#: pro/fields/class-acf-field-gallery.php:687 msgid "Minimum" msgstr "" @@ -1900,19 +1893,19 @@ msgstr "" #: includes/fields/class-acf-field-file.php:255 #: includes/fields/class-acf-field-image.php:273 -#: pro/fields/class-acf-field-gallery.php:713 +#: pro/fields/class-acf-field-gallery.php:716 msgid "Maximum" msgstr "" #: includes/fields/class-acf-field-file.php:266 #: includes/fields/class-acf-field-image.php:302 -#: pro/fields/class-acf-field-gallery.php:742 +#: pro/fields/class-acf-field-gallery.php:745 msgid "Allowed file types" msgstr "" #: includes/fields/class-acf-field-file.php:267 #: includes/fields/class-acf-field-image.php:303 -#: pro/fields/class-acf-field-gallery.php:743 +#: pro/fields/class-acf-field-gallery.php:746 msgid "Comma separated list. Leave blank for all types" msgstr "" @@ -1924,47 +1917,47 @@ msgstr "" msgid "Sorry, this browser does not support geolocation" msgstr "" -#: includes/fields/class-acf-field-google-map.php:165 +#: includes/fields/class-acf-field-google-map.php:166 msgid "Clear location" msgstr "" -#: includes/fields/class-acf-field-google-map.php:166 +#: includes/fields/class-acf-field-google-map.php:167 msgid "Find current location" msgstr "" -#: includes/fields/class-acf-field-google-map.php:169 +#: includes/fields/class-acf-field-google-map.php:170 msgid "Search for address..." msgstr "" -#: includes/fields/class-acf-field-google-map.php:199 -#: includes/fields/class-acf-field-google-map.php:210 -msgid "Center" -msgstr "" - #: includes/fields/class-acf-field-google-map.php:200 #: includes/fields/class-acf-field-google-map.php:211 +msgid "Center" +msgstr "" + +#: includes/fields/class-acf-field-google-map.php:201 +#: includes/fields/class-acf-field-google-map.php:212 msgid "Center the initial map" msgstr "" -#: includes/fields/class-acf-field-google-map.php:222 +#: includes/fields/class-acf-field-google-map.php:223 msgid "Zoom" msgstr "" -#: includes/fields/class-acf-field-google-map.php:223 +#: includes/fields/class-acf-field-google-map.php:224 msgid "Set the initial zoom level" msgstr "" -#: includes/fields/class-acf-field-google-map.php:232 +#: includes/fields/class-acf-field-google-map.php:233 #: includes/fields/class-acf-field-image.php:256 #: includes/fields/class-acf-field-image.php:285 #: includes/fields/class-acf-field-oembed.php:268 -#: pro/fields/class-acf-field-gallery.php:696 -#: pro/fields/class-acf-field-gallery.php:725 +#: pro/fields/class-acf-field-gallery.php:699 +#: pro/fields/class-acf-field-gallery.php:728 msgid "Height" msgstr "" -#: includes/fields/class-acf-field-google-map.php:233 -msgid "Customise the map height" +#: includes/fields/class-acf-field-google-map.php:234 +msgid "Customize the map height" msgstr "" #: includes/fields/class-acf-field-group.php:25 @@ -2048,16 +2041,16 @@ msgstr "" #: includes/fields/class-acf-field-image.php:245 #: includes/fields/class-acf-field-image.php:274 -#: pro/fields/class-acf-field-gallery.php:685 -#: pro/fields/class-acf-field-gallery.php:714 +#: pro/fields/class-acf-field-gallery.php:688 +#: pro/fields/class-acf-field-gallery.php:717 msgid "Restrict which images can be uploaded" msgstr "" #: includes/fields/class-acf-field-image.php:248 #: includes/fields/class-acf-field-image.php:277 #: includes/fields/class-acf-field-oembed.php:257 -#: pro/fields/class-acf-field-gallery.php:688 -#: pro/fields/class-acf-field-gallery.php:717 +#: pro/fields/class-acf-field-gallery.php:691 +#: pro/fields/class-acf-field-gallery.php:720 msgid "Width" msgstr "" @@ -2182,25 +2175,25 @@ msgstr "" #: includes/fields/class-acf-field-page_link.php:485 #: includes/fields/class-acf-field-post_object.php:383 -#: includes/fields/class-acf-field-relationship.php:641 +#: includes/fields/class-acf-field-relationship.php:560 msgid "Filter by Post Type" msgstr "" #: includes/fields/class-acf-field-page_link.php:493 #: includes/fields/class-acf-field-post_object.php:391 -#: includes/fields/class-acf-field-relationship.php:649 +#: includes/fields/class-acf-field-relationship.php:568 msgid "All post types" msgstr "" #: includes/fields/class-acf-field-page_link.php:499 #: includes/fields/class-acf-field-post_object.php:397 -#: includes/fields/class-acf-field-relationship.php:655 +#: includes/fields/class-acf-field-relationship.php:574 msgid "Filter by Taxonomy" msgstr "" #: includes/fields/class-acf-field-page_link.php:507 #: includes/fields/class-acf-field-post_object.php:405 -#: includes/fields/class-acf-field-relationship.php:663 +#: includes/fields/class-acf-field-relationship.php:582 msgid "All taxonomies" msgstr "" @@ -2210,8 +2203,8 @@ msgstr "" #: includes/fields/class-acf-field-page_link.php:533 #: includes/fields/class-acf-field-post_object.php:421 -#: includes/fields/class-acf-field-select.php:387 -#: includes/fields/class-acf-field-user.php:419 +#: includes/fields/class-acf-field-select.php:392 +#: includes/fields/class-acf-field-user.php:403 msgid "Select multiple values?" msgstr "" @@ -2221,12 +2214,12 @@ msgstr "" #: includes/fields/class-acf-field-post_object.php:25 #: includes/fields/class-acf-field-post_object.php:436 -#: includes/fields/class-acf-field-relationship.php:720 +#: includes/fields/class-acf-field-relationship.php:639 msgid "Post Object" msgstr "" #: includes/fields/class-acf-field-post_object.php:437 -#: includes/fields/class-acf-field-relationship.php:721 +#: includes/fields/class-acf-field-relationship.php:640 msgid "Post ID" msgstr "" @@ -2270,52 +2263,52 @@ msgstr "" msgid "No matches found" msgstr "" -#: includes/fields/class-acf-field-relationship.php:441 +#: includes/fields/class-acf-field-relationship.php:411 msgid "Select post type" msgstr "" -#: includes/fields/class-acf-field-relationship.php:467 +#: includes/fields/class-acf-field-relationship.php:420 msgid "Select taxonomy" msgstr "" -#: includes/fields/class-acf-field-relationship.php:557 +#: includes/fields/class-acf-field-relationship.php:477 msgid "Search..." msgstr "" -#: includes/fields/class-acf-field-relationship.php:669 +#: includes/fields/class-acf-field-relationship.php:588 msgid "Filters" msgstr "" -#: includes/fields/class-acf-field-relationship.php:675 +#: includes/fields/class-acf-field-relationship.php:594 #: includes/locations/class-acf-location-post-type.php:27 msgid "Post Type" msgstr "" -#: includes/fields/class-acf-field-relationship.php:676 +#: includes/fields/class-acf-field-relationship.php:595 #: includes/fields/class-acf-field-taxonomy.php:28 #: includes/fields/class-acf-field-taxonomy.php:754 #: includes/locations/class-acf-location-taxonomy.php:27 msgid "Taxonomy" msgstr "" -#: includes/fields/class-acf-field-relationship.php:683 +#: includes/fields/class-acf-field-relationship.php:602 msgid "Elements" msgstr "" -#: includes/fields/class-acf-field-relationship.php:684 +#: includes/fields/class-acf-field-relationship.php:603 msgid "Selected elements will be displayed in each result" msgstr "" -#: includes/fields/class-acf-field-relationship.php:695 +#: includes/fields/class-acf-field-relationship.php:614 msgid "Minimum posts" msgstr "" -#: includes/fields/class-acf-field-relationship.php:704 +#: includes/fields/class-acf-field-relationship.php:623 msgid "Maximum posts" msgstr "" -#: includes/fields/class-acf-field-relationship.php:808 -#: pro/fields/class-acf-field-gallery.php:815 +#: includes/fields/class-acf-field-relationship.php:727 +#: pro/fields/class-acf-field-gallery.php:818 #, php-format msgid "%s requires at least %s selection" msgid_plural "%s requires at least %s selections" @@ -2392,16 +2385,16 @@ msgctxt "Select2 JS load_fail" msgid "Loading failed" msgstr "" -#: includes/fields/class-acf-field-select.php:397 +#: includes/fields/class-acf-field-select.php:402 #: includes/fields/class-acf-field-true_false.php:144 msgid "Stylised UI" msgstr "" -#: includes/fields/class-acf-field-select.php:407 +#: includes/fields/class-acf-field-select.php:412 msgid "Use AJAX to lazy load choices?" msgstr "" -#: includes/fields/class-acf-field-select.php:423 +#: includes/fields/class-acf-field-select.php:428 msgid "Specify the value returned" msgstr "" @@ -2574,23 +2567,23 @@ msgstr "" msgid "User" msgstr "" -#: includes/fields/class-acf-field-user.php:394 +#: includes/fields/class-acf-field-user.php:378 msgid "Filter by role" msgstr "" -#: includes/fields/class-acf-field-user.php:402 +#: includes/fields/class-acf-field-user.php:386 msgid "All user roles" msgstr "" -#: includes/fields/class-acf-field-user.php:433 +#: includes/fields/class-acf-field-user.php:417 msgid "User Array" msgstr "" -#: includes/fields/class-acf-field-user.php:434 +#: includes/fields/class-acf-field-user.php:418 msgid "User Object" msgstr "" -#: includes/fields/class-acf-field-user.php:435 +#: includes/fields/class-acf-field-user.php:419 msgid "User ID" msgstr "" @@ -2643,17 +2636,12 @@ msgstr "" msgid "TinyMCE will not be initalized until field is clicked" msgstr "" -#: includes/forms/form-comment.php:166 includes/forms/form-post.php:301 -#: pro/admin/admin-options-page.php:308 -msgid "Edit field group" -msgstr "" - #: includes/forms/form-front.php:55 msgid "Validate Email" msgstr "" #: includes/forms/form-front.php:103 -#: pro/fields/class-acf-field-gallery.php:588 pro/options-page.php:81 +#: pro/fields/class-acf-field-gallery.php:591 pro/options-page.php:81 msgid "Update" msgstr "" @@ -2825,26 +2813,32 @@ msgstr "" msgid "Advanced Custom Fields PRO" msgstr "" -#: pro/admin/admin-options-page.php:200 +#: pro/admin/admin-options-page.php:198 msgid "Publish" msgstr "" -#: pro/admin/admin-options-page.php:206 +#: pro/admin/admin-options-page.php:204 #, php-format msgid "" "No Custom Field Groups found for this options page. Create a " "Custom Field Group" msgstr "" -#: pro/admin/admin-settings-updates.php:78 +#: pro/admin/admin-updates.php:49 msgid "Error. Could not connect to update server" msgstr "" -#: pro/admin/admin-settings-updates.php:162 +#: pro/admin/admin-updates.php:118 #: pro/admin/views/html-settings-updates.php:13 msgid "Updates" msgstr "" +#: pro/admin/admin-updates.php:191 +msgid "" +"Error. Could not authenticate update package. Please check again or " +"deactivate and reactivate your ACF PRO license." +msgstr "" + #: pro/admin/views/html-settings-updates.php:7 msgid "Deactivate License" msgstr "" @@ -3064,67 +3058,67 @@ msgstr "" msgid "Maximum selection reached" msgstr "" -#: pro/fields/class-acf-field-gallery.php:336 +#: pro/fields/class-acf-field-gallery.php:338 msgid "Length" msgstr "" -#: pro/fields/class-acf-field-gallery.php:379 +#: pro/fields/class-acf-field-gallery.php:381 msgid "Caption" msgstr "" -#: pro/fields/class-acf-field-gallery.php:388 +#: pro/fields/class-acf-field-gallery.php:390 msgid "Alt Text" msgstr "" -#: pro/fields/class-acf-field-gallery.php:559 +#: pro/fields/class-acf-field-gallery.php:562 msgid "Add to gallery" msgstr "" -#: pro/fields/class-acf-field-gallery.php:563 +#: pro/fields/class-acf-field-gallery.php:566 msgid "Bulk actions" msgstr "" -#: pro/fields/class-acf-field-gallery.php:564 +#: pro/fields/class-acf-field-gallery.php:567 msgid "Sort by date uploaded" msgstr "" -#: pro/fields/class-acf-field-gallery.php:565 +#: pro/fields/class-acf-field-gallery.php:568 msgid "Sort by date modified" msgstr "" -#: pro/fields/class-acf-field-gallery.php:566 +#: pro/fields/class-acf-field-gallery.php:569 msgid "Sort by title" msgstr "" -#: pro/fields/class-acf-field-gallery.php:567 +#: pro/fields/class-acf-field-gallery.php:570 msgid "Reverse current order" msgstr "" -#: pro/fields/class-acf-field-gallery.php:585 +#: pro/fields/class-acf-field-gallery.php:588 msgid "Close" msgstr "" -#: pro/fields/class-acf-field-gallery.php:639 +#: pro/fields/class-acf-field-gallery.php:642 msgid "Minimum Selection" msgstr "" -#: pro/fields/class-acf-field-gallery.php:648 +#: pro/fields/class-acf-field-gallery.php:651 msgid "Maximum Selection" msgstr "" -#: pro/fields/class-acf-field-gallery.php:657 +#: pro/fields/class-acf-field-gallery.php:660 msgid "Insert" msgstr "" -#: pro/fields/class-acf-field-gallery.php:658 +#: pro/fields/class-acf-field-gallery.php:661 msgid "Specify where new attachments are added" msgstr "" -#: pro/fields/class-acf-field-gallery.php:662 +#: pro/fields/class-acf-field-gallery.php:665 msgid "Append to the end" msgstr "" -#: pro/fields/class-acf-field-gallery.php:663 +#: pro/fields/class-acf-field-gallery.php:666 msgid "Prepend to the beginning" msgstr "" diff --git a/pro/acf-pro.php b/pro/acf-pro.php index 5dba6e1..55e4e2a 100644 --- a/pro/acf-pro.php +++ b/pro/acf-pro.php @@ -35,7 +35,7 @@ class acf_pro { if( is_admin() ) { acf_include('pro/admin/admin-options-page.php'); - acf_include('pro/admin/admin-settings-updates.php'); + acf_include('pro/admin/admin-updates.php'); } diff --git a/pro/admin/admin-options-page.php b/pro/admin/admin-options-page.php index 7fb25e9..78ea025 100644 --- a/pro/admin/admin-options-page.php +++ b/pro/admin/admin-options-page.php @@ -190,9 +190,7 @@ class acf_admin_options_page { // notices if( !empty($_GET['message']) && $_GET['message'] == '1' ) { - - acf_add_admin_notice( $this->page['updated_message'] ); - + acf_add_admin_notice( $this->page['updated_message'], 'success' ); } @@ -202,8 +200,8 @@ class acf_admin_options_page { if( empty($field_groups) ) { - - acf_add_admin_notice( sprintf( __('No Custom Field Groups found for this options page. Create a Custom Field Group', 'acf'), admin_url() . 'post-new.php?post_type=acf-field-group' ), 'error'); + + acf_add_admin_notice( sprintf( __('No Custom Field Groups found for this options page. Create a Custom Field Group', 'acf'), admin_url('post-new.php?post_type=acf-field-group') ), 'warning' ); } else { diff --git a/pro/admin/admin-settings-updates.php b/pro/admin/admin-settings-updates.php deleted file mode 100644 index 3a65a37..0000000 --- a/pro/admin/admin-settings-updates.php +++ /dev/null @@ -1,418 +0,0 @@ -Error. Could not connect to update server', 'acf') . ' (' . esc_html( $error->get_error_message() ) . ')'; - - } - - - // add notice - $this->show_notice( $error, 'error' ); - - } - - - /* - * get_changelog_section - * - * This function will find and return a section of content from a plugin changelog - * - * @type function - * @date 11/4/17 - * @since 5.5.10 - * - * @param $changelog (string) - * @param $h4 (string) - * @return (string) - */ - - function get_changelog_section( $changelog, $h4 = '' ) { - - // explode - $bits = array_filter( explode('

              ', $changelog) ); - - - // loop - foreach( $bits as $bit ) { - - // vars - $bit = explode('

              ', $bit); - $version = trim($bit[0]); - $text = trim($bit[1]); - - - // is relevant? - if( version_compare($h4, $version, '==') ) { - - return '

              ' . esc_html($version) . '

              ' . acf_esc_html($text); - - } - - } - - - // update - return ''; - - } - - - /* - * admin_menu - * - * This function will add the ACF menu item to the WP admin - * - * @type action (admin_menu) - * @date 28/09/13 - * @since 5.0.0 - * - * @param n/a - * @return n/a - */ - - function admin_menu() { - - // bail early if no show_admin - if( !acf_get_setting('show_admin') ) return; - - - // bail early if no show_updates - if( !acf_get_setting('show_updates') ) return; - - - // bail early if not a plugin (included in theme) - if( !acf_is_plugin_active() ) return; - - - // add page - $page = add_submenu_page('edit.php?post_type=acf-field-group', __('Updates','acf'), __('Updates','acf'), acf_get_setting('capability'), 'acf-settings-updates', array($this,'html') ); - - - // actions - add_action('load-' . $page, array($this,'load')); - - } - - - /* - * load - * - * description - * - * @type function - * @date 7/01/2014 - * @since 5.0.0 - * - * @param $post_id (int) - * @return $post_id (int) - */ - - function load() { - - // activate - if( acf_verify_nonce('activate_pro_licence') ) { - $this->activate_pro_licence(); - - // deactivate - } elseif( acf_verify_nonce('deactivate_pro_licence') ) { - $this->deactivate_pro_licence(); - } - - // vars - $license = acf_pro_get_license_key(); - $this->view = array( - 'license' => $license, - 'active' => $license ? 1 : 0, - 'current_version' => acf_get_setting('version'), - 'remote_version' => '', - 'update_available' => false, - 'changelog' => '', - 'upgrade_notice' => '' - ); - - // get plugin updates - $force_check = !empty( $_GET['force-check'] ); - $info = acf_updates()->get_plugin_info('pro', $force_check); - - // error - if( is_wp_error($info) ) { - return $this->show_error( $info ); - } - - // add info to view - $this->view['remote_version'] = $info['version']; - - // add changelog if the remote version is '>' than the current version - $version = acf_get_setting('version'); - - // check if remote version is higher than current version - if( version_compare($info['version'], $version, '>') ) { - - // update view - $this->view['update_available'] = true; - $this->view['changelog'] = $this->get_changelog_section($info['changelog'], $info['version']); - $this->view['upgrade_notice'] = $this->get_changelog_section($info['upgrade_notice'], $info['version']); - - // perform update checks if license is active - $basename = acf_get_setting('basename'); - $update = acf_updates()->get_plugin_update( $basename ); - if( $license ) { - - // display error if no package url - // - possible if license key has been modified - if( $update && !$update['package'] ) { - $this->show_error( __('Error. Could not authenticate update package. Please check again or deactivate and reactivate your ACF PRO license.', 'acf') ); - $this->view['update_available'] = false; - } - - // refresh transient - // - if no update exists in the transient - // - or if the transient 'new_version' is stale - if( !$update || $update['new_version'] !== $info['version'] ) { - acf_updates()->refresh_plugins_transient(); - } - } - } - } - - /* - * activate_pro_licence - * - * description - * - * @type function - * @date 16/01/2014 - * @since 5.0.0 - * - * @param $post_id (int) - * @return $post_id (int) - */ - - function activate_pro_licence() { - - // connect - $post = array( - 'acf_license' => $_POST['acf_pro_licence'], - 'acf_version' => acf_get_setting('version'), - 'wp_name' => get_bloginfo('name'), - 'wp_url' => home_url(), - 'wp_version' => get_bloginfo('version'), - 'wp_language' => get_bloginfo('language'), - 'wp_timezone' => get_option('timezone_string'), - ); - - - // connect - $response = acf_updates()->request('v2/plugins/activate?p=pro', $post); - - - // ensure response is expected JSON array (not string) - if( is_string($response) ) { - $response = new WP_Error( 'server_error', esc_html($response) ); - } - - - // error - if( is_wp_error($response) ) { - - return $this->show_error( $response ); - - } - - - // success - if( $response['status'] == 1 ) { - - // update license - acf_pro_update_license( $response['license'] ); - - // refresh transient - acf_updates()->refresh_plugins_transient(); - - // show message - $this->show_notice( $response['message'] ); - - } else { - - // show error - $this->show_error( $response['message'] ); - - } - - } - - - /* - * deactivate_pro_licence - * - * description - * - * @type function - * @date 16/01/2014 - * @since 5.0.0 - * - * @param $post_id (int) - * @return $post_id (int) - */ - - function deactivate_pro_licence() { - - // vars - $license = acf_pro_get_license_key(); - - - // bail early if no key - if( !$license ) return; - - - // connect - $post = array( - 'acf_license' => $license, - 'wp_url' => home_url(), - ); - - - // connect - $response = acf_updates()->request('v2/plugins/deactivate?p=pro', $post); - - - // ensure response is expected JSON array (not string) - if( is_string($response) ) { - $response = new WP_Error( 'server_error', esc_html($response) ); - } - - - // error - if( is_wp_error($response) ) { - - return $this->show_error( $response ); - - } - - - // clear DB - acf_pro_update_license(''); - - // refresh transient - acf_updates()->refresh_plugins_transient(); - - // success - if( $response['status'] == 1 ) { - - // show message - $this->show_notice( $response['message'] ); - - - } else { - - // show error - $this->show_error( $response['message'] ); - - } - - } - - - /* - * html - * - * description - * - * @type function - * @date 7/01/2014 - * @since 5.0.0 - * - * @param $post_id (int) - * @return $post_id (int) - */ - - function html() { - - // load view - acf_get_view( dirname(__FILE__) . '/views/html-settings-updates.php', $this->view); - - } - -} - - -// initialize -new acf_admin_settings_updates(); - -endif; // class_exists check - -?> \ No newline at end of file diff --git a/pro/admin/admin-updates.php b/pro/admin/admin-updates.php new file mode 100644 index 0000000..c66548f --- /dev/null +++ b/pro/admin/admin-updates.php @@ -0,0 +1,339 @@ + __('Error. Could not connect to update server', 'acf') . ' (' . esc_html( $wp_error->get_error_message() ) . ').', + 'type' => 'error' + )); + } + + /** + * get_changelog_changes + * + * Finds the specific changes for a given version from the provided changelog snippet. + * + * @date 14/1/19 + * @since 5.7.10 + * + * @param string $changelog The changelog text. + * @param string $version The version to find. + * @return string + */ + function get_changelog_changes( $changelog = '', $version = '' ) { + + // Explode changelog into sections. + $bits = array_filter( explode('

              ', $changelog) ); + + // Loop over each version chunk. + foreach( $bits as $bit ) { + + // Find the version number for this chunk. + $bit = explode('

              ', $bit); + $bit_version = trim( $bit[0] ); + $bit_text = trim( $bit[1] ); + + // Compare the chunk version number against param and return HTML. + if( acf_version_compare($bit_version, '==', $version) ) { + return '

              ' . esc_html($bit_version) . '

              ' . acf_esc_html($bit_text); + } + } + + // Return. + return ''; + } + + /** + * admin_menu + * + * Adds the admin menu subpage. + * + * @date 28/09/13 + * @since 5.0.0 + * + * @param void + * @return void + */ + function admin_menu() { + + // Bail early if no show_admin. + if( !acf_get_setting('show_admin') ) { + return; + } + + // Bail early if no show_updates. + if( !acf_get_setting('show_updates') ) { + return; + } + + // Bail early if not a plugin (included in theme). + if( !acf_is_plugin_active() ) { + return; + } + + // Add submenu. + $page = add_submenu_page( 'edit.php?post_type=acf-field-group', __('Updates','acf'), __('Updates','acf'), acf_get_setting('capability'), 'acf-settings-updates', array($this,'html') ); + + // Add actions to page. + add_action( "load-$page", array($this,'load') ); + } + + /** + * load + * + * Runs when loading the submenu page. + * + * @date 7/01/2014 + * @since 5.0.0 + * + * @param void + * @return void + */ + function load() { + + // Check activate. + if( acf_verify_nonce('activate_pro_licence') ) { + $this->activate_pro_licence(); + + // Check deactivate. + } elseif( acf_verify_nonce('deactivate_pro_licence') ) { + $this->deactivate_pro_licence(); + } + + // vars + $license = acf_pro_get_license_key(); + $this->view = array( + 'license' => $license, + 'active' => $license ? 1 : 0, + 'current_version' => acf_get_setting('version'), + 'remote_version' => '', + 'update_available' => false, + 'changelog' => '', + 'upgrade_notice' => '' + ); + + // get plugin updates + $force_check = !empty( $_GET['force-check'] ); + $info = acf_updates()->get_plugin_info('pro', $force_check); + + // Display error. + if( is_wp_error($info) ) { + return $this->display_wp_error( $info ); + } + + // add info to view + $this->view['remote_version'] = $info['version']; + + // add changelog if the remote version is '>' than the current version + $version = acf_get_setting('version'); + + // check if remote version is higher than current version + if( version_compare($info['version'], $version, '>') ) { + + // update view + $this->view['update_available'] = true; + $this->view['changelog'] = $this->get_changelog_changes($info['changelog'], $info['version']); + $this->view['upgrade_notice'] = $this->get_changelog_changes($info['upgrade_notice'], $info['version']); + + // perform update checks if license is active + $basename = acf_get_setting('basename'); + $update = acf_updates()->get_plugin_update( $basename ); + if( $license ) { + + // display error if no package url + // - possible if license key has been modified + if( $update && !$update['package'] ) { + $this->view['update_available'] = false; + acf_new_admin_notice(array( + 'text' => __('Error. Could not authenticate update package. Please check again or deactivate and reactivate your ACF PRO license.', 'acf'), + 'type' => 'error' + )); + } + + // refresh transient + // - if no update exists in the transient + // - or if the transient 'new_version' is stale + if( !$update || $update['new_version'] !== $info['version'] ) { + acf_updates()->refresh_plugins_transient(); + } + } + } + } + + /** + * activate_pro_licence + * + * Activates the submitted license key. + * + * @date 16/01/2014 + * @since 5.0.0 + * + * @param void + * @return void + */ + function activate_pro_licence() { + + // Connect to API. + $post = array( + 'acf_license' => $_POST['acf_pro_licence'], + 'acf_version' => acf_get_setting('version'), + 'wp_name' => get_bloginfo('name'), + 'wp_url' => home_url(), + 'wp_version' => get_bloginfo('version'), + 'wp_language' => get_bloginfo('language'), + 'wp_timezone' => get_option('timezone_string'), + ); + $response = acf_updates()->request('v2/plugins/activate?p=pro', $post); + + // Check response is expected JSON array (not string). + if( is_string($response) ) { + $response = new WP_Error( 'server_error', esc_html($response) ); + } + + // Display error. + if( is_wp_error($response) ) { + return $this->display_wp_error( $response ); + } + + // On success. + if( $response['status'] == 1 ) { + + // Update license. + acf_pro_update_license( $response['license'] ); + + // Refresh plugins transient to fetch new update data. + acf_updates()->refresh_plugins_transient(); + + // Show notice. + acf_add_admin_notice( $response['message'], 'success' ); + + // On failure. + } else { + + // Show notice. + acf_add_admin_notice( $response['message'], 'warning' ); + } + } + + /** + * activate_pro_licence + * + * Deactivates the registered license key. + * + * @date 16/01/2014 + * @since 5.0.0 + * + * @param void + * @return void + */ + function deactivate_pro_licence() { + + // Get license key. + $license = acf_pro_get_license_key(); + + // Bail early if no key. + if( !$license ) { + return; + } + + // Connect to API. + $post = array( + 'acf_license' => $license, + 'wp_url' => home_url(), + ); + $response = acf_updates()->request('v2/plugins/deactivate?p=pro', $post); + + + // Check response is expected JSON array (not string). + if( is_string($response) ) { + $response = new WP_Error( 'server_error', esc_html($response) ); + } + + // Display error. + if( is_wp_error($response) ) { + return $this->display_wp_error( $response ); + } + + // Remove license key from DB. + acf_pro_update_license(''); + + // Refresh plugins transient to fetch new update data. + acf_updates()->refresh_plugins_transient(); + + // On success. + if( $response['status'] == 1 ) { + + // Show notice. + acf_add_admin_notice( $response['message'], 'info' ); + + // On failure. + } else { + + // Show notice. + acf_add_admin_notice( $response['message'], 'warning' ); + } + } + + /** + * html + * + * Displays the submenu page's HTML. + * + * @date 7/01/2014 + * @since 5.0.0 + * + * @param void + * @return void + */ + function html() { + acf_get_view( dirname(__FILE__) . '/views/html-settings-updates.php', $this->view); + } +} + +// Initialize. +acf_new_instance('ACF_Admin_Updates'); + +endif; // class_exists check diff --git a/pro/assets/css/acf-pro-field-group.css b/pro/assets/css/acf-pro-field-group.css index 63368c0..57ae57c 100644 --- a/pro/assets/css/acf-pro-field-group.css +++ b/pro/assets/css/acf-pro-field-group.css @@ -1,64 +1 @@ -/*--------------------------------------------------------------------------------------------- -* -* Flexible Content -* -*---------------------------------------------------------------------------------------------*/ -.acf-field-setting-fc_layout .acf-fc-meta { - margin: 0 0 10px; - padding: 0; -} -.acf-field-setting-fc_layout .acf-fc-meta li { - margin: 0 0 10px; - padding: 0; -} -.acf-field-setting-fc_layout .acf-fc-meta .acf-fc-meta-display, -.acf-field-setting-fc_layout .acf-fc-meta .acf-fc-meta-min { - float: left; - width: 33%; - padding-right: 10px; -} -.acf-field-setting-fc_layout .acf-fc-meta .acf-fc-meta-label .acf-input-prepend, -.acf-field-setting-fc_layout .acf-fc-meta .acf-fc-meta-name .acf-input-prepend, -.acf-field-setting-fc_layout .acf-fc-meta .acf-fc-meta-display .acf-input-prepend { - min-width: 45px; -} -.acf-field-setting-fc_layout .acf-input-wrap.select { - border-radius: 0 3px 3px 0 !important; - border: #DFDFDF solid 1px; -} -.acf-field-setting-fc_layout .acf-input-wrap.select select { - margin: 0; - border: 0 none; - padding: 3px; - height: 26px; -} -.acf-field-setting-fc_layout .acf-fl-actions { - visibility: hidden; -} -.acf-field-setting-fc_layout .acf-fl-actions .reorder-layout { - cursor: move; -} -.acf-field-setting-fc_layout .acf-fl-actions a { - padding: 1px 0; - font-size: 13px; - line-height: 20px; -} -.acf-field-setting-fc_layout:hover .acf-fl-actions, -.acf-field-setting-fc_layout.-hover .acf-fl-actions { - visibility: visible; -} -/*--------------------------------------------------------------------------------------------- -* -* Clone -* -*---------------------------------------------------------------------------------------------*/ -.acf-field-object-clone { - /* group */ - /* seamless */ -} -.acf-field-object-clone[data-display="seamless"] .acf-field-setting-instructions, -.acf-field-object-clone[data-display="seamless"] .acf-field-setting-layout, -.acf-field-object-clone[data-display="seamless"] .acf-field-setting-wrapper, -.acf-field-object-clone[data-display="seamless"] .acf-field-setting-conditional_logic { - display: none; -} +.acf-field-setting-fc_layout .acf-fc-meta{margin:0 0 10px;padding:0}.acf-field-setting-fc_layout .acf-fc-meta li{margin:0 0 10px;padding:0}.acf-field-setting-fc_layout .acf-fc-meta .acf-fc-meta-display,.acf-field-setting-fc_layout .acf-fc-meta .acf-fc-meta-min{float:left;width:33%;padding-right:10px}.acf-field-setting-fc_layout .acf-fc-meta .acf-fc-meta-label .acf-input-prepend,.acf-field-setting-fc_layout .acf-fc-meta .acf-fc-meta-name .acf-input-prepend,.acf-field-setting-fc_layout .acf-fc-meta .acf-fc-meta-display .acf-input-prepend{min-width:45px}.acf-field-setting-fc_layout .acf-input-wrap.select{border-radius:0 3px 3px 0 !important;border:#DFDFDF solid 1px}.acf-field-setting-fc_layout .acf-input-wrap.select select{margin:0;border:0 none;padding:3px;height:26px}.acf-field-setting-fc_layout .acf-fl-actions{visibility:hidden}.acf-field-setting-fc_layout .acf-fl-actions .reorder-layout{cursor:move}.acf-field-setting-fc_layout .acf-fl-actions a{padding:1px 0;font-size:13px;line-height:20px}.acf-field-setting-fc_layout:hover .acf-fl-actions,.acf-field-setting-fc_layout.-hover .acf-fl-actions{visibility:visible}.acf-field-object-clone[data-display="seamless"] .acf-field-setting-instructions,.acf-field-object-clone[data-display="seamless"] .acf-field-setting-layout,.acf-field-object-clone[data-display="seamless"] .acf-field-setting-wrapper,.acf-field-object-clone[data-display="seamless"] .acf-field-setting-conditional_logic{display:none} diff --git a/pro/assets/css/acf-pro-input.css b/pro/assets/css/acf-pro-input.css index 7c50102..4edd819 100644 --- a/pro/assets/css/acf-pro-input.css +++ b/pro/assets/css/acf-pro-input.css @@ -1,614 +1 @@ -/*-------------------------------------------------------------------------------------------- -* -* Vars -* -*--------------------------------------------------------------------------------------------*/ -/* colors */ -/* acf-field */ -/* responsive */ -/*-------------------------------------------------------------------------------------------- -* -* Mixins -* -*--------------------------------------------------------------------------------------------*/ -/*--------------------------------------------------------------------------------------------- -* -* Repeater -* -*---------------------------------------------------------------------------------------------*/ -.acf-repeater { - /* table */ - /* row handle (add/remove) */ - /* add in spacer to th (force correct width) */ - /* row */ - /* sortable */ - /* layouts */ - /* - &.-row > table > tbody > tr:before, - &.-block > table > tbody > tr:before { - content: ""; - display: table-row; - height: 2px; - background: #f00; - } -*/ - /* empty */ - /* collapsed */ - /* collapsed (block layout) */ - /* collapsed (table layout) */ -} -.acf-repeater > table { - margin: 0 0 8px; - background: #F9F9F9; -} -.acf-repeater .acf-row-handle { - width: 16px; - text-align: center !important; - vertical-align: middle !important; - position: relative; - /* icons */ - /* .order */ - /* remove */ -} -.acf-repeater .acf-row-handle .acf-icon { - display: none; - position: absolute; - top: 0; - margin: -8px 0 0 -2px; - /* minus icon */ -} -.acf-repeater .acf-row-handle .acf-icon.-minus { - top: 50%; - /* ie fix */ -} -body.browser-msie .acf-repeater .acf-row-handle .acf-icon.-minus { - top: 25px; -} -.acf-repeater .acf-row-handle.order { - background: #f4f4f4; - cursor: move; - color: #aaa; - text-shadow: #fff 0 1px 0; -} -.acf-repeater .acf-row-handle.order:hover { - color: #666; -} -.acf-repeater .acf-row-handle.order + td { - border-left-color: #DFDFDF; -} -.acf-repeater .acf-row-handle.remove { - background: #F9F9F9; - border-left-color: #DFDFDF; -} -.acf-repeater th.acf-row-handle:before { - content: ""; - width: 16px; - display: block; - height: 1px; -} -.acf-repeater .acf-row { - /* hide clone */ - /* hover */ -} -.acf-repeater .acf-row.acf-clone { - display: none !important; -} -.acf-repeater .acf-row:hover, -.acf-repeater .acf-row.-hover { - /* icons */ -} -.acf-repeater .acf-row:hover > .acf-row-handle .acf-icon, -.acf-repeater .acf-row.-hover > .acf-row-handle .acf-icon { - display: block; -} -.acf-repeater > table > tbody > tr.ui-sortable-helper { - box-shadow: 0 1px 5px rgba(0, 0, 0, 0.2); -} -.acf-repeater > table > tbody > tr.ui-sortable-placeholder { - visibility: visible !important; -} -.acf-repeater > table > tbody > tr.ui-sortable-placeholder td { - background: #F9F9F9; -} -.acf-repeater.-row > table > tbody > tr > td, -.acf-repeater.-block > table > tbody > tr > td { - border-top-color: #E1E1E1; -} -.acf-repeater.-empty > table { - border-bottom: 0 none; -} -.acf-repeater.-empty.-row > table, -.acf-repeater.-empty.-block > table { - display: none; -} -.acf-repeater .acf-row.-collapsed > .acf-field { - display: none !important; -} -.acf-repeater .acf-row.-collapsed > td.acf-field.-collapsed-target { - display: table-cell !important; -} -.acf-repeater .acf-row.-collapsed > .acf-fields > * { - display: none !important; -} -.acf-repeater .acf-row.-collapsed > .acf-fields > .acf-field.-collapsed-target { - display: block !important; -} -.acf-repeater.-table .acf-row.-collapsed .acf-field.-collapsed-target { - border-left-color: #dfdfdf; -} -/*--------------------------------------------------------------------------------------------- -* -* Flexible Content -* -*---------------------------------------------------------------------------------------------*/ -.acf-flexible-content { - position: relative; -} -.acf-flexible-content > .clones { - display: none; -} -.acf-flexible-content > .values { - margin: 0 0 8px; -} -.acf-flexible-content > .values > .ui-sortable-placeholder { - visibility: visible !important; - border: 1px dashed #b4b9be; - box-shadow: none; - background: transparent; -} -.acf-flexible-content .layout { - position: relative; - margin: 20px 0 0; - background: #fff; - border: 1px solid #e1e1e1; -} -.acf-flexible-content .layout:first-child { - margin-top: 0; -} -.acf-flexible-content .layout .acf-fc-layout-handle { - display: block; - position: relative; - padding: 8px 10px; - cursor: move; - border-bottom: #E1E1E1 solid 1px; - color: #333333; - font-size: 14px; - line-height: 1.4em; -} -.acf-flexible-content .layout .acf-fc-layout-order { - display: block; - width: 20px; - height: 20px; - border-radius: 10px; - display: inline-block; - text-align: center; - line-height: 20px; - margin: 0 2px 0 0; - background: #F1F1F1; - font-size: 12px; - color: #666; -} -html[dir="rtl"] .acf-flexible-content .layout .acf-fc-layout-order { - float: right; - margin-right: 0; - margin-left: 5px; -} -.acf-flexible-content .layout .acf-fc-layout-controls { - position: absolute; - top: 8px; - right: 8px; -} -.acf-flexible-content .layout .acf-fc-layout-controls .acf-icon { - display: block; - float: left; - margin: 0 0 0 5px; -} -.acf-flexible-content .layout .acf-fc-layout-controls .acf-icon.-plus, -.acf-flexible-content .layout .acf-fc-layout-controls .acf-icon.-minus { - visibility: hidden; -} -.acf-flexible-content .layout .acf-fc-layout-controls .acf-icon.-collapse { - color: #72777c; - border-color: transparent; -} -.acf-flexible-content .layout .acf-fc-layout-controls .acf-icon.-collapse:hover { - color: #23282d; - background: transparent; -} -html[dir="rtl"] .acf-flexible-content .layout .acf-fc-layout-controls { - right: auto; - left: 9px; -} -.acf-flexible-content .layout:hover .acf-fc-layout-controls .acf-icon.-plus, -.acf-flexible-content .layout.-hover .acf-fc-layout-controls .acf-icon.-plus, -.acf-flexible-content .layout:hover .acf-fc-layout-controls .acf-icon.-minus, -.acf-flexible-content .layout.-hover .acf-fc-layout-controls .acf-icon.-minus { - visibility: visible; -} -.acf-flexible-content .layout.-collapsed > .acf-fc-layout-handle { - border-bottom-width: 0; -} -.acf-flexible-content .layout.-collapsed > .acf-fields, -.acf-flexible-content .layout.-collapsed > .acf-table { - display: none; -} -.acf-flexible-content .layout > .acf-table { - border: 0 none; - box-shadow: none; -} -.acf-flexible-content .layout > .acf-table > tbody > tr { - background: #fff; -} -.acf-flexible-content .layout > .acf-table > thead > tr > th { - background: #F9F9F9; -} -.acf-flexible-content .no-value-message { - padding: 19px; - border: #ccc dashed 2px; - text-align: center; - display: none; -} -.acf-flexible-content.-empty > .no-value-message { - display: block; -} -.acf-fc-popup { - padding: 5px 0; - z-index: 900001; - min-width: 135px; -} -.acf-fc-popup ul, -.acf-fc-popup li { - list-style: none; - display: block; - margin: 0; - padding: 0; -} -.acf-fc-popup li { - position: relative; - float: none; - white-space: nowrap; -} -.acf-fc-popup .badge { - display: inline-block; - border-radius: 8px; - font-size: 9px; - line-height: 15px; - padding: 0 5px; - background: #d54e21; - text-align: center; - color: #fff; - vertical-align: top; - margin: 0 0 0 5px; -} -.acf-fc-popup a { - color: #eee; - padding: 5px 10px; - display: block; - text-decoration: none; - position: relative; -} -.acf-fc-popup a:hover { - background: #0073aa; - color: #fff; -} -.acf-fc-popup a.disabled { - color: #888; - background: transparent; -} -/*--------------------------------------------------------------------------------------------- -* -* Galery -* -*---------------------------------------------------------------------------------------------*/ -.acf-gallery { - border: #DFDFDF solid 1px; - height: 400px; - position: relative; - /* main */ - /* attachments */ - /* attachment */ - /* toolbar */ - /* sidebar */ - /* side info */ - /* side data */ - /* column widths */ - /* resizable */ -} -.acf-gallery .acf-gallery-main { - position: absolute; - top: 0; - right: 0; - bottom: 0; - left: 0; - background: #fff; - z-index: 2; -} -.acf-gallery .acf-gallery-attachments { - position: absolute; - top: 0; - right: 0; - bottom: 48px; - left: 0; - padding: 5px; - overflow: auto; - overflow-x: hidden; -} -.acf-gallery .acf-gallery-attachment { - width: 25%; - float: left; - cursor: pointer; - position: relative; - /* hover */ - /* sortable */ - /* active */ - /* icon */ - /* rtl */ -} -.acf-gallery .acf-gallery-attachment .margin { - margin: 5px; - border: #DFDFDF solid 1px; - position: relative; - overflow: hidden; - background: #eee; -} -.acf-gallery .acf-gallery-attachment .margin:before { - content: ""; - display: block; - padding-top: 100%; -} -.acf-gallery .acf-gallery-attachment .thumbnail { - position: absolute; - top: 0; - left: 0; - width: 100%; - height: 100%; - transform: translate(50%, 50%); -} -html[dir="rtl"] .acf-gallery .acf-gallery-attachment .thumbnail { - transform: translate(-50%, 50%); -} -.acf-gallery .acf-gallery-attachment .thumbnail img { - display: block; - height: auto; - max-height: 100%; - width: auto; - transform: translate(-50%, -50%); -} -html[dir="rtl"] .acf-gallery .acf-gallery-attachment .thumbnail img { - transform: translate(50%, -50%); -} -.acf-gallery .acf-gallery-attachment .filename { - position: absolute; - bottom: 0; - left: 0; - right: 0; - padding: 5%; - background: #F4F4F4; - background: rgba(255, 255, 255, 0.8); - border-top: #DFDFDF solid 1px; - font-weight: bold; - text-align: center; - word-wrap: break-word; - max-height: 90%; - overflow: hidden; -} -.acf-gallery .acf-gallery-attachment .actions { - position: absolute; - top: 0; - right: 0; - display: none; -} -.acf-gallery .acf-gallery-attachment:hover .actions { - display: block; -} -.acf-gallery .acf-gallery-attachment.ui-sortable-helper .margin { - border: none; - box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3); -} -.acf-gallery .acf-gallery-attachment.ui-sortable-placeholder .margin { - background: #F1F1F1; - border: none; -} -.acf-gallery .acf-gallery-attachment.ui-sortable-placeholder .margin * { - display: none !important; -} -.acf-gallery .acf-gallery-attachment.active .margin { - box-shadow: 0 0 0 1px #FFFFFF, 0 0 0 5px #1E8CBE; -} -.acf-gallery .acf-gallery-attachment.-icon .thumbnail img { - transform: translate(-50%, -70%); -} -html[dir="rtl"] .acf-gallery .acf-gallery-attachment { - float: right; -} -.acf-gallery.sidebar-open { - /* hide attachment actions when sidebar is open */ - /* allow sidebar to move over main for small widths (widget edit box) */ -} -.acf-gallery.sidebar-open .acf-gallery-attachment .actions { - display: none; -} -.acf-gallery.sidebar-open .acf-gallery-side { - z-index: 2; -} -.acf-gallery .acf-gallery-toolbar { - position: absolute; - right: 0; - bottom: 0; - left: 0; - padding: 10px; - border-top: #DFDFDF solid 1px; - background: #fff; - min-height: 28px; -} -.acf-gallery .acf-gallery-toolbar .acf-hl li { - line-height: 24px; -} -.acf-gallery .acf-gallery-toolbar .bulk-actions-select { - width: auto; - margin: 0 1px 0 0; -} -.acf-gallery .acf-gallery-side { - position: absolute; - top: 0; - right: 0; - bottom: 0; - width: 0; - background: #F9F9F9; - border-left: #DFDFDF solid 1px; - z-index: 1; - overflow: hidden; -} -.acf-gallery .acf-gallery-side .acf-gallery-side-inner { - position: absolute; - top: 0; - left: 0; - bottom: 0; - width: 349px; -} -.acf-gallery .acf-gallery-side-info { - position: relative; - width: 100%; - padding: 10px; - margin: -10px 0 15px -10px; - background: #F1F1F1; - border-bottom: #DFDFDF solid 1px; -} -.acf-gallery .acf-gallery-side-info:after { - clear: both; - content: ""; - display: table; -} -html[dir="rtl"] .acf-gallery .acf-gallery-side-info { - margin-left: 0; - margin-right: -10px; -} -.acf-gallery .acf-gallery-side-info img { - float: left; - width: auto; - max-width: 65px; - max-height: 65px; - margin: 0 10px 1px 0; - background: #FFFFFF; - padding: 3px; - border: #DFDFDF solid 1px; - border-radius: 1px; - /* rtl */ -} -html[dir="rtl"] .acf-gallery .acf-gallery-side-info img { - float: right; - margin: 0 0 0 10px; -} -.acf-gallery .acf-gallery-side-info p { - font-size: 13px; - line-height: 15px; - margin: 3px 0; - word-break: break-all; - color: #999999; -} -.acf-gallery .acf-gallery-side-info p strong { - color: #000; -} -.acf-gallery .acf-gallery-side-info a { - text-decoration: none; -} -.acf-gallery .acf-gallery-side-info a.acf-gallery-edit { - color: #21759b; -} -.acf-gallery .acf-gallery-side-info a.acf-gallery-remove { - color: #bc0b0b; -} -.acf-gallery .acf-gallery-side-info a:hover { - text-decoration: underline; -} -.acf-gallery .acf-gallery-side-data { - position: absolute; - top: 0; - right: 0; - bottom: 48px; - left: 0; - overflow: auto; - overflow-x: inherit; - padding: 10px; -} -.acf-gallery .acf-gallery-side-data .acf-label, -.acf-gallery .acf-gallery-side-data th.label { - color: #666666; - font-size: 12px; - line-height: 25px; - padding: 0 4px 8px 0 !important; - width: auto !important; - vertical-align: top; -} -html[dir="rtl"] .acf-gallery .acf-gallery-side-data .acf-label, -html[dir="rtl"] .acf-gallery .acf-gallery-side-data th.label { - padding: 0 0 8px 4px !important; -} -.acf-gallery .acf-gallery-side-data .acf-label label, -.acf-gallery .acf-gallery-side-data th.label label { - font-weight: normal; -} -.acf-gallery .acf-gallery-side-data .acf-input, -.acf-gallery .acf-gallery-side-data td.field { - padding: 0 0 8px !important; -} -.acf-gallery .acf-gallery-side-data textarea { - min-height: 0; - height: 60px; -} -.acf-gallery .acf-gallery-side-data p.help { - font-size: 12px; -} -.acf-gallery .acf-gallery-side-data p.help:hover { - font-weight: normal; -} -.acf-gallery[data-columns="1"] .acf-gallery-attachment { - width: 100%; -} -.acf-gallery[data-columns="2"] .acf-gallery-attachment { - width: 50%; -} -.acf-gallery[data-columns="3"] .acf-gallery-attachment { - width: 33.333%; -} -.acf-gallery[data-columns="4"] .acf-gallery-attachment { - width: 25%; -} -.acf-gallery[data-columns="5"] .acf-gallery-attachment { - width: 20%; -} -.acf-gallery[data-columns="6"] .acf-gallery-attachment { - width: 16.666%; -} -.acf-gallery[data-columns="7"] .acf-gallery-attachment { - width: 14.285%; -} -.acf-gallery[data-columns="8"] .acf-gallery-attachment { - width: 12.5%; -} -.acf-gallery .ui-resizable-handle { - display: block; - position: absolute; -} -.acf-gallery .ui-resizable-s { - bottom: -5px; - cursor: ns-resize; - height: 7px; - left: 0; - width: 100%; -} -/* media modal selected */ -.acf-media-modal .attachment.acf-selected { - box-shadow: 0 0 0 3px #fff inset, 0 0 0 7px #0073aa inset !important; -} -.acf-media-modal .attachment.acf-selected .check { - display: none !important; -} -.acf-media-modal .attachment.acf-selected .thumbnail { - opacity: 0.25 !important; -} -.acf-media-modal .attachment.acf-selected .attachment-preview:before { - background: rgba(0, 0, 0, 0.15); - z-index: 1; - position: relative; -} +.acf-repeater>table{margin:0 0 8px;background:#F9F9F9}.acf-repeater .acf-row-handle{width:16px;text-align:center !important;vertical-align:middle !important;position:relative}.acf-repeater .acf-row-handle .acf-icon{display:none;position:absolute;top:0;margin:-8px 0 0 -2px}.acf-repeater .acf-row-handle .acf-icon.-minus{top:50%}body.browser-msie .acf-repeater .acf-row-handle .acf-icon.-minus{top:25px}.acf-repeater .acf-row-handle.order{background:#f4f4f4;cursor:move;color:#aaa;text-shadow:#fff 0 1px 0}.acf-repeater .acf-row-handle.order:hover{color:#666}.acf-repeater .acf-row-handle.order+td{border-left-color:#DFDFDF}.acf-repeater .acf-row-handle.remove{background:#F9F9F9;border-left-color:#DFDFDF}.acf-repeater th.acf-row-handle:before{content:"";width:16px;display:block;height:1px}.acf-repeater .acf-row.acf-clone{display:none !important}.acf-repeater .acf-row:hover>.acf-row-handle .acf-icon,.acf-repeater .acf-row.-hover>.acf-row-handle .acf-icon{display:block}.acf-repeater>table>tbody>tr.ui-sortable-helper{box-shadow:0 1px 5px rgba(0,0,0,0.2)}.acf-repeater>table>tbody>tr.ui-sortable-placeholder{visibility:visible !important}.acf-repeater>table>tbody>tr.ui-sortable-placeholder td{background:#F9F9F9}.acf-repeater.-row>table>tbody>tr>td,.acf-repeater.-block>table>tbody>tr>td{border-top-color:#E1E1E1}.acf-repeater.-empty>table{border-bottom:0 none}.acf-repeater.-empty.-row>table,.acf-repeater.-empty.-block>table{display:none}.acf-repeater .acf-row.-collapsed>.acf-field{display:none !important}.acf-repeater .acf-row.-collapsed>td.acf-field.-collapsed-target{display:table-cell !important}.acf-repeater .acf-row.-collapsed>.acf-fields>*{display:none !important}.acf-repeater .acf-row.-collapsed>.acf-fields>.acf-field.-collapsed-target{display:block !important}.acf-repeater.-table .acf-row.-collapsed .acf-field.-collapsed-target{border-left-color:#dfdfdf}.acf-flexible-content{position:relative}.acf-flexible-content>.clones{display:none}.acf-flexible-content>.values{margin:0 0 8px}.acf-flexible-content>.values>.ui-sortable-placeholder{visibility:visible !important;border:1px dashed #b4b9be;box-shadow:none;background:transparent}.acf-flexible-content .layout{position:relative;margin:20px 0 0;background:#fff;border:1px solid #e1e1e1}.acf-flexible-content .layout:first-child{margin-top:0}.acf-flexible-content .layout .acf-fc-layout-handle{display:block;position:relative;padding:8px 10px;cursor:move;border-bottom:#E1E1E1 solid 1px;color:#333333;font-size:14px;line-height:1.4em}.acf-flexible-content .layout .acf-fc-layout-order{display:block;width:20px;height:20px;border-radius:10px;display:inline-block;text-align:center;line-height:20px;margin:0 2px 0 0;background:#F1F1F1;font-size:12px;color:#666}html[dir="rtl"] .acf-flexible-content .layout .acf-fc-layout-order{float:right;margin-right:0;margin-left:5px}.acf-flexible-content .layout .acf-fc-layout-controls{position:absolute;top:8px;right:8px}.acf-flexible-content .layout .acf-fc-layout-controls .acf-icon{display:block;float:left;margin:0 0 0 5px}.acf-flexible-content .layout .acf-fc-layout-controls .acf-icon.-plus,.acf-flexible-content .layout .acf-fc-layout-controls .acf-icon.-minus{visibility:hidden}.acf-flexible-content .layout .acf-fc-layout-controls .acf-icon.-collapse{color:#72777c;border-color:transparent}.acf-flexible-content .layout .acf-fc-layout-controls .acf-icon.-collapse:hover{color:#23282d;background:transparent}html[dir="rtl"] .acf-flexible-content .layout .acf-fc-layout-controls{right:auto;left:9px}.acf-flexible-content .layout:hover .acf-fc-layout-controls .acf-icon.-plus,.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.-minus{visibility:visible}.acf-flexible-content .layout.-collapsed>.acf-fc-layout-handle{border-bottom-width:0}.acf-flexible-content .layout.-collapsed>.acf-fields,.acf-flexible-content .layout.-collapsed>.acf-table{display:none}.acf-flexible-content .layout>.acf-table{border:0 none;box-shadow:none}.acf-flexible-content .layout>.acf-table>tbody>tr{background:#fff}.acf-flexible-content .layout>.acf-table>thead>tr>th{background:#F9F9F9}.acf-flexible-content .no-value-message{padding:19px;border:#ccc dashed 2px;text-align:center;display:none}.acf-flexible-content.-empty>.no-value-message{display:block}.acf-fc-popup{padding:5px 0;z-index:900001;min-width:135px}.acf-fc-popup ul,.acf-fc-popup li{list-style:none;display:block;margin:0;padding:0}.acf-fc-popup li{position:relative;float:none;white-space:nowrap}.acf-fc-popup .badge{display:inline-block;border-radius:8px;font-size:9px;line-height:15px;padding:0 5px;background:#d54e21;text-align:center;color:#fff;vertical-align:top;margin:0 0 0 5px}.acf-fc-popup a{color:#eee;padding:5px 10px;display:block;text-decoration:none;position:relative}.acf-fc-popup a:hover{background:#0073aa;color:#fff}.acf-fc-popup a.disabled{color:#888;background:transparent}.acf-gallery{border:#DFDFDF solid 1px;height:400px;position:relative}.acf-gallery .acf-gallery-main{position:absolute;top:0;right:0;bottom:0;left:0;background:#fff;z-index:2}.acf-gallery .acf-gallery-attachments{position:absolute;top:0;right:0;bottom:48px;left:0;padding:5px;overflow:auto;overflow-x:hidden}.acf-gallery .acf-gallery-attachment{width:25%;float:left;cursor:pointer;position:relative}.acf-gallery .acf-gallery-attachment .margin{margin:5px;border:#DFDFDF solid 1px;position:relative;overflow:hidden;background:#eee}.acf-gallery .acf-gallery-attachment .margin:before{content:"";display:block;padding-top:100%}.acf-gallery .acf-gallery-attachment .thumbnail{position:absolute;top:0;left:0;width:100%;height:100%;transform:translate(50%, 50%)}html[dir="rtl"] .acf-gallery .acf-gallery-attachment .thumbnail{transform:translate(-50%, 50%)}.acf-gallery .acf-gallery-attachment .thumbnail img{display:block;height:auto;max-height:100%;width:auto;transform:translate(-50%, -50%)}html[dir="rtl"] .acf-gallery .acf-gallery-attachment .thumbnail img{transform:translate(50%, -50%)}.acf-gallery .acf-gallery-attachment .filename{position:absolute;bottom:0;left:0;right:0;padding:5%;background:#F4F4F4;background:rgba(255,255,255,0.8);border-top:#DFDFDF solid 1px;font-weight:bold;text-align:center;word-wrap:break-word;max-height:90%;overflow:hidden}.acf-gallery .acf-gallery-attachment .actions{position:absolute;top:0;right:0;display:none}.acf-gallery .acf-gallery-attachment:hover .actions{display:block}.acf-gallery .acf-gallery-attachment.ui-sortable-helper .margin{border:none;box-shadow:0 1px 3px rgba(0,0,0,0.3)}.acf-gallery .acf-gallery-attachment.ui-sortable-placeholder .margin{background:#F1F1F1;border:none}.acf-gallery .acf-gallery-attachment.ui-sortable-placeholder .margin *{display:none !important}.acf-gallery .acf-gallery-attachment.active .margin{box-shadow:0 0 0 1px #FFFFFF, 0 0 0 5px #1E8CBE}.acf-gallery .acf-gallery-attachment.-icon .thumbnail img{transform:translate(-50%, -70%)}html[dir="rtl"] .acf-gallery .acf-gallery-attachment{float:right}.acf-gallery.sidebar-open .acf-gallery-attachment .actions{display:none}.acf-gallery.sidebar-open .acf-gallery-side{z-index:2}.acf-gallery .acf-gallery-toolbar{position:absolute;right:0;bottom:0;left:0;padding:10px;border-top:#DFDFDF solid 1px;background:#fff;min-height:28px}.acf-gallery .acf-gallery-toolbar .acf-hl li{line-height:24px}.acf-gallery .acf-gallery-toolbar .bulk-actions-select{width:auto;margin:0 1px 0 0}.acf-gallery .acf-gallery-side{position:absolute;top:0;right:0;bottom:0;width:0;background:#F9F9F9;border-left:#DFDFDF solid 1px;z-index:1;overflow:hidden}.acf-gallery .acf-gallery-side .acf-gallery-side-inner{position:absolute;top:0;left:0;bottom:0;width:349px}.acf-gallery .acf-gallery-side-info{position:relative;width:100%;padding:10px;margin:-10px 0 15px -10px;background:#F1F1F1;border-bottom:#DFDFDF solid 1px}.acf-gallery .acf-gallery-side-info:after{display:block;clear:both;content:""}html[dir="rtl"] .acf-gallery .acf-gallery-side-info{margin-left:0;margin-right:-10px}.acf-gallery .acf-gallery-side-info img{float:left;width:auto;max-width:65px;max-height:65px;margin:0 10px 1px 0;background:#FFFFFF;padding:3px;border:#DFDFDF solid 1px;border-radius:1px}html[dir="rtl"] .acf-gallery .acf-gallery-side-info img{float:right;margin:0 0 0 10px}.acf-gallery .acf-gallery-side-info p{font-size:13px;line-height:15px;margin:3px 0;word-break:break-all;color:#999999}.acf-gallery .acf-gallery-side-info p strong{color:#000}.acf-gallery .acf-gallery-side-info a{text-decoration:none}.acf-gallery .acf-gallery-side-info a.acf-gallery-edit{color:#21759b}.acf-gallery .acf-gallery-side-info a.acf-gallery-remove{color:#bc0b0b}.acf-gallery .acf-gallery-side-info a:hover{text-decoration:underline}.acf-gallery .acf-gallery-side-data{position:absolute;top:0;right:0;bottom:48px;left:0;overflow:auto;overflow-x:inherit;padding:10px}.acf-gallery .acf-gallery-side-data .acf-label,.acf-gallery .acf-gallery-side-data th.label{color:#666666;font-size:12px;line-height:25px;padding:0 4px 8px 0 !important;width:auto !important;vertical-align:top}html[dir="rtl"] .acf-gallery .acf-gallery-side-data .acf-label,html[dir="rtl"] .acf-gallery .acf-gallery-side-data th.label{padding:0 0 8px 4px !important}.acf-gallery .acf-gallery-side-data .acf-label label,.acf-gallery .acf-gallery-side-data th.label label{font-weight:normal}.acf-gallery .acf-gallery-side-data .acf-input,.acf-gallery .acf-gallery-side-data td.field{padding:0 0 8px !important}.acf-gallery .acf-gallery-side-data textarea{min-height:0;height:60px}.acf-gallery .acf-gallery-side-data p.help{font-size:12px}.acf-gallery .acf-gallery-side-data p.help:hover{font-weight:normal}.acf-gallery[data-columns="1"] .acf-gallery-attachment{width:100%}.acf-gallery[data-columns="2"] .acf-gallery-attachment{width:50%}.acf-gallery[data-columns="3"] .acf-gallery-attachment{width:33.333%}.acf-gallery[data-columns="4"] .acf-gallery-attachment{width:25%}.acf-gallery[data-columns="5"] .acf-gallery-attachment{width:20%}.acf-gallery[data-columns="6"] .acf-gallery-attachment{width:16.666%}.acf-gallery[data-columns="7"] .acf-gallery-attachment{width:14.285%}.acf-gallery[data-columns="8"] .acf-gallery-attachment{width:12.5%}.acf-gallery .ui-resizable-handle{display:block;position:absolute}.acf-gallery .ui-resizable-s{bottom:-5px;cursor:ns-resize;height:7px;left:0;width:100%}.acf-media-modal .attachment.acf-selected{box-shadow:0 0 0 3px #fff inset, 0 0 0 7px #0073aa inset !important}.acf-media-modal .attachment.acf-selected .check{display:none !important}.acf-media-modal .attachment.acf-selected .thumbnail{opacity:0.25 !important}.acf-media-modal .attachment.acf-selected .attachment-preview:before{background:rgba(0,0,0,0.15);z-index:1;position:relative} diff --git a/pro/assets/js/acf-pro-field-group.js b/pro/assets/js/acf-pro-field-group.js index b811833..d3a6cb1 100644 --- a/pro/assets/js/acf-pro-field-group.js +++ b/pro/assets/js/acf-pro-field-group.js @@ -476,6 +476,6 @@ })(jQuery); -// @codekit-prepend "../js/acf-setting-repeater.js -// @codekit-prepend "../js/acf-setting-flexible-content.js -// @codekit-prepend "../js/acf-setting-clone.js \ No newline at end of file +// @codekit-prepend "_acf-setting-repeater.js +// @codekit-prepend "_acf-setting-flexible-content.js +// @codekit-prepend "_acf-setting-clone.js \ No newline at end of file diff --git a/pro/assets/js/acf-pro-input.js b/pro/assets/js/acf-pro-input.js index f7407bf..11a76e7 100644 --- a/pro/assets/js/acf-pro-input.js +++ b/pro/assets/js/acf-pro-input.js @@ -1701,6 +1701,6 @@ })(jQuery); -// @codekit-prepend "../js/acf-field-repeater.js"; -// @codekit-prepend "../js/acf-field-flexible-content.js"; -// @codekit-prepend "../js/acf-field-gallery.js"; \ No newline at end of file +// @codekit-prepend "_acf-field-repeater.js"; +// @codekit-prepend "_acf-field-flexible-content.js"; +// @codekit-prepend "_acf-field-gallery.js"; \ No newline at end of file diff --git a/readme.txt b/readme.txt index 83069b0..d1a9ea5 100644 --- a/readme.txt +++ b/readme.txt @@ -66,6 +66,23 @@ From your WordPress dashboard == Changelog == += 5.7.10 = +*Release Date - 16 January 2019* + +* Fix - Fixed bug preventing metaboxes from saving if validation fails within Gutenberg. +* Fix - Fixed bug causing unload prompt to show incorrectly within Gutenberg. +* Fix - Fixed JS error when selecting taxonomy terms within Gutenberg. +* Fix - Fixed bug causing jQuery sortable issues within other plugins. +* Tweak - Improved loading translations by adding fallback from region to country when .mo file does not exit. +* Tweak - Improved punctuation throughout admin notices. +* Tweak - Improved performance and accuracy when loading a user field value. +* Dev - Added filter 'acf/get_locale' to customize the locale used to load translations. +* Dev - Added filter 'acf/allow_unfiltered_html' to customize if current user can save unfiltered HTML. +* Dev - Added new data storage functions `acf_register_store()` and `acf_get_store()`. +* Dev - Moved from .less to .scss and minified all css. +* i18n - Updated French translation thanks to Maxime Bernard-Jacquet. +* i18n - Updated Czech translation thanks to David Rychly. + = 5.7.9 = *Release Date - 17 December 2018*