Version Description
Download this release
Release Info
Developer | nsinelnikov |
Plugin | ![]() |
Version | 2.1.4 |
Comparing to | |
See all releases |
Code changes from version 2.1.3 to 2.1.4
- assets/css/images/readme.txt +1 -0
- assets/css/images/ui-icons_444444_256x240.png +0 -0
- assets/css/images/ui-icons_555555_256x240.png +0 -0
- assets/css/images/ui-icons_777620_256x240.png +0 -0
- assets/css/images/ui-icons_777777_256x240.png +0 -0
- assets/css/images/ui-icons_cc0000_256x240.png +0 -0
- assets/css/images/ui-icons_ffffff_256x240.png +0 -0
- assets/css/select2/select2.css +10 -11
- assets/css/select2/select2.min.css +1 -1
- assets/css/um-account.css +5 -0
- assets/css/um-members-rtl.css +3 -0
- assets/css/um-modal.css +4 -0
- assets/css/um-styles.css +146 -52
- assets/img/extensions/{online-users.png → Online-Users.png} +0 -0
- assets/img/extensions/{user-photos.png → User-Photos.png} +0 -0
- assets/img/extensions/user-locations.png +0 -0
- assets/js/select2/i18n/af.js +3 -0
- assets/js/select2/i18n/ar.js +2 -2
- assets/js/select2/i18n/az.js +2 -2
- assets/js/select2/i18n/bg.js +2 -2
- assets/js/select2/i18n/bn.js +3 -0
- assets/js/select2/i18n/bs.js +3 -0
- assets/js/select2/i18n/ca.js +2 -2
- assets/js/select2/i18n/cs.js +2 -2
- assets/js/select2/i18n/da.js +2 -2
- assets/js/select2/i18n/de.js +2 -2
- assets/js/select2/i18n/dsb.js +3 -0
- assets/js/select2/i18n/el.js +3 -0
- assets/js/select2/i18n/en.js +2 -2
- assets/js/select2/i18n/es.js +2 -2
- assets/js/select2/i18n/et.js +2 -2
- assets/js/select2/i18n/eu.js +2 -2
- assets/js/select2/i18n/fa.js +2 -2
- assets/js/select2/i18n/fi.js +2 -2
- assets/js/select2/i18n/fr.js +2 -2
- assets/js/select2/i18n/gl.js +2 -2
- assets/js/select2/i18n/he.js +2 -2
- assets/js/select2/i18n/hi.js +2 -2
- assets/js/select2/i18n/hr.js +2 -2
- assets/js/select2/i18n/hsb.js +3 -0
- assets/js/select2/i18n/hu.js +2 -2
- assets/js/select2/i18n/hy.js +3 -0
- assets/js/select2/i18n/id.js +2 -2
- assets/js/select2/i18n/is.js +2 -2
- assets/js/select2/i18n/it.js +2 -2
- assets/js/select2/i18n/ja.js +2 -2
- assets/js/select2/i18n/ka.js +3 -0
- assets/js/select2/i18n/km.js +3 -0
- assets/js/select2/i18n/ko.js +2 -2
- assets/js/select2/i18n/lt.js +2 -2
- assets/js/select2/i18n/lv.js +2 -2
- assets/js/select2/i18n/mk.js +2 -2
- assets/js/select2/i18n/ms.js +2 -2
- assets/js/select2/i18n/nb.js +2 -2
- assets/js/select2/i18n/ne.js +3 -0
- assets/js/select2/i18n/nl.js +2 -2
- assets/js/select2/i18n/pl.js +2 -2
- assets/js/select2/i18n/ps.js +3 -0
- assets/js/select2/i18n/pt-BR.js +2 -2
- assets/js/select2/i18n/pt.js +2 -2
- assets/js/select2/i18n/ro.js +2 -2
- assets/js/select2/i18n/ru.js +2 -2
- assets/js/select2/i18n/sk.js +2 -2
- assets/js/select2/i18n/sl.js +3 -0
- assets/js/select2/i18n/sq.js +3 -0
- assets/js/select2/i18n/sr-Cyrl.js +2 -2
- assets/js/select2/i18n/sr.js +2 -2
- assets/js/select2/i18n/sv.js +2 -2
- assets/js/select2/i18n/th.js +2 -2
- assets/js/select2/i18n/tk.js +3 -0
- assets/js/select2/i18n/tr.js +2 -2
- assets/js/select2/i18n/uk.js +2 -2
- assets/js/select2/i18n/vi.js +2 -2
- assets/js/select2/i18n/zh-CN.js +2 -2
- assets/js/select2/i18n/zh-TW.js +2 -2
- assets/js/select2/select2.full.min.js +2 -3
- assets/js/um-members.js +52 -19
- assets/js/um-members.min.js +1 -1
- assets/js/um-modal.js +10 -0
- assets/js/um-modal.min.js +1 -1
- includes/admin/assets/css/um-admin-forms.css +35 -0
- includes/admin/assets/css/um-admin-modal.css +13 -1
- includes/admin/assets/js/um-admin-forms.js +96 -28
- includes/admin/assets/js/um-admin-modal.js +10 -8
- includes/admin/assets/js/um-admin-role-wrapper.js +12 -0
- includes/admin/core/class-admin-builder.php +4 -2
- includes/admin/core/class-admin-enqueue.php +37 -3
- includes/admin/core/class-admin-forms.php +75 -1
- includes/admin/core/class-admin-menu.php +1 -1
- includes/admin/core/class-admin-metabox.php +18 -13
- includes/admin/core/class-admin-notices.php +2 -2
- includes/admin/core/class-admin-settings.php +14 -1
- includes/admin/core/class-admin-upgrade.php +1 -1
- includes/admin/core/list-tables/emails-list-table.php +7 -11
- includes/admin/core/list-tables/roles-list-table.php +4 -4
- includes/admin/core/packages/2.1.0-beta1/member-directory.php +4 -0
- includes/admin/templates/directory/profile.php +1 -1
- includes/admin/templates/extensions.php +10 -4
- includes/admin/templates/modal/fonticons.php +1 -1
- includes/admin/templates/role/role-edit.php +17 -14
- includes/admin/templates/role/wp-capabilities.php +1 -1
- includes/class-dependencies.php +1 -1
- includes/class-init.php +1 -1
- includes/core/class-account.php +2 -0
- includes/core/class-builtin.php +20 -12
- includes/core/class-enqueue.php +3 -3
- includes/core/class-fields.php +149 -17
- includes/core/class-files.php +8 -5
- includes/core/class-form.php +48 -2
- includes/core/class-mail.php +1 -1
- includes/core/class-member-directory-meta.php +26 -9
- includes/core/class-member-directory.php +80 -53
- includes/core/class-plugin-updater.php +3 -3
- includes/core/class-shortcodes.php +9 -0
- includes/core/class-user.php +1 -1
- includes/core/class-validation.php +2 -16
- includes/core/um-actions-account.php +2 -2
- includes/core/um-actions-form.php +94 -95
- includes/core/um-filters-fields.php +53 -7
- includes/um-short-functions.php +239 -7
- languages/ultimate-member-en_US.mo +0 -0
- languages/ultimate-member-en_US.po +1020 -977
- readme.txt +32 -2
- templates/members-pagination.php +4 -4
- templates/members.php +14 -4
- ultimate-member.php +1 -1
assets/css/images/readme.txt
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
These images are part of the jquery-ui library and used in the file jquery-ui.css
|
assets/css/images/ui-icons_444444_256x240.png
ADDED
Binary file
|
assets/css/images/ui-icons_555555_256x240.png
ADDED
Binary file
|
assets/css/images/ui-icons_777620_256x240.png
ADDED
Binary file
|
assets/css/images/ui-icons_777777_256x240.png
ADDED
Binary file
|
assets/css/images/ui-icons_cc0000_256x240.png
ADDED
Binary file
|
assets/css/images/ui-icons_ffffff_256x240.png
ADDED
Binary file
|
assets/css/select2/select2.css
CHANGED
@@ -118,12 +118,14 @@
|
|
118 |
.select2-hidden-accessible {
|
119 |
border: 0 !important;
|
120 |
clip: rect(0 0 0 0) !important;
|
|
|
|
|
121 |
height: 1px !important;
|
122 |
-
margin: -1px !important;
|
123 |
overflow: hidden !important;
|
124 |
padding: 0 !important;
|
125 |
position: absolute !important;
|
126 |
-
width: 1px !important;
|
|
|
127 |
|
128 |
.select2-container--default .select2-selection--single {
|
129 |
background-color: #fff;
|
@@ -184,16 +186,15 @@
|
|
184 |
margin: 0;
|
185 |
padding: 0 5px;
|
186 |
width: 100%; }
|
187 |
-
|
188 |
-
|
189 |
-
margin-top: 5px;
|
190 |
-
float: left; }
|
191 |
.select2-container--default .select2-selection--multiple .select2-selection__clear {
|
192 |
cursor: pointer;
|
193 |
float: right;
|
194 |
font-weight: bold;
|
195 |
margin-top: 5px;
|
196 |
-
margin-right: 10px;
|
|
|
197 |
.select2-container--default .select2-selection--multiple .select2-selection__choice {
|
198 |
background-color: #e4e4e4;
|
199 |
border: 1px solid #aaa;
|
@@ -212,7 +213,7 @@
|
|
212 |
.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover {
|
213 |
color: #333; }
|
214 |
|
215 |
-
.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice, .select2-container--default[dir="rtl"] .select2-selection--multiple .select2-
|
216 |
float: right; }
|
217 |
|
218 |
.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice {
|
@@ -418,9 +419,7 @@
|
|
418 |
color: #555; }
|
419 |
|
420 |
.select2-container--classic[dir="rtl"] .select2-selection--multiple .select2-selection__choice {
|
421 |
-
float: right;
|
422 |
-
|
423 |
-
.select2-container--classic[dir="rtl"] .select2-selection--multiple .select2-selection__choice {
|
424 |
margin-left: 5px;
|
425 |
margin-right: auto; }
|
426 |
|
118 |
.select2-hidden-accessible {
|
119 |
border: 0 !important;
|
120 |
clip: rect(0 0 0 0) !important;
|
121 |
+
-webkit-clip-path: inset(50%) !important;
|
122 |
+
clip-path: inset(50%) !important;
|
123 |
height: 1px !important;
|
|
|
124 |
overflow: hidden !important;
|
125 |
padding: 0 !important;
|
126 |
position: absolute !important;
|
127 |
+
width: 1px !important;
|
128 |
+
white-space: nowrap !important; }
|
129 |
|
130 |
.select2-container--default .select2-selection--single {
|
131 |
background-color: #fff;
|
186 |
margin: 0;
|
187 |
padding: 0 5px;
|
188 |
width: 100%; }
|
189 |
+
.select2-container--default .select2-selection--multiple .select2-selection__rendered li {
|
190 |
+
list-style: none; }
|
|
|
|
|
191 |
.select2-container--default .select2-selection--multiple .select2-selection__clear {
|
192 |
cursor: pointer;
|
193 |
float: right;
|
194 |
font-weight: bold;
|
195 |
margin-top: 5px;
|
196 |
+
margin-right: 10px;
|
197 |
+
padding: 1px; }
|
198 |
.select2-container--default .select2-selection--multiple .select2-selection__choice {
|
199 |
background-color: #e4e4e4;
|
200 |
border: 1px solid #aaa;
|
213 |
.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover {
|
214 |
color: #333; }
|
215 |
|
216 |
+
.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice, .select2-container--default[dir="rtl"] .select2-selection--multiple .select2-search--inline {
|
217 |
float: right; }
|
218 |
|
219 |
.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice {
|
419 |
color: #555; }
|
420 |
|
421 |
.select2-container--classic[dir="rtl"] .select2-selection--multiple .select2-selection__choice {
|
422 |
+
float: right;
|
|
|
|
|
423 |
margin-left: 5px;
|
424 |
margin-right: auto; }
|
425 |
|
assets/css/select2/select2.min.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
.select2-container{box-sizing:border-box;display:inline-block;margin:0;position:relative;vertical-align:middle}.select2-container .select2-selection--single{box-sizing:border-box;cursor:pointer;display:block;height:28px;user-select:none;-webkit-user-select:none}.select2-container .select2-selection--single .select2-selection__rendered{display:block;padding-left:8px;padding-right:20px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.select2-container .select2-selection--single .select2-selection__clear{position:relative}.select2-container[dir="rtl"] .select2-selection--single .select2-selection__rendered{padding-right:8px;padding-left:20px}.select2-container .select2-selection--multiple{box-sizing:border-box;cursor:pointer;display:block;min-height:32px;user-select:none;-webkit-user-select:none}.select2-container .select2-selection--multiple .select2-selection__rendered{display:inline-block;overflow:hidden;padding-left:8px;text-overflow:ellipsis;white-space:nowrap}.select2-container .select2-search--inline{float:left}.select2-container .select2-search--inline .select2-search__field{box-sizing:border-box;border:none;font-size:100%;margin-top:5px;padding:0}.select2-container .select2-search--inline .select2-search__field::-webkit-search-cancel-button{-webkit-appearance:none}.select2-dropdown{background-color:white;border:1px solid #aaa;border-radius:4px;box-sizing:border-box;display:block;position:absolute;left:-100000px;width:100%;z-index:1051}.select2-results{display:block}.select2-results__options{list-style:none;margin:0;padding:0}.select2-results__option{padding:6px;user-select:none;-webkit-user-select:none}.select2-results__option[aria-selected]{cursor:pointer}.select2-container--open .select2-dropdown{left:0}.select2-container--open .select2-dropdown--above{border-bottom:none;border-bottom-left-radius:0;border-bottom-right-radius:0}.select2-container--open .select2-dropdown--below{border-top:none;border-top-left-radius:0;border-top-right-radius:0}.select2-search--dropdown{display:block;padding:4px}.select2-search--dropdown .select2-search__field{padding:4px;width:100%;box-sizing:border-box}.select2-search--dropdown .select2-search__field::-webkit-search-cancel-button{-webkit-appearance:none}.select2-search--dropdown.select2-search--hide{display:none}.select2-close-mask{border:0;margin:0;padding:0;display:block;position:fixed;left:0;top:0;min-height:100%;min-width:100%;height:auto;width:auto;opacity:0;z-index:99;background-color:#fff;filter:alpha(opacity=0)}.select2-hidden-accessible{border:0 !important;clip:rect(0 0 0 0) !important;height:1px !important;margin:-1px !important;overflow:hidden !important;padding:0 !important;position:absolute !important;width:1px !important}.select2-container--default .select2-selection--single{background-color:#fff;border:1px solid #aaa;border-radius:4px}.select2-container--default .select2-selection--single .select2-selection__rendered{color:#444;line-height:28px}.select2-container--default .select2-selection--single .select2-selection__clear{cursor:pointer;float:right;font-weight:bold}.select2-container--default .select2-selection--single .select2-selection__placeholder{color:#999}.select2-container--default .select2-selection--single .select2-selection__arrow{height:26px;position:absolute;top:1px;right:1px;width:20px}.select2-container--default .select2-selection--single .select2-selection__arrow b{border-color:#888 transparent transparent transparent;border-style:solid;border-width:5px 4px 0 4px;height:0;left:50%;margin-left:-4px;margin-top:-2px;position:absolute;top:50%;width:0}.select2-container--default[dir="rtl"] .select2-selection--single .select2-selection__clear{float:left}.select2-container--default[dir="rtl"] .select2-selection--single .select2-selection__arrow{left:1px;right:auto}.select2-container--default.select2-container--disabled .select2-selection--single{background-color:#eee;cursor:default}.select2-container--default.select2-container--disabled .select2-selection--single .select2-selection__clear{display:none}.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b{border-color:transparent transparent #888 transparent;border-width:0 4px 5px 4px}.select2-container--default .select2-selection--multiple{background-color:white;border:1px solid #aaa;border-radius:4px;cursor:text}.select2-container--default .select2-selection--multiple .select2-selection__rendered{box-sizing:border-box;list-style:none;margin:0;padding:0 5px;width:100%}.select2-container--default .select2-selection--multiple .select2-selection__placeholder{color:#999;margin-top:5px;float:left}.select2-container--default .select2-selection--multiple .select2-selection__clear{cursor:pointer;float:right;font-weight:bold;margin-top:5px;margin-right:10px}.select2-container--default .select2-selection--multiple .select2-selection__choice{background-color:#e4e4e4;border:1px solid #aaa;border-radius:4px;cursor:default;float:left;margin-right:5px;margin-top:5px;padding:0 5px}.select2-container--default .select2-selection--multiple .select2-selection__choice__remove{color:#999;cursor:pointer;display:inline-block;font-weight:bold;margin-right:2px}.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover{color:#333}.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice,.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__placeholder,.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-search--inline{float:right}.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice{margin-left:5px;margin-right:auto}.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice__remove{margin-left:2px;margin-right:auto}.select2-container--default.select2-container--focus .select2-selection--multiple{border:solid black 1px;outline:0}.select2-container--default.select2-container--disabled .select2-selection--multiple{background-color:#eee;cursor:default}.select2-container--default.select2-container--disabled .select2-selection__choice__remove{display:none}.select2-container--default.select2-container--open.select2-container--above .select2-selection--single,.select2-container--default.select2-container--open.select2-container--above .select2-selection--multiple{border-top-left-radius:0;border-top-right-radius:0}.select2-container--default.select2-container--open.select2-container--below .select2-selection--single,.select2-container--default.select2-container--open.select2-container--below .select2-selection--multiple{border-bottom-left-radius:0;border-bottom-right-radius:0}.select2-container--default .select2-search--dropdown .select2-search__field{border:1px solid #aaa}.select2-container--default .select2-search--inline .select2-search__field{background:transparent;border:none;outline:0;box-shadow:none;-webkit-appearance:textfield}.select2-container--default .select2-results>.select2-results__options{max-height:200px;overflow-y:auto}.select2-container--default .select2-results__option[role=group]{padding:0}.select2-container--default .select2-results__option[aria-disabled=true]{color:#999}.select2-container--default .select2-results__option[aria-selected=true]{background-color:#ddd}.select2-container--default .select2-results__option .select2-results__option{padding-left:1em}.select2-container--default .select2-results__option .select2-results__option .select2-results__group{padding-left:0}.select2-container--default .select2-results__option .select2-results__option .select2-results__option{margin-left:-1em;padding-left:2em}.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option{margin-left:-2em;padding-left:3em}.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option{margin-left:-3em;padding-left:4em}.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option{margin-left:-4em;padding-left:5em}.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option{margin-left:-5em;padding-left:6em}.select2-container--default .select2-results__option--highlighted[aria-selected]{background-color:#5897fb;color:white}.select2-container--default .select2-results__group{cursor:default;display:block;padding:6px}.select2-container--classic .select2-selection--single{background-color:#f7f7f7;border:1px solid #aaa;border-radius:4px;outline:0;background-image:-webkit-linear-gradient(top, #fff 50%, #eee 100%);background-image:-o-linear-gradient(top, #fff 50%, #eee 100%);background-image:linear-gradient(to bottom, #fff 50%, #eee 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFFFFFFF', endColorstr='#FFEEEEEE', GradientType=0)}.select2-container--classic .select2-selection--single:focus{border:1px solid #5897fb}.select2-container--classic .select2-selection--single .select2-selection__rendered{color:#444;line-height:28px}.select2-container--classic .select2-selection--single .select2-selection__clear{cursor:pointer;float:right;font-weight:bold;margin-right:10px}.select2-container--classic .select2-selection--single .select2-selection__placeholder{color:#999}.select2-container--classic .select2-selection--single .select2-selection__arrow{background-color:#ddd;border:none;border-left:1px solid #aaa;border-top-right-radius:4px;border-bottom-right-radius:4px;height:26px;position:absolute;top:1px;right:1px;width:20px;background-image:-webkit-linear-gradient(top, #eee 50%, #ccc 100%);background-image:-o-linear-gradient(top, #eee 50%, #ccc 100%);background-image:linear-gradient(to bottom, #eee 50%, #ccc 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFEEEEEE', endColorstr='#FFCCCCCC', GradientType=0)}.select2-container--classic .select2-selection--single .select2-selection__arrow b{border-color:#888 transparent transparent transparent;border-style:solid;border-width:5px 4px 0 4px;height:0;left:50%;margin-left:-4px;margin-top:-2px;position:absolute;top:50%;width:0}.select2-container--classic[dir="rtl"] .select2-selection--single .select2-selection__clear{float:left}.select2-container--classic[dir="rtl"] .select2-selection--single .select2-selection__arrow{border:none;border-right:1px solid #aaa;border-radius:0;border-top-left-radius:4px;border-bottom-left-radius:4px;left:1px;right:auto}.select2-container--classic.select2-container--open .select2-selection--single{border:1px solid #5897fb}.select2-container--classic.select2-container--open .select2-selection--single .select2-selection__arrow{background:transparent;border:none}.select2-container--classic.select2-container--open .select2-selection--single .select2-selection__arrow b{border-color:transparent transparent #888 transparent;border-width:0 4px 5px 4px}.select2-container--classic.select2-container--open.select2-container--above .select2-selection--single{border-top:none;border-top-left-radius:0;border-top-right-radius:0;background-image:-webkit-linear-gradient(top, #fff 0%, #eee 50%);background-image:-o-linear-gradient(top, #fff 0%, #eee 50%);background-image:linear-gradient(to bottom, #fff 0%, #eee 50%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFFFFFFF', endColorstr='#FFEEEEEE', GradientType=0)}.select2-container--classic.select2-container--open.select2-container--below .select2-selection--single{border-bottom:none;border-bottom-left-radius:0;border-bottom-right-radius:0;background-image:-webkit-linear-gradient(top, #eee 50%, #fff 100%);background-image:-o-linear-gradient(top, #eee 50%, #fff 100%);background-image:linear-gradient(to bottom, #eee 50%, #fff 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFEEEEEE', endColorstr='#FFFFFFFF', GradientType=0)}.select2-container--classic .select2-selection--multiple{background-color:white;border:1px solid #aaa;border-radius:4px;cursor:text;outline:0}.select2-container--classic .select2-selection--multiple:focus{border:1px solid #5897fb}.select2-container--classic .select2-selection--multiple .select2-selection__rendered{list-style:none;margin:0;padding:0 5px}.select2-container--classic .select2-selection--multiple .select2-selection__clear{display:none}.select2-container--classic .select2-selection--multiple .select2-selection__choice{background-color:#e4e4e4;border:1px solid #aaa;border-radius:4px;cursor:default;float:left;margin-right:5px;margin-top:5px;padding:0 5px}.select2-container--classic .select2-selection--multiple .select2-selection__choice__remove{color:#888;cursor:pointer;display:inline-block;font-weight:bold;margin-right:2px}.select2-container--classic .select2-selection--multiple .select2-selection__choice__remove:hover{color:#555}.select2-container--classic[dir="rtl"] .select2-selection--multiple .select2-selection__choice{float:right}.select2-container--classic[dir="rtl"] .select2-selection--multiple .select2-selection__choice{margin-left:5px;margin-right:auto}.select2-container--classic[dir="rtl"] .select2-selection--multiple .select2-selection__choice__remove{margin-left:2px;margin-right:auto}.select2-container--classic.select2-container--open .select2-selection--multiple{border:1px solid #5897fb}.select2-container--classic.select2-container--open.select2-container--above .select2-selection--multiple{border-top:none;border-top-left-radius:0;border-top-right-radius:0}.select2-container--classic.select2-container--open.select2-container--below .select2-selection--multiple{border-bottom:none;border-bottom-left-radius:0;border-bottom-right-radius:0}.select2-container--classic .select2-search--dropdown .select2-search__field{border:1px solid #aaa;outline:0}.select2-container--classic .select2-search--inline .select2-search__field{outline:0;box-shadow:none}.select2-container--classic .select2-dropdown{background-color:#fff;border:1px solid transparent}.select2-container--classic .select2-dropdown--above{border-bottom:none}.select2-container--classic .select2-dropdown--below{border-top:none}.select2-container--classic .select2-results>.select2-results__options{max-height:200px;overflow-y:auto}.select2-container--classic .select2-results__option[role=group]{padding:0}.select2-container--classic .select2-results__option[aria-disabled=true]{color:grey}.select2-container--classic .select2-results__option--highlighted[aria-selected]{background-color:#3875d7;color:#fff}.select2-container--classic .select2-results__group{cursor:default;display:block;padding:6px}.select2-container--classic.select2-container--open .select2-dropdown{border-color:#5897fb}
|
1 |
+
.select2-container{box-sizing:border-box;display:inline-block;margin:0;position:relative;vertical-align:middle}.select2-container .select2-selection--single{box-sizing:border-box;cursor:pointer;display:block;height:28px;user-select:none;-webkit-user-select:none}.select2-container .select2-selection--single .select2-selection__rendered{display:block;padding-left:8px;padding-right:20px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.select2-container .select2-selection--single .select2-selection__clear{position:relative}.select2-container[dir="rtl"] .select2-selection--single .select2-selection__rendered{padding-right:8px;padding-left:20px}.select2-container .select2-selection--multiple{box-sizing:border-box;cursor:pointer;display:block;min-height:32px;user-select:none;-webkit-user-select:none}.select2-container .select2-selection--multiple .select2-selection__rendered{display:inline-block;overflow:hidden;padding-left:8px;text-overflow:ellipsis;white-space:nowrap}.select2-container .select2-search--inline{float:left}.select2-container .select2-search--inline .select2-search__field{box-sizing:border-box;border:none;font-size:100%;margin-top:5px;padding:0}.select2-container .select2-search--inline .select2-search__field::-webkit-search-cancel-button{-webkit-appearance:none}.select2-dropdown{background-color:white;border:1px solid #aaa;border-radius:4px;box-sizing:border-box;display:block;position:absolute;left:-100000px;width:100%;z-index:1051}.select2-results{display:block}.select2-results__options{list-style:none;margin:0;padding:0}.select2-results__option{padding:6px;user-select:none;-webkit-user-select:none}.select2-results__option[aria-selected]{cursor:pointer}.select2-container--open .select2-dropdown{left:0}.select2-container--open .select2-dropdown--above{border-bottom:none;border-bottom-left-radius:0;border-bottom-right-radius:0}.select2-container--open .select2-dropdown--below{border-top:none;border-top-left-radius:0;border-top-right-radius:0}.select2-search--dropdown{display:block;padding:4px}.select2-search--dropdown .select2-search__field{padding:4px;width:100%;box-sizing:border-box}.select2-search--dropdown .select2-search__field::-webkit-search-cancel-button{-webkit-appearance:none}.select2-search--dropdown.select2-search--hide{display:none}.select2-close-mask{border:0;margin:0;padding:0;display:block;position:fixed;left:0;top:0;min-height:100%;min-width:100%;height:auto;width:auto;opacity:0;z-index:99;background-color:#fff;filter:alpha(opacity=0)}.select2-hidden-accessible{border:0 !important;clip:rect(0 0 0 0) !important;-webkit-clip-path:inset(50%) !important;clip-path:inset(50%) !important;height:1px !important;overflow:hidden !important;padding:0 !important;position:absolute !important;width:1px !important;white-space:nowrap !important}.select2-container--default .select2-selection--single{background-color:#fff;border:1px solid #aaa;border-radius:4px}.select2-container--default .select2-selection--single .select2-selection__rendered{color:#444;line-height:28px}.select2-container--default .select2-selection--single .select2-selection__clear{cursor:pointer;float:right;font-weight:bold}.select2-container--default .select2-selection--single .select2-selection__placeholder{color:#999}.select2-container--default .select2-selection--single .select2-selection__arrow{height:26px;position:absolute;top:1px;right:1px;width:20px}.select2-container--default .select2-selection--single .select2-selection__arrow b{border-color:#888 transparent transparent transparent;border-style:solid;border-width:5px 4px 0 4px;height:0;left:50%;margin-left:-4px;margin-top:-2px;position:absolute;top:50%;width:0}.select2-container--default[dir="rtl"] .select2-selection--single .select2-selection__clear{float:left}.select2-container--default[dir="rtl"] .select2-selection--single .select2-selection__arrow{left:1px;right:auto}.select2-container--default.select2-container--disabled .select2-selection--single{background-color:#eee;cursor:default}.select2-container--default.select2-container--disabled .select2-selection--single .select2-selection__clear{display:none}.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b{border-color:transparent transparent #888 transparent;border-width:0 4px 5px 4px}.select2-container--default .select2-selection--multiple{background-color:white;border:1px solid #aaa;border-radius:4px;cursor:text}.select2-container--default .select2-selection--multiple .select2-selection__rendered{box-sizing:border-box;list-style:none;margin:0;padding:0 5px;width:100%}.select2-container--default .select2-selection--multiple .select2-selection__rendered li{list-style:none}.select2-container--default .select2-selection--multiple .select2-selection__clear{cursor:pointer;float:right;font-weight:bold;margin-top:5px;margin-right:10px;padding:1px}.select2-container--default .select2-selection--multiple .select2-selection__choice{background-color:#e4e4e4;border:1px solid #aaa;border-radius:4px;cursor:default;float:left;margin-right:5px;margin-top:5px;padding:0 5px}.select2-container--default .select2-selection--multiple .select2-selection__choice__remove{color:#999;cursor:pointer;display:inline-block;font-weight:bold;margin-right:2px}.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover{color:#333}.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice,.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-search--inline{float:right}.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice{margin-left:5px;margin-right:auto}.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice__remove{margin-left:2px;margin-right:auto}.select2-container--default.select2-container--focus .select2-selection--multiple{border:solid black 1px;outline:0}.select2-container--default.select2-container--disabled .select2-selection--multiple{background-color:#eee;cursor:default}.select2-container--default.select2-container--disabled .select2-selection__choice__remove{display:none}.select2-container--default.select2-container--open.select2-container--above .select2-selection--single,.select2-container--default.select2-container--open.select2-container--above .select2-selection--multiple{border-top-left-radius:0;border-top-right-radius:0}.select2-container--default.select2-container--open.select2-container--below .select2-selection--single,.select2-container--default.select2-container--open.select2-container--below .select2-selection--multiple{border-bottom-left-radius:0;border-bottom-right-radius:0}.select2-container--default .select2-search--dropdown .select2-search__field{border:1px solid #aaa}.select2-container--default .select2-search--inline .select2-search__field{background:transparent;border:none;outline:0;box-shadow:none;-webkit-appearance:textfield}.select2-container--default .select2-results>.select2-results__options{max-height:200px;overflow-y:auto}.select2-container--default .select2-results__option[role=group]{padding:0}.select2-container--default .select2-results__option[aria-disabled=true]{color:#999}.select2-container--default .select2-results__option[aria-selected=true]{background-color:#ddd}.select2-container--default .select2-results__option .select2-results__option{padding-left:1em}.select2-container--default .select2-results__option .select2-results__option .select2-results__group{padding-left:0}.select2-container--default .select2-results__option .select2-results__option .select2-results__option{margin-left:-1em;padding-left:2em}.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option{margin-left:-2em;padding-left:3em}.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option{margin-left:-3em;padding-left:4em}.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option{margin-left:-4em;padding-left:5em}.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option{margin-left:-5em;padding-left:6em}.select2-container--default .select2-results__option--highlighted[aria-selected]{background-color:#5897fb;color:white}.select2-container--default .select2-results__group{cursor:default;display:block;padding:6px}.select2-container--classic .select2-selection--single{background-color:#f7f7f7;border:1px solid #aaa;border-radius:4px;outline:0;background-image:-webkit-linear-gradient(top, #fff 50%, #eee 100%);background-image:-o-linear-gradient(top, #fff 50%, #eee 100%);background-image:linear-gradient(to bottom, #fff 50%, #eee 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFFFFFFF', endColorstr='#FFEEEEEE', GradientType=0)}.select2-container--classic .select2-selection--single:focus{border:1px solid #5897fb}.select2-container--classic .select2-selection--single .select2-selection__rendered{color:#444;line-height:28px}.select2-container--classic .select2-selection--single .select2-selection__clear{cursor:pointer;float:right;font-weight:bold;margin-right:10px}.select2-container--classic .select2-selection--single .select2-selection__placeholder{color:#999}.select2-container--classic .select2-selection--single .select2-selection__arrow{background-color:#ddd;border:none;border-left:1px solid #aaa;border-top-right-radius:4px;border-bottom-right-radius:4px;height:26px;position:absolute;top:1px;right:1px;width:20px;background-image:-webkit-linear-gradient(top, #eee 50%, #ccc 100%);background-image:-o-linear-gradient(top, #eee 50%, #ccc 100%);background-image:linear-gradient(to bottom, #eee 50%, #ccc 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFEEEEEE', endColorstr='#FFCCCCCC', GradientType=0)}.select2-container--classic .select2-selection--single .select2-selection__arrow b{border-color:#888 transparent transparent transparent;border-style:solid;border-width:5px 4px 0 4px;height:0;left:50%;margin-left:-4px;margin-top:-2px;position:absolute;top:50%;width:0}.select2-container--classic[dir="rtl"] .select2-selection--single .select2-selection__clear{float:left}.select2-container--classic[dir="rtl"] .select2-selection--single .select2-selection__arrow{border:none;border-right:1px solid #aaa;border-radius:0;border-top-left-radius:4px;border-bottom-left-radius:4px;left:1px;right:auto}.select2-container--classic.select2-container--open .select2-selection--single{border:1px solid #5897fb}.select2-container--classic.select2-container--open .select2-selection--single .select2-selection__arrow{background:transparent;border:none}.select2-container--classic.select2-container--open .select2-selection--single .select2-selection__arrow b{border-color:transparent transparent #888 transparent;border-width:0 4px 5px 4px}.select2-container--classic.select2-container--open.select2-container--above .select2-selection--single{border-top:none;border-top-left-radius:0;border-top-right-radius:0;background-image:-webkit-linear-gradient(top, #fff 0%, #eee 50%);background-image:-o-linear-gradient(top, #fff 0%, #eee 50%);background-image:linear-gradient(to bottom, #fff 0%, #eee 50%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFFFFFFF', endColorstr='#FFEEEEEE', GradientType=0)}.select2-container--classic.select2-container--open.select2-container--below .select2-selection--single{border-bottom:none;border-bottom-left-radius:0;border-bottom-right-radius:0;background-image:-webkit-linear-gradient(top, #eee 50%, #fff 100%);background-image:-o-linear-gradient(top, #eee 50%, #fff 100%);background-image:linear-gradient(to bottom, #eee 50%, #fff 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFEEEEEE', endColorstr='#FFFFFFFF', GradientType=0)}.select2-container--classic .select2-selection--multiple{background-color:white;border:1px solid #aaa;border-radius:4px;cursor:text;outline:0}.select2-container--classic .select2-selection--multiple:focus{border:1px solid #5897fb}.select2-container--classic .select2-selection--multiple .select2-selection__rendered{list-style:none;margin:0;padding:0 5px}.select2-container--classic .select2-selection--multiple .select2-selection__clear{display:none}.select2-container--classic .select2-selection--multiple .select2-selection__choice{background-color:#e4e4e4;border:1px solid #aaa;border-radius:4px;cursor:default;float:left;margin-right:5px;margin-top:5px;padding:0 5px}.select2-container--classic .select2-selection--multiple .select2-selection__choice__remove{color:#888;cursor:pointer;display:inline-block;font-weight:bold;margin-right:2px}.select2-container--classic .select2-selection--multiple .select2-selection__choice__remove:hover{color:#555}.select2-container--classic[dir="rtl"] .select2-selection--multiple .select2-selection__choice{float:right;margin-left:5px;margin-right:auto}.select2-container--classic[dir="rtl"] .select2-selection--multiple .select2-selection__choice__remove{margin-left:2px;margin-right:auto}.select2-container--classic.select2-container--open .select2-selection--multiple{border:1px solid #5897fb}.select2-container--classic.select2-container--open.select2-container--above .select2-selection--multiple{border-top:none;border-top-left-radius:0;border-top-right-radius:0}.select2-container--classic.select2-container--open.select2-container--below .select2-selection--multiple{border-bottom:none;border-bottom-left-radius:0;border-bottom-right-radius:0}.select2-container--classic .select2-search--dropdown .select2-search__field{border:1px solid #aaa;outline:0}.select2-container--classic .select2-search--inline .select2-search__field{outline:0;box-shadow:none}.select2-container--classic .select2-dropdown{background-color:#fff;border:1px solid transparent}.select2-container--classic .select2-dropdown--above{border-bottom:none}.select2-container--classic .select2-dropdown--below{border-top:none}.select2-container--classic .select2-results>.select2-results__options{max-height:200px;overflow-y:auto}.select2-container--classic .select2-results__option[role=group]{padding:0}.select2-container--classic .select2-results__option[aria-disabled=true]{color:grey}.select2-container--classic .select2-results__option--highlighted[aria-selected]{background-color:#3875d7;color:#fff}.select2-container--classic .select2-results__group{cursor:default;display:block;padding:6px}.select2-container--classic.select2-container--open .select2-dropdown{border-color:#5897fb}
|
assets/css/um-account.css
CHANGED
@@ -42,6 +42,11 @@
|
|
42 |
*/
|
43 |
|
44 |
.um-account-main div.um-account-heading {
|
|
|
|
|
|
|
|
|
|
|
45 |
margin: 0 !important;
|
46 |
font-size: 18px;
|
47 |
line-height: 18px;
|
42 |
*/
|
43 |
|
44 |
.um-account-main div.um-account-heading {
|
45 |
+
display: flex;
|
46 |
+
flex-wrap: nowrap;
|
47 |
+
flex-direction: row;
|
48 |
+
justify-content: flex-start;
|
49 |
+
align-items: baseline;
|
50 |
margin: 0 !important;
|
51 |
font-size: 18px;
|
52 |
line-height: 18px;
|
assets/css/um-members-rtl.css
CHANGED
@@ -1,3 +1,6 @@
|
|
|
|
|
|
|
|
1 |
.um-directory .um-member-directory-header .um-member-directory-header-row .um-member-directory-search-line label {
|
2 |
margin: 0 0 0 10px; }
|
3 |
|
1 |
+
.um-directory .um-member-directory-header .um-member-directory-header-row.um-member-directory-search-row {
|
2 |
+
justify-content: flex-start; }
|
3 |
+
|
4 |
.um-directory .um-member-directory-header .um-member-directory-header-row .um-member-directory-search-line label {
|
5 |
margin: 0 0 0 10px; }
|
6 |
|
assets/css/um-modal.css
CHANGED
@@ -181,6 +181,10 @@
|
|
181 |
text-decoration: none !important;
|
182 |
}
|
183 |
|
|
|
|
|
|
|
|
|
184 |
.um-modal-btn:hover {
|
185 |
background: #44b0ec;
|
186 |
color: #fff;
|
181 |
text-decoration: none !important;
|
182 |
}
|
183 |
|
184 |
+
a.um-modal-btn:visited {
|
185 |
+
color: #fff;
|
186 |
+
}
|
187 |
+
|
188 |
.um-modal-btn:hover {
|
189 |
background: #44b0ec;
|
190 |
color: #fff;
|
assets/css/um-styles.css
CHANGED
@@ -259,6 +259,52 @@ p.um-notice.warning a {
|
|
259 |
margin: 12px 0 0 0;
|
260 |
}
|
261 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
262 |
/*
|
263 |
- Help tooltips
|
264 |
*/
|
@@ -831,11 +877,11 @@ small.um-max-filesize span{
|
|
831 |
right: 10px;
|
832 |
}
|
833 |
|
834 |
-
/* Select2
|
835 |
.select2-container.select2-container--open {
|
836 |
z-index: 9999999;
|
837 |
}
|
838 |
-
.select2.select2-container .select2-selection{
|
839 |
display: block !important;
|
840 |
height: 40px;
|
841 |
padding: 0 0 0 12px !important;
|
@@ -860,10 +906,24 @@ small.um-max-filesize span{
|
|
860 |
background-color: #fff !important;
|
861 |
border: 1px solid #ddd !important;
|
862 |
}
|
863 |
-
|
864 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
865 |
}
|
866 |
-
|
|
|
867 |
content: "\f3d0" !important;
|
868 |
font-size: 27px !important;
|
869 |
font-family: "Ionicons" !important;
|
@@ -873,93 +933,127 @@ small.um-max-filesize span{
|
|
873 |
line-height: 35px;
|
874 |
color: #aaaaaa;
|
875 |
}
|
876 |
-
|
877 |
-
|
878 |
-
|
879 |
-
height: 100% !important;
|
880 |
-
position: absolute !important;
|
881 |
-
right: 0 !important;
|
882 |
-
top: 0 !important;
|
883 |
-
-moz-border-radius: 0 2px 2px 0 !important;
|
884 |
-
-webkit-border-radius: 0 2px 2px 0 !important;
|
885 |
-
border-radius: 0 2px 2px 0 !important;
|
886 |
-
background-clip: padding-box !important;
|
887 |
-
text-align: center !important;
|
888 |
-
background: transparent !important;
|
889 |
-
border-left: 0 !important;
|
890 |
}
|
891 |
-
|
|
|
892 |
border: 1px solid #ddd !important;
|
|
|
893 |
}
|
894 |
-
|
|
|
895 |
list-style: none;
|
896 |
display: list-item;
|
897 |
background-image: none;
|
898 |
font-size: 15px;
|
899 |
margin: 5px !important;
|
900 |
-
padding: 3px 0 !important;
|
901 |
color: #666 !important;
|
902 |
-
}
|
903 |
-
.select2-results li {
|
904 |
padding: 3px 7px 4px !important;
|
905 |
cursor: pointer;
|
906 |
min-height: 1em !important;
|
907 |
}
|
908 |
|
|
|
|
|
|
|
|
|
|
|
909 |
.select2-container--default .select2-selection--single .select2-selection__rendered {
|
|
|
|
|
|
|
|
|
|
|
910 |
line-height: 37px;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
911 |
}
|
912 |
-
|
|
|
913 |
background: none !important;
|
914 |
background: #f4f4f4 !important;
|
915 |
color: #666 !important;
|
916 |
}
|
917 |
-
.select2-container--default .select2-results__option[aria-selected=true] {
|
918 |
background-color: #ddd;
|
919 |
}
|
920 |
-
|
|
|
|
|
|
|
921 |
right: 10px;
|
922 |
font-size: 30px;
|
923 |
color: #aaaaaa !important;
|
|
|
924 |
}
|
925 |
|
926 |
-
.select2-container--default .select2-selection--multiple .select2-
|
927 |
-
|
928 |
-
list-style: none;
|
929 |
-
margin: 0;
|
930 |
-
padding: 0px;
|
931 |
-
width: 100%;
|
932 |
-
line-height: 20px;
|
933 |
-
font-size: 13px;
|
934 |
}
|
935 |
|
936 |
-
.select2
|
937 |
-
|
938 |
}
|
939 |
|
940 |
-
.select2-container
|
941 |
-
|
942 |
-
|
943 |
-
|
944 |
-
margin-right: -9px;
|
945 |
-
font-size: 15px;
|
946 |
-
position: absolute;
|
947 |
-
}
|
948 |
-
.select2-container--default .select2-selection--multiple .select2-selection__choice{
|
949 |
-
padding: 3px 3px 3px 5px;
|
950 |
}
|
951 |
|
952 |
-
.select2-container .select2-
|
953 |
-
|
|
|
|
|
|
|
954 |
}
|
955 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
956 |
.um-field-select .um-field-area .um-field-icon,
|
957 |
-
.um-field-multiselect .um-field-area .um-field-icon{
|
958 |
z-index: 99999999;
|
959 |
}
|
960 |
-
.um-field-select .um-field-area.um-field-area-has-icon .select2-selection__rendered{
|
961 |
text-indent: 20px;
|
962 |
}
|
963 |
-
.um-field-multiselect .um-field-area.um-field-area-has-icon ul:first-child{
|
964 |
margin-left: 30px !important;
|
965 |
}
|
259 |
margin: 12px 0 0 0;
|
260 |
}
|
261 |
|
262 |
+
/*
|
263 |
+
- Notices
|
264 |
+
*/
|
265 |
+
.um-field-notice {
|
266 |
+
width: auto;
|
267 |
+
max-width: 100%;
|
268 |
+
background: #497BC7;
|
269 |
+
-moz-border-radius: 3px;
|
270 |
+
-webkit-border-radius: 3px;
|
271 |
+
border-radius: 3px;
|
272 |
+
color: #fff;
|
273 |
+
box-sizing: border-box;
|
274 |
+
position: relative;
|
275 |
+
padding: 12px;
|
276 |
+
font-size: 14px;
|
277 |
+
line-height: 20px !important;
|
278 |
+
margin: 5px 0 0 0;
|
279 |
+
}
|
280 |
+
|
281 |
+
.um-field-notice a{color: #fff !important;text-decoration: underline !important}
|
282 |
+
|
283 |
+
.um-field-notice .um-field-arrow {
|
284 |
+
top: -17px;
|
285 |
+
left: 10px;
|
286 |
+
position: absolute;
|
287 |
+
z-index: 1;
|
288 |
+
color: #497BC7 !important;
|
289 |
+
font-size: 28px;
|
290 |
+
line-height: 1em !important;
|
291 |
+
}
|
292 |
+
|
293 |
+
.um-notice-block {
|
294 |
+
width: auto;
|
295 |
+
max-width: 100%;
|
296 |
+
background: #497BC7;
|
297 |
+
-moz-border-radius: 3px;
|
298 |
+
-webkit-border-radius: 3px;
|
299 |
+
border-radius: 3px;
|
300 |
+
color: #fff;
|
301 |
+
box-sizing: border-box;
|
302 |
+
position: relative;
|
303 |
+
padding: 12px;
|
304 |
+
font-size: 14px;
|
305 |
+
line-height: 1em !important;
|
306 |
+
margin: 12px 0 0 0;
|
307 |
+
}
|
308 |
/*
|
309 |
- Help tooltips
|
310 |
*/
|
877 |
right: 10px;
|
878 |
}
|
879 |
|
880 |
+
/* Customize Select2 CSS */
|
881 |
.select2-container.select2-container--open {
|
882 |
z-index: 9999999;
|
883 |
}
|
884 |
+
.select2.select2-container .select2-selection {
|
885 |
display: block !important;
|
886 |
height: 40px;
|
887 |
padding: 0 0 0 12px !important;
|
906 |
background-color: #fff !important;
|
907 |
border: 1px solid #ddd !important;
|
908 |
}
|
909 |
+
|
910 |
+
.select2.select2-container .select2-selection .select2-selection__arrow {
|
911 |
+
display: inline-block !important;
|
912 |
+
width: 34px !important;
|
913 |
+
height: 100% !important;
|
914 |
+
position: absolute !important;
|
915 |
+
right: 0 !important;
|
916 |
+
top: 0 !important;
|
917 |
+
-moz-border-radius: 0 2px 2px 0 !important;
|
918 |
+
-webkit-border-radius: 0 2px 2px 0 !important;
|
919 |
+
border-radius: 0 2px 2px 0 !important;
|
920 |
+
background-clip: padding-box !important;
|
921 |
+
text-align: center !important;
|
922 |
+
background: transparent !important;
|
923 |
+
border-left: 0 !important;
|
924 |
}
|
925 |
+
|
926 |
+
.select2.select2-container .select2-selection .select2-selection__arrow:before {
|
927 |
content: "\f3d0" !important;
|
928 |
font-size: 27px !important;
|
929 |
font-family: "Ionicons" !important;
|
933 |
line-height: 35px;
|
934 |
color: #aaaaaa;
|
935 |
}
|
936 |
+
|
937 |
+
.select2.select2-container .select2-selection .select2-selection__arrow b[role="presentation"] {
|
938 |
+
display:none;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
939 |
}
|
940 |
+
|
941 |
+
.select2-container.select2-container--open .select2-dropdown {
|
942 |
border: 1px solid #ddd !important;
|
943 |
+
border-radius: 0;
|
944 |
}
|
945 |
+
|
946 |
+
.select2-container.select2-container--open .select2-dropdown .select2-results li {
|
947 |
list-style: none;
|
948 |
display: list-item;
|
949 |
background-image: none;
|
950 |
font-size: 15px;
|
951 |
margin: 5px !important;
|
|
|
952 |
color: #666 !important;
|
|
|
|
|
953 |
padding: 3px 7px 4px !important;
|
954 |
cursor: pointer;
|
955 |
min-height: 1em !important;
|
956 |
}
|
957 |
|
958 |
+
.select2.select2-container .select2-selection.select2-selection--multiple {
|
959 |
+
height: auto !important;
|
960 |
+
line-height: 0.8 !important;
|
961 |
+
}
|
962 |
+
|
963 |
.select2-container--default .select2-selection--single .select2-selection__rendered {
|
964 |
+
padding-left: 0 !important;
|
965 |
+
line-height: 37px;
|
966 |
+
}
|
967 |
+
|
968 |
+
.select2-container--default .select2-selection--multiple .select2-selection__rendered {
|
969 |
line-height: 37px;
|
970 |
+
box-sizing: border-box;
|
971 |
+
list-style: none;
|
972 |
+
margin: 0;
|
973 |
+
padding-left: 0 !important;
|
974 |
+
padding-right: 30px;
|
975 |
+
width: 100%;
|
976 |
+
font-size: 13px;
|
977 |
}
|
978 |
+
|
979 |
+
.select2-results li.select2-results__option.select2-results__option--highlighted {
|
980 |
background: none !important;
|
981 |
background: #f4f4f4 !important;
|
982 |
color: #666 !important;
|
983 |
}
|
984 |
+
.select2-container--default .select2-results__option[aria-selected="true"] {
|
985 |
background-color: #ddd;
|
986 |
}
|
987 |
+
|
988 |
+
|
989 |
+
.select2-container--default .select2-selection--single .select2-selection__clear,
|
990 |
+
.select2-container--default .select2-selection--multiple .select2-selection__clear {
|
991 |
right: 10px;
|
992 |
font-size: 30px;
|
993 |
color: #aaaaaa !important;
|
994 |
+
margin: 0 !important;
|
995 |
}
|
996 |
|
997 |
+
.select2-container--default .select2-selection--multiple .select2-selection__clear {
|
998 |
+
position: absolute;
|
|
|
|
|
|
|
|
|
|
|
|
|
999 |
}
|
1000 |
|
1001 |
+
.select2-container--default .select2-selection--multiple .select2-selection__choice {
|
1002 |
+
padding: 3px 3px 3px 5px;
|
1003 |
}
|
1004 |
|
1005 |
+
.um .um-form .select2-container .select2-search.select2-search--inline > input {
|
1006 |
+
border: none !important;
|
1007 |
+
padding: 0 !important;
|
1008 |
+
border-radius: 0 !important;
|
|
|
|
|
|
|
|
|
|
|
|
|
1009 |
}
|
1010 |
|
1011 |
+
.um .um-form .select2-container--default .select2-selection--multiple .select2-selection__rendered li {
|
1012 |
+
overflow-x: hidden;
|
1013 |
+
text-overflow: ellipsis;
|
1014 |
+
max-width: 100%;
|
1015 |
+
box-sizing: border-box;
|
1016 |
}
|
1017 |
|
1018 |
+
/*
|
1019 |
+
- Multi-select
|
1020 |
+
*/
|
1021 |
+
/*.um-field .select2-selection--multiple .select2-search{*/
|
1022 |
+
/*clear: both;*/
|
1023 |
+
/*float: none;*/
|
1024 |
+
/*margin-right: 12px;*/
|
1025 |
+
/*padding-top: 0.5rem;*/
|
1026 |
+
/*position: relative;*/
|
1027 |
+
/*}*/
|
1028 |
+
/*.um-field .select2-selection--multiple .select2-search:first-of-type{*/
|
1029 |
+
/*padding-top: 12px;*/
|
1030 |
+
/*}*/
|
1031 |
+
/*.um-field .select2-selection--multiple .select2-search::before {*/
|
1032 |
+
/*content: "\f21f";*/
|
1033 |
+
/*font-family: "Ionicons";*/
|
1034 |
+
/*font-size: 1.4rem;*/
|
1035 |
+
/*line-height: 2rem;*/
|
1036 |
+
/*right: 0.3rem;*/
|
1037 |
+
/*position: absolute;*/
|
1038 |
+
/*}*/
|
1039 |
+
/*.um-field .select2-selection--multiple .select2-search input.select2-search__field{*/
|
1040 |
+
/*background-color: rgba(128,128,128,0.1) !important;*/
|
1041 |
+
/*height: 2rem !important;*/
|
1042 |
+
/*width: 100% !important;*/
|
1043 |
+
/*}*/
|
1044 |
+
|
1045 |
+
|
1046 |
+
|
1047 |
+
|
1048 |
+
|
1049 |
+
/* @todo maybe deprecated and used only for select and multiselect */
|
1050 |
.um-field-select .um-field-area .um-field-icon,
|
1051 |
+
.um-field-multiselect .um-field-area .um-field-icon {
|
1052 |
z-index: 99999999;
|
1053 |
}
|
1054 |
+
.um-field-select .um-field-area.um-field-area-has-icon .select2-selection__rendered {
|
1055 |
text-indent: 20px;
|
1056 |
}
|
1057 |
+
.um-field-multiselect .um-field-area.um-field-area-has-icon ul:first-child {
|
1058 |
margin-left: 30px !important;
|
1059 |
}
|
assets/img/extensions/{online-users.png → Online-Users.png}
RENAMED
File without changes
|
assets/img/extensions/{user-photos.png → User-Photos.png}
RENAMED
File without changes
|
assets/img/extensions/user-locations.png
ADDED
Binary file
|
assets/js/select2/i18n/af.js
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
1 |
+
/*! Select2 4.0.12 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
2 |
+
|
3 |
+
!function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;e.define("select2/i18n/af",[],function(){return{errorLoading:function(){return"Die resultate kon nie gelaai word nie."},inputTooLong:function(e){var n=e.input.length-e.maximum,r="Verwyders asseblief "+n+" character";return 1!=n&&(r+="s"),r},inputTooShort:function(e){return"Voer asseblief "+(e.minimum-e.input.length)+" of meer karakters"},loadingMore:function(){return"Meer resultate word gelaai…"},maximumSelected:function(e){var n="Kies asseblief net "+e.maximum+" item";return 1!=e.maximum&&(n+="s"),n},noResults:function(){return"Geen resultate gevind"},searching:function(){return"Besig…"},removeAllItems:function(){return"Verwyder alle items"}}}),e.define,e.require}();
|
assets/js/select2/i18n/ar.js
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
-
/*! Select2 4.0.
|
2 |
|
3 |
-
|
1 |
+
/*! Select2 4.0.12 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
2 |
|
3 |
+
!function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var n=jQuery.fn.select2.amd;n.define("select2/i18n/ar",[],function(){return{errorLoading:function(){return"لا يمكن تحميل النتائج"},inputTooLong:function(n){return"الرجاء حذف "+(n.input.length-n.maximum)+" عناصر"},inputTooShort:function(n){return"الرجاء إضافة "+(n.minimum-n.input.length)+" عناصر"},loadingMore:function(){return"جاري تحميل نتائج إضافية..."},maximumSelected:function(n){return"تستطيع إختيار "+n.maximum+" بنود فقط"},noResults:function(){return"لم يتم العثور على أي نتائج"},searching:function(){return"جاري البحث…"},removeAllItems:function(){return"قم بإزالة كل العناصر"}}}),n.define,n.require}();
|
assets/js/select2/i18n/az.js
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
-
/*! Select2 4.0.
|
2 |
|
3 |
-
|
1 |
+
/*! Select2 4.0.12 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
2 |
|
3 |
+
!function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var n=jQuery.fn.select2.amd;n.define("select2/i18n/az",[],function(){return{inputTooLong:function(n){return n.input.length-n.maximum+" simvol silin"},inputTooShort:function(n){return n.minimum-n.input.length+" simvol daxil edin"},loadingMore:function(){return"Daha çox nəticə yüklənir…"},maximumSelected:function(n){return"Sadəcə "+n.maximum+" element seçə bilərsiniz"},noResults:function(){return"Nəticə tapılmadı"},searching:function(){return"Axtarılır…"},removeAllItems:function(){return"Bütün elementləri sil"}}}),n.define,n.require}();
|
assets/js/select2/i18n/bg.js
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
-
/*! Select2 4.0.
|
2 |
|
3 |
-
|
1 |
+
/*! Select2 4.0.12 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
2 |
|
3 |
+
!function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var n=jQuery.fn.select2.amd;n.define("select2/i18n/bg",[],function(){return{inputTooLong:function(n){var e=n.input.length-n.maximum,u="Моля въведете с "+e+" по-малко символ";return e>1&&(u+="a"),u},inputTooShort:function(n){var e=n.minimum-n.input.length,u="Моля въведете още "+e+" символ";return e>1&&(u+="a"),u},loadingMore:function(){return"Зареждат се още…"},maximumSelected:function(n){var e="Можете да направите до "+n.maximum+" ";return n.maximum>1?e+="избора":e+="избор",e},noResults:function(){return"Няма намерени съвпадения"},searching:function(){return"Търсене…"},removeAllItems:function(){return"Премахнете всички елементи"}}}),n.define,n.require}();
|
assets/js/select2/i18n/bn.js
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
1 |
+
/*! Select2 4.0.12 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
2 |
+
|
3 |
+
!function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var n=jQuery.fn.select2.amd;n.define("select2/i18n/bn",[],function(){return{errorLoading:function(){return"ফলাফলগুলি লোড করা যায়নি।"},inputTooLong:function(n){var e=n.input.length-n.maximum,u="অনুগ্রহ করে "+e+" টি অক্ষর মুছে দিন।";return 1!=e&&(u="অনুগ্রহ করে "+e+" টি অক্ষর মুছে দিন।"),u},inputTooShort:function(n){return n.minimum-n.input.length+" টি অক্ষর অথবা অধিক অক্ষর লিখুন।"},loadingMore:function(){return"আরো ফলাফল লোড হচ্ছে ..."},maximumSelected:function(n){var e=n.maximum+" টি আইটেম নির্বাচন করতে পারবেন।";return 1!=n.maximum&&(e=n.maximum+" টি আইটেম নির্বাচন করতে পারবেন।"),e},noResults:function(){return"কোন ফলাফল পাওয়া যায়নি।"},searching:function(){return"অনুসন্ধান করা হচ্ছে ..."}}}),n.define,n.require}();
|
assets/js/select2/i18n/bs.js
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
1 |
+
/*! Select2 4.0.12 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
2 |
+
|
3 |
+
!function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;e.define("select2/i18n/bs",[],function(){function e(e,n,r,t){return e%10==1&&e%100!=11?n:e%10>=2&&e%10<=4&&(e%100<12||e%100>14)?r:t}return{errorLoading:function(){return"Preuzimanje nije uspijelo."},inputTooLong:function(n){var r=n.input.length-n.maximum,t="Obrišite "+r+" simbol";return t+=e(r,"","a","a")},inputTooShort:function(n){var r=n.minimum-n.input.length,t="Ukucajte bar još "+r+" simbol";return t+=e(r,"","a","a")},loadingMore:function(){return"Preuzimanje još rezultata…"},maximumSelected:function(n){var r="Možete izabrati samo "+n.maximum+" stavk";return r+=e(n.maximum,"u","e","i")},noResults:function(){return"Ništa nije pronađeno"},searching:function(){return"Pretraga…"},removeAllItems:function(){return"Uklonite sve stavke"}}}),e.define,e.require}();
|
assets/js/select2/i18n/ca.js
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
-
/*! Select2 4.0.
|
2 |
|
3 |
-
|
1 |
+
/*! Select2 4.0.12 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
2 |
|
3 |
+
!function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;e.define("select2/i18n/ca",[],function(){return{errorLoading:function(){return"La càrrega ha fallat"},inputTooLong:function(e){var n=e.input.length-e.maximum,r="Si us plau, elimina "+n+" car";return r+=1==n?"àcter":"àcters"},inputTooShort:function(e){var n=e.minimum-e.input.length,r="Si us plau, introdueix "+n+" car";return r+=1==n?"àcter":"àcters"},loadingMore:function(){return"Carregant més resultats…"},maximumSelected:function(e){var n="Només es pot seleccionar "+e.maximum+" element";return 1!=e.maximum&&(n+="s"),n},noResults:function(){return"No s'han trobat resultats"},searching:function(){return"Cercant…"},removeAllItems:function(){return"Treu tots els elements"}}}),e.define,e.require}();
|
assets/js/select2/i18n/cs.js
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
-
/*! Select2 4.0.
|
2 |
|
3 |
-
|
1 |
+
/*! Select2 4.0.12 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
2 |
|
3 |
+
!function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;e.define("select2/i18n/cs",[],function(){function e(e,n){switch(e){case 2:return n?"dva":"dvě";case 3:return"tři";case 4:return"čtyři"}return""}return{errorLoading:function(){return"Výsledky nemohly být načteny."},inputTooLong:function(n){var t=n.input.length-n.maximum;return 1==t?"Prosím, zadejte o jeden znak méně.":t<=4?"Prosím, zadejte o "+e(t,!0)+" znaky méně.":"Prosím, zadejte o "+t+" znaků méně."},inputTooShort:function(n){var t=n.minimum-n.input.length;return 1==t?"Prosím, zadejte ještě jeden znak.":t<=4?"Prosím, zadejte ještě další "+e(t,!0)+" znaky.":"Prosím, zadejte ještě dalších "+t+" znaků."},loadingMore:function(){return"Načítají se další výsledky…"},maximumSelected:function(n){var t=n.maximum;return 1==t?"Můžete zvolit jen jednu položku.":t<=4?"Můžete zvolit maximálně "+e(t,!1)+" položky.":"Můžete zvolit maximálně "+t+" položek."},noResults:function(){return"Nenalezeny žádné položky."},searching:function(){return"Vyhledávání…"},removeAllItems:function(){return"Odstraňte všechny položky"}}}),e.define,e.require}();
|
assets/js/select2/i18n/da.js
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
-
/*! Select2 4.0.
|
2 |
|
3 |
-
|
1 |
+
/*! Select2 4.0.12 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
2 |
|
3 |
+
!function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;e.define("select2/i18n/da",[],function(){return{errorLoading:function(){return"Resultaterne kunne ikke indlæses."},inputTooLong:function(e){return"Angiv venligst "+(e.input.length-e.maximum)+" tegn mindre"},inputTooShort:function(e){return"Angiv venligst "+(e.minimum-e.input.length)+" tegn mere"},loadingMore:function(){return"Indlæser flere resultater…"},maximumSelected:function(e){var n="Du kan kun vælge "+e.maximum+" emne";return 1!=e.maximum&&(n+="r"),n},noResults:function(){return"Ingen resultater fundet"},searching:function(){return"Søger…"},removeAllItems:function(){return"Fjern alle elementer"}}}),e.define,e.require}();
|
assets/js/select2/i18n/de.js
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
-
/*! Select2 4.0.
|
2 |
|
3 |
-
|
1 |
+
/*! Select2 4.0.12 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
2 |
|
3 |
+
!function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;e.define("select2/i18n/de",[],function(){return{errorLoading:function(){return"Die Ergebnisse konnten nicht geladen werden."},inputTooLong:function(e){return"Bitte "+(e.input.length-e.maximum)+" Zeichen weniger eingeben"},inputTooShort:function(e){return"Bitte "+(e.minimum-e.input.length)+" Zeichen mehr eingeben"},loadingMore:function(){return"Lade mehr Ergebnisse…"},maximumSelected:function(e){var n="Sie können nur "+e.maximum+" Element";return 1!=e.maximum&&(n+="e"),n+=" auswählen"},noResults:function(){return"Keine Übereinstimmungen gefunden"},searching:function(){return"Suche…"},removeAllItems:function(){return"Entferne alle Elemente"}}}),e.define,e.require}();
|
assets/js/select2/i18n/dsb.js
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
1 |
+
/*! Select2 4.0.12 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
2 |
+
|
3 |
+
!function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var n=jQuery.fn.select2.amd;n.define("select2/i18n/dsb",[],function(){var n=["znamuško","znamušce","znamuška","znamuškow"],e=["zapisk","zapiska","zapiski","zapiskow"],u=function(n,e){return 1===n?e[0]:2===n?e[1]:n>2&&n<=4?e[2]:n>=5?e[3]:void 0};return{errorLoading:function(){return"Wuslědki njejsu se dali zacytaś."},inputTooLong:function(e){var a=e.input.length-e.maximum;return"Pšosym lašuj "+a+" "+u(a,n)},inputTooShort:function(e){var a=e.minimum-e.input.length;return"Pšosym zapódaj nanejmjenjej "+a+" "+u(a,n)},loadingMore:function(){return"Dalšne wuslědki se zacytaju…"},maximumSelected:function(n){return"Móžoš jano "+n.maximum+" "+u(n.maximum,e)+"wubraś."},noResults:function(){return"Žedne wuslědki namakane"},searching:function(){return"Pyta se…"},removeAllItems:function(){return"Remove all items"}}}),n.define,n.require}();
|
assets/js/select2/i18n/el.js
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
1 |
+
/*! Select2 4.0.12 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
2 |
+
|
3 |
+
!function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var n=jQuery.fn.select2.amd;n.define("select2/i18n/el",[],function(){return{errorLoading:function(){return"Τα αποτελέσματα δεν μπόρεσαν να φορτώσουν."},inputTooLong:function(n){var e=n.input.length-n.maximum,u="Παρακαλώ διαγράψτε "+e+" χαρακτήρ";return 1==e&&(u+="α"),1!=e&&(u+="ες"),u},inputTooShort:function(n){return"Παρακαλώ συμπληρώστε "+(n.minimum-n.input.length)+" ή περισσότερους χαρακτήρες"},loadingMore:function(){return"Φόρτωση περισσότερων αποτελεσμάτων…"},maximumSelected:function(n){var e="Μπορείτε να επιλέξετε μόνο "+n.maximum+" επιλογ";return 1==n.maximum&&(e+="ή"),1!=n.maximum&&(e+="ές"),e},noResults:function(){return"Δεν βρέθηκαν αποτελέσματα"},searching:function(){return"Αναζήτηση…"},removeAllItems:function(){return"Καταργήστε όλα τα στοιχεία"}}}),n.define,n.require}();
|
assets/js/select2/i18n/en.js
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
-
/*! Select2 4.0.
|
2 |
|
3 |
-
|
1 |
+
/*! Select2 4.0.12 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
2 |
|
3 |
+
!function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;e.define("select2/i18n/en",[],function(){return{errorLoading:function(){return"The results could not be loaded."},inputTooLong:function(e){var n=e.input.length-e.maximum,r="Please delete "+n+" character";return 1!=n&&(r+="s"),r},inputTooShort:function(e){return"Please enter "+(e.minimum-e.input.length)+" or more characters"},loadingMore:function(){return"Loading more results…"},maximumSelected:function(e){var n="You can only select "+e.maximum+" item";return 1!=e.maximum&&(n+="s"),n},noResults:function(){return"No results found"},searching:function(){return"Searching…"},removeAllItems:function(){return"Remove all items"}}}),e.define,e.require}();
|
assets/js/select2/i18n/es.js
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
-
/*! Select2 4.0.
|
2 |
|
3 |
-
|
1 |
+
/*! Select2 4.0.12 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
2 |
|
3 |
+
!function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;e.define("select2/i18n/es",[],function(){return{errorLoading:function(){return"No se pudieron cargar los resultados"},inputTooLong:function(e){var n=e.input.length-e.maximum,r="Por favor, elimine "+n+" car";return r+=1==n?"ácter":"acteres"},inputTooShort:function(e){var n=e.minimum-e.input.length,r="Por favor, introduzca "+n+" car";return r+=1==n?"ácter":"acteres"},loadingMore:function(){return"Cargando más resultados…"},maximumSelected:function(e){var n="Sólo puede seleccionar "+e.maximum+" elemento";return 1!=e.maximum&&(n+="s"),n},noResults:function(){return"No se encontraron resultados"},searching:function(){return"Buscando…"},removeAllItems:function(){return"Eliminar todos los elementos"}}}),e.define,e.require}();
|
assets/js/select2/i18n/et.js
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
-
/*! Select2 4.0.
|
2 |
|
3 |
-
|
1 |
+
/*! Select2 4.0.12 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
2 |
|
3 |
+
!function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;e.define("select2/i18n/et",[],function(){return{inputTooLong:function(e){var n=e.input.length-e.maximum,t="Sisesta "+n+" täht";return 1!=n&&(t+="e"),t+=" vähem"},inputTooShort:function(e){var n=e.minimum-e.input.length,t="Sisesta "+n+" täht";return 1!=n&&(t+="e"),t+=" rohkem"},loadingMore:function(){return"Laen tulemusi…"},maximumSelected:function(e){var n="Saad vaid "+e.maximum+" tulemus";return 1==e.maximum?n+="e":n+="t",n+=" valida"},noResults:function(){return"Tulemused puuduvad"},searching:function(){return"Otsin…"},removeAllItems:function(){return"Eemalda kõik esemed"}}}),e.define,e.require}();
|
assets/js/select2/i18n/eu.js
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
-
/*! Select2 4.0.
|
2 |
|
3 |
-
|
1 |
+
/*! Select2 4.0.12 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
2 |
|
3 |
+
!function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;e.define("select2/i18n/eu",[],function(){return{inputTooLong:function(e){var t=e.input.length-e.maximum,n="Idatzi ";return n+=1==t?"karaktere bat":t+" karaktere",n+=" gutxiago"},inputTooShort:function(e){var t=e.minimum-e.input.length,n="Idatzi ";return n+=1==t?"karaktere bat":t+" karaktere",n+=" gehiago"},loadingMore:function(){return"Emaitza gehiago kargatzen…"},maximumSelected:function(e){return 1===e.maximum?"Elementu bakarra hauta dezakezu":e.maximum+" elementu hauta ditzakezu soilik"},noResults:function(){return"Ez da bat datorrenik aurkitu"},searching:function(){return"Bilatzen…"},removeAllItems:function(){return"Kendu elementu guztiak"}}}),e.define,e.require}();
|
assets/js/select2/i18n/fa.js
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
-
/*! Select2 4.0.
|
2 |
|
3 |
-
|
1 |
+
/*! Select2 4.0.12 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
2 |
|
3 |
+
!function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var n=jQuery.fn.select2.amd;n.define("select2/i18n/fa",[],function(){return{errorLoading:function(){return"امکان بارگذاری نتایج وجود ندارد."},inputTooLong:function(n){return"لطفاً "+(n.input.length-n.maximum)+" کاراکتر را حذف نمایید"},inputTooShort:function(n){return"لطفاً تعداد "+(n.minimum-n.input.length)+" کاراکتر یا بیشتر وارد نمایید"},loadingMore:function(){return"در حال بارگذاری نتایج بیشتر..."},maximumSelected:function(n){return"شما تنها میتوانید "+n.maximum+" آیتم را انتخاب نمایید"},noResults:function(){return"هیچ نتیجهای یافت نشد"},searching:function(){return"در حال جستجو..."},removeAllItems:function(){return"همه موارد را حذف کنید"}}}),n.define,n.require}();
|
assets/js/select2/i18n/fi.js
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
-
/*! Select2 4.0.
|
2 |
|
3 |
-
|
1 |
+
/*! Select2 4.0.12 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
2 |
|
3 |
+
!function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var n=jQuery.fn.select2.amd;n.define("select2/i18n/fi",[],function(){return{errorLoading:function(){return"Tuloksia ei saatu ladattua."},inputTooLong:function(n){return"Ole hyvä ja anna "+(n.input.length-n.maximum)+" merkkiä vähemmän"},inputTooShort:function(n){return"Ole hyvä ja anna "+(n.minimum-n.input.length)+" merkkiä lisää"},loadingMore:function(){return"Ladataan lisää tuloksia…"},maximumSelected:function(n){return"Voit valita ainoastaan "+n.maximum+" kpl"},noResults:function(){return"Ei tuloksia"},searching:function(){return"Haetaan…"},removeAllItems:function(){return"Poista kaikki kohteet"}}}),n.define,n.require}();
|
assets/js/select2/i18n/fr.js
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
-
/*! Select2 4.0.
|
2 |
|
3 |
-
|
1 |
+
/*! Select2 4.0.12 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
2 |
|
3 |
+
!function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;e.define("select2/i18n/fr",[],function(){return{errorLoading:function(){return"Les résultats ne peuvent pas être chargés."},inputTooLong:function(e){var n=e.input.length-e.maximum;return"Supprimez "+n+" caractère"+(n>1?"s":"")},inputTooShort:function(e){var n=e.minimum-e.input.length;return"Saisissez au moins "+n+" caractère"+(n>1?"s":"")},loadingMore:function(){return"Chargement de résultats supplémentaires…"},maximumSelected:function(e){return"Vous pouvez seulement sélectionner "+e.maximum+" élément"+(e.maximum>1?"s":"")},noResults:function(){return"Aucun résultat trouvé"},searching:function(){return"Recherche en cours…"},removeAllItems:function(){return"Supprimer tous les éléments"}}}),e.define,e.require}();
|
assets/js/select2/i18n/gl.js
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
-
/*! Select2 4.0.
|
2 |
|
3 |
-
|
1 |
+
/*! Select2 4.0.12 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
2 |
|
3 |
+
!function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;e.define("select2/i18n/gl",[],function(){return{errorLoading:function(){return"Non foi posíbel cargar os resultados."},inputTooLong:function(e){var n=e.input.length-e.maximum;return 1===n?"Elimine un carácter":"Elimine "+n+" caracteres"},inputTooShort:function(e){var n=e.minimum-e.input.length;return 1===n?"Engada un carácter":"Engada "+n+" caracteres"},loadingMore:function(){return"Cargando máis resultados…"},maximumSelected:function(e){return 1===e.maximum?"Só pode seleccionar un elemento":"Só pode seleccionar "+e.maximum+" elementos"},noResults:function(){return"Non se atoparon resultados"},searching:function(){return"Buscando…"},removeAllItems:function(){return"Elimina todos os elementos"}}}),e.define,e.require}();
|
assets/js/select2/i18n/he.js
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
-
/*! Select2 4.0.
|
2 |
|
3 |
-
|
1 |
+
/*! Select2 4.0.12 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
2 |
|
3 |
+
!function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var n=jQuery.fn.select2.amd;n.define("select2/i18n/he",[],function(){return{errorLoading:function(){return"שגיאה בטעינת התוצאות"},inputTooLong:function(n){var e=n.input.length-n.maximum,r="נא למחוק ";return r+=1===e?"תו אחד":e+" תווים"},inputTooShort:function(n){var e=n.minimum-n.input.length,r="נא להכניס ";return r+=1===e?"תו אחד":e+" תווים",r+=" או יותר"},loadingMore:function(){return"טוען תוצאות נוספות…"},maximumSelected:function(n){var e="באפשרותך לבחור עד ";return 1===n.maximum?e+="פריט אחד":e+=n.maximum+" פריטים",e},noResults:function(){return"לא נמצאו תוצאות"},searching:function(){return"מחפש…"},removeAllItems:function(){return"הסר את כל הפריטים"}}}),n.define,n.require}();
|
assets/js/select2/i18n/hi.js
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
-
/*! Select2 4.0.
|
2 |
|
3 |
-
|
1 |
+
/*! Select2 4.0.12 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
2 |
|
3 |
+
!function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var n=jQuery.fn.select2.amd;n.define("select2/i18n/hi",[],function(){return{errorLoading:function(){return"परिणामों को लोड नहीं किया जा सका।"},inputTooLong:function(n){var e=n.input.length-n.maximum,r=e+" अक्षर को हटा दें";return e>1&&(r=e+" अक्षरों को हटा दें "),r},inputTooShort:function(n){return"कृपया "+(n.minimum-n.input.length)+" या अधिक अक्षर दर्ज करें"},loadingMore:function(){return"अधिक परिणाम लोड हो रहे है..."},maximumSelected:function(n){return"आप केवल "+n.maximum+" आइटम का चयन कर सकते हैं"},noResults:function(){return"कोई परिणाम नहीं मिला"},searching:function(){return"खोज रहा है..."},removeAllItems:function(){return"सभी वस्तुओं को हटा दें"}}}),n.define,n.require}();
|
assets/js/select2/i18n/hr.js
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
-
/*! Select2 4.0.
|
2 |
|
3 |
-
|
1 |
+
/*! Select2 4.0.12 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
2 |
|
3 |
+
!function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var n=jQuery.fn.select2.amd;n.define("select2/i18n/hr",[],function(){function n(n){var e=" "+n+" znak";return n%10<5&&n%10>0&&(n%100<5||n%100>19)?n%10>1&&(e+="a"):e+="ova",e}return{errorLoading:function(){return"Preuzimanje nije uspjelo."},inputTooLong:function(e){return"Unesite "+n(e.input.length-e.maximum)},inputTooShort:function(e){return"Unesite još "+n(e.minimum-e.input.length)},loadingMore:function(){return"Učitavanje rezultata…"},maximumSelected:function(n){return"Maksimalan broj odabranih stavki je "+n.maximum},noResults:function(){return"Nema rezultata"},searching:function(){return"Pretraga…"},removeAllItems:function(){return"Ukloni sve stavke"}}}),n.define,n.require}();
|
assets/js/select2/i18n/hsb.js
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
1 |
+
/*! Select2 4.0.12 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
2 |
+
|
3 |
+
!function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var n=jQuery.fn.select2.amd;n.define("select2/i18n/hsb",[],function(){var n=["znamješko","znamješce","znamješka","znamješkow"],e=["zapisk","zapiskaj","zapiski","zapiskow"],u=function(n,e){return 1===n?e[0]:2===n?e[1]:n>2&&n<=4?e[2]:n>=5?e[3]:void 0};return{errorLoading:function(){return"Wuslědki njedachu so začitać."},inputTooLong:function(e){var a=e.input.length-e.maximum;return"Prošu zhašej "+a+" "+u(a,n)},inputTooShort:function(e){var a=e.minimum-e.input.length;return"Prošu zapodaj znajmjeńša "+a+" "+u(a,n)},loadingMore:function(){return"Dalše wuslědki so začitaja…"},maximumSelected:function(n){return"Móžeš jenož "+n.maximum+" "+u(n.maximum,e)+"wubrać"},noResults:function(){return"Žane wuslědki namakane"},searching:function(){return"Pyta so…"},removeAllItems:function(){return"Remove all items"}}}),n.define,n.require}();
|
assets/js/select2/i18n/hu.js
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
-
/*! Select2 4.0.
|
2 |
|
3 |
-
|
1 |
+
/*! Select2 4.0.12 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
2 |
|
3 |
+
!function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;e.define("select2/i18n/hu",[],function(){return{errorLoading:function(){return"Az eredmények betöltése nem sikerült."},inputTooLong:function(e){return"Túl hosszú. "+(e.input.length-e.maximum)+" karakterrel több, mint kellene."},inputTooShort:function(e){return"Túl rövid. Még "+(e.minimum-e.input.length)+" karakter hiányzik."},loadingMore:function(){return"Töltés…"},maximumSelected:function(e){return"Csak "+e.maximum+" elemet lehet kiválasztani."},noResults:function(){return"Nincs találat."},searching:function(){return"Keresés…"},removeAllItems:function(){return"Távolítson el minden elemet"}}}),e.define,e.require}();
|
assets/js/select2/i18n/hy.js
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
1 |
+
/*! Select2 4.0.12 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
2 |
+
|
3 |
+
!function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var n=jQuery.fn.select2.amd;n.define("select2/i18n/hy",[],function(){return{errorLoading:function(){return"Արդյունքները հնարավոր չէ բեռնել։"},inputTooLong:function(n){return"Խնդրում ենք հեռացնել "+(n.input.length-n.maximum)+" նշան"},inputTooShort:function(n){return"Խնդրում ենք մուտքագրել "+(n.minimum-n.input.length)+" կամ ավել նշաններ"},loadingMore:function(){return"Բեռնվում են նոր արդյունքներ․․․"},maximumSelected:function(n){return"Դուք կարող եք ընտրել առավելագույնը "+n.maximum+" կետ"},noResults:function(){return"Արդյունքներ չեն գտնվել"},searching:function(){return"Որոնում․․․"},removeAllItems:function(){return"Հեռացնել բոլոր տարրերը"}}}),n.define,n.require}();
|
assets/js/select2/i18n/id.js
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
-
/*! Select2 4.0.
|
2 |
|
3 |
-
|
1 |
+
/*! Select2 4.0.12 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
2 |
|
3 |
+
!function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var n=jQuery.fn.select2.amd;n.define("select2/i18n/id",[],function(){return{errorLoading:function(){return"Data tidak boleh diambil."},inputTooLong:function(n){return"Hapuskan "+(n.input.length-n.maximum)+" huruf"},inputTooShort:function(n){return"Masukkan "+(n.minimum-n.input.length)+" huruf lagi"},loadingMore:function(){return"Mengambil data…"},maximumSelected:function(n){return"Anda hanya dapat memilih "+n.maximum+" pilihan"},noResults:function(){return"Tidak ada data yang sesuai"},searching:function(){return"Mencari…"},removeAllItems:function(){return"Hapus semua item"}}}),n.define,n.require}();
|
assets/js/select2/i18n/is.js
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
-
/*! Select2 4.0.
|
2 |
|
3 |
-
|
1 |
+
/*! Select2 4.0.12 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
2 |
|
3 |
+
!function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var n=jQuery.fn.select2.amd;n.define("select2/i18n/is",[],function(){return{inputTooLong:function(n){var t=n.input.length-n.maximum,e="Vinsamlegast styttið texta um "+t+" staf";return t<=1?e:e+"i"},inputTooShort:function(n){var t=n.minimum-n.input.length,e="Vinsamlegast skrifið "+t+" staf";return t>1&&(e+="i"),e+=" í viðbót"},loadingMore:function(){return"Sæki fleiri niðurstöður…"},maximumSelected:function(n){return"Þú getur aðeins valið "+n.maximum+" atriði"},noResults:function(){return"Ekkert fannst"},searching:function(){return"Leita…"},removeAllItems:function(){return"Fjarlægðu öll atriði"}}}),n.define,n.require}();
|
assets/js/select2/i18n/it.js
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
-
/*! Select2 4.0.
|
2 |
|
3 |
-
|
1 |
+
/*! Select2 4.0.12 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
2 |
|
3 |
+
!function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;e.define("select2/i18n/it",[],function(){return{errorLoading:function(){return"I risultati non possono essere caricati."},inputTooLong:function(e){var n=e.input.length-e.maximum,t="Per favore cancella "+n+" caratter";return t+=1!==n?"i":"e"},inputTooShort:function(e){return"Per favore inserisci "+(e.minimum-e.input.length)+" o più caratteri"},loadingMore:function(){return"Caricando più risultati…"},maximumSelected:function(e){var n="Puoi selezionare solo "+e.maximum+" element";return 1!==e.maximum?n+="i":n+="o",n},noResults:function(){return"Nessun risultato trovato"},searching:function(){return"Sto cercando…"},removeAllItems:function(){return"Rimuovi tutti gli oggetti"}}}),e.define,e.require}();
|
assets/js/select2/i18n/ja.js
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
-
/*! Select2 4.0.
|
2 |
|
3 |
-
|
1 |
+
/*! Select2 4.0.12 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
2 |
|
3 |
+
!function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var n=jQuery.fn.select2.amd;n.define("select2/i18n/ja",[],function(){return{errorLoading:function(){return"結果が読み込まれませんでした"},inputTooLong:function(n){return n.input.length-n.maximum+" 文字を削除してください"},inputTooShort:function(n){return"少なくとも "+(n.minimum-n.input.length)+" 文字を入力してください"},loadingMore:function(){return"読み込み中…"},maximumSelected:function(n){return n.maximum+" 件しか選択できません"},noResults:function(){return"対象が見つかりません"},searching:function(){return"検索しています…"},removeAllItems:function(){return"すべてのアイテムを削除"}}}),n.define,n.require}();
|
assets/js/select2/i18n/ka.js
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
1 |
+
/*! Select2 4.0.12 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
2 |
+
|
3 |
+
!function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var n=jQuery.fn.select2.amd;n.define("select2/i18n/ka",[],function(){return{errorLoading:function(){return"მონაცემების ჩატვირთვა შეუძლებელია."},inputTooLong:function(n){return"გთხოვთ აკრიფეთ "+(n.input.length-n.maximum)+" სიმბოლოთი ნაკლები"},inputTooShort:function(n){return"გთხოვთ აკრიფეთ "+(n.minimum-n.input.length)+" სიმბოლო ან მეტი"},loadingMore:function(){return"მონაცემების ჩატვირთვა…"},maximumSelected:function(n){return"თქვენ შეგიძლიათ აირჩიოთ არაუმეტეს "+n.maximum+" ელემენტი"},noResults:function(){return"რეზულტატი არ მოიძებნა"},searching:function(){return"ძიება…"},removeAllItems:function(){return"ამოიღე ყველა ელემენტი"}}}),n.define,n.require}();
|
assets/js/select2/i18n/km.js
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
1 |
+
/*! Select2 4.0.12 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
2 |
+
|
3 |
+
!function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var n=jQuery.fn.select2.amd;n.define("select2/i18n/km",[],function(){return{errorLoading:function(){return"មិនអាចទាញយកទិន្នន័យ"},inputTooLong:function(n){return"សូមលុបចេញ "+(n.input.length-n.maximum)+" អក្សរ"},inputTooShort:function(n){return"សូមបញ្ចូល"+(n.minimum-n.input.length)+" អក្សរ រឺ ច្រើនជាងនេះ"},loadingMore:function(){return"កំពុងទាញយកទិន្នន័យបន្ថែម..."},maximumSelected:function(n){return"អ្នកអាចជ្រើសរើសបានតែ "+n.maximum+" ជម្រើសប៉ុណ្ណោះ"},noResults:function(){return"មិនមានលទ្ធផល"},searching:function(){return"កំពុងស្វែងរក..."},removeAllItems:function(){return"លុបធាតុទាំងអស់"}}}),n.define,n.require}();
|
assets/js/select2/i18n/ko.js
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
-
/*! Select2 4.0.
|
2 |
|
3 |
-
|
1 |
+
/*! Select2 4.0.12 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
2 |
|
3 |
+
!function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var n=jQuery.fn.select2.amd;n.define("select2/i18n/ko",[],function(){return{errorLoading:function(){return"결과를 불러올 수 없습니다."},inputTooLong:function(n){return"너무 깁니다. "+(n.input.length-n.maximum)+" 글자 지워주세요."},inputTooShort:function(n){return"너무 짧습니다. "+(n.minimum-n.input.length)+" 글자 더 입력해주세요."},loadingMore:function(){return"불러오는 중…"},maximumSelected:function(n){return"최대 "+n.maximum+"개까지만 선택 가능합니다."},noResults:function(){return"결과가 없습니다."},searching:function(){return"검색 중…"},removeAllItems:function(){return"모든 항목 삭제"}}}),n.define,n.require}();
|
assets/js/select2/i18n/lt.js
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
-
/*! Select2 4.0.
|
2 |
|
3 |
-
|
1 |
+
/*! Select2 4.0.12 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
2 |
|
3 |
+
!function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var n=jQuery.fn.select2.amd;n.define("select2/i18n/lt",[],function(){function n(n,e,i,t){return n%10==1&&(n%100<11||n%100>19)?e:n%10>=2&&n%10<=9&&(n%100<11||n%100>19)?i:t}return{inputTooLong:function(e){var i=e.input.length-e.maximum,t="Pašalinkite "+i+" simbol";return t+=n(i,"į","ius","ių")},inputTooShort:function(e){var i=e.minimum-e.input.length,t="Įrašykite dar "+i+" simbol";return t+=n(i,"į","ius","ių")},loadingMore:function(){return"Kraunama daugiau rezultatų…"},maximumSelected:function(e){var i="Jūs galite pasirinkti tik "+e.maximum+" element";return i+=n(e.maximum,"ą","us","ų")},noResults:function(){return"Atitikmenų nerasta"},searching:function(){return"Ieškoma…"},removeAllItems:function(){return"Pašalinti visus elementus"}}}),n.define,n.require}();
|
assets/js/select2/i18n/lv.js
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
-
/*! Select2 4.0.
|
2 |
|
3 |
-
|
1 |
+
/*! Select2 4.0.12 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
2 |
|
3 |
+
!function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;e.define("select2/i18n/lv",[],function(){function e(e,n,u,i){return 11===e?n:e%10==1?u:i}return{inputTooLong:function(n){var u=n.input.length-n.maximum,i="Lūdzu ievadiet par "+u;return(i+=" simbol"+e(u,"iem","u","iem"))+" mazāk"},inputTooShort:function(n){var u=n.minimum-n.input.length,i="Lūdzu ievadiet vēl "+u;return i+=" simbol"+e(u,"us","u","us")},loadingMore:function(){return"Datu ielāde…"},maximumSelected:function(n){var u="Jūs varat izvēlēties ne vairāk kā "+n.maximum;return u+=" element"+e(n.maximum,"us","u","us")},noResults:function(){return"Sakritību nav"},searching:function(){return"Meklēšana…"},removeAllItems:function(){return"Noņemt visus vienumus"}}}),e.define,e.require}();
|
assets/js/select2/i18n/mk.js
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
-
/*! Select2 4.0.
|
2 |
|
3 |
-
|
1 |
+
/*! Select2 4.0.12 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
2 |
|
3 |
+
!function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var n=jQuery.fn.select2.amd;n.define("select2/i18n/mk",[],function(){return{inputTooLong:function(n){var e=(n.input.length,n.maximum,"Ве молиме внесете "+n.maximum+" помалку карактер");return 1!==n.maximum&&(e+="и"),e},inputTooShort:function(n){var e=(n.minimum,n.input.length,"Ве молиме внесете уште "+n.maximum+" карактер");return 1!==n.maximum&&(e+="и"),e},loadingMore:function(){return"Вчитување резултати…"},maximumSelected:function(n){var e="Можете да изберете само "+n.maximum+" ставк";return 1===n.maximum?e+="а":e+="и",e},noResults:function(){return"Нема пронајдено совпаѓања"},searching:function(){return"Пребарување…"},removeAllItems:function(){return"Отстрани ги сите предмети"}}}),n.define,n.require}();
|
assets/js/select2/i18n/ms.js
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
-
/*! Select2 4.0.
|
2 |
|
3 |
-
|
1 |
+
/*! Select2 4.0.12 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
2 |
|
3 |
+
!function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var n=jQuery.fn.select2.amd;n.define("select2/i18n/ms",[],function(){return{errorLoading:function(){return"Keputusan tidak berjaya dimuatkan."},inputTooLong:function(n){return"Sila hapuskan "+(n.input.length-n.maximum)+" aksara"},inputTooShort:function(n){return"Sila masukkan "+(n.minimum-n.input.length)+" atau lebih aksara"},loadingMore:function(){return"Sedang memuatkan keputusan…"},maximumSelected:function(n){return"Anda hanya boleh memilih "+n.maximum+" pilihan"},noResults:function(){return"Tiada padanan yang ditemui"},searching:function(){return"Mencari…"},removeAllItems:function(){return"Keluarkan semua item"}}}),n.define,n.require}();
|
assets/js/select2/i18n/nb.js
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
-
/*! Select2 4.0.
|
2 |
|
3 |
-
|
1 |
+
/*! Select2 4.0.12 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
2 |
|
3 |
+
!function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;e.define("select2/i18n/nb",[],function(){return{errorLoading:function(){return"Kunne ikke hente resultater."},inputTooLong:function(e){return"Vennligst fjern "+(e.input.length-e.maximum)+" tegn"},inputTooShort:function(e){return"Vennligst skriv inn "+(e.minimum-e.input.length)+" tegn til"},loadingMore:function(){return"Laster flere resultater…"},maximumSelected:function(e){return"Du kan velge maks "+e.maximum+" elementer"},noResults:function(){return"Ingen treff"},searching:function(){return"Søker…"},removeAllItems:function(){return"Fjern alle elementer"}}}),e.define,e.require}();
|
assets/js/select2/i18n/ne.js
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
1 |
+
/*! Select2 4.0.12 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
2 |
+
|
3 |
+
!function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var n=jQuery.fn.select2.amd;n.define("select2/i18n/ne",[],function(){return{errorLoading:function(){return"नतिजाहरु देखाउन सकिएन।"},inputTooLong:function(n){var e=n.input.length-n.maximum,u="कृपया "+e+" अक्षर मेटाउनुहोस्।";return 1!=e&&(u+="कृपया "+e+" अक्षरहरु मेटाउनुहोस्।"),u},inputTooShort:function(n){return"कृपया बाँकी रहेका "+(n.minimum-n.input.length)+" वा अरु धेरै अक्षरहरु भर्नुहोस्।"},loadingMore:function(){return"अरु नतिजाहरु भरिँदैछन् …"},maximumSelected:function(n){var e="तँपाई "+n.maximum+" वस्तु मात्र छान्न पाउँनुहुन्छ।";return 1!=n.maximum&&(e="तँपाई "+n.maximum+" वस्तुहरु मात्र छान्न पाउँनुहुन्छ।"),e},noResults:function(){return"कुनै पनि नतिजा भेटिएन।"},searching:function(){return"खोजि हुँदैछ…"}}}),n.define,n.require}();
|
assets/js/select2/i18n/nl.js
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
-
/*! Select2 4.0.
|
2 |
|
3 |
-
|
1 |
+
/*! Select2 4.0.12 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
2 |
|
3 |
+
!function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;e.define("select2/i18n/nl",[],function(){return{errorLoading:function(){return"De resultaten konden niet worden geladen."},inputTooLong:function(e){return"Gelieve "+(e.input.length-e.maximum)+" karakters te verwijderen"},inputTooShort:function(e){return"Gelieve "+(e.minimum-e.input.length)+" of meer karakters in te voeren"},loadingMore:function(){return"Meer resultaten laden…"},maximumSelected:function(e){var n=1==e.maximum?"kan":"kunnen",r="Er "+n+" maar "+e.maximum+" item";return 1!=e.maximum&&(r+="s"),r+=" worden geselecteerd"},noResults:function(){return"Geen resultaten gevonden…"},searching:function(){return"Zoeken…"},removeAllItems:function(){return"Verwijder alle items"}}}),e.define,e.require}();
|
assets/js/select2/i18n/pl.js
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
-
/*! Select2 4.0.
|
2 |
|
3 |
-
|
1 |
+
/*! Select2 4.0.12 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
2 |
|
3 |
+
!function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var n=jQuery.fn.select2.amd;n.define("select2/i18n/pl",[],function(){var n=["znak","znaki","znaków"],e=["element","elementy","elementów"],r=function(n,e){return 1===n?e[0]:n>1&&n<=4?e[1]:n>=5?e[2]:void 0};return{errorLoading:function(){return"Nie można załadować wyników."},inputTooLong:function(e){var t=e.input.length-e.maximum;return"Usuń "+t+" "+r(t,n)},inputTooShort:function(e){var t=e.minimum-e.input.length;return"Podaj przynajmniej "+t+" "+r(t,n)},loadingMore:function(){return"Trwa ładowanie…"},maximumSelected:function(n){return"Możesz zaznaczyć tylko "+n.maximum+" "+r(n.maximum,e)},noResults:function(){return"Brak wyników"},searching:function(){return"Trwa wyszukiwanie…"},removeAllItems:function(){return"Usuń wszystkie przedmioty"}}}),n.define,n.require}();
|
assets/js/select2/i18n/ps.js
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
1 |
+
/*! Select2 4.0.12 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
2 |
+
|
3 |
+
!function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var n=jQuery.fn.select2.amd;n.define("select2/i18n/ps",[],function(){return{errorLoading:function(){return"پايلي نه سي ترلاسه کېدای"},inputTooLong:function(n){var e=n.input.length-n.maximum,r="د مهربانۍ لمخي "+e+" توری ړنګ کړئ";return 1!=e&&(r=r.replace("توری","توري")),r},inputTooShort:function(n){return"لږ تر لږه "+(n.minimum-n.input.length)+" يا ډېر توري وليکئ"},loadingMore:function(){return"نوري پايلي ترلاسه کيږي..."},maximumSelected:function(n){var e="تاسو يوازي "+n.maximum+" قلم په نښه کولای سی";return 1!=n.maximum&&(e=e.replace("قلم","قلمونه")),e},noResults:function(){return"پايلي و نه موندل سوې"},searching:function(){return"لټول کيږي..."},removeAllItems:function(){return"ټول توکي لرې کړئ"}}}),n.define,n.require}();
|
assets/js/select2/i18n/pt-BR.js
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
-
/*! Select2 4.0.
|
2 |
|
3 |
-
|
1 |
+
/*! Select2 4.0.12 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
2 |
|
3 |
+
!function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;e.define("select2/i18n/pt-BR",[],function(){return{errorLoading:function(){return"Os resultados não puderam ser carregados."},inputTooLong:function(e){var n=e.input.length-e.maximum,r="Apague "+n+" caracter";return 1!=n&&(r+="es"),r},inputTooShort:function(e){return"Digite "+(e.minimum-e.input.length)+" ou mais caracteres"},loadingMore:function(){return"Carregando mais resultados…"},maximumSelected:function(e){var n="Você só pode selecionar "+e.maximum+" ite";return 1==e.maximum?n+="m":n+="ns",n},noResults:function(){return"Nenhum resultado encontrado"},searching:function(){return"Buscando…"},removeAllItems:function(){return"Remover todos os itens"}}}),e.define,e.require}();
|
assets/js/select2/i18n/pt.js
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
-
/*! Select2 4.0.
|
2 |
|
3 |
-
|
1 |
+
/*! Select2 4.0.12 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
2 |
|
3 |
+
!function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;e.define("select2/i18n/pt",[],function(){return{errorLoading:function(){return"Os resultados não puderam ser carregados."},inputTooLong:function(e){var r=e.input.length-e.maximum,n="Por favor apague "+r+" ";return n+=1!=r?"caracteres":"caractere"},inputTooShort:function(e){return"Introduza "+(e.minimum-e.input.length)+" ou mais caracteres"},loadingMore:function(){return"A carregar mais resultados…"},maximumSelected:function(e){var r="Apenas pode seleccionar "+e.maximum+" ";return r+=1!=e.maximum?"itens":"item"},noResults:function(){return"Sem resultados"},searching:function(){return"A procurar…"},removeAllItems:function(){return"Remover todos os itens"}}}),e.define,e.require}();
|
assets/js/select2/i18n/ro.js
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
-
/*! Select2 4.0.
|
2 |
|
3 |
-
|
1 |
+
/*! Select2 4.0.12 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
2 |
|
3 |
+
!function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;e.define("select2/i18n/ro",[],function(){return{errorLoading:function(){return"Rezultatele nu au putut fi incărcate."},inputTooLong:function(e){var t=e.input.length-e.maximum,n="Vă rugăm să ștergeți"+t+" caracter";return 1!==t&&(n+="e"),n},inputTooShort:function(e){return"Vă rugăm să introduceți "+(e.minimum-e.input.length)+" sau mai multe caractere"},loadingMore:function(){return"Se încarcă mai multe rezultate…"},maximumSelected:function(e){var t="Aveți voie să selectați cel mult "+e.maximum;return t+=" element",1!==e.maximum&&(t+="e"),t},noResults:function(){return"Nu au fost găsite rezultate"},searching:function(){return"Căutare…"},removeAllItems:function(){return"Eliminați toate elementele"}}}),e.define,e.require}();
|
assets/js/select2/i18n/ru.js
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
-
/*! Select2 4.0.
|
2 |
|
3 |
-
|
1 |
+
/*! Select2 4.0.12 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
2 |
|
3 |
+
!function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var n=jQuery.fn.select2.amd;n.define("select2/i18n/ru",[],function(){function n(n,e,r,u){return n%10<5&&n%10>0&&n%100<5||n%100>20?n%10>1?r:e:u}return{errorLoading:function(){return"Невозможно загрузить результаты"},inputTooLong:function(e){var r=e.input.length-e.maximum,u="Пожалуйста, введите на "+r+" символ";return u+=n(r,"","a","ов"),u+=" меньше"},inputTooShort:function(e){var r=e.minimum-e.input.length,u="Пожалуйста, введите ещё хотя бы "+r+" символ";return u+=n(r,"","a","ов")},loadingMore:function(){return"Загрузка данных…"},maximumSelected:function(e){var r="Вы можете выбрать не более "+e.maximum+" элемент";return r+=n(e.maximum,"","a","ов")},noResults:function(){return"Совпадений не найдено"},searching:function(){return"Поиск…"},removeAllItems:function(){return"Удалить все элементы"}}}),n.define,n.require}();
|
assets/js/select2/i18n/sk.js
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
-
/*! Select2 4.0.
|
2 |
|
3 |
-
|
1 |
+
/*! Select2 4.0.12 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
2 |
|
3 |
+
!function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;e.define("select2/i18n/sk",[],function(){var e={2:function(e){return e?"dva":"dve"},3:function(){return"tri"},4:function(){return"štyri"}};return{errorLoading:function(){return"Výsledky sa nepodarilo načítať."},inputTooLong:function(n){var t=n.input.length-n.maximum;return 1==t?"Prosím, zadajte o jeden znak menej":t>=2&&t<=4?"Prosím, zadajte o "+e[t](!0)+" znaky menej":"Prosím, zadajte o "+t+" znakov menej"},inputTooShort:function(n){var t=n.minimum-n.input.length;return 1==t?"Prosím, zadajte ešte jeden znak":t<=4?"Prosím, zadajte ešte ďalšie "+e[t](!0)+" znaky":"Prosím, zadajte ešte ďalších "+t+" znakov"},loadingMore:function(){return"Načítanie ďalších výsledkov…"},maximumSelected:function(n){return 1==n.maximum?"Môžete zvoliť len jednu položku":n.maximum>=2&&n.maximum<=4?"Môžete zvoliť najviac "+e[n.maximum](!1)+" položky":"Môžete zvoliť najviac "+n.maximum+" položiek"},noResults:function(){return"Nenašli sa žiadne položky"},searching:function(){return"Vyhľadávanie…"},removeAllItems:function(){return"Odstráňte všetky položky"}}}),e.define,e.require}();
|
assets/js/select2/i18n/sl.js
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
1 |
+
/*! Select2 4.0.12 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
2 |
+
|
3 |
+
!function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;e.define("select2/i18n/sl",[],function(){return{errorLoading:function(){return"Zadetkov iskanja ni bilo mogoče naložiti."},inputTooLong:function(e){var n=e.input.length-e.maximum,t="Prosim zbrišite "+n+" znak";return 2==n?t+="a":1!=n&&(t+="e"),t},inputTooShort:function(e){var n=e.minimum-e.input.length,t="Prosim vpišite še "+n+" znak";return 2==n?t+="a":1!=n&&(t+="e"),t},loadingMore:function(){return"Nalagam več zadetkov…"},maximumSelected:function(e){var n="Označite lahko največ "+e.maximum+" predmet";return 2==e.maximum?n+="a":1!=e.maximum&&(n+="e"),n},noResults:function(){return"Ni zadetkov."},searching:function(){return"Iščem…"},removeAllItems:function(){return"Odstranite vse elemente"}}}),e.define,e.require}();
|
assets/js/select2/i18n/sq.js
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
1 |
+
/*! Select2 4.0.12 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
2 |
+
|
3 |
+
!function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;e.define("select2/i18n/sq",[],function(){return{errorLoading:function(){return"Rezultatet nuk mund të ngarkoheshin."},inputTooLong:function(e){var n=e.input.length-e.maximum,t="Të lutem fshi "+n+" karakter";return 1!=n&&(t+="e"),t},inputTooShort:function(e){return"Të lutem shkruaj "+(e.minimum-e.input.length)+" ose më shumë karaktere"},loadingMore:function(){return"Duke ngarkuar më shumë rezultate…"},maximumSelected:function(e){var n="Mund të zgjedhësh vetëm "+e.maximum+" element";return 1!=e.maximum&&(n+="e"),n},noResults:function(){return"Nuk u gjet asnjë rezultat"},searching:function(){return"Duke kërkuar…"},removeAllItems:function(){return"Hiq të gjitha sendet"}}}),e.define,e.require}();
|
assets/js/select2/i18n/sr-Cyrl.js
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
-
/*! Select2 4.0.
|
2 |
|
3 |
-
|
1 |
+
/*! Select2 4.0.12 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
2 |
|
3 |
+
!function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var n=jQuery.fn.select2.amd;n.define("select2/i18n/sr-Cyrl",[],function(){function n(n,e,r,u){return n%10==1&&n%100!=11?e:n%10>=2&&n%10<=4&&(n%100<12||n%100>14)?r:u}return{errorLoading:function(){return"Преузимање није успело."},inputTooLong:function(e){var r=e.input.length-e.maximum,u="Обришите "+r+" симбол";return u+=n(r,"","а","а")},inputTooShort:function(e){var r=e.minimum-e.input.length,u="Укуцајте бар још "+r+" симбол";return u+=n(r,"","а","а")},loadingMore:function(){return"Преузимање још резултата…"},maximumSelected:function(e){var r="Можете изабрати само "+e.maximum+" ставк";return r+=n(e.maximum,"у","е","и")},noResults:function(){return"Ништа није пронађено"},searching:function(){return"Претрага…"},removeAllItems:function(){return"Уклоните све ставке"}}}),n.define,n.require}();
|
assets/js/select2/i18n/sr.js
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
-
/*! Select2 4.0.
|
2 |
|
3 |
-
|
1 |
+
/*! Select2 4.0.12 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
2 |
|
3 |
+
!function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var n=jQuery.fn.select2.amd;n.define("select2/i18n/sr",[],function(){function n(n,e,r,t){return n%10==1&&n%100!=11?e:n%10>=2&&n%10<=4&&(n%100<12||n%100>14)?r:t}return{errorLoading:function(){return"Preuzimanje nije uspelo."},inputTooLong:function(e){var r=e.input.length-e.maximum,t="Obrišite "+r+" simbol";return t+=n(r,"","a","a")},inputTooShort:function(e){var r=e.minimum-e.input.length,t="Ukucajte bar još "+r+" simbol";return t+=n(r,"","a","a")},loadingMore:function(){return"Preuzimanje još rezultata…"},maximumSelected:function(e){var r="Možete izabrati samo "+e.maximum+" stavk";return r+=n(e.maximum,"u","e","i")},noResults:function(){return"Ništa nije pronađeno"},searching:function(){return"Pretraga…"},removeAllItems:function(){return"Уклоните све ставке"}}}),n.define,n.require}();
|
assets/js/select2/i18n/sv.js
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
-
/*! Select2 4.0.
|
2 |
|
3 |
-
|
1 |
+
/*! Select2 4.0.12 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
2 |
|
3 |
+
!function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var n=jQuery.fn.select2.amd;n.define("select2/i18n/sv",[],function(){return{errorLoading:function(){return"Resultat kunde inte laddas."},inputTooLong:function(n){return"Vänligen sudda ut "+(n.input.length-n.maximum)+" tecken"},inputTooShort:function(n){return"Vänligen skriv in "+(n.minimum-n.input.length)+" eller fler tecken"},loadingMore:function(){return"Laddar fler resultat…"},maximumSelected:function(n){return"Du kan max välja "+n.maximum+" element"},noResults:function(){return"Inga träffar"},searching:function(){return"Söker…"},removeAllItems:function(){return"Ta bort alla objekt"}}}),n.define,n.require}();
|
assets/js/select2/i18n/th.js
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
-
/*! Select2 4.0.
|
2 |
|
3 |
-
|
1 |
+
/*! Select2 4.0.12 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
2 |
|
3 |
+
!function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var n=jQuery.fn.select2.amd;n.define("select2/i18n/th",[],function(){return{errorLoading:function(){return"ไม่สามารถค้นข้อมูลได้"},inputTooLong:function(n){return"โปรดลบออก "+(n.input.length-n.maximum)+" ตัวอักษร"},inputTooShort:function(n){return"โปรดพิมพ์เพิ่มอีก "+(n.minimum-n.input.length)+" ตัวอักษร"},loadingMore:function(){return"กำลังค้นข้อมูลเพิ่ม…"},maximumSelected:function(n){return"คุณสามารถเลือกได้ไม่เกิน "+n.maximum+" รายการ"},noResults:function(){return"ไม่พบข้อมูล"},searching:function(){return"กำลังค้นข้อมูล…"},removeAllItems:function(){return"ลบรายการทั้งหมด"}}}),n.define,n.require}();
|
assets/js/select2/i18n/tk.js
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
1 |
+
/*! Select2 4.0.12 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
2 |
+
|
3 |
+
!function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;e.define("select2/i18n/tk",[],function(){return{errorLoading:function(){return"Netije ýüklenmedi."},inputTooLong:function(e){return e.input.length-e.maximum+" harp bozuň."},inputTooShort:function(e){return"Ýene-de iň az "+(e.minimum-e.input.length)+" harp ýazyň."},loadingMore:function(){return"Köpräk netije görkezilýär…"},maximumSelected:function(e){return"Diňe "+e.maximum+" sanysyny saýlaň."},noResults:function(){return"Netije tapylmady."},searching:function(){return"Gözlenýär…"},removeAllItems:function(){return"Remove all items"}}}),e.define,e.require}();
|
assets/js/select2/i18n/tr.js
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
-
/*! Select2 4.0.
|
2 |
|
3 |
-
|
1 |
+
/*! Select2 4.0.12 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
2 |
|
3 |
+
!function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var n=jQuery.fn.select2.amd;n.define("select2/i18n/tr",[],function(){return{errorLoading:function(){return"Sonuç yüklenemedi"},inputTooLong:function(n){return n.input.length-n.maximum+" karakter daha girmelisiniz"},inputTooShort:function(n){return"En az "+(n.minimum-n.input.length)+" karakter daha girmelisiniz"},loadingMore:function(){return"Daha fazla…"},maximumSelected:function(n){return"Sadece "+n.maximum+" seçim yapabilirsiniz"},noResults:function(){return"Sonuç bulunamadı"},searching:function(){return"Aranıyor…"},removeAllItems:function(){return"Tüm öğeleri kaldır"}}}),n.define,n.require}();
|
assets/js/select2/i18n/uk.js
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
-
/*! Select2 4.0.
|
2 |
|
3 |
-
|
1 |
+
/*! Select2 4.0.12 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
2 |
|
3 |
+
!function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var n=jQuery.fn.select2.amd;n.define("select2/i18n/uk",[],function(){function n(n,e,u,r){return n%100>10&&n%100<15?r:n%10==1?e:n%10>1&&n%10<5?u:r}return{errorLoading:function(){return"Неможливо завантажити результати"},inputTooLong:function(e){return"Будь ласка, видаліть "+(e.input.length-e.maximum)+" "+n(e.maximum,"літеру","літери","літер")},inputTooShort:function(n){return"Будь ласка, введіть "+(n.minimum-n.input.length)+" або більше літер"},loadingMore:function(){return"Завантаження інших результатів…"},maximumSelected:function(e){return"Ви можете вибрати лише "+e.maximum+" "+n(e.maximum,"пункт","пункти","пунктів")},noResults:function(){return"Нічого не знайдено"},searching:function(){return"Пошук…"},removeAllItems:function(){return"Видалити всі елементи"}}}),n.define,n.require}();
|
assets/js/select2/i18n/vi.js
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
-
/*! Select2 4.0.
|
2 |
|
3 |
-
|
1 |
+
/*! Select2 4.0.12 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
2 |
|
3 |
+
!function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var n=jQuery.fn.select2.amd;n.define("select2/i18n/vi",[],function(){return{inputTooLong:function(n){return"Vui lòng xóa bớt "+(n.input.length-n.maximum)+" ký tự"},inputTooShort:function(n){return"Vui lòng nhập thêm từ "+(n.minimum-n.input.length)+" ký tự trở lên"},loadingMore:function(){return"Đang lấy thêm kết quả…"},maximumSelected:function(n){return"Chỉ có thể chọn được "+n.maximum+" lựa chọn"},noResults:function(){return"Không tìm thấy kết quả"},searching:function(){return"Đang tìm…"},removeAllItems:function(){return"Xóa tất cả các mục"}}}),n.define,n.require}();
|
assets/js/select2/i18n/zh-CN.js
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
-
/*! Select2 4.0.
|
2 |
|
3 |
-
|
1 |
+
/*! Select2 4.0.12 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
2 |
|
3 |
+
!function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var n=jQuery.fn.select2.amd;n.define("select2/i18n/zh-CN",[],function(){return{errorLoading:function(){return"无法载入结果。"},inputTooLong:function(n){return"请删除"+(n.input.length-n.maximum)+"个字符"},inputTooShort:function(n){return"请再输入至少"+(n.minimum-n.input.length)+"个字符"},loadingMore:function(){return"载入更多结果…"},maximumSelected:function(n){return"最多只能选择"+n.maximum+"个项目"},noResults:function(){return"未找到结果"},searching:function(){return"搜索中…"},removeAllItems:function(){return"删除所有项目"}}}),n.define,n.require}();
|
assets/js/select2/i18n/zh-TW.js
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
-
/*! Select2 4.0.
|
2 |
|
3 |
-
|
1 |
+
/*! Select2 4.0.12 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
2 |
|
3 |
+
!function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var n=jQuery.fn.select2.amd;n.define("select2/i18n/zh-TW",[],function(){return{inputTooLong:function(n){return"請刪掉"+(n.input.length-n.maximum)+"個字元"},inputTooShort:function(n){return"請再輸入"+(n.minimum-n.input.length)+"個字元"},loadingMore:function(){return"載入中…"},maximumSelected:function(n){return"你只能選擇最多"+n.maximum+"項"},noResults:function(){return"沒有找到相符的項目"},searching:function(){return"搜尋中…"},removeAllItems:function(){return"刪除所有項目"}}}),n.define,n.require}();
|
assets/js/select2/select2.full.min.js
CHANGED
@@ -1,3 +1,2 @@
|
|
1 |
-
/*! Select2 4.0.2 | https://github.com/select2/select2/blob/master/LICENSE.md */!function(a){"function"==typeof define&&define.amd?define(["jquery"],a):a("object"==typeof exports?require("jquery"):jQuery)}(function(a){var b=function(){if(a&&a.fn&&a.fn.select2&&a.fn.select2.amd)var b=a.fn.select2.amd;var b;return function(){if(!b||!b.requirejs){b?c=b:b={};var a,c,d;!function(b){function e(a,b){return u.call(a,b)}function f(a,b){var c,d,e,f,g,h,i,j,k,l,m,n=b&&b.split("/"),o=s.map,p=o&&o["*"]||{};if(a&&"."===a.charAt(0))if(b){for(a=a.split("/"),g=a.length-1,s.nodeIdCompat&&w.test(a[g])&&(a[g]=a[g].replace(w,"")),a=n.slice(0,n.length-1).concat(a),k=0;k<a.length;k+=1)if(m=a[k],"."===m)a.splice(k,1),k-=1;else if(".."===m){if(1===k&&(".."===a[2]||".."===a[0]))break;k>0&&(a.splice(k-1,2),k-=2)}a=a.join("/")}else 0===a.indexOf("./")&&(a=a.substring(2));if((n||p)&&o){for(c=a.split("/"),k=c.length;k>0;k-=1){if(d=c.slice(0,k).join("/"),n)for(l=n.length;l>0;l-=1)if(e=o[n.slice(0,l).join("/")],e&&(e=e[d])){f=e,h=k;break}if(f)break;!i&&p&&p[d]&&(i=p[d],j=k)}!f&&i&&(f=i,h=j),f&&(c.splice(0,h,f),a=c.join("/"))}return a}function g(a,c){return function(){var d=v.call(arguments,0);return"string"!=typeof d[0]&&1===d.length&&d.push(null),n.apply(b,d.concat([a,c]))}}function h(a){return function(b){return f(b,a)}}function i(a){return function(b){q[a]=b}}function j(a){if(e(r,a)){var c=r[a];delete r[a],t[a]=!0,m.apply(b,c)}if(!e(q,a)&&!e(t,a))throw new Error("No "+a);return q[a]}function k(a){var b,c=a?a.indexOf("!"):-1;return c>-1&&(b=a.substring(0,c),a=a.substring(c+1,a.length)),[b,a]}function l(a){return function(){return s&&s.config&&s.config[a]||{}}}var m,n,o,p,q={},r={},s={},t={},u=Object.prototype.hasOwnProperty,v=[].slice,w=/\.js$/;o=function(a,b){var c,d=k(a),e=d[0];return a=d[1],e&&(e=f(e,b),c=j(e)),e?a=c&&c.normalize?c.normalize(a,h(b)):f(a,b):(a=f(a,b),d=k(a),e=d[0],a=d[1],e&&(c=j(e))),{f:e?e+"!"+a:a,n:a,pr:e,p:c}},p={require:function(a){return g(a)},exports:function(a){var b=q[a];return"undefined"!=typeof b?b:q[a]={}},module:function(a){return{id:a,uri:"",exports:q[a],config:l(a)}}},m=function(a,c,d,f){var h,k,l,m,n,s,u=[],v=typeof d;if(f=f||a,"undefined"===v||"function"===v){for(c=!c.length&&d.length?["require","exports","module"]:c,n=0;n<c.length;n+=1)if(m=o(c[n],f),k=m.f,"require"===k)u[n]=p.require(a);else if("exports"===k)u[n]=p.exports(a),s=!0;else if("module"===k)h=u[n]=p.module(a);else if(e(q,k)||e(r,k)||e(t,k))u[n]=j(k);else{if(!m.p)throw new Error(a+" missing "+k);m.p.load(m.n,g(f,!0),i(k),{}),u[n]=q[k]}l=d?d.apply(q[a],u):void 0,a&&(h&&h.exports!==b&&h.exports!==q[a]?q[a]=h.exports:l===b&&s||(q[a]=l))}else a&&(q[a]=d)},a=c=n=function(a,c,d,e,f){if("string"==typeof a)return p[a]?p[a](c):j(o(a,c).f);if(!a.splice){if(s=a,s.deps&&n(s.deps,s.callback),!c)return;c.splice?(a=c,c=d,d=null):a=b}return c=c||function(){},"function"==typeof d&&(d=e,e=f),e?m(b,a,c,d):setTimeout(function(){m(b,a,c,d)},4),n},n.config=function(a){return n(a)},a._defined=q,d=function(a,b,c){if("string"!=typeof a)throw new Error("See almond README: incorrect module build, no module name");b.splice||(c=b,b=[]),e(q,a)||e(r,a)||(r[a]=[a,b,c])},d.amd={jQuery:!0}}(),b.requirejs=a,b.require=c,b.define=d}}(),b.define("almond",function(){}),b.define("jquery",[],function(){var b=a||$;return null==b&&console&&console.error&&console.error("Select2: An instance of jQuery or a jQuery-compatible library was not found. Make sure that you are including jQuery before Select2 on your web page."),b}),b.define("select2/utils",["jquery"],function(a){function b(a){var b=a.prototype,c=[];for(var d in b){var e=b[d];"function"==typeof e&&"constructor"!==d&&c.push(d)}return c}var c={};c.Extend=function(a,b){function c(){this.constructor=a}var d={}.hasOwnProperty;for(var e in b)d.call(b,e)&&(a[e]=b[e]);return c.prototype=b.prototype,a.prototype=new c,a.__super__=b.prototype,a},c.Decorate=function(a,c){function d(){var b=Array.prototype.unshift,d=c.prototype.constructor.length,e=a.prototype.constructor;d>0&&(b.call(arguments,a.prototype.constructor),e=c.prototype.constructor),e.apply(this,arguments)}function e(){this.constructor=d}var f=b(c),g=b(a);c.displayName=a.displayName,d.prototype=new e;for(var h=0;h<g.length;h++){var i=g[h];d.prototype[i]=a.prototype[i]}for(var j=(function(a){var b=function(){};a in d.prototype&&(b=d.prototype[a]);var e=c.prototype[a];return function(){var a=Array.prototype.unshift;return a.call(arguments,b),e.apply(this,arguments)}}),k=0;k<f.length;k++){var l=f[k];d.prototype[l]=j(l)}return d};var d=function(){this.listeners={}};return d.prototype.on=function(a,b){this.listeners=this.listeners||{},a in this.listeners?this.listeners[a].push(b):this.listeners[a]=[b]},d.prototype.trigger=function(a){var b=Array.prototype.slice;this.listeners=this.listeners||{},a in this.listeners&&this.invoke(this.listeners[a],b.call(arguments,1)),"*"in this.listeners&&this.invoke(this.listeners["*"],arguments)},d.prototype.invoke=function(a,b){for(var c=0,d=a.length;d>c;c++)a[c].apply(this,b)},c.Observable=d,c.generateChars=function(a){for(var b="",c=0;a>c;c++){var d=Math.floor(36*Math.random());b+=d.toString(36)}return b},c.bind=function(a,b){return function(){a.apply(b,arguments)}},c._convertData=function(a){for(var b in a){var c=b.split("-"),d=a;if(1!==c.length){for(var e=0;e<c.length;e++){var f=c[e];f=f.substring(0,1).toLowerCase()+f.substring(1),f in d||(d[f]={}),e==c.length-1&&(d[f]=a[b]),d=d[f]}delete a[b]}}return a},c.hasScroll=function(b,c){var d=a(c),e=c.style.overflowX,f=c.style.overflowY;return e!==f||"hidden"!==f&&"visible"!==f?"scroll"===e||"scroll"===f?!0:d.innerHeight()<c.scrollHeight||d.innerWidth()<c.scrollWidth:!1},c.escapeMarkup=function(a){var b={"\\":"\","&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};return"string"!=typeof a?a:String(a).replace(/[&<>"'\/\\]/g,function(a){return b[a]})},c.appendMany=function(b,c){if("1.7"===a.fn.jquery.substr(0,3)){var d=a();a.map(c,function(a){d=d.add(a)}),c=d}b.append(c)},c}),b.define("select2/results",["jquery","./utils"],function(a,b){function c(a,b,d){this.$element=a,this.data=d,this.options=b,c.__super__.constructor.call(this)}return b.Extend(c,b.Observable),c.prototype.render=function(){var b=a('<ul class="select2-results__options" role="tree"></ul>');return this.options.get("multiple")&&b.attr("aria-multiselectable","true"),this.$results=b,b},c.prototype.clear=function(){this.$results.empty()},c.prototype.displayMessage=function(b){var c=this.options.get("escapeMarkup");this.clear(),this.hideLoading();var d=a('<li role="treeitem" aria-live="assertive" class="select2-results__option"></li>'),e=this.options.get("translations").get(b.message);d.append(c(e(b.args))),d[0].className+=" select2-results__message",this.$results.append(d)},c.prototype.hideMessages=function(){this.$results.find(".select2-results__message").remove()},c.prototype.append=function(a){this.hideLoading();var b=[];if(null==a.results||0===a.results.length)return void(0===this.$results.children().length&&this.trigger("results:message",{message:"noResults"}));a.results=this.sort(a.results);for(var c=0;c<a.results.length;c++){var d=a.results[c],e=this.option(d);b.push(e)}this.$results.append(b)},c.prototype.position=function(a,b){var c=b.find(".select2-results");c.append(a)},c.prototype.sort=function(a){var b=this.options.get("sorter");return b(a)},c.prototype.setClasses=function(){var b=this;this.data.current(function(c){var d=a.map(c,function(a){return a.id.toString()}),e=b.$results.find(".select2-results__option[aria-selected]");e.each(function(){var b=a(this),c=a.data(this,"data"),e=""+c.id;null!=c.element&&c.element.selected||null==c.element&&a.inArray(e,d)>-1?b.attr("aria-selected","true"):b.attr("aria-selected","false")});var f=e.filter("[aria-selected=true]");f.length>0?f.first().trigger("mouseenter"):e.first().trigger("mouseenter")})},c.prototype.showLoading=function(a){this.hideLoading();var b=this.options.get("translations").get("searching"),c={disabled:!0,loading:!0,text:b(a)},d=this.option(c);d.className+=" loading-results",this.$results.prepend(d)},c.prototype.hideLoading=function(){this.$results.find(".loading-results").remove()},c.prototype.option=function(b){var c=document.createElement("li");c.className="select2-results__option";var d={role:"treeitem","aria-selected":"false"};b.disabled&&(delete d["aria-selected"],d["aria-disabled"]="true"),null==b.id&&delete d["aria-selected"],null!=b._resultId&&(c.id=b._resultId),b.title&&(c.title=b.title),b.children&&(d.role="group",d["aria-label"]=b.text,delete d["aria-selected"]);for(var e in d){var f=d[e];c.setAttribute(e,f)}if(b.children){var g=a(c),h=document.createElement("strong");h.className="select2-results__group";a(h);this.template(b,h);for(var i=[],j=0;j<b.children.length;j++){var k=b.children[j],l=this.option(k);i.push(l)}var m=a("<ul></ul>",{"class":"select2-results__options select2-results__options--nested"});m.append(i),g.append(h),g.append(m)}else this.template(b,c);return a.data(c,"data",b),c},c.prototype.bind=function(b,c){var d=this,e=b.id+"-results";this.$results.attr("id",e),b.on("results:all",function(a){d.clear(),d.append(a.data),b.isOpen()&&d.setClasses()}),b.on("results:append",function(a){d.append(a.data),b.isOpen()&&d.setClasses()}),b.on("query",function(a){d.hideMessages(),d.showLoading(a)}),b.on("select",function(){b.isOpen()&&d.setClasses()}),b.on("unselect",function(){b.isOpen()&&d.setClasses()}),b.on("open",function(){d.$results.attr("aria-expanded","true"),d.$results.attr("aria-hidden","false"),d.setClasses(),d.ensureHighlightVisible()}),b.on("close",function(){d.$results.attr("aria-expanded","false"),d.$results.attr("aria-hidden","true"),d.$results.removeAttr("aria-activedescendant")}),b.on("results:toggle",function(){var a=d.getHighlightedResults();0!==a.length&&a.trigger("mouseup")}),b.on("results:select",function(){var a=d.getHighlightedResults();if(0!==a.length){var b=a.data("data");"true"==a.attr("aria-selected")?d.trigger("close",{}):d.trigger("select",{data:b})}}),b.on("results:previous",function(){var a=d.getHighlightedResults(),b=d.$results.find("[aria-selected]"),c=b.index(a);if(0!==c){var e=c-1;0===a.length&&(e=0);var f=b.eq(e);f.trigger("mouseenter");var g=d.$results.offset().top,h=f.offset().top,i=d.$results.scrollTop()+(h-g);0===e?d.$results.scrollTop(0):0>h-g&&d.$results.scrollTop(i)}}),b.on("results:next",function(){var a=d.getHighlightedResults(),b=d.$results.find("[aria-selected]"),c=b.index(a),e=c+1;if(!(e>=b.length)){var f=b.eq(e);f.trigger("mouseenter");var g=d.$results.offset().top+d.$results.outerHeight(!1),h=f.offset().top+f.outerHeight(!1),i=d.$results.scrollTop()+h-g;0===e?d.$results.scrollTop(0):h>g&&d.$results.scrollTop(i)}}),b.on("results:focus",function(a){a.element.addClass("select2-results__option--highlighted")}),b.on("results:message",function(a){d.displayMessage(a)}),a.fn.mousewheel&&this.$results.on("mousewheel",function(a){var b=d.$results.scrollTop(),c=d.$results.get(0).scrollHeight-b+a.deltaY,e=a.deltaY>0&&b-a.deltaY<=0,f=a.deltaY<0&&c<=d.$results.height();e?(d.$results.scrollTop(0),a.preventDefault(),a.stopPropagation()):f&&(d.$results.scrollTop(d.$results.get(0).scrollHeight-d.$results.height()),a.preventDefault(),a.stopPropagation())}),this.$results.on("mouseup",".select2-results__option[aria-selected]",function(b){var c=a(this),e=c.data("data");return"true"===c.attr("aria-selected")?void(d.options.get("multiple")?d.trigger("unselect",{originalEvent:b,data:e}):d.trigger("close",{})):void d.trigger("select",{originalEvent:b,data:e})}),this.$results.on("mouseenter",".select2-results__option[aria-selected]",function(b){var c=a(this).data("data");d.getHighlightedResults().removeClass("select2-results__option--highlighted"),d.trigger("results:focus",{data:c,element:a(this)})})},c.prototype.getHighlightedResults=function(){var a=this.$results.find(".select2-results__option--highlighted");return a},c.prototype.destroy=function(){this.$results.remove()},c.prototype.ensureHighlightVisible=function(){var a=this.getHighlightedResults();if(0!==a.length){var b=this.$results.find("[aria-selected]"),c=b.index(a),d=this.$results.offset().top,e=a.offset().top,f=this.$results.scrollTop()+(e-d),g=e-d;f-=2*a.outerHeight(!1),2>=c?this.$results.scrollTop(0):(g>this.$results.outerHeight()||0>g)&&this.$results.scrollTop(f)}},c.prototype.template=function(b,c){var d=this.options.get("templateResult"),e=this.options.get("escapeMarkup"),f=d(b,c);null==f?c.style.display="none":"string"==typeof f?c.innerHTML=e(f):a(c).append(f)},c}),b.define("select2/keys",[],function(){var a={BACKSPACE:8,TAB:9,ENTER:13,SHIFT:16,CTRL:17,ALT:18,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46};return a}),b.define("select2/selection/base",["jquery","../utils","../keys"],function(a,b,c){function d(a,b){this.$element=a,this.options=b,d.__super__.constructor.call(this)}return b.Extend(d,b.Observable),d.prototype.render=function(){var b=a('<span class="select2-selection" role="combobox" aria-haspopup="true" aria-expanded="false"></span>');return this._tabindex=0,null!=this.$element.data("old-tabindex")?this._tabindex=this.$element.data("old-tabindex"):null!=this.$element.attr("tabindex")&&(this._tabindex=this.$element.attr("tabindex")),b.attr("title",this.$element.attr("title")),b.attr("tabindex",this._tabindex),this.$selection=b,b},d.prototype.bind=function(a,b){var d=this,e=(a.id+"-container",a.id+"-results");this.container=a,this.$selection.on("focus",function(a){d.trigger("focus",a)}),this.$selection.on("blur",function(a){d._handleBlur(a)}),this.$selection.on("keydown",function(a){d.trigger("keypress",a),a.which===c.SPACE&&a.preventDefault()}),a.on("results:focus",function(a){d.$selection.attr("aria-activedescendant",a.data._resultId)}),a.on("selection:update",function(a){d.update(a.data)}),a.on("open",function(){d.$selection.attr("aria-expanded","true"),d.$selection.attr("aria-owns",e),d._attachCloseHandler(a)}),a.on("close",function(){d.$selection.attr("aria-expanded","false"),d.$selection.removeAttr("aria-activedescendant"),d.$selection.removeAttr("aria-owns"),d.$selection.focus(),d._detachCloseHandler(a)}),a.on("enable",function(){d.$selection.attr("tabindex",d._tabindex)}),a.on("disable",function(){d.$selection.attr("tabindex","-1")})},d.prototype._handleBlur=function(b){var c=this;window.setTimeout(function(){document.activeElement==c.$selection[0]||a.contains(c.$selection[0],document.activeElement)||c.trigger("blur",b)},1)},d.prototype._attachCloseHandler=function(b){a(document.body).on("mousedown.select2."+b.id,function(b){var c=a(b.target),d=c.closest(".select2"),e=a(".select2.select2-container--open");e.each(function(){var b=a(this);if(this!=d[0]){var c=b.data("element");c.select2("close")}})})},d.prototype._detachCloseHandler=function(b){a(document.body).off("mousedown.select2."+b.id)},d.prototype.position=function(a,b){var c=b.find(".selection");c.append(a)},d.prototype.destroy=function(){this._detachCloseHandler(this.container)},d.prototype.update=function(a){throw new Error("The `update` method must be defined in child classes.")},d}),b.define("select2/selection/single",["jquery","./base","../utils","../keys"],function(a,b,c,d){function e(){e.__super__.constructor.apply(this,arguments)}return c.Extend(e,b),e.prototype.render=function(){var a=e.__super__.render.call(this);return a.addClass("select2-selection--single"),a.html('<span class="select2-selection__rendered"></span><span class="select2-selection__arrow" role="presentation"><b role="presentation"></b></span>'),a},e.prototype.bind=function(a,b){var c=this;e.__super__.bind.apply(this,arguments);var d=a.id+"-container";this.$selection.find(".select2-selection__rendered").attr("id",d),this.$selection.attr("aria-labelledby",d),this.$selection.on("mousedown",function(a){1===a.which&&c.trigger("toggle",{originalEvent:a})}),this.$selection.on("focus",function(a){}),this.$selection.on("blur",function(a){}),a.on("selection:update",function(a){c.update(a.data)})},e.prototype.clear=function(){this.$selection.find(".select2-selection__rendered").empty()},e.prototype.display=function(a,b){var c=this.options.get("templateSelection"),d=this.options.get("escapeMarkup");return d(c(a,b))},e.prototype.selectionContainer=function(){return a("<span></span>")},e.prototype.update=function(a){if(0===a.length)return void this.clear();var b=a[0],c=this.$selection.find(".select2-selection__rendered"),d=this.display(b,c);c.empty().append(d),c.prop("title",b.title||b.text)},e}),b.define("select2/selection/multiple",["jquery","./base","../utils"],function(a,b,c){function d(a,b){d.__super__.constructor.apply(this,arguments)}return c.Extend(d,b),d.prototype.render=function(){var a=d.__super__.render.call(this);return a.addClass("select2-selection--multiple"),a.html('<ul class="select2-selection__rendered"></ul>'),a},d.prototype.bind=function(b,c){var e=this;d.__super__.bind.apply(this,arguments),this.$selection.on("click",function(a){e.trigger("toggle",{originalEvent:a})}),this.$selection.on("click",".select2-selection__choice__remove",function(b){if(!e.options.get("disabled")){var c=a(this),d=c.parent(),f=d.data("data");e.trigger("unselect",{originalEvent:b,data:f})}})},d.prototype.clear=function(){this.$selection.find(".select2-selection__rendered").empty()},d.prototype.display=function(a,b){var c=this.options.get("templateSelection"),d=this.options.get("escapeMarkup");return d(c(a,b))},d.prototype.selectionContainer=function(){var b=a('<li class="select2-selection__choice"><span class="select2-selection__choice__remove" role="presentation">×</span></li>');return b},d.prototype.update=function(a){if(this.clear(),0!==a.length){for(var b=[],d=0;d<a.length;d++){var e=a[d],f=this.selectionContainer(),g=this.display(e,f);f.append(g),f.prop("title",e.title||e.text),f.data("data",e),b.push(f)}var h=this.$selection.find(".select2-selection__rendered");c.appendMany(h,b)}},d}),b.define("select2/selection/placeholder",["../utils"],function(a){function b(a,b,c){this.placeholder=this.normalizePlaceholder(c.get("placeholder")),a.call(this,b,c)}return b.prototype.normalizePlaceholder=function(a,b){return"string"==typeof b&&(b={id:"",text:b}),b},b.prototype.createPlaceholder=function(a,b){var c=this.selectionContainer();return c.html(this.display(b)),c.addClass("select2-selection__placeholder").removeClass("select2-selection__choice"),c},b.prototype.update=function(a,b){var c=1==b.length&&b[0].id!=this.placeholder.id,d=b.length>1;if(d||c)return a.call(this,b);this.clear();var e=this.createPlaceholder(this.placeholder);this.$selection.find(".select2-selection__rendered").append(e)},b}),b.define("select2/selection/allowClear",["jquery","../keys"],function(a,b){function c(){}return c.prototype.bind=function(a,b,c){var d=this;a.call(this,b,c),null==this.placeholder&&this.options.get("debug")&&window.console&&console.error&&console.error("Select2: The `allowClear` option should be used in combination with the `placeholder` option."),this.$selection.on("mousedown",".select2-selection__clear",function(a){d._handleClear(a)}),b.on("keypress",function(a){d._handleKeyboardClear(a,b)})},c.prototype._handleClear=function(a,b){if(!this.options.get("disabled")){var c=this.$selection.find(".select2-selection__clear");if(0!==c.length){b.stopPropagation();for(var d=c.data("data"),e=0;e<d.length;e++){var f={data:d[e]};if(this.trigger("unselect",f),f.prevented)return}this.$element.val(this.placeholder.id).trigger("change"),this.trigger("toggle",{})}}},c.prototype._handleKeyboardClear=function(a,c,d){d.isOpen()||(c.which==b.DELETE||c.which==b.BACKSPACE)&&this._handleClear(c)},c.prototype.update=function(b,c){if(b.call(this,c),!(this.$selection.find(".select2-selection__placeholder").length>0||0===c.length)){var d=a('<span class="select2-selection__clear">×</span>');d.data("data",c),this.$selection.find(".select2-selection__rendered").prepend(d)}},c}),b.define("select2/selection/search",["jquery","../utils","../keys"],function(a,b,c){function d(a,b,c){a.call(this,b,c)}return d.prototype.render=function(b){var c=a('<li class="select2-search select2-search--inline"><input class="select2-search__field" type="search" tabindex="-1" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" role="textbox" aria-autocomplete="list" /></li>');this.$searchContainer=c,this.$search=c.find("input");var d=b.call(this);return this._transferTabIndex(),d},d.prototype.bind=function(a,b,d){var e=this;a.call(this,b,d),b.on("open",function(){e.$search.trigger("focus")}),b.on("close",function(){e.$search.val(""),e.$search.removeAttr("aria-activedescendant"),e.$search.trigger("focus")}),b.on("enable",function(){e.$search.prop("disabled",!1),e._transferTabIndex()}),b.on("disable",function(){e.$search.prop("disabled",!0)}),b.on("focus",function(a){e.$search.trigger("focus")}),b.on("results:focus",function(a){e.$search.attr("aria-activedescendant",a.id)}),this.$selection.on("focusin",".select2-search--inline",function(a){e.trigger("focus",a)}),this.$selection.on("focusout",".select2-search--inline",function(a){e._handleBlur(a)}),this.$selection.on("keydown",".select2-search--inline",function(a){a.stopPropagation(),e.trigger("keypress",a),e._keyUpPrevented=a.isDefaultPrevented();var b=a.which;if(b===c.BACKSPACE&&""===e.$search.val()){var d=e.$searchContainer.prev(".select2-selection__choice");if(d.length>0){var f=d.data("data");e.searchRemoveChoice(f),a.preventDefault()}}});var f=document.documentMode,g=f&&11>=f;this.$selection.on("input.searchcheck",".select2-search--inline",function(a){return g?void e.$selection.off("input.search input.searchcheck"):void e.$selection.off("keyup.search")}),this.$selection.on("keyup.search input.search",".select2-search--inline",function(a){if(g&&"input"===a.type)return void e.$selection.off("input.search input.searchcheck");var b=a.which;b!=c.SHIFT&&b!=c.CTRL&&b!=c.ALT&&b!=c.TAB&&e.handleSearch(a)})},d.prototype._transferTabIndex=function(a){this.$search.attr("tabindex",this.$selection.attr("tabindex")),this.$selection.attr("tabindex","-1")},d.prototype.createPlaceholder=function(a,b){this.$search.attr("placeholder",b.text)},d.prototype.update=function(a,b){var c=this.$search[0]==document.activeElement;this.$search.attr("placeholder",""),a.call(this,b),this.$selection.find(".select2-selection__rendered").append(this.$searchContainer),this.resizeSearch(),c&&this.$search.focus()},d.prototype.handleSearch=function(){if(this.resizeSearch(),!this._keyUpPrevented){var a=this.$search.val();this.trigger("query",{term:a})}this._keyUpPrevented=!1},d.prototype.searchRemoveChoice=function(a,b){this.trigger("unselect",{data:b}),this.$search.val(b.text),this.handleSearch()},d.prototype.resizeSearch=function(){this.$search.css("width","25px");var a="";if(""!==this.$search.attr("placeholder"))a=this.$selection.find(".select2-selection__rendered").innerWidth();else{var b=this.$search.val().length+1;a=.75*b+"em"}this.$search.css("width",a)},d}),b.define("select2/selection/eventRelay",["jquery"],function(a){function b(){}return b.prototype.bind=function(b,c,d){var e=this,f=["open","opening","close","closing","select","selecting","unselect","unselecting"],g=["opening","closing","selecting","unselecting"];b.call(this,c,d),c.on("*",function(b,c){if(-1!==a.inArray(b,f)){c=c||{};var d=a.Event("select2:"+b,{params:c});e.$element.trigger(d),-1!==a.inArray(b,g)&&(c.prevented=d.isDefaultPrevented())}})},b}),b.define("select2/translation",["jquery","require"],function(a,b){function c(a){this.dict=a||{}}return c.prototype.all=function(){return this.dict},c.prototype.get=function(a){return this.dict[a]},c.prototype.extend=function(b){this.dict=a.extend({},b.all(),this.dict)},c._cache={},c.loadPath=function(a){if(!(a in c._cache)){var d=b(a);c._cache[a]=d}return new c(c._cache[a])},c}),b.define("select2/diacritics",[],function(){var a={"Ⓐ":"A","A":"A","À":"A","Á":"A","Â":"A","Ầ":"A","Ấ":"A","Ẫ":"A","Ẩ":"A","Ã":"A","Ā":"A","Ă":"A","Ằ":"A","Ắ":"A","Ẵ":"A","Ẳ":"A","Ȧ":"A","Ǡ":"A","Ä":"A","Ǟ":"A","Ả":"A","Å":"A","Ǻ":"A","Ǎ":"A","Ȁ":"A","Ȃ":"A","Ạ":"A","Ậ":"A","Ặ":"A","Ḁ":"A","Ą":"A","Ⱥ":"A","Ɐ":"A","Ꜳ":"AA","Æ":"AE","Ǽ":"AE","Ǣ":"AE","Ꜵ":"AO","Ꜷ":"AU","Ꜹ":"AV","Ꜻ":"AV","Ꜽ":"AY","Ⓑ":"B","B":"B","Ḃ":"B","Ḅ":"B","Ḇ":"B","Ƀ":"B","Ƃ":"B","Ɓ":"B","Ⓒ":"C","C":"C","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","Ç":"C","Ḉ":"C","Ƈ":"C","Ȼ":"C","Ꜿ":"C","Ⓓ":"D","D":"D","Ḋ":"D","Ď":"D","Ḍ":"D","Ḑ":"D","Ḓ":"D","Ḏ":"D","Đ":"D","Ƌ":"D","Ɗ":"D","Ɖ":"D","Ꝺ":"D","DZ":"DZ","DŽ":"DZ","Dz":"Dz","Dž":"Dz","Ⓔ":"E","E":"E","È":"E","É":"E","Ê":"E","Ề":"E","Ế":"E","Ễ":"E","Ể":"E","Ẽ":"E","Ē":"E","Ḕ":"E","Ḗ":"E","Ĕ":"E","Ė":"E","Ë":"E","Ẻ":"E","Ě":"E","Ȅ":"E","Ȇ":"E","Ẹ":"E","Ệ":"E","Ȩ":"E","Ḝ":"E","Ę":"E","Ḙ":"E","Ḛ":"E","Ɛ":"E","Ǝ":"E","Ⓕ":"F","F":"F","Ḟ":"F","Ƒ":"F","Ꝼ":"F","Ⓖ":"G","G":"G","Ǵ":"G","Ĝ":"G","Ḡ":"G","Ğ":"G","Ġ":"G","Ǧ":"G","Ģ":"G","Ǥ":"G","Ɠ":"G","Ꞡ":"G","Ᵹ":"G","Ꝿ":"G","Ⓗ":"H","H":"H","Ĥ":"H","Ḣ":"H","Ḧ":"H","Ȟ":"H","Ḥ":"H","Ḩ":"H","Ḫ":"H","Ħ":"H","Ⱨ":"H","Ⱶ":"H","Ɥ":"H","Ⓘ":"I","I":"I","Ì":"I","Í":"I","Î":"I","Ĩ":"I","Ī":"I","Ĭ":"I","İ":"I","Ï":"I","Ḯ":"I","Ỉ":"I","Ǐ":"I","Ȉ":"I","Ȋ":"I","Ị":"I","Į":"I","Ḭ":"I","Ɨ":"I","Ⓙ":"J","J":"J","Ĵ":"J","Ɉ":"J","Ⓚ":"K","K":"K","Ḱ":"K","Ǩ":"K","Ḳ":"K","Ķ":"K","Ḵ":"K","Ƙ":"K","Ⱪ":"K","Ꝁ":"K","Ꝃ":"K","Ꝅ":"K","Ꞣ":"K","Ⓛ":"L","L":"L","Ŀ":"L","Ĺ":"L","Ľ":"L","Ḷ":"L","Ḹ":"L","Ļ":"L","Ḽ":"L","Ḻ":"L","Ł":"L","Ƚ":"L","Ɫ":"L","Ⱡ":"L","Ꝉ":"L","Ꝇ":"L","Ꞁ":"L","LJ":"LJ","Lj":"Lj","Ⓜ":"M","M":"M","Ḿ":"M","Ṁ":"M","Ṃ":"M","Ɱ":"M","Ɯ":"M","Ⓝ":"N","N":"N","Ǹ":"N","Ń":"N","Ñ":"N","Ṅ":"N","Ň":"N","Ṇ":"N","Ņ":"N","Ṋ":"N","Ṉ":"N","Ƞ":"N","Ɲ":"N","Ꞑ":"N","Ꞥ":"N","NJ":"NJ","Nj":"Nj","Ⓞ":"O","O":"O","Ò":"O","Ó":"O","Ô":"O","Ồ":"O","Ố":"O","Ỗ":"O","Ổ":"O","Õ":"O","Ṍ":"O","Ȭ":"O","Ṏ":"O","Ō":"O","Ṑ":"O","Ṓ":"O","Ŏ":"O","Ȯ":"O","Ȱ":"O","Ö":"O","Ȫ":"O","Ỏ":"O","Ő":"O","Ǒ":"O","Ȍ":"O","Ȏ":"O","Ơ":"O","Ờ":"O","Ớ":"O","Ỡ":"O","Ở":"O","Ợ":"O","Ọ":"O","Ộ":"O","Ǫ":"O","Ǭ":"O","Ø":"O","Ǿ":"O","Ɔ":"O","Ɵ":"O","Ꝋ":"O","Ꝍ":"O","Ƣ":"OI","Ꝏ":"OO","Ȣ":"OU","Ⓟ":"P","P":"P","Ṕ":"P","Ṗ":"P","Ƥ":"P","Ᵽ":"P","Ꝑ":"P","Ꝓ":"P","Ꝕ":"P","Ⓠ":"Q","Q":"Q","Ꝗ":"Q","Ꝙ":"Q","Ɋ":"Q","Ⓡ":"R","R":"R","Ŕ":"R","Ṙ":"R","Ř":"R","Ȑ":"R","Ȓ":"R","Ṛ":"R","Ṝ":"R","Ŗ":"R","Ṟ":"R","Ɍ":"R","Ɽ":"R","Ꝛ":"R","Ꞧ":"R","Ꞃ":"R","Ⓢ":"S","S":"S","ẞ":"S","Ś":"S","Ṥ":"S","Ŝ":"S","Ṡ":"S","Š":"S","Ṧ":"S","Ṣ":"S","Ṩ":"S","Ș":"S","Ş":"S","Ȿ":"S","Ꞩ":"S","Ꞅ":"S","Ⓣ":"T","T":"T","Ṫ":"T","Ť":"T","Ṭ":"T","Ț":"T","Ţ":"T","Ṱ":"T","Ṯ":"T","Ŧ":"T","Ƭ":"T","Ʈ":"T","Ⱦ":"T","Ꞇ":"T","Ꜩ":"TZ","Ⓤ":"U","U":"U","Ù":"U","Ú":"U","Û":"U","Ũ":"U","Ṹ":"U","Ū":"U","Ṻ":"U","Ŭ":"U","Ü":"U","Ǜ":"U","Ǘ":"U","Ǖ":"U","Ǚ":"U","Ủ":"U","Ů":"U","Ű":"U","Ǔ":"U","Ȕ":"U","Ȗ":"U","Ư":"U","Ừ":"U","Ứ":"U","Ữ":"U","Ử":"U","Ự":"U","Ụ":"U","Ṳ":"U","Ų":"U","Ṷ":"U","Ṵ":"U","Ʉ":"U","Ⓥ":"V","V":"V","Ṽ":"V","Ṿ":"V","Ʋ":"V","Ꝟ":"V","Ʌ":"V","Ꝡ":"VY","Ⓦ":"W","W":"W","Ẁ":"W","Ẃ":"W","Ŵ":"W","Ẇ":"W","Ẅ":"W","Ẉ":"W","Ⱳ":"W","Ⓧ":"X","X":"X","Ẋ":"X","Ẍ":"X","Ⓨ":"Y","Y":"Y","Ỳ":"Y","Ý":"Y","Ŷ":"Y","Ỹ":"Y","Ȳ":"Y","Ẏ":"Y","Ÿ":"Y","Ỷ":"Y","Ỵ":"Y","Ƴ":"Y","Ɏ":"Y","Ỿ":"Y","Ⓩ":"Z","Z":"Z","Ź":"Z","Ẑ":"Z","Ż":"Z","Ž":"Z","Ẓ":"Z","Ẕ":"Z","Ƶ":"Z","Ȥ":"Z","Ɀ":"Z","Ⱬ":"Z","Ꝣ":"Z","ⓐ":"a","a":"a","ẚ":"a","à":"a","á":"a","â":"a","ầ":"a","ấ":"a","ẫ":"a","ẩ":"a","ã":"a","ā":"a","ă":"a","ằ":"a","ắ":"a","ẵ":"a","ẳ":"a","ȧ":"a","ǡ":"a","ä":"a","ǟ":"a","ả":"a","å":"a","ǻ":"a","ǎ":"a","ȁ":"a","ȃ":"a","ạ":"a","ậ":"a","ặ":"a","ḁ":"a","ą":"a","ⱥ":"a","ɐ":"a","ꜳ":"aa","æ":"ae","ǽ":"ae","ǣ":"ae","ꜵ":"ao","ꜷ":"au","ꜹ":"av","ꜻ":"av","ꜽ":"ay","ⓑ":"b","b":"b","ḃ":"b","ḅ":"b","ḇ":"b","ƀ":"b","ƃ":"b","ɓ":"b","ⓒ":"c","c":"c","ć":"c","ĉ":"c","ċ":"c","č":"c","ç":"c","ḉ":"c","ƈ":"c","ȼ":"c","ꜿ":"c","ↄ":"c","ⓓ":"d","d":"d","ḋ":"d","ď":"d","ḍ":"d","ḑ":"d","ḓ":"d","ḏ":"d","đ":"d","ƌ":"d","ɖ":"d","ɗ":"d","ꝺ":"d","dz":"dz","dž":"dz","ⓔ":"e","e":"e","è":"e","é":"e","ê":"e","ề":"e","ế":"e","ễ":"e","ể":"e","ẽ":"e","ē":"e","ḕ":"e","ḗ":"e","ĕ":"e","ė":"e","ë":"e","ẻ":"e","ě":"e","ȅ":"e","ȇ":"e","ẹ":"e","ệ":"e","ȩ":"e","ḝ":"e","ę":"e","ḙ":"e","ḛ":"e","ɇ":"e","ɛ":"e","ǝ":"e","ⓕ":"f","f":"f","ḟ":"f","ƒ":"f","ꝼ":"f","ⓖ":"g","g":"g","ǵ":"g","ĝ":"g","ḡ":"g","ğ":"g","ġ":"g","ǧ":"g","ģ":"g","ǥ":"g","ɠ":"g","ꞡ":"g","ᵹ":"g","ꝿ":"g","ⓗ":"h","h":"h","ĥ":"h","ḣ":"h","ḧ":"h","ȟ":"h","ḥ":"h","ḩ":"h","ḫ":"h","ẖ":"h","ħ":"h","ⱨ":"h","ⱶ":"h","ɥ":"h","ƕ":"hv","ⓘ":"i","i":"i","ì":"i","í":"i","î":"i","ĩ":"i","ī":"i","ĭ":"i","ï":"i","ḯ":"i","ỉ":"i","ǐ":"i","ȉ":"i","ȋ":"i","ị":"i","į":"i","ḭ":"i","ɨ":"i","ı":"i","ⓙ":"j","j":"j","ĵ":"j","ǰ":"j","ɉ":"j","ⓚ":"k","k":"k","ḱ":"k","ǩ":"k","ḳ":"k","ķ":"k","ḵ":"k","ƙ":"k","ⱪ":"k","ꝁ":"k","ꝃ":"k","ꝅ":"k","ꞣ":"k","ⓛ":"l","l":"l","ŀ":"l","ĺ":"l","ľ":"l","ḷ":"l","ḹ":"l","ļ":"l","ḽ":"l","ḻ":"l","ſ":"l","ł":"l","ƚ":"l","ɫ":"l","ⱡ":"l","ꝉ":"l","ꞁ":"l","ꝇ":"l","lj":"lj","ⓜ":"m","m":"m","ḿ":"m","ṁ":"m","ṃ":"m","ɱ":"m","ɯ":"m","ⓝ":"n","n":"n","ǹ":"n","ń":"n","ñ":"n","ṅ":"n","ň":"n","ṇ":"n","ņ":"n","ṋ":"n","ṉ":"n","ƞ":"n","ɲ":"n","ʼn":"n","ꞑ":"n","ꞥ":"n","nj":"nj","ⓞ":"o","o":"o","ò":"o","ó":"o","ô":"o","ồ":"o","ố":"o","ỗ":"o","ổ":"o","õ":"o","ṍ":"o","ȭ":"o","ṏ":"o","ō":"o","ṑ":"o","ṓ":"o","ŏ":"o","ȯ":"o","ȱ":"o","ö":"o","ȫ":"o","ỏ":"o","ő":"o","ǒ":"o","ȍ":"o","ȏ":"o","ơ":"o","ờ":"o","ớ":"o","ỡ":"o","ở":"o","ợ":"o","ọ":"o","ộ":"o","ǫ":"o","ǭ":"o","ø":"o","ǿ":"o","ɔ":"o","ꝋ":"o","ꝍ":"o","ɵ":"o","ƣ":"oi","ȣ":"ou","ꝏ":"oo","ⓟ":"p","p":"p","ṕ":"p","ṗ":"p","ƥ":"p","ᵽ":"p","ꝑ":"p","ꝓ":"p","ꝕ":"p","ⓠ":"q","q":"q","ɋ":"q","ꝗ":"q","ꝙ":"q","ⓡ":"r","r":"r","ŕ":"r","ṙ":"r","ř":"r","ȑ":"r","ȓ":"r","ṛ":"r","ṝ":"r","ŗ":"r","ṟ":"r","ɍ":"r","ɽ":"r","ꝛ":"r","ꞧ":"r","ꞃ":"r","ⓢ":"s","s":"s","ß":"s","ś":"s","ṥ":"s","ŝ":"s","ṡ":"s","š":"s","ṧ":"s","ṣ":"s","ṩ":"s","ș":"s","ş":"s","ȿ":"s","ꞩ":"s","ꞅ":"s","ẛ":"s","ⓣ":"t","t":"t","ṫ":"t","ẗ":"t","ť":"t","ṭ":"t","ț":"t","ţ":"t","ṱ":"t","ṯ":"t","ŧ":"t","ƭ":"t","ʈ":"t","ⱦ":"t","ꞇ":"t","ꜩ":"tz","ⓤ":"u","u":"u","ù":"u","ú":"u","û":"u","ũ":"u","ṹ":"u","ū":"u","ṻ":"u","ŭ":"u","ü":"u","ǜ":"u","ǘ":"u","ǖ":"u","ǚ":"u","ủ":"u","ů":"u","ű":"u","ǔ":"u","ȕ":"u","ȗ":"u","ư":"u","ừ":"u","ứ":"u","ữ":"u","ử":"u","ự":"u","ụ":"u","ṳ":"u","ų":"u","ṷ":"u","ṵ":"u","ʉ":"u","ⓥ":"v","v":"v","ṽ":"v","ṿ":"v","ʋ":"v","ꝟ":"v","ʌ":"v","ꝡ":"vy","ⓦ":"w","w":"w","ẁ":"w","ẃ":"w","ŵ":"w","ẇ":"w","ẅ":"w","ẘ":"w","ẉ":"w","ⱳ":"w","ⓧ":"x","x":"x","ẋ":"x","ẍ":"x","ⓨ":"y","y":"y","ỳ":"y","ý":"y","ŷ":"y","ỹ":"y","ȳ":"y","ẏ":"y","ÿ":"y","ỷ":"y","ẙ":"y","ỵ":"y","ƴ":"y","ɏ":"y","ỿ":"y","ⓩ":"z","z":"z","ź":"z","ẑ":"z","ż":"z","ž":"z","ẓ":"z","ẕ":"z","ƶ":"z","ȥ":"z","ɀ":"z","ⱬ":"z","ꝣ":"z","Ά":"Α","Έ":"Ε","Ή":"Η","Ί":"Ι","Ϊ":"Ι","Ό":"Ο","Ύ":"Υ","Ϋ":"Υ","Ώ":"Ω","ά":"α","έ":"ε","ή":"η","ί":"ι","ϊ":"ι","ΐ":"ι","ό":"ο","ύ":"υ","ϋ":"υ","ΰ":"υ","ω":"ω","ς":"σ"};return a}),b.define("select2/data/base",["../utils"],function(a){function b(a,c){b.__super__.constructor.call(this)}return a.Extend(b,a.Observable),b.prototype.current=function(a){throw new Error("The `current` method must be defined in child classes.")},b.prototype.query=function(a,b){throw new Error("The `query` method must be defined in child classes.")},b.prototype.bind=function(a,b){},b.prototype.destroy=function(){},b.prototype.generateResultId=function(b,c){var d=b.id+"-result-";return d+=a.generateChars(4),d+=null!=c.id?"-"+c.id.toString():"-"+a.generateChars(4)},b}),b.define("select2/data/select",["./base","../utils","jquery"],function(a,b,c){function d(a,b){this.$element=a,this.options=b,d.__super__.constructor.call(this)}return b.Extend(d,a),d.prototype.current=function(a){var b=[],d=this;this.$element.find(":selected").each(function(){var a=c(this),e=d.item(a);b.push(e)}),a(b)},d.prototype.select=function(a){var b=this;if(a.selected=!0,c(a.element).is("option"))return a.element.selected=!0,void this.$element.trigger("change");if(this.$element.prop("multiple"))this.current(function(d){var e=[];a=[a],a.push.apply(a,d);for(var f=0;f<a.length;f++){var g=a[f].id;-1===c.inArray(g,e)&&e.push(g)}b.$element.val(e),b.$element.trigger("change")});else{var d=a.id;this.$element.val(d),this.$element.trigger("change")}},d.prototype.unselect=function(a){var b=this;if(this.$element.prop("multiple"))return a.selected=!1,
|
2 |
-
c(a.element).is("option")?(a.element.selected=!1,void this.$element.trigger("change")):void this.current(function(d){for(var e=[],f=0;f<d.length;f++){var g=d[f].id;g!==a.id&&-1===c.inArray(g,e)&&e.push(g)}b.$element.val(e),b.$element.trigger("change")})},d.prototype.bind=function(a,b){var c=this;this.container=a,a.on("select",function(a){c.select(a.data)}),a.on("unselect",function(a){c.unselect(a.data)})},d.prototype.destroy=function(){this.$element.find("*").each(function(){c.removeData(this,"data")})},d.prototype.query=function(a,b){var d=[],e=this,f=this.$element.children();f.each(function(){var b=c(this);if(b.is("option")||b.is("optgroup")){var f=e.item(b),g=e.matches(a,f);null!==g&&d.push(g)}}),b({results:d})},d.prototype.addOptions=function(a){b.appendMany(this.$element,a)},d.prototype.option=function(a){var b;a.children?(b=document.createElement("optgroup"),b.label=a.text):(b=document.createElement("option"),void 0!==b.textContent?b.textContent=a.text:b.innerText=a.text),a.id&&(b.value=a.id),a.disabled&&(b.disabled=!0),a.selected&&(b.selected=!0),a.title&&(b.title=a.title);var d=c(b),e=this._normalizeItem(a);return e.element=b,c.data(b,"data",e),d},d.prototype.item=function(a){var b={};if(b=c.data(a[0],"data"),null!=b)return b;if(a.is("option"))b={id:a.val(),text:a.text(),disabled:a.prop("disabled"),selected:a.prop("selected"),title:a.prop("title")};else if(a.is("optgroup")){b={text:a.prop("label"),children:[],title:a.prop("title")};for(var d=a.children("option"),e=[],f=0;f<d.length;f++){var g=c(d[f]),h=this.item(g);e.push(h)}b.children=e}return b=this._normalizeItem(b),b.element=a[0],c.data(a[0],"data",b),b},d.prototype._normalizeItem=function(a){c.isPlainObject(a)||(a={id:a,text:a}),a=c.extend({},{text:""},a);var b={selected:!1,disabled:!1};return null!=a.id&&(a.id=a.id.toString()),null!=a.text&&(a.text=a.text.toString()),null==a._resultId&&a.id&&null!=this.container&&(a._resultId=this.generateResultId(this.container,a)),c.extend({},b,a)},d.prototype.matches=function(a,b){var c=this.options.get("matcher");return c(a,b)},d}),b.define("select2/data/array",["./select","../utils","jquery"],function(a,b,c){function d(a,b){var c=b.get("data")||[];d.__super__.constructor.call(this,a,b),this.addOptions(this.convertToOptions(c))}return b.Extend(d,a),d.prototype.select=function(a){var b=this.$element.find("option").filter(function(b,c){return c.value==a.id.toString()});0===b.length&&(b=this.option(a),this.addOptions(b)),d.__super__.select.call(this,a)},d.prototype.convertToOptions=function(a){function d(a){return function(){return c(this).val()==a.id}}for(var e=this,f=this.$element.find("option"),g=f.map(function(){return e.item(c(this)).id}).get(),h=[],i=0;i<a.length;i++){var j=this._normalizeItem(a[i]);if(c.inArray(j.id,g)>=0){var k=f.filter(d(j)),l=this.item(k),m=c.extend(!0,{},j,l),n=this.option(m);k.replaceWith(n)}else{var o=this.option(j);if(j.children){var p=this.convertToOptions(j.children);b.appendMany(o,p)}h.push(o)}}return h},d}),b.define("select2/data/ajax",["./array","../utils","jquery"],function(a,b,c){function d(a,b){this.ajaxOptions=this._applyDefaults(b.get("ajax")),null!=this.ajaxOptions.processResults&&(this.processResults=this.ajaxOptions.processResults),d.__super__.constructor.call(this,a,b)}return b.Extend(d,a),d.prototype._applyDefaults=function(a){var b={data:function(a){return c.extend({},a,{q:a.term})},transport:function(a,b,d){var e=c.ajax(a);return e.then(b),e.fail(d),e}};return c.extend({},b,a,!0)},d.prototype.processResults=function(a){return a},d.prototype.query=function(a,b){function d(){var d=f.transport(f,function(d){var f=e.processResults(d,a);e.options.get("debug")&&window.console&&console.error&&(f&&f.results&&c.isArray(f.results)||console.error("Select2: The AJAX results did not return an array in the `results` key of the response.")),b(f)},function(){e.trigger("results:message",{message:"errorLoading"})});e._request=d}var e=this;null!=this._request&&(c.isFunction(this._request.abort)&&this._request.abort(),this._request=null);var f=c.extend({type:"GET"},this.ajaxOptions);"function"==typeof f.url&&(f.url=f.url.call(this.$element,a)),"function"==typeof f.data&&(f.data=f.data.call(this.$element,a)),this.ajaxOptions.delay&&""!==a.term?(this._queryTimeout&&window.clearTimeout(this._queryTimeout),this._queryTimeout=window.setTimeout(d,this.ajaxOptions.delay)):d()},d}),b.define("select2/data/tags",["jquery"],function(a){function b(b,c,d){var e=d.get("tags"),f=d.get("createTag");void 0!==f&&(this.createTag=f);var g=d.get("insertTag");if(void 0!==g&&(this.insertTag=g),b.call(this,c,d),a.isArray(e))for(var h=0;h<e.length;h++){var i=e[h],j=this._normalizeItem(i),k=this.option(j);this.$element.append(k)}}return b.prototype.query=function(a,b,c){function d(a,f){for(var g=a.results,h=0;h<g.length;h++){var i=g[h],j=null!=i.children&&!d({results:i.children},!0),k=i.text===b.term;if(k||j)return f?!1:(a.data=g,void c(a))}if(f)return!0;var l=e.createTag(b);if(null!=l){var m=e.option(l);m.attr("data-select2-tag",!0),e.addOptions([m]),e.insertTag(g,l)}a.results=g,c(a)}var e=this;return this._removeOldTags(),null==b.term||null!=b.page?void a.call(this,b,c):void a.call(this,b,d)},b.prototype.createTag=function(b,c){var d=a.trim(c.term);return""===d?null:{id:d,text:d}},b.prototype.insertTag=function(a,b,c){b.unshift(c)},b.prototype._removeOldTags=function(b){var c=(this._lastTag,this.$element.find("option[data-select2-tag]"));c.each(function(){this.selected||a(this).remove()})},b}),b.define("select2/data/tokenizer",["jquery"],function(a){function b(a,b,c){var d=c.get("tokenizer");void 0!==d&&(this.tokenizer=d),a.call(this,b,c)}return b.prototype.bind=function(a,b,c){a.call(this,b,c),this.$search=b.dropdown.$search||b.selection.$search||c.find(".select2-search__field")},b.prototype.query=function(a,b,c){function d(a){e.trigger("select",{data:a})}var e=this;b.term=b.term||"";var f=this.tokenizer(b,this.options,d);f.term!==b.term&&(this.$search.length&&(this.$search.val(f.term),this.$search.focus()),b.term=f.term),a.call(this,b,c)},b.prototype.tokenizer=function(b,c,d,e){for(var f=d.get("tokenSeparators")||[],g=c.term,h=0,i=this.createTag||function(a){return{id:a.term,text:a.term}};h<g.length;){var j=g[h];if(-1!==a.inArray(j,f)){var k=g.substr(0,h),l=a.extend({},c,{term:k}),m=i(l);null!=m?(e(m),g=g.substr(h+1)||"",h=0):h++}else h++}return{term:g}},b}),b.define("select2/data/minimumInputLength",[],function(){function a(a,b,c){this.minimumInputLength=c.get("minimumInputLength"),a.call(this,b,c)}return a.prototype.query=function(a,b,c){return b.term=b.term||"",b.term.length<this.minimumInputLength?void this.trigger("results:message",{message:"inputTooShort",args:{minimum:this.minimumInputLength,input:b.term,params:b}}):void a.call(this,b,c)},a}),b.define("select2/data/maximumInputLength",[],function(){function a(a,b,c){this.maximumInputLength=c.get("maximumInputLength"),a.call(this,b,c)}return a.prototype.query=function(a,b,c){return b.term=b.term||"",this.maximumInputLength>0&&b.term.length>this.maximumInputLength?void this.trigger("results:message",{message:"inputTooLong",args:{maximum:this.maximumInputLength,input:b.term,params:b}}):void a.call(this,b,c)},a}),b.define("select2/data/maximumSelectionLength",[],function(){function a(a,b,c){this.maximumSelectionLength=c.get("maximumSelectionLength"),a.call(this,b,c)}return a.prototype.query=function(a,b,c){var d=this;this.current(function(e){var f=null!=e?e.length:0;return d.maximumSelectionLength>0&&f>=d.maximumSelectionLength?void d.trigger("results:message",{message:"maximumSelected",args:{maximum:d.maximumSelectionLength}}):void a.call(d,b,c)})},a}),b.define("select2/dropdown",["jquery","./utils"],function(a,b){function c(a,b){this.$element=a,this.options=b,c.__super__.constructor.call(this)}return b.Extend(c,b.Observable),c.prototype.render=function(){var b=a('<span class="select2-dropdown"><span class="select2-results"></span></span>');return b.attr("dir",this.options.get("dir")),this.$dropdown=b,b},c.prototype.bind=function(){},c.prototype.position=function(a,b){},c.prototype.destroy=function(){this.$dropdown.remove()},c}),b.define("select2/dropdown/search",["jquery","../utils"],function(a,b){function c(){}return c.prototype.render=function(b){var c=b.call(this),d=a('<span class="select2-search select2-search--dropdown"><input class="select2-search__field" type="search" tabindex="-1" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" role="textbox" /></span>');return this.$searchContainer=d,this.$search=d.find("input"),c.prepend(d),c},c.prototype.bind=function(b,c,d){var e=this;b.call(this,c,d),this.$search.on("keydown",function(a){e.trigger("keypress",a),e._keyUpPrevented=a.isDefaultPrevented()}),this.$search.on("input",function(b){a(this).off("keyup")}),this.$search.on("keyup input",function(a){e.handleSearch(a)}),c.on("open",function(){e.$search.attr("tabindex",0),e.$search.focus(),window.setTimeout(function(){e.$search.focus()},0)}),c.on("close",function(){e.$search.attr("tabindex",-1),e.$search.val("")}),c.on("results:all",function(a){if(null==a.query.term||""===a.query.term){var b=e.showSearch(a);b?e.$searchContainer.removeClass("select2-search--hide"):e.$searchContainer.addClass("select2-search--hide")}})},c.prototype.handleSearch=function(a){if(!this._keyUpPrevented){var b=this.$search.val();this.trigger("query",{term:b})}this._keyUpPrevented=!1},c.prototype.showSearch=function(a,b){return!0},c}),b.define("select2/dropdown/hidePlaceholder",[],function(){function a(a,b,c,d){this.placeholder=this.normalizePlaceholder(c.get("placeholder")),a.call(this,b,c,d)}return a.prototype.append=function(a,b){b.results=this.removePlaceholder(b.results),a.call(this,b)},a.prototype.normalizePlaceholder=function(a,b){return"string"==typeof b&&(b={id:"",text:b}),b},a.prototype.removePlaceholder=function(a,b){for(var c=b.slice(0),d=b.length-1;d>=0;d--){var e=b[d];this.placeholder.id===e.id&&c.splice(d,1)}return c},a}),b.define("select2/dropdown/infiniteScroll",["jquery"],function(a){function b(a,b,c,d){this.lastParams={},a.call(this,b,c,d),this.$loadingMore=this.createLoadingMore(),this.loading=!1}return b.prototype.append=function(a,b){this.$loadingMore.remove(),this.loading=!1,a.call(this,b),this.showLoadingMore(b)&&this.$results.append(this.$loadingMore)},b.prototype.bind=function(b,c,d){var e=this;b.call(this,c,d),c.on("query",function(a){e.lastParams=a,e.loading=!0}),c.on("query:append",function(a){e.lastParams=a,e.loading=!0}),this.$results.on("scroll",function(){var b=a.contains(document.documentElement,e.$loadingMore[0]);if(!e.loading&&b){var c=e.$results.offset().top+e.$results.outerHeight(!1),d=e.$loadingMore.offset().top+e.$loadingMore.outerHeight(!1);c+50>=d&&e.loadMore()}})},b.prototype.loadMore=function(){this.loading=!0;var b=a.extend({},{page:1},this.lastParams);b.page++,this.trigger("query:append",b)},b.prototype.showLoadingMore=function(a,b){return b.pagination&&b.pagination.more},b.prototype.createLoadingMore=function(){var b=a('<li class="select2-results__option select2-results__option--load-more"role="treeitem" aria-disabled="true"></li>'),c=this.options.get("translations").get("loadingMore");return b.html(c(this.lastParams)),b},b}),b.define("select2/dropdown/attachBody",["jquery","../utils"],function(a,b){function c(b,c,d){this.$dropdownParent=d.get("dropdownParent")||a(document.body),b.call(this,c,d)}return c.prototype.bind=function(a,b,c){var d=this,e=!1;a.call(this,b,c),b.on("open",function(){d._showDropdown(),d._attachPositioningHandler(b),e||(e=!0,b.on("results:all",function(){d._positionDropdown(),d._resizeDropdown()}),b.on("results:append",function(){d._positionDropdown(),d._resizeDropdown()}))}),b.on("close",function(){d._hideDropdown(),d._detachPositioningHandler(b)}),this.$dropdownContainer.on("mousedown",function(a){a.stopPropagation()})},c.prototype.destroy=function(a){a.call(this),this.$dropdownContainer.remove()},c.prototype.position=function(a,b,c){b.attr("class",c.attr("class")),b.removeClass("select2"),b.addClass("select2-container--open"),b.css({position:"absolute",top:-999999}),this.$container=c},c.prototype.render=function(b){var c=a("<span></span>"),d=b.call(this);return c.append(d),this.$dropdownContainer=c,c},c.prototype._hideDropdown=function(a){this.$dropdownContainer.detach()},c.prototype._attachPositioningHandler=function(c,d){var e=this,f="scroll.select2."+d.id,g="resize.select2."+d.id,h="orientationchange.select2."+d.id,i=this.$container.parents().filter(b.hasScroll);i.each(function(){a(this).data("select2-scroll-position",{x:a(this).scrollLeft(),y:a(this).scrollTop()})}),i.on(f,function(b){var c=a(this).data("select2-scroll-position");a(this).scrollTop(c.y)}),a(window).on(f+" "+g+" "+h,function(a){e._positionDropdown(),e._resizeDropdown()})},c.prototype._detachPositioningHandler=function(c,d){var e="scroll.select2."+d.id,f="resize.select2."+d.id,g="orientationchange.select2."+d.id,h=this.$container.parents().filter(b.hasScroll);h.off(e),a(window).off(e+" "+f+" "+g)},c.prototype._positionDropdown=function(){var b=a(window),c=this.$dropdown.hasClass("select2-dropdown--above"),d=this.$dropdown.hasClass("select2-dropdown--below"),e=null,f=this.$container.offset();f.bottom=f.top+this.$container.outerHeight(!1);var g={height:this.$container.outerHeight(!1)};g.top=f.top,g.bottom=f.top+g.height;var h={height:this.$dropdown.outerHeight(!1)},i={top:b.scrollTop(),bottom:b.scrollTop()+b.height()},j=i.top<f.top-h.height,k=i.bottom>f.bottom+h.height,l={left:f.left,top:g.bottom},m=this.$dropdownParent;"static"===m.css("position")&&(m=m.offsetParent());var n=m.offset();l.top-=n.top,l.left-=n.left,c||d||(e="below"),k||!j||c?!j&&k&&c&&(e="below"):e="above",("above"==e||c&&"below"!==e)&&(l.top=g.top-h.height),null!=e&&(this.$dropdown.removeClass("select2-dropdown--below select2-dropdown--above").addClass("select2-dropdown--"+e),this.$container.removeClass("select2-container--below select2-container--above").addClass("select2-container--"+e)),this.$dropdownContainer.css(l)},c.prototype._resizeDropdown=function(){var a={width:this.$container.outerWidth(!1)+"px"};this.options.get("dropdownAutoWidth")&&(a.minWidth=a.width,a.width="auto"),this.$dropdown.css(a)},c.prototype._showDropdown=function(a){this.$dropdownContainer.appendTo(this.$dropdownParent),this._positionDropdown(),this._resizeDropdown()},c}),b.define("select2/dropdown/minimumResultsForSearch",[],function(){function a(b){for(var c=0,d=0;d<b.length;d++){var e=b[d];e.children?c+=a(e.children):c++}return c}function b(a,b,c,d){this.minimumResultsForSearch=c.get("minimumResultsForSearch"),this.minimumResultsForSearch<0&&(this.minimumResultsForSearch=1/0),a.call(this,b,c,d)}return b.prototype.showSearch=function(b,c){return a(c.data.results)<this.minimumResultsForSearch?!1:b.call(this,c)},b}),b.define("select2/dropdown/selectOnClose",[],function(){function a(){}return a.prototype.bind=function(a,b,c){var d=this;a.call(this,b,c),b.on("close",function(){d._handleSelectOnClose()})},a.prototype._handleSelectOnClose=function(){var a=this.getHighlightedResults();if(!(a.length<1)){var b=a.data("data");null!=b.element&&b.element.selected||null==b.element&&b.selected||this.trigger("select",{data:b})}},a}),b.define("select2/dropdown/closeOnSelect",[],function(){function a(){}return a.prototype.bind=function(a,b,c){var d=this;a.call(this,b,c),b.on("select",function(a){d._selectTriggered(a)}),b.on("unselect",function(a){d._selectTriggered(a)})},a.prototype._selectTriggered=function(a,b){var c=b.originalEvent;c&&c.ctrlKey||this.trigger("close",{})},a}),b.define("select2/i18n/en",[],function(){return{errorLoading:function(){return"The results could not be loaded."},inputTooLong:function(a){var b=a.input.length-a.maximum,c="Please delete "+b+" character";return 1!=b&&(c+="s"),c},inputTooShort:function(a){var b=a.minimum-a.input.length,c="Please enter "+b+" or more characters";return c},loadingMore:function(){return"Loading more results…"},maximumSelected:function(a){var b="You can only select "+a.maximum+" item";return 1!=a.maximum&&(b+="s"),b},noResults:function(){return"No results found"},searching:function(){return"Searching…"}}}),b.define("select2/defaults",["jquery","require","./results","./selection/single","./selection/multiple","./selection/placeholder","./selection/allowClear","./selection/search","./selection/eventRelay","./utils","./translation","./diacritics","./data/select","./data/array","./data/ajax","./data/tags","./data/tokenizer","./data/minimumInputLength","./data/maximumInputLength","./data/maximumSelectionLength","./dropdown","./dropdown/search","./dropdown/hidePlaceholder","./dropdown/infiniteScroll","./dropdown/attachBody","./dropdown/minimumResultsForSearch","./dropdown/selectOnClose","./dropdown/closeOnSelect","./i18n/en"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,A,B,C){function D(){this.reset()}D.prototype.apply=function(l){if(l=a.extend(!0,{},this.defaults,l),null==l.dataAdapter){if(null!=l.ajax?l.dataAdapter=o:null!=l.data?l.dataAdapter=n:l.dataAdapter=m,l.minimumInputLength>0&&(l.dataAdapter=j.Decorate(l.dataAdapter,r)),l.maximumInputLength>0&&(l.dataAdapter=j.Decorate(l.dataAdapter,s)),l.maximumSelectionLength>0&&(l.dataAdapter=j.Decorate(l.dataAdapter,t)),l.tags&&(l.dataAdapter=j.Decorate(l.dataAdapter,p)),(null!=l.tokenSeparators||null!=l.tokenizer)&&(l.dataAdapter=j.Decorate(l.dataAdapter,q)),null!=l.query){var C=b(l.amdBase+"compat/query");l.dataAdapter=j.Decorate(l.dataAdapter,C)}if(null!=l.initSelection){var D=b(l.amdBase+"compat/initSelection");l.dataAdapter=j.Decorate(l.dataAdapter,D)}}if(null==l.resultsAdapter&&(l.resultsAdapter=c,null!=l.ajax&&(l.resultsAdapter=j.Decorate(l.resultsAdapter,x)),null!=l.placeholder&&(l.resultsAdapter=j.Decorate(l.resultsAdapter,w)),l.selectOnClose&&(l.resultsAdapter=j.Decorate(l.resultsAdapter,A))),null==l.dropdownAdapter){if(l.multiple)l.dropdownAdapter=u;else{var E=j.Decorate(u,v);l.dropdownAdapter=E}if(0!==l.minimumResultsForSearch&&(l.dropdownAdapter=j.Decorate(l.dropdownAdapter,z)),l.closeOnSelect&&(l.dropdownAdapter=j.Decorate(l.dropdownAdapter,B)),null!=l.dropdownCssClass||null!=l.dropdownCss||null!=l.adaptDropdownCssClass){var F=b(l.amdBase+"compat/dropdownCss");l.dropdownAdapter=j.Decorate(l.dropdownAdapter,F)}l.dropdownAdapter=j.Decorate(l.dropdownAdapter,y)}if(null==l.selectionAdapter){if(l.multiple?l.selectionAdapter=e:l.selectionAdapter=d,null!=l.placeholder&&(l.selectionAdapter=j.Decorate(l.selectionAdapter,f)),l.allowClear&&(l.selectionAdapter=j.Decorate(l.selectionAdapter,g)),l.multiple&&(l.selectionAdapter=j.Decorate(l.selectionAdapter,h)),null!=l.containerCssClass||null!=l.containerCss||null!=l.adaptContainerCssClass){var G=b(l.amdBase+"compat/containerCss");l.selectionAdapter=j.Decorate(l.selectionAdapter,G)}l.selectionAdapter=j.Decorate(l.selectionAdapter,i)}if("string"==typeof l.language)if(l.language.indexOf("-")>0){var H=l.language.split("-"),I=H[0];l.language=[l.language,I]}else l.language=[l.language];if(a.isArray(l.language)){var J=new k;l.language.push("en");for(var K=l.language,L=0;L<K.length;L++){var M=K[L],N={};try{N=k.loadPath(M)}catch(O){try{M=this.defaults.amdLanguageBase+M,N=k.loadPath(M)}catch(P){l.debug&&window.console&&console.warn&&console.warn('Select2: The language file for "'+M+'" could not be automatically loaded. A fallback will be used instead.');continue}}J.extend(N)}l.translations=J}else{var Q=k.loadPath(this.defaults.amdLanguageBase+"en"),R=new k(l.language);R.extend(Q),l.translations=R}return l},D.prototype.reset=function(){function b(a){function b(a){return l[a]||a}return a.replace(/[^\u0000-\u007E]/g,b)}function c(d,e){if(""===a.trim(d.term))return e;if(e.children&&e.children.length>0){for(var f=a.extend(!0,{},e),g=e.children.length-1;g>=0;g--){var h=e.children[g],i=c(d,h);null==i&&f.children.splice(g,1)}return f.children.length>0?f:c(d,f)}var j=b(e.text).toUpperCase(),k=b(d.term).toUpperCase();return j.indexOf(k)>-1?e:null}this.defaults={amdBase:"./",amdLanguageBase:"./i18n/",closeOnSelect:!0,debug:!1,dropdownAutoWidth:!1,escapeMarkup:j.escapeMarkup,language:C,matcher:c,minimumInputLength:0,maximumInputLength:0,maximumSelectionLength:0,minimumResultsForSearch:0,selectOnClose:!1,sorter:function(a){return a},templateResult:function(a){return a.text},templateSelection:function(a){return a.text},theme:"default",width:"resolve"}},D.prototype.set=function(b,c){var d=a.camelCase(b),e={};e[d]=c;var f=j._convertData(e);a.extend(this.defaults,f)};var E=new D;return E}),b.define("select2/options",["require","jquery","./defaults","./utils"],function(a,b,c,d){function e(b,e){if(this.options=b,null!=e&&this.fromElement(e),this.options=c.apply(this.options),e&&e.is("input")){var f=a(this.get("amdBase")+"compat/inputData");this.options.dataAdapter=d.Decorate(this.options.dataAdapter,f)}}return e.prototype.fromElement=function(a){var c=["select2"];null==this.options.multiple&&(this.options.multiple=a.prop("multiple")),null==this.options.disabled&&(this.options.disabled=a.prop("disabled")),null==this.options.language&&(a.prop("lang")?this.options.language=a.prop("lang").toLowerCase():a.closest("[lang]").prop("lang")&&(this.options.language=a.closest("[lang]").prop("lang"))),null==this.options.dir&&(a.prop("dir")?this.options.dir=a.prop("dir"):a.closest("[dir]").prop("dir")?this.options.dir=a.closest("[dir]").prop("dir"):this.options.dir="ltr"),a.prop("disabled",this.options.disabled),a.prop("multiple",this.options.multiple),a.data("select2Tags")&&(this.options.debug&&window.console&&console.warn&&console.warn('Select2: The `data-select2-tags` attribute has been changed to use the `data-data` and `data-tags="true"` attributes and will be removed in future versions of Select2.'),a.data("data",a.data("select2Tags")),a.data("tags",!0)),a.data("ajaxUrl")&&(this.options.debug&&window.console&&console.warn&&console.warn("Select2: The `data-ajax-url` attribute has been changed to `data-ajax--url` and support for the old attribute will be removed in future versions of Select2."),a.attr("ajax--url",a.data("ajaxUrl")),a.data("ajax--url",a.data("ajaxUrl")));var e={};e=b.fn.jquery&&"1."==b.fn.jquery.substr(0,2)&&a[0].dataset?b.extend(!0,{},a[0].dataset,a.data()):a.data();var f=b.extend(!0,{},e);f=d._convertData(f);for(var g in f)b.inArray(g,c)>-1||(b.isPlainObject(this.options[g])?b.extend(this.options[g],f[g]):this.options[g]=f[g]);return this},e.prototype.get=function(a){return this.options[a]},e.prototype.set=function(a,b){this.options[a]=b},e}),b.define("select2/core",["jquery","./options","./utils","./keys"],function(a,b,c,d){var e=function(a,c){null!=a.data("select2")&&a.data("select2").destroy(),this.$element=a,this.id=this._generateId(a),c=c||{},this.options=new b(c,a),e.__super__.constructor.call(this);var d=a.attr("tabindex")||0;a.data("old-tabindex",d),a.attr("tabindex","-1");var f=this.options.get("dataAdapter");this.dataAdapter=new f(a,this.options);var g=this.render();this._placeContainer(g);var h=this.options.get("selectionAdapter");this.selection=new h(a,this.options),this.$selection=this.selection.render(),this.selection.position(this.$selection,g);var i=this.options.get("dropdownAdapter");this.dropdown=new i(a,this.options),this.$dropdown=this.dropdown.render(),this.dropdown.position(this.$dropdown,g);var j=this.options.get("resultsAdapter");this.results=new j(a,this.options,this.dataAdapter),this.$results=this.results.render(),this.results.position(this.$results,this.$dropdown);var k=this;this._bindAdapters(),this._registerDomEvents(),this._registerDataEvents(),this._registerSelectionEvents(),this._registerDropdownEvents(),this._registerResultsEvents(),this._registerEvents(),this.dataAdapter.current(function(a){k.trigger("selection:update",{data:a})}),a.addClass("select2-hidden-accessible"),a.attr("aria-hidden","true"),this._syncAttributes(),a.data("select2",this)};return c.Extend(e,c.Observable),e.prototype._generateId=function(a){var b="";return b=null!=a.attr("id")?a.attr("id"):null!=a.attr("name")?a.attr("name")+"-"+c.generateChars(2):c.generateChars(4),b=b.replace(/(:|\.|\[|\]|,)/g,""),b="select2-"+b},e.prototype._placeContainer=function(a){a.insertAfter(this.$element);var b=this._resolveWidth(this.$element,this.options.get("width"));null!=b&&a.css("width",b)},e.prototype._resolveWidth=function(a,b){var c=/^width:(([-+]?([0-9]*\.)?[0-9]+)(px|em|ex|%|in|cm|mm|pt|pc))/i;if("resolve"==b){var d=this._resolveWidth(a,"style");return null!=d?d:this._resolveWidth(a,"element")}if("element"==b){var e=a.outerWidth(!1);return 0>=e?"auto":e+"px"}if("style"==b){var f=a.attr("style");if("string"!=typeof f)return null;for(var g=f.split(";"),h=0,i=g.length;i>h;h+=1){var j=g[h].replace(/\s/g,""),k=j.match(c);if(null!==k&&k.length>=1)return k[1]}return null}return b},e.prototype._bindAdapters=function(){this.dataAdapter.bind(this,this.$container),this.selection.bind(this,this.$container),this.dropdown.bind(this,this.$container),this.results.bind(this,this.$container)},e.prototype._registerDomEvents=function(){var b=this;this.$element.on("change.select2",function(){b.dataAdapter.current(function(a){b.trigger("selection:update",{data:a})})}),this._sync=c.bind(this._syncAttributes,this),this.$element[0].attachEvent&&this.$element[0].attachEvent("onpropertychange",this._sync);var d=window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver;null!=d?(this._observer=new d(function(c){a.each(c,b._sync)}),this._observer.observe(this.$element[0],{attributes:!0,subtree:!1})):this.$element[0].addEventListener&&this.$element[0].addEventListener("DOMAttrModified",b._sync,!1)},e.prototype._registerDataEvents=function(){var a=this;this.dataAdapter.on("*",function(b,c){a.trigger(b,c)})},e.prototype._registerSelectionEvents=function(){var b=this,c=["toggle","focus"];this.selection.on("toggle",function(){b.toggleDropdown()}),this.selection.on("focus",function(a){b.focus(a)}),this.selection.on("*",function(d,e){-1===a.inArray(d,c)&&b.trigger(d,e)})},e.prototype._registerDropdownEvents=function(){var a=this;this.dropdown.on("*",function(b,c){a.trigger(b,c)})},e.prototype._registerResultsEvents=function(){var a=this;this.results.on("*",function(b,c){a.trigger(b,c)})},e.prototype._registerEvents=function(){var a=this;this.on("open",function(){a.$container.addClass("select2-container--open")}),this.on("close",function(){a.$container.removeClass("select2-container--open")}),this.on("enable",function(){a.$container.removeClass("select2-container--disabled")}),this.on("disable",function(){a.$container.addClass("select2-container--disabled")}),this.on("blur",function(){a.$container.removeClass("select2-container--focus")}),this.on("query",function(b){a.isOpen()||a.trigger("open",{}),this.dataAdapter.query(b,function(c){a.trigger("results:all",{data:c,query:b})})}),this.on("query:append",function(b){this.dataAdapter.query(b,function(c){a.trigger("results:append",{data:c,query:b})})}),this.on("keypress",function(b){var c=b.which;a.isOpen()?c===d.ESC||c===d.TAB||c===d.UP&&b.altKey?(a.close(),b.preventDefault()):c===d.ENTER?(a.trigger("results:select",{}),b.preventDefault()):c===d.SPACE&&b.ctrlKey?(a.trigger("results:toggle",{}),b.preventDefault()):c===d.UP?(a.trigger("results:previous",{}),b.preventDefault()):c===d.DOWN&&(a.trigger("results:next",{}),b.preventDefault()):(c===d.ENTER||c===d.SPACE||c===d.DOWN&&b.altKey)&&(a.open(),b.preventDefault())})},e.prototype._syncAttributes=function(){this.options.set("disabled",this.$element.prop("disabled")),this.options.get("disabled")?(this.isOpen()&&this.close(),this.trigger("disable",{})):this.trigger("enable",{})},e.prototype.trigger=function(a,b){var c=e.__super__.trigger,d={open:"opening",close:"closing",select:"selecting",unselect:"unselecting"};if(void 0===b&&(b={}),a in d){var f=d[a],g={prevented:!1,name:a,args:b};if(c.call(this,f,g),g.prevented)return void(b.prevented=!0)}c.call(this,a,b)},e.prototype.toggleDropdown=function(){this.options.get("disabled")||(this.isOpen()?this.close():this.open())},e.prototype.open=function(){this.isOpen()||this.trigger("query",{})},e.prototype.close=function(){this.isOpen()&&this.trigger("close",{})},e.prototype.isOpen=function(){return this.$container.hasClass("select2-container--open")},e.prototype.hasFocus=function(){return this.$container.hasClass("select2-container--focus")},e.prototype.focus=function(a){this.hasFocus()||(this.$container.addClass("select2-container--focus"),this.trigger("focus",{}))},e.prototype.enable=function(a){this.options.get("debug")&&window.console&&console.warn&&console.warn('Select2: The `select2("enable")` method has been deprecated and will be removed in later Select2 versions. Use $element.prop("disabled") instead.'),(null==a||0===a.length)&&(a=[!0]);var b=!a[0];this.$element.prop("disabled",b)},e.prototype.data=function(){this.options.get("debug")&&arguments.length>0&&window.console&&console.warn&&console.warn('Select2: Data can no longer be set using `select2("data")`. You should consider setting the value instead using `$element.val()`.');var a=[];return this.dataAdapter.current(function(b){a=b}),a},e.prototype.val=function(b){if(this.options.get("debug")&&window.console&&console.warn&&console.warn('Select2: The `select2("val")` method has been deprecated and will be removed in later Select2 versions. Use $element.val() instead.'),null==b||0===b.length)return this.$element.val();var c=b[0];a.isArray(c)&&(c=a.map(c,function(a){return a.toString()})),this.$element.val(c).trigger("change")},e.prototype.destroy=function(){this.$container.remove(),this.$element[0].detachEvent&&this.$element[0].detachEvent("onpropertychange",this._sync),null!=this._observer?(this._observer.disconnect(),this._observer=null):this.$element[0].removeEventListener&&this.$element[0].removeEventListener("DOMAttrModified",this._sync,!1),this._sync=null,this.$element.off(".select2"),this.$element.attr("tabindex",this.$element.data("old-tabindex")),this.$element.removeClass("select2-hidden-accessible"),this.$element.attr("aria-hidden","false"),this.$element.removeData("select2"),this.dataAdapter.destroy(),this.selection.destroy(),this.dropdown.destroy(),this.results.destroy(),this.dataAdapter=null,this.selection=null,this.dropdown=null,this.results=null},e.prototype.render=function(){var b=a('<span class="select2 select2-container"><span class="selection"></span><span class="dropdown-wrapper" aria-hidden="true"></span></span>');return b.attr("dir",this.options.get("dir")),this.$container=b,this.$container.addClass("select2-container--"+this.options.get("theme")),b.data("element",this.$element),b},e}),b.define("select2/compat/utils",["jquery"],function(a){function b(b,c,d){var e,f,g=[];e=a.trim(b.attr("class")),e&&(e=""+e,a(e.split(/\s+/)).each(function(){0===this.indexOf("select2-")&&g.push(this)})),e=a.trim(c.attr("class")),e&&(e=""+e,a(e.split(/\s+/)).each(function(){0!==this.indexOf("select2-")&&(f=d(this),null!=f&&g.push(f))})),b.attr("class",g.join(" "))}return{syncCssClasses:b}}),b.define("select2/compat/containerCss",["jquery","./utils"],function(a,b){function c(a){return null}function d(){}return d.prototype.render=function(d){var e=d.call(this),f=this.options.get("containerCssClass")||"";a.isFunction(f)&&(f=f(this.$element));var g=this.options.get("adaptContainerCssClass");if(g=g||c,-1!==f.indexOf(":all:")){f=f.replace(":all:","");var h=g;g=function(a){var b=h(a);return null!=b?b+" "+a:a}}var i=this.options.get("containerCss")||{};return a.isFunction(i)&&(i=i(this.$element)),b.syncCssClasses(e,this.$element,g),e.css(i),e.addClass(f),e},d}),b.define("select2/compat/dropdownCss",["jquery","./utils"],function(a,b){function c(a){return null}function d(){}return d.prototype.render=function(d){var e=d.call(this),f=this.options.get("dropdownCssClass")||"";a.isFunction(f)&&(f=f(this.$element));var g=this.options.get("adaptDropdownCssClass");if(g=g||c,-1!==f.indexOf(":all:")){f=f.replace(":all:","");var h=g;g=function(a){var b=h(a);return null!=b?b+" "+a:a;
|
3 |
-
}}var i=this.options.get("dropdownCss")||{};return a.isFunction(i)&&(i=i(this.$element)),b.syncCssClasses(e,this.$element,g),e.css(i),e.addClass(f),e},d}),b.define("select2/compat/initSelection",["jquery"],function(a){function b(a,b,c){c.get("debug")&&window.console&&console.warn&&console.warn("Select2: The `initSelection` option has been deprecated in favor of a custom data adapter that overrides the `current` method. This method is now called multiple times instead of a single time when the instance is initialized. Support will be removed for the `initSelection` option in future versions of Select2"),this.initSelection=c.get("initSelection"),this._isInitialized=!1,a.call(this,b,c)}return b.prototype.current=function(b,c){var d=this;return this._isInitialized?void b.call(this,c):void this.initSelection.call(null,this.$element,function(b){d._isInitialized=!0,a.isArray(b)||(b=[b]),c(b)})},b}),b.define("select2/compat/inputData",["jquery"],function(a){function b(a,b,c){this._currentData=[],this._valueSeparator=c.get("valueSeparator")||",","hidden"===b.prop("type")&&c.get("debug")&&console&&console.warn&&console.warn("Select2: Using a hidden input with Select2 is no longer supported and may stop working in the future. It is recommended to use a `<select>` element instead."),a.call(this,b,c)}return b.prototype.current=function(b,c){function d(b,c){var e=[];return b.selected||-1!==a.inArray(b.id,c)?(b.selected=!0,e.push(b)):b.selected=!1,b.children&&e.push.apply(e,d(b.children,c)),e}for(var e=[],f=0;f<this._currentData.length;f++){var g=this._currentData[f];e.push.apply(e,d(g,this.$element.val().split(this._valueSeparator)))}c(e)},b.prototype.select=function(b,c){if(this.options.get("multiple")){var d=this.$element.val();d+=this._valueSeparator+c.id,this.$element.val(d),this.$element.trigger("change")}else this.current(function(b){a.map(b,function(a){a.selected=!1})}),this.$element.val(c.id),this.$element.trigger("change")},b.prototype.unselect=function(a,b){var c=this;b.selected=!1,this.current(function(a){for(var d=[],e=0;e<a.length;e++){var f=a[e];b.id!=f.id&&d.push(f.id)}c.$element.val(d.join(c._valueSeparator)),c.$element.trigger("change")})},b.prototype.query=function(a,b,c){for(var d=[],e=0;e<this._currentData.length;e++){var f=this._currentData[e],g=this.matches(b,f);null!==g&&d.push(g)}c({results:d})},b.prototype.addOptions=function(b,c){var d=a.map(c,function(b){return a.data(b[0],"data")});this._currentData.push.apply(this._currentData,d)},b}),b.define("select2/compat/matcher",["jquery"],function(a){function b(b){function c(c,d){var e=a.extend(!0,{},d);if(null==c.term||""===a.trim(c.term))return e;if(d.children){for(var f=d.children.length-1;f>=0;f--){var g=d.children[f],h=b(c.term,g.text,g);h||e.children.splice(f,1)}if(e.children.length>0)return e}return b(c.term,d.text,d)?e:null}return c}return b}),b.define("select2/compat/query",[],function(){function a(a,b,c){c.get("debug")&&window.console&&console.warn&&console.warn("Select2: The `query` option has been deprecated in favor of a custom data adapter that overrides the `query` method. Support will be removed for the `query` option in future versions of Select2."),a.call(this,b,c)}return a.prototype.query=function(a,b,c){b.callback=c;var d=this.options.get("query");d.call(null,b)},a}),b.define("select2/dropdown/attachContainer",[],function(){function a(a,b,c){a.call(this,b,c)}return a.prototype.position=function(a,b,c){var d=c.find(".dropdown-wrapper");d.append(b),b.addClass("select2-dropdown--below"),c.addClass("select2-container--below")},a}),b.define("select2/dropdown/stopPropagation",[],function(){function a(){}return a.prototype.bind=function(a,b,c){a.call(this,b,c);var d=["blur","change","click","dblclick","focus","focusin","focusout","input","keydown","keyup","keypress","mousedown","mouseenter","mouseleave","mousemove","mouseover","mouseup","search","touchend","touchstart"];this.$dropdown.on(d.join(" "),function(a){a.stopPropagation()})},a}),b.define("select2/selection/stopPropagation",[],function(){function a(){}return a.prototype.bind=function(a,b,c){a.call(this,b,c);var d=["blur","change","click","dblclick","focus","focusin","focusout","input","keydown","keyup","keypress","mousedown","mouseenter","mouseleave","mousemove","mouseover","mouseup","search","touchend","touchstart"];this.$selection.on(d.join(" "),function(a){a.stopPropagation()})},a}),function(c){"function"==typeof b.define&&b.define.amd?b.define("jquery-mousewheel",["jquery"],c):"object"==typeof exports?module.exports=c:c(a)}(function(a){function b(b){var g=b||window.event,h=i.call(arguments,1),j=0,l=0,m=0,n=0,o=0,p=0;if(b=a.event.fix(g),b.type="mousewheel","detail"in g&&(m=-1*g.detail),"wheelDelta"in g&&(m=g.wheelDelta),"wheelDeltaY"in g&&(m=g.wheelDeltaY),"wheelDeltaX"in g&&(l=-1*g.wheelDeltaX),"axis"in g&&g.axis===g.HORIZONTAL_AXIS&&(l=-1*m,m=0),j=0===m?l:m,"deltaY"in g&&(m=-1*g.deltaY,j=m),"deltaX"in g&&(l=g.deltaX,0===m&&(j=-1*l)),0!==m||0!==l){if(1===g.deltaMode){var q=a.data(this,"mousewheel-line-height");j*=q,m*=q,l*=q}else if(2===g.deltaMode){var r=a.data(this,"mousewheel-page-height");j*=r,m*=r,l*=r}if(n=Math.max(Math.abs(m),Math.abs(l)),(!f||f>n)&&(f=n,d(g,n)&&(f/=40)),d(g,n)&&(j/=40,l/=40,m/=40),j=Math[j>=1?"floor":"ceil"](j/f),l=Math[l>=1?"floor":"ceil"](l/f),m=Math[m>=1?"floor":"ceil"](m/f),k.settings.normalizeOffset&&this.getBoundingClientRect){var s=this.getBoundingClientRect();o=b.clientX-s.left,p=b.clientY-s.top}return b.deltaX=l,b.deltaY=m,b.deltaFactor=f,b.offsetX=o,b.offsetY=p,b.deltaMode=0,h.unshift(b,j,l,m),e&&clearTimeout(e),e=setTimeout(c,200),(a.event.dispatch||a.event.handle).apply(this,h)}}function c(){f=null}function d(a,b){return k.settings.adjustOldDeltas&&"mousewheel"===a.type&&b%120===0}var e,f,g=["wheel","mousewheel","DOMMouseScroll","MozMousePixelScroll"],h="onwheel"in document||document.documentMode>=9?["wheel"]:["mousewheel","DomMouseScroll","MozMousePixelScroll"],i=Array.prototype.slice;if(a.event.fixHooks)for(var j=g.length;j;)a.event.fixHooks[g[--j]]=a.event.mouseHooks;var k=a.event.special.mousewheel={version:"3.1.12",setup:function(){if(this.addEventListener)for(var c=h.length;c;)this.addEventListener(h[--c],b,!1);else this.onmousewheel=b;a.data(this,"mousewheel-line-height",k.getLineHeight(this)),a.data(this,"mousewheel-page-height",k.getPageHeight(this))},teardown:function(){if(this.removeEventListener)for(var c=h.length;c;)this.removeEventListener(h[--c],b,!1);else this.onmousewheel=null;a.removeData(this,"mousewheel-line-height"),a.removeData(this,"mousewheel-page-height")},getLineHeight:function(b){var c=a(b),d=c["offsetParent"in a.fn?"offsetParent":"parent"]();return d.length||(d=a("body")),parseInt(d.css("fontSize"),10)||parseInt(c.css("fontSize"),10)||16},getPageHeight:function(b){return a(b).height()},settings:{adjustOldDeltas:!0,normalizeOffset:!0}};a.fn.extend({mousewheel:function(a){return a?this.bind("mousewheel",a):this.trigger("mousewheel")},unmousewheel:function(a){return this.unbind("mousewheel",a)}})}),b.define("jquery.select2",["jquery","jquery-mousewheel","./select2/core","./select2/defaults"],function(a,b,c,d){if(null==a.fn.select2){var e=["open","close","destroy"];a.fn.select2=function(b){if(b=b||{},"object"==typeof b)return this.each(function(){var d=a.extend(!0,{},b);new c(a(this),d)}),this;if("string"==typeof b){var d;return this.each(function(){var c=a(this).data("select2");null==c&&window.console&&console.error&&console.error("The select2('"+b+"') method was called on an element that is not using Select2.");var e=Array.prototype.slice.call(arguments,1);d=c[b].apply(c,e)}),a.inArray(b,e)>-1?this:d}throw new Error("Invalid arguments for Select2: "+b)}}return null==a.fn.select2.defaults&&(a.fn.select2.defaults=d),c}),{define:b.define,require:b.require}}(),c=b.require("jquery.select2");return a.fn.select2.amd=b,c});
|
1 |
+
/*! Select2 4.0.12 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
2 |
+
!function(n){"function"==typeof define&&define.amd?define(["jquery"],n):"object"==typeof module&&module.exports?module.exports=function(e,t){return void 0===t&&(t="undefined"!=typeof window?require("jquery"):require("jquery")(e)),n(t),t}:n(jQuery)}(function(d){var e=function(){if(d&&d.fn&&d.fn.select2&&d.fn.select2.amd)var e=d.fn.select2.amd;var t,n,i,h,o,s,f,g,m,v,y,_,r,a,w,l;function b(e,t){return r.call(e,t)}function c(e,t){var n,i,r,o,s,a,l,c,u,d,p,h=t&&t.split("/"),f=y.map,g=f&&f["*"]||{};if(e){for(s=(e=e.split("/")).length-1,y.nodeIdCompat&&w.test(e[s])&&(e[s]=e[s].replace(w,"")),"."===e[0].charAt(0)&&h&&(e=h.slice(0,h.length-1).concat(e)),u=0;u<e.length;u++)if("."===(p=e[u]))e.splice(u,1),u-=1;else if(".."===p){if(0===u||1===u&&".."===e[2]||".."===e[u-1])continue;0<u&&(e.splice(u-1,2),u-=2)}e=e.join("/")}if((h||g)&&f){for(u=(n=e.split("/")).length;0<u;u-=1){if(i=n.slice(0,u).join("/"),h)for(d=h.length;0<d;d-=1)if(r=(r=f[h.slice(0,d).join("/")])&&r[i]){o=r,a=u;break}if(o)break;!l&&g&&g[i]&&(l=g[i],c=u)}!o&&l&&(o=l,a=c),o&&(n.splice(0,a,o),e=n.join("/"))}return e}function A(t,n){return function(){var e=a.call(arguments,0);return"string"!=typeof e[0]&&1===e.length&&e.push(null),s.apply(h,e.concat([t,n]))}}function x(t){return function(e){m[t]=e}}function S(e){if(b(v,e)){var t=v[e];delete v[e],_[e]=!0,o.apply(h,t)}if(!b(m,e)&&!b(_,e))throw new Error("No "+e);return m[e]}function u(e){var t,n=e?e.indexOf("!"):-1;return-1<n&&(t=e.substring(0,n),e=e.substring(n+1,e.length)),[t,e]}function D(e){return e?u(e):[]}return e&&e.requirejs||(e?n=e:e={},m={},v={},y={},_={},r=Object.prototype.hasOwnProperty,a=[].slice,w=/\.js$/,f=function(e,t){var n,i=u(e),r=i[0],o=t[1];return e=i[1],r&&(n=S(r=c(r,o))),r?e=n&&n.normalize?n.normalize(e,function(t){return function(e){return c(e,t)}}(o)):c(e,o):(r=(i=u(e=c(e,o)))[0],e=i[1],r&&(n=S(r))),{f:r?r+"!"+e:e,n:e,pr:r,p:n}},g={require:function(e){return A(e)},exports:function(e){var t=m[e];return void 0!==t?t:m[e]={}},module:function(e){return{id:e,uri:"",exports:m[e],config:function(e){return function(){return y&&y.config&&y.config[e]||{}}}(e)}}},o=function(e,t,n,i){var r,o,s,a,l,c,u,d=[],p=typeof n;if(c=D(i=i||e),"undefined"==p||"function"==p){for(t=!t.length&&n.length?["require","exports","module"]:t,l=0;l<t.length;l+=1)if("require"===(o=(a=f(t[l],c)).f))d[l]=g.require(e);else if("exports"===o)d[l]=g.exports(e),u=!0;else if("module"===o)r=d[l]=g.module(e);else if(b(m,o)||b(v,o)||b(_,o))d[l]=S(o);else{if(!a.p)throw new Error(e+" missing "+o);a.p.load(a.n,A(i,!0),x(o),{}),d[l]=m[o]}s=n?n.apply(m[e],d):void 0,e&&(r&&r.exports!==h&&r.exports!==m[e]?m[e]=r.exports:s===h&&u||(m[e]=s))}else e&&(m[e]=n)},t=n=s=function(e,t,n,i,r){if("string"==typeof e)return g[e]?g[e](t):S(f(e,D(t)).f);if(!e.splice){if((y=e).deps&&s(y.deps,y.callback),!t)return;t.splice?(e=t,t=n,n=null):e=h}return t=t||function(){},"function"==typeof n&&(n=i,i=r),i?o(h,e,t,n):setTimeout(function(){o(h,e,t,n)},4),s},s.config=function(e){return s(e)},t._defined=m,(i=function(e,t,n){if("string"!=typeof e)throw new Error("See almond README: incorrect module build, no module name");t.splice||(n=t,t=[]),b(m,e)||b(v,e)||(v[e]=[e,t,n])}).amd={jQuery:!0},e.requirejs=t,e.require=n,e.define=i),e.define("almond",function(){}),e.define("jquery",[],function(){var e=d||$;return null==e&&console&&console.error&&console.error("Select2: An instance of jQuery or a jQuery-compatible library was not found. Make sure that you are including jQuery before Select2 on your web page."),e}),e.define("select2/utils",["jquery"],function(o){var r={};function u(e){var t=e.prototype,n=[];for(var i in t){"function"==typeof t[i]&&"constructor"!==i&&n.push(i)}return n}r.Extend=function(e,t){var n={}.hasOwnProperty;function i(){this.constructor=e}for(var r in t)n.call(t,r)&&(e[r]=t[r]);return i.prototype=t.prototype,e.prototype=new i,e.__super__=t.prototype,e},r.Decorate=function(i,r){var e=u(r),t=u(i);function o(){var e=Array.prototype.unshift,t=r.prototype.constructor.length,n=i.prototype.constructor;0<t&&(e.call(arguments,i.prototype.constructor),n=r.prototype.constructor),n.apply(this,arguments)}r.displayName=i.displayName,o.prototype=new function(){this.constructor=o};for(var n=0;n<t.length;n++){var s=t[n];o.prototype[s]=i.prototype[s]}function a(e){var t=function(){};e in o.prototype&&(t=o.prototype[e]);var n=r.prototype[e];return function(){return Array.prototype.unshift.call(arguments,t),n.apply(this,arguments)}}for(var l=0;l<e.length;l++){var c=e[l];o.prototype[c]=a(c)}return o};function e(){this.listeners={}}e.prototype.on=function(e,t){this.listeners=this.listeners||{},e in this.listeners?this.listeners[e].push(t):this.listeners[e]=[t]},e.prototype.trigger=function(e){var t=Array.prototype.slice,n=t.call(arguments,1);this.listeners=this.listeners||{},null==n&&(n=[]),0===n.length&&n.push({}),(n[0]._type=e)in this.listeners&&this.invoke(this.listeners[e],t.call(arguments,1)),"*"in this.listeners&&this.invoke(this.listeners["*"],arguments)},e.prototype.invoke=function(e,t){for(var n=0,i=e.length;n<i;n++)e[n].apply(this,t)},r.Observable=e,r.generateChars=function(e){for(var t="",n=0;n<e;n++){t+=Math.floor(36*Math.random()).toString(36)}return t},r.bind=function(e,t){return function(){e.apply(t,arguments)}},r._convertData=function(e){for(var t in e){var n=t.split("-"),i=e;if(1!==n.length){for(var r=0;r<n.length;r++){var o=n[r];(o=o.substring(0,1).toLowerCase()+o.substring(1))in i||(i[o]={}),r==n.length-1&&(i[o]=e[t]),i=i[o]}delete e[t]}}return e},r.hasScroll=function(e,t){var n=o(t),i=t.style.overflowX,r=t.style.overflowY;return(i!==r||"hidden"!==r&&"visible"!==r)&&("scroll"===i||"scroll"===r||(n.innerHeight()<t.scrollHeight||n.innerWidth()<t.scrollWidth))},r.escapeMarkup=function(e){var t={"\\":"\","&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};return"string"!=typeof e?e:String(e).replace(/[&<>"'\/\\]/g,function(e){return t[e]})},r.appendMany=function(e,t){if("1.7"===o.fn.jquery.substr(0,3)){var n=o();o.map(t,function(e){n=n.add(e)}),t=n}e.append(t)},r.__cache={};var n=0;return r.GetUniqueElementId=function(e){var t=e.getAttribute("data-select2-id");return null==t&&(e.id?(t=e.id,e.setAttribute("data-select2-id",t)):(e.setAttribute("data-select2-id",++n),t=n.toString())),t},r.StoreData=function(e,t,n){var i=r.GetUniqueElementId(e);r.__cache[i]||(r.__cache[i]={}),r.__cache[i][t]=n},r.GetData=function(e,t){var n=r.GetUniqueElementId(e);return t?r.__cache[n]&&null!=r.__cache[n][t]?r.__cache[n][t]:o(e).data(t):r.__cache[n]},r.RemoveData=function(e){var t=r.GetUniqueElementId(e);null!=r.__cache[t]&&delete r.__cache[t],e.removeAttribute("data-select2-id")},r}),e.define("select2/results",["jquery","./utils"],function(h,f){function i(e,t,n){this.$element=e,this.data=n,this.options=t,i.__super__.constructor.call(this)}return f.Extend(i,f.Observable),i.prototype.render=function(){var e=h('<ul class="select2-results__options" role="listbox"></ul>');return this.options.get("multiple")&&e.attr("aria-multiselectable","true"),this.$results=e},i.prototype.clear=function(){this.$results.empty()},i.prototype.displayMessage=function(e){var t=this.options.get("escapeMarkup");this.clear(),this.hideLoading();var n=h('<li role="alert" aria-live="assertive" class="select2-results__option"></li>'),i=this.options.get("translations").get(e.message);n.append(t(i(e.args))),n[0].className+=" select2-results__message",this.$results.append(n)},i.prototype.hideMessages=function(){this.$results.find(".select2-results__message").remove()},i.prototype.append=function(e){this.hideLoading();var t=[];if(null!=e.results&&0!==e.results.length){e.results=this.sort(e.results);for(var n=0;n<e.results.length;n++){var i=e.results[n],r=this.option(i);t.push(r)}this.$results.append(t)}else 0===this.$results.children().length&&this.trigger("results:message",{message:"noResults"})},i.prototype.position=function(e,t){t.find(".select2-results").append(e)},i.prototype.sort=function(e){return this.options.get("sorter")(e)},i.prototype.highlightFirstItem=function(){var e=this.$results.find(".select2-results__option[aria-selected]"),t=e.filter("[aria-selected=true]");0<t.length?t.first().trigger("mouseenter"):e.first().trigger("mouseenter"),this.ensureHighlightVisible()},i.prototype.setClasses=function(){var t=this;this.data.current(function(e){var i=h.map(e,function(e){return e.id.toString()});t.$results.find(".select2-results__option[aria-selected]").each(function(){var e=h(this),t=f.GetData(this,"data"),n=""+t.id;null!=t.element&&t.element.selected||null==t.element&&-1<h.inArray(n,i)?e.attr("aria-selected","true"):e.attr("aria-selected","false")})})},i.prototype.showLoading=function(e){this.hideLoading();var t={disabled:!0,loading:!0,text:this.options.get("translations").get("searching")(e)},n=this.option(t);n.className+=" loading-results",this.$results.prepend(n)},i.prototype.hideLoading=function(){this.$results.find(".loading-results").remove()},i.prototype.option=function(e){var t=document.createElement("li");t.className="select2-results__option";var n={role:"option","aria-selected":"false"},i=window.Element.prototype.matches||window.Element.prototype.msMatchesSelector||window.Element.prototype.webkitMatchesSelector;for(var r in(null!=e.element&&i.call(e.element,":disabled")||null==e.element&&e.disabled)&&(delete n["aria-selected"],n["aria-disabled"]="true"),null==e.id&&delete n["aria-selected"],null!=e._resultId&&(t.id=e._resultId),e.title&&(t.title=e.title),e.children&&(n.role="group",n["aria-label"]=e.text,delete n["aria-selected"]),n){var o=n[r];t.setAttribute(r,o)}if(e.children){var s=h(t),a=document.createElement("strong");a.className="select2-results__group";h(a);this.template(e,a);for(var l=[],c=0;c<e.children.length;c++){var u=e.children[c],d=this.option(u);l.push(d)}var p=h("<ul></ul>",{class:"select2-results__options select2-results__options--nested"});p.append(l),s.append(a),s.append(p)}else this.template(e,t);return f.StoreData(t,"data",e),t},i.prototype.bind=function(t,e){var l=this,n=t.id+"-results";this.$results.attr("id",n),t.on("results:all",function(e){l.clear(),l.append(e.data),t.isOpen()&&(l.setClasses(),l.highlightFirstItem())}),t.on("results:append",function(e){l.append(e.data),t.isOpen()&&l.setClasses()}),t.on("query",function(e){l.hideMessages(),l.showLoading(e)}),t.on("select",function(){t.isOpen()&&(l.setClasses(),l.options.get("scrollAfterSelect")&&l.highlightFirstItem())}),t.on("unselect",function(){t.isOpen()&&(l.setClasses(),l.options.get("scrollAfterSelect")&&l.highlightFirstItem())}),t.on("open",function(){l.$results.attr("aria-expanded","true"),l.$results.attr("aria-hidden","false"),l.setClasses(),l.ensureHighlightVisible()}),t.on("close",function(){l.$results.attr("aria-expanded","false"),l.$results.attr("aria-hidden","true"),l.$results.removeAttr("aria-activedescendant")}),t.on("results:toggle",function(){var e=l.getHighlightedResults();0!==e.length&&e.trigger("mouseup")}),t.on("results:select",function(){var e=l.getHighlightedResults();if(0!==e.length){var t=f.GetData(e[0],"data");"true"==e.attr("aria-selected")?l.trigger("close",{}):l.trigger("select",{data:t})}}),t.on("results:previous",function(){var e=l.getHighlightedResults(),t=l.$results.find("[aria-selected]"),n=t.index(e);if(!(n<=0)){var i=n-1;0===e.length&&(i=0);var r=t.eq(i);r.trigger("mouseenter");var o=l.$results.offset().top,s=r.offset().top,a=l.$results.scrollTop()+(s-o);0===i?l.$results.scrollTop(0):s-o<0&&l.$results.scrollTop(a)}}),t.on("results:next",function(){var e=l.getHighlightedResults(),t=l.$results.find("[aria-selected]"),n=t.index(e)+1;if(!(n>=t.length)){var i=t.eq(n);i.trigger("mouseenter");var r=l.$results.offset().top+l.$results.outerHeight(!1),o=i.offset().top+i.outerHeight(!1),s=l.$results.scrollTop()+o-r;0===n?l.$results.scrollTop(0):r<o&&l.$results.scrollTop(s)}}),t.on("results:focus",function(e){e.element.addClass("select2-results__option--highlighted")}),t.on("results:message",function(e){l.displayMessage(e)}),h.fn.mousewheel&&this.$results.on("mousewheel",function(e){var t=l.$results.scrollTop(),n=l.$results.get(0).scrollHeight-t+e.deltaY,i=0<e.deltaY&&t-e.deltaY<=0,r=e.deltaY<0&&n<=l.$results.height();i?(l.$results.scrollTop(0),e.preventDefault(),e.stopPropagation()):r&&(l.$results.scrollTop(l.$results.get(0).scrollHeight-l.$results.height()),e.preventDefault(),e.stopPropagation())}),this.$results.on("mouseup",".select2-results__option[aria-selected]",function(e){var t=h(this),n=f.GetData(this,"data");"true"!==t.attr("aria-selected")?l.trigger("select",{originalEvent:e,data:n}):l.options.get("multiple")?l.trigger("unselect",{originalEvent:e,data:n}):l.trigger("close",{})}),this.$results.on("mouseenter",".select2-results__option[aria-selected]",function(e){var t=f.GetData(this,"data");l.getHighlightedResults().removeClass("select2-results__option--highlighted"),l.trigger("results:focus",{data:t,element:h(this)})})},i.prototype.getHighlightedResults=function(){return this.$results.find(".select2-results__option--highlighted")},i.prototype.destroy=function(){this.$results.remove()},i.prototype.ensureHighlightVisible=function(){var e=this.getHighlightedResults();if(0!==e.length){var t=this.$results.find("[aria-selected]").index(e),n=this.$results.offset().top,i=e.offset().top,r=this.$results.scrollTop()+(i-n),o=i-n;r-=2*e.outerHeight(!1),t<=2?this.$results.scrollTop(0):(o>this.$results.outerHeight()||o<0)&&this.$results.scrollTop(r)}},i.prototype.template=function(e,t){var n=this.options.get("templateResult"),i=this.options.get("escapeMarkup"),r=n(e,t);null==r?t.style.display="none":"string"==typeof r?t.innerHTML=i(r):h(t).append(r)},i}),e.define("select2/keys",[],function(){return{BACKSPACE:8,TAB:9,ENTER:13,SHIFT:16,CTRL:17,ALT:18,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46}}),e.define("select2/selection/base",["jquery","../utils","../keys"],function(n,i,r){function o(e,t){this.$element=e,this.options=t,o.__super__.constructor.call(this)}return i.Extend(o,i.Observable),o.prototype.render=function(){var e=n('<span class="select2-selection" role="combobox" aria-haspopup="true" aria-expanded="false"></span>');return this._tabindex=0,null!=i.GetData(this.$element[0],"old-tabindex")?this._tabindex=i.GetData(this.$element[0],"old-tabindex"):null!=this.$element.attr("tabindex")&&(this._tabindex=this.$element.attr("tabindex")),e.attr("title",this.$element.attr("title")),e.attr("tabindex",this._tabindex),e.attr("aria-disabled","false"),this.$selection=e},o.prototype.bind=function(e,t){var n=this,i=e.id+"-results";this.container=e,this.$selection.on("focus",function(e){n.trigger("focus",e)}),this.$selection.on("blur",function(e){n._handleBlur(e)}),this.$selection.on("keydown",function(e){n.trigger("keypress",e),e.which===r.SPACE&&e.preventDefault()}),e.on("results:focus",function(e){n.$selection.attr("aria-activedescendant",e.data._resultId)}),e.on("selection:update",function(e){n.update(e.data)}),e.on("open",function(){n.$selection.attr("aria-expanded","true"),n.$selection.attr("aria-owns",i),n._attachCloseHandler(e)}),e.on("close",function(){n.$selection.attr("aria-expanded","false"),n.$selection.removeAttr("aria-activedescendant"),n.$selection.removeAttr("aria-owns"),n.$selection.trigger("focus"),n._detachCloseHandler(e)}),e.on("enable",function(){n.$selection.attr("tabindex",n._tabindex),n.$selection.attr("aria-disabled","false")}),e.on("disable",function(){n.$selection.attr("tabindex","-1"),n.$selection.attr("aria-disabled","true")})},o.prototype._handleBlur=function(e){var t=this;window.setTimeout(function(){document.activeElement==t.$selection[0]||n.contains(t.$selection[0],document.activeElement)||t.trigger("blur",e)},1)},o.prototype._attachCloseHandler=function(e){n(document.body).on("mousedown.select2."+e.id,function(e){var t=n(e.target).closest(".select2");n(".select2.select2-container--open").each(function(){this!=t[0]&&i.GetData(this,"element").select2("close")})})},o.prototype._detachCloseHandler=function(e){n(document.body).off("mousedown.select2."+e.id)},o.prototype.position=function(e,t){t.find(".selection").append(e)},o.prototype.destroy=function(){this._detachCloseHandler(this.container)},o.prototype.update=function(e){throw new Error("The `update` method must be defined in child classes.")},o}),e.define("select2/selection/single",["jquery","./base","../utils","../keys"],function(e,t,n,i){function r(){r.__super__.constructor.apply(this,arguments)}return n.Extend(r,t),r.prototype.render=function(){var e=r.__super__.render.call(this);return e.addClass("select2-selection--single"),e.html('<span class="select2-selection__rendered"></span><span class="select2-selection__arrow" role="presentation"><b role="presentation"></b></span>'),e},r.prototype.bind=function(t,e){var n=this;r.__super__.bind.apply(this,arguments);var i=t.id+"-container";this.$selection.find(".select2-selection__rendered").attr("id",i).attr("role","textbox").attr("aria-readonly","true"),this.$selection.attr("aria-labelledby",i),this.$selection.on("mousedown",function(e){1===e.which&&n.trigger("toggle",{originalEvent:e})}),this.$selection.on("focus",function(e){}),this.$selection.on("blur",function(e){}),t.on("focus",function(e){t.isOpen()||n.$selection.trigger("focus")})},r.prototype.clear=function(){var e=this.$selection.find(".select2-selection__rendered");e.empty(),e.removeAttr("title")},r.prototype.display=function(e,t){var n=this.options.get("templateSelection");return this.options.get("escapeMarkup")(n(e,t))},r.prototype.selectionContainer=function(){return e("<span></span>")},r.prototype.update=function(e){if(0!==e.length){var t=e[0],n=this.$selection.find(".select2-selection__rendered"),i=this.display(t,n);n.empty().append(i);var r=t.title||t.text;r?n.attr("title",r):n.removeAttr("title")}else this.clear()},r}),e.define("select2/selection/multiple",["jquery","./base","../utils"],function(r,e,l){function n(e,t){n.__super__.constructor.apply(this,arguments)}return l.Extend(n,e),n.prototype.render=function(){var e=n.__super__.render.call(this);return e.addClass("select2-selection--multiple"),e.html('<ul class="select2-selection__rendered"></ul>'),e},n.prototype.bind=function(e,t){var i=this;n.__super__.bind.apply(this,arguments),this.$selection.on("click",function(e){i.trigger("toggle",{originalEvent:e})}),this.$selection.on("click",".select2-selection__choice__remove",function(e){if(!i.options.get("disabled")){var t=r(this).parent(),n=l.GetData(t[0],"data");i.trigger("unselect",{originalEvent:e,data:n})}})},n.prototype.clear=function(){var e=this.$selection.find(".select2-selection__rendered");e.empty(),e.removeAttr("title")},n.prototype.display=function(e,t){var n=this.options.get("templateSelection");return this.options.get("escapeMarkup")(n(e,t))},n.prototype.selectionContainer=function(){return r('<li class="select2-selection__choice"><span class="select2-selection__choice__remove" role="presentation">×</span></li>')},n.prototype.update=function(e){if(this.clear(),0!==e.length){for(var t=[],n=0;n<e.length;n++){var i=e[n],r=this.selectionContainer(),o=this.display(i,r);r.append(o);var s=i.title||i.text;s&&r.attr("title",s),l.StoreData(r[0],"data",i),t.push(r)}var a=this.$selection.find(".select2-selection__rendered");l.appendMany(a,t)}},n}),e.define("select2/selection/placeholder",["../utils"],function(e){function t(e,t,n){this.placeholder=this.normalizePlaceholder(n.get("placeholder")),e.call(this,t,n)}return t.prototype.normalizePlaceholder=function(e,t){return"string"==typeof t&&(t={id:"",text:t}),t},t.prototype.createPlaceholder=function(e,t){var n=this.selectionContainer();return n.html(this.display(t)),n.addClass("select2-selection__placeholder").removeClass("select2-selection__choice"),n},t.prototype.update=function(e,t){var n=1==t.length&&t[0].id!=this.placeholder.id;if(1<t.length||n)return e.call(this,t);this.clear();var i=this.createPlaceholder(this.placeholder);this.$selection.find(".select2-selection__rendered").append(i)},t}),e.define("select2/selection/allowClear",["jquery","../keys","../utils"],function(r,i,a){function e(){}return e.prototype.bind=function(e,t,n){var i=this;e.call(this,t,n),null==this.placeholder&&this.options.get("debug")&&window.console&&console.error&&console.error("Select2: The `allowClear` option should be used in combination with the `placeholder` option."),this.$selection.on("mousedown",".select2-selection__clear",function(e){i._handleClear(e)}),t.on("keypress",function(e){i._handleKeyboardClear(e,t)})},e.prototype._handleClear=function(e,t){if(!this.options.get("disabled")){var n=this.$selection.find(".select2-selection__clear");if(0!==n.length){t.stopPropagation();var i=a.GetData(n[0],"data"),r=this.$element.val();this.$element.val(this.placeholder.id);var o={data:i};if(this.trigger("clear",o),o.prevented)this.$element.val(r);else{for(var s=0;s<i.length;s++)if(o={data:i[s]},this.trigger("unselect",o),o.prevented)return void this.$element.val(r);this.$element.trigger("change"),this.trigger("toggle",{})}}}},e.prototype._handleKeyboardClear=function(e,t,n){n.isOpen()||t.which!=i.DELETE&&t.which!=i.BACKSPACE||this._handleClear(t)},e.prototype.update=function(e,t){if(e.call(this,t),!(0<this.$selection.find(".select2-selection__placeholder").length||0===t.length)){var n=this.options.get("translations").get("removeAllItems"),i=r('<span class="select2-selection__clear" title="'+n()+'">×</span>');a.StoreData(i[0],"data",t),this.$selection.find(".select2-selection__rendered").prepend(i)}},e}),e.define("select2/selection/search",["jquery","../utils","../keys"],function(i,a,l){function e(e,t,n){e.call(this,t,n)}return e.prototype.render=function(e){var t=i('<li class="select2-search select2-search--inline"><input class="select2-search__field" type="search" tabindex="-1" autocomplete="off" autocorrect="off" autocapitalize="none" spellcheck="false" role="searchbox" aria-autocomplete="list" /></li>');this.$searchContainer=t,this.$search=t.find("input");var n=e.call(this);return this._transferTabIndex(),n},e.prototype.bind=function(e,t,n){var i=this,r=t.id+"-results";e.call(this,t,n),t.on("open",function(){i.$search.attr("aria-controls",r),i.$search.trigger("focus")}),t.on("close",function(){i.$search.val(""),i.$search.removeAttr("aria-controls"),i.$search.removeAttr("aria-activedescendant"),i.$search.trigger("focus")}),t.on("enable",function(){i.$search.prop("disabled",!1),i._transferTabIndex()}),t.on("disable",function(){i.$search.prop("disabled",!0)}),t.on("focus",function(e){i.$search.trigger("focus")}),t.on("results:focus",function(e){e.data._resultId?i.$search.attr("aria-activedescendant",e.data._resultId):i.$search.removeAttr("aria-activedescendant")}),this.$selection.on("focusin",".select2-search--inline",function(e){i.trigger("focus",e)}),this.$selection.on("focusout",".select2-search--inline",function(e){i._handleBlur(e)}),this.$selection.on("keydown",".select2-search--inline",function(e){if(e.stopPropagation(),i.trigger("keypress",e),i._keyUpPrevented=e.isDefaultPrevented(),e.which===l.BACKSPACE&&""===i.$search.val()){var t=i.$searchContainer.prev(".select2-selection__choice");if(0<t.length){var n=a.GetData(t[0],"data");i.searchRemoveChoice(n),e.preventDefault()}}}),this.$selection.on("click",".select2-search--inline",function(e){i.$search.val()&&e.stopPropagation()});var o=document.documentMode,s=o&&o<=11;this.$selection.on("input.searchcheck",".select2-search--inline",function(e){s?i.$selection.off("input.search input.searchcheck"):i.$selection.off("keyup.search")}),this.$selection.on("keyup.search input.search",".select2-search--inline",function(e){if(s&&"input"===e.type)i.$selection.off("input.search input.searchcheck");else{var t=e.which;t!=l.SHIFT&&t!=l.CTRL&&t!=l.ALT&&t!=l.TAB&&i.handleSearch(e)}})},e.prototype._transferTabIndex=function(e){this.$search.attr("tabindex",this.$selection.attr("tabindex")),this.$selection.attr("tabindex","-1")},e.prototype.createPlaceholder=function(e,t){this.$search.attr("placeholder",t.text)},e.prototype.update=function(e,t){var n=this.$search[0]==document.activeElement;this.$search.attr("placeholder",""),e.call(this,t),this.$selection.find(".select2-selection__rendered").append(this.$searchContainer),this.resizeSearch(),n&&this.$search.trigger("focus")},e.prototype.handleSearch=function(){if(this.resizeSearch(),!this._keyUpPrevented){var e=this.$search.val();this.trigger("query",{term:e})}this._keyUpPrevented=!1},e.prototype.searchRemoveChoice=function(e,t){this.trigger("unselect",{data:t}),this.$search.val(t.text),this.handleSearch()},e.prototype.resizeSearch=function(){this.$search.css("width","25px");var e="";""!==this.$search.attr("placeholder")?e=this.$selection.find(".select2-selection__rendered").width():e=.75*(this.$search.val().length+1)+"em";this.$search.css("width",e)},e}),e.define("select2/selection/eventRelay",["jquery"],function(s){function e(){}return e.prototype.bind=function(e,t,n){var i=this,r=["open","opening","close","closing","select","selecting","unselect","unselecting","clear","clearing"],o=["opening","closing","selecting","unselecting","clearing"];e.call(this,t,n),t.on("*",function(e,t){if(-1!==s.inArray(e,r)){t=t||{};var n=s.Event("select2:"+e,{params:t});i.$element.trigger(n),-1!==s.inArray(e,o)&&(t.prevented=n.isDefaultPrevented())}})},e}),e.define("select2/translation",["jquery","require"],function(t,n){function i(e){this.dict=e||{}}return i.prototype.all=function(){return this.dict},i.prototype.get=function(e){return this.dict[e]},i.prototype.extend=function(e){this.dict=t.extend({},e.all(),this.dict)},i._cache={},i.loadPath=function(e){if(!(e in i._cache)){var t=n(e);i._cache[e]=t}return new i(i._cache[e])},i}),e.define("select2/diacritics",[],function(){return{"Ⓐ":"A","A":"A","À":"A","Á":"A","Â":"A","Ầ":"A","Ấ":"A","Ẫ":"A","Ẩ":"A","Ã":"A","Ā":"A","Ă":"A","Ằ":"A","Ắ":"A","Ẵ":"A","Ẳ":"A","Ȧ":"A","Ǡ":"A","Ä":"A","Ǟ":"A","Ả":"A","Å":"A","Ǻ":"A","Ǎ":"A","Ȁ":"A","Ȃ":"A","Ạ":"A","Ậ":"A","Ặ":"A","Ḁ":"A","Ą":"A","Ⱥ":"A","Ɐ":"A","Ꜳ":"AA","Æ":"AE","Ǽ":"AE","Ǣ":"AE","Ꜵ":"AO","Ꜷ":"AU","Ꜹ":"AV","Ꜻ":"AV","Ꜽ":"AY","Ⓑ":"B","B":"B","Ḃ":"B","Ḅ":"B","Ḇ":"B","Ƀ":"B","Ƃ":"B","Ɓ":"B","Ⓒ":"C","C":"C","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","Ç":"C","Ḉ":"C","Ƈ":"C","Ȼ":"C","Ꜿ":"C","Ⓓ":"D","D":"D","Ḋ":"D","Ď":"D","Ḍ":"D","Ḑ":"D","Ḓ":"D","Ḏ":"D","Đ":"D","Ƌ":"D","Ɗ":"D","Ɖ":"D","Ꝺ":"D","DZ":"DZ","DŽ":"DZ","Dz":"Dz","Dž":"Dz","Ⓔ":"E","E":"E","È":"E","É":"E","Ê":"E","Ề":"E","Ế":"E","Ễ":"E","Ể":"E","Ẽ":"E","Ē":"E","Ḕ":"E","Ḗ":"E","Ĕ":"E","Ė":"E","Ë":"E","Ẻ":"E","Ě":"E","Ȅ":"E","Ȇ":"E","Ẹ":"E","Ệ":"E","Ȩ":"E","Ḝ":"E","Ę":"E","Ḙ":"E","Ḛ":"E","Ɛ":"E","Ǝ":"E","Ⓕ":"F","F":"F","Ḟ":"F","Ƒ":"F","Ꝼ":"F","Ⓖ":"G","G":"G","Ǵ":"G","Ĝ":"G","Ḡ":"G","Ğ":"G","Ġ":"G","Ǧ":"G","Ģ":"G","Ǥ":"G","Ɠ":"G","Ꞡ":"G","Ᵹ":"G","Ꝿ":"G","Ⓗ":"H","H":"H","Ĥ":"H","Ḣ":"H","Ḧ":"H","Ȟ":"H","Ḥ":"H","Ḩ":"H","Ḫ":"H","Ħ":"H","Ⱨ":"H","Ⱶ":"H","Ɥ":"H","Ⓘ":"I","I":"I","Ì":"I","Í":"I","Î":"I","Ĩ":"I","Ī":"I","Ĭ":"I","İ":"I","Ï":"I","Ḯ":"I","Ỉ":"I","Ǐ":"I","Ȉ":"I","Ȋ":"I","Ị":"I","Į":"I","Ḭ":"I","Ɨ":"I","Ⓙ":"J","J":"J","Ĵ":"J","Ɉ":"J","Ⓚ":"K","K":"K","Ḱ":"K","Ǩ":"K","Ḳ":"K","Ķ":"K","Ḵ":"K","Ƙ":"K","Ⱪ":"K","Ꝁ":"K","Ꝃ":"K","Ꝅ":"K","Ꞣ":"K","Ⓛ":"L","L":"L","Ŀ":"L","Ĺ":"L","Ľ":"L","Ḷ":"L","Ḹ":"L","Ļ":"L","Ḽ":"L","Ḻ":"L","Ł":"L","Ƚ":"L","Ɫ":"L","Ⱡ":"L","Ꝉ":"L","Ꝇ":"L","Ꞁ":"L","LJ":"LJ","Lj":"Lj","Ⓜ":"M","M":"M","Ḿ":"M","Ṁ":"M","Ṃ":"M","Ɱ":"M","Ɯ":"M","Ⓝ":"N","N":"N","Ǹ":"N","Ń":"N","Ñ":"N","Ṅ":"N","Ň":"N","Ṇ":"N","Ņ":"N","Ṋ":"N","Ṉ":"N","Ƞ":"N","Ɲ":"N","Ꞑ":"N","Ꞥ":"N","NJ":"NJ","Nj":"Nj","Ⓞ":"O","O":"O","Ò":"O","Ó":"O","Ô":"O","Ồ":"O","Ố":"O","Ỗ":"O","Ổ":"O","Õ":"O","Ṍ":"O","Ȭ":"O","Ṏ":"O","Ō":"O","Ṑ":"O","Ṓ":"O","Ŏ":"O","Ȯ":"O","Ȱ":"O","Ö":"O","Ȫ":"O","Ỏ":"O","Ő":"O","Ǒ":"O","Ȍ":"O","Ȏ":"O","Ơ":"O","Ờ":"O","Ớ":"O","Ỡ":"O","Ở":"O","Ợ":"O","Ọ":"O","Ộ":"O","Ǫ":"O","Ǭ":"O","Ø":"O","Ǿ":"O","Ɔ":"O","Ɵ":"O","Ꝋ":"O","Ꝍ":"O","Œ":"OE","Ƣ":"OI","Ꝏ":"OO","Ȣ":"OU","Ⓟ":"P","P":"P","Ṕ":"P","Ṗ":"P","Ƥ":"P","Ᵽ":"P","Ꝑ":"P","Ꝓ":"P","Ꝕ":"P","Ⓠ":"Q","Q":"Q","Ꝗ":"Q","Ꝙ":"Q","Ɋ":"Q","Ⓡ":"R","R":"R","Ŕ":"R","Ṙ":"R","Ř":"R","Ȑ":"R","Ȓ":"R","Ṛ":"R","Ṝ":"R","Ŗ":"R","Ṟ":"R","Ɍ":"R","Ɽ":"R","Ꝛ":"R","Ꞧ":"R","Ꞃ":"R","Ⓢ":"S","S":"S","ẞ":"S","Ś":"S","Ṥ":"S","Ŝ":"S","Ṡ":"S","Š":"S","Ṧ":"S","Ṣ":"S","Ṩ":"S","Ș":"S","Ş":"S","Ȿ":"S","Ꞩ":"S","Ꞅ":"S","Ⓣ":"T","T":"T","Ṫ":"T","Ť":"T","Ṭ":"T","Ț":"T","Ţ":"T","Ṱ":"T","Ṯ":"T","Ŧ":"T","Ƭ":"T","Ʈ":"T","Ⱦ":"T","Ꞇ":"T","Ꜩ":"TZ","Ⓤ":"U","U":"U","Ù":"U","Ú":"U","Û":"U","Ũ":"U","Ṹ":"U","Ū":"U","Ṻ":"U","Ŭ":"U","Ü":"U","Ǜ":"U","Ǘ":"U","Ǖ":"U","Ǚ":"U","Ủ":"U","Ů":"U","Ű":"U","Ǔ":"U","Ȕ":"U","Ȗ":"U","Ư":"U","Ừ":"U","Ứ":"U","Ữ":"U","Ử":"U","Ự":"U","Ụ":"U","Ṳ":"U","Ų":"U","Ṷ":"U","Ṵ":"U","Ʉ":"U","Ⓥ":"V","V":"V","Ṽ":"V","Ṿ":"V","Ʋ":"V","Ꝟ":"V","Ʌ":"V","Ꝡ":"VY","Ⓦ":"W","W":"W","Ẁ":"W","Ẃ":"W","Ŵ":"W","Ẇ":"W","Ẅ":"W","Ẉ":"W","Ⱳ":"W","Ⓧ":"X","X":"X","Ẋ":"X","Ẍ":"X","Ⓨ":"Y","Y":"Y","Ỳ":"Y","Ý":"Y","Ŷ":"Y","Ỹ":"Y","Ȳ":"Y","Ẏ":"Y","Ÿ":"Y","Ỷ":"Y","Ỵ":"Y","Ƴ":"Y","Ɏ":"Y","Ỿ":"Y","Ⓩ":"Z","Z":"Z","Ź":"Z","Ẑ":"Z","Ż":"Z","Ž":"Z","Ẓ":"Z","Ẕ":"Z","Ƶ":"Z","Ȥ":"Z","Ɀ":"Z","Ⱬ":"Z","Ꝣ":"Z","ⓐ":"a","a":"a","ẚ":"a","à":"a","á":"a","â":"a","ầ":"a","ấ":"a","ẫ":"a","ẩ":"a","ã":"a","ā":"a","ă":"a","ằ":"a","ắ":"a","ẵ":"a","ẳ":"a","ȧ":"a","ǡ":"a","ä":"a","ǟ":"a","ả":"a","å":"a","ǻ":"a","ǎ":"a","ȁ":"a","ȃ":"a","ạ":"a","ậ":"a","ặ":"a","ḁ":"a","ą":"a","ⱥ":"a","ɐ":"a","ꜳ":"aa","æ":"ae","ǽ":"ae","ǣ":"ae","ꜵ":"ao","ꜷ":"au","ꜹ":"av","ꜻ":"av","ꜽ":"ay","ⓑ":"b","b":"b","ḃ":"b","ḅ":"b","ḇ":"b","ƀ":"b","ƃ":"b","ɓ":"b","ⓒ":"c","c":"c","ć":"c","ĉ":"c","ċ":"c","č":"c","ç":"c","ḉ":"c","ƈ":"c","ȼ":"c","ꜿ":"c","ↄ":"c","ⓓ":"d","d":"d","ḋ":"d","ď":"d","ḍ":"d","ḑ":"d","ḓ":"d","ḏ":"d","đ":"d","ƌ":"d","ɖ":"d","ɗ":"d","ꝺ":"d","dz":"dz","dž":"dz","ⓔ":"e","e":"e","è":"e","é":"e","ê":"e","ề":"e","ế":"e","ễ":"e","ể":"e","ẽ":"e","ē":"e","ḕ":"e","ḗ":"e","ĕ":"e","ė":"e","ë":"e","ẻ":"e","ě":"e","ȅ":"e","ȇ":"e","ẹ":"e","ệ":"e","ȩ":"e","ḝ":"e","ę":"e","ḙ":"e","ḛ":"e","ɇ":"e","ɛ":"e","ǝ":"e","ⓕ":"f","f":"f","ḟ":"f","ƒ":"f","ꝼ":"f","ⓖ":"g","g":"g","ǵ":"g","ĝ":"g","ḡ":"g","ğ":"g","ġ":"g","ǧ":"g","ģ":"g","ǥ":"g","ɠ":"g","ꞡ":"g","ᵹ":"g","ꝿ":"g","ⓗ":"h","h":"h","ĥ":"h","ḣ":"h","ḧ":"h","ȟ":"h","ḥ":"h","ḩ":"h","ḫ":"h","ẖ":"h","ħ":"h","ⱨ":"h","ⱶ":"h","ɥ":"h","ƕ":"hv","ⓘ":"i","i":"i","ì":"i","í":"i","î":"i","ĩ":"i","ī":"i","ĭ":"i","ï":"i","ḯ":"i","ỉ":"i","ǐ":"i","ȉ":"i","ȋ":"i","ị":"i","į":"i","ḭ":"i","ɨ":"i","ı":"i","ⓙ":"j","j":"j","ĵ":"j","ǰ":"j","ɉ":"j","ⓚ":"k","k":"k","ḱ":"k","ǩ":"k","ḳ":"k","ķ":"k","ḵ":"k","ƙ":"k","ⱪ":"k","ꝁ":"k","ꝃ":"k","ꝅ":"k","ꞣ":"k","ⓛ":"l","l":"l","ŀ":"l","ĺ":"l","ľ":"l","ḷ":"l","ḹ":"l","ļ":"l","ḽ":"l","ḻ":"l","ſ":"l","ł":"l","ƚ":"l","ɫ":"l","ⱡ":"l","ꝉ":"l","ꞁ":"l","ꝇ":"l","lj":"lj","ⓜ":"m","m":"m","ḿ":"m","ṁ":"m","ṃ":"m","ɱ":"m","ɯ":"m","ⓝ":"n","n":"n","ǹ":"n","ń":"n","ñ":"n","ṅ":"n","ň":"n","ṇ":"n","ņ":"n","ṋ":"n","ṉ":"n","ƞ":"n","ɲ":"n","ʼn":"n","ꞑ":"n","ꞥ":"n","nj":"nj","ⓞ":"o","o":"o","ò":"o","ó":"o","ô":"o","ồ":"o","ố":"o","ỗ":"o","ổ":"o","õ":"o","ṍ":"o","ȭ":"o","ṏ":"o","ō":"o","ṑ":"o","ṓ":"o","ŏ":"o","ȯ":"o","ȱ":"o","ö":"o","ȫ":"o","ỏ":"o","ő":"o","ǒ":"o","ȍ":"o","ȏ":"o","ơ":"o","ờ":"o","ớ":"o","ỡ":"o","ở":"o","ợ":"o","ọ":"o","ộ":"o","ǫ":"o","ǭ":"o","ø":"o","ǿ":"o","ɔ":"o","ꝋ":"o","ꝍ":"o","ɵ":"o","œ":"oe","ƣ":"oi","ȣ":"ou","ꝏ":"oo","ⓟ":"p","p":"p","ṕ":"p","ṗ":"p","ƥ":"p","ᵽ":"p","ꝑ":"p","ꝓ":"p","ꝕ":"p","ⓠ":"q","q":"q","ɋ":"q","ꝗ":"q","ꝙ":"q","ⓡ":"r","r":"r","ŕ":"r","ṙ":"r","ř":"r","ȑ":"r","ȓ":"r","ṛ":"r","ṝ":"r","ŗ":"r","ṟ":"r","ɍ":"r","ɽ":"r","ꝛ":"r","ꞧ":"r","ꞃ":"r","ⓢ":"s","s":"s","ß":"s","ś":"s","ṥ":"s","ŝ":"s","ṡ":"s","š":"s","ṧ":"s","ṣ":"s","ṩ":"s","ș":"s","ş":"s","ȿ":"s","ꞩ":"s","ꞅ":"s","ẛ":"s","ⓣ":"t","t":"t","ṫ":"t","ẗ":"t","ť":"t","ṭ":"t","ț":"t","ţ":"t","ṱ":"t","ṯ":"t","ŧ":"t","ƭ":"t","ʈ":"t","ⱦ":"t","ꞇ":"t","ꜩ":"tz","ⓤ":"u","u":"u","ù":"u","ú":"u","û":"u","ũ":"u","ṹ":"u","ū":"u","ṻ":"u","ŭ":"u","ü":"u","ǜ":"u","ǘ":"u","ǖ":"u","ǚ":"u","ủ":"u","ů":"u","ű":"u","ǔ":"u","ȕ":"u","ȗ":"u","ư":"u","ừ":"u","ứ":"u","ữ":"u","ử":"u","ự":"u","ụ":"u","ṳ":"u","ų":"u","ṷ":"u","ṵ":"u","ʉ":"u","ⓥ":"v","v":"v","ṽ":"v","ṿ":"v","ʋ":"v","ꝟ":"v","ʌ":"v","ꝡ":"vy","ⓦ":"w","w":"w","ẁ":"w","ẃ":"w","ŵ":"w","ẇ":"w","ẅ":"w","ẘ":"w","ẉ":"w","ⱳ":"w","ⓧ":"x","x":"x","ẋ":"x","ẍ":"x","ⓨ":"y","y":"y","ỳ":"y","ý":"y","ŷ":"y","ỹ":"y","ȳ":"y","ẏ":"y","ÿ":"y","ỷ":"y","ẙ":"y","ỵ":"y","ƴ":"y","ɏ":"y","ỿ":"y","ⓩ":"z","z":"z","ź":"z","ẑ":"z","ż":"z","ž":"z","ẓ":"z","ẕ":"z","ƶ":"z","ȥ":"z","ɀ":"z","ⱬ":"z","ꝣ":"z","Ά":"Α","Έ":"Ε","Ή":"Η","Ί":"Ι","Ϊ":"Ι","Ό":"Ο","Ύ":"Υ","Ϋ":"Υ","Ώ":"Ω","ά":"α","έ":"ε","ή":"η","ί":"ι","ϊ":"ι","ΐ":"ι","ό":"ο","ύ":"υ","ϋ":"υ","ΰ":"υ","ώ":"ω","ς":"σ","’":"'"}}),e.define("select2/data/base",["../utils"],function(i){function n(e,t){n.__super__.constructor.call(this)}return i.Extend(n,i.Observable),n.prototype.current=function(e){throw new Error("The `current` method must be defined in child classes.")},n.prototype.query=function(e,t){throw new Error("The `query` method must be defined in child classes.")},n.prototype.bind=function(e,t){},n.prototype.destroy=function(){},n.prototype.generateResultId=function(e,t){var n=e.id+"-result-";return n+=i.generateChars(4),null!=t.id?n+="-"+t.id.toString():n+="-"+i.generateChars(4),n},n}),e.define("select2/data/select",["./base","../utils","jquery"],function(e,a,l){function n(e,t){this.$element=e,this.options=t,n.__super__.constructor.call(this)}return a.Extend(n,e),n.prototype.current=function(e){var n=[],i=this;this.$element.find(":selected").each(function(){var e=l(this),t=i.item(e);n.push(t)}),e(n)},n.prototype.select=function(r){var o=this;if(r.selected=!0,l(r.element).is("option"))return r.element.selected=!0,void this.$element.trigger("change");if(this.$element.prop("multiple"))this.current(function(e){var t=[];(r=[r]).push.apply(r,e);for(var n=0;n<r.length;n++){var i=r[n].id;-1===l.inArray(i,t)&&t.push(i)}o.$element.val(t),o.$element.trigger("change")});else{var e=r.id;this.$element.val(e),this.$element.trigger("change")}},n.prototype.unselect=function(r){var o=this;if(this.$element.prop("multiple")){if(r.selected=!1,l(r.element).is("option"))return r.element.selected=!1,void this.$element.trigger("change");this.current(function(e){for(var t=[],n=0;n<e.length;n++){var i=e[n].id;i!==r.id&&-1===l.inArray(i,t)&&t.push(i)}o.$element.val(t),o.$element.trigger("change")})}},n.prototype.bind=function(e,t){var n=this;(this.container=e).on("select",function(e){n.select(e.data)}),e.on("unselect",function(e){n.unselect(e.data)})},n.prototype.destroy=function(){this.$element.find("*").each(function(){a.RemoveData(this)})},n.prototype.query=function(i,e){var r=[],o=this;this.$element.children().each(function(){var e=l(this);if(e.is("option")||e.is("optgroup")){var t=o.item(e),n=o.matches(i,t);null!==n&&r.push(n)}}),e({results:r})},n.prototype.addOptions=function(e){a.appendMany(this.$element,e)},n.prototype.option=function(e){var t;e.children?(t=document.createElement("optgroup")).label=e.text:void 0!==(t=document.createElement("option")).textContent?t.textContent=e.text:t.innerText=e.text,void 0!==e.id&&(t.value=e.id),e.disabled&&(t.disabled=!0),e.selected&&(t.selected=!0),e.title&&(t.title=e.title);var n=l(t),i=this._normalizeItem(e);return i.element=t,a.StoreData(t,"data",i),n},n.prototype.item=function(e){var t={};if(null!=(t=a.GetData(e[0],"data")))return t;if(e.is("option"))t={id:e.val(),text:e.text(),disabled:e.prop("disabled"),selected:e.prop("selected"),title:e.prop("title")};else if(e.is("optgroup")){t={text:e.prop("label"),children:[],title:e.prop("title")};for(var n=e.children("option"),i=[],r=0;r<n.length;r++){var o=l(n[r]),s=this.item(o);i.push(s)}t.children=i}return(t=this._normalizeItem(t)).element=e[0],a.StoreData(e[0],"data",t),t},n.prototype._normalizeItem=function(e){e!==Object(e)&&(e={id:e,text:e});return null!=(e=l.extend({},{text:""},e)).id&&(e.id=e.id.toString()),null!=e.text&&(e.text=e.text.toString()),null==e._resultId&&e.id&&null!=this.container&&(e._resultId=this.generateResultId(this.container,e)),l.extend({},{selected:!1,disabled:!1},e)},n.prototype.matches=function(e,t){return this.options.get("matcher")(e,t)},n}),e.define("select2/data/array",["./select","../utils","jquery"],function(e,f,g){function i(e,t){this._dataToConvert=t.get("data")||[],i.__super__.constructor.call(this,e,t)}return f.Extend(i,e),i.prototype.bind=function(e,t){i.__super__.bind.call(this,e,t),this.addOptions(this.convertToOptions(this._dataToConvert))},i.prototype.select=function(n){var e=this.$element.find("option").filter(function(e,t){return t.value==n.id.toString()});0===e.length&&(e=this.option(n),this.addOptions(e)),i.__super__.select.call(this,n)},i.prototype.convertToOptions=function(e){var t=this,n=this.$element.find("option"),i=n.map(function(){return t.item(g(this)).id}).get(),r=[];function o(e){return function(){return g(this).val()==e.id}}for(var s=0;s<e.length;s++){var a=this._normalizeItem(e[s]);if(0<=g.inArray(a.id,i)){var l=n.filter(o(a)),c=this.item(l),u=g.extend(!0,{},a,c),d=this.option(u);l.replaceWith(d)}else{var p=this.option(a);if(a.children){var h=this.convertToOptions(a.children);f.appendMany(p,h)}r.push(p)}}return r},i}),e.define("select2/data/ajax",["./array","../utils","jquery"],function(e,t,o){function n(e,t){this.ajaxOptions=this._applyDefaults(t.get("ajax")),null!=this.ajaxOptions.processResults&&(this.processResults=this.ajaxOptions.processResults),n.__super__.constructor.call(this,e,t)}return t.Extend(n,e),n.prototype._applyDefaults=function(e){var t={data:function(e){return o.extend({},e,{q:e.term})},transport:function(e,t,n){var i=o.ajax(e);return i.then(t),i.fail(n),i}};return o.extend({},t,e,!0)},n.prototype.processResults=function(e){return e},n.prototype.query=function(n,i){var r=this;null!=this._request&&(o.isFunction(this._request.abort)&&this._request.abort(),this._request=null);var t=o.extend({type:"GET"},this.ajaxOptions);function e(){var e=t.transport(t,function(e){var t=r.processResults(e,n);r.options.get("debug")&&window.console&&console.error&&(t&&t.results&&o.isArray(t.results)||console.error("Select2: The AJAX results did not return an array in the `results` key of the response.")),i(t)},function(){"status"in e&&(0===e.status||"0"===e.status)||r.trigger("results:message",{message:"errorLoading"})});r._request=e}"function"==typeof t.url&&(t.url=t.url.call(this.$element,n)),"function"==typeof t.data&&(t.data=t.data.call(this.$element,n)),this.ajaxOptions.delay&&null!=n.term?(this._queryTimeout&&window.clearTimeout(this._queryTimeout),this._queryTimeout=window.setTimeout(e,this.ajaxOptions.delay)):e()},n}),e.define("select2/data/tags",["jquery"],function(u){function e(e,t,n){var i=n.get("tags"),r=n.get("createTag");void 0!==r&&(this.createTag=r);var o=n.get("insertTag");if(void 0!==o&&(this.insertTag=o),e.call(this,t,n),u.isArray(i))for(var s=0;s<i.length;s++){var a=i[s],l=this._normalizeItem(a),c=this.option(l);this.$element.append(c)}}return e.prototype.query=function(e,c,u){var d=this;this._removeOldTags(),null!=c.term&&null==c.page?e.call(this,c,function e(t,n){for(var i=t.results,r=0;r<i.length;r++){var o=i[r],s=null!=o.children&&!e({results:o.children},!0);if((o.text||"").toUpperCase()===(c.term||"").toUpperCase()||s)return!n&&(t.data=i,void u(t))}if(n)return!0;var a=d.createTag(c);if(null!=a){var l=d.option(a);l.attr("data-select2-tag",!0),d.addOptions([l]),d.insertTag(i,a)}t.results=i,u(t)}):e.call(this,c,u)},e.prototype.createTag=function(e,t){var n=u.trim(t.term);return""===n?null:{id:n,text:n}},e.prototype.insertTag=function(e,t,n){t.unshift(n)},e.prototype._removeOldTags=function(e){this.$element.find("option[data-select2-tag]").each(function(){this.selected||u(this).remove()})},e}),e.define("select2/data/tokenizer",["jquery"],function(d){function e(e,t,n){var i=n.get("tokenizer");void 0!==i&&(this.tokenizer=i),e.call(this,t,n)}return e.prototype.bind=function(e,t,n){e.call(this,t,n),this.$search=t.dropdown.$search||t.selection.$search||n.find(".select2-search__field")},e.prototype.query=function(e,t,n){var i=this;t.term=t.term||"";var r=this.tokenizer(t,this.options,function(e){var t=i._normalizeItem(e);if(!i.$element.find("option").filter(function(){return d(this).val()===t.id}).length){var n=i.option(t);n.attr("data-select2-tag",!0),i._removeOldTags(),i.addOptions([n])}!function(e){i.trigger("select",{data:e})}(t)});r.term!==t.term&&(this.$search.length&&(this.$search.val(r.term),this.$search.trigger("focus")),t.term=r.term),e.call(this,t,n)},e.prototype.tokenizer=function(e,t,n,i){for(var r=n.get("tokenSeparators")||[],o=t.term,s=0,a=this.createTag||function(e){return{id:e.term,text:e.term}};s<o.length;){var l=o[s];if(-1!==d.inArray(l,r)){var c=o.substr(0,s),u=a(d.extend({},t,{term:c}));null!=u?(i(u),o=o.substr(s+1)||"",s=0):s++}else s++}return{term:o}},e}),e.define("select2/data/minimumInputLength",[],function(){function e(e,t,n){this.minimumInputLength=n.get("minimumInputLength"),e.call(this,t,n)}return e.prototype.query=function(e,t,n){t.term=t.term||"",t.term.length<this.minimumInputLength?this.trigger("results:message",{message:"inputTooShort",args:{minimum:this.minimumInputLength,input:t.term,params:t}}):e.call(this,t,n)},e}),e.define("select2/data/maximumInputLength",[],function(){function e(e,t,n){this.maximumInputLength=n.get("maximumInputLength"),e.call(this,t,n)}return e.prototype.query=function(e,t,n){t.term=t.term||"",0<this.maximumInputLength&&t.term.length>this.maximumInputLength?this.trigger("results:message",{message:"inputTooLong",args:{maximum:this.maximumInputLength,input:t.term,params:t}}):e.call(this,t,n)},e}),e.define("select2/data/maximumSelectionLength",[],function(){function e(e,t,n){this.maximumSelectionLength=n.get("maximumSelectionLength"),e.call(this,t,n)}return e.prototype.bind=function(e,t,n){var i=this;e.call(this,t,n),t.on("select",function(){i._checkIfMaximumSelected()})},e.prototype.query=function(e,t,n){var i=this;this._checkIfMaximumSelected(function(){e.call(i,t,n)})},e.prototype._checkIfMaximumSelected=function(e,n){var i=this;this.current(function(e){var t=null!=e?e.length:0;0<i.maximumSelectionLength&&t>=i.maximumSelectionLength?i.trigger("results:message",{message:"maximumSelected",args:{maximum:i.maximumSelectionLength}}):n&&n()})},e}),e.define("select2/dropdown",["jquery","./utils"],function(t,e){function n(e,t){this.$element=e,this.options=t,n.__super__.constructor.call(this)}return e.Extend(n,e.Observable),n.prototype.render=function(){var e=t('<span class="select2-dropdown"><span class="select2-results"></span></span>');return e.attr("dir",this.options.get("dir")),this.$dropdown=e},n.prototype.bind=function(){},n.prototype.position=function(e,t){},n.prototype.destroy=function(){this.$dropdown.remove()},n}),e.define("select2/dropdown/search",["jquery","../utils"],function(o,e){function t(){}return t.prototype.render=function(e){var t=e.call(this),n=o('<span class="select2-search select2-search--dropdown"><input class="select2-search__field" type="search" tabindex="-1" autocomplete="off" autocorrect="off" autocapitalize="none" spellcheck="false" role="searchbox" aria-autocomplete="list" /></span>');return this.$searchContainer=n,this.$search=n.find("input"),t.prepend(n),t},t.prototype.bind=function(e,t,n){var i=this,r=t.id+"-results";e.call(this,t,n),this.$search.on("keydown",function(e){i.trigger("keypress",e),i._keyUpPrevented=e.isDefaultPrevented()}),this.$search.on("input",function(e){o(this).off("keyup")}),this.$search.on("keyup input",function(e){i.handleSearch(e)}),t.on("open",function(){i.$search.attr("tabindex",0),i.$search.attr("aria-controls",r),i.$search.trigger("focus"),window.setTimeout(function(){i.$search.trigger("focus")},0)}),t.on("close",function(){i.$search.attr("tabindex",-1),i.$search.removeAttr("aria-controls"),i.$search.removeAttr("aria-activedescendant"),i.$search.val(""),i.$search.trigger("blur")}),t.on("focus",function(){t.isOpen()||i.$search.trigger("focus")}),t.on("results:all",function(e){null!=e.query.term&&""!==e.query.term||(i.showSearch(e)?i.$searchContainer.removeClass("select2-search--hide"):i.$searchContainer.addClass("select2-search--hide"))}),t.on("results:focus",function(e){e.data._resultId?i.$search.attr("aria-activedescendant",e.data._resultId):i.$search.removeAttr("aria-activedescendant")})},t.prototype.handleSearch=function(e){if(!this._keyUpPrevented){var t=this.$search.val();this.trigger("query",{term:t})}this._keyUpPrevented=!1},t.prototype.showSearch=function(e,t){return!0},t}),e.define("select2/dropdown/hidePlaceholder",[],function(){function e(e,t,n,i){this.placeholder=this.normalizePlaceholder(n.get("placeholder")),e.call(this,t,n,i)}return e.prototype.append=function(e,t){t.results=this.removePlaceholder(t.results),e.call(this,t)},e.prototype.normalizePlaceholder=function(e,t){return"string"==typeof t&&(t={id:"",text:t}),t},e.prototype.removePlaceholder=function(e,t){for(var n=t.slice(0),i=t.length-1;0<=i;i--){var r=t[i];this.placeholder.id===r.id&&n.splice(i,1)}return n},e}),e.define("select2/dropdown/infiniteScroll",["jquery"],function(n){function e(e,t,n,i){this.lastParams={},e.call(this,t,n,i),this.$loadingMore=this.createLoadingMore(),this.loading=!1}return e.prototype.append=function(e,t){this.$loadingMore.remove(),this.loading=!1,e.call(this,t),this.showLoadingMore(t)&&(this.$results.append(this.$loadingMore),this.loadMoreIfNeeded())},e.prototype.bind=function(e,t,n){var i=this;e.call(this,t,n),t.on("query",function(e){i.lastParams=e,i.loading=!0}),t.on("query:append",function(e){i.lastParams=e,i.loading=!0}),this.$results.on("scroll",this.loadMoreIfNeeded.bind(this))},e.prototype.loadMoreIfNeeded=function(){var e=n.contains(document.documentElement,this.$loadingMore[0]);if(!this.loading&&e){var t=this.$results.offset().top+this.$results.outerHeight(!1);this.$loadingMore.offset().top+this.$loadingMore.outerHeight(!1)<=t+50&&this.loadMore()}},e.prototype.loadMore=function(){this.loading=!0;var e=n.extend({},{page:1},this.lastParams);e.page++,this.trigger("query:append",e)},e.prototype.showLoadingMore=function(e,t){return t.pagination&&t.pagination.more},e.prototype.createLoadingMore=function(){var e=n('<li class="select2-results__option select2-results__option--load-more"role="option" aria-disabled="true"></li>'),t=this.options.get("translations").get("loadingMore");return e.html(t(this.lastParams)),e},e}),e.define("select2/dropdown/attachBody",["jquery","../utils"],function(f,a){function e(e,t,n){this.$dropdownParent=f(n.get("dropdownParent")||document.body),e.call(this,t,n)}return e.prototype.bind=function(e,t,n){var i=this;e.call(this,t,n),t.on("open",function(){i._showDropdown(),i._attachPositioningHandler(t),i._bindContainerResultHandlers(t)}),t.on("close",function(){i._hideDropdown(),i._detachPositioningHandler(t)}),this.$dropdownContainer.on("mousedown",function(e){e.stopPropagation()})},e.prototype.destroy=function(e){e.call(this),this.$dropdownContainer.remove()},e.prototype.position=function(e,t,n){t.attr("class",n.attr("class")),t.removeClass("select2"),t.addClass("select2-container--open"),t.css({position:"absolute",top:-999999}),this.$container=n},e.prototype.render=function(e){var t=f("<span></span>"),n=e.call(this);return t.append(n),this.$dropdownContainer=t},e.prototype._hideDropdown=function(e){this.$dropdownContainer.detach()},e.prototype._bindContainerResultHandlers=function(e,t){if(!this._containerResultsHandlersBound){var n=this;t.on("results:all",function(){n._positionDropdown(),n._resizeDropdown()}),t.on("results:append",function(){n._positionDropdown(),n._resizeDropdown()}),t.on("results:message",function(){n._positionDropdown(),n._resizeDropdown()}),t.on("select",function(){n._positionDropdown(),n._resizeDropdown()}),t.on("unselect",function(){n._positionDropdown(),n._resizeDropdown()}),this._containerResultsHandlersBound=!0}},e.prototype._attachPositioningHandler=function(e,t){var n=this,i="scroll.select2."+t.id,r="resize.select2."+t.id,o="orientationchange.select2."+t.id,s=this.$container.parents().filter(a.hasScroll);s.each(function(){a.StoreData(this,"select2-scroll-position",{x:f(this).scrollLeft(),y:f(this).scrollTop()})}),s.on(i,function(e){var t=a.GetData(this,"select2-scroll-position");f(this).scrollTop(t.y)}),f(window).on(i+" "+r+" "+o,function(e){n._positionDropdown(),n._resizeDropdown()})},e.prototype._detachPositioningHandler=function(e,t){var n="scroll.select2."+t.id,i="resize.select2."+t.id,r="orientationchange.select2."+t.id;this.$container.parents().filter(a.hasScroll).off(n),f(window).off(n+" "+i+" "+r)},e.prototype._positionDropdown=function(){var e=f(window),t=this.$dropdown.hasClass("select2-dropdown--above"),n=this.$dropdown.hasClass("select2-dropdown--below"),i=null,r=this.$container.offset();r.bottom=r.top+this.$container.outerHeight(!1);var o={height:this.$container.outerHeight(!1)};o.top=r.top,o.bottom=r.top+o.height;var s=this.$dropdown.outerHeight(!1),a=e.scrollTop(),l=e.scrollTop()+e.height(),c=a<r.top-s,u=l>r.bottom+s,d={left:r.left,top:o.bottom},p=this.$dropdownParent;"static"===p.css("position")&&(p=p.offsetParent());var h={top:0,left:0};(f.contains(document.body,p[0])||p[0].isConnected)&&(h=p.offset()),d.top-=h.top,d.left-=h.left,t||n||(i="below"),u||!c||t?!c&&u&&t&&(i="below"):i="above",("above"==i||t&&"below"!==i)&&(d.top=o.top-h.top-s),null!=i&&(this.$dropdown.removeClass("select2-dropdown--below select2-dropdown--above").addClass("select2-dropdown--"+i),this.$container.removeClass("select2-container--below select2-container--above").addClass("select2-container--"+i)),this.$dropdownContainer.css(d)},e.prototype._resizeDropdown=function(){var e={width:this.$container.outerWidth(!1)+"px"};this.options.get("dropdownAutoWidth")&&(e.minWidth=e.width,e.position="relative",e.width="auto"),this.$dropdown.css(e)},e.prototype._showDropdown=function(e){this.$dropdownContainer.appendTo(this.$dropdownParent),this._positionDropdown(),this._resizeDropdown()},e}),e.define("select2/dropdown/minimumResultsForSearch",[],function(){function e(e,t,n,i){this.minimumResultsForSearch=n.get("minimumResultsForSearch"),this.minimumResultsForSearch<0&&(this.minimumResultsForSearch=1/0),e.call(this,t,n,i)}return e.prototype.showSearch=function(e,t){return!(function e(t){for(var n=0,i=0;i<t.length;i++){var r=t[i];r.children?n+=e(r.children):n++}return n}(t.data.results)<this.minimumResultsForSearch)&&e.call(this,t)},e}),e.define("select2/dropdown/selectOnClose",["../utils"],function(o){function e(){}return e.prototype.bind=function(e,t,n){var i=this;e.call(this,t,n),t.on("close",function(e){i._handleSelectOnClose(e)})},e.prototype._handleSelectOnClose=function(e,t){if(t&&null!=t.originalSelect2Event){var n=t.originalSelect2Event;if("select"===n._type||"unselect"===n._type)return}var i=this.getHighlightedResults();if(!(i.length<1)){var r=o.GetData(i[0],"data");null!=r.element&&r.element.selected||null==r.element&&r.selected||this.trigger("select",{data:r})}},e}),e.define("select2/dropdown/closeOnSelect",[],function(){function e(){}return e.prototype.bind=function(e,t,n){var i=this;e.call(this,t,n),t.on("select",function(e){i._selectTriggered(e)}),t.on("unselect",function(e){i._selectTriggered(e)})},e.prototype._selectTriggered=function(e,t){var n=t.originalEvent;n&&(n.ctrlKey||n.metaKey)||this.trigger("close",{originalEvent:n,originalSelect2Event:t})},e}),e.define("select2/i18n/en",[],function(){return{errorLoading:function(){return"The results could not be loaded."},inputTooLong:function(e){var t=e.input.length-e.maximum,n="Please delete "+t+" character";return 1!=t&&(n+="s"),n},inputTooShort:function(e){return"Please enter "+(e.minimum-e.input.length)+" or more characters"},loadingMore:function(){return"Loading more results…"},maximumSelected:function(e){var t="You can only select "+e.maximum+" item";return 1!=e.maximum&&(t+="s"),t},noResults:function(){return"No results found"},searching:function(){return"Searching…"},removeAllItems:function(){return"Remove all items"}}}),e.define("select2/defaults",["jquery","require","./results","./selection/single","./selection/multiple","./selection/placeholder","./selection/allowClear","./selection/search","./selection/eventRelay","./utils","./translation","./diacritics","./data/select","./data/array","./data/ajax","./data/tags","./data/tokenizer","./data/minimumInputLength","./data/maximumInputLength","./data/maximumSelectionLength","./dropdown","./dropdown/search","./dropdown/hidePlaceholder","./dropdown/infiniteScroll","./dropdown/attachBody","./dropdown/minimumResultsForSearch","./dropdown/selectOnClose","./dropdown/closeOnSelect","./i18n/en"],function(c,u,d,p,h,f,g,m,v,y,s,t,_,w,$,b,A,x,S,D,C,E,O,T,q,j,L,I,e){function n(){this.reset()}return n.prototype.apply=function(e){if(null==(e=c.extend(!0,{},this.defaults,e)).dataAdapter){if(null!=e.ajax?e.dataAdapter=$:null!=e.data?e.dataAdapter=w:e.dataAdapter=_,0<e.minimumInputLength&&(e.dataAdapter=y.Decorate(e.dataAdapter,x)),0<e.maximumInputLength&&(e.dataAdapter=y.Decorate(e.dataAdapter,S)),0<e.maximumSelectionLength&&(e.dataAdapter=y.Decorate(e.dataAdapter,D)),e.tags&&(e.dataAdapter=y.Decorate(e.dataAdapter,b)),null==e.tokenSeparators&&null==e.tokenizer||(e.dataAdapter=y.Decorate(e.dataAdapter,A)),null!=e.query){var t=u(e.amdBase+"compat/query");e.dataAdapter=y.Decorate(e.dataAdapter,t)}if(null!=e.initSelection){var n=u(e.amdBase+"compat/initSelection");e.dataAdapter=y.Decorate(e.dataAdapter,n)}}if(null==e.resultsAdapter&&(e.resultsAdapter=d,null!=e.ajax&&(e.resultsAdapter=y.Decorate(e.resultsAdapter,T)),null!=e.placeholder&&(e.resultsAdapter=y.Decorate(e.resultsAdapter,O)),e.selectOnClose&&(e.resultsAdapter=y.Decorate(e.resultsAdapter,L))),null==e.dropdownAdapter){if(e.multiple)e.dropdownAdapter=C;else{var i=y.Decorate(C,E);e.dropdownAdapter=i}if(0!==e.minimumResultsForSearch&&(e.dropdownAdapter=y.Decorate(e.dropdownAdapter,j)),e.closeOnSelect&&(e.dropdownAdapter=y.Decorate(e.dropdownAdapter,I)),null!=e.dropdownCssClass||null!=e.dropdownCss||null!=e.adaptDropdownCssClass){var r=u(e.amdBase+"compat/dropdownCss");e.dropdownAdapter=y.Decorate(e.dropdownAdapter,r)}e.dropdownAdapter=y.Decorate(e.dropdownAdapter,q)}if(null==e.selectionAdapter){if(e.multiple?e.selectionAdapter=h:e.selectionAdapter=p,null!=e.placeholder&&(e.selectionAdapter=y.Decorate(e.selectionAdapter,f)),e.allowClear&&(e.selectionAdapter=y.Decorate(e.selectionAdapter,g)),e.multiple&&(e.selectionAdapter=y.Decorate(e.selectionAdapter,m)),null!=e.containerCssClass||null!=e.containerCss||null!=e.adaptContainerCssClass){var o=u(e.amdBase+"compat/containerCss");e.selectionAdapter=y.Decorate(e.selectionAdapter,o)}e.selectionAdapter=y.Decorate(e.selectionAdapter,v)}e.language=this._resolveLanguage(e.language),e.language.push("en");for(var s=[],a=0;a<e.language.length;a++){var l=e.language[a];-1===s.indexOf(l)&&s.push(l)}return e.language=s,e.translations=this._processTranslations(e.language,e.debug),e},n.prototype.reset=function(){function a(e){return e.replace(/[^\u0000-\u007E]/g,function(e){return t[e]||e})}this.defaults={amdBase:"./",amdLanguageBase:"./i18n/",closeOnSelect:!0,debug:!1,dropdownAutoWidth:!1,escapeMarkup:y.escapeMarkup,language:{},matcher:function e(t,n){if(""===c.trim(t.term))return n;if(n.children&&0<n.children.length){for(var i=c.extend(!0,{},n),r=n.children.length-1;0<=r;r--)null==e(t,n.children[r])&&i.children.splice(r,1);return 0<i.children.length?i:e(t,i)}var o=a(n.text).toUpperCase(),s=a(t.term).toUpperCase();return-1<o.indexOf(s)?n:null},minimumInputLength:0,maximumInputLength:0,maximumSelectionLength:0,minimumResultsForSearch:0,selectOnClose:!1,scrollAfterSelect:!1,sorter:function(e){return e},templateResult:function(e){return e.text},templateSelection:function(e){return e.text},theme:"default",width:"resolve"}},n.prototype.applyFromElement=function(e,t){var n=e.language,i=this.defaults.language,r=t.prop("lang"),o=t.closest("[lang]").prop("lang"),s=Array.prototype.concat.call(this._resolveLanguage(r),this._resolveLanguage(n),this._resolveLanguage(i),this._resolveLanguage(o));return e.language=s,e},n.prototype._resolveLanguage=function(e){if(!e)return[];if(c.isEmptyObject(e))return[];if(c.isPlainObject(e))return[e];var t;t=c.isArray(e)?e:[e];for(var n=[],i=0;i<t.length;i++)if(n.push(t[i]),"string"==typeof t[i]&&0<t[i].indexOf("-")){var r=t[i].split("-")[0];n.push(r)}return n},n.prototype._processTranslations=function(e,t){for(var n=new s,i=0;i<e.length;i++){var r=new s,o=e[i];if("string"==typeof o)try{r=s.loadPath(o)}catch(e){try{o=this.defaults.amdLanguageBase+o,r=s.loadPath(o)}catch(e){t&&window.console&&console.warn&&console.warn('Select2: The language file for "'+o+'" could not be automatically loaded. A fallback will be used instead.')}}else r=c.isPlainObject(o)?new s(o):o;n.extend(r)}return n},n.prototype.set=function(e,t){var n={};n[c.camelCase(e)]=t;var i=y._convertData(n);c.extend(!0,this.defaults,i)},new n}),e.define("select2/options",["require","jquery","./defaults","./utils"],function(i,d,r,p){function e(e,t){if(this.options=e,null!=t&&this.fromElement(t),null!=t&&(this.options=r.applyFromElement(this.options,t)),this.options=r.apply(this.options),t&&t.is("input")){var n=i(this.get("amdBase")+"compat/inputData");this.options.dataAdapter=p.Decorate(this.options.dataAdapter,n)}}return e.prototype.fromElement=function(e){var t=["select2"];null==this.options.multiple&&(this.options.multiple=e.prop("multiple")),null==this.options.disabled&&(this.options.disabled=e.prop("disabled")),null==this.options.dir&&(e.prop("dir")?this.options.dir=e.prop("dir"):e.closest("[dir]").prop("dir")?this.options.dir=e.closest("[dir]").prop("dir"):this.options.dir="ltr"),e.prop("disabled",this.options.disabled),e.prop("multiple",this.options.multiple),p.GetData(e[0],"select2Tags")&&(this.options.debug&&window.console&&console.warn&&console.warn('Select2: The `data-select2-tags` attribute has been changed to use the `data-data` and `data-tags="true"` attributes and will be removed in future versions of Select2.'),p.StoreData(e[0],"data",p.GetData(e[0],"select2Tags")),p.StoreData(e[0],"tags",!0)),p.GetData(e[0],"ajaxUrl")&&(this.options.debug&&window.console&&console.warn&&console.warn("Select2: The `data-ajax-url` attribute has been changed to `data-ajax--url` and support for the old attribute will be removed in future versions of Select2."),e.attr("ajax--url",p.GetData(e[0],"ajaxUrl")),p.StoreData(e[0],"ajax-Url",p.GetData(e[0],"ajaxUrl")));var n={};function i(e,t){return t.toUpperCase()}for(var r=0;r<e[0].attributes.length;r++){var o=e[0].attributes[r].name,s="data-";if(o.substr(0,s.length)==s){var a=o.substring(s.length),l=p.GetData(e[0],a);n[a.replace(/-([a-z])/g,i)]=l}}d.fn.jquery&&"1."==d.fn.jquery.substr(0,2)&&e[0].dataset&&(n=d.extend(!0,{},e[0].dataset,n));var c=d.extend(!0,{},p.GetData(e[0]),n);for(var u in c=p._convertData(c))-1<d.inArray(u,t)||(d.isPlainObject(this.options[u])?d.extend(this.options[u],c[u]):this.options[u]=c[u]);return this},e.prototype.get=function(e){return this.options[e]},e.prototype.set=function(e,t){this.options[e]=t},e}),e.define("select2/core",["jquery","./options","./utils","./keys"],function(r,c,u,i){var d=function(e,t){null!=u.GetData(e[0],"select2")&&u.GetData(e[0],"select2").destroy(),this.$element=e,this.id=this._generateId(e),t=t||{},this.options=new c(t,e),d.__super__.constructor.call(this);var n=e.attr("tabindex")||0;u.StoreData(e[0],"old-tabindex",n),e.attr("tabindex","-1");var i=this.options.get("dataAdapter");this.dataAdapter=new i(e,this.options);var r=this.render();this._placeContainer(r);var o=this.options.get("selectionAdapter");this.selection=new o(e,this.options),this.$selection=this.selection.render(),this.selection.position(this.$selection,r);var s=this.options.get("dropdownAdapter");this.dropdown=new s(e,this.options),this.$dropdown=this.dropdown.render(),this.dropdown.position(this.$dropdown,r);var a=this.options.get("resultsAdapter");this.results=new a(e,this.options,this.dataAdapter),this.$results=this.results.render(),this.results.position(this.$results,this.$dropdown);var l=this;this._bindAdapters(),this._registerDomEvents(),this._registerDataEvents(),this._registerSelectionEvents(),this._registerDropdownEvents(),this._registerResultsEvents(),this._registerEvents(),this.dataAdapter.current(function(e){l.trigger("selection:update",{data:e})}),e.addClass("select2-hidden-accessible"),e.attr("aria-hidden","true"),this._syncAttributes(),u.StoreData(e[0],"select2",this),e.data("select2",this)};return u.Extend(d,u.Observable),d.prototype._generateId=function(e){return"select2-"+(null!=e.attr("id")?e.attr("id"):null!=e.attr("name")?e.attr("name")+"-"+u.generateChars(2):u.generateChars(4)).replace(/(:|\.|\[|\]|,)/g,"")},d.prototype._placeContainer=function(e){e.insertAfter(this.$element);var t=this._resolveWidth(this.$element,this.options.get("width"));null!=t&&e.css("width",t)},d.prototype._resolveWidth=function(e,t){var n=/^width:(([-+]?([0-9]*\.)?[0-9]+)(px|em|ex|%|in|cm|mm|pt|pc))/i;if("resolve"==t){var i=this._resolveWidth(e,"style");return null!=i?i:this._resolveWidth(e,"element")}if("element"==t){var r=e.outerWidth(!1);return r<=0?"auto":r+"px"}if("style"!=t)return"computedstyle"!=t?t:window.getComputedStyle(e[0]).width;var o=e.attr("style");if("string"!=typeof o)return null;for(var s=o.split(";"),a=0,l=s.length;a<l;a+=1){var c=s[a].replace(/\s/g,"").match(n);if(null!==c&&1<=c.length)return c[1]}return null},d.prototype._bindAdapters=function(){this.dataAdapter.bind(this,this.$container),this.selection.bind(this,this.$container),this.dropdown.bind(this,this.$container),this.results.bind(this,this.$container)},d.prototype._registerDomEvents=function(){var t=this;this.$element.on("change.select2",function(){t.dataAdapter.current(function(e){t.trigger("selection:update",{data:e})})}),this.$element.on("focus.select2",function(e){t.trigger("focus",e)}),this._syncA=u.bind(this._syncAttributes,this),this._syncS=u.bind(this._syncSubtree,this),this.$element[0].attachEvent&&this.$element[0].attachEvent("onpropertychange",this._syncA);var e=window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver;null!=e?(this._observer=new e(function(e){r.each(e,t._syncA),r.each(e,t._syncS)}),this._observer.observe(this.$element[0],{attributes:!0,childList:!0,subtree:!1})):this.$element[0].addEventListener&&(this.$element[0].addEventListener("DOMAttrModified",t._syncA,!1),this.$element[0].addEventListener("DOMNodeInserted",t._syncS,!1),this.$element[0].addEventListener("DOMNodeRemoved",t._syncS,!1))},d.prototype._registerDataEvents=function(){var n=this;this.dataAdapter.on("*",function(e,t){n.trigger(e,t)})},d.prototype._registerSelectionEvents=function(){var n=this,i=["toggle","focus"];this.selection.on("toggle",function(){n.toggleDropdown()}),this.selection.on("focus",function(e){n.focus(e)}),this.selection.on("*",function(e,t){-1===r.inArray(e,i)&&n.trigger(e,t)})},d.prototype._registerDropdownEvents=function(){var n=this;this.dropdown.on("*",function(e,t){n.trigger(e,t)})},d.prototype._registerResultsEvents=function(){var n=this;this.results.on("*",function(e,t){n.trigger(e,t)})},d.prototype._registerEvents=function(){var n=this;this.on("open",function(){n.$container.addClass("select2-container--open")}),this.on("close",function(){n.$container.removeClass("select2-container--open")}),this.on("enable",function(){n.$container.removeClass("select2-container--disabled")}),this.on("disable",function(){n.$container.addClass("select2-container--disabled")}),this.on("blur",function(){n.$container.removeClass("select2-container--focus")}),this.on("query",function(t){n.isOpen()||n.trigger("open",{}),this.dataAdapter.query(t,function(e){n.trigger("results:all",{data:e,query:t})})}),this.on("query:append",function(t){this.dataAdapter.query(t,function(e){n.trigger("results:append",{data:e,query:t})})}),this.on("keypress",function(e){var t=e.which;n.isOpen()?t===i.ESC||t===i.TAB||t===i.UP&&e.altKey?(n.close(),e.preventDefault()):t===i.ENTER?(n.trigger("results:select",{}),e.preventDefault()):t===i.SPACE&&e.ctrlKey?(n.trigger("results:toggle",{}),e.preventDefault()):t===i.UP?(n.trigger("results:previous",{}),e.preventDefault()):t===i.DOWN&&(n.trigger("results:next",{}),e.preventDefault()):(t===i.ENTER||t===i.SPACE||t===i.DOWN&&e.altKey)&&(n.open(),e.preventDefault())})},d.prototype._syncAttributes=function(){this.options.set("disabled",this.$element.prop("disabled")),this.options.get("disabled")?(this.isOpen()&&this.close(),this.trigger("disable",{})):this.trigger("enable",{})},d.prototype._syncSubtree=function(e,t){var n=!1,i=this;if(!e||!e.target||"OPTION"===e.target.nodeName||"OPTGROUP"===e.target.nodeName){if(t)if(t.addedNodes&&0<t.addedNodes.length)for(var r=0;r<t.addedNodes.length;r++){t.addedNodes[r].selected&&(n=!0)}else t.removedNodes&&0<t.removedNodes.length&&(n=!0);else n=!0;n&&this.dataAdapter.current(function(e){i.trigger("selection:update",{data:e})})}},d.prototype.trigger=function(e,t){var n=d.__super__.trigger,i={open:"opening",close:"closing",select:"selecting",unselect:"unselecting",clear:"clearing"};if(void 0===t&&(t={}),e in i){var r=i[e],o={prevented:!1,name:e,args:t};if(n.call(this,r,o),o.prevented)return void(t.prevented=!0)}n.call(this,e,t)},d.prototype.toggleDropdown=function(){this.options.get("disabled")||(this.isOpen()?this.close():this.open())},d.prototype.open=function(){this.isOpen()||this.trigger("query",{})},d.prototype.close=function(){this.isOpen()&&this.trigger("close",{})},d.prototype.isOpen=function(){return this.$container.hasClass("select2-container--open")},d.prototype.hasFocus=function(){return this.$container.hasClass("select2-container--focus")},d.prototype.focus=function(e){this.hasFocus()||(this.$container.addClass("select2-container--focus"),this.trigger("focus",{}))},d.prototype.enable=function(e){this.options.get("debug")&&window.console&&console.warn&&console.warn('Select2: The `select2("enable")` method has been deprecated and will be removed in later Select2 versions. Use $element.prop("disabled") instead.'),null!=e&&0!==e.length||(e=[!0]);var t=!e[0];this.$element.prop("disabled",t)},d.prototype.data=function(){this.options.get("debug")&&0<arguments.length&&window.console&&console.warn&&console.warn('Select2: Data can no longer be set using `select2("data")`. You should consider setting the value instead using `$element.val()`.');var t=[];return this.dataAdapter.current(function(e){t=e}),t},d.prototype.val=function(e){if(this.options.get("debug")&&window.console&&console.warn&&console.warn('Select2: The `select2("val")` method has been deprecated and will be removed in later Select2 versions. Use $element.val() instead.'),null==e||0===e.length)return this.$element.val();var t=e[0];r.isArray(t)&&(t=r.map(t,function(e){return e.toString()})),this.$element.val(t).trigger("change")},d.prototype.destroy=function(){this.$container.remove(),this.$element[0].detachEvent&&this.$element[0].detachEvent("onpropertychange",this._syncA),null!=this._observer?(this._observer.disconnect(),this._observer=null):this.$element[0].removeEventListener&&(this.$element[0].removeEventListener("DOMAttrModified",this._syncA,!1),this.$element[0].removeEventListener("DOMNodeInserted",this._syncS,!1),this.$element[0].removeEventListener("DOMNodeRemoved",this._syncS,!1)),this._syncA=null,this._syncS=null,this.$element.off(".select2"),this.$element.attr("tabindex",u.GetData(this.$element[0],"old-tabindex")),this.$element.removeClass("select2-hidden-accessible"),this.$element.attr("aria-hidden","false"),u.RemoveData(this.$element[0]),this.$element.removeData("select2"),this.dataAdapter.destroy(),this.selection.destroy(),this.dropdown.destroy(),this.results.destroy(),this.dataAdapter=null,this.selection=null,this.dropdown=null,this.results=null},d.prototype.render=function(){var e=r('<span class="select2 select2-container"><span class="selection"></span><span class="dropdown-wrapper" aria-hidden="true"></span></span>');return e.attr("dir",this.options.get("dir")),this.$container=e,this.$container.addClass("select2-container--"+this.options.get("theme")),u.StoreData(e[0],"element",this.$element),e},d}),e.define("select2/compat/utils",["jquery"],function(s){return{syncCssClasses:function(e,t,n){var i,r,o=[];(i=s.trim(e.attr("class")))&&s((i=""+i).split(/\s+/)).each(function(){0===this.indexOf("select2-")&&o.push(this)}),(i=s.trim(t.attr("class")))&&s((i=""+i).split(/\s+/)).each(function(){0!==this.indexOf("select2-")&&null!=(r=n(this))&&o.push(r)}),e.attr("class",o.join(" "))}}}),e.define("select2/compat/containerCss",["jquery","./utils"],function(s,a){function l(e){return null}function e(){}return e.prototype.render=function(e){var t=e.call(this),n=this.options.get("containerCssClass")||"";s.isFunction(n)&&(n=n(this.$element));var i=this.options.get("adaptContainerCssClass");if(i=i||l,-1!==n.indexOf(":all:")){n=n.replace(":all:","");var r=i;i=function(e){var t=r(e);return null!=t?t+" "+e:e}}var o=this.options.get("containerCss")||{};return s.isFunction(o)&&(o=o(this.$element)),a.syncCssClasses(t,this.$element,i),t.css(o),t.addClass(n),t},e}),e.define("select2/compat/dropdownCss",["jquery","./utils"],function(s,a){function l(e){return null}function e(){}return e.prototype.render=function(e){var t=e.call(this),n=this.options.get("dropdownCssClass")||"";s.isFunction(n)&&(n=n(this.$element));var i=this.options.get("adaptDropdownCssClass");if(i=i||l,-1!==n.indexOf(":all:")){n=n.replace(":all:","");var r=i;i=function(e){var t=r(e);return null!=t?t+" "+e:e}}var o=this.options.get("dropdownCss")||{};return s.isFunction(o)&&(o=o(this.$element)),a.syncCssClasses(t,this.$element,i),t.css(o),t.addClass(n),t},e}),e.define("select2/compat/initSelection",["jquery"],function(i){function e(e,t,n){n.get("debug")&&window.console&&console.warn&&console.warn("Select2: The `initSelection` option has been deprecated in favor of a custom data adapter that overrides the `current` method. This method is now called multiple times instead of a single time when the instance is initialized. Support will be removed for the `initSelection` option in future versions of Select2"),this.initSelection=n.get("initSelection"),this._isInitialized=!1,e.call(this,t,n)}return e.prototype.current=function(e,t){var n=this;this._isInitialized?e.call(this,t):this.initSelection.call(null,this.$element,function(e){n._isInitialized=!0,i.isArray(e)||(e=[e]),t(e)})},e}),e.define("select2/compat/inputData",["jquery","../utils"],function(s,i){function e(e,t,n){this._currentData=[],this._valueSeparator=n.get("valueSeparator")||",","hidden"===t.prop("type")&&n.get("debug")&&console&&console.warn&&console.warn("Select2: Using a hidden input with Select2 is no longer supported and may stop working in the future. It is recommended to use a `<select>` element instead."),e.call(this,t,n)}return e.prototype.current=function(e,t){function i(e,t){var n=[];return e.selected||-1!==s.inArray(e.id,t)?(e.selected=!0,n.push(e)):e.selected=!1,e.children&&n.push.apply(n,i(e.children,t)),n}for(var n=[],r=0;r<this._currentData.length;r++){var o=this._currentData[r];n.push.apply(n,i(o,this.$element.val().split(this._valueSeparator)))}t(n)},e.prototype.select=function(e,t){if(this.options.get("multiple")){var n=this.$element.val();n+=this._valueSeparator+t.id,this.$element.val(n),this.$element.trigger("change")}else this.current(function(e){s.map(e,function(e){e.selected=!1})}),this.$element.val(t.id),this.$element.trigger("change")},e.prototype.unselect=function(e,r){var o=this;r.selected=!1,this.current(function(e){for(var t=[],n=0;n<e.length;n++){var i=e[n];r.id!=i.id&&t.push(i.id)}o.$element.val(t.join(o._valueSeparator)),o.$element.trigger("change")})},e.prototype.query=function(e,t,n){for(var i=[],r=0;r<this._currentData.length;r++){var o=this._currentData[r],s=this.matches(t,o);null!==s&&i.push(s)}n({results:i})},e.prototype.addOptions=function(e,t){var n=s.map(t,function(e){return i.GetData(e[0],"data")});this._currentData.push.apply(this._currentData,n)},e}),e.define("select2/compat/matcher",["jquery"],function(s){return function(o){return function(e,t){var n=s.extend(!0,{},t);if(null==e.term||""===s.trim(e.term))return n;if(t.children){for(var i=t.children.length-1;0<=i;i--){var r=t.children[i];o(e.term,r.text,r)||n.children.splice(i,1)}if(0<n.children.length)return n}return o(e.term,t.text,t)?n:null}}}),e.define("select2/compat/query",[],function(){function e(e,t,n){n.get("debug")&&window.console&&console.warn&&console.warn("Select2: The `query` option has been deprecated in favor of a custom data adapter that overrides the `query` method. Support will be removed for the `query` option in future versions of Select2."),e.call(this,t,n)}return e.prototype.query=function(e,t,n){t.callback=n,this.options.get("query").call(null,t)},e}),e.define("select2/dropdown/attachContainer",[],function(){function e(e,t,n){e.call(this,t,n)}return e.prototype.position=function(e,t,n){n.find(".dropdown-wrapper").append(t),t.addClass("select2-dropdown--below"),n.addClass("select2-container--below")},e}),e.define("select2/dropdown/stopPropagation",[],function(){function e(){}return e.prototype.bind=function(e,t,n){e.call(this,t,n);this.$dropdown.on(["blur","change","click","dblclick","focus","focusin","focusout","input","keydown","keyup","keypress","mousedown","mouseenter","mouseleave","mousemove","mouseover","mouseup","search","touchend","touchstart"].join(" "),function(e){e.stopPropagation()})},e}),e.define("select2/selection/stopPropagation",[],function(){function e(){}return e.prototype.bind=function(e,t,n){e.call(this,t,n);this.$selection.on(["blur","change","click","dblclick","focus","focusin","focusout","input","keydown","keyup","keypress","mousedown","mouseenter","mouseleave","mousemove","mouseover","mouseup","search","touchend","touchstart"].join(" "),function(e){e.stopPropagation()})},e}),l=function(p){var h,f,e=["wheel","mousewheel","DOMMouseScroll","MozMousePixelScroll"],t="onwheel"in document||9<=document.documentMode?["wheel"]:["mousewheel","DomMouseScroll","MozMousePixelScroll"],g=Array.prototype.slice;if(p.event.fixHooks)for(var n=e.length;n;)p.event.fixHooks[e[--n]]=p.event.mouseHooks;var m=p.event.special.mousewheel={version:"3.1.12",setup:function(){if(this.addEventListener)for(var e=t.length;e;)this.addEventListener(t[--e],i,!1);else this.onmousewheel=i;p.data(this,"mousewheel-line-height",m.getLineHeight(this)),p.data(this,"mousewheel-page-height",m.getPageHeight(this))},teardown:function(){if(this.removeEventListener)for(var e=t.length;e;)this.removeEventListener(t[--e],i,!1);else this.onmousewheel=null;p.removeData(this,"mousewheel-line-height"),p.removeData(this,"mousewheel-page-height")},getLineHeight:function(e){var t=p(e),n=t["offsetParent"in p.fn?"offsetParent":"parent"]();return n.length||(n=p("body")),parseInt(n.css("fontSize"),10)||parseInt(t.css("fontSize"),10)||16},getPageHeight:function(e){return p(e).height()},settings:{adjustOldDeltas:!0,normalizeOffset:!0}};function i(e){var t,n=e||window.event,i=g.call(arguments,1),r=0,o=0,s=0,a=0,l=0;if((e=p.event.fix(n)).type="mousewheel","detail"in n&&(s=-1*n.detail),"wheelDelta"in n&&(s=n.wheelDelta),"wheelDeltaY"in n&&(s=n.wheelDeltaY),"wheelDeltaX"in n&&(o=-1*n.wheelDeltaX),"axis"in n&&n.axis===n.HORIZONTAL_AXIS&&(o=-1*s,s=0),r=0===s?o:s,"deltaY"in n&&(r=s=-1*n.deltaY),"deltaX"in n&&(o=n.deltaX,0===s&&(r=-1*o)),0!==s||0!==o){if(1===n.deltaMode){var c=p.data(this,"mousewheel-line-height");r*=c,s*=c,o*=c}else if(2===n.deltaMode){var u=p.data(this,"mousewheel-page-height");r*=u,s*=u,o*=u}if(t=Math.max(Math.abs(s),Math.abs(o)),(!f||t<f)&&y(n,f=t)&&(f/=40),y(n,t)&&(r/=40,o/=40,s/=40),r=Math[1<=r?"floor":"ceil"](r/f),o=Math[1<=o?"floor":"ceil"](o/f),s=Math[1<=s?"floor":"ceil"](s/f),m.settings.normalizeOffset&&this.getBoundingClientRect){var d=this.getBoundingClientRect();a=e.clientX-d.left,l=e.clientY-d.top}return e.deltaX=o,e.deltaY=s,e.deltaFactor=f,e.offsetX=a,e.offsetY=l,e.deltaMode=0,i.unshift(e,r,o,s),h&&clearTimeout(h),h=setTimeout(v,200),(p.event.dispatch||p.event.handle).apply(this,i)}}function v(){f=null}function y(e,t){return m.settings.adjustOldDeltas&&"mousewheel"===e.type&&t%120==0}p.fn.extend({mousewheel:function(e){return e?this.bind("mousewheel",e):this.trigger("mousewheel")},unmousewheel:function(e){return this.unbind("mousewheel",e)}})},"function"==typeof e.define&&e.define.amd?e.define("jquery-mousewheel",["jquery"],l):"object"==typeof exports?module.exports=l:l(d),e.define("jquery.select2",["jquery","jquery-mousewheel","./select2/core","./select2/defaults","./select2/utils"],function(r,e,o,t,s){if(null==r.fn.select2){var a=["open","close","destroy"];r.fn.select2=function(t){if("object"==typeof(t=t||{}))return this.each(function(){var e=r.extend(!0,{},t);new o(r(this),e)}),this;if("string"!=typeof t)throw new Error("Invalid arguments for Select2: "+t);var n,i=Array.prototype.slice.call(arguments,1);return this.each(function(){var e=s.GetData(this,"select2");null==e&&window.console&&console.error&&console.error("The select2('"+t+"') method was called on an element that is not using Select2."),n=e[t].apply(e,i)}),-1<r.inArray(t,a)?this:n}}return null==r.fn.select2.defaults&&(r.fn.select2.defaults=t),o}),{define:e.define,require:e.require}}(),t=e.require("jquery.select2");return d.fn.select2.amd=e,t});
|
|
assets/js/um-members.js
CHANGED
@@ -300,12 +300,14 @@ function um_ajax_get_members( directory, args ) {
|
|
300 |
if ( typeof value != 'undefined' ) {
|
301 |
request[ filter_name ] = value.split( '||' );
|
302 |
}
|
303 |
-
} else
|
304 |
var filter_name = filter.find('input[type="text"]').attr('name');
|
305 |
var value = um_get_data_for_directory( directory, 'filter_' + filter_name );
|
306 |
if ( typeof value != 'undefined' ) {
|
307 |
request[ filter_name ] = value;
|
308 |
}
|
|
|
|
|
309 |
}
|
310 |
});
|
311 |
}
|
@@ -334,7 +336,8 @@ function um_ajax_get_members( directory, args ) {
|
|
334 |
}
|
335 |
|
336 |
//args.directory = directory;
|
337 |
-
|
|
|
338 |
|
339 |
um_init_new_dropdown();
|
340 |
|
@@ -358,7 +361,10 @@ function um_build_template( directory, data ) {
|
|
358 |
|
359 |
var header_template = wp.template( 'um-members-header' );
|
360 |
directory.find('.um-members-intro').remove();
|
361 |
-
|
|
|
|
|
|
|
362 |
directory.find('.um-members-wrapper').prepend( header_template( data ) );
|
363 |
}
|
364 |
|
@@ -488,7 +494,7 @@ function um_get_filters_data( directory ) {
|
|
488 |
filters_data.push( {'name':filter_name, 'label':filter_title, 'value_label':filter_value_title, 'value':filter_value[ i ], 'type':filter_type} );
|
489 |
});
|
490 |
|
491 |
-
} else if( filter.find('input[type="text"]').length ) {
|
492 |
|
493 |
filter_type = 'text';
|
494 |
filter_name = filter.find('input[type="text"]').attr('name');
|
@@ -527,6 +533,10 @@ function um_get_filters_data( directory ) {
|
|
527 |
filter_title = filter.find('div.um-slider-range').data('label');
|
528 |
|
529 |
filters_data.push( {'name':filter_name, 'label':filter_title, 'value_label':filter_value_title, 'value':[filter_value_from, filter_value_to], 'type':filter_type} );
|
|
|
|
|
|
|
|
|
530 |
}
|
531 |
});
|
532 |
|
@@ -581,17 +591,20 @@ function um_run_search( directory ) {
|
|
581 |
|
582 |
|
583 |
var ignore_after_search = false;
|
584 |
-
ignore_after_search = wp.hooks.applyFilters( 'um_member_directory_ignore_after_search', ignore_after_search );
|
585 |
|
586 |
if ( ! ignore_after_search ) {
|
587 |
var show_after_search = directory.data('must-search');
|
588 |
if ( show_after_search === 1 ) {
|
589 |
-
|
590 |
if ( directory.find( '.um-members-filter-remove' ).length === 0 && ! search ) {
|
591 |
directory.data( 'searched', 0 );
|
592 |
-
directory.find('.um-members-grid, .um-members-list').remove();
|
593 |
directory.find( '.um-member-directory-sorting-options' ).prop( 'disabled', true );
|
594 |
directory.find( '.um-member-directory-view-type' ).addClass( 'um-disabled' );
|
|
|
|
|
|
|
595 |
um_members_hide_preloader( directory );
|
596 |
return;
|
597 |
}
|
@@ -1064,7 +1077,7 @@ jQuery(document.body).ready( function() {
|
|
1064 |
return;
|
1065 |
}
|
1066 |
|
1067 |
-
um_members_show_preloader(directory);
|
1068 |
|
1069 |
var removeItem = jQuery(this).data('value');
|
1070 |
var filter_name = jQuery(this).data('name');
|
@@ -1135,6 +1148,8 @@ jQuery(document.body).ready( function() {
|
|
1135 |
|
1136 |
jQuery( '.um-search-filter #' + filter_name + '_from' ).val('');
|
1137 |
jQuery( '.um-search-filter #' + filter_name + '_to' ).val('');
|
|
|
|
|
1138 |
}
|
1139 |
|
1140 |
|
@@ -1152,7 +1167,7 @@ jQuery(document.body).ready( function() {
|
|
1152 |
}
|
1153 |
|
1154 |
var ignore_after_search = false;
|
1155 |
-
ignore_after_search = wp.hooks.applyFilters( 'um_member_directory_ignore_after_search', ignore_after_search );
|
1156 |
|
1157 |
if ( ! ignore_after_search ) {
|
1158 |
var show_after_search = directory.data('must-search');
|
@@ -1160,9 +1175,12 @@ jQuery(document.body).ready( function() {
|
|
1160 |
var search = um_get_search( directory );
|
1161 |
if ( directory.find( '.um-members-filter-remove' ).length === 0 && ! search ) {
|
1162 |
directory.data( 'searched', 0 );
|
1163 |
-
directory.find('.um-members-grid, .um-members-list').remove();
|
1164 |
directory.find( '.um-member-directory-sorting-options' ).prop( 'disabled', true );
|
1165 |
directory.find( '.um-member-directory-view-type' ).addClass( 'um-disabled' );
|
|
|
|
|
|
|
1166 |
um_members_hide_preloader( directory );
|
1167 |
return;
|
1168 |
}
|
@@ -1253,6 +1271,8 @@ jQuery(document.body).ready( function() {
|
|
1253 |
|
1254 |
jQuery( '.um-search-filter #' + filter_name + '_from' ).val('');
|
1255 |
jQuery( '.um-search-filter #' + filter_name + '_to' ).val('');
|
|
|
|
|
1256 |
}
|
1257 |
});
|
1258 |
|
@@ -1271,7 +1291,7 @@ jQuery(document.body).ready( function() {
|
|
1271 |
}
|
1272 |
|
1273 |
var ignore_after_search = false;
|
1274 |
-
ignore_after_search = wp.hooks.applyFilters( 'um_member_directory_ignore_after_search', ignore_after_search );
|
1275 |
|
1276 |
if ( ! ignore_after_search ) {
|
1277 |
var show_after_search = directory.data('must-search');
|
@@ -1279,9 +1299,12 @@ jQuery(document.body).ready( function() {
|
|
1279 |
var search = um_get_search( directory );
|
1280 |
if ( ! search ) {
|
1281 |
directory.data( 'searched', 0 );
|
1282 |
-
directory.find('.um-members-grid, .um-members-list').remove();
|
1283 |
directory.find( '.um-member-directory-sorting-options' ).prop( 'disabled', true );
|
1284 |
directory.find( '.um-member-directory-view-type' ).addClass( 'um-disabled' );
|
|
|
|
|
|
|
1285 |
um_members_hide_preloader( directory );
|
1286 |
return;
|
1287 |
}
|
@@ -1299,6 +1322,7 @@ jQuery(document.body).ready( function() {
|
|
1299 |
* First Page Loading
|
1300 |
*/
|
1301 |
|
|
|
1302 |
|
1303 |
//Init Directories
|
1304 |
jQuery( '.um-directory' ).each( function() {
|
@@ -1559,8 +1583,10 @@ jQuery(document.body).ready( function() {
|
|
1559 |
|
1560 |
});
|
1561 |
|
|
|
|
|
1562 |
var ignore_after_search = false;
|
1563 |
-
ignore_after_search = wp.hooks.applyFilters( 'um_member_directory_ignore_after_search', ignore_after_search );
|
1564 |
|
1565 |
if ( ! ignore_after_search ) {
|
1566 |
var show_after_search = directory.data('must-search');
|
@@ -1573,9 +1599,13 @@ jQuery(document.body).ready( function() {
|
|
1573 |
}
|
1574 |
}
|
1575 |
|
1576 |
-
|
1577 |
-
|
1578 |
-
|
|
|
|
|
|
|
|
|
1579 |
});
|
1580 |
|
1581 |
|
@@ -1690,7 +1720,7 @@ jQuery(document.body).ready( function() {
|
|
1690 |
});
|
1691 |
|
1692 |
var ignore_after_search = false;
|
1693 |
-
ignore_after_search = wp.hooks.applyFilters( 'um_member_directory_ignore_after_search', ignore_after_search );
|
1694 |
|
1695 |
if ( ! ignore_after_search ) {
|
1696 |
var show_after_search = directory.data('must-search');
|
@@ -1707,9 +1737,12 @@ jQuery(document.body).ready( function() {
|
|
1707 |
}
|
1708 |
}
|
1709 |
|
1710 |
-
|
1711 |
|
1712 |
-
|
|
|
|
|
|
|
1713 |
});
|
1714 |
});
|
1715 |
|
300 |
if ( typeof value != 'undefined' ) {
|
301 |
request[ filter_name ] = value.split( '||' );
|
302 |
}
|
303 |
+
} else if ( filter.hasClass( 'um-text-filter-type' ) && filter.find('input[type="text"]').length ) {
|
304 |
var filter_name = filter.find('input[type="text"]').attr('name');
|
305 |
var value = um_get_data_for_directory( directory, 'filter_' + filter_name );
|
306 |
if ( typeof value != 'undefined' ) {
|
307 |
request[ filter_name ] = value;
|
308 |
}
|
309 |
+
} else {
|
310 |
+
request = wp.hooks.applyFilters( 'um_member_directory_custom_filter_handler', request, filter, directory );
|
311 |
}
|
312 |
});
|
313 |
}
|
336 |
}
|
337 |
|
338 |
//args.directory = directory;
|
339 |
+
wp.hooks.doAction( 'um_member_directory_loaded', directory, answer );
|
340 |
+
//jQuery( document ).trigger('um_members_rendered', [ directory, answer ] );
|
341 |
|
342 |
um_init_new_dropdown();
|
343 |
|
361 |
|
362 |
var header_template = wp.template( 'um-members-header' );
|
363 |
directory.find('.um-members-intro').remove();
|
364 |
+
|
365 |
+
var generate_header = wp.hooks.applyFilters( 'um_member_directory_generate_header', false, directory );
|
366 |
+
|
367 |
+
if ( ( typeof data.is_search != 'undefined' && data.is_search ) || generate_header ) {
|
368 |
directory.find('.um-members-wrapper').prepend( header_template( data ) );
|
369 |
}
|
370 |
|
494 |
filters_data.push( {'name':filter_name, 'label':filter_title, 'value_label':filter_value_title, 'value':filter_value[ i ], 'type':filter_type} );
|
495 |
});
|
496 |
|
497 |
+
} else if( filter.hasClass('um-text-filter-type') && filter.find('input[type="text"]').length ) {
|
498 |
|
499 |
filter_type = 'text';
|
500 |
filter_name = filter.find('input[type="text"]').attr('name');
|
533 |
filter_title = filter.find('div.um-slider-range').data('label');
|
534 |
|
535 |
filters_data.push( {'name':filter_name, 'label':filter_title, 'value_label':filter_value_title, 'value':[filter_value_from, filter_value_to], 'type':filter_type} );
|
536 |
+
} else {
|
537 |
+
|
538 |
+
filters_data = wp.hooks.applyFilters( 'um_member_directory_get_filter_data', filters_data, directory, filter );
|
539 |
+
|
540 |
}
|
541 |
});
|
542 |
|
591 |
|
592 |
|
593 |
var ignore_after_search = false;
|
594 |
+
ignore_after_search = wp.hooks.applyFilters( 'um_member_directory_ignore_after_search', ignore_after_search, directory );
|
595 |
|
596 |
if ( ! ignore_after_search ) {
|
597 |
var show_after_search = directory.data('must-search');
|
598 |
if ( show_after_search === 1 ) {
|
599 |
+
search = um_get_search( directory );
|
600 |
if ( directory.find( '.um-members-filter-remove' ).length === 0 && ! search ) {
|
601 |
directory.data( 'searched', 0 );
|
602 |
+
directory.find('.um-members-grid, .um-members-list, .um-members-intro').remove();
|
603 |
directory.find( '.um-member-directory-sorting-options' ).prop( 'disabled', true );
|
604 |
directory.find( '.um-member-directory-view-type' ).addClass( 'um-disabled' );
|
605 |
+
|
606 |
+
wp.hooks.doAction( 'um_member_directory_clear_not_searched', directory );
|
607 |
+
|
608 |
um_members_hide_preloader( directory );
|
609 |
return;
|
610 |
}
|
1077 |
return;
|
1078 |
}
|
1079 |
|
1080 |
+
um_members_show_preloader( directory );
|
1081 |
|
1082 |
var removeItem = jQuery(this).data('value');
|
1083 |
var filter_name = jQuery(this).data('name');
|
1148 |
|
1149 |
jQuery( '.um-search-filter #' + filter_name + '_from' ).val('');
|
1150 |
jQuery( '.um-search-filter #' + filter_name + '_to' ).val('');
|
1151 |
+
} else {
|
1152 |
+
wp.hooks.doAction( 'um_member_directory_filter_remove', type, directory, filter_name, removeItem );
|
1153 |
}
|
1154 |
|
1155 |
|
1167 |
}
|
1168 |
|
1169 |
var ignore_after_search = false;
|
1170 |
+
ignore_after_search = wp.hooks.applyFilters( 'um_member_directory_ignore_after_search', ignore_after_search, directory );
|
1171 |
|
1172 |
if ( ! ignore_after_search ) {
|
1173 |
var show_after_search = directory.data('must-search');
|
1175 |
var search = um_get_search( directory );
|
1176 |
if ( directory.find( '.um-members-filter-remove' ).length === 0 && ! search ) {
|
1177 |
directory.data( 'searched', 0 );
|
1178 |
+
directory.find('.um-members-grid, .um-members-list, .um-members-intro').remove();
|
1179 |
directory.find( '.um-member-directory-sorting-options' ).prop( 'disabled', true );
|
1180 |
directory.find( '.um-member-directory-view-type' ).addClass( 'um-disabled' );
|
1181 |
+
|
1182 |
+
wp.hooks.doAction( 'um_member_directory_clear_not_searched', directory );
|
1183 |
+
|
1184 |
um_members_hide_preloader( directory );
|
1185 |
return;
|
1186 |
}
|
1271 |
|
1272 |
jQuery( '.um-search-filter #' + filter_name + '_from' ).val('');
|
1273 |
jQuery( '.um-search-filter #' + filter_name + '_to' ).val('');
|
1274 |
+
} else {
|
1275 |
+
wp.hooks.doAction( 'um_member_directory_clear_filters', type, directory, filter_name, removeItem );
|
1276 |
}
|
1277 |
});
|
1278 |
|
1291 |
}
|
1292 |
|
1293 |
var ignore_after_search = false;
|
1294 |
+
ignore_after_search = wp.hooks.applyFilters( 'um_member_directory_ignore_after_search', ignore_after_search, directory );
|
1295 |
|
1296 |
if ( ! ignore_after_search ) {
|
1297 |
var show_after_search = directory.data('must-search');
|
1299 |
var search = um_get_search( directory );
|
1300 |
if ( ! search ) {
|
1301 |
directory.data( 'searched', 0 );
|
1302 |
+
directory.find('.um-members-grid, .um-members-list, .um-members-intro').remove();
|
1303 |
directory.find( '.um-member-directory-sorting-options' ).prop( 'disabled', true );
|
1304 |
directory.find( '.um-member-directory-view-type' ).addClass( 'um-disabled' );
|
1305 |
+
|
1306 |
+
wp.hooks.doAction( 'um_member_directory_clear_not_searched', directory );
|
1307 |
+
|
1308 |
um_members_hide_preloader( directory );
|
1309 |
return;
|
1310 |
}
|
1322 |
* First Page Loading
|
1323 |
*/
|
1324 |
|
1325 |
+
wp.hooks.doAction( 'um_member_directory_on_first_pages_loading' );
|
1326 |
|
1327 |
//Init Directories
|
1328 |
jQuery( '.um-directory' ).each( function() {
|
1583 |
|
1584 |
});
|
1585 |
|
1586 |
+
wp.hooks.doAction( 'um_member_directory_on_init', directory, hash );
|
1587 |
+
|
1588 |
var ignore_after_search = false;
|
1589 |
+
ignore_after_search = wp.hooks.applyFilters( 'um_member_directory_ignore_after_search', ignore_after_search, directory );
|
1590 |
|
1591 |
if ( ! ignore_after_search ) {
|
1592 |
var show_after_search = directory.data('must-search');
|
1599 |
}
|
1600 |
}
|
1601 |
|
1602 |
+
var prevent_default = wp.hooks.applyFilters( 'um_member_directory_prevent_default_first_loading', false, directory, hash );
|
1603 |
+
|
1604 |
+
if ( ! prevent_default ) {
|
1605 |
+
um_members_show_preloader( directory );
|
1606 |
+
um_ajax_get_members( directory, {first_load:true} );
|
1607 |
+
um_change_tag( directory );
|
1608 |
+
}
|
1609 |
});
|
1610 |
|
1611 |
|
1720 |
});
|
1721 |
|
1722 |
var ignore_after_search = false;
|
1723 |
+
ignore_after_search = wp.hooks.applyFilters( 'um_member_directory_ignore_after_search', ignore_after_search, directory );
|
1724 |
|
1725 |
if ( ! ignore_after_search ) {
|
1726 |
var show_after_search = directory.data('must-search');
|
1737 |
}
|
1738 |
}
|
1739 |
|
1740 |
+
var prevent_default = wp.hooks.applyFilters( 'um_member_directory_prevent_default_first_loading', false, directory, hash );
|
1741 |
|
1742 |
+
if ( ! prevent_default ) {
|
1743 |
+
um_ajax_get_members( directory );
|
1744 |
+
um_change_tag( directory );
|
1745 |
+
}
|
1746 |
});
|
1747 |
});
|
1748 |
|
assets/js/um-members.min.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
var um_members_directory_busy=[],um_member_directories=[],um_member_directory_last_data=[];function um_parse_current_url(){var t={},a=window.location.search.substring(1).split("&");return jQuery.each(a,function(e){var r=a[e].split("=");t[r[0]]=r[1]}),t}function um_get_data_for_directory(e,r){var t=um_members_get_hash(e),a={},i=um_parse_current_url();if(jQuery.each(i,function(e){-1!==e.indexOf("_"+t)&&""!==i[e]&&(a[e.replace("_"+t,"")]=i[e])}),r){if(void 0!==a[r])try{a[r]=decodeURIComponent(a[r])}catch(e){console.error(e)}return a[r]}return a}function um_set_url_from_data(e,r,t){var a=um_members_get_hash(e),i=um_get_data_for_directory(e),m={};jQuery.isArray(t)?(jQuery.each(t,function(e){t[e]=encodeURIComponent(t[e])}),t=t.join("||")):jQuery.isNumeric(t)||(t=t.split("||"),jQuery.each(t,function(e){t[e]=encodeURIComponent(t[e])}),t=t.join("||")),""!==t&&(m[r+"_"+a]=t),jQuery.each(i,function(e){r===e?""!==t&&(m[e+"_"+a]=t):m[e+"_"+a]=i[e]}),jQuery.each(um_member_directories,function(e){var r=um_member_directories[e];if(r!==a){var t=um_get_data_for_directory(jQuery('.um-directory[data-hash="'+r+'"]'));jQuery.each(t,function(e){m[e+"_"+r]=t[e]})}});var d=[];jQuery.each(m,function(e){d.push(e+"="+m[e])});var u="?"+(d=wp.hooks.applyFilters("um_member_directory_url_attrs",d)).join("&");"?"===u&&(u=""),window.history.pushState("string","UM Member Directory",window.location.origin+window.location.pathname+u)}function um_members_get_hash(e){return e.data("hash")}function um_is_directory_busy(e){var r=um_members_get_hash(e);return void 0!==um_members_directory_busy[r]&&um_members_directory_busy[r]}function um_members_show_preloader(e){um_members_directory_busy[um_members_get_hash(e)]=!0,e.find(".um-members-overlay").show()}function um_members_hide_preloader(e){um_members_directory_busy[um_members_get_hash(e)]=!1,e.find(".um-members-overlay").hide()}function um_set_range_label(e,r){var t="",a=e.siblings(".um-slider-range").data("placeholder-s"),i=e.siblings(".um-slider-range").data("placeholder-p");t=r?r.values[0]===r.values[1]?a.replace("{value}",r.values[0]).replace("{field_label}",e.siblings(".um-slider-range").data("label")):i.replace("{min_range}",r.values[0]).replace("{max_range}",r.values[1]).replace("{field_label}",e.siblings(".um-slider-range").data("label")):e.slider("values",0)===e.slider("values",1)?a.replace("{value}",e.slider("values",0)).replace("{field_label}",e.siblings(".um-slider-range").data("label")):i.replace("{min_range}",e.slider("values",0)).replace("{max_range}",e.slider("values",1)).replace("{field_label}",e.siblings(".um-slider-range").data("label")),e.siblings(".um-slider-range").html(t),e.siblings(".um_range_min").val(e.slider("values",0)),e.siblings(".um_range_max").val(e.slider("values",1))}function um_get_search(e){return e.find(".um-search-line").length?e.find(".um-search-line").val():""}function um_get_sort(e){return e.data("sorting")}function um_get_current_page(e){var r=e.data("page");return r&&void 0!==r||(r=1),r}function um_time_convert(e,r){var t=Math.floor(e/60),a=e%60;return 60<=a&&(a=0,24<=(t+=1)&&(t=0)),a<10&&(a="0"+a),t+":"+a}function um_ajax_get_members(s,e){var t=um_members_get_hash(s),r=um_get_current_page(s),a=um_get_search(s),i=um_get_sort(s),m=-(new Date).getTimezoneOffset()/60,_={directory_id:t,page:r,search:a,sorting:i,gmt_offset:m,post_refferer:s.data("base-post"),nonce:um_scripts.nonce};s.find(".um-search-filter").length&&s.find(".um-search-filter").each(function(){var e=jQuery(this);if(e.find(".um-slider").length){var r=e.find(".um-slider").data("field_name"),t=um_get_data_for_directory(s,"filter_"+r+"_from"),a=um_get_data_for_directory(s,"filter_"+r+"_to");void 0===t&&void 0===a||(_[r]=[t,a])}else if(e.find(".um-datepicker-filter").length){r=e.find(".um-datepicker-filter").data("filter_name"),t=um_get_data_for_directory(s,"filter_"+r+"_from"),a=um_get_data_for_directory(s,"filter_"+r+"_to");void 0===t&&void 0===a||(_[r]=[t,a])}else if(e.find(".um-timepicker-filter").length){r=e.find(".um-timepicker-filter").data("filter_name"),t=um_get_data_for_directory(s,"filter_"+r+"_from"),a=um_get_data_for_directory(s,"filter_"+r+"_to");if(void 0!==t)(i=1*(t=t.split(":"))[0])<10&&(i="0"+i),(d=1*t[1])<10&&(d="0"+d),t=i+":"+d+":00";if(void 0!==a){var i,m=a.split(":"),d=1*m[1];(i=1*m[0])<10&&(i="0"+i),d<10&&(d="0"+d),a=i+":"+d+":59"}void 0===t&&void 0===a||(_[r]=[t,a])}else if(e.find("select").length){r=e.find("select").attr("name");void 0!==(u=um_get_data_for_directory(s,"filter_"+r))&&(_[r]=u.split("||"))}else{var u;r=e.find('input[type="text"]').attr("name");void 0!==(u=um_get_data_for_directory(s,"filter_"+r))&&(_[r]=u)}}),_=wp.hooks.applyFilters("um_member_directory_filter_request",_),wp.ajax.send("um_get_members",{data:_,success:function(e){um_member_directory_last_data[t]=e,um_build_template(s,e);var r=wp.template("um-members-pagination");s.find(".um-members-pagination-box").html(r(e)),s.data("total_pages",e.pagination.total_pages),e.pagination.total_pages?(s.find(".um-member-directory-sorting-options").prop("disabled",!1),s.find(".um-member-directory-view-type").removeClass("um-disabled")):(s.find(".um-member-directory-sorting-options").prop("disabled",!0),s.find(".um-member-directory-view-type").addClass("um-disabled")),jQuery(document).trigger("um_members_rendered",[s,e]),um_init_new_dropdown(),um_members_hide_preloader(s)},error:function(e){console.log(e),um_members_hide_preloader(s)}})}function um_build_template(e,r){var t=e.data("view_type"),a=wp.template("um-member-"+t+"-"+um_members_get_hash(e));e.find(".um-members-grid, .um-members-list").remove(),e.find(".um-members-wrapper").prepend(a(r.users));var i=wp.template("um-members-header");e.find(".um-members-intro").remove(),void 0!==r.is_search&&r.is_search&&e.find(".um-members-wrapper").prepend(i(r)),e.addClass("um-loaded"),e.find(".um-members.um-members-grid").length&&UM_Member_Grid(e.find(".um-members.um-members-grid")),jQuery(document).trigger("um_build_template",[e,r]),jQuery(window).trigger("resize"),init_tipsy()}function UM_Member_Grid(e){e.find(".um-member").length&&e.imagesLoaded(function(){e.masonry({itemSelector:".um-member",columnWidth:".um-member",gutter:".um-gutter-sizer"}).on("layoutComplete",function(e,r){jQuery(document).trigger("um_grid_initialized",[e,r])})})}function um_get_filters_data(s){var _=[];return s.find(".um-search-filter").each(function(){var t,a,d,i=jQuery(this);if(i.find("input.um-datepicker-filter").length)d="datepicker",i.find("input.um-datepicker-filter").each(function(){if("to"!==jQuery(this).data("range")){var e=jQuery(this).data("filter_name"),r=um_get_data_for_directory(s,"filter_"+e+"_from"),t=um_get_data_for_directory(s,"filter_"+e+"_to");if(void 0!==r||void 0!==t){var a,i=jQuery(this).val(),m=s.find('input.um-datepicker-filter[data-range="to"][data-filter_name="'+e+'"]').val();i===m?a=m:""!==i&&""!==m?a=i+" - "+m:""===i?a="before "+m:""===m&&(a="since "+i),_.push({name:e,label:jQuery(this).data("filter-label"),value_label:a,value:[r,t],type:d})}}});else if(i.find("input.um-timepicker-filter").length)d="timepicker",i.find("input.um-timepicker-filter").each(function(){if("to"!==jQuery(this).data("range")){var e=jQuery(this).data("filter_name"),r=um_get_data_for_directory(s,"filter_"+e+"_from"),t=um_get_data_for_directory(s,"filter_"+e+"_to");if(void 0!==r||void 0!==t){var a,i=jQuery(this).val(),m=s.find('input.um-timepicker-filter[data-range="to"][data-filter_name="'+e+'"]').val();i===m?a=m:""!==i&&""!==m?a=i+" - "+m:""===i?a="before "+m:""===m&&(a="since "+i),_.push({name:e,label:jQuery(this).data("filter-label"),value_label:a,value:[r,t],type:d})}}});else if(i.find("select").length){d="select",t=i.find("select").attr("name"),a=i.find("select").data("placeholder"),m=void 0===(m=um_get_data_for_directory(s,"filter_"+t))?[]:m.split("||"),jQuery.each(m,function(e){var r=i.find('select option[value="'+m[e]+'"]').data("value_label");_.push({name:t,label:a,value_label:r,value:m[e],type:d})})}else if(i.find('input[type="text"]').length){var m;d="text",t=i.find('input[type="text"]').attr("name"),a=i.find('input[type="text"]').attr("placeholder"),void 0===(m=um_get_data_for_directory(s,"filter_"+t))&&(m=""),""!=m&&_.push({name:t,label:a,value_label:m,value:m,type:d})}else if(i.find("div.ui-slider").length){d="slider",t=i.find("div.ui-slider").data("field_name");var e,r=um_get_data_for_directory(s,"filter_"+t+"_from"),u=um_get_data_for_directory(s,"filter_"+t+"_to");if(void 0===r&&void 0===u)return;e=r===u?i.find("div.um-slider-range").data("placeholder-s").replace("{value}",r).replace("{field_label}",i.find("div.um-slider-range").data("label")):i.find("div.um-slider-range").data("placeholder-p").replace("{min_range}",r).replace("{max_range}",u).replace("{field_label}",i.find("div.um-slider-range").data("label")),a=i.find("div.um-slider-range").data("label"),_.push({name:t,label:a,value_label:e,value:[r,u],type:d})}}),_}function um_change_tag(e){var r=um_get_filters_data(e);e.find(".um-members-filter-tag").remove();var t=e.find(".um-filtered-line");if(t.length){var a=wp.template("um-members-filtered-line");t.prepend(a({filters:r})),0===e.find(".um-members-filter-remove").length?(e.find(".um-clear-filters").hide(),e.find(".um-clear-filters").parents(".um-member-directory-header-row").addClass("um-header-row-invisible")):(e.find(".um-clear-filters").show(),e.find(".um-clear-filters").parents(".um-member-directory-header-row").removeClass("um-header-row-invisible"))}}function um_run_search(e){if(!um_is_directory_busy(e)){um_members_show_preloader(e);var r=um_get_data_for_directory(e,"search");if((a=e.find(".um-search-line").val())===r||""===a&&void 0===r)um_members_hide_preloader(e);else{e.data("general_search",a),um_set_url_from_data(e,"search",a),e.data("page",1),um_set_url_from_data(e,"page","");var t=!1;if(!(t=wp.hooks.applyFilters("um_member_directory_ignore_after_search",t)))if(1===e.data("must-search")){var a=um_get_search(e);if(0===e.find(".um-members-filter-remove").length&&!a)return e.data("searched",0),e.find(".um-members-grid, .um-members-list").remove(),e.find(".um-member-directory-sorting-options").prop("disabled",!0),e.find(".um-member-directory-view-type").addClass("um-disabled"),void um_members_hide_preloader(e)}e.data("searched",1),e.find(".um-member-directory-sorting-options").prop("disabled",!1),e.find(".um-member-directory-view-type").removeClass("um-disabled"),um_ajax_get_members(e)}}}jQuery(document.body).ready(function(){jQuery(".um-directory .um-search-filter select").each(function(){1===jQuery(this).find("option:not(:disabled)").length&&jQuery(this).prop("disabled",!0),jQuery(this).select2("destroy").select2()}),jQuery(document.body).on("mouseover",".um-directory .um-member-directory-view-type",function(){if(!jQuery(this).hasClass("um-disabled")){var e=jQuery(this).find(".um-member-directory-view-type-a:visible");e.hide(),e.next().length?e.next().show().tipsy("show"):jQuery(this).find(".um-member-directory-view-type-a:first").show().tipsy("show")}}).on("mouseout",".um-directory .um-member-directory-view-type",function(){jQuery(this).hasClass("um-disabled")||(jQuery(this).find(".um-member-directory-view-type-a").hide().tipsy("hide"),jQuery(this).find('.um-member-directory-view-type-a[data-type="'+jQuery(this).parents(".um-directory").data("view_type")+'"]').show())}),jQuery(document.body).on("click",".um-directory .um-member-directory-view-type-a",function(){var e=jQuery(this).parents(".um-directory");if(um_is_directory_busy(e))return!1;var r=jQuery(this),t=r.parents(".um-member-directory-view-type");if(!t.hasClass("um-disabled")){um_members_show_preloader(e);var a=t.find(".um-member-directory-view-type-a:visible");a.hide(),a.next().length?a.next().show().tipsy("show"):t.find(".um-member-directory-view-type-a:first").show().tipsy("show");var i=um_member_directory_last_data[um_members_get_hash(e)];if(null!==i){var m=r.data("type");um_set_url_from_data(e,"view_type",m),e.data("view_type",m),um_build_template(e,i)}um_members_hide_preloader(e)}}),jQuery(document.body).on("click",".um-directory .um-do-search",function(){um_run_search(jQuery(this).parents(".um-directory"))}),jQuery(document.body).on("keypress",".um-directory .um-search-line",function(e){13===e.which&&um_run_search(jQuery(this).parents(".um-directory"))}),jQuery(document.body).on("click",".um-directory .um-member-directory-sorting-a .um-new-dropdown li a",function(){var e=jQuery(this).parents(".um-directory");if(!um_is_directory_busy(e)&&1!==jQuery(this).data("selected")){um_members_show_preloader(e);var r=jQuery(this).data("value");e.data("sorting",r),um_set_url_from_data(e,"sort",r),um_ajax_get_members(e),jQuery(this).parents(".um-new-dropdown").find("a").data("selected",0).prop("data-selected",0).attr("data-selected",0),jQuery(this).data("selected",1).prop("data-selected",1).attr("data-selected",1),jQuery(this).parents(".um-member-directory-sorting-a").find("> a").html(jQuery(this).html())}}),jQuery(document.body).on("click",".um-directory .pagi:not(.current)",function(){if(!jQuery(this).hasClass("disabled")){var e,r=jQuery(this).parents(".um-directory");if(!um_is_directory_busy(r))um_members_show_preloader(r),1===(e="first"===jQuery(this).data("page")?1:"prev"===jQuery(this).data("page")?1*r.data("page")-1:"next"===jQuery(this).data("page")?1*r.data("page")+1:"last"===jQuery(this).data("page")?parseInt(r.data("total_pages")):parseInt(jQuery(this).data("page")))?(r.find('.pagi[data-page="first"], .pagi[data-page="prev"]').addClass("disabled"),r.find('.pagi[data-page="prev"], .pagi[data-page="last"]').removeClass("disabled")):(e===parseInt(r.data("total_pages"))?r.find('.pagi[data-page="prev"], .pagi[data-page="last"]').addClass("disabled"):r.find('.pagi[data-page="prev"], .pagi[data-page="last"]').removeClass("disabled"),r.find('.pagi[data-page="first"], .pagi[data-page="prev"]').removeClass("disabled")),r.find(".pagi").removeClass("current"),r.find('.pagi[data-page="'+e+'"]').addClass("current"),r.data("page",e),um_set_url_from_data(r,"page",1===e?"":e),um_ajax_get_members(r)}}),jQuery(document.body).on("change",".um-directory .um-members-pagi-dropdown",function(){var e=jQuery(this).parents(".um-directory");if(!um_is_directory_busy(e)){um_members_show_preloader(e);var r=jQuery(this).val();e.find(".pagi").removeClass("current"),e.find('.pagi[data-page="'+r+'"]').addClass("current"),e.data("page",r),um_set_url_from_data(e,"page",1===r?"":r),um_ajax_get_members(e)}}),jQuery(document.body).on("click",".um-directory .um-members.um-members-list .um-member-more a",function(e){e.preventDefault();var r=jQuery(this).parents(".um-member");return r.find(".um-member-more").hide(),r.find(".um-member-meta-main").slideDown(),r.find(".um-member-less").fadeIn(),!1}),jQuery(document.body).on("click",".um-directory .um-members.um-members-list .um-member-less a",function(e){e.preventDefault();var r=jQuery(this).parents(".um-member");return r.find(".um-member-less").hide(),r.find(".um-member-meta-main").slideUp(),r.find(".um-member-more").fadeIn(),!1}),jQuery(document.body).on("click",".um-directory .um-members.um-members-grid .um-member-more a",function(e){e.preventDefault();var r=jQuery(this).parents(".um-member"),t=jQuery(this).parents(".um-members");return r.find(".um-member-more").hide(),r.find(".um-member-meta").slideDown(function(){UM_Member_Grid(t)}),r.find(".um-member-less").fadeIn(),setTimeout(function(){UM_Member_Grid(t)},100),!1}),jQuery(document.body).on("click",".um-directory .um-members.um-members-grid .um-member-less a",function(e){e.preventDefault();var r=jQuery(this).parents(".um-member"),t=jQuery(this).parents(".um-members");return r.find(".um-member-less").hide(),r.find(".um-member-meta").slideUp(function(){r.find(".um-member-more").fadeIn(),UM_Member_Grid(t)}),!1}),jQuery(".um-member-directory-filters-a").click(function(){var e=jQuery(this),r=e.parents(".um-directory").find(".um-search");r.is(":visible")?r.slideUp(250,function(){e.toggleClass("um-member-directory-filters-visible"),r.parents(".um-member-directory-header-row").toggleClass("um-header-row-invisible")}):r.slideDown({duration:250,start:function(){jQuery(this).css({display:"grid"}),e.toggleClass("um-member-directory-filters-visible"),r.parents(".um-member-directory-header-row").toggleClass("um-header-row-invisible")}})}),jQuery(document.body).on("change",".um-directory .um-search-filter select",function(){if(""!==jQuery(this).val()){var e=jQuery(this).parents(".um-directory");if(!um_is_directory_busy(e)){um_members_show_preloader(e);var r=jQuery(this).prop("name"),t=um_get_data_for_directory(e,"filter_"+r);t=void 0===t?[]:t.split("||"),-1===jQuery.inArray(jQuery(this).val(),t)&&(t.push(jQuery(this).val()),um_set_url_from_data(e,"filter_"+r,t=t.join("||")),e.data("page",1),um_set_url_from_data(e,"page","")),jQuery(this).find('option[value="'+jQuery(this).val()+'"]').prop("disabled",!0).hide(),1===jQuery(this).find("option:not(:disabled)").length&&jQuery(this).prop("disabled",!0),jQuery(this).select2("destroy").select2(),jQuery(this).val("").trigger("change"),um_ajax_get_members(e),um_change_tag(e),e.data("searched",1),e.find(".um-member-directory-sorting-options").prop("disabled",!1),e.find(".um-member-directory-view-type").removeClass("um-disabled")}}}),jQuery(document.body).on("blur",'.um-directory .um-search-filter.um-text-filter-type input[type="text"]',function(){var e=jQuery(this).parents(".um-directory");if(!um_is_directory_busy(e)){var r=jQuery(this).val(),t=jQuery(this).prop("name"),a=um_get_data_for_directory(e,"filter_"+t);void 0===a&&(a=""),r!==a&&(um_members_show_preloader(e),um_set_url_from_data(e,"filter_"+t,r),e.data("page",1),um_set_url_from_data(e,"page",""),um_ajax_get_members(e),um_change_tag(e),e.data("searched",1),e.find(".um-member-directory-sorting-options").prop("disabled",!1),e.find(".um-member-directory-view-type").removeClass("um-disabled"))}}),jQuery(document.body).on("keypress",'.um-directory .um-search-filter.um-text-filter-type input[type="text"]',function(e){if(13===e.which){var r=jQuery(this).parents(".um-directory");if(um_is_directory_busy(r))return;var t=jQuery(this).val(),a=jQuery(this).prop("name"),i=um_get_data_for_directory(r,"filter_"+a);if(void 0===i&&(i=""),t===i)return;um_members_show_preloader(r),um_set_url_from_data(r,"filter_"+a,t),r.data("page",1),um_set_url_from_data(r,"page",""),um_ajax_get_members(r),um_change_tag(r),r.data("searched",1),r.find(".um-member-directory-sorting-options").prop("disabled",!1),r.find(".um-member-directory-view-type").removeClass("um-disabled")}}),jQuery(document.body).on("click",".um-directory .um-members-filter-remove",function(){var e=jQuery(this).parents(".um-directory");if(!um_is_directory_busy(e)&&e){um_members_show_preloader(e);var r=jQuery(this).data("value"),t=jQuery(this).data("name"),a=jQuery(this).data("type");if("text"===a)um_set_url_from_data(e,"filter_"+t,""),jQuery('.um-search-filter input[name="'+t+'"]').val("");else if("select"===a){var i=um_get_data_for_directory(e,"filter_"+t);i=void 0===i?[]:i.split("||"),-1!==jQuery.inArray(r.toString(),i)&&(i=jQuery.grep(i,function(e){return e!==r.toString()})),i.length||(i=""),um_set_url_from_data(e,"filter_"+t,i);var m=jQuery('.um-search-filter select[name="'+t+'"]');m.find('option[value="'+r+'"]').prop("disabled",!1).show(),1<m.find("option:not(:disabled)").length&&m.prop("disabled",!1),m.select2("destroy").select2(),0<e.find('.um-search-filter select[data-um-parent="'+t+'"]').length&&m.trigger("change")}else if("slider"===a){um_set_url_from_data(e,"filter_"+t+"_from",""),um_set_url_from_data(e,"filter_"+t+"_to","");var d=jQuery(".um-search-filter #"+t+"_min").siblings(".um-slider"),u=d.slider("option");d.slider("values",[u.min,u.max]),jQuery(".um-search-filter #"+t+"_min").val(""),jQuery(".um-search-filter #"+t+"_max").val(""),um_set_range_label(d)}else"datepicker"===a?(um_set_url_from_data(e,"filter_"+t+"_from",""),um_set_url_from_data(e,"filter_"+t+"_to",""),jQuery(".um-search-filter #"+t+"_from").val(""),jQuery(".um-search-filter #"+t+"_to").val("")):"timepicker"===a&&(um_set_url_from_data(e,"filter_"+t+"_from",""),um_set_url_from_data(e,"filter_"+t+"_to",""),jQuery(".um-search-filter #"+t+"_from").val(""),jQuery(".um-search-filter #"+t+"_to").val(""));e.data("page",1),um_set_url_from_data(e,"page",""),jQuery(this).tipsy("hide"),jQuery(this).parents(".um-members-filter-tag").remove(),0===e.find(".um-members-filter-remove").length?e.find(".um-clear-filters").hide():e.find(".um-clear-filters").show();var s=!1;if(!(s=wp.hooks.applyFilters("um_member_directory_ignore_after_search",s)))if(1===e.data("must-search")){var _=um_get_search(e);if(0===e.find(".um-members-filter-remove").length&&!_)return e.data("searched",0),e.find(".um-members-grid, .um-members-list").remove(),e.find(".um-member-directory-sorting-options").prop("disabled",!0),e.find(".um-member-directory-view-type").addClass("um-disabled"),void um_members_hide_preloader(e)}e.find(".um-member-directory-sorting-options").prop("disabled",!1),e.find(".um-member-directory-view-type").removeClass("um-disabled"),um_ajax_get_members(e)}}),jQuery(document.body).on("click",".um-directory .um-clear-filters-a",function(){var u=jQuery(this).parents(".um-directory");if(!um_is_directory_busy(u)){um_members_show_preloader(u),u.find(".um-members-filter-remove").each(function(){var r=jQuery(this).data("value"),e=jQuery(this).data("name"),t=jQuery(this).data("type");if("text"===t)um_set_url_from_data(u,"filter_"+e,""),jQuery('.um-search-filter input[name="'+e+'"]').val("");else if("select"===t){var a=um_get_data_for_directory(u,"filter_"+e);a=void 0===a?[]:a.split("||"),-1!==jQuery.inArray(r.toString(),a)&&(a=jQuery.grep(a,function(e){return e!==r.toString()})),a.length||(a=""),um_set_url_from_data(u,"filter_"+e,a);var i=jQuery('.um-search-filter select[name="'+e+'"]');i.find('option[value="'+r+'"]').prop("disabled",!1).show(),1<i.find("option:not(:disabled)").length&&i.prop("disabled",!1),i.select2("destroy").select2(),0<u.find('.um-search-filter select[data-um-parent="'+e+'"]').length&&i.trigger("change")}else if("slider"===t){um_set_url_from_data(u,"filter_"+e+"_from",""),um_set_url_from_data(u,"filter_"+e+"_to","");var m=jQuery(".um-search-filter #"+e+"_min").siblings(".um-slider"),d=m.slider("option");m.slider("values",[d.min,d.max]),jQuery(".um-search-filter #"+e+"_min").val(""),jQuery(".um-search-filter #"+e+"_max").val(""),um_set_range_label(m)}else"datepicker"===t?(um_set_url_from_data(u,"filter_"+e+"_from",""),um_set_url_from_data(u,"filter_"+e+"_to",""),jQuery(".um-search-filter #"+e+"_from").val(""),jQuery(".um-search-filter #"+e+"_to").val("")):"timepicker"===t&&(um_set_url_from_data(u,"filter_"+e+"_from",""),um_set_url_from_data(u,"filter_"+e+"_to",""),jQuery(".um-search-filter #"+e+"_from").val(""),jQuery(".um-search-filter #"+e+"_to").val(""))}),u.data("page",1),um_set_url_from_data(u,"page",""),u.find(".um-members-filter-tag").remove(),0===u.find(".um-members-filter-remove").length?(u.find(".um-clear-filters").hide(),u.find(".um-clear-filters").parents(".um-member-directory-header-row").addClass("um-header-row-invisible")):(u.find(".um-clear-filters").show(),u.find(".um-clear-filters").parents(".um-member-directory-header-row").removeClass("um-header-row-invisible"));var e=!1;if(!(e=wp.hooks.applyFilters("um_member_directory_ignore_after_search",e)))if(1===u.data("must-search"))if(!um_get_search(u))return u.data("searched",0),u.find(".um-members-grid, .um-members-list").remove(),u.find(".um-member-directory-sorting-options").prop("disabled",!0),u.find(".um-member-directory-view-type").addClass("um-disabled"),void um_members_hide_preloader(u);u.find(".um-member-directory-sorting-options").prop("disabled",!1),u.find(".um-member-directory-view-type").removeClass("um-disabled"),um_ajax_get_members(u)}}),jQuery(".um-directory").each(function(){var e=jQuery(this),r=um_members_get_hash(e);um_member_directories.push(r),e.find(".um-search").length&&(e.find(".um-search").is(":visible")||e.find(".um-search").css({display:"grid"}).slideUp(1)),e.find(".um-slider").each(function(){var e=jQuery(this),t=e.parents(".um-directory"),a=e.data("field_name"),r=um_get_data_for_directory(t,"filter_"+a+"_from"),i=um_get_data_for_directory(t,"filter_"+a+"_to");void 0===r&&(r=parseInt(e.data("min"))),void 0===i&&(i=parseInt(e.data("max")));var m=[r,i];e.slider({range:!0,min:parseInt(e.data("min")),max:parseInt(e.data("max")),values:m,create:function(e,r){},step:1,slide:function(e,r){um_set_range_label(jQuery(this),r)},stop:function(e,r){um_is_directory_busy(t)||(um_set_url_from_data(t,"filter_"+a+"_from",r.values[0]),um_set_url_from_data(t,"filter_"+a+"_to",r.values[1]),t.data("page",1),um_set_url_from_data(t,"page",""),um_ajax_get_members(t),um_change_tag(t),t.data("searched",1),t.find(".um-member-directory-sorting-options").prop("disabled",!1),t.find(".um-member-directory-view-type").removeClass("um-disabled"))}}),um_set_range_label(e)}),e.find(".um-datepicker-filter").each(function(){var u=jQuery(this),s=new Date(1e3*u.data("date_min")),_=new Date(1e3*u.data("date_max")),e=u.pickadate({selectYears:!0,min:s,max:_,formatSubmit:"yyyy/mm/dd",hiddenName:!0,onOpen:function(){u.blur()},onClose:function(){u.blur()},onSet:function(e){if(e.select){var r=u.parents(".um-directory");if(!um_is_directory_busy(r)){um_members_show_preloader(r);var t=u.data("filter_name"),a=u.data("range"),i=um_get_data_for_directory(r,"filter_"+t+"_from"),m=um_get_data_for_directory(r,"filter_"+t+"_to");void 0===i&&(i=s/1e3),void 0===m&&(m=_/1e3);var d=e.select/1e3;u.val();"from"===a?i=d:"to"===a&&(m=d),um_set_url_from_data(r,"filter_"+t+"_from",i),um_set_url_from_data(r,"filter_"+t+"_to",m),r.data("page",1),um_set_url_from_data(r,"page",""),um_ajax_get_members(r),um_change_tag(r),r.data("searched",1),r.find(".um-member-directory-sorting-options").prop("disabled",!1),r.find(".um-member-directory-view-type").removeClass("um-disabled")}}}}).pickadate("picker"),r=u.data("filter_name"),t=u.data("range"),a=um_get_data_for_directory(u.parents(".um-directory"),"filter_"+r+"_"+t);void 0!==a&&e.set("select",1e3*a)}),e.find(".um-timepicker-filter").each(function(){var s=jQuery(this),_=s.attr("id"),o=s.data("filter_name"),n=s.attr("data-min"),l=s.attr("data-max"),e=n.split(":"),r=l.split(":"),t=s.pickatime({format:s.data("format"),interval:parseInt(s.data("intervals")),min:[e[0],e[1]],max:[r[0],r[1]],formatSubmit:"HH:i",hiddenName:!0,onOpen:function(){s.blur()},onClose:function(){s.blur()},onSet:function(e){if(e.select){var r=s.parents(".um-directory");if(!um_is_directory_busy(r)){um_members_show_preloader(r);var t=s.data("filter_name"),a=s.data("range"),i=um_get_data_for_directory(r,"filter_"+t+"_from"),m=um_get_data_for_directory(r,"filter_"+t+"_to");if(void 0===i&&(i=n),void 0===m&&(m=l),void 0!==e.select){var d=um_time_convert(e.select,a);"from"===a?i=d:"to"===a&&(m=d)}else"from"===a?i=n:"to"===a&&(m=l);var u=jQuery("#"+_).val();"from"===s.data("range")?jQuery("#"+o+"_to").pickatime("picker").set("min",u):jQuery("#"+o+"_from").pickatime("picker").set("max",u),um_set_url_from_data(r,"filter_"+t+"_from",i),um_set_url_from_data(r,"filter_"+t+"_to",m),r.data("page",1),um_set_url_from_data(r,"page",""),um_ajax_get_members(r),um_change_tag(r),r.data("searched",1),r.find(".um-member-directory-sorting-options").prop("disabled",!1),r.find(".um-member-directory-view-type").removeClass("um-disabled")}}}}).pickatime("picker"),a=s.data("filter_name"),i=s.data("range"),m=um_get_data_for_directory(s.parents(".um-directory"),"filter_"+a+"_"+i);if(void 0!==m){var d=m.split(":");t.set("select",60*d[0]+1*d[1])}});var t=!1;if(!(t=wp.hooks.applyFilters("um_member_directory_ignore_after_search",t))&&1===e.data("must-search")){var a=um_get_search(e);if(!um_get_filters_data(e).length&&!a)return}um_members_show_preloader(e),um_ajax_get_members(e,{first_load:!0}),um_change_tag(e)}),window.addEventListener("popstate",function(e){jQuery(".um-directory").each(function(){var d=jQuery(this),e=um_members_get_hash(d);(um_member_directories.push(e),um_members_show_preloader(d),d.find(".um-members-grid, .um-members-list, .um-members-intro").remove(),d.find(".um-member-directory-search-line").length)&&(void 0===(u=um_get_data_for_directory(d,"search"))&&(u=""),d.data("general_search",u),d.find(".um-search-line").val(u));var r=um_get_data_for_directory(d,"page");if(void 0===r?r=1:r>d.data("total_pages")&&(r=d.data("total_pages")),d.data("page",r).attr("data-page",r),d.find(".um-member-directory-sorting").length){var t=um_get_data_for_directory(d,"sort");void 0===t&&(t=d.find('.um-new-dropdown[data-element=".um-member-directory-sorting-a"]').find('a[data-default="1"]').data("value")),d.data("sorting",t);var a=d.find('.um-new-dropdown[data-element=".um-member-directory-sorting-a"]');a.find("a").data("selected",0).prop("data-selected",0).attr("data-selected",0),a.find('a[data-value="'+t+'"]').data("selected",1).prop("data-selected",1).attr("data-selected",1),d.find(".um-member-directory-sorting-a").find("> a").html(a.find('a[data-value="'+t+'"]').html())}if(d.find(".um-member-directory-view-type").length){var i=um_get_data_for_directory(d,"view_type");void 0===i&&(i=d.find('.um-member-directory-view-type-a[data-default="1"]').data("type")),d.data("view_type",i),d.find(".um-member-directory-view-type .um-member-directory-view-type-a").hide(),d.find('.um-member-directory-view-type .um-member-directory-view-type-a[data-type="'+i+'"]').show()}d.find(".um-datepicker-filter").each(function(){var e=jQuery(this),r=e.pickadate("picker"),t=e.data("filter_name"),a=e.data("range"),i=um_get_data_for_directory(d,"filter_"+t+"_"+a);void 0!==i?r.set("select",1e3*i):r.clear()}),d.find(".um-slider").each(function(){var e=jQuery(this),r=e.data("field_name"),t=um_get_data_for_directory(d,"filter_"+r+"_from"),a=um_get_data_for_directory(d,"filter_"+r+"_to");void 0===t&&(t=e.data("min")),t=parseInt(t),void 0===a&&(a=e.data("max")),a=parseInt(a),e.slider("values",[t,a]),um_set_range_label(e)}),d.find(".um-timepicker-filter").each(function(){var e=jQuery(this),r=e.pickatime("picker"),t=e.data("filter_name"),a=e.data("range"),i=um_get_data_for_directory(d,"filter_"+t+"_"+a);if(void 0!==i){var m=i.split(":");r.set("select",60*m[0])}else r.clear()});var m=!1;if(!(m=wp.hooks.applyFilters("um_member_directory_ignore_after_search",m))&&1===d.data("must-search")){var u=um_get_search(d);if(!um_get_filters_data(d).length&&!u)return d.data("searched",0),void um_members_hide_preloader(d);d.data("searched",1)}um_ajax_get_members(d),um_change_tag(d)})})});
|
1 |
+
var um_members_directory_busy=[],um_member_directories=[],um_member_directory_last_data=[];function um_parse_current_url(){var t={},a=window.location.search.substring(1).split("&");return jQuery.each(a,function(e){var r=a[e].split("=");t[r[0]]=r[1]}),t}function um_get_data_for_directory(e,r){var t=um_members_get_hash(e),a={},i=um_parse_current_url();if(jQuery.each(i,function(e){-1!==e.indexOf("_"+t)&&""!==i[e]&&(a[e.replace("_"+t,"")]=i[e])}),r){if(void 0!==a[r])try{a[r]=decodeURIComponent(a[r])}catch(e){console.error(e)}return a[r]}return a}function um_set_url_from_data(e,r,t){var a=um_members_get_hash(e),i=um_get_data_for_directory(e),m={};jQuery.isArray(t)?(jQuery.each(t,function(e){t[e]=encodeURIComponent(t[e])}),t=t.join("||")):jQuery.isNumeric(t)||(t=t.split("||"),jQuery.each(t,function(e){t[e]=encodeURIComponent(t[e])}),t=t.join("||")),""!==t&&(m[r+"_"+a]=t),jQuery.each(i,function(e){r===e?""!==t&&(m[e+"_"+a]=t):m[e+"_"+a]=i[e]}),jQuery.each(um_member_directories,function(e){var r=um_member_directories[e];if(r!==a){var t=um_get_data_for_directory(jQuery('.um-directory[data-hash="'+r+'"]'));jQuery.each(t,function(e){m[e+"_"+r]=t[e]})}});var d=[];jQuery.each(m,function(e){d.push(e+"="+m[e])});var s="?"+(d=wp.hooks.applyFilters("um_member_directory_url_attrs",d)).join("&");"?"===s&&(s=""),window.history.pushState("string","UM Member Directory",window.location.origin+window.location.pathname+s)}function um_members_get_hash(e){return e.data("hash")}function um_is_directory_busy(e){var r=um_members_get_hash(e);return void 0!==um_members_directory_busy[r]&&um_members_directory_busy[r]}function um_members_show_preloader(e){um_members_directory_busy[um_members_get_hash(e)]=!0,e.find(".um-members-overlay").show()}function um_members_hide_preloader(e){um_members_directory_busy[um_members_get_hash(e)]=!1,e.find(".um-members-overlay").hide()}function um_set_range_label(e,r){var t="",a=e.siblings(".um-slider-range").data("placeholder-s"),i=e.siblings(".um-slider-range").data("placeholder-p");t=r?r.values[0]===r.values[1]?a.replace("{value}",r.values[0]).replace("{field_label}",e.siblings(".um-slider-range").data("label")):i.replace("{min_range}",r.values[0]).replace("{max_range}",r.values[1]).replace("{field_label}",e.siblings(".um-slider-range").data("label")):e.slider("values",0)===e.slider("values",1)?a.replace("{value}",e.slider("values",0)).replace("{field_label}",e.siblings(".um-slider-range").data("label")):i.replace("{min_range}",e.slider("values",0)).replace("{max_range}",e.slider("values",1)).replace("{field_label}",e.siblings(".um-slider-range").data("label")),e.siblings(".um-slider-range").html(t),e.siblings(".um_range_min").val(e.slider("values",0)),e.siblings(".um_range_max").val(e.slider("values",1))}function um_get_search(e){return e.find(".um-search-line").length?e.find(".um-search-line").val():""}function um_get_sort(e){return e.data("sorting")}function um_get_current_page(e){var r=e.data("page");return r&&void 0!==r||(r=1),r}function um_time_convert(e,r){var t=Math.floor(e/60),a=e%60;return 60<=a&&(a=0,24<=(t+=1)&&(t=0)),a<10&&(a="0"+a),t+":"+a}function um_ajax_get_members(u,e){var t=um_members_get_hash(u),r=um_get_current_page(u),a=um_get_search(u),i=um_get_sort(u),m=-(new Date).getTimezoneOffset()/60,_={directory_id:t,page:r,search:a,sorting:i,gmt_offset:m,post_refferer:u.data("base-post"),nonce:um_scripts.nonce};u.find(".um-search-filter").length&&u.find(".um-search-filter").each(function(){var e=jQuery(this);if(e.find(".um-slider").length){var r=e.find(".um-slider").data("field_name"),t=um_get_data_for_directory(u,"filter_"+r+"_from"),a=um_get_data_for_directory(u,"filter_"+r+"_to");void 0===t&&void 0===a||(_[r]=[t,a])}else if(e.find(".um-datepicker-filter").length){r=e.find(".um-datepicker-filter").data("filter_name"),t=um_get_data_for_directory(u,"filter_"+r+"_from"),a=um_get_data_for_directory(u,"filter_"+r+"_to");void 0===t&&void 0===a||(_[r]=[t,a])}else if(e.find(".um-timepicker-filter").length){r=e.find(".um-timepicker-filter").data("filter_name"),t=um_get_data_for_directory(u,"filter_"+r+"_from"),a=um_get_data_for_directory(u,"filter_"+r+"_to");if(void 0!==t)(i=1*(t=t.split(":"))[0])<10&&(i="0"+i),(d=1*t[1])<10&&(d="0"+d),t=i+":"+d+":00";if(void 0!==a){var i,m=a.split(":"),d=1*m[1];(i=1*m[0])<10&&(i="0"+i),d<10&&(d="0"+d),a=i+":"+d+":59"}void 0===t&&void 0===a||(_[r]=[t,a])}else if(e.find("select").length){r=e.find("select").attr("name");void 0!==(s=um_get_data_for_directory(u,"filter_"+r))&&(_[r]=s.split("||"))}else if(e.hasClass("um-text-filter-type")&&e.find('input[type="text"]').length){var s;r=e.find('input[type="text"]').attr("name");void 0!==(s=um_get_data_for_directory(u,"filter_"+r))&&(_[r]=s)}else _=wp.hooks.applyFilters("um_member_directory_custom_filter_handler",_,e,u)}),_=wp.hooks.applyFilters("um_member_directory_filter_request",_),wp.ajax.send("um_get_members",{data:_,success:function(e){um_member_directory_last_data[t]=e,um_build_template(u,e);var r=wp.template("um-members-pagination");u.find(".um-members-pagination-box").html(r(e)),u.data("total_pages",e.pagination.total_pages),e.pagination.total_pages?(u.find(".um-member-directory-sorting-options").prop("disabled",!1),u.find(".um-member-directory-view-type").removeClass("um-disabled")):(u.find(".um-member-directory-sorting-options").prop("disabled",!0),u.find(".um-member-directory-view-type").addClass("um-disabled")),wp.hooks.doAction("um_member_directory_loaded",u,e),um_init_new_dropdown(),um_members_hide_preloader(u)},error:function(e){console.log(e),um_members_hide_preloader(u)}})}function um_build_template(e,r){var t=e.data("view_type"),a=wp.template("um-member-"+t+"-"+um_members_get_hash(e));e.find(".um-members-grid, .um-members-list").remove(),e.find(".um-members-wrapper").prepend(a(r.users));var i=wp.template("um-members-header");e.find(".um-members-intro").remove();var m=wp.hooks.applyFilters("um_member_directory_generate_header",!1,e);(void 0!==r.is_search&&r.is_search||m)&&e.find(".um-members-wrapper").prepend(i(r)),e.addClass("um-loaded"),e.find(".um-members.um-members-grid").length&&UM_Member_Grid(e.find(".um-members.um-members-grid")),jQuery(document).trigger("um_build_template",[e,r]),jQuery(window).trigger("resize"),init_tipsy()}function UM_Member_Grid(e){e.find(".um-member").length&&e.imagesLoaded(function(){e.masonry({itemSelector:".um-member",columnWidth:".um-member",gutter:".um-gutter-sizer"}).on("layoutComplete",function(e,r){jQuery(document).trigger("um_grid_initialized",[e,r])})})}function um_get_filters_data(u){var _=[];return u.find(".um-search-filter").each(function(){var t,a,d,i=jQuery(this);if(i.find("input.um-datepicker-filter").length)d="datepicker",i.find("input.um-datepicker-filter").each(function(){if("to"!==jQuery(this).data("range")){var e=jQuery(this).data("filter_name"),r=um_get_data_for_directory(u,"filter_"+e+"_from"),t=um_get_data_for_directory(u,"filter_"+e+"_to");if(void 0!==r||void 0!==t){var a,i=jQuery(this).val(),m=u.find('input.um-datepicker-filter[data-range="to"][data-filter_name="'+e+'"]').val();i===m?a=m:""!==i&&""!==m?a=i+" - "+m:""===i?a="before "+m:""===m&&(a="since "+i),_.push({name:e,label:jQuery(this).data("filter-label"),value_label:a,value:[r,t],type:d})}}});else if(i.find("input.um-timepicker-filter").length)d="timepicker",i.find("input.um-timepicker-filter").each(function(){if("to"!==jQuery(this).data("range")){var e=jQuery(this).data("filter_name"),r=um_get_data_for_directory(u,"filter_"+e+"_from"),t=um_get_data_for_directory(u,"filter_"+e+"_to");if(void 0!==r||void 0!==t){var a,i=jQuery(this).val(),m=u.find('input.um-timepicker-filter[data-range="to"][data-filter_name="'+e+'"]').val();i===m?a=m:""!==i&&""!==m?a=i+" - "+m:""===i?a="before "+m:""===m&&(a="since "+i),_.push({name:e,label:jQuery(this).data("filter-label"),value_label:a,value:[r,t],type:d})}}});else if(i.find("select").length){d="select",t=i.find("select").attr("name"),a=i.find("select").data("placeholder"),m=void 0===(m=um_get_data_for_directory(u,"filter_"+t))?[]:m.split("||"),jQuery.each(m,function(e){var r=i.find('select option[value="'+m[e]+'"]').data("value_label");_.push({name:t,label:a,value_label:r,value:m[e],type:d})})}else if(i.hasClass("um-text-filter-type")&&i.find('input[type="text"]').length){var m;d="text",t=i.find('input[type="text"]').attr("name"),a=i.find('input[type="text"]').attr("placeholder"),void 0===(m=um_get_data_for_directory(u,"filter_"+t))&&(m=""),""!=m&&_.push({name:t,label:a,value_label:m,value:m,type:d})}else if(i.find("div.ui-slider").length){d="slider",t=i.find("div.ui-slider").data("field_name");var e,r=um_get_data_for_directory(u,"filter_"+t+"_from"),s=um_get_data_for_directory(u,"filter_"+t+"_to");if(void 0===r&&void 0===s)return;e=r===s?i.find("div.um-slider-range").data("placeholder-s").replace("{value}",r).replace("{field_label}",i.find("div.um-slider-range").data("label")):i.find("div.um-slider-range").data("placeholder-p").replace("{min_range}",r).replace("{max_range}",s).replace("{field_label}",i.find("div.um-slider-range").data("label")),a=i.find("div.um-slider-range").data("label"),_.push({name:t,label:a,value_label:e,value:[r,s],type:d})}else _=wp.hooks.applyFilters("um_member_directory_get_filter_data",_,u,i)}),_}function um_change_tag(e){var r=um_get_filters_data(e);e.find(".um-members-filter-tag").remove();var t=e.find(".um-filtered-line");if(t.length){var a=wp.template("um-members-filtered-line");t.prepend(a({filters:r})),0===e.find(".um-members-filter-remove").length?(e.find(".um-clear-filters").hide(),e.find(".um-clear-filters").parents(".um-member-directory-header-row").addClass("um-header-row-invisible")):(e.find(".um-clear-filters").show(),e.find(".um-clear-filters").parents(".um-member-directory-header-row").removeClass("um-header-row-invisible"))}}function um_run_search(e){if(!um_is_directory_busy(e)){um_members_show_preloader(e);var r=um_get_data_for_directory(e,"search"),t=e.find(".um-search-line").val();if(t===r||""===t&&void 0===r)um_members_hide_preloader(e);else{e.data("general_search",t),um_set_url_from_data(e,"search",t),e.data("page",1),um_set_url_from_data(e,"page","");var a=!1;if(!(a=wp.hooks.applyFilters("um_member_directory_ignore_after_search",a,e)))if(1===e.data("must-search")&&(t=um_get_search(e),0===e.find(".um-members-filter-remove").length&&!t))return e.data("searched",0),e.find(".um-members-grid, .um-members-list, .um-members-intro").remove(),e.find(".um-member-directory-sorting-options").prop("disabled",!0),e.find(".um-member-directory-view-type").addClass("um-disabled"),wp.hooks.doAction("um_member_directory_clear_not_searched",e),void um_members_hide_preloader(e);e.data("searched",1),e.find(".um-member-directory-sorting-options").prop("disabled",!1),e.find(".um-member-directory-view-type").removeClass("um-disabled"),um_ajax_get_members(e)}}}jQuery(document.body).ready(function(){jQuery(".um-directory .um-search-filter select").each(function(){1===jQuery(this).find("option:not(:disabled)").length&&jQuery(this).prop("disabled",!0),jQuery(this).select2("destroy").select2()}),jQuery(document.body).on("mouseover",".um-directory .um-member-directory-view-type",function(){if(!jQuery(this).hasClass("um-disabled")){var e=jQuery(this).find(".um-member-directory-view-type-a:visible");e.hide(),e.next().length?e.next().show().tipsy("show"):jQuery(this).find(".um-member-directory-view-type-a:first").show().tipsy("show")}}).on("mouseout",".um-directory .um-member-directory-view-type",function(){jQuery(this).hasClass("um-disabled")||(jQuery(this).find(".um-member-directory-view-type-a").hide().tipsy("hide"),jQuery(this).find('.um-member-directory-view-type-a[data-type="'+jQuery(this).parents(".um-directory").data("view_type")+'"]').show())}),jQuery(document.body).on("click",".um-directory .um-member-directory-view-type-a",function(){var e=jQuery(this).parents(".um-directory");if(um_is_directory_busy(e))return!1;var r=jQuery(this),t=r.parents(".um-member-directory-view-type");if(!t.hasClass("um-disabled")){um_members_show_preloader(e);var a=t.find(".um-member-directory-view-type-a:visible");a.hide(),a.next().length?a.next().show().tipsy("show"):t.find(".um-member-directory-view-type-a:first").show().tipsy("show");var i=um_member_directory_last_data[um_members_get_hash(e)];if(null!==i){var m=r.data("type");um_set_url_from_data(e,"view_type",m),e.data("view_type",m),um_build_template(e,i)}um_members_hide_preloader(e)}}),jQuery(document.body).on("click",".um-directory .um-do-search",function(){um_run_search(jQuery(this).parents(".um-directory"))}),jQuery(document.body).on("keypress",".um-directory .um-search-line",function(e){13===e.which&&um_run_search(jQuery(this).parents(".um-directory"))}),jQuery(document.body).on("click",".um-directory .um-member-directory-sorting-a .um-new-dropdown li a",function(){var e=jQuery(this).parents(".um-directory");if(!um_is_directory_busy(e)&&1!==jQuery(this).data("selected")){um_members_show_preloader(e);var r=jQuery(this).data("value");e.data("sorting",r),um_set_url_from_data(e,"sort",r),um_ajax_get_members(e),jQuery(this).parents(".um-new-dropdown").find("a").data("selected",0).prop("data-selected",0).attr("data-selected",0),jQuery(this).data("selected",1).prop("data-selected",1).attr("data-selected",1),jQuery(this).parents(".um-member-directory-sorting-a").find("> a").html(jQuery(this).html())}}),jQuery(document.body).on("click",".um-directory .pagi:not(.current)",function(){if(!jQuery(this).hasClass("disabled")){var e,r=jQuery(this).parents(".um-directory");if(!um_is_directory_busy(r))um_members_show_preloader(r),1===(e="first"===jQuery(this).data("page")?1:"prev"===jQuery(this).data("page")?1*r.data("page")-1:"next"===jQuery(this).data("page")?1*r.data("page")+1:"last"===jQuery(this).data("page")?parseInt(r.data("total_pages")):parseInt(jQuery(this).data("page")))?(r.find('.pagi[data-page="first"], .pagi[data-page="prev"]').addClass("disabled"),r.find('.pagi[data-page="prev"], .pagi[data-page="last"]').removeClass("disabled")):(e===parseInt(r.data("total_pages"))?r.find('.pagi[data-page="prev"], .pagi[data-page="last"]').addClass("disabled"):r.find('.pagi[data-page="prev"], .pagi[data-page="last"]').removeClass("disabled"),r.find('.pagi[data-page="first"], .pagi[data-page="prev"]').removeClass("disabled")),r.find(".pagi").removeClass("current"),r.find('.pagi[data-page="'+e+'"]').addClass("current"),r.data("page",e),um_set_url_from_data(r,"page",1===e?"":e),um_ajax_get_members(r)}}),jQuery(document.body).on("change",".um-directory .um-members-pagi-dropdown",function(){var e=jQuery(this).parents(".um-directory");if(!um_is_directory_busy(e)){um_members_show_preloader(e);var r=jQuery(this).val();e.find(".pagi").removeClass("current"),e.find('.pagi[data-page="'+r+'"]').addClass("current"),e.data("page",r),um_set_url_from_data(e,"page",1===r?"":r),um_ajax_get_members(e)}}),jQuery(document.body).on("click",".um-directory .um-members.um-members-list .um-member-more a",function(e){e.preventDefault();var r=jQuery(this).parents(".um-member");return r.find(".um-member-more").hide(),r.find(".um-member-meta-main").slideDown(),r.find(".um-member-less").fadeIn(),!1}),jQuery(document.body).on("click",".um-directory .um-members.um-members-list .um-member-less a",function(e){e.preventDefault();var r=jQuery(this).parents(".um-member");return r.find(".um-member-less").hide(),r.find(".um-member-meta-main").slideUp(),r.find(".um-member-more").fadeIn(),!1}),jQuery(document.body).on("click",".um-directory .um-members.um-members-grid .um-member-more a",function(e){e.preventDefault();var r=jQuery(this).parents(".um-member"),t=jQuery(this).parents(".um-members");return r.find(".um-member-more").hide(),r.find(".um-member-meta").slideDown(function(){UM_Member_Grid(t)}),r.find(".um-member-less").fadeIn(),setTimeout(function(){UM_Member_Grid(t)},100),!1}),jQuery(document.body).on("click",".um-directory .um-members.um-members-grid .um-member-less a",function(e){e.preventDefault();var r=jQuery(this).parents(".um-member"),t=jQuery(this).parents(".um-members");return r.find(".um-member-less").hide(),r.find(".um-member-meta").slideUp(function(){r.find(".um-member-more").fadeIn(),UM_Member_Grid(t)}),!1}),jQuery(".um-member-directory-filters-a").click(function(){var e=jQuery(this),r=e.parents(".um-directory").find(".um-search");r.is(":visible")?r.slideUp(250,function(){e.toggleClass("um-member-directory-filters-visible"),r.parents(".um-member-directory-header-row").toggleClass("um-header-row-invisible")}):r.slideDown({duration:250,start:function(){jQuery(this).css({display:"grid"}),e.toggleClass("um-member-directory-filters-visible"),r.parents(".um-member-directory-header-row").toggleClass("um-header-row-invisible")}})}),jQuery(document.body).on("change",".um-directory .um-search-filter select",function(){if(""!==jQuery(this).val()){var e=jQuery(this).parents(".um-directory");if(!um_is_directory_busy(e)){um_members_show_preloader(e);var r=jQuery(this).prop("name"),t=um_get_data_for_directory(e,"filter_"+r);t=void 0===t?[]:t.split("||"),-1===jQuery.inArray(jQuery(this).val(),t)&&(t.push(jQuery(this).val()),um_set_url_from_data(e,"filter_"+r,t=t.join("||")),e.data("page",1),um_set_url_from_data(e,"page","")),jQuery(this).find('option[value="'+jQuery(this).val()+'"]').prop("disabled",!0).hide(),1===jQuery(this).find("option:not(:disabled)").length&&jQuery(this).prop("disabled",!0),jQuery(this).select2("destroy").select2(),jQuery(this).val("").trigger("change"),um_ajax_get_members(e),um_change_tag(e),e.data("searched",1),e.find(".um-member-directory-sorting-options").prop("disabled",!1),e.find(".um-member-directory-view-type").removeClass("um-disabled")}}}),jQuery(document.body).on("blur",'.um-directory .um-search-filter.um-text-filter-type input[type="text"]',function(){var e=jQuery(this).parents(".um-directory");if(!um_is_directory_busy(e)){var r=jQuery(this).val(),t=jQuery(this).prop("name"),a=um_get_data_for_directory(e,"filter_"+t);void 0===a&&(a=""),r!==a&&(um_members_show_preloader(e),um_set_url_from_data(e,"filter_"+t,r),e.data("page",1),um_set_url_from_data(e,"page",""),um_ajax_get_members(e),um_change_tag(e),e.data("searched",1),e.find(".um-member-directory-sorting-options").prop("disabled",!1),e.find(".um-member-directory-view-type").removeClass("um-disabled"))}}),jQuery(document.body).on("keypress",'.um-directory .um-search-filter.um-text-filter-type input[type="text"]',function(e){if(13===e.which){var r=jQuery(this).parents(".um-directory");if(um_is_directory_busy(r))return;var t=jQuery(this).val(),a=jQuery(this).prop("name"),i=um_get_data_for_directory(r,"filter_"+a);if(void 0===i&&(i=""),t===i)return;um_members_show_preloader(r),um_set_url_from_data(r,"filter_"+a,t),r.data("page",1),um_set_url_from_data(r,"page",""),um_ajax_get_members(r),um_change_tag(r),r.data("searched",1),r.find(".um-member-directory-sorting-options").prop("disabled",!1),r.find(".um-member-directory-view-type").removeClass("um-disabled")}}),jQuery(document.body).on("click",".um-directory .um-members-filter-remove",function(){var e=jQuery(this).parents(".um-directory");if(!um_is_directory_busy(e)&&e){um_members_show_preloader(e);var r=jQuery(this).data("value"),t=jQuery(this).data("name"),a=jQuery(this).data("type");if("text"===a)um_set_url_from_data(e,"filter_"+t,""),jQuery('.um-search-filter input[name="'+t+'"]').val("");else if("select"===a){var i=um_get_data_for_directory(e,"filter_"+t);i=void 0===i?[]:i.split("||"),-1!==jQuery.inArray(r.toString(),i)&&(i=jQuery.grep(i,function(e){return e!==r.toString()})),i.length||(i=""),um_set_url_from_data(e,"filter_"+t,i);var m=jQuery('.um-search-filter select[name="'+t+'"]');m.find('option[value="'+r+'"]').prop("disabled",!1).show(),1<m.find("option:not(:disabled)").length&&m.prop("disabled",!1),m.select2("destroy").select2(),0<e.find('.um-search-filter select[data-um-parent="'+t+'"]').length&&m.trigger("change")}else if("slider"===a){um_set_url_from_data(e,"filter_"+t+"_from",""),um_set_url_from_data(e,"filter_"+t+"_to","");var d=jQuery(".um-search-filter #"+t+"_min").siblings(".um-slider"),s=d.slider("option");d.slider("values",[s.min,s.max]),jQuery(".um-search-filter #"+t+"_min").val(""),jQuery(".um-search-filter #"+t+"_max").val(""),um_set_range_label(d)}else"datepicker"===a?(um_set_url_from_data(e,"filter_"+t+"_from",""),um_set_url_from_data(e,"filter_"+t+"_to",""),jQuery(".um-search-filter #"+t+"_from").val(""),jQuery(".um-search-filter #"+t+"_to").val("")):"timepicker"===a?(um_set_url_from_data(e,"filter_"+t+"_from",""),um_set_url_from_data(e,"filter_"+t+"_to",""),jQuery(".um-search-filter #"+t+"_from").val(""),jQuery(".um-search-filter #"+t+"_to").val("")):wp.hooks.doAction("um_member_directory_filter_remove",a,e,t,r);e.data("page",1),um_set_url_from_data(e,"page",""),jQuery(this).tipsy("hide"),jQuery(this).parents(".um-members-filter-tag").remove(),0===e.find(".um-members-filter-remove").length?e.find(".um-clear-filters").hide():e.find(".um-clear-filters").show();var u=!1;if(!(u=wp.hooks.applyFilters("um_member_directory_ignore_after_search",u,e)))if(1===e.data("must-search")){var _=um_get_search(e);if(0===e.find(".um-members-filter-remove").length&&!_)return e.data("searched",0),e.find(".um-members-grid, .um-members-list, .um-members-intro").remove(),e.find(".um-member-directory-sorting-options").prop("disabled",!0),e.find(".um-member-directory-view-type").addClass("um-disabled"),wp.hooks.doAction("um_member_directory_clear_not_searched",e),void um_members_hide_preloader(e)}e.find(".um-member-directory-sorting-options").prop("disabled",!1),e.find(".um-member-directory-view-type").removeClass("um-disabled"),um_ajax_get_members(e)}}),jQuery(document.body).on("click",".um-directory .um-clear-filters-a",function(){var s=jQuery(this).parents(".um-directory");if(!um_is_directory_busy(s)){um_members_show_preloader(s),s.find(".um-members-filter-remove").each(function(){var r=jQuery(this).data("value"),e=jQuery(this).data("name"),t=jQuery(this).data("type");if("text"===t)um_set_url_from_data(s,"filter_"+e,""),jQuery('.um-search-filter input[name="'+e+'"]').val("");else if("select"===t){var a=um_get_data_for_directory(s,"filter_"+e);a=void 0===a?[]:a.split("||"),-1!==jQuery.inArray(r.toString(),a)&&(a=jQuery.grep(a,function(e){return e!==r.toString()})),a.length||(a=""),um_set_url_from_data(s,"filter_"+e,a);var i=jQuery('.um-search-filter select[name="'+e+'"]');i.find('option[value="'+r+'"]').prop("disabled",!1).show(),1<i.find("option:not(:disabled)").length&&i.prop("disabled",!1),i.select2("destroy").select2(),0<s.find('.um-search-filter select[data-um-parent="'+e+'"]').length&&i.trigger("change")}else if("slider"===t){um_set_url_from_data(s,"filter_"+e+"_from",""),um_set_url_from_data(s,"filter_"+e+"_to","");var m=jQuery(".um-search-filter #"+e+"_min").siblings(".um-slider"),d=m.slider("option");m.slider("values",[d.min,d.max]),jQuery(".um-search-filter #"+e+"_min").val(""),jQuery(".um-search-filter #"+e+"_max").val(""),um_set_range_label(m)}else"datepicker"===t?(um_set_url_from_data(s,"filter_"+e+"_from",""),um_set_url_from_data(s,"filter_"+e+"_to",""),jQuery(".um-search-filter #"+e+"_from").val(""),jQuery(".um-search-filter #"+e+"_to").val("")):"timepicker"===t?(um_set_url_from_data(s,"filter_"+e+"_from",""),um_set_url_from_data(s,"filter_"+e+"_to",""),jQuery(".um-search-filter #"+e+"_from").val(""),jQuery(".um-search-filter #"+e+"_to").val("")):wp.hooks.doAction("um_member_directory_clear_filters",t,s,e,r)}),s.data("page",1),um_set_url_from_data(s,"page",""),s.find(".um-members-filter-tag").remove(),0===s.find(".um-members-filter-remove").length?(s.find(".um-clear-filters").hide(),s.find(".um-clear-filters").parents(".um-member-directory-header-row").addClass("um-header-row-invisible")):(s.find(".um-clear-filters").show(),s.find(".um-clear-filters").parents(".um-member-directory-header-row").removeClass("um-header-row-invisible"));var e=!1;if(!(e=wp.hooks.applyFilters("um_member_directory_ignore_after_search",e,s)))if(1===s.data("must-search"))if(!um_get_search(s))return s.data("searched",0),s.find(".um-members-grid, .um-members-list, .um-members-intro").remove(),s.find(".um-member-directory-sorting-options").prop("disabled",!0),s.find(".um-member-directory-view-type").addClass("um-disabled"),wp.hooks.doAction("um_member_directory_clear_not_searched",s),void um_members_hide_preloader(s);s.find(".um-member-directory-sorting-options").prop("disabled",!1),s.find(".um-member-directory-view-type").removeClass("um-disabled"),um_ajax_get_members(s)}}),wp.hooks.doAction("um_member_directory_on_first_pages_loading"),jQuery(".um-directory").each(function(){var e=jQuery(this),r=um_members_get_hash(e);um_member_directories.push(r),e.find(".um-search").length&&(e.find(".um-search").is(":visible")||e.find(".um-search").css({display:"grid"}).slideUp(1)),e.find(".um-slider").each(function(){var e=jQuery(this),t=e.parents(".um-directory"),a=e.data("field_name"),r=um_get_data_for_directory(t,"filter_"+a+"_from"),i=um_get_data_for_directory(t,"filter_"+a+"_to");void 0===r&&(r=parseInt(e.data("min"))),void 0===i&&(i=parseInt(e.data("max")));var m=[r,i];e.slider({range:!0,min:parseInt(e.data("min")),max:parseInt(e.data("max")),values:m,create:function(e,r){},step:1,slide:function(e,r){um_set_range_label(jQuery(this),r)},stop:function(e,r){um_is_directory_busy(t)||(um_set_url_from_data(t,"filter_"+a+"_from",r.values[0]),um_set_url_from_data(t,"filter_"+a+"_to",r.values[1]),t.data("page",1),um_set_url_from_data(t,"page",""),um_ajax_get_members(t),um_change_tag(t),t.data("searched",1),t.find(".um-member-directory-sorting-options").prop("disabled",!1),t.find(".um-member-directory-view-type").removeClass("um-disabled"))}}),um_set_range_label(e)}),e.find(".um-datepicker-filter").each(function(){var s=jQuery(this),u=new Date(1e3*s.data("date_min")),_=new Date(1e3*s.data("date_max")),e=s.pickadate({selectYears:!0,min:u,max:_,formatSubmit:"yyyy/mm/dd",hiddenName:!0,onOpen:function(){s.blur()},onClose:function(){s.blur()},onSet:function(e){if(e.select){var r=s.parents(".um-directory");if(!um_is_directory_busy(r)){um_members_show_preloader(r);var t=s.data("filter_name"),a=s.data("range"),i=um_get_data_for_directory(r,"filter_"+t+"_from"),m=um_get_data_for_directory(r,"filter_"+t+"_to");void 0===i&&(i=u/1e3),void 0===m&&(m=_/1e3);var d=e.select/1e3;s.val();"from"===a?i=d:"to"===a&&(m=d),um_set_url_from_data(r,"filter_"+t+"_from",i),um_set_url_from_data(r,"filter_"+t+"_to",m),r.data("page",1),um_set_url_from_data(r,"page",""),um_ajax_get_members(r),um_change_tag(r),r.data("searched",1),r.find(".um-member-directory-sorting-options").prop("disabled",!1),r.find(".um-member-directory-view-type").removeClass("um-disabled")}}}}).pickadate("picker"),r=s.data("filter_name"),t=s.data("range"),a=um_get_data_for_directory(s.parents(".um-directory"),"filter_"+r+"_"+t);void 0!==a&&e.set("select",1e3*a)}),e.find(".um-timepicker-filter").each(function(){var u=jQuery(this),_=u.attr("id"),o=u.data("filter_name"),l=u.attr("data-min"),n=u.attr("data-max"),e=l.split(":"),r=n.split(":"),t=u.pickatime({format:u.data("format"),interval:parseInt(u.data("intervals")),min:[e[0],e[1]],max:[r[0],r[1]],formatSubmit:"HH:i",hiddenName:!0,onOpen:function(){u.blur()},onClose:function(){u.blur()},onSet:function(e){if(e.select){var r=u.parents(".um-directory");if(!um_is_directory_busy(r)){um_members_show_preloader(r);var t=u.data("filter_name"),a=u.data("range"),i=um_get_data_for_directory(r,"filter_"+t+"_from"),m=um_get_data_for_directory(r,"filter_"+t+"_to");if(void 0===i&&(i=l),void 0===m&&(m=n),void 0!==e.select){var d=um_time_convert(e.select,a);"from"===a?i=d:"to"===a&&(m=d)}else"from"===a?i=l:"to"===a&&(m=n);var s=jQuery("#"+_).val();"from"===u.data("range")?jQuery("#"+o+"_to").pickatime("picker").set("min",s):jQuery("#"+o+"_from").pickatime("picker").set("max",s),um_set_url_from_data(r,"filter_"+t+"_from",i),um_set_url_from_data(r,"filter_"+t+"_to",m),r.data("page",1),um_set_url_from_data(r,"page",""),um_ajax_get_members(r),um_change_tag(r),r.data("searched",1),r.find(".um-member-directory-sorting-options").prop("disabled",!1),r.find(".um-member-directory-view-type").removeClass("um-disabled")}}}}).pickatime("picker"),a=u.data("filter_name"),i=u.data("range"),m=um_get_data_for_directory(u.parents(".um-directory"),"filter_"+a+"_"+i);if(void 0!==m){var d=m.split(":");t.set("select",60*d[0]+1*d[1])}}),wp.hooks.doAction("um_member_directory_on_init",e,r);var t=!1;if(!(t=wp.hooks.applyFilters("um_member_directory_ignore_after_search",t,e))&&1===e.data("must-search")){var a=um_get_search(e);if(!um_get_filters_data(e).length&&!a)return}wp.hooks.applyFilters("um_member_directory_prevent_default_first_loading",!1,e,r)||(um_members_show_preloader(e),um_ajax_get_members(e,{first_load:!0}),um_change_tag(e))}),window.addEventListener("popstate",function(e){jQuery(".um-directory").each(function(){var d=jQuery(this),e=um_members_get_hash(d);(um_member_directories.push(e),um_members_show_preloader(d),d.find(".um-members-grid, .um-members-list, .um-members-intro").remove(),d.find(".um-member-directory-search-line").length)&&(void 0===(s=um_get_data_for_directory(d,"search"))&&(s=""),d.data("general_search",s),d.find(".um-search-line").val(s));var r=um_get_data_for_directory(d,"page");if(void 0===r?r=1:r>d.data("total_pages")&&(r=d.data("total_pages")),d.data("page",r).attr("data-page",r),d.find(".um-member-directory-sorting").length){var t=um_get_data_for_directory(d,"sort");void 0===t&&(t=d.find('.um-new-dropdown[data-element=".um-member-directory-sorting-a"]').find('a[data-default="1"]').data("value")),d.data("sorting",t);var a=d.find('.um-new-dropdown[data-element=".um-member-directory-sorting-a"]');a.find("a").data("selected",0).prop("data-selected",0).attr("data-selected",0),a.find('a[data-value="'+t+'"]').data("selected",1).prop("data-selected",1).attr("data-selected",1),d.find(".um-member-directory-sorting-a").find("> a").html(a.find('a[data-value="'+t+'"]').html())}if(d.find(".um-member-directory-view-type").length){var i=um_get_data_for_directory(d,"view_type");void 0===i&&(i=d.find('.um-member-directory-view-type-a[data-default="1"]').data("type")),d.data("view_type",i),d.find(".um-member-directory-view-type .um-member-directory-view-type-a").hide(),d.find('.um-member-directory-view-type .um-member-directory-view-type-a[data-type="'+i+'"]').show()}d.find(".um-datepicker-filter").each(function(){var e=jQuery(this),r=e.pickadate("picker"),t=e.data("filter_name"),a=e.data("range"),i=um_get_data_for_directory(d,"filter_"+t+"_"+a);void 0!==i?r.set("select",1e3*i):r.clear()}),d.find(".um-slider").each(function(){var e=jQuery(this),r=e.data("field_name"),t=um_get_data_for_directory(d,"filter_"+r+"_from"),a=um_get_data_for_directory(d,"filter_"+r+"_to");void 0===t&&(t=e.data("min")),t=parseInt(t),void 0===a&&(a=e.data("max")),a=parseInt(a),e.slider("values",[t,a]),um_set_range_label(e)}),d.find(".um-timepicker-filter").each(function(){var e=jQuery(this),r=e.pickatime("picker"),t=e.data("filter_name"),a=e.data("range"),i=um_get_data_for_directory(d,"filter_"+t+"_"+a);if(void 0!==i){var m=i.split(":");r.set("select",60*m[0])}else r.clear()});var m=!1;if(!(m=wp.hooks.applyFilters("um_member_directory_ignore_after_search",m,d))&&1===d.data("must-search")){var s=um_get_search(d);if(!um_get_filters_data(d).length&&!s)return d.data("searched",0),void um_members_hide_preloader(d);d.data("searched",1)}wp.hooks.applyFilters("um_member_directory_prevent_default_first_loading",!1,d,e)||(um_ajax_get_members(d),um_change_tag(d))})})});
|
assets/js/um-modal.js
CHANGED
@@ -102,6 +102,14 @@ jQuery(document).ready(function() {
|
|
102 |
user_id = jQuery(this).parents('#um_upload_single').data('user_id');
|
103 |
}
|
104 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
105 |
if ( coord ) {
|
106 |
|
107 |
jQuery(this).html( jQuery(this).attr('data-processing') ).addClass('disabled');
|
@@ -116,6 +124,8 @@ jQuery(document).ready(function() {
|
|
116 |
coord : coord,
|
117 |
user_id : user_id,
|
118 |
key: key,
|
|
|
|
|
119 |
nonce: um_scripts.nonce
|
120 |
},
|
121 |
success: function( response ) {
|
102 |
user_id = jQuery(this).parents('#um_upload_single').data('user_id');
|
103 |
}
|
104 |
|
105 |
+
var form_id = 0;
|
106 |
+
var mode = '';
|
107 |
+
if ( jQuery('div.um-field-image[data-key="' + key + '"]').length === 1 ) {
|
108 |
+
var $formWrapper = jQuery('div.um-field-image[data-key="' + key + '"]').closest('.um-form');
|
109 |
+
form_id = $formWrapper.find('input[name="form_id"]').val();
|
110 |
+
mode = $formWrapper.attr('data-mode');
|
111 |
+
}
|
112 |
+
|
113 |
if ( coord ) {
|
114 |
|
115 |
jQuery(this).html( jQuery(this).attr('data-processing') ).addClass('disabled');
|
124 |
coord : coord,
|
125 |
user_id : user_id,
|
126 |
key: key,
|
127 |
+
set_id: form_id,
|
128 |
+
set_mode: mode,
|
129 |
nonce: um_scripts.nonce
|
130 |
},
|
131 |
success: function( response ) {
|
assets/js/um-modal.min.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
jQuery(document).ready(function(){jQuery(document).on("click",".um-popup-overlay",function(){remove_Modal()}),jQuery(document).on("click",'.um-modal-overlay, a[data-action="um_remove_modal"]',function(){um_remove_modal()}),jQuery(document).on("click",'a[data-modal^="um_"], span[data-modal^="um_"], .um-modal a',function(e){return e.preventDefault(),!1}),jQuery(document).on("click",".um-modal .um-single-file-preview a.cancel",function(e){e.preventDefault();var a=jQuery(this).parents(".um-modal-body"),t=jQuery(this).parents(".um-modal-body").find(".um-single-fileinfo a").attr("href"),i=a.find(".um-single-file-upload").data("set_mode");return jQuery.ajax({url:wp.ajax.settings.url,type:"post",data:{action:"um_remove_file",src:t,mode:i,nonce:um_scripts.nonce},success:function(){a.find(".um-single-file-preview").hide(),a.find(".ajax-upload-dragdrop").show(),a.find(".um-modal-btn.um-finish-upload").addClass("disabled"),um_modal_responsive()}}),!1}),jQuery(document).on("click",".um-modal .um-single-image-preview a.cancel",function(e){e.preventDefault();var a=jQuery(this).parents(".um-modal-body"),t=jQuery(this).parents(".um-modal-body").find(".um-single-image-preview img").attr("src"),i=a.find(".um-single-image-upload").data("set_mode");return jQuery.ajax({url:wp.ajax.settings.url,type:"post",data:{action:"um_remove_file",src:t,mode:i,nonce:um_scripts.nonce},success:function(){jQuery("img.cropper-hidden").cropper("destroy"),a.find(".um-single-image-preview img").attr("src",""),a.find(".um-single-image-preview").hide(),a.find(".ajax-upload-dragdrop").show(),a.find(".um-modal-btn.um-finish-upload").addClass("disabled"),um_modal_responsive()}}),!1}),jQuery(document).on("click",".um-finish-upload.file:not(.disabled)",function(){var e=jQuery(this).attr("data-key"),a=jQuery(this).parents(".um-modal-body").find(".um-single-file-preview").html();um_remove_modal(),jQuery(".um-single-file-preview[data-key="+e+"]").fadeIn().html(a);var t=jQuery(".um-field[data-key="+e+"]").find(".um-single-fileinfo a").data("file");jQuery(".um-single-file-preview[data-key="+e+"]").parents(".um-field").find(".um-btn-auto-width").html(jQuery(this).attr("data-change")),jQuery(".um-single-file-preview[data-key="+e+"]").parents(".um-field").find('input[type="hidden"]').val(t)}),jQuery(document).on("click",".um-finish-upload.image:not(.disabled)",function(){var a=jQuery(this),t=jQuery(this).attr("data-key"),e=jQuery(this).parents(".um-modal-body").find(".um-single-image-preview"),i=e.find("img").attr("src"),r=e.attr("data-coord"),u=e.find("img").data("file"),n=0;jQuery(this).parents("#um_upload_single").data("user_id")&&(n=jQuery(this).parents("#um_upload_single").data("user_id")),r?(jQuery(this).html(jQuery(this).attr("data-processing")).addClass("disabled"),jQuery.ajax({url:wp.ajax.settings.url,type:"POST",dataType:"json",data:{action:"um_resize_image",src:i,coord:r,user_id:n,key:t,nonce:um_scripts.nonce},success:function(e){e.success&&(d=new Date,"profile_photo"===t?jQuery(".um-profile-photo-img img").attr("src",e.data.image.source_url+"?"+d.getTime()):"cover_photo"===t&&(jQuery(".um-cover-e").empty().html('<img src="'+e.data.image.source_url+"?"+d.getTime()+'" alt="" />'),jQuery(".um").hasClass("um-editing")&&jQuery(".um-cover-overlay").show()),jQuery(".um-single-image-preview[data-key="+t+"]").fadeIn().find("img").attr("src",e.data.image.source_url+"?"+d.getTime()),um_remove_modal(),jQuery("img.cropper-invisible").remove(),jQuery(".um-single-image-preview[data-key="+t+"]").parents(".um-field").find(".um-btn-auto-width").html(a.attr("data-change")),jQuery(".um-single-image-preview[data-key="+t+"]").parents(".um-field").find('input[type="hidden"]').val(e.data.image.filename))}})):(d=new Date,jQuery(".um-single-image-preview[data-key="+t+"]").fadeIn().find("img").attr("src",i+"?"+d.getTime()),um_remove_modal(),jQuery(".um-single-image-preview[data-key="+t+"]").parents(".um-field").find(".um-btn-auto-width").html(a.attr("data-change")),jQuery(".um-single-image-preview[data-key="+t+"]").parents(".um-field").find("input[type=hidden]").val(u))}),jQuery(document.body).on("click",'a[data-modal^="um_"], span[data-modal^="um_"]',function(e){var a=jQuery(this).attr("data-modal"),t="normal";if(jQuery(this).data("modal-size"))t=jQuery(this).data("modal-size");jQuery(this).data("modal-copy")&&(jQuery("#"+a).html(jQuery(this).parents(".um-field").find(".um-modal-hidden-content").html()),jQuery(this).parents(".um-profile-photo").attr("data-user_id")&&jQuery("#"+a).attr("data-user_id",jQuery(this).parents(".um-profile-photo").attr("data-user_id")),jQuery(this).parents(".um-cover").attr("data-ratio")&&jQuery("#"+a).attr("data-ratio",jQuery(this).parents(".um-cover").attr("data-ratio")),jQuery(this).parents(".um-cover").attr("data-user_id")&&jQuery("#"+a).attr("data-user_id",jQuery(this).parents(".um-cover").attr("data-user_id")),0<jQuery("input[type=hidden][name='user_id']").length&&jQuery("#"+a).attr("data-user_id",jQuery("input[type=hidden][name='user_id']").val())),um_new_modal(a,t)})});
|
1 |
+
jQuery(document).ready(function(){jQuery(document).on("click",".um-popup-overlay",function(){remove_Modal()}),jQuery(document).on("click",'.um-modal-overlay, a[data-action="um_remove_modal"]',function(){um_remove_modal()}),jQuery(document).on("click",'a[data-modal^="um_"], span[data-modal^="um_"], .um-modal a',function(e){return e.preventDefault(),!1}),jQuery(document).on("click",".um-modal .um-single-file-preview a.cancel",function(e){e.preventDefault();var a=jQuery(this).parents(".um-modal-body"),t=jQuery(this).parents(".um-modal-body").find(".um-single-fileinfo a").attr("href"),i=a.find(".um-single-file-upload").data("set_mode");return jQuery.ajax({url:wp.ajax.settings.url,type:"post",data:{action:"um_remove_file",src:t,mode:i,nonce:um_scripts.nonce},success:function(){a.find(".um-single-file-preview").hide(),a.find(".ajax-upload-dragdrop").show(),a.find(".um-modal-btn.um-finish-upload").addClass("disabled"),um_modal_responsive()}}),!1}),jQuery(document).on("click",".um-modal .um-single-image-preview a.cancel",function(e){e.preventDefault();var a=jQuery(this).parents(".um-modal-body"),t=jQuery(this).parents(".um-modal-body").find(".um-single-image-preview img").attr("src"),i=a.find(".um-single-image-upload").data("set_mode");return jQuery.ajax({url:wp.ajax.settings.url,type:"post",data:{action:"um_remove_file",src:t,mode:i,nonce:um_scripts.nonce},success:function(){jQuery("img.cropper-hidden").cropper("destroy"),a.find(".um-single-image-preview img").attr("src",""),a.find(".um-single-image-preview").hide(),a.find(".ajax-upload-dragdrop").show(),a.find(".um-modal-btn.um-finish-upload").addClass("disabled"),um_modal_responsive()}}),!1}),jQuery(document).on("click",".um-finish-upload.file:not(.disabled)",function(){var e=jQuery(this).attr("data-key"),a=jQuery(this).parents(".um-modal-body").find(".um-single-file-preview").html();um_remove_modal(),jQuery(".um-single-file-preview[data-key="+e+"]").fadeIn().html(a);var t=jQuery(".um-field[data-key="+e+"]").find(".um-single-fileinfo a").data("file");jQuery(".um-single-file-preview[data-key="+e+"]").parents(".um-field").find(".um-btn-auto-width").html(jQuery(this).attr("data-change")),jQuery(".um-single-file-preview[data-key="+e+"]").parents(".um-field").find('input[type="hidden"]').val(t)}),jQuery(document).on("click",".um-finish-upload.image:not(.disabled)",function(){var a=jQuery(this),t=jQuery(this).attr("data-key"),e=jQuery(this).parents(".um-modal-body").find(".um-single-image-preview"),i=e.find("img").attr("src"),r=e.attr("data-coord"),u=e.find("img").data("file"),n=0;jQuery(this).parents("#um_upload_single").data("user_id")&&(n=jQuery(this).parents("#um_upload_single").data("user_id"));var m=0,o="";if(1===jQuery('div.um-field-image[data-key="'+t+'"]').length){var s=jQuery('div.um-field-image[data-key="'+t+'"]').closest(".um-form");m=s.find('input[name="form_id"]').val(),o=s.attr("data-mode")}r?(jQuery(this).html(jQuery(this).attr("data-processing")).addClass("disabled"),jQuery.ajax({url:wp.ajax.settings.url,type:"POST",dataType:"json",data:{action:"um_resize_image",src:i,coord:r,user_id:n,key:t,set_id:m,set_mode:o,nonce:um_scripts.nonce},success:function(e){e.success&&(d=new Date,"profile_photo"===t?jQuery(".um-profile-photo-img img").attr("src",e.data.image.source_url+"?"+d.getTime()):"cover_photo"===t&&(jQuery(".um-cover-e").empty().html('<img src="'+e.data.image.source_url+"?"+d.getTime()+'" alt="" />'),jQuery(".um").hasClass("um-editing")&&jQuery(".um-cover-overlay").show()),jQuery(".um-single-image-preview[data-key="+t+"]").fadeIn().find("img").attr("src",e.data.image.source_url+"?"+d.getTime()),um_remove_modal(),jQuery("img.cropper-invisible").remove(),jQuery(".um-single-image-preview[data-key="+t+"]").parents(".um-field").find(".um-btn-auto-width").html(a.attr("data-change")),jQuery(".um-single-image-preview[data-key="+t+"]").parents(".um-field").find('input[type="hidden"]').val(e.data.image.filename))}})):(d=new Date,jQuery(".um-single-image-preview[data-key="+t+"]").fadeIn().find("img").attr("src",i+"?"+d.getTime()),um_remove_modal(),jQuery(".um-single-image-preview[data-key="+t+"]").parents(".um-field").find(".um-btn-auto-width").html(a.attr("data-change")),jQuery(".um-single-image-preview[data-key="+t+"]").parents(".um-field").find("input[type=hidden]").val(u))}),jQuery(document.body).on("click",'a[data-modal^="um_"], span[data-modal^="um_"]',function(e){var a=jQuery(this).attr("data-modal"),t="normal";if(jQuery(this).data("modal-size"))t=jQuery(this).data("modal-size");jQuery(this).data("modal-copy")&&(jQuery("#"+a).html(jQuery(this).parents(".um-field").find(".um-modal-hidden-content").html()),jQuery(this).parents(".um-profile-photo").attr("data-user_id")&&jQuery("#"+a).attr("data-user_id",jQuery(this).parents(".um-profile-photo").attr("data-user_id")),jQuery(this).parents(".um-cover").attr("data-ratio")&&jQuery("#"+a).attr("data-ratio",jQuery(this).parents(".um-cover").attr("data-ratio")),jQuery(this).parents(".um-cover").attr("data-user_id")&&jQuery("#"+a).attr("data-user_id",jQuery(this).parents(".um-cover").attr("data-user_id")),0<jQuery("input[type=hidden][name='user_id']").length&&jQuery("#"+a).attr("data-user_id",jQuery("input[type=hidden][name='user_id']").val())),um_new_modal(a,t)})});
|
includes/admin/assets/css/um-admin-forms.css
CHANGED
@@ -14,6 +14,11 @@
|
|
14 |
padding: 0 0 15px 0;
|
15 |
}
|
16 |
|
|
|
|
|
|
|
|
|
|
|
17 |
.um-form-table.um-top-label .um-forms-line[data-field_type="icon"] td label {
|
18 |
width: 100%;
|
19 |
display: block;
|
@@ -362,4 +367,34 @@ textarea.um-forms-field.um-small-field {
|
|
362 |
.um-forms-line[data-field_type="same_page_update"] th,
|
363 |
.um-forms-line[data-field_type="same_page_update"] td {
|
364 |
vertical-align: baseline;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
365 |
}
|
14 |
padding: 0 0 15px 0;
|
15 |
}
|
16 |
|
17 |
+
.um-form-table.um-top-label .um-forms-line td label {
|
18 |
+
margin: 0 0 5px 0;
|
19 |
+
display: inline-block;
|
20 |
+
}
|
21 |
+
|
22 |
.um-form-table.um-top-label .um-forms-line[data-field_type="icon"] td label {
|
23 |
width: 100%;
|
24 |
display: block;
|
367 |
.um-forms-line[data-field_type="same_page_update"] th,
|
368 |
.um-forms-line[data-field_type="same_page_update"] td {
|
369 |
vertical-align: baseline;
|
370 |
+
}
|
371 |
+
|
372 |
+
.um-sortable-items-field .um-sortable-item {
|
373 |
+
cursor: move !important;
|
374 |
+
padding: 5px;
|
375 |
+
box-sizing: border-box;
|
376 |
+
-moz-box-sizing: border-box;
|
377 |
+
-webkit-box-sizing: border-box;
|
378 |
+
border: 1px solid #7e8993;
|
379 |
+
border-radius: 4px;
|
380 |
+
-moz-border-radius: 4px;
|
381 |
+
background: #f1f1f1;
|
382 |
+
height: 42px;
|
383 |
+
line-height: 28px;
|
384 |
+
display: flex;
|
385 |
+
flex-direction: row;
|
386 |
+
justify-content: flex-start;
|
387 |
+
align-items: center;
|
388 |
+
flex-wrap: nowrap;
|
389 |
+
}
|
390 |
+
|
391 |
+
.um-sortable-items-field .um-sortable-item.um-hidden-item {
|
392 |
+
display: none;
|
393 |
+
}
|
394 |
+
|
395 |
+
.um-sortable-items-field .um-sortable-item .um-field-icon {
|
396 |
+
font-size: 18px;
|
397 |
+
width: 20px;
|
398 |
+
text-align: left;
|
399 |
+
margin: 0 10px 0 0;
|
400 |
}
|
includes/admin/assets/css/um-admin-modal.css
CHANGED
@@ -123,10 +123,22 @@
|
|
123 |
}
|
124 |
|
125 |
.um-admin-infobox p {
|
126 |
-
border-top: 1px solid #e5e5e5;
|
127 |
padding-top: 15px;
|
128 |
}
|
129 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
130 |
.um-admin-infobox label {
|
131 |
font-weight: bold;
|
132 |
display: block;
|
123 |
}
|
124 |
|
125 |
.um-admin-infobox p {
|
|
|
126 |
padding-top: 15px;
|
127 |
}
|
128 |
|
129 |
+
.um-admin-infobox > p:not(:first-child) {
|
130 |
+
border-top: 1px solid #e5e5e5;
|
131 |
+
}
|
132 |
+
|
133 |
+
.um-admin-infobox > .um-row > p {
|
134 |
+
border-top: 1px solid #e5e5e5;
|
135 |
+
}
|
136 |
+
|
137 |
+
.um-admin-infobox > p:first-child {
|
138 |
+
margin-top: 0;
|
139 |
+
padding-top: 0;
|
140 |
+
}
|
141 |
+
|
142 |
.um-admin-infobox label {
|
143 |
font-weight: bold;
|
144 |
display: block;
|
includes/admin/assets/js/um-admin-forms.js
CHANGED
@@ -139,6 +139,24 @@ jQuery(document).ready( function() {
|
|
139 |
um_add_same_page_log( field_key, wp.i18n.__( 'Your upgrade was crashed, please contact with support', 'ultimate-member' ) );
|
140 |
}
|
141 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
142 |
|
143 |
|
144 |
/**
|
@@ -836,45 +854,95 @@ jQuery(document).ready( function() {
|
|
836 |
}
|
837 |
|
838 |
} else if ( condition === '~' ) {
|
839 |
-
|
840 |
-
var field_id = form_line.find( form_line.data('field_type') ).data('field_id');
|
841 |
var visible_options = [];
|
842 |
-
|
843 |
-
var condition_field = condition_fields[ i ];
|
844 |
|
845 |
-
|
|
|
846 |
|
847 |
-
|
848 |
-
var
|
849 |
-
|
850 |
-
|
851 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
852 |
}
|
853 |
}
|
854 |
-
}
|
855 |
-
|
856 |
-
|
857 |
-
|
858 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
859 |
}
|
860 |
-
}
|
|
|
861 |
|
862 |
-
|
|
|
863 |
|
864 |
-
|
865 |
-
|
866 |
-
|
867 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
868 |
});
|
869 |
-
|
870 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
871 |
lines_field.find( 'option' ).attr( 'selected', false ).prop( 'selected', false );
|
872 |
-
lines_field.find( 'option[value="' + visible_options[0] + '"]' ).attr( 'selected', true ).prop( 'selected', true );
|
873 |
}
|
874 |
-
own_condition = true;
|
875 |
-
} else {
|
876 |
-
lines_field.val( null );
|
877 |
-
lines_field.find( 'option' ).attr( 'selected', false ).prop( 'selected', false );
|
878 |
}
|
879 |
|
880 |
return ( own_condition && parent_condition );
|
139 |
um_add_same_page_log( field_key, wp.i18n.__( 'Your upgrade was crashed, please contact with support', 'ultimate-member' ) );
|
140 |
}
|
141 |
|
142 |
+
/**
|
143 |
+
* Sortable items
|
144 |
+
*/
|
145 |
+
jQuery('.um-sortable-items-field').sortable({
|
146 |
+
items: '.um-sortable-item',
|
147 |
+
connectWith: '.um-admin-drag-col,.um-admin-drag-group',
|
148 |
+
forcePlaceholderSize: true,
|
149 |
+
update: function( event, ui ) {
|
150 |
+
var sortable_value = [];
|
151 |
+
jQuery(this).find('li').each( function() {
|
152 |
+
if ( ! jQuery(this).hasClass( 'um-hidden-item' ) ) {
|
153 |
+
sortable_value.push( jQuery(this).data('tab-id') );
|
154 |
+
}
|
155 |
+
});
|
156 |
+
|
157 |
+
jQuery(this).siblings('.um-sortable-items-value' ).val( sortable_value.join( ',' ) );
|
158 |
+
}
|
159 |
+
});
|
160 |
|
161 |
|
162 |
/**
|
854 |
}
|
855 |
|
856 |
} else if ( condition === '~' ) {
|
857 |
+
var field_id;
|
|
|
858 |
var visible_options = [];
|
859 |
+
var lines_field;
|
|
|
860 |
|
861 |
+
if ( form_line.data('field_type') === 'sortable_items' ) {
|
862 |
+
field_id = form_line.find( '.um-sortable-items-value' ).data('field_id');
|
863 |
|
864 |
+
jQuery.each( condition_fields, function(i) {
|
865 |
+
var condition_field = condition_fields[ i ];
|
866 |
+
|
867 |
+
var tagName = condition_field.prop("tagName").toLowerCase();
|
868 |
+
|
869 |
+
if ( tagName === 'input' ) {
|
870 |
+
var input_type = condition_field.attr('type');
|
871 |
+
if ( input_type === 'checkbox' ) {
|
872 |
+
if ( value == '1' && condition_field.is(':checked') ) {
|
873 |
+
visible_options.push( condition_field.data( 'fill_' + field_id ) );
|
874 |
+
}
|
875 |
+
}
|
876 |
+
} else if ( tagName == 'select' ) {
|
877 |
+
if ( ! value && condition_field.val() ) {
|
878 |
+
visible_options = visible_options.concat( condition_field.val() );
|
879 |
+
visible_options = visible_options.filter( um_distinct );
|
880 |
}
|
881 |
}
|
882 |
+
});
|
883 |
+
|
884 |
+
lines_field = jQuery( '[data-field_id="' + field_id + '"]' );
|
885 |
+
|
886 |
+
if ( visible_options.length ) {
|
887 |
+
lines_field.siblings('.um-sortable-items-field').find('li').addClass('um-hidden-item');
|
888 |
+
jQuery.each( visible_options, function(i) {
|
889 |
+
lines_field.siblings('.um-sortable-items-field').find('li[data-tab-id="' + visible_options[ i ] + '"]').removeClass('um-hidden-item');
|
890 |
+
});
|
891 |
+
|
892 |
+
var sortable_value = [];
|
893 |
+
lines_field.siblings('.um-sortable-items-field').find('li').each( function() {
|
894 |
+
if ( ! jQuery(this).hasClass( 'um-hidden-item' ) ) {
|
895 |
+
sortable_value.push( jQuery(this).data('tab-id') );
|
896 |
+
}
|
897 |
+
});
|
898 |
+
|
899 |
+
lines_field.val( sortable_value.join( ',' ) );
|
900 |
+
lines_field.siblings( '.um-sortable-items-field' ).sortable( 'refresh' );
|
901 |
+
|
902 |
+
own_condition = true;
|
903 |
+
} else {
|
904 |
+
lines_field.val( null );
|
905 |
}
|
906 |
+
} else {
|
907 |
+
field_id = form_line.find( form_line.data('field_type') ).data('field_id');
|
908 |
|
909 |
+
jQuery.each( condition_fields, function(i) {
|
910 |
+
var condition_field = condition_fields[ i ];
|
911 |
|
912 |
+
var tagName = condition_field.prop("tagName").toLowerCase();
|
913 |
+
|
914 |
+
if ( tagName === 'input' ) {
|
915 |
+
var input_type = condition_field.attr('type');
|
916 |
+
if ( input_type === 'checkbox' ) {
|
917 |
+
if ( value == '1' && condition_field.is(':checked') ) {
|
918 |
+
visible_options.push( condition_field.data( 'fill_' + field_id ) );
|
919 |
+
}
|
920 |
+
}
|
921 |
+
} else if ( tagName == 'select' ) {
|
922 |
+
if ( ! value && condition_field.val() ) {
|
923 |
+
visible_options = visible_options.concat( condition_field.val() );
|
924 |
+
visible_options = visible_options.filter( um_distinct );
|
925 |
+
}
|
926 |
+
}
|
927 |
});
|
928 |
+
|
929 |
+
lines_field = jQuery( '[data-field_id="' + field_id + '"]' );
|
930 |
+
|
931 |
+
if ( visible_options.length ) {
|
932 |
+
lines_field.find( 'option' ).hide();
|
933 |
+
jQuery.each( visible_options, function(i) {
|
934 |
+
lines_field.find( 'option[value="' + visible_options[ i ] + '"]' ).show();
|
935 |
+
});
|
936 |
+
if ( visible_options.indexOf( lines_field.val() ) === -1 ) {
|
937 |
+
lines_field.val( visible_options[0] );
|
938 |
+
lines_field.find( 'option' ).attr( 'selected', false ).prop( 'selected', false );
|
939 |
+
lines_field.find( 'option[value="' + visible_options[0] + '"]' ).attr( 'selected', true ).prop( 'selected', true );
|
940 |
+
}
|
941 |
+
own_condition = true;
|
942 |
+
} else {
|
943 |
+
lines_field.val( null );
|
944 |
lines_field.find( 'option' ).attr( 'selected', false ).prop( 'selected', false );
|
|
|
945 |
}
|
|
|
|
|
|
|
|
|
946 |
}
|
947 |
|
948 |
return ( own_condition && parent_condition );
|
includes/admin/assets/js/um-admin-modal.js
CHANGED
@@ -37,7 +37,7 @@ function um_admin_new_modal( id, ajax, size ) {
|
|
37 |
function um_tinymce_init( id, content ) {
|
38 |
var object = jQuery('#' + id);
|
39 |
|
40 |
-
if ( tinyMCE.get( id ) !== null ) {
|
41 |
tinyMCE.triggerSave();
|
42 |
tinyMCE.EditorManager.execCommand( 'mceRemoveEditor', true, id );
|
43 |
"4" === tinyMCE.majorVersion ? window.tinyMCE.execCommand( "mceRemoveEditor", !0, id ) : window.tinyMCE.execCommand( "mceRemoveControl", !0, id );
|
@@ -55,7 +55,9 @@ function um_tinymce_init( id, content ) {
|
|
55 |
QTags( tinyMCEPreInit.qtInit[ id ] );
|
56 |
QTags._buttonsInit();
|
57 |
}
|
58 |
-
window.switchEditors
|
|
|
|
|
59 |
tinyMCE.init( init );
|
60 |
tinyMCE.get( id ).setContent( content );
|
61 |
object.html( content );
|
@@ -77,7 +79,7 @@ function um_tinymce_init( id, content ) {
|
|
77 |
jQuery( 'body' ).on( 'click', '.wp-switch-editor', function() {
|
78 |
var target = jQuery(this);
|
79 |
|
80 |
-
if ( target.hasClass( 'wp-switch-editor' ) ) {
|
81 |
var mode = target.hasClass( 'switch-tmce' ) ? 'tmce' : 'html';
|
82 |
window.switchEditors.go( id, mode );
|
83 |
}
|
@@ -409,12 +411,12 @@ jQuery(document).ready(function() {
|
|
409 |
jQuery(document.body).on('click', 'span.um-admin-icon-clear', function(){
|
410 |
var element = jQuery(this).parents('p');
|
411 |
jQuery('#UM_fonticons a.um-admin-modal-back').attr('data-code', '');
|
412 |
-
element.find('input[type=hidden]').val('');
|
413 |
-
element.find('.um-admin-icon-value').html('No Icon');
|
414 |
|
415 |
element = jQuery(this).parents('td');
|
416 |
-
element.find('input[type=hidden]').val('');
|
417 |
-
element.find('.um-admin-icon-value').html('No Icon');
|
418 |
jQuery(this).hide();
|
419 |
});
|
420 |
|
@@ -422,7 +424,7 @@ jQuery(document).ready(function() {
|
|
422 |
search font icons
|
423 |
**/
|
424 |
jQuery(document.body).on('keyup blur', '#_icon_search', function(){
|
425 |
-
if ( jQuery(this).val().toLowerCase()
|
426 |
jQuery('.um-admin-icons span').hide();
|
427 |
jQuery('.um-admin-icons span[data-code*="'+jQuery(this).val().toLowerCase()+'"]').show();
|
428 |
} else {
|
37 |
function um_tinymce_init( id, content ) {
|
38 |
var object = jQuery('#' + id);
|
39 |
|
40 |
+
if ( typeof( tinyMCE ) === 'object' && tinyMCE.get( id ) !== null ) {
|
41 |
tinyMCE.triggerSave();
|
42 |
tinyMCE.EditorManager.execCommand( 'mceRemoveEditor', true, id );
|
43 |
"4" === tinyMCE.majorVersion ? window.tinyMCE.execCommand( "mceRemoveEditor", !0, id ) : window.tinyMCE.execCommand( "mceRemoveControl", !0, id );
|
55 |
QTags( tinyMCEPreInit.qtInit[ id ] );
|
56 |
QTags._buttonsInit();
|
57 |
}
|
58 |
+
if ( typeof( window.switchEditors ) === 'object' ) {
|
59 |
+
window.switchEditors.go( id );
|
60 |
+
}
|
61 |
tinyMCE.init( init );
|
62 |
tinyMCE.get( id ).setContent( content );
|
63 |
object.html( content );
|
79 |
jQuery( 'body' ).on( 'click', '.wp-switch-editor', function() {
|
80 |
var target = jQuery(this);
|
81 |
|
82 |
+
if ( target.hasClass( 'wp-switch-editor' ) && typeof( window.switchEditors ) === 'object' ) {
|
83 |
var mode = target.hasClass( 'switch-tmce' ) ? 'tmce' : 'html';
|
84 |
window.switchEditors.go( id, mode );
|
85 |
}
|
411 |
jQuery(document.body).on('click', 'span.um-admin-icon-clear', function(){
|
412 |
var element = jQuery(this).parents('p');
|
413 |
jQuery('#UM_fonticons a.um-admin-modal-back').attr('data-code', '');
|
414 |
+
element.find('input[type="hidden"]').val('');
|
415 |
+
element.find('.um-admin-icon-value').html( wp.i18n.__( 'No Icon', 'ultimate-member' ) );
|
416 |
|
417 |
element = jQuery(this).parents('td');
|
418 |
+
element.find('input[type="hidden"]').val('');
|
419 |
+
element.find('.um-admin-icon-value').html( wp.i18n.__( 'No Icon', 'ultimate-member' ) );
|
420 |
jQuery(this).hide();
|
421 |
});
|
422 |
|
424 |
search font icons
|
425 |
**/
|
426 |
jQuery(document.body).on('keyup blur', '#_icon_search', function(){
|
427 |
+
if ( jQuery(this).val().toLowerCase() !== '' ) {
|
428 |
jQuery('.um-admin-icons span').hide();
|
429 |
jQuery('.um-admin-icons span[data-code*="'+jQuery(this).val().toLowerCase()+'"]').show();
|
430 |
} else {
|
includes/admin/assets/js/um-admin-role-wrapper.js
CHANGED
@@ -9,8 +9,14 @@ jQuery( document ).ready( function() {
|
|
9 |
if ( jQuery.inArray( jQuery(this).val().substr(3), um_roles ) !== -1 ) {
|
10 |
jQuery( '#um_role_selector_wrapper' ).hide();
|
11 |
jQuery( '#um-role' ).val('');
|
|
|
|
|
|
|
|
|
|
|
12 |
} else {
|
13 |
jQuery( '#um_role_selector_wrapper' ).show();
|
|
|
14 |
}
|
15 |
}).trigger('change');
|
16 |
|
@@ -22,8 +28,14 @@ jQuery( document ).ready( function() {
|
|
22 |
if ( jQuery.inArray( jQuery(this).val().substr(3), um_roles ) !== -1 ) {
|
23 |
jQuery( '#um_role_existing_selector_wrapper' ).hide();
|
24 |
jQuery( '#um-role' ).val('');
|
|
|
|
|
|
|
|
|
|
|
25 |
} else {
|
26 |
jQuery( '#um_role_existing_selector_wrapper' ).show();
|
|
|
27 |
}
|
28 |
}).trigger('change');
|
29 |
|
9 |
if ( jQuery.inArray( jQuery(this).val().substr(3), um_roles ) !== -1 ) {
|
10 |
jQuery( '#um_role_selector_wrapper' ).hide();
|
11 |
jQuery( '#um-role' ).val('');
|
12 |
+
|
13 |
+
var hide = wp.hooks.applyFilters( 'um_user_screen_block_hiding', true );
|
14 |
+
if ( hide ) {
|
15 |
+
jQuery( '#um_user_screen_block' ).hide();
|
16 |
+
}
|
17 |
} else {
|
18 |
jQuery( '#um_role_selector_wrapper' ).show();
|
19 |
+
jQuery( '#um_user_screen_block' ).show();
|
20 |
}
|
21 |
}).trigger('change');
|
22 |
|
28 |
if ( jQuery.inArray( jQuery(this).val().substr(3), um_roles ) !== -1 ) {
|
29 |
jQuery( '#um_role_existing_selector_wrapper' ).hide();
|
30 |
jQuery( '#um-role' ).val('');
|
31 |
+
|
32 |
+
var hide = wp.hooks.applyFilters( 'um_user_screen_block_hiding', true );
|
33 |
+
if ( hide ) {
|
34 |
+
jQuery( '#um_user_screen_block' ).hide();
|
35 |
+
}
|
36 |
} else {
|
37 |
jQuery( '#um_role_existing_selector_wrapper' ).show();
|
38 |
+
jQuery( '#um_user_screen_block' ).show();
|
39 |
}
|
40 |
}).trigger('change');
|
41 |
|
includes/admin/core/class-admin-builder.php
CHANGED
@@ -951,7 +951,9 @@ if ( ! class_exists( 'um\admin\core\Admin_Builder' ) ) {
|
|
951 |
|
952 |
<input type="hidden" name="_position" id="_position" value="<?php echo $metabox->edit_array['position']; ?>" />
|
953 |
|
954 |
-
<?php if ( isset( $args['mce_content'] ) ) {
|
|
|
|
|
955 |
|
956 |
<?php $this->modal_header(); ?>
|
957 |
|
@@ -1065,7 +1067,7 @@ if ( ! class_exists( 'um\admin\core\Admin_Builder' ) ) {
|
|
1065 |
|
1066 |
UM()->user()->preview = true;
|
1067 |
|
1068 |
-
$output =
|
1069 |
|
1070 |
um_reset_user();
|
1071 |
|
951 |
|
952 |
<input type="hidden" name="_position" id="_position" value="<?php echo $metabox->edit_array['position']; ?>" />
|
953 |
|
954 |
+
<?php if ( isset( $args['mce_content'] ) ) { ?>
|
955 |
+
<div class="dynamic-mce-content"><?php echo ! empty( $metabox->edit_array['content'] ) ? $metabox->edit_array['content'] : ''; ?></div>
|
956 |
+
<?php } ?>
|
957 |
|
958 |
<?php $this->modal_header(); ?>
|
959 |
|
1067 |
|
1068 |
UM()->user()->preview = true;
|
1069 |
|
1070 |
+
$output = um_user_submitted_registration_formatted( true );
|
1071 |
|
1072 |
um_reset_user();
|
1073 |
|
includes/admin/core/class-admin-enqueue.php
CHANGED
@@ -96,14 +96,19 @@ if ( ! class_exists( 'um\admin\core\Admin_Enqueue' ) ) {
|
|
96 |
*
|
97 |
*/
|
98 |
function enqueue_cpt_scripts() {
|
99 |
-
if ( ( isset( $_GET['post_type'] ) && 'um_form' ==
|
|
|
100 |
$this->um_cpt_form_screen = true;
|
|
|
101 |
}
|
102 |
|
103 |
$this->post_page = true;
|
104 |
}
|
105 |
|
106 |
|
|
|
|
|
|
|
107 |
function enqueue_frontend_preview_assets() {
|
108 |
//scripts for FRONTEND PREVIEW
|
109 |
if ( class_exists( 'WooCommerce' ) ) {
|
@@ -265,7 +270,7 @@ if ( ! class_exists( 'um\admin\core\Admin_Enqueue' ) ) {
|
|
265 |
wp_register_style( 'um_admin_modal', $this->css_url . 'um-admin-modal.css', array( 'wp-color-picker' ), ultimatemember_version );
|
266 |
wp_enqueue_style( 'um_admin_modal' );
|
267 |
|
268 |
-
wp_register_script( 'um_admin_modal', $this->js_url . 'um-admin-modal.js', array( 'jquery', 'wp-util', 'wp-color-picker' ), ultimatemember_version, true );
|
269 |
wp_enqueue_script( 'um_admin_modal' );
|
270 |
}
|
271 |
|
@@ -292,7 +297,7 @@ if ( ! class_exists( 'um\admin\core\Admin_Enqueue' ) ) {
|
|
292 |
$hide_footer = false;
|
293 |
global $pagenow, $post;
|
294 |
if ( ( 'post.php' == $pagenow || 'post-new.php' == $pagenow ) &&
|
295 |
-
( ( isset( $_GET['post_type'] ) && 'um_form' == $_GET['post_type'] ) ||
|
296 |
( isset( $post->post_type ) && 'um_form' == $post->post_type ) ) ) {
|
297 |
$hide_footer = true;
|
298 |
}
|
@@ -648,5 +653,34 @@ if ( ! class_exists( 'um\admin\core\Admin_Enqueue' ) ) {
|
|
648 |
|
649 |
}
|
650 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
651 |
}
|
652 |
}
|
96 |
*
|
97 |
*/
|
98 |
function enqueue_cpt_scripts() {
|
99 |
+
if ( ( isset( $_GET['post_type'] ) && 'um_form' == sanitize_key( $_GET['post_type'] ) ) ||
|
100 |
+
( isset( $_GET['post'] ) && 'um_form' == get_post_type( absint( $_GET['post'] ) ) ) ) {
|
101 |
$this->um_cpt_form_screen = true;
|
102 |
+
add_action( 'admin_footer', array( $this, 'admin_footer_scripts' ), 20 );
|
103 |
}
|
104 |
|
105 |
$this->post_page = true;
|
106 |
}
|
107 |
|
108 |
|
109 |
+
/**
|
110 |
+
*
|
111 |
+
*/
|
112 |
function enqueue_frontend_preview_assets() {
|
113 |
//scripts for FRONTEND PREVIEW
|
114 |
if ( class_exists( 'WooCommerce' ) ) {
|
270 |
wp_register_style( 'um_admin_modal', $this->css_url . 'um-admin-modal.css', array( 'wp-color-picker' ), ultimatemember_version );
|
271 |
wp_enqueue_style( 'um_admin_modal' );
|
272 |
|
273 |
+
wp_register_script( 'um_admin_modal', $this->js_url . 'um-admin-modal.js', array( 'jquery', 'editor', 'wp-util', 'wp-color-picker', 'wp-tinymce', 'wp-i18n' ), ultimatemember_version, true );
|
274 |
wp_enqueue_script( 'um_admin_modal' );
|
275 |
}
|
276 |
|
297 |
$hide_footer = false;
|
298 |
global $pagenow, $post;
|
299 |
if ( ( 'post.php' == $pagenow || 'post-new.php' == $pagenow ) &&
|
300 |
+
( ( isset( $_GET['post_type'] ) && 'um_form' == sanitize_key( $_GET['post_type'] ) ) ||
|
301 |
( isset( $post->post_type ) && 'um_form' == $post->post_type ) ) ) {
|
302 |
$hide_footer = true;
|
303 |
}
|
653 |
|
654 |
}
|
655 |
|
656 |
+
|
657 |
+
/**
|
658 |
+
* Print editor scripts if they are not printed by default
|
659 |
+
*/
|
660 |
+
function admin_footer_scripts() {
|
661 |
+
/**
|
662 |
+
* @var $class \_WP_Editors
|
663 |
+
*/
|
664 |
+
$class = '\_WP_Editors';
|
665 |
+
|
666 |
+
if ( did_action( 'print_default_editor_scripts' ) ) {
|
667 |
+
return;
|
668 |
+
}
|
669 |
+
if ( did_action( 'wp_tiny_mce_init' ) ) {
|
670 |
+
return;
|
671 |
+
}
|
672 |
+
if ( has_action( 'admin_print_footer_scripts', array( $class, 'editor_js' ) ) ) {
|
673 |
+
return;
|
674 |
+
}
|
675 |
+
|
676 |
+
if ( ! class_exists( $class, false ) ) {
|
677 |
+
require_once( ABSPATH . WPINC . '/class-wp-editor.php' );
|
678 |
+
}
|
679 |
+
|
680 |
+
$class::force_uncompressed_tinymce();
|
681 |
+
$class::enqueue_scripts();
|
682 |
+
$class::editor_js();
|
683 |
+
}
|
684 |
+
|
685 |
}
|
686 |
}
|
includes/admin/core/class-admin-forms.php
CHANGED
@@ -534,7 +534,7 @@ if ( ! class_exists( 'um\admin\core\Admin_Forms' ) ) {
|
|
534 |
|
535 |
$html .= '</span><input type="hidden" ' . $name_attr . ' ' . $id_attr . ' ' . $value_attr . ' />';
|
536 |
|
537 |
-
if (
|
538 |
$html .= '<span class="um-admin-icon-clear show"><i class="um-icon-android-cancel"></i></span>';
|
539 |
} else {
|
540 |
$html .= '<span class="um-admin-icon-clear"><i class="um-icon-android-cancel"></i></span>';
|
@@ -546,6 +546,77 @@ if ( ! class_exists( 'um\admin\core\Admin_Forms' ) ) {
|
|
546 |
}
|
547 |
|
548 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
549 |
/**
|
550 |
* @param $field_data
|
551 |
*
|
@@ -1011,6 +1082,9 @@ if ( ! class_exists( 'um\admin\core\Admin_Forms' ) ) {
|
|
1011 |
$name = ! empty( $this->form_data['prefix_id'] ) ? $this->form_data['prefix_id'] . '[' . $name . ']' : $name;
|
1012 |
|
1013 |
$values = $this->get_field_value( $field_data );
|
|
|
|
|
|
|
1014 |
|
1015 |
$i = 0;
|
1016 |
$html = '';
|
534 |
|
535 |
$html .= '</span><input type="hidden" ' . $name_attr . ' ' . $id_attr . ' ' . $value_attr . ' />';
|
536 |
|
537 |
+
if ( ! empty( $value ) ) {
|
538 |
$html .= '<span class="um-admin-icon-clear show"><i class="um-icon-android-cancel"></i></span>';
|
539 |
} else {
|
540 |
$html .= '<span class="um-admin-icon-clear"><i class="um-icon-android-cancel"></i></span>';
|
546 |
}
|
547 |
|
548 |
|
549 |
+
/**
|
550 |
+
* @param $field_data
|
551 |
+
*
|
552 |
+
* @return bool|string
|
553 |
+
*/
|
554 |
+
function render_sortable_items( $field_data ) {
|
555 |
+
if ( empty( $field_data['id'] ) ) {
|
556 |
+
return false;
|
557 |
+
}
|
558 |
+
|
559 |
+
if ( empty( $field_data['items'] ) ) {
|
560 |
+
return false;
|
561 |
+
}
|
562 |
+
|
563 |
+
$id = ( ! empty( $this->form_data['prefix_id'] ) ? $this->form_data['prefix_id'] : '' ) . '_' . $field_data['id'];
|
564 |
+
$id_attr = ' id="' . esc_attr( $id ) . '" ';
|
565 |
+
|
566 |
+
$size = ! empty( $field_data['size'] ) ? ' um-' . $field_data['size'] . '-field ' : ' um-long-field';
|
567 |
+
|
568 |
+
$name = $field_data['id'];
|
569 |
+
$name = ! empty( $this->form_data['prefix_id'] ) ? $this->form_data['prefix_id'] . '[' . $name . ']' : $name;
|
570 |
+
$name_attr = ' name="' . $name . '" ';
|
571 |
+
|
572 |
+
$value = $this->get_field_value( $field_data );
|
573 |
+
$value_attr = ' value="' . $value . '" ';
|
574 |
+
|
575 |
+
$data = array(
|
576 |
+
'field_id' => $field_data['id']
|
577 |
+
);
|
578 |
+
|
579 |
+
$data_attr = '';
|
580 |
+
foreach ( $data as $key => $val ) {
|
581 |
+
$data_attr .= ' data-' . $key . '="' . esc_attr( $val ) . '" ';
|
582 |
+
}
|
583 |
+
|
584 |
+
$html = '<input class="um-sortable-items-value" type="hidden" ' . $name_attr . ' ' . $id_attr . ' ' . $value_attr . ' ' . $data_attr . ' />';
|
585 |
+
$html .= '<ul class="um-sortable-items-field' . esc_attr( $size ) . '">';
|
586 |
+
|
587 |
+
if ( ! empty( $value ) ) {
|
588 |
+
$value_array = explode( ',', $value );
|
589 |
+
uksort( $field_data['items'], function( $a, $b ) use ( $value_array ) {
|
590 |
+
|
591 |
+
$arr_flip = array_flip( $value_array );
|
592 |
+
|
593 |
+
if ( ! isset( $arr_flip[ $b ] ) ) {
|
594 |
+
return 1;
|
595 |
+
}
|
596 |
+
|
597 |
+
if ( ! isset( $arr_flip[ $a ] ) ) {
|
598 |
+
return -1;
|
599 |
+
}
|
600 |
+
|
601 |
+
if ( $arr_flip[ $a ] == $arr_flip[ $b ] ) {
|
602 |
+
return 0;
|
603 |
+
}
|
604 |
+
|
605 |
+
return ( $arr_flip[ $a ] < $arr_flip[ $b ] ) ? -1 : 1;
|
606 |
+
} );
|
607 |
+
}
|
608 |
+
|
609 |
+
foreach ( $field_data['items'] as $tab_id => $tab_name ) {
|
610 |
+
$content = apply_filters( 'um_render_sortable_items_item_html', $tab_name, $tab_id, $field_data );
|
611 |
+
$html .= '<li data-tab-id="' . esc_attr( $tab_id ) . '" class="um-sortable-item"><span class="um-field-icon"><i class="um-faicon-sort"></i></span>' . $content . '</li>';
|
612 |
+
}
|
613 |
+
|
614 |
+
$html .= '</ul>';
|
615 |
+
|
616 |
+
return $html;
|
617 |
+
}
|
618 |
+
|
619 |
+
|
620 |
/**
|
621 |
* @param $field_data
|
622 |
*
|
1082 |
$name = ! empty( $this->form_data['prefix_id'] ) ? $this->form_data['prefix_id'] . '[' . $name . ']' : $name;
|
1083 |
|
1084 |
$values = $this->get_field_value( $field_data );
|
1085 |
+
if ( empty( $values ) ) {
|
1086 |
+
$values = array();
|
1087 |
+
}
|
1088 |
|
1089 |
$i = 0;
|
1090 |
$html = '';
|
includes/admin/core/class-admin-menu.php
CHANGED
@@ -191,7 +191,7 @@ if ( ! class_exists( 'um\admin\core\Admin_Menu' ) ) {
|
|
191 |
function um_roles_pages() {
|
192 |
if ( empty( $_GET['tab'] ) ) {
|
193 |
include_once um_path . 'includes/admin/core/list-tables/roles-list-table.php';
|
194 |
-
} elseif ( $_GET['tab'] == 'add' || $_GET['tab'] == 'edit' ) {
|
195 |
include_once um_path . 'includes/admin/templates/role/role-edit.php';
|
196 |
} else {
|
197 |
um_js_redirect( add_query_arg( array( 'page' => 'um_roles' ), get_admin_url( 'admin.php' ) ) );
|
191 |
function um_roles_pages() {
|
192 |
if ( empty( $_GET['tab'] ) ) {
|
193 |
include_once um_path . 'includes/admin/core/list-tables/roles-list-table.php';
|
194 |
+
} elseif ( sanitize_key( $_GET['tab'] ) == 'add' || sanitize_key( $_GET['tab'] ) == 'edit' ) {
|
195 |
include_once um_path . 'includes/admin/templates/role/role-edit.php';
|
196 |
} else {
|
197 |
um_js_redirect( add_query_arg( array( 'page' => 'um_roles' ), get_admin_url( 'admin.php' ) ) );
|
includes/admin/core/class-admin-metabox.php
CHANGED
@@ -20,6 +20,7 @@ if ( ! class_exists( 'um\admin\core\Admin_Metabox' ) ) {
|
|
20 |
*/
|
21 |
private $form_nonce_added = false;
|
22 |
private $directory_nonce_added = false;
|
|
|
23 |
|
24 |
|
25 |
/**
|
@@ -55,7 +56,7 @@ if ( ! class_exists( 'um\admin\core\Admin_Metabox' ) ) {
|
|
55 |
*/
|
56 |
function hide_metabox_restrict_content_shop( $hide ) {
|
57 |
if ( function_exists( 'wc_get_page_id' ) && ! empty( $_GET['post'] ) &&
|
58 |
-
$_GET['post'] == wc_get_page_id( 'shop' ) ) {
|
59 |
return true;
|
60 |
}
|
61 |
|
@@ -787,7 +788,10 @@ if ( ! class_exists( 'um\admin\core\Admin_Metabox' ) ) {
|
|
787 |
$path = str_replace('}','', $path );
|
788 |
|
789 |
include_once $path . 'includes/admin/templates/'. $box['id'] . '.php';
|
790 |
-
|
|
|
|
|
|
|
791 |
}
|
792 |
|
793 |
|
@@ -838,7 +842,7 @@ if ( ! class_exists( 'um\admin\core\Admin_Metabox' ) ) {
|
|
838 |
)
|
839 |
);
|
840 |
|
841 |
-
if ( ! isset( $_GET['id'] ) || 'administrator' != $_GET['id'] ) {
|
842 |
$roles_metaboxes[] = array(
|
843 |
'id' => 'um-admin-form-home',
|
844 |
'title' => __( 'Homepage Options', 'ultimate-member' ),
|
@@ -925,11 +929,12 @@ if ( ! class_exists( 'um\admin\core\Admin_Metabox' ) ) {
|
|
925 |
|
926 |
$wp_caps_metabox = false;
|
927 |
if ( ! empty( $_GET['id'] ) ) {
|
928 |
-
$data = get_option(
|
929 |
-
if ( ! empty( $data['_um_is_custom'] ) )
|
930 |
$wp_caps_metabox = true;
|
|
|
931 |
}
|
932 |
-
if ( 'add' == $_GET['tab'] || $wp_caps_metabox ) {
|
933 |
$roles_metaboxes[] = array(
|
934 |
'id' => 'um-admin-form-wp-capabilities',
|
935 |
'title' => __( 'WP Capabilities', 'ultimate-member' ),
|
@@ -1091,9 +1096,9 @@ if ( ! class_exists( 'um\admin\core\Admin_Metabox' ) ) {
|
|
1091 |
if ( ! empty( $mode ) ) {
|
1092 |
|
1093 |
$posts = $wpdb->get_col(
|
1094 |
-
"SELECT post_id
|
1095 |
-
FROM {$wpdb->postmeta}
|
1096 |
-
WHERE meta_key = '_um_mode' AND
|
1097 |
meta_value = 'directory'"
|
1098 |
);
|
1099 |
|
@@ -1149,9 +1154,9 @@ if ( ! class_exists( 'um\admin\core\Admin_Metabox' ) ) {
|
|
1149 |
$mode = UM()->query()->get_attr( 'mode', $post_id );
|
1150 |
if ( ! empty( $mode ) ) {
|
1151 |
$posts = $wpdb->get_col( $wpdb->prepare(
|
1152 |
-
"SELECT post_id
|
1153 |
-
FROM {$wpdb->postmeta}
|
1154 |
-
WHERE meta_key = '_um_mode' AND
|
1155 |
meta_value = %s",
|
1156 |
$mode
|
1157 |
) );
|
@@ -1208,7 +1213,7 @@ if ( ! class_exists( 'um\admin\core\Admin_Metabox' ) ) {
|
|
1208 |
|
1209 |
if ( $this->in_edit == true ) { // we're editing a field
|
1210 |
$real_attr = substr( $attribute, 1 );
|
1211 |
-
$this->edit_mode_value = (isset( $this->edit_array[ $real_attr ] ) ) ?
|
1212 |
}
|
1213 |
|
1214 |
switch ( $attribute ) {
|
20 |
*/
|
21 |
private $form_nonce_added = false;
|
22 |
private $directory_nonce_added = false;
|
23 |
+
private $custom_nonce_added = false;
|
24 |
|
25 |
|
26 |
/**
|
56 |
*/
|
57 |
function hide_metabox_restrict_content_shop( $hide ) {
|
58 |
if ( function_exists( 'wc_get_page_id' ) && ! empty( $_GET['post'] ) &&
|
59 |
+
absint( $_GET['post'] ) == wc_get_page_id( 'shop' ) ) {
|
60 |
return true;
|
61 |
}
|
62 |
|
788 |
$path = str_replace('}','', $path );
|
789 |
|
790 |
include_once $path . 'includes/admin/templates/'. $box['id'] . '.php';
|
791 |
+
if ( ! $this->custom_nonce_added ) {
|
792 |
+
$this->custom_nonce_added = true;
|
793 |
+
wp_nonce_field( basename( __FILE__ ), 'um_admin_save_metabox_custom_nonce' );
|
794 |
+
}
|
795 |
}
|
796 |
|
797 |
|
842 |
)
|
843 |
);
|
844 |
|
845 |
+
if ( ! isset( $_GET['id'] ) || 'administrator' != sanitize_key( $_GET['id'] ) ) {
|
846 |
$roles_metaboxes[] = array(
|
847 |
'id' => 'um-admin-form-home',
|
848 |
'title' => __( 'Homepage Options', 'ultimate-member' ),
|
929 |
|
930 |
$wp_caps_metabox = false;
|
931 |
if ( ! empty( $_GET['id'] ) ) {
|
932 |
+
$data = get_option( 'um_role_' . sanitize_key( $_GET['id'] ) . '_meta' );
|
933 |
+
if ( ! empty( $data['_um_is_custom'] ) ) {
|
934 |
$wp_caps_metabox = true;
|
935 |
+
}
|
936 |
}
|
937 |
+
if ( 'add' == sanitize_key( $_GET['tab'] ) || $wp_caps_metabox ) {
|
938 |
$roles_metaboxes[] = array(
|
939 |
'id' => 'um-admin-form-wp-capabilities',
|
940 |
'title' => __( 'WP Capabilities', 'ultimate-member' ),
|
1096 |
if ( ! empty( $mode ) ) {
|
1097 |
|
1098 |
$posts = $wpdb->get_col(
|
1099 |
+
"SELECT post_id
|
1100 |
+
FROM {$wpdb->postmeta}
|
1101 |
+
WHERE meta_key = '_um_mode' AND
|
1102 |
meta_value = 'directory'"
|
1103 |
);
|
1104 |
|
1154 |
$mode = UM()->query()->get_attr( 'mode', $post_id );
|
1155 |
if ( ! empty( $mode ) ) {
|
1156 |
$posts = $wpdb->get_col( $wpdb->prepare(
|
1157 |
+
"SELECT post_id
|
1158 |
+
FROM {$wpdb->postmeta}
|
1159 |
+
WHERE meta_key = '_um_mode' AND
|
1160 |
meta_value = %s",
|
1161 |
$mode
|
1162 |
) );
|
1213 |
|
1214 |
if ( $this->in_edit == true ) { // we're editing a field
|
1215 |
$real_attr = substr( $attribute, 1 );
|
1216 |
+
$this->edit_mode_value = (isset( $this->edit_array[ $real_attr ] ) ) ? $this->edit_array[ $real_attr ] : null;
|
1217 |
}
|
1218 |
|
1219 |
switch ( $attribute ) {
|
includes/admin/core/class-admin-notices.php
CHANGED
@@ -578,8 +578,8 @@ if ( ! class_exists( 'um\admin\core\Admin_Notices' ) ) {
|
|
578 |
'message' => $message,
|
579 |
), 4 );
|
580 |
} else {
|
581 |
-
if ( isset( $_GET['msg'] ) && 'updated' == $_GET['msg'] ) {
|
582 |
-
if ( isset( $_GET['page'] ) && 'um_options' == $_GET['page'] ) {
|
583 |
$this->add_notice( 'settings_upgrade', array(
|
584 |
'class' => 'updated',
|
585 |
'message' => '<p>' . __( 'Settings successfully upgraded', 'ultimate-member' ) . '</p>',
|
578 |
'message' => $message,
|
579 |
), 4 );
|
580 |
} else {
|
581 |
+
if ( isset( $_GET['msg'] ) && 'updated' == sanitize_key( $_GET['msg'] ) ) {
|
582 |
+
if ( isset( $_GET['page'] ) && 'um_options' == sanitize_key( $_GET['page'] ) ) {
|
583 |
$this->add_notice( 'settings_upgrade', array(
|
584 |
'class' => 'updated',
|
585 |
'message' => '<p>' . __( 'Settings successfully upgraded', 'ultimate-member' ) . '</p>',
|
includes/admin/core/class-admin-settings.php
CHANGED
@@ -1415,7 +1415,7 @@ if ( ! class_exists( 'um\admin\core\Admin_Settings' ) ) {
|
|
1415 |
$current_tab = empty( $_GET['tab'] ) ? '' : urldecode( $_GET['tab'] );
|
1416 |
$current_subtab = empty( $_GET['section'] ) ? '' : urldecode( $_GET['section'] );
|
1417 |
|
1418 |
-
$settings_struct = $this->settings_structure[$current_tab];
|
1419 |
|
1420 |
//remove not option hidden fields
|
1421 |
if ( ! empty( $settings_struct['fields'] ) ) {
|
@@ -2047,6 +2047,19 @@ if ( ! class_exists( 'um\admin\core\Admin_Settings' ) ) {
|
|
2047 |
|
2048 |
if ( ! is_wp_error( $request ) ) {
|
2049 |
$request = json_decode( wp_remote_retrieve_body( $request ) );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2050 |
}
|
2051 |
|
2052 |
$request = ( $request ) ? maybe_unserialize( $request ) : false;
|
1415 |
$current_tab = empty( $_GET['tab'] ) ? '' : urldecode( $_GET['tab'] );
|
1416 |
$current_subtab = empty( $_GET['section'] ) ? '' : urldecode( $_GET['section'] );
|
1417 |
|
1418 |
+
$settings_struct = $this->settings_structure[ $current_tab ];
|
1419 |
|
1420 |
//remove not option hidden fields
|
1421 |
if ( ! empty( $settings_struct['fields'] ) ) {
|
2047 |
|
2048 |
if ( ! is_wp_error( $request ) ) {
|
2049 |
$request = json_decode( wp_remote_retrieve_body( $request ) );
|
2050 |
+
} else {
|
2051 |
+
$request = wp_remote_post(
|
2052 |
+
UM()->store_url,
|
2053 |
+
array(
|
2054 |
+
'timeout' => UM()->request_timeout,
|
2055 |
+
'sslverify' => true,
|
2056 |
+
'body' => $api_params
|
2057 |
+
)
|
2058 |
+
);
|
2059 |
+
|
2060 |
+
if ( ! is_wp_error( $request ) ) {
|
2061 |
+
$request = json_decode( wp_remote_retrieve_body( $request ) );
|
2062 |
+
}
|
2063 |
}
|
2064 |
|
2065 |
$request = ( $request ) ? maybe_unserialize( $request ) : false;
|
includes/admin/core/class-admin-upgrade.php
CHANGED
@@ -353,7 +353,7 @@ if ( ! class_exists( 'um\admin\core\Admin_Upgrade' ) ) {
|
|
353 |
exit('');
|
354 |
} else {
|
355 |
ob_start();
|
356 |
-
include_once $this->packages_dir . DIRECTORY_SEPARATOR . $_POST['pack'] . DIRECTORY_SEPARATOR . 'init.php';
|
357 |
ob_get_flush();
|
358 |
exit;
|
359 |
}
|
353 |
exit('');
|
354 |
} else {
|
355 |
ob_start();
|
356 |
+
include_once $this->packages_dir . DIRECTORY_SEPARATOR . sanitize_text_field( $_POST['pack'] ) . DIRECTORY_SEPARATOR . 'init.php';
|
357 |
ob_get_flush();
|
358 |
exit;
|
359 |
}
|
includes/admin/core/list-tables/emails-list-table.php
CHANGED
@@ -1,19 +1,19 @@
|
|
1 |
-
<?php if ( ! defined( 'ABSPATH' ) ) exit;
|
2 |
|
3 |
global $wpdb;
|
4 |
|
5 |
-
if ( isset($_REQUEST['_wp_http_referer']) ) {
|
6 |
-
$redirect = remove_query_arg(array('_wp_http_referer' ), wp_unslash( $_REQUEST['_wp_http_referer'] ) );
|
7 |
} else {
|
8 |
$redirect = get_admin_url(). 'admin.php?page=ultimatemember';
|
9 |
}
|
10 |
|
11 |
//remove extra query arg
|
12 |
-
if ( !empty( $_GET['_wp_http_referer'] ) ) {
|
13 |
-
um_js_redirect( remove_query_arg( array( '_wp_http_referer', '_wpnonce'), wp_unslash( $_SERVER['REQUEST_URI'] ) ) );
|
14 |
}
|
15 |
|
16 |
-
if( ! class_exists( 'WP_List_Table' ) ) {
|
17 |
require_once( ABSPATH . 'wp-admin/includes/class-wp-list-table.php' );
|
18 |
}
|
19 |
|
@@ -320,9 +320,5 @@ $ListTable->wpc_set_pagination_args( array( 'total_items' => count( $emails ), '
|
|
320 |
<input type="hidden" name="page" value="um_options" />
|
321 |
<input type="hidden" name="tab" value="email" />
|
322 |
|
323 |
-
<?php
|
324 |
-
<input type="hidden" name="section" value="<?php echo esc_attr( $_GET['section'] ) ?>" />
|
325 |
-
<?php }
|
326 |
-
|
327 |
-
$ListTable->display(); ?>
|
328 |
</form>
|
1 |
+
<?php if ( ! defined( 'ABSPATH' ) ) exit;
|
2 |
|
3 |
global $wpdb;
|
4 |
|
5 |
+
if ( isset( $_REQUEST['_wp_http_referer'] ) ) {
|
6 |
+
$redirect = remove_query_arg( array( '_wp_http_referer' ), wp_unslash( $_REQUEST['_wp_http_referer'] ) );
|
7 |
} else {
|
8 |
$redirect = get_admin_url(). 'admin.php?page=ultimatemember';
|
9 |
}
|
10 |
|
11 |
//remove extra query arg
|
12 |
+
if ( ! empty( $_GET['_wp_http_referer'] ) ) {
|
13 |
+
um_js_redirect( remove_query_arg( array( '_wp_http_referer', '_wpnonce' ), wp_unslash( $_SERVER['REQUEST_URI'] ) ) );
|
14 |
}
|
15 |
|
16 |
+
if ( ! class_exists( 'WP_List_Table' ) ) {
|
17 |
require_once( ABSPATH . 'wp-admin/includes/class-wp-list-table.php' );
|
18 |
}
|
19 |
|
320 |
<input type="hidden" name="page" value="um_options" />
|
321 |
<input type="hidden" name="tab" value="email" />
|
322 |
|
323 |
+
<?php $ListTable->display(); ?>
|
|
|
|
|
|
|
|
|
324 |
</form>
|
includes/admin/core/list-tables/roles-list-table.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
global $wpdb;
|
4 |
|
5 |
if ( isset( $_REQUEST['_wp_http_referer'] ) ) {
|
6 |
-
$redirect = remove_query_arg(array('_wp_http_referer' ), wp_unslash( $_REQUEST['_wp_http_referer'] ) );
|
7 |
} else {
|
8 |
$redirect = get_admin_url(). 'admin.php?page=um_roles';
|
9 |
}
|
@@ -11,7 +11,7 @@ if ( isset( $_REQUEST['_wp_http_referer'] ) ) {
|
|
11 |
global $wp_roles;
|
12 |
|
13 |
if ( isset( $_GET['action'] ) ) {
|
14 |
-
switch ( $_GET['action'] ) {
|
15 |
/* delete action */
|
16 |
case 'delete': {
|
17 |
$role_keys = array();
|
@@ -117,7 +117,7 @@ if ( ! empty( $_GET['_wp_http_referer'] ) ) {
|
|
117 |
}
|
118 |
|
119 |
$order_by = 'name';
|
120 |
-
$order = ( isset( $_GET['order'] ) && 'asc' == strtolower( $_GET['order'] ) ) ? 'ASC' : 'DESC';
|
121 |
|
122 |
if ( ! class_exists( 'WP_List_Table' ) ) {
|
123 |
require_once( ABSPATH . 'wp-admin/includes/class-wp-list-table.php' );
|
@@ -487,7 +487,7 @@ $ListTable->um_set_pagination_args( array( 'total_items' => count( $roles ), 'pe
|
|
487 |
</h2>
|
488 |
|
489 |
<?php if ( ! empty( $_GET['msg'] ) ) {
|
490 |
-
switch( $_GET['msg'] ) {
|
491 |
case 'd':
|
492 |
echo '<div id="message" class="updated fade"><p>' . __( 'User Role <strong>Deleted</strong> Successfully.', 'ultimate-member' ) . '</p></div>';
|
493 |
break;
|
3 |
global $wpdb;
|
4 |
|
5 |
if ( isset( $_REQUEST['_wp_http_referer'] ) ) {
|
6 |
+
$redirect = remove_query_arg( array( '_wp_http_referer' ), wp_unslash( $_REQUEST['_wp_http_referer'] ) );
|
7 |
} else {
|
8 |
$redirect = get_admin_url(). 'admin.php?page=um_roles';
|
9 |
}
|
11 |
global $wp_roles;
|
12 |
|
13 |
if ( isset( $_GET['action'] ) ) {
|
14 |
+
switch ( sanitize_key( $_GET['action'] ) ) {
|
15 |
/* delete action */
|
16 |
case 'delete': {
|
17 |
$role_keys = array();
|
117 |
}
|
118 |
|
119 |
$order_by = 'name';
|
120 |
+
$order = ( isset( $_GET['order'] ) && 'asc' == strtolower( sanitize_key( $_GET['order'] ) ) ) ? 'ASC' : 'DESC';
|
121 |
|
122 |
if ( ! class_exists( 'WP_List_Table' ) ) {
|
123 |
require_once( ABSPATH . 'wp-admin/includes/class-wp-list-table.php' );
|
487 |
</h2>
|
488 |
|
489 |
<?php if ( ! empty( $_GET['msg'] ) ) {
|
490 |
+
switch( sanitize_key( $_GET['msg'] ) ) {
|
491 |
case 'd':
|
492 |
echo '<div id="message" class="updated fade"><p>' . __( 'User Role <strong>Deleted</strong> Successfully.', 'ultimate-member' ) . '</p></div>';
|
493 |
break;
|
includes/admin/core/packages/2.1.0-beta1/member-directory.php
CHANGED
@@ -138,6 +138,10 @@ if ( UM()->options()->get( 'members_page' ) ) {
|
|
138 |
if ( $member_directory_id ) {
|
139 |
UM()->options()->update( 'user_tags_base_directory' , $member_directory_id );
|
140 |
}
|
|
|
|
|
|
|
|
|
141 |
}
|
142 |
|
143 |
|
138 |
if ( $member_directory_id ) {
|
139 |
UM()->options()->update( 'user_tags_base_directory' , $member_directory_id );
|
140 |
}
|
141 |
+
|
142 |
+
UM()->options()->update( 'user_tags_slug' , 'user-tags' );
|
143 |
+
|
144 |
+
UM()->rewrite()->reset_rules();
|
145 |
}
|
146 |
|
147 |
|
includes/admin/templates/directory/profile.php
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
|
6 |
<?php $user_fields = array();
|
7 |
foreach ( UM()->builtin()->all_user_fields() as $key => $arr ) {
|
8 |
-
$user_fields[$key] = isset( $arr['title'] ) ? $arr['title'] : '';
|
9 |
}
|
10 |
|
11 |
$post_id = get_the_ID();
|
5 |
|
6 |
<?php $user_fields = array();
|
7 |
foreach ( UM()->builtin()->all_user_fields() as $key => $arr ) {
|
8 |
+
$user_fields[ $key ] = isset( $arr['title'] ) ? $arr['title'] : '';
|
9 |
}
|
10 |
|
11 |
$post_id = get_the_ID();
|
includes/admin/templates/extensions.php
CHANGED
@@ -128,12 +128,18 @@ $premium['unsplash'] = array(
|
|
128 |
'desc' => 'Allow users to select a profile cover photo from <a href="https://unsplash.com/" target="_blank">Unsplash</a> from their profile',
|
129 |
);
|
130 |
|
131 |
-
$premium['
|
132 |
-
'url' => 'https://ultimatemember.com/extensions/
|
133 |
-
'name' => '
|
134 |
-
'desc' => '
|
135 |
);
|
136 |
|
|
|
|
|
|
|
|
|
|
|
|
|
137 |
$free['forumwp'] = array(
|
138 |
'url' => 'https://ultimatemember.com/extensions/forumwp/',
|
139 |
'name' => 'ForumWP',
|
128 |
'desc' => 'Allow users to select a profile cover photo from <a href="https://unsplash.com/" target="_blank">Unsplash</a> from their profile',
|
129 |
);
|
130 |
|
131 |
+
$premium['user-locations'] = array(
|
132 |
+
'url' => 'https://ultimatemember.com/extensions/user-locations/',
|
133 |
+
'name' => 'User Locations',
|
134 |
+
'desc' => 'Using the Google Maps API, display users on a map on the member directory page and allow users to add their location via their profile',
|
135 |
);
|
136 |
|
137 |
+
//$premium['profile-tabs'] = array(
|
138 |
+
// 'url' => 'https://ultimatemember.com/extensions/profile-tabs/',
|
139 |
+
// 'name' => 'Profile Tabs',
|
140 |
+
// 'desc' => 'Allow users to add custom tabs to profiles',
|
141 |
+
//);
|
142 |
+
|
143 |
$free['forumwp'] = array(
|
144 |
'url' => 'https://ultimatemember.com/extensions/forumwp/',
|
145 |
'name' => 'ForumWP',
|
includes/admin/templates/modal/fonticons.php
CHANGED
@@ -11,7 +11,7 @@
|
|
11 |
|
12 |
<div class="um-admin-modal-foot">
|
13 |
<a href="javascript:void(0);" class="button-primary um-admin-modal-back" data-code=""><?php _e( 'Finish', 'ultimate-member' ) ?></a>
|
14 |
-
<a href="javascript:void(0);" class="button um-admin-modal-back um-admin-modal-cancel"><?php _e( 'Cancel', 'ultimate-member' ) ?></a>
|
15 |
</div>
|
16 |
|
17 |
</div>
|
11 |
|
12 |
<div class="um-admin-modal-foot">
|
13 |
<a href="javascript:void(0);" class="button-primary um-admin-modal-back" data-code=""><?php _e( 'Finish', 'ultimate-member' ) ?></a>
|
14 |
+
<a href="javascript:void(0);" class="button um-admin-modal-back um-admin-modal-cancel" data-action="UM_remove_modal"><?php _e( 'Cancel', 'ultimate-member' ) ?></a>
|
15 |
</div>
|
16 |
|
17 |
</div>
|
includes/admin/templates/role/role-edit.php
CHANGED
@@ -47,10 +47,13 @@ $option = array();
|
|
47 |
global $wp_roles;
|
48 |
|
49 |
if ( ! empty( $_GET['id'] ) ) {
|
50 |
-
|
|
|
|
|
|
|
51 |
|
52 |
if ( empty( $data['_um_is_custom'] ) ) {
|
53 |
-
$data['name'] = $wp_roles->roles[ $
|
54 |
}
|
55 |
}
|
56 |
|
@@ -61,7 +64,7 @@ if ( ! empty( $_POST['role'] ) ) {
|
|
61 |
$redirect = '';
|
62 |
$error = '';
|
63 |
|
64 |
-
if ( 'add' == $_GET['tab'] ) {
|
65 |
if ( ! wp_verify_nonce( $_POST['um_nonce'], 'um-add-role' ) ) {
|
66 |
$error = __( 'Security Issue', 'ultimate-member' ) . '<br />';
|
67 |
}
|
@@ -75,7 +78,7 @@ if ( ! empty( $_POST['role'] ) ) {
|
|
75 |
|
76 |
$data = $_POST['role'];
|
77 |
|
78 |
-
if ( 'add' == $_GET['tab'] ) {
|
79 |
|
80 |
$data['name'] = trim( esc_html( strip_tags( $data['name'] ) ) );
|
81 |
|
@@ -92,8 +95,8 @@ if ( ! empty( $_POST['role'] ) ) {
|
|
92 |
}
|
93 |
|
94 |
$redirect = add_query_arg( array( 'page'=>'um_roles', 'tab'=>'edit', 'id'=>$id, 'msg'=>'a' ), admin_url( 'admin.php' ) );
|
95 |
-
} elseif ( 'edit' == $_GET['tab'] && ! empty( $_GET['id'] ) ) {
|
96 |
-
$id = $_GET['id'];
|
97 |
|
98 |
$pre_role_meta = get_option( "um_role_{$id}_meta", array() );
|
99 |
if ( isset( $pre_role_meta['name'] ) ) {
|
@@ -105,7 +108,7 @@ if ( ! empty( $_POST['role'] ) ) {
|
|
105 |
|
106 |
|
107 |
$all_roles = array_keys( get_editable_roles() );
|
108 |
-
if ( 'add' == $_GET['tab'] ) {
|
109 |
if ( in_array( 'um_' . $id, $all_roles ) || in_array( $id, $all_roles ) ) {
|
110 |
$error .= __( 'Role already exists!', 'ultimate-member' ) . '<br />';
|
111 |
}
|
@@ -113,7 +116,7 @@ if ( ! empty( $_POST['role'] ) ) {
|
|
113 |
|
114 |
if ( '' == $error ) {
|
115 |
|
116 |
-
if ( 'add' == $_GET['tab'] ) {
|
117 |
$roles = get_option( 'um_roles' );
|
118 |
$roles[] = $id;
|
119 |
|
@@ -148,14 +151,14 @@ $screen_id = $current_screen->id; ?>
|
|
148 |
|
149 |
<div class="wrap">
|
150 |
<h2>
|
151 |
-
<?php echo ( 'add' == $_GET['tab'] ) ? __( 'Add New Role', 'ultimate-member' ) : __( 'Edit Role', 'ultimate-member' ) ?>
|
152 |
-
<?php if ( 'edit' == $_GET['tab'] ) { ?>
|
153 |
<a class="add-new-h2" href="<?php echo esc_url( add_query_arg( array( 'page' => 'um_roles', 'tab' => 'add' ), admin_url( 'admin.php' ) ) ) ?>"><?php _e( 'Add New', 'ultimate-member' ) ?></a>
|
154 |
<?php } ?>
|
155 |
</h2>
|
156 |
|
157 |
<?php if ( ! empty( $_GET['msg'] ) ) {
|
158 |
-
switch( $_GET['msg'] ) {
|
159 |
case 'a':
|
160 |
echo '<div id="message" class="updated fade"><p>' . __( 'User Role <strong>Added</strong> Successfully.', 'ultimate-member' ) . '</p></div>';
|
161 |
break;
|
@@ -172,8 +175,8 @@ $screen_id = $current_screen->id; ?>
|
|
172 |
<?php } ?>
|
173 |
|
174 |
<form id="um_edit_role" action="" method="post">
|
175 |
-
<input type="hidden" name="role[id]" value="<?php echo isset( $_GET['id'] ) ? esc_attr( $_GET['id'] ) : '' ?>" />
|
176 |
-
<?php if ( 'add' == $_GET['tab'] ) { ?>
|
177 |
<input type="hidden" name="role[_um_is_custom]" value="1" />
|
178 |
<input type="hidden" name="um_nonce" value="<?php echo esc_attr( wp_create_nonce( 'um-add-role' ) ) ?>" />
|
179 |
<?php } else { ?>
|
@@ -186,7 +189,7 @@ $screen_id = $current_screen->id; ?>
|
|
186 |
<div id="post-body-content">
|
187 |
<div id="titlediv">
|
188 |
<div id="titlewrap">
|
189 |
-
<?php if ( 'add' == $_GET['tab'] ) { ?>
|
190 |
<label for="title" class="screen-reader-text"><?php _e( 'Title', 'ultimate-member' ) ?></label>
|
191 |
<input type="text" name="role[name]" placeholder="<?php esc_attr_e( 'Enter Title Here', 'ultimate-member' ) ?>" id="title" value="<?php echo isset( $data['name'] ) ? $data['name'] : '' ?>" />
|
192 |
<?php } else { ?>
|
47 |
global $wp_roles;
|
48 |
|
49 |
if ( ! empty( $_GET['id'] ) ) {
|
50 |
+
|
51 |
+
$role_id = sanitize_key( $_GET['id'] );
|
52 |
+
|
53 |
+
$data = get_option( "um_role_{$role_id}_meta" );
|
54 |
|
55 |
if ( empty( $data['_um_is_custom'] ) ) {
|
56 |
+
$data['name'] = $wp_roles->roles[ $role_id ]['name'];
|
57 |
}
|
58 |
}
|
59 |
|
64 |
$redirect = '';
|
65 |
$error = '';
|
66 |
|
67 |
+
if ( 'add' == sanitize_key( $_GET['tab'] ) ) {
|
68 |
if ( ! wp_verify_nonce( $_POST['um_nonce'], 'um-add-role' ) ) {
|
69 |
$error = __( 'Security Issue', 'ultimate-member' ) . '<br />';
|
70 |
}
|
78 |
|
79 |
$data = $_POST['role'];
|
80 |
|
81 |
+
if ( 'add' == sanitize_key( $_GET['tab'] ) ) {
|
82 |
|
83 |
$data['name'] = trim( esc_html( strip_tags( $data['name'] ) ) );
|
84 |
|
95 |
}
|
96 |
|
97 |
$redirect = add_query_arg( array( 'page'=>'um_roles', 'tab'=>'edit', 'id'=>$id, 'msg'=>'a' ), admin_url( 'admin.php' ) );
|
98 |
+
} elseif ( 'edit' == sanitize_key( $_GET['tab'] ) && ! empty( $_GET['id'] ) ) {
|
99 |
+
$id = sanitize_key( $_GET['id'] );
|
100 |
|
101 |
$pre_role_meta = get_option( "um_role_{$id}_meta", array() );
|
102 |
if ( isset( $pre_role_meta['name'] ) ) {
|
108 |
|
109 |
|
110 |
$all_roles = array_keys( get_editable_roles() );
|
111 |
+
if ( 'add' == sanitize_key( $_GET['tab'] ) ) {
|
112 |
if ( in_array( 'um_' . $id, $all_roles ) || in_array( $id, $all_roles ) ) {
|
113 |
$error .= __( 'Role already exists!', 'ultimate-member' ) . '<br />';
|
114 |
}
|
116 |
|
117 |
if ( '' == $error ) {
|
118 |
|
119 |
+
if ( 'add' == sanitize_key( $_GET['tab'] ) ) {
|
120 |
$roles = get_option( 'um_roles' );
|
121 |
$roles[] = $id;
|
122 |
|
151 |
|
152 |
<div class="wrap">
|
153 |
<h2>
|
154 |
+
<?php echo ( 'add' == sanitize_key( $_GET['tab'] ) ) ? __( 'Add New Role', 'ultimate-member' ) : __( 'Edit Role', 'ultimate-member' ) ?>
|
155 |
+
<?php if ( 'edit' == sanitize_key( $_GET['tab'] ) ) { ?>
|
156 |
<a class="add-new-h2" href="<?php echo esc_url( add_query_arg( array( 'page' => 'um_roles', 'tab' => 'add' ), admin_url( 'admin.php' ) ) ) ?>"><?php _e( 'Add New', 'ultimate-member' ) ?></a>
|
157 |
<?php } ?>
|
158 |
</h2>
|
159 |
|
160 |
<?php if ( ! empty( $_GET['msg'] ) ) {
|
161 |
+
switch( sanitize_key( $_GET['msg'] ) ) {
|
162 |
case 'a':
|
163 |
echo '<div id="message" class="updated fade"><p>' . __( 'User Role <strong>Added</strong> Successfully.', 'ultimate-member' ) . '</p></div>';
|
164 |
break;
|
175 |
<?php } ?>
|
176 |
|
177 |
<form id="um_edit_role" action="" method="post">
|
178 |
+
<input type="hidden" name="role[id]" value="<?php echo isset( $_GET['id'] ) ? esc_attr( sanitize_key( $_GET['id'] ) ) : '' ?>" />
|
179 |
+
<?php if ( 'add' == sanitize_key( $_GET['tab'] ) ) { ?>
|
180 |
<input type="hidden" name="role[_um_is_custom]" value="1" />
|
181 |
<input type="hidden" name="um_nonce" value="<?php echo esc_attr( wp_create_nonce( 'um-add-role' ) ) ?>" />
|
182 |
<?php } else { ?>
|
189 |
<div id="post-body-content">
|
190 |
<div id="titlediv">
|
191 |
<div id="titlewrap">
|
192 |
+
<?php if ( 'add' == sanitize_key( $_GET['tab'] ) ) { ?>
|
193 |
<label for="title" class="screen-reader-text"><?php _e( 'Title', 'ultimate-member' ) ?></label>
|
194 |
<input type="text" name="role[name]" placeholder="<?php esc_attr_e( 'Enter Title Here', 'ultimate-member' ) ?>" id="title" value="<?php echo isset( $data['name'] ) ? $data['name'] : '' ?>" />
|
195 |
<?php } else { ?>
|
includes/admin/templates/role/wp-capabilities.php
CHANGED
@@ -55,7 +55,7 @@
|
|
55 |
$role_capabilities = ! empty( $role['wp_capabilities'] ) ? array_keys( $role['wp_capabilities'] ) : array( 'read' );
|
56 |
|
57 |
if ( ! empty( $_GET['id'] ) ) {
|
58 |
-
$role = get_role( $_GET['id'] );
|
59 |
}
|
60 |
|
61 |
$all_caps = array();
|
55 |
$role_capabilities = ! empty( $role['wp_capabilities'] ) ? array_keys( $role['wp_capabilities'] ) : array( 'read' );
|
56 |
|
57 |
if ( ! empty( $_GET['id'] ) ) {
|
58 |
+
$role = get_role( sanitize_key( $_GET['id'] ) );
|
59 |
}
|
60 |
|
61 |
$all_caps = array();
|
includes/class-dependencies.php
CHANGED
@@ -55,6 +55,7 @@ if ( ! class_exists( 'um\Dependencies' ) ) {
|
|
55 |
'terms-conditions' => '2.1.1',
|
56 |
'unsplash' => '2.0.2',
|
57 |
'user-bookmarks' => '2.0.2',
|
|
|
58 |
'user-photos' => '2.0.4',
|
59 |
'user-tags' => '2.1.0',
|
60 |
'verified-users' => '2.0.5',
|
@@ -73,7 +74,6 @@ if ( ! class_exists( 'um\Dependencies' ) ) {
|
|
73 |
'user-exporter' => '1.0.0',
|
74 |
|
75 |
/*in development*/
|
76 |
-
'user-location' => '1.0',
|
77 |
'filesharing' => '1.0.0',
|
78 |
'beaver-builder' => '2.0',
|
79 |
'user-events' => '1.0.0',
|
55 |
'terms-conditions' => '2.1.1',
|
56 |
'unsplash' => '2.0.2',
|
57 |
'user-bookmarks' => '2.0.2',
|
58 |
+
'user-locations' => '1.0.0',
|
59 |
'user-photos' => '2.0.4',
|
60 |
'user-tags' => '2.1.0',
|
61 |
'verified-users' => '2.0.5',
|
74 |
'user-exporter' => '1.0.0',
|
75 |
|
76 |
/*in development*/
|
|
|
77 |
'filesharing' => '1.0.0',
|
78 |
'beaver-builder' => '2.0',
|
79 |
'user-events' => '1.0.0',
|
includes/class-init.php
CHANGED
@@ -29,7 +29,7 @@ if ( ! class_exists( 'UM' ) ) {
|
|
29 |
* @method UM_WooCommerce_API WooCommerce_API()
|
30 |
* @method UM_Terms_Conditions Terms_Conditions()
|
31 |
* @method UM_Private_Content Private_Content()
|
32 |
-
* @method
|
33 |
* @method UM_Photos_API Photos_API()
|
34 |
* @method UM_Groups Groups()
|
35 |
* @method UM_Frontend_Posting Frontend_Posting()
|
29 |
* @method UM_WooCommerce_API WooCommerce_API()
|
30 |
* @method UM_Terms_Conditions Terms_Conditions()
|
31 |
* @method UM_Private_Content Private_Content()
|
32 |
+
* @method UM_User_Locations User_Locations()
|
33 |
* @method UM_Photos_API Photos_API()
|
34 |
* @method UM_Groups Groups()
|
35 |
* @method UM_Frontend_Posting Frontend_Posting()
|
includes/core/class-account.php
CHANGED
@@ -449,6 +449,8 @@ if ( ! class_exists( 'um\core\Account' ) ) {
|
|
449 |
function predefined_fields_hook( $predefined_fields ) {
|
450 |
$account_hide_in_directory = UM()->options()->get( 'account_hide_in_directory' );
|
451 |
|
|
|
|
|
452 |
if ( ! $account_hide_in_directory ) {
|
453 |
unset( $predefined_fields['hide_in_members'] );
|
454 |
}
|
449 |
function predefined_fields_hook( $predefined_fields ) {
|
450 |
$account_hide_in_directory = UM()->options()->get( 'account_hide_in_directory' );
|
451 |
|
452 |
+
$account_hide_in_directory = apply_filters( 'um_account_hide_in_members_visibility', $account_hide_in_directory );
|
453 |
+
|
454 |
if ( ! $account_hide_in_directory ) {
|
455 |
unset( $predefined_fields['hide_in_members'] );
|
456 |
}
|
includes/core/class-builtin.php
CHANGED
@@ -43,6 +43,14 @@ if ( ! class_exists( 'um\core\Builtin' ) ) {
|
|
43 |
}
|
44 |
|
45 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
46 |
/**
|
47 |
* Regular or multi-select/options
|
48 |
*
|
@@ -1273,7 +1281,7 @@ if ( ! class_exists( 'um\core\Builtin' ) ) {
|
|
1273 |
$fields_without_metakey = apply_filters( 'um_all_user_fields_without_metakey', $fields_without_metakey );
|
1274 |
|
1275 |
if ( ! $show_all ) {
|
1276 |
-
$this->fields_dropdown = array('image','file','password','rating');
|
1277 |
$this->fields_dropdown = array_merge( $this->fields_dropdown, $fields_without_metakey );
|
1278 |
} else {
|
1279 |
$this->fields_dropdown = $fields_without_metakey;
|
@@ -1283,41 +1291,41 @@ if ( ! class_exists( 'um\core\Builtin' ) ) {
|
|
1283 |
$predefined = $this->predefined_fields;
|
1284 |
|
1285 |
if ( $exclude_types ) {
|
1286 |
-
$exclude_types = explode(',', $exclude_types);
|
1287 |
}
|
1288 |
|
1289 |
$all = array( 0 => '' );
|
1290 |
|
1291 |
-
if ( is_array( $custom ) ){
|
1292 |
$all = $all + array_merge( $predefined, $custom );
|
1293 |
} else {
|
1294 |
$all = $all + $predefined;
|
1295 |
}
|
1296 |
|
1297 |
-
foreach( $all as $k => $arr ) {
|
1298 |
|
1299 |
if ( $k == 0 ) {
|
1300 |
-
unset($all[$k]);
|
1301 |
}
|
1302 |
|
1303 |
-
if ( isset( $arr['title'] ) ){
|
1304 |
-
$all[$k]['title'] = stripslashes( $arr['title'] );
|
1305 |
}
|
1306 |
|
1307 |
if ( $exclude_types && isset( $arr['type'] ) && in_array( $arr['type'], $exclude_types ) ) {
|
1308 |
-
unset( $all[$k] );
|
1309 |
}
|
1310 |
if ( isset( $arr['account_only'] ) || isset( $arr['private_use'] ) ) {
|
1311 |
-
if (
|
1312 |
-
unset( $all[$k] );
|
1313 |
}
|
1314 |
}
|
1315 |
if ( isset( $arr['type'] ) && in_array( $arr['type'], $this->fields_dropdown ) ) {
|
1316 |
-
unset( $all[$k] );
|
1317 |
}
|
1318 |
}
|
1319 |
|
1320 |
-
$all = UM()->fields()->array_sort_by_column( $all, 'title');
|
1321 |
|
1322 |
return $all;
|
1323 |
}
|
43 |
}
|
44 |
|
45 |
|
46 |
+
/**
|
47 |
+
* @return array
|
48 |
+
*/
|
49 |
+
function get_all_user_fields() {
|
50 |
+
return apply_filters( 'um_builtin_all_user_fields', $this->all_user_fields );
|
51 |
+
}
|
52 |
+
|
53 |
+
|
54 |
/**
|
55 |
* Regular or multi-select/options
|
56 |
*
|
1281 |
$fields_without_metakey = apply_filters( 'um_all_user_fields_without_metakey', $fields_without_metakey );
|
1282 |
|
1283 |
if ( ! $show_all ) {
|
1284 |
+
$this->fields_dropdown = array( 'image', 'file', 'password', 'rating' );
|
1285 |
$this->fields_dropdown = array_merge( $this->fields_dropdown, $fields_without_metakey );
|
1286 |
} else {
|
1287 |
$this->fields_dropdown = $fields_without_metakey;
|
1291 |
$predefined = $this->predefined_fields;
|
1292 |
|
1293 |
if ( $exclude_types ) {
|
1294 |
+
$exclude_types = explode( ',', $exclude_types );
|
1295 |
}
|
1296 |
|
1297 |
$all = array( 0 => '' );
|
1298 |
|
1299 |
+
if ( is_array( $custom ) ) {
|
1300 |
$all = $all + array_merge( $predefined, $custom );
|
1301 |
} else {
|
1302 |
$all = $all + $predefined;
|
1303 |
}
|
1304 |
|
1305 |
+
foreach ( $all as $k => $arr ) {
|
1306 |
|
1307 |
if ( $k == 0 ) {
|
1308 |
+
unset( $all[ $k ] );
|
1309 |
}
|
1310 |
|
1311 |
+
if ( isset( $arr['title'] ) ) {
|
1312 |
+
$all[ $k ]['title'] = stripslashes( $arr['title'] );
|
1313 |
}
|
1314 |
|
1315 |
if ( $exclude_types && isset( $arr['type'] ) && in_array( $arr['type'], $exclude_types ) ) {
|
1316 |
+
unset( $all[ $k ] );
|
1317 |
}
|
1318 |
if ( isset( $arr['account_only'] ) || isset( $arr['private_use'] ) ) {
|
1319 |
+
if ( ! $show_all ) {
|
1320 |
+
unset( $all[ $k ] );
|
1321 |
}
|
1322 |
}
|
1323 |
if ( isset( $arr['type'] ) && in_array( $arr['type'], $this->fields_dropdown ) ) {
|
1324 |
+
unset( $all[ $k ] );
|
1325 |
}
|
1326 |
}
|
1327 |
|
1328 |
+
$all = UM()->fields()->array_sort_by_column( $all, 'title' );
|
1329 |
|
1330 |
return $all;
|
1331 |
}
|
includes/core/class-enqueue.php
CHANGED
@@ -295,11 +295,11 @@ if ( ! class_exists( 'um\core\Enqueue' ) ) {
|
|
295 |
*/
|
296 |
function load_css() {
|
297 |
wp_enqueue_style( 'um_styles' );
|
298 |
-
if ( is_rtl() ) {
|
299 |
wp_enqueue_style( 'um_members_rtl' );
|
300 |
} else {
|
301 |
wp_enqueue_style( 'um_members' );
|
302 |
-
}
|
303 |
|
304 |
wp_enqueue_style( 'um_profile' );
|
305 |
wp_enqueue_style( 'um_account' );
|
@@ -349,7 +349,7 @@ if ( ! class_exists( 'um\core\Enqueue' ) ) {
|
|
349 |
function load_customjs() {
|
350 |
wp_enqueue_script('um_conditional');
|
351 |
wp_enqueue_script('um_scripts');
|
352 |
-
wp_enqueue_script('um_members');
|
353 |
wp_enqueue_script('um_profile');
|
354 |
wp_enqueue_script('um_account');
|
355 |
}
|
295 |
*/
|
296 |
function load_css() {
|
297 |
wp_enqueue_style( 'um_styles' );
|
298 |
+
/*if ( is_rtl() ) {
|
299 |
wp_enqueue_style( 'um_members_rtl' );
|
300 |
} else {
|
301 |
wp_enqueue_style( 'um_members' );
|
302 |
+
}*/
|
303 |
|
304 |
wp_enqueue_style( 'um_profile' );
|
305 |
wp_enqueue_style( 'um_account' );
|
349 |
function load_customjs() {
|
350 |
wp_enqueue_script('um_conditional');
|
351 |
wp_enqueue_script('um_scripts');
|
352 |
+
//wp_enqueue_script('um_members');
|
353 |
wp_enqueue_script('um_profile');
|
354 |
wp_enqueue_script('um_account');
|
355 |
}
|
includes/core/class-fields.php
CHANGED
@@ -78,7 +78,7 @@ if ( ! class_exists( 'um\core\Fields' ) ) {
|
|
78 |
function show_social_urls() {
|
79 |
$social = array();
|
80 |
|
81 |
-
$fields = UM()->builtin()->
|
82 |
foreach ( $fields as $field => $args ) {
|
83 |
if ( isset( $args['advanced'] ) && $args['advanced'] == 'social' ) {
|
84 |
$social[ $field ] = $args;
|
@@ -396,6 +396,35 @@ if ( ! class_exists( 'um\core\Fields' ) ) {
|
|
396 |
}
|
397 |
|
398 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
399 |
/**
|
400 |
* Checks if field has a server-side error
|
401 |
*
|
@@ -407,6 +436,17 @@ if ( ! class_exists( 'um\core\Fields' ) ) {
|
|
407 |
return UM()->form()->has_error( $key );
|
408 |
}
|
409 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
410 |
|
411 |
/**
|
412 |
* Returns field error
|
@@ -419,6 +459,17 @@ if ( ! class_exists( 'um\core\Fields' ) ) {
|
|
419 |
return UM()->form()->errors[ $key ];
|
420 |
}
|
421 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
422 |
|
423 |
/**
|
424 |
* Display field label
|
@@ -972,10 +1023,10 @@ if ( ! class_exists( 'um\core\Fields' ) ) {
|
|
972 |
*/
|
973 |
$data = apply_filters( 'um_is_selected_filter_data', $data, $key, $field_value );
|
974 |
|
975 |
-
if ( ! $this->editing ) {
|
976 |
// show default on register screen if there is default
|
977 |
if ( isset( $data['default'] ) ) {
|
978 |
-
if ( strstr( $data['default'], ', ' ) ) {
|
979 |
$data['default'] = explode( ', ', $data['default'] );
|
980 |
}
|
981 |
|
@@ -986,6 +1037,11 @@ if ( ! class_exists( 'um\core\Fields' ) ) {
|
|
986 |
if ( is_array( $data['default'] ) && in_array( $value, $data['default'] ) ) {
|
987 |
return true;
|
988 |
}
|
|
|
|
|
|
|
|
|
|
|
989 |
}
|
990 |
} else {
|
991 |
|
@@ -1008,7 +1064,7 @@ if ( ! class_exists( 'um\core\Fields' ) ) {
|
|
1008 |
// show default on edit screen if there isn't meta row in usermeta table
|
1009 |
$direct_db_value = $wpdb->get_var( $wpdb->prepare( "SELECT ISNULL( meta_value ) FROM {$wpdb->usermeta} WHERE user_id = %d AND meta_key = %s", um_user( 'ID' ), $key ) );
|
1010 |
if ( ! isset( $direct_db_value ) && isset( $data['default'] ) ) {
|
1011 |
-
if ( strstr( $data['default'], ', ' ) ) {
|
1012 |
$data['default'] = explode( ', ', $data['default'] );
|
1013 |
}
|
1014 |
|
@@ -1039,7 +1095,7 @@ if ( ! class_exists( 'um\core\Fields' ) ) {
|
|
1039 |
*/
|
1040 |
function is_radio_checked( $key, $value, $data ) {
|
1041 |
global $wpdb;
|
1042 |
-
|
1043 |
if ( isset( UM()->form()->post_form[ $key ] ) ) {
|
1044 |
if ( is_array( UM()->form()->post_form[ $key ] ) && in_array( $value, UM()->form()->post_form[ $key ] ) ) {
|
1045 |
return true;
|
@@ -1048,7 +1104,7 @@ if ( ! class_exists( 'um\core\Fields' ) ) {
|
|
1048 |
}
|
1049 |
} else {
|
1050 |
|
1051 |
-
if ( $this->editing ) {
|
1052 |
if ( um_user( $key ) ) {
|
1053 |
|
1054 |
if ( strstr( $key, 'role_' ) ) {
|
@@ -1936,10 +1992,6 @@ if ( ! class_exists( 'um\core\Fields' ) ) {
|
|
1936 |
return '';
|
1937 |
}
|
1938 |
|
1939 |
-
if ( ! um_can_edit_field( $data ) ) {
|
1940 |
-
return '';
|
1941 |
-
}
|
1942 |
-
|
1943 |
um_fetch_user( $_um_profile_id );
|
1944 |
|
1945 |
// Stop return empty values build field attributes:
|
@@ -1960,6 +2012,14 @@ if ( ! class_exists( 'um\core\Fields' ) ) {
|
|
1960 |
}
|
1961 |
}
|
1962 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1963 |
$disabled = apply_filters( 'um_is_field_disabled', $disabled, $data );
|
1964 |
|
1965 |
if ( ! isset( $data['autocomplete'] ) ) {
|
@@ -2034,6 +2094,8 @@ if ( ! class_exists( 'um\core\Fields' ) ) {
|
|
2034 |
* ?>
|
2035 |
*/
|
2036 |
$field_id = apply_filters( 'um_completeness_field_id', $field_id, $data, $args );
|
|
|
|
|
2037 |
/* Begin by field type */
|
2038 |
switch ( $type ) {
|
2039 |
|
@@ -2062,6 +2124,7 @@ if ( ! class_exists( 'um\core\Fields' ) ) {
|
|
2062 |
* }
|
2063 |
* ?>
|
2064 |
*/
|
|
|
2065 |
$output .= apply_filters( "um_edit_field_{$mode}_{$type}", $output, $data );
|
2066 |
break;
|
2067 |
|
@@ -2098,9 +2161,11 @@ if ( ! class_exists( 'um\core\Fields' ) ) {
|
|
2098 |
|
2099 |
if ( $this->is_error( $key ) ) {
|
2100 |
$output .= $this->field_error( $this->show_error( $key ) );
|
|
|
|
|
2101 |
}
|
2102 |
|
2103 |
-
$output .= '</div>';
|
2104 |
break;
|
2105 |
|
2106 |
/* Text */
|
@@ -2133,6 +2198,8 @@ if ( ! class_exists( 'um\core\Fields' ) ) {
|
|
2133 |
|
2134 |
if ( $this->is_error( $key ) ) {
|
2135 |
$output .= $this->field_error( $this->show_error( $key ) );
|
|
|
|
|
2136 |
}
|
2137 |
|
2138 |
$output .= '</div>';
|
@@ -2169,6 +2236,8 @@ if ( ! class_exists( 'um\core\Fields' ) ) {
|
|
2169 |
|
2170 |
if ( $this->is_error( $key ) ) {
|
2171 |
$output .= $this->field_error( $this->show_error( $key ) );
|
|
|
|
|
2172 |
}
|
2173 |
|
2174 |
$output .= '</div>';
|
@@ -2203,6 +2272,8 @@ if ( ! class_exists( 'um\core\Fields' ) ) {
|
|
2203 |
|
2204 |
if ( $this->is_error( $key ) ) {
|
2205 |
$output .= $this->field_error( $this->show_error( $key ) );
|
|
|
|
|
2206 |
}
|
2207 |
|
2208 |
$output .= '</div>';
|
@@ -2232,6 +2303,8 @@ if ( ! class_exists( 'um\core\Fields' ) ) {
|
|
2232 |
|
2233 |
if ( $this->is_error( $key ) ) {
|
2234 |
$output .= $this->field_error( $this->show_error( $key ) );
|
|
|
|
|
2235 |
}
|
2236 |
|
2237 |
$output .= '</div>';
|
@@ -2266,6 +2339,8 @@ if ( ! class_exists( 'um\core\Fields' ) ) {
|
|
2266 |
|
2267 |
if ( $this->is_error( $key ) ) {
|
2268 |
$output .= $this->field_error( $this->show_error( $key ) );
|
|
|
|
|
2269 |
}
|
2270 |
|
2271 |
$output .= '</div>';
|
@@ -2293,6 +2368,8 @@ if ( ! class_exists( 'um\core\Fields' ) ) {
|
|
2293 |
|
2294 |
if ( $this->is_error( $key ) ) {
|
2295 |
$output .= $this->field_error( $this->show_error( $key ) );
|
|
|
|
|
2296 |
}
|
2297 |
|
2298 |
$output .= '</div>';
|
@@ -2326,6 +2403,8 @@ if ( ! class_exists( 'um\core\Fields' ) ) {
|
|
2326 |
|
2327 |
if ( $this->is_error( $key ) ) {
|
2328 |
$output .= $this->field_error( $this->show_error( $key ) );
|
|
|
|
|
2329 |
}
|
2330 |
|
2331 |
$output .= '</div>';
|
@@ -2354,6 +2433,8 @@ if ( ! class_exists( 'um\core\Fields' ) ) {
|
|
2354 |
|
2355 |
if ( $this->is_error( $key ) ) {
|
2356 |
$output .= $this->field_error( $this->show_error( $key ) );
|
|
|
|
|
2357 |
}
|
2358 |
|
2359 |
$output .= '</div>';
|
@@ -2382,6 +2463,8 @@ if ( ! class_exists( 'um\core\Fields' ) ) {
|
|
2382 |
|
2383 |
if ( $this->is_error( $key ) ) {
|
2384 |
$output .= $this->field_error( $this->show_error( $key ) );
|
|
|
|
|
2385 |
}
|
2386 |
|
2387 |
$output .= '</div>';
|
@@ -2462,6 +2545,8 @@ if ( ! class_exists( 'um\core\Fields' ) ) {
|
|
2462 |
|
2463 |
if ( $this->is_error( $key ) ) {
|
2464 |
$output .= $this->field_error( $this->show_error( $key ) );
|
|
|
|
|
2465 |
}
|
2466 |
|
2467 |
$output .= '</div>';
|
@@ -2566,6 +2651,8 @@ if ( ! class_exists( 'um\core\Fields' ) ) {
|
|
2566 |
/* end */
|
2567 |
if ( $this->is_error( $key ) ) {
|
2568 |
$output .= $this->field_error( $this->show_error( $key ) );
|
|
|
|
|
2569 |
}
|
2570 |
$output .= '</div>';
|
2571 |
|
@@ -2663,6 +2750,8 @@ if ( ! class_exists( 'um\core\Fields' ) ) {
|
|
2663 |
/* end */
|
2664 |
if ( $this->is_error( $key ) ) {
|
2665 |
$output .= $this->field_error( $this->show_error( $key ) );
|
|
|
|
|
2666 |
}
|
2667 |
$output .= '</div>';
|
2668 |
|
@@ -2969,8 +3058,11 @@ if ( ! class_exists( 'um\core\Fields' ) ) {
|
|
2969 |
|
2970 |
if ( $this->is_error( $form_key ) ) {
|
2971 |
$output .= $this->field_error( $this->show_error( $form_key ) );
|
|
|
|
|
2972 |
}
|
2973 |
|
|
|
2974 |
$output .= '</div>';
|
2975 |
break;
|
2976 |
|
@@ -3101,6 +3193,18 @@ if ( ! class_exists( 'um\core\Fields' ) ) {
|
|
3101 |
$options = apply_filters( "um_multiselect_options_{$data['type']}", $options, $data );
|
3102 |
}
|
3103 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3104 |
// switch options pair for custom options from a callback function
|
3105 |
if ( ! empty( $data['custom_dropdown_options_source'] ) ) {
|
3106 |
$use_keyword = true;
|
@@ -3151,6 +3255,8 @@ if ( ! class_exists( 'um\core\Fields' ) ) {
|
|
3151 |
|
3152 |
if ( $this->is_error( $key ) ) {
|
3153 |
$output .= $this->field_error( $this->show_error( $key ) );
|
|
|
|
|
3154 |
}
|
3155 |
|
3156 |
$output .= '</div>';
|
@@ -3219,11 +3325,24 @@ if ( ! class_exists( 'um\core\Fields' ) ) {
|
|
3219 |
$i = 0;
|
3220 |
$field_value = array();
|
3221 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3222 |
if ( ! empty( $options ) ) {
|
3223 |
foreach ( $options as $k => $v ) {
|
3224 |
|
3225 |
$v = rtrim( $v );
|
3226 |
-
|
3227 |
$um_field_checkbox_item_title = $v;
|
3228 |
$option_value = $v;
|
3229 |
|
@@ -3233,6 +3352,11 @@ if ( ! class_exists( 'um\core\Fields' ) ) {
|
|
3233 |
$option_value = $k;
|
3234 |
}
|
3235 |
|
|
|
|
|
|
|
|
|
|
|
3236 |
$i++;
|
3237 |
if ($i % 2 == 0) {
|
3238 |
$col_class = 'right';
|
@@ -3287,8 +3411,10 @@ if ( ! class_exists( 'um\core\Fields' ) ) {
|
|
3287 |
|
3288 |
$output .= '</div>';
|
3289 |
|
3290 |
-
if ( $this->is_error( $
|
3291 |
-
$output .= $this->field_error( $this->show_error( $
|
|
|
|
|
3292 |
}
|
3293 |
|
3294 |
$output .= '</div>';
|
@@ -3437,6 +3563,8 @@ if ( ! class_exists( 'um\core\Fields' ) ) {
|
|
3437 |
|
3438 |
if ( $this->is_error( $key ) ) {
|
3439 |
$output .= $this->field_error( $this->show_error( $key ) );
|
|
|
|
|
3440 |
}
|
3441 |
|
3442 |
$output .= '</div>';
|
@@ -3560,9 +3688,13 @@ if ( ! class_exists( 'um\core\Fields' ) ) {
|
|
3560 |
*/
|
3561 |
function array_sort_by_column( $arr, $col, $dir = SORT_ASC ) {
|
3562 |
$sort_col = array();
|
3563 |
-
foreach ($arr as $key => $row) {
|
3564 |
-
if (
|
3565 |
-
|
|
|
|
|
|
|
|
|
3566 |
}
|
3567 |
}
|
3568 |
|
78 |
function show_social_urls() {
|
79 |
$social = array();
|
80 |
|
81 |
+
$fields = UM()->builtin()->get_all_user_fields();
|
82 |
foreach ( $fields as $field => $args ) {
|
83 |
if ( isset( $args['advanced'] ) && $args['advanced'] == 'social' ) {
|
84 |
$social[ $field ] = $args;
|
396 |
}
|
397 |
|
398 |
|
399 |
+
/**
|
400 |
+
* Print field notice
|
401 |
+
*
|
402 |
+
* @param string $text
|
403 |
+
* @param bool $force_show
|
404 |
+
*
|
405 |
+
* @return string
|
406 |
+
*/
|
407 |
+
function field_notice( $text, $force_show = false ) {
|
408 |
+
if ( $force_show ) {
|
409 |
+
$output = '<div class="um-field-notice"><span class="um-field-arrow"><i class="um-faicon-caret-up"></i></span>' . $text . '</div>';
|
410 |
+
return $output;
|
411 |
+
}
|
412 |
+
|
413 |
+
|
414 |
+
if ( isset( $this->set_id ) && UM()->form()->processing == $this->set_id ) {
|
415 |
+
$output = '<div class="um-field-notice"><span class="um-field-arrow"><i class="um-faicon-caret-up"></i></span>' . $text . '</div>';
|
416 |
+
} else {
|
417 |
+
$output = '';
|
418 |
+
}
|
419 |
+
|
420 |
+
if ( ! UM()->form()->processing ) {
|
421 |
+
$output = '<div class="um-field-notice"><span class="um-field-arrow"><i class="um-faicon-caret-up"></i></span>' . $text . '</div>';
|
422 |
+
}
|
423 |
+
|
424 |
+
return $output;
|
425 |
+
}
|
426 |
+
|
427 |
+
|
428 |
/**
|
429 |
* Checks if field has a server-side error
|
430 |
*
|
436 |
return UM()->form()->has_error( $key );
|
437 |
}
|
438 |
|
439 |
+
/**
|
440 |
+
* Checks if field has a notice
|
441 |
+
*
|
442 |
+
* @param string $key
|
443 |
+
*
|
444 |
+
* @return boolean
|
445 |
+
*/
|
446 |
+
function is_notice( $key ) {
|
447 |
+
return UM()->form()->has_notice( $key );
|
448 |
+
}
|
449 |
+
|
450 |
|
451 |
/**
|
452 |
* Returns field error
|
459 |
return UM()->form()->errors[ $key ];
|
460 |
}
|
461 |
|
462 |
+
/**
|
463 |
+
* Returns field notices
|
464 |
+
*
|
465 |
+
* @param string $key
|
466 |
+
*
|
467 |
+
* @return string
|
468 |
+
*/
|
469 |
+
function show_notice( $key ) {
|
470 |
+
return UM()->form()->notices[ $key ];
|
471 |
+
}
|
472 |
+
|
473 |
|
474 |
/**
|
475 |
* Display field label
|
1023 |
*/
|
1024 |
$data = apply_filters( 'um_is_selected_filter_data', $data, $key, $field_value );
|
1025 |
|
1026 |
+
if ( ! $this->editing || 'custom' == $this->set_mode ) {
|
1027 |
// show default on register screen if there is default
|
1028 |
if ( isset( $data['default'] ) ) {
|
1029 |
+
if ( ! is_array( $data['default'] ) && strstr( $data['default'], ', ' ) ) {
|
1030 |
$data['default'] = explode( ', ', $data['default'] );
|
1031 |
}
|
1032 |
|
1037 |
if ( is_array( $data['default'] ) && in_array( $value, $data['default'] ) ) {
|
1038 |
return true;
|
1039 |
}
|
1040 |
+
|
1041 |
+
if ( is_array( $data['default'] ) && array_intersect( $data['options'], $data['default'] ) ) {
|
1042 |
+
return true;
|
1043 |
+
}
|
1044 |
+
|
1045 |
}
|
1046 |
} else {
|
1047 |
|
1064 |
// show default on edit screen if there isn't meta row in usermeta table
|
1065 |
$direct_db_value = $wpdb->get_var( $wpdb->prepare( "SELECT ISNULL( meta_value ) FROM {$wpdb->usermeta} WHERE user_id = %d AND meta_key = %s", um_user( 'ID' ), $key ) );
|
1066 |
if ( ! isset( $direct_db_value ) && isset( $data['default'] ) ) {
|
1067 |
+
if ( ! is_array( $data['default'] ) && strstr( $data['default'], ', ' ) ) {
|
1068 |
$data['default'] = explode( ', ', $data['default'] );
|
1069 |
}
|
1070 |
|
1095 |
*/
|
1096 |
function is_radio_checked( $key, $value, $data ) {
|
1097 |
global $wpdb;
|
1098 |
+
|
1099 |
if ( isset( UM()->form()->post_form[ $key ] ) ) {
|
1100 |
if ( is_array( UM()->form()->post_form[ $key ] ) && in_array( $value, UM()->form()->post_form[ $key ] ) ) {
|
1101 |
return true;
|
1104 |
}
|
1105 |
} else {
|
1106 |
|
1107 |
+
if ( $this->editing && 'custom' !== $this->set_mode ) {
|
1108 |
if ( um_user( $key ) ) {
|
1109 |
|
1110 |
if ( strstr( $key, 'role_' ) ) {
|
1992 |
return '';
|
1993 |
}
|
1994 |
|
|
|
|
|
|
|
|
|
1995 |
um_fetch_user( $_um_profile_id );
|
1996 |
|
1997 |
// Stop return empty values build field attributes:
|
2012 |
}
|
2013 |
}
|
2014 |
|
2015 |
+
if ( ! empty( $this->editing ) && $this->set_mode == 'profile' ) {
|
2016 |
+
if ( ! UM()->roles()->um_user_can( 'can_edit_everyone' ) ) {
|
2017 |
+
if ( isset( $data['editable'] ) && $data['editable'] == 0 ) {
|
2018 |
+
$disabled = ' disabled="disabled" ';
|
2019 |
+
}
|
2020 |
+
}
|
2021 |
+
}
|
2022 |
+
|
2023 |
$disabled = apply_filters( 'um_is_field_disabled', $disabled, $data );
|
2024 |
|
2025 |
if ( ! isset( $data['autocomplete'] ) ) {
|
2094 |
* ?>
|
2095 |
*/
|
2096 |
$field_id = apply_filters( 'um_completeness_field_id', $field_id, $data, $args );
|
2097 |
+
|
2098 |
+
|
2099 |
/* Begin by field type */
|
2100 |
switch ( $type ) {
|
2101 |
|
2124 |
* }
|
2125 |
* ?>
|
2126 |
*/
|
2127 |
+
|
2128 |
$output .= apply_filters( "um_edit_field_{$mode}_{$type}", $output, $data );
|
2129 |
break;
|
2130 |
|
2161 |
|
2162 |
if ( $this->is_error( $key ) ) {
|
2163 |
$output .= $this->field_error( $this->show_error( $key ) );
|
2164 |
+
}else if ( $this->is_notice( $key ) ) {
|
2165 |
+
$output .= $this->field_notice( $this->show_notice( $key ) );
|
2166 |
}
|
2167 |
|
2168 |
+
$output .= '</div>';
|
2169 |
break;
|
2170 |
|
2171 |
/* Text */
|
2198 |
|
2199 |
if ( $this->is_error( $key ) ) {
|
2200 |
$output .= $this->field_error( $this->show_error( $key ) );
|
2201 |
+
}else if ( $this->is_notice( $key ) ) {
|
2202 |
+
$output .= $this->field_notice( $this->show_notice( $key ) );
|
2203 |
}
|
2204 |
|
2205 |
$output .= '</div>';
|
2236 |
|
2237 |
if ( $this->is_error( $key ) ) {
|
2238 |
$output .= $this->field_error( $this->show_error( $key ) );
|
2239 |
+
}else if ( $this->is_notice( $key ) ) {
|
2240 |
+
$output .= $this->field_notice( $this->show_notice( $key ) );
|
2241 |
}
|
2242 |
|
2243 |
$output .= '</div>';
|
2272 |
|
2273 |
if ( $this->is_error( $key ) ) {
|
2274 |
$output .= $this->field_error( $this->show_error( $key ) );
|
2275 |
+
}else if ( $this->is_notice( $key ) ) {
|
2276 |
+
$output .= $this->field_notice( $this->show_notice( $key ) );
|
2277 |
}
|
2278 |
|
2279 |
$output .= '</div>';
|
2303 |
|
2304 |
if ( $this->is_error( $key ) ) {
|
2305 |
$output .= $this->field_error( $this->show_error( $key ) );
|
2306 |
+
}else if ( $this->is_notice( $key ) ) {
|
2307 |
+
$output .= $this->field_notice( $this->show_notice( $key ) );
|
2308 |
}
|
2309 |
|
2310 |
$output .= '</div>';
|
2339 |
|
2340 |
if ( $this->is_error( $key ) ) {
|
2341 |
$output .= $this->field_error( $this->show_error( $key ) );
|
2342 |
+
}else if ( $this->is_notice( $key ) ) {
|
2343 |
+
$output .= $this->field_notice( $this->show_notice( $key ) );
|
2344 |
}
|
2345 |
|
2346 |
$output .= '</div>';
|
2368 |
|
2369 |
if ( $this->is_error( $key ) ) {
|
2370 |
$output .= $this->field_error( $this->show_error( $key ) );
|
2371 |
+
}else if ( $this->is_notice( $key ) ) {
|
2372 |
+
$output .= $this->field_notice( $this->show_notice( $key ) );
|
2373 |
}
|
2374 |
|
2375 |
$output .= '</div>';
|
2403 |
|
2404 |
if ( $this->is_error( $key ) ) {
|
2405 |
$output .= $this->field_error( $this->show_error( $key ) );
|
2406 |
+
}else if ( $this->is_notice( $key ) ) {
|
2407 |
+
$output .= $this->field_notice( $this->show_notice( $key ) );
|
2408 |
}
|
2409 |
|
2410 |
$output .= '</div>';
|
2433 |
|
2434 |
if ( $this->is_error( $key ) ) {
|
2435 |
$output .= $this->field_error( $this->show_error( $key ) );
|
2436 |
+
}else if ( $this->is_notice( $key ) ) {
|
2437 |
+
$output .= $this->field_notice( $this->show_notice( $key ) );
|
2438 |
}
|
2439 |
|
2440 |
$output .= '</div>';
|
2463 |
|
2464 |
if ( $this->is_error( $key ) ) {
|
2465 |
$output .= $this->field_error( $this->show_error( $key ) );
|
2466 |
+
}else if ( $this->is_notice( $key ) ) {
|
2467 |
+
$output .= $this->field_notice( $this->show_notice( $key ) );
|
2468 |
}
|
2469 |
|
2470 |
$output .= '</div>';
|
2545 |
|
2546 |
if ( $this->is_error( $key ) ) {
|
2547 |
$output .= $this->field_error( $this->show_error( $key ) );
|
2548 |
+
}else if ( $this->is_notice( $key ) ) {
|
2549 |
+
$output .= $this->field_notice( $this->show_notice( $key ) );
|
2550 |
}
|
2551 |
|
2552 |
$output .= '</div>';
|
2651 |
/* end */
|
2652 |
if ( $this->is_error( $key ) ) {
|
2653 |
$output .= $this->field_error( $this->show_error( $key ) );
|
2654 |
+
}else if ( $this->is_notice( $key ) ) {
|
2655 |
+
$output .= $this->field_notice( $this->show_notice( $key ) );
|
2656 |
}
|
2657 |
$output .= '</div>';
|
2658 |
|
2750 |
/* end */
|
2751 |
if ( $this->is_error( $key ) ) {
|
2752 |
$output .= $this->field_error( $this->show_error( $key ) );
|
2753 |
+
}else if ( $this->is_notice( $key ) ) {
|
2754 |
+
$output .= $this->field_notice( $this->show_notice( $key ) );
|
2755 |
}
|
2756 |
$output .= '</div>';
|
2757 |
|
3058 |
|
3059 |
if ( $this->is_error( $form_key ) ) {
|
3060 |
$output .= $this->field_error( $this->show_error( $form_key ) );
|
3061 |
+
} elseif ( $this->is_notice( $form_key ) ) {
|
3062 |
+
$output .= $this->field_notice( $this->show_notice( $form_key ) );
|
3063 |
}
|
3064 |
|
3065 |
+
|
3066 |
$output .= '</div>';
|
3067 |
break;
|
3068 |
|
3193 |
$options = apply_filters( "um_multiselect_options_{$data['type']}", $options, $data );
|
3194 |
}
|
3195 |
|
3196 |
+
/**
|
3197 |
+
* UM hook
|
3198 |
+
*
|
3199 |
+
* @type filter
|
3200 |
+
* @title um_select_option_value
|
3201 |
+
* @description Enable options pair by field $data
|
3202 |
+
* @input_vars
|
3203 |
+
* [{"var":"$options_pair","type":"null","desc":"Enable pairs"},
|
3204 |
+
* {"var":"$data","type":"array","desc":"Field Data"}]
|
3205 |
+
*/
|
3206 |
+
$use_keyword = apply_filters( 'um_select_options_pair', null, $data );
|
3207 |
+
|
3208 |
// switch options pair for custom options from a callback function
|
3209 |
if ( ! empty( $data['custom_dropdown_options_source'] ) ) {
|
3210 |
$use_keyword = true;
|
3255 |
|
3256 |
if ( $this->is_error( $key ) ) {
|
3257 |
$output .= $this->field_error( $this->show_error( $key ) );
|
3258 |
+
}else if ( $this->is_notice( $key ) ) {
|
3259 |
+
$output .= $this->field_notice( $this->show_notice( $key ) );
|
3260 |
}
|
3261 |
|
3262 |
$output .= '</div>';
|
3325 |
$i = 0;
|
3326 |
$field_value = array();
|
3327 |
|
3328 |
+
/**
|
3329 |
+
* UM hook
|
3330 |
+
*
|
3331 |
+
* @type filter
|
3332 |
+
* @title um_radio_option_value
|
3333 |
+
* @description Enable options pair by field $data
|
3334 |
+
* @input_vars
|
3335 |
+
* [{"var":"$options_pair","type":"null","desc":"Enable pairs"},
|
3336 |
+
* {"var":"$data","type":"array","desc":"Field Data"}]
|
3337 |
+
*/
|
3338 |
+
$options_pair = apply_filters( "um_radio_options_pair__{$key}", false, $data );
|
3339 |
+
|
3340 |
+
|
3341 |
if ( ! empty( $options ) ) {
|
3342 |
foreach ( $options as $k => $v ) {
|
3343 |
|
3344 |
$v = rtrim( $v );
|
3345 |
+
|
3346 |
$um_field_checkbox_item_title = $v;
|
3347 |
$option_value = $v;
|
3348 |
|
3352 |
$option_value = $k;
|
3353 |
}
|
3354 |
|
3355 |
+
if( $options_pair ){
|
3356 |
+
$um_field_checkbox_item_title = $v;
|
3357 |
+
$option_value = $k;
|
3358 |
+
}
|
3359 |
+
|
3360 |
$i++;
|
3361 |
if ($i % 2 == 0) {
|
3362 |
$col_class = 'right';
|
3411 |
|
3412 |
$output .= '</div>';
|
3413 |
|
3414 |
+
if ( $this->is_error( $key ) ) {
|
3415 |
+
$output .= $this->field_error( $this->show_error( $key ) );
|
3416 |
+
}else if ( $this->is_notice( $key ) ) {
|
3417 |
+
$output .= $this->field_notice( $this->show_notice( $key ) );
|
3418 |
}
|
3419 |
|
3420 |
$output .= '</div>';
|
3563 |
|
3564 |
if ( $this->is_error( $key ) ) {
|
3565 |
$output .= $this->field_error( $this->show_error( $key ) );
|
3566 |
+
}else if ( $this->is_notice( $key ) ) {
|
3567 |
+
$output .= $this->field_notice( $this->show_notice( $key ) );
|
3568 |
}
|
3569 |
|
3570 |
$output .= '</div>';
|
3688 |
*/
|
3689 |
function array_sort_by_column( $arr, $col, $dir = SORT_ASC ) {
|
3690 |
$sort_col = array();
|
3691 |
+
foreach ( $arr as $key => $row ) {
|
3692 |
+
if ( $key == 'form_id' ) {
|
3693 |
+
continue;
|
3694 |
+
}
|
3695 |
+
|
3696 |
+
if ( isset( $row[ $col ] ) ) {
|
3697 |
+
$sort_col[ $key ] = $row[ $col ];
|
3698 |
}
|
3699 |
}
|
3700 |
|
includes/core/class-files.php
CHANGED
@@ -281,7 +281,7 @@ if ( ! class_exists( 'um\core\Files' ) ) {
|
|
281 |
$user_id = absint( $_POST['user_id'] );
|
282 |
|
283 |
if ( ! UM()->roles()->um_current_user_can( 'edit', $user_id ) ) {
|
284 |
-
wp_send_json_error( __( 'You
|
285 |
}
|
286 |
|
287 |
$is_temp = um_is_temp_upload( $src );
|
@@ -296,7 +296,7 @@ if ( ! class_exists( 'um\core\Files' ) ) {
|
|
296 |
if ( $this->delete_file( $src ) ) {
|
297 |
wp_send_json_success();
|
298 |
} else {
|
299 |
-
wp_send_json_error( __( 'You
|
300 |
}
|
301 |
}
|
302 |
|
@@ -326,8 +326,11 @@ if ( ! class_exists( 'um\core\Files' ) ) {
|
|
326 |
|
327 |
$user_id = empty( $_REQUEST['user_id'] ) ? get_current_user_id() : $_REQUEST['user_id'];
|
328 |
|
329 |
-
|
330 |
-
|
|
|
|
|
|
|
331 |
wp_send_json_error( $ret );
|
332 |
}
|
333 |
|
@@ -364,7 +367,7 @@ if ( ! class_exists( 'um\core\Files' ) ) {
|
|
364 |
UM()->fields()->set_mode = $_POST['set_mode'];
|
365 |
|
366 |
if ( UM()->fields()->set_mode != 'register' && ! UM()->roles()->um_current_user_can( 'edit', $user_id ) ) {
|
367 |
-
$ret['error'] = __( 'You
|
368 |
wp_send_json_error( $ret );
|
369 |
}
|
370 |
|
281 |
$user_id = absint( $_POST['user_id'] );
|
282 |
|
283 |
if ( ! UM()->roles()->um_current_user_can( 'edit', $user_id ) ) {
|
284 |
+
wp_send_json_error( __( 'You have no permission to edit this user', 'ultimate-member' ) );
|
285 |
}
|
286 |
|
287 |
$is_temp = um_is_temp_upload( $src );
|
296 |
if ( $this->delete_file( $src ) ) {
|
297 |
wp_send_json_success();
|
298 |
} else {
|
299 |
+
wp_send_json_error( __( 'You have no permission to delete this file', 'ultimate-member' ) );
|
300 |
}
|
301 |
}
|
302 |
|
326 |
|
327 |
$user_id = empty( $_REQUEST['user_id'] ) ? get_current_user_id() : $_REQUEST['user_id'];
|
328 |
|
329 |
+
UM()->fields()->set_id = filter_input( INPUT_POST, 'set_id', FILTER_SANITIZE_NUMBER_INT );
|
330 |
+
UM()->fields()->set_mode = filter_input( INPUT_POST, 'set_mode', FILTER_SANITIZE_STRING );
|
331 |
+
|
332 |
+
if ( UM()->fields()->set_mode != 'register' && ! UM()->roles()->um_current_user_can( 'edit', $user_id ) ) {
|
333 |
+
$ret['error'] = esc_js( __( 'You have no permission to edit this user', 'ultimate-member' ) );
|
334 |
wp_send_json_error( $ret );
|
335 |
}
|
336 |
|
367 |
UM()->fields()->set_mode = $_POST['set_mode'];
|
368 |
|
369 |
if ( UM()->fields()->set_mode != 'register' && ! UM()->roles()->um_current_user_can( 'edit', $user_id ) ) {
|
370 |
+
$ret['error'] = __( 'You have no permission to edit this user', 'ultimate-member' );
|
371 |
wp_send_json_error( $ret );
|
372 |
}
|
373 |
|
includes/core/class-form.php
CHANGED
@@ -103,7 +103,7 @@ if ( ! class_exists( 'um\core\Form' ) ) {
|
|
103 |
$form_fields = UM()->fields()->get_fields();
|
104 |
$arr_options['fields'] = $form_fields;
|
105 |
|
106 |
-
if ( $arr_options['post']['members_directory'] == 'yes' ) {
|
107 |
$ajax_source_func = $_POST['child_callback'];
|
108 |
if ( function_exists( $ajax_source_func ) ) {
|
109 |
$arr_options['items'] = call_user_func( $ajax_source_func, $arr_options['field']['parent_dropdown_relationship'] );
|
@@ -156,7 +156,7 @@ if ( ! class_exists( 'um\core\Form' ) ) {
|
|
156 |
);
|
157 |
}
|
158 |
|
159 |
-
if( isset( $_POST['child_callback'] ) && ! empty( $_POST['child_callback'] ) && isset( $form_fields[ $_POST['child_name'] ] ) ){
|
160 |
|
161 |
$ajax_source_func = $_POST['child_callback'];
|
162 |
|
@@ -232,6 +232,40 @@ if ( ! class_exists( 'um\core\Form' ) ) {
|
|
232 |
}
|
233 |
}
|
234 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
235 |
|
236 |
/**
|
237 |
* If a form has errors
|
@@ -245,6 +279,18 @@ if ( ! class_exists( 'um\core\Form' ) ) {
|
|
245 |
return false;
|
246 |
}
|
247 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
248 |
|
249 |
/**
|
250 |
* Declare all fields
|
103 |
$form_fields = UM()->fields()->get_fields();
|
104 |
$arr_options['fields'] = $form_fields;
|
105 |
|
106 |
+
if ( isset( $arr_options['post']['members_directory'] ) && $arr_options['post']['members_directory'] == 'yes' ) {
|
107 |
$ajax_source_func = $_POST['child_callback'];
|
108 |
if ( function_exists( $ajax_source_func ) ) {
|
109 |
$arr_options['items'] = call_user_func( $ajax_source_func, $arr_options['field']['parent_dropdown_relationship'] );
|
156 |
);
|
157 |
}
|
158 |
|
159 |
+
if ( isset( $_POST['child_callback'] ) && ! empty( $_POST['child_callback'] ) && isset( $form_fields[ $_POST['child_name'] ] ) ){
|
160 |
|
161 |
$ajax_source_func = $_POST['child_callback'];
|
162 |
|
232 |
}
|
233 |
}
|
234 |
|
235 |
+
/**
|
236 |
+
* Appends field notices
|
237 |
+
* @param string $key
|
238 |
+
* @param string $notice
|
239 |
+
*/
|
240 |
+
function add_notice( $key, $notice ) {
|
241 |
+
if ( ! isset( $this->notices[ $key ] ) ){
|
242 |
+
/**
|
243 |
+
* UM hook
|
244 |
+
*
|
245 |
+
* @type filter
|
246 |
+
* @title um_submit_form_notice
|
247 |
+
* @description Change notice text on submit form
|
248 |
+
* @input_vars
|
249 |
+
* [{"var":"$notice","type":"string","desc":"notice String"},
|
250 |
+
* {"var":"$key","type":"string","desc":"notice Key"}]
|
251 |
+
* @change_log
|
252 |
+
* ["Since: 2.0"]
|
253 |
+
* @usage
|
254 |
+
* <?php add_filter( 'um_submit_form_notice', 'function_name', 10, 2 ); ?>
|
255 |
+
* @example
|
256 |
+
* <?php
|
257 |
+
* add_filter( 'um_submit_form_notice', 'my_submit_form_notice', 10, 2 );
|
258 |
+
* function my_submit_form_notice( $notice, $key ) {
|
259 |
+
* // your code here
|
260 |
+
* return $notice;
|
261 |
+
* }
|
262 |
+
* ?>
|
263 |
+
*/
|
264 |
+
$notice = apply_filters( 'um_submit_form_notice', $notice, $key );
|
265 |
+
$this->notices[ $key ] = $notice;
|
266 |
+
}
|
267 |
+
}
|
268 |
+
|
269 |
|
270 |
/**
|
271 |
* If a form has errors
|
279 |
return false;
|
280 |
}
|
281 |
|
282 |
+
/**
|
283 |
+
* If a form has notices/info
|
284 |
+
* @param string $key
|
285 |
+
* @return boolean
|
286 |
+
*/
|
287 |
+
function has_notice( $key ) {
|
288 |
+
if ( isset( $this->notices[ $key ] ) ) {
|
289 |
+
return true;
|
290 |
+
}
|
291 |
+
return false;
|
292 |
+
}
|
293 |
+
|
294 |
|
295 |
/**
|
296 |
* Declare all fields
|
includes/core/class-mail.php
CHANGED
@@ -610,7 +610,7 @@ if ( ! class_exists( 'um\core\Mail' ) ) {
|
|
610 |
$replace_placeholders[] = um_user_profile_url();
|
611 |
$replace_placeholders[] = get_bloginfo( 'url' );
|
612 |
$replace_placeholders[] = um_admin_email();
|
613 |
-
$replace_placeholders[] =
|
614 |
$replace_placeholders[] = um_get_core_page( 'login' );
|
615 |
$replace_placeholders[] = esc_html__( 'Your set password', 'ultimate-member' );
|
616 |
$replace_placeholders[] = um_user( 'account_activation_link' );
|
610 |
$replace_placeholders[] = um_user_profile_url();
|
611 |
$replace_placeholders[] = get_bloginfo( 'url' );
|
612 |
$replace_placeholders[] = um_admin_email();
|
613 |
+
$replace_placeholders[] = um_user_submitted_registration_formatted();
|
614 |
$replace_placeholders[] = um_get_core_page( 'login' );
|
615 |
$replace_placeholders[] = esc_html__( 'Your set password', 'ultimate-member' );
|
616 |
$replace_placeholders[] = um_user( 'account_activation_link' );
|
includes/core/class-member-directory-meta.php
CHANGED
@@ -24,6 +24,8 @@ if ( ! class_exists( 'um\core\Member_Directory_Meta' ) ) {
|
|
24 |
var $roles = array();
|
25 |
var $general_meta_joined = false;
|
26 |
|
|
|
|
|
27 |
var $sql_limit = '';
|
28 |
var $sql_order = '';
|
29 |
|
@@ -217,6 +219,8 @@ if ( ! class_exists( 'um\core\Member_Directory_Meta' ) ) {
|
|
217 |
*/
|
218 |
$skip_default = apply_filters( "um_query_args_{$field}__filter_meta", false, $this, $field, $value, $filter_type, $is_default );
|
219 |
|
|
|
|
|
220 |
if ( ! $skip_default ) {
|
221 |
|
222 |
switch ( $filter_type ) {
|
@@ -535,7 +539,9 @@ if ( ! class_exists( 'um\core\Member_Directory_Meta' ) ) {
|
|
535 |
|
536 |
$additional_search = apply_filters( 'um_member_directory_meta_general_search_meta_query', '', stripslashes( $_POST['search'] ) );
|
537 |
|
538 |
-
$
|
|
|
|
|
539 |
|
540 |
$this->is_search = true;
|
541 |
}
|
@@ -592,13 +598,16 @@ if ( ! class_exists( 'um\core\Member_Directory_Meta' ) ) {
|
|
592 |
|
593 |
$order = 'ASC';
|
594 |
$sortby = ! empty( $_POST['sorting'] ) ? $_POST['sorting'] : $directory_data['sortby'];
|
|
|
595 |
|
596 |
$custom_sort = array();
|
597 |
-
|
598 |
-
|
599 |
-
|
600 |
-
|
601 |
-
|
|
|
|
|
602 |
}
|
603 |
}
|
604 |
|
@@ -637,7 +646,7 @@ if ( ! class_exists( 'um\core\Member_Directory_Meta' ) ) {
|
|
637 |
|
638 |
$this->joins[] = "LEFT JOIN {$wpdb->prefix}um_metadata umm_sort ON ( umm_sort.user_id = u.ID AND umm_sort.um_key = '_um_last_login' )";
|
639 |
|
640 |
-
$this->sql_order = " ORDER BY CAST( umm_sort.um_value AS SIGNED )
|
641 |
|
642 |
} elseif ( $sortby == 'last_first_name' ) {
|
643 |
|
@@ -722,10 +731,12 @@ if ( ! class_exists( 'um\core\Member_Directory_Meta' ) ) {
|
|
722 |
global $wpdb;
|
723 |
|
724 |
$user_ids = $wpdb->get_col(
|
725 |
-
"SELECT SQL_CALC_FOUND_ROWS DISTINCT u.ID
|
|
|
726 |
FROM {$wpdb->users} AS u
|
727 |
{$sql_join}
|
728 |
WHERE 1=1 {$sql_where}
|
|
|
729 |
{$this->sql_order}
|
730 |
{$this->sql_limit}"
|
731 |
);
|
@@ -749,7 +760,13 @@ if ( ! class_exists( 'um\core\Member_Directory_Meta' ) ) {
|
|
749 |
um_reset_user();
|
750 |
// end of user card
|
751 |
|
752 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
753 |
}
|
754 |
}
|
755 |
}
|
24 |
var $roles = array();
|
25 |
var $general_meta_joined = false;
|
26 |
|
27 |
+
var $having = '';
|
28 |
+
var $select = '';
|
29 |
var $sql_limit = '';
|
30 |
var $sql_order = '';
|
31 |
|
219 |
*/
|
220 |
$skip_default = apply_filters( "um_query_args_{$field}__filter_meta", false, $this, $field, $value, $filter_type, $is_default );
|
221 |
|
222 |
+
$skip_default = apply_filters( 'um_query_args_filter_global_meta', $skip_default, $this, $field, $value, $filter_type, $is_default );
|
223 |
+
|
224 |
if ( ! $skip_default ) {
|
225 |
|
226 |
switch ( $filter_type ) {
|
539 |
|
540 |
$additional_search = apply_filters( 'um_member_directory_meta_general_search_meta_query', '', stripslashes( $_POST['search'] ) );
|
541 |
|
542 |
+
$search_like_string = apply_filters( 'um_member_directory_meta_search_like_type', '%' . $search_line . '%', $search_line );
|
543 |
+
|
544 |
+
$this->where_clauses[] = $wpdb->prepare( "( umm_search.um_value = %s OR umm_search.um_value LIKE %s OR umm_search.um_value LIKE %s OR {$core_search}{$additional_search})", $search_line, $search_like_string, '%' . serialize( strval( $search_line ) ) . '%' );
|
545 |
|
546 |
$this->is_search = true;
|
547 |
}
|
598 |
|
599 |
$order = 'ASC';
|
600 |
$sortby = ! empty( $_POST['sorting'] ) ? $_POST['sorting'] : $directory_data['sortby'];
|
601 |
+
$sortby = ( $sortby == 'other' ) ? $directory_data['sortby_custom'] : $sortby;
|
602 |
|
603 |
$custom_sort = array();
|
604 |
+
if ( ! empty( $directory_data['sorting_fields'] ) ) {
|
605 |
+
$sorting_fields = maybe_unserialize( $directory_data['sorting_fields'] );
|
606 |
+
foreach ( $sorting_fields as $field ) {
|
607 |
+
if ( is_array( $field ) ) {
|
608 |
+
$field_keys = array_keys( $field );
|
609 |
+
$custom_sort[] = $field_keys[0];
|
610 |
+
}
|
611 |
}
|
612 |
}
|
613 |
|
646 |
|
647 |
$this->joins[] = "LEFT JOIN {$wpdb->prefix}um_metadata umm_sort ON ( umm_sort.user_id = u.ID AND umm_sort.um_key = '_um_last_login' )";
|
648 |
|
649 |
+
$this->sql_order = " ORDER BY CAST( umm_sort.um_value AS SIGNED ) DESC ";
|
650 |
|
651 |
} elseif ( $sortby == 'last_first_name' ) {
|
652 |
|
731 |
global $wpdb;
|
732 |
|
733 |
$user_ids = $wpdb->get_col(
|
734 |
+
"SELECT SQL_CALC_FOUND_ROWS DISTINCT u.ID
|
735 |
+
{$this->select}
|
736 |
FROM {$wpdb->users} AS u
|
737 |
{$sql_join}
|
738 |
WHERE 1=1 {$sql_where}
|
739 |
+
{$this->having}
|
740 |
{$this->sql_order}
|
741 |
{$this->sql_limit}"
|
742 |
);
|
760 |
um_reset_user();
|
761 |
// end of user card
|
762 |
|
763 |
+
$member_directory_response = apply_filters( 'um_ajax_get_members_response', array(
|
764 |
+
'pagination' => $pagination_data,
|
765 |
+
'users' => $users,
|
766 |
+
'is_search' => $this->is_search,
|
767 |
+
), $directory_data );
|
768 |
+
|
769 |
+
wp_send_json_success( $member_directory_response );
|
770 |
}
|
771 |
}
|
772 |
}
|
includes/core/class-member-directory.php
CHANGED
@@ -512,15 +512,16 @@ if ( ! class_exists( 'um\core\Member_Directory' ) ) {
|
|
512 |
switch ( $this->filter_types[ $filter ] ) {
|
513 |
default: {
|
514 |
|
515 |
-
do_action( "um_member_directory_filter_type_{$this->filter_types[ $filter ]}", $filter, $
|
516 |
|
517 |
break;
|
518 |
}
|
519 |
case 'text': {
|
520 |
$filter_from_url = ! empty( $_GET[ 'filter_' . $filter . '_' . $unique_hash ] ) ? $_GET[ 'filter_' . $filter . '_' . $unique_hash ] : $default_value; ?>
|
521 |
<input type="text" autocomplete="off" id="<?php echo $filter; ?>" name="<?php echo $filter; ?>"
|
522 |
-
|
523 |
-
|
|
|
524 |
<?php
|
525 |
break;
|
526 |
}
|
@@ -605,15 +606,27 @@ if ( ! class_exists( 'um\core\Member_Directory' ) ) {
|
|
605 |
$custom_dropdown .= ' data-um-ajax-source="' . esc_attr( $ajax_source ) . '" ';
|
606 |
|
607 |
$attrs['options'] = UM()->fields()->get_options_from_callback( $attrs, $attrs['type'] );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
608 |
}
|
609 |
|
610 |
if ( $attrs['metakey'] != 'online_status' ) {
|
611 |
-
if ( $attrs['metakey'] != 'role_select' && $attrs['metakey'] != 'mycred_rank' && empty( $custom_dropdown ) ) {
|
612 |
-
$attrs['options'] = array_intersect( array_map( 'stripslashes', $attrs['options'] ), $values_array );
|
613 |
} elseif ( ! empty( $custom_dropdown ) ) {
|
614 |
-
$attrs['options'] = array_intersect_key( $attrs['options'], array_flip( $values_array ) );
|
615 |
} else {
|
616 |
-
$attrs['options'] = array_intersect_key( $attrs['options'], array_flip( $values_array ) );
|
617 |
}
|
618 |
}
|
619 |
|
@@ -642,6 +655,7 @@ if ( ! class_exists( 'um\core\Member_Directory' ) ) {
|
|
642 |
|
643 |
<select class="um-s1" id="<?php echo esc_attr( $filter ); ?>" name="<?php echo esc_attr( $filter ); ?><?php if ( $admin && count( $attrs['options'] ) > 1 ) { ?>[]<?php } ?>"
|
644 |
data-placeholder="<?php esc_attr_e( stripslashes( $attrs['label'] ), 'ultimate-member' ); ?>"
|
|
|
645 |
<?php if ( $admin && count( $attrs['options'] ) > 1 ) { ?>multiple<?php } ?>
|
646 |
<?php echo $custom_dropdown; ?>>
|
647 |
|
@@ -660,6 +674,10 @@ if ( ! class_exists( 'um\core\Member_Directory' ) ) {
|
|
660 |
|
661 |
if ( isset( $attrs['custom'] ) ) {
|
662 |
$opt = $k;
|
|
|
|
|
|
|
|
|
663 |
} ?>
|
664 |
|
665 |
<option value="<?php echo esc_attr( $opt ); ?>" data-value_label="<?php esc_attr_e( $v, 'ultimate-member' ); ?>"
|
@@ -686,10 +704,9 @@ if ( ! class_exists( 'um\core\Member_Directory' ) ) {
|
|
686 |
}
|
687 |
case 'slider': {
|
688 |
$range = $this->slider_filters_range( $filter, $directory_data );
|
|
|
|
|
689 |
|
690 |
-
list( $single_placeholder, $plural_placeholder ) = $this->slider_range_placeholder( $filter, $attrs );
|
691 |
-
|
692 |
-
if ( $range ) { ?>
|
693 |
<input type="hidden" id="<?php echo $filter; ?>_min" name="<?php echo $filter; ?>[]" class="um_range_min" value="<?php echo ! empty( $default_value ) ? esc_attr( min( $default_value ) ) : '' ?>" />
|
694 |
<input type="hidden" id="<?php echo $filter; ?>_max" name="<?php echo $filter; ?>[]" class="um_range_max" value="<?php echo ! empty( $default_value ) ? esc_attr( max( $default_value ) ) : '' ?>" />
|
695 |
<div class="um-slider" data-field_name="<?php echo $filter; ?>" data-min="<?php echo $range[0] ?>" data-max="<?php echo $range[1] ?>"></div>
|
@@ -788,10 +805,11 @@ if ( ! class_exists( 'um\core\Member_Directory' ) ) {
|
|
788 |
), ARRAY_A );
|
789 |
|
790 |
$range = false;
|
791 |
-
if (
|
792 |
$range = array( $meta['min_meta'], $meta['max_meta'] );
|
793 |
}
|
794 |
|
|
|
795 |
$range = apply_filters( "um_member_directory_filter_{$filter}_slider", $range, $directory_data );
|
796 |
|
797 |
break;
|
@@ -808,7 +826,7 @@ if ( ! class_exists( 'um\core\Member_Directory' ) ) {
|
|
808 |
|
809 |
if ( empty( $meta ) || ! isset( $meta['amount'] ) || $meta['amount'] === 1 ) {
|
810 |
$range = false;
|
811 |
-
} elseif (
|
812 |
$range = array( $this->borndate( strtotime( $meta['max_meta'] ) ), $this->borndate( strtotime( $meta['min_meta'] ) ) );
|
813 |
}
|
814 |
|
@@ -1166,13 +1184,16 @@ if ( ! class_exists( 'um\core\Member_Directory' ) ) {
|
|
1166 |
// sort members by
|
1167 |
$this->query_args['order'] = 'ASC';
|
1168 |
$sortby = ! empty( $_POST['sorting'] ) ? $_POST['sorting'] : $directory_data['sortby'];
|
|
|
1169 |
|
1170 |
$custom_sort = array();
|
1171 |
-
|
1172 |
-
|
1173 |
-
|
1174 |
-
|
1175 |
-
|
|
|
|
|
1176 |
}
|
1177 |
}
|
1178 |
|
@@ -1507,6 +1528,8 @@ if ( ! class_exists( 'um\core\Member_Directory' ) ) {
|
|
1507 |
*/
|
1508 |
$field_query = apply_filters( "um_query_args_{$field}__filter", false, $field, $value, $filter_type );
|
1509 |
|
|
|
|
|
1510 |
if ( ! $field_query ) {
|
1511 |
|
1512 |
switch ( $filter_type ) {
|
@@ -2162,48 +2185,57 @@ if ( ! class_exists( 'um\core\Member_Directory' ) ) {
|
|
2162 |
'hook_after_user_name' => preg_replace( '/^\s+/im', '', $hook_after_user_name ),
|
2163 |
);
|
2164 |
|
2165 |
-
|
2166 |
|
2167 |
-
|
2168 |
-
|
2169 |
-
if ( ! $key ) {
|
2170 |
-
continue;
|
2171 |
-
}
|
2172 |
|
2173 |
-
|
|
|
|
|
|
|
|
|
2174 |
|
2175 |
-
|
2176 |
-
continue;
|
2177 |
-
}
|
2178 |
|
2179 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
2180 |
}
|
2181 |
}
|
2182 |
|
2183 |
-
if ( $directory_data['show_userinfo'] ) {
|
2184 |
-
$directory_data['reveal_fields'] = maybe_unserialize( $directory_data['reveal_fields'] );
|
2185 |
|
2186 |
-
if (
|
2187 |
-
foreach ( $directory_data['reveal_fields'] as $key ) {
|
2188 |
-
if ( ! $key ) {
|
2189 |
-
continue;
|
2190 |
-
}
|
2191 |
|
2192 |
-
|
2193 |
-
if ( ! $value ) {
|
2194 |
-
continue;
|
2195 |
-
}
|
2196 |
|
2197 |
-
|
2198 |
-
|
2199 |
-
|
2200 |
-
|
2201 |
-
|
2202 |
-
|
2203 |
-
|
|
|
|
|
|
|
2204 |
|
2205 |
-
|
2206 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2207 |
}
|
2208 |
}
|
2209 |
|
@@ -2375,13 +2407,8 @@ if ( ! class_exists( 'um\core\Member_Directory' ) ) {
|
|
2375 |
|
2376 |
add_filter( 'pre_user_query', array( &$this, 'pagination_changes' ), 10, 1 );
|
2377 |
|
2378 |
-
//var_dump( $this->query_args );
|
2379 |
-
|
2380 |
$user_query = new \WP_User_Query( $this->query_args );
|
2381 |
|
2382 |
-
//var_dump( $user_query->request );
|
2383 |
-
//exit;
|
2384 |
-
|
2385 |
remove_filter( 'pre_user_query', array( &$this, 'pagination_changes' ), 10 );
|
2386 |
|
2387 |
remove_filter( 'get_meta_sql', array( &$this, 'change_meta_sql' ), 10 );
|
512 |
switch ( $this->filter_types[ $filter ] ) {
|
513 |
default: {
|
514 |
|
515 |
+
do_action( "um_member_directory_filter_type_{$this->filter_types[ $filter ]}", $filter, $directory_data, $unique_hash, $attrs, $default_value );
|
516 |
|
517 |
break;
|
518 |
}
|
519 |
case 'text': {
|
520 |
$filter_from_url = ! empty( $_GET[ 'filter_' . $filter . '_' . $unique_hash ] ) ? $_GET[ 'filter_' . $filter . '_' . $unique_hash ] : $default_value; ?>
|
521 |
<input type="text" autocomplete="off" id="<?php echo $filter; ?>" name="<?php echo $filter; ?>"
|
522 |
+
placeholder="<?php esc_attr_e( stripslashes( $attrs['label'] ), 'ultimate-member' ); ?>"
|
523 |
+
value="<?php echo esc_attr( $filter_from_url ) ?>" class="um-form-field"
|
524 |
+
aria-label="<?php esc_attr_e( stripslashes( $attrs['label'] ), 'ultimate-member' ); ?>" />
|
525 |
<?php
|
526 |
break;
|
527 |
}
|
606 |
$custom_dropdown .= ' data-um-ajax-source="' . esc_attr( $ajax_source ) . '" ';
|
607 |
|
608 |
$attrs['options'] = UM()->fields()->get_options_from_callback( $attrs, $attrs['type'] );
|
609 |
+
} else {
|
610 |
+
/**
|
611 |
+
* UM hook
|
612 |
+
*
|
613 |
+
* @type filter
|
614 |
+
* @title um_select_option_value
|
615 |
+
* @description Enable options pair by field $data
|
616 |
+
* @input_vars
|
617 |
+
* [{"var":"$options_pair","type":"null","desc":"Enable pairs"},
|
618 |
+
* {"var":"$data","type":"array","desc":"Field Data"}]
|
619 |
+
*/
|
620 |
+
$option_pairs = apply_filters( 'um_select_options_pair', null, $attrs );
|
621 |
}
|
622 |
|
623 |
if ( $attrs['metakey'] != 'online_status' ) {
|
624 |
+
if ( $attrs['metakey'] != 'role_select' && $attrs['metakey'] != 'mycred_rank' && empty( $custom_dropdown ) && empty( $option_pairs ) ) {
|
625 |
+
$attrs['options'] = array_intersect( array_map( 'stripslashes', array_map( 'trim', $attrs['options'] ) ), $values_array );
|
626 |
} elseif ( ! empty( $custom_dropdown ) ) {
|
627 |
+
$attrs['options'] = array_intersect_key( array_map( 'trim', $attrs['options'] ), array_flip( $values_array ) );
|
628 |
} else {
|
629 |
+
$attrs['options'] = array_intersect_key( array_map( 'trim', $attrs['options'] ), array_flip( $values_array ) );
|
630 |
}
|
631 |
}
|
632 |
|
655 |
|
656 |
<select class="um-s1" id="<?php echo esc_attr( $filter ); ?>" name="<?php echo esc_attr( $filter ); ?><?php if ( $admin && count( $attrs['options'] ) > 1 ) { ?>[]<?php } ?>"
|
657 |
data-placeholder="<?php esc_attr_e( stripslashes( $attrs['label'] ), 'ultimate-member' ); ?>"
|
658 |
+
aria-label="<?php esc_attr_e( stripslashes( $attrs['label'] ), 'ultimate-member' ); ?>"
|
659 |
<?php if ( $admin && count( $attrs['options'] ) > 1 ) { ?>multiple<?php } ?>
|
660 |
<?php echo $custom_dropdown; ?>>
|
661 |
|
674 |
|
675 |
if ( isset( $attrs['custom'] ) ) {
|
676 |
$opt = $k;
|
677 |
+
}
|
678 |
+
|
679 |
+
if ( ! empty( $option_pairs ) ) {
|
680 |
+
$opt = $k;
|
681 |
} ?>
|
682 |
|
683 |
<option value="<?php echo esc_attr( $opt ); ?>" data-value_label="<?php esc_attr_e( $v, 'ultimate-member' ); ?>"
|
704 |
}
|
705 |
case 'slider': {
|
706 |
$range = $this->slider_filters_range( $filter, $directory_data );
|
707 |
+
if ( $range ) {
|
708 |
+
list( $single_placeholder, $plural_placeholder ) = $this->slider_range_placeholder( $filter, $attrs ); ?>
|
709 |
|
|
|
|
|
|
|
710 |
<input type="hidden" id="<?php echo $filter; ?>_min" name="<?php echo $filter; ?>[]" class="um_range_min" value="<?php echo ! empty( $default_value ) ? esc_attr( min( $default_value ) ) : '' ?>" />
|
711 |
<input type="hidden" id="<?php echo $filter; ?>_max" name="<?php echo $filter; ?>[]" class="um_range_max" value="<?php echo ! empty( $default_value ) ? esc_attr( max( $default_value ) ) : '' ?>" />
|
712 |
<div class="um-slider" data-field_name="<?php echo $filter; ?>" data-min="<?php echo $range[0] ?>" data-max="<?php echo $range[1] ?>"></div>
|
805 |
), ARRAY_A );
|
806 |
|
807 |
$range = false;
|
808 |
+
if ( isset( $meta['min_meta'] ) && isset( $meta['max_meta'] ) ) {
|
809 |
$range = array( $meta['min_meta'], $meta['max_meta'] );
|
810 |
}
|
811 |
|
812 |
+
$range = apply_filters( 'um_member_directory_filter_slider_common', $range, $directory_data, $filter );
|
813 |
$range = apply_filters( "um_member_directory_filter_{$filter}_slider", $range, $directory_data );
|
814 |
|
815 |
break;
|
826 |
|
827 |
if ( empty( $meta ) || ! isset( $meta['amount'] ) || $meta['amount'] === 1 ) {
|
828 |
$range = false;
|
829 |
+
} elseif ( isset( $meta['min_meta'] ) && isset( $meta['max_meta'] ) ) {
|
830 |
$range = array( $this->borndate( strtotime( $meta['max_meta'] ) ), $this->borndate( strtotime( $meta['min_meta'] ) ) );
|
831 |
}
|
832 |
|
1184 |
// sort members by
|
1185 |
$this->query_args['order'] = 'ASC';
|
1186 |
$sortby = ! empty( $_POST['sorting'] ) ? $_POST['sorting'] : $directory_data['sortby'];
|
1187 |
+
$sortby = ( $sortby == 'other' ) ? $directory_data['sortby_custom'] : $sortby;
|
1188 |
|
1189 |
$custom_sort = array();
|
1190 |
+
if ( ! empty( $directory_data['sorting_fields'] ) ) {
|
1191 |
+
$sorting_fields = maybe_unserialize( $directory_data['sorting_fields'] );
|
1192 |
+
foreach ( $sorting_fields as $field ) {
|
1193 |
+
if ( is_array( $field ) ) {
|
1194 |
+
$field_keys = array_keys( $field );
|
1195 |
+
$custom_sort[] = $field_keys[0];
|
1196 |
+
}
|
1197 |
}
|
1198 |
}
|
1199 |
|
1528 |
*/
|
1529 |
$field_query = apply_filters( "um_query_args_{$field}__filter", false, $field, $value, $filter_type );
|
1530 |
|
1531 |
+
$field_query = apply_filters( 'um_query_args_filter_global', $field_query, $field, $value, $filter_type );
|
1532 |
+
|
1533 |
if ( ! $field_query ) {
|
1534 |
|
1535 |
switch ( $filter_type ) {
|
2185 |
'hook_after_user_name' => preg_replace( '/^\s+/im', '', $hook_after_user_name ),
|
2186 |
);
|
2187 |
|
2188 |
+
if ( ! empty( $directory_data['show_tagline'] ) ) {
|
2189 |
|
2190 |
+
if ( ! empty( $directory_data['tagline_fields'] ) ) {
|
2191 |
+
$directory_data['tagline_fields'] = maybe_unserialize( $directory_data['tagline_fields'] );
|
|
|
|
|
|
|
2192 |
|
2193 |
+
if ( is_array( $directory_data['tagline_fields'] ) ) {
|
2194 |
+
foreach ( $directory_data['tagline_fields'] as $key ) {
|
2195 |
+
if ( ! $key ) {
|
2196 |
+
continue;
|
2197 |
+
}
|
2198 |
|
2199 |
+
$value = um_filtered_value( $key );
|
|
|
|
|
2200 |
|
2201 |
+
if ( ! $value ) {
|
2202 |
+
continue;
|
2203 |
+
}
|
2204 |
+
|
2205 |
+
$data_array[ $key ] = $value;
|
2206 |
+
}
|
2207 |
+
}
|
2208 |
}
|
2209 |
}
|
2210 |
|
2211 |
+
if ( ! empty( $directory_data['show_userinfo'] ) ) {
|
|
|
2212 |
|
2213 |
+
if ( ! empty( $directory_data['reveal_fields'] ) ) {
|
|
|
|
|
|
|
|
|
2214 |
|
2215 |
+
$directory_data['reveal_fields'] = maybe_unserialize( $directory_data['reveal_fields'] );
|
|
|
|
|
|
|
2216 |
|
2217 |
+
if ( is_array( $directory_data['reveal_fields'] ) ) {
|
2218 |
+
foreach ( $directory_data['reveal_fields'] as $key ) {
|
2219 |
+
if ( ! $key ) {
|
2220 |
+
continue;
|
2221 |
+
}
|
2222 |
+
|
2223 |
+
$value = um_filtered_value( $key );
|
2224 |
+
if ( ! $value ) {
|
2225 |
+
continue;
|
2226 |
+
}
|
2227 |
|
2228 |
+
$label = UM()->fields()->get_label( $key );
|
2229 |
+
if ( $key == 'role_select' || $key == 'role_radio' ) {
|
2230 |
+
$label = strtr( $label, array(
|
2231 |
+
' (Dropdown)' => '',
|
2232 |
+
' (Radio)' => ''
|
2233 |
+
) );
|
2234 |
+
}
|
2235 |
+
|
2236 |
+
$data_array[ "label_{$key}" ] = __( $label, 'ultimate-member' );
|
2237 |
+
$data_array[ $key ] = $value;
|
2238 |
+
}
|
2239 |
}
|
2240 |
}
|
2241 |
|
2407 |
|
2408 |
add_filter( 'pre_user_query', array( &$this, 'pagination_changes' ), 10, 1 );
|
2409 |
|
|
|
|
|
2410 |
$user_query = new \WP_User_Query( $this->query_args );
|
2411 |
|
|
|
|
|
|
|
2412 |
remove_filter( 'pre_user_query', array( &$this, 'pagination_changes' ), 10 );
|
2413 |
|
2414 |
remove_filter( 'get_meta_sql', array( &$this, 'change_meta_sql' ), 10 );
|
includes/core/class-plugin-updater.php
CHANGED
@@ -159,9 +159,9 @@ if ( ! class_exists( 'um\core\Plugin_Updater' ) ) {
|
|
159 |
'key' => 'filesharing',
|
160 |
'title' => 'File Sharing',
|
161 |
),
|
162 |
-
'um-user-
|
163 |
-
'key' => 'user-
|
164 |
-
'title' => 'User
|
165 |
),
|
166 |
'um-profile-tabs/um-profile-tabs.php' => array(
|
167 |
'key' => 'profile_tabs',
|
159 |
'key' => 'filesharing',
|
160 |
'title' => 'File Sharing',
|
161 |
),
|
162 |
+
'um-user-locations/um-user-locations.php' => array(
|
163 |
+
'key' => 'user-locations',
|
164 |
+
'title' => 'User Locations',
|
165 |
),
|
166 |
'um-profile-tabs/um-profile-tabs.php' => array(
|
167 |
'key' => 'profile_tabs',
|
includes/core/class-shortcodes.php
CHANGED
@@ -602,6 +602,15 @@ if ( ! class_exists( 'um\core\Shortcodes' ) ) {
|
|
602 |
$post_data['template'] = $post_data['mode'];
|
603 |
}
|
604 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
605 |
if ( 'directory' != $args['mode'] ) {
|
606 |
$args = array_merge( $post_data, $args );
|
607 |
|
602 |
$post_data['template'] = $post_data['mode'];
|
603 |
}
|
604 |
|
605 |
+
if ( 'directory' == $args['mode'] ) {
|
606 |
+
wp_enqueue_script( 'um_members' );
|
607 |
+
if ( is_rtl() ) {
|
608 |
+
wp_enqueue_style( 'um_members_rtl' );
|
609 |
+
} else {
|
610 |
+
wp_enqueue_style( 'um_members' );
|
611 |
+
}
|
612 |
+
}
|
613 |
+
|
614 |
if ( 'directory' != $args['mode'] ) {
|
615 |
$args = array_merge( $post_data, $args );
|
616 |
|
includes/core/class-user.php
CHANGED
@@ -709,7 +709,7 @@ if ( ! class_exists( 'um\core\User' ) ) {
|
|
709 |
if ( ! empty( $section_content ) && ! ( is_multisite() && is_network_admin() ) ) {
|
710 |
|
711 |
if ( $userdata !== 'add-new-user' && $userdata !== 'add-existing-user' ) { ?>
|
712 |
-
<h3><?php esc_html_e( 'Ultimate Member', 'ultimate-member' ); ?></h3>
|
713 |
<?php }
|
714 |
|
715 |
echo $section_content;
|
709 |
if ( ! empty( $section_content ) && ! ( is_multisite() && is_network_admin() ) ) {
|
710 |
|
711 |
if ( $userdata !== 'add-new-user' && $userdata !== 'add-existing-user' ) { ?>
|
712 |
+
<h3 id="um_user_screen_block"><?php esc_html_e( 'Ultimate Member', 'ultimate-member' ); ?></h3>
|
713 |
<?php }
|
714 |
|
715 |
echo $section_content;
|
includes/core/class-validation.php
CHANGED
@@ -286,29 +286,15 @@ if ( ! class_exists( 'um\core\Validation' ) ) {
|
|
286 |
*
|
287 |
* @return bool
|
288 |
*/
|
289 |
-
function is_url( $url, $social = false ){
|
290 |
if ( ! $url ) {
|
291 |
return true;
|
292 |
}
|
293 |
|
294 |
if ( $social ) {
|
295 |
|
296 |
-
if (
|
297 |
return true;
|
298 |
-
} else {
|
299 |
-
|
300 |
-
if ( filter_var( $url, FILTER_VALIDATE_URL ) && strstr( $url, $social ) ) {
|
301 |
-
return true;
|
302 |
-
} elseif ( preg_match( $this->regex_safe, $url ) ) {
|
303 |
-
|
304 |
-
if ( strstr( $url, '.com' ) ) {
|
305 |
-
return false;
|
306 |
-
} else {
|
307 |
-
return true;
|
308 |
-
}
|
309 |
-
|
310 |
-
}
|
311 |
-
|
312 |
}
|
313 |
|
314 |
} else {
|
286 |
*
|
287 |
* @return bool
|
288 |
*/
|
289 |
+
function is_url( $url, $social = false ) {
|
290 |
if ( ! $url ) {
|
291 |
return true;
|
292 |
}
|
293 |
|
294 |
if ( $social ) {
|
295 |
|
296 |
+
if ( strstr( $url, $social ) && '' != str_replace( $social, '', $url ) ) {
|
297 |
return true;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
298 |
}
|
299 |
|
300 |
} else {
|
includes/core/um-actions-account.php
CHANGED
@@ -489,7 +489,7 @@ function um_after_account_privacy( $args ) {
|
|
489 |
<label>
|
490 |
<?php esc_html_e( 'Download your data', 'ultimate-member' ); ?>
|
491 |
</label>
|
492 |
-
<span class="um-tip um-tip
|
493 |
<i class="um-icon-help-circled"></i>
|
494 |
</span>
|
495 |
<div class="um-clear"></div>
|
@@ -514,7 +514,7 @@ function um_after_account_privacy( $args ) {
|
|
514 |
<label>
|
515 |
<?php esc_html_e( 'Erase of your data', 'ultimate-member' ); ?>
|
516 |
</label>
|
517 |
-
<span class="um-tip um-tip
|
518 |
<i class="um-icon-help-circled"></i>
|
519 |
</span>
|
520 |
<div class="um-clear"></div>
|
489 |
<label>
|
490 |
<?php esc_html_e( 'Download your data', 'ultimate-member' ); ?>
|
491 |
</label>
|
492 |
+
<span class="um-tip um-tip-<?php echo is_rtl() ? 'e' : 'w' ?>" original-title="<?php esc_attr_e( 'You can request a file with the information that we believe is most relevant and useful to you.', 'ultimate-member' ); ?>">
|
493 |
<i class="um-icon-help-circled"></i>
|
494 |
</span>
|
495 |
<div class="um-clear"></div>
|
514 |
<label>
|
515 |
<?php esc_html_e( 'Erase of your data', 'ultimate-member' ); ?>
|
516 |
</label>
|
517 |
+
<span class="um-tip um-tip-<?php echo is_rtl() ? 'e' : 'w' ?>" original-title="<?php esc_attr_e( 'You can request erasing of the data that we have about you.', 'ultimate-member' ); ?>">
|
518 |
<i class="um-icon-help-circled"></i>
|
519 |
</span>
|
520 |
<div class="um-clear"></div>
|
includes/core/um-actions-form.php
CHANGED
@@ -445,21 +445,21 @@ function um_submit_form_errors_hook_( $args ) {
|
|
445 |
}
|
446 |
}
|
447 |
|
448 |
-
if ( isset( $array['type'] ) && $array['type'] == 'checkbox' && isset( $array['required'] ) && $array['required'] == 1 && !isset( $args[$key] ) ) {
|
449 |
-
UM()->form()->add_error($key, sprintf( __( '%s is required.', 'ultimate-member' ), $array['title'] ) );
|
450 |
}
|
451 |
|
452 |
-
if ( isset( $array['type'] ) && $array['type'] == 'radio' && isset( $array['required'] ) && $array['required'] == 1 && !isset( $args[$key] ) && !in_array($key, array('role_radio','role_select') ) ) {
|
453 |
-
UM()->form()->add_error($key, sprintf(__('%s is required.','ultimate-member'), $array['title'] ) );
|
454 |
}
|
455 |
|
456 |
-
if ( isset( $array['type'] ) && $array['type'] == 'multiselect' && isset( $array['required'] ) && $array['required'] == 1 && !isset( $args[$key] ) && !in_array($key, array('role_radio','role_select') ) ) {
|
457 |
-
UM()->form()->add_error($key, sprintf(__('%s is required.','ultimate-member'), $array['title'] ) );
|
458 |
}
|
459 |
|
460 |
if ( $key == 'role_select' || $key == 'role_radio' ) {
|
461 |
-
if ( isset( $array['required'] ) && $array['required'] == 1 && ( !isset( $args['role'] ) || empty( $args['role'] ) ) ) {
|
462 |
-
UM()->form()->add_error('role', __('Please specify account type.','ultimate-member') );
|
463 |
}
|
464 |
}
|
465 |
|
@@ -499,20 +499,20 @@ function um_submit_form_errors_hook_( $args ) {
|
|
499 |
if ( isset( $args[ $key ] ) ) {
|
500 |
|
501 |
if ( isset( $array['max_words'] ) && $array['max_words'] > 0 ) {
|
502 |
-
if ( str_word_count( $args[$key], 0, "éèàôù" ) > $array['max_words'] ) {
|
503 |
-
UM()->form()->add_error($key, sprintf(__('You are only allowed to enter a maximum of %s words','ultimate-member'), $array['max_words']) );
|
504 |
}
|
505 |
}
|
506 |
|
507 |
if ( isset( $array['min_chars'] ) && $array['min_chars'] > 0 ) {
|
508 |
-
if ( $args[$key] && strlen( utf8_decode( $args[ $key ] ) ) < $array['min_chars'] ) {
|
509 |
-
UM()->form()->add_error($key, sprintf(__('Your %s must contain at least %s characters','ultimate-member'), $array['label'], $array['min_chars']) );
|
510 |
}
|
511 |
}
|
512 |
|
513 |
if ( isset( $array['max_chars'] ) && $array['max_chars'] > 0 ) {
|
514 |
-
if ( $args[$key] && strlen( utf8_decode( $args[ $key ] ) ) > $array['max_chars'] ) {
|
515 |
-
UM()->form()->add_error($key, sprintf(__('Your %s must contain less than %s characters','ultimate-member'), $array['label'], $array['max_chars']) );
|
516 |
}
|
517 |
}
|
518 |
|
@@ -520,52 +520,52 @@ function um_submit_form_errors_hook_( $args ) {
|
|
520 |
|
521 |
if ( $profile_show_html_bio == 1 && $key !== 'description' ) {
|
522 |
if ( isset( $array['html'] ) && $array['html'] == 0 ) {
|
523 |
-
if ( wp_strip_all_tags( $args[$key] ) != trim( $args[ $key ] ) ) {
|
524 |
UM()->form()->add_error( $key, __( 'You can not use HTML tags here', 'ultimate-member' ) );
|
525 |
}
|
526 |
}
|
527 |
}
|
528 |
|
529 |
if ( isset( $array['force_good_pass'] ) && $array['force_good_pass'] == 1 ) {
|
530 |
-
if ( ! UM()->validation()->strong_pass( $args[$key] ) ) {
|
531 |
-
UM()->form()->add_error($key, __('Your password must contain at least one lowercase letter, one capital letter and one number','ultimate-member') );
|
532 |
}
|
533 |
}
|
534 |
|
535 |
if ( isset( $array['force_confirm_pass'] ) && $array['force_confirm_pass'] == 1 ) {
|
536 |
-
if ( $args[ 'confirm_' . $key] == '' && ! UM()->form()->has_error($key) ) {
|
537 |
-
UM()->form()->add_error( 'confirm_' . $key , __('Please confirm your password','ultimate-member') );
|
538 |
}
|
539 |
-
if ( $args[ 'confirm_' . $key] != $args[$key] && !UM()->form()->has_error($key) ) {
|
540 |
-
UM()->form()->add_error( 'confirm_' . $key , __('Your passwords do not match','ultimate-member') );
|
541 |
}
|
542 |
}
|
543 |
|
544 |
if ( isset( $array['min_selections'] ) && $array['min_selections'] > 0 ) {
|
545 |
-
if ( ( !isset($args[$key]) ) || ( isset( $args[$key] ) && is_array($args[$key]) && count( $args[$key] ) < $array['min_selections'] ) ) {
|
546 |
-
UM()->form()->add_error($key, sprintf(__('Please select at least %s choices','ultimate-member'), $array['min_selections'] ) );
|
547 |
}
|
548 |
}
|
549 |
|
550 |
if ( isset( $array['max_selections'] ) && $array['max_selections'] > 0 ) {
|
551 |
-
if ( isset( $args[$key] ) && is_array($args[$key]) && count( $args[$key] ) > $array['max_selections'] ) {
|
552 |
-
UM()->form()->add_error($key, sprintf(__('You can only select up to %s choices','ultimate-member'), $array['max_selections'] ) );
|
553 |
}
|
554 |
}
|
555 |
|
556 |
if ( isset( $array['min'] ) && is_numeric( $args[ $key ] ) ) {
|
557 |
if ( isset( $args[ $key ] ) && $args[ $key ] < $array['min'] ) {
|
558 |
-
UM()->form()->add_error( $key, sprintf(__('Minimum number limit is %s','ultimate-member'), $array['min'] ) );
|
559 |
}
|
560 |
}
|
561 |
|
562 |
if ( isset( $array['max'] ) && is_numeric( $args[ $key ] ) ) {
|
563 |
if ( isset( $args[ $key ] ) && $args[ $key ] > $array['max'] ) {
|
564 |
-
UM()->form()->add_error( $key, sprintf(__('Maximum number limit is %s','ultimate-member'), $array['max'] ) );
|
565 |
}
|
566 |
}
|
567 |
|
568 |
-
if (
|
569 |
|
570 |
switch( $array['validate'] ) {
|
571 |
|
@@ -596,74 +596,75 @@ function um_submit_form_errors_hook_( $args ) {
|
|
596 |
break;
|
597 |
|
598 |
case 'numeric':
|
599 |
-
if ( $args[$key] && !is_numeric( $args[$key] ) ) {
|
600 |
-
UM()->form()->add_error($key, __('Please enter numbers only in this field','ultimate-member') );
|
601 |
}
|
602 |
break;
|
603 |
|
604 |
case 'phone_number':
|
605 |
-
if ( ! UM()->validation()->is_phone_number( $args[$key] ) ) {
|
606 |
-
UM()->form()->add_error($key, __('Please enter a valid phone number','ultimate-member') );
|
607 |
}
|
608 |
break;
|
609 |
|
610 |
case 'youtube_url':
|
611 |
-
if ( ! UM()->validation()->is_url( $args[$key], 'youtube.com' ) ) {
|
612 |
-
UM()->form()->add_error($key, sprintf(__('Please enter a valid %s username or profile URL','ultimate-member'), $array['label'] ) );
|
613 |
}
|
614 |
break;
|
615 |
|
616 |
case 'soundcloud_url':
|
617 |
-
if ( ! UM()->validation()->is_url( $args[$key], 'soundcloud.com' ) ) {
|
618 |
-
UM()->form()->add_error($key, sprintf(__('Please enter a valid %s username or profile URL','ultimate-member'), $array['label'] ) );
|
619 |
}
|
620 |
break;
|
621 |
|
622 |
case 'facebook_url':
|
623 |
-
if ( ! UM()->validation()->is_url( $args[$key], 'facebook.com' ) ) {
|
624 |
-
UM()->form()->add_error($key, sprintf(__('Please enter a valid %s username or profile URL','ultimate-member'), $array['label'] ) );
|
625 |
}
|
626 |
break;
|
627 |
|
628 |
case 'twitter_url':
|
629 |
-
if ( ! UM()->validation()->is_url( $args[$key], 'twitter.com' ) ) {
|
630 |
-
UM()->form()->add_error($key, sprintf(__('Please enter a valid %s username or profile URL','ultimate-member'), $array['label'] ) );
|
631 |
}
|
632 |
break;
|
633 |
|
634 |
case 'instagram_url':
|
635 |
-
|
636 |
-
|
|
|
637 |
}
|
638 |
break;
|
639 |
|
640 |
case 'google_url':
|
641 |
-
if ( ! UM()->validation()->is_url( $args[$key], 'plus.google.com' ) ) {
|
642 |
-
UM()->form()->add_error($key, sprintf(__('Please enter a valid %s username or profile URL','ultimate-member'), $array['label'] ) );
|
643 |
}
|
644 |
break;
|
645 |
|
646 |
case 'linkedin_url':
|
647 |
-
if ( ! UM()->validation()->is_url( $args[$key], 'linkedin.com' ) ) {
|
648 |
-
UM()->form()->add_error($key, sprintf(__('Please enter a valid %s username or profile URL','ultimate-member'), $array['label'] ) );
|
649 |
}
|
650 |
break;
|
651 |
|
652 |
case 'vk_url':
|
653 |
-
if ( ! UM()->validation()->is_url( $args[$key], 'vk.com' ) ) {
|
654 |
-
UM()->form()->add_error($key, sprintf(__('Please enter a valid %s username or profile URL','ultimate-member'), $array['label'] ) );
|
655 |
}
|
656 |
break;
|
657 |
|
658 |
case 'url':
|
659 |
-
if ( ! UM()->validation()->is_url( $args[$key] ) ) {
|
660 |
-
UM()->form()->add_error($key, __('Please enter a valid URL','ultimate-member') );
|
661 |
}
|
662 |
break;
|
663 |
|
664 |
case 'skype':
|
665 |
-
if ( ! UM()->validation()->is_url( $args[$key], 'skype.com' ) ) {
|
666 |
-
UM()->form()->add_error($key, sprintf(__('Please enter a valid %s username or profile URL','ultimate-member'), $array['label'] ) );
|
667 |
}
|
668 |
break;
|
669 |
|
@@ -675,7 +676,7 @@ function um_submit_form_errors_hook_( $args ) {
|
|
675 |
UM()->form()->add_error( $key, __( 'Your username is already taken', 'ultimate-member' ) );
|
676 |
} elseif ( is_email( $args[ $key ] ) ) {
|
677 |
UM()->form()->add_error( $key, __( 'Username cannot be an email', 'ultimate-member' ) );
|
678 |
-
} elseif ( ! UM()->validation()->safe_username( $args[$key] ) ) {
|
679 |
UM()->form()->add_error( $key, __( 'Your username contains invalid characters', 'ultimate-member' ) );
|
680 |
}
|
681 |
|
@@ -683,14 +684,14 @@ function um_submit_form_errors_hook_( $args ) {
|
|
683 |
|
684 |
case 'unique_username_or_email':
|
685 |
|
686 |
-
if ( $args[$key] == '' ) {
|
687 |
-
UM()->form()->add_error($key,
|
688 |
-
}
|
689 |
-
UM()->form()->add_error($key, __('Your username is already taken','ultimate-member') );
|
690 |
-
}
|
691 |
-
UM()->form()->add_error($key,
|
692 |
-
}
|
693 |
-
UM()->form()->add_error($key,
|
694 |
}
|
695 |
|
696 |
break;
|
@@ -699,43 +700,42 @@ function um_submit_form_errors_hook_( $args ) {
|
|
699 |
|
700 |
$args[ $key ] = trim( $args[ $key ] );
|
701 |
|
702 |
-
if ( in_array( $key, array('user_email') ) ) {
|
703 |
|
704 |
-
if( ! isset( $args['user_id'] ) ){
|
705 |
$args['user_id'] = um_get_requested_user();
|
706 |
}
|
707 |
|
708 |
$email_exists = email_exists( $args[ $key ] );
|
709 |
|
710 |
-
if ( $args[ $key ] == '' && in_array( $key, array('user_email') ) ) {
|
711 |
-
UM()->form()->add_error( $key, __('You must provide your email','ultimate-member') );
|
712 |
-
}
|
713 |
-
UM()->form()->add_error($key, __('This email is already linked to an existing account','ultimate-member') );
|
714 |
-
}
|
715 |
-
UM()->form()->add_error( $key, __('This email is already linked to an existing account','ultimate-member') );
|
716 |
-
}
|
717 |
-
UM()->form()->add_error( $key, __('This is not a valid email','ultimate-member') );
|
718 |
-
}
|
719 |
-
UM()->form()->add_error( $key, __('Your email contains invalid characters','ultimate-member') );
|
720 |
}
|
721 |
|
722 |
} else {
|
723 |
|
724 |
-
if ( $args[ $key ] != '' && !is_email( $args[ $key ] ) ) {
|
725 |
-
UM()->form()->add_error( $key, __('This is not a valid email','ultimate-member') );
|
726 |
-
}
|
727 |
-
UM()->form()->add_error($key, __('This email is already linked to an existing account','ultimate-member') );
|
728 |
-
}
|
729 |
-
|
730 |
-
$users = get_users('meta_value='
|
731 |
|
732 |
foreach ( $users as $user ) {
|
733 |
-
if( $user->ID != $args['user_id'] ){
|
734 |
-
UM()->form()->add_error( $key, __('This email is already linked to an existing account','ultimate-member') );
|
735 |
}
|
736 |
}
|
737 |
|
738 |
-
|
739 |
}
|
740 |
|
741 |
}
|
@@ -746,28 +746,27 @@ function um_submit_form_errors_hook_( $args ) {
|
|
746 |
|
747 |
$args[ $key ] = trim( $args[ $key ] );
|
748 |
|
749 |
-
|
750 |
-
|
751 |
-
}
|
752 |
-
|
753 |
|
754 |
break;
|
755 |
|
756 |
case 'unique_value':
|
757 |
|
758 |
-
if ( $args[$key] != '' ) {
|
759 |
|
760 |
$args_unique_meta = array(
|
761 |
-
'meta_key'
|
762 |
-
'meta_value'
|
763 |
-
'compare'
|
764 |
-
'exclude'
|
765 |
);
|
766 |
|
767 |
$meta_key_exists = get_users( $args_unique_meta );
|
768 |
|
769 |
if ( $meta_key_exists ) {
|
770 |
-
UM()->form()->add_error( $key , __('You must provide a unique value','ultimate-member') );
|
771 |
}
|
772 |
}
|
773 |
break;
|
@@ -788,8 +787,8 @@ function um_submit_form_errors_hook_( $args ) {
|
|
788 |
|
789 |
if ( $args[ $key ] != '' ) {
|
790 |
|
791 |
-
if ( ! ctype_lower( str_replace(' ', ''
|
792 |
-
UM()->form()->add_error( $key , __('You must provide lowercase letters.','ultimate-member') );
|
793 |
}
|
794 |
}
|
795 |
|
445 |
}
|
446 |
}
|
447 |
|
448 |
+
if ( isset( $array['type'] ) && $array['type'] == 'checkbox' && isset( $array['required'] ) && $array['required'] == 1 && ! isset( $args[ $key ] ) ) {
|
449 |
+
UM()->form()->add_error( $key, sprintf( __( '%s is required.', 'ultimate-member' ), $array['title'] ) );
|
450 |
}
|
451 |
|
452 |
+
if ( isset( $array['type'] ) && $array['type'] == 'radio' && isset( $array['required'] ) && $array['required'] == 1 && ! isset( $args[ $key ] ) && ! in_array( $key, array( 'role_radio', 'role_select' ) ) ) {
|
453 |
+
UM()->form()->add_error( $key, sprintf( __( '%s is required.', 'ultimate-member'), $array['title'] ) );
|
454 |
}
|
455 |
|
456 |
+
if ( isset( $array['type'] ) && $array['type'] == 'multiselect' && isset( $array['required'] ) && $array['required'] == 1 && ! isset( $args[ $key ] ) && ! in_array( $key, array( 'role_radio', 'role_select' ) ) ) {
|
457 |
+
UM()->form()->add_error( $key, sprintf( __( '%s is required.', 'ultimate-member' ), $array['title'] ) );
|
458 |
}
|
459 |
|
460 |
if ( $key == 'role_select' || $key == 'role_radio' ) {
|
461 |
+
if ( isset( $array['required'] ) && $array['required'] == 1 && ( ! isset( $args['role'] ) || empty( $args['role'] ) ) ) {
|
462 |
+
UM()->form()->add_error( 'role', __( 'Please specify account type.', 'ultimate-member' ) );
|
463 |
}
|
464 |
}
|
465 |
|
499 |
if ( isset( $args[ $key ] ) ) {
|
500 |
|
501 |
if ( isset( $array['max_words'] ) && $array['max_words'] > 0 ) {
|
502 |
+
if ( str_word_count( $args[ $key ], 0, "éèàôù" ) > $array['max_words'] ) {
|
503 |
+
UM()->form()->add_error( $key, sprintf( __( 'You are only allowed to enter a maximum of %s words', 'ultimate-member' ), $array['max_words'] ) );
|
504 |
}
|
505 |
}
|
506 |
|
507 |
if ( isset( $array['min_chars'] ) && $array['min_chars'] > 0 ) {
|
508 |
+
if ( $args[ $key ] && strlen( utf8_decode( $args[ $key ] ) ) < $array['min_chars'] ) {
|
509 |
+
UM()->form()->add_error( $key, sprintf( __( 'Your %s must contain at least %s characters', 'ultimate-member' ), $array['label'], $array['min_chars'] ) );
|
510 |
}
|
511 |
}
|
512 |
|
513 |
if ( isset( $array['max_chars'] ) && $array['max_chars'] > 0 ) {
|
514 |
+
if ( $args[ $key ] && strlen( utf8_decode( $args[ $key ] ) ) > $array['max_chars'] ) {
|
515 |
+
UM()->form()->add_error( $key, sprintf( __( 'Your %s must contain less than %s characters', 'ultimate-member' ), $array['label'], $array['max_chars'] ) );
|
516 |
}
|
517 |
}
|
518 |
|
520 |
|
521 |
if ( $profile_show_html_bio == 1 && $key !== 'description' ) {
|
522 |
if ( isset( $array['html'] ) && $array['html'] == 0 ) {
|
523 |
+
if ( wp_strip_all_tags( $args[ $key ] ) != trim( $args[ $key ] ) ) {
|
524 |
UM()->form()->add_error( $key, __( 'You can not use HTML tags here', 'ultimate-member' ) );
|
525 |
}
|
526 |
}
|
527 |
}
|
528 |
|
529 |
if ( isset( $array['force_good_pass'] ) && $array['force_good_pass'] == 1 ) {
|
530 |
+
if ( ! UM()->validation()->strong_pass( $args[ $key ] ) ) {
|
531 |
+
UM()->form()->add_error( $key, __('Your password must contain at least one lowercase letter, one capital letter and one number', 'ultimate-member' ) );
|
532 |
}
|
533 |
}
|
534 |
|
535 |
if ( isset( $array['force_confirm_pass'] ) && $array['force_confirm_pass'] == 1 ) {
|
536 |
+
if ( $args[ 'confirm_' . $key ] == '' && ! UM()->form()->has_error( $key ) ) {
|
537 |
+
UM()->form()->add_error( 'confirm_' . $key , __( 'Please confirm your password', 'ultimate-member' ) );
|
538 |
}
|
539 |
+
if ( $args[ 'confirm_' . $key ] != $args[$key] && !UM()->form()->has_error( $key ) ) {
|
540 |
+
UM()->form()->add_error( 'confirm_' . $key , __( 'Your passwords do not match', 'ultimate-member' ) );
|
541 |
}
|
542 |
}
|
543 |
|
544 |
if ( isset( $array['min_selections'] ) && $array['min_selections'] > 0 ) {
|
545 |
+
if ( ( ! isset( $args[ $key ] ) ) || ( isset( $args[ $key ] ) && is_array( $args[ $key ] ) && count( $args[ $key ] ) < $array['min_selections'] ) ) {
|
546 |
+
UM()->form()->add_error($key, sprintf( __( 'Please select at least %s choices', 'ultimate-member' ), $array['min_selections'] ) );
|
547 |
}
|
548 |
}
|
549 |
|
550 |
if ( isset( $array['max_selections'] ) && $array['max_selections'] > 0 ) {
|
551 |
+
if ( isset( $args[ $key ] ) && is_array( $args[ $key ] ) && count( $args[ $key ] ) > $array['max_selections'] ) {
|
552 |
+
UM()->form()->add_error( $key, sprintf( __( 'You can only select up to %s choices', 'ultimate-member' ), $array['max_selections'] ) );
|
553 |
}
|
554 |
}
|
555 |
|
556 |
if ( isset( $array['min'] ) && is_numeric( $args[ $key ] ) ) {
|
557 |
if ( isset( $args[ $key ] ) && $args[ $key ] < $array['min'] ) {
|
558 |
+
UM()->form()->add_error( $key, sprintf( __( 'Minimum number limit is %s', 'ultimate-member' ), $array['min'] ) );
|
559 |
}
|
560 |
}
|
561 |
|
562 |
if ( isset( $array['max'] ) && is_numeric( $args[ $key ] ) ) {
|
563 |
if ( isset( $args[ $key ] ) && $args[ $key ] > $array['max'] ) {
|
564 |
+
UM()->form()->add_error( $key, sprintf( __( 'Maximum number limit is %s', 'ultimate-member' ), $array['max'] ) );
|
565 |
}
|
566 |
}
|
567 |
|
568 |
+
if ( ! empty( $array['validate'] ) ) {
|
569 |
|
570 |
switch( $array['validate'] ) {
|
571 |
|
596 |
break;
|
597 |
|
598 |
case 'numeric':
|
599 |
+
if ( $args[ $key ] && ! is_numeric( $args[ $key ] ) ) {
|
600 |
+
UM()->form()->add_error( $key, __( 'Please enter numbers only in this field', 'ultimate-member' ) );
|
601 |
}
|
602 |
break;
|
603 |
|
604 |
case 'phone_number':
|
605 |
+
if ( ! UM()->validation()->is_phone_number( $args[ $key ] ) ) {
|
606 |
+
UM()->form()->add_error( $key, __( 'Please enter a valid phone number', 'ultimate-member' ) );
|
607 |
}
|
608 |
break;
|
609 |
|
610 |
case 'youtube_url':
|
611 |
+
if ( ! UM()->validation()->is_url( $args[ $key ], 'youtube.com' ) ) {
|
612 |
+
UM()->form()->add_error( $key, sprintf( __( 'Please enter a valid %s username or profile URL', 'ultimate-member' ), $array['label'] ) );
|
613 |
}
|
614 |
break;
|
615 |
|
616 |
case 'soundcloud_url':
|
617 |
+
if ( ! UM()->validation()->is_url( $args[ $key ], 'soundcloud.com' ) ) {
|
618 |
+
UM()->form()->add_error( $key, sprintf( __( 'Please enter a valid %s username or profile URL','ultimate-member'), $array['label'] ) );
|
619 |
}
|
620 |
break;
|
621 |
|
622 |
case 'facebook_url':
|
623 |
+
if ( ! UM()->validation()->is_url( $args[ $key ], 'facebook.com' ) ) {
|
624 |
+
UM()->form()->add_error( $key, sprintf( __( 'Please enter a valid %s username or profile URL', 'ultimate-member' ), $array['label'] ) );
|
625 |
}
|
626 |
break;
|
627 |
|
628 |
case 'twitter_url':
|
629 |
+
if ( ! UM()->validation()->is_url( $args[ $key ], 'twitter.com' ) ) {
|
630 |
+
UM()->form()->add_error( $key, sprintf( __( 'Please enter a valid %s username or profile URL', 'ultimate-member' ), $array['label'] ) );
|
631 |
}
|
632 |
break;
|
633 |
|
634 |
case 'instagram_url':
|
635 |
+
|
636 |
+
if ( ! UM()->validation()->is_url( $args[ $key ], 'instagram.com' ) ) {
|
637 |
+
UM()->form()->add_error( $key, sprintf( __( 'Please enter a valid %s profile URL', 'ultimate-member' ), $array['label'] ) );
|
638 |
}
|
639 |
break;
|
640 |
|
641 |
case 'google_url':
|
642 |
+
if ( ! UM()->validation()->is_url( $args[ $key ], 'plus.google.com' ) ) {
|
643 |
+
UM()->form()->add_error( $key, sprintf( __( 'Please enter a valid %s username or profile URL', 'ultimate-member' ), $array['label'] ) );
|
644 |
}
|
645 |
break;
|
646 |
|
647 |
case 'linkedin_url':
|
648 |
+
if ( ! UM()->validation()->is_url( $args[ $key ], 'linkedin.com' ) ) {
|
649 |
+
UM()->form()->add_error( $key, sprintf( __( 'Please enter a valid %s username or profile URL', 'ultimate-member' ), $array['label'] ) );
|
650 |
}
|
651 |
break;
|
652 |
|
653 |
case 'vk_url':
|
654 |
+
if ( ! UM()->validation()->is_url( $args[ $key ], 'vk.com' ) ) {
|
655 |
+
UM()->form()->add_error( $key, sprintf( __( 'Please enter a valid %s username or profile URL', 'ultimate-member' ), $array['label'] ) );
|
656 |
}
|
657 |
break;
|
658 |
|
659 |
case 'url':
|
660 |
+
if ( ! UM()->validation()->is_url( $args[ $key ] ) ) {
|
661 |
+
UM()->form()->add_error( $key, __( 'Please enter a valid URL', 'ultimate-member' ) );
|
662 |
}
|
663 |
break;
|
664 |
|
665 |
case 'skype':
|
666 |
+
if ( ! UM()->validation()->is_url( $args[ $key ], 'skype.com' ) ) {
|
667 |
+
UM()->form()->add_error( $key, sprintf( __( 'Please enter a valid %s username or profile URL', 'ultimate-member' ), $array['label'] ) );
|
668 |
}
|
669 |
break;
|
670 |
|
676 |
UM()->form()->add_error( $key, __( 'Your username is already taken', 'ultimate-member' ) );
|
677 |
} elseif ( is_email( $args[ $key ] ) ) {
|
678 |
UM()->form()->add_error( $key, __( 'Username cannot be an email', 'ultimate-member' ) );
|
679 |
+
} elseif ( ! UM()->validation()->safe_username( $args[ $key ] ) ) {
|
680 |
UM()->form()->add_error( $key, __( 'Your username contains invalid characters', 'ultimate-member' ) );
|
681 |
}
|
682 |
|
684 |
|
685 |
case 'unique_username_or_email':
|
686 |
|
687 |
+
if ( $args[ $key ] == '' ) {
|
688 |
+
UM()->form()->add_error( $key, __( 'You must provide a username', 'ultimate-member' ) );
|
689 |
+
} elseif ( $mode == 'register' && username_exists( sanitize_user( $args[ $key ] ) ) ) {
|
690 |
+
UM()->form()->add_error( $key, __( 'Your username is already taken', 'ultimate-member' ) );
|
691 |
+
} elseif ( $mode == 'register' && email_exists( $args[ $key ] ) ) {
|
692 |
+
UM()->form()->add_error( $key, __( 'This email is already linked to an existing account', 'ultimate-member' ) );
|
693 |
+
} elseif ( ! UM()->validation()->safe_username( $args[ $key ] ) ) {
|
694 |
+
UM()->form()->add_error( $key, __( 'Your username contains invalid characters', 'ultimate-member' ) );
|
695 |
}
|
696 |
|
697 |
break;
|
700 |
|
701 |
$args[ $key ] = trim( $args[ $key ] );
|
702 |
|
703 |
+
if ( in_array( $key, array( 'user_email' ) ) ) {
|
704 |
|
705 |
+
if ( ! isset( $args['user_id'] ) ){
|
706 |
$args['user_id'] = um_get_requested_user();
|
707 |
}
|
708 |
|
709 |
$email_exists = email_exists( $args[ $key ] );
|
710 |
|
711 |
+
if ( $args[ $key ] == '' && in_array( $key, array( 'user_email' ) ) ) {
|
712 |
+
UM()->form()->add_error( $key, __( 'You must provide your email', 'ultimate-member' ) );
|
713 |
+
} elseif ( in_array( $mode, array( 'register' ) ) && $email_exists ) {
|
714 |
+
UM()->form()->add_error( $key, __( 'This email is already linked to an existing account', 'ultimate-member' ) );
|
715 |
+
} elseif ( in_array( $mode, array( 'profile' ) ) && $email_exists && $email_exists != $args['user_id'] ) {
|
716 |
+
UM()->form()->add_error( $key, __( 'This email is already linked to an existing account', 'ultimate-member' ) );
|
717 |
+
} elseif ( !is_email( $args[ $key ] ) ) {
|
718 |
+
UM()->form()->add_error( $key, __( 'This is not a valid email', 'ultimate-member') );
|
719 |
+
} elseif ( ! UM()->validation()->safe_username( $args[ $key ] ) ) {
|
720 |
+
UM()->form()->add_error( $key, __( 'Your email contains invalid characters', 'ultimate-member' ) );
|
721 |
}
|
722 |
|
723 |
} else {
|
724 |
|
725 |
+
if ( $args[ $key ] != '' && ! is_email( $args[ $key ] ) ) {
|
726 |
+
UM()->form()->add_error( $key, __( 'This is not a valid email', 'ultimate-member' ) );
|
727 |
+
} elseif ( $args[ $key ] != '' && email_exists( $args[ $key ] ) ) {
|
728 |
+
UM()->form()->add_error( $key, __( 'This email is already linked to an existing account', 'ultimate-member' ) );
|
729 |
+
} elseif ( $args[ $key ] != '' ) {
|
730 |
+
|
731 |
+
$users = get_users( 'meta_value=' . $args[ $key ] );
|
732 |
|
733 |
foreach ( $users as $user ) {
|
734 |
+
if ( $user->ID != $args['user_id'] ) {
|
735 |
+
UM()->form()->add_error( $key, __( 'This email is already linked to an existing account', 'ultimate-member' ) );
|
736 |
}
|
737 |
}
|
738 |
|
|
|
739 |
}
|
740 |
|
741 |
}
|
746 |
|
747 |
$args[ $key ] = trim( $args[ $key ] );
|
748 |
|
749 |
+
if ( $args[ $key ] != '' && ! is_email( $args[ $key ] ) ) {
|
750 |
+
UM()->form()->add_error( $key, __( 'This is not a valid email', 'ultimate-member' ) );
|
751 |
+
}
|
|
|
752 |
|
753 |
break;
|
754 |
|
755 |
case 'unique_value':
|
756 |
|
757 |
+
if ( $args[ $key ] != '' ) {
|
758 |
|
759 |
$args_unique_meta = array(
|
760 |
+
'meta_key' => $key,
|
761 |
+
'meta_value' => $args[ $key ],
|
762 |
+
'compare' => '=',
|
763 |
+
'exclude' => array( $args['user_id'] ),
|
764 |
);
|
765 |
|
766 |
$meta_key_exists = get_users( $args_unique_meta );
|
767 |
|
768 |
if ( $meta_key_exists ) {
|
769 |
+
UM()->form()->add_error( $key , __( 'You must provide a unique value', 'ultimate-member' ) );
|
770 |
}
|
771 |
}
|
772 |
break;
|
787 |
|
788 |
if ( $args[ $key ] != '' ) {
|
789 |
|
790 |
+
if ( ! ctype_lower( str_replace(' ', '', $args[ $key ] ) ) ) {
|
791 |
+
UM()->form()->add_error( $key , __( 'You must provide lowercase letters.', 'ultimate-member' ) );
|
792 |
}
|
793 |
}
|
794 |
|
includes/core/um-filters-fields.php
CHANGED
@@ -26,11 +26,11 @@ add_filter( 'um_edit_label_all_fields', 'um_edit_label_all_fields', 10, 2 );
|
|
26 |
* @param $value
|
27 |
* @param $data
|
28 |
*
|
29 |
-
* @return string
|
30 |
*/
|
31 |
function um_profile_field_filter_hook__soundcloud_track( $value, $data ) {
|
32 |
|
33 |
-
if ( !is_numeric( $value ) ) {
|
34 |
return __( 'Invalid soundcloud track ID', 'ultimate-member' );
|
35 |
}
|
36 |
|
@@ -52,7 +52,7 @@ add_filter( 'um_profile_field_filter_hook__soundcloud_track', 'um_profile_field_
|
|
52 |
* @return bool|string
|
53 |
*/
|
54 |
function um_profile_field_filter_hook__youtube_video( $value, $data ) {
|
55 |
-
if( empty( $value ) ){
|
56 |
return '';
|
57 |
}
|
58 |
$value = ( strstr( $value, 'http') || strstr( $value, '://' ) ) ? um_youtube_id_from_url( $value ) : $value;
|
@@ -61,7 +61,7 @@ function um_profile_field_filter_hook__youtube_video( $value, $data ) {
|
|
61 |
</div>';
|
62 |
|
63 |
return $value;
|
64 |
-
|
65 |
add_filter( 'um_profile_field_filter_hook__youtube_video', 'um_profile_field_filter_hook__youtube_video', 99, 2 );
|
66 |
|
67 |
|
@@ -709,14 +709,60 @@ function um_profile_field_filter_xss_validation( $value, $data, $type = '' ) {
|
|
709 |
}
|
710 |
}
|
711 |
} elseif ( 'select' == $type || 'radio' == $type ) {
|
712 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
713 |
$value = '';
|
|
|
|
|
|
|
|
|
714 |
}
|
715 |
}
|
716 |
} elseif ( ! empty( $value ) && is_array( $value ) ) {
|
717 |
if ( 'multiselect' == $type || 'checkbox' == $type ) {
|
718 |
-
|
719 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
720 |
}
|
721 |
}
|
722 |
}
|
26 |
* @param $value
|
27 |
* @param $data
|
28 |
*
|
29 |
+
* @return string
|
30 |
*/
|
31 |
function um_profile_field_filter_hook__soundcloud_track( $value, $data ) {
|
32 |
|
33 |
+
if ( ! is_numeric( $value ) ) {
|
34 |
return __( 'Invalid soundcloud track ID', 'ultimate-member' );
|
35 |
}
|
36 |
|
52 |
* @return bool|string
|
53 |
*/
|
54 |
function um_profile_field_filter_hook__youtube_video( $value, $data ) {
|
55 |
+
if ( empty( $value ) ) {
|
56 |
return '';
|
57 |
}
|
58 |
$value = ( strstr( $value, 'http') || strstr( $value, '://' ) ) ? um_youtube_id_from_url( $value ) : $value;
|
61 |
</div>';
|
62 |
|
63 |
return $value;
|
64 |
+
}
|
65 |
add_filter( 'um_profile_field_filter_hook__youtube_video', 'um_profile_field_filter_hook__youtube_video', 99, 2 );
|
66 |
|
67 |
|
709 |
}
|
710 |
}
|
711 |
} elseif ( 'select' == $type || 'radio' == $type ) {
|
712 |
+
|
713 |
+
/**
|
714 |
+
* UM hook
|
715 |
+
*
|
716 |
+
* @type filter
|
717 |
+
* @title um_select_option_value
|
718 |
+
* @description Enable options pair by field $data
|
719 |
+
* @input_vars
|
720 |
+
* [{"var":"$options_pair","type":"null","desc":"Enable pairs"},
|
721 |
+
* {"var":"$data","type":"array","desc":"Field Data"}]
|
722 |
+
*/
|
723 |
+
$option_pairs = apply_filters( 'um_select_options_pair', null, $data );
|
724 |
+
|
725 |
+
$arr = $data['options'];
|
726 |
+
if ( $option_pairs ) {
|
727 |
+
$arr = array_keys( $data['options'] );
|
728 |
+
}
|
729 |
+
|
730 |
+
if ( ! empty( $arr ) && ! in_array( $value, array_map( 'trim', $arr ) ) && empty( $data['custom_dropdown_options_source'] ) ) {
|
731 |
$value = '';
|
732 |
+
} else {
|
733 |
+
if ( $option_pairs ) {
|
734 |
+
$value = $data['options'][ $value ];
|
735 |
+
}
|
736 |
}
|
737 |
}
|
738 |
} elseif ( ! empty( $value ) && is_array( $value ) ) {
|
739 |
if ( 'multiselect' == $type || 'checkbox' == $type ) {
|
740 |
+
|
741 |
+
/**
|
742 |
+
* UM hook
|
743 |
+
*
|
744 |
+
* @type filter
|
745 |
+
* @title um_select_option_value
|
746 |
+
* @description Enable options pair by field $data
|
747 |
+
* @input_vars
|
748 |
+
* [{"var":"$options_pair","type":"null","desc":"Enable pairs"},
|
749 |
+
* {"var":"$data","type":"array","desc":"Field Data"}]
|
750 |
+
*/
|
751 |
+
$option_pairs = apply_filters( 'um_select_options_pair', null, $data );
|
752 |
+
|
753 |
+
$arr = $data['options'];
|
754 |
+
if ( $option_pairs ) {
|
755 |
+
$arr = array_keys( $data['options'] );
|
756 |
+
}
|
757 |
+
|
758 |
+
if ( ! empty( $arr ) && empty( $data['custom_dropdown_options_source'] ) ) {
|
759 |
+
$value = array_intersect( $value, array_map( 'trim', $arr ) );
|
760 |
+
}
|
761 |
+
|
762 |
+
if ( $option_pairs ) {
|
763 |
+
foreach ( $value as &$val ) {
|
764 |
+
$val = $data['options'][ $val ];
|
765 |
+
}
|
766 |
}
|
767 |
}
|
768 |
}
|
includes/um-short-functions.php
CHANGED
@@ -672,6 +672,8 @@ function um_get_snippet( $str, $wordCount = 10 ) {
|
|
672 |
* @param bool $style
|
673 |
*
|
674 |
* @return null|string
|
|
|
|
|
675 |
*/
|
676 |
function um_user_submitted_registration( $style = false ) {
|
677 |
$output = null;
|
@@ -769,22 +771,249 @@ function um_user_submitted_registration( $style = false ) {
|
|
769 |
return $output;
|
770 |
}
|
771 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
772 |
|
773 |
/**
|
774 |
* Show filtered social link
|
775 |
*
|
776 |
-
* @param $key
|
777 |
-
* @param $match
|
778 |
*
|
779 |
-
* @return
|
780 |
*/
|
781 |
function um_filtered_social_link( $key, $match ) {
|
782 |
$value = um_profile( $key );
|
783 |
$submatch = str_replace( 'https://', '', $match );
|
784 |
$submatch = str_replace( 'http://', '', $submatch );
|
785 |
-
if (strstr( $value, $submatch )) {
|
786 |
$value = 'https://' . $value;
|
787 |
-
}
|
788 |
$value = $match . $value;
|
789 |
}
|
790 |
$value = str_replace( 'https://https://', 'https://', $value );
|
@@ -886,7 +1115,9 @@ function um_filtered_value( $key, $data = false ) {
|
|
886 |
|
887 |
|
888 |
/**
|
889 |
-
*
|
|
|
|
|
890 |
*/
|
891 |
function um_profile_id() {
|
892 |
$requested_user = um_get_requested_user();
|
@@ -1283,8 +1514,9 @@ function um_set_requested_user( $user_id ) {
|
|
1283 |
* @return bool|null
|
1284 |
*/
|
1285 |
function um_get_requested_user() {
|
1286 |
-
if ( ! empty( UM()->user()->target_id ) )
|
1287 |
return UM()->user()->target_id;
|
|
|
1288 |
|
1289 |
return false;
|
1290 |
}
|
672 |
* @param bool $style
|
673 |
*
|
674 |
* @return null|string
|
675 |
+
*
|
676 |
+
* @deprecated 2.1.3
|
677 |
*/
|
678 |
function um_user_submitted_registration( $style = false ) {
|
679 |
$output = null;
|
771 |
return $output;
|
772 |
}
|
773 |
|
774 |
+
/**
|
775 |
+
* Format submitted data for Info preview & Email template
|
776 |
+
* @param boolean $style
|
777 |
+
* @return string
|
778 |
+
*
|
779 |
+
* @since 2.1.4
|
780 |
+
*/
|
781 |
+
function um_user_submitted_registration_formatted( $style = false ){
|
782 |
+
$output = null;
|
783 |
+
|
784 |
+
$submitted_data = um_user( 'submitted' );
|
785 |
+
|
786 |
+
if ( $style ) {
|
787 |
+
$output .= '<div class="um-admin-infobox">';
|
788 |
+
}
|
789 |
+
|
790 |
+
// Timestamp
|
791 |
+
$output .= um_user_submited_display( 'timestamp', __( 'Date Submitted', 'ultimate-member' ) );
|
792 |
+
$output .= um_user_submited_display( 'form_id', __( 'Form', 'ultimate-member' ), $submitted_data );
|
793 |
+
|
794 |
+
if ( isset( $submitted_data ) && is_array( $submitted_data ) ) {
|
795 |
+
|
796 |
+
$fields = UM()->query()->get_attr( 'custom_fields', $submitted_data['form_id'] );
|
797 |
+
|
798 |
+
if ( isset( $fields ) ) {
|
799 |
+
|
800 |
+
$fields['form_id'] = array( 'title' => __( 'Form', 'ultimate-member' ) );
|
801 |
+
|
802 |
+
$rows = array();
|
803 |
+
|
804 |
+
UM()->fields()->get_fields = $fields;
|
805 |
+
|
806 |
+
foreach ( $fields as $key => $array ) {
|
807 |
+
if ( isset( $array['type'] ) && $array['type'] == 'row' ) {
|
808 |
+
$rows[ $key ] = $array;
|
809 |
+
unset( UM()->fields()->get_fields[ $key ] ); // not needed now
|
810 |
+
}
|
811 |
+
}
|
812 |
+
|
813 |
+
if ( empty( $rows ) ) {
|
814 |
+
$rows = array(
|
815 |
+
'_um_row_1' => array(
|
816 |
+
'type' => 'row',
|
817 |
+
'id' => '_um_row_1',
|
818 |
+
'sub_rows' => 1,
|
819 |
+
'cols' => 1
|
820 |
+
),
|
821 |
+
);
|
822 |
+
}
|
823 |
+
|
824 |
+
foreach ( $rows as $row_id => $row_array ) {
|
825 |
+
|
826 |
+
$row_fields = UM()->fields()->get_fields_by_row( $row_id );
|
827 |
+
|
828 |
+
if ( $row_fields ) {
|
829 |
+
|
830 |
+
$output .= UM()->fields()->new_row_output( $row_id, $row_array );
|
831 |
+
|
832 |
+
$sub_rows = ( isset( $row_array['sub_rows'] ) ) ? $row_array['sub_rows'] : 1;
|
833 |
+
for ( $c = 0; $c < $sub_rows; $c++ ) {
|
834 |
+
|
835 |
+
// cols
|
836 |
+
$cols = ( isset( $row_array['cols'] ) ) ? $row_array['cols'] : 1;
|
837 |
+
if ( strstr( $cols, ':' ) ) {
|
838 |
+
$col_split = explode( ':', $cols );
|
839 |
+
} else {
|
840 |
+
$col_split = array( $cols );
|
841 |
+
}
|
842 |
+
$cols_num = $col_split[ $c ];
|
843 |
+
|
844 |
+
// sub row fields
|
845 |
+
$subrow_fields = null;
|
846 |
+
$subrow_fields = UM()->fields()->get_fields_in_subrow( $row_fields, $c );
|
847 |
+
|
848 |
+
if ( is_array( $subrow_fields ) ) {
|
849 |
+
|
850 |
+
if ( isset( $subrow_fields['form_id'] ) ) {
|
851 |
+
unset( $subrow_fields['form_id'] );
|
852 |
+
}
|
853 |
+
|
854 |
+
$subrow_fields = UM()->fields()->array_sort_by_column( $subrow_fields, 'position' );
|
855 |
+
|
856 |
+
if ( $cols_num == 1 ) {
|
857 |
+
|
858 |
+
$col1_fields = UM()->fields()->get_fields_in_column( $subrow_fields, 1 );
|
859 |
+
if ( $col1_fields ) {
|
860 |
+
foreach ( $col1_fields as $key => $data ) {
|
861 |
+
$output .= um_user_submited_display( $key, $data['title'] );
|
862 |
+
}
|
863 |
+
}
|
864 |
+
|
865 |
+
} elseif ( $cols_num == 2 ) {
|
866 |
+
|
867 |
+
$col1_fields = UM()->fields()->get_fields_in_column( $subrow_fields, 1 );
|
868 |
+
if ( $col1_fields ) {
|
869 |
+
foreach ( $col1_fields as $key => $data ) {
|
870 |
+
$output .= um_user_submited_display( $key, $data['title'] );
|
871 |
+
}
|
872 |
+
}
|
873 |
+
|
874 |
+
$col2_fields = UM()->fields()->get_fields_in_column( $subrow_fields, 2 );
|
875 |
+
if ( $col2_fields ) {
|
876 |
+
foreach ( $col2_fields as $key => $data ) {
|
877 |
+
$output .= um_user_submited_display( $key, $data['title'] );
|
878 |
+
}
|
879 |
+
}
|
880 |
+
|
881 |
+
} else {
|
882 |
+
|
883 |
+
$col1_fields = UM()->fields()->get_fields_in_column( $subrow_fields, 1 );
|
884 |
+
if ( $col1_fields ) {
|
885 |
+
foreach ( $col1_fields as $key => $data ) {
|
886 |
+
$output .= um_user_submited_display( $key, $data['title'] );
|
887 |
+
}
|
888 |
+
}
|
889 |
+
|
890 |
+
$col2_fields = UM()->fields()->get_fields_in_column( $subrow_fields, 2 );
|
891 |
+
if ( $col2_fields ) {
|
892 |
+
foreach ( $col2_fields as $key => $data ) {
|
893 |
+
$output .= um_user_submited_display( $key, $data['title'] );
|
894 |
+
}
|
895 |
+
}
|
896 |
+
|
897 |
+
$col3_fields = UM()->fields()->get_fields_in_column( $subrow_fields, 3 );
|
898 |
+
if ( $col3_fields ) {
|
899 |
+
foreach ( $col3_fields as $key => $data ) {
|
900 |
+
$output .= um_user_submited_display( $key, $data['title'] );
|
901 |
+
}
|
902 |
+
}
|
903 |
+
|
904 |
+
}
|
905 |
+
|
906 |
+
}
|
907 |
+
|
908 |
+
}
|
909 |
+
|
910 |
+
}
|
911 |
+
|
912 |
+
|
913 |
+
} // endfor
|
914 |
+
|
915 |
+
}
|
916 |
+
}
|
917 |
+
|
918 |
+
|
919 |
+
if ( $style ) {
|
920 |
+
$output .= '</div>';
|
921 |
+
}
|
922 |
+
|
923 |
+
|
924 |
+
return $output;
|
925 |
+
|
926 |
+
}
|
927 |
+
|
928 |
+
/**
|
929 |
+
* Prepare template
|
930 |
+
*
|
931 |
+
* @param string $k
|
932 |
+
* @param string $title
|
933 |
+
* @param array $data
|
934 |
+
* @param boolean $style
|
935 |
+
* @return string
|
936 |
+
*
|
937 |
+
* @since 2.1.4
|
938 |
+
*/
|
939 |
+
function um_user_submited_display( $k, $title, $data = array(), $style = true ) {
|
940 |
+
$output = '';
|
941 |
+
|
942 |
+
if ( 'form_id' == $k ) {
|
943 |
+
$v = sprintf( __( '%s - Form ID#: %s', 'ultimate-member' ), get_the_title( $data['form_id'] ), $data['form_id'] );
|
944 |
+
} else {
|
945 |
+
$v = um_user( $k );
|
946 |
+
}
|
947 |
+
|
948 |
+
if ( strstr( $k, 'user_pass' ) || in_array( $k, array( 'g-recaptcha-response', 'request', '_wpnonce', '_wp_http_referer' ) ) ) {
|
949 |
+
return '';
|
950 |
+
}
|
951 |
+
|
952 |
+
if ( ! $v ) {
|
953 |
+
if ( $style ) {
|
954 |
+
return "<p><label>$title: </label><span>" . __( '(empty)', 'ultimate-member' ) ."</span></p>";
|
955 |
+
} else {
|
956 |
+
return '';
|
957 |
+
}
|
958 |
+
}
|
959 |
+
|
960 |
+
if ( UM()->fields()->get_field_type( $k ) == 'image' || UM()->fields()->get_field_type( $k ) == 'file' ) {
|
961 |
+
$file = basename( $v );
|
962 |
+
|
963 |
+
$filedata = get_user_meta( um_user( 'ID' ), $k . "_metadata", true );
|
964 |
+
|
965 |
+
$baseurl = UM()->uploader()->get_upload_base_url();
|
966 |
+
if ( ! file_exists( UM()->uploader()->get_upload_base_dir() . um_user( 'ID' ) . DIRECTORY_SEPARATOR . $file ) ) {
|
967 |
+
if ( is_multisite() ) {
|
968 |
+
//multisite fix for old customers
|
969 |
+
$baseurl = str_replace( '/sites/' . get_current_blog_id() . '/', '/', $baseurl );
|
970 |
+
}
|
971 |
+
}
|
972 |
+
|
973 |
+
if ( ! empty( $filedata['original_name'] ) ) {
|
974 |
+
$v = '<a href="' . esc_attr( $baseurl . um_user( 'ID' ) . '/' . $file ) . '">' . esc_html( $filedata['original_name'] ) . '</a>';
|
975 |
+
} else {
|
976 |
+
$v = $baseurl . um_user( 'ID' ) . '/' . $file;
|
977 |
+
}
|
978 |
+
}
|
979 |
+
|
980 |
+
if ( is_array( $v ) ) {
|
981 |
+
$v = implode( ',', $v );
|
982 |
+
}
|
983 |
+
|
984 |
+
if ( $k == 'timestamp' ) {
|
985 |
+
$k = __( 'date submitted', 'ultimate-member' );
|
986 |
+
$v = date( "d M Y H:i", $v );
|
987 |
+
}
|
988 |
+
|
989 |
+
if ( $style ) {
|
990 |
+
if ( ! $v ) {
|
991 |
+
$v = __( '(empty)', 'ultimate-member' );
|
992 |
+
}
|
993 |
+
$output .= "<p><label>$title: </label><span>$v</span></p>";
|
994 |
+
} else {
|
995 |
+
$output .= "$title: $v" . "<br />";
|
996 |
+
}
|
997 |
+
|
998 |
+
return $output;
|
999 |
+
}
|
1000 |
+
|
1001 |
|
1002 |
/**
|
1003 |
* Show filtered social link
|
1004 |
*
|
1005 |
+
* @param string $key
|
1006 |
+
* @param string $match
|
1007 |
*
|
1008 |
+
* @return string
|
1009 |
*/
|
1010 |
function um_filtered_social_link( $key, $match ) {
|
1011 |
$value = um_profile( $key );
|
1012 |
$submatch = str_replace( 'https://', '', $match );
|
1013 |
$submatch = str_replace( 'http://', '', $submatch );
|
1014 |
+
if ( strstr( $value, $submatch ) ) {
|
1015 |
$value = 'https://' . $value;
|
1016 |
+
} elseif ( strpos( $value, 'http' ) !== 0 ) {
|
1017 |
$value = $match . $value;
|
1018 |
}
|
1019 |
$value = str_replace( 'https://https://', 'https://', $value );
|
1115 |
|
1116 |
|
1117 |
/**
|
1118 |
+
* Returns requested User ID or current User ID
|
1119 |
+
*
|
1120 |
+
* @return int
|
1121 |
*/
|
1122 |
function um_profile_id() {
|
1123 |
$requested_user = um_get_requested_user();
|
1514 |
* @return bool|null
|
1515 |
*/
|
1516 |
function um_get_requested_user() {
|
1517 |
+
if ( ! empty( UM()->user()->target_id ) ) {
|
1518 |
return UM()->user()->target_id;
|
1519 |
+
}
|
1520 |
|
1521 |
return false;
|
1522 |
}
|
languages/ultimate-member-en_US.mo
CHANGED
Binary file
|
languages/ultimate-member-en_US.po
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Ultimate Member\n"
|
4 |
-
"POT-Creation-Date: 2020-
|
5 |
-
"PO-Revision-Date: 2020-
|
6 |
"Last-Translator: \n"
|
7 |
"Language-Team: \n"
|
8 |
"Language: en_US\n"
|
@@ -103,7 +103,7 @@ msgstr ""
|
|
103 |
#: includes/admin/core/class-admin-builder.php:765
|
104 |
#: includes/admin/core/class-admin-dragdrop.php:33
|
105 |
#: includes/admin/core/class-admin-menu.php:106
|
106 |
-
#: includes/core/class-fields.php:
|
107 |
msgid "Please login as administrator"
|
108 |
msgstr ""
|
109 |
|
@@ -145,7 +145,7 @@ msgid "Delete Group"
|
|
145 |
msgstr ""
|
146 |
|
147 |
#: includes/admin/core/class-admin-builder.php:554
|
148 |
-
#: includes/admin/core/class-admin-enqueue.php:
|
149 |
#: includes/admin/core/list-tables/roles-list-table.php:342
|
150 |
#: includes/admin/core/list-tables/roles-list-table.php:410
|
151 |
msgid "Delete"
|
@@ -164,7 +164,7 @@ msgid "Predefined Fields"
|
|
164 |
msgstr ""
|
165 |
|
166 |
#: includes/admin/core/class-admin-builder.php:880
|
167 |
-
#: includes/core/class-builtin.php:
|
168 |
msgid "None"
|
169 |
msgstr ""
|
170 |
|
@@ -177,12 +177,12 @@ msgid "You did not create any custom fields"
|
|
177 |
msgstr ""
|
178 |
|
179 |
#: includes/admin/core/class-admin-builder.php:931
|
180 |
-
#: includes/admin/core/class-admin-builder.php:
|
181 |
msgid "This field type is not setup correcty."
|
182 |
msgstr ""
|
183 |
|
184 |
-
#: includes/admin/core/class-admin-builder.php:
|
185 |
-
#: includes/core/class-form.php:176 includes/core/class-form.php:
|
186 |
#: includes/core/class-password.php:535
|
187 |
msgid "This is not possible for security reasons."
|
188 |
msgstr ""
|
@@ -193,8 +193,8 @@ msgstr ""
|
|
193 |
|
194 |
#: includes/admin/core/class-admin-columns.php:131
|
195 |
#: includes/admin/core/class-admin-columns.php:151
|
196 |
-
#: includes/admin/core/class-admin-metabox.php:
|
197 |
-
#: includes/admin/templates/role/role-edit.php:
|
198 |
#: includes/widgets/class-um-search-widget.php:81
|
199 |
msgid "Title"
|
200 |
msgstr ""
|
@@ -219,8 +219,8 @@ msgstr ""
|
|
219 |
|
220 |
#: includes/admin/core/class-admin-columns.php:135
|
221 |
#: includes/admin/core/class-admin-columns.php:154
|
222 |
-
#: includes/admin/core/class-admin-metabox.php:
|
223 |
-
#: includes/admin/core/class-admin-metabox.php:
|
224 |
msgid "Shortcode"
|
225 |
msgstr ""
|
226 |
|
@@ -249,8 +249,8 @@ msgstr ""
|
|
249 |
#: includes/admin/templates/form/register_customize.php:23
|
250 |
#: includes/admin/templates/form/register_customize.php:79
|
251 |
#: includes/admin/templates/form/register_gdpr.php:26
|
252 |
-
#: includes/core/class-builtin.php:
|
253 |
-
#: includes/core/class-builtin.php:
|
254 |
#: includes/core/um-actions-account.php:277
|
255 |
msgid "No"
|
256 |
msgstr ""
|
@@ -277,40 +277,40 @@ msgstr ""
|
|
277 |
#: includes/admin/templates/form/register_customize.php:24
|
278 |
#: includes/admin/templates/form/register_customize.php:80
|
279 |
#: includes/admin/templates/form/register_gdpr.php:27
|
280 |
-
#: includes/core/class-builtin.php:
|
281 |
#: includes/core/class-user.php:212 includes/core/class-user.php:213
|
282 |
#: includes/core/um-actions-account.php:272
|
283 |
msgid "Yes"
|
284 |
msgstr ""
|
285 |
|
286 |
-
#: includes/admin/core/class-admin-enqueue.php:
|
287 |
msgid "e.g. Member Directory"
|
288 |
msgstr ""
|
289 |
|
290 |
-
#: includes/admin/core/class-admin-enqueue.php:
|
291 |
msgid "e.g. New Registration Form"
|
292 |
msgstr ""
|
293 |
|
294 |
-
#: includes/admin/core/class-admin-enqueue.php:
|
295 |
-
#: includes/core/class-builtin.php:
|
296 |
-
#: includes/core/class-builtin.php:
|
297 |
#: includes/core/um-actions-account.php:501
|
298 |
#: includes/core/um-actions-account.php:524
|
299 |
msgid "Password"
|
300 |
msgstr ""
|
301 |
|
302 |
-
#: includes/admin/core/class-admin-enqueue.php:
|
303 |
-
#: includes/admin/core/class-admin-metabox.php:
|
304 |
#: includes/core/class-account.php:109
|
305 |
msgid "Privacy"
|
306 |
msgstr ""
|
307 |
|
308 |
-
#: includes/admin/core/class-admin-enqueue.php:
|
309 |
#: includes/core/class-account.php:115
|
310 |
msgid "Notifications"
|
311 |
msgstr ""
|
312 |
|
313 |
-
#: includes/admin/core/class-admin-enqueue.php:
|
314 |
msgid "Ultimate Member Blocks"
|
315 |
msgstr ""
|
316 |
|
@@ -320,56 +320,56 @@ msgid "Required"
|
|
320 |
msgstr ""
|
321 |
|
322 |
#: includes/admin/core/class-admin-forms.php:526
|
323 |
-
#: includes/admin/core/class-admin-metabox.php:
|
324 |
-
#: includes/admin/core/class-admin-metabox.php:
|
325 |
msgid "Choose Icon"
|
326 |
msgstr ""
|
327 |
|
328 |
#: includes/admin/core/class-admin-forms.php:532
|
329 |
-
#: includes/admin/core/class-admin-metabox.php:
|
330 |
-
#: includes/admin/core/class-admin-metabox.php:
|
331 |
msgid "No Icon"
|
332 |
msgstr ""
|
333 |
|
334 |
-
#: includes/admin/core/class-admin-forms.php:
|
335 |
#: includes/admin/core/class-admin-upgrade.php:255
|
336 |
msgid "Run"
|
337 |
msgstr ""
|
338 |
|
339 |
-
#: includes/admin/core/class-admin-forms.php:
|
340 |
-
#: includes/admin/core/class-admin-forms.php:
|
341 |
-
#: includes/admin/core/class-admin-forms.php:
|
342 |
-
#: includes/admin/core/class-admin-forms.php:
|
343 |
-
#: includes/admin/core/class-admin-forms.php:
|
344 |
-
#: includes/admin/core/class-admin-forms.php:
|
345 |
-
#: includes/admin/core/class-admin-forms.php:
|
346 |
-
#: includes/admin/core/class-admin-forms.php:
|
347 |
#: includes/admin/core/class-admin-notices.php:398
|
348 |
#: includes/core/um-actions-profile.php:673
|
349 |
msgid "Remove"
|
350 |
msgstr ""
|
351 |
|
352 |
-
#: includes/admin/core/class-admin-forms.php:
|
353 |
msgid "Select media"
|
354 |
msgstr ""
|
355 |
|
356 |
-
#: includes/admin/core/class-admin-forms.php:
|
357 |
msgid "Select"
|
358 |
msgstr ""
|
359 |
|
360 |
-
#: includes/admin/core/class-admin-forms.php:
|
361 |
msgid "Clear"
|
362 |
msgstr ""
|
363 |
|
364 |
-
#: includes/admin/core/class-admin-forms.php:
|
365 |
-
#: includes/admin/core/class-admin-forms.php:
|
366 |
#: includes/admin/templates/directory/sorting.php:23
|
367 |
msgid "Meta key"
|
368 |
msgstr ""
|
369 |
|
370 |
-
#: includes/admin/core/class-admin-forms.php:
|
371 |
-
#: includes/admin/core/class-admin-forms.php:
|
372 |
-
#: includes/admin/core/class-admin-metabox.php:
|
373 |
msgid "Label"
|
374 |
msgstr ""
|
375 |
|
@@ -527,955 +527,955 @@ msgstr ""
|
|
527 |
msgid "Upgrade's Manual Request"
|
528 |
msgstr ""
|
529 |
|
530 |
-
#: includes/admin/core/class-admin-metabox.php:
|
531 |
msgid "UM Content Restriction"
|
532 |
msgstr ""
|
533 |
|
534 |
-
#: includes/admin/core/class-admin-metabox.php:
|
535 |
-
#: includes/admin/core/class-admin-metabox.php:
|
536 |
#: includes/admin/templates/access/restrict_content.php:53
|
537 |
msgid "Restrict access to this content?"
|
538 |
msgstr ""
|
539 |
|
540 |
-
#: includes/admin/core/class-admin-metabox.php:
|
541 |
-
#: includes/admin/core/class-admin-metabox.php:
|
542 |
-
#: includes/admin/core/class-admin-metabox.php:
|
543 |
-
#: includes/admin/core/class-admin-metabox.php:
|
544 |
-
#: includes/admin/core/class-admin-metabox.php:
|
545 |
-
#: includes/admin/core/class-admin-metabox.php:
|
546 |
#: includes/admin/templates/access/restrict_content.php:54
|
547 |
#: includes/admin/templates/access/restrict_content.php:61
|
548 |
#: includes/admin/templates/access/restrict_content.php:74
|
549 |
msgid "Activate content restriction for this post"
|
550 |
msgstr ""
|
551 |
|
552 |
-
#: includes/admin/core/class-admin-metabox.php:
|
553 |
-
#: includes/admin/core/class-admin-metabox.php:
|
554 |
#: includes/admin/templates/access/restrict_content.php:60
|
555 |
msgid "Who can access this content?"
|
556 |
msgstr ""
|
557 |
|
558 |
-
#: includes/admin/core/class-admin-metabox.php:
|
559 |
-
#: includes/admin/core/class-admin-metabox.php:
|
560 |
-
#: includes/admin/core/class-admin-metabox.php:
|
561 |
#: includes/admin/core/class-admin-navmenu.php:141
|
562 |
#: includes/admin/templates/access/restrict_content.php:64
|
563 |
-
#: includes/core/class-builtin.php:
|
564 |
msgid "Everyone"
|
565 |
msgstr ""
|
566 |
|
567 |
-
#: includes/admin/core/class-admin-metabox.php:
|
568 |
-
#: includes/admin/core/class-admin-metabox.php:
|
569 |
#: includes/admin/templates/access/restrict_content.php:65
|
570 |
msgid "Logged out users"
|
571 |
msgstr ""
|
572 |
|
573 |
-
#: includes/admin/core/class-admin-metabox.php:
|
574 |
-
#: includes/admin/core/class-admin-metabox.php:
|
575 |
#: includes/admin/templates/access/restrict_content.php:66
|
576 |
msgid "Logged in users"
|
577 |
msgstr ""
|
578 |
|
579 |
-
#: includes/admin/core/class-admin-metabox.php:
|
580 |
-
#: includes/admin/core/class-admin-metabox.php:
|
581 |
#: includes/admin/templates/access/restrict_content.php:73
|
582 |
msgid "Select which roles can access this content"
|
583 |
msgstr ""
|
584 |
|
585 |
-
#: includes/admin/core/class-admin-metabox.php:
|
586 |
-
#: includes/admin/core/class-admin-metabox.php:
|
587 |
#: includes/admin/templates/access/restrict_content.php:83
|
588 |
msgid "What happens when users without access tries to view the content?"
|
589 |
msgstr ""
|
590 |
|
591 |
-
#: includes/admin/core/class-admin-metabox.php:
|
592 |
-
#: includes/admin/core/class-admin-metabox.php:
|
593 |
-
#: includes/admin/core/class-admin-metabox.php:
|
594 |
-
#: includes/admin/core/class-admin-metabox.php:
|
595 |
#: includes/admin/templates/access/restrict_content.php:84
|
596 |
#: includes/admin/templates/access/restrict_content.php:96
|
597 |
msgid "Action when users without access tries to view the content"
|
598 |
msgstr ""
|
599 |
|
600 |
-
#: includes/admin/core/class-admin-metabox.php:
|
601 |
-
#: includes/admin/core/class-admin-metabox.php:
|
602 |
#: includes/admin/templates/access/restrict_content.php:87
|
603 |
msgid "Show access restricted message"
|
604 |
msgstr ""
|
605 |
|
606 |
-
#: includes/admin/core/class-admin-metabox.php:
|
607 |
-
#: includes/admin/core/class-admin-metabox.php:
|
608 |
#: includes/admin/templates/access/restrict_content.php:88
|
609 |
msgid "Redirect user"
|
610 |
msgstr ""
|
611 |
|
612 |
-
#: includes/admin/core/class-admin-metabox.php:
|
613 |
-
#: includes/admin/core/class-admin-metabox.php:
|
614 |
#: includes/admin/templates/access/restrict_content.php:95
|
615 |
msgid ""
|
616 |
"Would you like to use the global default message or apply a custom message "
|
617 |
"to this content?"
|
618 |
msgstr ""
|
619 |
|
620 |
-
#: includes/admin/core/class-admin-metabox.php:
|
621 |
-
#: includes/admin/core/class-admin-metabox.php:
|
622 |
#: includes/admin/templates/access/restrict_content.php:99
|
623 |
msgid "Global default message (default)"
|
624 |
msgstr ""
|
625 |
|
626 |
-
#: includes/admin/core/class-admin-metabox.php:
|
627 |
-
#: includes/admin/core/class-admin-metabox.php:
|
628 |
#: includes/admin/templates/access/restrict_content.php:100
|
629 |
msgid "Custom message"
|
630 |
msgstr ""
|
631 |
|
632 |
-
#: includes/admin/core/class-admin-metabox.php:
|
633 |
-
#: includes/admin/core/class-admin-metabox.php:
|
634 |
#: includes/admin/templates/access/restrict_content.php:107
|
635 |
msgid "Custom Restrict Content message"
|
636 |
msgstr ""
|
637 |
|
638 |
-
#: includes/admin/core/class-admin-metabox.php:
|
639 |
-
#: includes/admin/core/class-admin-metabox.php:
|
640 |
-
#: includes/admin/core/class-admin-metabox.php:
|
641 |
-
#: includes/admin/core/class-admin-metabox.php:
|
642 |
#: includes/admin/templates/access/restrict_content.php:108
|
643 |
#: includes/admin/templates/access/restrict_content.php:128
|
644 |
msgid "Changed global restrict message"
|
645 |
msgstr ""
|
646 |
|
647 |
-
#: includes/admin/core/class-admin-metabox.php:
|
648 |
-
#: includes/admin/core/class-admin-metabox.php:
|
649 |
#: includes/admin/templates/access/restrict_content.php:115
|
650 |
msgid "Where should users be redirected to?"
|
651 |
msgstr ""
|
652 |
|
653 |
-
#: includes/admin/core/class-admin-metabox.php:
|
654 |
-
#: includes/admin/core/class-admin-metabox.php:
|
655 |
#: includes/admin/templates/access/restrict_content.php:116
|
656 |
msgid "Select redirect to page when user hasn't access to content"
|
657 |
msgstr ""
|
658 |
|
659 |
-
#: includes/admin/core/class-admin-metabox.php:
|
660 |
-
#: includes/admin/core/class-admin-metabox.php:
|
661 |
#: includes/admin/templates/access/restrict_content.php:120
|
662 |
msgid "Login page"
|
663 |
msgstr ""
|
664 |
|
665 |
-
#: includes/admin/core/class-admin-metabox.php:
|
666 |
-
#: includes/admin/core/class-admin-metabox.php:
|
667 |
#: includes/admin/templates/access/restrict_content.php:121
|
668 |
msgid "Custom URL"
|
669 |
msgstr ""
|
670 |
|
671 |
-
#: includes/admin/core/class-admin-metabox.php:
|
672 |
-
#: includes/admin/core/class-admin-metabox.php:
|
673 |
#: includes/admin/templates/access/restrict_content.php:127
|
674 |
msgid "Redirect URL"
|
675 |
msgstr ""
|
676 |
|
677 |
-
#: includes/admin/core/class-admin-metabox.php:
|
678 |
-
#: includes/admin/core/class-admin-metabox.php:
|
679 |
#: includes/admin/templates/access/restrict_content.php:135
|
680 |
msgid "Hide from queries"
|
681 |
msgstr ""
|
682 |
|
683 |
-
#: includes/admin/core/class-admin-metabox.php:
|
684 |
-
#: includes/admin/core/class-admin-metabox.php:
|
685 |
#: includes/admin/templates/access/restrict_content.php:136
|
686 |
msgid ""
|
687 |
"Hide this content from archives, RSS feeds etc for users who do not have "
|
688 |
"permission to view this content"
|
689 |
msgstr ""
|
690 |
|
691 |
-
#: includes/admin/core/class-admin-metabox.php:
|
692 |
msgid "General Options"
|
693 |
msgstr ""
|
694 |
|
695 |
-
#: includes/admin/core/class-admin-metabox.php:
|
696 |
msgid "Sorting"
|
697 |
msgstr ""
|
698 |
|
699 |
-
#: includes/admin/core/class-admin-metabox.php:
|
700 |
msgid "Profile Card"
|
701 |
msgstr ""
|
702 |
|
703 |
-
#: includes/admin/core/class-admin-metabox.php:
|
704 |
msgid "Search Options"
|
705 |
msgstr ""
|
706 |
|
707 |
-
#: includes/admin/core/class-admin-metabox.php:
|
708 |
msgid "Results & Pagination"
|
709 |
msgstr ""
|
710 |
|
711 |
-
#: includes/admin/core/class-admin-metabox.php:
|
712 |
msgid "Styling: General"
|
713 |
msgstr ""
|
714 |
|
715 |
-
#: includes/admin/core/class-admin-metabox.php:
|
716 |
msgid "Administrative Permissions"
|
717 |
msgstr ""
|
718 |
|
719 |
-
#: includes/admin/core/class-admin-metabox.php:
|
720 |
msgid "General Permissions"
|
721 |
msgstr ""
|
722 |
|
723 |
-
#: includes/admin/core/class-admin-metabox.php:
|
724 |
msgid "Profile Access"
|
725 |
msgstr ""
|
726 |
|
727 |
-
#: includes/admin/core/class-admin-metabox.php:
|
728 |
msgid "Homepage Options"
|
729 |
msgstr ""
|
730 |
|
731 |
-
#: includes/admin/core/class-admin-metabox.php:
|
732 |
msgid "Registration Options"
|
733 |
msgstr ""
|
734 |
|
735 |
-
#: includes/admin/core/class-admin-metabox.php:
|
736 |
msgid "Login Options"
|
737 |
msgstr ""
|
738 |
|
739 |
-
#: includes/admin/core/class-admin-metabox.php:
|
740 |
msgid "Logout Options"
|
741 |
msgstr ""
|
742 |
|
743 |
-
#: includes/admin/core/class-admin-metabox.php:
|
744 |
msgid "Delete Options"
|
745 |
msgstr ""
|
746 |
|
747 |
-
#: includes/admin/core/class-admin-metabox.php:
|
748 |
msgid "Publish"
|
749 |
msgstr ""
|
750 |
|
751 |
-
#: includes/admin/core/class-admin-metabox.php:
|
752 |
msgid "WP Capabilities"
|
753 |
msgstr ""
|
754 |
|
755 |
-
#: includes/admin/core/class-admin-metabox.php:
|
756 |
msgid "Select Form Type"
|
757 |
msgstr ""
|
758 |
|
759 |
-
#: includes/admin/core/class-admin-metabox.php:
|
760 |
msgid "Form Builder"
|
761 |
msgstr ""
|
762 |
|
763 |
-
#: includes/admin/core/class-admin-metabox.php:
|
764 |
-
#: includes/admin/core/class-admin-metabox.php:
|
765 |
-
#: includes/admin/core/class-admin-metabox.php:
|
766 |
msgid "Customize this form"
|
767 |
msgstr ""
|
768 |
|
769 |
-
#: includes/admin/core/class-admin-metabox.php:
|
770 |
msgid "User Meta"
|
771 |
msgstr ""
|
772 |
|
773 |
-
#: includes/admin/core/class-admin-metabox.php:
|
774 |
msgid "Options"
|
775 |
msgstr ""
|
776 |
|
777 |
-
#: includes/admin/core/class-admin-metabox.php:
|
778 |
msgid "Visibility"
|
779 |
msgstr ""
|
780 |
|
781 |
-
#: includes/admin/core/class-admin-metabox.php:
|
782 |
msgid ""
|
783 |
"Select where this field should appear. This option should only be changed on "
|
784 |
"the profile form and allows you to show a field in one mode only (edit or "
|
785 |
"view) or in both modes."
|
786 |
msgstr ""
|
787 |
|
788 |
-
#: includes/admin/core/class-admin-metabox.php:
|
789 |
msgid "View everywhere"
|
790 |
msgstr ""
|
791 |
|
792 |
-
#: includes/admin/core/class-admin-metabox.php:
|
793 |
msgid "Edit mode only"
|
794 |
msgstr ""
|
795 |
|
796 |
-
#: includes/admin/core/class-admin-metabox.php:
|
797 |
msgid "View mode only"
|
798 |
msgstr ""
|
799 |
|
800 |
-
#: includes/admin/core/class-admin-metabox.php:
|
801 |
msgid "If"
|
802 |
msgstr ""
|
803 |
|
804 |
-
#: includes/admin/core/class-admin-metabox.php:
|
805 |
msgid "Value"
|
806 |
msgstr ""
|
807 |
|
808 |
-
#: includes/admin/core/class-admin-metabox.php:
|
809 |
msgid "Validate"
|
810 |
msgstr ""
|
811 |
|
812 |
-
#: includes/admin/core/class-admin-metabox.php:
|
813 |
msgid "Does this field require a special validation"
|
814 |
msgstr ""
|
815 |
|
816 |
-
#: includes/admin/core/class-admin-metabox.php:
|
817 |
msgid "Select a validation type..."
|
818 |
msgstr ""
|
819 |
|
820 |
-
#: includes/admin/core/class-admin-metabox.php:
|
821 |
msgid "Custom Action"
|
822 |
msgstr ""
|
823 |
|
824 |
-
#: includes/admin/core/class-admin-metabox.php:
|
825 |
msgid ""
|
826 |
"If you want to apply your custom validation, you can use action hooks to add "
|
827 |
"custom validation. Please refer to documentation for further details."
|
828 |
msgstr ""
|
829 |
|
830 |
-
#: includes/admin/core/class-admin-metabox.php:
|
831 |
-
#: includes/admin/core/class-admin-metabox.php:
|
832 |
msgid "Icon"
|
833 |
msgstr ""
|
834 |
|
835 |
-
#: includes/admin/core/class-admin-metabox.php:
|
836 |
-
#: includes/admin/core/class-admin-metabox.php:
|
837 |
msgid ""
|
838 |
"Select an icon to appear in the field. Leave blank if you do not want an "
|
839 |
"icon to show in the field."
|
840 |
msgstr ""
|
841 |
|
842 |
-
#: includes/admin/core/class-admin-metabox.php:
|
843 |
msgid "CSS Class"
|
844 |
msgstr ""
|
845 |
|
846 |
-
#: includes/admin/core/class-admin-metabox.php:
|
847 |
msgid "Specify a custom CSS class to be applied to this element"
|
848 |
msgstr ""
|
849 |
|
850 |
-
#: includes/admin/core/class-admin-metabox.php:
|
851 |
msgid "Thickness (in pixels)"
|
852 |
msgstr ""
|
853 |
|
854 |
-
#: includes/admin/core/class-admin-metabox.php:
|
855 |
msgid "This is the width in pixels, e.g. 4 or 2, etc"
|
856 |
msgstr ""
|
857 |
|
858 |
-
#: includes/admin/core/class-admin-metabox.php:
|
859 |
msgid "Optional Text"
|
860 |
msgstr ""
|
861 |
|
862 |
-
#: includes/admin/core/class-admin-metabox.php:
|
863 |
msgid "Optional text to include with the divider"
|
864 |
msgstr ""
|
865 |
|
866 |
-
#: includes/admin/core/class-admin-metabox.php:
|
867 |
msgid "Padding"
|
868 |
msgstr ""
|
869 |
|
870 |
-
#: includes/admin/core/class-admin-metabox.php:
|
871 |
msgid "Set padding for this section"
|
872 |
msgstr ""
|
873 |
|
874 |
-
#: includes/admin/core/class-admin-metabox.php:
|
875 |
msgid "Margin"
|
876 |
msgstr ""
|
877 |
|
878 |
-
#: includes/admin/core/class-admin-metabox.php:
|
879 |
msgid "Set margin for this section"
|
880 |
msgstr ""
|
881 |
|
882 |
-
#: includes/admin/core/class-admin-metabox.php:
|
883 |
msgid "Border"
|
884 |
msgstr ""
|
885 |
|
886 |
-
#: includes/admin/core/class-admin-metabox.php:
|
887 |
msgid "Set border for this section"
|
888 |
msgstr ""
|
889 |
|
890 |
-
#: includes/admin/core/class-admin-metabox.php:
|
891 |
-
#: includes/admin/core/class-admin-metabox.php:
|
892 |
msgid "Style"
|
893 |
msgstr ""
|
894 |
|
895 |
-
#: includes/admin/core/class-admin-metabox.php:
|
896 |
msgid "Choose the border style"
|
897 |
msgstr ""
|
898 |
|
899 |
-
#: includes/admin/core/class-admin-metabox.php:
|
900 |
-
#: includes/admin/core/class-admin-metabox.php:
|
901 |
msgid "Solid"
|
902 |
msgstr ""
|
903 |
|
904 |
-
#: includes/admin/core/class-admin-metabox.php:
|
905 |
-
#: includes/admin/core/class-admin-metabox.php:
|
906 |
msgid "Dotted"
|
907 |
msgstr ""
|
908 |
|
909 |
-
#: includes/admin/core/class-admin-metabox.php:
|
910 |
-
#: includes/admin/core/class-admin-metabox.php:
|
911 |
msgid "Dashed"
|
912 |
msgstr ""
|
913 |
|
914 |
-
#: includes/admin/core/class-admin-metabox.php:
|
915 |
-
#: includes/admin/core/class-admin-metabox.php:
|
916 |
msgid "Double"
|
917 |
msgstr ""
|
918 |
|
919 |
-
#: includes/admin/core/class-admin-metabox.php:
|
920 |
msgid "Border Radius"
|
921 |
msgstr ""
|
922 |
|
923 |
-
#: includes/admin/core/class-admin-metabox.php:
|
924 |
msgid "Rounded corners can be applied by setting a pixels value here. e.g. 5px"
|
925 |
msgstr ""
|
926 |
|
927 |
-
#: includes/admin/core/class-admin-metabox.php:
|
928 |
msgid "Border Color"
|
929 |
msgstr ""
|
930 |
|
931 |
-
#: includes/admin/core/class-admin-metabox.php:
|
932 |
msgid "Give a color to this border"
|
933 |
msgstr ""
|
934 |
|
935 |
-
#: includes/admin/core/class-admin-metabox.php:
|
936 |
msgid "Enable Row Heading"
|
937 |
msgstr ""
|
938 |
|
939 |
-
#: includes/admin/core/class-admin-metabox.php:
|
940 |
msgid "Whether to enable a heading for this row"
|
941 |
msgstr ""
|
942 |
|
943 |
-
#: includes/admin/core/class-admin-metabox.php:
|
944 |
msgid "Heading Text"
|
945 |
msgstr ""
|
946 |
|
947 |
-
#: includes/admin/core/class-admin-metabox.php:
|
948 |
msgid "Enter the row heading text here"
|
949 |
msgstr ""
|
950 |
|
951 |
-
#: includes/admin/core/class-admin-metabox.php:
|
952 |
msgid "Background Color"
|
953 |
msgstr ""
|
954 |
|
955 |
-
#: includes/admin/core/class-admin-metabox.php:
|
956 |
msgid "This will be the background of entire section"
|
957 |
msgstr ""
|
958 |
|
959 |
-
#: includes/admin/core/class-admin-metabox.php:
|
960 |
msgid "Heading Background Color"
|
961 |
msgstr ""
|
962 |
|
963 |
-
#: includes/admin/core/class-admin-metabox.php:
|
964 |
msgid "This will be the background of the heading section"
|
965 |
msgstr ""
|
966 |
|
967 |
-
#: includes/admin/core/class-admin-metabox.php:
|
968 |
msgid "Heading Text Color"
|
969 |
msgstr ""
|
970 |
|
971 |
-
#: includes/admin/core/class-admin-metabox.php:
|
972 |
msgid "This will be the text color of heading part only"
|
973 |
msgstr ""
|
974 |
|
975 |
-
#: includes/admin/core/class-admin-metabox.php:
|
976 |
msgid "Text Color"
|
977 |
msgstr ""
|
978 |
|
979 |
-
#: includes/admin/core/class-admin-metabox.php:
|
980 |
msgid "This will be the text color of entire section"
|
981 |
msgstr ""
|
982 |
|
983 |
-
#: includes/admin/core/class-admin-metabox.php:
|
984 |
msgid "Icon Color"
|
985 |
msgstr ""
|
986 |
|
987 |
-
#: includes/admin/core/class-admin-metabox.php:
|
988 |
msgid ""
|
989 |
"This will be the color of selected icon. By default It will be the same "
|
990 |
"color as heading text color"
|
991 |
msgstr ""
|
992 |
|
993 |
-
#: includes/admin/core/class-admin-metabox.php:
|
994 |
msgid "Color"
|
995 |
msgstr ""
|
996 |
|
997 |
-
#: includes/admin/core/class-admin-metabox.php:
|
998 |
msgid "Select a color for this divider"
|
999 |
msgstr ""
|
1000 |
|
1001 |
-
#: includes/admin/core/class-admin-metabox.php:
|
1002 |
msgid "URL Alt Text"
|
1003 |
msgstr ""
|
1004 |
|
1005 |
-
#: includes/admin/core/class-admin-metabox.php:
|
1006 |
msgid "Entering custom text here will replace the url with a text link"
|
1007 |
msgstr ""
|
1008 |
|
1009 |
-
#: includes/admin/core/class-admin-metabox.php:
|
1010 |
msgid "Link Target"
|
1011 |
msgstr ""
|
1012 |
|
1013 |
-
#: includes/admin/core/class-admin-metabox.php:
|
1014 |
msgid "Choose whether to open this link in same window or in a new window"
|
1015 |
msgstr ""
|
1016 |
|
1017 |
-
#: includes/admin/core/class-admin-metabox.php:
|
1018 |
msgid "Open in new window"
|
1019 |
msgstr ""
|
1020 |
|
1021 |
-
#: includes/admin/core/class-admin-metabox.php:
|
1022 |
msgid "Same window"
|
1023 |
msgstr ""
|
1024 |
|
1025 |
-
#: includes/admin/core/class-admin-metabox.php:
|
1026 |
msgid "SEO Follow"
|
1027 |
msgstr ""
|
1028 |
|
1029 |
-
#: includes/admin/core/class-admin-metabox.php:
|
1030 |
msgid "Whether to follow or nofollow this link by search engines"
|
1031 |
msgstr ""
|
1032 |
|
1033 |
-
#: includes/admin/core/class-admin-metabox.php:
|
1034 |
msgid "Follow"
|
1035 |
msgstr ""
|
1036 |
|
1037 |
-
#: includes/admin/core/class-admin-metabox.php:
|
1038 |
msgid "No-Follow"
|
1039 |
msgstr ""
|
1040 |
|
1041 |
-
#: includes/admin/core/class-admin-metabox.php:
|
1042 |
msgid "Force strong password?"
|
1043 |
msgstr ""
|
1044 |
|
1045 |
-
#: includes/admin/core/class-admin-metabox.php:
|
1046 |
msgid ""
|
1047 |
"Turn on to force users to create a strong password (A combination of one "
|
1048 |
"lowercase letter, one uppercase letter, and one number). If turned on this "
|
1049 |
"option is only applied to register forms and not to login forms."
|
1050 |
msgstr ""
|
1051 |
|
1052 |
-
#: includes/admin/core/class-admin-metabox.php:
|
1053 |
msgid "Automatically add a confirm password field?"
|
1054 |
msgstr ""
|
1055 |
|
1056 |
-
#: includes/admin/core/class-admin-metabox.php:
|
1057 |
msgid ""
|
1058 |
"Turn on to add a confirm password field. If turned on the confirm password "
|
1059 |
"field will only show on register forms and not on login forms."
|
1060 |
msgstr ""
|
1061 |
|
1062 |
-
#: includes/admin/core/class-admin-metabox.php:
|
1063 |
msgid "This is the line-style of divider"
|
1064 |
msgstr ""
|
1065 |
|
1066 |
-
#: includes/admin/core/class-admin-metabox.php:
|
1067 |
msgid "Time Intervals (in minutes)"
|
1068 |
msgstr ""
|
1069 |
|
1070 |
-
#: includes/admin/core/class-admin-metabox.php:
|
1071 |
msgid "Choose the minutes interval between each time in the time picker."
|
1072 |
msgstr ""
|
1073 |
|
1074 |
-
#: includes/admin/core/class-admin-metabox.php:
|
1075 |
msgid "e.g. 30, 60, 120"
|
1076 |
msgstr ""
|
1077 |
|
1078 |
-
#: includes/admin/core/class-admin-metabox.php:
|
1079 |
msgid "Date User-Friendly Format"
|
1080 |
msgstr ""
|
1081 |
|
1082 |
-
#: includes/admin/core/class-admin-metabox.php:
|
1083 |
msgid "The display format of the date which is visible to user."
|
1084 |
msgstr ""
|
1085 |
|
1086 |
-
#: includes/admin/core/class-admin-metabox.php:
|
1087 |
msgid "Time Format"
|
1088 |
msgstr ""
|
1089 |
|
1090 |
-
#: includes/admin/core/class-admin-metabox.php:
|
1091 |
msgid "Choose the displayed time-format for this field"
|
1092 |
msgstr ""
|
1093 |
|
1094 |
-
#: includes/admin/core/class-admin-metabox.php:
|
1095 |
-
#: includes/admin/core/class-admin-metabox.php:
|
1096 |
msgid "( 12-hr format )"
|
1097 |
msgstr ""
|
1098 |
|
1099 |
-
#: includes/admin/core/class-admin-metabox.php:
|
1100 |
msgid "( 24-hr format )"
|
1101 |
msgstr ""
|
1102 |
|
1103 |
-
#: includes/admin/core/class-admin-metabox.php:
|
1104 |
msgid "Use custom Date format"
|
1105 |
msgstr ""
|
1106 |
|
1107 |
-
#: includes/admin/core/class-admin-metabox.php:
|
1108 |
msgid ""
|
1109 |
"This option overrides \"Date User-Friendly Format\" option. See https://www."
|
1110 |
"php.net/manual/en/function.date.php"
|
1111 |
msgstr ""
|
1112 |
|
1113 |
-
#: includes/admin/core/class-admin-metabox.php:
|
1114 |
msgid "Displayed Date Format"
|
1115 |
msgstr ""
|
1116 |
|
1117 |
-
#: includes/admin/core/class-admin-metabox.php:
|
1118 |
msgid ""
|
1119 |
"Whether you wish to show the date in full or only show the years e.g. 25 "
|
1120 |
"Years"
|
1121 |
msgstr ""
|
1122 |
|
1123 |
-
#: includes/admin/core/class-admin-metabox.php:
|
1124 |
msgid "Show full date"
|
1125 |
msgstr ""
|
1126 |
|
1127 |
-
#: includes/admin/core/class-admin-metabox.php:
|
1128 |
msgid "Show years only"
|
1129 |
msgstr ""
|
1130 |
|
1131 |
-
#: includes/admin/core/class-admin-metabox.php:
|
1132 |
msgid "Disable specific weekdays"
|
1133 |
msgstr ""
|
1134 |
|
1135 |
-
#: includes/admin/core/class-admin-metabox.php:
|
1136 |
msgid ""
|
1137 |
"Disable specific week days from being available for selection in this date "
|
1138 |
"picker"
|
1139 |
msgstr ""
|
1140 |
|
1141 |
-
#: includes/admin/core/class-admin-metabox.php:
|
1142 |
msgid "Sunday"
|
1143 |
msgstr ""
|
1144 |
|
1145 |
-
#: includes/admin/core/class-admin-metabox.php:
|
1146 |
msgid "Monday"
|
1147 |
msgstr ""
|
1148 |
|
1149 |
-
#: includes/admin/core/class-admin-metabox.php:
|
1150 |
msgid "Tuesday"
|
1151 |
msgstr ""
|
1152 |
|
1153 |
-
#: includes/admin/core/class-admin-metabox.php:
|
1154 |
msgid "Wednesday"
|
1155 |
msgstr ""
|
1156 |
|
1157 |
-
#: includes/admin/core/class-admin-metabox.php:
|
1158 |
msgid "Thursday"
|
1159 |
msgstr ""
|
1160 |
|
1161 |
-
#: includes/admin/core/class-admin-metabox.php:
|
1162 |
msgid "Friday"
|
1163 |
msgstr ""
|
1164 |
|
1165 |
-
#: includes/admin/core/class-admin-metabox.php:
|
1166 |
msgid "Saturday"
|
1167 |
msgstr ""
|
1168 |
|
1169 |
-
#: includes/admin/core/class-admin-metabox.php:
|
1170 |
msgid "Number of Years to pick from"
|
1171 |
msgstr ""
|
1172 |
|
1173 |
-
#: includes/admin/core/class-admin-metabox.php:
|
1174 |
msgid ""
|
1175 |
"Number of years available for the date selection. Default to last 50 years"
|
1176 |
msgstr ""
|
1177 |
|
1178 |
-
#: includes/admin/core/class-admin-metabox.php:
|
1179 |
msgid "Years Selection"
|
1180 |
msgstr ""
|
1181 |
|
1182 |
-
#: includes/admin/core/class-admin-metabox.php:
|
1183 |
msgid "This decides which years should be shown relative to today date"
|
1184 |
msgstr ""
|
1185 |
|
1186 |
-
#: includes/admin/core/class-admin-metabox.php:
|
1187 |
msgid "Equal years before / after today"
|
1188 |
msgstr ""
|
1189 |
|
1190 |
-
#: includes/admin/core/class-admin-metabox.php:
|
1191 |
msgid "Past years only"
|
1192 |
msgstr ""
|
1193 |
|
1194 |
-
#: includes/admin/core/class-admin-metabox.php:
|
1195 |
msgid "Future years only"
|
1196 |
msgstr ""
|
1197 |
|
1198 |
-
#: includes/admin/core/class-admin-metabox.php:
|
1199 |
msgid "Date Range Start"
|
1200 |
msgstr ""
|
1201 |
|
1202 |
-
#: includes/admin/core/class-admin-metabox.php:
|
1203 |
msgid "Set the minimum date/day in range in the format YYYY/MM/DD"
|
1204 |
msgstr ""
|
1205 |
|
1206 |
-
#: includes/admin/core/class-admin-metabox.php:
|
1207 |
-
#: includes/admin/core/class-admin-metabox.php:
|
1208 |
msgid "YYYY/MM/DD"
|
1209 |
msgstr ""
|
1210 |
|
1211 |
-
#: includes/admin/core/class-admin-metabox.php:
|
1212 |
msgid "Date Range End"
|
1213 |
msgstr ""
|
1214 |
|
1215 |
-
#: includes/admin/core/class-admin-metabox.php:
|
1216 |
msgid "Set the maximum date/day in range in the format YYYY/MM/DD"
|
1217 |
msgstr ""
|
1218 |
|
1219 |
-
#: includes/admin/core/class-admin-metabox.php:
|
1220 |
msgid "Set Date Range"
|
1221 |
msgstr ""
|
1222 |
|
1223 |
-
#: includes/admin/core/class-admin-metabox.php:
|
1224 |
msgid ""
|
1225 |
"Whether to show a specific number of years or specify a date range to be "
|
1226 |
"available for the date picker."
|
1227 |
msgstr ""
|
1228 |
|
1229 |
-
#: includes/admin/core/class-admin-metabox.php:
|
1230 |
msgid "Fixed Number of Years"
|
1231 |
msgstr ""
|
1232 |
|
1233 |
-
#: includes/admin/core/class-admin-metabox.php:
|
1234 |
msgid "Specific Date Range"
|
1235 |
msgstr ""
|
1236 |
|
1237 |
-
#: includes/admin/core/class-admin-metabox.php:
|
1238 |
msgid "Enter Shortcode"
|
1239 |
msgstr ""
|
1240 |
|
1241 |
-
#: includes/admin/core/class-admin-metabox.php:
|
1242 |
msgid ""
|
1243 |
"Enter the shortcode in the following textarea and it will be displayed on "
|
1244 |
"the fields"
|
1245 |
msgstr ""
|
1246 |
|
1247 |
-
#: includes/admin/core/class-admin-metabox.php:
|
1248 |
msgid "e.g. [my_custom_shortcode]"
|
1249 |
msgstr ""
|
1250 |
|
1251 |
-
#: includes/admin/core/class-admin-metabox.php:
|
1252 |
msgid "Content Editor"
|
1253 |
msgstr ""
|
1254 |
|
1255 |
-
#: includes/admin/core/class-admin-metabox.php:
|
1256 |
msgid "Edit the content of this field here"
|
1257 |
msgstr ""
|
1258 |
|
1259 |
-
#: includes/admin/core/class-admin-metabox.php:
|
1260 |
msgid "Crop Feature"
|
1261 |
msgstr ""
|
1262 |
|
1263 |
-
#: includes/admin/core/class-admin-metabox.php:
|
1264 |
msgid "Enable/disable crop feature for this image upload and define ratio"
|
1265 |
msgstr ""
|
1266 |
|
1267 |
-
#: includes/admin/core/class-admin-metabox.php:
|
1268 |
msgid "Turn Off (Default)"
|
1269 |
msgstr ""
|
1270 |
|
1271 |
-
#: includes/admin/core/class-admin-metabox.php:
|
1272 |
msgid "Crop and force 1:1 ratio"
|
1273 |
msgstr ""
|
1274 |
|
1275 |
-
#: includes/admin/core/class-admin-metabox.php:
|
1276 |
msgid "Crop and force user-defined ratio"
|
1277 |
msgstr ""
|
1278 |
|
1279 |
-
#: includes/admin/core/class-admin-metabox.php:
|
1280 |
msgid "Allowed Image Types"
|
1281 |
msgstr ""
|
1282 |
|
1283 |
-
#: includes/admin/core/class-admin-metabox.php:
|
1284 |
-
#: includes/admin/core/class-admin-metabox.php:
|
1285 |
msgid ""
|
1286 |
"Select the image types that you want to allow to be uploaded via this field."
|
1287 |
msgstr ""
|
1288 |
|
1289 |
-
#: includes/admin/core/class-admin-metabox.php:
|
1290 |
msgid "Allowed File Types"
|
1291 |
msgstr ""
|
1292 |
|
1293 |
-
#: includes/admin/core/class-admin-metabox.php:
|
1294 |
msgid "Drag & Drop Photo"
|
1295 |
msgstr ""
|
1296 |
|
1297 |
-
#: includes/admin/core/class-admin-metabox.php:
|
1298 |
msgid "Drag & Drop File"
|
1299 |
msgstr ""
|
1300 |
|
1301 |
-
#: includes/admin/core/class-admin-metabox.php:
|
1302 |
-
#: includes/admin/core/class-admin-metabox.php:
|
1303 |
msgid "Upload Box Text"
|
1304 |
msgstr ""
|
1305 |
|
1306 |
-
#: includes/admin/core/class-admin-metabox.php:
|
1307 |
msgid "This is the headline that appears in the upload box for this field"
|
1308 |
msgstr ""
|
1309 |
|
1310 |
-
#: includes/admin/core/class-admin-metabox.php:
|
1311 |
msgid "Additional Instructions Text"
|
1312 |
msgstr ""
|
1313 |
|
1314 |
-
#: includes/admin/core/class-admin-metabox.php:
|
1315 |
msgid ""
|
1316 |
"If you need to add information or secondary line below the headline of "
|
1317 |
"upload box, enter it here"
|
1318 |
msgstr ""
|
1319 |
|
1320 |
-
#: includes/admin/core/class-admin-metabox.php:
|
1321 |
msgid "The text that appears on the button. e.g. Upload"
|
1322 |
msgstr ""
|
1323 |
|
1324 |
-
#: includes/admin/core/class-admin-metabox.php:
|
1325 |
-
#: includes/core/class-fields.php:
|
1326 |
-
#: includes/core/class-fields.php:
|
1327 |
msgid "Upload"
|
1328 |
msgstr ""
|
1329 |
|
1330 |
-
#: includes/admin/core/class-admin-metabox.php:
|
1331 |
msgid "Maximum Size in bytes"
|
1332 |
msgstr ""
|
1333 |
|
1334 |
-
#: includes/admin/core/class-admin-metabox.php:
|
1335 |
msgid ""
|
1336 |
"The maximum size for image that can be uploaded through this field. Leave "
|
1337 |
"empty for unlimited size."
|
1338 |
msgstr ""
|
1339 |
|
1340 |
-
#: includes/admin/core/class-admin-metabox.php:
|
1341 |
msgid "Textarea Height"
|
1342 |
msgstr ""
|
1343 |
|
1344 |
-
#: includes/admin/core/class-admin-metabox.php:
|
1345 |
msgid "The height of textarea in pixels. Default is 100 pixels"
|
1346 |
msgstr ""
|
1347 |
|
1348 |
-
#: includes/admin/core/class-admin-metabox.php:
|
1349 |
msgid "Spacing"
|
1350 |
msgstr ""
|
1351 |
|
1352 |
-
#: includes/admin/core/class-admin-metabox.php:
|
1353 |
msgid "This is the required spacing in pixels. e.g. 20px"
|
1354 |
msgstr ""
|
1355 |
|
1356 |
-
#: includes/admin/core/class-admin-metabox.php:
|
1357 |
msgid "Allow multiple selections"
|
1358 |
msgstr ""
|
1359 |
|
1360 |
-
#: includes/admin/core/class-admin-metabox.php:
|
1361 |
msgid "Enable/disable multiple selections for this field"
|
1362 |
msgstr ""
|
1363 |
|
1364 |
-
#: includes/admin/core/class-admin-metabox.php:
|
1365 |
msgid "Maximum number of selections"
|
1366 |
msgstr ""
|
1367 |
|
1368 |
-
#: includes/admin/core/class-admin-metabox.php:
|
1369 |
msgid ""
|
1370 |
"Enter a number here to force a maximum number of selections by user for this "
|
1371 |
"field"
|
1372 |
msgstr ""
|
1373 |
|
1374 |
-
#: includes/admin/core/class-admin-metabox.php:
|
1375 |
msgid "Minimum number of selections"
|
1376 |
msgstr ""
|
1377 |
|
1378 |
-
#: includes/admin/core/class-admin-metabox.php:
|
1379 |
msgid ""
|
1380 |
"Enter a number here to force a minimum number of selections by user for this "
|
1381 |
"field"
|
1382 |
msgstr ""
|
1383 |
|
1384 |
-
#: includes/admin/core/class-admin-metabox.php:
|
1385 |
msgid "Maximum number of entries"
|
1386 |
msgstr ""
|
1387 |
|
1388 |
-
#: includes/admin/core/class-admin-metabox.php:
|
1389 |
msgid "This is the max number of entries the user can add via field group."
|
1390 |
msgstr ""
|
1391 |
|
1392 |
-
#: includes/admin/core/class-admin-metabox.php:
|
1393 |
msgid "Maximum allowed words"
|
1394 |
msgstr ""
|
1395 |
|
1396 |
-
#: includes/admin/core/class-admin-metabox.php:
|
1397 |
msgid ""
|
1398 |
"If you want to enable a maximum number of words to be input in this "
|
1399 |
"textarea. Leave empty to disable this setting"
|
1400 |
msgstr ""
|
1401 |
|
1402 |
-
#: includes/admin/core/class-admin-metabox.php:
|
1403 |
msgid "Minimum Number"
|
1404 |
msgstr ""
|
1405 |
|
1406 |
-
#: includes/admin/core/class-admin-metabox.php:
|
1407 |
msgid "Minimum number that can be entered in this field"
|
1408 |
msgstr ""
|
1409 |
|
1410 |
-
#: includes/admin/core/class-admin-metabox.php:
|
1411 |
msgid "Maximum Number"
|
1412 |
msgstr ""
|
1413 |
|
1414 |
-
#: includes/admin/core/class-admin-metabox.php:
|
1415 |
msgid "Maximum number that can be entered in this field"
|
1416 |
msgstr ""
|
1417 |
|
1418 |
-
#: includes/admin/core/class-admin-metabox.php:
|
1419 |
msgid "Minimum length"
|
1420 |
msgstr ""
|
1421 |
|
1422 |
-
#: includes/admin/core/class-admin-metabox.php:
|
1423 |
msgid ""
|
1424 |
"If you want to enable a minimum number of characters to be input in this "
|
1425 |
"field. Leave empty to disable this setting"
|
1426 |
msgstr ""
|
1427 |
|
1428 |
-
#: includes/admin/core/class-admin-metabox.php:
|
1429 |
msgid "Maximum length"
|
1430 |
msgstr ""
|
1431 |
|
1432 |
-
#: includes/admin/core/class-admin-metabox.php:
|
1433 |
msgid ""
|
1434 |
"If you want to enable a maximum number of characters to be input in this "
|
1435 |
"field. Leave empty to disable this setting"
|
1436 |
msgstr ""
|
1437 |
|
1438 |
-
#: includes/admin/core/class-admin-metabox.php:
|
1439 |
msgid "Does this textarea accept HTML?"
|
1440 |
msgstr ""
|
1441 |
|
1442 |
-
#: includes/admin/core/class-admin-metabox.php:
|
1443 |
msgid "Turn on/off HTML tags for this textarea"
|
1444 |
msgstr ""
|
1445 |
|
1446 |
-
#: includes/admin/core/class-admin-metabox.php:
|
1447 |
msgid "Edit Choices"
|
1448 |
msgstr ""
|
1449 |
|
1450 |
-
#: includes/admin/core/class-admin-metabox.php:
|
1451 |
msgid ""
|
1452 |
"Enter one choice per line. This will represent the available choices or "
|
1453 |
"selections available for user."
|
1454 |
msgstr ""
|
1455 |
|
1456 |
-
#: includes/admin/core/class-admin-metabox.php:
|
1457 |
msgid ""
|
1458 |
"This is the title of the field for your reference in the backend. The title "
|
1459 |
"will not appear on the front-end of your website."
|
1460 |
msgstr ""
|
1461 |
|
1462 |
-
#: includes/admin/core/class-admin-metabox.php:
|
1463 |
msgid "Unique ID"
|
1464 |
msgstr ""
|
1465 |
|
1466 |
-
#: includes/admin/core/class-admin-metabox.php:
|
1467 |
-
#: includes/admin/core/class-admin-metabox.php:
|
1468 |
msgid "Meta Key"
|
1469 |
msgstr ""
|
1470 |
|
1471 |
-
#: includes/admin/core/class-admin-metabox.php:
|
1472 |
msgid ""
|
1473 |
"The meta key cannot be changed for duplicated fields or when editing an "
|
1474 |
"existing field. If you require a different meta key please create a new "
|
1475 |
"field."
|
1476 |
msgstr ""
|
1477 |
|
1478 |
-
#: includes/admin/core/class-admin-metabox.php:
|
1479 |
msgid ""
|
1480 |
"A meta key is required to store the entered info in this field in the "
|
1481 |
"database. The meta key should be unique to this field and be written in "
|
@@ -1483,11 +1483,11 @@ msgid ""
|
|
1483 |
"job_title"
|
1484 |
msgstr ""
|
1485 |
|
1486 |
-
#: includes/admin/core/class-admin-metabox.php:
|
1487 |
msgid "Help Text"
|
1488 |
msgstr ""
|
1489 |
|
1490 |
-
#: includes/admin/core/class-admin-metabox.php:
|
1491 |
msgid ""
|
1492 |
"This is the text that appears in a tooltip when a user hovers over the info "
|
1493 |
"icon. Help text is useful for providing users with more information about "
|
@@ -1495,149 +1495,149 @@ msgid ""
|
|
1495 |
"for field."
|
1496 |
msgstr ""
|
1497 |
|
1498 |
-
#: includes/admin/core/class-admin-metabox.php:
|
1499 |
msgid "Default Text"
|
1500 |
msgstr ""
|
1501 |
|
1502 |
-
#: includes/admin/core/class-admin-metabox.php:
|
1503 |
msgid "Text to display by default in this field"
|
1504 |
msgstr ""
|
1505 |
|
1506 |
-
#: includes/admin/core/class-admin-metabox.php:
|
1507 |
msgid "Default Date"
|
1508 |
msgstr ""
|
1509 |
|
1510 |
-
#: includes/admin/core/class-admin-metabox.php:
|
1511 |
-
#: includes/admin/core/class-admin-metabox.php:
|
1512 |
msgid ""
|
1513 |
"You may use all PHP compatible date formats such as: 2020-02-02, 02/02/2020, "
|
1514 |
"yesterday, today, tomorrow, next monday, first day of next month, +3 day"
|
1515 |
msgstr ""
|
1516 |
|
1517 |
-
#: includes/admin/core/class-admin-metabox.php:
|
1518 |
msgid "Default Time"
|
1519 |
msgstr ""
|
1520 |
|
1521 |
-
#: includes/admin/core/class-admin-metabox.php:
|
1522 |
msgid "Default Rating"
|
1523 |
msgstr ""
|
1524 |
|
1525 |
-
#: includes/admin/core/class-admin-metabox.php:
|
1526 |
msgid ""
|
1527 |
"If you wish the rating field to be prefilled with a number of stars, enter "
|
1528 |
"it here."
|
1529 |
msgstr ""
|
1530 |
|
1531 |
-
#: includes/admin/core/class-admin-metabox.php:
|
1532 |
msgid "Default Value"
|
1533 |
msgstr ""
|
1534 |
|
1535 |
-
#: includes/admin/core/class-admin-metabox.php:
|
1536 |
msgid ""
|
1537 |
"This option allows you to pre-fill the field with a default value prior to "
|
1538 |
"the user entering a value in the field. Leave blank to have no default value"
|
1539 |
msgstr ""
|
1540 |
|
1541 |
-
#: includes/admin/core/class-admin-metabox.php:
|
1542 |
msgid ""
|
1543 |
"The field label is the text that appears above the field on your front-end "
|
1544 |
"form. Leave blank to not show a label above field."
|
1545 |
msgstr ""
|
1546 |
|
1547 |
-
#: includes/admin/core/class-admin-metabox.php:
|
1548 |
msgid "Placeholder"
|
1549 |
msgstr ""
|
1550 |
|
1551 |
-
#: includes/admin/core/class-admin-metabox.php:
|
1552 |
msgid ""
|
1553 |
"This is the text that appears within the field e.g please enter your email "
|
1554 |
"address. Leave blank to not show any placeholder text."
|
1555 |
msgstr ""
|
1556 |
|
1557 |
-
#: includes/admin/core/class-admin-metabox.php:
|
1558 |
msgid ""
|
1559 |
"Field privacy allows you to select who can view this field on the front-end. "
|
1560 |
"The site admin can view all fields regardless of the option set here."
|
1561 |
msgstr ""
|
1562 |
|
1563 |
-
#: includes/admin/core/class-admin-metabox.php:
|
1564 |
#: includes/class-config.php:134 includes/class-config.php:791
|
1565 |
msgid "Members"
|
1566 |
msgstr ""
|
1567 |
|
1568 |
-
#: includes/admin/core/class-admin-metabox.php:
|
1569 |
msgid "Only visible to profile owner and admins"
|
1570 |
msgstr ""
|
1571 |
|
1572 |
-
#: includes/admin/core/class-admin-metabox.php:
|
1573 |
msgid "Only visible to profile owner and specific roles"
|
1574 |
msgstr ""
|
1575 |
|
1576 |
-
#: includes/admin/core/class-admin-metabox.php:
|
1577 |
msgid "Only specific member roles"
|
1578 |
msgstr ""
|
1579 |
|
1580 |
-
#: includes/admin/core/class-admin-metabox.php:
|
1581 |
msgid "Select member roles"
|
1582 |
msgstr ""
|
1583 |
|
1584 |
-
#: includes/admin/core/class-admin-metabox.php:
|
1585 |
msgid "Select the member roles that can view this field on the front-end."
|
1586 |
msgstr ""
|
1587 |
|
1588 |
-
#: includes/admin/core/class-admin-metabox.php:
|
1589 |
msgid "Is this field required?"
|
1590 |
msgstr ""
|
1591 |
|
1592 |
-
#: includes/admin/core/class-admin-metabox.php:
|
1593 |
msgid ""
|
1594 |
"This option allows you to set whether the field must be filled in before the "
|
1595 |
"form can be processed."
|
1596 |
msgstr ""
|
1597 |
|
1598 |
-
#: includes/admin/core/class-admin-metabox.php:
|
1599 |
msgid "Can user edit this field?"
|
1600 |
msgstr ""
|
1601 |
|
1602 |
-
#: includes/admin/core/class-admin-metabox.php:
|
1603 |
msgid ""
|
1604 |
"This option allows you to set whether or not the user can edit the "
|
1605 |
"information in this field."
|
1606 |
msgstr ""
|
1607 |
|
1608 |
-
#: includes/admin/core/class-admin-metabox.php:
|
1609 |
msgid "Rating System"
|
1610 |
msgstr ""
|
1611 |
|
1612 |
-
#: includes/admin/core/class-admin-metabox.php:
|
1613 |
msgid "Choose whether you want a 5-stars or 10-stars ratings based here."
|
1614 |
msgstr ""
|
1615 |
|
1616 |
-
#: includes/admin/core/class-admin-metabox.php:
|
1617 |
msgid "5 stars rating system"
|
1618 |
msgstr ""
|
1619 |
|
1620 |
-
#: includes/admin/core/class-admin-metabox.php:
|
1621 |
msgid "10 stars rating system"
|
1622 |
msgstr ""
|
1623 |
|
1624 |
-
#: includes/admin/core/class-admin-metabox.php:
|
1625 |
msgid "Choices Callback"
|
1626 |
msgstr ""
|
1627 |
|
1628 |
-
#: includes/admin/core/class-admin-metabox.php:
|
1629 |
msgid "Add a callback source to retrieve choices."
|
1630 |
msgstr ""
|
1631 |
|
1632 |
-
#: includes/admin/core/class-admin-metabox.php:
|
1633 |
msgid "Parent Option"
|
1634 |
msgstr ""
|
1635 |
|
1636 |
-
#: includes/admin/core/class-admin-metabox.php:
|
1637 |
msgid "Dynamically populates the option based from selected parent option."
|
1638 |
msgstr ""
|
1639 |
|
1640 |
-
#: includes/admin/core/class-admin-metabox.php:
|
1641 |
msgid "No Selected"
|
1642 |
msgstr ""
|
1643 |
|
@@ -2102,7 +2102,7 @@ msgstr ""
|
|
2102 |
|
2103 |
#: includes/admin/core/class-admin-settings.php:549
|
2104 |
#: includes/admin/core/class-admin-settings.php:566
|
2105 |
-
#: includes/core/class-builtin.php:
|
2106 |
#: includes/core/class-member-directory.php:289
|
2107 |
msgid "Username"
|
2108 |
msgstr ""
|
@@ -2143,7 +2143,7 @@ msgid "Default WP Display Name"
|
|
2143 |
msgstr ""
|
2144 |
|
2145 |
#: includes/admin/core/class-admin-settings.php:565
|
2146 |
-
#: includes/core/class-builtin.php:
|
2147 |
#: includes/core/class-member-directory.php:290
|
2148 |
#: includes/core/class-member-directory.php:319
|
2149 |
msgid "Nickname"
|
@@ -3044,130 +3044,130 @@ msgstr ""
|
|
3044 |
msgid "Save Changes"
|
3045 |
msgstr ""
|
3046 |
|
3047 |
-
#: includes/admin/core/class-admin-settings.php:
|
3048 |
msgid "Subject Line"
|
3049 |
msgstr ""
|
3050 |
|
3051 |
-
#: includes/admin/core/class-admin-settings.php:
|
3052 |
msgid "This is the subject line of the e-mail"
|
3053 |
msgstr ""
|
3054 |
|
3055 |
-
#: includes/admin/core/class-admin-settings.php:
|
3056 |
msgid "Message Body"
|
3057 |
msgstr ""
|
3058 |
|
3059 |
-
#: includes/admin/core/class-admin-settings.php:
|
3060 |
msgid "This is the content of the e-mail"
|
3061 |
msgstr ""
|
3062 |
|
3063 |
-
#: includes/admin/core/class-admin-settings.php:
|
3064 |
-
#: includes/admin/core/class-admin-settings.php:
|
3065 |
#, php-format
|
3066 |
msgid ""
|
3067 |
"Your license key expired on %s. Please <a href=\"%s\" target=\"_blank"
|
3068 |
"\">renew your license key</a>."
|
3069 |
msgstr ""
|
3070 |
|
3071 |
-
#: includes/admin/core/class-admin-settings.php:
|
3072 |
-
#: includes/admin/core/class-admin-settings.php:
|
3073 |
#, php-format
|
3074 |
msgid ""
|
3075 |
"Your license key has been disabled. Please <a href=\"%s\" target=\"_blank"
|
3076 |
"\">contact support</a> for more information."
|
3077 |
msgstr ""
|
3078 |
|
3079 |
-
#: includes/admin/core/class-admin-settings.php:
|
3080 |
-
#: includes/admin/core/class-admin-settings.php:
|
3081 |
#, php-format
|
3082 |
msgid ""
|
3083 |
"Invalid license. Please <a href=\"%s\" target=\"_blank\">visit your account "
|
3084 |
"page</a> and verify it."
|
3085 |
msgstr ""
|
3086 |
|
3087 |
-
#: includes/admin/core/class-admin-settings.php:
|
3088 |
-
#: includes/admin/core/class-admin-settings.php:
|
3089 |
#, php-format
|
3090 |
msgid ""
|
3091 |
"Your %s is not active for this URL. Please <a href=\"%s\" target=\"_blank"
|
3092 |
"\">visit your account page</a> to manage your license key URLs."
|
3093 |
msgstr ""
|
3094 |
|
3095 |
-
#: includes/admin/core/class-admin-settings.php:
|
3096 |
-
#: includes/admin/core/class-admin-settings.php:
|
3097 |
#, php-format
|
3098 |
msgid "This appears to be an invalid license key for %s."
|
3099 |
msgstr ""
|
3100 |
|
3101 |
-
#: includes/admin/core/class-admin-settings.php:
|
3102 |
-
#: includes/admin/core/class-admin-settings.php:
|
3103 |
#, php-format
|
3104 |
msgid ""
|
3105 |
"Your license key has reached its activation limit. <a href=\"%s\">View "
|
3106 |
"possible upgrades</a> now."
|
3107 |
msgstr ""
|
3108 |
|
3109 |
-
#: includes/admin/core/class-admin-settings.php:
|
3110 |
-
#: includes/admin/core/class-admin-settings.php:
|
3111 |
msgid ""
|
3112 |
"The key you entered belongs to a bundle, please use the product specific "
|
3113 |
"license key."
|
3114 |
msgstr ""
|
3115 |
|
3116 |
-
#: includes/admin/core/class-admin-settings.php:
|
3117 |
-
#: includes/admin/core/class-admin-settings.php:
|
3118 |
-
#: includes/admin/core/class-admin-settings.php:
|
3119 |
msgid "unknown_error"
|
3120 |
msgstr ""
|
3121 |
|
3122 |
-
#: includes/admin/core/class-admin-settings.php:
|
3123 |
-
#: includes/admin/core/class-admin-settings.php:
|
3124 |
#, php-format
|
3125 |
msgid ""
|
3126 |
"There was an error with this license key: %s. Please <a href=\"%s\">contact "
|
3127 |
"our support team</a>."
|
3128 |
msgstr ""
|
3129 |
|
3130 |
-
#: includes/admin/core/class-admin-settings.php:
|
3131 |
#, php-format
|
3132 |
msgid ""
|
3133 |
"There was an error with this license key: %s%s. Please <a href=\"%s"
|
3134 |
"\">contact our support team</a>."
|
3135 |
msgstr ""
|
3136 |
|
3137 |
-
#: includes/admin/core/class-admin-settings.php:
|
3138 |
msgid "License key never expires."
|
3139 |
msgstr ""
|
3140 |
|
3141 |
-
#: includes/admin/core/class-admin-settings.php:
|
3142 |
#, php-format
|
3143 |
msgid ""
|
3144 |
"Your license key expires soon! It expires on %s. <a href=\"%s\" target="
|
3145 |
"\"_blank\">Renew your license key</a>."
|
3146 |
msgstr ""
|
3147 |
|
3148 |
-
#: includes/admin/core/class-admin-settings.php:
|
3149 |
#, php-format
|
3150 |
msgid "Your license key expires on %s."
|
3151 |
msgstr ""
|
3152 |
|
3153 |
-
#: includes/admin/core/class-admin-settings.php:
|
3154 |
#, php-format
|
3155 |
msgid "To receive updates, please enter your valid %s license key."
|
3156 |
msgstr ""
|
3157 |
|
3158 |
-
#: includes/admin/core/class-admin-settings.php:
|
3159 |
msgid "Clear License"
|
3160 |
msgstr ""
|
3161 |
|
3162 |
-
#: includes/admin/core/class-admin-settings.php:
|
3163 |
msgid "Activate"
|
3164 |
msgstr ""
|
3165 |
|
3166 |
-
#: includes/admin/core/class-admin-settings.php:
|
3167 |
msgid "Re-Activate"
|
3168 |
msgstr ""
|
3169 |
|
3170 |
-
#: includes/admin/core/class-admin-settings.php:
|
3171 |
msgid ""
|
3172 |
"To copy the Install info, click below then press Ctrl + C (PC) or Cmd + C "
|
3173 |
"(Mac)."
|
@@ -3219,7 +3219,7 @@ msgid "UM Action"
|
|
3219 |
msgstr ""
|
3220 |
|
3221 |
#: includes/admin/core/class-admin-users.php:124
|
3222 |
-
#: includes/core/class-fields.php:
|
3223 |
msgid "Apply"
|
3224 |
msgstr ""
|
3225 |
|
@@ -3375,7 +3375,7 @@ msgstr ""
|
|
3375 |
|
3376 |
#: includes/admin/core/list-tables/roles-list-table.php:485
|
3377 |
#: includes/admin/core/packages/2.0-beta1/user_roles.php:14
|
3378 |
-
#: includes/admin/templates/role/role-edit.php:
|
3379 |
#: includes/core/class-common.php:60 includes/core/class-common.php:90
|
3380 |
msgid "Add New"
|
3381 |
msgstr ""
|
@@ -3607,6 +3607,18 @@ msgstr ""
|
|
3607 |
msgid "Create additional metadata table..."
|
3608 |
msgstr ""
|
3609 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3610 |
#: includes/admin/templates/dashboard/cache.php:12
|
3611 |
msgid "Run this task from time to time to keep your DB clean."
|
3612 |
msgstr ""
|
@@ -4288,7 +4300,7 @@ msgstr ""
|
|
4288 |
#: includes/admin/templates/modal/dynamic_new_group.php:18
|
4289 |
#: includes/admin/templates/modal/fonticons.php:14
|
4290 |
#: includes/admin/templates/role/publish.php:24 includes/class-config.php:253
|
4291 |
-
#: includes/core/class-fields.php:
|
4292 |
#: includes/core/um-actions-profile.php:674
|
4293 |
#: includes/core/um-actions-profile.php:686
|
4294 |
#: includes/core/um-actions-profile.php:874
|
@@ -4601,36 +4613,36 @@ msgid ""
|
|
4601 |
"been successful or not."
|
4602 |
msgstr ""
|
4603 |
|
4604 |
-
#: includes/admin/templates/role/role-edit.php:
|
4605 |
-
#: includes/admin/templates/role/role-edit.php:
|
4606 |
msgid "Security Issue"
|
4607 |
msgstr ""
|
4608 |
|
4609 |
-
#: includes/admin/templates/role/role-edit.php:
|
4610 |
msgid "Title is empty!"
|
4611 |
msgstr ""
|
4612 |
|
4613 |
-
#: includes/admin/templates/role/role-edit.php:
|
4614 |
msgid "Role already exists!"
|
4615 |
msgstr ""
|
4616 |
|
4617 |
-
#: includes/admin/templates/role/role-edit.php:
|
4618 |
msgid "Add New Role"
|
4619 |
msgstr ""
|
4620 |
|
4621 |
-
#: includes/admin/templates/role/role-edit.php:
|
4622 |
msgid "Edit Role"
|
4623 |
msgstr ""
|
4624 |
|
4625 |
-
#: includes/admin/templates/role/role-edit.php:
|
4626 |
msgid "User Role <strong>Added</strong> Successfully."
|
4627 |
msgstr ""
|
4628 |
|
4629 |
-
#: includes/admin/templates/role/role-edit.php:
|
4630 |
msgid "User Role <strong>Updated</strong> Successfully."
|
4631 |
msgstr ""
|
4632 |
|
4633 |
-
#: includes/admin/templates/role/role-edit.php:
|
4634 |
msgid "Enter Title Here"
|
4635 |
msgstr ""
|
4636 |
|
@@ -4658,7 +4670,7 @@ msgid "Register"
|
|
4658 |
msgstr ""
|
4659 |
|
4660 |
#: includes/class-config.php:135 includes/class-config.php:792
|
4661 |
-
#: includes/core/class-member-directory.php:
|
4662 |
#: includes/core/um-actions-profile.php:1260
|
4663 |
#: includes/core/um-actions-user.php:19
|
4664 |
msgid "Logout"
|
@@ -4864,2079 +4876,2080 @@ msgid "Update Notifications"
|
|
4864 |
msgstr ""
|
4865 |
|
4866 |
#: includes/core/class-account.php:124 includes/core/class-account.php:125
|
4867 |
-
#: includes/core/class-builtin.php:
|
4868 |
msgid "Delete Account"
|
4869 |
msgstr ""
|
4870 |
|
4871 |
-
#: includes/core/class-builtin.php:
|
4872 |
msgid "Please provide a meta key"
|
4873 |
msgstr ""
|
4874 |
|
4875 |
-
#: includes/core/class-builtin.php:
|
4876 |
msgid "Your meta key is a reserved core field and cannot be used"
|
4877 |
msgstr ""
|
4878 |
|
4879 |
-
#: includes/core/class-builtin.php:
|
4880 |
msgid "Your meta key is a predefined reserved key and cannot be used"
|
4881 |
msgstr ""
|
4882 |
|
4883 |
-
#: includes/core/class-builtin.php:
|
4884 |
msgid "Your meta key already exists in your fields list"
|
4885 |
msgstr ""
|
4886 |
|
4887 |
-
#: includes/core/class-builtin.php:
|
4888 |
msgid "Your meta key contains illegal characters. Please correct it."
|
4889 |
msgstr ""
|
4890 |
|
4891 |
-
#: includes/core/class-builtin.php:
|
4892 |
msgid "Please provide a date range beginning"
|
4893 |
msgstr ""
|
4894 |
|
4895 |
-
#: includes/core/class-builtin.php:
|
4896 |
msgid "Please enter a valid start date in the date range"
|
4897 |
msgstr ""
|
4898 |
|
4899 |
-
#: includes/core/class-builtin.php:
|
4900 |
msgid "Please provide a date range end"
|
4901 |
msgstr ""
|
4902 |
|
4903 |
-
#: includes/core/class-builtin.php:
|
4904 |
msgid "Please enter a valid end date in the date range"
|
4905 |
msgstr ""
|
4906 |
|
4907 |
-
#: includes/core/class-builtin.php:
|
4908 |
msgid "The end of date range must be greater than the start of date range"
|
4909 |
msgstr ""
|
4910 |
|
4911 |
-
#: includes/core/class-builtin.php:
|
4912 |
-
#: includes/core/class-builtin.php:
|
4913 |
-
#: includes/core/class-builtin.php:
|
4914 |
-
#: includes/core/class-builtin.php:
|
4915 |
-
#: includes/core/class-builtin.php:
|
4916 |
-
#: includes/core/class-builtin.php:
|
4917 |
-
#: includes/core/class-builtin.php:
|
4918 |
-
#: includes/core/class-builtin.php:
|
4919 |
-
#: includes/core/class-builtin.php:
|
4920 |
-
#: includes/core/class-builtin.php:
|
4921 |
-
#: includes/core/class-builtin.php:
|
4922 |
msgid "You must provide a title"
|
4923 |
msgstr ""
|
4924 |
|
4925 |
-
#: includes/core/class-builtin.php:
|
4926 |
msgid "Number"
|
4927 |
msgstr ""
|
4928 |
|
4929 |
-
#: includes/core/class-builtin.php:
|
4930 |
-
#: includes/core/class-builtin.php:
|
4931 |
msgid "You have not added any choices yet."
|
4932 |
msgstr ""
|
4933 |
|
4934 |
-
#: includes/core/class-builtin.php:
|
4935 |
msgid "Please enter a valid size"
|
4936 |
msgstr ""
|
4937 |
|
4938 |
-
#: includes/core/class-builtin.php:
|
4939 |
msgid "Number of years is not valid"
|
4940 |
msgstr ""
|
4941 |
|
4942 |
-
#: includes/core/class-builtin.php:
|
4943 |
msgid "You must add a shortcode to the content area"
|
4944 |
msgstr ""
|
4945 |
|
4946 |
-
#: includes/core/class-builtin.php:
|
4947 |
msgid "Only me"
|
4948 |
msgstr ""
|
4949 |
|
4950 |
-
#: includes/core/class-builtin.php:
|
4951 |
-
#: includes/core/class-builtin.php:
|
4952 |
msgid "Username or E-mail"
|
4953 |
msgstr ""
|
4954 |
|
4955 |
-
#: includes/core/class-builtin.php:
|
4956 |
#: includes/core/class-member-directory.php:317
|
4957 |
msgid "First Name"
|
4958 |
msgstr ""
|
4959 |
|
4960 |
-
#: includes/core/class-builtin.php:
|
4961 |
#: includes/core/class-member-directory.php:318
|
4962 |
msgid "Last Name"
|
4963 |
msgstr ""
|
4964 |
|
4965 |
-
#: includes/core/class-builtin.php:
|
4966 |
-
#: includes/core/class-builtin.php:
|
4967 |
msgid "Website URL"
|
4968 |
msgstr ""
|
4969 |
|
4970 |
-
#: includes/core/class-builtin.php:
|
4971 |
msgid "Registration Date"
|
4972 |
msgstr ""
|
4973 |
|
4974 |
-
#: includes/core/class-builtin.php:
|
4975 |
#: includes/core/class-member-directory.php:315
|
4976 |
msgid "Last Login"
|
4977 |
msgstr ""
|
4978 |
|
4979 |
-
#: includes/core/class-builtin.php:
|
4980 |
msgid "E-mail Address"
|
4981 |
msgstr ""
|
4982 |
|
4983 |
-
#: includes/core/class-builtin.php:
|
4984 |
#: includes/core/class-member-directory.php:320
|
4985 |
msgid "Secondary E-mail Address"
|
4986 |
msgstr ""
|
4987 |
|
4988 |
-
#: includes/core/class-builtin.php:
|
4989 |
#: includes/core/class-member-directory.php:321
|
4990 |
msgid "Biography"
|
4991 |
msgstr ""
|
4992 |
|
4993 |
-
#: includes/core/class-builtin.php:
|
4994 |
msgid "Enter a bit about yourself..."
|
4995 |
msgstr ""
|
4996 |
|
4997 |
-
#: includes/core/class-builtin.php:
|
4998 |
msgid "Birth Date"
|
4999 |
msgstr ""
|
5000 |
|
5001 |
-
#: includes/core/class-builtin.php:
|
5002 |
#: includes/core/class-member-directory.php:311
|
5003 |
msgid "Gender"
|
5004 |
msgstr ""
|
5005 |
|
5006 |
-
#: includes/core/class-builtin.php:
|
5007 |
msgid "Male"
|
5008 |
msgstr ""
|
5009 |
|
5010 |
-
#: includes/core/class-builtin.php:
|
5011 |
msgid "Female"
|
5012 |
msgstr ""
|
5013 |
|
5014 |
-
#: includes/core/class-builtin.php:
|
5015 |
#: includes/core/class-member-directory.php:310
|
5016 |
msgid "Country"
|
5017 |
msgstr ""
|
5018 |
|
5019 |
-
#: includes/core/class-builtin.php:
|
5020 |
msgid "Choose a Country"
|
5021 |
msgstr ""
|
5022 |
|
5023 |
-
#: includes/core/class-builtin.php:
|
5024 |
msgid "Facebook"
|
5025 |
msgstr ""
|
5026 |
|
5027 |
-
#: includes/core/class-builtin.php:
|
5028 |
msgid "Twitter"
|
5029 |
msgstr ""
|
5030 |
|
5031 |
-
#: includes/core/class-builtin.php:
|
5032 |
msgid "LinkedIn"
|
5033 |
msgstr ""
|
5034 |
|
5035 |
-
#: includes/core/class-builtin.php:
|
5036 |
msgid "Google+"
|
5037 |
msgstr ""
|
5038 |
|
5039 |
-
#: includes/core/class-builtin.php:
|
5040 |
msgid "Instagram"
|
5041 |
msgstr ""
|
5042 |
|
5043 |
-
#: includes/core/class-builtin.php:
|
5044 |
-
#: includes/core/class-builtin.php:
|
5045 |
msgid "Skype ID"
|
5046 |
msgstr ""
|
5047 |
|
5048 |
-
#: includes/core/class-builtin.php:
|
5049 |
msgid "YouTube"
|
5050 |
msgstr ""
|
5051 |
|
5052 |
-
#: includes/core/class-builtin.php:
|
5053 |
msgid "SoundCloud"
|
5054 |
msgstr ""
|
5055 |
|
5056 |
-
#: includes/core/class-builtin.php:
|
5057 |
msgid "VKontakte"
|
5058 |
msgstr ""
|
5059 |
|
5060 |
-
#: includes/core/class-builtin.php:
|
5061 |
msgid "Roles (Dropdown)"
|
5062 |
msgstr ""
|
5063 |
|
5064 |
-
#: includes/core/class-builtin.php:
|
5065 |
msgid "Account Type"
|
5066 |
msgstr ""
|
5067 |
|
5068 |
-
#: includes/core/class-builtin.php:
|
5069 |
msgid "Roles (Radio)"
|
5070 |
msgstr ""
|
5071 |
|
5072 |
-
#: includes/core/class-builtin.php:
|
5073 |
#: includes/core/class-member-directory.php:312
|
5074 |
msgid "Languages"
|
5075 |
msgstr ""
|
5076 |
|
5077 |
-
#: includes/core/class-builtin.php:
|
5078 |
msgid "Languages Spoken"
|
5079 |
msgstr ""
|
5080 |
|
5081 |
-
#: includes/core/class-builtin.php:
|
5082 |
msgid "Select languages"
|
5083 |
msgstr ""
|
5084 |
|
5085 |
-
#: includes/core/class-builtin.php:
|
5086 |
-
#: includes/core/class-builtin.php:
|
5087 |
#: includes/core/class-member-directory.php:322
|
5088 |
msgid "Phone Number"
|
5089 |
msgstr ""
|
5090 |
|
5091 |
-
#: includes/core/class-builtin.php:
|
5092 |
#: includes/core/class-member-directory.php:323
|
5093 |
msgid "Mobile Number"
|
5094 |
msgstr ""
|
5095 |
|
5096 |
-
#: includes/core/class-builtin.php:
|
5097 |
msgid "Profile Photo"
|
5098 |
msgstr ""
|
5099 |
|
5100 |
-
#: includes/core/class-builtin.php:
|
5101 |
msgid "Change your profile photo"
|
5102 |
msgstr ""
|
5103 |
|
5104 |
-
#: includes/core/class-builtin.php:
|
5105 |
msgid "Upload your photo here"
|
5106 |
msgstr ""
|
5107 |
|
5108 |
-
#: includes/core/class-builtin.php:
|
5109 |
msgid "Cover Photo"
|
5110 |
msgstr ""
|
5111 |
|
5112 |
-
#: includes/core/class-builtin.php:
|
5113 |
#: includes/core/um-actions-profile.php:634
|
5114 |
msgid "Change your cover photo"
|
5115 |
msgstr ""
|
5116 |
|
5117 |
-
#: includes/core/class-builtin.php:
|
5118 |
msgid "Upload profile cover here"
|
5119 |
msgstr ""
|
5120 |
|
5121 |
-
#: includes/core/class-builtin.php:
|
5122 |
msgid "Enter your username or email"
|
5123 |
msgstr ""
|
5124 |
|
5125 |
-
#: includes/core/class-builtin.php:
|
5126 |
msgid "Profile Privacy"
|
5127 |
msgstr ""
|
5128 |
|
5129 |
-
#: includes/core/class-builtin.php:
|
5130 |
msgid "Who can see your public profile?"
|
5131 |
msgstr ""
|
5132 |
|
5133 |
-
#: includes/core/class-builtin.php:
|
5134 |
msgid "Hide my profile from directory"
|
5135 |
msgstr ""
|
5136 |
|
5137 |
-
#: includes/core/class-builtin.php:
|
5138 |
msgid "Here you can hide yourself from appearing in public directory"
|
5139 |
msgstr ""
|
5140 |
|
5141 |
-
#: includes/core/class-builtin.php:
|
5142 |
msgid ""
|
5143 |
"If you confirm, everything related to your profile will be deleted "
|
5144 |
"permanently from the site"
|
5145 |
msgstr ""
|
5146 |
|
5147 |
-
#: includes/core/class-builtin.php:
|
5148 |
msgid "Alphabetic value only"
|
5149 |
msgstr ""
|
5150 |
|
5151 |
-
#: includes/core/class-builtin.php:
|
5152 |
msgid "Alpha-numeric value"
|
5153 |
msgstr ""
|
5154 |
|
5155 |
-
#: includes/core/class-builtin.php:
|
5156 |
msgid "English letters only"
|
5157 |
msgstr ""
|
5158 |
|
5159 |
-
#: includes/core/class-builtin.php:
|
5160 |
msgid "Facebook URL"
|
5161 |
msgstr ""
|
5162 |
|
5163 |
-
#: includes/core/class-builtin.php:
|
5164 |
msgid "Google+ URL"
|
5165 |
msgstr ""
|
5166 |
|
5167 |
-
#: includes/core/class-builtin.php:
|
5168 |
msgid "Instagram URL"
|
5169 |
msgstr ""
|
5170 |
|
5171 |
-
#: includes/core/class-builtin.php:
|
5172 |
msgid "LinkedIn URL"
|
5173 |
msgstr ""
|
5174 |
|
5175 |
-
#: includes/core/class-builtin.php:
|
5176 |
msgid "VKontakte URL"
|
5177 |
msgstr ""
|
5178 |
|
5179 |
-
#: includes/core/class-builtin.php:
|
5180 |
msgid "Lowercase only"
|
5181 |
msgstr ""
|
5182 |
|
5183 |
-
#: includes/core/class-builtin.php:
|
5184 |
msgid "Numeric value only"
|
5185 |
msgstr ""
|
5186 |
|
5187 |
-
#: includes/core/class-builtin.php:
|
5188 |
msgid "SoundCloud Profile"
|
5189 |
msgstr ""
|
5190 |
|
5191 |
-
#: includes/core/class-builtin.php:
|
5192 |
msgid "Twitter URL"
|
5193 |
msgstr ""
|
5194 |
|
5195 |
-
#: includes/core/class-builtin.php:
|
5196 |
msgid "E-mail( Not Unique )"
|
5197 |
msgstr ""
|
5198 |
|
5199 |
-
#: includes/core/class-builtin.php:
|
5200 |
msgid "Unique E-mail"
|
5201 |
msgstr ""
|
5202 |
|
5203 |
-
#: includes/core/class-builtin.php:
|
5204 |
msgid "Unique Metakey value"
|
5205 |
msgstr ""
|
5206 |
|
5207 |
-
#: includes/core/class-builtin.php:
|
5208 |
msgid "Unique Username"
|
5209 |
msgstr ""
|
5210 |
|
5211 |
-
#: includes/core/class-builtin.php:
|
5212 |
msgid "Unique Username/E-mail"
|
5213 |
msgstr ""
|
5214 |
|
5215 |
-
#: includes/core/class-builtin.php:
|
5216 |
msgid "YouTube Profile"
|
5217 |
msgstr ""
|
5218 |
|
5219 |
-
#: includes/core/class-builtin.php:
|
5220 |
msgid "Custom Validation"
|
5221 |
msgstr ""
|
5222 |
|
5223 |
-
#: includes/core/class-builtin.php:
|
5224 |
msgid "Afar"
|
5225 |
msgstr ""
|
5226 |
|
5227 |
-
#: includes/core/class-builtin.php:
|
5228 |
msgid "Abkhazian"
|
5229 |
msgstr ""
|
5230 |
|
5231 |
-
#: includes/core/class-builtin.php:
|
5232 |
msgid "Avestan"
|
5233 |
msgstr ""
|
5234 |
|
5235 |
-
#: includes/core/class-builtin.php:
|
5236 |
msgid "Afrikaans"
|
5237 |
msgstr ""
|
5238 |
|
5239 |
-
#: includes/core/class-builtin.php:
|
5240 |
msgid "Akan"
|
5241 |
msgstr ""
|
5242 |
|
5243 |
-
#: includes/core/class-builtin.php:
|
5244 |
msgid "Amharic"
|
5245 |
msgstr ""
|
5246 |
|
5247 |
-
#: includes/core/class-builtin.php:
|
5248 |
msgid "Aragonese"
|
5249 |
msgstr ""
|
5250 |
|
5251 |
-
#: includes/core/class-builtin.php:
|
5252 |
msgid "Arabic"
|
5253 |
msgstr ""
|
5254 |
|
5255 |
-
#: includes/core/class-builtin.php:
|
5256 |
msgid "Assamese"
|
5257 |
msgstr ""
|
5258 |
|
5259 |
-
#: includes/core/class-builtin.php:
|
5260 |
msgid "Avaric"
|
5261 |
msgstr ""
|
5262 |
|
5263 |
-
#: includes/core/class-builtin.php:
|
5264 |
msgid "Aymara"
|
5265 |
msgstr ""
|
5266 |
|
5267 |
-
#: includes/core/class-builtin.php:
|
5268 |
msgid "Azerbaijani"
|
5269 |
msgstr ""
|
5270 |
|
5271 |
-
#: includes/core/class-builtin.php:
|
5272 |
msgid "Bashkir"
|
5273 |
msgstr ""
|
5274 |
|
5275 |
-
#: includes/core/class-builtin.php:
|
5276 |
msgid "Belarusian"
|
5277 |
msgstr ""
|
5278 |
|
5279 |
-
#: includes/core/class-builtin.php:
|
5280 |
msgid "Bulgarian"
|
5281 |
msgstr ""
|
5282 |
|
5283 |
-
#: includes/core/class-builtin.php:
|
5284 |
msgid "Bihari"
|
5285 |
msgstr ""
|
5286 |
|
5287 |
-
#: includes/core/class-builtin.php:
|
5288 |
msgid "Bislama"
|
5289 |
msgstr ""
|
5290 |
|
5291 |
-
#: includes/core/class-builtin.php:
|
5292 |
msgid "Bambara"
|
5293 |
msgstr ""
|
5294 |
|
5295 |
-
#: includes/core/class-builtin.php:
|
5296 |
msgid "Bengali"
|
5297 |
msgstr ""
|
5298 |
|
5299 |
-
#: includes/core/class-builtin.php:
|
5300 |
msgid "Tibetan"
|
5301 |
msgstr ""
|
5302 |
|
5303 |
-
#: includes/core/class-builtin.php:
|
5304 |
msgid "Breton"
|
5305 |
msgstr ""
|
5306 |
|
5307 |
-
#: includes/core/class-builtin.php:
|
5308 |
msgid "Bosnian"
|
5309 |
msgstr ""
|
5310 |
|
5311 |
-
#: includes/core/class-builtin.php:
|
5312 |
msgid "Catalan"
|
5313 |
msgstr ""
|
5314 |
|
5315 |
-
#: includes/core/class-builtin.php:
|
5316 |
msgid "Chechen"
|
5317 |
msgstr ""
|
5318 |
|
5319 |
-
#: includes/core/class-builtin.php:
|
5320 |
msgid "Chamorro"
|
5321 |
msgstr ""
|
5322 |
|
5323 |
-
#: includes/core/class-builtin.php:
|
5324 |
msgid "Corsican"
|
5325 |
msgstr ""
|
5326 |
|
5327 |
-
#: includes/core/class-builtin.php:
|
5328 |
msgid "Cree"
|
5329 |
msgstr ""
|
5330 |
|
5331 |
-
#: includes/core/class-builtin.php:
|
5332 |
msgid "Czech"
|
5333 |
msgstr ""
|
5334 |
|
5335 |
-
#: includes/core/class-builtin.php:
|
5336 |
msgid "Church Slavic"
|
5337 |
msgstr ""
|
5338 |
|
5339 |
-
#: includes/core/class-builtin.php:
|
5340 |
msgid "Chuvash"
|
5341 |
msgstr ""
|
5342 |
|
5343 |
-
#: includes/core/class-builtin.php:
|
5344 |
msgid "Welsh"
|
5345 |
msgstr ""
|
5346 |
|
5347 |
-
#: includes/core/class-builtin.php:
|
5348 |
msgid "Danish"
|
5349 |
msgstr ""
|
5350 |
|
5351 |
-
#: includes/core/class-builtin.php:
|
5352 |
msgid "German"
|
5353 |
msgstr ""
|
5354 |
|
5355 |
-
#: includes/core/class-builtin.php:
|
5356 |
msgid "Divehi"
|
5357 |
msgstr ""
|
5358 |
|
5359 |
-
#: includes/core/class-builtin.php:
|
5360 |
msgid "Dzongkha"
|
5361 |
msgstr ""
|
5362 |
|
5363 |
-
#: includes/core/class-builtin.php:
|
5364 |
msgid "Ewe"
|
5365 |
msgstr ""
|
5366 |
|
5367 |
-
#: includes/core/class-builtin.php:
|
5368 |
msgid "Greek"
|
5369 |
msgstr ""
|
5370 |
|
5371 |
-
#: includes/core/class-builtin.php:
|
5372 |
msgid "English"
|
5373 |
msgstr ""
|
5374 |
|
5375 |
-
#: includes/core/class-builtin.php:
|
5376 |
msgid "Esperanto"
|
5377 |
msgstr ""
|
5378 |
|
5379 |
-
#: includes/core/class-builtin.php:
|
5380 |
msgid "Spanish"
|
5381 |
msgstr ""
|
5382 |
|
5383 |
-
#: includes/core/class-builtin.php:
|
5384 |
msgid "Estonian"
|
5385 |
msgstr ""
|
5386 |
|
5387 |
-
#: includes/core/class-builtin.php:
|
5388 |
msgid "Basque"
|
5389 |
msgstr ""
|
5390 |
|
5391 |
-
#: includes/core/class-builtin.php:
|
5392 |
msgid "Persian"
|
5393 |
msgstr ""
|
5394 |
|
5395 |
-
#: includes/core/class-builtin.php:
|
5396 |
msgid "Fulah"
|
5397 |
msgstr ""
|
5398 |
|
5399 |
-
#: includes/core/class-builtin.php:
|
5400 |
msgid "Finnish"
|
5401 |
msgstr ""
|
5402 |
|
5403 |
-
#: includes/core/class-builtin.php:
|
5404 |
msgid "Fijian"
|
5405 |
msgstr ""
|
5406 |
|
5407 |
-
#: includes/core/class-builtin.php:
|
5408 |
msgid "Faroese"
|
5409 |
msgstr ""
|
5410 |
|
5411 |
-
#: includes/core/class-builtin.php:
|
5412 |
msgid "French"
|
5413 |
msgstr ""
|
5414 |
|
5415 |
-
#: includes/core/class-builtin.php:
|
5416 |
msgid "Western Frisian"
|
5417 |
msgstr ""
|
5418 |
|
5419 |
-
#: includes/core/class-builtin.php:
|
5420 |
msgid "Irish"
|
5421 |
msgstr ""
|
5422 |
|
5423 |
-
#: includes/core/class-builtin.php:
|
5424 |
msgid "Scottish Gaelic"
|
5425 |
msgstr ""
|
5426 |
|
5427 |
-
#: includes/core/class-builtin.php:
|
5428 |
msgid "Galician"
|
5429 |
msgstr ""
|
5430 |
|
5431 |
-
#: includes/core/class-builtin.php:
|
5432 |
msgid "Guarani"
|
5433 |
msgstr ""
|
5434 |
|
5435 |
-
#: includes/core/class-builtin.php:
|
5436 |
msgid "Gujarati"
|
5437 |
msgstr ""
|
5438 |
|
5439 |
-
#: includes/core/class-builtin.php:
|
5440 |
msgid "Manx"
|
5441 |
msgstr ""
|
5442 |
|
5443 |
-
#: includes/core/class-builtin.php:
|
5444 |
msgid "Hausa"
|
5445 |
msgstr ""
|
5446 |
|
5447 |
-
#: includes/core/class-builtin.php:
|
5448 |
msgid "Hebrew"
|
5449 |
msgstr ""
|
5450 |
|
5451 |
-
#: includes/core/class-builtin.php:
|
5452 |
msgid "Hindi"
|
5453 |
msgstr ""
|
5454 |
|
5455 |
-
#: includes/core/class-builtin.php:
|
5456 |
msgid "Hiri Motu"
|
5457 |
msgstr ""
|
5458 |
|
5459 |
-
#: includes/core/class-builtin.php:
|
5460 |
msgid "Croatian"
|
5461 |
msgstr ""
|
5462 |
|
5463 |
-
#: includes/core/class-builtin.php:
|
5464 |
msgid "Haitian"
|
5465 |
msgstr ""
|
5466 |
|
5467 |
-
#: includes/core/class-builtin.php:
|
5468 |
msgid "Hungarian"
|
5469 |
msgstr ""
|
5470 |
|
5471 |
-
#: includes/core/class-builtin.php:
|
5472 |
msgid "Armenian"
|
5473 |
msgstr ""
|
5474 |
|
5475 |
-
#: includes/core/class-builtin.php:
|
5476 |
msgid "Herero"
|
5477 |
msgstr ""
|
5478 |
|
5479 |
-
#: includes/core/class-builtin.php:
|
5480 |
msgid "Interlingua (International Auxiliary Language Association)"
|
5481 |
msgstr ""
|
5482 |
|
5483 |
-
#: includes/core/class-builtin.php:
|
5484 |
msgid "Indonesian"
|
5485 |
msgstr ""
|
5486 |
|
5487 |
-
#: includes/core/class-builtin.php:
|
5488 |
msgid "Interlingue"
|
5489 |
msgstr ""
|
5490 |
|
5491 |
-
#: includes/core/class-builtin.php:
|
5492 |
msgid "Igbo"
|
5493 |
msgstr ""
|
5494 |
|
5495 |
-
#: includes/core/class-builtin.php:
|
5496 |
msgid "Sichuan Yi"
|
5497 |
msgstr ""
|
5498 |
|
5499 |
-
#: includes/core/class-builtin.php:
|
5500 |
msgid "Inupiaq"
|
5501 |
msgstr ""
|
5502 |
|
5503 |
-
#: includes/core/class-builtin.php:
|
5504 |
msgid "Ido"
|
5505 |
msgstr ""
|
5506 |
|
5507 |
-
#: includes/core/class-builtin.php:
|
5508 |
msgid "Icelandic"
|
5509 |
msgstr ""
|
5510 |
|
5511 |
-
#: includes/core/class-builtin.php:
|
5512 |
msgid "Italian"
|
5513 |
msgstr ""
|
5514 |
|
5515 |
-
#: includes/core/class-builtin.php:
|
5516 |
msgid "Inuktitut"
|
5517 |
msgstr ""
|
5518 |
|
5519 |
-
#: includes/core/class-builtin.php:
|
5520 |
msgid "Japanese"
|
5521 |
msgstr ""
|
5522 |
|
5523 |
-
#: includes/core/class-builtin.php:
|
5524 |
msgid "Javanese"
|
5525 |
msgstr ""
|
5526 |
|
5527 |
-
#: includes/core/class-builtin.php:
|
5528 |
msgid "Georgian"
|
5529 |
msgstr ""
|
5530 |
|
5531 |
-
#: includes/core/class-builtin.php:
|
5532 |
msgid "Kongo"
|
5533 |
msgstr ""
|
5534 |
|
5535 |
-
#: includes/core/class-builtin.php:
|
5536 |
msgid "Kikuyu"
|
5537 |
msgstr ""
|
5538 |
|
5539 |
-
#: includes/core/class-builtin.php:
|
5540 |
msgid "Kwanyama"
|
5541 |
msgstr ""
|
5542 |
|
5543 |
-
#: includes/core/class-builtin.php:
|
5544 |
msgid "Kazakh"
|
5545 |
msgstr ""
|
5546 |
|
5547 |
-
#: includes/core/class-builtin.php:
|
5548 |
msgid "Kalaallisut"
|
5549 |
msgstr ""
|
5550 |
|
5551 |
-
#: includes/core/class-builtin.php:
|
5552 |
msgid "Khmer"
|
5553 |
msgstr ""
|
5554 |
|
5555 |
-
#: includes/core/class-builtin.php:
|
5556 |
msgid "Kannada"
|
5557 |
msgstr ""
|
5558 |
|
5559 |
-
#: includes/core/class-builtin.php:
|
5560 |
msgid "Korean"
|
5561 |
msgstr ""
|
5562 |
|
5563 |
-
#: includes/core/class-builtin.php:
|
5564 |
msgid "Kanuri"
|
5565 |
msgstr ""
|
5566 |
|
5567 |
-
#: includes/core/class-builtin.php:
|
5568 |
msgid "Kashmiri"
|
5569 |
msgstr ""
|
5570 |
|
5571 |
-
#: includes/core/class-builtin.php:
|
5572 |
msgid "Kurdish"
|
5573 |
msgstr ""
|
5574 |
|
5575 |
-
#: includes/core/class-builtin.php:
|
5576 |
msgid "Komi"
|
5577 |
msgstr ""
|
5578 |
|
5579 |
-
#: includes/core/class-builtin.php:
|
5580 |
msgid "Cornish"
|
5581 |
msgstr ""
|
5582 |
|
5583 |
-
#: includes/core/class-builtin.php:
|
5584 |
msgid "Kirghiz"
|
5585 |
msgstr ""
|
5586 |
|
5587 |
-
#: includes/core/class-builtin.php:
|
5588 |
msgid "Latin"
|
5589 |
msgstr ""
|
5590 |
|
5591 |
-
#: includes/core/class-builtin.php:
|
5592 |
msgid "Luxembourgish"
|
5593 |
msgstr ""
|
5594 |
|
5595 |
-
#: includes/core/class-builtin.php:
|
5596 |
msgid "Ganda"
|
5597 |
msgstr ""
|
5598 |
|
5599 |
-
#: includes/core/class-builtin.php:
|
5600 |
msgid "Limburgish"
|
5601 |
msgstr ""
|
5602 |
|
5603 |
-
#: includes/core/class-builtin.php:
|
5604 |
msgid "Lingala"
|
5605 |
msgstr ""
|
5606 |
|
5607 |
-
#: includes/core/class-builtin.php:
|
5608 |
msgid "Lao"
|
5609 |
msgstr ""
|
5610 |
|
5611 |
-
#: includes/core/class-builtin.php:
|
5612 |
msgid "Lithuanian"
|
5613 |
msgstr ""
|
5614 |
|
5615 |
-
#: includes/core/class-builtin.php:
|
5616 |
msgid "Luba-Katanga"
|
5617 |
msgstr ""
|
5618 |
|
5619 |
-
#: includes/core/class-builtin.php:
|
5620 |
msgid "Latvian"
|
5621 |
msgstr ""
|
5622 |
|
5623 |
-
#: includes/core/class-builtin.php:
|
5624 |
msgid "Malagasy"
|
5625 |
msgstr ""
|
5626 |
|
5627 |
-
#: includes/core/class-builtin.php:
|
5628 |
msgid "Marshallese"
|
5629 |
msgstr ""
|
5630 |
|
5631 |
-
#: includes/core/class-builtin.php:
|
5632 |
msgid "Maori"
|
5633 |
msgstr ""
|
5634 |
|
5635 |
-
#: includes/core/class-builtin.php:
|
5636 |
msgid "Macedonian"
|
5637 |
msgstr ""
|
5638 |
|
5639 |
-
#: includes/core/class-builtin.php:
|
5640 |
msgid "Malayalam"
|
5641 |
msgstr ""
|
5642 |
|
5643 |
-
#: includes/core/class-builtin.php:
|
5644 |
msgid "Mongolian"
|
5645 |
msgstr ""
|
5646 |
|
5647 |
-
#: includes/core/class-builtin.php:
|
5648 |
msgid "Marathi"
|
5649 |
msgstr ""
|
5650 |
|
5651 |
-
#: includes/core/class-builtin.php:
|
5652 |
msgid "Malay"
|
5653 |
msgstr ""
|
5654 |
|
5655 |
-
#: includes/core/class-builtin.php:
|
5656 |
msgid "Maltese"
|
5657 |
msgstr ""
|
5658 |
|
5659 |
-
#: includes/core/class-builtin.php:
|
5660 |
msgid "Burmese"
|
5661 |
msgstr ""
|
5662 |
|
5663 |
-
#: includes/core/class-builtin.php:
|
5664 |
msgid "Nauru"
|
5665 |
msgstr ""
|
5666 |
|
5667 |
-
#: includes/core/class-builtin.php:
|
5668 |
msgid "Norwegian Bokmal"
|
5669 |
msgstr ""
|
5670 |
|
5671 |
-
#: includes/core/class-builtin.php:
|
5672 |
msgid "North Ndebele"
|
5673 |
msgstr ""
|
5674 |
|
5675 |
-
#: includes/core/class-builtin.php:
|
5676 |
msgid "Nepali"
|
5677 |
msgstr ""
|
5678 |
|
5679 |
-
#: includes/core/class-builtin.php:
|
5680 |
msgid "Ndonga"
|
5681 |
msgstr ""
|
5682 |
|
5683 |
-
#: includes/core/class-builtin.php:
|
5684 |
msgid "Dutch"
|
5685 |
msgstr ""
|
5686 |
|
5687 |
-
#: includes/core/class-builtin.php:
|
5688 |
msgid "Norwegian Nynorsk"
|
5689 |
msgstr ""
|
5690 |
|
5691 |
-
#: includes/core/class-builtin.php:
|
5692 |
msgid "Norwegian"
|
5693 |
msgstr ""
|
5694 |
|
5695 |
-
#: includes/core/class-builtin.php:
|
5696 |
msgid "South Ndebele"
|
5697 |
msgstr ""
|
5698 |
|
5699 |
-
#: includes/core/class-builtin.php:
|
5700 |
msgid "Navajo"
|
5701 |
msgstr ""
|
5702 |
|
5703 |
-
#: includes/core/class-builtin.php:
|
5704 |
msgid "Chichewa"
|
5705 |
msgstr ""
|
5706 |
|
5707 |
-
#: includes/core/class-builtin.php:
|
5708 |
msgid "Occitan"
|
5709 |
msgstr ""
|
5710 |
|
5711 |
-
#: includes/core/class-builtin.php:
|
5712 |
msgid "Ojibwa"
|
5713 |
msgstr ""
|
5714 |
|
5715 |
-
#: includes/core/class-builtin.php:
|
5716 |
msgid "Oromo"
|
5717 |
msgstr ""
|
5718 |
|
5719 |
-
#: includes/core/class-builtin.php:
|
5720 |
msgid "Oriya"
|
5721 |
msgstr ""
|
5722 |
|
5723 |
-
#: includes/core/class-builtin.php:
|
5724 |
msgid "Ossetian"
|
5725 |
msgstr ""
|
5726 |
|
5727 |
-
#: includes/core/class-builtin.php:
|
5728 |
msgid "Panjabi"
|
5729 |
msgstr ""
|
5730 |
|
5731 |
-
#: includes/core/class-builtin.php:
|
5732 |
msgid "Pali"
|
5733 |
msgstr ""
|
5734 |
|
5735 |
-
#: includes/core/class-builtin.php:
|
5736 |
msgid "Polish"
|
5737 |
msgstr ""
|
5738 |
|
5739 |
-
#: includes/core/class-builtin.php:
|
5740 |
msgid "Pashto"
|
5741 |
msgstr ""
|
5742 |
|
5743 |
-
#: includes/core/class-builtin.php:
|
5744 |
msgid "Portuguese"
|
5745 |
msgstr ""
|
5746 |
|
5747 |
-
#: includes/core/class-builtin.php:
|
5748 |
msgid "Quechua"
|
5749 |
msgstr ""
|
5750 |
|
5751 |
-
#: includes/core/class-builtin.php:
|
5752 |
msgid "Raeto-Romance"
|
5753 |
msgstr ""
|
5754 |
|
5755 |
-
#: includes/core/class-builtin.php:
|
5756 |
msgid "Kirundi"
|
5757 |
msgstr ""
|
5758 |
|
5759 |
-
#: includes/core/class-builtin.php:
|
5760 |
msgid "Romanian"
|
5761 |
msgstr ""
|
5762 |
|
5763 |
-
#: includes/core/class-builtin.php:
|
5764 |
msgid "Russian"
|
5765 |
msgstr ""
|
5766 |
|
5767 |
-
#: includes/core/class-builtin.php:
|
5768 |
msgid "Kinyarwanda"
|
5769 |
msgstr ""
|
5770 |
|
5771 |
-
#: includes/core/class-builtin.php:
|
5772 |
msgid "Sanskrit"
|
5773 |
msgstr ""
|
5774 |
|
5775 |
-
#: includes/core/class-builtin.php:
|
5776 |
msgid "Sardinian"
|
5777 |
msgstr ""
|
5778 |
|
5779 |
-
#: includes/core/class-builtin.php:
|
5780 |
msgid "Sindhi"
|
5781 |
msgstr ""
|
5782 |
|
5783 |
-
#: includes/core/class-builtin.php:
|
5784 |
msgid "Northern Sami"
|
5785 |
msgstr ""
|
5786 |
|
5787 |
-
#: includes/core/class-builtin.php:
|
5788 |
msgid "Sango"
|
5789 |
msgstr ""
|
5790 |
|
5791 |
-
#: includes/core/class-builtin.php:
|
5792 |
msgid "Sinhala"
|
5793 |
msgstr ""
|
5794 |
|
5795 |
-
#: includes/core/class-builtin.php:
|
5796 |
msgid "Slovak"
|
5797 |
msgstr ""
|
5798 |
|
5799 |
-
#: includes/core/class-builtin.php:
|
5800 |
msgid "Slovenian"
|
5801 |
msgstr ""
|
5802 |
|
5803 |
-
#: includes/core/class-builtin.php:
|
5804 |
msgid "Samoan"
|
5805 |
msgstr ""
|
5806 |
|
5807 |
-
#: includes/core/class-builtin.php:
|
5808 |
msgid "Shona"
|
5809 |
msgstr ""
|
5810 |
|
5811 |
-
#: includes/core/class-builtin.php:
|
5812 |
msgid "Somali"
|
5813 |
msgstr ""
|
5814 |
|
5815 |
-
#: includes/core/class-builtin.php:
|
5816 |
msgid "Albanian"
|
5817 |
msgstr ""
|
5818 |
|
5819 |
-
#: includes/core/class-builtin.php:
|
5820 |
msgid "Serbian"
|
5821 |
msgstr ""
|
5822 |
|
5823 |
-
#: includes/core/class-builtin.php:
|
5824 |
msgid "Swati"
|
5825 |
msgstr ""
|
5826 |
|
5827 |
-
#: includes/core/class-builtin.php:
|
5828 |
msgid "Southern Sotho"
|
5829 |
msgstr ""
|
5830 |
|
5831 |
-
#: includes/core/class-builtin.php:
|
5832 |
msgid "Sundanese"
|
5833 |
msgstr ""
|
5834 |
|
5835 |
-
#: includes/core/class-builtin.php:
|
5836 |
msgid "Swedish"
|
5837 |
msgstr ""
|
5838 |
|
5839 |
-
#: includes/core/class-builtin.php:
|
5840 |
msgid "Swahili"
|
5841 |
msgstr ""
|
5842 |
|
5843 |
-
#: includes/core/class-builtin.php:
|
5844 |
msgid "Tamil"
|
5845 |
msgstr ""
|
5846 |
|
5847 |
-
#: includes/core/class-builtin.php:
|
5848 |
msgid "Telugu"
|
5849 |
msgstr ""
|
5850 |
|
5851 |
-
#: includes/core/class-builtin.php:
|
5852 |
msgid "Tajik"
|
5853 |
msgstr ""
|
5854 |
|
5855 |
-
#: includes/core/class-builtin.php:
|
5856 |
msgid "Thai"
|
5857 |
msgstr ""
|
5858 |
|
5859 |
-
#: includes/core/class-builtin.php:
|
5860 |
msgid "Tigrinya"
|
5861 |
msgstr ""
|
5862 |
|
5863 |
-
#: includes/core/class-builtin.php:
|
5864 |
msgid "Turkmen"
|
5865 |
msgstr ""
|
5866 |
|
5867 |
-
#: includes/core/class-builtin.php:
|
5868 |
msgid "Tagalog"
|
5869 |
msgstr ""
|
5870 |
|
5871 |
-
#: includes/core/class-builtin.php:
|
5872 |
msgid "Tswana"
|
5873 |
msgstr ""
|
5874 |
|
5875 |
-
#: includes/core/class-builtin.php:
|
5876 |
msgid "Tonga"
|
5877 |
msgstr ""
|
5878 |
|
5879 |
-
#: includes/core/class-builtin.php:
|
5880 |
msgid "Turkish"
|
5881 |
msgstr ""
|
5882 |
|
5883 |
-
#: includes/core/class-builtin.php:
|
5884 |
msgid "Tsonga"
|
5885 |
msgstr ""
|
5886 |
|
5887 |
-
#: includes/core/class-builtin.php:
|
5888 |
msgid "Tatar"
|
5889 |
msgstr ""
|
5890 |
|
5891 |
-
#: includes/core/class-builtin.php:
|
5892 |
msgid "Twi"
|
5893 |
msgstr ""
|
5894 |
|
5895 |
-
#: includes/core/class-builtin.php:
|
5896 |
msgid "Tahitian"
|
5897 |
msgstr ""
|
5898 |
|
5899 |
-
#: includes/core/class-builtin.php:
|
5900 |
msgid "Uighur"
|
5901 |
msgstr ""
|
5902 |
|
5903 |
-
#: includes/core/class-builtin.php:
|
5904 |
msgid "Ukrainian"
|
5905 |
msgstr ""
|
5906 |
|
5907 |
-
#: includes/core/class-builtin.php:
|
5908 |
msgid "Urdu"
|
5909 |
msgstr ""
|
5910 |
|
5911 |
-
#: includes/core/class-builtin.php:
|
5912 |
msgid "Uzbek"
|
5913 |
msgstr ""
|
5914 |
|
5915 |
-
#: includes/core/class-builtin.php:
|
5916 |
msgid "Venda"
|
5917 |
msgstr ""
|
5918 |
|
5919 |
-
#: includes/core/class-builtin.php:
|
5920 |
msgid "Vietnamese"
|
5921 |
msgstr ""
|
5922 |
|
5923 |
-
#: includes/core/class-builtin.php:
|
5924 |
msgid "Volapuk"
|
5925 |
msgstr ""
|
5926 |
|
5927 |
-
#: includes/core/class-builtin.php:
|
5928 |
msgid "Walloon"
|
5929 |
msgstr ""
|
5930 |
|
5931 |
-
#: includes/core/class-builtin.php:
|
5932 |
msgid "Wolof"
|
5933 |
msgstr ""
|
5934 |
|
5935 |
-
#: includes/core/class-builtin.php:
|
5936 |
msgid "Xhosa"
|
5937 |
msgstr ""
|
5938 |
|
5939 |
-
#: includes/core/class-builtin.php:
|
5940 |
msgid "Yiddish"
|
5941 |
msgstr ""
|
5942 |
|
5943 |
-
#: includes/core/class-builtin.php:
|
5944 |
msgid "Yoruba"
|
5945 |
msgstr ""
|
5946 |
|
5947 |
-
#: includes/core/class-builtin.php:
|
5948 |
msgid "Zhuang"
|
5949 |
msgstr ""
|
5950 |
|
5951 |
-
#: includes/core/class-builtin.php:
|
5952 |
msgid "Chinese"
|
5953 |
msgstr ""
|
5954 |
|
5955 |
-
#: includes/core/class-builtin.php:
|
5956 |
msgid "Zulu"
|
5957 |
msgstr ""
|
5958 |
|
5959 |
-
#: includes/core/class-builtin.php:
|
5960 |
msgid "Afghanistan"
|
5961 |
msgstr ""
|
5962 |
|
5963 |
-
#: includes/core/class-builtin.php:
|
5964 |
msgid "Åland Islands"
|
5965 |
msgstr ""
|
5966 |
|
5967 |
-
#: includes/core/class-builtin.php:
|
5968 |
msgid "Albania"
|
5969 |
msgstr ""
|
5970 |
|
5971 |
-
#: includes/core/class-builtin.php:
|
5972 |
msgid "Algeria"
|
5973 |
msgstr ""
|
5974 |
|
5975 |
-
#: includes/core/class-builtin.php:
|
5976 |
msgid "American Samoa"
|
5977 |
msgstr ""
|
5978 |
|
5979 |
-
#: includes/core/class-builtin.php:
|
5980 |
msgid "Andorra"
|
5981 |
msgstr ""
|
5982 |
|
5983 |
-
#: includes/core/class-builtin.php:
|
5984 |
msgid "Angola"
|
5985 |
msgstr ""
|
5986 |
|
5987 |
-
#: includes/core/class-builtin.php:
|
5988 |
msgid "Anguilla"
|
5989 |
msgstr ""
|
5990 |
|
5991 |
-
#: includes/core/class-builtin.php:
|
5992 |
msgid "Antarctica"
|
5993 |
msgstr ""
|
5994 |
|
5995 |
-
#: includes/core/class-builtin.php:
|
5996 |
msgid "Antigua and Barbuda"
|
5997 |
msgstr ""
|
5998 |
|
5999 |
-
#: includes/core/class-builtin.php:
|
6000 |
msgid "Argentina"
|
6001 |
msgstr ""
|
6002 |
|
6003 |
-
#: includes/core/class-builtin.php:
|
6004 |
msgid "Armenia"
|
6005 |
msgstr ""
|
6006 |
|
6007 |
-
#: includes/core/class-builtin.php:
|
6008 |
msgid "Aruba"
|
6009 |
msgstr ""
|
6010 |
|
6011 |
-
#: includes/core/class-builtin.php:
|
6012 |
msgid "Australia"
|
6013 |
msgstr ""
|
6014 |
|
6015 |
-
#: includes/core/class-builtin.php:
|
6016 |
msgid "Austria"
|
6017 |
msgstr ""
|
6018 |
|
6019 |
-
#: includes/core/class-builtin.php:
|
6020 |
msgid "Azerbaijan"
|
6021 |
msgstr ""
|
6022 |
|
6023 |
-
#: includes/core/class-builtin.php:
|
6024 |
msgid "Bahamas"
|
6025 |
msgstr ""
|
6026 |
|
6027 |
-
#: includes/core/class-builtin.php:
|
6028 |
msgid "Bahrain"
|
6029 |
msgstr ""
|
6030 |
|
6031 |
-
#: includes/core/class-builtin.php:
|
6032 |
msgid "Bangladesh"
|
6033 |
msgstr ""
|
6034 |
|
6035 |
-
#: includes/core/class-builtin.php:
|
6036 |
msgid "Barbados"
|
6037 |
msgstr ""
|
6038 |
|
6039 |
-
#: includes/core/class-builtin.php:
|
6040 |
msgid "Belarus"
|
6041 |
msgstr ""
|
6042 |
|
6043 |
-
#: includes/core/class-builtin.php:
|
6044 |
msgid "Belgium"
|
6045 |
msgstr ""
|
6046 |
|
6047 |
-
#: includes/core/class-builtin.php:
|
6048 |
msgid "Belize"
|
6049 |
msgstr ""
|
6050 |
|
6051 |
-
#: includes/core/class-builtin.php:
|
6052 |
msgid "Benin"
|
6053 |
msgstr ""
|
6054 |
|
6055 |
-
#: includes/core/class-builtin.php:
|
6056 |
msgid "Bermuda"
|
6057 |
msgstr ""
|
6058 |
|
6059 |
-
#: includes/core/class-builtin.php:
|
6060 |
msgid "Bhutan"
|
6061 |
msgstr ""
|
6062 |
|
6063 |
-
#: includes/core/class-builtin.php:
|
6064 |
msgid "Bolivia, Plurinational State of"
|
6065 |
msgstr ""
|
6066 |
|
6067 |
-
#: includes/core/class-builtin.php:
|
6068 |
msgid "Bosnia and Herzegovina"
|
6069 |
msgstr ""
|
6070 |
|
6071 |
-
#: includes/core/class-builtin.php:
|
6072 |
msgid "Botswana"
|
6073 |
msgstr ""
|
6074 |
|
6075 |
-
#: includes/core/class-builtin.php:
|
6076 |
msgid "Bouvet Island"
|
6077 |
msgstr ""
|
6078 |
|
6079 |
-
#: includes/core/class-builtin.php:
|
6080 |
msgid "Brazil"
|
6081 |
msgstr ""
|
6082 |
|
6083 |
-
#: includes/core/class-builtin.php:
|
6084 |
msgid "British Indian Ocean Territory"
|
6085 |
msgstr ""
|
6086 |
|
6087 |
-
#: includes/core/class-builtin.php:
|
6088 |
msgid "Brunei Darussalam"
|
6089 |
msgstr ""
|
6090 |
|
6091 |
-
#: includes/core/class-builtin.php:
|
6092 |
msgid "Bulgaria"
|
6093 |
msgstr ""
|
6094 |
|
6095 |
-
#: includes/core/class-builtin.php:
|
6096 |
msgid "Burkina Faso"
|
6097 |
msgstr ""
|
6098 |
|
6099 |
-
#: includes/core/class-builtin.php:
|
6100 |
msgid "Burundi"
|
6101 |
msgstr ""
|
6102 |
|
6103 |
-
#: includes/core/class-builtin.php:
|
6104 |
msgid "Cambodia"
|
6105 |
msgstr ""
|
6106 |
|
6107 |
-
#: includes/core/class-builtin.php:
|
6108 |
msgid "Cameroon"
|
6109 |
msgstr ""
|
6110 |
|
6111 |
-
#: includes/core/class-builtin.php:
|
6112 |
msgid "Canada"
|
6113 |
msgstr ""
|
6114 |
|
6115 |
-
#: includes/core/class-builtin.php:
|
6116 |
msgid "Cape Verde"
|
6117 |
msgstr ""
|
6118 |
|
6119 |
-
#: includes/core/class-builtin.php:
|
6120 |
msgid "Cayman Islands"
|
6121 |
msgstr ""
|
6122 |
|
6123 |
-
#: includes/core/class-builtin.php:
|
6124 |
msgid "Central African Republic"
|
6125 |
msgstr ""
|
6126 |
|
6127 |
-
#: includes/core/class-builtin.php:
|
6128 |
msgid "Chad"
|
6129 |
msgstr ""
|
6130 |
|
6131 |
-
#: includes/core/class-builtin.php:
|
6132 |
msgid "Chile"
|
6133 |
msgstr ""
|
6134 |
|
6135 |
-
#: includes/core/class-builtin.php:
|
6136 |
msgid "China"
|
6137 |
msgstr ""
|
6138 |
|
6139 |
-
#: includes/core/class-builtin.php:
|
6140 |
msgid "Christmas Island"
|
6141 |
msgstr ""
|
6142 |
|
6143 |
-
#: includes/core/class-builtin.php:
|
6144 |
msgid "Cocos (Keeling) Islands"
|
6145 |
msgstr ""
|
6146 |
|
6147 |
-
#: includes/core/class-builtin.php:
|
6148 |
msgid "Colombia"
|
6149 |
msgstr ""
|
6150 |
|
6151 |
-
#: includes/core/class-builtin.php:
|
6152 |
msgid "Comoros"
|
6153 |
msgstr ""
|
6154 |
|
6155 |
-
#: includes/core/class-builtin.php:
|
6156 |
msgid "Congo"
|
6157 |
msgstr ""
|
6158 |
|
6159 |
-
#: includes/core/class-builtin.php:
|
6160 |
msgid "Congo, the Democratic Republic of the"
|
6161 |
msgstr ""
|
6162 |
|
6163 |
-
#: includes/core/class-builtin.php:
|
6164 |
msgid "Cook Islands"
|
6165 |
msgstr ""
|
6166 |
|
6167 |
-
#: includes/core/class-builtin.php:
|
6168 |
msgid "Costa Rica"
|
6169 |
msgstr ""
|
6170 |
|
6171 |
-
#: includes/core/class-builtin.php:
|
6172 |
msgid "Côte d'Ivoire"
|
6173 |
msgstr ""
|
6174 |
|
6175 |
-
#: includes/core/class-builtin.php:
|
6176 |
msgid "Croatia"
|
6177 |
msgstr ""
|
6178 |
|
6179 |
-
#: includes/core/class-builtin.php:
|
6180 |
msgid "Cuba"
|
6181 |
msgstr ""
|
6182 |
|
6183 |
-
#: includes/core/class-builtin.php:
|
6184 |
msgid "Cyprus"
|
6185 |
msgstr ""
|
6186 |
|
6187 |
-
#: includes/core/class-builtin.php:
|
6188 |
msgid "Czech Republic"
|
6189 |
msgstr ""
|
6190 |
|
6191 |
-
#: includes/core/class-builtin.php:
|
6192 |
msgid "Denmark"
|
6193 |
msgstr ""
|
6194 |
|
6195 |
-
#: includes/core/class-builtin.php:
|
6196 |
msgid "Djibouti"
|
6197 |
msgstr ""
|
6198 |
|
6199 |
-
#: includes/core/class-builtin.php:
|
6200 |
msgid "Dominica"
|
6201 |
msgstr ""
|
6202 |
|
6203 |
-
#: includes/core/class-builtin.php:
|
6204 |
msgid "Dominican Republic"
|
6205 |
msgstr ""
|
6206 |
|
6207 |
-
#: includes/core/class-builtin.php:
|
6208 |
msgid "Ecuador"
|
6209 |
msgstr ""
|
6210 |
|
6211 |
-
#: includes/core/class-builtin.php:
|
6212 |
msgid "Egypt"
|
6213 |
msgstr ""
|
6214 |
|
6215 |
-
#: includes/core/class-builtin.php:
|
6216 |
msgid "El Salvador"
|
6217 |
msgstr ""
|
6218 |
|
6219 |
-
#: includes/core/class-builtin.php:
|
6220 |
msgid "Equatorial Guinea"
|
6221 |
msgstr ""
|
6222 |
|
6223 |
-
#: includes/core/class-builtin.php:
|
6224 |
msgid "Eritrea"
|
6225 |
msgstr ""
|
6226 |
|
6227 |
-
#: includes/core/class-builtin.php:
|
6228 |
msgid "Estonia"
|
6229 |
msgstr ""
|
6230 |
|
6231 |
-
#: includes/core/class-builtin.php:
|
6232 |
msgid "Ethiopia"
|
6233 |
msgstr ""
|
6234 |
|
6235 |
-
#: includes/core/class-builtin.php:
|
6236 |
msgid "Falkland Islands (Malvinas)"
|
6237 |
msgstr ""
|
6238 |
|
6239 |
-
#: includes/core/class-builtin.php:
|
6240 |
msgid "Faroe Islands"
|
6241 |
msgstr ""
|
6242 |
|
6243 |
-
#: includes/core/class-builtin.php:
|
6244 |
msgid "Fiji"
|
6245 |
msgstr ""
|
6246 |
|
6247 |
-
#: includes/core/class-builtin.php:
|
6248 |
msgid "Finland"
|
6249 |
msgstr ""
|
6250 |
|
6251 |
-
#: includes/core/class-builtin.php:
|
6252 |
msgid "France"
|
6253 |
msgstr ""
|
6254 |
|
6255 |
-
#: includes/core/class-builtin.php:
|
6256 |
msgid "French Guiana"
|
6257 |
msgstr ""
|
6258 |
|
6259 |
-
#: includes/core/class-builtin.php:
|
6260 |
msgid "French Polynesia"
|
6261 |
msgstr ""
|
6262 |
|
6263 |
-
#: includes/core/class-builtin.php:
|
6264 |
msgid "French Southern Territories"
|
6265 |
msgstr ""
|
6266 |
|
6267 |
-
#: includes/core/class-builtin.php:
|
6268 |
msgid "Gabon"
|
6269 |
msgstr ""
|
6270 |
|
6271 |
-
#: includes/core/class-builtin.php:
|
6272 |
msgid "Gambia"
|
6273 |
msgstr ""
|
6274 |
|
6275 |
-
#: includes/core/class-builtin.php:
|
6276 |
msgid "Georgia"
|
6277 |
msgstr ""
|
6278 |
|
6279 |
-
#: includes/core/class-builtin.php:
|
6280 |
msgid "Germany"
|
6281 |
msgstr ""
|
6282 |
|
6283 |
-
#: includes/core/class-builtin.php:
|
6284 |
msgid "Ghana"
|
6285 |
msgstr ""
|
6286 |
|
6287 |
-
#: includes/core/class-builtin.php:
|
6288 |
msgid "Gibraltar"
|
6289 |
msgstr ""
|
6290 |
|
6291 |
-
#: includes/core/class-builtin.php:
|
6292 |
msgid "Greece"
|
6293 |
msgstr ""
|
6294 |
|
6295 |
-
#: includes/core/class-builtin.php:
|
6296 |
msgid "Greenland"
|
6297 |
msgstr ""
|
6298 |
|
6299 |
-
#: includes/core/class-builtin.php:
|
6300 |
msgid "Grenada"
|
6301 |
msgstr ""
|
6302 |
|
6303 |
-
#: includes/core/class-builtin.php:
|
6304 |
msgid "Guadeloupe"
|
6305 |
msgstr ""
|
6306 |
|
6307 |
-
#: includes/core/class-builtin.php:
|
6308 |
msgid "Guam"
|
6309 |
msgstr ""
|
6310 |
|
6311 |
-
#: includes/core/class-builtin.php:
|
6312 |
msgid "Guatemala"
|
6313 |
msgstr ""
|
6314 |
|
6315 |
-
#: includes/core/class-builtin.php:
|
6316 |
msgid "Guernsey"
|
6317 |
msgstr ""
|
6318 |
|
6319 |
-
#: includes/core/class-builtin.php:
|
6320 |
msgid "Guinea"
|
6321 |
msgstr ""
|
6322 |
|
6323 |
-
#: includes/core/class-builtin.php:
|
6324 |
msgid "Guinea-Bissau"
|
6325 |
msgstr ""
|
6326 |
|
6327 |
-
#: includes/core/class-builtin.php:
|
6328 |
msgid "Guyana"
|
6329 |
msgstr ""
|
6330 |
|
6331 |
-
#: includes/core/class-builtin.php:
|
6332 |
msgid "Haiti"
|
6333 |
msgstr ""
|
6334 |
|
6335 |
-
#: includes/core/class-builtin.php:
|
6336 |
msgid "Heard Island and McDonald Islands"
|
6337 |
msgstr ""
|
6338 |
|
6339 |
-
#: includes/core/class-builtin.php:
|
6340 |
msgid "Holy See (Vatican City State)"
|
6341 |
msgstr ""
|
6342 |
|
6343 |
-
#: includes/core/class-builtin.php:
|
6344 |
msgid "Honduras"
|
6345 |
msgstr ""
|
6346 |
|
6347 |
-
#: includes/core/class-builtin.php:
|
6348 |
msgid "Hong Kong"
|
6349 |
msgstr ""
|
6350 |
|
6351 |
-
#: includes/core/class-builtin.php:
|
6352 |
msgid "Hungary"
|
6353 |
msgstr ""
|
6354 |
|
6355 |
-
#: includes/core/class-builtin.php:
|
6356 |
msgid "Iceland"
|
6357 |
msgstr ""
|
6358 |
|
6359 |
-
#: includes/core/class-builtin.php:
|
6360 |
msgid "India"
|
6361 |
msgstr ""
|
6362 |
|
6363 |
-
#: includes/core/class-builtin.php:
|
6364 |
msgid "Indonesia"
|
6365 |
msgstr ""
|
6366 |
|
6367 |
-
#: includes/core/class-builtin.php:
|
6368 |
msgid "Iran, Islamic Republic of"
|
6369 |
msgstr ""
|
6370 |
|
6371 |
-
#: includes/core/class-builtin.php:
|
6372 |
msgid "Iraq"
|
6373 |
msgstr ""
|
6374 |
|
6375 |
-
#: includes/core/class-builtin.php:
|
6376 |
msgid "Ireland"
|
6377 |
msgstr ""
|
6378 |
|
6379 |
-
#: includes/core/class-builtin.php:
|
6380 |
msgid "Isle of Man"
|
6381 |
msgstr ""
|
6382 |
|
6383 |
-
#: includes/core/class-builtin.php:
|
6384 |
msgid "Israel"
|
6385 |
msgstr ""
|
6386 |
|
6387 |
-
#: includes/core/class-builtin.php:
|
6388 |
msgid "Italy"
|
6389 |
msgstr ""
|
6390 |
|
6391 |
-
#: includes/core/class-builtin.php:
|
6392 |
msgid "Jamaica"
|
6393 |
msgstr ""
|
6394 |
|
6395 |
-
#: includes/core/class-builtin.php:
|
6396 |
msgid "Japan"
|
6397 |
msgstr ""
|
6398 |
|
6399 |
-
#: includes/core/class-builtin.php:
|
6400 |
msgid "Jersey"
|
6401 |
msgstr ""
|
6402 |
|
6403 |
-
#: includes/core/class-builtin.php:
|
6404 |
msgid "Jordan"
|
6405 |
msgstr ""
|
6406 |
|
6407 |
-
#: includes/core/class-builtin.php:
|
6408 |
msgid "Kazakhstan"
|
6409 |
msgstr ""
|
6410 |
|
6411 |
-
#: includes/core/class-builtin.php:
|
6412 |
msgid "Kenya"
|
6413 |
msgstr ""
|
6414 |
|
6415 |
-
#: includes/core/class-builtin.php:
|
6416 |
msgid "Kiribati"
|
6417 |
msgstr ""
|
6418 |
|
6419 |
-
#: includes/core/class-builtin.php:
|
6420 |
msgid "Korea, Democratic People's Republic of"
|
6421 |
msgstr ""
|
6422 |
|
6423 |
-
#: includes/core/class-builtin.php:
|
6424 |
msgid "Korea, Republic of"
|
6425 |
msgstr ""
|
6426 |
|
6427 |
-
#: includes/core/class-builtin.php:
|
6428 |
msgid "Kuwait"
|
6429 |
msgstr ""
|
6430 |
|
6431 |
-
#: includes/core/class-builtin.php:
|
6432 |
msgid "Kyrgyzstan"
|
6433 |
msgstr ""
|
6434 |
|
6435 |
-
#: includes/core/class-builtin.php:
|
6436 |
msgid "Lao People's Democratic Republic"
|
6437 |
msgstr ""
|
6438 |
|
6439 |
-
#: includes/core/class-builtin.php:
|
6440 |
msgid "Latvia"
|
6441 |
msgstr ""
|
6442 |
|
6443 |
-
#: includes/core/class-builtin.php:
|
6444 |
msgid "Lebanon"
|
6445 |
msgstr ""
|
6446 |
|
6447 |
-
#: includes/core/class-builtin.php:
|
6448 |
msgid "Lesotho"
|
6449 |
msgstr ""
|
6450 |
|
6451 |
-
#: includes/core/class-builtin.php:
|
6452 |
msgid "Liberia"
|
6453 |
msgstr ""
|
6454 |
|
6455 |
-
#: includes/core/class-builtin.php:
|
6456 |
msgid "Libyan Arab Jamahiriya"
|
6457 |
msgstr ""
|
6458 |
|
6459 |
-
#: includes/core/class-builtin.php:
|
6460 |
msgid "Liechtenstein"
|
6461 |
msgstr ""
|
6462 |
|
6463 |
-
#: includes/core/class-builtin.php:
|
6464 |
msgid "Lithuania"
|
6465 |
msgstr ""
|
6466 |
|
6467 |
-
#: includes/core/class-builtin.php:
|
6468 |
msgid "Luxembourg"
|
6469 |
msgstr ""
|
6470 |
|
6471 |
-
#: includes/core/class-builtin.php:
|
6472 |
msgid "Macao"
|
6473 |
msgstr ""
|
6474 |
|
6475 |
-
#: includes/core/class-builtin.php:
|
6476 |
msgid "Macedonia, the former Yugoslav Republic of"
|
6477 |
msgstr ""
|
6478 |
|
6479 |
-
#: includes/core/class-builtin.php:
|
6480 |
msgid "Madagascar"
|
6481 |
msgstr ""
|
6482 |
|
6483 |
-
#: includes/core/class-builtin.php:
|
6484 |
msgid "Malawi"
|
6485 |
msgstr ""
|
6486 |
|
6487 |
-
#: includes/core/class-builtin.php:
|
6488 |
msgid "Malaysia"
|
6489 |
msgstr ""
|
6490 |
|
6491 |
-
#: includes/core/class-builtin.php:
|
6492 |
msgid "Maldives"
|
6493 |
msgstr ""
|
6494 |
|
6495 |
-
#: includes/core/class-builtin.php:
|
6496 |
msgid "Mali"
|
6497 |
msgstr ""
|
6498 |
|
6499 |
-
#: includes/core/class-builtin.php:
|
6500 |
msgid "Malta"
|
6501 |
msgstr ""
|
6502 |
|
6503 |
-
#: includes/core/class-builtin.php:
|
6504 |
msgid "Marshall Islands"
|
6505 |
msgstr ""
|
6506 |
|
6507 |
-
#: includes/core/class-builtin.php:
|
6508 |
msgid "Martinique"
|
6509 |
msgstr ""
|
6510 |
|
6511 |
-
#: includes/core/class-builtin.php:
|
6512 |
msgid "Mauritania"
|
6513 |
msgstr ""
|
6514 |
|
6515 |
-
#: includes/core/class-builtin.php:
|
6516 |
msgid "Mauritius"
|
6517 |
msgstr ""
|
6518 |
|
6519 |
-
#: includes/core/class-builtin.php:
|
6520 |
msgid "Mayotte"
|
6521 |
msgstr ""
|
6522 |
|
6523 |
-
#: includes/core/class-builtin.php:
|
6524 |
msgid "Mexico"
|
6525 |
msgstr ""
|
6526 |
|
6527 |
-
#: includes/core/class-builtin.php:
|
6528 |
msgid "Micronesia, Federated States of"
|
6529 |
msgstr ""
|
6530 |
|
6531 |
-
#: includes/core/class-builtin.php:
|
6532 |
msgid "Moldova, Republic of"
|
6533 |
msgstr ""
|
6534 |
|
6535 |
-
#: includes/core/class-builtin.php:
|
6536 |
msgid "Monaco"
|
6537 |
msgstr ""
|
6538 |
|
6539 |
-
#: includes/core/class-builtin.php:
|
6540 |
msgid "Mongolia"
|
6541 |
msgstr ""
|
6542 |
|
6543 |
-
#: includes/core/class-builtin.php:
|
6544 |
msgid "Montenegro"
|
6545 |
msgstr ""
|
6546 |
|
6547 |
-
#: includes/core/class-builtin.php:
|
6548 |
msgid "Montserrat"
|
6549 |
msgstr ""
|
6550 |
|
6551 |
-
#: includes/core/class-builtin.php:
|
6552 |
msgid "Morocco"
|
6553 |
msgstr ""
|
6554 |
|
6555 |
-
#: includes/core/class-builtin.php:
|
6556 |
msgid "Mozambique"
|
6557 |
msgstr ""
|
6558 |
|
6559 |
-
#: includes/core/class-builtin.php:
|
6560 |
msgid "Myanmar"
|
6561 |
msgstr ""
|
6562 |
|
6563 |
-
#: includes/core/class-builtin.php:
|
6564 |
msgid "Namibia"
|
6565 |
msgstr ""
|
6566 |
|
6567 |
-
#: includes/core/class-builtin.php:
|
6568 |
msgid "Nepal"
|
6569 |
msgstr ""
|
6570 |
|
6571 |
-
#: includes/core/class-builtin.php:
|
6572 |
msgid "Netherlands"
|
6573 |
msgstr ""
|
6574 |
|
6575 |
-
#: includes/core/class-builtin.php:
|
6576 |
msgid "Netherlands Antilles"
|
6577 |
msgstr ""
|
6578 |
|
6579 |
-
#: includes/core/class-builtin.php:
|
6580 |
msgid "New Caledonia"
|
6581 |
msgstr ""
|
6582 |
|
6583 |
-
#: includes/core/class-builtin.php:
|
6584 |
msgid "New Zealand"
|
6585 |
msgstr ""
|
6586 |
|
6587 |
-
#: includes/core/class-builtin.php:
|
6588 |
msgid "Nicaragua"
|
6589 |
msgstr ""
|
6590 |
|
6591 |
-
#: includes/core/class-builtin.php:
|
6592 |
msgid "Niger"
|
6593 |
msgstr ""
|
6594 |
|
6595 |
-
#: includes/core/class-builtin.php:
|
6596 |
msgid "Nigeria"
|
6597 |
msgstr ""
|
6598 |
|
6599 |
-
#: includes/core/class-builtin.php:
|
6600 |
msgid "Niue"
|
6601 |
msgstr ""
|
6602 |
|
6603 |
-
#: includes/core/class-builtin.php:
|
6604 |
msgid "Norfolk Island"
|
6605 |
msgstr ""
|
6606 |
|
6607 |
-
#: includes/core/class-builtin.php:
|
6608 |
msgid "Northern Mariana Islands"
|
6609 |
msgstr ""
|
6610 |
|
6611 |
-
#: includes/core/class-builtin.php:
|
6612 |
msgid "Norway"
|
6613 |
msgstr ""
|
6614 |
|
6615 |
-
#: includes/core/class-builtin.php:
|
6616 |
msgid "Oman"
|
6617 |
msgstr ""
|
6618 |
|
6619 |
-
#: includes/core/class-builtin.php:
|
6620 |
msgid "Pakistan"
|
6621 |
msgstr ""
|
6622 |
|
6623 |
-
#: includes/core/class-builtin.php:
|
6624 |
msgid "Palau"
|
6625 |
msgstr ""
|
6626 |
|
6627 |
-
#: includes/core/class-builtin.php:
|
6628 |
msgid "Palestine"
|
6629 |
msgstr ""
|
6630 |
|
6631 |
-
#: includes/core/class-builtin.php:
|
6632 |
msgid "Panama"
|
6633 |
msgstr ""
|
6634 |
|
6635 |
-
#: includes/core/class-builtin.php:
|
6636 |
msgid "Papua New Guinea"
|
6637 |
msgstr ""
|
6638 |
|
6639 |
-
#: includes/core/class-builtin.php:
|
6640 |
msgid "Paraguay"
|
6641 |
msgstr ""
|
6642 |
|
6643 |
-
#: includes/core/class-builtin.php:
|
6644 |
msgid "Peru"
|
6645 |
msgstr ""
|
6646 |
|
6647 |
-
#: includes/core/class-builtin.php:
|
6648 |
msgid "Philippines"
|
6649 |
msgstr ""
|
6650 |
|
6651 |
-
#: includes/core/class-builtin.php:
|
6652 |
msgid "Pitcairn"
|
6653 |
msgstr ""
|
6654 |
|
6655 |
-
#: includes/core/class-builtin.php:
|
6656 |
msgid "Poland"
|
6657 |
msgstr ""
|
6658 |
|
6659 |
-
#: includes/core/class-builtin.php:
|
6660 |
msgid "Portugal"
|
6661 |
msgstr ""
|
6662 |
|
6663 |
-
#: includes/core/class-builtin.php:
|
6664 |
msgid "Puerto Rico"
|
6665 |
msgstr ""
|
6666 |
|
6667 |
-
#: includes/core/class-builtin.php:
|
6668 |
msgid "Qatar"
|
6669 |
msgstr ""
|
6670 |
|
6671 |
-
#: includes/core/class-builtin.php:
|
6672 |
msgid "Réunion"
|
6673 |
msgstr ""
|
6674 |
|
6675 |
-
#: includes/core/class-builtin.php:
|
6676 |
msgid "Romania"
|
6677 |
msgstr ""
|
6678 |
|
6679 |
-
#: includes/core/class-builtin.php:
|
6680 |
msgid "Russian Federation"
|
6681 |
msgstr ""
|
6682 |
|
6683 |
-
#: includes/core/class-builtin.php:
|
6684 |
msgid "Rwanda"
|
6685 |
msgstr ""
|
6686 |
|
6687 |
-
#: includes/core/class-builtin.php:
|
6688 |
msgid "Saint Barthélemy"
|
6689 |
msgstr ""
|
6690 |
|
6691 |
-
#: includes/core/class-builtin.php:
|
6692 |
msgid "Saint Helena"
|
6693 |
msgstr ""
|
6694 |
|
6695 |
-
#: includes/core/class-builtin.php:
|
6696 |
msgid "Saint Kitts and Nevis"
|
6697 |
msgstr ""
|
6698 |
|
6699 |
-
#: includes/core/class-builtin.php:
|
6700 |
msgid "Saint Lucia"
|
6701 |
msgstr ""
|
6702 |
|
6703 |
-
#: includes/core/class-builtin.php:
|
6704 |
msgid "Saint Martin (French part)"
|
6705 |
msgstr ""
|
6706 |
|
6707 |
-
#: includes/core/class-builtin.php:
|
6708 |
msgid "Saint Pierre and Miquelon"
|
6709 |
msgstr ""
|
6710 |
|
6711 |
-
#: includes/core/class-builtin.php:
|
6712 |
msgid "Saint Vincent and the Grenadines"
|
6713 |
msgstr ""
|
6714 |
|
6715 |
-
#: includes/core/class-builtin.php:
|
6716 |
msgid "Samoa"
|
6717 |
msgstr ""
|
6718 |
|
6719 |
-
#: includes/core/class-builtin.php:
|
6720 |
msgid "San Marino"
|
6721 |
msgstr ""
|
6722 |
|
6723 |
-
#: includes/core/class-builtin.php:
|
6724 |
msgid "Sao Tome and Principe"
|
6725 |
msgstr ""
|
6726 |
|
6727 |
-
#: includes/core/class-builtin.php:
|
6728 |
msgid "Saudi Arabia"
|
6729 |
msgstr ""
|
6730 |
|
6731 |
-
#: includes/core/class-builtin.php:
|
6732 |
msgid "Senegal"
|
6733 |
msgstr ""
|
6734 |
|
6735 |
-
#: includes/core/class-builtin.php:
|
6736 |
msgid "Serbia"
|
6737 |
msgstr ""
|
6738 |
|
6739 |
-
#: includes/core/class-builtin.php:
|
6740 |
msgid "Seychelles"
|
6741 |
msgstr ""
|
6742 |
|
6743 |
-
#: includes/core/class-builtin.php:
|
6744 |
msgid "Sierra Leone"
|
6745 |
msgstr ""
|
6746 |
|
6747 |
-
#: includes/core/class-builtin.php:
|
6748 |
msgid "Singapore"
|
6749 |
msgstr ""
|
6750 |
|
6751 |
-
#: includes/core/class-builtin.php:
|
6752 |
msgid "Slovakia"
|
6753 |
msgstr ""
|
6754 |
|
6755 |
-
#: includes/core/class-builtin.php:
|
6756 |
msgid "Slovenia"
|
6757 |
msgstr ""
|
6758 |
|
6759 |
-
#: includes/core/class-builtin.php:
|
6760 |
msgid "Solomon Islands"
|
6761 |
msgstr ""
|
6762 |
|
6763 |
-
#: includes/core/class-builtin.php:
|
6764 |
msgid "Somalia"
|
6765 |
msgstr ""
|
6766 |
|
6767 |
-
#: includes/core/class-builtin.php:
|
6768 |
msgid "South Africa"
|
6769 |
msgstr ""
|
6770 |
|
6771 |
-
#: includes/core/class-builtin.php:
|
6772 |
msgid "South Georgia and the South Sandwich Islands"
|
6773 |
msgstr ""
|
6774 |
|
6775 |
-
#: includes/core/class-builtin.php:
|
6776 |
msgid "South Sudan"
|
6777 |
msgstr ""
|
6778 |
|
6779 |
-
#: includes/core/class-builtin.php:
|
6780 |
msgid "Spain"
|
6781 |
msgstr ""
|
6782 |
|
6783 |
-
#: includes/core/class-builtin.php:
|
6784 |
msgid "Sri Lanka"
|
6785 |
msgstr ""
|
6786 |
|
6787 |
-
#: includes/core/class-builtin.php:
|
6788 |
msgid "Sudan"
|
6789 |
msgstr ""
|
6790 |
|
6791 |
-
#: includes/core/class-builtin.php:
|
6792 |
msgid "Suriname"
|
6793 |
msgstr ""
|
6794 |
|
6795 |
-
#: includes/core/class-builtin.php:
|
6796 |
msgid "Svalbard and Jan Mayen"
|
6797 |
msgstr ""
|
6798 |
|
6799 |
-
#: includes/core/class-builtin.php:
|
6800 |
msgid "Swaziland"
|
6801 |
msgstr ""
|
6802 |
|
6803 |
-
#: includes/core/class-builtin.php:
|
6804 |
msgid "Sweden"
|
6805 |
msgstr ""
|
6806 |
|
6807 |
-
#: includes/core/class-builtin.php:
|
6808 |
msgid "Switzerland"
|
6809 |
msgstr ""
|
6810 |
|
6811 |
-
#: includes/core/class-builtin.php:
|
6812 |
msgid "Syrian Arab Republic"
|
6813 |
msgstr ""
|
6814 |
|
6815 |
-
#: includes/core/class-builtin.php:
|
6816 |
msgid "Taiwan, Province of China"
|
6817 |
msgstr ""
|
6818 |
|
6819 |
-
#: includes/core/class-builtin.php:
|
6820 |
msgid "Tajikistan"
|
6821 |
msgstr ""
|
6822 |
|
6823 |
-
#: includes/core/class-builtin.php:
|
6824 |
msgid "Tanzania, United Republic of"
|
6825 |
msgstr ""
|
6826 |
|
6827 |
-
#: includes/core/class-builtin.php:
|
6828 |
msgid "Thailand"
|
6829 |
msgstr ""
|
6830 |
|
6831 |
-
#: includes/core/class-builtin.php:
|
6832 |
msgid "Timor-Leste"
|
6833 |
msgstr ""
|
6834 |
|
6835 |
-
#: includes/core/class-builtin.php:
|
6836 |
msgid "Togo"
|
6837 |
msgstr ""
|
6838 |
|
6839 |
-
#: includes/core/class-builtin.php:
|
6840 |
msgid "Tokelau"
|
6841 |
msgstr ""
|
6842 |
|
6843 |
-
#: includes/core/class-builtin.php:
|
6844 |
msgid "Trinidad and Tobago"
|
6845 |
msgstr ""
|
6846 |
|
6847 |
-
#: includes/core/class-builtin.php:
|
6848 |
msgid "Tunisia"
|
6849 |
msgstr ""
|
6850 |
|
6851 |
-
#: includes/core/class-builtin.php:
|
6852 |
msgid "Turkey"
|
6853 |
msgstr ""
|
6854 |
|
6855 |
-
#: includes/core/class-builtin.php:
|
6856 |
msgid "Turkmenistan"
|
6857 |
msgstr ""
|
6858 |
|
6859 |
-
#: includes/core/class-builtin.php:
|
6860 |
msgid "Turks and Caicos Islands"
|
6861 |
msgstr ""
|
6862 |
|
6863 |
-
#: includes/core/class-builtin.php:
|
6864 |
msgid "Tuvalu"
|
6865 |
msgstr ""
|
6866 |
|
6867 |
-
#: includes/core/class-builtin.php:
|
6868 |
msgid "Uganda"
|
6869 |
msgstr ""
|
6870 |
|
6871 |
-
#: includes/core/class-builtin.php:
|
6872 |
msgid "Ukraine"
|
6873 |
msgstr ""
|
6874 |
|
6875 |
-
#: includes/core/class-builtin.php:
|
6876 |
msgid "United Arab Emirates"
|
6877 |
msgstr ""
|
6878 |
|
6879 |
-
#: includes/core/class-builtin.php:
|
6880 |
msgid "United Kingdom"
|
6881 |
msgstr ""
|
6882 |
|
6883 |
-
#: includes/core/class-builtin.php:
|
6884 |
msgid "United States"
|
6885 |
msgstr ""
|
6886 |
|
6887 |
-
#: includes/core/class-builtin.php:
|
6888 |
msgid "United States Minor Outlying Islands"
|
6889 |
msgstr ""
|
6890 |
|
6891 |
-
#: includes/core/class-builtin.php:
|
6892 |
msgid "Uruguay"
|
6893 |
msgstr ""
|
6894 |
|
6895 |
-
#: includes/core/class-builtin.php:
|
6896 |
msgid "Uzbekistan"
|
6897 |
msgstr ""
|
6898 |
|
6899 |
-
#: includes/core/class-builtin.php:
|
6900 |
msgid "Vanuatu"
|
6901 |
msgstr ""
|
6902 |
|
6903 |
-
#: includes/core/class-builtin.php:
|
6904 |
msgid "Venezuela, Bolivarian Republic of"
|
6905 |
msgstr ""
|
6906 |
|
6907 |
-
#: includes/core/class-builtin.php:
|
6908 |
msgid "Viet Nam"
|
6909 |
msgstr ""
|
6910 |
|
6911 |
-
#: includes/core/class-builtin.php:
|
6912 |
msgid "Virgin Islands, British"
|
6913 |
msgstr ""
|
6914 |
|
6915 |
-
#: includes/core/class-builtin.php:
|
6916 |
msgid "Virgin Islands, U.S."
|
6917 |
msgstr ""
|
6918 |
|
6919 |
-
#: includes/core/class-builtin.php:
|
6920 |
msgid "Wallis and Futuna"
|
6921 |
msgstr ""
|
6922 |
|
6923 |
-
#: includes/core/class-builtin.php:
|
6924 |
msgid "Western Sahara"
|
6925 |
msgstr ""
|
6926 |
|
6927 |
-
#: includes/core/class-builtin.php:
|
6928 |
msgid "Yemen"
|
6929 |
msgstr ""
|
6930 |
|
6931 |
-
#: includes/core/class-builtin.php:
|
6932 |
msgid "Zambia"
|
6933 |
msgstr ""
|
6934 |
|
6935 |
-
#: includes/core/class-builtin.php:
|
6936 |
msgid "Zimbabwe"
|
6937 |
msgstr ""
|
6938 |
|
6939 |
-
#: includes/core/class-common.php:59
|
|
|
6940 |
msgid "Form"
|
6941 |
msgstr ""
|
6942 |
|
@@ -7033,101 +7046,101 @@ msgstr ""
|
|
7033 |
msgid "Add translation to %s"
|
7034 |
msgstr ""
|
7035 |
|
7036 |
-
#: includes/core/class-fields.php:
|
7037 |
#, php-format
|
7038 |
msgid "%s"
|
7039 |
msgstr ""
|
7040 |
|
7041 |
-
#: includes/core/class-fields.php:
|
7042 |
msgid "Custom Field"
|
7043 |
msgstr ""
|
7044 |
|
7045 |
-
#: includes/core/class-fields.php:
|
7046 |
msgid "Please upload a valid image!"
|
7047 |
msgstr ""
|
7048 |
|
7049 |
-
#: includes/core/class-fields.php:
|
7050 |
msgid "Sorry this is not a valid image."
|
7051 |
msgstr ""
|
7052 |
|
7053 |
-
#: includes/core/class-fields.php:
|
7054 |
msgid "This image is too large!"
|
7055 |
msgstr ""
|
7056 |
|
7057 |
-
#: includes/core/class-fields.php:
|
7058 |
msgid "This image is too small!"
|
7059 |
msgstr ""
|
7060 |
|
7061 |
-
#: includes/core/class-fields.php:
|
7062 |
msgid "You can only upload one image"
|
7063 |
msgstr ""
|
7064 |
|
7065 |
-
#: includes/core/class-fields.php:
|
7066 |
msgid "Sorry this is not a valid file."
|
7067 |
msgstr ""
|
7068 |
|
7069 |
-
#: includes/core/class-fields.php:
|
7070 |
msgid "This file is too large!"
|
7071 |
msgstr ""
|
7072 |
|
7073 |
-
#: includes/core/class-fields.php:
|
7074 |
msgid "This file is too small!"
|
7075 |
msgstr ""
|
7076 |
|
7077 |
-
#: includes/core/class-fields.php:
|
7078 |
msgid "You can only upload one file"
|
7079 |
msgstr ""
|
7080 |
|
7081 |
-
#: includes/core/class-fields.php:
|
7082 |
msgid "Current Password"
|
7083 |
msgstr ""
|
7084 |
|
7085 |
-
#: includes/core/class-fields.php:
|
7086 |
msgid "New Password"
|
7087 |
msgstr ""
|
7088 |
|
7089 |
-
#: includes/core/class-fields.php:
|
7090 |
#, php-format
|
7091 |
msgid "Confirm %s"
|
7092 |
msgstr ""
|
7093 |
|
7094 |
-
#: includes/core/class-fields.php:
|
7095 |
msgid "Upload Photo"
|
7096 |
msgstr ""
|
7097 |
|
7098 |
-
#: includes/core/class-fields.php:
|
7099 |
#: includes/core/um-actions-profile.php:905
|
7100 |
msgid "Change photo"
|
7101 |
msgstr ""
|
7102 |
|
7103 |
-
#: includes/core/class-fields.php:
|
7104 |
msgid "Processing..."
|
7105 |
msgstr ""
|
7106 |
|
7107 |
-
#: includes/core/class-fields.php:
|
7108 |
msgid "Upload File"
|
7109 |
msgstr ""
|
7110 |
|
7111 |
-
#: includes/core/class-fields.php:
|
7112 |
msgid "This file has been removed."
|
7113 |
msgstr ""
|
7114 |
|
7115 |
-
#: includes/core/class-fields.php:
|
7116 |
msgid "Change file"
|
7117 |
msgstr ""
|
7118 |
|
7119 |
-
#: includes/core/class-fields.php:
|
7120 |
msgid "Save"
|
7121 |
msgstr ""
|
7122 |
|
7123 |
-
#: includes/core/class-fields.php:
|
7124 |
#, php-format
|
7125 |
msgid ""
|
7126 |
"Your profile is looking a little empty. Why not <a href=\"%s\">add</a> some "
|
7127 |
"information!"
|
7128 |
msgstr ""
|
7129 |
|
7130 |
-
#: includes/core/class-fields.php:
|
7131 |
msgid "This user has not added any information to their profile yet."
|
7132 |
msgstr ""
|
7133 |
|
@@ -7139,13 +7152,13 @@ msgstr ""
|
|
7139 |
msgid "Wrong mode"
|
7140 |
msgstr ""
|
7141 |
|
7142 |
-
#: includes/core/class-files.php:284 includes/core/class-files.php:
|
7143 |
-
#: includes/core/class-files.php:
|
7144 |
-
msgid "You
|
7145 |
msgstr ""
|
7146 |
|
7147 |
#: includes/core/class-files.php:299
|
7148 |
-
msgid "You
|
7149 |
msgstr ""
|
7150 |
|
7151 |
#: includes/core/class-files.php:319
|
@@ -7156,19 +7169,19 @@ msgstr ""
|
|
7156 |
msgid "Invalid coordinates"
|
7157 |
msgstr ""
|
7158 |
|
7159 |
-
#: includes/core/class-files.php:
|
7160 |
msgid "Invalid file ownership"
|
7161 |
msgstr ""
|
7162 |
|
7163 |
-
#: includes/core/class-files.php:
|
7164 |
msgid "Invalid nonce"
|
7165 |
msgstr ""
|
7166 |
|
7167 |
-
#: includes/core/class-files.php:
|
7168 |
msgid "A theme or plugin compatibility issue"
|
7169 |
msgstr ""
|
7170 |
|
7171 |
-
#: includes/core/class-files.php:
|
7172 |
msgid "Original size"
|
7173 |
msgstr ""
|
7174 |
|
@@ -7230,27 +7243,27 @@ msgstr ""
|
|
7230 |
msgid "User Registered"
|
7231 |
msgstr ""
|
7232 |
|
7233 |
-
#: includes/core/class-member-directory.php:
|
7234 |
-
#: includes/core/class-member-directory.php:
|
7235 |
msgid " stars"
|
7236 |
msgstr ""
|
7237 |
|
7238 |
-
#: includes/core/class-member-directory.php:
|
7239 |
msgid "<strong>Age:</strong> {value} years old"
|
7240 |
msgstr ""
|
7241 |
|
7242 |
-
#: includes/core/class-member-directory.php:
|
7243 |
msgid "<strong>Age:</strong> {min_range} - {max_range} years old"
|
7244 |
msgstr ""
|
7245 |
|
7246 |
-
#: includes/core/class-member-directory.php:
|
7247 |
-
#: includes/core/class-member-directory.php:
|
7248 |
#: includes/core/um-actions-profile.php:1227
|
7249 |
#: includes/core/um-actions-profile.php:1258
|
7250 |
msgid "Edit Profile"
|
7251 |
msgstr ""
|
7252 |
|
7253 |
-
#: includes/core/class-member-directory.php:
|
7254 |
#: includes/core/um-actions-profile.php:1259
|
7255 |
msgid "My Account"
|
7256 |
msgstr ""
|
@@ -7355,11 +7368,11 @@ msgid ""
|
|
7355 |
"\"{login_referrer}\">login</a> to view this content."
|
7356 |
msgstr ""
|
7357 |
|
7358 |
-
#: includes/core/class-shortcodes.php:
|
7359 |
msgid "You are already registered"
|
7360 |
msgstr ""
|
7361 |
|
7362 |
-
#: includes/core/class-shortcodes.php:
|
7363 |
msgid "Default Template"
|
7364 |
msgstr ""
|
7365 |
|
@@ -7657,65 +7670,69 @@ msgstr ""
|
|
7657 |
|
7658 |
#: includes/core/um-actions-form.php:612 includes/core/um-actions-form.php:618
|
7659 |
#: includes/core/um-actions-form.php:624 includes/core/um-actions-form.php:630
|
7660 |
-
#: includes/core/um-actions-form.php:
|
7661 |
-
#: includes/core/um-actions-form.php:
|
7662 |
-
#: includes/core/um-actions-form.php:666
|
7663 |
#, php-format
|
7664 |
msgid "Please enter a valid %s username or profile URL"
|
7665 |
msgstr ""
|
7666 |
|
7667 |
-
#: includes/core/um-actions-form.php:
|
|
|
|
|
|
|
|
|
|
|
7668 |
msgid "Please enter a valid URL"
|
7669 |
msgstr ""
|
7670 |
|
7671 |
-
#: includes/core/um-actions-form.php:
|
7672 |
msgid "You must provide a username"
|
7673 |
msgstr ""
|
7674 |
|
7675 |
-
#: includes/core/um-actions-form.php:
|
7676 |
msgid "Your username is already taken"
|
7677 |
msgstr ""
|
7678 |
|
7679 |
-
#: includes/core/um-actions-form.php:
|
7680 |
msgid "Username cannot be an email"
|
7681 |
msgstr ""
|
7682 |
|
7683 |
-
#: includes/core/um-actions-form.php:
|
7684 |
msgid "Your username contains invalid characters"
|
7685 |
msgstr ""
|
7686 |
|
7687 |
-
#: includes/core/um-actions-form.php:
|
7688 |
-
#: includes/core/um-actions-form.php:
|
7689 |
-
#: includes/core/um-actions-form.php:
|
7690 |
msgid "This email is already linked to an existing account"
|
7691 |
msgstr ""
|
7692 |
|
7693 |
-
#: includes/core/um-actions-form.php:
|
7694 |
msgid "You must provide your email"
|
7695 |
msgstr ""
|
7696 |
|
7697 |
-
#: includes/core/um-actions-form.php:
|
7698 |
#: includes/core/um-actions-form.php:750
|
7699 |
msgid "This is not a valid email"
|
7700 |
msgstr ""
|
7701 |
|
7702 |
-
#: includes/core/um-actions-form.php:
|
7703 |
msgid "Your email contains invalid characters"
|
7704 |
msgstr ""
|
7705 |
|
7706 |
-
#: includes/core/um-actions-form.php:
|
7707 |
msgid "You must provide a unique value"
|
7708 |
msgstr ""
|
7709 |
|
7710 |
-
#: includes/core/um-actions-form.php:
|
7711 |
msgid "You must provide alphabetic letters"
|
7712 |
msgstr ""
|
7713 |
|
7714 |
-
#: includes/core/um-actions-form.php:
|
7715 |
msgid "You must provide lowercase letters."
|
7716 |
msgstr ""
|
7717 |
|
7718 |
-
#: includes/core/um-actions-form.php:
|
7719 |
#, php-format
|
7720 |
msgid "Your user description must contain less than %s characters"
|
7721 |
msgstr ""
|
@@ -7878,14 +7895,24 @@ msgstr ""
|
|
7878 |
msgid "Login as this user"
|
7879 |
msgstr ""
|
7880 |
|
7881 |
-
#: includes/um-short-functions.php:
|
7882 |
msgid "date submitted"
|
7883 |
msgstr ""
|
7884 |
|
7885 |
-
#: includes/um-short-functions.php:
|
|
|
7886 |
msgid "(empty)"
|
7887 |
msgstr ""
|
7888 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
7889 |
#: includes/widgets/class-um-search-widget.php:27
|
7890 |
msgid "Ultimate Member - Search"
|
7891 |
msgstr ""
|
@@ -7910,36 +7937,52 @@ msgstr ""
|
|
7910 |
msgid "of"
|
7911 |
msgstr ""
|
7912 |
|
7913 |
-
#: templates/members.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
7914 |
msgid "Search:"
|
7915 |
msgstr ""
|
7916 |
|
7917 |
-
#: templates/members.php:
|
7918 |
msgid "Search"
|
7919 |
msgstr ""
|
7920 |
|
7921 |
-
#: templates/members.php:
|
7922 |
#, php-format
|
7923 |
msgid "Change to %s"
|
7924 |
msgstr ""
|
7925 |
|
7926 |
-
#: templates/members.php:
|
7927 |
msgid "Sort by:"
|
7928 |
msgstr ""
|
7929 |
|
7930 |
-
#: templates/members.php:
|
7931 |
msgid "More filters"
|
7932 |
msgstr ""
|
7933 |
|
7934 |
-
#: templates/members.php:
|
7935 |
msgid "Remove filter"
|
7936 |
msgstr ""
|
7937 |
|
7938 |
-
#: templates/members.php:
|
7939 |
msgid "Remove all filters"
|
7940 |
msgstr ""
|
7941 |
|
7942 |
-
#: templates/members.php:
|
7943 |
msgid "Clear all"
|
7944 |
msgstr ""
|
7945 |
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Ultimate Member\n"
|
4 |
+
"POT-Creation-Date: 2020-02-24 10:26+0200\n"
|
5 |
+
"PO-Revision-Date: 2020-02-24 10:26+0200\n"
|
6 |
"Last-Translator: \n"
|
7 |
"Language-Team: \n"
|
8 |
"Language: en_US\n"
|
103 |
#: includes/admin/core/class-admin-builder.php:765
|
104 |
#: includes/admin/core/class-admin-dragdrop.php:33
|
105 |
#: includes/admin/core/class-admin-menu.php:106
|
106 |
+
#: includes/core/class-fields.php:4535
|
107 |
msgid "Please login as administrator"
|
108 |
msgstr ""
|
109 |
|
145 |
msgstr ""
|
146 |
|
147 |
#: includes/admin/core/class-admin-builder.php:554
|
148 |
+
#: includes/admin/core/class-admin-enqueue.php:497
|
149 |
#: includes/admin/core/list-tables/roles-list-table.php:342
|
150 |
#: includes/admin/core/list-tables/roles-list-table.php:410
|
151 |
msgid "Delete"
|
164 |
msgstr ""
|
165 |
|
166 |
#: includes/admin/core/class-admin-builder.php:880
|
167 |
+
#: includes/core/class-builtin.php:1341
|
168 |
msgid "None"
|
169 |
msgstr ""
|
170 |
|
177 |
msgstr ""
|
178 |
|
179 |
#: includes/admin/core/class-admin-builder.php:931
|
180 |
+
#: includes/admin/core/class-admin-builder.php:1005
|
181 |
msgid "This field type is not setup correcty."
|
182 |
msgstr ""
|
183 |
|
184 |
+
#: includes/admin/core/class-admin-builder.php:1171
|
185 |
+
#: includes/core/class-form.php:176 includes/core/class-form.php:396
|
186 |
#: includes/core/class-password.php:535
|
187 |
msgid "This is not possible for security reasons."
|
188 |
msgstr ""
|
193 |
|
194 |
#: includes/admin/core/class-admin-columns.php:131
|
195 |
#: includes/admin/core/class-admin-columns.php:151
|
196 |
+
#: includes/admin/core/class-admin-metabox.php:2138
|
197 |
+
#: includes/admin/templates/role/role-edit.php:193
|
198 |
#: includes/widgets/class-um-search-widget.php:81
|
199 |
msgid "Title"
|
200 |
msgstr ""
|
219 |
|
220 |
#: includes/admin/core/class-admin-columns.php:135
|
221 |
#: includes/admin/core/class-admin-columns.php:154
|
222 |
+
#: includes/admin/core/class-admin-metabox.php:807
|
223 |
+
#: includes/admin/core/class-admin-metabox.php:969
|
224 |
msgid "Shortcode"
|
225 |
msgstr ""
|
226 |
|
249 |
#: includes/admin/templates/form/register_customize.php:23
|
250 |
#: includes/admin/templates/form/register_customize.php:79
|
251 |
#: includes/admin/templates/form/register_gdpr.php:26
|
252 |
+
#: includes/core/class-builtin.php:1144 includes/core/class-builtin.php:1160
|
253 |
+
#: includes/core/class-builtin.php:1161
|
254 |
#: includes/core/um-actions-account.php:277
|
255 |
msgid "No"
|
256 |
msgstr ""
|
277 |
#: includes/admin/templates/form/register_customize.php:24
|
278 |
#: includes/admin/templates/form/register_customize.php:80
|
279 |
#: includes/admin/templates/form/register_gdpr.php:27
|
280 |
+
#: includes/core/class-builtin.php:1145 includes/core/class-builtin.php:1161
|
281 |
#: includes/core/class-user.php:212 includes/core/class-user.php:213
|
282 |
#: includes/core/um-actions-account.php:272
|
283 |
msgid "Yes"
|
284 |
msgstr ""
|
285 |
|
286 |
+
#: includes/admin/core/class-admin-enqueue.php:192
|
287 |
msgid "e.g. Member Directory"
|
288 |
msgstr ""
|
289 |
|
290 |
+
#: includes/admin/core/class-admin-enqueue.php:194
|
291 |
msgid "e.g. New Registration Form"
|
292 |
msgstr ""
|
293 |
|
294 |
+
#: includes/admin/core/class-admin-enqueue.php:485
|
295 |
+
#: includes/core/class-builtin.php:706 includes/core/class-builtin.php:709
|
296 |
+
#: includes/core/class-builtin.php:1166 includes/core/class-builtin.php:1169
|
297 |
#: includes/core/um-actions-account.php:501
|
298 |
#: includes/core/um-actions-account.php:524
|
299 |
msgid "Password"
|
300 |
msgstr ""
|
301 |
|
302 |
+
#: includes/admin/core/class-admin-enqueue.php:489
|
303 |
+
#: includes/admin/core/class-admin-metabox.php:2250
|
304 |
#: includes/core/class-account.php:109
|
305 |
msgid "Privacy"
|
306 |
msgstr ""
|
307 |
|
308 |
+
#: includes/admin/core/class-admin-enqueue.php:493
|
309 |
#: includes/core/class-account.php:115
|
310 |
msgid "Notifications"
|
311 |
msgstr ""
|
312 |
|
313 |
+
#: includes/admin/core/class-admin-enqueue.php:547
|
314 |
msgid "Ultimate Member Blocks"
|
315 |
msgstr ""
|
316 |
|
320 |
msgstr ""
|
321 |
|
322 |
#: includes/admin/core/class-admin-forms.php:526
|
323 |
+
#: includes/admin/core/class-admin-metabox.php:1428
|
324 |
+
#: includes/admin/core/class-admin-metabox.php:1456
|
325 |
msgid "Choose Icon"
|
326 |
msgstr ""
|
327 |
|
328 |
#: includes/admin/core/class-admin-forms.php:532
|
329 |
+
#: includes/admin/core/class-admin-metabox.php:1430
|
330 |
+
#: includes/admin/core/class-admin-metabox.php:1458
|
331 |
msgid "No Icon"
|
332 |
msgstr ""
|
333 |
|
334 |
+
#: includes/admin/core/class-admin-forms.php:893
|
335 |
#: includes/admin/core/class-admin-upgrade.php:255
|
336 |
msgid "Run"
|
337 |
msgstr ""
|
338 |
|
339 |
+
#: includes/admin/core/class-admin-forms.php:1033
|
340 |
+
#: includes/admin/core/class-admin-forms.php:1052
|
341 |
+
#: includes/admin/core/class-admin-forms.php:1178
|
342 |
+
#: includes/admin/core/class-admin-forms.php:1187
|
343 |
+
#: includes/admin/core/class-admin-forms.php:1422
|
344 |
+
#: includes/admin/core/class-admin-forms.php:1436
|
345 |
+
#: includes/admin/core/class-admin-forms.php:1527
|
346 |
+
#: includes/admin/core/class-admin-forms.php:1549
|
347 |
#: includes/admin/core/class-admin-notices.php:398
|
348 |
#: includes/core/um-actions-profile.php:673
|
349 |
msgid "Remove"
|
350 |
msgstr ""
|
351 |
|
352 |
+
#: includes/admin/core/class-admin-forms.php:1234
|
353 |
msgid "Select media"
|
354 |
msgstr ""
|
355 |
|
356 |
+
#: includes/admin/core/class-admin-forms.php:1257
|
357 |
msgid "Select"
|
358 |
msgstr ""
|
359 |
|
360 |
+
#: includes/admin/core/class-admin-forms.php:1258
|
361 |
msgid "Clear"
|
362 |
msgstr ""
|
363 |
|
364 |
+
#: includes/admin/core/class-admin-forms.php:1528
|
365 |
+
#: includes/admin/core/class-admin-forms.php:1550
|
366 |
#: includes/admin/templates/directory/sorting.php:23
|
367 |
msgid "Meta key"
|
368 |
msgstr ""
|
369 |
|
370 |
+
#: includes/admin/core/class-admin-forms.php:1529
|
371 |
+
#: includes/admin/core/class-admin-forms.php:1551
|
372 |
+
#: includes/admin/core/class-admin-metabox.php:2230
|
373 |
msgid "Label"
|
374 |
msgstr ""
|
375 |
|
527 |
msgid "Upgrade's Manual Request"
|
528 |
msgstr ""
|
529 |
|
530 |
+
#: includes/admin/core/class-admin-metabox.php:224
|
531 |
msgid "UM Content Restriction"
|
532 |
msgstr ""
|
533 |
|
534 |
+
#: includes/admin/core/class-admin-metabox.php:380
|
535 |
+
#: includes/admin/core/class-admin-metabox.php:531
|
536 |
#: includes/admin/templates/access/restrict_content.php:53
|
537 |
msgid "Restrict access to this content?"
|
538 |
msgstr ""
|
539 |
|
540 |
+
#: includes/admin/core/class-admin-metabox.php:381
|
541 |
+
#: includes/admin/core/class-admin-metabox.php:388
|
542 |
+
#: includes/admin/core/class-admin-metabox.php:401
|
543 |
+
#: includes/admin/core/class-admin-metabox.php:532
|
544 |
+
#: includes/admin/core/class-admin-metabox.php:540
|
545 |
+
#: includes/admin/core/class-admin-metabox.php:554
|
546 |
#: includes/admin/templates/access/restrict_content.php:54
|
547 |
#: includes/admin/templates/access/restrict_content.php:61
|
548 |
#: includes/admin/templates/access/restrict_content.php:74
|
549 |
msgid "Activate content restriction for this post"
|
550 |
msgstr ""
|
551 |
|
552 |
+
#: includes/admin/core/class-admin-metabox.php:387
|
553 |
+
#: includes/admin/core/class-admin-metabox.php:539
|
554 |
#: includes/admin/templates/access/restrict_content.php:60
|
555 |
msgid "Who can access this content?"
|
556 |
msgstr ""
|
557 |
|
558 |
+
#: includes/admin/core/class-admin-metabox.php:391
|
559 |
+
#: includes/admin/core/class-admin-metabox.php:543
|
560 |
+
#: includes/admin/core/class-admin-metabox.php:2252
|
561 |
#: includes/admin/core/class-admin-navmenu.php:141
|
562 |
#: includes/admin/templates/access/restrict_content.php:64
|
563 |
+
#: includes/core/class-builtin.php:670
|
564 |
msgid "Everyone"
|
565 |
msgstr ""
|
566 |
|
567 |
+
#: includes/admin/core/class-admin-metabox.php:392
|
568 |
+
#: includes/admin/core/class-admin-metabox.php:544
|
569 |
#: includes/admin/templates/access/restrict_content.php:65
|
570 |
msgid "Logged out users"
|
571 |
msgstr ""
|
572 |
|
573 |
+
#: includes/admin/core/class-admin-metabox.php:393
|
574 |
+
#: includes/admin/core/class-admin-metabox.php:545
|
575 |
#: includes/admin/templates/access/restrict_content.php:66
|
576 |
msgid "Logged in users"
|
577 |
msgstr ""
|
578 |
|
579 |
+
#: includes/admin/core/class-admin-metabox.php:400
|
580 |
+
#: includes/admin/core/class-admin-metabox.php:553
|
581 |
#: includes/admin/templates/access/restrict_content.php:73
|
582 |
msgid "Select which roles can access this content"
|
583 |
msgstr ""
|
584 |
|
585 |
+
#: includes/admin/core/class-admin-metabox.php:409
|
586 |
+
#: includes/admin/core/class-admin-metabox.php:564
|
587 |
#: includes/admin/templates/access/restrict_content.php:83
|
588 |
msgid "What happens when users without access tries to view the content?"
|
589 |
msgstr ""
|
590 |
|
591 |
+
#: includes/admin/core/class-admin-metabox.php:410
|
592 |
+
#: includes/admin/core/class-admin-metabox.php:422
|
593 |
+
#: includes/admin/core/class-admin-metabox.php:565
|
594 |
+
#: includes/admin/core/class-admin-metabox.php:578
|
595 |
#: includes/admin/templates/access/restrict_content.php:84
|
596 |
#: includes/admin/templates/access/restrict_content.php:96
|
597 |
msgid "Action when users without access tries to view the content"
|
598 |
msgstr ""
|
599 |
|
600 |
+
#: includes/admin/core/class-admin-metabox.php:413
|
601 |
+
#: includes/admin/core/class-admin-metabox.php:568
|
602 |
#: includes/admin/templates/access/restrict_content.php:87
|
603 |
msgid "Show access restricted message"
|
604 |
msgstr ""
|
605 |
|
606 |
+
#: includes/admin/core/class-admin-metabox.php:414
|
607 |
+
#: includes/admin/core/class-admin-metabox.php:569
|
608 |
#: includes/admin/templates/access/restrict_content.php:88
|
609 |
msgid "Redirect user"
|
610 |
msgstr ""
|
611 |
|
612 |
+
#: includes/admin/core/class-admin-metabox.php:421
|
613 |
+
#: includes/admin/core/class-admin-metabox.php:577
|
614 |
#: includes/admin/templates/access/restrict_content.php:95
|
615 |
msgid ""
|
616 |
"Would you like to use the global default message or apply a custom message "
|
617 |
"to this content?"
|
618 |
msgstr ""
|
619 |
|
620 |
+
#: includes/admin/core/class-admin-metabox.php:425
|
621 |
+
#: includes/admin/core/class-admin-metabox.php:581
|
622 |
#: includes/admin/templates/access/restrict_content.php:99
|
623 |
msgid "Global default message (default)"
|
624 |
msgstr ""
|
625 |
|
626 |
+
#: includes/admin/core/class-admin-metabox.php:426
|
627 |
+
#: includes/admin/core/class-admin-metabox.php:582
|
628 |
#: includes/admin/templates/access/restrict_content.php:100
|
629 |
msgid "Custom message"
|
630 |
msgstr ""
|
631 |
|
632 |
+
#: includes/admin/core/class-admin-metabox.php:433
|
633 |
+
#: includes/admin/core/class-admin-metabox.php:590
|
634 |
#: includes/admin/templates/access/restrict_content.php:107
|
635 |
msgid "Custom Restrict Content message"
|
636 |
msgstr ""
|
637 |
|
638 |
+
#: includes/admin/core/class-admin-metabox.php:434
|
639 |
+
#: includes/admin/core/class-admin-metabox.php:454
|
640 |
+
#: includes/admin/core/class-admin-metabox.php:591
|
641 |
+
#: includes/admin/core/class-admin-metabox.php:613
|
642 |
#: includes/admin/templates/access/restrict_content.php:108
|
643 |
#: includes/admin/templates/access/restrict_content.php:128
|
644 |
msgid "Changed global restrict message"
|
645 |
msgstr ""
|
646 |
|
647 |
+
#: includes/admin/core/class-admin-metabox.php:441
|
648 |
+
#: includes/admin/core/class-admin-metabox.php:599
|
649 |
#: includes/admin/templates/access/restrict_content.php:115
|
650 |
msgid "Where should users be redirected to?"
|
651 |
msgstr ""
|
652 |
|
653 |
+
#: includes/admin/core/class-admin-metabox.php:442
|
654 |
+
#: includes/admin/core/class-admin-metabox.php:600
|
655 |
#: includes/admin/templates/access/restrict_content.php:116
|
656 |
msgid "Select redirect to page when user hasn't access to content"
|
657 |
msgstr ""
|
658 |
|
659 |
+
#: includes/admin/core/class-admin-metabox.php:446
|
660 |
+
#: includes/admin/core/class-admin-metabox.php:604
|
661 |
#: includes/admin/templates/access/restrict_content.php:120
|
662 |
msgid "Login page"
|
663 |
msgstr ""
|
664 |
|
665 |
+
#: includes/admin/core/class-admin-metabox.php:447
|
666 |
+
#: includes/admin/core/class-admin-metabox.php:605
|
667 |
#: includes/admin/templates/access/restrict_content.php:121
|
668 |
msgid "Custom URL"
|
669 |
msgstr ""
|
670 |
|
671 |
+
#: includes/admin/core/class-admin-metabox.php:453
|
672 |
+
#: includes/admin/core/class-admin-metabox.php:612
|
673 |
#: includes/admin/templates/access/restrict_content.php:127
|
674 |
msgid "Redirect URL"
|
675 |
msgstr ""
|
676 |
|
677 |
+
#: includes/admin/core/class-admin-metabox.php:461
|
678 |
+
#: includes/admin/core/class-admin-metabox.php:621
|
679 |
#: includes/admin/templates/access/restrict_content.php:135
|
680 |
msgid "Hide from queries"
|
681 |
msgstr ""
|
682 |
|
683 |
+
#: includes/admin/core/class-admin-metabox.php:462
|
684 |
+
#: includes/admin/core/class-admin-metabox.php:622
|
685 |
#: includes/admin/templates/access/restrict_content.php:136
|
686 |
msgid ""
|
687 |
"Hide this content from archives, RSS feeds etc for users who do not have "
|
688 |
"permission to view this content"
|
689 |
msgstr ""
|
690 |
|
691 |
+
#: includes/admin/core/class-admin-metabox.php:802
|
692 |
msgid "General Options"
|
693 |
msgstr ""
|
694 |
|
695 |
+
#: includes/admin/core/class-admin-metabox.php:803
|
696 |
msgid "Sorting"
|
697 |
msgstr ""
|
698 |
|
699 |
+
#: includes/admin/core/class-admin-metabox.php:804
|
700 |
msgid "Profile Card"
|
701 |
msgstr ""
|
702 |
|
703 |
+
#: includes/admin/core/class-admin-metabox.php:805
|
704 |
msgid "Search Options"
|
705 |
msgstr ""
|
706 |
|
707 |
+
#: includes/admin/core/class-admin-metabox.php:806
|
708 |
msgid "Results & Pagination"
|
709 |
msgstr ""
|
710 |
|
711 |
+
#: includes/admin/core/class-admin-metabox.php:808
|
712 |
msgid "Styling: General"
|
713 |
msgstr ""
|
714 |
|
715 |
+
#: includes/admin/core/class-admin-metabox.php:821
|
716 |
msgid "Administrative Permissions"
|
717 |
msgstr ""
|
718 |
|
719 |
+
#: includes/admin/core/class-admin-metabox.php:829
|
720 |
msgid "General Permissions"
|
721 |
msgstr ""
|
722 |
|
723 |
+
#: includes/admin/core/class-admin-metabox.php:837
|
724 |
msgid "Profile Access"
|
725 |
msgstr ""
|
726 |
|
727 |
+
#: includes/admin/core/class-admin-metabox.php:848
|
728 |
msgid "Homepage Options"
|
729 |
msgstr ""
|
730 |
|
731 |
+
#: includes/admin/core/class-admin-metabox.php:859
|
732 |
msgid "Registration Options"
|
733 |
msgstr ""
|
734 |
|
735 |
+
#: includes/admin/core/class-admin-metabox.php:867
|
736 |
msgid "Login Options"
|
737 |
msgstr ""
|
738 |
|
739 |
+
#: includes/admin/core/class-admin-metabox.php:875
|
740 |
msgid "Logout Options"
|
741 |
msgstr ""
|
742 |
|
743 |
+
#: includes/admin/core/class-admin-metabox.php:883
|
744 |
msgid "Delete Options"
|
745 |
msgstr ""
|
746 |
|
747 |
+
#: includes/admin/core/class-admin-metabox.php:891
|
748 |
msgid "Publish"
|
749 |
msgstr ""
|
750 |
|
751 |
+
#: includes/admin/core/class-admin-metabox.php:940
|
752 |
msgid "WP Capabilities"
|
753 |
msgstr ""
|
754 |
|
755 |
+
#: includes/admin/core/class-admin-metabox.php:967
|
756 |
msgid "Select Form Type"
|
757 |
msgstr ""
|
758 |
|
759 |
+
#: includes/admin/core/class-admin-metabox.php:968
|
760 |
msgid "Form Builder"
|
761 |
msgstr ""
|
762 |
|
763 |
+
#: includes/admin/core/class-admin-metabox.php:971
|
764 |
+
#: includes/admin/core/class-admin-metabox.php:992
|
765 |
+
#: includes/admin/core/class-admin-metabox.php:1014
|
766 |
msgid "Customize this form"
|
767 |
msgstr ""
|
768 |
|
769 |
+
#: includes/admin/core/class-admin-metabox.php:993
|
770 |
msgid "User Meta"
|
771 |
msgstr ""
|
772 |
|
773 |
+
#: includes/admin/core/class-admin-metabox.php:1015
|
774 |
msgid "Options"
|
775 |
msgstr ""
|
776 |
|
777 |
+
#: includes/admin/core/class-admin-metabox.php:1249
|
778 |
msgid "Visibility"
|
779 |
msgstr ""
|
780 |
|
781 |
+
#: includes/admin/core/class-admin-metabox.php:1249
|
782 |
msgid ""
|
783 |
"Select where this field should appear. This option should only be changed on "
|
784 |
"the profile form and allows you to show a field in one mode only (edit or "
|
785 |
"view) or in both modes."
|
786 |
msgstr ""
|
787 |
|
788 |
+
#: includes/admin/core/class-admin-metabox.php:1251
|
789 |
msgid "View everywhere"
|
790 |
msgstr ""
|
791 |
|
792 |
+
#: includes/admin/core/class-admin-metabox.php:1252
|
793 |
msgid "Edit mode only"
|
794 |
msgstr ""
|
795 |
|
796 |
+
#: includes/admin/core/class-admin-metabox.php:1253
|
797 |
msgid "View mode only"
|
798 |
msgstr ""
|
799 |
|
800 |
+
#: includes/admin/core/class-admin-metabox.php:1281
|
801 |
msgid "If"
|
802 |
msgstr ""
|
803 |
|
804 |
+
#: includes/admin/core/class-admin-metabox.php:1358
|
805 |
msgid "Value"
|
806 |
msgstr ""
|
807 |
|
808 |
+
#: includes/admin/core/class-admin-metabox.php:1367
|
809 |
msgid "Validate"
|
810 |
msgstr ""
|
811 |
|
812 |
+
#: includes/admin/core/class-admin-metabox.php:1367
|
813 |
msgid "Does this field require a special validation"
|
814 |
msgstr ""
|
815 |
|
816 |
+
#: includes/admin/core/class-admin-metabox.php:1368
|
817 |
msgid "Select a validation type..."
|
818 |
msgstr ""
|
819 |
|
820 |
+
#: includes/admin/core/class-admin-metabox.php:1412
|
821 |
msgid "Custom Action"
|
822 |
msgstr ""
|
823 |
|
824 |
+
#: includes/admin/core/class-admin-metabox.php:1412
|
825 |
msgid ""
|
826 |
"If you want to apply your custom validation, you can use action hooks to add "
|
827 |
"custom validation. Please refer to documentation for further details."
|
828 |
msgstr ""
|
829 |
|
830 |
+
#: includes/admin/core/class-admin-metabox.php:1426
|
831 |
+
#: includes/admin/core/class-admin-metabox.php:1454
|
832 |
msgid "Icon"
|
833 |
msgstr ""
|
834 |
|
835 |
+
#: includes/admin/core/class-admin-metabox.php:1426
|
836 |
+
#: includes/admin/core/class-admin-metabox.php:1454
|
837 |
msgid ""
|
838 |
"Select an icon to appear in the field. Leave blank if you do not want an "
|
839 |
"icon to show in the field."
|
840 |
msgstr ""
|
841 |
|
842 |
+
#: includes/admin/core/class-admin-metabox.php:1481
|
843 |
msgid "CSS Class"
|
844 |
msgstr ""
|
845 |
|
846 |
+
#: includes/admin/core/class-admin-metabox.php:1481
|
847 |
msgid "Specify a custom CSS class to be applied to this element"
|
848 |
msgstr ""
|
849 |
|
850 |
+
#: includes/admin/core/class-admin-metabox.php:1491
|
851 |
msgid "Thickness (in pixels)"
|
852 |
msgstr ""
|
853 |
|
854 |
+
#: includes/admin/core/class-admin-metabox.php:1491
|
855 |
msgid "This is the width in pixels, e.g. 4 or 2, etc"
|
856 |
msgstr ""
|
857 |
|
858 |
+
#: includes/admin/core/class-admin-metabox.php:1501
|
859 |
msgid "Optional Text"
|
860 |
msgstr ""
|
861 |
|
862 |
+
#: includes/admin/core/class-admin-metabox.php:1501
|
863 |
msgid "Optional text to include with the divider"
|
864 |
msgstr ""
|
865 |
|
866 |
+
#: includes/admin/core/class-admin-metabox.php:1511
|
867 |
msgid "Padding"
|
868 |
msgstr ""
|
869 |
|
870 |
+
#: includes/admin/core/class-admin-metabox.php:1511
|
871 |
msgid "Set padding for this section"
|
872 |
msgstr ""
|
873 |
|
874 |
+
#: includes/admin/core/class-admin-metabox.php:1521
|
875 |
msgid "Margin"
|
876 |
msgstr ""
|
877 |
|
878 |
+
#: includes/admin/core/class-admin-metabox.php:1521
|
879 |
msgid "Set margin for this section"
|
880 |
msgstr ""
|
881 |
|
882 |
+
#: includes/admin/core/class-admin-metabox.php:1531
|
883 |
msgid "Border"
|
884 |
msgstr ""
|
885 |
|
886 |
+
#: includes/admin/core/class-admin-metabox.php:1531
|
887 |
msgid "Set border for this section"
|
888 |
msgstr ""
|
889 |
|
890 |
+
#: includes/admin/core/class-admin-metabox.php:1541
|
891 |
+
#: includes/admin/core/class-admin-metabox.php:1712
|
892 |
msgid "Style"
|
893 |
msgstr ""
|
894 |
|
895 |
+
#: includes/admin/core/class-admin-metabox.php:1541
|
896 |
msgid "Choose the border style"
|
897 |
msgstr ""
|
898 |
|
899 |
+
#: includes/admin/core/class-admin-metabox.php:1543
|
900 |
+
#: includes/admin/core/class-admin-metabox.php:1714
|
901 |
msgid "Solid"
|
902 |
msgstr ""
|
903 |
|
904 |
+
#: includes/admin/core/class-admin-metabox.php:1544
|
905 |
+
#: includes/admin/core/class-admin-metabox.php:1715
|
906 |
msgid "Dotted"
|
907 |
msgstr ""
|
908 |
|
909 |
+
#: includes/admin/core/class-admin-metabox.php:1545
|
910 |
+
#: includes/admin/core/class-admin-metabox.php:1716
|
911 |
msgid "Dashed"
|
912 |
msgstr ""
|
913 |
|
914 |
+
#: includes/admin/core/class-admin-metabox.php:1546
|
915 |
+
#: includes/admin/core/class-admin-metabox.php:1717
|
916 |
msgid "Double"
|
917 |
msgstr ""
|
918 |
|
919 |
+
#: includes/admin/core/class-admin-metabox.php:1556
|
920 |
msgid "Border Radius"
|
921 |
msgstr ""
|
922 |
|
923 |
+
#: includes/admin/core/class-admin-metabox.php:1556
|
924 |
msgid "Rounded corners can be applied by setting a pixels value here. e.g. 5px"
|
925 |
msgstr ""
|
926 |
|
927 |
+
#: includes/admin/core/class-admin-metabox.php:1566
|
928 |
msgid "Border Color"
|
929 |
msgstr ""
|
930 |
|
931 |
+
#: includes/admin/core/class-admin-metabox.php:1566
|
932 |
msgid "Give a color to this border"
|
933 |
msgstr ""
|
934 |
|
935 |
+
#: includes/admin/core/class-admin-metabox.php:1576
|
936 |
msgid "Enable Row Heading"
|
937 |
msgstr ""
|
938 |
|
939 |
+
#: includes/admin/core/class-admin-metabox.php:1576
|
940 |
msgid "Whether to enable a heading for this row"
|
941 |
msgstr ""
|
942 |
|
943 |
+
#: includes/admin/core/class-admin-metabox.php:1586
|
944 |
msgid "Heading Text"
|
945 |
msgstr ""
|
946 |
|
947 |
+
#: includes/admin/core/class-admin-metabox.php:1586
|
948 |
msgid "Enter the row heading text here"
|
949 |
msgstr ""
|
950 |
|
951 |
+
#: includes/admin/core/class-admin-metabox.php:1596
|
952 |
msgid "Background Color"
|
953 |
msgstr ""
|
954 |
|
955 |
+
#: includes/admin/core/class-admin-metabox.php:1596
|
956 |
msgid "This will be the background of entire section"
|
957 |
msgstr ""
|
958 |
|
959 |
+
#: includes/admin/core/class-admin-metabox.php:1606
|
960 |
msgid "Heading Background Color"
|
961 |
msgstr ""
|
962 |
|
963 |
+
#: includes/admin/core/class-admin-metabox.php:1606
|
964 |
msgid "This will be the background of the heading section"
|
965 |
msgstr ""
|
966 |
|
967 |
+
#: includes/admin/core/class-admin-metabox.php:1616
|
968 |
msgid "Heading Text Color"
|
969 |
msgstr ""
|
970 |
|
971 |
+
#: includes/admin/core/class-admin-metabox.php:1616
|
972 |
msgid "This will be the text color of heading part only"
|
973 |
msgstr ""
|
974 |
|
975 |
+
#: includes/admin/core/class-admin-metabox.php:1626
|
976 |
msgid "Text Color"
|
977 |
msgstr ""
|
978 |
|
979 |
+
#: includes/admin/core/class-admin-metabox.php:1626
|
980 |
msgid "This will be the text color of entire section"
|
981 |
msgstr ""
|
982 |
|
983 |
+
#: includes/admin/core/class-admin-metabox.php:1636
|
984 |
msgid "Icon Color"
|
985 |
msgstr ""
|
986 |
|
987 |
+
#: includes/admin/core/class-admin-metabox.php:1636
|
988 |
msgid ""
|
989 |
"This will be the color of selected icon. By default It will be the same "
|
990 |
"color as heading text color"
|
991 |
msgstr ""
|
992 |
|
993 |
+
#: includes/admin/core/class-admin-metabox.php:1646
|
994 |
msgid "Color"
|
995 |
msgstr ""
|
996 |
|
997 |
+
#: includes/admin/core/class-admin-metabox.php:1646
|
998 |
msgid "Select a color for this divider"
|
999 |
msgstr ""
|
1000 |
|
1001 |
+
#: includes/admin/core/class-admin-metabox.php:1656
|
1002 |
msgid "URL Alt Text"
|
1003 |
msgstr ""
|
1004 |
|
1005 |
+
#: includes/admin/core/class-admin-metabox.php:1656
|
1006 |
msgid "Entering custom text here will replace the url with a text link"
|
1007 |
msgstr ""
|
1008 |
|
1009 |
+
#: includes/admin/core/class-admin-metabox.php:1666
|
1010 |
msgid "Link Target"
|
1011 |
msgstr ""
|
1012 |
|
1013 |
+
#: includes/admin/core/class-admin-metabox.php:1666
|
1014 |
msgid "Choose whether to open this link in same window or in a new window"
|
1015 |
msgstr ""
|
1016 |
|
1017 |
+
#: includes/admin/core/class-admin-metabox.php:1668
|
1018 |
msgid "Open in new window"
|
1019 |
msgstr ""
|
1020 |
|
1021 |
+
#: includes/admin/core/class-admin-metabox.php:1669
|
1022 |
msgid "Same window"
|
1023 |
msgstr ""
|
1024 |
|
1025 |
+
#: includes/admin/core/class-admin-metabox.php:1679
|
1026 |
msgid "SEO Follow"
|
1027 |
msgstr ""
|
1028 |
|
1029 |
+
#: includes/admin/core/class-admin-metabox.php:1679
|
1030 |
msgid "Whether to follow or nofollow this link by search engines"
|
1031 |
msgstr ""
|
1032 |
|
1033 |
+
#: includes/admin/core/class-admin-metabox.php:1681
|
1034 |
msgid "Follow"
|
1035 |
msgstr ""
|
1036 |
|
1037 |
+
#: includes/admin/core/class-admin-metabox.php:1682
|
1038 |
msgid "No-Follow"
|
1039 |
msgstr ""
|
1040 |
|
1041 |
+
#: includes/admin/core/class-admin-metabox.php:1692
|
1042 |
msgid "Force strong password?"
|
1043 |
msgstr ""
|
1044 |
|
1045 |
+
#: includes/admin/core/class-admin-metabox.php:1692
|
1046 |
msgid ""
|
1047 |
"Turn on to force users to create a strong password (A combination of one "
|
1048 |
"lowercase letter, one uppercase letter, and one number). If turned on this "
|
1049 |
"option is only applied to register forms and not to login forms."
|
1050 |
msgstr ""
|
1051 |
|
1052 |
+
#: includes/admin/core/class-admin-metabox.php:1702
|
1053 |
msgid "Automatically add a confirm password field?"
|
1054 |
msgstr ""
|
1055 |
|
1056 |
+
#: includes/admin/core/class-admin-metabox.php:1702
|
1057 |
msgid ""
|
1058 |
"Turn on to add a confirm password field. If turned on the confirm password "
|
1059 |
"field will only show on register forms and not on login forms."
|
1060 |
msgstr ""
|
1061 |
|
1062 |
+
#: includes/admin/core/class-admin-metabox.php:1712
|
1063 |
msgid "This is the line-style of divider"
|
1064 |
msgstr ""
|
1065 |
|
1066 |
+
#: includes/admin/core/class-admin-metabox.php:1728
|
1067 |
msgid "Time Intervals (in minutes)"
|
1068 |
msgstr ""
|
1069 |
|
1070 |
+
#: includes/admin/core/class-admin-metabox.php:1728
|
1071 |
msgid "Choose the minutes interval between each time in the time picker."
|
1072 |
msgstr ""
|
1073 |
|
1074 |
+
#: includes/admin/core/class-admin-metabox.php:1729
|
1075 |
msgid "e.g. 30, 60, 120"
|
1076 |
msgstr ""
|
1077 |
|
1078 |
+
#: includes/admin/core/class-admin-metabox.php:1741
|
1079 |
msgid "Date User-Friendly Format"
|
1080 |
msgstr ""
|
1081 |
|
1082 |
+
#: includes/admin/core/class-admin-metabox.php:1741
|
1083 |
msgid "The display format of the date which is visible to user."
|
1084 |
msgstr ""
|
1085 |
|
1086 |
+
#: includes/admin/core/class-admin-metabox.php:1752
|
1087 |
msgid "Time Format"
|
1088 |
msgstr ""
|
1089 |
|
1090 |
+
#: includes/admin/core/class-admin-metabox.php:1752
|
1091 |
msgid "Choose the displayed time-format for this field"
|
1092 |
msgstr ""
|
1093 |
|
1094 |
+
#: includes/admin/core/class-admin-metabox.php:1754
|
1095 |
+
#: includes/admin/core/class-admin-metabox.php:1755
|
1096 |
msgid "( 12-hr format )"
|
1097 |
msgstr ""
|
1098 |
|
1099 |
+
#: includes/admin/core/class-admin-metabox.php:1756
|
1100 |
msgid "( 24-hr format )"
|
1101 |
msgstr ""
|
1102 |
|
1103 |
+
#: includes/admin/core/class-admin-metabox.php:1767
|
1104 |
msgid "Use custom Date format"
|
1105 |
msgstr ""
|
1106 |
|
1107 |
+
#: includes/admin/core/class-admin-metabox.php:1767
|
1108 |
msgid ""
|
1109 |
"This option overrides \"Date User-Friendly Format\" option. See https://www."
|
1110 |
"php.net/manual/en/function.date.php"
|
1111 |
msgstr ""
|
1112 |
|
1113 |
+
#: includes/admin/core/class-admin-metabox.php:1777
|
1114 |
msgid "Displayed Date Format"
|
1115 |
msgstr ""
|
1116 |
|
1117 |
+
#: includes/admin/core/class-admin-metabox.php:1777
|
1118 |
msgid ""
|
1119 |
"Whether you wish to show the date in full or only show the years e.g. 25 "
|
1120 |
"Years"
|
1121 |
msgstr ""
|
1122 |
|
1123 |
+
#: includes/admin/core/class-admin-metabox.php:1779
|
1124 |
msgid "Show full date"
|
1125 |
msgstr ""
|
1126 |
|
1127 |
+
#: includes/admin/core/class-admin-metabox.php:1780
|
1128 |
msgid "Show years only"
|
1129 |
msgstr ""
|
1130 |
|
1131 |
+
#: includes/admin/core/class-admin-metabox.php:1796
|
1132 |
msgid "Disable specific weekdays"
|
1133 |
msgstr ""
|
1134 |
|
1135 |
+
#: includes/admin/core/class-admin-metabox.php:1796
|
1136 |
msgid ""
|
1137 |
"Disable specific week days from being available for selection in this date "
|
1138 |
"picker"
|
1139 |
msgstr ""
|
1140 |
|
1141 |
+
#: includes/admin/core/class-admin-metabox.php:1798
|
1142 |
msgid "Sunday"
|
1143 |
msgstr ""
|
1144 |
|
1145 |
+
#: includes/admin/core/class-admin-metabox.php:1799
|
1146 |
msgid "Monday"
|
1147 |
msgstr ""
|
1148 |
|
1149 |
+
#: includes/admin/core/class-admin-metabox.php:1800
|
1150 |
msgid "Tuesday"
|
1151 |
msgstr ""
|
1152 |
|
1153 |
+
#: includes/admin/core/class-admin-metabox.php:1801
|
1154 |
msgid "Wednesday"
|
1155 |
msgstr ""
|
1156 |
|
1157 |
+
#: includes/admin/core/class-admin-metabox.php:1802
|
1158 |
msgid "Thursday"
|
1159 |
msgstr ""
|
1160 |
|
1161 |
+
#: includes/admin/core/class-admin-metabox.php:1803
|
1162 |
msgid "Friday"
|
1163 |
msgstr ""
|
1164 |
|
1165 |
+
#: includes/admin/core/class-admin-metabox.php:1804
|
1166 |
msgid "Saturday"
|
1167 |
msgstr ""
|
1168 |
|
1169 |
+
#: includes/admin/core/class-admin-metabox.php:1814
|
1170 |
msgid "Number of Years to pick from"
|
1171 |
msgstr ""
|
1172 |
|
1173 |
+
#: includes/admin/core/class-admin-metabox.php:1814
|
1174 |
msgid ""
|
1175 |
"Number of years available for the date selection. Default to last 50 years"
|
1176 |
msgstr ""
|
1177 |
|
1178 |
+
#: includes/admin/core/class-admin-metabox.php:1824
|
1179 |
msgid "Years Selection"
|
1180 |
msgstr ""
|
1181 |
|
1182 |
+
#: includes/admin/core/class-admin-metabox.php:1824
|
1183 |
msgid "This decides which years should be shown relative to today date"
|
1184 |
msgstr ""
|
1185 |
|
1186 |
+
#: includes/admin/core/class-admin-metabox.php:1826
|
1187 |
msgid "Equal years before / after today"
|
1188 |
msgstr ""
|
1189 |
|
1190 |
+
#: includes/admin/core/class-admin-metabox.php:1827
|
1191 |
msgid "Past years only"
|
1192 |
msgstr ""
|
1193 |
|
1194 |
+
#: includes/admin/core/class-admin-metabox.php:1828
|
1195 |
msgid "Future years only"
|
1196 |
msgstr ""
|
1197 |
|
1198 |
+
#: includes/admin/core/class-admin-metabox.php:1838
|
1199 |
msgid "Date Range Start"
|
1200 |
msgstr ""
|
1201 |
|
1202 |
+
#: includes/admin/core/class-admin-metabox.php:1838
|
1203 |
msgid "Set the minimum date/day in range in the format YYYY/MM/DD"
|
1204 |
msgstr ""
|
1205 |
|
1206 |
+
#: includes/admin/core/class-admin-metabox.php:1839
|
1207 |
+
#: includes/admin/core/class-admin-metabox.php:1849
|
1208 |
msgid "YYYY/MM/DD"
|
1209 |
msgstr ""
|
1210 |
|
1211 |
+
#: includes/admin/core/class-admin-metabox.php:1848
|
1212 |
msgid "Date Range End"
|
1213 |
msgstr ""
|
1214 |
|
1215 |
+
#: includes/admin/core/class-admin-metabox.php:1848
|
1216 |
msgid "Set the maximum date/day in range in the format YYYY/MM/DD"
|
1217 |
msgstr ""
|
1218 |
|
1219 |
+
#: includes/admin/core/class-admin-metabox.php:1858
|
1220 |
msgid "Set Date Range"
|
1221 |
msgstr ""
|
1222 |
|
1223 |
+
#: includes/admin/core/class-admin-metabox.php:1858
|
1224 |
msgid ""
|
1225 |
"Whether to show a specific number of years or specify a date range to be "
|
1226 |
"available for the date picker."
|
1227 |
msgstr ""
|
1228 |
|
1229 |
+
#: includes/admin/core/class-admin-metabox.php:1860
|
1230 |
msgid "Fixed Number of Years"
|
1231 |
msgstr ""
|
1232 |
|
1233 |
+
#: includes/admin/core/class-admin-metabox.php:1861
|
1234 |
msgid "Specific Date Range"
|
1235 |
msgstr ""
|
1236 |
|
1237 |
+
#: includes/admin/core/class-admin-metabox.php:1874
|
1238 |
msgid "Enter Shortcode"
|
1239 |
msgstr ""
|
1240 |
|
1241 |
+
#: includes/admin/core/class-admin-metabox.php:1874
|
1242 |
msgid ""
|
1243 |
"Enter the shortcode in the following textarea and it will be displayed on "
|
1244 |
"the fields"
|
1245 |
msgstr ""
|
1246 |
|
1247 |
+
#: includes/admin/core/class-admin-metabox.php:1875
|
1248 |
msgid "e.g. [my_custom_shortcode]"
|
1249 |
msgstr ""
|
1250 |
|
1251 |
+
#: includes/admin/core/class-admin-metabox.php:1884
|
1252 |
msgid "Content Editor"
|
1253 |
msgstr ""
|
1254 |
|
1255 |
+
#: includes/admin/core/class-admin-metabox.php:1884
|
1256 |
msgid "Edit the content of this field here"
|
1257 |
msgstr ""
|
1258 |
|
1259 |
+
#: includes/admin/core/class-admin-metabox.php:1897
|
1260 |
msgid "Crop Feature"
|
1261 |
msgstr ""
|
1262 |
|
1263 |
+
#: includes/admin/core/class-admin-metabox.php:1897
|
1264 |
msgid "Enable/disable crop feature for this image upload and define ratio"
|
1265 |
msgstr ""
|
1266 |
|
1267 |
+
#: includes/admin/core/class-admin-metabox.php:1899
|
1268 |
msgid "Turn Off (Default)"
|
1269 |
msgstr ""
|
1270 |
|
1271 |
+
#: includes/admin/core/class-admin-metabox.php:1900
|
1272 |
msgid "Crop and force 1:1 ratio"
|
1273 |
msgstr ""
|
1274 |
|
1275 |
+
#: includes/admin/core/class-admin-metabox.php:1901
|
1276 |
msgid "Crop and force user-defined ratio"
|
1277 |
msgstr ""
|
1278 |
|
1279 |
+
#: includes/admin/core/class-admin-metabox.php:1918
|
1280 |
msgid "Allowed Image Types"
|
1281 |
msgstr ""
|
1282 |
|
1283 |
+
#: includes/admin/core/class-admin-metabox.php:1918
|
1284 |
+
#: includes/admin/core/class-admin-metabox.php:1936
|
1285 |
msgid ""
|
1286 |
"Select the image types that you want to allow to be uploaded via this field."
|
1287 |
msgstr ""
|
1288 |
|
1289 |
+
#: includes/admin/core/class-admin-metabox.php:1936
|
1290 |
msgid "Allowed File Types"
|
1291 |
msgstr ""
|
1292 |
|
1293 |
+
#: includes/admin/core/class-admin-metabox.php:1953
|
1294 |
msgid "Drag & Drop Photo"
|
1295 |
msgstr ""
|
1296 |
|
1297 |
+
#: includes/admin/core/class-admin-metabox.php:1956
|
1298 |
msgid "Drag & Drop File"
|
1299 |
msgstr ""
|
1300 |
|
1301 |
+
#: includes/admin/core/class-admin-metabox.php:1961
|
1302 |
+
#: includes/admin/core/class-admin-metabox.php:1981
|
1303 |
msgid "Upload Box Text"
|
1304 |
msgstr ""
|
1305 |
|
1306 |
+
#: includes/admin/core/class-admin-metabox.php:1961
|
1307 |
msgid "This is the headline that appears in the upload box for this field"
|
1308 |
msgstr ""
|
1309 |
|
1310 |
+
#: includes/admin/core/class-admin-metabox.php:1971
|
1311 |
msgid "Additional Instructions Text"
|
1312 |
msgstr ""
|
1313 |
|
1314 |
+
#: includes/admin/core/class-admin-metabox.php:1971
|
1315 |
msgid ""
|
1316 |
"If you need to add information or secondary line below the headline of "
|
1317 |
"upload box, enter it here"
|
1318 |
msgstr ""
|
1319 |
|
1320 |
+
#: includes/admin/core/class-admin-metabox.php:1981
|
1321 |
msgid "The text that appears on the button. e.g. Upload"
|
1322 |
msgstr ""
|
1323 |
|
1324 |
+
#: includes/admin/core/class-admin-metabox.php:1982
|
1325 |
+
#: includes/core/class-fields.php:1708 includes/core/class-fields.php:1749
|
1326 |
+
#: includes/core/class-fields.php:2588 includes/core/class-fields.php:2663
|
1327 |
msgid "Upload"
|
1328 |
msgstr ""
|
1329 |
|
1330 |
+
#: includes/admin/core/class-admin-metabox.php:1991
|
1331 |
msgid "Maximum Size in bytes"
|
1332 |
msgstr ""
|
1333 |
|
1334 |
+
#: includes/admin/core/class-admin-metabox.php:1991
|
1335 |
msgid ""
|
1336 |
"The maximum size for image that can be uploaded through this field. Leave "
|
1337 |
"empty for unlimited size."
|
1338 |
msgstr ""
|
1339 |
|
1340 |
+
#: includes/admin/core/class-admin-metabox.php:2001
|
1341 |
msgid "Textarea Height"
|
1342 |
msgstr ""
|
1343 |
|
1344 |
+
#: includes/admin/core/class-admin-metabox.php:2001
|
1345 |
msgid "The height of textarea in pixels. Default is 100 pixels"
|
1346 |
msgstr ""
|
1347 |
|
1348 |
+
#: includes/admin/core/class-admin-metabox.php:2011
|
1349 |
msgid "Spacing"
|
1350 |
msgstr ""
|
1351 |
|
1352 |
+
#: includes/admin/core/class-admin-metabox.php:2011
|
1353 |
msgid "This is the required spacing in pixels. e.g. 20px"
|
1354 |
msgstr ""
|
1355 |
|
1356 |
+
#: includes/admin/core/class-admin-metabox.php:2021
|
1357 |
msgid "Allow multiple selections"
|
1358 |
msgstr ""
|
1359 |
|
1360 |
+
#: includes/admin/core/class-admin-metabox.php:2021
|
1361 |
msgid "Enable/disable multiple selections for this field"
|
1362 |
msgstr ""
|
1363 |
|
1364 |
+
#: includes/admin/core/class-admin-metabox.php:2031
|
1365 |
msgid "Maximum number of selections"
|
1366 |
msgstr ""
|
1367 |
|
1368 |
+
#: includes/admin/core/class-admin-metabox.php:2031
|
1369 |
msgid ""
|
1370 |
"Enter a number here to force a maximum number of selections by user for this "
|
1371 |
"field"
|
1372 |
msgstr ""
|
1373 |
|
1374 |
+
#: includes/admin/core/class-admin-metabox.php:2041
|
1375 |
msgid "Minimum number of selections"
|
1376 |
msgstr ""
|
1377 |
|
1378 |
+
#: includes/admin/core/class-admin-metabox.php:2041
|
1379 |
msgid ""
|
1380 |
"Enter a number here to force a minimum number of selections by user for this "
|
1381 |
"field"
|
1382 |
msgstr ""
|
1383 |
|
1384 |
+
#: includes/admin/core/class-admin-metabox.php:2051
|
1385 |
msgid "Maximum number of entries"
|
1386 |
msgstr ""
|
1387 |
|
1388 |
+
#: includes/admin/core/class-admin-metabox.php:2051
|
1389 |
msgid "This is the max number of entries the user can add via field group."
|
1390 |
msgstr ""
|
1391 |
|
1392 |
+
#: includes/admin/core/class-admin-metabox.php:2061
|
1393 |
msgid "Maximum allowed words"
|
1394 |
msgstr ""
|
1395 |
|
1396 |
+
#: includes/admin/core/class-admin-metabox.php:2061
|
1397 |
msgid ""
|
1398 |
"If you want to enable a maximum number of words to be input in this "
|
1399 |
"textarea. Leave empty to disable this setting"
|
1400 |
msgstr ""
|
1401 |
|
1402 |
+
#: includes/admin/core/class-admin-metabox.php:2071
|
1403 |
msgid "Minimum Number"
|
1404 |
msgstr ""
|
1405 |
|
1406 |
+
#: includes/admin/core/class-admin-metabox.php:2071
|
1407 |
msgid "Minimum number that can be entered in this field"
|
1408 |
msgstr ""
|
1409 |
|
1410 |
+
#: includes/admin/core/class-admin-metabox.php:2081
|
1411 |
msgid "Maximum Number"
|
1412 |
msgstr ""
|
1413 |
|
1414 |
+
#: includes/admin/core/class-admin-metabox.php:2081
|
1415 |
msgid "Maximum number that can be entered in this field"
|
1416 |
msgstr ""
|
1417 |
|
1418 |
+
#: includes/admin/core/class-admin-metabox.php:2091
|
1419 |
msgid "Minimum length"
|
1420 |
msgstr ""
|
1421 |
|
1422 |
+
#: includes/admin/core/class-admin-metabox.php:2091
|
1423 |
msgid ""
|
1424 |
"If you want to enable a minimum number of characters to be input in this "
|
1425 |
"field. Leave empty to disable this setting"
|
1426 |
msgstr ""
|
1427 |
|
1428 |
+
#: includes/admin/core/class-admin-metabox.php:2101
|
1429 |
msgid "Maximum length"
|
1430 |
msgstr ""
|
1431 |
|
1432 |
+
#: includes/admin/core/class-admin-metabox.php:2101
|
1433 |
msgid ""
|
1434 |
"If you want to enable a maximum number of characters to be input in this "
|
1435 |
"field. Leave empty to disable this setting"
|
1436 |
msgstr ""
|
1437 |
|
1438 |
+
#: includes/admin/core/class-admin-metabox.php:2111
|
1439 |
msgid "Does this textarea accept HTML?"
|
1440 |
msgstr ""
|
1441 |
|
1442 |
+
#: includes/admin/core/class-admin-metabox.php:2111
|
1443 |
msgid "Turn on/off HTML tags for this textarea"
|
1444 |
msgstr ""
|
1445 |
|
1446 |
+
#: includes/admin/core/class-admin-metabox.php:2128
|
1447 |
msgid "Edit Choices"
|
1448 |
msgstr ""
|
1449 |
|
1450 |
+
#: includes/admin/core/class-admin-metabox.php:2128
|
1451 |
msgid ""
|
1452 |
"Enter one choice per line. This will represent the available choices or "
|
1453 |
"selections available for user."
|
1454 |
msgstr ""
|
1455 |
|
1456 |
+
#: includes/admin/core/class-admin-metabox.php:2138
|
1457 |
msgid ""
|
1458 |
"This is the title of the field for your reference in the backend. The title "
|
1459 |
"will not appear on the front-end of your website."
|
1460 |
msgstr ""
|
1461 |
|
1462 |
+
#: includes/admin/core/class-admin-metabox.php:2149
|
1463 |
msgid "Unique ID"
|
1464 |
msgstr ""
|
1465 |
|
1466 |
+
#: includes/admin/core/class-admin-metabox.php:2163
|
1467 |
+
#: includes/admin/core/class-admin-metabox.php:2169
|
1468 |
msgid "Meta Key"
|
1469 |
msgstr ""
|
1470 |
|
1471 |
+
#: includes/admin/core/class-admin-metabox.php:2163
|
1472 |
msgid ""
|
1473 |
"The meta key cannot be changed for duplicated fields or when editing an "
|
1474 |
"existing field. If you require a different meta key please create a new "
|
1475 |
"field."
|
1476 |
msgstr ""
|
1477 |
|
1478 |
+
#: includes/admin/core/class-admin-metabox.php:2169
|
1479 |
msgid ""
|
1480 |
"A meta key is required to store the entered info in this field in the "
|
1481 |
"database. The meta key should be unique to this field and be written in "
|
1483 |
"job_title"
|
1484 |
msgstr ""
|
1485 |
|
1486 |
+
#: includes/admin/core/class-admin-metabox.php:2182
|
1487 |
msgid "Help Text"
|
1488 |
msgstr ""
|
1489 |
|
1490 |
+
#: includes/admin/core/class-admin-metabox.php:2182
|
1491 |
msgid ""
|
1492 |
"This is the text that appears in a tooltip when a user hovers over the info "
|
1493 |
"icon. Help text is useful for providing users with more information about "
|
1495 |
"for field."
|
1496 |
msgstr ""
|
1497 |
|
1498 |
+
#: includes/admin/core/class-admin-metabox.php:2194
|
1499 |
msgid "Default Text"
|
1500 |
msgstr ""
|
1501 |
|
1502 |
+
#: includes/admin/core/class-admin-metabox.php:2194
|
1503 |
msgid "Text to display by default in this field"
|
1504 |
msgstr ""
|
1505 |
|
1506 |
+
#: includes/admin/core/class-admin-metabox.php:2200
|
1507 |
msgid "Default Date"
|
1508 |
msgstr ""
|
1509 |
|
1510 |
+
#: includes/admin/core/class-admin-metabox.php:2200
|
1511 |
+
#: includes/admin/core/class-admin-metabox.php:2206
|
1512 |
msgid ""
|
1513 |
"You may use all PHP compatible date formats such as: 2020-02-02, 02/02/2020, "
|
1514 |
"yesterday, today, tomorrow, next monday, first day of next month, +3 day"
|
1515 |
msgstr ""
|
1516 |
|
1517 |
+
#: includes/admin/core/class-admin-metabox.php:2206
|
1518 |
msgid "Default Time"
|
1519 |
msgstr ""
|
1520 |
|
1521 |
+
#: includes/admin/core/class-admin-metabox.php:2212
|
1522 |
msgid "Default Rating"
|
1523 |
msgstr ""
|
1524 |
|
1525 |
+
#: includes/admin/core/class-admin-metabox.php:2212
|
1526 |
msgid ""
|
1527 |
"If you wish the rating field to be prefilled with a number of stars, enter "
|
1528 |
"it here."
|
1529 |
msgstr ""
|
1530 |
|
1531 |
+
#: includes/admin/core/class-admin-metabox.php:2218
|
1532 |
msgid "Default Value"
|
1533 |
msgstr ""
|
1534 |
|
1535 |
+
#: includes/admin/core/class-admin-metabox.php:2218
|
1536 |
msgid ""
|
1537 |
"This option allows you to pre-fill the field with a default value prior to "
|
1538 |
"the user entering a value in the field. Leave blank to have no default value"
|
1539 |
msgstr ""
|
1540 |
|
1541 |
+
#: includes/admin/core/class-admin-metabox.php:2230
|
1542 |
msgid ""
|
1543 |
"The field label is the text that appears above the field on your front-end "
|
1544 |
"form. Leave blank to not show a label above field."
|
1545 |
msgstr ""
|
1546 |
|
1547 |
+
#: includes/admin/core/class-admin-metabox.php:2240
|
1548 |
msgid "Placeholder"
|
1549 |
msgstr ""
|
1550 |
|
1551 |
+
#: includes/admin/core/class-admin-metabox.php:2240
|
1552 |
msgid ""
|
1553 |
"This is the text that appears within the field e.g please enter your email "
|
1554 |
"address. Leave blank to not show any placeholder text."
|
1555 |
msgstr ""
|
1556 |
|
1557 |
+
#: includes/admin/core/class-admin-metabox.php:2250
|
1558 |
msgid ""
|
1559 |
"Field privacy allows you to select who can view this field on the front-end. "
|
1560 |
"The site admin can view all fields regardless of the option set here."
|
1561 |
msgstr ""
|
1562 |
|
1563 |
+
#: includes/admin/core/class-admin-metabox.php:2253
|
1564 |
#: includes/class-config.php:134 includes/class-config.php:791
|
1565 |
msgid "Members"
|
1566 |
msgstr ""
|
1567 |
|
1568 |
+
#: includes/admin/core/class-admin-metabox.php:2254
|
1569 |
msgid "Only visible to profile owner and admins"
|
1570 |
msgstr ""
|
1571 |
|
1572 |
+
#: includes/admin/core/class-admin-metabox.php:2255
|
1573 |
msgid "Only visible to profile owner and specific roles"
|
1574 |
msgstr ""
|
1575 |
|
1576 |
+
#: includes/admin/core/class-admin-metabox.php:2256
|
1577 |
msgid "Only specific member roles"
|
1578 |
msgstr ""
|
1579 |
|
1580 |
+
#: includes/admin/core/class-admin-metabox.php:2273
|
1581 |
msgid "Select member roles"
|
1582 |
msgstr ""
|
1583 |
|
1584 |
+
#: includes/admin/core/class-admin-metabox.php:2273
|
1585 |
msgid "Select the member roles that can view this field on the front-end."
|
1586 |
msgstr ""
|
1587 |
|
1588 |
+
#: includes/admin/core/class-admin-metabox.php:2299
|
1589 |
msgid "Is this field required?"
|
1590 |
msgstr ""
|
1591 |
|
1592 |
+
#: includes/admin/core/class-admin-metabox.php:2299
|
1593 |
msgid ""
|
1594 |
"This option allows you to set whether the field must be filled in before the "
|
1595 |
"form can be processed."
|
1596 |
msgstr ""
|
1597 |
|
1598 |
+
#: includes/admin/core/class-admin-metabox.php:2313
|
1599 |
msgid "Can user edit this field?"
|
1600 |
msgstr ""
|
1601 |
|
1602 |
+
#: includes/admin/core/class-admin-metabox.php:2313
|
1603 |
msgid ""
|
1604 |
"This option allows you to set whether or not the user can edit the "
|
1605 |
"information in this field."
|
1606 |
msgstr ""
|
1607 |
|
1608 |
+
#: includes/admin/core/class-admin-metabox.php:2326
|
1609 |
msgid "Rating System"
|
1610 |
msgstr ""
|
1611 |
|
1612 |
+
#: includes/admin/core/class-admin-metabox.php:2326
|
1613 |
msgid "Choose whether you want a 5-stars or 10-stars ratings based here."
|
1614 |
msgstr ""
|
1615 |
|
1616 |
+
#: includes/admin/core/class-admin-metabox.php:2328
|
1617 |
msgid "5 stars rating system"
|
1618 |
msgstr ""
|
1619 |
|
1620 |
+
#: includes/admin/core/class-admin-metabox.php:2329
|
1621 |
msgid "10 stars rating system"
|
1622 |
msgstr ""
|
1623 |
|
1624 |
+
#: includes/admin/core/class-admin-metabox.php:2339
|
1625 |
msgid "Choices Callback"
|
1626 |
msgstr ""
|
1627 |
|
1628 |
+
#: includes/admin/core/class-admin-metabox.php:2339
|
1629 |
msgid "Add a callback source to retrieve choices."
|
1630 |
msgstr ""
|
1631 |
|
1632 |
+
#: includes/admin/core/class-admin-metabox.php:2350
|
1633 |
msgid "Parent Option"
|
1634 |
msgstr ""
|
1635 |
|
1636 |
+
#: includes/admin/core/class-admin-metabox.php:2350
|
1637 |
msgid "Dynamically populates the option based from selected parent option."
|
1638 |
msgstr ""
|
1639 |
|
1640 |
+
#: includes/admin/core/class-admin-metabox.php:2352
|
1641 |
msgid "No Selected"
|
1642 |
msgstr ""
|
1643 |
|
2102 |
|
2103 |
#: includes/admin/core/class-admin-settings.php:549
|
2104 |
#: includes/admin/core/class-admin-settings.php:566
|
2105 |
+
#: includes/core/class-builtin.php:682 includes/core/class-builtin.php:685
|
2106 |
#: includes/core/class-member-directory.php:289
|
2107 |
msgid "Username"
|
2108 |
msgstr ""
|
2143 |
msgstr ""
|
2144 |
|
2145 |
#: includes/admin/core/class-admin-settings.php:565
|
2146 |
+
#: includes/core/class-builtin.php:740 includes/core/class-builtin.php:743
|
2147 |
#: includes/core/class-member-directory.php:290
|
2148 |
#: includes/core/class-member-directory.php:319
|
2149 |
msgid "Nickname"
|
3044 |
msgid "Save Changes"
|
3045 |
msgstr ""
|
3046 |
|
3047 |
+
#: includes/admin/core/class-admin-settings.php:2141
|
3048 |
msgid "Subject Line"
|
3049 |
msgstr ""
|
3050 |
|
3051 |
+
#: includes/admin/core/class-admin-settings.php:2143
|
3052 |
msgid "This is the subject line of the e-mail"
|
3053 |
msgstr ""
|
3054 |
|
3055 |
+
#: includes/admin/core/class-admin-settings.php:2148
|
3056 |
msgid "Message Body"
|
3057 |
msgstr ""
|
3058 |
|
3059 |
+
#: includes/admin/core/class-admin-settings.php:2150
|
3060 |
msgid "This is the content of the e-mail"
|
3061 |
msgstr ""
|
3062 |
|
3063 |
+
#: includes/admin/core/class-admin-settings.php:2200
|
3064 |
+
#: includes/admin/core/class-admin-settings.php:2310
|
3065 |
#, php-format
|
3066 |
msgid ""
|
3067 |
"Your license key expired on %s. Please <a href=\"%s\" target=\"_blank"
|
3068 |
"\">renew your license key</a>."
|
3069 |
msgstr ""
|
3070 |
|
3071 |
+
#: includes/admin/core/class-admin-settings.php:2213
|
3072 |
+
#: includes/admin/core/class-admin-settings.php:2323
|
3073 |
#, php-format
|
3074 |
msgid ""
|
3075 |
"Your license key has been disabled. Please <a href=\"%s\" target=\"_blank"
|
3076 |
"\">contact support</a> for more information."
|
3077 |
msgstr ""
|
3078 |
|
3079 |
+
#: includes/admin/core/class-admin-settings.php:2225
|
3080 |
+
#: includes/admin/core/class-admin-settings.php:2335
|
3081 |
#, php-format
|
3082 |
msgid ""
|
3083 |
"Invalid license. Please <a href=\"%s\" target=\"_blank\">visit your account "
|
3084 |
"page</a> and verify it."
|
3085 |
msgstr ""
|
3086 |
|
3087 |
+
#: includes/admin/core/class-admin-settings.php:2238
|
3088 |
+
#: includes/admin/core/class-admin-settings.php:2348
|
3089 |
#, php-format
|
3090 |
msgid ""
|
3091 |
"Your %s is not active for this URL. Please <a href=\"%s\" target=\"_blank"
|
3092 |
"\">visit your account page</a> to manage your license key URLs."
|
3093 |
msgstr ""
|
3094 |
|
3095 |
+
#: includes/admin/core/class-admin-settings.php:2250
|
3096 |
+
#: includes/admin/core/class-admin-settings.php:2360
|
3097 |
#, php-format
|
3098 |
msgid "This appears to be an invalid license key for %s."
|
3099 |
msgstr ""
|
3100 |
|
3101 |
+
#: includes/admin/core/class-admin-settings.php:2259
|
3102 |
+
#: includes/admin/core/class-admin-settings.php:2369
|
3103 |
#, php-format
|
3104 |
msgid ""
|
3105 |
"Your license key has reached its activation limit. <a href=\"%s\">View "
|
3106 |
"possible upgrades</a> now."
|
3107 |
msgstr ""
|
3108 |
|
3109 |
+
#: includes/admin/core/class-admin-settings.php:2268
|
3110 |
+
#: includes/admin/core/class-admin-settings.php:2378
|
3111 |
msgid ""
|
3112 |
"The key you entered belongs to a bundle, please use the product specific "
|
3113 |
"license key."
|
3114 |
msgstr ""
|
3115 |
|
3116 |
+
#: includes/admin/core/class-admin-settings.php:2276
|
3117 |
+
#: includes/admin/core/class-admin-settings.php:2284
|
3118 |
+
#: includes/admin/core/class-admin-settings.php:2296
|
3119 |
msgid "unknown_error"
|
3120 |
msgstr ""
|
3121 |
|
3122 |
+
#: includes/admin/core/class-admin-settings.php:2277
|
3123 |
+
#: includes/admin/core/class-admin-settings.php:2285
|
3124 |
#, php-format
|
3125 |
msgid ""
|
3126 |
"There was an error with this license key: %s. Please <a href=\"%s\">contact "
|
3127 |
"our support team</a>."
|
3128 |
msgstr ""
|
3129 |
|
3130 |
+
#: includes/admin/core/class-admin-settings.php:2298
|
3131 |
#, php-format
|
3132 |
msgid ""
|
3133 |
"There was an error with this license key: %s%s. Please <a href=\"%s"
|
3134 |
"\">contact our support team</a>."
|
3135 |
msgstr ""
|
3136 |
|
3137 |
+
#: includes/admin/core/class-admin-settings.php:2393
|
3138 |
msgid "License key never expires."
|
3139 |
msgstr ""
|
3140 |
|
3141 |
+
#: includes/admin/core/class-admin-settings.php:2400
|
3142 |
#, php-format
|
3143 |
msgid ""
|
3144 |
"Your license key expires soon! It expires on %s. <a href=\"%s\" target="
|
3145 |
"\"_blank\">Renew your license key</a>."
|
3146 |
msgstr ""
|
3147 |
|
3148 |
+
#: includes/admin/core/class-admin-settings.php:2410
|
3149 |
#, php-format
|
3150 |
msgid "Your license key expires on %s."
|
3151 |
msgstr ""
|
3152 |
|
3153 |
+
#: includes/admin/core/class-admin-settings.php:2428
|
3154 |
#, php-format
|
3155 |
msgid "To receive updates, please enter your valid %s license key."
|
3156 |
msgstr ""
|
3157 |
|
3158 |
+
#: includes/admin/core/class-admin-settings.php:2450
|
3159 |
msgid "Clear License"
|
3160 |
msgstr ""
|
3161 |
|
3162 |
+
#: includes/admin/core/class-admin-settings.php:2452
|
3163 |
msgid "Activate"
|
3164 |
msgstr ""
|
3165 |
|
3166 |
+
#: includes/admin/core/class-admin-settings.php:2454
|
3167 |
msgid "Re-Activate"
|
3168 |
msgstr ""
|
3169 |
|
3170 |
+
#: includes/admin/core/class-admin-settings.php:2506
|
3171 |
msgid ""
|
3172 |
"To copy the Install info, click below then press Ctrl + C (PC) or Cmd + C "
|
3173 |
"(Mac)."
|
3219 |
msgstr ""
|
3220 |
|
3221 |
#: includes/admin/core/class-admin-users.php:124
|
3222 |
+
#: includes/core/class-fields.php:2644
|
3223 |
msgid "Apply"
|
3224 |
msgstr ""
|
3225 |
|
3375 |
|
3376 |
#: includes/admin/core/list-tables/roles-list-table.php:485
|
3377 |
#: includes/admin/core/packages/2.0-beta1/user_roles.php:14
|
3378 |
+
#: includes/admin/templates/role/role-edit.php:156
|
3379 |
#: includes/core/class-common.php:60 includes/core/class-common.php:90
|
3380 |
msgid "Add New"
|
3381 |
msgstr ""
|
3607 |
msgid "Create additional metadata table..."
|
3608 |
msgstr ""
|
3609 |
|
3610 |
+
#: includes/admin/core/packages/2.1.5/functions.php:91
|
3611 |
+
msgid "Balance fields were updated successfully"
|
3612 |
+
msgstr ""
|
3613 |
+
|
3614 |
+
#: includes/admin/core/packages/2.1.5/functions.php:93
|
3615 |
+
msgid "Updated successfully"
|
3616 |
+
msgstr ""
|
3617 |
+
|
3618 |
+
#: includes/admin/core/packages/2.1.5/init.php:6
|
3619 |
+
msgid "Upgrade form fields..."
|
3620 |
+
msgstr ""
|
3621 |
+
|
3622 |
#: includes/admin/templates/dashboard/cache.php:12
|
3623 |
msgid "Run this task from time to time to keep your DB clean."
|
3624 |
msgstr ""
|
4300 |
#: includes/admin/templates/modal/dynamic_new_group.php:18
|
4301 |
#: includes/admin/templates/modal/fonticons.php:14
|
4302 |
#: includes/admin/templates/role/publish.php:24 includes/class-config.php:253
|
4303 |
+
#: includes/core/class-fields.php:2645 includes/core/class-fields.php:2744
|
4304 |
#: includes/core/um-actions-profile.php:674
|
4305 |
#: includes/core/um-actions-profile.php:686
|
4306 |
#: includes/core/um-actions-profile.php:874
|
4613 |
"been successful or not."
|
4614 |
msgstr ""
|
4615 |
|
4616 |
+
#: includes/admin/templates/role/role-edit.php:69
|
4617 |
+
#: includes/admin/templates/role/role-edit.php:73
|
4618 |
msgid "Security Issue"
|
4619 |
msgstr ""
|
4620 |
|
4621 |
+
#: includes/admin/templates/role/role-edit.php:86
|
4622 |
msgid "Title is empty!"
|
4623 |
msgstr ""
|
4624 |
|
4625 |
+
#: includes/admin/templates/role/role-edit.php:113
|
4626 |
msgid "Role already exists!"
|
4627 |
msgstr ""
|
4628 |
|
4629 |
+
#: includes/admin/templates/role/role-edit.php:154
|
4630 |
msgid "Add New Role"
|
4631 |
msgstr ""
|
4632 |
|
4633 |
+
#: includes/admin/templates/role/role-edit.php:154
|
4634 |
msgid "Edit Role"
|
4635 |
msgstr ""
|
4636 |
|
4637 |
+
#: includes/admin/templates/role/role-edit.php:163
|
4638 |
msgid "User Role <strong>Added</strong> Successfully."
|
4639 |
msgstr ""
|
4640 |
|
4641 |
+
#: includes/admin/templates/role/role-edit.php:166
|
4642 |
msgid "User Role <strong>Updated</strong> Successfully."
|
4643 |
msgstr ""
|
4644 |
|
4645 |
+
#: includes/admin/templates/role/role-edit.php:194
|
4646 |
msgid "Enter Title Here"
|
4647 |
msgstr ""
|
4648 |
|
4670 |
msgstr ""
|
4671 |
|
4672 |
#: includes/class-config.php:135 includes/class-config.php:792
|
4673 |
+
#: includes/core/class-member-directory.php:2133
|
4674 |
#: includes/core/um-actions-profile.php:1260
|
4675 |
#: includes/core/um-actions-user.php:19
|
4676 |
msgid "Logout"
|
4876 |
msgstr ""
|
4877 |
|
4878 |
#: includes/core/class-account.php:124 includes/core/class-account.php:125
|
4879 |
+
#: includes/core/class-builtin.php:1152 includes/core/class-builtin.php:1155
|
4880 |
msgid "Delete Account"
|
4881 |
msgstr ""
|
4882 |
|
4883 |
+
#: includes/core/class-builtin.php:140
|
4884 |
msgid "Please provide a meta key"
|
4885 |
msgstr ""
|
4886 |
|
4887 |
+
#: includes/core/class-builtin.php:141
|
4888 |
msgid "Your meta key is a reserved core field and cannot be used"
|
4889 |
msgstr ""
|
4890 |
|
4891 |
+
#: includes/core/class-builtin.php:142
|
4892 |
msgid "Your meta key is a predefined reserved key and cannot be used"
|
4893 |
msgstr ""
|
4894 |
|
4895 |
+
#: includes/core/class-builtin.php:143
|
4896 |
msgid "Your meta key already exists in your fields list"
|
4897 |
msgstr ""
|
4898 |
|
4899 |
+
#: includes/core/class-builtin.php:144
|
4900 |
msgid "Your meta key contains illegal characters. Please correct it."
|
4901 |
msgstr ""
|
4902 |
|
4903 |
+
#: includes/core/class-builtin.php:157
|
4904 |
msgid "Please provide a date range beginning"
|
4905 |
msgstr ""
|
4906 |
|
4907 |
+
#: includes/core/class-builtin.php:158
|
4908 |
msgid "Please enter a valid start date in the date range"
|
4909 |
msgstr ""
|
4910 |
|
4911 |
+
#: includes/core/class-builtin.php:172
|
4912 |
msgid "Please provide a date range end"
|
4913 |
msgstr ""
|
4914 |
|
4915 |
+
#: includes/core/class-builtin.php:173
|
4916 |
msgid "Please enter a valid end date in the date range"
|
4917 |
msgstr ""
|
4918 |
|
4919 |
+
#: includes/core/class-builtin.php:174
|
4920 |
msgid "The end of date range must be greater than the start of date range"
|
4921 |
msgstr ""
|
4922 |
|
4923 |
+
#: includes/core/class-builtin.php:216 includes/core/class-builtin.php:232
|
4924 |
+
#: includes/core/class-builtin.php:248 includes/core/class-builtin.php:264
|
4925 |
+
#: includes/core/class-builtin.php:284 includes/core/class-builtin.php:304
|
4926 |
+
#: includes/core/class-builtin.php:324 includes/core/class-builtin.php:344
|
4927 |
+
#: includes/core/class-builtin.php:360 includes/core/class-builtin.php:376
|
4928 |
+
#: includes/core/class-builtin.php:396 includes/core/class-builtin.php:416
|
4929 |
+
#: includes/core/class-builtin.php:442 includes/core/class-builtin.php:458
|
4930 |
+
#: includes/core/class-builtin.php:475 includes/core/class-builtin.php:488
|
4931 |
+
#: includes/core/class-builtin.php:505 includes/core/class-builtin.php:518
|
4932 |
+
#: includes/core/class-builtin.php:531 includes/core/class-builtin.php:547
|
4933 |
+
#: includes/core/class-builtin.php:563 includes/core/class-builtin.php:579
|
4934 |
msgid "You must provide a title"
|
4935 |
msgstr ""
|
4936 |
|
4937 |
+
#: includes/core/class-builtin.php:225
|
4938 |
msgid "Number"
|
4939 |
msgstr ""
|
4940 |
|
4941 |
+
#: includes/core/class-builtin.php:271 includes/core/class-builtin.php:291
|
4942 |
+
#: includes/core/class-builtin.php:311 includes/core/class-builtin.php:331
|
4943 |
msgid "You have not added any choices yet."
|
4944 |
msgstr ""
|
4945 |
|
4946 |
+
#: includes/core/class-builtin.php:383 includes/core/class-builtin.php:403
|
4947 |
msgid "Please enter a valid size"
|
4948 |
msgstr ""
|
4949 |
|
4950 |
+
#: includes/core/class-builtin.php:423
|
4951 |
msgid "Number of years is not valid"
|
4952 |
msgstr ""
|
4953 |
|
4954 |
+
#: includes/core/class-builtin.php:492
|
4955 |
msgid "You must add a shortcode to the content area"
|
4956 |
msgstr ""
|
4957 |
|
4958 |
+
#: includes/core/class-builtin.php:671 includes/core/class-user.php:1711
|
4959 |
msgid "Only me"
|
4960 |
msgstr ""
|
4961 |
|
4962 |
+
#: includes/core/class-builtin.php:695 includes/core/class-builtin.php:698
|
4963 |
+
#: includes/core/class-builtin.php:1105
|
4964 |
msgid "Username or E-mail"
|
4965 |
msgstr ""
|
4966 |
|
4967 |
+
#: includes/core/class-builtin.php:720 includes/core/class-builtin.php:723
|
4968 |
#: includes/core/class-member-directory.php:317
|
4969 |
msgid "First Name"
|
4970 |
msgstr ""
|
4971 |
|
4972 |
+
#: includes/core/class-builtin.php:730 includes/core/class-builtin.php:733
|
4973 |
#: includes/core/class-member-directory.php:318
|
4974 |
msgid "Last Name"
|
4975 |
msgstr ""
|
4976 |
|
4977 |
+
#: includes/core/class-builtin.php:750 includes/core/class-builtin.php:753
|
4978 |
+
#: includes/core/class-builtin.php:1361
|
4979 |
msgid "Website URL"
|
4980 |
msgstr ""
|
4981 |
|
4982 |
+
#: includes/core/class-builtin.php:761 includes/core/class-builtin.php:764
|
4983 |
msgid "Registration Date"
|
4984 |
msgstr ""
|
4985 |
|
4986 |
+
#: includes/core/class-builtin.php:772 includes/core/class-builtin.php:775
|
4987 |
#: includes/core/class-member-directory.php:315
|
4988 |
msgid "Last Login"
|
4989 |
msgstr ""
|
4990 |
|
4991 |
+
#: includes/core/class-builtin.php:783 includes/core/class-builtin.php:786
|
4992 |
msgid "E-mail Address"
|
4993 |
msgstr ""
|
4994 |
|
4995 |
+
#: includes/core/class-builtin.php:794 includes/core/class-builtin.php:797
|
4996 |
#: includes/core/class-member-directory.php:320
|
4997 |
msgid "Secondary E-mail Address"
|
4998 |
msgstr ""
|
4999 |
|
5000 |
+
#: includes/core/class-builtin.php:806 includes/core/class-builtin.php:809
|
5001 |
#: includes/core/class-member-directory.php:321
|
5002 |
msgid "Biography"
|
5003 |
msgstr ""
|
5004 |
|
5005 |
+
#: includes/core/class-builtin.php:815
|
5006 |
msgid "Enter a bit about yourself..."
|
5007 |
msgstr ""
|
5008 |
|
5009 |
+
#: includes/core/class-builtin.php:819 includes/core/class-builtin.php:822
|
5010 |
msgid "Birth Date"
|
5011 |
msgstr ""
|
5012 |
|
5013 |
+
#: includes/core/class-builtin.php:833 includes/core/class-builtin.php:836
|
5014 |
#: includes/core/class-member-directory.php:311
|
5015 |
msgid "Gender"
|
5016 |
msgstr ""
|
5017 |
|
5018 |
+
#: includes/core/class-builtin.php:840
|
5019 |
msgid "Male"
|
5020 |
msgstr ""
|
5021 |
|
5022 |
+
#: includes/core/class-builtin.php:840
|
5023 |
msgid "Female"
|
5024 |
msgstr ""
|
5025 |
|
5026 |
+
#: includes/core/class-builtin.php:844 includes/core/class-builtin.php:847
|
5027 |
#: includes/core/class-member-directory.php:310
|
5028 |
msgid "Country"
|
5029 |
msgstr ""
|
5030 |
|
5031 |
+
#: includes/core/class-builtin.php:848
|
5032 |
msgid "Choose a Country"
|
5033 |
msgstr ""
|
5034 |
|
5035 |
+
#: includes/core/class-builtin.php:856 includes/core/class-builtin.php:859
|
5036 |
msgid "Facebook"
|
5037 |
msgstr ""
|
5038 |
|
5039 |
+
#: includes/core/class-builtin.php:874 includes/core/class-builtin.php:877
|
5040 |
msgid "Twitter"
|
5041 |
msgstr ""
|
5042 |
|
5043 |
+
#: includes/core/class-builtin.php:892 includes/core/class-builtin.php:895
|
5044 |
msgid "LinkedIn"
|
5045 |
msgstr ""
|
5046 |
|
5047 |
+
#: includes/core/class-builtin.php:910 includes/core/class-builtin.php:913
|
5048 |
msgid "Google+"
|
5049 |
msgstr ""
|
5050 |
|
5051 |
+
#: includes/core/class-builtin.php:928 includes/core/class-builtin.php:931
|
5052 |
msgid "Instagram"
|
5053 |
msgstr ""
|
5054 |
|
5055 |
+
#: includes/core/class-builtin.php:946 includes/core/class-builtin.php:949
|
5056 |
+
#: includes/core/class-builtin.php:1353
|
5057 |
msgid "Skype ID"
|
5058 |
msgstr ""
|
5059 |
|
5060 |
+
#: includes/core/class-builtin.php:961 includes/core/class-builtin.php:964
|
5061 |
msgid "YouTube"
|
5062 |
msgstr ""
|
5063 |
|
5064 |
+
#: includes/core/class-builtin.php:979 includes/core/class-builtin.php:982
|
5065 |
msgid "SoundCloud"
|
5066 |
msgstr ""
|
5067 |
|
5068 |
+
#: includes/core/class-builtin.php:997 includes/core/class-builtin.php:1000
|
5069 |
msgid "VKontakte"
|
5070 |
msgstr ""
|
5071 |
|
5072 |
+
#: includes/core/class-builtin.php:1015
|
5073 |
msgid "Roles (Dropdown)"
|
5074 |
msgstr ""
|
5075 |
|
5076 |
+
#: includes/core/class-builtin.php:1018 includes/core/class-builtin.php:1030
|
5077 |
msgid "Account Type"
|
5078 |
msgstr ""
|
5079 |
|
5080 |
+
#: includes/core/class-builtin.php:1027
|
5081 |
msgid "Roles (Radio)"
|
5082 |
msgstr ""
|
5083 |
|
5084 |
+
#: includes/core/class-builtin.php:1038
|
5085 |
#: includes/core/class-member-directory.php:312
|
5086 |
msgid "Languages"
|
5087 |
msgstr ""
|
5088 |
|
5089 |
+
#: includes/core/class-builtin.php:1041
|
5090 |
msgid "Languages Spoken"
|
5091 |
msgstr ""
|
5092 |
|
5093 |
+
#: includes/core/class-builtin.php:1042
|
5094 |
msgid "Select languages"
|
5095 |
msgstr ""
|
5096 |
|
5097 |
+
#: includes/core/class-builtin.php:1050 includes/core/class-builtin.php:1053
|
5098 |
+
#: includes/core/class-builtin.php:1352
|
5099 |
#: includes/core/class-member-directory.php:322
|
5100 |
msgid "Phone Number"
|
5101 |
msgstr ""
|
5102 |
|
5103 |
+
#: includes/core/class-builtin.php:1062 includes/core/class-builtin.php:1065
|
5104 |
#: includes/core/class-member-directory.php:323
|
5105 |
msgid "Mobile Number"
|
5106 |
msgstr ""
|
5107 |
|
5108 |
+
#: includes/core/class-builtin.php:1076
|
5109 |
msgid "Profile Photo"
|
5110 |
msgstr ""
|
5111 |
|
5112 |
+
#: includes/core/class-builtin.php:1079
|
5113 |
msgid "Change your profile photo"
|
5114 |
msgstr ""
|
5115 |
|
5116 |
+
#: includes/core/class-builtin.php:1080
|
5117 |
msgid "Upload your photo here"
|
5118 |
msgstr ""
|
5119 |
|
5120 |
+
#: includes/core/class-builtin.php:1090
|
5121 |
msgid "Cover Photo"
|
5122 |
msgstr ""
|
5123 |
|
5124 |
+
#: includes/core/class-builtin.php:1093
|
5125 |
#: includes/core/um-actions-profile.php:634
|
5126 |
msgid "Change your cover photo"
|
5127 |
msgstr ""
|
5128 |
|
5129 |
+
#: includes/core/class-builtin.php:1094
|
5130 |
msgid "Upload profile cover here"
|
5131 |
msgstr ""
|
5132 |
|
5133 |
+
#: includes/core/class-builtin.php:1108
|
5134 |
msgid "Enter your username or email"
|
5135 |
msgstr ""
|
5136 |
|
5137 |
+
#: includes/core/class-builtin.php:1118 includes/core/class-builtin.php:1121
|
5138 |
msgid "Profile Privacy"
|
5139 |
msgstr ""
|
5140 |
|
5141 |
+
#: includes/core/class-builtin.php:1122
|
5142 |
msgid "Who can see your public profile?"
|
5143 |
msgstr ""
|
5144 |
|
5145 |
+
#: includes/core/class-builtin.php:1134 includes/core/class-builtin.php:1137
|
5146 |
msgid "Hide my profile from directory"
|
5147 |
msgstr ""
|
5148 |
|
5149 |
+
#: includes/core/class-builtin.php:1138
|
5150 |
msgid "Here you can hide yourself from appearing in public directory"
|
5151 |
msgstr ""
|
5152 |
|
5153 |
+
#: includes/core/class-builtin.php:1156
|
5154 |
msgid ""
|
5155 |
"If you confirm, everything related to your profile will be deleted "
|
5156 |
"permanently from the site"
|
5157 |
msgstr ""
|
5158 |
|
5159 |
+
#: includes/core/class-builtin.php:1342
|
5160 |
msgid "Alphabetic value only"
|
5161 |
msgstr ""
|
5162 |
|
5163 |
+
#: includes/core/class-builtin.php:1343
|
5164 |
msgid "Alpha-numeric value"
|
5165 |
msgstr ""
|
5166 |
|
5167 |
+
#: includes/core/class-builtin.php:1344
|
5168 |
msgid "English letters only"
|
5169 |
msgstr ""
|
5170 |
|
5171 |
+
#: includes/core/class-builtin.php:1345
|
5172 |
msgid "Facebook URL"
|
5173 |
msgstr ""
|
5174 |
|
5175 |
+
#: includes/core/class-builtin.php:1346
|
5176 |
msgid "Google+ URL"
|
5177 |
msgstr ""
|
5178 |
|
5179 |
+
#: includes/core/class-builtin.php:1347
|
5180 |
msgid "Instagram URL"
|
5181 |
msgstr ""
|
5182 |
|
5183 |
+
#: includes/core/class-builtin.php:1348
|
5184 |
msgid "LinkedIn URL"
|
5185 |
msgstr ""
|
5186 |
|
5187 |
+
#: includes/core/class-builtin.php:1349
|
5188 |
msgid "VKontakte URL"
|
5189 |
msgstr ""
|
5190 |
|
5191 |
+
#: includes/core/class-builtin.php:1350
|
5192 |
msgid "Lowercase only"
|
5193 |
msgstr ""
|
5194 |
|
5195 |
+
#: includes/core/class-builtin.php:1351
|
5196 |
msgid "Numeric value only"
|
5197 |
msgstr ""
|
5198 |
|
5199 |
+
#: includes/core/class-builtin.php:1354
|
5200 |
msgid "SoundCloud Profile"
|
5201 |
msgstr ""
|
5202 |
|
5203 |
+
#: includes/core/class-builtin.php:1355
|
5204 |
msgid "Twitter URL"
|
5205 |
msgstr ""
|
5206 |
|
5207 |
+
#: includes/core/class-builtin.php:1356
|
5208 |
msgid "E-mail( Not Unique )"
|
5209 |
msgstr ""
|
5210 |
|
5211 |
+
#: includes/core/class-builtin.php:1357
|
5212 |
msgid "Unique E-mail"
|
5213 |
msgstr ""
|
5214 |
|
5215 |
+
#: includes/core/class-builtin.php:1358
|
5216 |
msgid "Unique Metakey value"
|
5217 |
msgstr ""
|
5218 |
|
5219 |
+
#: includes/core/class-builtin.php:1359
|
5220 |
msgid "Unique Username"
|
5221 |
msgstr ""
|
5222 |
|
5223 |
+
#: includes/core/class-builtin.php:1360
|
5224 |
msgid "Unique Username/E-mail"
|
5225 |
msgstr ""
|
5226 |
|
5227 |
+
#: includes/core/class-builtin.php:1362
|
5228 |
msgid "YouTube Profile"
|
5229 |
msgstr ""
|
5230 |
|
5231 |
+
#: includes/core/class-builtin.php:1363
|
5232 |
msgid "Custom Validation"
|
5233 |
msgstr ""
|
5234 |
|
5235 |
+
#: includes/core/class-builtin.php:1402
|
5236 |
msgid "Afar"
|
5237 |
msgstr ""
|
5238 |
|
5239 |
+
#: includes/core/class-builtin.php:1403
|
5240 |
msgid "Abkhazian"
|
5241 |
msgstr ""
|
5242 |
|
5243 |
+
#: includes/core/class-builtin.php:1404
|
5244 |
msgid "Avestan"
|
5245 |
msgstr ""
|
5246 |
|
5247 |
+
#: includes/core/class-builtin.php:1405
|
5248 |
msgid "Afrikaans"
|
5249 |
msgstr ""
|
5250 |
|
5251 |
+
#: includes/core/class-builtin.php:1406
|
5252 |
msgid "Akan"
|
5253 |
msgstr ""
|
5254 |
|
5255 |
+
#: includes/core/class-builtin.php:1407
|
5256 |
msgid "Amharic"
|
5257 |
msgstr ""
|
5258 |
|
5259 |
+
#: includes/core/class-builtin.php:1408
|
5260 |
msgid "Aragonese"
|
5261 |
msgstr ""
|
5262 |
|
5263 |
+
#: includes/core/class-builtin.php:1409
|
5264 |
msgid "Arabic"
|
5265 |
msgstr ""
|
5266 |
|
5267 |
+
#: includes/core/class-builtin.php:1410
|
5268 |
msgid "Assamese"
|
5269 |
msgstr ""
|
5270 |
|
5271 |
+
#: includes/core/class-builtin.php:1411
|
5272 |
msgid "Avaric"
|
5273 |
msgstr ""
|
5274 |
|
5275 |
+
#: includes/core/class-builtin.php:1412
|
5276 |
msgid "Aymara"
|
5277 |
msgstr ""
|
5278 |
|
5279 |
+
#: includes/core/class-builtin.php:1413
|
5280 |
msgid "Azerbaijani"
|
5281 |
msgstr ""
|
5282 |
|
5283 |
+
#: includes/core/class-builtin.php:1414
|
5284 |
msgid "Bashkir"
|
5285 |
msgstr ""
|
5286 |
|
5287 |
+
#: includes/core/class-builtin.php:1415
|
5288 |
msgid "Belarusian"
|
5289 |
msgstr ""
|
5290 |
|
5291 |
+
#: includes/core/class-builtin.php:1416
|
5292 |
msgid "Bulgarian"
|
5293 |
msgstr ""
|
5294 |
|
5295 |
+
#: includes/core/class-builtin.php:1417
|
5296 |
msgid "Bihari"
|
5297 |
msgstr ""
|
5298 |
|
5299 |
+
#: includes/core/class-builtin.php:1418
|
5300 |
msgid "Bislama"
|
5301 |
msgstr ""
|
5302 |
|
5303 |
+
#: includes/core/class-builtin.php:1419
|
5304 |
msgid "Bambara"
|
5305 |
msgstr ""
|
5306 |
|
5307 |
+
#: includes/core/class-builtin.php:1420
|
5308 |
msgid "Bengali"
|
5309 |
msgstr ""
|
5310 |
|
5311 |
+
#: includes/core/class-builtin.php:1421
|
5312 |
msgid "Tibetan"
|
5313 |
msgstr ""
|
5314 |
|
5315 |
+
#: includes/core/class-builtin.php:1422
|
5316 |
msgid "Breton"
|
5317 |
msgstr ""
|
5318 |
|
5319 |
+
#: includes/core/class-builtin.php:1423
|
5320 |
msgid "Bosnian"
|
5321 |
msgstr ""
|
5322 |
|
5323 |
+
#: includes/core/class-builtin.php:1424
|
5324 |
msgid "Catalan"
|
5325 |
msgstr ""
|
5326 |
|
5327 |
+
#: includes/core/class-builtin.php:1425
|
5328 |
msgid "Chechen"
|
5329 |
msgstr ""
|
5330 |
|
5331 |
+
#: includes/core/class-builtin.php:1426
|
5332 |
msgid "Chamorro"
|
5333 |
msgstr ""
|
5334 |
|
5335 |
+
#: includes/core/class-builtin.php:1427
|
5336 |
msgid "Corsican"
|
5337 |
msgstr ""
|
5338 |
|
5339 |
+
#: includes/core/class-builtin.php:1428
|
5340 |
msgid "Cree"
|
5341 |
msgstr ""
|
5342 |
|
5343 |
+
#: includes/core/class-builtin.php:1429
|
5344 |
msgid "Czech"
|
5345 |
msgstr ""
|
5346 |
|
5347 |
+
#: includes/core/class-builtin.php:1430
|
5348 |
msgid "Church Slavic"
|
5349 |
msgstr ""
|
5350 |
|
5351 |
+
#: includes/core/class-builtin.php:1431
|
5352 |
msgid "Chuvash"
|
5353 |
msgstr ""
|
5354 |
|
5355 |
+
#: includes/core/class-builtin.php:1432
|
5356 |
msgid "Welsh"
|
5357 |
msgstr ""
|
5358 |
|
5359 |
+
#: includes/core/class-builtin.php:1433
|
5360 |
msgid "Danish"
|
5361 |
msgstr ""
|
5362 |
|
5363 |
+
#: includes/core/class-builtin.php:1434
|
5364 |
msgid "German"
|
5365 |
msgstr ""
|
5366 |
|
5367 |
+
#: includes/core/class-builtin.php:1435
|
5368 |
msgid "Divehi"
|
5369 |
msgstr ""
|
5370 |
|
5371 |
+
#: includes/core/class-builtin.php:1436
|
5372 |
msgid "Dzongkha"
|
5373 |
msgstr ""
|
5374 |
|
5375 |
+
#: includes/core/class-builtin.php:1437
|
5376 |
msgid "Ewe"
|
5377 |
msgstr ""
|
5378 |
|
5379 |
+
#: includes/core/class-builtin.php:1438
|
5380 |
msgid "Greek"
|
5381 |
msgstr ""
|
5382 |
|
5383 |
+
#: includes/core/class-builtin.php:1439
|
5384 |
msgid "English"
|
5385 |
msgstr ""
|
5386 |
|
5387 |
+
#: includes/core/class-builtin.php:1440
|
5388 |
msgid "Esperanto"
|
5389 |
msgstr ""
|
5390 |
|
5391 |
+
#: includes/core/class-builtin.php:1441
|
5392 |
msgid "Spanish"
|
5393 |
msgstr ""
|
5394 |
|
5395 |
+
#: includes/core/class-builtin.php:1442
|
5396 |
msgid "Estonian"
|
5397 |
msgstr ""
|
5398 |
|
5399 |
+
#: includes/core/class-builtin.php:1443
|
5400 |
msgid "Basque"
|
5401 |
msgstr ""
|
5402 |
|
5403 |
+
#: includes/core/class-builtin.php:1444
|
5404 |
msgid "Persian"
|
5405 |
msgstr ""
|
5406 |
|
5407 |
+
#: includes/core/class-builtin.php:1445
|
5408 |
msgid "Fulah"
|
5409 |
msgstr ""
|
5410 |
|
5411 |
+
#: includes/core/class-builtin.php:1446
|
5412 |
msgid "Finnish"
|
5413 |
msgstr ""
|
5414 |
|
5415 |
+
#: includes/core/class-builtin.php:1447
|
5416 |
msgid "Fijian"
|
5417 |
msgstr ""
|
5418 |
|
5419 |
+
#: includes/core/class-builtin.php:1448
|
5420 |
msgid "Faroese"
|
5421 |
msgstr ""
|
5422 |
|
5423 |
+
#: includes/core/class-builtin.php:1449
|
5424 |
msgid "French"
|
5425 |
msgstr ""
|
5426 |
|
5427 |
+
#: includes/core/class-builtin.php:1450
|
5428 |
msgid "Western Frisian"
|
5429 |
msgstr ""
|
5430 |
|
5431 |
+
#: includes/core/class-builtin.php:1451
|
5432 |
msgid "Irish"
|
5433 |
msgstr ""
|
5434 |
|
5435 |
+
#: includes/core/class-builtin.php:1452
|
5436 |
msgid "Scottish Gaelic"
|
5437 |
msgstr ""
|
5438 |
|
5439 |
+
#: includes/core/class-builtin.php:1453
|
5440 |
msgid "Galician"
|
5441 |
msgstr ""
|
5442 |
|
5443 |
+
#: includes/core/class-builtin.php:1454
|
5444 |
msgid "Guarani"
|
5445 |
msgstr ""
|
5446 |
|
5447 |
+
#: includes/core/class-builtin.php:1455
|
5448 |
msgid "Gujarati"
|
5449 |
msgstr ""
|
5450 |
|
5451 |
+
#: includes/core/class-builtin.php:1456
|
5452 |
msgid "Manx"
|
5453 |
msgstr ""
|
5454 |
|
5455 |
+
#: includes/core/class-builtin.php:1457
|
5456 |
msgid "Hausa"
|
5457 |
msgstr ""
|
5458 |
|
5459 |
+
#: includes/core/class-builtin.php:1458
|
5460 |
msgid "Hebrew"
|
5461 |
msgstr ""
|
5462 |
|
5463 |
+
#: includes/core/class-builtin.php:1459
|
5464 |
msgid "Hindi"
|
5465 |
msgstr ""
|
5466 |
|
5467 |
+
#: includes/core/class-builtin.php:1460
|
5468 |
msgid "Hiri Motu"
|
5469 |
msgstr ""
|
5470 |
|
5471 |
+
#: includes/core/class-builtin.php:1461
|
5472 |
msgid "Croatian"
|
5473 |
msgstr ""
|
5474 |
|
5475 |
+
#: includes/core/class-builtin.php:1462
|
5476 |
msgid "Haitian"
|
5477 |
msgstr ""
|
5478 |
|
5479 |
+
#: includes/core/class-builtin.php:1463
|
5480 |
msgid "Hungarian"
|
5481 |
msgstr ""
|
5482 |
|
5483 |
+
#: includes/core/class-builtin.php:1464
|
5484 |
msgid "Armenian"
|
5485 |
msgstr ""
|
5486 |
|
5487 |
+
#: includes/core/class-builtin.php:1465
|
5488 |
msgid "Herero"
|
5489 |
msgstr ""
|
5490 |
|
5491 |
+
#: includes/core/class-builtin.php:1466
|
5492 |
msgid "Interlingua (International Auxiliary Language Association)"
|
5493 |
msgstr ""
|
5494 |
|
5495 |
+
#: includes/core/class-builtin.php:1467
|
5496 |
msgid "Indonesian"
|
5497 |
msgstr ""
|
5498 |
|
5499 |
+
#: includes/core/class-builtin.php:1468
|
5500 |
msgid "Interlingue"
|
5501 |
msgstr ""
|
5502 |
|
5503 |
+
#: includes/core/class-builtin.php:1469
|
5504 |
msgid "Igbo"
|
5505 |
msgstr ""
|
5506 |
|
5507 |
+
#: includes/core/class-builtin.php:1470
|
5508 |
msgid "Sichuan Yi"
|
5509 |
msgstr ""
|
5510 |
|
5511 |
+
#: includes/core/class-builtin.php:1471
|
5512 |
msgid "Inupiaq"
|
5513 |
msgstr ""
|
5514 |
|
5515 |
+
#: includes/core/class-builtin.php:1472
|
5516 |
msgid "Ido"
|
5517 |
msgstr ""
|
5518 |
|
5519 |
+
#: includes/core/class-builtin.php:1473
|
5520 |
msgid "Icelandic"
|
5521 |
msgstr ""
|
5522 |
|
5523 |
+
#: includes/core/class-builtin.php:1474
|
5524 |
msgid "Italian"
|
5525 |
msgstr ""
|
5526 |
|
5527 |
+
#: includes/core/class-builtin.php:1475
|
5528 |
msgid "Inuktitut"
|
5529 |
msgstr ""
|
5530 |
|
5531 |
+
#: includes/core/class-builtin.php:1476
|
5532 |
msgid "Japanese"
|
5533 |
msgstr ""
|
5534 |
|
5535 |
+
#: includes/core/class-builtin.php:1477
|
5536 |
msgid "Javanese"
|
5537 |
msgstr ""
|
5538 |
|
5539 |
+
#: includes/core/class-builtin.php:1478
|
5540 |
msgid "Georgian"
|
5541 |
msgstr ""
|
5542 |
|
5543 |
+
#: includes/core/class-builtin.php:1479
|
5544 |
msgid "Kongo"
|
5545 |
msgstr ""
|
5546 |
|
5547 |
+
#: includes/core/class-builtin.php:1480
|
5548 |
msgid "Kikuyu"
|
5549 |
msgstr ""
|
5550 |
|
5551 |
+
#: includes/core/class-builtin.php:1481
|
5552 |
msgid "Kwanyama"
|
5553 |
msgstr ""
|
5554 |
|
5555 |
+
#: includes/core/class-builtin.php:1482
|
5556 |
msgid "Kazakh"
|
5557 |
msgstr ""
|
5558 |
|
5559 |
+
#: includes/core/class-builtin.php:1483
|
5560 |
msgid "Kalaallisut"
|
5561 |
msgstr ""
|
5562 |
|
5563 |
+
#: includes/core/class-builtin.php:1484
|
5564 |
msgid "Khmer"
|
5565 |
msgstr ""
|
5566 |
|
5567 |
+
#: includes/core/class-builtin.php:1485
|
5568 |
msgid "Kannada"
|
5569 |
msgstr ""
|
5570 |
|
5571 |
+
#: includes/core/class-builtin.php:1486
|
5572 |
msgid "Korean"
|
5573 |
msgstr ""
|
5574 |
|
5575 |
+
#: includes/core/class-builtin.php:1487
|
5576 |
msgid "Kanuri"
|
5577 |
msgstr ""
|
5578 |
|
5579 |
+
#: includes/core/class-builtin.php:1488
|
5580 |
msgid "Kashmiri"
|
5581 |
msgstr ""
|
5582 |
|
5583 |
+
#: includes/core/class-builtin.php:1489
|
5584 |
msgid "Kurdish"
|
5585 |
msgstr ""
|
5586 |
|
5587 |
+
#: includes/core/class-builtin.php:1490
|
5588 |
msgid "Komi"
|
5589 |
msgstr ""
|
5590 |
|
5591 |
+
#: includes/core/class-builtin.php:1491
|
5592 |
msgid "Cornish"
|
5593 |
msgstr ""
|
5594 |
|
5595 |
+
#: includes/core/class-builtin.php:1492
|
5596 |
msgid "Kirghiz"
|
5597 |
msgstr ""
|
5598 |
|
5599 |
+
#: includes/core/class-builtin.php:1493
|
5600 |
msgid "Latin"
|
5601 |
msgstr ""
|
5602 |
|
5603 |
+
#: includes/core/class-builtin.php:1494
|
5604 |
msgid "Luxembourgish"
|
5605 |
msgstr ""
|
5606 |
|
5607 |
+
#: includes/core/class-builtin.php:1495
|
5608 |
msgid "Ganda"
|
5609 |
msgstr ""
|
5610 |
|
5611 |
+
#: includes/core/class-builtin.php:1496
|
5612 |
msgid "Limburgish"
|
5613 |
msgstr ""
|
5614 |
|
5615 |
+
#: includes/core/class-builtin.php:1497
|
5616 |
msgid "Lingala"
|
5617 |
msgstr ""
|
5618 |
|
5619 |
+
#: includes/core/class-builtin.php:1498
|
5620 |
msgid "Lao"
|
5621 |
msgstr ""
|
5622 |
|
5623 |
+
#: includes/core/class-builtin.php:1499
|
5624 |
msgid "Lithuanian"
|
5625 |
msgstr ""
|
5626 |
|
5627 |
+
#: includes/core/class-builtin.php:1500
|
5628 |
msgid "Luba-Katanga"
|
5629 |
msgstr ""
|
5630 |
|
5631 |
+
#: includes/core/class-builtin.php:1501
|
5632 |
msgid "Latvian"
|
5633 |
msgstr ""
|
5634 |
|
5635 |
+
#: includes/core/class-builtin.php:1502
|
5636 |
msgid "Malagasy"
|
5637 |
msgstr ""
|
5638 |
|
5639 |
+
#: includes/core/class-builtin.php:1503
|
5640 |
msgid "Marshallese"
|
5641 |
msgstr ""
|
5642 |
|
5643 |
+
#: includes/core/class-builtin.php:1504
|
5644 |
msgid "Maori"
|
5645 |
msgstr ""
|
5646 |
|
5647 |
+
#: includes/core/class-builtin.php:1505
|
5648 |
msgid "Macedonian"
|
5649 |
msgstr ""
|
5650 |
|
5651 |
+
#: includes/core/class-builtin.php:1506
|
5652 |
msgid "Malayalam"
|
5653 |
msgstr ""
|
5654 |
|
5655 |
+
#: includes/core/class-builtin.php:1507
|
5656 |
msgid "Mongolian"
|
5657 |
msgstr ""
|
5658 |
|
5659 |
+
#: includes/core/class-builtin.php:1508
|
5660 |
msgid "Marathi"
|
5661 |
msgstr ""
|
5662 |
|
5663 |
+
#: includes/core/class-builtin.php:1509
|
5664 |
msgid "Malay"
|
5665 |
msgstr ""
|
5666 |
|
5667 |
+
#: includes/core/class-builtin.php:1510
|
5668 |
msgid "Maltese"
|
5669 |
msgstr ""
|
5670 |
|
5671 |
+
#: includes/core/class-builtin.php:1511
|
5672 |
msgid "Burmese"
|
5673 |
msgstr ""
|
5674 |
|
5675 |
+
#: includes/core/class-builtin.php:1512 includes/core/class-builtin.php:1743
|
5676 |
msgid "Nauru"
|
5677 |
msgstr ""
|
5678 |
|
5679 |
+
#: includes/core/class-builtin.php:1513
|
5680 |
msgid "Norwegian Bokmal"
|
5681 |
msgstr ""
|
5682 |
|
5683 |
+
#: includes/core/class-builtin.php:1514
|
5684 |
msgid "North Ndebele"
|
5685 |
msgstr ""
|
5686 |
|
5687 |
+
#: includes/core/class-builtin.php:1515
|
5688 |
msgid "Nepali"
|
5689 |
msgstr ""
|
5690 |
|
5691 |
+
#: includes/core/class-builtin.php:1516
|
5692 |
msgid "Ndonga"
|
5693 |
msgstr ""
|
5694 |
|
5695 |
+
#: includes/core/class-builtin.php:1517
|
5696 |
msgid "Dutch"
|
5697 |
msgstr ""
|
5698 |
|
5699 |
+
#: includes/core/class-builtin.php:1518
|
5700 |
msgid "Norwegian Nynorsk"
|
5701 |
msgstr ""
|
5702 |
|
5703 |
+
#: includes/core/class-builtin.php:1519
|
5704 |
msgid "Norwegian"
|
5705 |
msgstr ""
|
5706 |
|
5707 |
+
#: includes/core/class-builtin.php:1520
|
5708 |
msgid "South Ndebele"
|
5709 |
msgstr ""
|
5710 |
|
5711 |
+
#: includes/core/class-builtin.php:1521
|
5712 |
msgid "Navajo"
|
5713 |
msgstr ""
|
5714 |
|
5715 |
+
#: includes/core/class-builtin.php:1522
|
5716 |
msgid "Chichewa"
|
5717 |
msgstr ""
|
5718 |
|
5719 |
+
#: includes/core/class-builtin.php:1523
|
5720 |
msgid "Occitan"
|
5721 |
msgstr ""
|
5722 |
|
5723 |
+
#: includes/core/class-builtin.php:1524
|
5724 |
msgid "Ojibwa"
|
5725 |
msgstr ""
|
5726 |
|
5727 |
+
#: includes/core/class-builtin.php:1525
|
5728 |
msgid "Oromo"
|
5729 |
msgstr ""
|
5730 |
|
5731 |
+
#: includes/core/class-builtin.php:1526
|
5732 |
msgid "Oriya"
|
5733 |
msgstr ""
|
5734 |
|
5735 |
+
#: includes/core/class-builtin.php:1527
|
5736 |
msgid "Ossetian"
|
5737 |
msgstr ""
|
5738 |
|
5739 |
+
#: includes/core/class-builtin.php:1528
|
5740 |
msgid "Panjabi"
|
5741 |
msgstr ""
|
5742 |
|
5743 |
+
#: includes/core/class-builtin.php:1529
|
5744 |
msgid "Pali"
|
5745 |
msgstr ""
|
5746 |
|
5747 |
+
#: includes/core/class-builtin.php:1530
|
5748 |
msgid "Polish"
|
5749 |
msgstr ""
|
5750 |
|
5751 |
+
#: includes/core/class-builtin.php:1531
|
5752 |
msgid "Pashto"
|
5753 |
msgstr ""
|
5754 |
|
5755 |
+
#: includes/core/class-builtin.php:1532
|
5756 |
msgid "Portuguese"
|
5757 |
msgstr ""
|
5758 |
|
5759 |
+
#: includes/core/class-builtin.php:1533
|
5760 |
msgid "Quechua"
|
5761 |
msgstr ""
|
5762 |
|
5763 |
+
#: includes/core/class-builtin.php:1534
|
5764 |
msgid "Raeto-Romance"
|
5765 |
msgstr ""
|
5766 |
|
5767 |
+
#: includes/core/class-builtin.php:1535
|
5768 |
msgid "Kirundi"
|
5769 |
msgstr ""
|
5770 |
|
5771 |
+
#: includes/core/class-builtin.php:1536
|
5772 |
msgid "Romanian"
|
5773 |
msgstr ""
|
5774 |
|
5775 |
+
#: includes/core/class-builtin.php:1537
|
5776 |
msgid "Russian"
|
5777 |
msgstr ""
|
5778 |
|
5779 |
+
#: includes/core/class-builtin.php:1538
|
5780 |
msgid "Kinyarwanda"
|
5781 |
msgstr ""
|
5782 |
|
5783 |
+
#: includes/core/class-builtin.php:1539
|
5784 |
msgid "Sanskrit"
|
5785 |
msgstr ""
|
5786 |
|
5787 |
+
#: includes/core/class-builtin.php:1540
|
5788 |
msgid "Sardinian"
|
5789 |
msgstr ""
|
5790 |
|
5791 |
+
#: includes/core/class-builtin.php:1541
|
5792 |
msgid "Sindhi"
|
5793 |
msgstr ""
|
5794 |
|
5795 |
+
#: includes/core/class-builtin.php:1542
|
5796 |
msgid "Northern Sami"
|
5797 |
msgstr ""
|
5798 |
|
5799 |
+
#: includes/core/class-builtin.php:1543
|
5800 |
msgid "Sango"
|
5801 |
msgstr ""
|
5802 |
|
5803 |
+
#: includes/core/class-builtin.php:1544
|
5804 |
msgid "Sinhala"
|
5805 |
msgstr ""
|
5806 |
|
5807 |
+
#: includes/core/class-builtin.php:1545
|
5808 |
msgid "Slovak"
|
5809 |
msgstr ""
|
5810 |
|
5811 |
+
#: includes/core/class-builtin.php:1546
|
5812 |
msgid "Slovenian"
|
5813 |
msgstr ""
|
5814 |
|
5815 |
+
#: includes/core/class-builtin.php:1547
|
5816 |
msgid "Samoan"
|
5817 |
msgstr ""
|
5818 |
|
5819 |
+
#: includes/core/class-builtin.php:1548
|
5820 |
msgid "Shona"
|
5821 |
msgstr ""
|
5822 |
|
5823 |
+
#: includes/core/class-builtin.php:1549
|
5824 |
msgid "Somali"
|
5825 |
msgstr ""
|
5826 |
|
5827 |
+
#: includes/core/class-builtin.php:1550
|
5828 |
msgid "Albanian"
|
5829 |
msgstr ""
|
5830 |
|
5831 |
+
#: includes/core/class-builtin.php:1551
|
5832 |
msgid "Serbian"
|
5833 |
msgstr ""
|
5834 |
|
5835 |
+
#: includes/core/class-builtin.php:1552
|
5836 |
msgid "Swati"
|
5837 |
msgstr ""
|
5838 |
|
5839 |
+
#: includes/core/class-builtin.php:1553
|
5840 |
msgid "Southern Sotho"
|
5841 |
msgstr ""
|
5842 |
|
5843 |
+
#: includes/core/class-builtin.php:1554
|
5844 |
msgid "Sundanese"
|
5845 |
msgstr ""
|
5846 |
|
5847 |
+
#: includes/core/class-builtin.php:1555
|
5848 |
msgid "Swedish"
|
5849 |
msgstr ""
|
5850 |
|
5851 |
+
#: includes/core/class-builtin.php:1556
|
5852 |
msgid "Swahili"
|
5853 |
msgstr ""
|
5854 |
|
5855 |
+
#: includes/core/class-builtin.php:1557
|
5856 |
msgid "Tamil"
|
5857 |
msgstr ""
|
5858 |
|
5859 |
+
#: includes/core/class-builtin.php:1558
|
5860 |
msgid "Telugu"
|
5861 |
msgstr ""
|
5862 |
|
5863 |
+
#: includes/core/class-builtin.php:1559
|
5864 |
msgid "Tajik"
|
5865 |
msgstr ""
|
5866 |
|
5867 |
+
#: includes/core/class-builtin.php:1560
|
5868 |
msgid "Thai"
|
5869 |
msgstr ""
|
5870 |
|
5871 |
+
#: includes/core/class-builtin.php:1561
|
5872 |
msgid "Tigrinya"
|
5873 |
msgstr ""
|
5874 |
|
5875 |
+
#: includes/core/class-builtin.php:1562
|
5876 |
msgid "Turkmen"
|
5877 |
msgstr ""
|
5878 |
|
5879 |
+
#: includes/core/class-builtin.php:1563
|
5880 |
msgid "Tagalog"
|
5881 |
msgstr ""
|
5882 |
|
5883 |
+
#: includes/core/class-builtin.php:1564
|
5884 |
msgid "Tswana"
|
5885 |
msgstr ""
|
5886 |
|
5887 |
+
#: includes/core/class-builtin.php:1565 includes/core/class-builtin.php:1813
|
5888 |
msgid "Tonga"
|
5889 |
msgstr ""
|
5890 |
|
5891 |
+
#: includes/core/class-builtin.php:1566
|
5892 |
msgid "Turkish"
|
5893 |
msgstr ""
|
5894 |
|
5895 |
+
#: includes/core/class-builtin.php:1567
|
5896 |
msgid "Tsonga"
|
5897 |
msgstr ""
|
5898 |
|
5899 |
+
#: includes/core/class-builtin.php:1568
|
5900 |
msgid "Tatar"
|
5901 |
msgstr ""
|
5902 |
|
5903 |
+
#: includes/core/class-builtin.php:1569
|
5904 |
msgid "Twi"
|
5905 |
msgstr ""
|
5906 |
|
5907 |
+
#: includes/core/class-builtin.php:1570
|
5908 |
msgid "Tahitian"
|
5909 |
msgstr ""
|
5910 |
|
5911 |
+
#: includes/core/class-builtin.php:1571
|
5912 |
msgid "Uighur"
|
5913 |
msgstr ""
|
5914 |
|
5915 |
+
#: includes/core/class-builtin.php:1572
|
5916 |
msgid "Ukrainian"
|
5917 |
msgstr ""
|
5918 |
|
5919 |
+
#: includes/core/class-builtin.php:1573
|
5920 |
msgid "Urdu"
|
5921 |
msgstr ""
|
5922 |
|
5923 |
+
#: includes/core/class-builtin.php:1574
|
5924 |
msgid "Uzbek"
|
5925 |
msgstr ""
|
5926 |
|
5927 |
+
#: includes/core/class-builtin.php:1575
|
5928 |
msgid "Venda"
|
5929 |
msgstr ""
|
5930 |
|
5931 |
+
#: includes/core/class-builtin.php:1576
|
5932 |
msgid "Vietnamese"
|
5933 |
msgstr ""
|
5934 |
|
5935 |
+
#: includes/core/class-builtin.php:1577
|
5936 |
msgid "Volapuk"
|
5937 |
msgstr ""
|
5938 |
|
5939 |
+
#: includes/core/class-builtin.php:1578
|
5940 |
msgid "Walloon"
|
5941 |
msgstr ""
|
5942 |
|
5943 |
+
#: includes/core/class-builtin.php:1579
|
5944 |
msgid "Wolof"
|
5945 |
msgstr ""
|
5946 |
|
5947 |
+
#: includes/core/class-builtin.php:1580
|
5948 |
msgid "Xhosa"
|
5949 |
msgstr ""
|
5950 |
|
5951 |
+
#: includes/core/class-builtin.php:1581
|
5952 |
msgid "Yiddish"
|
5953 |
msgstr ""
|
5954 |
|
5955 |
+
#: includes/core/class-builtin.php:1582
|
5956 |
msgid "Yoruba"
|
5957 |
msgstr ""
|
5958 |
|
5959 |
+
#: includes/core/class-builtin.php:1583
|
5960 |
msgid "Zhuang"
|
5961 |
msgstr ""
|
5962 |
|
5963 |
+
#: includes/core/class-builtin.php:1584
|
5964 |
msgid "Chinese"
|
5965 |
msgstr ""
|
5966 |
|
5967 |
+
#: includes/core/class-builtin.php:1585
|
5968 |
msgid "Zulu"
|
5969 |
msgstr ""
|
5970 |
|
5971 |
+
#: includes/core/class-builtin.php:1591
|
5972 |
msgid "Afghanistan"
|
5973 |
msgstr ""
|
5974 |
|
5975 |
+
#: includes/core/class-builtin.php:1592
|
5976 |
msgid "Åland Islands"
|
5977 |
msgstr ""
|
5978 |
|
5979 |
+
#: includes/core/class-builtin.php:1593
|
5980 |
msgid "Albania"
|
5981 |
msgstr ""
|
5982 |
|
5983 |
+
#: includes/core/class-builtin.php:1594
|
5984 |
msgid "Algeria"
|
5985 |
msgstr ""
|
5986 |
|
5987 |
+
#: includes/core/class-builtin.php:1595
|
5988 |
msgid "American Samoa"
|
5989 |
msgstr ""
|
5990 |
|
5991 |
+
#: includes/core/class-builtin.php:1596
|
5992 |
msgid "Andorra"
|
5993 |
msgstr ""
|
5994 |
|
5995 |
+
#: includes/core/class-builtin.php:1597
|
5996 |
msgid "Angola"
|
5997 |
msgstr ""
|
5998 |
|
5999 |
+
#: includes/core/class-builtin.php:1598
|
6000 |
msgid "Anguilla"
|
6001 |
msgstr ""
|
6002 |
|
6003 |
+
#: includes/core/class-builtin.php:1599
|
6004 |
msgid "Antarctica"
|
6005 |
msgstr ""
|
6006 |
|
6007 |
+
#: includes/core/class-builtin.php:1600
|
6008 |
msgid "Antigua and Barbuda"
|
6009 |
msgstr ""
|
6010 |
|
6011 |
+
#: includes/core/class-builtin.php:1601
|
6012 |
msgid "Argentina"
|
6013 |
msgstr ""
|
6014 |
|
6015 |
+
#: includes/core/class-builtin.php:1602
|
6016 |
msgid "Armenia"
|
6017 |
msgstr ""
|
6018 |
|
6019 |
+
#: includes/core/class-builtin.php:1603
|
6020 |
msgid "Aruba"
|
6021 |
msgstr ""
|
6022 |
|
6023 |
+
#: includes/core/class-builtin.php:1604
|
6024 |
msgid "Australia"
|
6025 |
msgstr ""
|
6026 |
|
6027 |
+
#: includes/core/class-builtin.php:1605
|
6028 |
msgid "Austria"
|
6029 |
msgstr ""
|
6030 |
|
6031 |
+
#: includes/core/class-builtin.php:1606
|
6032 |
msgid "Azerbaijan"
|
6033 |
msgstr ""
|
6034 |
|
6035 |
+
#: includes/core/class-builtin.php:1607
|
6036 |
msgid "Bahamas"
|
6037 |
msgstr ""
|
6038 |
|
6039 |
+
#: includes/core/class-builtin.php:1608
|
6040 |
msgid "Bahrain"
|
6041 |
msgstr ""
|
6042 |
|
6043 |
+
#: includes/core/class-builtin.php:1609
|
6044 |
msgid "Bangladesh"
|
6045 |
msgstr ""
|
6046 |
|
6047 |
+
#: includes/core/class-builtin.php:1610
|
6048 |
msgid "Barbados"
|
6049 |
msgstr ""
|
6050 |
|
6051 |
+
#: includes/core/class-builtin.php:1611
|
6052 |
msgid "Belarus"
|
6053 |
msgstr ""
|
6054 |
|
6055 |
+
#: includes/core/class-builtin.php:1612
|
6056 |
msgid "Belgium"
|
6057 |
msgstr ""
|
6058 |
|
6059 |
+
#: includes/core/class-builtin.php:1613
|
6060 |
msgid "Belize"
|
6061 |
msgstr ""
|
6062 |
|
6063 |
+
#: includes/core/class-builtin.php:1614
|
6064 |
msgid "Benin"
|
6065 |
msgstr ""
|
6066 |
|
6067 |
+
#: includes/core/class-builtin.php:1615
|
6068 |
msgid "Bermuda"
|
6069 |
msgstr ""
|
6070 |
|
6071 |
+
#: includes/core/class-builtin.php:1616
|
6072 |
msgid "Bhutan"
|
6073 |
msgstr ""
|
6074 |
|
6075 |
+
#: includes/core/class-builtin.php:1617
|
6076 |
msgid "Bolivia, Plurinational State of"
|
6077 |
msgstr ""
|
6078 |
|
6079 |
+
#: includes/core/class-builtin.php:1618
|
6080 |
msgid "Bosnia and Herzegovina"
|
6081 |
msgstr ""
|
6082 |
|
6083 |
+
#: includes/core/class-builtin.php:1619
|
6084 |
msgid "Botswana"
|
6085 |
msgstr ""
|
6086 |
|
6087 |
+
#: includes/core/class-builtin.php:1620
|
6088 |
msgid "Bouvet Island"
|
6089 |
msgstr ""
|
6090 |
|
6091 |
+
#: includes/core/class-builtin.php:1621
|
6092 |
msgid "Brazil"
|
6093 |
msgstr ""
|
6094 |
|
6095 |
+
#: includes/core/class-builtin.php:1622
|
6096 |
msgid "British Indian Ocean Territory"
|
6097 |
msgstr ""
|
6098 |
|
6099 |
+
#: includes/core/class-builtin.php:1623
|
6100 |
msgid "Brunei Darussalam"
|
6101 |
msgstr ""
|
6102 |
|
6103 |
+
#: includes/core/class-builtin.php:1624
|
6104 |
msgid "Bulgaria"
|
6105 |
msgstr ""
|
6106 |
|
6107 |
+
#: includes/core/class-builtin.php:1625
|
6108 |
msgid "Burkina Faso"
|
6109 |
msgstr ""
|
6110 |
|
6111 |
+
#: includes/core/class-builtin.php:1626
|
6112 |
msgid "Burundi"
|
6113 |
msgstr ""
|
6114 |
|
6115 |
+
#: includes/core/class-builtin.php:1627
|
6116 |
msgid "Cambodia"
|
6117 |
msgstr ""
|
6118 |
|
6119 |
+
#: includes/core/class-builtin.php:1628
|
6120 |
msgid "Cameroon"
|
6121 |
msgstr ""
|
6122 |
|
6123 |
+
#: includes/core/class-builtin.php:1629
|
6124 |
msgid "Canada"
|
6125 |
msgstr ""
|
6126 |
|
6127 |
+
#: includes/core/class-builtin.php:1630
|
6128 |
msgid "Cape Verde"
|
6129 |
msgstr ""
|
6130 |
|
6131 |
+
#: includes/core/class-builtin.php:1631
|
6132 |
msgid "Cayman Islands"
|
6133 |
msgstr ""
|
6134 |
|
6135 |
+
#: includes/core/class-builtin.php:1632
|
6136 |
msgid "Central African Republic"
|
6137 |
msgstr ""
|
6138 |
|
6139 |
+
#: includes/core/class-builtin.php:1633
|
6140 |
msgid "Chad"
|
6141 |
msgstr ""
|
6142 |
|
6143 |
+
#: includes/core/class-builtin.php:1634
|
6144 |
msgid "Chile"
|
6145 |
msgstr ""
|
6146 |
|
6147 |
+
#: includes/core/class-builtin.php:1635
|
6148 |
msgid "China"
|
6149 |
msgstr ""
|
6150 |
|
6151 |
+
#: includes/core/class-builtin.php:1636
|
6152 |
msgid "Christmas Island"
|
6153 |
msgstr ""
|
6154 |
|
6155 |
+
#: includes/core/class-builtin.php:1637
|
6156 |
msgid "Cocos (Keeling) Islands"
|
6157 |
msgstr ""
|
6158 |
|
6159 |
+
#: includes/core/class-builtin.php:1638
|
6160 |
msgid "Colombia"
|
6161 |
msgstr ""
|
6162 |
|
6163 |
+
#: includes/core/class-builtin.php:1639
|
6164 |
msgid "Comoros"
|
6165 |
msgstr ""
|
6166 |
|
6167 |
+
#: includes/core/class-builtin.php:1640
|
6168 |
msgid "Congo"
|
6169 |
msgstr ""
|
6170 |
|
6171 |
+
#: includes/core/class-builtin.php:1641
|
6172 |
msgid "Congo, the Democratic Republic of the"
|
6173 |
msgstr ""
|
6174 |
|
6175 |
+
#: includes/core/class-builtin.php:1642
|
6176 |
msgid "Cook Islands"
|
6177 |
msgstr ""
|
6178 |
|
6179 |
+
#: includes/core/class-builtin.php:1643
|
6180 |
msgid "Costa Rica"
|
6181 |
msgstr ""
|
6182 |
|
6183 |
+
#: includes/core/class-builtin.php:1644
|
6184 |
msgid "Côte d'Ivoire"
|
6185 |
msgstr ""
|
6186 |
|
6187 |
+
#: includes/core/class-builtin.php:1645
|
6188 |
msgid "Croatia"
|
6189 |
msgstr ""
|
6190 |
|
6191 |
+
#: includes/core/class-builtin.php:1646
|
6192 |
msgid "Cuba"
|
6193 |
msgstr ""
|
6194 |
|
6195 |
+
#: includes/core/class-builtin.php:1647
|
6196 |
msgid "Cyprus"
|
6197 |
msgstr ""
|
6198 |
|
6199 |
+
#: includes/core/class-builtin.php:1648
|
6200 |
msgid "Czech Republic"
|
6201 |
msgstr ""
|
6202 |
|
6203 |
+
#: includes/core/class-builtin.php:1649
|
6204 |
msgid "Denmark"
|
6205 |
msgstr ""
|
6206 |
|
6207 |
+
#: includes/core/class-builtin.php:1650
|
6208 |
msgid "Djibouti"
|
6209 |
msgstr ""
|
6210 |
|
6211 |
+
#: includes/core/class-builtin.php:1651
|
6212 |
msgid "Dominica"
|
6213 |
msgstr ""
|
6214 |
|
6215 |
+
#: includes/core/class-builtin.php:1652
|
6216 |
msgid "Dominican Republic"
|
6217 |
msgstr ""
|
6218 |
|
6219 |
+
#: includes/core/class-builtin.php:1653
|
6220 |
msgid "Ecuador"
|
6221 |
msgstr ""
|
6222 |
|
6223 |
+
#: includes/core/class-builtin.php:1654
|
6224 |
msgid "Egypt"
|
6225 |
msgstr ""
|
6226 |
|
6227 |
+
#: includes/core/class-builtin.php:1655
|
6228 |
msgid "El Salvador"
|
6229 |
msgstr ""
|
6230 |
|
6231 |
+
#: includes/core/class-builtin.php:1656
|
6232 |
msgid "Equatorial Guinea"
|
6233 |
msgstr ""
|
6234 |
|
6235 |
+
#: includes/core/class-builtin.php:1657
|
6236 |
msgid "Eritrea"
|
6237 |
msgstr ""
|
6238 |
|
6239 |
+
#: includes/core/class-builtin.php:1658
|
6240 |
msgid "Estonia"
|
6241 |
msgstr ""
|
6242 |
|
6243 |
+
#: includes/core/class-builtin.php:1659
|
6244 |
msgid "Ethiopia"
|
6245 |
msgstr ""
|
6246 |
|
6247 |
+
#: includes/core/class-builtin.php:1660
|
6248 |
msgid "Falkland Islands (Malvinas)"
|
6249 |
msgstr ""
|
6250 |
|
6251 |
+
#: includes/core/class-builtin.php:1661
|
6252 |
msgid "Faroe Islands"
|
6253 |
msgstr ""
|
6254 |
|
6255 |
+
#: includes/core/class-builtin.php:1662
|
6256 |
msgid "Fiji"
|
6257 |
msgstr ""
|
6258 |
|
6259 |
+
#: includes/core/class-builtin.php:1663
|
6260 |
msgid "Finland"
|
6261 |
msgstr ""
|
6262 |
|
6263 |
+
#: includes/core/class-builtin.php:1664
|
6264 |
msgid "France"
|
6265 |
msgstr ""
|
6266 |
|
6267 |
+
#: includes/core/class-builtin.php:1665
|
6268 |
msgid "French Guiana"
|
6269 |
msgstr ""
|
6270 |
|
6271 |
+
#: includes/core/class-builtin.php:1666
|
6272 |
msgid "French Polynesia"
|
6273 |
msgstr ""
|
6274 |
|
6275 |
+
#: includes/core/class-builtin.php:1667
|
6276 |
msgid "French Southern Territories"
|
6277 |
msgstr ""
|
6278 |
|
6279 |
+
#: includes/core/class-builtin.php:1668
|
6280 |
msgid "Gabon"
|
6281 |
msgstr ""
|
6282 |
|
6283 |
+
#: includes/core/class-builtin.php:1669
|
6284 |
msgid "Gambia"
|
6285 |
msgstr ""
|
6286 |
|
6287 |
+
#: includes/core/class-builtin.php:1670
|
6288 |
msgid "Georgia"
|
6289 |
msgstr ""
|
6290 |
|
6291 |
+
#: includes/core/class-builtin.php:1671
|
6292 |
msgid "Germany"
|
6293 |
msgstr ""
|
6294 |
|
6295 |
+
#: includes/core/class-builtin.php:1672
|
6296 |
msgid "Ghana"
|
6297 |
msgstr ""
|
6298 |
|
6299 |
+
#: includes/core/class-builtin.php:1673
|
6300 |
msgid "Gibraltar"
|
6301 |
msgstr ""
|
6302 |
|
6303 |
+
#: includes/core/class-builtin.php:1674
|
6304 |
msgid "Greece"
|
6305 |
msgstr ""
|
6306 |
|
6307 |
+
#: includes/core/class-builtin.php:1675
|
6308 |
msgid "Greenland"
|
6309 |
msgstr ""
|
6310 |
|
6311 |
+
#: includes/core/class-builtin.php:1676
|
6312 |
msgid "Grenada"
|
6313 |
msgstr ""
|
6314 |
|
6315 |
+
#: includes/core/class-builtin.php:1677
|
6316 |
msgid "Guadeloupe"
|
6317 |
msgstr ""
|
6318 |
|
6319 |
+
#: includes/core/class-builtin.php:1678
|
6320 |
msgid "Guam"
|
6321 |
msgstr ""
|
6322 |
|
6323 |
+
#: includes/core/class-builtin.php:1679
|
6324 |
msgid "Guatemala"
|
6325 |
msgstr ""
|
6326 |
|
6327 |
+
#: includes/core/class-builtin.php:1680
|
6328 |
msgid "Guernsey"
|
6329 |
msgstr ""
|
6330 |
|
6331 |
+
#: includes/core/class-builtin.php:1681
|
6332 |
msgid "Guinea"
|
6333 |
msgstr ""
|
6334 |
|
6335 |
+
#: includes/core/class-builtin.php:1682
|
6336 |
msgid "Guinea-Bissau"
|
6337 |
msgstr ""
|
6338 |
|
6339 |
+
#: includes/core/class-builtin.php:1683
|
6340 |
msgid "Guyana"
|
6341 |
msgstr ""
|
6342 |
|
6343 |
+
#: includes/core/class-builtin.php:1684
|
6344 |
msgid "Haiti"
|
6345 |
msgstr ""
|
6346 |
|
6347 |
+
#: includes/core/class-builtin.php:1685
|
6348 |
msgid "Heard Island and McDonald Islands"
|
6349 |
msgstr ""
|
6350 |
|
6351 |
+
#: includes/core/class-builtin.php:1686
|
6352 |
msgid "Holy See (Vatican City State)"
|
6353 |
msgstr ""
|
6354 |
|
6355 |
+
#: includes/core/class-builtin.php:1687
|
6356 |
msgid "Honduras"
|
6357 |
msgstr ""
|
6358 |
|
6359 |
+
#: includes/core/class-builtin.php:1688
|
6360 |
msgid "Hong Kong"
|
6361 |
msgstr ""
|
6362 |
|
6363 |
+
#: includes/core/class-builtin.php:1689
|
6364 |
msgid "Hungary"
|
6365 |
msgstr ""
|
6366 |
|
6367 |
+
#: includes/core/class-builtin.php:1690
|
6368 |
msgid "Iceland"
|
6369 |
msgstr ""
|
6370 |
|
6371 |
+
#: includes/core/class-builtin.php:1691
|
6372 |
msgid "India"
|
6373 |
msgstr ""
|
6374 |
|
6375 |
+
#: includes/core/class-builtin.php:1692
|
6376 |
msgid "Indonesia"
|
6377 |
msgstr ""
|
6378 |
|
6379 |
+
#: includes/core/class-builtin.php:1693
|
6380 |
msgid "Iran, Islamic Republic of"
|
6381 |
msgstr ""
|
6382 |
|
6383 |
+
#: includes/core/class-builtin.php:1694
|
6384 |
msgid "Iraq"
|
6385 |
msgstr ""
|
6386 |
|
6387 |
+
#: includes/core/class-builtin.php:1695
|
6388 |
msgid "Ireland"
|
6389 |
msgstr ""
|
6390 |
|
6391 |
+
#: includes/core/class-builtin.php:1696
|
6392 |
msgid "Isle of Man"
|
6393 |
msgstr ""
|
6394 |
|
6395 |
+
#: includes/core/class-builtin.php:1697
|
6396 |
msgid "Israel"
|
6397 |
msgstr ""
|
6398 |
|
6399 |
+
#: includes/core/class-builtin.php:1698
|
6400 |
msgid "Italy"
|
6401 |
msgstr ""
|
6402 |
|
6403 |
+
#: includes/core/class-builtin.php:1699
|
6404 |
msgid "Jamaica"
|
6405 |
msgstr ""
|
6406 |
|
6407 |
+
#: includes/core/class-builtin.php:1700
|
6408 |
msgid "Japan"
|
6409 |
msgstr ""
|
6410 |
|
6411 |
+
#: includes/core/class-builtin.php:1701
|
6412 |
msgid "Jersey"
|
6413 |
msgstr ""
|
6414 |
|
6415 |
+
#: includes/core/class-builtin.php:1702
|
6416 |
msgid "Jordan"
|
6417 |
msgstr ""
|
6418 |
|
6419 |
+
#: includes/core/class-builtin.php:1703
|
6420 |
msgid "Kazakhstan"
|
6421 |
msgstr ""
|
6422 |
|
6423 |
+
#: includes/core/class-builtin.php:1704
|
6424 |
msgid "Kenya"
|
6425 |
msgstr ""
|
6426 |
|
6427 |
+
#: includes/core/class-builtin.php:1705
|
6428 |
msgid "Kiribati"
|
6429 |
msgstr ""
|
6430 |
|
6431 |
+
#: includes/core/class-builtin.php:1706
|
6432 |
msgid "Korea, Democratic People's Republic of"
|
6433 |
msgstr ""
|
6434 |
|
6435 |
+
#: includes/core/class-builtin.php:1707
|
6436 |
msgid "Korea, Republic of"
|
6437 |
msgstr ""
|
6438 |
|
6439 |
+
#: includes/core/class-builtin.php:1708
|
6440 |
msgid "Kuwait"
|
6441 |
msgstr ""
|
6442 |
|
6443 |
+
#: includes/core/class-builtin.php:1709
|
6444 |
msgid "Kyrgyzstan"
|
6445 |
msgstr ""
|
6446 |
|
6447 |
+
#: includes/core/class-builtin.php:1710
|
6448 |
msgid "Lao People's Democratic Republic"
|
6449 |
msgstr ""
|
6450 |
|
6451 |
+
#: includes/core/class-builtin.php:1711
|
6452 |
msgid "Latvia"
|
6453 |
msgstr ""
|
6454 |
|
6455 |
+
#: includes/core/class-builtin.php:1712
|
6456 |
msgid "Lebanon"
|
6457 |
msgstr ""
|
6458 |
|
6459 |
+
#: includes/core/class-builtin.php:1713
|
6460 |
msgid "Lesotho"
|
6461 |
msgstr ""
|
6462 |
|
6463 |
+
#: includes/core/class-builtin.php:1714
|
6464 |
msgid "Liberia"
|
6465 |
msgstr ""
|
6466 |
|
6467 |
+
#: includes/core/class-builtin.php:1715
|
6468 |
msgid "Libyan Arab Jamahiriya"
|
6469 |
msgstr ""
|
6470 |
|
6471 |
+
#: includes/core/class-builtin.php:1716
|
6472 |
msgid "Liechtenstein"
|
6473 |
msgstr ""
|
6474 |
|
6475 |
+
#: includes/core/class-builtin.php:1717
|
6476 |
msgid "Lithuania"
|
6477 |
msgstr ""
|
6478 |
|
6479 |
+
#: includes/core/class-builtin.php:1718
|
6480 |
msgid "Luxembourg"
|
6481 |
msgstr ""
|
6482 |
|
6483 |
+
#: includes/core/class-builtin.php:1719
|
6484 |
msgid "Macao"
|
6485 |
msgstr ""
|
6486 |
|
6487 |
+
#: includes/core/class-builtin.php:1720
|
6488 |
msgid "Macedonia, the former Yugoslav Republic of"
|
6489 |
msgstr ""
|
6490 |
|
6491 |
+
#: includes/core/class-builtin.php:1721
|
6492 |
msgid "Madagascar"
|
6493 |
msgstr ""
|
6494 |
|
6495 |
+
#: includes/core/class-builtin.php:1722
|
6496 |
msgid "Malawi"
|
6497 |
msgstr ""
|
6498 |
|
6499 |
+
#: includes/core/class-builtin.php:1723
|
6500 |
msgid "Malaysia"
|
6501 |
msgstr ""
|
6502 |
|
6503 |
+
#: includes/core/class-builtin.php:1724
|
6504 |
msgid "Maldives"
|
6505 |
msgstr ""
|
6506 |
|
6507 |
+
#: includes/core/class-builtin.php:1725
|
6508 |
msgid "Mali"
|
6509 |
msgstr ""
|
6510 |
|
6511 |
+
#: includes/core/class-builtin.php:1726
|
6512 |
msgid "Malta"
|
6513 |
msgstr ""
|
6514 |
|
6515 |
+
#: includes/core/class-builtin.php:1727
|
6516 |
msgid "Marshall Islands"
|
6517 |
msgstr ""
|
6518 |
|
6519 |
+
#: includes/core/class-builtin.php:1728
|
6520 |
msgid "Martinique"
|
6521 |
msgstr ""
|
6522 |
|
6523 |
+
#: includes/core/class-builtin.php:1729
|
6524 |
msgid "Mauritania"
|
6525 |
msgstr ""
|
6526 |
|
6527 |
+
#: includes/core/class-builtin.php:1730
|
6528 |
msgid "Mauritius"
|
6529 |
msgstr ""
|
6530 |
|
6531 |
+
#: includes/core/class-builtin.php:1731
|
6532 |
msgid "Mayotte"
|
6533 |
msgstr ""
|
6534 |
|
6535 |
+
#: includes/core/class-builtin.php:1732
|
6536 |
msgid "Mexico"
|
6537 |
msgstr ""
|
6538 |
|
6539 |
+
#: includes/core/class-builtin.php:1733
|
6540 |
msgid "Micronesia, Federated States of"
|
6541 |
msgstr ""
|
6542 |
|
6543 |
+
#: includes/core/class-builtin.php:1734
|
6544 |
msgid "Moldova, Republic of"
|
6545 |
msgstr ""
|
6546 |
|
6547 |
+
#: includes/core/class-builtin.php:1735
|
6548 |
msgid "Monaco"
|
6549 |
msgstr ""
|
6550 |
|
6551 |
+
#: includes/core/class-builtin.php:1736
|
6552 |
msgid "Mongolia"
|
6553 |
msgstr ""
|
6554 |
|
6555 |
+
#: includes/core/class-builtin.php:1737
|
6556 |
msgid "Montenegro"
|
6557 |
msgstr ""
|
6558 |
|
6559 |
+
#: includes/core/class-builtin.php:1738
|
6560 |
msgid "Montserrat"
|
6561 |
msgstr ""
|
6562 |
|
6563 |
+
#: includes/core/class-builtin.php:1739
|
6564 |
msgid "Morocco"
|
6565 |
msgstr ""
|
6566 |
|
6567 |
+
#: includes/core/class-builtin.php:1740
|
6568 |
msgid "Mozambique"
|
6569 |
msgstr ""
|
6570 |
|
6571 |
+
#: includes/core/class-builtin.php:1741
|
6572 |
msgid "Myanmar"
|
6573 |
msgstr ""
|
6574 |
|
6575 |
+
#: includes/core/class-builtin.php:1742
|
6576 |
msgid "Namibia"
|
6577 |
msgstr ""
|
6578 |
|
6579 |
+
#: includes/core/class-builtin.php:1744
|
6580 |
msgid "Nepal"
|
6581 |
msgstr ""
|
6582 |
|
6583 |
+
#: includes/core/class-builtin.php:1745
|
6584 |
msgid "Netherlands"
|
6585 |
msgstr ""
|
6586 |
|
6587 |
+
#: includes/core/class-builtin.php:1746
|
6588 |
msgid "Netherlands Antilles"
|
6589 |
msgstr ""
|
6590 |
|
6591 |
+
#: includes/core/class-builtin.php:1747
|
6592 |
msgid "New Caledonia"
|
6593 |
msgstr ""
|
6594 |
|
6595 |
+
#: includes/core/class-builtin.php:1748
|
6596 |
msgid "New Zealand"
|
6597 |
msgstr ""
|
6598 |
|
6599 |
+
#: includes/core/class-builtin.php:1749
|
6600 |
msgid "Nicaragua"
|
6601 |
msgstr ""
|
6602 |
|
6603 |
+
#: includes/core/class-builtin.php:1750
|
6604 |
msgid "Niger"
|
6605 |
msgstr ""
|
6606 |
|
6607 |
+
#: includes/core/class-builtin.php:1751
|
6608 |
msgid "Nigeria"
|
6609 |
msgstr ""
|
6610 |
|
6611 |
+
#: includes/core/class-builtin.php:1752
|
6612 |
msgid "Niue"
|
6613 |
msgstr ""
|
6614 |
|
6615 |
+
#: includes/core/class-builtin.php:1753
|
6616 |
msgid "Norfolk Island"
|
6617 |
msgstr ""
|
6618 |
|
6619 |
+
#: includes/core/class-builtin.php:1754
|
6620 |
msgid "Northern Mariana Islands"
|
6621 |
msgstr ""
|
6622 |
|
6623 |
+
#: includes/core/class-builtin.php:1755
|
6624 |
msgid "Norway"
|
6625 |
msgstr ""
|
6626 |
|
6627 |
+
#: includes/core/class-builtin.php:1756
|
6628 |
msgid "Oman"
|
6629 |
msgstr ""
|
6630 |
|
6631 |
+
#: includes/core/class-builtin.php:1757
|
6632 |
msgid "Pakistan"
|
6633 |
msgstr ""
|
6634 |
|
6635 |
+
#: includes/core/class-builtin.php:1758
|
6636 |
msgid "Palau"
|
6637 |
msgstr ""
|
6638 |
|
6639 |
+
#: includes/core/class-builtin.php:1759
|
6640 |
msgid "Palestine"
|
6641 |
msgstr ""
|
6642 |
|
6643 |
+
#: includes/core/class-builtin.php:1760
|
6644 |
msgid "Panama"
|
6645 |
msgstr ""
|
6646 |
|
6647 |
+
#: includes/core/class-builtin.php:1761
|
6648 |
msgid "Papua New Guinea"
|
6649 |
msgstr ""
|
6650 |
|
6651 |
+
#: includes/core/class-builtin.php:1762
|
6652 |
msgid "Paraguay"
|
6653 |
msgstr ""
|
6654 |
|
6655 |
+
#: includes/core/class-builtin.php:1763
|
6656 |
msgid "Peru"
|
6657 |
msgstr ""
|
6658 |
|
6659 |
+
#: includes/core/class-builtin.php:1764
|
6660 |
msgid "Philippines"
|
6661 |
msgstr ""
|
6662 |
|
6663 |
+
#: includes/core/class-builtin.php:1765
|
6664 |
msgid "Pitcairn"
|
6665 |
msgstr ""
|
6666 |
|
6667 |
+
#: includes/core/class-builtin.php:1766
|
6668 |
msgid "Poland"
|
6669 |
msgstr ""
|
6670 |
|
6671 |
+
#: includes/core/class-builtin.php:1767
|
6672 |
msgid "Portugal"
|
6673 |
msgstr ""
|
6674 |
|
6675 |
+
#: includes/core/class-builtin.php:1768
|
6676 |
msgid "Puerto Rico"
|
6677 |
msgstr ""
|
6678 |
|
6679 |
+
#: includes/core/class-builtin.php:1769
|
6680 |
msgid "Qatar"
|
6681 |
msgstr ""
|
6682 |
|
6683 |
+
#: includes/core/class-builtin.php:1770
|
6684 |
msgid "Réunion"
|
6685 |
msgstr ""
|
6686 |
|
6687 |
+
#: includes/core/class-builtin.php:1771
|
6688 |
msgid "Romania"
|
6689 |
msgstr ""
|
6690 |
|
6691 |
+
#: includes/core/class-builtin.php:1772
|
6692 |
msgid "Russian Federation"
|
6693 |
msgstr ""
|
6694 |
|
6695 |
+
#: includes/core/class-builtin.php:1773
|
6696 |
msgid "Rwanda"
|
6697 |
msgstr ""
|
6698 |
|
6699 |
+
#: includes/core/class-builtin.php:1774
|
6700 |
msgid "Saint Barthélemy"
|
6701 |
msgstr ""
|
6702 |
|
6703 |
+
#: includes/core/class-builtin.php:1775
|
6704 |
msgid "Saint Helena"
|
6705 |
msgstr ""
|
6706 |
|
6707 |
+
#: includes/core/class-builtin.php:1776
|
6708 |
msgid "Saint Kitts and Nevis"
|
6709 |
msgstr ""
|
6710 |
|
6711 |
+
#: includes/core/class-builtin.php:1777
|
6712 |
msgid "Saint Lucia"
|
6713 |
msgstr ""
|
6714 |
|
6715 |
+
#: includes/core/class-builtin.php:1778
|
6716 |
msgid "Saint Martin (French part)"
|
6717 |
msgstr ""
|
6718 |
|
6719 |
+
#: includes/core/class-builtin.php:1779
|
6720 |
msgid "Saint Pierre and Miquelon"
|
6721 |
msgstr ""
|
6722 |
|
6723 |
+
#: includes/core/class-builtin.php:1780
|
6724 |
msgid "Saint Vincent and the Grenadines"
|
6725 |
msgstr ""
|
6726 |
|
6727 |
+
#: includes/core/class-builtin.php:1781
|
6728 |
msgid "Samoa"
|
6729 |
msgstr ""
|
6730 |
|
6731 |
+
#: includes/core/class-builtin.php:1782
|
6732 |
msgid "San Marino"
|
6733 |
msgstr ""
|
6734 |
|
6735 |
+
#: includes/core/class-builtin.php:1783
|
6736 |
msgid "Sao Tome and Principe"
|
6737 |
msgstr ""
|
6738 |
|
6739 |
+
#: includes/core/class-builtin.php:1784
|
6740 |
msgid "Saudi Arabia"
|
6741 |
msgstr ""
|
6742 |
|
6743 |
+
#: includes/core/class-builtin.php:1785
|
6744 |
msgid "Senegal"
|
6745 |
msgstr ""
|
6746 |
|
6747 |
+
#: includes/core/class-builtin.php:1786
|
6748 |
msgid "Serbia"
|
6749 |
msgstr ""
|
6750 |
|
6751 |
+
#: includes/core/class-builtin.php:1787
|
6752 |
msgid "Seychelles"
|
6753 |
msgstr ""
|
6754 |
|
6755 |
+
#: includes/core/class-builtin.php:1788
|
6756 |
msgid "Sierra Leone"
|
6757 |
msgstr ""
|
6758 |
|
6759 |
+
#: includes/core/class-builtin.php:1789
|
6760 |
msgid "Singapore"
|
6761 |
msgstr ""
|
6762 |
|
6763 |
+
#: includes/core/class-builtin.php:1790
|
6764 |
msgid "Slovakia"
|
6765 |
msgstr ""
|
6766 |
|
6767 |
+
#: includes/core/class-builtin.php:1791
|
6768 |
msgid "Slovenia"
|
6769 |
msgstr ""
|
6770 |
|
6771 |
+
#: includes/core/class-builtin.php:1792
|
6772 |
msgid "Solomon Islands"
|
6773 |
msgstr ""
|
6774 |
|
6775 |
+
#: includes/core/class-builtin.php:1793
|
6776 |
msgid "Somalia"
|
6777 |
msgstr ""
|
6778 |
|
6779 |
+
#: includes/core/class-builtin.php:1794
|
6780 |
msgid "South Africa"
|
6781 |
msgstr ""
|
6782 |
|
6783 |
+
#: includes/core/class-builtin.php:1795
|
6784 |
msgid "South Georgia and the South Sandwich Islands"
|
6785 |
msgstr ""
|
6786 |
|
6787 |
+
#: includes/core/class-builtin.php:1796
|
6788 |
msgid "South Sudan"
|
6789 |
msgstr ""
|
6790 |
|
6791 |
+
#: includes/core/class-builtin.php:1797
|
6792 |
msgid "Spain"
|
6793 |
msgstr ""
|
6794 |
|
6795 |
+
#: includes/core/class-builtin.php:1798
|
6796 |
msgid "Sri Lanka"
|
6797 |
msgstr ""
|
6798 |
|
6799 |
+
#: includes/core/class-builtin.php:1799
|
6800 |
msgid "Sudan"
|
6801 |
msgstr ""
|
6802 |
|
6803 |
+
#: includes/core/class-builtin.php:1800
|
6804 |
msgid "Suriname"
|
6805 |
msgstr ""
|
6806 |
|
6807 |
+
#: includes/core/class-builtin.php:1801
|
6808 |
msgid "Svalbard and Jan Mayen"
|
6809 |
msgstr ""
|
6810 |
|
6811 |
+
#: includes/core/class-builtin.php:1802
|
6812 |
msgid "Swaziland"
|
6813 |
msgstr ""
|
6814 |
|
6815 |
+
#: includes/core/class-builtin.php:1803
|
6816 |
msgid "Sweden"
|
6817 |
msgstr ""
|
6818 |
|
6819 |
+
#: includes/core/class-builtin.php:1804
|
6820 |
msgid "Switzerland"
|
6821 |
msgstr ""
|
6822 |
|
6823 |
+
#: includes/core/class-builtin.php:1805
|
6824 |
msgid "Syrian Arab Republic"
|
6825 |
msgstr ""
|
6826 |
|
6827 |
+
#: includes/core/class-builtin.php:1806
|
6828 |
msgid "Taiwan, Province of China"
|
6829 |
msgstr ""
|
6830 |
|
6831 |
+
#: includes/core/class-builtin.php:1807
|
6832 |
msgid "Tajikistan"
|
6833 |
msgstr ""
|
6834 |
|
6835 |
+
#: includes/core/class-builtin.php:1808
|
6836 |
msgid "Tanzania, United Republic of"
|
6837 |
msgstr ""
|
6838 |
|
6839 |
+
#: includes/core/class-builtin.php:1809
|
6840 |
msgid "Thailand"
|
6841 |
msgstr ""
|
6842 |
|
6843 |
+
#: includes/core/class-builtin.php:1810
|
6844 |
msgid "Timor-Leste"
|
6845 |
msgstr ""
|
6846 |
|
6847 |
+
#: includes/core/class-builtin.php:1811
|
6848 |
msgid "Togo"
|
6849 |
msgstr ""
|
6850 |
|
6851 |
+
#: includes/core/class-builtin.php:1812
|
6852 |
msgid "Tokelau"
|
6853 |
msgstr ""
|
6854 |
|
6855 |
+
#: includes/core/class-builtin.php:1814
|
6856 |
msgid "Trinidad and Tobago"
|
6857 |
msgstr ""
|
6858 |
|
6859 |
+
#: includes/core/class-builtin.php:1815
|
6860 |
msgid "Tunisia"
|
6861 |
msgstr ""
|
6862 |
|
6863 |
+
#: includes/core/class-builtin.php:1816
|
6864 |
msgid "Turkey"
|
6865 |
msgstr ""
|
6866 |
|
6867 |
+
#: includes/core/class-builtin.php:1817
|
6868 |
msgid "Turkmenistan"
|
6869 |
msgstr ""
|
6870 |
|
6871 |
+
#: includes/core/class-builtin.php:1818
|
6872 |
msgid "Turks and Caicos Islands"
|
6873 |
msgstr ""
|
6874 |
|
6875 |
+
#: includes/core/class-builtin.php:1819
|
6876 |
msgid "Tuvalu"
|
6877 |
msgstr ""
|
6878 |
|
6879 |
+
#: includes/core/class-builtin.php:1820
|
6880 |
msgid "Uganda"
|
6881 |
msgstr ""
|
6882 |
|
6883 |
+
#: includes/core/class-builtin.php:1821
|
6884 |
msgid "Ukraine"
|
6885 |
msgstr ""
|
6886 |
|
6887 |
+
#: includes/core/class-builtin.php:1822
|
6888 |
msgid "United Arab Emirates"
|
6889 |
msgstr ""
|
6890 |
|
6891 |
+
#: includes/core/class-builtin.php:1823
|
6892 |
msgid "United Kingdom"
|
6893 |
msgstr ""
|
6894 |
|
6895 |
+
#: includes/core/class-builtin.php:1824
|
6896 |
msgid "United States"
|
6897 |
msgstr ""
|
6898 |
|
6899 |
+
#: includes/core/class-builtin.php:1825
|
6900 |
msgid "United States Minor Outlying Islands"
|
6901 |
msgstr ""
|
6902 |
|
6903 |
+
#: includes/core/class-builtin.php:1826
|
6904 |
msgid "Uruguay"
|
6905 |
msgstr ""
|
6906 |
|
6907 |
+
#: includes/core/class-builtin.php:1827
|
6908 |
msgid "Uzbekistan"
|
6909 |
msgstr ""
|
6910 |
|
6911 |
+
#: includes/core/class-builtin.php:1828
|
6912 |
msgid "Vanuatu"
|
6913 |
msgstr ""
|
6914 |
|
6915 |
+
#: includes/core/class-builtin.php:1829
|
6916 |
msgid "Venezuela, Bolivarian Republic of"
|
6917 |
msgstr ""
|
6918 |
|
6919 |
+
#: includes/core/class-builtin.php:1830
|
6920 |
msgid "Viet Nam"
|
6921 |
msgstr ""
|
6922 |
|
6923 |
+
#: includes/core/class-builtin.php:1831
|
6924 |
msgid "Virgin Islands, British"
|
6925 |
msgstr ""
|
6926 |
|
6927 |
+
#: includes/core/class-builtin.php:1832
|
6928 |
msgid "Virgin Islands, U.S."
|
6929 |
msgstr ""
|
6930 |
|
6931 |
+
#: includes/core/class-builtin.php:1833
|
6932 |
msgid "Wallis and Futuna"
|
6933 |
msgstr ""
|
6934 |
|
6935 |
+
#: includes/core/class-builtin.php:1834
|
6936 |
msgid "Western Sahara"
|
6937 |
msgstr ""
|
6938 |
|
6939 |
+
#: includes/core/class-builtin.php:1835
|
6940 |
msgid "Yemen"
|
6941 |
msgstr ""
|
6942 |
|
6943 |
+
#: includes/core/class-builtin.php:1836
|
6944 |
msgid "Zambia"
|
6945 |
msgstr ""
|
6946 |
|
6947 |
+
#: includes/core/class-builtin.php:1837
|
6948 |
msgid "Zimbabwe"
|
6949 |
msgstr ""
|
6950 |
|
6951 |
+
#: includes/core/class-common.php:59 includes/um-short-functions.php:792
|
6952 |
+
#: includes/um-short-functions.php:800
|
6953 |
msgid "Form"
|
6954 |
msgstr ""
|
6955 |
|
7046 |
msgid "Add translation to %s"
|
7047 |
msgstr ""
|
7048 |
|
7049 |
+
#: includes/core/class-fields.php:1333 templates/message.php:6
|
7050 |
#, php-format
|
7051 |
msgid "%s"
|
7052 |
msgstr ""
|
7053 |
|
7054 |
+
#: includes/core/class-fields.php:1354
|
7055 |
msgid "Custom Field"
|
7056 |
msgstr ""
|
7057 |
|
7058 |
+
#: includes/core/class-fields.php:1697
|
7059 |
msgid "Please upload a valid image!"
|
7060 |
msgstr ""
|
7061 |
|
7062 |
+
#: includes/core/class-fields.php:1711
|
7063 |
msgid "Sorry this is not a valid image."
|
7064 |
msgstr ""
|
7065 |
|
7066 |
+
#: includes/core/class-fields.php:1714
|
7067 |
msgid "This image is too large!"
|
7068 |
msgstr ""
|
7069 |
|
7070 |
+
#: includes/core/class-fields.php:1717
|
7071 |
msgid "This image is too small!"
|
7072 |
msgstr ""
|
7073 |
|
7074 |
+
#: includes/core/class-fields.php:1720
|
7075 |
msgid "You can only upload one image"
|
7076 |
msgstr ""
|
7077 |
|
7078 |
+
#: includes/core/class-fields.php:1752
|
7079 |
msgid "Sorry this is not a valid file."
|
7080 |
msgstr ""
|
7081 |
|
7082 |
+
#: includes/core/class-fields.php:1755
|
7083 |
msgid "This file is too large!"
|
7084 |
msgstr ""
|
7085 |
|
7086 |
+
#: includes/core/class-fields.php:1758
|
7087 |
msgid "This file is too small!"
|
7088 |
msgstr ""
|
7089 |
|
7090 |
+
#: includes/core/class-fields.php:1761
|
7091 |
msgid "You can only upload one file"
|
7092 |
msgstr ""
|
7093 |
|
7094 |
+
#: includes/core/class-fields.php:2289
|
7095 |
msgid "Current Password"
|
7096 |
msgstr ""
|
7097 |
|
7098 |
+
#: includes/core/class-fields.php:2320
|
7099 |
msgid "New Password"
|
7100 |
msgstr ""
|
7101 |
|
7102 |
+
#: includes/core/class-fields.php:2354
|
7103 |
#, php-format
|
7104 |
msgid "Confirm %s"
|
7105 |
msgstr ""
|
7106 |
|
7107 |
+
#: includes/core/class-fields.php:2598
|
7108 |
msgid "Upload Photo"
|
7109 |
msgstr ""
|
7110 |
|
7111 |
+
#: includes/core/class-fields.php:2620 includes/core/class-fields.php:2644
|
7112 |
#: includes/core/um-actions-profile.php:905
|
7113 |
msgid "Change photo"
|
7114 |
msgstr ""
|
7115 |
|
7116 |
+
#: includes/core/class-fields.php:2644 includes/core/class-fields.php:2743
|
7117 |
msgid "Processing..."
|
7118 |
msgstr ""
|
7119 |
|
7120 |
+
#: includes/core/class-fields.php:2668
|
7121 |
msgid "Upload File"
|
7122 |
msgstr ""
|
7123 |
|
7124 |
+
#: includes/core/class-fields.php:2710 includes/core/um-filters-fields.php:267
|
7125 |
msgid "This file has been removed."
|
7126 |
msgstr ""
|
7127 |
|
7128 |
+
#: includes/core/class-fields.php:2713 includes/core/class-fields.php:2743
|
7129 |
msgid "Change file"
|
7130 |
msgstr ""
|
7131 |
|
7132 |
+
#: includes/core/class-fields.php:2743
|
7133 |
msgid "Save"
|
7134 |
msgstr ""
|
7135 |
|
7136 |
+
#: includes/core/class-fields.php:4268
|
7137 |
#, php-format
|
7138 |
msgid ""
|
7139 |
"Your profile is looking a little empty. Why not <a href=\"%s\">add</a> some "
|
7140 |
"information!"
|
7141 |
msgstr ""
|
7142 |
|
7143 |
+
#: includes/core/class-fields.php:4270
|
7144 |
msgid "This user has not added any information to their profile yet."
|
7145 |
msgstr ""
|
7146 |
|
7152 |
msgid "Wrong mode"
|
7153 |
msgstr ""
|
7154 |
|
7155 |
+
#: includes/core/class-files.php:284 includes/core/class-files.php:333
|
7156 |
+
#: includes/core/class-files.php:370
|
7157 |
+
msgid "You have no permission to edit this user"
|
7158 |
msgstr ""
|
7159 |
|
7160 |
#: includes/core/class-files.php:299
|
7161 |
+
msgid "You have no permission to delete this file"
|
7162 |
msgstr ""
|
7163 |
|
7164 |
#: includes/core/class-files.php:319
|
7169 |
msgid "Invalid coordinates"
|
7170 |
msgstr ""
|
7171 |
|
7172 |
+
#: includes/core/class-files.php:339
|
7173 |
msgid "Invalid file ownership"
|
7174 |
msgstr ""
|
7175 |
|
7176 |
+
#: includes/core/class-files.php:400
|
7177 |
msgid "Invalid nonce"
|
7178 |
msgstr ""
|
7179 |
|
7180 |
+
#: includes/core/class-files.php:421 includes/core/class-files.php:507
|
7181 |
msgid "A theme or plugin compatibility issue"
|
7182 |
msgstr ""
|
7183 |
|
7184 |
+
#: includes/core/class-files.php:1289
|
7185 |
msgid "Original size"
|
7186 |
msgstr ""
|
7187 |
|
7243 |
msgid "User Registered"
|
7244 |
msgstr ""
|
7245 |
|
7246 |
+
#: includes/core/class-member-directory.php:863
|
7247 |
+
#: includes/core/class-member-directory.php:864
|
7248 |
msgid " stars"
|
7249 |
msgstr ""
|
7250 |
|
7251 |
+
#: includes/core/class-member-directory.php:874
|
7252 |
msgid "<strong>Age:</strong> {value} years old"
|
7253 |
msgstr ""
|
7254 |
|
7255 |
+
#: includes/core/class-member-directory.php:875
|
7256 |
msgid "<strong>Age:</strong> {min_range} - {max_range} years old"
|
7257 |
msgstr ""
|
7258 |
|
7259 |
+
#: includes/core/class-member-directory.php:2078
|
7260 |
+
#: includes/core/class-member-directory.php:2122
|
7261 |
#: includes/core/um-actions-profile.php:1227
|
7262 |
#: includes/core/um-actions-profile.php:1258
|
7263 |
msgid "Edit Profile"
|
7264 |
msgstr ""
|
7265 |
|
7266 |
+
#: includes/core/class-member-directory.php:2128
|
7267 |
#: includes/core/um-actions-profile.php:1259
|
7268 |
msgid "My Account"
|
7269 |
msgstr ""
|
7368 |
"\"{login_referrer}\">login</a> to view this content."
|
7369 |
msgstr ""
|
7370 |
|
7371 |
+
#: includes/core/class-shortcodes.php:657
|
7372 |
msgid "You are already registered"
|
7373 |
msgstr ""
|
7374 |
|
7375 |
+
#: includes/core/class-shortcodes.php:904
|
7376 |
msgid "Default Template"
|
7377 |
msgstr ""
|
7378 |
|
7670 |
|
7671 |
#: includes/core/um-actions-form.php:612 includes/core/um-actions-form.php:618
|
7672 |
#: includes/core/um-actions-form.php:624 includes/core/um-actions-form.php:630
|
7673 |
+
#: includes/core/um-actions-form.php:643 includes/core/um-actions-form.php:649
|
7674 |
+
#: includes/core/um-actions-form.php:655 includes/core/um-actions-form.php:667
|
|
|
7675 |
#, php-format
|
7676 |
msgid "Please enter a valid %s username or profile URL"
|
7677 |
msgstr ""
|
7678 |
|
7679 |
+
#: includes/core/um-actions-form.php:637
|
7680 |
+
#, php-format
|
7681 |
+
msgid "Please enter a valid %s profile URL"
|
7682 |
+
msgstr ""
|
7683 |
+
|
7684 |
+
#: includes/core/um-actions-form.php:661
|
7685 |
msgid "Please enter a valid URL"
|
7686 |
msgstr ""
|
7687 |
|
7688 |
+
#: includes/core/um-actions-form.php:674 includes/core/um-actions-form.php:688
|
7689 |
msgid "You must provide a username"
|
7690 |
msgstr ""
|
7691 |
|
7692 |
+
#: includes/core/um-actions-form.php:676 includes/core/um-actions-form.php:690
|
7693 |
msgid "Your username is already taken"
|
7694 |
msgstr ""
|
7695 |
|
7696 |
+
#: includes/core/um-actions-form.php:678
|
7697 |
msgid "Username cannot be an email"
|
7698 |
msgstr ""
|
7699 |
|
7700 |
+
#: includes/core/um-actions-form.php:680 includes/core/um-actions-form.php:694
|
7701 |
msgid "Your username contains invalid characters"
|
7702 |
msgstr ""
|
7703 |
|
7704 |
+
#: includes/core/um-actions-form.php:692 includes/core/um-actions-form.php:714
|
7705 |
+
#: includes/core/um-actions-form.php:716 includes/core/um-actions-form.php:728
|
7706 |
+
#: includes/core/um-actions-form.php:735
|
7707 |
msgid "This email is already linked to an existing account"
|
7708 |
msgstr ""
|
7709 |
|
7710 |
+
#: includes/core/um-actions-form.php:712
|
7711 |
msgid "You must provide your email"
|
7712 |
msgstr ""
|
7713 |
|
7714 |
+
#: includes/core/um-actions-form.php:718 includes/core/um-actions-form.php:726
|
7715 |
#: includes/core/um-actions-form.php:750
|
7716 |
msgid "This is not a valid email"
|
7717 |
msgstr ""
|
7718 |
|
7719 |
+
#: includes/core/um-actions-form.php:720
|
7720 |
msgid "Your email contains invalid characters"
|
7721 |
msgstr ""
|
7722 |
|
7723 |
+
#: includes/core/um-actions-form.php:769
|
7724 |
msgid "You must provide a unique value"
|
7725 |
msgstr ""
|
7726 |
|
7727 |
+
#: includes/core/um-actions-form.php:779
|
7728 |
msgid "You must provide alphabetic letters"
|
7729 |
msgstr ""
|
7730 |
|
7731 |
+
#: includes/core/um-actions-form.php:791
|
7732 |
msgid "You must provide lowercase letters."
|
7733 |
msgstr ""
|
7734 |
|
7735 |
+
#: includes/core/um-actions-form.php:809
|
7736 |
#, php-format
|
7737 |
msgid "Your user description must contain less than %s characters"
|
7738 |
msgstr ""
|
7895 |
msgid "Login as this user"
|
7896 |
msgstr ""
|
7897 |
|
7898 |
+
#: includes/um-short-functions.php:752 includes/um-short-functions.php:985
|
7899 |
msgid "date submitted"
|
7900 |
msgstr ""
|
7901 |
|
7902 |
+
#: includes/um-short-functions.php:758 includes/um-short-functions.php:954
|
7903 |
+
#: includes/um-short-functions.php:991
|
7904 |
msgid "(empty)"
|
7905 |
msgstr ""
|
7906 |
|
7907 |
+
#: includes/um-short-functions.php:791
|
7908 |
+
msgid "Date Submitted"
|
7909 |
+
msgstr ""
|
7910 |
+
|
7911 |
+
#: includes/um-short-functions.php:943
|
7912 |
+
#, php-format
|
7913 |
+
msgid "%s - Form ID#: %s"
|
7914 |
+
msgstr ""
|
7915 |
+
|
7916 |
#: includes/widgets/class-um-search-widget.php:27
|
7917 |
msgid "Ultimate Member - Search"
|
7918 |
msgstr ""
|
7937 |
msgid "of"
|
7938 |
msgstr ""
|
7939 |
|
7940 |
+
#: templates/members-pagination.php:16
|
7941 |
+
msgid "First page"
|
7942 |
+
msgstr ""
|
7943 |
+
|
7944 |
+
#: templates/members-pagination.php:17
|
7945 |
+
msgid "Previous page"
|
7946 |
+
msgstr ""
|
7947 |
+
|
7948 |
+
#: templates/members-pagination.php:23
|
7949 |
+
msgid "Next page"
|
7950 |
+
msgstr ""
|
7951 |
+
|
7952 |
+
#: templates/members-pagination.php:24
|
7953 |
+
msgid "Last page"
|
7954 |
+
msgstr ""
|
7955 |
+
|
7956 |
+
#: templates/members.php:225
|
7957 |
msgid "Search:"
|
7958 |
msgstr ""
|
7959 |
|
7960 |
+
#: templates/members.php:226 templates/members.php:228
|
7961 |
msgid "Search"
|
7962 |
msgstr ""
|
7963 |
|
7964 |
+
#: templates/members.php:253
|
7965 |
#, php-format
|
7966 |
msgid "Change to %s"
|
7967 |
msgstr ""
|
7968 |
|
7969 |
+
#: templates/members.php:266
|
7970 |
msgid "Sort by:"
|
7971 |
msgstr ""
|
7972 |
|
7973 |
+
#: templates/members.php:286
|
7974 |
msgid "More filters"
|
7975 |
msgstr ""
|
7976 |
|
7977 |
+
#: templates/members.php:311
|
7978 |
msgid "Remove filter"
|
7979 |
msgstr ""
|
7980 |
|
7981 |
+
#: templates/members.php:338
|
7982 |
msgid "Remove all filters"
|
7983 |
msgstr ""
|
7984 |
|
7985 |
+
#: templates/members.php:338
|
7986 |
msgid "Clear all"
|
7987 |
msgstr ""
|
7988 |
|
readme.txt
CHANGED
@@ -7,7 +7,7 @@ Tags: community, member, membership, user-profile, user-registration
|
|
7 |
Requires PHP: 5.6
|
8 |
Requires at least: 5.0
|
9 |
Tested up to: 5.3
|
10 |
-
Stable tag: 2.1.
|
11 |
License: GNU Version 2 or Any Later Version
|
12 |
License URI: http://www.gnu.org/licenses/gpl-3.0.txt
|
13 |
|
@@ -42,7 +42,7 @@ Read about all of the plugin's features at [Ultimate Member](https://ultimatemem
|
|
42 |
|
43 |
Ultimate Member has a range of extensions that allow you to extend the power of the plugin. You can purchase all of these extensions at a significant discount with our [All Access Pass](https://ultimatemember.com/pricing/) or you can purchase extensions individually.
|
44 |
|
45 |
-
* [
|
46 |
* [Unsplash](https://ultimatemember.com/extensions/unsplash/) - Allow users to select a profile cover photo from [Unsplash](https://unsplash.com/) from their profile
|
47 |
* [User Bookmarks](https://ultimatemember.com/extensions/user-bookmarks/) - Allow users to bookmark content from your website
|
48 |
* [User Photos](https://ultimatemember.com/extensions/user-photos/) - Allow users to upload photos to their profile
|
@@ -145,6 +145,36 @@ The plugin works with popular caching plugins by automatically excluding Ultimat
|
|
145 |
* To learn more about version 2.1 please see this [topic](https://wordpress.org/support/topic/version-2-1-4/)
|
146 |
* UM2.1+ is a significant update to the Member Directories' code base from 2.0.x. Please make sure you take a full-site backup with restore point before updating the plugin
|
147 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
148 |
= 2.1.3: January 21, 2020 =
|
149 |
|
150 |
* Enhancements:
|
7 |
Requires PHP: 5.6
|
8 |
Requires at least: 5.0
|
9 |
Tested up to: 5.3
|
10 |
+
Stable tag: 2.1.4
|
11 |
License: GNU Version 2 or Any Later Version
|
12 |
License URI: http://www.gnu.org/licenses/gpl-3.0.txt
|
13 |
|
42 |
|
43 |
Ultimate Member has a range of extensions that allow you to extend the power of the plugin. You can purchase all of these extensions at a significant discount with our [All Access Pass](https://ultimatemember.com/pricing/) or you can purchase extensions individually.
|
44 |
|
45 |
+
* [User Locations](https://ultimatemember.com/extensions/user-locations/) - Allow to display users on a map on the member directory page and allow users to add their location via their profile
|
46 |
* [Unsplash](https://ultimatemember.com/extensions/unsplash/) - Allow users to select a profile cover photo from [Unsplash](https://unsplash.com/) from their profile
|
47 |
* [User Bookmarks](https://ultimatemember.com/extensions/user-bookmarks/) - Allow users to bookmark content from your website
|
48 |
* [User Photos](https://ultimatemember.com/extensions/user-photos/) - Allow users to upload photos to their profile
|
145 |
* To learn more about version 2.1 please see this [topic](https://wordpress.org/support/topic/version-2-1-4/)
|
146 |
* UM2.1+ is a significant update to the Member Directories' code base from 2.0.x. Please make sure you take a full-site backup with restore point before updating the plugin
|
147 |
|
148 |
+
= 2.1.4: February 24, 2020 =
|
149 |
+
|
150 |
+
* Enhancements:
|
151 |
+
|
152 |
+
- Updated select2 JS library to 4.0.12 version
|
153 |
+
- Added a few member directories PHP and JS filters for 3rd-party integrations
|
154 |
+
- Added labels for member directories filters to increase Accessibility points in Audit
|
155 |
+
- Added formatting for submitted data
|
156 |
+
- Added fields notices functionality
|
157 |
+
- Added sanitizing $_GET variables in wp-admin side
|
158 |
+
|
159 |
+
* Bugfixes:
|
160 |
+
|
161 |
+
- Fixed activation licenses with sslverify
|
162 |
+
- Fixed fields' options if they contains spaces in the start and the end of option (added trim)
|
163 |
+
- Fixed getting range for slider filters
|
164 |
+
- Fixed 2.1.3-beta3 package upgrade
|
165 |
+
- Fixed resize image on registration form
|
166 |
+
- Fixed multiselect field styles
|
167 |
+
- Fixed issue with not editable fields and their visibility
|
168 |
+
- Fixed displaying header with member counts
|
169 |
+
- Fixed JS errors with not defined tinyMCE on Forms builder
|
170 |
+
- Fixed issues with "key => value" fields (dropdown + multiselect) if 'um_select_options_pair' filter is used
|
171 |
+
- Fixed social URLs validations
|
172 |
+
- Fixed Ultimate Member wrapper's visibility on add/edit user page (wp-admin)
|
173 |
+
- Fixed jQuery-UI library images
|
174 |
+
- Fixed vulnerability with sanitizing $_POST
|
175 |
+
- Fixed last login order on member directories when UM metatable is turned on
|
176 |
+
- Fixed RTL styles at Account page and Member Directory
|
177 |
+
|
178 |
= 2.1.3: January 21, 2020 =
|
179 |
|
180 |
* Enhancements:
|
templates/members-pagination.php
CHANGED
@@ -13,15 +13,15 @@
|
|
13 |
</div>
|
14 |
|
15 |
<div class="um-members-pagi uimob340-hide uimob500-hide">
|
16 |
-
<span class="pagi pagi-arrow <# if ( data.pagination.current_page == 1 ) { #>disabled<# } #>" data-page="first"><i class="um-faicon-angle-double-left"></i></span>
|
17 |
-
<span class="pagi pagi-arrow <# if ( data.pagination.current_page == 1 ) { #>disabled<# } #>" data-page="prev"><i class="um-faicon-angle-left"></i></span>
|
18 |
|
19 |
<# _.each( data.pagination.pages_to_show, function( page, key, list ) { #>
|
20 |
<span class="pagi <# if ( page == data.pagination.current_page ) { #>current<# } #>" data-page="{{{page}}}">{{{page}}}</span>
|
21 |
<# }); #>
|
22 |
|
23 |
-
<span class="pagi pagi-arrow <# if ( data.pagination.current_page == data.pagination.total_pages ) { #>disabled<# } #>" data-page="next"><i class="um-faicon-angle-right"></i></span>
|
24 |
-
<span class="pagi pagi-arrow <# if ( data.pagination.current_page == data.pagination.total_pages ) { #>disabled<# } #>" data-page="last"><i class="um-faicon-angle-double-right"></i></span>
|
25 |
</div>
|
26 |
<# } #>
|
27 |
</script>
|
13 |
</div>
|
14 |
|
15 |
<div class="um-members-pagi uimob340-hide uimob500-hide">
|
16 |
+
<span class="pagi pagi-arrow <# if ( data.pagination.current_page == 1 ) { #>disabled<# } #>" data-page="first" aria-label="<?php esc_attr_e( 'First page', 'ultimate-member' ); ?>"><i class="um-faicon-angle-double-left"></i></span>
|
17 |
+
<span class="pagi pagi-arrow <# if ( data.pagination.current_page == 1 ) { #>disabled<# } #>" data-page="prev" aria-label="<?php esc_attr_e( 'Previous page', 'ultimate-member' ); ?>"><i class="um-faicon-angle-left"></i></span>
|
18 |
|
19 |
<# _.each( data.pagination.pages_to_show, function( page, key, list ) { #>
|
20 |
<span class="pagi <# if ( page == data.pagination.current_page ) { #>current<# } #>" data-page="{{{page}}}">{{{page}}}</span>
|
21 |
<# }); #>
|
22 |
|
23 |
+
<span class="pagi pagi-arrow <# if ( data.pagination.current_page == data.pagination.total_pages ) { #>disabled<# } #>" data-page="next" aria-label="<?php esc_attr_e( 'Next page', 'ultimate-member' ); ?>"><i class="um-faicon-angle-right"></i></span>
|
24 |
+
<span class="pagi pagi-arrow <# if ( data.pagination.current_page == data.pagination.total_pages ) { #>disabled<# } #>" data-page="last" aria-label="<?php esc_attr_e( 'Last page', 'ultimate-member' ); ?>"><i class="um-faicon-angle-double-right"></i></span>
|
25 |
</div>
|
26 |
<# } #>
|
27 |
</script>
|
templates/members.php
CHANGED
@@ -73,13 +73,21 @@ if ( ! empty( $args['enable_sorting'] ) ) {
|
|
73 |
}
|
74 |
}
|
75 |
|
|
|
|
|
76 |
if ( ! in_array( $default_sorting, $sorting_options_prepared ) ) {
|
77 |
$sorting_options_prepared[] = $default_sorting;
|
78 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
79 |
}
|
80 |
|
81 |
if ( ! empty( $sorting_options_prepared ) ) {
|
82 |
-
$all_sorting_options = UM()->member_directory()->sort_fields;
|
83 |
$sorting_options = array_intersect_key( array_merge( $all_sorting_options, $custom_sorting_titles ), array_flip( $sorting_options_prepared ) );
|
84 |
}
|
85 |
|
@@ -208,7 +216,7 @@ if ( ( ( $search && $show_search ) || ( $filters && $show_filters && count( $sea
|
|
208 |
|
209 |
<div class="um-member-directory-header um-form">
|
210 |
|
211 |
-
<?php do_action( 'um_members_directory_before_head', $args, $form_id ); ?>
|
212 |
|
213 |
<?php if ( $search && $show_search ) { ?>
|
214 |
<div class="um-member-directory-header-row um-member-directory-search-row">
|
@@ -317,7 +325,9 @@ if ( ( ( $search && $show_search ) || ( $filters && $show_filters && count( $sea
|
|
317 |
|
318 |
$type = UM()->member_directory()->filter_types[ $filter ]; ?>
|
319 |
|
320 |
-
<div class="um-search-filter um-<?php echo esc_attr( $type ) ?>-filter-type <?php echo ( $i != 0 && $i%2 !== 0 ) ? 'um-search-filter-2' : '' ?>">
|
|
|
|
|
321 |
|
322 |
<?php $i++;
|
323 |
} ?>
|
73 |
}
|
74 |
}
|
75 |
|
76 |
+
$all_sorting_options = UM()->member_directory()->sort_fields;
|
77 |
+
|
78 |
if ( ! in_array( $default_sorting, $sorting_options_prepared ) ) {
|
79 |
$sorting_options_prepared[] = $default_sorting;
|
80 |
+
|
81 |
+
$label = $default_sorting;
|
82 |
+
if ( ! empty( $args['sortby_custom_label'] ) ) {
|
83 |
+
$label = $args['sortby_custom_label'];
|
84 |
+
} elseif ( ! empty( $all_sorting_options[ $default_sorting ] ) ) {
|
85 |
+
$label = $all_sorting_options[ $default_sorting ];
|
86 |
+
}
|
87 |
+
$custom_sorting_titles[ $default_sorting ] = $label;
|
88 |
}
|
89 |
|
90 |
if ( ! empty( $sorting_options_prepared ) ) {
|
|
|
91 |
$sorting_options = array_intersect_key( array_merge( $all_sorting_options, $custom_sorting_titles ), array_flip( $sorting_options_prepared ) );
|
92 |
}
|
93 |
|
216 |
|
217 |
<div class="um-member-directory-header um-form">
|
218 |
|
219 |
+
<?php do_action( 'um_members_directory_before_head', $args, $form_id, $not_searched ); ?>
|
220 |
|
221 |
<?php if ( $search && $show_search ) { ?>
|
222 |
<div class="um-member-directory-header-row um-member-directory-search-row">
|
325 |
|
326 |
$type = UM()->member_directory()->filter_types[ $filter ]; ?>
|
327 |
|
328 |
+
<div class="um-search-filter um-<?php echo esc_attr( $type ) ?>-filter-type <?php echo ( $i != 0 && $i%2 !== 0 ) ? 'um-search-filter-2' : '' ?>">
|
329 |
+
<?php echo $filter_content; ?>
|
330 |
+
</div>
|
331 |
|
332 |
<?php $i++;
|
333 |
} ?>
|
ultimate-member.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: Ultimate Member
|
4 |
Plugin URI: http://ultimatemember.com/
|
5 |
Description: The easiest way to create powerful online communities and beautiful user profiles with WordPress
|
6 |
-
Version: 2.1.
|
7 |
Author: Ultimate Member
|
8 |
Author URI: http://ultimatemember.com/
|
9 |
Text Domain: ultimate-member
|
3 |
Plugin Name: Ultimate Member
|
4 |
Plugin URI: http://ultimatemember.com/
|
5 |
Description: The easiest way to create powerful online communities and beautiful user profiles with WordPress
|
6 |
+
Version: 2.1.4
|
7 |
Author: Ultimate Member
|
8 |
Author URI: http://ultimatemember.com/
|
9 |
Text Domain: ultimate-member
|