User Registration – Custom Registration Form, Login Form And User Profile For WordPress - Version 1.4.0

Version Description

  • 12/06/2018 =
  • Refactor - Form fields
  • Remove - Repeated settings from global
  • Feature - Custom validation error messages
  • Feature - Cutomizable/multiple admin emails
  • Feature - Custom class for registration form
  • Feature - Smart tags to email every form field filled
  • Feature - Display email status column in users tab for email confirmation
  • Fix - Display reCaptcha node only if enabled
  • Deprecate - Functions my_simple_crypt() and getToken()
Download this release

Release Info

Developer wpeverest
Plugin Icon 128x128 User Registration – Custom Registration Form, Login Form And User Profile For WordPress
Version 1.4.0
Comparing to
See all releases

Code changes from version 1.3.1 to 1.4.0

Files changed (75) hide show
  1. assets/css/admin-rtl.css +2 -2
  2. assets/css/admin.css +2 -2
  3. assets/css/admin.scss +14 -0
  4. assets/css/user-registration-rtl.css +1 -1
  5. assets/css/user-registration.css +1 -1
  6. assets/css/user-registration.scss +63 -61
  7. assets/js/admin/admin.js +9 -5
  8. assets/js/admin/admin.min.js +1 -1
  9. assets/js/frontend/user-registration.js +27 -19
  10. assets/js/frontend/user-registration.min.js +1 -1
  11. includes/abstracts/abstract-ur-field-settings.php +0 -1
  12. includes/abstracts/abstract-ur-form-field.php +28 -26
  13. includes/admin/class-ur-admin-menus.php +7 -1
  14. includes/admin/class-ur-admin-user-list-manager.php +0 -1
  15. includes/admin/settings/class-ur-settings-general.php +78 -54
  16. includes/admin/settings/emails/class-ur-settings-admin-email.php +10 -0
  17. includes/class-ur-ajax.php +10 -4
  18. includes/class-ur-autoloader.php +3 -1
  19. includes/class-ur-email-confirmation.php +116 -28
  20. includes/class-ur-emailer.php +61 -81
  21. includes/class-ur-frontend-scripts.php +16 -19
  22. includes/class-ur-install.php +4 -0
  23. includes/class-ur-shortcodes.php +13 -27
  24. includes/form/{class-ur-checkbox.php → class-ur-form-field-checkbox.php} +3 -3
  25. includes/form/{class-ur-country.php → class-ur-form-field-country.php} +4 -4
  26. includes/form/{class-ur-date.php → class-ur-form-field-date.php} +4 -4
  27. includes/form/{class-ur-description.php → class-ur-form-field-description.php} +5 -5
  28. includes/form/{class-ur-display-name.php → class-ur-form-field-display-name.php} +4 -4
  29. includes/form/{class-ur-email.php → class-ur-form-field-email.php} +4 -4
  30. includes/form/{class-ur-first-name.php → class-ur-form-field-first-name.php} +4 -4
  31. includes/form/{class-ur-last-name.php → class-ur-form-field-last-name.php} +4 -4
  32. includes/form/{class-ur-nickname.php → class-ur-form-field-nickname.php} +4 -4
  33. includes/form/{class-ur-number.php → class-ur-form-field-number.php} +4 -4
  34. includes/form/{class-ur-password.php → class-ur-form-field-password.php} +4 -4
  35. includes/form/{class-ur-privacy-policy.php → class-ur-form-field-privacy-policy.php} +4 -4
  36. includes/form/{class-ur-radio.php → class-ur-form-field-radio.php} +4 -4
  37. includes/form/{class-ur-select.php → class-ur-form-field-select.php} +4 -4
  38. includes/form/{class-ur-text.php → class-ur-form-field-text.php} +4 -4
  39. includes/form/{class-ur-textarea.php → class-ur-form-field-textarea.php} +4 -4
  40. includes/form/{class-ur-user-confirm-password.php → class-ur-form-field-user-confirm-password.php} +4 -4
  41. includes/form/{class-ur-user-email.php → class-ur-form-field-user-email.php} +5 -5
  42. includes/form/{class-ur-user-login.php → class-ur-form-field-user-login.php} +6 -21
  43. includes/form/{class-ur-user-pass.php → class-ur-form-field-user-pass.php} +4 -4
  44. includes/form/{class-ur-user-url.php → class-ur-form-field-user-url.php} +4 -4
  45. includes/form/views/admin/admin-checkbox.php +1 -1
  46. includes/form/views/admin/admin-country.php +9 -18
  47. includes/form/views/admin/admin-date.php +1 -1
  48. includes/form/views/admin/admin-description.php +1 -1
  49. includes/form/views/admin/admin-display-name.php +1 -1
  50. includes/form/views/admin/admin-email.php +1 -1
  51. includes/form/views/admin/admin-first-name.php +1 -1
  52. includes/form/views/admin/admin-last-name.php +1 -1
  53. includes/form/views/admin/admin-nickname.php +1 -1
  54. includes/form/views/admin/admin-number.php +1 -1
  55. includes/form/views/admin/admin-password.php +1 -1
  56. includes/form/views/admin/admin-privacy-policy.php +1 -1
  57. includes/form/views/admin/admin-radio.php +1 -1
  58. includes/form/views/admin/admin-select.php +1 -1
  59. includes/form/views/admin/admin-text.php +1 -1
  60. includes/form/views/admin/admin-textarea.php +1 -1
  61. includes/form/views/admin/admin-user-confirm-password.php +1 -1
  62. includes/form/views/admin/admin-user-email.php +1 -1
  63. includes/form/views/admin/admin-user-login.php +1 -1
  64. includes/form/views/admin/admin-user-pass.php +1 -1
  65. includes/form/views/admin/admin-user-url.php +1 -1
  66. includes/frontend/class-ur-frontend-form-handler.php +66 -33
  67. includes/functions-ur-core.php +38 -36
  68. includes/functions-ur-deprecated.php +134 -0
  69. includes/functions-ur-template.php +44 -55
  70. includes/functions-ur-update.php +23 -1
  71. languages/user-registration.pot +540 -459
  72. package-lock.json +1 -1
  73. readme.txt +12 -18
  74. templates/form-registration.php +16 -19
  75. user-registration.php +2 -2
assets/css/admin-rtl.css CHANGED
@@ -1,2 +1,2 @@
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:#fff;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],.select2-results__option[data-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}.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:700}.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:#fff;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__placeholder{color:#999;margin-top:5px;float:left}.select2-container--default .select2-selection--multiple .select2-selection__clear{cursor:pointer;float:right;font-weight:700;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:700;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-search--inline,.select2-container--default[dir=rtl] .select2-selection--multiple .select2-selection__choice,.select2-container--default[dir=rtl] .select2-selection--multiple .select2-selection__placeholder{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 #000 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--multiple,.select2-container--default.select2-container--open.select2-container--above .select2-selection--single{border-top-left-radius:0;border-top-right-radius:0}.select2-container--default.select2-container--open.select2-container--below .select2-selection--multiple,.select2-container--default.select2-container--open.select2-container--below .select2-selection--single{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:0 0;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],.select2-container--default .select2-results__option[data-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],.select2-container--default .select2-results__option--highlighted[data-selected]{background-color:#0073aa;color:#fff}.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:linear-gradient(to bottom,#fff 50%,#eee 100%);background-repeat:repeat-x}.select2-container--classic .select2-selection--single:focus{border:1px solid #0073aa}.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:700;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:linear-gradient(to bottom,#eee 50%,#ccc 100%);background-repeat:repeat-x}.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 #0073aa}.select2-container--classic.select2-container--open .select2-selection--single .select2-selection__arrow{background:0 0;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:linear-gradient(to bottom,#fff 0,#eee 50%);background-repeat:repeat-x}.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:linear-gradient(to bottom,#eee 50%,#fff 100%);background-repeat:repeat-x}.select2-container--classic .select2-selection--multiple{background-color:#fff;border:1px solid #aaa;border-radius:4px;cursor:text;outline:0}.select2-container--classic .select2-selection--multiple:focus{border:1px solid #0073aa}.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:700;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 #0073aa}.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],.select2-container--classic .select2-results__option--highlighted[data-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:#0073aa}
2
- @charset "UTF-8";.ur-registered-item.ui-draggable-dragging{padding:10px 10px;line-height:20px;background:#3498db;color:#fff;text-align:center;margin-bottom:7px;word-break:break-word;white-space:normal;width:200px!important}.ur-registered-item.ui-draggable-dragging span{font-size:14px;line-height:20px;width:auto;height:auto;margin-left:3px}.blockUI.blockOverlay::before{height:1em;width:1em;position:absolute;top:50%;right:50%;margin-right:-.5em;margin-top:-.5em;display:block;content:'';animation:spin 1s ease-in-out infinite;background:url(../images/icons/loader.svg) center center;background-size:cover;line-height:1;text-align:center;font-size:2em;color:rgba(0,0,0,.75)}.ur_addons_wrap .products{overflow:hidden}.ur_addons_wrap .products li{margin:0 0 1% 1%!important;padding:0;vertical-align:top;width:19.2%;float:right}.ur_addons_wrap .products li:nth-child(5n){margin:0 0 1% 0!important}.ur_addons_wrap .products li a{text-decoration:none;color:inherit;border:1px solid #ddd;display:block;min-height:220px;overflow:hidden;background:#f5f5f5;box-shadow:inset 0 1px 0 rgba(255,255,255,.2),inset 0 -1px 0 rgba(0,0,0,.1)}.ur_addons_wrap .products li a .product-image{display:block;background:#fff}.ur_addons_wrap .products li a .product-image img{max-width:100%;display:block;margin:0}.ur_addons_wrap .products li a img.extension-thumb+h3{display:none}.ur_addons_wrap .products li a .price{display:none}.ur_addons_wrap .products li a h2,.ur_addons_wrap .products li a h3{margin:0!important;padding:20px!important;background:#fff}.ur_addons_wrap .products li a p{padding:20px!important;margin:0!important;border-top:1px solid #f1f1f1}.ur_addons_wrap .products li a:focus,.ur_addons_wrap .products li a:hover{background-color:#fff}.clear{clear:both}.wrap.user-registration div.error,.wrap.user-registration div.updated{margin-top:10px}.user-registration_page_add-new-registration #post-body{background-color:#fff}.user-registration_page_add-new-registration #post-body .error,.user-registration_page_add-new-registration #post-body .updated{margin:0}.user-registration_page_add-new-registration #post-body-content{position:relative;float:none}.user-registration_page_add-new-registration .howto span{float:right;margin-top:6px}.user-registration_page_add-new-registration .list-wrap{display:none;clear:both;margin-bottom:10px}.user-registration_page_add-new-registration .list li{display:none;margin:0;margin-bottom:5px}.user-registration_page_add-new-registration .list li .menu-item-title{cursor:pointer;display:block}.user-registration_page_add-new-registration .list li .menu-item-title input{margin-left:3px;margin-top:-3px}.user-registration_page_add-new-registration #menu-management-liquid{margin-top:23px}.user-registration_page_add-new-registration .postbox p.submit{margin-bottom:0}.user-registration_page_add-new-registration .major-publishing-actions{clear:both;padding:10px 0;line-height:28px}.user-registration_page_add-new-registration .major-publishing-actions .publishing-action{text-align:left;float:left}.user-registration_page_add-new-registration .major-publishing-actions .form-invalid{padding-right:4px;margin-right:-4px}.user-registration_page_add-new-registration .major-publishing-actions .ur-form-name{width:25%}.user-registration_page_add-new-registration .blank-slate .menu-settings{display:none}.user-registration_page_add-new-registration .delete-action{float:right;line-height:28px}.ur-backbone-modal *{box-sizing:border-box}.ur-backbone-modal .ur-backbone-modal-content{position:fixed;background-color:#fff;z-index:100000;right:50%;top:50%;transform:translate(50%,-50%);width:500px}.ur-backbone-modal .ur-backbone-modal-content article{overflow:auto}.ur-backbone-modal.ur-backbone-modal-content{width:75%;min-width:500px}.ur-backbone-modal .select2-container{width:100%!important}.ur-backbone-modal-backdrop{position:fixed;top:0;right:0;left:0;bottom:0;min-height:360px;background-color:#000;opacity:.7;z-index:99900}.ur-backbone-modal-main{padding-bottom:55px}.ur-backbone-modal-main article,.ur-backbone-modal-main header{display:block;position:relative}.ur-backbone-modal-main .ur-backbone-modal-header{height:auto;background-color:#fcfcfc;padding:1em 1.5em;border-bottom:1px solid #ddd}.ur-backbone-modal-main .ur-backbone-modal-header h1{margin:0;font-size:18px;font-weight:700;line-height:1.5em}.ur-backbone-modal-main .ur-backbone-modal-header .modal-close-link{cursor:pointer;color:#777;height:54px;width:54px;padding:0;position:absolute;top:0;left:0;text-align:center;border:0;border-right:1px solid #ddd;background-color:transparent;transition:color .1s ease-in-out,background .1s ease-in-out}.ur-backbone-modal-main .ur-backbone-modal-header .modal-close-link::before{font:normal 22px/50px dashicons!important;color:#666;display:block;content:'\f335';font-weight:300}.ur-backbone-modal-main .ur-backbone-modal-header .modal-close-link:focus,.ur-backbone-modal-main .ur-backbone-modal-header .modal-close-link:hover{background-color:#ddd;border-color:#ccc;color:#000}.ur-backbone-modal-main .ur-backbone-modal-header .modal-close-link:focus{outline:0}.ur-backbone-modal-main article{padding:1.5em}.ur-backbone-modal-main article p{margin:1.5em 0}.ur-backbone-modal-main article p:first-child{margin-top:0}.ur-backbone-modal-main article p:last-child{margin-bottom:0}.ur-backbone-modal-main article .pagination{padding:10px 0 0;text-align:center}.ur-backbone-modal-main footer{position:absolute;right:0;left:0;bottom:0;z-index:100;padding:1em 1.5em;background-color:#fcfcfc;border-top:1px solid #dfdfdf;box-shadow:0 -4px 4px -4px rgba(0,0,0,.1)}.ur-backbone-modal-main footer .inner{float:left;line-height:23px}.ur-backbone-modal-main footer .inner .button{margin-bottom:0}.user-registration h2.ur-nav-tab-wrapper{margin-bottom:1em}.user-registration nav.ur-nav-tab-wrapper{margin:1.5em 0 1em;border-bottom:1px solid #ccc}.user-registration .subsubsub{margin:-8px 0 0}.user-registration textarea[disabled=disabled]{background:#dfdfdf!important}.user-registration table.form-table{margin:0;position:relative}.user-registration table.form-table .select2-container{display:block;max-width:350px}.user-registration table.form-table .forminp-radio ul{margin:0}.user-registration table.form-table .forminp-radio ul li{line-height:1.4em}.user-registration table.form-table textarea.input-text{height:100%;min-width:150px;display:block}.user-registration table.form-table input.regular-input{width:25em}.user-registration table.form-table textarea.wide-input{width:100%}.user-registration table.form-table .user-registration-help-tip,.user-registration table.form-table img.help_tip{padding:0;margin:-4px 5px 0 0;vertical-align:middle;cursor:help;line-height:1}.user-registration table.form-table span.help_tip{cursor:help;color:#2ea2cc}.user-registration table.form-table th{position:relative;padding-left:24px}.user-registration table.form-table .select2-container{vertical-align:top;margin-bottom:3px}.user-registration table.form-table table.widefat th{padding-left:inherit}.user-registration table.form-table th .user-registration-help-tip,.user-registration table.form-table th img.help_tip{margin:0 0 0 -24px;float:left}.user-registration table.form-table .wp-list-table .user-registration-help-tip{float:none}.user-registration table.form-table fieldset{margin-top:4px}.user-registration table.form-table fieldset .user-registration-help-tip,.user-registration table.form-table fieldset img.help_tip{margin:-3px 5px 0 0}.user-registration table.form-table fieldset p.description{margin-bottom:8px}.user-registration table.form-table fieldset:first-child{margin-top:0}.user-registration table.form-table .iris-picker{z-index:100;display:none;position:absolute;border:1px solid #ccc;border-radius:3px;box-shadow:0 1px 3px rgba(0,0,0,.2)}.user-registration table.form-table .iris-picker .ui-slider{border:0!important;margin:0!important;width:auto!important;height:auto!important;background:none transparent!important}.user-registration table.form-table .iris-picker .ui-slider .ui-slider-handle{margin-bottom:0!important}.user-registration table.form-table .colorpickpreview{padding:3px;padding-right:20px;border:1px solid #ddd;border-left:0}.user-registration table.form-table .colorpick{border-right:0}.user-registration table.form-table .image_width_settings{vertical-align:middle}.user-registration table.form-table .image_width_settings label{margin-right:10px}@media only screen and (max-width:1599px){.ur_addons_wrap .products li{width:32.66%}.ur_addons_wrap .products li:nth-child(5n){margin:0 0 1% 1%!important}.ur_addons_wrap .products li:nth-child(3n){margin:0 0 1% 0!important}}@media only screen and (max-width:1120px){.ur_addons_wrap .products li{width:49%;margin:0 0 2% 2%!important}.ur_addons_wrap .products li:nth-child(3n),.ur_addons_wrap .products li:nth-child(5n){margin:0 0 2% 2%!important}.ur_addons_wrap .products li:nth-child(2n){margin:0 0 2% 0!important}}@media only screen and (max-width:900px){.ur_addons_wrap .products li{width:49%}}@media only screen and (max-width:480px){.ur_addons_wrap .products li,.ur_addons_wrap .products li:nth-child(2n),.ur_addons_wrap .products li:nth-child(3n),.ur_addons_wrap .products li:nth-child(5n){width:100%;margin:0 0 3% 0!important}}@media only screen and (min-width:769px) and (max-width:1000px){.user-registration_page_add-new-registration #post-body-content{min-width:0}}@media screen and (max-width:782px){body.user-registration_page_add-new-registration{min-width:0!important}}.ur-admin-template-options{display:none}.ur-registered-from{display:flex;background-color:#f8f8f8;font-family:Roboto,sans-serif;border-bottom:1px solid #ddd}.ur-registered-from *{box-sizing:border-box}.ur-registered-from :focus{outline:0}.ur-registered-from .ur-registered-inputs{width:35%;background-color:#f9f9f9}.ur-registered-from .ur-registered-inputs .ur-tabs{border:0 none;background-color:transparent;padding:0;font-family:Roboto,sans-serif;font-size:14px}.ur-registered-from .ur-registered-inputs .ur-tabs .ur-tab-lists{background-color:transparent;background-image:none;padding:0;border-radius:0;margin:0;display:flex;border-bottom:2px solid #217dbb;border-top:0 none;border-left:0 none;border-right:0 none}.ur-registered-from .ur-registered-inputs .ur-tabs .ur-tab-lists li{background-color:transparent;background-image:none;border-radius:0;margin:0;margin-bottom:-1px;padding:0;float:none;display:inline-block;border:0}.ur-registered-from .ur-registered-inputs .ur-tabs .ur-tab-lists li.active{margin-bottom:0;padding-bottom:0}.ur-registered-from .ur-registered-inputs .ur-tabs .ur-tab-lists li.ui-state-disabled{opacity:1}.ur-registered-from .ur-registered-inputs .ur-tabs .ur-tab-lists li a{float:none;text-decoration:none;margin:0;border:none;display:block;color:#666;background-color:transparent;padding:5px 15px;font-weight:500;cursor:pointer}.ur-registered-from .ur-registered-inputs .ur-tabs .ur-tab-lists li a:focus{box-shadow:0 0 0 0 transparent,0 0 0 0 transparent}.ur-registered-from .ur-registered-inputs .ur-tabs .ur-tab-lists li a.active{background-color:#217dbb;color:#fff;line-height:24px}.ur-registered-from .ur-registered-inputs .ur-tabs .ur-tab-content{padding:10px}.ur-registered-from .ur-registered-inputs .ur-tabs .ur-tab-content#ur-tab-field-options,.ur-registered-from .ur-registered-inputs .ur-tabs .ur-tab-content#ur-tab-registered-fields{background-color:#f2f2f2}.ur-registered-from .ur-registered-inputs .ur-tabs .ur-tab-content h2{margin:0;font-size:16px;font-weight:600;font-family:Roboto,sans-serif;color:#404040}.ur-registered-from .ur-registered-inputs .ur-tabs .ur-tab-content .ur-registered-list{margin:15px 0;width:100%}.ur-registered-from .ur-registered-inputs .ur-tabs .ur-tab-content .ur-registered-list::after,.ur-registered-from .ur-registered-inputs .ur-tabs .ur-tab-content .ur-registered-list::before{content:' ';display:table}.ur-registered-from .ur-registered-inputs .ur-tabs .ur-tab-content .ur-registered-list::after{clear:both}.ur-registered-from .ur-registered-inputs .ur-tabs .ur-tab-content .ur-registered-list:last-child{margin-bottom:0}.ur-registered-from .ur-registered-inputs .ur-tabs .ur-tab-content .ur-registered-list .ur-registered-item{float:right;padding:10px 45px 10px 15px;height:auto;line-height:25px;width:48%;background-color:#3498db;color:#fff;margin-bottom:7px;word-break:break-word;white-space:normal;position:relative;cursor:move}.ur-registered-from .ur-registered-inputs .ur-tabs .ur-tab-content .ur-registered-list .ur-registered-item .dashicons{position:absolute;top:0;bottom:0;background:rgba(0,0,0,.3);width:35px;right:0;line-height:2.9;font-size:16px;height:auto;margin-left:5px}.ur-registered-from .ur-registered-inputs .ur-tabs .ur-tab-content .ur-registered-list .ur-registered-item:nth-child(2n){float:left}.ur-registered-from .ur-registered-inputs .ur-tabs .ur-tab-content .ur-registered-list .ur-registered-item:hover{background-color:#217dbb;color:#fff}.ur-registered-from .ur-registered-inputs .ur-tabs .ur-tab-content .ur-registered-list .ur-registered-item:nth-child(2n+1){clear:both;display:block}.ur-registered-from .ur-selected-inputs{width:70%;box-sizing:border-box;border-right:1px solid #ddd;padding:20px}.ur-registered-from .ur-selected-inputs .ur-single-row{background-color:#f2f2f2;margin-bottom:20px;border:1px solid #ddd}.ur-registered-from .ur-selected-inputs .ur-single-row:last-child{margin-bottom:0}.ur-registered-from .ur-selected-inputs .ur-single-row .ur-grids{background-color:#f2f2f2;border-bottom:1px solid #ddd;clear:both;display:table;width:100%}.ur-registered-from .ur-selected-inputs .ur-single-row .ur-grids div{border-left:1px solid #ddd;display:inline-block;line-height:25px;color:#787878;float:right}.ur-registered-from .ur-selected-inputs .ur-single-row .ur-grids div.ur-grid-size{padding:0 10px}.ur-registered-from .ur-selected-inputs .ur-single-row .ur-grids div.ur-grid-navigation{width:25px;height:25px;background-color:#e8e8e8;font-family:dashicons;font-size:16px;cursor:pointer}.ur-registered-from .ur-selected-inputs .ur-single-row .ur-grids div.ur-grid-navigation:hover{background-color:#ddd}.ur-registered-from .ur-selected-inputs .ur-single-row .ur-grids .ur-remove-row{float:left;border-radius:0;border:0;background-color:transparent;color:#787878;width:25px;height:25px;cursor:pointer;padding:0;line-height:25px;transition:all .1s ease-in-out}.ur-registered-from .ur-selected-inputs .ur-single-row .ur-grids .ur-remove-row:before{font-family:dashicons}.ur-registered-from .ur-selected-inputs .ur-single-row .ur-grids .ur-remove-row:hover{color:#d82223}.ur-registered-from .ur-selected-inputs .ur-single-row .ur-grid-lists{width:100%;display:flex;text-align:center;padding:20px;box-sizing:border-box;justify-content:center}.ur-registered-from .ur-selected-inputs .ur-single-row .ur-grid-lists .ur-grid-list-item{display:inline-block;text-align:right;border:0 none;padding:15px;background-color:#f7f7f7;flex:1;border:2px dashed #d3d3d3}.ur-registered-from .ur-selected-inputs .ur-single-row .ur-grid-lists .ur-grid-list-item .ur-selected-item{margin-bottom:15px;position:relative;background-color:#f8f8f8;padding:20px;cursor:move;border:1px solid #e8e8e8;transition:border-color .35s}.ur-registered-from .ur-selected-inputs .ur-single-row .ur-grid-lists .ur-grid-list-item .ur-selected-item:last-child{margin-bottom:0}.ur-registered-from .ur-selected-inputs .ur-single-row .ur-grid-lists .ur-grid-list-item .ur-selected-item.ur-item-active,.ur-registered-from .ur-selected-inputs .ur-single-row .ur-grid-lists .ur-grid-list-item .ur-selected-item:hover{border:1px solid #3498db}.ur-registered-from .ur-selected-inputs .ur-single-row .ur-grid-lists .ur-grid-list-item .ur-selected-item.ur-item-active{box-shadow:0 0 20px rgba(0,0,0,.2);background-color:#f8f8f8}.ur-registered-from .ur-selected-inputs .ur-single-row .ur-grid-lists .ur-grid-list-item .ur-selected-item.ui-sortable-helper,.ur-registered-from .ur-selected-inputs .ur-single-row .ur-grid-lists .ur-grid-list-item .ur-selected-item.ur-item-active.ui-sortable-helper{box-shadow:0 0 20px rgba(0,0,0,.2);background-color:#e8e8e8}.ur-registered-from .ur-selected-inputs .ur-single-row .ur-grid-lists .ur-grid-list-item .ur-selected-item .ur-action-buttons{display:none;position:absolute;left:10px;width:50px;text-align:center;padding:0;font-size:10px;top:10px;color:#b1b1b1}.ur-registered-from .ur-selected-inputs .ur-single-row .ur-grid-lists .ur-grid-list-item .ur-selected-item .ur-action-buttons span{cursor:pointer;font-size:14px;height:auto}.ur-registered-from .ur-selected-inputs .ur-single-row .ur-grid-lists .ur-grid-list-item .ur-selected-item .ur-action-buttons span:hover{color:#3498db}.ur-registered-from .ur-selected-inputs .ur-single-row .ur-grid-lists .ur-grid-list-item .ur-selected-item .ur-action-buttons:hover .ur-action-buttons{display:block}.ur-registered-from .ur-selected-inputs .ur-single-row .ur-grid-lists .ur-grid-list-item .ur-selected-item .ur-action-buttons .ur-trash:hover{color:#d82223}.ur-registered-from .ur-selected-inputs .ur-single-row .ur-grid-lists .ur-grid-list-item .ur-selected-item .ur_label_top_left{text-align:right}.ur-registered-from .ur-selected-inputs .ur-single-row .ur-grid-lists .ur-grid-list-item .ur-selected-item .ur_label_center{text-align:center}.ur-registered-from .ur-selected-inputs .ur-single-row .ur-grid-lists .ur-grid-list-item .ur-selected-item .ur_label_top_right{text-align:left}.ur-registered-from .ur-selected-inputs .ur-single-row .ur-grid-lists .ur-grid-list-item .ur-selected-item .ur_label_disabled{display:none}.ur-registered-from .ur-selected-inputs .ur-single-row .ur-grid-lists .ur-grid-list-item .ur-selected-item:hover .ur-action-buttons{display:block}.ur-registered-from .ur-selected-inputs .ur-single-row .ur-grid-lists .ur-grid-list-item>li.ur-item-dragged{list-style:none;width:100%;text-align:center;height:60px!important;box-sizing:border-box}.ur-registered-from .ur-selected-inputs .ur-single-row .ur-grid-lists .ur-grid-list-item>li.ur-item-dragged .spinner{float:none}.ur-registered-from .ur-selected-inputs .ur-single-row .ur-grid-lists .ur-grid-list-item .user-registration-dragged-me{display:table;width:100%;height:100%}.ur-registered-from .ur-selected-inputs .ur-single-row .ur-grid-lists .ur-grid-list-item .user-registration-dragged-me .user-registration-dragged-me-text{display:table-cell;vertical-align:middle;text-align:center}.ur-registered-from .ur-selected-inputs .ur-single-row .ur-grid-lists .ur-grid-list-item .user-registration-dragged-me .user-registration-dragged-me-text p{display:inline-block;position:relative;color:#b1b1b1;padding-right:26px;padding-top:8px}.ur-registered-from .ur-selected-inputs .ur-single-row .ur-grid-lists .ur-grid-list-item .user-registration-dragged-me .user-registration-dragged-me-text p::before{position:absolute;font-family:Dashicons;content:'\f545';font-size:22px;right:0;top:0}.ur-registered-from .ur-selected-inputs .ur-single-row .ur-grid-lists .ur-grid-list-item:nth-child(1n+2){border-right:2px solid #f7f7f7}.ur-registered-from .ur-selected-inputs .ur-single-row .ur-grid-lists .ur-grid-list-item:nth-child(1n+2).ur-sortable-active,.ur-registered-from .ur-selected-inputs .ur-single-row .ur-grid-lists .ur-sortable-active{border-left:2px dotted #217dbb;border-right:2px dotted #217dbb;border-top:2px dotted #217dbb;border-bottom:2px dotted #217dbb;background-color:#e1f0fa}.ur-registered-from .ur-selected-inputs .ur-add-new-row{color:#b1b1b1;display:block;margin:0 auto;font-size:30px;width:40px;cursor:pointer;text-align:center;margin-bottom:20px;background-color:transparent;border:0 none}.ur-registered-from .ur-selected-inputs .ur-add-new-row:hover{color:#3498db}.ur-registered-from .ur-selected-inputs li.ur-registered-item{list-style:none;padding:10px 10px;line-height:20px;background-color:#3498db;color:#fff;text-align:center;margin-bottom:7px;word-break:break-word;white-space:normal;width:200px!important}.ur-registered-from .ur-selected-inputs li.ur-registered-item>span{font-size:14px;line-height:20px;width:auto;height:auto;margin-left:3px}.ur-registered-from .ur-advance-setting,.ur-registered-from .ur-general-setting{padding:20px 0 0}.ur-registered-from .ur-advance-setting-block{margin-top:25px}.ur-registered-from .ui-widget select,.ur-registered-from input[type=date],.ur-registered-from input[type=email],.ur-registered-from input[type=number],.ur-registered-from input[type=password],.ur-registered-from input[type=text],.ur-registered-from input[type=url],.ur-registered-from select,.ur-registered-from textarea{display:block;width:100%;color:#787878;box-shadow:0 0 0 transparent;font-size:12px;height:35px;padding:0 10px}.ur-registered-from .ui-widget select:focus,.ur-registered-from input[type=date]:focus,.ur-registered-from input[type=email]:focus,.ur-registered-from input[type=number]:focus,.ur-registered-from input[type=password]:focus,.ur-registered-from input[type=text]:focus,.ur-registered-from input[type=url]:focus,.ur-registered-from select:focus,.ur-registered-from textarea:focus{border-color:#ddd}.ur-registered-from label{display:block;width:100%;margin-bottom:10px;color:#666;font-size:12px;font-weight:500}.ur-registered-from textarea{padding:10px;height:100px}.ur-registered-from .ur-registered-item.dragging{border:0;box-shadow:0 0 0 transparent;border-radius:0;padding:5px 10px;height:auto;background-color:#3498db;color:#fff;text-align:center;width:200px}.ur-registered-from .ur-advance-setting-block,.ur-registered-from .ur-general-setting-block{display:none}.ur-registered-from .ur-advance-setting label,.ur-registered-from .ur-general-setting label{display:block}#sortable{min-height:400px}@media screen and (max-width:1400px){.ur-registered-from .ur-registered-inputs .ur-tabs .ur-tab-content .ur-registered-list .ur-registered-item{font-size:12px}}@media screen and (max-width:960px){.ur-registered-from .ur-registered-inputs .ur-tabs .ur-tab-content .ur-registered-list .ur-registered-item{float:none;width:100%}.ur-registered-from .ur-registered-inputs .ur-single-row .ur-grid-lists,.ur-registered-from .ur-registered-inputs .ur-single-row .ur-grid-lists .ur-grid-list-item,.ur-registered-from .ur-registered-inputs .ur-single-row .ur-grid-lists .ur-grid-list-item .ur-selected-item{padding:10px}}@media screen and (max-width:782px){.ur-registered-from{flex-direction:column}.ur-registered-from .ur-registered-inputs{width:100%;margin-bottom:10px}.ur-registered-from .ur-selected-inputs{width:100%}.ur-registered-from .ur-registered-inputs .ur-tabs .ur-tab-content .ur-registered-list .ur-registered-item{float:right;width:48%}}@media screen and (max-width:600px){.user-registration_page_add-new-registration .major-publishing-actions{clear:both;padding:10px 0 19px;line-height:28px}.user-registration_page_add-new-registration .major-publishing-actions .ur-form-name{width:100%}.user-registration_page_add-new-registration .major-publishing-actions .publishing-action{text-align:right;float:none;margin-top:15px}.ur-registered-from .ur-selected-inputs .ur-single-row .ur-grid-lists{flex-direction:column;display:block}.ur-registered-from .ur-selected-inputs .ur-single-row .ur-grid-lists .ur-grid-list-item{width:100%!important}.ur-registered-from .ur-selected-inputs .ur-single-row .ur-grid-lists .ur-grid-list-item:nth-child(1n+2){border-right:0 none;border-top:2px solid #f2f2f2}}.tips{cursor:help;text-decoration:none}img.tips{padding:5px 0 0}#tiptip_holder{display:none;z-index:8675309;position:absolute;top:0;left:0}#tiptip_holder.tip_top{padding-bottom:5px}#tiptip_holder.tip_top #tiptip_arrow_inner{margin-top:-7px;margin-right:-6px;border-top-color:#333}#tiptip_holder.tip_bottom{padding-top:5px}#tiptip_holder.tip_bottom #tiptip_arrow_inner{margin-top:-5px;margin-right:-6px;border-bottom-color:#333}#tiptip_holder.tip_right{padding-right:5px}#tiptip_holder.tip_right #tiptip_arrow_inner{margin-top:-6px;margin-right:-5px;border-left-color:#333}#tiptip_holder.tip_left{padding-left:5px}#tiptip_holder.tip_left #tiptip_arrow_inner{margin-top:-6px;margin-right:-7px;border-right-color:#333}#tiptip_content,.ur_error_tip{color:#fff;font-size:.8em;max-width:150px;background:#333;text-align:center;border-radius:3px;padding:.618em 1em;box-shadow:0 1px 3px rgba(0,0,0,.2)}#tiptip_content code,.ur_error_tip code{padding:1px;background:#888}#tiptip_arrow,#tiptip_arrow_inner{position:absolute;border-color:transparent;border-style:solid;border-width:6px;height:0;width:0}#tiptip_arrow{right:50%;margin-right:-6px}.ur_error_tip{max-width:20em;line-height:1.8em;position:absolute;white-space:normal;background:#d82223;margin:1.5em -1em 0 1px;z-index:9999999}.ur_error_tip::after{content:'';display:block;border:8px solid #d82223;border-left-color:transparent;border-right-color:transparent;border-top-color:transparent;position:absolute;top:-3px;right:50%;margin:-1em -3px 0 0}.user-registration-help-tip{color:#666;display:inline-block;font-size:1.1em;font-style:normal;height:16px;line-height:16px;position:relative;vertical-align:middle;width:16px}.user-registration-help-tip::after{font-family:Dashicons;speak:none;font-weight:400;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;margin:0;text-indent:0;position:absolute;top:0;right:0;width:100%;height:100%;text-align:center;content:"";cursor:help}.select2-drop,.select2-dropdown{z-index:999999!important}.select2-results{line-height:1.5em}.select2-results .select2-results__group,.select2-results .select2-results__option{margin:0;padding:8px}.select2-dropdown{border-color:#ddd}.select2-dropdown--below{box-shadow:0 1px 1px rgba(0,0,0,.1)}.select2-dropdown--above{box-shadow:0 -1px 1px rgba(0,0,0,.1)}.select2-container .select2-selection__rendered.ui-sortable li{cursor:move}.select2-container .select2-selection{border-color:#ddd}.select2-container .select2-search__field{min-width:150px}.select2-container .select2-selection--single{height:32px}.select2-container .select2-selection--single .select2-selection__rendered{line-height:32px;padding-left:24px}.select2-container .select2-selection--single .select2-selection__arrow{left:3px;height:30px}.select2-container .select2-selection--multiple{min-height:28px;border-radius:0;line-height:1.5}.select2-container .select2-selection--multiple li{margin:0}.select2-container .select2-selection--multiple .select2-selection__choice{padding:2px 6px}.select2-container .select2-selection__clear{color:#999;margin-top:-1px}.select2-container .select2-search--inline .select2-search__field{font-family:inherit;font-size:inherit;font-weight:inherit;padding:3px 0}#ur-tab-registered-fields li.ur-registered-item.ui-draggable-disabled{background:#ccc}.ur-no-pointer{pointer-events:none}#ur-tab-field-settings{background:#f2f2f2}.dashicons,.user-registration table.form-table dashicons .dashicons{line-height:inherit}#smart-tags{text-align:center}
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:#fff;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],.select2-results__option[data-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}.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:700}.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:#fff;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__placeholder{color:#999;margin-top:5px;float:left}.select2-container--default .select2-selection--multiple .select2-selection__clear{cursor:pointer;float:right;font-weight:700;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:700;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-search--inline,.select2-container--default[dir=rtl] .select2-selection--multiple .select2-selection__choice,.select2-container--default[dir=rtl] .select2-selection--multiple .select2-selection__placeholder{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 #000 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--multiple,.select2-container--default.select2-container--open.select2-container--above .select2-selection--single{border-top-left-radius:0;border-top-right-radius:0}.select2-container--default.select2-container--open.select2-container--below .select2-selection--multiple,.select2-container--default.select2-container--open.select2-container--below .select2-selection--single{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:0 0;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],.select2-container--default .select2-results__option[data-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],.select2-container--default .select2-results__option--highlighted[data-selected]{background-color:#0073aa;color:#fff}.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:linear-gradient(to bottom,#fff 50%,#eee 100%);background-repeat:repeat-x}.select2-container--classic .select2-selection--single:focus{border:1px solid #0073aa}.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:700;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:linear-gradient(to bottom,#eee 50%,#ccc 100%);background-repeat:repeat-x}.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 #0073aa}.select2-container--classic.select2-container--open .select2-selection--single .select2-selection__arrow{background:0 0;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:linear-gradient(to bottom,#fff 0,#eee 50%);background-repeat:repeat-x}.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:linear-gradient(to bottom,#eee 50%,#fff 100%);background-repeat:repeat-x}.select2-container--classic .select2-selection--multiple{background-color:#fff;border:1px solid #aaa;border-radius:4px;cursor:text;outline:0}.select2-container--classic .select2-selection--multiple:focus{border:1px solid #0073aa}.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:700;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 #0073aa}.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],.select2-container--classic .select2-results__option--highlighted[data-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:#0073aa}
2
+ @charset "UTF-8";.ur-registered-item.ui-draggable-dragging{padding:10px 10px;line-height:20px;background:#3498db;color:#fff;text-align:center;margin-bottom:7px;word-break:break-word;white-space:normal;width:200px!important}.ur-registered-item.ui-draggable-dragging span{font-size:14px;line-height:20px;width:auto;height:auto;margin-left:3px}.blockUI.blockOverlay::before{height:1em;width:1em;position:absolute;top:50%;right:50%;margin-right:-.5em;margin-top:-.5em;display:block;content:'';animation:spin 1s ease-in-out infinite;background:url(../images/icons/loader.svg) center center;background-size:cover;line-height:1;text-align:center;font-size:2em;color:rgba(0,0,0,.75)}.ur_addons_wrap .products{overflow:hidden}.ur_addons_wrap .products li{margin:0 0 1% 1%!important;padding:0;vertical-align:top;width:19.2%;float:right}.ur_addons_wrap .products li:nth-child(5n){margin:0 0 1% 0!important}.ur_addons_wrap .products li a{text-decoration:none;color:inherit;border:1px solid #ddd;display:block;min-height:220px;overflow:hidden;background:#f5f5f5;box-shadow:inset 0 1px 0 rgba(255,255,255,.2),inset 0 -1px 0 rgba(0,0,0,.1)}.ur_addons_wrap .products li a .product-image{display:block;background:#fff}.ur_addons_wrap .products li a .product-image img{max-width:100%;display:block;margin:0}.ur_addons_wrap .products li a img.extension-thumb+h3{display:none}.ur_addons_wrap .products li a .price{display:none}.ur_addons_wrap .products li a h2,.ur_addons_wrap .products li a h3{margin:0!important;padding:20px!important;background:#fff}.ur_addons_wrap .products li a p{padding:20px!important;margin:0!important;border-top:1px solid #f1f1f1}.ur_addons_wrap .products li a:focus,.ur_addons_wrap .products li a:hover{background-color:#fff}.clear{clear:both}.wrap.user-registration div.error,.wrap.user-registration div.updated{margin-top:10px}.user-registration_page_add-new-registration #post-body{background-color:#fff}.user-registration_page_add-new-registration #post-body .error,.user-registration_page_add-new-registration #post-body .updated{margin:0}.user-registration_page_add-new-registration #post-body-content{position:relative;float:none}.user-registration_page_add-new-registration .howto span{float:right;margin-top:6px}.user-registration_page_add-new-registration .list-wrap{display:none;clear:both;margin-bottom:10px}.user-registration_page_add-new-registration .list li{display:none;margin:0;margin-bottom:5px}.user-registration_page_add-new-registration .list li .menu-item-title{cursor:pointer;display:block}.user-registration_page_add-new-registration .list li .menu-item-title input{margin-left:3px;margin-top:-3px}.user-registration_page_add-new-registration #menu-management-liquid{margin-top:23px}.user-registration_page_add-new-registration .postbox p.submit{margin-bottom:0}.user-registration_page_add-new-registration .major-publishing-actions{clear:both;padding:10px 0;line-height:28px}.user-registration_page_add-new-registration .major-publishing-actions .publishing-action{text-align:left;float:left}.user-registration_page_add-new-registration .major-publishing-actions .form-invalid{padding-right:4px;margin-right:-4px}.user-registration_page_add-new-registration .major-publishing-actions .ur-form-name{width:25%}.user-registration_page_add-new-registration .blank-slate .menu-settings{display:none}.user-registration_page_add-new-registration .delete-action{float:right;line-height:28px}.ur-backbone-modal *{box-sizing:border-box}.ur-backbone-modal .ur-backbone-modal-content{position:fixed;background-color:#fff;z-index:100000;right:50%;top:50%;transform:translate(50%,-50%);width:500px}.ur-backbone-modal .ur-backbone-modal-content article{overflow:auto}.ur-backbone-modal.ur-backbone-modal-content{width:75%;min-width:500px}.ur-backbone-modal .select2-container{width:100%!important}.ur-backbone-modal-backdrop{position:fixed;top:0;right:0;left:0;bottom:0;min-height:360px;background-color:#000;opacity:.7;z-index:99900}.ur-backbone-modal-main{padding-bottom:55px}.ur-backbone-modal-main article,.ur-backbone-modal-main header{display:block;position:relative}.ur-backbone-modal-main .ur-backbone-modal-header{height:auto;background-color:#fcfcfc;padding:1em 1.5em;border-bottom:1px solid #ddd}.ur-backbone-modal-main .ur-backbone-modal-header h1{margin:0;font-size:18px;font-weight:700;line-height:1.5em}.ur-backbone-modal-main .ur-backbone-modal-header .modal-close-link{cursor:pointer;color:#777;height:54px;width:54px;padding:0;position:absolute;top:0;left:0;text-align:center;border:0;border-right:1px solid #ddd;background-color:transparent;transition:color .1s ease-in-out,background .1s ease-in-out}.ur-backbone-modal-main .ur-backbone-modal-header .modal-close-link::before{font:normal 22px/50px dashicons!important;color:#666;display:block;content:'\f335';font-weight:300}.ur-backbone-modal-main .ur-backbone-modal-header .modal-close-link:focus,.ur-backbone-modal-main .ur-backbone-modal-header .modal-close-link:hover{background-color:#ddd;border-color:#ccc;color:#000}.ur-backbone-modal-main .ur-backbone-modal-header .modal-close-link:focus{outline:0}.ur-backbone-modal-main article{padding:1.5em}.ur-backbone-modal-main article p{margin:1.5em 0}.ur-backbone-modal-main article p:first-child{margin-top:0}.ur-backbone-modal-main article p:last-child{margin-bottom:0}.ur-backbone-modal-main article .pagination{padding:10px 0 0;text-align:center}.ur-backbone-modal-main footer{position:absolute;right:0;left:0;bottom:0;z-index:100;padding:1em 1.5em;background-color:#fcfcfc;border-top:1px solid #dfdfdf;box-shadow:0 -4px 4px -4px rgba(0,0,0,.1)}.ur-backbone-modal-main footer .inner{float:left;line-height:23px}.ur-backbone-modal-main footer .inner .button{margin-bottom:0}.user-registration h2.ur-nav-tab-wrapper{margin-bottom:1em}.user-registration nav.ur-nav-tab-wrapper{margin:1.5em 0 1em;border-bottom:1px solid #ccc}.user-registration .subsubsub{margin:-8px 0 0}.user-registration textarea[disabled=disabled]{background:#dfdfdf!important}.user-registration table.form-table{margin:0;position:relative}.user-registration table.form-table .select2-container{display:block;max-width:350px}.user-registration table.form-table .forminp-radio ul{margin:0}.user-registration table.form-table .forminp-radio ul li{line-height:1.4em}.user-registration table.form-table textarea.input-text{height:100%;min-width:150px;display:block}.user-registration table.form-table input.regular-input{width:25em}.user-registration table.form-table textarea.wide-input{width:100%}.user-registration table.form-table .user-registration-help-tip,.user-registration table.form-table img.help_tip{padding:0;margin:-4px 5px 0 0;vertical-align:middle;cursor:help;line-height:1}.user-registration table.form-table span.help_tip{cursor:help;color:#2ea2cc}.user-registration table.form-table th{position:relative;padding-left:24px}.user-registration table.form-table .select2-container{vertical-align:top;margin-bottom:3px}.user-registration table.form-table table.widefat th{padding-left:inherit}.user-registration table.form-table th .user-registration-help-tip,.user-registration table.form-table th img.help_tip{margin:0 0 0 -24px;float:left}.user-registration table.form-table .wp-list-table .user-registration-help-tip{float:none}.user-registration table.form-table fieldset{margin-top:4px}.user-registration table.form-table fieldset .user-registration-help-tip,.user-registration table.form-table fieldset img.help_tip{margin:-3px 5px 0 0}.user-registration table.form-table fieldset p.description{margin-bottom:8px}.user-registration table.form-table fieldset:first-child{margin-top:0}.user-registration table.form-table .iris-picker{z-index:100;display:none;position:absolute;border:1px solid #ccc;border-radius:3px;box-shadow:0 1px 3px rgba(0,0,0,.2)}.user-registration table.form-table .iris-picker .ui-slider{border:0!important;margin:0!important;width:auto!important;height:auto!important;background:none transparent!important}.user-registration table.form-table .iris-picker .ui-slider .ui-slider-handle{margin-bottom:0!important}.user-registration table.form-table .colorpickpreview{padding:3px;padding-right:20px;border:1px solid #ddd;border-left:0}.user-registration table.form-table .colorpick{border-right:0}.user-registration table.form-table .image_width_settings{vertical-align:middle}.user-registration table.form-table .image_width_settings label{margin-right:10px}@media only screen and (max-width:1599px){.ur_addons_wrap .products li{width:32.66%}.ur_addons_wrap .products li:nth-child(5n){margin:0 0 1% 1%!important}.ur_addons_wrap .products li:nth-child(3n){margin:0 0 1% 0!important}}@media only screen and (max-width:1120px){.ur_addons_wrap .products li{width:49%;margin:0 0 2% 2%!important}.ur_addons_wrap .products li:nth-child(3n),.ur_addons_wrap .products li:nth-child(5n){margin:0 0 2% 2%!important}.ur_addons_wrap .products li:nth-child(2n){margin:0 0 2% 0!important}}@media only screen and (max-width:900px){.ur_addons_wrap .products li{width:49%}}@media only screen and (max-width:480px){.ur_addons_wrap .products li,.ur_addons_wrap .products li:nth-child(2n),.ur_addons_wrap .products li:nth-child(3n),.ur_addons_wrap .products li:nth-child(5n){width:100%;margin:0 0 3% 0!important}}@media only screen and (min-width:769px) and (max-width:1000px){.user-registration_page_add-new-registration #post-body-content{min-width:0}}@media screen and (max-width:782px){body.user-registration_page_add-new-registration{min-width:0!important}}.ur-admin-template-options{display:none}.ur-registered-from{display:flex;background-color:#f8f8f8;font-family:Roboto,sans-serif;border-bottom:1px solid #ddd}.ur-registered-from *{box-sizing:border-box}.ur-registered-from :focus{outline:0}.ur-registered-from .ur-registered-inputs{width:35%;background-color:#f9f9f9}.ur-registered-from .ur-registered-inputs .ur-tabs{border:0 none;background-color:transparent;padding:0;font-family:Roboto,sans-serif;font-size:14px}.ur-registered-from .ur-registered-inputs .ur-tabs .ur-tab-lists{background-color:transparent;background-image:none;padding:0;border-radius:0;margin:0;display:flex;border-bottom:2px solid #217dbb;border-top:0 none;border-left:0 none;border-right:0 none}.ur-registered-from .ur-registered-inputs .ur-tabs .ur-tab-lists li{background-color:transparent;background-image:none;border-radius:0;margin:0;margin-bottom:-1px;padding:0;float:none;display:inline-block;border:0}.ur-registered-from .ur-registered-inputs .ur-tabs .ur-tab-lists li.active{margin-bottom:0;padding-bottom:0}.ur-registered-from .ur-registered-inputs .ur-tabs .ur-tab-lists li.ui-state-disabled{opacity:1}.ur-registered-from .ur-registered-inputs .ur-tabs .ur-tab-lists li a{float:none;text-decoration:none;margin:0;border:none;display:block;color:#666;background-color:transparent;padding:5px 15px;font-weight:500;cursor:pointer}.ur-registered-from .ur-registered-inputs .ur-tabs .ur-tab-lists li a:focus{box-shadow:0 0 0 0 transparent,0 0 0 0 transparent}.ur-registered-from .ur-registered-inputs .ur-tabs .ur-tab-lists li a.active{background-color:#217dbb;color:#fff;line-height:24px}.ur-registered-from .ur-registered-inputs .ur-tabs .ur-tab-content{padding:10px}.ur-registered-from .ur-registered-inputs .ur-tabs .ur-tab-content#ur-tab-field-options,.ur-registered-from .ur-registered-inputs .ur-tabs .ur-tab-content#ur-tab-registered-fields{background-color:#f2f2f2}.ur-registered-from .ur-registered-inputs .ur-tabs .ur-tab-content h2{margin:0;font-size:16px;font-weight:600;font-family:Roboto,sans-serif;color:#404040}.ur-registered-from .ur-registered-inputs .ur-tabs .ur-tab-content .ur-registered-list{margin:15px 0;width:100%}.ur-registered-from .ur-registered-inputs .ur-tabs .ur-tab-content .ur-registered-list::after,.ur-registered-from .ur-registered-inputs .ur-tabs .ur-tab-content .ur-registered-list::before{content:' ';display:table}.ur-registered-from .ur-registered-inputs .ur-tabs .ur-tab-content .ur-registered-list::after{clear:both}.ur-registered-from .ur-registered-inputs .ur-tabs .ur-tab-content .ur-registered-list:last-child{margin-bottom:0}.ur-registered-from .ur-registered-inputs .ur-tabs .ur-tab-content .ur-registered-list .ur-registered-item{float:right;padding:10px 45px 10px 15px;height:auto;line-height:25px;width:48%;background-color:#3498db;color:#fff;margin-bottom:7px;word-break:break-word;white-space:normal;position:relative;cursor:move}.ur-registered-from .ur-registered-inputs .ur-tabs .ur-tab-content .ur-registered-list .ur-registered-item .dashicons{position:absolute;top:0;bottom:0;background:rgba(0,0,0,.3);width:35px;right:0;line-height:2.9;font-size:16px;height:auto;margin-left:5px}.ur-registered-from .ur-registered-inputs .ur-tabs .ur-tab-content .ur-registered-list .ur-registered-item:nth-child(2n){float:left}.ur-registered-from .ur-registered-inputs .ur-tabs .ur-tab-content .ur-registered-list .ur-registered-item:hover{background-color:#217dbb;color:#fff}.ur-registered-from .ur-registered-inputs .ur-tabs .ur-tab-content .ur-registered-list .ur-registered-item:nth-child(2n+1){clear:both;display:block}.ur-registered-from .ur-selected-inputs{width:70%;box-sizing:border-box;border-right:1px solid #ddd;padding:20px}.ur-registered-from .ur-selected-inputs .ur-single-row{background-color:#f2f2f2;margin-bottom:20px;border:1px solid #ddd}.ur-registered-from .ur-selected-inputs .ur-single-row:last-child{margin-bottom:0}.ur-registered-from .ur-selected-inputs .ur-single-row .ur-grids{background-color:#f2f2f2;border-bottom:1px solid #ddd;clear:both;display:table;width:100%}.ur-registered-from .ur-selected-inputs .ur-single-row .ur-grids div{border-left:1px solid #ddd;display:inline-block;line-height:25px;color:#787878;float:right}.ur-registered-from .ur-selected-inputs .ur-single-row .ur-grids div.ur-grid-size{padding:0 10px}.ur-registered-from .ur-selected-inputs .ur-single-row .ur-grids div.ur-grid-navigation{width:25px;height:25px;background-color:#e8e8e8;font-family:dashicons;font-size:16px;cursor:pointer}.ur-registered-from .ur-selected-inputs .ur-single-row .ur-grids div.ur-grid-navigation:hover{background-color:#ddd}.ur-registered-from .ur-selected-inputs .ur-single-row .ur-grids .ur-remove-row{float:left;border-radius:0;border:0;background-color:transparent;color:#787878;width:25px;height:25px;cursor:pointer;padding:0;line-height:25px;transition:all .1s ease-in-out}.ur-registered-from .ur-selected-inputs .ur-single-row .ur-grids .ur-remove-row:before{font-family:dashicons}.ur-registered-from .ur-selected-inputs .ur-single-row .ur-grids .ur-remove-row:hover{color:#d82223}.ur-registered-from .ur-selected-inputs .ur-single-row .ur-grid-lists{width:100%;display:flex;text-align:center;padding:20px;box-sizing:border-box;justify-content:center}.ur-registered-from .ur-selected-inputs .ur-single-row .ur-grid-lists .ur-grid-list-item{display:inline-block;text-align:right;border:0 none;padding:15px;background-color:#f7f7f7;flex:1;border:2px dashed #d3d3d3}.ur-registered-from .ur-selected-inputs .ur-single-row .ur-grid-lists .ur-grid-list-item .ur-selected-item{margin-bottom:15px;position:relative;background-color:#f8f8f8;padding:20px;cursor:move;border:1px solid #e8e8e8;transition:border-color .35s}.ur-registered-from .ur-selected-inputs .ur-single-row .ur-grid-lists .ur-grid-list-item .ur-selected-item:last-child{margin-bottom:0}.ur-registered-from .ur-selected-inputs .ur-single-row .ur-grid-lists .ur-grid-list-item .ur-selected-item.ur-item-active,.ur-registered-from .ur-selected-inputs .ur-single-row .ur-grid-lists .ur-grid-list-item .ur-selected-item:hover{border:1px solid #3498db}.ur-registered-from .ur-selected-inputs .ur-single-row .ur-grid-lists .ur-grid-list-item .ur-selected-item.ur-item-active{box-shadow:0 0 20px rgba(0,0,0,.2);background-color:#f8f8f8}.ur-registered-from .ur-selected-inputs .ur-single-row .ur-grid-lists .ur-grid-list-item .ur-selected-item.ui-sortable-helper,.ur-registered-from .ur-selected-inputs .ur-single-row .ur-grid-lists .ur-grid-list-item .ur-selected-item.ur-item-active.ui-sortable-helper{box-shadow:0 0 20px rgba(0,0,0,.2);background-color:#e8e8e8}.ur-registered-from .ur-selected-inputs .ur-single-row .ur-grid-lists .ur-grid-list-item .ur-selected-item .ur-action-buttons{display:none;position:absolute;left:10px;width:50px;text-align:center;padding:0;font-size:10px;top:10px;color:#b1b1b1}.ur-registered-from .ur-selected-inputs .ur-single-row .ur-grid-lists .ur-grid-list-item .ur-selected-item .ur-action-buttons span{cursor:pointer;font-size:14px;height:auto}.ur-registered-from .ur-selected-inputs .ur-single-row .ur-grid-lists .ur-grid-list-item .ur-selected-item .ur-action-buttons span:hover{color:#3498db}.ur-registered-from .ur-selected-inputs .ur-single-row .ur-grid-lists .ur-grid-list-item .ur-selected-item .ur-action-buttons:hover .ur-action-buttons{display:block}.ur-registered-from .ur-selected-inputs .ur-single-row .ur-grid-lists .ur-grid-list-item .ur-selected-item .ur-action-buttons .ur-trash:hover{color:#d82223}.ur-registered-from .ur-selected-inputs .ur-single-row .ur-grid-lists .ur-grid-list-item .ur-selected-item .ur_label_top_left{text-align:right}.ur-registered-from .ur-selected-inputs .ur-single-row .ur-grid-lists .ur-grid-list-item .ur-selected-item .ur_label_center{text-align:center}.ur-registered-from .ur-selected-inputs .ur-single-row .ur-grid-lists .ur-grid-list-item .ur-selected-item .ur_label_top_right{text-align:left}.ur-registered-from .ur-selected-inputs .ur-single-row .ur-grid-lists .ur-grid-list-item .ur-selected-item .ur_label_disabled{display:none}.ur-registered-from .ur-selected-inputs .ur-single-row .ur-grid-lists .ur-grid-list-item .ur-selected-item:hover .ur-action-buttons{display:block}.ur-registered-from .ur-selected-inputs .ur-single-row .ur-grid-lists .ur-grid-list-item>li.ur-item-dragged{list-style:none;width:100%;text-align:center;height:60px!important;box-sizing:border-box}.ur-registered-from .ur-selected-inputs .ur-single-row .ur-grid-lists .ur-grid-list-item>li.ur-item-dragged .spinner{float:none}.ur-registered-from .ur-selected-inputs .ur-single-row .ur-grid-lists .ur-grid-list-item .user-registration-dragged-me{display:table;width:100%;height:100%}.ur-registered-from .ur-selected-inputs .ur-single-row .ur-grid-lists .ur-grid-list-item .user-registration-dragged-me .user-registration-dragged-me-text{display:table-cell;vertical-align:middle;text-align:center}.ur-registered-from .ur-selected-inputs .ur-single-row .ur-grid-lists .ur-grid-list-item .user-registration-dragged-me .user-registration-dragged-me-text p{display:inline-block;position:relative;color:#b1b1b1;padding-right:26px;padding-top:8px}.ur-registered-from .ur-selected-inputs .ur-single-row .ur-grid-lists .ur-grid-list-item .user-registration-dragged-me .user-registration-dragged-me-text p::before{position:absolute;font-family:Dashicons;content:'\f545';font-size:22px;right:0;top:0}.ur-registered-from .ur-selected-inputs .ur-single-row .ur-grid-lists .ur-grid-list-item:nth-child(1n+2){border-right:2px solid #f7f7f7}.ur-registered-from .ur-selected-inputs .ur-single-row .ur-grid-lists .ur-grid-list-item:nth-child(1n+2).ur-sortable-active,.ur-registered-from .ur-selected-inputs .ur-single-row .ur-grid-lists .ur-sortable-active{border-left:2px dotted #217dbb;border-right:2px dotted #217dbb;border-top:2px dotted #217dbb;border-bottom:2px dotted #217dbb;background-color:#e1f0fa}.ur-registered-from .ur-selected-inputs .ur-add-new-row{color:#b1b1b1;display:block;margin:0 auto;font-size:30px;width:40px;cursor:pointer;text-align:center;margin-bottom:20px;background-color:transparent;border:0 none}.ur-registered-from .ur-selected-inputs .ur-add-new-row:hover{color:#3498db}.ur-registered-from .ur-selected-inputs li.ur-registered-item{list-style:none;padding:10px 10px;line-height:20px;background-color:#3498db;color:#fff;text-align:center;margin-bottom:7px;word-break:break-word;white-space:normal;width:200px!important}.ur-registered-from .ur-selected-inputs li.ur-registered-item>span{font-size:14px;line-height:20px;width:auto;height:auto;margin-left:3px}.ur-registered-from .ur-advance-setting,.ur-registered-from .ur-general-setting{padding:20px 0 0}.ur-registered-from .ur-advance-setting-block{margin-top:25px}.ur-registered-from .ui-widget select,.ur-registered-from input[type=date],.ur-registered-from input[type=email],.ur-registered-from input[type=number],.ur-registered-from input[type=password],.ur-registered-from input[type=phone],.ur-registered-from input[type=text],.ur-registered-from input[type=timepicker],.ur-registered-from input[type=url],.ur-registered-from select,.ur-registered-from textarea{border:1px solid #ddd;display:block;width:100%;color:#787878;box-shadow:0 0 0 transparent;font-size:12px;height:35px;padding:0 10px}.ur-registered-from .ui-widget select:focus,.ur-registered-from input[type=date]:focus,.ur-registered-from input[type=email]:focus,.ur-registered-from input[type=number]:focus,.ur-registered-from input[type=password]:focus,.ur-registered-from input[type=phone]:focus,.ur-registered-from input[type=text]:focus,.ur-registered-from input[type=timepicker]:focus,.ur-registered-from input[type=url]:focus,.ur-registered-from select:focus,.ur-registered-from textarea:focus{border-color:#ddd}.ur-registered-from label{display:block;width:100%;margin-bottom:10px;color:#666;font-size:12px;font-weight:500}.ur-registered-from textarea{padding:10px;height:100px}.ur-registered-from .ur-registered-item.dragging{border:0;box-shadow:0 0 0 transparent;border-radius:0;padding:5px 10px;height:auto;background-color:#3498db;color:#fff;text-align:center;width:200px}.ur-registered-from .ur-advance-setting-block,.ur-registered-from .ur-general-setting-block{display:none}.ur-registered-from .ur-advance-setting label,.ur-registered-from .ur-general-setting label{display:block}#sortable{min-height:400px}@media screen and (max-width:1400px){.ur-registered-from .ur-registered-inputs .ur-tabs .ur-tab-content .ur-registered-list .ur-registered-item{font-size:12px}}@media screen and (max-width:960px){.ur-registered-from .ur-registered-inputs .ur-tabs .ur-tab-content .ur-registered-list .ur-registered-item{float:none;width:100%}.ur-registered-from .ur-registered-inputs .ur-single-row .ur-grid-lists,.ur-registered-from .ur-registered-inputs .ur-single-row .ur-grid-lists .ur-grid-list-item,.ur-registered-from .ur-registered-inputs .ur-single-row .ur-grid-lists .ur-grid-list-item .ur-selected-item{padding:10px}}@media screen and (max-width:782px){.ur-registered-from{flex-direction:column}.ur-registered-from .ur-registered-inputs{width:100%;margin-bottom:10px}.ur-registered-from .ur-selected-inputs{width:100%}.ur-registered-from .ur-registered-inputs .ur-tabs .ur-tab-content .ur-registered-list .ur-registered-item{float:right;width:48%}}@media screen and (max-width:600px){.user-registration_page_add-new-registration .major-publishing-actions{clear:both;padding:10px 0 19px;line-height:28px}.user-registration_page_add-new-registration .major-publishing-actions .ur-form-name{width:100%}.user-registration_page_add-new-registration .major-publishing-actions .publishing-action{text-align:right;float:none;margin-top:15px}.ur-registered-from .ur-selected-inputs .ur-single-row .ur-grid-lists{flex-direction:column;display:block}.ur-registered-from .ur-selected-inputs .ur-single-row .ur-grid-lists .ur-grid-list-item{width:100%!important}.ur-registered-from .ur-selected-inputs .ur-single-row .ur-grid-lists .ur-grid-list-item:nth-child(1n+2){border-right:0 none;border-top:2px solid #f2f2f2}}.tips{cursor:help;text-decoration:none}img.tips{padding:5px 0 0}#tiptip_holder{display:none;z-index:8675309;position:absolute;top:0;left:0}#tiptip_holder.tip_top{padding-bottom:5px}#tiptip_holder.tip_top #tiptip_arrow_inner{margin-top:-7px;margin-right:-6px;border-top-color:#333}#tiptip_holder.tip_bottom{padding-top:5px}#tiptip_holder.tip_bottom #tiptip_arrow_inner{margin-top:-5px;margin-right:-6px;border-bottom-color:#333}#tiptip_holder.tip_right{padding-right:5px}#tiptip_holder.tip_right #tiptip_arrow_inner{margin-top:-6px;margin-right:-5px;border-left-color:#333}#tiptip_holder.tip_left{padding-left:5px}#tiptip_holder.tip_left #tiptip_arrow_inner{margin-top:-6px;margin-right:-7px;border-right-color:#333}#tiptip_content,.ur_error_tip{color:#fff;font-size:.8em;max-width:150px;background:#333;text-align:center;border-radius:3px;padding:.618em 1em;box-shadow:0 1px 3px rgba(0,0,0,.2)}#tiptip_content code,.ur_error_tip code{padding:1px;background:#888}#tiptip_arrow,#tiptip_arrow_inner{position:absolute;border-color:transparent;border-style:solid;border-width:6px;height:0;width:0}#tiptip_arrow{right:50%;margin-right:-6px}.ur_error_tip{max-width:20em;line-height:1.8em;position:absolute;white-space:normal;background:#d82223;margin:1.5em -1em 0 1px;z-index:9999999}.ur_error_tip::after{content:'';display:block;border:8px solid #d82223;border-left-color:transparent;border-right-color:transparent;border-top-color:transparent;position:absolute;top:-3px;right:50%;margin:-1em -3px 0 0}.user-registration-help-tip{color:#666;display:inline-block;font-size:1.1em;font-style:normal;height:16px;line-height:16px;position:relative;vertical-align:middle;width:16px}.user-registration-help-tip::after{font-family:Dashicons;speak:none;font-weight:400;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;margin:0;text-indent:0;position:absolute;top:0;right:0;width:100%;height:100%;text-align:center;content:"";cursor:help}.select2-drop,.select2-dropdown{z-index:999999!important}.select2-results{line-height:1.5em}.select2-results .select2-results__group,.select2-results .select2-results__option{margin:0;padding:8px}.select2-dropdown{border-color:#ddd}.select2-dropdown--below{box-shadow:0 1px 1px rgba(0,0,0,.1)}.select2-dropdown--above{box-shadow:0 -1px 1px rgba(0,0,0,.1)}.select2-container .select2-selection__rendered.ui-sortable li{cursor:move}.select2-container .select2-selection{border-color:#ddd}.select2-container .select2-search__field{min-width:150px}.select2-container .select2-selection--single{height:32px}.select2-container .select2-selection--single .select2-selection__rendered{line-height:32px;padding-left:24px}.select2-container .select2-selection--single .select2-selection__arrow{left:3px;height:30px}.select2-container .select2-selection--multiple{min-height:28px;border-radius:0;line-height:1.5}.select2-container .select2-selection--multiple li{margin:0}.select2-container .select2-selection--multiple .select2-selection__choice{padding:2px 6px}.select2-container .select2-selection__clear{color:#999;margin-top:-1px}.select2-container .select2-search--inline .select2-search__field{font-family:inherit;font-size:inherit;font-weight:inherit;padding:3px 0}#ur-tab-registered-fields li.ur-registered-item.ui-draggable-disabled{background:#ccc}.ur-no-pointer{pointer-events:none}#ur-tab-field-settings{background:#f2f2f2}.dashicons,.user-registration table.form-table dashicons .dashicons{line-height:inherit}#smart-tags{text-align:center}#ur-setting-form .ur-general-setting-html .ur-general-setting-description,#ur-setting-form .ur-general-setting-html .ur-general-setting-hide-label,#ur-setting-form .ur-general-setting-html .ur-general-setting-placeholder,#ur-setting-form .ur-general-setting-html .ur-general-setting-required,#ur-setting-form .ur-general-setting-section_title .ur-general-setting-description,#ur-setting-form .ur-general-setting-section_title .ur-general-setting-hide-label,#ur-setting-form .ur-general-setting-section_title .ur-general-setting-placeholder,#ur-setting-form .ur-general-setting-section_title .ur-general-setting-required{display:none}
assets/css/admin.css CHANGED
@@ -1,2 +1,2 @@
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:#fff;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],.select2-results__option[data-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}.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:700}.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:#fff;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__placeholder{color:#999;margin-top:5px;float:left}.select2-container--default .select2-selection--multiple .select2-selection__clear{cursor:pointer;float:right;font-weight:700;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:700;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-search--inline,.select2-container--default[dir=rtl] .select2-selection--multiple .select2-selection__choice,.select2-container--default[dir=rtl] .select2-selection--multiple .select2-selection__placeholder{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 #000 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--multiple,.select2-container--default.select2-container--open.select2-container--above .select2-selection--single{border-top-left-radius:0;border-top-right-radius:0}.select2-container--default.select2-container--open.select2-container--below .select2-selection--multiple,.select2-container--default.select2-container--open.select2-container--below .select2-selection--single{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:0 0;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],.select2-container--default .select2-results__option[data-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],.select2-container--default .select2-results__option--highlighted[data-selected]{background-color:#0073aa;color:#fff}.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:linear-gradient(to bottom,#fff 50%,#eee 100%);background-repeat:repeat-x}.select2-container--classic .select2-selection--single:focus{border:1px solid #0073aa}.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:700;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:linear-gradient(to bottom,#eee 50%,#ccc 100%);background-repeat:repeat-x}.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 #0073aa}.select2-container--classic.select2-container--open .select2-selection--single .select2-selection__arrow{background:0 0;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:linear-gradient(to bottom,#fff 0,#eee 50%);background-repeat:repeat-x}.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:linear-gradient(to bottom,#eee 50%,#fff 100%);background-repeat:repeat-x}.select2-container--classic .select2-selection--multiple{background-color:#fff;border:1px solid #aaa;border-radius:4px;cursor:text;outline:0}.select2-container--classic .select2-selection--multiple:focus{border:1px solid #0073aa}.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:700;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 #0073aa}.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],.select2-container--classic .select2-results__option--highlighted[data-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:#0073aa}
2
- @charset "UTF-8";.ur-registered-item.ui-draggable-dragging{padding:10px 10px;line-height:20px;background:#3498db;color:#fff;text-align:center;margin-bottom:7px;word-break:break-word;white-space:normal;width:200px!important}.ur-registered-item.ui-draggable-dragging span{font-size:14px;line-height:20px;width:auto;height:auto;margin-right:3px}.blockUI.blockOverlay::before{height:1em;width:1em;position:absolute;top:50%;left:50%;margin-left:-.5em;margin-top:-.5em;display:block;content:'';animation:spin 1s ease-in-out infinite;background:url(../images/icons/loader.svg) center center;background-size:cover;line-height:1;text-align:center;font-size:2em;color:rgba(0,0,0,.75)}.ur_addons_wrap .products{overflow:hidden}.ur_addons_wrap .products li{margin:0 1% 1% 0!important;padding:0;vertical-align:top;width:19.2%;float:left}.ur_addons_wrap .products li:nth-child(5n){margin:0 0 1% 0!important}.ur_addons_wrap .products li a{text-decoration:none;color:inherit;border:1px solid #ddd;display:block;min-height:220px;overflow:hidden;background:#f5f5f5;box-shadow:inset 0 1px 0 rgba(255,255,255,.2),inset 0 -1px 0 rgba(0,0,0,.1)}.ur_addons_wrap .products li a .product-image{display:block;background:#fff}.ur_addons_wrap .products li a .product-image img{max-width:100%;display:block;margin:0}.ur_addons_wrap .products li a img.extension-thumb+h3{display:none}.ur_addons_wrap .products li a .price{display:none}.ur_addons_wrap .products li a h2,.ur_addons_wrap .products li a h3{margin:0!important;padding:20px!important;background:#fff}.ur_addons_wrap .products li a p{padding:20px!important;margin:0!important;border-top:1px solid #f1f1f1}.ur_addons_wrap .products li a:focus,.ur_addons_wrap .products li a:hover{background-color:#fff}.clear{clear:both}.wrap.user-registration div.error,.wrap.user-registration div.updated{margin-top:10px}.user-registration_page_add-new-registration #post-body{background-color:#fff}.user-registration_page_add-new-registration #post-body .error,.user-registration_page_add-new-registration #post-body .updated{margin:0}.user-registration_page_add-new-registration #post-body-content{position:relative;float:none}.user-registration_page_add-new-registration .howto span{float:left;margin-top:6px}.user-registration_page_add-new-registration .list-wrap{display:none;clear:both;margin-bottom:10px}.user-registration_page_add-new-registration .list li{display:none;margin:0;margin-bottom:5px}.user-registration_page_add-new-registration .list li .menu-item-title{cursor:pointer;display:block}.user-registration_page_add-new-registration .list li .menu-item-title input{margin-right:3px;margin-top:-3px}.user-registration_page_add-new-registration #menu-management-liquid{margin-top:23px}.user-registration_page_add-new-registration .postbox p.submit{margin-bottom:0}.user-registration_page_add-new-registration .major-publishing-actions{clear:both;padding:10px 0;line-height:28px}.user-registration_page_add-new-registration .major-publishing-actions .publishing-action{text-align:right;float:right}.user-registration_page_add-new-registration .major-publishing-actions .form-invalid{padding-left:4px;margin-left:-4px}.user-registration_page_add-new-registration .major-publishing-actions .ur-form-name{width:25%}.user-registration_page_add-new-registration .blank-slate .menu-settings{display:none}.user-registration_page_add-new-registration .delete-action{float:left;line-height:28px}.ur-backbone-modal *{box-sizing:border-box}.ur-backbone-modal .ur-backbone-modal-content{position:fixed;background-color:#fff;z-index:100000;left:50%;top:50%;transform:translate(-50%,-50%);width:500px}.ur-backbone-modal .ur-backbone-modal-content article{overflow:auto}.ur-backbone-modal.ur-backbone-modal-content{width:75%;min-width:500px}.ur-backbone-modal .select2-container{width:100%!important}.ur-backbone-modal-backdrop{position:fixed;top:0;left:0;right:0;bottom:0;min-height:360px;background-color:#000;opacity:.7;z-index:99900}.ur-backbone-modal-main{padding-bottom:55px}.ur-backbone-modal-main article,.ur-backbone-modal-main header{display:block;position:relative}.ur-backbone-modal-main .ur-backbone-modal-header{height:auto;background-color:#fcfcfc;padding:1em 1.5em;border-bottom:1px solid #ddd}.ur-backbone-modal-main .ur-backbone-modal-header h1{margin:0;font-size:18px;font-weight:700;line-height:1.5em}.ur-backbone-modal-main .ur-backbone-modal-header .modal-close-link{cursor:pointer;color:#777;height:54px;width:54px;padding:0;position:absolute;top:0;right:0;text-align:center;border:0;border-left:1px solid #ddd;background-color:transparent;transition:color .1s ease-in-out,background .1s ease-in-out}.ur-backbone-modal-main .ur-backbone-modal-header .modal-close-link::before{font:normal 22px/50px dashicons!important;color:#666;display:block;content:'\f335';font-weight:300}.ur-backbone-modal-main .ur-backbone-modal-header .modal-close-link:focus,.ur-backbone-modal-main .ur-backbone-modal-header .modal-close-link:hover{background-color:#ddd;border-color:#ccc;color:#000}.ur-backbone-modal-main .ur-backbone-modal-header .modal-close-link:focus{outline:0}.ur-backbone-modal-main article{padding:1.5em}.ur-backbone-modal-main article p{margin:1.5em 0}.ur-backbone-modal-main article p:first-child{margin-top:0}.ur-backbone-modal-main article p:last-child{margin-bottom:0}.ur-backbone-modal-main article .pagination{padding:10px 0 0;text-align:center}.ur-backbone-modal-main footer{position:absolute;left:0;right:0;bottom:0;z-index:100;padding:1em 1.5em;background-color:#fcfcfc;border-top:1px solid #dfdfdf;box-shadow:0 -4px 4px -4px rgba(0,0,0,.1)}.ur-backbone-modal-main footer .inner{float:right;line-height:23px}.ur-backbone-modal-main footer .inner .button{margin-bottom:0}.user-registration h2.ur-nav-tab-wrapper{margin-bottom:1em}.user-registration nav.ur-nav-tab-wrapper{margin:1.5em 0 1em;border-bottom:1px solid #ccc}.user-registration .subsubsub{margin:-8px 0 0}.user-registration textarea[disabled=disabled]{background:#dfdfdf!important}.user-registration table.form-table{margin:0;position:relative}.user-registration table.form-table .select2-container{display:block;max-width:350px}.user-registration table.form-table .forminp-radio ul{margin:0}.user-registration table.form-table .forminp-radio ul li{line-height:1.4em}.user-registration table.form-table textarea.input-text{height:100%;min-width:150px;display:block}.user-registration table.form-table input.regular-input{width:25em}.user-registration table.form-table textarea.wide-input{width:100%}.user-registration table.form-table .user-registration-help-tip,.user-registration table.form-table img.help_tip{padding:0;margin:-4px 0 0 5px;vertical-align:middle;cursor:help;line-height:1}.user-registration table.form-table span.help_tip{cursor:help;color:#2ea2cc}.user-registration table.form-table th{position:relative;padding-right:24px}.user-registration table.form-table .select2-container{vertical-align:top;margin-bottom:3px}.user-registration table.form-table table.widefat th{padding-right:inherit}.user-registration table.form-table th .user-registration-help-tip,.user-registration table.form-table th img.help_tip{margin:0 -24px 0 0;float:right}.user-registration table.form-table .wp-list-table .user-registration-help-tip{float:none}.user-registration table.form-table fieldset{margin-top:4px}.user-registration table.form-table fieldset .user-registration-help-tip,.user-registration table.form-table fieldset img.help_tip{margin:-3px 0 0 5px}.user-registration table.form-table fieldset p.description{margin-bottom:8px}.user-registration table.form-table fieldset:first-child{margin-top:0}.user-registration table.form-table .iris-picker{z-index:100;display:none;position:absolute;border:1px solid #ccc;border-radius:3px;box-shadow:0 1px 3px rgba(0,0,0,.2)}.user-registration table.form-table .iris-picker .ui-slider{border:0!important;margin:0!important;width:auto!important;height:auto!important;background:none transparent!important}.user-registration table.form-table .iris-picker .ui-slider .ui-slider-handle{margin-bottom:0!important}.user-registration table.form-table .colorpickpreview{padding:3px;padding-left:20px;border:1px solid #ddd;border-right:0}.user-registration table.form-table .colorpick{border-left:0}.user-registration table.form-table .image_width_settings{vertical-align:middle}.user-registration table.form-table .image_width_settings label{margin-left:10px}@media only screen and (max-width:1599px){.ur_addons_wrap .products li{width:32.66%}.ur_addons_wrap .products li:nth-child(5n){margin:0 1% 1% 0!important}.ur_addons_wrap .products li:nth-child(3n){margin:0 0 1% 0!important}}@media only screen and (max-width:1120px){.ur_addons_wrap .products li{width:49%;margin:0 2% 2% 0!important}.ur_addons_wrap .products li:nth-child(3n),.ur_addons_wrap .products li:nth-child(5n){margin:0 2% 2% 0!important}.ur_addons_wrap .products li:nth-child(2n){margin:0 0 2% 0!important}}@media only screen and (max-width:900px){.ur_addons_wrap .products li{width:49%}}@media only screen and (max-width:480px){.ur_addons_wrap .products li,.ur_addons_wrap .products li:nth-child(2n),.ur_addons_wrap .products li:nth-child(3n),.ur_addons_wrap .products li:nth-child(5n){width:100%;margin:0 0 3% 0!important}}@media only screen and (min-width:769px) and (max-width:1000px){.user-registration_page_add-new-registration #post-body-content{min-width:0}}@media screen and (max-width:782px){body.user-registration_page_add-new-registration{min-width:0!important}}.ur-admin-template-options{display:none}.ur-registered-from{display:flex;background-color:#f8f8f8;font-family:Roboto,sans-serif;border-bottom:1px solid #ddd}.ur-registered-from *{box-sizing:border-box}.ur-registered-from :focus{outline:0}.ur-registered-from .ur-registered-inputs{width:35%;background-color:#f9f9f9}.ur-registered-from .ur-registered-inputs .ur-tabs{border:0 none;background-color:transparent;padding:0;font-family:Roboto,sans-serif;font-size:14px}.ur-registered-from .ur-registered-inputs .ur-tabs .ur-tab-lists{background-color:transparent;background-image:none;padding:0;border-radius:0;margin:0;display:flex;border-bottom:2px solid #217dbb;border-top:0 none;border-right:0 none;border-left:0 none}.ur-registered-from .ur-registered-inputs .ur-tabs .ur-tab-lists li{background-color:transparent;background-image:none;border-radius:0;margin:0;margin-bottom:-1px;padding:0;float:none;display:inline-block;border:0}.ur-registered-from .ur-registered-inputs .ur-tabs .ur-tab-lists li.active{margin-bottom:0;padding-bottom:0}.ur-registered-from .ur-registered-inputs .ur-tabs .ur-tab-lists li.ui-state-disabled{opacity:1}.ur-registered-from .ur-registered-inputs .ur-tabs .ur-tab-lists li a{float:none;text-decoration:none;margin:0;border:none;display:block;color:#666;background-color:transparent;padding:5px 15px;font-weight:500;cursor:pointer}.ur-registered-from .ur-registered-inputs .ur-tabs .ur-tab-lists li a:focus{box-shadow:0 0 0 0 transparent,0 0 0 0 transparent}.ur-registered-from .ur-registered-inputs .ur-tabs .ur-tab-lists li a.active{background-color:#217dbb;color:#fff;line-height:24px}.ur-registered-from .ur-registered-inputs .ur-tabs .ur-tab-content{padding:10px}.ur-registered-from .ur-registered-inputs .ur-tabs .ur-tab-content#ur-tab-field-options,.ur-registered-from .ur-registered-inputs .ur-tabs .ur-tab-content#ur-tab-registered-fields{background-color:#f2f2f2}.ur-registered-from .ur-registered-inputs .ur-tabs .ur-tab-content h2{margin:0;font-size:16px;font-weight:600;font-family:Roboto,sans-serif;color:#404040}.ur-registered-from .ur-registered-inputs .ur-tabs .ur-tab-content .ur-registered-list{margin:15px 0;width:100%}.ur-registered-from .ur-registered-inputs .ur-tabs .ur-tab-content .ur-registered-list::after,.ur-registered-from .ur-registered-inputs .ur-tabs .ur-tab-content .ur-registered-list::before{content:' ';display:table}.ur-registered-from .ur-registered-inputs .ur-tabs .ur-tab-content .ur-registered-list::after{clear:both}.ur-registered-from .ur-registered-inputs .ur-tabs .ur-tab-content .ur-registered-list:last-child{margin-bottom:0}.ur-registered-from .ur-registered-inputs .ur-tabs .ur-tab-content .ur-registered-list .ur-registered-item{float:left;padding:10px 15px 10px 45px;height:auto;line-height:25px;width:48%;background-color:#3498db;color:#fff;margin-bottom:7px;word-break:break-word;white-space:normal;position:relative;cursor:move}.ur-registered-from .ur-registered-inputs .ur-tabs .ur-tab-content .ur-registered-list .ur-registered-item .dashicons{position:absolute;top:0;bottom:0;background:rgba(0,0,0,.3);width:35px;left:0;line-height:2.9;font-size:16px;height:auto;margin-right:5px}.ur-registered-from .ur-registered-inputs .ur-tabs .ur-tab-content .ur-registered-list .ur-registered-item:nth-child(2n){float:right}.ur-registered-from .ur-registered-inputs .ur-tabs .ur-tab-content .ur-registered-list .ur-registered-item:hover{background-color:#217dbb;color:#fff}.ur-registered-from .ur-registered-inputs .ur-tabs .ur-tab-content .ur-registered-list .ur-registered-item:nth-child(2n+1){clear:both;display:block}.ur-registered-from .ur-selected-inputs{width:70%;box-sizing:border-box;border-left:1px solid #ddd;padding:20px}.ur-registered-from .ur-selected-inputs .ur-single-row{background-color:#f2f2f2;margin-bottom:20px;border:1px solid #ddd}.ur-registered-from .ur-selected-inputs .ur-single-row:last-child{margin-bottom:0}.ur-registered-from .ur-selected-inputs .ur-single-row .ur-grids{background-color:#f2f2f2;border-bottom:1px solid #ddd;clear:both;display:table;width:100%}.ur-registered-from .ur-selected-inputs .ur-single-row .ur-grids div{border-right:1px solid #ddd;display:inline-block;line-height:25px;color:#787878;float:left}.ur-registered-from .ur-selected-inputs .ur-single-row .ur-grids div.ur-grid-size{padding:0 10px}.ur-registered-from .ur-selected-inputs .ur-single-row .ur-grids div.ur-grid-navigation{width:25px;height:25px;background-color:#e8e8e8;font-family:dashicons;font-size:16px;cursor:pointer}.ur-registered-from .ur-selected-inputs .ur-single-row .ur-grids div.ur-grid-navigation:hover{background-color:#ddd}.ur-registered-from .ur-selected-inputs .ur-single-row .ur-grids .ur-remove-row{float:right;border-radius:0;border:0;background-color:transparent;color:#787878;width:25px;height:25px;cursor:pointer;padding:0;line-height:25px;transition:all .1s ease-in-out}.ur-registered-from .ur-selected-inputs .ur-single-row .ur-grids .ur-remove-row:before{font-family:dashicons}.ur-registered-from .ur-selected-inputs .ur-single-row .ur-grids .ur-remove-row:hover{color:#d82223}.ur-registered-from .ur-selected-inputs .ur-single-row .ur-grid-lists{width:100%;display:flex;text-align:center;padding:20px;box-sizing:border-box;justify-content:center}.ur-registered-from .ur-selected-inputs .ur-single-row .ur-grid-lists .ur-grid-list-item{display:inline-block;text-align:left;border:0 none;padding:15px;background-color:#f7f7f7;flex:1;border:2px dashed #d3d3d3}.ur-registered-from .ur-selected-inputs .ur-single-row .ur-grid-lists .ur-grid-list-item .ur-selected-item{margin-bottom:15px;position:relative;background-color:#f8f8f8;padding:20px;cursor:move;border:1px solid #e8e8e8;transition:border-color .35s}.ur-registered-from .ur-selected-inputs .ur-single-row .ur-grid-lists .ur-grid-list-item .ur-selected-item:last-child{margin-bottom:0}.ur-registered-from .ur-selected-inputs .ur-single-row .ur-grid-lists .ur-grid-list-item .ur-selected-item.ur-item-active,.ur-registered-from .ur-selected-inputs .ur-single-row .ur-grid-lists .ur-grid-list-item .ur-selected-item:hover{border:1px solid #3498db}.ur-registered-from .ur-selected-inputs .ur-single-row .ur-grid-lists .ur-grid-list-item .ur-selected-item.ur-item-active{box-shadow:0 0 20px rgba(0,0,0,.2);background-color:#f8f8f8}.ur-registered-from .ur-selected-inputs .ur-single-row .ur-grid-lists .ur-grid-list-item .ur-selected-item.ui-sortable-helper,.ur-registered-from .ur-selected-inputs .ur-single-row .ur-grid-lists .ur-grid-list-item .ur-selected-item.ur-item-active.ui-sortable-helper{box-shadow:0 0 20px rgba(0,0,0,.2);background-color:#e8e8e8}.ur-registered-from .ur-selected-inputs .ur-single-row .ur-grid-lists .ur-grid-list-item .ur-selected-item .ur-action-buttons{display:none;position:absolute;right:10px;width:50px;text-align:center;padding:0;font-size:10px;top:10px;color:#b1b1b1}.ur-registered-from .ur-selected-inputs .ur-single-row .ur-grid-lists .ur-grid-list-item .ur-selected-item .ur-action-buttons span{cursor:pointer;font-size:14px;height:auto}.ur-registered-from .ur-selected-inputs .ur-single-row .ur-grid-lists .ur-grid-list-item .ur-selected-item .ur-action-buttons span:hover{color:#3498db}.ur-registered-from .ur-selected-inputs .ur-single-row .ur-grid-lists .ur-grid-list-item .ur-selected-item .ur-action-buttons:hover .ur-action-buttons{display:block}.ur-registered-from .ur-selected-inputs .ur-single-row .ur-grid-lists .ur-grid-list-item .ur-selected-item .ur-action-buttons .ur-trash:hover{color:#d82223}.ur-registered-from .ur-selected-inputs .ur-single-row .ur-grid-lists .ur-grid-list-item .ur-selected-item .ur_label_top_left{text-align:left}.ur-registered-from .ur-selected-inputs .ur-single-row .ur-grid-lists .ur-grid-list-item .ur-selected-item .ur_label_center{text-align:center}.ur-registered-from .ur-selected-inputs .ur-single-row .ur-grid-lists .ur-grid-list-item .ur-selected-item .ur_label_top_right{text-align:right}.ur-registered-from .ur-selected-inputs .ur-single-row .ur-grid-lists .ur-grid-list-item .ur-selected-item .ur_label_disabled{display:none}.ur-registered-from .ur-selected-inputs .ur-single-row .ur-grid-lists .ur-grid-list-item .ur-selected-item:hover .ur-action-buttons{display:block}.ur-registered-from .ur-selected-inputs .ur-single-row .ur-grid-lists .ur-grid-list-item>li.ur-item-dragged{list-style:none;width:100%;text-align:center;height:60px!important;box-sizing:border-box}.ur-registered-from .ur-selected-inputs .ur-single-row .ur-grid-lists .ur-grid-list-item>li.ur-item-dragged .spinner{float:none}.ur-registered-from .ur-selected-inputs .ur-single-row .ur-grid-lists .ur-grid-list-item .user-registration-dragged-me{display:table;width:100%;height:100%}.ur-registered-from .ur-selected-inputs .ur-single-row .ur-grid-lists .ur-grid-list-item .user-registration-dragged-me .user-registration-dragged-me-text{display:table-cell;vertical-align:middle;text-align:center}.ur-registered-from .ur-selected-inputs .ur-single-row .ur-grid-lists .ur-grid-list-item .user-registration-dragged-me .user-registration-dragged-me-text p{display:inline-block;position:relative;color:#b1b1b1;padding-left:26px;padding-top:8px}.ur-registered-from .ur-selected-inputs .ur-single-row .ur-grid-lists .ur-grid-list-item .user-registration-dragged-me .user-registration-dragged-me-text p::before{position:absolute;font-family:Dashicons;content:'\f545';font-size:22px;left:0;top:0}.ur-registered-from .ur-selected-inputs .ur-single-row .ur-grid-lists .ur-grid-list-item:nth-child(1n+2){border-left:2px solid #f7f7f7}.ur-registered-from .ur-selected-inputs .ur-single-row .ur-grid-lists .ur-grid-list-item:nth-child(1n+2).ur-sortable-active,.ur-registered-from .ur-selected-inputs .ur-single-row .ur-grid-lists .ur-sortable-active{border-right:2px dotted #217dbb;border-left:2px dotted #217dbb;border-top:2px dotted #217dbb;border-bottom:2px dotted #217dbb;background-color:#e1f0fa}.ur-registered-from .ur-selected-inputs .ur-add-new-row{color:#b1b1b1;display:block;margin:0 auto;font-size:30px;width:40px;cursor:pointer;text-align:center;margin-bottom:20px;background-color:transparent;border:0 none}.ur-registered-from .ur-selected-inputs .ur-add-new-row:hover{color:#3498db}.ur-registered-from .ur-selected-inputs li.ur-registered-item{list-style:none;padding:10px 10px;line-height:20px;background-color:#3498db;color:#fff;text-align:center;margin-bottom:7px;word-break:break-word;white-space:normal;width:200px!important}.ur-registered-from .ur-selected-inputs li.ur-registered-item>span{font-size:14px;line-height:20px;width:auto;height:auto;margin-right:3px}.ur-registered-from .ur-advance-setting,.ur-registered-from .ur-general-setting{padding:20px 0 0}.ur-registered-from .ur-advance-setting-block{margin-top:25px}.ur-registered-from .ui-widget select,.ur-registered-from input[type=date],.ur-registered-from input[type=email],.ur-registered-from input[type=number],.ur-registered-from input[type=password],.ur-registered-from input[type=text],.ur-registered-from input[type=url],.ur-registered-from select,.ur-registered-from textarea{display:block;width:100%;color:#787878;box-shadow:0 0 0 transparent;font-size:12px;height:35px;padding:0 10px}.ur-registered-from .ui-widget select:focus,.ur-registered-from input[type=date]:focus,.ur-registered-from input[type=email]:focus,.ur-registered-from input[type=number]:focus,.ur-registered-from input[type=password]:focus,.ur-registered-from input[type=text]:focus,.ur-registered-from input[type=url]:focus,.ur-registered-from select:focus,.ur-registered-from textarea:focus{border-color:#ddd}.ur-registered-from label{display:block;width:100%;margin-bottom:10px;color:#666;font-size:12px;font-weight:500}.ur-registered-from textarea{padding:10px;height:100px}.ur-registered-from .ur-registered-item.dragging{border:0;box-shadow:0 0 0 transparent;border-radius:0;padding:5px 10px;height:auto;background-color:#3498db;color:#fff;text-align:center;width:200px}.ur-registered-from .ur-advance-setting-block,.ur-registered-from .ur-general-setting-block{display:none}.ur-registered-from .ur-advance-setting label,.ur-registered-from .ur-general-setting label{display:block}#sortable{min-height:400px}@media screen and (max-width:1400px){.ur-registered-from .ur-registered-inputs .ur-tabs .ur-tab-content .ur-registered-list .ur-registered-item{font-size:12px}}@media screen and (max-width:960px){.ur-registered-from .ur-registered-inputs .ur-tabs .ur-tab-content .ur-registered-list .ur-registered-item{float:none;width:100%}.ur-registered-from .ur-registered-inputs .ur-single-row .ur-grid-lists,.ur-registered-from .ur-registered-inputs .ur-single-row .ur-grid-lists .ur-grid-list-item,.ur-registered-from .ur-registered-inputs .ur-single-row .ur-grid-lists .ur-grid-list-item .ur-selected-item{padding:10px}}@media screen and (max-width:782px){.ur-registered-from{flex-direction:column}.ur-registered-from .ur-registered-inputs{width:100%;margin-bottom:10px}.ur-registered-from .ur-selected-inputs{width:100%}.ur-registered-from .ur-registered-inputs .ur-tabs .ur-tab-content .ur-registered-list .ur-registered-item{float:left;width:48%}}@media screen and (max-width:600px){.user-registration_page_add-new-registration .major-publishing-actions{clear:both;padding:10px 0 19px;line-height:28px}.user-registration_page_add-new-registration .major-publishing-actions .ur-form-name{width:100%}.user-registration_page_add-new-registration .major-publishing-actions .publishing-action{text-align:left;float:none;margin-top:15px}.ur-registered-from .ur-selected-inputs .ur-single-row .ur-grid-lists{flex-direction:column;display:block}.ur-registered-from .ur-selected-inputs .ur-single-row .ur-grid-lists .ur-grid-list-item{width:100%!important}.ur-registered-from .ur-selected-inputs .ur-single-row .ur-grid-lists .ur-grid-list-item:nth-child(1n+2){border-left:0 none;border-top:2px solid #f2f2f2}}.tips{cursor:help;text-decoration:none}img.tips{padding:5px 0 0}#tiptip_holder{display:none;z-index:8675309;position:absolute;top:0;left:0}#tiptip_holder.tip_top{padding-bottom:5px}#tiptip_holder.tip_top #tiptip_arrow_inner{margin-top:-7px;margin-left:-6px;border-top-color:#333}#tiptip_holder.tip_bottom{padding-top:5px}#tiptip_holder.tip_bottom #tiptip_arrow_inner{margin-top:-5px;margin-left:-6px;border-bottom-color:#333}#tiptip_holder.tip_right{padding-left:5px}#tiptip_holder.tip_right #tiptip_arrow_inner{margin-top:-6px;margin-left:-5px;border-right-color:#333}#tiptip_holder.tip_left{padding-right:5px}#tiptip_holder.tip_left #tiptip_arrow_inner{margin-top:-6px;margin-left:-7px;border-left-color:#333}#tiptip_content,.ur_error_tip{color:#fff;font-size:.8em;max-width:150px;background:#333;text-align:center;border-radius:3px;padding:.618em 1em;box-shadow:0 1px 3px rgba(0,0,0,.2)}#tiptip_content code,.ur_error_tip code{padding:1px;background:#888}#tiptip_arrow,#tiptip_arrow_inner{position:absolute;border-color:transparent;border-style:solid;border-width:6px;height:0;width:0}.ur_error_tip{max-width:20em;line-height:1.8em;position:absolute;white-space:normal;background:#d82223;margin:1.5em 1px 0 -1em;z-index:9999999}.ur_error_tip::after{content:'';display:block;border:8px solid #d82223;border-right-color:transparent;border-left-color:transparent;border-top-color:transparent;position:absolute;top:-3px;left:50%;margin:-1em 0 0 -3px}.user-registration-help-tip{color:#666;display:inline-block;font-size:1.1em;font-style:normal;height:16px;line-height:16px;position:relative;vertical-align:middle;width:16px}.user-registration-help-tip::after{font-family:Dashicons;speak:none;font-weight:400;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;margin:0;text-indent:0;position:absolute;top:0;left:0;width:100%;height:100%;text-align:center;content:"";cursor:help}.select2-drop,.select2-dropdown{z-index:999999!important}.select2-results{line-height:1.5em}.select2-results .select2-results__group,.select2-results .select2-results__option{margin:0;padding:8px}.select2-dropdown{border-color:#ddd}.select2-dropdown--below{box-shadow:0 1px 1px rgba(0,0,0,.1)}.select2-dropdown--above{box-shadow:0 -1px 1px rgba(0,0,0,.1)}.select2-container .select2-selection__rendered.ui-sortable li{cursor:move}.select2-container .select2-selection{border-color:#ddd}.select2-container .select2-search__field{min-width:150px}.select2-container .select2-selection--single{height:32px}.select2-container .select2-selection--single .select2-selection__rendered{line-height:32px;padding-right:24px}.select2-container .select2-selection--single .select2-selection__arrow{right:3px;height:30px}.select2-container .select2-selection--multiple{min-height:28px;border-radius:0;line-height:1.5}.select2-container .select2-selection--multiple li{margin:0}.select2-container .select2-selection--multiple .select2-selection__choice{padding:2px 6px}.select2-container .select2-selection__clear{color:#999;margin-top:-1px}.select2-container .select2-search--inline .select2-search__field{font-family:inherit;font-size:inherit;font-weight:inherit;padding:3px 0}#ur-tab-registered-fields li.ur-registered-item.ui-draggable-disabled{background:#ccc}.ur-no-pointer{pointer-events:none}#ur-tab-field-settings{background:#f2f2f2}.dashicons,.user-registration table.form-table dashicons .dashicons{line-height:inherit}#smart-tags{text-align:center}
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:#fff;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],.select2-results__option[data-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}.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:700}.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:#fff;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__placeholder{color:#999;margin-top:5px;float:left}.select2-container--default .select2-selection--multiple .select2-selection__clear{cursor:pointer;float:right;font-weight:700;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:700;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-search--inline,.select2-container--default[dir=rtl] .select2-selection--multiple .select2-selection__choice,.select2-container--default[dir=rtl] .select2-selection--multiple .select2-selection__placeholder{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 #000 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--multiple,.select2-container--default.select2-container--open.select2-container--above .select2-selection--single{border-top-left-radius:0;border-top-right-radius:0}.select2-container--default.select2-container--open.select2-container--below .select2-selection--multiple,.select2-container--default.select2-container--open.select2-container--below .select2-selection--single{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:0 0;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],.select2-container--default .select2-results__option[data-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],.select2-container--default .select2-results__option--highlighted[data-selected]{background-color:#0073aa;color:#fff}.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:linear-gradient(to bottom,#fff 50%,#eee 100%);background-repeat:repeat-x}.select2-container--classic .select2-selection--single:focus{border:1px solid #0073aa}.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:700;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:linear-gradient(to bottom,#eee 50%,#ccc 100%);background-repeat:repeat-x}.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 #0073aa}.select2-container--classic.select2-container--open .select2-selection--single .select2-selection__arrow{background:0 0;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:linear-gradient(to bottom,#fff 0,#eee 50%);background-repeat:repeat-x}.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:linear-gradient(to bottom,#eee 50%,#fff 100%);background-repeat:repeat-x}.select2-container--classic .select2-selection--multiple{background-color:#fff;border:1px solid #aaa;border-radius:4px;cursor:text;outline:0}.select2-container--classic .select2-selection--multiple:focus{border:1px solid #0073aa}.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:700;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 #0073aa}.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],.select2-container--classic .select2-results__option--highlighted[data-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:#0073aa}
2
+ @charset "UTF-8";.ur-registered-item.ui-draggable-dragging{padding:10px 10px;line-height:20px;background:#3498db;color:#fff;text-align:center;margin-bottom:7px;word-break:break-word;white-space:normal;width:200px!important}.ur-registered-item.ui-draggable-dragging span{font-size:14px;line-height:20px;width:auto;height:auto;margin-right:3px}.blockUI.blockOverlay::before{height:1em;width:1em;position:absolute;top:50%;left:50%;margin-left:-.5em;margin-top:-.5em;display:block;content:'';animation:spin 1s ease-in-out infinite;background:url(../images/icons/loader.svg) center center;background-size:cover;line-height:1;text-align:center;font-size:2em;color:rgba(0,0,0,.75)}.ur_addons_wrap .products{overflow:hidden}.ur_addons_wrap .products li{margin:0 1% 1% 0!important;padding:0;vertical-align:top;width:19.2%;float:left}.ur_addons_wrap .products li:nth-child(5n){margin:0 0 1% 0!important}.ur_addons_wrap .products li a{text-decoration:none;color:inherit;border:1px solid #ddd;display:block;min-height:220px;overflow:hidden;background:#f5f5f5;box-shadow:inset 0 1px 0 rgba(255,255,255,.2),inset 0 -1px 0 rgba(0,0,0,.1)}.ur_addons_wrap .products li a .product-image{display:block;background:#fff}.ur_addons_wrap .products li a .product-image img{max-width:100%;display:block;margin:0}.ur_addons_wrap .products li a img.extension-thumb+h3{display:none}.ur_addons_wrap .products li a .price{display:none}.ur_addons_wrap .products li a h2,.ur_addons_wrap .products li a h3{margin:0!important;padding:20px!important;background:#fff}.ur_addons_wrap .products li a p{padding:20px!important;margin:0!important;border-top:1px solid #f1f1f1}.ur_addons_wrap .products li a:focus,.ur_addons_wrap .products li a:hover{background-color:#fff}.clear{clear:both}.wrap.user-registration div.error,.wrap.user-registration div.updated{margin-top:10px}.user-registration_page_add-new-registration #post-body{background-color:#fff}.user-registration_page_add-new-registration #post-body .error,.user-registration_page_add-new-registration #post-body .updated{margin:0}.user-registration_page_add-new-registration #post-body-content{position:relative;float:none}.user-registration_page_add-new-registration .howto span{float:left;margin-top:6px}.user-registration_page_add-new-registration .list-wrap{display:none;clear:both;margin-bottom:10px}.user-registration_page_add-new-registration .list li{display:none;margin:0;margin-bottom:5px}.user-registration_page_add-new-registration .list li .menu-item-title{cursor:pointer;display:block}.user-registration_page_add-new-registration .list li .menu-item-title input{margin-right:3px;margin-top:-3px}.user-registration_page_add-new-registration #menu-management-liquid{margin-top:23px}.user-registration_page_add-new-registration .postbox p.submit{margin-bottom:0}.user-registration_page_add-new-registration .major-publishing-actions{clear:both;padding:10px 0;line-height:28px}.user-registration_page_add-new-registration .major-publishing-actions .publishing-action{text-align:right;float:right}.user-registration_page_add-new-registration .major-publishing-actions .form-invalid{padding-left:4px;margin-left:-4px}.user-registration_page_add-new-registration .major-publishing-actions .ur-form-name{width:25%}.user-registration_page_add-new-registration .blank-slate .menu-settings{display:none}.user-registration_page_add-new-registration .delete-action{float:left;line-height:28px}.ur-backbone-modal *{box-sizing:border-box}.ur-backbone-modal .ur-backbone-modal-content{position:fixed;background-color:#fff;z-index:100000;left:50%;top:50%;transform:translate(-50%,-50%);width:500px}.ur-backbone-modal .ur-backbone-modal-content article{overflow:auto}.ur-backbone-modal.ur-backbone-modal-content{width:75%;min-width:500px}.ur-backbone-modal .select2-container{width:100%!important}.ur-backbone-modal-backdrop{position:fixed;top:0;left:0;right:0;bottom:0;min-height:360px;background-color:#000;opacity:.7;z-index:99900}.ur-backbone-modal-main{padding-bottom:55px}.ur-backbone-modal-main article,.ur-backbone-modal-main header{display:block;position:relative}.ur-backbone-modal-main .ur-backbone-modal-header{height:auto;background-color:#fcfcfc;padding:1em 1.5em;border-bottom:1px solid #ddd}.ur-backbone-modal-main .ur-backbone-modal-header h1{margin:0;font-size:18px;font-weight:700;line-height:1.5em}.ur-backbone-modal-main .ur-backbone-modal-header .modal-close-link{cursor:pointer;color:#777;height:54px;width:54px;padding:0;position:absolute;top:0;right:0;text-align:center;border:0;border-left:1px solid #ddd;background-color:transparent;transition:color .1s ease-in-out,background .1s ease-in-out}.ur-backbone-modal-main .ur-backbone-modal-header .modal-close-link::before{font:normal 22px/50px dashicons!important;color:#666;display:block;content:'\f335';font-weight:300}.ur-backbone-modal-main .ur-backbone-modal-header .modal-close-link:focus,.ur-backbone-modal-main .ur-backbone-modal-header .modal-close-link:hover{background-color:#ddd;border-color:#ccc;color:#000}.ur-backbone-modal-main .ur-backbone-modal-header .modal-close-link:focus{outline:0}.ur-backbone-modal-main article{padding:1.5em}.ur-backbone-modal-main article p{margin:1.5em 0}.ur-backbone-modal-main article p:first-child{margin-top:0}.ur-backbone-modal-main article p:last-child{margin-bottom:0}.ur-backbone-modal-main article .pagination{padding:10px 0 0;text-align:center}.ur-backbone-modal-main footer{position:absolute;left:0;right:0;bottom:0;z-index:100;padding:1em 1.5em;background-color:#fcfcfc;border-top:1px solid #dfdfdf;box-shadow:0 -4px 4px -4px rgba(0,0,0,.1)}.ur-backbone-modal-main footer .inner{float:right;line-height:23px}.ur-backbone-modal-main footer .inner .button{margin-bottom:0}.user-registration h2.ur-nav-tab-wrapper{margin-bottom:1em}.user-registration nav.ur-nav-tab-wrapper{margin:1.5em 0 1em;border-bottom:1px solid #ccc}.user-registration .subsubsub{margin:-8px 0 0}.user-registration textarea[disabled=disabled]{background:#dfdfdf!important}.user-registration table.form-table{margin:0;position:relative}.user-registration table.form-table .select2-container{display:block;max-width:350px}.user-registration table.form-table .forminp-radio ul{margin:0}.user-registration table.form-table .forminp-radio ul li{line-height:1.4em}.user-registration table.form-table textarea.input-text{height:100%;min-width:150px;display:block}.user-registration table.form-table input.regular-input{width:25em}.user-registration table.form-table textarea.wide-input{width:100%}.user-registration table.form-table .user-registration-help-tip,.user-registration table.form-table img.help_tip{padding:0;margin:-4px 0 0 5px;vertical-align:middle;cursor:help;line-height:1}.user-registration table.form-table span.help_tip{cursor:help;color:#2ea2cc}.user-registration table.form-table th{position:relative;padding-right:24px}.user-registration table.form-table .select2-container{vertical-align:top;margin-bottom:3px}.user-registration table.form-table table.widefat th{padding-right:inherit}.user-registration table.form-table th .user-registration-help-tip,.user-registration table.form-table th img.help_tip{margin:0 -24px 0 0;float:right}.user-registration table.form-table .wp-list-table .user-registration-help-tip{float:none}.user-registration table.form-table fieldset{margin-top:4px}.user-registration table.form-table fieldset .user-registration-help-tip,.user-registration table.form-table fieldset img.help_tip{margin:-3px 0 0 5px}.user-registration table.form-table fieldset p.description{margin-bottom:8px}.user-registration table.form-table fieldset:first-child{margin-top:0}.user-registration table.form-table .iris-picker{z-index:100;display:none;position:absolute;border:1px solid #ccc;border-radius:3px;box-shadow:0 1px 3px rgba(0,0,0,.2)}.user-registration table.form-table .iris-picker .ui-slider{border:0!important;margin:0!important;width:auto!important;height:auto!important;background:none transparent!important}.user-registration table.form-table .iris-picker .ui-slider .ui-slider-handle{margin-bottom:0!important}.user-registration table.form-table .colorpickpreview{padding:3px;padding-left:20px;border:1px solid #ddd;border-right:0}.user-registration table.form-table .colorpick{border-left:0}.user-registration table.form-table .image_width_settings{vertical-align:middle}.user-registration table.form-table .image_width_settings label{margin-left:10px}@media only screen and (max-width:1599px){.ur_addons_wrap .products li{width:32.66%}.ur_addons_wrap .products li:nth-child(5n){margin:0 1% 1% 0!important}.ur_addons_wrap .products li:nth-child(3n){margin:0 0 1% 0!important}}@media only screen and (max-width:1120px){.ur_addons_wrap .products li{width:49%;margin:0 2% 2% 0!important}.ur_addons_wrap .products li:nth-child(3n),.ur_addons_wrap .products li:nth-child(5n){margin:0 2% 2% 0!important}.ur_addons_wrap .products li:nth-child(2n){margin:0 0 2% 0!important}}@media only screen and (max-width:900px){.ur_addons_wrap .products li{width:49%}}@media only screen and (max-width:480px){.ur_addons_wrap .products li,.ur_addons_wrap .products li:nth-child(2n),.ur_addons_wrap .products li:nth-child(3n),.ur_addons_wrap .products li:nth-child(5n){width:100%;margin:0 0 3% 0!important}}@media only screen and (min-width:769px) and (max-width:1000px){.user-registration_page_add-new-registration #post-body-content{min-width:0}}@media screen and (max-width:782px){body.user-registration_page_add-new-registration{min-width:0!important}}.ur-admin-template-options{display:none}.ur-registered-from{display:flex;background-color:#f8f8f8;font-family:Roboto,sans-serif;border-bottom:1px solid #ddd}.ur-registered-from *{box-sizing:border-box}.ur-registered-from :focus{outline:0}.ur-registered-from .ur-registered-inputs{width:35%;background-color:#f9f9f9}.ur-registered-from .ur-registered-inputs .ur-tabs{border:0 none;background-color:transparent;padding:0;font-family:Roboto,sans-serif;font-size:14px}.ur-registered-from .ur-registered-inputs .ur-tabs .ur-tab-lists{background-color:transparent;background-image:none;padding:0;border-radius:0;margin:0;display:flex;border-bottom:2px solid #217dbb;border-top:0 none;border-right:0 none;border-left:0 none}.ur-registered-from .ur-registered-inputs .ur-tabs .ur-tab-lists li{background-color:transparent;background-image:none;border-radius:0;margin:0;margin-bottom:-1px;padding:0;float:none;display:inline-block;border:0}.ur-registered-from .ur-registered-inputs .ur-tabs .ur-tab-lists li.active{margin-bottom:0;padding-bottom:0}.ur-registered-from .ur-registered-inputs .ur-tabs .ur-tab-lists li.ui-state-disabled{opacity:1}.ur-registered-from .ur-registered-inputs .ur-tabs .ur-tab-lists li a{float:none;text-decoration:none;margin:0;border:none;display:block;color:#666;background-color:transparent;padding:5px 15px;font-weight:500;cursor:pointer}.ur-registered-from .ur-registered-inputs .ur-tabs .ur-tab-lists li a:focus{box-shadow:0 0 0 0 transparent,0 0 0 0 transparent}.ur-registered-from .ur-registered-inputs .ur-tabs .ur-tab-lists li a.active{background-color:#217dbb;color:#fff;line-height:24px}.ur-registered-from .ur-registered-inputs .ur-tabs .ur-tab-content{padding:10px}.ur-registered-from .ur-registered-inputs .ur-tabs .ur-tab-content#ur-tab-field-options,.ur-registered-from .ur-registered-inputs .ur-tabs .ur-tab-content#ur-tab-registered-fields{background-color:#f2f2f2}.ur-registered-from .ur-registered-inputs .ur-tabs .ur-tab-content h2{margin:0;font-size:16px;font-weight:600;font-family:Roboto,sans-serif;color:#404040}.ur-registered-from .ur-registered-inputs .ur-tabs .ur-tab-content .ur-registered-list{margin:15px 0;width:100%}.ur-registered-from .ur-registered-inputs .ur-tabs .ur-tab-content .ur-registered-list::after,.ur-registered-from .ur-registered-inputs .ur-tabs .ur-tab-content .ur-registered-list::before{content:' ';display:table}.ur-registered-from .ur-registered-inputs .ur-tabs .ur-tab-content .ur-registered-list::after{clear:both}.ur-registered-from .ur-registered-inputs .ur-tabs .ur-tab-content .ur-registered-list:last-child{margin-bottom:0}.ur-registered-from .ur-registered-inputs .ur-tabs .ur-tab-content .ur-registered-list .ur-registered-item{float:left;padding:10px 15px 10px 45px;height:auto;line-height:25px;width:48%;background-color:#3498db;color:#fff;margin-bottom:7px;word-break:break-word;white-space:normal;position:relative;cursor:move}.ur-registered-from .ur-registered-inputs .ur-tabs .ur-tab-content .ur-registered-list .ur-registered-item .dashicons{position:absolute;top:0;bottom:0;background:rgba(0,0,0,.3);width:35px;left:0;line-height:2.9;font-size:16px;height:auto;margin-right:5px}.ur-registered-from .ur-registered-inputs .ur-tabs .ur-tab-content .ur-registered-list .ur-registered-item:nth-child(2n){float:right}.ur-registered-from .ur-registered-inputs .ur-tabs .ur-tab-content .ur-registered-list .ur-registered-item:hover{background-color:#217dbb;color:#fff}.ur-registered-from .ur-registered-inputs .ur-tabs .ur-tab-content .ur-registered-list .ur-registered-item:nth-child(2n+1){clear:both;display:block}.ur-registered-from .ur-selected-inputs{width:70%;box-sizing:border-box;border-left:1px solid #ddd;padding:20px}.ur-registered-from .ur-selected-inputs .ur-single-row{background-color:#f2f2f2;margin-bottom:20px;border:1px solid #ddd}.ur-registered-from .ur-selected-inputs .ur-single-row:last-child{margin-bottom:0}.ur-registered-from .ur-selected-inputs .ur-single-row .ur-grids{background-color:#f2f2f2;border-bottom:1px solid #ddd;clear:both;display:table;width:100%}.ur-registered-from .ur-selected-inputs .ur-single-row .ur-grids div{border-right:1px solid #ddd;display:inline-block;line-height:25px;color:#787878;float:left}.ur-registered-from .ur-selected-inputs .ur-single-row .ur-grids div.ur-grid-size{padding:0 10px}.ur-registered-from .ur-selected-inputs .ur-single-row .ur-grids div.ur-grid-navigation{width:25px;height:25px;background-color:#e8e8e8;font-family:dashicons;font-size:16px;cursor:pointer}.ur-registered-from .ur-selected-inputs .ur-single-row .ur-grids div.ur-grid-navigation:hover{background-color:#ddd}.ur-registered-from .ur-selected-inputs .ur-single-row .ur-grids .ur-remove-row{float:right;border-radius:0;border:0;background-color:transparent;color:#787878;width:25px;height:25px;cursor:pointer;padding:0;line-height:25px;transition:all .1s ease-in-out}.ur-registered-from .ur-selected-inputs .ur-single-row .ur-grids .ur-remove-row:before{font-family:dashicons}.ur-registered-from .ur-selected-inputs .ur-single-row .ur-grids .ur-remove-row:hover{color:#d82223}.ur-registered-from .ur-selected-inputs .ur-single-row .ur-grid-lists{width:100%;display:flex;text-align:center;padding:20px;box-sizing:border-box;justify-content:center}.ur-registered-from .ur-selected-inputs .ur-single-row .ur-grid-lists .ur-grid-list-item{display:inline-block;text-align:left;border:0 none;padding:15px;background-color:#f7f7f7;flex:1;border:2px dashed #d3d3d3}.ur-registered-from .ur-selected-inputs .ur-single-row .ur-grid-lists .ur-grid-list-item .ur-selected-item{margin-bottom:15px;position:relative;background-color:#f8f8f8;padding:20px;cursor:move;border:1px solid #e8e8e8;transition:border-color .35s}.ur-registered-from .ur-selected-inputs .ur-single-row .ur-grid-lists .ur-grid-list-item .ur-selected-item:last-child{margin-bottom:0}.ur-registered-from .ur-selected-inputs .ur-single-row .ur-grid-lists .ur-grid-list-item .ur-selected-item.ur-item-active,.ur-registered-from .ur-selected-inputs .ur-single-row .ur-grid-lists .ur-grid-list-item .ur-selected-item:hover{border:1px solid #3498db}.ur-registered-from .ur-selected-inputs .ur-single-row .ur-grid-lists .ur-grid-list-item .ur-selected-item.ur-item-active{box-shadow:0 0 20px rgba(0,0,0,.2);background-color:#f8f8f8}.ur-registered-from .ur-selected-inputs .ur-single-row .ur-grid-lists .ur-grid-list-item .ur-selected-item.ui-sortable-helper,.ur-registered-from .ur-selected-inputs .ur-single-row .ur-grid-lists .ur-grid-list-item .ur-selected-item.ur-item-active.ui-sortable-helper{box-shadow:0 0 20px rgba(0,0,0,.2);background-color:#e8e8e8}.ur-registered-from .ur-selected-inputs .ur-single-row .ur-grid-lists .ur-grid-list-item .ur-selected-item .ur-action-buttons{display:none;position:absolute;right:10px;width:50px;text-align:center;padding:0;font-size:10px;top:10px;color:#b1b1b1}.ur-registered-from .ur-selected-inputs .ur-single-row .ur-grid-lists .ur-grid-list-item .ur-selected-item .ur-action-buttons span{cursor:pointer;font-size:14px;height:auto}.ur-registered-from .ur-selected-inputs .ur-single-row .ur-grid-lists .ur-grid-list-item .ur-selected-item .ur-action-buttons span:hover{color:#3498db}.ur-registered-from .ur-selected-inputs .ur-single-row .ur-grid-lists .ur-grid-list-item .ur-selected-item .ur-action-buttons:hover .ur-action-buttons{display:block}.ur-registered-from .ur-selected-inputs .ur-single-row .ur-grid-lists .ur-grid-list-item .ur-selected-item .ur-action-buttons .ur-trash:hover{color:#d82223}.ur-registered-from .ur-selected-inputs .ur-single-row .ur-grid-lists .ur-grid-list-item .ur-selected-item .ur_label_top_left{text-align:left}.ur-registered-from .ur-selected-inputs .ur-single-row .ur-grid-lists .ur-grid-list-item .ur-selected-item .ur_label_center{text-align:center}.ur-registered-from .ur-selected-inputs .ur-single-row .ur-grid-lists .ur-grid-list-item .ur-selected-item .ur_label_top_right{text-align:right}.ur-registered-from .ur-selected-inputs .ur-single-row .ur-grid-lists .ur-grid-list-item .ur-selected-item .ur_label_disabled{display:none}.ur-registered-from .ur-selected-inputs .ur-single-row .ur-grid-lists .ur-grid-list-item .ur-selected-item:hover .ur-action-buttons{display:block}.ur-registered-from .ur-selected-inputs .ur-single-row .ur-grid-lists .ur-grid-list-item>li.ur-item-dragged{list-style:none;width:100%;text-align:center;height:60px!important;box-sizing:border-box}.ur-registered-from .ur-selected-inputs .ur-single-row .ur-grid-lists .ur-grid-list-item>li.ur-item-dragged .spinner{float:none}.ur-registered-from .ur-selected-inputs .ur-single-row .ur-grid-lists .ur-grid-list-item .user-registration-dragged-me{display:table;width:100%;height:100%}.ur-registered-from .ur-selected-inputs .ur-single-row .ur-grid-lists .ur-grid-list-item .user-registration-dragged-me .user-registration-dragged-me-text{display:table-cell;vertical-align:middle;text-align:center}.ur-registered-from .ur-selected-inputs .ur-single-row .ur-grid-lists .ur-grid-list-item .user-registration-dragged-me .user-registration-dragged-me-text p{display:inline-block;position:relative;color:#b1b1b1;padding-left:26px;padding-top:8px}.ur-registered-from .ur-selected-inputs .ur-single-row .ur-grid-lists .ur-grid-list-item .user-registration-dragged-me .user-registration-dragged-me-text p::before{position:absolute;font-family:Dashicons;content:'\f545';font-size:22px;left:0;top:0}.ur-registered-from .ur-selected-inputs .ur-single-row .ur-grid-lists .ur-grid-list-item:nth-child(1n+2){border-left:2px solid #f7f7f7}.ur-registered-from .ur-selected-inputs .ur-single-row .ur-grid-lists .ur-grid-list-item:nth-child(1n+2).ur-sortable-active,.ur-registered-from .ur-selected-inputs .ur-single-row .ur-grid-lists .ur-sortable-active{border-right:2px dotted #217dbb;border-left:2px dotted #217dbb;border-top:2px dotted #217dbb;border-bottom:2px dotted #217dbb;background-color:#e1f0fa}.ur-registered-from .ur-selected-inputs .ur-add-new-row{color:#b1b1b1;display:block;margin:0 auto;font-size:30px;width:40px;cursor:pointer;text-align:center;margin-bottom:20px;background-color:transparent;border:0 none}.ur-registered-from .ur-selected-inputs .ur-add-new-row:hover{color:#3498db}.ur-registered-from .ur-selected-inputs li.ur-registered-item{list-style:none;padding:10px 10px;line-height:20px;background-color:#3498db;color:#fff;text-align:center;margin-bottom:7px;word-break:break-word;white-space:normal;width:200px!important}.ur-registered-from .ur-selected-inputs li.ur-registered-item>span{font-size:14px;line-height:20px;width:auto;height:auto;margin-right:3px}.ur-registered-from .ur-advance-setting,.ur-registered-from .ur-general-setting{padding:20px 0 0}.ur-registered-from .ur-advance-setting-block{margin-top:25px}.ur-registered-from .ui-widget select,.ur-registered-from input[type=date],.ur-registered-from input[type=email],.ur-registered-from input[type=number],.ur-registered-from input[type=password],.ur-registered-from input[type=phone],.ur-registered-from input[type=text],.ur-registered-from input[type=timepicker],.ur-registered-from input[type=url],.ur-registered-from select,.ur-registered-from textarea{border:1px solid #ddd;display:block;width:100%;color:#787878;box-shadow:0 0 0 transparent;font-size:12px;height:35px;padding:0 10px}.ur-registered-from .ui-widget select:focus,.ur-registered-from input[type=date]:focus,.ur-registered-from input[type=email]:focus,.ur-registered-from input[type=number]:focus,.ur-registered-from input[type=password]:focus,.ur-registered-from input[type=phone]:focus,.ur-registered-from input[type=text]:focus,.ur-registered-from input[type=timepicker]:focus,.ur-registered-from input[type=url]:focus,.ur-registered-from select:focus,.ur-registered-from textarea:focus{border-color:#ddd}.ur-registered-from label{display:block;width:100%;margin-bottom:10px;color:#666;font-size:12px;font-weight:500}.ur-registered-from textarea{padding:10px;height:100px}.ur-registered-from .ur-registered-item.dragging{border:0;box-shadow:0 0 0 transparent;border-radius:0;padding:5px 10px;height:auto;background-color:#3498db;color:#fff;text-align:center;width:200px}.ur-registered-from .ur-advance-setting-block,.ur-registered-from .ur-general-setting-block{display:none}.ur-registered-from .ur-advance-setting label,.ur-registered-from .ur-general-setting label{display:block}#sortable{min-height:400px}@media screen and (max-width:1400px){.ur-registered-from .ur-registered-inputs .ur-tabs .ur-tab-content .ur-registered-list .ur-registered-item{font-size:12px}}@media screen and (max-width:960px){.ur-registered-from .ur-registered-inputs .ur-tabs .ur-tab-content .ur-registered-list .ur-registered-item{float:none;width:100%}.ur-registered-from .ur-registered-inputs .ur-single-row .ur-grid-lists,.ur-registered-from .ur-registered-inputs .ur-single-row .ur-grid-lists .ur-grid-list-item,.ur-registered-from .ur-registered-inputs .ur-single-row .ur-grid-lists .ur-grid-list-item .ur-selected-item{padding:10px}}@media screen and (max-width:782px){.ur-registered-from{flex-direction:column}.ur-registered-from .ur-registered-inputs{width:100%;margin-bottom:10px}.ur-registered-from .ur-selected-inputs{width:100%}.ur-registered-from .ur-registered-inputs .ur-tabs .ur-tab-content .ur-registered-list .ur-registered-item{float:left;width:48%}}@media screen and (max-width:600px){.user-registration_page_add-new-registration .major-publishing-actions{clear:both;padding:10px 0 19px;line-height:28px}.user-registration_page_add-new-registration .major-publishing-actions .ur-form-name{width:100%}.user-registration_page_add-new-registration .major-publishing-actions .publishing-action{text-align:left;float:none;margin-top:15px}.ur-registered-from .ur-selected-inputs .ur-single-row .ur-grid-lists{flex-direction:column;display:block}.ur-registered-from .ur-selected-inputs .ur-single-row .ur-grid-lists .ur-grid-list-item{width:100%!important}.ur-registered-from .ur-selected-inputs .ur-single-row .ur-grid-lists .ur-grid-list-item:nth-child(1n+2){border-left:0 none;border-top:2px solid #f2f2f2}}.tips{cursor:help;text-decoration:none}img.tips{padding:5px 0 0}#tiptip_holder{display:none;z-index:8675309;position:absolute;top:0;left:0}#tiptip_holder.tip_top{padding-bottom:5px}#tiptip_holder.tip_top #tiptip_arrow_inner{margin-top:-7px;margin-left:-6px;border-top-color:#333}#tiptip_holder.tip_bottom{padding-top:5px}#tiptip_holder.tip_bottom #tiptip_arrow_inner{margin-top:-5px;margin-left:-6px;border-bottom-color:#333}#tiptip_holder.tip_right{padding-left:5px}#tiptip_holder.tip_right #tiptip_arrow_inner{margin-top:-6px;margin-left:-5px;border-right-color:#333}#tiptip_holder.tip_left{padding-right:5px}#tiptip_holder.tip_left #tiptip_arrow_inner{margin-top:-6px;margin-left:-7px;border-left-color:#333}#tiptip_content,.ur_error_tip{color:#fff;font-size:.8em;max-width:150px;background:#333;text-align:center;border-radius:3px;padding:.618em 1em;box-shadow:0 1px 3px rgba(0,0,0,.2)}#tiptip_content code,.ur_error_tip code{padding:1px;background:#888}#tiptip_arrow,#tiptip_arrow_inner{position:absolute;border-color:transparent;border-style:solid;border-width:6px;height:0;width:0}.ur_error_tip{max-width:20em;line-height:1.8em;position:absolute;white-space:normal;background:#d82223;margin:1.5em 1px 0 -1em;z-index:9999999}.ur_error_tip::after{content:'';display:block;border:8px solid #d82223;border-right-color:transparent;border-left-color:transparent;border-top-color:transparent;position:absolute;top:-3px;left:50%;margin:-1em 0 0 -3px}.user-registration-help-tip{color:#666;display:inline-block;font-size:1.1em;font-style:normal;height:16px;line-height:16px;position:relative;vertical-align:middle;width:16px}.user-registration-help-tip::after{font-family:Dashicons;speak:none;font-weight:400;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;margin:0;text-indent:0;position:absolute;top:0;left:0;width:100%;height:100%;text-align:center;content:"";cursor:help}.select2-drop,.select2-dropdown{z-index:999999!important}.select2-results{line-height:1.5em}.select2-results .select2-results__group,.select2-results .select2-results__option{margin:0;padding:8px}.select2-dropdown{border-color:#ddd}.select2-dropdown--below{box-shadow:0 1px 1px rgba(0,0,0,.1)}.select2-dropdown--above{box-shadow:0 -1px 1px rgba(0,0,0,.1)}.select2-container .select2-selection__rendered.ui-sortable li{cursor:move}.select2-container .select2-selection{border-color:#ddd}.select2-container .select2-search__field{min-width:150px}.select2-container .select2-selection--single{height:32px}.select2-container .select2-selection--single .select2-selection__rendered{line-height:32px;padding-right:24px}.select2-container .select2-selection--single .select2-selection__arrow{right:3px;height:30px}.select2-container .select2-selection--multiple{min-height:28px;border-radius:0;line-height:1.5}.select2-container .select2-selection--multiple li{margin:0}.select2-container .select2-selection--multiple .select2-selection__choice{padding:2px 6px}.select2-container .select2-selection__clear{color:#999;margin-top:-1px}.select2-container .select2-search--inline .select2-search__field{font-family:inherit;font-size:inherit;font-weight:inherit;padding:3px 0}#ur-tab-registered-fields li.ur-registered-item.ui-draggable-disabled{background:#ccc}.ur-no-pointer{pointer-events:none}#ur-tab-field-settings{background:#f2f2f2}.dashicons,.user-registration table.form-table dashicons .dashicons{line-height:inherit}#smart-tags{text-align:center}#ur-setting-form .ur-general-setting-html .ur-general-setting-description,#ur-setting-form .ur-general-setting-html .ur-general-setting-hide-label,#ur-setting-form .ur-general-setting-html .ur-general-setting-placeholder,#ur-setting-form .ur-general-setting-html .ur-general-setting-required,#ur-setting-form .ur-general-setting-section_title .ur-general-setting-description,#ur-setting-form .ur-general-setting-section_title .ur-general-setting-hide-label,#ur-setting-form .ur-general-setting-section_title .ur-general-setting-placeholder,#ur-setting-form .ur-general-setting-section_title .ur-general-setting-required{display:none}
assets/css/admin.scss CHANGED
@@ -906,9 +906,12 @@
906
  input[type="password"],
907
  input[type="number"],
908
  input[type="date"],
 
 
909
  textarea,
910
  .ui-widget select,
911
  select {
 
912
  display: block;
913
  width: 100%;
914
  color: $color_gray_four;
@@ -1254,4 +1257,15 @@ line-height: inherit;
1254
  }
1255
  #smart-tags{
1256
  text-align: center;
 
 
 
 
 
 
 
 
 
 
 
1257
  }
906
  input[type="password"],
907
  input[type="number"],
908
  input[type="date"],
909
+ input[type="phone"],
910
+ input[type="timepicker"],
911
  textarea,
912
  .ui-widget select,
913
  select {
914
+ border: 1px solid #ddd;
915
  display: block;
916
  width: 100%;
917
  color: $color_gray_four;
1257
  }
1258
  #smart-tags{
1259
  text-align: center;
1260
+ }
1261
+
1262
+ /**
1263
+ * Advanced Fields
1264
+ */
1265
+ #ur-setting-form {
1266
+ .ur-general-setting-section_title, .ur-general-setting-html {
1267
+ .ur-general-setting-description, .ur-general-setting-placeholder, .ur-general-setting-required, .ur-general-setting-hide-label {
1268
+ display: none;
1269
+ }
1270
+ }
1271
  }
assets/css/user-registration-rtl.css CHANGED
@@ -1 +1 @@
1
- .ur-registered-item.ui-draggable-dragging{padding:10px 10px;line-height:20px;background:#3498db;color:#fff;text-align:center;margin-bottom:7px;word-break:break-word;white-space:normal;width:200px!important}.ur-registered-item.ui-draggable-dragging span{font-size:14px;line-height:20px;width:auto;height:auto;margin-left:3px}.clear{clear:both}.user-registration-error,.user-registration-info,.user-registration-message{padding:1.5em 3.5em 1.5em 2em;margin:0 0 2em;position:relative;background-color:#f7f6f7;color:#515151;border-top:3px solid #a46497;list-style:none outside;width:auto;word-wrap:break-word;line-height:1.5;text-transform:none;font-size:14px}.user-registration-error::after,.user-registration-error::before,.user-registration-info::after,.user-registration-info::before,.user-registration-message::after,.user-registration-message::before{content:' ';display:table}.user-registration-error::after,.user-registration-info::after,.user-registration-message::after{clear:both}.user-registration-error::before,.user-registration-info::before,.user-registration-message::before{font-family:Dashicons;content:'\f348';display:inline-block;position:absolute;top:1em;right:.9em;font-size:18px;line-height:1.5}.user-registration-error ul,.user-registration-info ul,.user-registration-message ul{margin:0!important;padding:0!important;background-color:transparent!important}.user-registration-error .button,.user-registration-info .button,.user-registration-message .button{float:left}.user-registration-error li,.user-registration-info li,.user-registration-message li{list-style:none outside!important;padding-right:0!important;margin-right:0!important}.user-registration-error .message,.user-registration-info .message,.user-registration-message .message{margin:0;padding:0}.user-registration-message{border-top-color:#8fae1b;background:rgba(143,174,27,.1);color:#596c11}.user-registration-message::before{color:#8fae1b}.user-registration-info{border-top-color:#1e85be}.user-registration-info::before{color:#1e85be}.user-registration-error{border-top-color:#d82223;background:rgba(216,34,35,.1);color:#961818}.user-registration-error::before{content:'\f534';color:#d82223}.ur-frontend-form{margin-bottom:30px;border:1px solid #ddd;padding:20px;box-sizing:border-box}.ur-frontend-form:last-child{margin-bottom:0}.ur-frontend-form.login{margin:0;padding:10px;box-shadow:none;background:0 0}.ur-frontend-form.login input[name=rememberme]#rememberme{vertical-align:middle}.ur-frontend-form *{box-sizing:border-box}.ur-frontend-form form .ur-form-row{display:flex}.ur-frontend-form form .ur-form-row:last-child{margin-bottom:0}.ur-frontend-form form .ur-form-row .ur-form-grid{flex:1;padding:0 10px}.ur-frontend-form form .ur-form-row .ur-form-grid:nth-child(1n+2){border-right:0 none}.ur-frontend-form form .ur-form-row .ur-form-grid .ur-field-item{margin-bottom:20px;font-size:13px}.ur-frontend-form form .ur-form-row .ur-form-grid .ur-field-item:last-child{margin-bottom:0}.ur-frontend-form form .ur-form-row .ur-form-grid input[type=date],.ur-frontend-form form .ur-form-row .ur-form-grid input[type=email],.ur-frontend-form form .ur-form-row .ur-form-grid input[type=number],.ur-frontend-form form .ur-form-row .ur-form-grid input[type=password],.ur-frontend-form form .ur-form-row .ur-form-grid input[type=text],.ur-frontend-form form .ur-form-row .ur-form-grid input[type=url],.ur-frontend-form form .ur-form-row .ur-form-grid select,.ur-frontend-form form .ur-form-row .ur-form-grid textarea{display:block;width:100%;border-radius:0;height:40px;margin-bottom:10px}.ur-frontend-form form .ur-form-row .ur-form-grid input[type=date]::-webkit-input-placeholder,.ur-frontend-form form .ur-form-row .ur-form-grid input[type=email]::-webkit-input-placeholder,.ur-frontend-form form .ur-form-row .ur-form-grid input[type=number]::-webkit-input-placeholder,.ur-frontend-form form .ur-form-row .ur-form-grid input[type=password]::-webkit-input-placeholder,.ur-frontend-form form .ur-form-row .ur-form-grid input[type=text]::-webkit-input-placeholder,.ur-frontend-form form .ur-form-row .ur-form-grid input[type=url]::-webkit-input-placeholder,.ur-frontend-form form .ur-form-row .ur-form-grid select::-webkit-input-placeholder,.ur-frontend-form form .ur-form-row .ur-form-grid textarea::-webkit-input-placeholder{color:#ddd;font-size:13px}.ur-frontend-form form .ur-form-row .ur-form-grid input[type=date]::-moz-placeholder,.ur-frontend-form form .ur-form-row .ur-form-grid input[type=email]::-moz-placeholder,.ur-frontend-form form .ur-form-row .ur-form-grid input[type=number]::-moz-placeholder,.ur-frontend-form form .ur-form-row .ur-form-grid input[type=password]::-moz-placeholder,.ur-frontend-form form .ur-form-row .ur-form-grid input[type=text]::-moz-placeholder,.ur-frontend-form form .ur-form-row .ur-form-grid input[type=url]::-moz-placeholder,.ur-frontend-form form .ur-form-row .ur-form-grid select::-moz-placeholder,.ur-frontend-form form .ur-form-row .ur-form-grid textarea::-moz-placeholder{color:#ddd;font-size:13px}.ur-frontend-form form .ur-form-row .ur-form-grid input[type=date]:-ms-input-placeholder,.ur-frontend-form form .ur-form-row .ur-form-grid input[type=email]:-ms-input-placeholder,.ur-frontend-form form .ur-form-row .ur-form-grid input[type=number]:-ms-input-placeholder,.ur-frontend-form form .ur-form-row .ur-form-grid input[type=password]:-ms-input-placeholder,.ur-frontend-form form .ur-form-row .ur-form-grid input[type=text]:-ms-input-placeholder,.ur-frontend-form form .ur-form-row .ur-form-grid input[type=url]:-ms-input-placeholder,.ur-frontend-form form .ur-form-row .ur-form-grid select:-ms-input-placeholder,.ur-frontend-form form .ur-form-row .ur-form-grid textarea:-ms-input-placeholder{color:#ddd;font-size:13px}.ur-frontend-form form .ur-form-row .ur-form-grid input[type=date]:-moz-placeholder,.ur-frontend-form form .ur-form-row .ur-form-grid input[type=email]:-moz-placeholder,.ur-frontend-form form .ur-form-row .ur-form-grid input[type=number]:-moz-placeholder,.ur-frontend-form form .ur-form-row .ur-form-grid input[type=password]:-moz-placeholder,.ur-frontend-form form .ur-form-row .ur-form-grid input[type=text]:-moz-placeholder,.ur-frontend-form form .ur-form-row .ur-form-grid input[type=url]:-moz-placeholder,.ur-frontend-form form .ur-form-row .ur-form-grid select:-moz-placeholder,.ur-frontend-form form .ur-form-row .ur-form-grid textarea:-moz-placeholder{color:#ddd;font-size:13px}.ur-frontend-form form .ur-form-row .ur-form-grid input[type=checkbox],.ur-frontend-form form .ur-form-row .ur-form-grid input[type=radio]{font-size:12px;display:inline-block;vertical-align:middle;margin-left:5px;margin-right:20px}.ur-frontend-form form .ur-form-row .ur-form-grid input[type=checkbox]:first-child,.ur-frontend-form form .ur-form-row .ur-form-grid input[type=radio]:first-child{margin-right:0}.ur-frontend-form form .ur-form-row .ur-form-grid button:focus,.ur-frontend-form form .ur-form-row .ur-form-grid input[type=email]:focus,.ur-frontend-form form .ur-form-row .ur-form-grid input[type=password]:focus,.ur-frontend-form form .ur-form-row .ur-form-grid input[type=radio]:focus,.ur-frontend-form form .ur-form-row .ur-form-grid input[type=text]:focus,.ur-frontend-form form .ur-form-row .ur-form-grid input[type=url]:focus,.ur-frontend-form form .ur-form-row .ur-form-grid select:focus,.ur-frontend-form form .ur-form-row .ur-form-grid textarea:focus{outline:0}.ur-frontend-form form .ur-form-row .ur-form-grid label,.ur-frontend-form form .ur-form-row .ur-form-grid legend{display:block;width:100%;margin-bottom:10px}.ur-frontend-form form .ur-form-row .ur-form-grid label .required,.ur-frontend-form form .ur-form-row .ur-form-grid legend .required{text-decoration:none;border:none;color:red}.ur-frontend-form form .ur-form-row .ur-form-grid textarea{padding:10px;height:100px;resize:none;padding:5px 20px}.ur-frontend-form form button[type=submit],.ur-frontend-form form input[type=submit]{float:left;padding:10px 20px;line-height:1em;text-align:center;word-break:break-word;white-space:normal;border:none;cursor:pointer;-webkit-transition:.9s all ease-out;-o-transition:.9s all ease-out;transition:.9s all ease-out}.ur-frontend-form form .ur-submit-button{margin-left:10px;margin-bottom:0}.ur-frontend-form label abbr.required{text-decoration:none;border:none;color:red}.ur-frontend-form.ur-frontend-form--bordered form .ur-form-row .ur-form-grid input[type=date],.ur-frontend-form.ur-frontend-form--bordered form .ur-form-row .ur-form-grid input[type=email],.ur-frontend-form.ur-frontend-form--bordered form .ur-form-row .ur-form-grid input[type=number],.ur-frontend-form.ur-frontend-form--bordered form .ur-form-row .ur-form-grid input[type=password],.ur-frontend-form.ur-frontend-form--bordered form .ur-form-row .ur-form-grid input[type=text],.ur-frontend-form.ur-frontend-form--bordered form .ur-form-row .ur-form-grid input[type=url],.ur-frontend-form.ur-frontend-form--bordered form .ur-form-row .ur-form-grid select,.ur-frontend-form.ur-frontend-form--bordered form .ur-form-row .ur-form-grid textarea{border:none;border-bottom:1px solid #69717a;outline:0;transition:all .35s;padding:10px 15px;background:#f8f9fa;color:#69717a;height:45px}.ur-frontend-form.ur-frontend-form--bordered form .ur-form-row .ur-form-grid label,.ur-frontend-form.ur-frontend-form--bordered form .ur-form-row .ur-form-grid legend{font-weight:600;line-height:2.5;margin-right:5px;color:#69717a}.ur-frontend-form.ur-frontend-form--bordered form .ur-form-row .ur-form-grid textarea{height:100px}.ur-frontend-form.ur-frontend-form--bordered form button[type=submit],.ur-frontend-form.ur-frontend-form--bordered form input[type=submit]{background:#f8f9fa;border:1px solid #69717a;color:#69717a;border-radius:0}.ur-frontend-form.ur-frontend-form--bordered form button[type=submit]:hover,.ur-frontend-form.ur-frontend-form--bordered form input[type=submit]:hover{background:#3498db;color:#fff;border-color:#3498db}.ur-frontend-form.ur-frontend-form--flat{background:#f7f7f7;border:none transparent}.ur-frontend-form.ur-frontend-form--flat form .ur-form-row .ur-form-grid .form-row,.ur-frontend-form.ur-frontend-form--flat form .ur-form-row .ur-form-grid .ur-field-item{margin-bottom:0}.ur-frontend-form.ur-frontend-form--flat form .ur-form-row .ur-form-grid input[type=date],.ur-frontend-form.ur-frontend-form--flat form .ur-form-row .ur-form-grid input[type=email],.ur-frontend-form.ur-frontend-form--flat form .ur-form-row .ur-form-grid input[type=number],.ur-frontend-form.ur-frontend-form--flat form .ur-form-row .ur-form-grid input[type=password],.ur-frontend-form.ur-frontend-form--flat form .ur-form-row .ur-form-grid input[type=text],.ur-frontend-form.ur-frontend-form--flat form .ur-form-row .ur-form-grid input[type=url],.ur-frontend-form.ur-frontend-form--flat form .ur-form-row .ur-form-grid select,.ur-frontend-form.ur-frontend-form--flat form .ur-form-row .ur-form-grid textarea{border:none;outline:0;padding:10px 15px;background:#fff;color:#69717a;margin-bottom:10px;height:45px}.ur-frontend-form.ur-frontend-form--flat form .ur-form-row .ur-form-grid input[type=date]:focus,.ur-frontend-form.ur-frontend-form--flat form .ur-form-row .ur-form-grid input[type=email]:focus,.ur-frontend-form.ur-frontend-form--flat form .ur-form-row .ur-form-grid input[type=number]:focus,.ur-frontend-form.ur-frontend-form--flat form .ur-form-row .ur-form-grid input[type=password]:focus,.ur-frontend-form.ur-frontend-form--flat form .ur-form-row .ur-form-grid input[type=text]:focus,.ur-frontend-form.ur-frontend-form--flat form .ur-form-row .ur-form-grid input[type=url]:focus,.ur-frontend-form.ur-frontend-form--flat form .ur-form-row .ur-form-grid select:focus,.ur-frontend-form.ur-frontend-form--flat form .ur-form-row .ur-form-grid textarea:focus{box-shadow:0 0 10px 5px rgba(0,0,0,.05)}.ur-frontend-form.ur-frontend-form--flat form .ur-form-row .ur-form-grid select{margin-bottom:10px}.ur-frontend-form.ur-frontend-form--flat form .ur-form-row .ur-form-grid label,.ur-frontend-form.ur-frontend-form--flat form .ur-form-row .ur-form-grid legend{font-weight:600;line-height:2.5;color:#69717a}.ur-frontend-form.ur-frontend-form--flat form .ur-form-row .ur-form-grid textarea{height:100px}.ur-frontend-form.ur-frontend-form--rounded form .ur-form-row .ur-form-grid input[type=date],.ur-frontend-form.ur-frontend-form--rounded form .ur-form-row .ur-form-grid input[type=email],.ur-frontend-form.ur-frontend-form--rounded form .ur-form-row .ur-form-grid input[type=number],.ur-frontend-form.ur-frontend-form--rounded form .ur-form-row .ur-form-grid input[type=password],.ur-frontend-form.ur-frontend-form--rounded form .ur-form-row .ur-form-grid input[type=text],.ur-frontend-form.ur-frontend-form--rounded form .ur-form-row .ur-form-grid input[type=url],.ur-frontend-form.ur-frontend-form--rounded form .ur-form-row .ur-form-grid select,.ur-frontend-form.ur-frontend-form--rounded form .ur-form-row .ur-form-grid textarea{border:1px solid #ced4da;border-radius:25px;outline:0;transition:all .35s;padding:10px 15px;background:#fff;color:#69717a;height:45px}.ur-frontend-form.ur-frontend-form--rounded form .ur-form-row .ur-form-grid button[type=button]{border-radius:25px}.ur-frontend-form.ur-frontend-form--rounded form .ur-form-row .ur-form-grid label,.ur-frontend-form.ur-frontend-form--rounded form .ur-form-row .ur-form-grid legend{font-weight:600;line-height:2.5;margin-right:5px;color:#69717a}.ur-frontend-form.ur-frontend-form--rounded form .ur-form-row .ur-form-grid textarea{height:100px}.ur-frontend-form.ur-frontend-form--rounded form button[type=submit],.ur-frontend-form.ur-frontend-form--rounded form input[type=submit]{background:#006aff;border:0 none;color:#fff;border-radius:25px;float:none;width:calc(100% - 20px);display:block;margin:0 auto;padding:15px 20px}.ur-frontend-form.ur-frontend-form--rounded.ur-frontend-form--rounded-edge form .ur-form-row .ur-form-grid input[type=date],.ur-frontend-form.ur-frontend-form--rounded.ur-frontend-form--rounded-edge form .ur-form-row .ur-form-grid input[type=email],.ur-frontend-form.ur-frontend-form--rounded.ur-frontend-form--rounded-edge form .ur-form-row .ur-form-grid input[type=number],.ur-frontend-form.ur-frontend-form--rounded.ur-frontend-form--rounded-edge form .ur-form-row .ur-form-grid input[type=password],.ur-frontend-form.ur-frontend-form--rounded.ur-frontend-form--rounded-edge form .ur-form-row .ur-form-grid input[type=text],.ur-frontend-form.ur-frontend-form--rounded.ur-frontend-form--rounded-edge form .ur-form-row .ur-form-grid input[type=url],.ur-frontend-form.ur-frontend-form--rounded.ur-frontend-form--rounded-edge form .ur-form-row .ur-form-grid select,.ur-frontend-form.ur-frontend-form--rounded.ur-frontend-form--rounded-edge form .ur-form-row .ur-form-grid textarea{border-radius:2px}.ur-frontend-form.ur-frontend-form--rounded.ur-frontend-form--rounded-edge form .ur-form-row .ur-form-grid button[type=button]{border-radius:2px}.ur-frontend-form.ur-frontend-form--rounded.ur-frontend-form--rounded-edge form button[type=submit],.ur-frontend-form.ur-frontend-form--rounded.ur-frontend-form--rounded-edge form input[type=submit]{border-radius:2px}.ur-frontend-form #ur-submit-message-node{margin:20px 0 0 0!important}.ur-frontend-form #ur-submit-message-node.ur-error{background:rgba(206,0,0,.1)}.ur-frontend-form #ur-submit-message-node.ur-message.message{background:rgba(143,174,27,.2)}#user-registration *,#user-registration.user-registration{box-sizing:border-box}#user-registration p{color:#333}#user-registration .user-registration-MyAccount-navigation{overflow:visible;margin:0}#user-registration .user-registration-MyAccount-navigation ul{margin:0;padding:0;display:-webkit-flex;display:flex;flex-wrap:wrap}#user-registration .user-registration-MyAccount-navigation ul .user-registration-MyAccount-navigation-link{list-style:none;padding:0;margin:0;display:inline-block;border-right:1px solid #fff;border-top:1px solid #fff;border-left:1px solid #fff;position:relative;box-shadow:0 0 0 transparent}#user-registration .user-registration-MyAccount-navigation ul .user-registration-MyAccount-navigation-link a{color:#666;padding:10px 15px;display:block;font-weight:600;font-size:15px;font-family:sans-serif;text-decoration:none;box-shadow:0 0 0 transparent}#user-registration .user-registration-MyAccount-navigation ul .user-registration-MyAccount-navigation-link.is-active{background-color:#fcfcfc;border-right:1px solid #ddd;border-top:1px solid #ddd;border-left:1px solid #ddd}#user-registration .user-registration-MyAccount-navigation ul .user-registration-MyAccount-navigation-link.is-active:before{position:absolute;bottom:-1px;right:0;content:" ";width:100%;height:1px;background-color:#fcfcfc}#user-registration .user-registration-MyAccount-content{background:#fcfcfc;padding:15px 20px;border:1px solid #ddd}#user-registration .user-registration-MyAccount-content .ur-form-grid{padding:0;border:0 none;background:0 0}#user-registration .user-registration-MyAccount-content .ur-frontend-form{border:none}.user-registration-password-strength{text-align:center;font-weight:600;padding:3px .5em;font-size:1em}.user-registration-password-strength.strong{background-color:#c1e1b9;border-color:#83c373}.user-registration-password-strength.short{background-color:#f1adad;border-color:#e35b5b}.user-registration-password-strength.bad{background-color:#fbc5a9;border-color:#f78b53}.user-registration-password-strength.good{background-color:#ffe399;border-color:#ffc733}.user-registration-password-hint{margin:.5em 0 0;display:block}.ur-front-spinner{background:url(../images/wpspin_light-2x.gif) no-repeat;background-size:16px 16px;display:block;opacity:.7;width:16px;height:16px;margin-right:-40px;float:right}
1
+ .ur-registered-item.ui-draggable-dragging{padding:10px 10px;line-height:20px;background:#3498db;color:#fff;text-align:center;margin-bottom:7px;word-break:break-word;white-space:normal;width:200px!important}.ur-registered-item.ui-draggable-dragging span{font-size:14px;line-height:20px;width:auto;height:auto;margin-left:3px}.clear{clear:both}.user-registration-error,.user-registration-info,.user-registration-message{padding:1.5em 3.5em 1.5em 2em;margin:0 0 2em;position:relative;background-color:#f7f6f7;color:#515151;border-top:3px solid #a46497;list-style:none outside;width:auto;word-wrap:break-word;line-height:1.5;text-transform:none;font-size:14px}.user-registration-error::after,.user-registration-error::before,.user-registration-info::after,.user-registration-info::before,.user-registration-message::after,.user-registration-message::before{content:' ';display:table}.user-registration-error::after,.user-registration-info::after,.user-registration-message::after{clear:both}.user-registration-error::before,.user-registration-info::before,.user-registration-message::before{font-family:Dashicons;content:'\f348';display:inline-block;position:absolute;top:1em;right:.9em;font-size:18px;line-height:1.5}.user-registration-error ul,.user-registration-info ul,.user-registration-message ul{margin:0!important;padding:0!important;background-color:transparent!important}.user-registration-error .button,.user-registration-info .button,.user-registration-message .button{float:left}.user-registration-error li,.user-registration-info li,.user-registration-message li{list-style:none outside!important;padding-right:0!important;margin-right:0!important}.user-registration-error .message,.user-registration-info .message,.user-registration-message .message{margin:0;padding:0}.user-registration-message{border-top-color:#8fae1b;background:rgba(143,174,27,.1);color:#596c11}.user-registration-message::before{color:#8fae1b}.user-registration-info{border-top-color:#1e85be}.user-registration-info::before{color:#1e85be}.user-registration-error{border-top-color:#d82223;background:rgba(216,34,35,.1);color:#961818}.user-registration-error::before{content:'\f534';color:#d82223}.ur-frontend-form{margin-bottom:30px;border:1px solid #ddd;padding:20px;box-sizing:border-box}.ur-frontend-form:last-child{margin-bottom:0}.ur-frontend-form.login{margin:0;padding:10px;box-shadow:none;background:0 0}.ur-frontend-form.login input[name=rememberme]#rememberme{vertical-align:middle}.ur-frontend-form *{box-sizing:border-box}.ur-frontend-form form .ur-form-row{display:flex}.ur-frontend-form form .ur-form-row:last-child{margin-bottom:0}.ur-frontend-form form .ur-form-row .ur-form-grid{flex:1;padding:0 10px}.ur-frontend-form form .ur-form-row .ur-form-grid:nth-child(1n+2){border-right:0 none}.ur-frontend-form form .ur-form-row .ur-form-grid .ur-field-item{margin-bottom:20px;font-size:13px}.ur-frontend-form form .ur-form-row .ur-form-grid .ur-field-item:last-child{margin-bottom:0}.ur-frontend-form form .ur-form-row .ur-form-grid input[type=date],.ur-frontend-form form .ur-form-row .ur-form-grid input[type=email],.ur-frontend-form form .ur-form-row .ur-form-grid input[type=number],.ur-frontend-form form .ur-form-row .ur-form-grid input[type=password],.ur-frontend-form form .ur-form-row .ur-form-grid input[type=phone],.ur-frontend-form form .ur-form-row .ur-form-grid input[type=text],.ur-frontend-form form .ur-form-row .ur-form-grid input[type=timepicker],.ur-frontend-form form .ur-form-row .ur-form-grid input[type=url],.ur-frontend-form form .ur-form-row .ur-form-grid select,.ur-frontend-form form .ur-form-row .ur-form-grid textarea{display:block;width:100%;border-radius:0;height:40px;margin-bottom:10px}.ur-frontend-form form .ur-form-row .ur-form-grid input[type=date]::-webkit-input-placeholder,.ur-frontend-form form .ur-form-row .ur-form-grid input[type=email]::-webkit-input-placeholder,.ur-frontend-form form .ur-form-row .ur-form-grid input[type=number]::-webkit-input-placeholder,.ur-frontend-form form .ur-form-row .ur-form-grid input[type=password]::-webkit-input-placeholder,.ur-frontend-form form .ur-form-row .ur-form-grid input[type=phone]::-webkit-input-placeholder,.ur-frontend-form form .ur-form-row .ur-form-grid input[type=text]::-webkit-input-placeholder,.ur-frontend-form form .ur-form-row .ur-form-grid input[type=timepicker]::-webkit-input-placeholder,.ur-frontend-form form .ur-form-row .ur-form-grid input[type=url]::-webkit-input-placeholder,.ur-frontend-form form .ur-form-row .ur-form-grid select::-webkit-input-placeholder,.ur-frontend-form form .ur-form-row .ur-form-grid textarea::-webkit-input-placeholder{color:#ddd;font-size:13px}.ur-frontend-form form .ur-form-row .ur-form-grid input[type=date]::-moz-placeholder,.ur-frontend-form form .ur-form-row .ur-form-grid input[type=email]::-moz-placeholder,.ur-frontend-form form .ur-form-row .ur-form-grid input[type=number]::-moz-placeholder,.ur-frontend-form form .ur-form-row .ur-form-grid input[type=password]::-moz-placeholder,.ur-frontend-form form .ur-form-row .ur-form-grid input[type=phone]::-moz-placeholder,.ur-frontend-form form .ur-form-row .ur-form-grid input[type=text]::-moz-placeholder,.ur-frontend-form form .ur-form-row .ur-form-grid input[type=timepicker]::-moz-placeholder,.ur-frontend-form form .ur-form-row .ur-form-grid input[type=url]::-moz-placeholder,.ur-frontend-form form .ur-form-row .ur-form-grid select::-moz-placeholder,.ur-frontend-form form .ur-form-row .ur-form-grid textarea::-moz-placeholder{color:#ddd;font-size:13px}.ur-frontend-form form .ur-form-row .ur-form-grid input[type=date]:-ms-input-placeholder,.ur-frontend-form form .ur-form-row .ur-form-grid input[type=email]:-ms-input-placeholder,.ur-frontend-form form .ur-form-row .ur-form-grid input[type=number]:-ms-input-placeholder,.ur-frontend-form form .ur-form-row .ur-form-grid input[type=password]:-ms-input-placeholder,.ur-frontend-form form .ur-form-row .ur-form-grid input[type=phone]:-ms-input-placeholder,.ur-frontend-form form .ur-form-row .ur-form-grid input[type=text]:-ms-input-placeholder,.ur-frontend-form form .ur-form-row .ur-form-grid input[type=timepicker]:-ms-input-placeholder,.ur-frontend-form form .ur-form-row .ur-form-grid input[type=url]:-ms-input-placeholder,.ur-frontend-form form .ur-form-row .ur-form-grid select:-ms-input-placeholder,.ur-frontend-form form .ur-form-row .ur-form-grid textarea:-ms-input-placeholder{color:#ddd;font-size:13px}.ur-frontend-form form .ur-form-row .ur-form-grid input[type=date]:-moz-placeholder,.ur-frontend-form form .ur-form-row .ur-form-grid input[type=email]:-moz-placeholder,.ur-frontend-form form .ur-form-row .ur-form-grid input[type=number]:-moz-placeholder,.ur-frontend-form form .ur-form-row .ur-form-grid input[type=password]:-moz-placeholder,.ur-frontend-form form .ur-form-row .ur-form-grid input[type=phone]:-moz-placeholder,.ur-frontend-form form .ur-form-row .ur-form-grid input[type=text]:-moz-placeholder,.ur-frontend-form form .ur-form-row .ur-form-grid input[type=timepicker]:-moz-placeholder,.ur-frontend-form form .ur-form-row .ur-form-grid input[type=url]:-moz-placeholder,.ur-frontend-form form .ur-form-row .ur-form-grid select:-moz-placeholder,.ur-frontend-form form .ur-form-row .ur-form-grid textarea:-moz-placeholder{color:#ddd;font-size:13px}.ur-frontend-form form .ur-form-row .ur-form-grid input[type=checkbox],.ur-frontend-form form .ur-form-row .ur-form-grid input[type=radio]{font-size:12px;display:inline-block;vertical-align:middle;margin-left:5px;margin-right:20px}.ur-frontend-form form .ur-form-row .ur-form-grid input[type=checkbox]:first-child,.ur-frontend-form form .ur-form-row .ur-form-grid input[type=radio]:first-child{margin-right:0}.ur-frontend-form form .ur-form-row .ur-form-grid button:focus,.ur-frontend-form form .ur-form-row .ur-form-grid input[type=email]:focus,.ur-frontend-form form .ur-form-row .ur-form-grid input[type=password]:focus,.ur-frontend-form form .ur-form-row .ur-form-grid input[type=radio]:focus,.ur-frontend-form form .ur-form-row .ur-form-grid input[type=text]:focus,.ur-frontend-form form .ur-form-row .ur-form-grid input[type=url]:focus,.ur-frontend-form form .ur-form-row .ur-form-grid select:focus,.ur-frontend-form form .ur-form-row .ur-form-grid textarea:focus{outline:0}.ur-frontend-form form .ur-form-row .ur-form-grid label,.ur-frontend-form form .ur-form-row .ur-form-grid legend{display:block;width:100%;margin-bottom:10px}.ur-frontend-form form .ur-form-row .ur-form-grid label .required,.ur-frontend-form form .ur-form-row .ur-form-grid legend .required{text-decoration:none;border:none;color:red}.ur-frontend-form form .ur-form-row .ur-form-grid textarea{padding:10px;height:100px;resize:none;padding:5px 20px}.ur-frontend-form form button[type=submit],.ur-frontend-form form input[type=submit]{float:left;padding:10px 20px;line-height:1em;text-align:center;word-break:break-word;white-space:normal;border:none;cursor:pointer;-webkit-transition:.9s all ease-out;-o-transition:.9s all ease-out;transition:.9s all ease-out}.ur-frontend-form form .ur-submit-button{margin-left:10px;margin-bottom:0}.ur-frontend-form label abbr.required{text-decoration:none;border:none;color:red}.ur-frontend-form.ur-frontend-form--bordered form .ur-form-row .ur-form-grid input[type=date],.ur-frontend-form.ur-frontend-form--bordered form .ur-form-row .ur-form-grid input[type=email],.ur-frontend-form.ur-frontend-form--bordered form .ur-form-row .ur-form-grid input[type=number],.ur-frontend-form.ur-frontend-form--bordered form .ur-form-row .ur-form-grid input[type=password],.ur-frontend-form.ur-frontend-form--bordered form .ur-form-row .ur-form-grid input[type=text],.ur-frontend-form.ur-frontend-form--bordered form .ur-form-row .ur-form-grid input[type=url],.ur-frontend-form.ur-frontend-form--bordered form .ur-form-row .ur-form-grid select,.ur-frontend-form.ur-frontend-form--bordered form .ur-form-row .ur-form-grid textarea{border:none;border-bottom:1px solid #69717a;outline:0;transition:all .35s;padding:10px 15px;background:#f8f9fa;color:#69717a;height:45px}.ur-frontend-form.ur-frontend-form--bordered form .ur-form-row .ur-form-grid label,.ur-frontend-form.ur-frontend-form--bordered form .ur-form-row .ur-form-grid legend{font-weight:600;line-height:2.5;margin-right:5px;color:#69717a}.ur-frontend-form.ur-frontend-form--bordered form .ur-form-row .ur-form-grid textarea{height:100px}.ur-frontend-form.ur-frontend-form--bordered form button[type=submit],.ur-frontend-form.ur-frontend-form--bordered form input[type=submit]{background:#f8f9fa;border:1px solid #69717a;color:#69717a;border-radius:0}.ur-frontend-form.ur-frontend-form--bordered form button[type=submit]:hover,.ur-frontend-form.ur-frontend-form--bordered form input[type=submit]:hover{background:#3498db;color:#fff;border-color:#3498db}.ur-frontend-form.ur-frontend-form--flat{background:#f7f7f7;border:none transparent}.ur-frontend-form.ur-frontend-form--flat form .ur-form-row .ur-form-grid .form-row,.ur-frontend-form.ur-frontend-form--flat form .ur-form-row .ur-form-grid .ur-field-item{margin-bottom:0}.ur-frontend-form.ur-frontend-form--flat form .ur-form-row .ur-form-grid input[type=date],.ur-frontend-form.ur-frontend-form--flat form .ur-form-row .ur-form-grid input[type=email],.ur-frontend-form.ur-frontend-form--flat form .ur-form-row .ur-form-grid input[type=number],.ur-frontend-form.ur-frontend-form--flat form .ur-form-row .ur-form-grid input[type=password],.ur-frontend-form.ur-frontend-form--flat form .ur-form-row .ur-form-grid input[type=text],.ur-frontend-form.ur-frontend-form--flat form .ur-form-row .ur-form-grid input[type=url],.ur-frontend-form.ur-frontend-form--flat form .ur-form-row .ur-form-grid select,.ur-frontend-form.ur-frontend-form--flat form .ur-form-row .ur-form-grid textarea{border:none;outline:0;padding:10px 15px;background:#fff;color:#69717a;margin-bottom:10px;height:45px}.ur-frontend-form.ur-frontend-form--flat form .ur-form-row .ur-form-grid input[type=date]:focus,.ur-frontend-form.ur-frontend-form--flat form .ur-form-row .ur-form-grid input[type=email]:focus,.ur-frontend-form.ur-frontend-form--flat form .ur-form-row .ur-form-grid input[type=number]:focus,.ur-frontend-form.ur-frontend-form--flat form .ur-form-row .ur-form-grid input[type=password]:focus,.ur-frontend-form.ur-frontend-form--flat form .ur-form-row .ur-form-grid input[type=text]:focus,.ur-frontend-form.ur-frontend-form--flat form .ur-form-row .ur-form-grid input[type=url]:focus,.ur-frontend-form.ur-frontend-form--flat form .ur-form-row .ur-form-grid select:focus,.ur-frontend-form.ur-frontend-form--flat form .ur-form-row .ur-form-grid textarea:focus{box-shadow:0 0 10px 5px rgba(0,0,0,.05)}.ur-frontend-form.ur-frontend-form--flat form .ur-form-row .ur-form-grid select{margin-bottom:10px}.ur-frontend-form.ur-frontend-form--flat form .ur-form-row .ur-form-grid label,.ur-frontend-form.ur-frontend-form--flat form .ur-form-row .ur-form-grid legend{font-weight:600;line-height:2.5;color:#69717a}.ur-frontend-form.ur-frontend-form--flat form .ur-form-row .ur-form-grid textarea{height:100px}.ur-frontend-form.ur-frontend-form--rounded form .ur-form-row .ur-form-grid input[type=date],.ur-frontend-form.ur-frontend-form--rounded form .ur-form-row .ur-form-grid input[type=email],.ur-frontend-form.ur-frontend-form--rounded form .ur-form-row .ur-form-grid input[type=number],.ur-frontend-form.ur-frontend-form--rounded form .ur-form-row .ur-form-grid input[type=password],.ur-frontend-form.ur-frontend-form--rounded form .ur-form-row .ur-form-grid input[type=text],.ur-frontend-form.ur-frontend-form--rounded form .ur-form-row .ur-form-grid input[type=url],.ur-frontend-form.ur-frontend-form--rounded form .ur-form-row .ur-form-grid select,.ur-frontend-form.ur-frontend-form--rounded form .ur-form-row .ur-form-grid textarea{border:1px solid #ced4da;border-radius:25px;outline:0;transition:all .35s;padding:10px 15px;background:#fff;color:#69717a;height:45px}.ur-frontend-form.ur-frontend-form--rounded form .ur-form-row .ur-form-grid button[type=button]{border-radius:25px}.ur-frontend-form.ur-frontend-form--rounded form .ur-form-row .ur-form-grid label,.ur-frontend-form.ur-frontend-form--rounded form .ur-form-row .ur-form-grid legend{font-weight:600;line-height:2.5;margin-right:5px;color:#69717a}.ur-frontend-form.ur-frontend-form--rounded form .ur-form-row .ur-form-grid textarea{height:100px}.ur-frontend-form.ur-frontend-form--rounded form button[type=submit],.ur-frontend-form.ur-frontend-form--rounded form input[type=submit]{background:#006aff;border:0 none;color:#fff;border-radius:25px;float:none;width:calc(100% - 20px);display:block;margin:0 auto;padding:15px 20px}.ur-frontend-form.ur-frontend-form--rounded.ur-frontend-form--rounded-edge form .ur-form-row .ur-form-grid input[type=date],.ur-frontend-form.ur-frontend-form--rounded.ur-frontend-form--rounded-edge form .ur-form-row .ur-form-grid input[type=email],.ur-frontend-form.ur-frontend-form--rounded.ur-frontend-form--rounded-edge form .ur-form-row .ur-form-grid input[type=number],.ur-frontend-form.ur-frontend-form--rounded.ur-frontend-form--rounded-edge form .ur-form-row .ur-form-grid input[type=password],.ur-frontend-form.ur-frontend-form--rounded.ur-frontend-form--rounded-edge form .ur-form-row .ur-form-grid input[type=text],.ur-frontend-form.ur-frontend-form--rounded.ur-frontend-form--rounded-edge form .ur-form-row .ur-form-grid input[type=url],.ur-frontend-form.ur-frontend-form--rounded.ur-frontend-form--rounded-edge form .ur-form-row .ur-form-grid select,.ur-frontend-form.ur-frontend-form--rounded.ur-frontend-form--rounded-edge form .ur-form-row .ur-form-grid textarea{border-radius:2px}.ur-frontend-form.ur-frontend-form--rounded.ur-frontend-form--rounded-edge form .ur-form-row .ur-form-grid button[type=button]{border-radius:2px}.ur-frontend-form.ur-frontend-form--rounded.ur-frontend-form--rounded-edge form button[type=submit],.ur-frontend-form.ur-frontend-form--rounded.ur-frontend-form--rounded-edge form input[type=submit]{border-radius:2px}.ur-frontend-form #ur-submit-message-node{margin:20px 0 0 0!important}.ur-frontend-form #ur-submit-message-node.ur-error{background:rgba(206,0,0,.1)}.ur-frontend-form #ur-submit-message-node.ur-message.message{background:rgba(143,174,27,.2)}#user-registration *,#user-registration.user-registration{box-sizing:border-box}#user-registration p{color:#333}#user-registration .user-registration-MyAccount-navigation{overflow:visible;margin:0}#user-registration .user-registration-MyAccount-navigation ul{margin:0;padding:0;display:-webkit-flex;display:flex;flex-wrap:wrap}#user-registration .user-registration-MyAccount-navigation ul .user-registration-MyAccount-navigation-link{list-style:none;padding:0;margin:0;display:inline-block;border-right:1px solid #fff;border-top:1px solid #fff;border-left:1px solid #fff;position:relative;box-shadow:0 0 0 transparent}#user-registration .user-registration-MyAccount-navigation ul .user-registration-MyAccount-navigation-link a{color:#666;padding:10px 15px;display:block;font-weight:600;font-size:15px;font-family:sans-serif;text-decoration:none;box-shadow:0 0 0 transparent}#user-registration .user-registration-MyAccount-navigation ul .user-registration-MyAccount-navigation-link.is-active{background-color:#fcfcfc;border-right:1px solid #ddd;border-top:1px solid #ddd;border-left:1px solid #ddd}#user-registration .user-registration-MyAccount-navigation ul .user-registration-MyAccount-navigation-link.is-active:before{position:absolute;bottom:-1px;right:0;content:" ";width:100%;height:1px;background-color:#fcfcfc}#user-registration .user-registration-MyAccount-content{background:#fcfcfc;padding:15px 20px;border:1px solid #ddd}#user-registration .user-registration-MyAccount-content .ur-form-grid{padding:0;border:0 none;background:0 0}#user-registration .user-registration-MyAccount-content .ur-frontend-form{border:none}.user-registration-password-strength{text-align:center;font-weight:600;padding:3px .5em;font-size:1em}.user-registration-password-strength.strong{background-color:#c1e1b9;border-color:#83c373}.user-registration-password-strength.short{background-color:#f1adad;border-color:#e35b5b}.user-registration-password-strength.bad{background-color:#fbc5a9;border-color:#f78b53}.user-registration-password-strength.good{background-color:#ffe399;border-color:#ffc733}.user-registration-password-hint{margin:.5em 0 0;display:block}.ur-front-spinner{background:url(../images/wpspin_light-2x.gif) no-repeat;background-size:16px 16px;display:block;opacity:.7;width:16px;height:16px;margin-right:-40px;float:right}
assets/css/user-registration.css CHANGED
@@ -1 +1 @@
1
- .ur-registered-item.ui-draggable-dragging{padding:10px 10px;line-height:20px;background:#3498db;color:#fff;text-align:center;margin-bottom:7px;word-break:break-word;white-space:normal;width:200px!important}.ur-registered-item.ui-draggable-dragging span{font-size:14px;line-height:20px;width:auto;height:auto;margin-right:3px}.clear{clear:both}.user-registration-error,.user-registration-info,.user-registration-message{padding:1.5em 2em 1.5em 3.5em;margin:0 0 2em;position:relative;background-color:#f7f6f7;color:#515151;border-top:3px solid #a46497;list-style:none outside;width:auto;word-wrap:break-word;line-height:1.5;text-transform:none;font-size:14px}.user-registration-error::after,.user-registration-error::before,.user-registration-info::after,.user-registration-info::before,.user-registration-message::after,.user-registration-message::before{content:' ';display:table}.user-registration-error::after,.user-registration-info::after,.user-registration-message::after{clear:both}.user-registration-error::before,.user-registration-info::before,.user-registration-message::before{font-family:Dashicons;content:'\f348';display:inline-block;position:absolute;top:1em;left:.9em;font-size:18px;line-height:1.5}.user-registration-error ul,.user-registration-info ul,.user-registration-message ul{margin:0!important;padding:0!important;background-color:transparent!important}.user-registration-error .button,.user-registration-info .button,.user-registration-message .button{float:right}.user-registration-error li,.user-registration-info li,.user-registration-message li{list-style:none outside!important;padding-left:0!important;margin-left:0!important}.user-registration-error .message,.user-registration-info .message,.user-registration-message .message{margin:0;padding:0}.user-registration-message{border-top-color:#8fae1b;background:rgba(143,174,27,.1);color:#596c11}.user-registration-message::before{color:#8fae1b}.user-registration-info{border-top-color:#1e85be}.user-registration-info::before{color:#1e85be}.user-registration-error{border-top-color:#d82223;background:rgba(216,34,35,.1);color:#961818}.user-registration-error::before{content:'\f534';color:#d82223}.ur-frontend-form{margin-bottom:30px;border:1px solid #ddd;padding:20px;box-sizing:border-box}.ur-frontend-form:last-child{margin-bottom:0}.ur-frontend-form.login{margin:0;padding:10px;box-shadow:none;background:0 0}.ur-frontend-form.login input[name=rememberme]#rememberme{vertical-align:middle}.ur-frontend-form *{box-sizing:border-box}.ur-frontend-form form .ur-form-row{display:flex}.ur-frontend-form form .ur-form-row:last-child{margin-bottom:0}.ur-frontend-form form .ur-form-row .ur-form-grid{flex:1;padding:0 10px}.ur-frontend-form form .ur-form-row .ur-form-grid:nth-child(1n+2){border-left:0 none}.ur-frontend-form form .ur-form-row .ur-form-grid .ur-field-item{margin-bottom:20px;font-size:13px}.ur-frontend-form form .ur-form-row .ur-form-grid .ur-field-item:last-child{margin-bottom:0}.ur-frontend-form form .ur-form-row .ur-form-grid input[type=date],.ur-frontend-form form .ur-form-row .ur-form-grid input[type=email],.ur-frontend-form form .ur-form-row .ur-form-grid input[type=number],.ur-frontend-form form .ur-form-row .ur-form-grid input[type=password],.ur-frontend-form form .ur-form-row .ur-form-grid input[type=text],.ur-frontend-form form .ur-form-row .ur-form-grid input[type=url],.ur-frontend-form form .ur-form-row .ur-form-grid select,.ur-frontend-form form .ur-form-row .ur-form-grid textarea{display:block;width:100%;border-radius:0;height:40px;margin-bottom:10px}.ur-frontend-form form .ur-form-row .ur-form-grid input[type=date]::-webkit-input-placeholder,.ur-frontend-form form .ur-form-row .ur-form-grid input[type=email]::-webkit-input-placeholder,.ur-frontend-form form .ur-form-row .ur-form-grid input[type=number]::-webkit-input-placeholder,.ur-frontend-form form .ur-form-row .ur-form-grid input[type=password]::-webkit-input-placeholder,.ur-frontend-form form .ur-form-row .ur-form-grid input[type=text]::-webkit-input-placeholder,.ur-frontend-form form .ur-form-row .ur-form-grid input[type=url]::-webkit-input-placeholder,.ur-frontend-form form .ur-form-row .ur-form-grid select::-webkit-input-placeholder,.ur-frontend-form form .ur-form-row .ur-form-grid textarea::-webkit-input-placeholder{color:#ddd;font-size:13px}.ur-frontend-form form .ur-form-row .ur-form-grid input[type=date]::-moz-placeholder,.ur-frontend-form form .ur-form-row .ur-form-grid input[type=email]::-moz-placeholder,.ur-frontend-form form .ur-form-row .ur-form-grid input[type=number]::-moz-placeholder,.ur-frontend-form form .ur-form-row .ur-form-grid input[type=password]::-moz-placeholder,.ur-frontend-form form .ur-form-row .ur-form-grid input[type=text]::-moz-placeholder,.ur-frontend-form form .ur-form-row .ur-form-grid input[type=url]::-moz-placeholder,.ur-frontend-form form .ur-form-row .ur-form-grid select::-moz-placeholder,.ur-frontend-form form .ur-form-row .ur-form-grid textarea::-moz-placeholder{color:#ddd;font-size:13px}.ur-frontend-form form .ur-form-row .ur-form-grid input[type=date]:-ms-input-placeholder,.ur-frontend-form form .ur-form-row .ur-form-grid input[type=email]:-ms-input-placeholder,.ur-frontend-form form .ur-form-row .ur-form-grid input[type=number]:-ms-input-placeholder,.ur-frontend-form form .ur-form-row .ur-form-grid input[type=password]:-ms-input-placeholder,.ur-frontend-form form .ur-form-row .ur-form-grid input[type=text]:-ms-input-placeholder,.ur-frontend-form form .ur-form-row .ur-form-grid input[type=url]:-ms-input-placeholder,.ur-frontend-form form .ur-form-row .ur-form-grid select:-ms-input-placeholder,.ur-frontend-form form .ur-form-row .ur-form-grid textarea:-ms-input-placeholder{color:#ddd;font-size:13px}.ur-frontend-form form .ur-form-row .ur-form-grid input[type=date]:-moz-placeholder,.ur-frontend-form form .ur-form-row .ur-form-grid input[type=email]:-moz-placeholder,.ur-frontend-form form .ur-form-row .ur-form-grid input[type=number]:-moz-placeholder,.ur-frontend-form form .ur-form-row .ur-form-grid input[type=password]:-moz-placeholder,.ur-frontend-form form .ur-form-row .ur-form-grid input[type=text]:-moz-placeholder,.ur-frontend-form form .ur-form-row .ur-form-grid input[type=url]:-moz-placeholder,.ur-frontend-form form .ur-form-row .ur-form-grid select:-moz-placeholder,.ur-frontend-form form .ur-form-row .ur-form-grid textarea:-moz-placeholder{color:#ddd;font-size:13px}.ur-frontend-form form .ur-form-row .ur-form-grid input[type=checkbox],.ur-frontend-form form .ur-form-row .ur-form-grid input[type=radio]{font-size:12px;display:inline-block;vertical-align:middle;margin-right:5px;margin-left:20px}.ur-frontend-form form .ur-form-row .ur-form-grid input[type=checkbox]:first-child,.ur-frontend-form form .ur-form-row .ur-form-grid input[type=radio]:first-child{margin-left:0}.ur-frontend-form form .ur-form-row .ur-form-grid button:focus,.ur-frontend-form form .ur-form-row .ur-form-grid input[type=email]:focus,.ur-frontend-form form .ur-form-row .ur-form-grid input[type=password]:focus,.ur-frontend-form form .ur-form-row .ur-form-grid input[type=radio]:focus,.ur-frontend-form form .ur-form-row .ur-form-grid input[type=text]:focus,.ur-frontend-form form .ur-form-row .ur-form-grid input[type=url]:focus,.ur-frontend-form form .ur-form-row .ur-form-grid select:focus,.ur-frontend-form form .ur-form-row .ur-form-grid textarea:focus{outline:0}.ur-frontend-form form .ur-form-row .ur-form-grid label,.ur-frontend-form form .ur-form-row .ur-form-grid legend{display:block;width:100%;margin-bottom:10px}.ur-frontend-form form .ur-form-row .ur-form-grid label .required,.ur-frontend-form form .ur-form-row .ur-form-grid legend .required{text-decoration:none;border:none;color:red}.ur-frontend-form form .ur-form-row .ur-form-grid textarea{padding:10px;height:100px;resize:none;padding:5px 20px}.ur-frontend-form form button[type=submit],.ur-frontend-form form input[type=submit]{float:right;padding:10px 20px;line-height:1em;text-align:center;word-break:break-word;white-space:normal;border:none;cursor:pointer;-webkit-transition:.9s all ease-out;-o-transition:.9s all ease-out;transition:.9s all ease-out}.ur-frontend-form form .ur-submit-button{margin-right:10px;margin-bottom:0}.ur-frontend-form label abbr.required{text-decoration:none;border:none;color:red}.ur-frontend-form.ur-frontend-form--bordered form .ur-form-row .ur-form-grid input[type=date],.ur-frontend-form.ur-frontend-form--bordered form .ur-form-row .ur-form-grid input[type=email],.ur-frontend-form.ur-frontend-form--bordered form .ur-form-row .ur-form-grid input[type=number],.ur-frontend-form.ur-frontend-form--bordered form .ur-form-row .ur-form-grid input[type=password],.ur-frontend-form.ur-frontend-form--bordered form .ur-form-row .ur-form-grid input[type=text],.ur-frontend-form.ur-frontend-form--bordered form .ur-form-row .ur-form-grid input[type=url],.ur-frontend-form.ur-frontend-form--bordered form .ur-form-row .ur-form-grid select,.ur-frontend-form.ur-frontend-form--bordered form .ur-form-row .ur-form-grid textarea{border:none;border-bottom:1px solid #69717a;outline:0;transition:all .35s;padding:10px 15px;background:#f8f9fa;color:#69717a;height:45px}.ur-frontend-form.ur-frontend-form--bordered form .ur-form-row .ur-form-grid label,.ur-frontend-form.ur-frontend-form--bordered form .ur-form-row .ur-form-grid legend{font-weight:600;line-height:2.5;margin-left:5px;color:#69717a}.ur-frontend-form.ur-frontend-form--bordered form .ur-form-row .ur-form-grid textarea{height:100px}.ur-frontend-form.ur-frontend-form--bordered form button[type=submit],.ur-frontend-form.ur-frontend-form--bordered form input[type=submit]{background:#f8f9fa;border:1px solid #69717a;color:#69717a;border-radius:0}.ur-frontend-form.ur-frontend-form--bordered form button[type=submit]:hover,.ur-frontend-form.ur-frontend-form--bordered form input[type=submit]:hover{background:#3498db;color:#fff;border-color:#3498db}.ur-frontend-form.ur-frontend-form--flat{background:#f7f7f7;border:none transparent}.ur-frontend-form.ur-frontend-form--flat form .ur-form-row .ur-form-grid .form-row,.ur-frontend-form.ur-frontend-form--flat form .ur-form-row .ur-form-grid .ur-field-item{margin-bottom:0}.ur-frontend-form.ur-frontend-form--flat form .ur-form-row .ur-form-grid input[type=date],.ur-frontend-form.ur-frontend-form--flat form .ur-form-row .ur-form-grid input[type=email],.ur-frontend-form.ur-frontend-form--flat form .ur-form-row .ur-form-grid input[type=number],.ur-frontend-form.ur-frontend-form--flat form .ur-form-row .ur-form-grid input[type=password],.ur-frontend-form.ur-frontend-form--flat form .ur-form-row .ur-form-grid input[type=text],.ur-frontend-form.ur-frontend-form--flat form .ur-form-row .ur-form-grid input[type=url],.ur-frontend-form.ur-frontend-form--flat form .ur-form-row .ur-form-grid select,.ur-frontend-form.ur-frontend-form--flat form .ur-form-row .ur-form-grid textarea{border:none;outline:0;padding:10px 15px;background:#fff;color:#69717a;margin-bottom:10px;height:45px}.ur-frontend-form.ur-frontend-form--flat form .ur-form-row .ur-form-grid input[type=date]:focus,.ur-frontend-form.ur-frontend-form--flat form .ur-form-row .ur-form-grid input[type=email]:focus,.ur-frontend-form.ur-frontend-form--flat form .ur-form-row .ur-form-grid input[type=number]:focus,.ur-frontend-form.ur-frontend-form--flat form .ur-form-row .ur-form-grid input[type=password]:focus,.ur-frontend-form.ur-frontend-form--flat form .ur-form-row .ur-form-grid input[type=text]:focus,.ur-frontend-form.ur-frontend-form--flat form .ur-form-row .ur-form-grid input[type=url]:focus,.ur-frontend-form.ur-frontend-form--flat form .ur-form-row .ur-form-grid select:focus,.ur-frontend-form.ur-frontend-form--flat form .ur-form-row .ur-form-grid textarea:focus{box-shadow:0 0 10px 5px rgba(0,0,0,.05)}.ur-frontend-form.ur-frontend-form--flat form .ur-form-row .ur-form-grid select{margin-bottom:10px}.ur-frontend-form.ur-frontend-form--flat form .ur-form-row .ur-form-grid label,.ur-frontend-form.ur-frontend-form--flat form .ur-form-row .ur-form-grid legend{font-weight:600;line-height:2.5;color:#69717a}.ur-frontend-form.ur-frontend-form--flat form .ur-form-row .ur-form-grid textarea{height:100px}.ur-frontend-form.ur-frontend-form--rounded form .ur-form-row .ur-form-grid input[type=date],.ur-frontend-form.ur-frontend-form--rounded form .ur-form-row .ur-form-grid input[type=email],.ur-frontend-form.ur-frontend-form--rounded form .ur-form-row .ur-form-grid input[type=number],.ur-frontend-form.ur-frontend-form--rounded form .ur-form-row .ur-form-grid input[type=password],.ur-frontend-form.ur-frontend-form--rounded form .ur-form-row .ur-form-grid input[type=text],.ur-frontend-form.ur-frontend-form--rounded form .ur-form-row .ur-form-grid input[type=url],.ur-frontend-form.ur-frontend-form--rounded form .ur-form-row .ur-form-grid select,.ur-frontend-form.ur-frontend-form--rounded form .ur-form-row .ur-form-grid textarea{border:1px solid #ced4da;border-radius:25px;outline:0;transition:all .35s;padding:10px 15px;background:#fff;color:#69717a;height:45px}.ur-frontend-form.ur-frontend-form--rounded form .ur-form-row .ur-form-grid button[type=button]{border-radius:25px}.ur-frontend-form.ur-frontend-form--rounded form .ur-form-row .ur-form-grid label,.ur-frontend-form.ur-frontend-form--rounded form .ur-form-row .ur-form-grid legend{font-weight:600;line-height:2.5;margin-left:5px;color:#69717a}.ur-frontend-form.ur-frontend-form--rounded form .ur-form-row .ur-form-grid textarea{height:100px}.ur-frontend-form.ur-frontend-form--rounded form button[type=submit],.ur-frontend-form.ur-frontend-form--rounded form input[type=submit]{background:#006aff;border:0 none;color:#fff;border-radius:25px;float:none;width:calc(100% - 20px);display:block;margin:0 auto;padding:15px 20px}.ur-frontend-form.ur-frontend-form--rounded.ur-frontend-form--rounded-edge form .ur-form-row .ur-form-grid input[type=date],.ur-frontend-form.ur-frontend-form--rounded.ur-frontend-form--rounded-edge form .ur-form-row .ur-form-grid input[type=email],.ur-frontend-form.ur-frontend-form--rounded.ur-frontend-form--rounded-edge form .ur-form-row .ur-form-grid input[type=number],.ur-frontend-form.ur-frontend-form--rounded.ur-frontend-form--rounded-edge form .ur-form-row .ur-form-grid input[type=password],.ur-frontend-form.ur-frontend-form--rounded.ur-frontend-form--rounded-edge form .ur-form-row .ur-form-grid input[type=text],.ur-frontend-form.ur-frontend-form--rounded.ur-frontend-form--rounded-edge form .ur-form-row .ur-form-grid input[type=url],.ur-frontend-form.ur-frontend-form--rounded.ur-frontend-form--rounded-edge form .ur-form-row .ur-form-grid select,.ur-frontend-form.ur-frontend-form--rounded.ur-frontend-form--rounded-edge form .ur-form-row .ur-form-grid textarea{border-radius:2px}.ur-frontend-form.ur-frontend-form--rounded.ur-frontend-form--rounded-edge form .ur-form-row .ur-form-grid button[type=button]{border-radius:2px}.ur-frontend-form.ur-frontend-form--rounded.ur-frontend-form--rounded-edge form button[type=submit],.ur-frontend-form.ur-frontend-form--rounded.ur-frontend-form--rounded-edge form input[type=submit]{border-radius:2px}.ur-frontend-form #ur-submit-message-node{margin:20px 0 0 0!important}.ur-frontend-form #ur-submit-message-node.ur-error{background:rgba(206,0,0,.1)}.ur-frontend-form #ur-submit-message-node.ur-message.message{background:rgba(143,174,27,.2)}#user-registration *,#user-registration.user-registration{box-sizing:border-box}#user-registration p{color:#333}#user-registration .user-registration-MyAccount-navigation{overflow:visible;margin:0}#user-registration .user-registration-MyAccount-navigation ul{margin:0;padding:0;display:-webkit-flex;display:flex;flex-wrap:wrap}#user-registration .user-registration-MyAccount-navigation ul .user-registration-MyAccount-navigation-link{list-style:none;padding:0;margin:0;display:inline-block;border-left:1px solid #fff;border-top:1px solid #fff;border-right:1px solid #fff;position:relative;box-shadow:0 0 0 transparent}#user-registration .user-registration-MyAccount-navigation ul .user-registration-MyAccount-navigation-link a{color:#666;padding:10px 15px;display:block;font-weight:600;font-size:15px;font-family:sans-serif;text-decoration:none;box-shadow:0 0 0 transparent}#user-registration .user-registration-MyAccount-navigation ul .user-registration-MyAccount-navigation-link.is-active{background-color:#fcfcfc;border-left:1px solid #ddd;border-top:1px solid #ddd;border-right:1px solid #ddd}#user-registration .user-registration-MyAccount-navigation ul .user-registration-MyAccount-navigation-link.is-active:before{position:absolute;bottom:-1px;left:0;content:" ";width:100%;height:1px;background-color:#fcfcfc}#user-registration .user-registration-MyAccount-content{background:#fcfcfc;padding:15px 20px;border:1px solid #ddd}#user-registration .user-registration-MyAccount-content .ur-form-grid{padding:0;border:0 none;background:0 0}#user-registration .user-registration-MyAccount-content .ur-frontend-form{border:none}.user-registration-password-strength{text-align:center;font-weight:600;padding:3px .5em;font-size:1em}.user-registration-password-strength.strong{background-color:#c1e1b9;border-color:#83c373}.user-registration-password-strength.short{background-color:#f1adad;border-color:#e35b5b}.user-registration-password-strength.bad{background-color:#fbc5a9;border-color:#f78b53}.user-registration-password-strength.good{background-color:#ffe399;border-color:#ffc733}.user-registration-password-hint{margin:.5em 0 0;display:block}.ur-front-spinner{background:url(../images/wpspin_light-2x.gif) no-repeat;background-size:16px 16px;display:block;opacity:.7;width:16px;height:16px;margin-left:-40px;float:left}
1
+ .ur-registered-item.ui-draggable-dragging{padding:10px 10px;line-height:20px;background:#3498db;color:#fff;text-align:center;margin-bottom:7px;word-break:break-word;white-space:normal;width:200px!important}.ur-registered-item.ui-draggable-dragging span{font-size:14px;line-height:20px;width:auto;height:auto;margin-right:3px}.clear{clear:both}.user-registration-error,.user-registration-info,.user-registration-message{padding:1.5em 2em 1.5em 3.5em;margin:0 0 2em;position:relative;background-color:#f7f6f7;color:#515151;border-top:3px solid #a46497;list-style:none outside;width:auto;word-wrap:break-word;line-height:1.5;text-transform:none;font-size:14px}.user-registration-error::after,.user-registration-error::before,.user-registration-info::after,.user-registration-info::before,.user-registration-message::after,.user-registration-message::before{content:' ';display:table}.user-registration-error::after,.user-registration-info::after,.user-registration-message::after{clear:both}.user-registration-error::before,.user-registration-info::before,.user-registration-message::before{font-family:Dashicons;content:'\f348';display:inline-block;position:absolute;top:1em;left:.9em;font-size:18px;line-height:1.5}.user-registration-error ul,.user-registration-info ul,.user-registration-message ul{margin:0!important;padding:0!important;background-color:transparent!important}.user-registration-error .button,.user-registration-info .button,.user-registration-message .button{float:right}.user-registration-error li,.user-registration-info li,.user-registration-message li{list-style:none outside!important;padding-left:0!important;margin-left:0!important}.user-registration-error .message,.user-registration-info .message,.user-registration-message .message{margin:0;padding:0}.user-registration-message{border-top-color:#8fae1b;background:rgba(143,174,27,.1);color:#596c11}.user-registration-message::before{color:#8fae1b}.user-registration-info{border-top-color:#1e85be}.user-registration-info::before{color:#1e85be}.user-registration-error{border-top-color:#d82223;background:rgba(216,34,35,.1);color:#961818}.user-registration-error::before{content:'\f534';color:#d82223}.ur-frontend-form{margin-bottom:30px;border:1px solid #ddd;padding:20px;box-sizing:border-box}.ur-frontend-form:last-child{margin-bottom:0}.ur-frontend-form.login{margin:0;padding:10px;box-shadow:none;background:0 0}.ur-frontend-form.login input[name=rememberme]#rememberme{vertical-align:middle}.ur-frontend-form *{box-sizing:border-box}.ur-frontend-form form .ur-form-row{display:flex}.ur-frontend-form form .ur-form-row:last-child{margin-bottom:0}.ur-frontend-form form .ur-form-row .ur-form-grid{flex:1;padding:0 10px}.ur-frontend-form form .ur-form-row .ur-form-grid:nth-child(1n+2){border-left:0 none}.ur-frontend-form form .ur-form-row .ur-form-grid .ur-field-item{margin-bottom:20px;font-size:13px}.ur-frontend-form form .ur-form-row .ur-form-grid .ur-field-item:last-child{margin-bottom:0}.ur-frontend-form form .ur-form-row .ur-form-grid input[type=date],.ur-frontend-form form .ur-form-row .ur-form-grid input[type=email],.ur-frontend-form form .ur-form-row .ur-form-grid input[type=number],.ur-frontend-form form .ur-form-row .ur-form-grid input[type=password],.ur-frontend-form form .ur-form-row .ur-form-grid input[type=phone],.ur-frontend-form form .ur-form-row .ur-form-grid input[type=text],.ur-frontend-form form .ur-form-row .ur-form-grid input[type=timepicker],.ur-frontend-form form .ur-form-row .ur-form-grid input[type=url],.ur-frontend-form form .ur-form-row .ur-form-grid select,.ur-frontend-form form .ur-form-row .ur-form-grid textarea{display:block;width:100%;border-radius:0;height:40px;margin-bottom:10px}.ur-frontend-form form .ur-form-row .ur-form-grid input[type=date]::-webkit-input-placeholder,.ur-frontend-form form .ur-form-row .ur-form-grid input[type=email]::-webkit-input-placeholder,.ur-frontend-form form .ur-form-row .ur-form-grid input[type=number]::-webkit-input-placeholder,.ur-frontend-form form .ur-form-row .ur-form-grid input[type=password]::-webkit-input-placeholder,.ur-frontend-form form .ur-form-row .ur-form-grid input[type=phone]::-webkit-input-placeholder,.ur-frontend-form form .ur-form-row .ur-form-grid input[type=text]::-webkit-input-placeholder,.ur-frontend-form form .ur-form-row .ur-form-grid input[type=timepicker]::-webkit-input-placeholder,.ur-frontend-form form .ur-form-row .ur-form-grid input[type=url]::-webkit-input-placeholder,.ur-frontend-form form .ur-form-row .ur-form-grid select::-webkit-input-placeholder,.ur-frontend-form form .ur-form-row .ur-form-grid textarea::-webkit-input-placeholder{color:#ddd;font-size:13px}.ur-frontend-form form .ur-form-row .ur-form-grid input[type=date]::-moz-placeholder,.ur-frontend-form form .ur-form-row .ur-form-grid input[type=email]::-moz-placeholder,.ur-frontend-form form .ur-form-row .ur-form-grid input[type=number]::-moz-placeholder,.ur-frontend-form form .ur-form-row .ur-form-grid input[type=password]::-moz-placeholder,.ur-frontend-form form .ur-form-row .ur-form-grid input[type=phone]::-moz-placeholder,.ur-frontend-form form .ur-form-row .ur-form-grid input[type=text]::-moz-placeholder,.ur-frontend-form form .ur-form-row .ur-form-grid input[type=timepicker]::-moz-placeholder,.ur-frontend-form form .ur-form-row .ur-form-grid input[type=url]::-moz-placeholder,.ur-frontend-form form .ur-form-row .ur-form-grid select::-moz-placeholder,.ur-frontend-form form .ur-form-row .ur-form-grid textarea::-moz-placeholder{color:#ddd;font-size:13px}.ur-frontend-form form .ur-form-row .ur-form-grid input[type=date]:-ms-input-placeholder,.ur-frontend-form form .ur-form-row .ur-form-grid input[type=email]:-ms-input-placeholder,.ur-frontend-form form .ur-form-row .ur-form-grid input[type=number]:-ms-input-placeholder,.ur-frontend-form form .ur-form-row .ur-form-grid input[type=password]:-ms-input-placeholder,.ur-frontend-form form .ur-form-row .ur-form-grid input[type=phone]:-ms-input-placeholder,.ur-frontend-form form .ur-form-row .ur-form-grid input[type=text]:-ms-input-placeholder,.ur-frontend-form form .ur-form-row .ur-form-grid input[type=timepicker]:-ms-input-placeholder,.ur-frontend-form form .ur-form-row .ur-form-grid input[type=url]:-ms-input-placeholder,.ur-frontend-form form .ur-form-row .ur-form-grid select:-ms-input-placeholder,.ur-frontend-form form .ur-form-row .ur-form-grid textarea:-ms-input-placeholder{color:#ddd;font-size:13px}.ur-frontend-form form .ur-form-row .ur-form-grid input[type=date]:-moz-placeholder,.ur-frontend-form form .ur-form-row .ur-form-grid input[type=email]:-moz-placeholder,.ur-frontend-form form .ur-form-row .ur-form-grid input[type=number]:-moz-placeholder,.ur-frontend-form form .ur-form-row .ur-form-grid input[type=password]:-moz-placeholder,.ur-frontend-form form .ur-form-row .ur-form-grid input[type=phone]:-moz-placeholder,.ur-frontend-form form .ur-form-row .ur-form-grid input[type=text]:-moz-placeholder,.ur-frontend-form form .ur-form-row .ur-form-grid input[type=timepicker]:-moz-placeholder,.ur-frontend-form form .ur-form-row .ur-form-grid input[type=url]:-moz-placeholder,.ur-frontend-form form .ur-form-row .ur-form-grid select:-moz-placeholder,.ur-frontend-form form .ur-form-row .ur-form-grid textarea:-moz-placeholder{color:#ddd;font-size:13px}.ur-frontend-form form .ur-form-row .ur-form-grid input[type=checkbox],.ur-frontend-form form .ur-form-row .ur-form-grid input[type=radio]{font-size:12px;display:inline-block;vertical-align:middle;margin-right:5px;margin-left:20px}.ur-frontend-form form .ur-form-row .ur-form-grid input[type=checkbox]:first-child,.ur-frontend-form form .ur-form-row .ur-form-grid input[type=radio]:first-child{margin-left:0}.ur-frontend-form form .ur-form-row .ur-form-grid button:focus,.ur-frontend-form form .ur-form-row .ur-form-grid input[type=email]:focus,.ur-frontend-form form .ur-form-row .ur-form-grid input[type=password]:focus,.ur-frontend-form form .ur-form-row .ur-form-grid input[type=radio]:focus,.ur-frontend-form form .ur-form-row .ur-form-grid input[type=text]:focus,.ur-frontend-form form .ur-form-row .ur-form-grid input[type=url]:focus,.ur-frontend-form form .ur-form-row .ur-form-grid select:focus,.ur-frontend-form form .ur-form-row .ur-form-grid textarea:focus{outline:0}.ur-frontend-form form .ur-form-row .ur-form-grid label,.ur-frontend-form form .ur-form-row .ur-form-grid legend{display:block;width:100%;margin-bottom:10px}.ur-frontend-form form .ur-form-row .ur-form-grid label .required,.ur-frontend-form form .ur-form-row .ur-form-grid legend .required{text-decoration:none;border:none;color:red}.ur-frontend-form form .ur-form-row .ur-form-grid textarea{padding:10px;height:100px;resize:none;padding:5px 20px}.ur-frontend-form form button[type=submit],.ur-frontend-form form input[type=submit]{float:right;padding:10px 20px;line-height:1em;text-align:center;word-break:break-word;white-space:normal;border:none;cursor:pointer;-webkit-transition:.9s all ease-out;-o-transition:.9s all ease-out;transition:.9s all ease-out}.ur-frontend-form form .ur-submit-button{margin-right:10px;margin-bottom:0}.ur-frontend-form label abbr.required{text-decoration:none;border:none;color:red}.ur-frontend-form.ur-frontend-form--bordered form .ur-form-row .ur-form-grid input[type=date],.ur-frontend-form.ur-frontend-form--bordered form .ur-form-row .ur-form-grid input[type=email],.ur-frontend-form.ur-frontend-form--bordered form .ur-form-row .ur-form-grid input[type=number],.ur-frontend-form.ur-frontend-form--bordered form .ur-form-row .ur-form-grid input[type=password],.ur-frontend-form.ur-frontend-form--bordered form .ur-form-row .ur-form-grid input[type=text],.ur-frontend-form.ur-frontend-form--bordered form .ur-form-row .ur-form-grid input[type=url],.ur-frontend-form.ur-frontend-form--bordered form .ur-form-row .ur-form-grid select,.ur-frontend-form.ur-frontend-form--bordered form .ur-form-row .ur-form-grid textarea{border:none;border-bottom:1px solid #69717a;outline:0;transition:all .35s;padding:10px 15px;background:#f8f9fa;color:#69717a;height:45px}.ur-frontend-form.ur-frontend-form--bordered form .ur-form-row .ur-form-grid label,.ur-frontend-form.ur-frontend-form--bordered form .ur-form-row .ur-form-grid legend{font-weight:600;line-height:2.5;margin-left:5px;color:#69717a}.ur-frontend-form.ur-frontend-form--bordered form .ur-form-row .ur-form-grid textarea{height:100px}.ur-frontend-form.ur-frontend-form--bordered form button[type=submit],.ur-frontend-form.ur-frontend-form--bordered form input[type=submit]{background:#f8f9fa;border:1px solid #69717a;color:#69717a;border-radius:0}.ur-frontend-form.ur-frontend-form--bordered form button[type=submit]:hover,.ur-frontend-form.ur-frontend-form--bordered form input[type=submit]:hover{background:#3498db;color:#fff;border-color:#3498db}.ur-frontend-form.ur-frontend-form--flat{background:#f7f7f7;border:none transparent}.ur-frontend-form.ur-frontend-form--flat form .ur-form-row .ur-form-grid .form-row,.ur-frontend-form.ur-frontend-form--flat form .ur-form-row .ur-form-grid .ur-field-item{margin-bottom:0}.ur-frontend-form.ur-frontend-form--flat form .ur-form-row .ur-form-grid input[type=date],.ur-frontend-form.ur-frontend-form--flat form .ur-form-row .ur-form-grid input[type=email],.ur-frontend-form.ur-frontend-form--flat form .ur-form-row .ur-form-grid input[type=number],.ur-frontend-form.ur-frontend-form--flat form .ur-form-row .ur-form-grid input[type=password],.ur-frontend-form.ur-frontend-form--flat form .ur-form-row .ur-form-grid input[type=text],.ur-frontend-form.ur-frontend-form--flat form .ur-form-row .ur-form-grid input[type=url],.ur-frontend-form.ur-frontend-form--flat form .ur-form-row .ur-form-grid select,.ur-frontend-form.ur-frontend-form--flat form .ur-form-row .ur-form-grid textarea{border:none;outline:0;padding:10px 15px;background:#fff;color:#69717a;margin-bottom:10px;height:45px}.ur-frontend-form.ur-frontend-form--flat form .ur-form-row .ur-form-grid input[type=date]:focus,.ur-frontend-form.ur-frontend-form--flat form .ur-form-row .ur-form-grid input[type=email]:focus,.ur-frontend-form.ur-frontend-form--flat form .ur-form-row .ur-form-grid input[type=number]:focus,.ur-frontend-form.ur-frontend-form--flat form .ur-form-row .ur-form-grid input[type=password]:focus,.ur-frontend-form.ur-frontend-form--flat form .ur-form-row .ur-form-grid input[type=text]:focus,.ur-frontend-form.ur-frontend-form--flat form .ur-form-row .ur-form-grid input[type=url]:focus,.ur-frontend-form.ur-frontend-form--flat form .ur-form-row .ur-form-grid select:focus,.ur-frontend-form.ur-frontend-form--flat form .ur-form-row .ur-form-grid textarea:focus{box-shadow:0 0 10px 5px rgba(0,0,0,.05)}.ur-frontend-form.ur-frontend-form--flat form .ur-form-row .ur-form-grid select{margin-bottom:10px}.ur-frontend-form.ur-frontend-form--flat form .ur-form-row .ur-form-grid label,.ur-frontend-form.ur-frontend-form--flat form .ur-form-row .ur-form-grid legend{font-weight:600;line-height:2.5;color:#69717a}.ur-frontend-form.ur-frontend-form--flat form .ur-form-row .ur-form-grid textarea{height:100px}.ur-frontend-form.ur-frontend-form--rounded form .ur-form-row .ur-form-grid input[type=date],.ur-frontend-form.ur-frontend-form--rounded form .ur-form-row .ur-form-grid input[type=email],.ur-frontend-form.ur-frontend-form--rounded form .ur-form-row .ur-form-grid input[type=number],.ur-frontend-form.ur-frontend-form--rounded form .ur-form-row .ur-form-grid input[type=password],.ur-frontend-form.ur-frontend-form--rounded form .ur-form-row .ur-form-grid input[type=text],.ur-frontend-form.ur-frontend-form--rounded form .ur-form-row .ur-form-grid input[type=url],.ur-frontend-form.ur-frontend-form--rounded form .ur-form-row .ur-form-grid select,.ur-frontend-form.ur-frontend-form--rounded form .ur-form-row .ur-form-grid textarea{border:1px solid #ced4da;border-radius:25px;outline:0;transition:all .35s;padding:10px 15px;background:#fff;color:#69717a;height:45px}.ur-frontend-form.ur-frontend-form--rounded form .ur-form-row .ur-form-grid button[type=button]{border-radius:25px}.ur-frontend-form.ur-frontend-form--rounded form .ur-form-row .ur-form-grid label,.ur-frontend-form.ur-frontend-form--rounded form .ur-form-row .ur-form-grid legend{font-weight:600;line-height:2.5;margin-left:5px;color:#69717a}.ur-frontend-form.ur-frontend-form--rounded form .ur-form-row .ur-form-grid textarea{height:100px}.ur-frontend-form.ur-frontend-form--rounded form button[type=submit],.ur-frontend-form.ur-frontend-form--rounded form input[type=submit]{background:#006aff;border:0 none;color:#fff;border-radius:25px;float:none;width:calc(100% - 20px);display:block;margin:0 auto;padding:15px 20px}.ur-frontend-form.ur-frontend-form--rounded.ur-frontend-form--rounded-edge form .ur-form-row .ur-form-grid input[type=date],.ur-frontend-form.ur-frontend-form--rounded.ur-frontend-form--rounded-edge form .ur-form-row .ur-form-grid input[type=email],.ur-frontend-form.ur-frontend-form--rounded.ur-frontend-form--rounded-edge form .ur-form-row .ur-form-grid input[type=number],.ur-frontend-form.ur-frontend-form--rounded.ur-frontend-form--rounded-edge form .ur-form-row .ur-form-grid input[type=password],.ur-frontend-form.ur-frontend-form--rounded.ur-frontend-form--rounded-edge form .ur-form-row .ur-form-grid input[type=text],.ur-frontend-form.ur-frontend-form--rounded.ur-frontend-form--rounded-edge form .ur-form-row .ur-form-grid input[type=url],.ur-frontend-form.ur-frontend-form--rounded.ur-frontend-form--rounded-edge form .ur-form-row .ur-form-grid select,.ur-frontend-form.ur-frontend-form--rounded.ur-frontend-form--rounded-edge form .ur-form-row .ur-form-grid textarea{border-radius:2px}.ur-frontend-form.ur-frontend-form--rounded.ur-frontend-form--rounded-edge form .ur-form-row .ur-form-grid button[type=button]{border-radius:2px}.ur-frontend-form.ur-frontend-form--rounded.ur-frontend-form--rounded-edge form button[type=submit],.ur-frontend-form.ur-frontend-form--rounded.ur-frontend-form--rounded-edge form input[type=submit]{border-radius:2px}.ur-frontend-form #ur-submit-message-node{margin:20px 0 0 0!important}.ur-frontend-form #ur-submit-message-node.ur-error{background:rgba(206,0,0,.1)}.ur-frontend-form #ur-submit-message-node.ur-message.message{background:rgba(143,174,27,.2)}#user-registration *,#user-registration.user-registration{box-sizing:border-box}#user-registration p{color:#333}#user-registration .user-registration-MyAccount-navigation{overflow:visible;margin:0}#user-registration .user-registration-MyAccount-navigation ul{margin:0;padding:0;display:-webkit-flex;display:flex;flex-wrap:wrap}#user-registration .user-registration-MyAccount-navigation ul .user-registration-MyAccount-navigation-link{list-style:none;padding:0;margin:0;display:inline-block;border-left:1px solid #fff;border-top:1px solid #fff;border-right:1px solid #fff;position:relative;box-shadow:0 0 0 transparent}#user-registration .user-registration-MyAccount-navigation ul .user-registration-MyAccount-navigation-link a{color:#666;padding:10px 15px;display:block;font-weight:600;font-size:15px;font-family:sans-serif;text-decoration:none;box-shadow:0 0 0 transparent}#user-registration .user-registration-MyAccount-navigation ul .user-registration-MyAccount-navigation-link.is-active{background-color:#fcfcfc;border-left:1px solid #ddd;border-top:1px solid #ddd;border-right:1px solid #ddd}#user-registration .user-registration-MyAccount-navigation ul .user-registration-MyAccount-navigation-link.is-active:before{position:absolute;bottom:-1px;left:0;content:" ";width:100%;height:1px;background-color:#fcfcfc}#user-registration .user-registration-MyAccount-content{background:#fcfcfc;padding:15px 20px;border:1px solid #ddd}#user-registration .user-registration-MyAccount-content .ur-form-grid{padding:0;border:0 none;background:0 0}#user-registration .user-registration-MyAccount-content .ur-frontend-form{border:none}.user-registration-password-strength{text-align:center;font-weight:600;padding:3px .5em;font-size:1em}.user-registration-password-strength.strong{background-color:#c1e1b9;border-color:#83c373}.user-registration-password-strength.short{background-color:#f1adad;border-color:#e35b5b}.user-registration-password-strength.bad{background-color:#fbc5a9;border-color:#f78b53}.user-registration-password-strength.good{background-color:#ffe399;border-color:#ffc733}.user-registration-password-hint{margin:.5em 0 0;display:block}.ur-front-spinner{background:url(../images/wpspin_light-2x.gif) no-repeat;background-size:16px 16px;display:block;opacity:.7;width:16px;height:16px;margin-left:-40px;float:left}
assets/css/user-registration.scss CHANGED
@@ -38,7 +38,7 @@
38
  line-height: 1.5;
39
  text-transform: none;
40
  font-size: 14px;
41
-
42
  &::before {
43
  font-family: 'Dashicons';
44
  content: '\f348';
@@ -49,17 +49,17 @@
49
  font-size: 18px;
50
  line-height: 1.5;
51
  }
52
-
53
  ul {
54
  margin: 0 !important;
55
  padding: 0 !important;
56
  background-color: transparent !important;
57
  }
58
-
59
  .button {
60
  float: right;
61
  }
62
-
63
  li {
64
  list-style: none outside !important; // Required for default theme compatibility
65
  padding-left: 0 !important; // Required for default theme compatibility
@@ -74,7 +74,7 @@
74
  border-top-color: #8fae1b;
75
  background: rgba( #8fae1b, 0.1 );
76
  color: darken( #8fae1b, 15%);
77
-
78
  &::before {
79
  color: #8fae1b;
80
  }
@@ -82,7 +82,7 @@
82
 
83
  .user-registration-info {
84
  border-top-color: #1e85be;
85
-
86
  &::before {
87
  color: #1e85be;
88
  }
@@ -92,7 +92,7 @@
92
  border-top-color: $color_danger;
93
  background: rgba( $color_danger, 0.1 );
94
  color: darken( $color_danger, 15%);
95
-
96
  &::before {
97
  content: '\f534';
98
  color: $color_danger;
@@ -104,42 +104,42 @@
104
  border: 1px solid $color_gray_six;
105
  padding: 20px;
106
  box-sizing: border-box;
107
-
108
  &:last-child {
109
  margin-bottom: 0;
110
  }
111
-
112
  &.login {
113
  margin: 0;
114
  padding: 10px;
115
  box-shadow: none;
116
  background: none;
117
  input[name="rememberme"]#rememberme{
118
-
119
  vertical-align:middle;
120
  }
121
  }
122
-
123
  * {
124
  box-sizing: border-box;
125
  }
126
-
127
  form {
128
  .ur-form-row {
129
  display: flex;
130
-
131
  &:last-child {
132
  margin-bottom: 0;
133
  }
134
-
135
  .ur-form-grid {
136
  flex: 1;
137
  padding: 0 10px;
138
-
139
  &:nth-child(1n+2) {
140
  border-left: 0 none;
141
  }
142
-
143
  .ur-field-item {
144
  margin-bottom: 20px;
145
  font-size: 13px;
@@ -147,13 +147,15 @@
147
  margin-bottom: 0;
148
  }
149
  }
150
-
151
  input[type="text"],
152
  input[type="email"],
153
  input[type="url"],
154
  input[type="password"],
155
  input[type="date"],
156
  input[type="number"],
 
 
157
  textarea,
158
  select {
159
  display: block;
@@ -169,20 +171,20 @@
169
  &::-moz-placeholder { /* Firefox 19+ */
170
  color: #ddd;
171
  font-size:13px;
172
-
173
  }
174
  &:-ms-input-placeholder { /* IE 10+ */
175
  color: #ddd;
176
  font-size:13px;
177
-
178
  }
179
  &:-moz-placeholder { /* Firefox 18- */
180
  color: #ddd;
181
  font-size:13px;
182
-
183
  }
184
  }
185
-
186
  input[type="checkbox"],
187
  input[type="radio"]{
188
  font-size: 12px;
@@ -190,12 +192,12 @@
190
  vertical-align: middle;
191
  margin-right: 5px;
192
  margin-left: 20px;
193
-
194
  &:first-child {
195
  margin-left: 0;
196
  }
197
  }
198
-
199
  input[type="radio"]:focus,
200
  input[type="text"]:focus,
201
  input[type="email"]:focus,
@@ -206,21 +208,21 @@
206
  button:focus {
207
  outline: 0;
208
  }
209
-
210
  legend,
211
  label {
212
  display: block;
213
  width: 100%;
214
  margin-bottom: 10px;
215
-
216
  .required {
217
-
218
  text-decoration: none;
219
  border: none;
220
  color: #ff0000;
221
  }
222
  }
223
-
224
  textarea {
225
  padding: 10px;
226
  height: 100px;
@@ -229,7 +231,7 @@
229
  }
230
  }
231
  }
232
-
233
  input[type="submit"],
234
  button[type="submit"] {
235
  float: right;
@@ -244,22 +246,22 @@
244
  -o-transition: 0.9s all ease-out;
245
  transition: 0.9s all ease-out;
246
  }
247
-
248
  .ur-submit-button {
249
  margin-right: 10px;
250
  margin-bottom: 0;
251
  }
252
  }
253
-
254
  label {
255
  abbr.required {
256
-
257
  text-decoration: none;
258
  border: none;
259
  color: #ff0000;
260
  }
261
  }
262
-
263
  &.ur-frontend-form--bordered {
264
  form {
265
  .ur-form-row {
@@ -281,7 +283,7 @@
281
  color: $label_color;
282
  height: 45px;
283
  }
284
-
285
  legend,
286
  label {
287
  font-weight: 600;
@@ -289,7 +291,7 @@
289
  margin-left: 5px;
290
  color: $label_color;
291
  }
292
-
293
  textarea {
294
  height: 100px;
295
  }
@@ -301,7 +303,7 @@
301
  border: 1px solid $label_color;
302
  color: $label_color;
303
  border-radius: 0;
304
-
305
  &:hover {
306
  background: $primary_color;
307
  color: $white;
@@ -310,11 +312,11 @@
310
  }
311
  }
312
  }
313
-
314
  &.ur-frontend-form--flat {
315
  background: $color_sortable_background;
316
  border: none transparent;
317
-
318
  form {
319
  .ur-form-row {
320
  .ur-form-grid {
@@ -322,7 +324,7 @@
322
  .form-row {
323
  margin-bottom: 0;
324
  }
325
-
326
  input[type="text"],
327
  input[type="email"],
328
  input[type="url"],
@@ -342,18 +344,18 @@
342
  box-shadow: 0 0 10px 5px rgba(0,0,0,.05);
343
  }
344
  }
345
-
346
  select {
347
  margin-bottom: 10px;
348
  }
349
-
350
  legend,
351
  label {
352
  font-weight: 600;
353
  line-height: 2.5;
354
  color: $label_color;
355
  }
356
-
357
  textarea {
358
  height: 100px;
359
  }
@@ -361,7 +363,7 @@
361
  }
362
  }
363
  }
364
-
365
  &.ur-frontend-form--rounded {
366
  form {
367
  .ur-form-row {
@@ -383,7 +385,7 @@
383
  color: $label_color;
384
  height: 45px;
385
  }
386
-
387
  button[type="button"]{
388
  border-radius: 25px;
389
  }
@@ -394,7 +396,7 @@
394
  margin-left: 5px;
395
  color: $label_color;
396
  }
397
-
398
  textarea {
399
  height: 100px;
400
  }
@@ -417,7 +419,7 @@
417
  form {
418
  .ur-form-row {
419
  .ur-form-grid {
420
-
421
  input[type="text"],
422
  input[type="email"],
423
  input[type="url"],
@@ -428,7 +430,7 @@
428
  select {
429
  border-radius: 2px;
430
  }
431
-
432
  button[type="button"]{
433
  border-radius: 2px;
434
  }
@@ -442,12 +444,12 @@
442
  }
443
  }
444
  #ur-submit-message-node{
445
-
446
  margin : 20px 0 0 0!important;
447
  &.ur-error{
448
  background: rgba(206, 0, 0, 0.1);
449
  }
450
-
451
  &.ur-message.message{
452
  background: rgba(143, 174, 27,0.2);
453
  }
@@ -459,7 +461,7 @@
459
  *{
460
  box-sizing: border-box;
461
  }
462
-
463
  p {
464
  color: #333333;
465
  }
@@ -467,14 +469,14 @@
467
  .user-registration-MyAccount-navigation {
468
  overflow: visible;
469
  margin: 0;
470
-
471
  ul {
472
  margin: 0;
473
  padding: 0;
474
  display: -webkit-flex;
475
  display:flex;
476
  flex-wrap: wrap;
477
-
478
  .user-registration-MyAccount-navigation-link {
479
  list-style: none;
480
  padding: 0;
@@ -485,7 +487,7 @@
485
  border-right: 1px solid $white;
486
  position:relative;
487
  box-shadow: 0 0 0 rgba(0,0,0,0);
488
-
489
  a {
490
  color: $color_gray_two;
491
  padding: 10px 15px;
@@ -496,13 +498,13 @@
496
  text-decoration: none;
497
  box-shadow: 0 0 0 rgba(0,0,0,0);
498
  }
499
-
500
  &.is-active {
501
  background-color: $color_gray_eleven;
502
  border-left: 1px solid $color_gray_six;
503
  border-top: 1px solid $color_gray_six;
504
  border-right: 1px solid $color_gray_six;
505
-
506
  &:before {
507
  position: absolute;
508
  bottom: -1px;
@@ -516,18 +518,18 @@
516
  }
517
  }
518
  }
519
-
520
  .user-registration-MyAccount-content {
521
  background: $color_gray_eleven;
522
  padding: 15px 20px;
523
  border: 1px solid $color_gray_six;
524
-
525
  .ur-form-grid{
526
  padding: 0;
527
  border: 0 none;
528
  background: transparent;
529
  }
530
-
531
  .ur-frontend-form {
532
  border: none;
533
  }
@@ -542,22 +544,22 @@
542
  font-weight: 600;
543
  padding: 3px 0.5em;
544
  font-size: 1em;
545
-
546
  &.strong {
547
  background-color: #c1e1b9;
548
  border-color: #83c373;
549
  }
550
-
551
  &.short {
552
  background-color: #f1adad;
553
  border-color: #e35b5b;
554
  }
555
-
556
  &.bad {
557
  background-color: #fbc5a9;
558
  border-color: #f78b53;
559
  }
560
-
561
  &.good {
562
  background-color: #ffe399;
563
  border-color: #ffc733;
38
  line-height: 1.5;
39
  text-transform: none;
40
  font-size: 14px;
41
+
42
  &::before {
43
  font-family: 'Dashicons';
44
  content: '\f348';
49
  font-size: 18px;
50
  line-height: 1.5;
51
  }
52
+
53
  ul {
54
  margin: 0 !important;
55
  padding: 0 !important;
56
  background-color: transparent !important;
57
  }
58
+
59
  .button {
60
  float: right;
61
  }
62
+
63
  li {
64
  list-style: none outside !important; // Required for default theme compatibility
65
  padding-left: 0 !important; // Required for default theme compatibility
74
  border-top-color: #8fae1b;
75
  background: rgba( #8fae1b, 0.1 );
76
  color: darken( #8fae1b, 15%);
77
+
78
  &::before {
79
  color: #8fae1b;
80
  }
82
 
83
  .user-registration-info {
84
  border-top-color: #1e85be;
85
+
86
  &::before {
87
  color: #1e85be;
88
  }
92
  border-top-color: $color_danger;
93
  background: rgba( $color_danger, 0.1 );
94
  color: darken( $color_danger, 15%);
95
+
96
  &::before {
97
  content: '\f534';
98
  color: $color_danger;
104
  border: 1px solid $color_gray_six;
105
  padding: 20px;
106
  box-sizing: border-box;
107
+
108
  &:last-child {
109
  margin-bottom: 0;
110
  }
111
+
112
  &.login {
113
  margin: 0;
114
  padding: 10px;
115
  box-shadow: none;
116
  background: none;
117
  input[name="rememberme"]#rememberme{
118
+
119
  vertical-align:middle;
120
  }
121
  }
122
+
123
  * {
124
  box-sizing: border-box;
125
  }
126
+
127
  form {
128
  .ur-form-row {
129
  display: flex;
130
+
131
  &:last-child {
132
  margin-bottom: 0;
133
  }
134
+
135
  .ur-form-grid {
136
  flex: 1;
137
  padding: 0 10px;
138
+
139
  &:nth-child(1n+2) {
140
  border-left: 0 none;
141
  }
142
+
143
  .ur-field-item {
144
  margin-bottom: 20px;
145
  font-size: 13px;
147
  margin-bottom: 0;
148
  }
149
  }
150
+
151
  input[type="text"],
152
  input[type="email"],
153
  input[type="url"],
154
  input[type="password"],
155
  input[type="date"],
156
  input[type="number"],
157
+ input[type="timepicker"],
158
+ input[type="phone"],
159
  textarea,
160
  select {
161
  display: block;
171
  &::-moz-placeholder { /* Firefox 19+ */
172
  color: #ddd;
173
  font-size:13px;
174
+
175
  }
176
  &:-ms-input-placeholder { /* IE 10+ */
177
  color: #ddd;
178
  font-size:13px;
179
+
180
  }
181
  &:-moz-placeholder { /* Firefox 18- */
182
  color: #ddd;
183
  font-size:13px;
184
+
185
  }
186
  }
187
+
188
  input[type="checkbox"],
189
  input[type="radio"]{
190
  font-size: 12px;
192
  vertical-align: middle;
193
  margin-right: 5px;
194
  margin-left: 20px;
195
+
196
  &:first-child {
197
  margin-left: 0;
198
  }
199
  }
200
+
201
  input[type="radio"]:focus,
202
  input[type="text"]:focus,
203
  input[type="email"]:focus,
208
  button:focus {
209
  outline: 0;
210
  }
211
+
212
  legend,
213
  label {
214
  display: block;
215
  width: 100%;
216
  margin-bottom: 10px;
217
+
218
  .required {
219
+
220
  text-decoration: none;
221
  border: none;
222
  color: #ff0000;
223
  }
224
  }
225
+
226
  textarea {
227
  padding: 10px;
228
  height: 100px;
231
  }
232
  }
233
  }
234
+
235
  input[type="submit"],
236
  button[type="submit"] {
237
  float: right;
246
  -o-transition: 0.9s all ease-out;
247
  transition: 0.9s all ease-out;
248
  }
249
+
250
  .ur-submit-button {
251
  margin-right: 10px;
252
  margin-bottom: 0;
253
  }
254
  }
255
+
256
  label {
257
  abbr.required {
258
+
259
  text-decoration: none;
260
  border: none;
261
  color: #ff0000;
262
  }
263
  }
264
+
265
  &.ur-frontend-form--bordered {
266
  form {
267
  .ur-form-row {
283
  color: $label_color;
284
  height: 45px;
285
  }
286
+
287
  legend,
288
  label {
289
  font-weight: 600;
291
  margin-left: 5px;
292
  color: $label_color;
293
  }
294
+
295
  textarea {
296
  height: 100px;
297
  }
303
  border: 1px solid $label_color;
304
  color: $label_color;
305
  border-radius: 0;
306
+
307
  &:hover {
308
  background: $primary_color;
309
  color: $white;
312
  }
313
  }
314
  }
315
+
316
  &.ur-frontend-form--flat {
317
  background: $color_sortable_background;
318
  border: none transparent;
319
+
320
  form {
321
  .ur-form-row {
322
  .ur-form-grid {
324
  .form-row {
325
  margin-bottom: 0;
326
  }
327
+
328
  input[type="text"],
329
  input[type="email"],
330
  input[type="url"],
344
  box-shadow: 0 0 10px 5px rgba(0,0,0,.05);
345
  }
346
  }
347
+
348
  select {
349
  margin-bottom: 10px;
350
  }
351
+
352
  legend,
353
  label {
354
  font-weight: 600;
355
  line-height: 2.5;
356
  color: $label_color;
357
  }
358
+
359
  textarea {
360
  height: 100px;
361
  }
363
  }
364
  }
365
  }
366
+
367
  &.ur-frontend-form--rounded {
368
  form {
369
  .ur-form-row {
385
  color: $label_color;
386
  height: 45px;
387
  }
388
+
389
  button[type="button"]{
390
  border-radius: 25px;
391
  }
396
  margin-left: 5px;
397
  color: $label_color;
398
  }
399
+
400
  textarea {
401
  height: 100px;
402
  }
419
  form {
420
  .ur-form-row {
421
  .ur-form-grid {
422
+
423
  input[type="text"],
424
  input[type="email"],
425
  input[type="url"],
430
  select {
431
  border-radius: 2px;
432
  }
433
+
434
  button[type="button"]{
435
  border-radius: 2px;
436
  }
444
  }
445
  }
446
  #ur-submit-message-node{
447
+
448
  margin : 20px 0 0 0!important;
449
  &.ur-error{
450
  background: rgba(206, 0, 0, 0.1);
451
  }
452
+
453
  &.ur-message.message{
454
  background: rgba(143, 174, 27,0.2);
455
  }
461
  *{
462
  box-sizing: border-box;
463
  }
464
+
465
  p {
466
  color: #333333;
467
  }
469
  .user-registration-MyAccount-navigation {
470
  overflow: visible;
471
  margin: 0;
472
+
473
  ul {
474
  margin: 0;
475
  padding: 0;
476
  display: -webkit-flex;
477
  display:flex;
478
  flex-wrap: wrap;
479
+
480
  .user-registration-MyAccount-navigation-link {
481
  list-style: none;
482
  padding: 0;
487
  border-right: 1px solid $white;
488
  position:relative;
489
  box-shadow: 0 0 0 rgba(0,0,0,0);
490
+
491
  a {
492
  color: $color_gray_two;
493
  padding: 10px 15px;
498
  text-decoration: none;
499
  box-shadow: 0 0 0 rgba(0,0,0,0);
500
  }
501
+
502
  &.is-active {
503
  background-color: $color_gray_eleven;
504
  border-left: 1px solid $color_gray_six;
505
  border-top: 1px solid $color_gray_six;
506
  border-right: 1px solid $color_gray_six;
507
+
508
  &:before {
509
  position: absolute;
510
  bottom: -1px;
518
  }
519
  }
520
  }
521
+
522
  .user-registration-MyAccount-content {
523
  background: $color_gray_eleven;
524
  padding: 15px 20px;
525
  border: 1px solid $color_gray_six;
526
+
527
  .ur-form-grid{
528
  padding: 0;
529
  border: 0 none;
530
  background: transparent;
531
  }
532
+
533
  .ur-frontend-form {
534
  border: none;
535
  }
544
  font-weight: 600;
545
  padding: 3px 0.5em;
546
  font-size: 1em;
547
+
548
  &.strong {
549
  background-color: #c1e1b9;
550
  border-color: #83c373;
551
  }
552
+
553
  &.short {
554
  background-color: #f1adad;
555
  border-color: #e35b5b;
556
  }
557
+
558
  &.bad {
559
  background-color: #fbc5a9;
560
  border-color: #f78b53;
561
  }
562
+
563
  &.good {
564
  background-color: #ffe399;
565
  border-color: #ffc733;
assets/js/admin/admin.js CHANGED
@@ -6,7 +6,7 @@
6
  jQuery(function () {
7
 
8
  var mySelect = jQuery('#user_registration_general_setting_login_options option:selected').val();
9
-
10
  if ( mySelect == 'email_confirmation' ) {
11
  jQuery('#user_registration_general_setting_disable_email').attr('checked', false);
12
  jQuery("#user_registration_general_setting_disable_email").attr("disabled", true);
@@ -636,7 +636,11 @@ jQuery(function ( $ ) {
636
  });
637
  break;
638
  case 'description':
639
- $this_obj.on('change', function () {
 
 
 
 
640
  trigger_general_setting_description($(this));
641
  });
642
  break;
@@ -725,7 +729,7 @@ jQuery(function ( $ ) {
725
  radio.append('<label><input value="' + array_value[ i ].trim() + '" type="radio">' + array_value[ i ].trim() +'</label>' );
726
  }
727
  }
728
- }
729
  function render_select_box ( value ) {
730
  value = $.trim(value);
731
  var wrapper = $('.ur-selected-item.ur-item-active');
@@ -747,10 +751,10 @@ jQuery(function ( $ ) {
747
  function trigger_general_setting_label ( $label ) {
748
  var wrapper = $('.ur-selected-item.ur-item-active');
749
  wrapper.find('.ur-label').find('label').text($label.val());
750
-
751
  var wrapper = $('.ur-selected-item.ur-item-active');
752
  wrapper.find('.ur-general-setting-block').find('input[data-field="' + $label.attr('data-field') + '"]').attr('value', $label.val());
753
-
754
  }
755
 
756
  function trigger_general_setting_description ( $label ) {
6
  jQuery(function () {
7
 
8
  var mySelect = jQuery('#user_registration_general_setting_login_options option:selected').val();
9
+
10
  if ( mySelect == 'email_confirmation' ) {
11
  jQuery('#user_registration_general_setting_disable_email').attr('checked', false);
12
  jQuery("#user_registration_general_setting_disable_email").attr("disabled", true);
636
  });
637
  break;
638
  case 'description':
639
+ $this_obj.on('keyup', function () {
640
+ trigger_general_setting_description($(this));
641
+ });
642
+ case 'html':
643
+ $this_obj.on('keyup', function () {
644
  trigger_general_setting_description($(this));
645
  });
646
  break;
729
  radio.append('<label><input value="' + array_value[ i ].trim() + '" type="radio">' + array_value[ i ].trim() +'</label>' );
730
  }
731
  }
732
+ }
733
  function render_select_box ( value ) {
734
  value = $.trim(value);
735
  var wrapper = $('.ur-selected-item.ur-item-active');
751
  function trigger_general_setting_label ( $label ) {
752
  var wrapper = $('.ur-selected-item.ur-item-active');
753
  wrapper.find('.ur-label').find('label').text($label.val());
754
+
755
  var wrapper = $('.ur-selected-item.ur-item-active');
756
  wrapper.find('.ur-general-setting-block').find('input[data-field="' + $label.attr('data-field') + '"]').attr('value', $label.val());
757
+
758
  }
759
 
760
  function trigger_general_setting_description ( $label ) {
assets/js/admin/admin.min.js CHANGED
@@ -1 +1 @@
1
- jQuery(function(){"email_confirmation"==jQuery("#user_registration_general_setting_login_options option:selected").val()&&(jQuery("#user_registration_general_setting_disable_email").attr("checked",!1),jQuery("#user_registration_general_setting_disable_email").attr("disabled",!0)),jQuery("body").on("select2:select","#user_registration_general_setting_login_options",function(){"email_confirmation"==jQuery(this).find("option:selected").val()?(jQuery("#user_registration_general_setting_disable_email").attr("checked",!1),jQuery("#user_registration_general_setting_disable_email").attr("disabled",!0)):jQuery("#user_registration_general_setting_disable_email").attr("disabled",!1)})}),jQuery(function(e){e(document.body).on("init_tooltips",function(){var i={attribute:"data-tip",fadeIn:50,fadeOut:50,delay:200,keepAlive:!0};e(".tips, .help_tip, .user-registration-help-tip").tipTip(i),e(".parent-tips").each(function(){e(this).closest("a, th").attr("data-tip",e(this).data("tip")).tipTip(i).css("cursor","help")})}).trigger("init_tooltips"),e("body").on("keypress","#ur-form-name",function(i){13===i.which&&e("#save_form_footer").eq(0).trigger("click")})}),function(e,i){function t(i,t){var r;r="success"===t?'<div class="updated ur-notices" style="border-color: green;"><p><strong>'+u.i18n_success+"! </strong>"+i+"</p></div>":'<div class="updated ur-notices" style="border-color: red;"><p><strong>'+u.i18n_error+"!!! </strong>"+i+"</p></div>",e(".ur-form-subcontainer").find(".ur-notices").remove(),e(".ur-form-subcontainer").prepend(r),e("html, body").animate({scrollTop:e(".ur-notices").offset().top-50},600)}function r(){var i=[],t=e(".ur-selected-inputs .ur-single-row");return e.each(t,function(){var t=e(this).find(".ur-grid-list-item"),r=[];e.each(t,function(){var i=function(i){var t=i.find(".ur-selected-item"),r=[];return e.each(t,function(){var i=e(this),t={field_key:i.find(".ur-field").attr("data-field-key"),general_setting:function(i){var t=i.find(".ur-general-setting-block").find(".ur-general-setting-field"),r={};return e.each(t,function(){r[e(this).attr("data-field")]=a(e(this))}),r}(i),advance_setting:function(i){var t=i.find(".ur-advance-setting-block").find(".ur_advance_setting"),r={};return e.each(t,function(){r[e(this).attr("data-advance-field")]=a(e(this))}),r}(i)};r.push(t)}),r}(e(this));r.push(i)}),i.push(r)}),i}function a(e){var i="";switch(e.get(0).tagName.toLowerCase()){case"input":case"select":case"textarea":i=e.val()}return i}function n(){var i=e(".ur-general-setting-field");e.each(i,function(){var i=e(this);switch(i.attr("data-field")){case"label":i.on("keyup",function(){!function(i){e(".ur-selected-item.ur-item-active").find(".ur-label").find("label").text(i.val());e(".ur-selected-item.ur-item-active").find(".ur-general-setting-block").find('input[data-field="'+i.attr("data-field")+'"]').attr("value",i.val())}(e(this))});break;case"field_name":i.on("change",function(){!function(i){e(".ur-selected-item.ur-item-active").find(".ur-general-setting-block").find('input[data-field="'+i.attr("data-field")+'"]').attr("value",i.val())}(e(this))});break;case"placeholder":i.on("keyup",function(){!function(i){var t=e(".ur-selected-item.ur-item-active");t.find(".ur-field").find("input").attr("placeholder",i.val()),t.find(".ur-general-setting-block").find('input[data-field="'+i.attr("data-field")+'"]').val(i.val())}(e(this))});break;case"required":i.on("change",function(){!function(i){var t=e(".ur-selected-item.ur-item-active");t.find(".ur-label").find("label").find("span").remove(),"yes"===i.val()&&t.find(".ur-label").find("label").append('<span style="color:red">*</span>');t.find(".ur-general-setting-block").find('select[data-field="'+i.attr("data-field")+'"]').find('option[value="'+i.val()+'"]').attr("selected","selected")}(e(this))});break;case"hide_label":i.on("change",function(){!function(i){var t=e(".ur-selected-item.ur-item-active");t.find(".ur-label").find("label").find("span").remove(),"yes"===i.val()&&t.find(".ur-label").find("label").append('<span style="color:red">*</span>');t.find(".ur-general-setting-block").find('select[data-field="'+i.attr("data-field")+'"]').find('option[value="'+i.val()+'"]').attr("selected","selected")}(e(this))});break;case"description":i.on("change",function(){!function(i){var t=e(".ur-selected-item.ur-item-active");t.find(".ur-field").find("textarea").attr("description",i.val()),t.find(".ur-general-setting-block").find('textarea[data-field="'+i.attr("data-field")+'"]').val(i.val())}(e(this))})}});var t=e(".ur_advance_setting");e.each(t,function(){var i=e(this),t=i.get(0).tagName.toLowerCase(),r="change";switch(t){case"input":r="keyup";break;case"select":r="change";break;case"textarea":r="keyup";break;default:r="change"}e(this).on(r,function(){s(i,t)}),e(this).on("paste",function(){s(i,t)})})}function s(i,t){var r=e(".ur-selected-item.ur-item-active"),a=i.attr("data-id"),n=r.find(".ur-advance-setting-block").find('[data-id="'+a+'"]');switch(t){case"input":n.val(i.val());break;case"select":n.find('option[value="'+i.val()+'"]').attr("selected","selected");break;case"textarea":n.val(i.val()),function(i){switch(e(".ur-selected-item.ur-item-active").find(".ur-field").attr("data-field-key")){case"select":!function(i){i=e.trim(i);var t=e(".ur-selected-item.ur-item-active").find(".ur-field").find("select");t.html("");for(var r=i.split(","),a=0;a<r.length;a++)""!==r[a]&&t.append("<option value='"+r[a]+"'>"+r[a].trim()+"</option>")}(i);break;case"checkbox":!function(i){i=e.trim(i);var t=e(".ur-selected-item.ur-item-active").find(".ur-field");t.html("");for(var r=i.split(","),a=0;a<r.length;a++)""!==r[a]&&t.append('<label><input value="'+r[a].trim()+'" type="checkbox">'+r[a].trim()+"</label>")}(i);break;case"radio":!function(i){i=e.trim(i);var t=e(".ur-selected-item.ur-item-active").find(".ur-field");t.html("");for(var r=i.split(","),a=0;a<r.length;a++)""!==r[a]&&t.append('<label><input value="'+r[a].trim()+'" type="radio">'+r[a].trim()+"</label>")}(i)}}(i.val())}}function d(){var t=i.form_one_time_draggable_fields,r=e("#ur-tab-registered-fields").find("ul.ur-registered-list");e.each(r.find("li"),function(){var i=e(this),r=e(this).attr("data-field-id").replace("user_registration_","");e.inArray(r,t)>=0&&(e(".ur-selected-inputs").find('.ur-field[data-field-key="'+r+'"]').length>0?i.draggable("disable"):i.draggable("enable"))})}function l(e){return Math.ceil(e,0)}function o(e){return parseInt(e,0)}var u=i.i18n_admin;e(function(){({init:function(){e(document.body).on("click",".column-data_link a",this.add_item).on("ur_backbone_modal_loaded",this.backbone.init).on("ur_backbone_modal_response",this.backbone.response)},add_item:function(i){return i.preventDefault(),e(this).URBackboneModal({template:"test-demo"}),!1},backbone:{init:function(e,i){},response:function(e,i){}}}).init(),e.fn.ur_form_builder=function(){var r={active_grid:i.active_grid,number_of_grid_list:i.number_of_grid,min_grid_height:70};return this.each(function(){var a=e(this),n={init:function(){this.single_row(),function(){var t=i.form_required_fields,r=e(".ur-selected-inputs");if(e.isArray(t))for(var a=0;a<t.length;a++){var n=r.find('.ur-field[data-field-key="'+t[a]+'"]');n.closest(".ur-selected-item").find('select[data-field="required"]').val("yes").trigger("change"),n.closest(".ur-selected-item").find('select[data-field="required"]').find('option[value="yes"]').attr("selected","selected"),n.closest(".ur-selected-item").find('select[data-field="required"]').attr("disabled","disabled")}var s=r.find('select[data-field="required"]').find('option[selected="selected"][value="yes"]').closest(".ur-selected-item").find(".ur-label").find("label");s.find("span").remove(),s.append('<span style="color:red">*</span>')}()},get_grid_button:function(){var i=e('<div class="ur-grid-containner"/>'),t=l(o(r.number_of_grid_list)/o(r.active_grid))+"/"+r.number_of_grid_list,a='<div class="ur-grid-navigation ur-nav-right dashicons dashicons-arrow-left-alt2"></div><div class="ur-grid-size" data-active-grid="'+r.active_grid+'">'+t+'</div><div class="ur-grid-navigation ur-nav-left dashicons dashicons-arrow-right-alt2"></div><button type="button" class="dashicons dashicons-no-alt ur-remove-row"></button>';return i.html(a),i.html()},single_row:function(){var t=e("<div class='ur-single-row'/>");t.append(e("<div class='ur-grids'/>"));var l=this.get_grid_button();t.find(".ur-grids").append(l),t.find(".ur-grids").find('span[data-id="'+r.active_grid+'"]').addClass("ur-active-grid");var o=this.get_grid_lists(r.active_grid);t.append('<div style="clear:both"></div>'),t.append(o),t.append('<div style="clear:both"></div>'),a.append(t),a.find(".ur-add-new-row").remove(),a.append('<button type="button" class="dashicons dashicons-plus-alt ur-add-new-row ui-sortable-handle"></button>'),s.render_draggable_sortable(),n.manage_empty_grid(),"1"===i.is_edit_form&&e(".ur-single-row").eq(e(".ur-single-row").length-1).remove(),"1"!==i.is_edit_form&&(e(".ur-single-row").eq(0).find(".ur-grid-lists").eq(0).find(".ur-grid-list-item").eq(0).find(".user-registration-dragged-me").remove(),e(".ur-single-row").eq(0).find(".ur-grid-lists").eq(0).find(".ur-grid-list-item").eq(0).append(i.required_form_html)),d()},get_grid_lists:function(i){for(var t=e('<div class="ur-grid-lists"/>'),a=1;a<=i;a++){var n=e("<div ur-grid-id='"+a+"' class='ur-grid-list-item'></div>"),s=Math.floor(100/i)-i;s,n.css({width:s+"%","min-height":r.min_grid_height+"px"}),t.append(n)}return t.append('<div style="clear:both"></div>'),t.find(".ur-grid-list-item").eq("0").css({}),t},populate_dropped_node:function(t,r){var a={action:"user_registration_user_input_dropped",security:i.user_input_dropped,form_field_id:r},s='<div class="ur-selected-item ajax_added"><div class="ur-action-buttons"><span title="Clone" class="dashicons dashicons-admin-page ur-clone"></span><span title="Trash" class="dashicons dashicons-trash ur-trash"></span></div>(content)</div>';t.closest(".ur-single-row").find(".user-registration-dragged-me").fadeOut(),e.ajax({url:i.ajax_url,data:a,type:"POST",beforeSend:function(){t.removeAttr("class").removeAttr("id").removeAttr("data-field-id").addClass("ur-selected-item").css({width:"auto"}),t.html('<small class="spinner is-active"></small>'),t.addClass("ur-item-dragged")},complete:function(i){if(n.manage_empty_grid(),!0===i.responseJSON.success){var r=e(s.replace("(content)",i.responseJSON.data.template));r.removeClass("ajax_added"),r.removeClass("ur-item-dragged"),t.find(".ajax_added").find(".spinner").remove(),t.find(".ajax_added").remove(),e(r).insertBefore(t),t.remove()}d()}})},manage_empty_grid:function(){var i=e(".ur-selected-inputs"),t=e('<div class="user-registration-dragged-me"/>');t.html('<div class="user-registration-dragged-me-text"><p>'+u.i18n_drag_your_first_item_here+"</p></div>"),i.find(".user-registration-dragged-me").remove(),e.each(i.find(".ur-grid-list-item"),function(){var i=e(this);0===e(this).find(".ur-selected-item").length&&i.append(t.clone())})}},s={register:function(){this.register_add_new_row(),this.register_remove_row(),this.change_ur_grids(),this.remove_selected_item(),this.clone_selected_item()},register_add_new_row:function(){var i=this;e("body").on("click",".ur-add-new-row",function(){var t=e(this).closest(".ur-selected-inputs").find(".ur-single-row").eq(0).clone();t.find(".ur-grid-lists").html(""),t.find(".ur-grids").find("span").removeClass("ur-active-grid"),t.find(".ur-grids").find('span[data-id="'+r.active_grid+'"]').addClass("ur-active-grid");var a=n.get_grid_lists(r.active_grid);t.find(".ur-grid-lists").append(a.html()),t.insertBefore(".ur-add-new-row"),i.render_draggable_sortable(),n.manage_empty_grid()})},register_remove_row:function(){var i=this;e("body").on("click",".ur-remove-row",function(){if(e(".ur-selected-inputs").find(".ur-single-row").length>1){if(window.confirm(u.i18n_are_you_sure_want_to_delete)){var t,r=e(this).prev();(t=r.hasClass("ur-add-new-row")?r.clone():e(this).clone().attr("class","dashicons-minus ur-remove-row")).hasClass("ur-add-new-row")&&e(this).closest(".ur-single-row").prev().find(".ur-remove-row").before(t),e(this).closest(".ur-single-row").remove(),i.check_grid()}}else window.alert(u.i18n_at_least_one_row_need_to_select)})},change_ur_grids:function(){var i=this;e("body").on("click",".ur-single-row .ur-nav-right",function(){var t=e(this).closest(".ur-single-row"),a=e(this).closest(".ur-grids").find(".ur-grid-size").attr("data-active-grid");if(!(a>=r.number_of_grid_list)){a=o(a)+1;var s=l(o(r.number_of_grid_list)/o(a))+"/"+r.number_of_grid_list;e(this).closest(".ur-grids").find(".ur-grid-size").attr("data-active-grid",a),e(this).closest(".ur-grids").find(".ur-grid-size").text(s);var d=n.get_grid_lists(a);e.each(t.find(".ur-grid-lists .ur-grid-list-item"),function(){e(this).children("*").each(function(){d.find(".ur-grid-list-item").eq(0).append(e(this).clone())})}),t.find(".ur-grid-lists").eq(0).hide(),d.clone().insertAfter(t.find(".ur-grid-lists")),t.find(".ur-grid-lists").eq(0).remove(),i.render_draggable_sortable(),n.manage_empty_grid()}}),e("body").on("click",".ur-single-row .ur-nav-left",function(){var t=e(this).closest(".ur-single-row"),a=e(this).closest(".ur-grids").find(".ur-grid-size").attr("data-active-grid");if(!(a<=1)){a=o(a)-1;var s=l(o(r.number_of_grid_list)/o(a))+"/"+r.number_of_grid_list;e(this).closest(".ur-grids").find(".ur-grid-size").attr("data-active-grid",a),e(this).closest(".ur-grids").find(".ur-grid-size").text(s);var d=n.get_grid_lists(a);e.each(t.find(".ur-grid-lists .ur-grid-list-item"),function(){e(this).children("*").each(function(){d.find(".ur-grid-list-item").eq(0).append(e(this).clone())})}),t.find(".ur-grid-lists").eq(0).hide(),d.clone().insertAfter(t.find(".ur-grid-lists")),t.find(".ur-grid-lists").eq(0).remove(),i.render_draggable_sortable(),n.manage_empty_grid()}})},render_draggable_sortable:function(){e(".ur-grid-list-item").sortable({containment:".ur-selected-inputs",over:function(){e(this).addClass("ur-sortable-active"),n.manage_empty_grid()},out:function(){e(this).removeClass("ur-sortable-active"),n.manage_empty_grid()},revert:!0,connectWith:".ur-grid-list-item"}).disableSelection(),e(".ur-selected-inputs").sortable({containment:".ur-selected-inputs",tolerance:"pointer",revert:"invalid",placeholder:"ur-single-row",forceHelperSize:!0,over:function(){e(this).addClass("ur-sortable-active")},out:function(){e(this).removeClass("ur-sortable-active")}}),e("#ur-draggabled li").draggable({connectToSortable:".ur-grid-list-item",containment:".ur-registered-from",helper:"clone",revert:"invalid",stop:function(r,a){if(0!==e(a.helper).closest(".ur-grid-list-item").length){var s=e.trim(e(a.helper).attr("data-field-id").replace("user_registration_","")),d=e(".ur-selected-inputs").find('.ur-field[data-field-key="'+s+'"]').length,l=e.makeArray(i.form_one_time_draggable_fields);if(d>0&&e.inArray(s,l)>=0)return t(u.i18n_user_required_field_already_there),void e(a.helper).remove();var o=e(a.helper),c=e(o).attr("data-field-id");if(void 0!==c){var f=e(a.helper).closest(".ur-grid-list-item").find('li[data-field-id="'+e(this).attr("data-field-id")+'"]');n.populate_dropped_node(f,c)}}}}).disableSelection()},remove_selected_item:function(){var i=this;e("body").on("click",".ur-selected-item .ur-action-buttons .ur-trash",function(){e(this).closest(".ur-selected-item ").remove(),i.check_grid(),n.manage_empty_grid(),d()})},clone_selected_item:function(){e("body").on("click",".ur-selected-item .ur-action-buttons .ur-clone",function(){var r=e(this).closest(".ur-selected-item ").find(".ur-field").attr("data-field-key");if(e(".ur-selected-inputs").find('.ur-field[data-field-key="'+r+'"]').length>0&&e.inArray(r,i.form_one_time_draggable_fields)>-1)t(u.i18n_user_required_field_already_there_could_not_clone);else{var a=e(this).closest(".ur-selected-item ").clone(),n=a.find('input[data-field="field_name"]'),s=n.val().match(/\d+/g),d=s.length>0?s[s.length-1]:"",l=n.val().replace(d,"");a.find('input[data-field="field_name"]').attr("value",l+(new Date).getTime()),e(this).closest(".ur-grid-list-item").append(a)}})},check_grid:function(){e(".ur-tabs").tabs({disabled:[1]}),e(".ur-tabs").find("a").eq(0).trigger("click")}};n.init(),s.register()})},e(".ur-selected-inputs").ur_form_builder(),e(".ur-tabs").find("a").click(function(){e(".ur-tabs").find("a").removeClass("active"),e(this).addClass("active")}),e(".ur-tabs").tabs(),e(".ur-tabs").find("a").eq(0).trigger("click"),e(".ur-tabs").tabs({disabled:[1]}),e("body").on("click",".ur-selected-item",function(){e(".ur-registered-inputs").find("ul li.ur-no-pointer").removeClass("ur-no-pointer"),e(".ur-selected-item").removeClass("ur-item-active"),e(this).addClass("ur-item-active"),function(i){var t=i.find(".ur-advance-setting-block").clone(),r=i.find(".ur-general-setting-block").clone(),a=e("<form id='ur-setting-form'/>");e("#ur-tab-field-options").html(""),a.append(r),a.append(t),e("#ur-tab-field-options").append(a),e("#ur-tab-field-options").find(".ur-advance-setting-block").show(),e("#ur-tab-field-options").find(".ur-general-setting-block").show(),1===e(".ur-item-active").length&&(e(".ur-tabs").tabs("enable",1),e(".ur-tabs").find("a").eq(1).trigger("click"))}(e(this)),n()}),e(".ur_save_form_action_button").on("click",function(){var a=function(){var t=e.makeArray(i.form_one_time_draggable_fields),r=e.makeArray(i.form_required_fields),a={validation_status:!0,message:""};if(0===e(".ur-selected-item").length)return a.validation_status=!1,a.message=u.i18n_at_least_one_field_need_to_select,a;if(""===e("#ur-form-name").val())return a.validation_status=!1,a.message=u.i18n_empty_form_name,a;if(e(".ur_save_form_action_button").closest(".publishing-action").find(".spinner").length>0)return a.validation_status=!1,a.message=u.i18n_previous_save_action_ongoing,a;e.each(e('.ur-selected-inputs .ur-general-setting-block input[data-field="field_name"]'),function(){var i,t=e(this),r=!1;try{var n=t.val();if(e(".ur-selected-inputs .ur-general-setting-block").find('input[data-field="field_name"][value="'+n+'"]').length>1)throw u.i18n_duplicate_field_name;if(""===t.closest(".ur-general-setting-block").find('input[data-field="label"]').val())throw t=t.closest(".ur-general-setting-block").find('input[data-field="label"]'),u.i18n_empty_field_label;var s=n.match(/[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/gm);if(null===s||1!==s.length||s[0]!==n)throw u.i18n_invald_field_name}catch(d){a.validation_status=!1,a.message=d.message===undefined?d:d.message,t.closest(".ur-selected-item").trigger("click"),i=t.attr("data-field"),e("#ur-setting-form").find('input[data-field="'+i+'"]').css({border:"1px solid red"}),setTimeout(function(){e("#ur-setting-form").find('input[data-field="'+i+'"]').removeAttr("style")},2e3),r=!0}if(r)return!1});for(var n=0;n<t.length;n++)if(e(".ur-selected-inputs").find('.ur-field[data-field-key="'+t[n]+'"]').length>1){a.validation_status=!1,a.message=u.i18n_multiple_field_key+t[n];break}for(var s=0;s<r.length;s++)if(0===e(".ur-selected-inputs").find('.ur-field[data-field-key="'+r[s]+'"]').length){a.validation_status=!1,a.message=u.i18n_at_least_one_field_is_required+r[s];break}return a}();if(!1!==a.validation_status){var n=r(),s=e("#ur_form_id").val();o(i.post_id)!==o(s)&&(s=0);var d=e("#ur-field-settings").serializeArray(),l={action:"user_registration_form_save_action",security:i.ur_form_save,data:{form_data:JSON.stringify(n),form_name:e("#ur-form-name").val(),form_id:s,form_setting_data:d}};e.ajax({url:i.ajax_url,data:l,type:"POST",beforeSend:function(){e(".ur_save_form_action_button").closest(".publishing-action").append('<span class="spinner is-active" style="float: left;margin-top: 6px;"></span>'),e(".ur-notices").remove()},complete:function(r){if(e(".ur_save_form_action_button").closest(".publishing-action").find(".spinner").remove(),!0===r.responseJSON.success){t(u.i18n_form_successfully_saved,"success");var a=i.admin_url+r.responseJSON.data.post_id;window.location=a}else{t(r.responseJSON.data.message)}}})}else t(a.message)})})}(jQuery,window.user_registration_admin_data);
1
+ jQuery(function(){"email_confirmation"==jQuery("#user_registration_general_setting_login_options option:selected").val()&&(jQuery("#user_registration_general_setting_disable_email").attr("checked",!1),jQuery("#user_registration_general_setting_disable_email").attr("disabled",!0)),jQuery("body").on("select2:select","#user_registration_general_setting_login_options",function(){"email_confirmation"==jQuery(this).find("option:selected").val()?(jQuery("#user_registration_general_setting_disable_email").attr("checked",!1),jQuery("#user_registration_general_setting_disable_email").attr("disabled",!0)):jQuery("#user_registration_general_setting_disable_email").attr("disabled",!1)})}),jQuery(function(e){e(document.body).on("init_tooltips",function(){var t={attribute:"data-tip",fadeIn:50,fadeOut:50,delay:200,keepAlive:!0};e(".tips, .help_tip, .user-registration-help-tip").tipTip(t),e(".parent-tips").each(function(){e(this).closest("a, th").attr("data-tip",e(this).data("tip")).tipTip(t).css("cursor","help")})}).trigger("init_tooltips"),e("body").on("keypress","#ur-form-name",function(t){13===t.which&&e("#save_form_footer").eq(0).trigger("click")})}),function(e,t){function i(t,i){var r;r="success"===i?'<div class="updated ur-notices" style="border-color: green;"><p><strong>'+c.i18n_success+"! </strong>"+t+"</p></div>":'<div class="updated ur-notices" style="border-color: red;"><p><strong>'+c.i18n_error+"!!! </strong>"+t+"</p></div>",e(".ur-form-subcontainer").find(".ur-notices").remove(),e(".ur-form-subcontainer").prepend(r),e("html, body").animate({scrollTop:e(".ur-notices").offset().top-50},600)}function r(){var t=[],i=e(".ur-selected-inputs .ur-single-row");return e.each(i,function(){var i=e(this).find(".ur-grid-list-item"),r=[];e.each(i,function(){var t=function(t){var i=t.find(".ur-selected-item"),r=[];return e.each(i,function(){var t=e(this),i={field_key:t.find(".ur-field").attr("data-field-key"),general_setting:function(t){var i=t.find(".ur-general-setting-block").find(".ur-general-setting-field"),r={};return e.each(i,function(){r[e(this).attr("data-field")]=a(e(this))}),r}(t),advance_setting:function(t){var i=t.find(".ur-advance-setting-block").find(".ur_advance_setting"),r={};return e.each(i,function(){r[e(this).attr("data-advance-field")]=a(e(this))}),r}(t)};r.push(i)}),r}(e(this));r.push(t)}),t.push(r)}),t}function a(e){var t="";switch(e.get(0).tagName.toLowerCase()){case"input":case"select":case"textarea":t=e.val()}return t}function n(){var t=e(".ur-general-setting-field");e.each(t,function(){var t=e(this);switch(t.attr("data-field")){case"label":t.on("keyup",function(){!function(t){e(".ur-selected-item.ur-item-active").find(".ur-label").find("label").text(t.val());e(".ur-selected-item.ur-item-active").find(".ur-general-setting-block").find('input[data-field="'+t.attr("data-field")+'"]').attr("value",t.val())}(e(this))});break;case"field_name":t.on("change",function(){!function(t){e(".ur-selected-item.ur-item-active").find(".ur-general-setting-block").find('input[data-field="'+t.attr("data-field")+'"]').attr("value",t.val())}(e(this))});break;case"placeholder":t.on("keyup",function(){!function(t){var i=e(".ur-selected-item.ur-item-active");i.find(".ur-field").find("input").attr("placeholder",t.val()),i.find(".ur-general-setting-block").find('input[data-field="'+t.attr("data-field")+'"]').val(t.val())}(e(this))});break;case"required":t.on("change",function(){!function(t){var i=e(".ur-selected-item.ur-item-active");i.find(".ur-label").find("label").find("span").remove(),"yes"===t.val()&&i.find(".ur-label").find("label").append('<span style="color:red">*</span>');i.find(".ur-general-setting-block").find('select[data-field="'+t.attr("data-field")+'"]').find('option[value="'+t.val()+'"]').attr("selected","selected")}(e(this))});break;case"hide_label":t.on("change",function(){!function(t){var i=e(".ur-selected-item.ur-item-active");i.find(".ur-label").find("label").find("span").remove(),"yes"===t.val()&&i.find(".ur-label").find("label").append('<span style="color:red">*</span>');i.find(".ur-general-setting-block").find('select[data-field="'+t.attr("data-field")+'"]').find('option[value="'+t.val()+'"]').attr("selected","selected")}(e(this))});break;case"description":t.on("keyup",function(){d(e(this))});case"html":t.on("keyup",function(){d(e(this))})}});var i=e(".ur_advance_setting");e.each(i,function(){var t=e(this),i=t.get(0).tagName.toLowerCase(),r="change";switch(i){case"input":r="keyup";break;case"select":r="change";break;case"textarea":r="keyup";break;default:r="change"}e(this).on(r,function(){s(t,i)}),e(this).on("paste",function(){s(t,i)})})}function s(t,i){var r=e(".ur-selected-item.ur-item-active"),a=t.attr("data-id"),n=r.find(".ur-advance-setting-block").find('[data-id="'+a+'"]');switch(i){case"input":n.val(t.val());break;case"select":n.find('option[value="'+t.val()+'"]').attr("selected","selected");break;case"textarea":n.val(t.val()),function(t){switch(e(".ur-selected-item.ur-item-active").find(".ur-field").attr("data-field-key")){case"select":!function(t){t=e.trim(t);var i=e(".ur-selected-item.ur-item-active").find(".ur-field").find("select");i.html("");for(var r=t.split(","),a=0;a<r.length;a++)""!==r[a]&&i.append("<option value='"+r[a]+"'>"+r[a].trim()+"</option>")}(t);break;case"checkbox":!function(t){t=e.trim(t);var i=e(".ur-selected-item.ur-item-active").find(".ur-field");i.html("");for(var r=t.split(","),a=0;a<r.length;a++)""!==r[a]&&i.append('<label><input value="'+r[a].trim()+'" type="checkbox">'+r[a].trim()+"</label>")}(t);break;case"radio":!function(t){t=e.trim(t);var i=e(".ur-selected-item.ur-item-active").find(".ur-field");i.html("");for(var r=t.split(","),a=0;a<r.length;a++)""!==r[a]&&i.append('<label><input value="'+r[a].trim()+'" type="radio">'+r[a].trim()+"</label>")}(t)}}(t.val())}}function d(t){var i=e(".ur-selected-item.ur-item-active");i.find(".ur-field").find("textarea").attr("description",t.val()),i.find(".ur-general-setting-block").find('textarea[data-field="'+t.attr("data-field")+'"]').val(t.val())}function l(){var i=t.form_one_time_draggable_fields,r=e("#ur-tab-registered-fields").find("ul.ur-registered-list");e.each(r.find("li"),function(){var t=e(this),r=e(this).attr("data-field-id").replace("user_registration_","");e.inArray(r,i)>=0&&(e(".ur-selected-inputs").find('.ur-field[data-field-key="'+r+'"]').length>0?t.draggable("disable"):t.draggable("enable"))})}function o(e){return Math.ceil(e,0)}function u(e){return parseInt(e,0)}var c=t.i18n_admin;e(function(){({init:function(){e(document.body).on("click",".column-data_link a",this.add_item).on("ur_backbone_modal_loaded",this.backbone.init).on("ur_backbone_modal_response",this.backbone.response)},add_item:function(t){return t.preventDefault(),e(this).URBackboneModal({template:"test-demo"}),!1},backbone:{init:function(e,t){},response:function(e,t){}}}).init(),e.fn.ur_form_builder=function(){var r={active_grid:t.active_grid,number_of_grid_list:t.number_of_grid,min_grid_height:70};return this.each(function(){var a=e(this),n={init:function(){this.single_row(),function(){var i=t.form_required_fields,r=e(".ur-selected-inputs");if(e.isArray(i))for(var a=0;a<i.length;a++){var n=r.find('.ur-field[data-field-key="'+i[a]+'"]');n.closest(".ur-selected-item").find('select[data-field="required"]').val("yes").trigger("change"),n.closest(".ur-selected-item").find('select[data-field="required"]').find('option[value="yes"]').attr("selected","selected"),n.closest(".ur-selected-item").find('select[data-field="required"]').attr("disabled","disabled")}var s=r.find('select[data-field="required"]').find('option[selected="selected"][value="yes"]').closest(".ur-selected-item").find(".ur-label").find("label");s.find("span").remove(),s.append('<span style="color:red">*</span>')}()},get_grid_button:function(){var t=e('<div class="ur-grid-containner"/>'),i=o(u(r.number_of_grid_list)/u(r.active_grid))+"/"+r.number_of_grid_list,a='<div class="ur-grid-navigation ur-nav-right dashicons dashicons-arrow-left-alt2"></div><div class="ur-grid-size" data-active-grid="'+r.active_grid+'">'+i+'</div><div class="ur-grid-navigation ur-nav-left dashicons dashicons-arrow-right-alt2"></div><button type="button" class="dashicons dashicons-no-alt ur-remove-row"></button>';return t.html(a),t.html()},single_row:function(){var i=e("<div class='ur-single-row'/>");i.append(e("<div class='ur-grids'/>"));var d=this.get_grid_button();i.find(".ur-grids").append(d),i.find(".ur-grids").find('span[data-id="'+r.active_grid+'"]').addClass("ur-active-grid");var o=this.get_grid_lists(r.active_grid);i.append('<div style="clear:both"></div>'),i.append(o),i.append('<div style="clear:both"></div>'),a.append(i),a.find(".ur-add-new-row").remove(),a.append('<button type="button" class="dashicons dashicons-plus-alt ur-add-new-row ui-sortable-handle"></button>'),s.render_draggable_sortable(),n.manage_empty_grid(),"1"===t.is_edit_form&&e(".ur-single-row").eq(e(".ur-single-row").length-1).remove(),"1"!==t.is_edit_form&&(e(".ur-single-row").eq(0).find(".ur-grid-lists").eq(0).find(".ur-grid-list-item").eq(0).find(".user-registration-dragged-me").remove(),e(".ur-single-row").eq(0).find(".ur-grid-lists").eq(0).find(".ur-grid-list-item").eq(0).append(t.required_form_html)),l()},get_grid_lists:function(t){for(var i=e('<div class="ur-grid-lists"/>'),a=1;a<=t;a++){var n=e("<div ur-grid-id='"+a+"' class='ur-grid-list-item'></div>"),s=Math.floor(100/t)-t;s,n.css({width:s+"%","min-height":r.min_grid_height+"px"}),i.append(n)}return i.append('<div style="clear:both"></div>'),i.find(".ur-grid-list-item").eq("0").css({}),i},populate_dropped_node:function(i,r){var a={action:"user_registration_user_input_dropped",security:t.user_input_dropped,form_field_id:r},s='<div class="ur-selected-item ajax_added"><div class="ur-action-buttons"><span title="Clone" class="dashicons dashicons-admin-page ur-clone"></span><span title="Trash" class="dashicons dashicons-trash ur-trash"></span></div>(content)</div>';i.closest(".ur-single-row").find(".user-registration-dragged-me").fadeOut(),e.ajax({url:t.ajax_url,data:a,type:"POST",beforeSend:function(){i.removeAttr("class").removeAttr("id").removeAttr("data-field-id").addClass("ur-selected-item").css({width:"auto"}),i.html('<small class="spinner is-active"></small>'),i.addClass("ur-item-dragged")},complete:function(t){if(n.manage_empty_grid(),!0===t.responseJSON.success){var r=e(s.replace("(content)",t.responseJSON.data.template));r.removeClass("ajax_added"),r.removeClass("ur-item-dragged"),i.find(".ajax_added").find(".spinner").remove(),i.find(".ajax_added").remove(),e(r).insertBefore(i),i.remove()}l()}})},manage_empty_grid:function(){var t=e(".ur-selected-inputs"),i=e('<div class="user-registration-dragged-me"/>');i.html('<div class="user-registration-dragged-me-text"><p>'+c.i18n_drag_your_first_item_here+"</p></div>"),t.find(".user-registration-dragged-me").remove(),e.each(t.find(".ur-grid-list-item"),function(){var t=e(this);0===e(this).find(".ur-selected-item").length&&t.append(i.clone())})}},s={register:function(){this.register_add_new_row(),this.register_remove_row(),this.change_ur_grids(),this.remove_selected_item(),this.clone_selected_item()},register_add_new_row:function(){var t=this;e("body").on("click",".ur-add-new-row",function(){var i=e(this).closest(".ur-selected-inputs").find(".ur-single-row").eq(0).clone();i.find(".ur-grid-lists").html(""),i.find(".ur-grids").find("span").removeClass("ur-active-grid"),i.find(".ur-grids").find('span[data-id="'+r.active_grid+'"]').addClass("ur-active-grid");var a=n.get_grid_lists(r.active_grid);i.find(".ur-grid-lists").append(a.html()),i.insertBefore(".ur-add-new-row"),t.render_draggable_sortable(),n.manage_empty_grid()})},register_remove_row:function(){var t=this;e("body").on("click",".ur-remove-row",function(){if(e(".ur-selected-inputs").find(".ur-single-row").length>1){if(window.confirm(c.i18n_are_you_sure_want_to_delete)){var i,r=e(this).prev();(i=r.hasClass("ur-add-new-row")?r.clone():e(this).clone().attr("class","dashicons-minus ur-remove-row")).hasClass("ur-add-new-row")&&e(this).closest(".ur-single-row").prev().find(".ur-remove-row").before(i),e(this).closest(".ur-single-row").remove(),t.check_grid()}}else window.alert(c.i18n_at_least_one_row_need_to_select)})},change_ur_grids:function(){var t=this;e("body").on("click",".ur-single-row .ur-nav-right",function(){var i=e(this).closest(".ur-single-row"),a=e(this).closest(".ur-grids").find(".ur-grid-size").attr("data-active-grid");if(!(a>=r.number_of_grid_list)){a=u(a)+1;var s=o(u(r.number_of_grid_list)/u(a))+"/"+r.number_of_grid_list;e(this).closest(".ur-grids").find(".ur-grid-size").attr("data-active-grid",a),e(this).closest(".ur-grids").find(".ur-grid-size").text(s);var d=n.get_grid_lists(a);e.each(i.find(".ur-grid-lists .ur-grid-list-item"),function(){e(this).children("*").each(function(){d.find(".ur-grid-list-item").eq(0).append(e(this).clone())})}),i.find(".ur-grid-lists").eq(0).hide(),d.clone().insertAfter(i.find(".ur-grid-lists")),i.find(".ur-grid-lists").eq(0).remove(),t.render_draggable_sortable(),n.manage_empty_grid()}}),e("body").on("click",".ur-single-row .ur-nav-left",function(){var i=e(this).closest(".ur-single-row"),a=e(this).closest(".ur-grids").find(".ur-grid-size").attr("data-active-grid");if(!(a<=1)){a=u(a)-1;var s=o(u(r.number_of_grid_list)/u(a))+"/"+r.number_of_grid_list;e(this).closest(".ur-grids").find(".ur-grid-size").attr("data-active-grid",a),e(this).closest(".ur-grids").find(".ur-grid-size").text(s);var d=n.get_grid_lists(a);e.each(i.find(".ur-grid-lists .ur-grid-list-item"),function(){e(this).children("*").each(function(){d.find(".ur-grid-list-item").eq(0).append(e(this).clone())})}),i.find(".ur-grid-lists").eq(0).hide(),d.clone().insertAfter(i.find(".ur-grid-lists")),i.find(".ur-grid-lists").eq(0).remove(),t.render_draggable_sortable(),n.manage_empty_grid()}})},render_draggable_sortable:function(){e(".ur-grid-list-item").sortable({containment:".ur-selected-inputs",over:function(){e(this).addClass("ur-sortable-active"),n.manage_empty_grid()},out:function(){e(this).removeClass("ur-sortable-active"),n.manage_empty_grid()},revert:!0,connectWith:".ur-grid-list-item"}).disableSelection(),e(".ur-selected-inputs").sortable({containment:".ur-selected-inputs",tolerance:"pointer",revert:"invalid",placeholder:"ur-single-row",forceHelperSize:!0,over:function(){e(this).addClass("ur-sortable-active")},out:function(){e(this).removeClass("ur-sortable-active")}}),e("#ur-draggabled li").draggable({connectToSortable:".ur-grid-list-item",containment:".ur-registered-from",helper:"clone",revert:"invalid",stop:function(r,a){if(0!==e(a.helper).closest(".ur-grid-list-item").length){var s=e.trim(e(a.helper).attr("data-field-id").replace("user_registration_","")),d=e(".ur-selected-inputs").find('.ur-field[data-field-key="'+s+'"]').length,l=e.makeArray(t.form_one_time_draggable_fields);if(d>0&&e.inArray(s,l)>=0)return i(c.i18n_user_required_field_already_there),void e(a.helper).remove();var o=e(a.helper),u=e(o).attr("data-field-id");if(void 0!==u){var f=e(a.helper).closest(".ur-grid-list-item").find('li[data-field-id="'+e(this).attr("data-field-id")+'"]');n.populate_dropped_node(f,u)}}}}).disableSelection()},remove_selected_item:function(){var t=this;e("body").on("click",".ur-selected-item .ur-action-buttons .ur-trash",function(){e(this).closest(".ur-selected-item ").remove(),t.check_grid(),n.manage_empty_grid(),l()})},clone_selected_item:function(){e("body").on("click",".ur-selected-item .ur-action-buttons .ur-clone",function(){var r=e(this).closest(".ur-selected-item ").find(".ur-field").attr("data-field-key");if(e(".ur-selected-inputs").find('.ur-field[data-field-key="'+r+'"]').length>0&&e.inArray(r,t.form_one_time_draggable_fields)>-1)i(c.i18n_user_required_field_already_there_could_not_clone);else{var a=e(this).closest(".ur-selected-item ").clone(),n=a.find('input[data-field="field_name"]'),s=n.val().match(/\d+/g),d=s.length>0?s[s.length-1]:"",l=n.val().replace(d,"");a.find('input[data-field="field_name"]').attr("value",l+(new Date).getTime()),e(this).closest(".ur-grid-list-item").append(a)}})},check_grid:function(){e(".ur-tabs").tabs({disabled:[1]}),e(".ur-tabs").find("a").eq(0).trigger("click")}};n.init(),s.register()})},e(".ur-selected-inputs").ur_form_builder(),e(".ur-tabs").find("a").click(function(){e(".ur-tabs").find("a").removeClass("active"),e(this).addClass("active")}),e(".ur-tabs").tabs(),e(".ur-tabs").find("a").eq(0).trigger("click"),e(".ur-tabs").tabs({disabled:[1]}),e("body").on("click",".ur-selected-item",function(){e(".ur-registered-inputs").find("ul li.ur-no-pointer").removeClass("ur-no-pointer"),e(".ur-selected-item").removeClass("ur-item-active"),e(this).addClass("ur-item-active"),function(t){var i=t.find(".ur-advance-setting-block").clone(),r=t.find(".ur-general-setting-block").clone(),a=e("<form id='ur-setting-form'/>");e("#ur-tab-field-options").html(""),a.append(r),a.append(i),e("#ur-tab-field-options").append(a),e("#ur-tab-field-options").find(".ur-advance-setting-block").show(),e("#ur-tab-field-options").find(".ur-general-setting-block").show(),1===e(".ur-item-active").length&&(e(".ur-tabs").tabs("enable",1),e(".ur-tabs").find("a").eq(1).trigger("click"))}(e(this)),n()}),e(".ur_save_form_action_button").on("click",function(){var a=function(){var i=e.makeArray(t.form_one_time_draggable_fields),r=e.makeArray(t.form_required_fields),a={validation_status:!0,message:""};if(0===e(".ur-selected-item").length)return a.validation_status=!1,a.message=c.i18n_at_least_one_field_need_to_select,a;if(""===e("#ur-form-name").val())return a.validation_status=!1,a.message=c.i18n_empty_form_name,a;if(e(".ur_save_form_action_button").closest(".publishing-action").find(".spinner").length>0)return a.validation_status=!1,a.message=c.i18n_previous_save_action_ongoing,a;e.each(e('.ur-selected-inputs .ur-general-setting-block input[data-field="field_name"]'),function(){var t,i=e(this),r=!1;try{var n=i.val();if(e(".ur-selected-inputs .ur-general-setting-block").find('input[data-field="field_name"][value="'+n+'"]').length>1)throw c.i18n_duplicate_field_name;if(""===i.closest(".ur-general-setting-block").find('input[data-field="label"]').val())throw i=i.closest(".ur-general-setting-block").find('input[data-field="label"]'),c.i18n_empty_field_label;var s=n.match(/[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/gm);if(null===s||1!==s.length||s[0]!==n)throw c.i18n_invald_field_name}catch(d){a.validation_status=!1,a.message=d.message===undefined?d:d.message,i.closest(".ur-selected-item").trigger("click"),t=i.attr("data-field"),e("#ur-setting-form").find('input[data-field="'+t+'"]').css({border:"1px solid red"}),setTimeout(function(){e("#ur-setting-form").find('input[data-field="'+t+'"]').removeAttr("style")},2e3),r=!0}if(r)return!1});for(var n=0;n<i.length;n++)if(e(".ur-selected-inputs").find('.ur-field[data-field-key="'+i[n]+'"]').length>1){a.validation_status=!1,a.message=c.i18n_multiple_field_key+i[n];break}for(var s=0;s<r.length;s++)if(0===e(".ur-selected-inputs").find('.ur-field[data-field-key="'+r[s]+'"]').length){a.validation_status=!1,a.message=c.i18n_at_least_one_field_is_required+r[s];break}return a}();if(!1!==a.validation_status){var n=r(),s=e("#ur_form_id").val();u(t.post_id)!==u(s)&&(s=0);var d=e("#ur-field-settings").serializeArray(),l={action:"user_registration_form_save_action",security:t.ur_form_save,data:{form_data:JSON.stringify(n),form_name:e("#ur-form-name").val(),form_id:s,form_setting_data:d}};e.ajax({url:t.ajax_url,data:l,type:"POST",beforeSend:function(){e(".ur_save_form_action_button").closest(".publishing-action").append('<span class="spinner is-active" style="float: left;margin-top: 6px;"></span>'),e(".ur-notices").remove()},complete:function(r){if(e(".ur_save_form_action_button").closest(".publishing-action").find(".spinner").remove(),!0===r.responseJSON.success){i(c.i18n_form_successfully_saved,"success");var a=t.admin_url+r.responseJSON.data.post_id;window.location=a}else{i(r.responseJSON.data.message)}}})}else i(a.message)})})}(jQuery,window.user_registration_admin_data);
assets/js/frontend/user-registration.js CHANGED
@@ -28,14 +28,6 @@
28
  return false;
29
  }
30
 
31
- // Validator messages.
32
- $.extend( $.validator.messages, {
33
- required: user_registration_params.i18n_messages_required,
34
- url: user_registration_params.i18n_messages_url,
35
- email: user_registration_params.i18n_messages_email,
36
- number: user_registration_params.i18n_messages_number
37
- });
38
-
39
  // Validate email addresses.
40
  $.validator.methods.email = function( value, element ) {
41
  /* https://stackoverflow.com/questions/2855865/jquery-validate-e-mail-address-regex */
@@ -80,12 +72,22 @@
80
  $parent.removeClass( 'user-registration-has-error' );
81
  },
82
  submitHandler: function( form ) {
83
- return false;
84
  }
85
  });
86
  });
87
  },
88
  validate_field: function ( e ) {
 
 
 
 
 
 
 
 
 
 
89
  var $this = $( this ),
90
  $parent = $this.closest( '.form-row' ),
91
  validated = true,
@@ -130,9 +132,8 @@
130
 
131
  user_registration.init();
132
 
133
-
134
  var ursL10n = user_registration_params.ursL10n;
135
-
136
  $.fn.ur_form_submission = function () {
137
 
138
  // traverse all nodes
@@ -182,7 +183,7 @@
182
  switch ( field_type ) {
183
  case 'checkbox':
184
  case 'radio':
185
- this_field_value = this_field.prop('checked') ? this_field.val() : '';
186
  break;
187
  default:
188
  this_field_value = this_field.val();
@@ -204,10 +205,10 @@
204
  if ( field_type == 'checkbox' ) {
205
  var field_value_json = JSON.stringify(field_value);
206
  }
207
- else if ( field_type == 'radio') {
208
  var field_value_json = field_value[0];
209
  } else {
210
- var field_value_json = field.val();
211
  }
212
 
213
  var single_form_field_name = multi_value_field[ multi_start ];
@@ -221,15 +222,15 @@
221
 
222
  form_data.push(field_data);
223
  }
224
-
225
  $(document).trigger("user_registration_frontend_form_data_filter", [ form_data ]);
226
  return form_data;
227
  },
228
  get_fieldwise_data: function ( field ) {
229
-
230
  var formwise_data = {};
231
  var node_type = field.get(0).tagName.toLowerCase();
232
  var field_type = 'undefined' !== field.attr('type') ? field.attr('type') : 'null';
 
233
  formwise_data.value = '';
234
  switch ( node_type ) {
235
  case 'input':
@@ -247,7 +248,14 @@
247
  formwise_data.value = field.val();
248
  break;
249
  case 'textarea':
250
- formwise_data.value = field.val();
 
 
 
 
 
 
 
251
  break;
252
  default:
253
  }
@@ -287,7 +295,7 @@
287
  form_submit_event: function () {
288
 
289
  $('form.register').on('submit', function ( event ) {
290
-
291
  if( ! $this.valid() ) {
292
  return;
293
  }
@@ -415,7 +423,7 @@
415
  };
416
 
417
  $(function () {
418
- $('form.register').ur_form_submission();
419
  var date_selector = $('.ur-frontend-form input[type="date"]');
420
  if ( date_selector.length > 0 ) {
421
  date_selector.addClass('ur-date').attr('type', 'text').attr('placeholder', 'yy-mm-dd').datepicker({
28
  return false;
29
  }
30
 
 
 
 
 
 
 
 
 
31
  // Validate email addresses.
32
  $.validator.methods.email = function( value, element ) {
33
  /* https://stackoverflow.com/questions/2855865/jquery-validate-e-mail-address-regex */
72
  $parent.removeClass( 'user-registration-has-error' );
73
  },
74
  submitHandler: function( form ) {
75
+ return false;
76
  }
77
  });
78
  });
79
  },
80
  validate_field: function ( e ) {
81
+
82
+ // Validator messages.
83
+ $.extend( $.validator.messages, {
84
+ required: user_registration_params.message_required_fields,
85
+ url: user_registration_params.message_url_fields,
86
+ email: user_registration_params.message_email_fields,
87
+ number: user_registration_params.message_number_fields,
88
+ confirmpassword: user_registration_params.message_confirm_password_fields,
89
+ });
90
+
91
  var $this = $( this ),
92
  $parent = $this.closest( '.form-row' ),
93
  validated = true,
132
 
133
  user_registration.init();
134
 
 
135
  var ursL10n = user_registration_params.ursL10n;
136
+
137
  $.fn.ur_form_submission = function () {
138
 
139
  // traverse all nodes
183
  switch ( field_type ) {
184
  case 'checkbox':
185
  case 'radio':
186
+ this_field_value = this_field.prop('checked') ? this_field.val() : '';
187
  break;
188
  default:
189
  this_field_value = this_field.val();
205
  if ( field_type == 'checkbox' ) {
206
  var field_value_json = JSON.stringify(field_value);
207
  }
208
+ else if ( field_type == 'radio') {
209
  var field_value_json = field_value[0];
210
  } else {
211
+ var field_value_json = field.val();
212
  }
213
 
214
  var single_form_field_name = multi_value_field[ multi_start ];
222
 
223
  form_data.push(field_data);
224
  }
225
+
226
  $(document).trigger("user_registration_frontend_form_data_filter", [ form_data ]);
227
  return form_data;
228
  },
229
  get_fieldwise_data: function ( field ) {
 
230
  var formwise_data = {};
231
  var node_type = field.get(0).tagName.toLowerCase();
232
  var field_type = 'undefined' !== field.attr('type') ? field.attr('type') : 'null';
233
+ var textarea_type = field.get(0).className.split(" ")[0] ;
234
  formwise_data.value = '';
235
  switch ( node_type ) {
236
  case 'input':
248
  formwise_data.value = field.val();
249
  break;
250
  case 'textarea':
251
+ switch ( textarea_type ) {
252
+ case 'wysiwyg':
253
+ tinyMCE.triggerSave();
254
+ formwise_data.value = field.val();
255
+ break;
256
+ default:
257
+ formwise_data.value = field.val();
258
+ }
259
  break;
260
  default:
261
  }
295
  form_submit_event: function () {
296
 
297
  $('form.register').on('submit', function ( event ) {
298
+
299
  if( ! $this.valid() ) {
300
  return;
301
  }
423
  };
424
 
425
  $(function () {
426
+ $('form.register').ur_form_submission();
427
  var date_selector = $('.ur-frontend-form input[type="date"]');
428
  if ( date_selector.length > 0 ) {
429
  date_selector.addClass('ur-date').attr('type', 'text').attr('placeholder', 'yy-mm-dd').datepicker({
assets/js/frontend/user-registration.min.js CHANGED
@@ -1 +1 @@
1
- !function(e){({$user_registration:e(".ur-frontend-form form.register"),init:function(){this.init_datepicker(),this.load_validation(),this.$user_registration.on("input validate change",".input-text, select, input:checkbox input:radio",this.validate_field)},init_datepicker:function(){e(".date-picker-field, .date-picker").datepicker({changeMonth:!0,changeYear:!0,defaultDate:"",dateFormat:"yy-mm-dd",numberOfMonths:1,minDate:"-15Y",maxDate:"+15Y"})},load_validation:function(){if("undefined"==typeof e.fn.validate)return!1;e.extend(e.validator.messages,{required:user_registration_params.i18n_messages_required,url:user_registration_params.i18n_messages_url,email:user_registration_params.i18n_messages_email,number:user_registration_params.i18n_messages_number}),e.validator.methods.email=function(e,r){var a=new RegExp(/^((([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+(\.([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+)*)|((\x22)((((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(([\x01-\x08\x0b\x0c\x0e-\x1f\x7f]|\x21|[\x23-\x5b]|[\x5d-\x7e]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(\\([\x01-\x09\x0b\x0c\x0d-\x7f]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))))*(((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(\x22)))@((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?$/i);return this.optional(r)||a.test(e)},this.$user_registration.each(function(){e(this).validate({errorClass:"user-registration-error",validClass:"user-registration-valid",errorPlacement:function(e,r){"radio"===r.attr("type")||"checkbox"===r.attr("type")?r.parent().parent().parent().append(e):r.is("select")&&r.attr("class").match(/date-month|date-day|date-year/)?0===r.parent().find("label.user-registration-error:visible").length&&r.parent().find("select:last").after(e):e.insertAfter(r)},highlight:function(r,a,t){var i=e(r);i.closest(".form-row"),i.attr("name")},unhighlight:function(r,a,t){var i=e(r),n=i.closest(".form-row"),s=i.attr("name");"radio"===i.attr("type")||"checkbox"===i.attr("type")?n.find("input[name='"+s+"']").addClass(t).removeClass(a):i.addClass(t).removeClass(a),n.removeClass("user-registration-has-error")},submitHandler:function(e){return!1}})})},validate_field:function(r){var a=e(this),t=a.closest(".form-row"),i=!0,n=t.is(".validate-required"),s=t.is(".validate-email"),u=r.type;if("input"===u&&t.removeClass("user-registration-invalid user-registration-invalid-required-field user-registration-invalid-email user-registration-validated"),"validate"===u||"change"===u){if(n&&("checkbox"!==a.attr("type")||a.is(":checked")?""===a.val()&&(t.removeClass("user-registration-validated").addClass("user-registration-invalid user-registration-invalid-required-field"),i=!1):(t.removeClass("user-registration-validated").addClass("user-registration-invalid user-registration-invalid-required-field"),i=!1)),s&&a.val()){new RegExp(/^((([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+(\.([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+)*)|((\x22)((((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(([\x01-\x08\x0b\x0c\x0e-\x1f\x7f]|\x21|[\x23-\x5b]|[\x5d-\x7e]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(\\([\x01-\x09\x0b\x0c\x0d-\x7f]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))))*(((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(\x22)))@((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?$/i).test(a.val())||(t.removeClass("user-registration-validated").addClass("user-registration-invalid user-registration-invalid-email"),i=!1)}i&&t.removeClass("user-registration-invalid user-registration-invalid-required-field user-registration-invalid-email").addClass("user-registration-validated")}}}).init();var r=user_registration_params.ursL10n;e.fn.ur_form_submission=function(){return this.each(function(){var a=e(this),t=[],i=user_registration_params.form_required_fields,n={init:function(){},get_form_data:function(){var r=this,t=[],i=a.closest(".ur-frontend-form").find(".ur-form-grid").find(".ur-frontend-field"),n=new Array;e.each(i,function(){var i=e(this).attr("name");if(a.closest(".ur-frontend-form").find(".ur-form-grid").find('.ur-frontend-field[name="'+i+'"]').length<2){var s=r.get_fieldwise_data(e(this));t.push(s)}else e.inArray(i,n)<0&&n.push(i)});for(var s=0;s<n.length;s++){var u=a.closest(".ur-frontend-form").find(".ur-form-grid").find('.ur-frontend-field[name="'+n[s]+'"]'),o=(u.get(0).tagName.toLowerCase(),"undefined"!==u.eq(0).attr("type")?u.eq(0).attr("type"):"null"),d=new Array;if(e.each(u,function(){var r=e(this),a="";switch(r.get(0).tagName.toLowerCase()){case"input":switch(o){case"checkbox":case"radio":a=r.prop("checked")?r.val():"";break;default:a=r.val()}break;case"select":case"textarea":a=r.val()}""!==a&&d.push(a)}),"checkbox"==o)var F=JSON.stringify(d);else if("radio"==o)F=d[0];else F=u.val();var l=n[s];l=l.replace("[]","");var f={value:F,field_type:u.eq(0).attr("id").replace("ur-input-type-",""),label:u.eq(0).attr("data-label"),field_name:l};t.push(f)}return e(document).trigger("user_registration_frontend_form_data_filter",[t]),t},get_fieldwise_data:function(r){var a={},n=r.get(0).tagName.toLowerCase(),s="undefined"!==r.attr("type")?r.attr("type"):"null";switch(a.value="",n){case"input":switch(s){case"checkbox":case"radio":a.value=r.prop("checked")?r.val():"";break;default:a.value=r.val()}break;case"select":case"textarea":a.value=r.val()}return e(document).trigger("user_registration_frontend_form_data_render",[r,a]),a.field_type=r.attr("id").replace("ur-input-type-",""),r.attr("data-label")!==undefined?a.label=r.attr("data-label"):"label"===r.prev().get(0).tagName.toLowerCase()?a.label=r.prev().text():a.label=a.field_type,r.attr("name")!==undefined&&""!==r.attr("name")?a.field_name=r.attr("name"):a.field_name="",e.inArray(a.field_name,e.trim(i))>=0&&t.push(a.field_name),a},show_message:function(r,a,t){t.find(".ur-message").remove();var i=e('<div class="ur-message user-registration-'+a+'" id="ur-submit-message-node"/>');i.append(r),t.append(i)}},s={init:function(){this.form_submit_event()},form_submit_event:function(){e("form.register").on("submit",function(t){if(a.valid()){if(a.find(".user-registration-password-strength").length>0){var i=a.find(".user-registration-password-strength").attr("data-current-strength"),s=a.find(".user-registration-password-strength").attr("data-min-strength");if(parseInt(i,0)<parseInt(s,0))return!1}t.preventDefault();var u;try{u=JSON.stringify(n.get_form_data())}catch(l){u=""}var o=0;1===e(this).closest("form").find('input[name="ur-user-form-id"]').length&&(o=e(this).closest("form").find('input[name="ur-user-form-id"]').val());var d="0";1===e(this).closest("form").find('input[name="ur_frontend_form_nonce"]').length&&(d=e(this).closest("form").find('input[name="ur_frontend_form_nonce"]').val());var F={action:"user_registration_user_form_submit",security:user_registration_params.user_registration_form_data_save,form_data:u,form_id:o,ur_frontend_form_nonce:d};if(e(document).trigger("user_registration_frontend_before_form_submit",[F,a]),"undefined"!=typeof ur_google_recaptcha_code&&"1"===ur_google_recaptcha_code.is_captcha_enable){if(0===a.find("#g-recaptcha-response").val().length)return void n.show_message("<p>"+r.captcha_error+"</p>","error",a);grecaptcha.reset()}a.find(".ur-submit-button").find("span").addClass("ur-front-spinner"),e.ajax({url:user_registration_params.ajax_url,data:F,type:"POST",async:!0,beforeSend:function(){},complete:function(t){a.find(".ur-submit-button").find("span").removeClass("ur-front-spinner");var i=e('<ul class=""/>'),s="error";try{var u=e.parseJSON(t.responseText);"undefined"!=typeof u.success&&!0===u.success&&(s="message"),"object"==typeof u.data.message&&e.each(u.data.message,function(){e("<li/>").text(this).appendTo(i)}),"message"===s&&(e(".user-registration-password-hint").remove(),e(".user-registration-password-strength").remove(),"admin_approval"==user_registration_params.login_option?i.append("<li>"+r.user_under_approval+"</li>"):"email_confirmation"==user_registration_params.login_option?i.append("<li>"+r.user_email_pending+"</li>"):i.append("<li>"+r.user_successfully_saved+"</li>"),a[0].reset(),""!==user_registration_params.redirect_url?window.setTimeout(function(){window.location=user_registration_params.redirect_url},1e3):"undefined"!=typeof u.data.auto_login&&u.data.auto_login&&location.reload())}catch(o){i.append("<li>"+o.message+"</li>")}n.show_message(i,s,a),e(document).trigger("user_registration_frontend_after_ajax_complete",[t.responseText,s,a])}})}})}};n.init(),s.init()})},e(function(){e("form.register").ur_form_submission();var r=e('.ur-frontend-form input[type="date"]');r.length>0&&r.addClass("ur-date").attr("type","text").attr("placeholder","yy-mm-dd").datepicker({dateFormat:"yy-mm-dd",changeMonth:!0,changeYear:!0,yearRange:"1901:2099"})})}(jQuery);var google_recaptcha_user_registration,onloadURCallback=function(){google_recaptcha_user_registration=grecaptcha.render("node_recaptcha",{sitekey:ur_google_recaptcha_code.site_key,theme:"light",style:"transform:scale(0.77);-webkit-transform:scale(0.77);transform-origin:0 0;-webkit-transform-origin:0 0;"})};
1
+ !function(e){({$user_registration:e(".ur-frontend-form form.register"),init:function(){this.init_datepicker(),this.load_validation(),this.$user_registration.on("input validate change",".input-text, select, input:checkbox input:radio",this.validate_field)},init_datepicker:function(){e(".date-picker-field, .date-picker").datepicker({changeMonth:!0,changeYear:!0,defaultDate:"",dateFormat:"yy-mm-dd",numberOfMonths:1,minDate:"-15Y",maxDate:"+15Y"})},load_validation:function(){if("undefined"==typeof e.fn.validate)return!1;e.validator.methods.email=function(e,r){var a=new RegExp(/^((([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+(\.([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+)*)|((\x22)((((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(([\x01-\x08\x0b\x0c\x0e-\x1f\x7f]|\x21|[\x23-\x5b]|[\x5d-\x7e]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(\\([\x01-\x09\x0b\x0c\x0d-\x7f]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))))*(((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(\x22)))@((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?$/i);return this.optional(r)||a.test(e)},this.$user_registration.each(function(){e(this).validate({errorClass:"user-registration-error",validClass:"user-registration-valid",errorPlacement:function(e,r){"radio"===r.attr("type")||"checkbox"===r.attr("type")?r.parent().parent().parent().append(e):r.is("select")&&r.attr("class").match(/date-month|date-day|date-year/)?0===r.parent().find("label.user-registration-error:visible").length&&r.parent().find("select:last").after(e):e.insertAfter(r)},highlight:function(r,a,t){var i=e(r);i.closest(".form-row"),i.attr("name")},unhighlight:function(r,a,t){var i=e(r),s=i.closest(".form-row"),n=i.attr("name");"radio"===i.attr("type")||"checkbox"===i.attr("type")?s.find("input[name='"+n+"']").addClass(t).removeClass(a):i.addClass(t).removeClass(a),s.removeClass("user-registration-has-error")},submitHandler:function(e){return!1}})})},validate_field:function(r){e.extend(e.validator.messages,{required:user_registration_params.message_required_fields,url:user_registration_params.message_url_fields,email:user_registration_params.message_email_fields,number:user_registration_params.message_number_fields,confirmpassword:user_registration_params.message_confirm_password_fields});var a=e(this),t=a.closest(".form-row"),i=!0,s=t.is(".validate-required"),n=t.is(".validate-email"),u=r.type;if("input"===u&&t.removeClass("user-registration-invalid user-registration-invalid-required-field user-registration-invalid-email user-registration-validated"),"validate"===u||"change"===u){if(s&&("checkbox"!==a.attr("type")||a.is(":checked")?""===a.val()&&(t.removeClass("user-registration-validated").addClass("user-registration-invalid user-registration-invalid-required-field"),i=!1):(t.removeClass("user-registration-validated").addClass("user-registration-invalid user-registration-invalid-required-field"),i=!1)),n&&a.val()){new RegExp(/^((([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+(\.([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+)*)|((\x22)((((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(([\x01-\x08\x0b\x0c\x0e-\x1f\x7f]|\x21|[\x23-\x5b]|[\x5d-\x7e]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(\\([\x01-\x09\x0b\x0c\x0d-\x7f]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))))*(((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(\x22)))@((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?$/i).test(a.val())||(t.removeClass("user-registration-validated").addClass("user-registration-invalid user-registration-invalid-email"),i=!1)}i&&t.removeClass("user-registration-invalid user-registration-invalid-required-field user-registration-invalid-email").addClass("user-registration-validated")}}}).init();var r=user_registration_params.ursL10n;e.fn.ur_form_submission=function(){return this.each(function(){var a=e(this),t=[],i=user_registration_params.form_required_fields,s={init:function(){},get_form_data:function(){var r=this,t=[],i=a.closest(".ur-frontend-form").find(".ur-form-grid").find(".ur-frontend-field"),s=new Array;e.each(i,function(){var i=e(this).attr("name");if(a.closest(".ur-frontend-form").find(".ur-form-grid").find('.ur-frontend-field[name="'+i+'"]').length<2){var n=r.get_fieldwise_data(e(this));t.push(n)}else e.inArray(i,s)<0&&s.push(i)});for(var n=0;n<s.length;n++){var u=a.closest(".ur-frontend-form").find(".ur-form-grid").find('.ur-frontend-field[name="'+s[n]+'"]'),o=(u.get(0).tagName.toLowerCase(),"undefined"!==u.eq(0).attr("type")?u.eq(0).attr("type"):"null"),d=new Array;if(e.each(u,function(){var r=e(this),a="";switch(r.get(0).tagName.toLowerCase()){case"input":switch(o){case"checkbox":case"radio":a=r.prop("checked")?r.val():"";break;default:a=r.val()}break;case"select":case"textarea":a=r.val()}""!==a&&d.push(a)}),"checkbox"==o)var F=JSON.stringify(d);else if("radio"==o)F=d[0];else F=u.val();var l=s[n];l=l.replace("[]","");var f={value:F,field_type:u.eq(0).attr("id").replace("ur-input-type-",""),label:u.eq(0).attr("data-label"),field_name:l};t.push(f)}return e(document).trigger("user_registration_frontend_form_data_filter",[t]),t},get_fieldwise_data:function(r){var a={},s=r.get(0).tagName.toLowerCase(),n="undefined"!==r.attr("type")?r.attr("type"):"null",u=r.get(0).className.split(" ")[0];switch(a.value="",s){case"input":switch(n){case"checkbox":case"radio":a.value=r.prop("checked")?r.val():"";break;default:a.value=r.val()}break;case"select":a.value=r.val();break;case"textarea":switch(u){case"wysiwyg":tinyMCE.triggerSave(),a.value=r.val();break;default:a.value=r.val()}}return e(document).trigger("user_registration_frontend_form_data_render",[r,a]),a.field_type=r.attr("id").replace("ur-input-type-",""),r.attr("data-label")!==undefined?a.label=r.attr("data-label"):"label"===r.prev().get(0).tagName.toLowerCase()?a.label=r.prev().text():a.label=a.field_type,r.attr("name")!==undefined&&""!==r.attr("name")?a.field_name=r.attr("name"):a.field_name="",e.inArray(a.field_name,e.trim(i))>=0&&t.push(a.field_name),a},show_message:function(r,a,t){t.find(".ur-message").remove();var i=e('<div class="ur-message user-registration-'+a+'" id="ur-submit-message-node"/>');i.append(r),t.append(i)}},n={init:function(){this.form_submit_event()},form_submit_event:function(){e("form.register").on("submit",function(t){if(a.valid()){if(a.find(".user-registration-password-strength").length>0){var i=a.find(".user-registration-password-strength").attr("data-current-strength"),n=a.find(".user-registration-password-strength").attr("data-min-strength");if(parseInt(i,0)<parseInt(n,0))return!1}t.preventDefault();var u;try{u=JSON.stringify(s.get_form_data())}catch(l){u=""}var o=0;1===e(this).closest("form").find('input[name="ur-user-form-id"]').length&&(o=e(this).closest("form").find('input[name="ur-user-form-id"]').val());var d="0";1===e(this).closest("form").find('input[name="ur_frontend_form_nonce"]').length&&(d=e(this).closest("form").find('input[name="ur_frontend_form_nonce"]').val());var F={action:"user_registration_user_form_submit",security:user_registration_params.user_registration_form_data_save,form_data:u,form_id:o,ur_frontend_form_nonce:d};if(e(document).trigger("user_registration_frontend_before_form_submit",[F,a]),"undefined"!=typeof ur_google_recaptcha_code&&"1"===ur_google_recaptcha_code.is_captcha_enable){if(0===a.find("#g-recaptcha-response").val().length)return void s.show_message("<p>"+r.captcha_error+"</p>","error",a);grecaptcha.reset()}a.find(".ur-submit-button").find("span").addClass("ur-front-spinner"),e.ajax({url:user_registration_params.ajax_url,data:F,type:"POST",async:!0,beforeSend:function(){},complete:function(t){a.find(".ur-submit-button").find("span").removeClass("ur-front-spinner");var i=e('<ul class=""/>'),n="error";try{var u=e.parseJSON(t.responseText);"undefined"!=typeof u.success&&!0===u.success&&(n="message"),"object"==typeof u.data.message&&e.each(u.data.message,function(){e("<li/>").text(this).appendTo(i)}),"message"===n&&(e(".user-registration-password-hint").remove(),e(".user-registration-password-strength").remove(),"admin_approval"==user_registration_params.login_option?i.append("<li>"+r.user_under_approval+"</li>"):"email_confirmation"==user_registration_params.login_option?i.append("<li>"+r.user_email_pending+"</li>"):i.append("<li>"+r.user_successfully_saved+"</li>"),a[0].reset(),""!==user_registration_params.redirect_url?window.setTimeout(function(){window.location=user_registration_params.redirect_url},1e3):"undefined"!=typeof u.data.auto_login&&u.data.auto_login&&location.reload())}catch(o){i.append("<li>"+o.message+"</li>")}s.show_message(i,n,a),e(document).trigger("user_registration_frontend_after_ajax_complete",[t.responseText,n,a])}})}})}};s.init(),n.init()})},e(function(){e("form.register").ur_form_submission();var r=e('.ur-frontend-form input[type="date"]');r.length>0&&r.addClass("ur-date").attr("type","text").attr("placeholder","yy-mm-dd").datepicker({dateFormat:"yy-mm-dd",changeMonth:!0,changeYear:!0,yearRange:"1901:2099"})})}(jQuery);var google_recaptcha_user_registration,onloadURCallback=function(){google_recaptcha_user_registration=grecaptcha.render("node_recaptcha",{sitekey:ur_google_recaptcha_code.site_key,theme:"light",style:"transform:scale(0.77);-webkit-transform:scale(0.77);transform-origin:0 0;-webkit-transform-origin:0 0;"})};
includes/abstracts/abstract-ur-field-settings.php CHANGED
@@ -13,7 +13,6 @@ if ( ! defined( 'ABSPATH' ) ) {
13
  */
14
  abstract class UR_Field_Settings {
15
 
16
-
17
  public $field_id;
18
 
19
  public $fields_html;
13
  */
14
  abstract class UR_Field_Settings {
15
 
 
16
  public $field_id;
17
 
18
  public $fields_html;
includes/abstracts/abstract-ur-form-field.php CHANGED
@@ -82,29 +82,21 @@ abstract class UR_Form_Field {
82
 
83
  $this->form_id = $form_id;
84
 
85
- $form_data = array(
 
86
 
87
- 'label' => isset( $data['general_setting']->label ) ? $data['general_setting']->label : '',
88
-
89
- 'placeholder' => isset( $data['general_setting']->placeholder ) ? $data['general_setting']->placeholder : '',
90
-
91
- 'description' => isset( $data['general_setting']->description ) ? $data['general_setting']->description : '',
92
-
93
- 'hide_label' => isset( $data['general_setting']->hide_label ) ? $data['general_setting']->hide_label : '',
94
-
95
- 'type' => $field_type,
96
- );
97
-
98
-
99
- if( $form_data['hide_label'] === 'yes' ) {
100
  unset( $form_data['label'] );
101
  }
102
 
103
- if ( in_array( $field_key, ur_get_required_fields() ) || 'yes' === $data['general_setting']->required ) {
 
 
104
 
105
- $form_data['required'] = true;
106
 
107
- $form_data['custom_attributes']['required'] = 'required';
 
108
  }
109
 
110
  if ( isset( $data['advance_setting']->size ) ) {
@@ -128,7 +120,7 @@ abstract class UR_Form_Field {
128
 
129
  if ( 'country' == $field_key ) {
130
 
131
- $form_data['options'] = UR_Country::get_instance()->get_country();
132
 
133
  }
134
  if ( 'select' == $field_key ) {
@@ -138,7 +130,7 @@ abstract class UR_Form_Field {
138
  if ( is_array( $option_data ) ) {
139
 
140
  foreach ( $option_data as $index_data => $option ) {
141
- $form_data['options'][ $option ] = $option;
142
  }
143
  }
144
  }
@@ -174,7 +166,9 @@ abstract class UR_Form_Field {
174
 
175
  $form_data = isset( $form_data_array['form_data'] ) ? $form_data_array['form_data'] : $form_data;
176
 
177
- user_registration_form_field( $data['general_setting']->field_name, $form_data );
 
 
178
 
179
  }
180
 
@@ -213,16 +207,17 @@ abstract class UR_Form_Field {
213
 
214
  /**
215
  * @return string
 
216
  */
217
  public function get_field_general_settings() {
218
 
219
- $general_settings = ur_get_general_settings();
220
 
221
  $general_setting_html = '';
222
 
223
  foreach ( $general_settings as $setting_key => $setting_value ) {
224
 
225
- $general_setting_wrapper = '<div class="ur-general-setting ur-setting-' . $setting_value['type'] . '">';
226
 
227
  $general_setting_wrapper .= '<label for="ur-type-' . $setting_value['type'] . '">' . $setting_value['label'] . '</label>';
228
 
@@ -272,7 +267,9 @@ abstract class UR_Form_Field {
272
 
273
  $general_setting_wrapper .= ' />';
274
  }
 
275
  break;
 
276
  case 'select':
277
 
278
  if ( isset( $setting_value['options'] ) && gettype( $setting_value['options'] ) == 'array' ) {
@@ -290,9 +287,9 @@ abstract class UR_Form_Field {
290
  }
291
 
292
  break;
293
-
294
  case 'textarea':
295
- $general_setting_wrapper .= '<textarea data-field="' . $setting_key . '" class="ur-general-setting-field ur-type-' . $setting_value['type'] . '" name="' . $setting_value['name'] . '" placeholder= "'. __( 'Description', 'user-registration').'" ';
296
 
297
  if ( true == $setting_value['required'] ) {
298
 
@@ -319,8 +316,13 @@ abstract class UR_Form_Field {
319
 
320
 
321
  public function get_setting() {
 
 
 
 
 
322
 
323
- echo "<div class='ur-general-setting-block'>";
324
 
325
  echo '<h2>' . __( 'General Settings', 'user-registration' ) . '</h2>';
326
 
@@ -328,7 +330,7 @@ abstract class UR_Form_Field {
328
 
329
  echo '</div>';
330
 
331
- $advance_settings = $this->get_field_advance_settings();
332
 
333
  if ( '' != $advance_settings ) {
334
 
82
 
83
  $this->form_id = $form_id;
84
 
85
+ $form_data = (array) $data['general_setting'];
86
+ $form_data['type'] = $field_type;
87
 
88
+ if( isset( $form_data['hide_label'] ) && 'yes' === $form_data['hide_label'] ) {
 
 
 
 
 
 
 
 
 
 
 
 
89
  unset( $form_data['label'] );
90
  }
91
 
92
+ if( isset( $data['general_setting']->required ) ) {
93
+
94
+ if ( in_array( $field_key, ur_get_required_fields() ) || 'yes' === $data['general_setting']->required ) {
95
 
96
+ $form_data['required'] = true;
97
 
98
+ $form_data['custom_attributes']['required'] = 'required';
99
+ }
100
  }
101
 
102
  if ( isset( $data['advance_setting']->size ) ) {
120
 
121
  if ( 'country' == $field_key ) {
122
 
123
+ $form_data['options'] = UR_Form_Field_Country::get_instance()->get_country();
124
 
125
  }
126
  if ( 'select' == $field_key ) {
130
  if ( is_array( $option_data ) ) {
131
 
132
  foreach ( $option_data as $index_data => $option ) {
133
+ $form_data['options'][ $option ] = $option;
134
  }
135
  }
136
  }
166
 
167
  $form_data = isset( $form_data_array['form_data'] ) ? $form_data_array['form_data'] : $form_data;
168
 
169
+ if( isset( $data['general_setting']->field_name ) ) {
170
+ user_registration_form_field( $data['general_setting']->field_name, $form_data );
171
+ }
172
 
173
  }
174
 
207
 
208
  /**
209
  * @return string
210
+ * @param string $id Form field name
211
  */
212
  public function get_field_general_settings() {
213
 
214
+ $general_settings = ur_get_general_settings( $this->id );
215
 
216
  $general_setting_html = '';
217
 
218
  foreach ( $general_settings as $setting_key => $setting_value ) {
219
 
220
+ $general_setting_wrapper = '<div class="ur-general-setting ur-setting-' . $setting_value['type'] . ' ur-general-setting-' . str_replace(" ", "-", strtolower( $setting_value['label']) ) . '">';
221
 
222
  $general_setting_wrapper .= '<label for="ur-type-' . $setting_value['type'] . '">' . $setting_value['label'] . '</label>';
223
 
267
 
268
  $general_setting_wrapper .= ' />';
269
  }
270
+
271
  break;
272
+
273
  case 'select':
274
 
275
  if ( isset( $setting_value['options'] ) && gettype( $setting_value['options'] ) == 'array' ) {
287
  }
288
 
289
  break;
290
+
291
  case 'textarea':
292
+ $general_setting_wrapper .= '<textarea data-field="' . $setting_key . '" class="ur-general-setting-field ur-type-' . $setting_value['type'] . '" name="' . $setting_value['name'] . '" placeholder= "'. esc_attr( $setting_value['placeholder'] ) .'" ';
293
 
294
  if ( true == $setting_value['required'] ) {
295
 
316
 
317
 
318
  public function get_setting() {
319
+ $sub_string_key = substr( $this->id, strlen( 'user_registration_' ), 5 );
320
+
321
+ $strip_prefix = substr( $this->id, 18 );
322
+
323
+ $class = 'ur-general-setting-'.$strip_prefix;
324
 
325
+ echo "<div class='ur-general-setting-block " . esc_attr( $class ) ."'>";
326
 
327
  echo '<h2>' . __( 'General Settings', 'user-registration' ) . '</h2>';
328
 
330
 
331
  echo '</div>';
332
 
333
+ $advance_settings = $this->get_field_advance_settings( );
334
 
335
  if ( '' != $advance_settings ) {
336
 
includes/admin/class-ur-admin-menus.php CHANGED
@@ -583,11 +583,17 @@ if ( ! class_exists( 'UR_Admin_Menus', false ) ) :
583
  throw new Exception( __( 'Empty form data', 'user-registration' ) );
584
  }
585
 
586
- $class_name = 'UR_' . ucwords( $single_field->field_key );
587
 
588
  if ( class_exists( $class_name ) ) {
589
  echo $class_name::get_instance()->get_admin_template( $single_field );
590
  }
 
 
 
 
 
 
591
  }
592
 
593
  private function get_registered_user_form_fields() {
583
  throw new Exception( __( 'Empty form data', 'user-registration' ) );
584
  }
585
 
586
+ $class_name = 'UR_Form_Field_' . ucwords( $single_field->field_key );
587
 
588
  if ( class_exists( $class_name ) ) {
589
  echo $class_name::get_instance()->get_admin_template( $single_field );
590
  }
591
+ /* Backward Compat since 1.4.0 */
592
+ $class_name_old = 'UR_' . ucwords( $single_field->field_key );
593
+ if( class_exists( $class_name_old ) ) {
594
+ echo $class_name_old::get_instance()->get_admin_template( $single_field );
595
+ }
596
+ /* Backward compat end */
597
  }
598
 
599
  private function get_registered_user_form_fields() {
includes/admin/class-ur-admin-user-list-manager.php CHANGED
@@ -65,7 +65,6 @@ class UR_Admin_User_List_Manager {
65
  return $actions;
66
  }
67
 
68
-
69
  $approve_link = add_query_arg( array( 'action' => 'approve', 'user' => $user->ID ) );
70
  $approve_link = remove_query_arg( array( 'new_role' ), $approve_link );
71
  $approve_link = wp_nonce_url( $approve_link, 'ur_user_change_status' );
65
  return $actions;
66
  }
67
 
 
68
  $approve_link = add_query_arg( array( 'action' => 'approve', 'user' => $user->ID ) );
69
  $approve_link = remove_query_arg( array( 'new_role' ), $approve_link );
70
  $approve_link = wp_nonce_url( $approve_link, 'ur_user_change_status' );
includes/admin/settings/class-ur-settings-general.php CHANGED
@@ -62,8 +62,7 @@ if ( ! class_exists( 'UR_Settings_General' ) ) :
62
 
63
  unset($all_roles_except_admin['administrator']);
64
 
65
-
66
- $settings = apply_filters(
67
  'user_registration_general_settings', array(
68
 
69
  array(
@@ -72,19 +71,7 @@ if ( ! class_exists( 'UR_Settings_General' ) ) :
72
  'desc' => '',
73
  'id' => 'general_options',
74
  ),
75
-
76
- array(
77
- 'title' => __( 'Default user role', 'user-registration' ),
78
- 'desc' => __( 'This option lets you choose user role for frontend registration.', 'user-registration' ),
79
- 'id' => 'user_registration_general_setting_default_user_role',
80
- 'default' => 'subscriber',
81
- 'type' => 'select',
82
- 'class' => 'ur-enhanced-select',
83
- 'css' => 'min-width: 350px;',
84
- 'desc_tip' => true,
85
- 'options' => $all_roles,
86
- ),
87
- array(
88
  'title' => __( 'User login option', 'user-registration' ),
89
  'desc' => __( 'This option lets you choose login option after user registration.', 'user-registration' ),
90
  'id' => 'user_registration_general_setting_login_options',
@@ -95,7 +82,6 @@ if ( ! class_exists( 'UR_Settings_General' ) ) :
95
  'desc_tip' => true,
96
  'options' => ur_login_option(),
97
  ),
98
-
99
  array(
100
  'title' => __( 'Redirect URL', 'user-registration' ),
101
  'desc' => __( 'This option lets you enter redirect path after successful user registration.', 'user-registration' ),
@@ -103,9 +89,7 @@ if ( ! class_exists( 'UR_Settings_General' ) ) :
103
  'type' => 'text',
104
  'desc_tip' => true,
105
  'css' => 'min-width: 350px;',
106
-
107
  ),
108
-
109
  array(
110
  'title' => __( 'Registration URL', 'user-registration' ),
111
  'desc' => __( 'This option lets you enter the registration page url in login form.', 'user-registration' ),
@@ -114,7 +98,6 @@ if ( ! class_exists( 'UR_Settings_General' ) ) :
114
  'desc_tip' => true,
115
  'css' => 'min-width: 350px;',
116
  ),
117
-
118
  array(
119
  'title' => __( 'Registration URL label', 'user-registration' ),
120
  'desc' => __( 'This option lets you enter the label to registration url in login form.', 'user-registration' ),
@@ -124,8 +107,6 @@ if ( ! class_exists( 'UR_Settings_General' ) ) :
124
  'css' => 'min-width: 350px;',
125
  'default' => __( 'Not a member yet? Register now.','user-registration' )
126
  ),
127
-
128
-
129
  array(
130
  'title' => __( 'Prevent dashboard access', 'user-registration' ),
131
  'desc' => __( 'This option lets you limit which roles you are willing to prevent dashboard access.', 'user-registration' ),
@@ -137,7 +118,6 @@ if ( ! class_exists( 'UR_Settings_General' ) ) :
137
  'desc_tip' => true,
138
  'options' => $all_roles_except_admin,
139
  ),
140
-
141
  array(
142
  'title' => __( 'My account page', 'user-registration' ),
143
  'desc' => sprintf( __( 'Page contents: [%s]', 'user-registration' ), apply_filters( 'user_registration_myaccount_shortcode_tag', 'user_registration_my_account' ) ),
@@ -149,29 +129,6 @@ if ( ! class_exists( 'UR_Settings_General' ) ) :
149
  'desc_tip' => true,
150
  'display' => 'none'
151
  ),
152
-
153
- array(
154
- 'title' => __( 'Enable strong password', 'user-registration' ),
155
- 'desc' => __( 'Check to use strong password on user registration form.', 'user-registration' ),
156
- 'id' => 'user_registration_general_setting_enable_strong_password',
157
- 'default' => 'yes',
158
- 'type' => 'checkbox',
159
- 'autoload' => false,
160
- ),
161
-
162
- array(
163
- 'title' => __( 'Form submit button label', 'user-registration' ),
164
- 'desc' => __( 'This option let you change the submit button label.', 'user-registration' ),
165
- 'id' => 'user_registration_general_setting_form_submit_label',
166
- 'default' => 'Submit',
167
- 'type' => 'text',
168
- 'autoload' => false,
169
- 'desc_tip' => true,
170
- 'css' => 'min-width: 350px;',
171
-
172
-
173
- ),
174
-
175
  array(
176
  'type' => 'sectionend',
177
  'id' => 'general_options',
@@ -224,7 +181,6 @@ if ( ! class_exists( 'UR_Settings_General' ) ) :
224
  'type' => 'sectionend',
225
  'id' => 'account_endpoint_options',
226
  ),
227
-
228
  )
229
  );
230
 
@@ -237,10 +193,10 @@ if ( ! class_exists( 'UR_Settings_General' ) ) :
237
  'user_registration_frontend_messages_settings', array(
238
 
239
  array(
240
- 'title' => __( 'Frontend Messages', 'user-registration' ),
241
  'type' => 'title',
242
  'desc' => '',
243
- 'id' => 'frontend_messages_settings',
244
  ),
245
 
246
  array(
@@ -260,7 +216,7 @@ if ( ! class_exists( 'UR_Settings_General' ) ) :
260
  'type' => 'textarea',
261
  'desc_tip' => true,
262
  'css' => 'min-width: 350px; min-height: 100px;',
263
- 'default' => __('User registered. Verify your email by clicking on the link sent to your email.','user-registration'),
264
  ),
265
 
266
  array(
@@ -270,14 +226,85 @@ if ( ! class_exists( 'UR_Settings_General' ) ) :
270
  'type' => 'textarea',
271
  'desc_tip' => true,
272
  'css' => 'min-width: 350px; min-height: 100px;',
273
- 'default' => __('User registered. Wait until admin approves your registration.','user-registration'),
274
  ),
275
 
276
  array(
277
  'type' => 'sectionend',
278
- 'id' => 'frontend_messages_settings',
279
  ),
280
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
281
  )
282
  );
283
 
@@ -293,10 +320,8 @@ if ( ! class_exists( 'UR_Settings_General' ) ) :
293
  if( $current_section === '') {
294
  $settings = $this->get_settings();
295
 
296
-
297
  } elseif ( $current_section === 'frontend-messages') {
298
  $settings = $this->get_frontend_messages_settings();
299
-
300
  }
301
  UR_Admin_Settings::output_fields( $settings );
302
  }
@@ -312,7 +337,6 @@ if ( ! class_exists( 'UR_Settings_General' ) ) :
312
  if( $current_section === '') {
313
  $settings = $this->get_settings();
314
 
315
-
316
  } elseif ( $current_section === 'frontend-messages') {
317
  $settings = $this->get_frontend_messages_settings();
318
 
62
 
63
  unset($all_roles_except_admin['administrator']);
64
 
65
+ $settings = apply_filters(
 
66
  'user_registration_general_settings', array(
67
 
68
  array(
71
  'desc' => '',
72
  'id' => 'general_options',
73
  ),
74
+ array(
 
 
 
 
 
 
 
 
 
 
 
 
75
  'title' => __( 'User login option', 'user-registration' ),
76
  'desc' => __( 'This option lets you choose login option after user registration.', 'user-registration' ),
77
  'id' => 'user_registration_general_setting_login_options',
82
  'desc_tip' => true,
83
  'options' => ur_login_option(),
84
  ),
 
85
  array(
86
  'title' => __( 'Redirect URL', 'user-registration' ),
87
  'desc' => __( 'This option lets you enter redirect path after successful user registration.', 'user-registration' ),
89
  'type' => 'text',
90
  'desc_tip' => true,
91
  'css' => 'min-width: 350px;',
 
92
  ),
 
93
  array(
94
  'title' => __( 'Registration URL', 'user-registration' ),
95
  'desc' => __( 'This option lets you enter the registration page url in login form.', 'user-registration' ),
98
  'desc_tip' => true,
99
  'css' => 'min-width: 350px;',
100
  ),
 
101
  array(
102
  'title' => __( 'Registration URL label', 'user-registration' ),
103
  'desc' => __( 'This option lets you enter the label to registration url in login form.', 'user-registration' ),
107
  'css' => 'min-width: 350px;',
108
  'default' => __( 'Not a member yet? Register now.','user-registration' )
109
  ),
 
 
110
  array(
111
  'title' => __( 'Prevent dashboard access', 'user-registration' ),
112
  'desc' => __( 'This option lets you limit which roles you are willing to prevent dashboard access.', 'user-registration' ),
118
  'desc_tip' => true,
119
  'options' => $all_roles_except_admin,
120
  ),
 
121
  array(
122
  'title' => __( 'My account page', 'user-registration' ),
123
  'desc' => sprintf( __( 'Page contents: [%s]', 'user-registration' ), apply_filters( 'user_registration_myaccount_shortcode_tag', 'user_registration_my_account' ) ),
129
  'desc_tip' => true,
130
  'display' => 'none'
131
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
132
  array(
133
  'type' => 'sectionend',
134
  'id' => 'general_options',
181
  'type' => 'sectionend',
182
  'id' => 'account_endpoint_options',
183
  ),
 
184
  )
185
  );
186
 
193
  'user_registration_frontend_messages_settings', array(
194
 
195
  array(
196
+ 'title' => __( 'Success Messages', 'user-registration' ),
197
  'type' => 'title',
198
  'desc' => '',
199
+ 'id' => 'frontend_success_messages_settings',
200
  ),
201
 
202
  array(
216
  'type' => 'textarea',
217
  'desc_tip' => true,
218
  'css' => 'min-width: 350px; min-height: 100px;',
219
+ 'default' => __( 'User registered. Verify your email by clicking on the link sent to your email.','user-registration' ),
220
  ),
221
 
222
  array(
226
  'type' => 'textarea',
227
  'desc_tip' => true,
228
  'css' => 'min-width: 350px; min-height: 100px;',
229
+ 'default' => __( 'User registered. Wait until admin approves your registration.','user-registration' ),
230
  ),
231
 
232
  array(
233
  'type' => 'sectionend',
234
+ 'id' => 'frontend_success_messages_settings',
235
  ),
236
 
237
+ array(
238
+ 'title' => __( 'Error Messages', 'user-registration' ),
239
+ 'type' => 'title',
240
+ 'desc' => '',
241
+ 'id' => 'frontend_error_message_messages_settings',
242
+ ),
243
+
244
+ array(
245
+ 'title' => __( 'Required', 'user-registration' ),
246
+ 'desc' => __( 'Enter the error message in form submission on required fields.', 'user-registration' ),
247
+ 'id' => 'user_registration_form_submission_error_message_required_fields',
248
+ 'type' => 'text',
249
+ 'desc_tip' => true,
250
+ 'css' => 'min-width: 350px;',
251
+ 'default' => __( 'This field is required.', 'user-registration' ),
252
+ ),
253
+
254
+ array(
255
+ 'title' => __( 'Email', 'user-registration' ),
256
+ 'desc' => __( 'Enter the error message in form submission on Email.', 'user-registration' ),
257
+ 'id' => 'user_registration_form_submission_error_message_email',
258
+ 'type' => 'text',
259
+ 'desc_tip' => true,
260
+ 'css' => 'min-width: 350px;',
261
+ 'default' => __( 'Please enter a valid email address.', 'user-registration' ),
262
+ ),
263
+
264
+ array(
265
+ 'title' => __( 'Website URL', 'user-registration' ),
266
+ 'desc' => __( 'Enter the error message in form submission on website/URL.', 'user-registration' ),
267
+ 'id' => 'user_registration_form_submission_error_message_website_URL',
268
+ 'type' => 'text',
269
+ 'desc_tip' => true,
270
+ 'css' => 'min-width: 350px;',
271
+ 'default' => __( 'Please enter a valid URL.', 'user-registration' ),
272
+ ),
273
+
274
+ array(
275
+ 'title' => __( 'Number', 'user-registration' ),
276
+ 'desc' => __( 'Enter the error message in form submission on Number.', 'user-registration' ),
277
+ 'id' => 'user_registration_form_submission_error_message_number',
278
+ 'type' => 'text',
279
+ 'desc_tip' => true,
280
+ 'css' => 'min-width: 350px;',
281
+ 'default' => __( 'Please enter a valid number.', 'user-registration' ),
282
+ ),
283
+
284
+ array(
285
+ 'title' => __( 'Confirm Password', 'user-registration' ),
286
+ 'desc' => __( 'Enter the error message in form submission on Confim Password.', 'user-registration' ),
287
+ 'id' => 'user_registration_form_submission_error_message_confirm_password',
288
+ 'type' => 'text',
289
+ 'desc_tip' => true,
290
+ 'css' => 'min-width: 350px;',
291
+ 'default' => __( 'Password and confirm password not matched.', 'user-registration' ),
292
+ ),
293
+
294
+ array(
295
+ 'title' => __( 'Google reCaptcha', 'user-registration' ),
296
+ 'desc' => __( 'Enter the error message in form submission on google recaptcha.', 'user-registration' ),
297
+ 'id' => 'user_registration_form_submission_error_message_recaptcha',
298
+ 'type' => 'text',
299
+ 'desc_tip' => true,
300
+ 'css' => 'min-width: 350px;',
301
+ 'default' => __( 'Captcha code error, please try again.', 'user-registration' ),
302
+ ),
303
+
304
+ array(
305
+ 'type' => 'sectionend',
306
+ 'id' => 'frontend_error_messages_settings',
307
+ ),
308
  )
309
  );
310
 
320
  if( $current_section === '') {
321
  $settings = $this->get_settings();
322
 
 
323
  } elseif ( $current_section === 'frontend-messages') {
324
  $settings = $this->get_frontend_messages_settings();
 
325
  }
326
  UR_Admin_Settings::output_fields( $settings );
327
  }
337
  if( $current_section === '') {
338
  $settings = $this->get_settings();
339
 
 
340
  } elseif ( $current_section === 'frontend-messages') {
341
  $settings = $this->get_frontend_messages_settings();
342
 
includes/admin/settings/emails/class-ur-settings-admin-email.php CHANGED
@@ -51,6 +51,16 @@ class UR_Settings_Admin_Email{
51
  'type' => 'checkbox',
52
  'autoload' => false,
53
  ),
 
 
 
 
 
 
 
 
 
 
54
  array(
55
  'title' => __( 'Email Subject', 'user-registration' ),
56
  'desc' => __( 'The email subject you want to customize.', 'user-registration' ),
51
  'type' => 'checkbox',
52
  'autoload' => false,
53
  ),
54
+ array(
55
+ 'title' => __( 'Email Receipents', 'user-registration' ),
56
+ 'desc' => __( 'Use comma to send emails to multiple receipents.', 'user-registration' ),
57
+ 'id' => 'user_registration_admin_email_receipents',
58
+ 'default' => get_option( 'admin_email' ),
59
+ 'type' => 'text',
60
+ 'css' => 'min-width: 350px;',
61
+ 'autoload' => false,
62
+ 'desc_tip' => true,
63
+ ),
64
  array(
65
  'title' => __( 'Email Subject', 'user-registration' ),
66
  'desc' => __( 'The email subject you want to customize.', 'user-registration' ),
includes/class-ur-ajax.php CHANGED
@@ -69,7 +69,7 @@ class UR_AJAX {
69
 
70
  check_ajax_referer( 'user_registration_form_data_save_nonce', 'security' );
71
 
72
- $form_id = isset( $_POST['form_id'] ) ? $_POST['form_id'] : 0;
73
 
74
  $nonce = isset( $_POST['ur_frontend_form_nonce'] ) ? $_POST['ur_frontend_form_nonce'] : '';
75
 
@@ -247,8 +247,7 @@ class UR_AJAX {
247
 
248
  }
249
 
250
-
251
- $post_id = wp_insert_post( $post_data );
252
 
253
  if ( $post_id > 0 ) {
254
 
@@ -292,7 +291,7 @@ class UR_AJAX {
292
  }
293
 
294
  public static function sweep_array( &$array ) {
295
-
296
  foreach ( $array as $key => &$value ) {
297
 
298
  if ( is_array( $value ) || gettype( $value ) == 'object' ) {
@@ -319,7 +318,14 @@ class UR_AJAX {
319
  array_push( self::$field_key_aray, $value );
320
  }
321
  if( $key === 'description' ) {
 
322
  $value = str_replace('"', "'", $value); //TODO:: use wp_kses to allow certain html
 
 
 
 
 
 
323
  }
324
  else{
325
  $value = sanitize_text_field( $value );
69
 
70
  check_ajax_referer( 'user_registration_form_data_save_nonce', 'security' );
71
 
72
+ $form_id = isset( $_POST['form_id'] ) ? absint( $_POST['form_id'] ) : 0;
73
 
74
  $nonce = isset( $_POST['ur_frontend_form_nonce'] ) ? $_POST['ur_frontend_form_nonce'] : '';
75
 
247
 
248
  }
249
 
250
+ $post_id = wp_insert_post( wp_slash( $post_data ) );
 
251
 
252
  if ( $post_id > 0 ) {
253
 
291
  }
292
 
293
  public static function sweep_array( &$array ) {
294
+
295
  foreach ( $array as $key => &$value ) {
296
 
297
  if ( is_array( $value ) || gettype( $value ) == 'object' ) {
318
  array_push( self::$field_key_aray, $value );
319
  }
320
  if( $key === 'description' ) {
321
+
322
  $value = str_replace('"', "'", $value); //TODO:: use wp_kses to allow certain html
323
+
324
+ } elseif( $key == 'html') {
325
+
326
+ if ( ! current_user_can( 'unfiltered_html' ) ) {
327
+ $value = wp_kses_post( $value );
328
+ }
329
  }
330
  else{
331
  $value = sanitize_text_field( $value );
includes/class-ur-autoloader.php CHANGED
@@ -84,11 +84,13 @@ class UR_Autoloader {
84
  $path = $this->include_path . 'admin/';
85
  } elseif ( strpos($class, 'ur_settings') === 0 ) {
86
  $path = $this->include_path . 'admin/settings/emails/';
87
- }
88
  elseif ( strpos( $class, 'ur_form' ) === 0 ) {
89
  $path = $this->include_path . 'form/';
90
  } elseif ( strpos( $class, 'ur_log_handler_' ) === 0 ) {
91
  $path = $this->include_path . 'log-handlers/';
 
 
92
  }
93
 
94
  if ( empty( $path ) || ( ! $this->load_file( $path . $file ) && strpos( $class, 'ur_' ) === 0 ) ) {
84
  $path = $this->include_path . 'admin/';
85
  } elseif ( strpos($class, 'ur_settings') === 0 ) {
86
  $path = $this->include_path . 'admin/settings/emails/';
87
+ }
88
  elseif ( strpos( $class, 'ur_form' ) === 0 ) {
89
  $path = $this->include_path . 'form/';
90
  } elseif ( strpos( $class, 'ur_log_handler_' ) === 0 ) {
91
  $path = $this->include_path . 'log-handlers/';
92
+ } elseif ( strpos( $class, 'ur_form_field_' ) === 0 ) {
93
+ $path = $this->include_path . 'form/';
94
  }
95
 
96
  if ( empty( $path ) || ( ! $this->load_file( $path . $file ) && strpos( $class, 'ur_' ) === 0 ) ) {
includes/class-ur-email-confirmation.php CHANGED
@@ -18,34 +18,105 @@ if ( ! defined( 'ABSPATH' ) ) {
18
  */
19
 
20
  class UR_Email_Confirmation {
21
-
22
  public function __construct() {
23
 
 
24
  if( 'email_confirmation' !== get_option( 'user_registration_general_setting_login_options' ) ) {
25
  return;
26
  }
27
-
 
 
28
  add_filter( 'wp_authenticate_user', array( $this, 'check_email_status' ),10,2);
29
  add_filter( 'allow_password_reset', array( $this, 'allow_password_reset' ), 10, 2 );
30
  add_action( 'user_registration_after_register_user_action', array( $this, 'set_email_status' ), 9, 3 );
31
  add_action( 'template_redirect', array( $this, 'check_token_before_authenticate' ), 30, 2);
32
  add_action( 'wp_authenticate', array($this, 'check_token_before_authenticate'), 40, 2);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
33
 
 
34
  }
 
 
 
 
 
 
 
 
 
 
 
 
35
 
36
- public function ur_enqueue_script()
37
- {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
38
  wp_register_style( 'user-registration-css', UR()->plugin_url().'/assets/css/user-registration.css', array(), UR_VERSION );
39
  wp_enqueue_style('user-registration-css');
40
  }
41
 
42
- public function custom_registration_message()
43
- {
44
  return ur_print_notice( __('User successfully registered. Login to continue.','user-registration'));
45
  }
46
 
47
- public function custom_registration_error_message()
48
- {
49
  return ur_print_notice( __('Token Mismatch!','user-registration'), 'error' );
50
  }
51
 
@@ -57,25 +128,26 @@ class UR_Email_Confirmation {
57
  return ur_print_notice( __('User doesnot exist!','user-registration'), 'error' );
58
  }
59
 
60
- public function check_token_before_authenticate()
61
- {
 
 
 
 
62
  $user_reg_successful = false;
63
 
64
  add_action( 'login_enqueue_scripts', array( $this, 'ur_enqueue_script' ), 1 );
65
 
66
  if( isset( $_GET['ur_resend_id'] ) && $_GET['ur_resend_token'] == 'true') {
67
 
68
- $user_id = $this->my_simple_crypt( $_GET['ur_resend_id'], 'd' );
69
-
70
  $user = get_user_by( 'id', $user_id );
71
 
72
  if( $user ) {
73
-
74
- $this->getToken( $user_id );
75
-
76
  $this->set_email_status( array(), '', $user_id );
77
 
78
- UR_Emailer::send_mail_to_user( $user->user_email, $user->user_login, $user_id, '' );
79
 
80
  add_filter('login_message', array( $this,'custom_resend_email_token_message' ) );
81
  add_filter('user_registration_login_form_before_notice', array( $this,'custom_resend_email_token_message' ) );
@@ -95,7 +167,7 @@ class UR_Email_Confirmation {
95
  {
96
  $output = str_split( $_GET['ur_token'], 50 );
97
 
98
- $user_id = $this->my_simple_crypt( $output[1], 'd');
99
 
100
  $user_token = get_user_meta( $user_id, 'ur_confirm_email_token', true );
101
 
@@ -121,10 +193,10 @@ class UR_Email_Confirmation {
121
 
122
  }
123
 
124
- public function my_simple_crypt( $string, $action = 'e' ) {
125
 
126
- $secret_key = 'my_simple_secret_key';
127
- $secret_iv = 'my_simple_secret_iv';
128
 
129
  $output = false;
130
  $encrypt_method = "AES-256-CBC";
@@ -141,8 +213,8 @@ class UR_Email_Confirmation {
141
  return $output;
142
  }
143
 
144
- public function getToken($user_id)
145
- {
146
  $length = 50;
147
  $token = "";
148
  $codeAlphabet = "ABCDEFGHIJKLMNOPQRSTUVWXYZ";
@@ -154,7 +226,7 @@ class UR_Email_Confirmation {
154
  $token .= $codeAlphabet[random_int(0, $max-1)];
155
  }
156
 
157
- $token .=$this->my_simple_crypt($user_id,'e');
158
 
159
  return $token;
160
 
@@ -164,9 +236,9 @@ class UR_Email_Confirmation {
164
  public function set_email_status( $valid_form_data, $form_id, $user_id ) {
165
 
166
  if( 'email_confirmation' === get_option( 'user_registration_general_setting_login_options' ) ) {
167
- $token = $this->getToken($user_id);
168
- update_user_meta( $user_id, 'ur_confirm_email', 0);
169
- update_user_meta( $user_id, 'ur_confirm_email_token', $token);
170
  }
171
  }
172
 
@@ -178,7 +250,7 @@ class UR_Email_Confirmation {
178
 
179
  if( $email_status === '0' )
180
  {
181
- $message = '<strong>' . __( 'ERROR:', 'user-registration' ) . '</strong> ' . __( 'Your account is still pending approval. Verifiy your email by clicking on the link sent to your email. <a id="resend-email" href="?ur_resend_id='. $this->my_simple_crypt( $user->ID, 'e' ) .'&ur_resend_token=true">Resend Verification Link</a>', 'user-registration' );
182
 
183
  return new WP_Error( 'user_email_not_verified', $message );
184
  }
@@ -207,6 +279,22 @@ class UR_Email_Confirmation {
207
 
208
  return $result;
209
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
210
  }
211
 
212
- new UR_Email_Confirmation();
18
  */
19
 
20
  class UR_Email_Confirmation {
21
+
22
  public function __construct() {
23
 
24
+ // return if the login option is not email confirmation
25
  if( 'email_confirmation' !== get_option( 'user_registration_general_setting_login_options' ) ) {
26
  return;
27
  }
28
+ add_filter( 'manage_users_columns', array( $this, 'add_column_head' ) );
29
+ add_filter( 'manage_users_custom_column', array( $this, 'add_column_cell' ), 10, 3 );
30
+ add_filter( 'user_row_actions', array( $this, 'ceate_quick_links' ), 10, 2 );
31
  add_filter( 'wp_authenticate_user', array( $this, 'check_email_status' ),10,2);
32
  add_filter( 'allow_password_reset', array( $this, 'allow_password_reset' ), 10, 2 );
33
  add_action( 'user_registration_after_register_user_action', array( $this, 'set_email_status' ), 9, 3 );
34
  add_action( 'template_redirect', array( $this, 'check_token_before_authenticate' ), 30, 2);
35
  add_action( 'wp_authenticate', array($this, 'check_token_before_authenticate'), 40, 2);
36
+ }
37
+
38
+ /**
39
+ * Create two quick links Approve and Deny for each user in the users list
40
+ *
41
+ * @param $actions
42
+ * @param $user
43
+ *
44
+ * @return array
45
+ */
46
+ public function ceate_quick_links( $actions, $user ) {
47
+ //TODO
48
+ if ( ! current_user_can( 'edit_user' ) ) {
49
+ return $actions;
50
+ }
51
 
52
+ return $actions;
53
  }
54
+
55
+ /**
56
+ * Add the column header for the email status column
57
+ *
58
+ * @param array $columns
59
+ *
60
+ * @return array
61
+ */
62
+ public function add_column_head( $columns ) {
63
+ if ( ! current_user_can( 'edit_user' ) ) {
64
+ return $columns;
65
+ }
66
 
67
+ $the_columns['ur_user_user_email_status'] = __( 'Status', 'user-registration' );
68
+
69
+ $newcol = array_slice( $columns, 0, -1 );
70
+ $newcol = array_merge( $newcol, $the_columns );
71
+ $columns = array_merge( $newcol, array_slice( $columns, 1 ) );
72
+
73
+ return $columns;
74
+ }
75
+
76
+ /**
77
+ * Set the status value for each user in the users list
78
+ *
79
+ * @param string $val
80
+ * @param string $column_name
81
+ * @param int $user_id
82
+ *
83
+ * @return string
84
+ */
85
+ public function add_column_cell( $val, $column_name, $user_id ) {
86
+ if ( ! current_user_can( 'edit_user' ) ) {
87
+ return false;
88
+ }
89
+
90
+ if ( $column_name == 'ur_user_user_email_status') {
91
+ $val = get_user_meta( $user_id, 'ur_confirm_email', true );
92
+ $token = get_user_meta( $user_id, 'ur_confirm_email_token', true );
93
+
94
+ if( '1' === $val ) {
95
+ $val = __( 'Verified', 'user-registration' );
96
+ } elseif ( $val == '0' && isset( $token ) ) {
97
+ $val = __( 'Pending', 'user-registration' );
98
+ } else {
99
+ $val = '-';
100
+ }
101
+ }
102
+
103
+ return $val;
104
+ }
105
+
106
+ /**
107
+ * Enqueque CSS to load notice
108
+ * @return void
109
+ */
110
+ public function ur_enqueue_script() {
111
  wp_register_style( 'user-registration-css', UR()->plugin_url().'/assets/css/user-registration.css', array(), UR_VERSION );
112
  wp_enqueue_style('user-registration-css');
113
  }
114
 
115
+ public function custom_registration_message() {
 
116
  return ur_print_notice( __('User successfully registered. Login to continue.','user-registration'));
117
  }
118
 
119
+ public function custom_registration_error_message() {
 
120
  return ur_print_notice( __('Token Mismatch!','user-registration'), 'error' );
121
  }
122
 
128
  return ur_print_notice( __('User doesnot exist!','user-registration'), 'error' );
129
  }
130
 
131
+ /**
132
+ * Compare user token with token in url
133
+ * @return void
134
+ */
135
+ public function check_token_before_authenticate() {
136
+
137
  $user_reg_successful = false;
138
 
139
  add_action( 'login_enqueue_scripts', array( $this, 'ur_enqueue_script' ), 1 );
140
 
141
  if( isset( $_GET['ur_resend_id'] ) && $_GET['ur_resend_token'] == 'true') {
142
 
143
+ $user_id = $this->crypt_the_string( $_GET['ur_resend_id'], 'd' );
 
144
  $user = get_user_by( 'id', $user_id );
145
 
146
  if( $user ) {
147
+ $this->get_token( $user_id );
 
 
148
  $this->set_email_status( array(), '', $user_id );
149
 
150
+ UR_Emailer::send_mail_to_user( $user->user_email, $user->user_login, $user_id, '', array() );
151
 
152
  add_filter('login_message', array( $this,'custom_resend_email_token_message' ) );
153
  add_filter('user_registration_login_form_before_notice', array( $this,'custom_resend_email_token_message' ) );
167
  {
168
  $output = str_split( $_GET['ur_token'], 50 );
169
 
170
+ $user_id = $this->crypt_the_string( $output[1], 'd');
171
 
172
  $user_token = get_user_meta( $user_id, 'ur_confirm_email_token', true );
173
 
193
 
194
  }
195
 
196
+ public function crypt_the_string( $string, $action = 'e' ) {
197
 
198
+ $secret_key = 'ur_secret_key';
199
+ $secret_iv = 'ur_secret_iv';
200
 
201
  $output = false;
202
  $encrypt_method = "AES-256-CBC";
213
  return $output;
214
  }
215
 
216
+ public function get_token($user_id) {
217
+
218
  $length = 50;
219
  $token = "";
220
  $codeAlphabet = "ABCDEFGHIJKLMNOPQRSTUVWXYZ";
226
  $token .= $codeAlphabet[random_int(0, $max-1)];
227
  }
228
 
229
+ $token .=$this->crypt_the_string($user_id,'e');
230
 
231
  return $token;
232
 
236
  public function set_email_status( $valid_form_data, $form_id, $user_id ) {
237
 
238
  if( 'email_confirmation' === get_option( 'user_registration_general_setting_login_options' ) ) {
239
+ $token = $this->get_token($user_id);
240
+ update_user_meta( $user_id, 'ur_confirm_email', 0 );
241
+ update_user_meta( $user_id, 'ur_confirm_email_token', $token );
242
  }
243
  }
244
 
250
 
251
  if( $email_status === '0' )
252
  {
253
+ $message = '<strong>' . __( 'ERROR:', 'user-registration' ) . '</strong> ' . __( 'Your account is still pending approval. Verifiy your email by clicking on the link sent to your email. <a id="resend-email" href="?ur_resend_id='. $this->crypt_the_string( $user->ID, 'e' ) .'&ur_resend_token=true">Resend Verification Link</a>', 'user-registration' );
254
 
255
  return new WP_Error( 'user_email_not_verified', $message );
256
  }
279
 
280
  return $result;
281
  }
282
+
283
+ /* @deprecated 1.4.0
284
+ * @param string $string the string to encrypt/decrypt, $action the action encrypt or decrypt
285
+ * @return void
286
+ */
287
+ public function my_simple_crypt( $string, $action ) {
288
+ ur_deprecated_function( 'UR_Email_Confirmation::my_simple_crypt', '1.4.0', 'UR_Email_Confirmation::crypt_the_string' );
289
+ }
290
+
291
+ /* @deprecated 1.4.0
292
+ * @param $user_id
293
+ * @return void
294
+ */
295
+ public function getToken( $user_id ) {
296
+ ur_deprecated_function( 'UR_Email_Confirmation::getToken', '1.4.0', 'UR_Email_Confirmation::get_token' );
297
+ }
298
  }
299
 
300
+ new UR_Email_Confirmation();
includes/class-ur-emailer.php CHANGED
@@ -39,16 +39,25 @@ class UR_Emailer {
39
  ), 10, 3 );
40
  }
41
 
 
 
 
42
  public static function ur_sender_email() {
43
  $sender_email = get_option( 'user_registration_email_from_address', get_option( 'admin_email' ) );
44
  return $sender_email;
45
  }
46
 
 
 
 
47
  public static function ur_sender_name() {
48
  $sender_name = get_option( 'user_registration_email_from_name', esc_attr( get_bloginfo( 'name', 'display' ) ) );
49
  return $sender_name;
50
  }
51
 
 
 
 
52
  public static function ur_get_header() {
53
  $header = "From: ". self::ur_sender_name()." <".self::ur_sender_email().">\r\n";
54
  $header .= "Reply-To: ".self::ur_sender_email()."\r\n";
@@ -83,7 +92,6 @@ class UR_Emailer {
83
  $value = __('Chosen Password', 'user-registration');
84
  }
85
 
86
-
87
  if ( is_array( $value ) ) {
88
  $value = implode( ',', $value );
89
  }
@@ -91,51 +99,57 @@ class UR_Emailer {
91
  $data_html .= $label . ' : ' . $value . '<br/>';
92
  }
93
 
94
- $email_object = isset( $valid_form_data['user_email'] ) ? $valid_form_data['user_email'] : array();
95
 
96
- $user_login_object = isset( $valid_form_data['user_login'] ) ? $valid_form_data['user_login'] : array();
 
 
 
97
 
98
- $email = isset( $email_object->value ) && ! empty( $email_object->value ) ? $email_object->value : '';
 
99
 
 
 
 
100
  $username = isset( $user_login_object->value ) && ! empty( $user_login_object->value ) ? $user_login_object->value : '';
101
 
102
  if ( ! empty( $email ) && ! empty( $user_id ) ) {
103
-
104
- self::send_mail_to_user( $email, $username, $user_id, $data_html );
105
-
106
- self::send_mail_to_admin( $email, $username, $user_id, $data_html );
107
  }
108
  }
109
-
110
-
111
  /**
112
- * @param $email
 
 
 
 
 
113
  */
114
-
115
- public static function send_mail_to_user( $email, $username, $user_id, $data_html ) {
116
 
117
  $status = ur_get_user_approval_status( $user_id );
118
-
119
  $email_status = get_user_meta($user_id, 'ur_confirm_email', true);
120
-
121
  $email_token = get_user_meta($user_id, 'ur_confirm_email_token', true);
122
 
123
- $to_replace = array("{{username}}", "{{email}}", "{{blog_info}}", "{{home_url}}", "{{email_token}}", "{{all_fields}}");
124
-
125
  $replace_with = array( $username, $email, get_bloginfo(), get_home_url(), $email_token, $data_html );
126
 
 
 
 
 
 
 
 
127
  if( $email_status === '0' ) {
128
 
129
  $subject = get_option('user_registration_email_confirmation_subject', __('Please confirm your registration on {{blog_info}}', 'user-registration') );
130
-
131
  $message = new UR_Settings_Email_Confirmation();
132
-
133
  $message = $message->ur_get_email_confirmation();
134
-
135
  $message = get_option( 'user_registration_email_confirmation', $message );
136
-
137
  $message = str_replace( $to_replace, $replace_with, $message );
138
-
139
  $subject = str_replace( $to_replace, $replace_with, $subject );
140
 
141
  wp_mail( $email, $subject, $message, self::ur_get_header() );
@@ -145,15 +159,10 @@ class UR_Emailer {
145
  else if ( $status == 0 ) {
146
 
147
  $subject = get_option( 'user_registration_awaiting_admin_approval_email_subject', __('Thank you for registration on {{blog_info}}', 'user-registration') );
148
-
149
  $message = new UR_Settings_Awaiting_Admin_Approval_Email();
150
-
151
  $message = $message->ur_get_awaiting_admin_approval_email();
152
-
153
  $message = get_option( 'user_registration_awaiting_admin_approval_email', $message );
154
-
155
  $message = str_replace( $to_replace, $replace_with, $message );
156
-
157
  $subject = str_replace( $to_replace, $replace_with, $subject );
158
 
159
  if ( 'yes' == get_option( 'user_registration_enable_awaiting_admin_approval_email', 'yes' ) ){
@@ -164,15 +173,10 @@ class UR_Emailer {
164
  } else if ( $status == - 1 ) {
165
 
166
  $subject = get_option( 'user_registration_registration_denied_email_subject', __('Sorry! Registration denied on {{blog_info}}', 'user-registration') );
167
-
168
  $message = new UR_Settings_Registration_Denied_Email();
169
-
170
  $message = $message->ur_get_registration_denied_email();
171
-
172
  $message = get_option( 'user_registration_registration_denied_email', $message );
173
-
174
  $message = str_replace( $to_replace, $replace_with, $message );
175
-
176
  $subject = str_replace( $to_replace, $replace_with, $subject );
177
 
178
  if ( 'yes' == get_option( 'user_registration_enable_registration_denied_email', 'yes' ) ){
@@ -181,15 +185,10 @@ class UR_Emailer {
181
 
182
  } else {
183
  $subject = get_option( 'user_registration_successfully_registered_email_subject',__('Congratulations! Registration Complete on {{blog_info}}', 'user-registration') );
184
-
185
  $message = new UR_Settings_Successfully_Registered_Email();
186
-
187
  $message = $message->ur_get_successfully_registered_email();
188
-
189
  $message = get_option( 'user_registration_successfully_registered_email', $message );
190
-
191
  $message = str_replace( $to_replace, $replace_with, $message );
192
-
193
  $subject = str_replace( $to_replace, $replace_with, $subject );
194
 
195
  if ( 'yes' == get_option( 'user_registration_enable_successfully_registered_email', 'yes' ) ){
@@ -199,36 +198,45 @@ class UR_Emailer {
199
  }
200
 
201
  /**
202
- * @param $user_email
 
 
 
 
 
203
  */
204
- public static function send_mail_to_admin( $user_email, $username, $user_id, $data_html ) {
205
 
206
  $header = "Reply-To: {{email}} \r\n";
207
-
208
  $header .= "Content-Type: text/html; charset=UTF-8";
209
 
210
- $admin_email = get_option( 'admin_email' );
 
 
211
 
212
  $subject = get_option( 'user_registration_admin_email_subject', __('A New User Registered', 'user-registration') );
213
-
214
  $message = new UR_Settings_Admin_Email();
215
-
216
  $message = $message->ur_get_admin_email();
217
-
218
  $message = get_option( 'user_registration_admin_email', $message );
219
 
220
  $to_replace = array("{{username}}", "{{email}}", "{{blog_info}}", "{{home_url}}", "{{all_fields}}");
221
-
222
  $replace_with = array( $username, $user_email, get_bloginfo(), get_home_url(), $data_html );
 
 
 
 
223
 
224
- $message = str_replace( $to_replace, $replace_with, $message );
 
225
 
 
226
  $subject = str_replace( $to_replace, $replace_with, $subject );
227
-
228
  $header = str_replace( $to_replace, $replace_with, $header );
229
 
230
- if ( 'yes' == get_option(' user_registration_enable_admin_email ', 'yes') ) {
231
- wp_mail( $admin_email, $subject, $message, $header );
 
 
232
  }
233
  }
234
 
@@ -240,23 +248,16 @@ class UR_Emailer {
240
  public static function status_change_email( $email, $username, $status ) {
241
 
242
  $to_replace = array( "{{username}}", "{{email}}", "{{blog_info}}", "{{home_url}}" );
243
-
244
  $replace_with = array( $username, $email, get_bloginfo(), get_home_url() );
245
-
246
  $headers = array( 'Content-Type: text/html; charset=UTF-8' );
247
 
248
  if ( $status == 0 ) {
249
 
250
  $subject = get_option( 'user_registration_registration_pending_email_subject', __('Sorry! Registration changed to pending on {{blog_info}}', 'user-registration') );
251
-
252
  $message = new UR_Settings_Registration_Pending_Email();
253
-
254
  $message = $message->ur_get_registration_pending_email();
255
-
256
  $message = get_option( 'user_registration_registration_pending_email', $message );
257
-
258
  $message = str_replace( $to_replace, $replace_with, $message );
259
-
260
  $subject = str_replace( $to_replace, $replace_with, $subject );
261
 
262
  if ( 'yes' == get_option( 'user_registration_enable_registration_pending_email', 'yes' ) ){
@@ -266,15 +267,10 @@ class UR_Emailer {
266
  } else if ( $status == - 1 ) {
267
 
268
  $subject = get_option( 'user_registration_registration_denied_email_subject', __('Sorry! Registration denied on {{blog_info}}', 'user-registration') );
269
-
270
  $message = new UR_Settings_Registration_Denied_Email();
271
-
272
  $message = $message->ur_get_registration_denied_email();
273
-
274
  $message = get_option( 'user_registration_registration_denied_email', $message );
275
-
276
  $message = str_replace( $to_replace, $replace_with, $message );
277
-
278
  $subject = str_replace( $to_replace, $replace_with, $subject );
279
 
280
  if ( 'yes' == get_option( 'user_registration_enable_registration_denied_email', 'yes' ) ){
@@ -282,23 +278,17 @@ class UR_Emailer {
282
  }
283
 
284
  } else {
 
285
  $subject = get_option( 'user_registration_registration_approved_email_subject', __('Congratulations! Registration approved on {{blog_info}}', 'user-registration') );
286
-
287
  $message = new UR_Settings_Registration_Approved_Email();
288
-
289
  $message = $message->ur_get_registration_approved_email();
290
-
291
  $message = get_option( 'user_registration_registration_approved_email', $message );
292
-
293
  $message = str_replace( $to_replace, $replace_with, $message );
294
-
295
  $subject = str_replace( $to_replace, $replace_with, $subject );
296
 
297
  if ( 'yes' == get_option( 'user_registration_enable_registration_approved_email', 'yes' ) ){
298
  wp_mail( $email, $subject, $message, self::ur_get_header() );
299
  }
300
-
301
-
302
  }
303
  }
304
 
@@ -307,12 +297,10 @@ class UR_Emailer {
307
  * @param $user_data
308
  * @param $key
309
  */
310
- public static function lost_password_email( $user_login, $user_data, $key )
311
- {
312
- $user = get_user_by( 'login', $user_login );
313
 
 
314
  $email = isset( $user->data->user_email ) ? $user->data->user_email : '';
315
-
316
  $username = isset( $user->data->user_login ) ? $user->data->user_login : '';
317
 
318
  if( empty( $email ) || empty( $username ) ) {
@@ -320,21 +308,13 @@ class UR_Emailer {
320
  }
321
 
322
  $headers = array('Content-Type: text/html; charset=UTF-8');
323
-
324
  $subject = get_option( 'user_registration_reset_password_email_subject', __('Password Reset Email: {{blog_info}}', 'user-registration') );
325
-
326
  $message = new UR_Settings_Reset_Password_Email();
327
-
328
  $message = $message->ur_get_reset_password_email();
329
-
330
  $message = get_option( 'user_registration_reset_password_email', $message );
331
-
332
  $to_replace = array( "{{username}}", "{{key}}", "{{blog_info}}", "{{home_url}}" );
333
-
334
  $replace_with = array( $username, $key, get_bloginfo(), get_home_url() );
335
-
336
  $message = str_replace( $to_replace, $replace_with, $message );
337
-
338
  $subject = str_replace( $to_replace, $replace_with, $subject );
339
 
340
  if ( 'yes' == get_option( 'user_registration_enable_reset_password_email', 'yes' ) ) {
@@ -347,4 +327,4 @@ class UR_Emailer {
347
 
348
  }
349
 
350
- UR_Emailer::init();
39
  ), 10, 3 );
40
  }
41
 
42
+ /**
43
+ * @return string sender's email
44
+ */
45
  public static function ur_sender_email() {
46
  $sender_email = get_option( 'user_registration_email_from_address', get_option( 'admin_email' ) );
47
  return $sender_email;
48
  }
49
 
50
+ /**
51
+ * @return string sender's name
52
+ */
53
  public static function ur_sender_name() {
54
  $sender_name = get_option( 'user_registration_email_from_name', esc_attr( get_bloginfo( 'name', 'display' ) ) );
55
  return $sender_name;
56
  }
57
 
58
+ /**
59
+ * @return string email header
60
+ */
61
  public static function ur_get_header() {
62
  $header = "From: ". self::ur_sender_name()." <".self::ur_sender_email().">\r\n";
63
  $header .= "Reply-To: ".self::ur_sender_email()."\r\n";
92
  $value = __('Chosen Password', 'user-registration');
93
  }
94
 
 
95
  if ( is_array( $value ) ) {
96
  $value = implode( ',', $value );
97
  }
99
  $data_html .= $label . ' : ' . $value . '<br/>';
100
  }
101
 
102
+ $name_value = array();
103
 
104
+ foreach( $valid_form_data as $form_data ) {
105
+ if( isset( $form_data->value ) && is_array( $form_data->value ) ) {
106
+ $form_data->value = implode( ",", $form_data->value );
107
+ }
108
 
109
+ $name_value[ $form_data->field_name ] = isset( $form_data->value ) ? $form_data->value : '';
110
+ }
111
 
112
+ $email_object = isset( $valid_form_data['user_email'] ) ? $valid_form_data['user_email'] : array();
113
+ $user_login_object = isset( $valid_form_data['user_login'] ) ? $valid_form_data['user_login'] : array();
114
+ $email = isset( $email_object->value ) && ! empty( $email_object->value ) ? $email_object->value : '';
115
  $username = isset( $user_login_object->value ) && ! empty( $user_login_object->value ) ? $user_login_object->value : '';
116
 
117
  if ( ! empty( $email ) && ! empty( $user_id ) ) {
118
+ self::send_mail_to_user( $email, $username, $user_id, $data_html, $name_value );
119
+ self::send_mail_to_admin( $email, $username, $user_id, $data_html, $name_value );
 
 
120
  }
121
  }
 
 
122
  /**
123
+ * @param string $email
124
+ * @param string $username
125
+ * @param int $user_id
126
+ * @param string $data_html For all fields
127
+ * @param array $name_value For smart tags
128
+ * @return void
129
  */
130
+ public static function send_mail_to_user( $email, $username, $user_id, $data_html, $name_value ) {
 
131
 
132
  $status = ur_get_user_approval_status( $user_id );
 
133
  $email_status = get_user_meta($user_id, 'ur_confirm_email', true);
 
134
  $email_token = get_user_meta($user_id, 'ur_confirm_email_token', true);
135
 
136
+ $to_replace = array( "{{username}}", "{{email}}", "{{blog_info}}", "{{home_url}}", "{{email_token}}", "{{all_fields}}" );
 
137
  $replace_with = array( $username, $email, get_bloginfo(), get_home_url(), $email_token, $data_html );
138
 
139
+ //add the field name and values from $name_value to the replacement arrays.
140
+ $to_replace = array_merge( $to_replace, array_keys( $name_value ) );
141
+ $replace_with = array_merge( $replace_with, array_values( $name_value ) );
142
+
143
+ //surround every key with {{ and }}.
144
+ array_walk( $to_replace, function(&$value, $key) { $value = '{{'.trim( $value, '{}').'}}'; } );
145
+
146
  if( $email_status === '0' ) {
147
 
148
  $subject = get_option('user_registration_email_confirmation_subject', __('Please confirm your registration on {{blog_info}}', 'user-registration') );
 
149
  $message = new UR_Settings_Email_Confirmation();
 
150
  $message = $message->ur_get_email_confirmation();
 
151
  $message = get_option( 'user_registration_email_confirmation', $message );
 
152
  $message = str_replace( $to_replace, $replace_with, $message );
 
153
  $subject = str_replace( $to_replace, $replace_with, $subject );
154
 
155
  wp_mail( $email, $subject, $message, self::ur_get_header() );
159
  else if ( $status == 0 ) {
160
 
161
  $subject = get_option( 'user_registration_awaiting_admin_approval_email_subject', __('Thank you for registration on {{blog_info}}', 'user-registration') );
 
162
  $message = new UR_Settings_Awaiting_Admin_Approval_Email();
 
163
  $message = $message->ur_get_awaiting_admin_approval_email();
 
164
  $message = get_option( 'user_registration_awaiting_admin_approval_email', $message );
 
165
  $message = str_replace( $to_replace, $replace_with, $message );
 
166
  $subject = str_replace( $to_replace, $replace_with, $subject );
167
 
168
  if ( 'yes' == get_option( 'user_registration_enable_awaiting_admin_approval_email', 'yes' ) ){
173
  } else if ( $status == - 1 ) {
174
 
175
  $subject = get_option( 'user_registration_registration_denied_email_subject', __('Sorry! Registration denied on {{blog_info}}', 'user-registration') );
 
176
  $message = new UR_Settings_Registration_Denied_Email();
 
177
  $message = $message->ur_get_registration_denied_email();
 
178
  $message = get_option( 'user_registration_registration_denied_email', $message );
 
179
  $message = str_replace( $to_replace, $replace_with, $message );
 
180
  $subject = str_replace( $to_replace, $replace_with, $subject );
181
 
182
  if ( 'yes' == get_option( 'user_registration_enable_registration_denied_email', 'yes' ) ){
185
 
186
  } else {
187
  $subject = get_option( 'user_registration_successfully_registered_email_subject',__('Congratulations! Registration Complete on {{blog_info}}', 'user-registration') );
 
188
  $message = new UR_Settings_Successfully_Registered_Email();
 
189
  $message = $message->ur_get_successfully_registered_email();
 
190
  $message = get_option( 'user_registration_successfully_registered_email', $message );
 
191
  $message = str_replace( $to_replace, $replace_with, $message );
 
192
  $subject = str_replace( $to_replace, $replace_with, $subject );
193
 
194
  if ( 'yes' == get_option( 'user_registration_enable_successfully_registered_email', 'yes' ) ){
198
  }
199
 
200
  /**
201
+ * @param string $user_email
202
+ * @param string $username
203
+ * @param int $user_id
204
+ * @param string $data_html
205
+ * @param $name_value
206
+ * @return void
207
  */
208
+ public static function send_mail_to_admin( $user_email, $username, $user_id, $data_html, $name_value ) {
209
 
210
  $header = "Reply-To: {{email}} \r\n";
 
211
  $header .= "Content-Type: text/html; charset=UTF-8";
212
 
213
+ $admin_email = get_option( 'user_registration_admin_email_receipents', get_option( 'admin_email' ) );
214
+ $admin_email = explode( ',', $admin_email );
215
+ $admin_email = array_map( 'trim', $admin_email );
216
 
217
  $subject = get_option( 'user_registration_admin_email_subject', __('A New User Registered', 'user-registration') );
 
218
  $message = new UR_Settings_Admin_Email();
 
219
  $message = $message->ur_get_admin_email();
 
220
  $message = get_option( 'user_registration_admin_email', $message );
221
 
222
  $to_replace = array("{{username}}", "{{email}}", "{{blog_info}}", "{{home_url}}", "{{all_fields}}");
 
223
  $replace_with = array( $username, $user_email, get_bloginfo(), get_home_url(), $data_html );
224
+
225
+ //add the field name and values from $name_value to the replacement arrays.
226
+ $to_replace = array_merge( $to_replace, array_keys( $name_value ) );
227
+ $replace_with = array_merge( $replace_with, array_values( $name_value ) );
228
 
229
+ //surround every key with {{ and }}.
230
+ array_walk( $to_replace, function(&$value, $key) { $value = '{{'.trim( $value, '{}').'}}'; } );
231
 
232
+ $message = str_replace( $to_replace, $replace_with, $message );
233
  $subject = str_replace( $to_replace, $replace_with, $subject );
 
234
  $header = str_replace( $to_replace, $replace_with, $header );
235
 
236
+ if ( 'yes' == get_option(' user_registration_enable_admin_email ', 'yes') ) {
237
+ foreach($admin_email as $email ) {
238
+ wp_mail( $email, $subject, $message, $header );
239
+ }
240
  }
241
  }
242
 
248
  public static function status_change_email( $email, $username, $status ) {
249
 
250
  $to_replace = array( "{{username}}", "{{email}}", "{{blog_info}}", "{{home_url}}" );
 
251
  $replace_with = array( $username, $email, get_bloginfo(), get_home_url() );
 
252
  $headers = array( 'Content-Type: text/html; charset=UTF-8' );
253
 
254
  if ( $status == 0 ) {
255
 
256
  $subject = get_option( 'user_registration_registration_pending_email_subject', __('Sorry! Registration changed to pending on {{blog_info}}', 'user-registration') );
 
257
  $message = new UR_Settings_Registration_Pending_Email();
 
258
  $message = $message->ur_get_registration_pending_email();
 
259
  $message = get_option( 'user_registration_registration_pending_email', $message );
 
260
  $message = str_replace( $to_replace, $replace_with, $message );
 
261
  $subject = str_replace( $to_replace, $replace_with, $subject );
262
 
263
  if ( 'yes' == get_option( 'user_registration_enable_registration_pending_email', 'yes' ) ){
267
  } else if ( $status == - 1 ) {
268
 
269
  $subject = get_option( 'user_registration_registration_denied_email_subject', __('Sorry! Registration denied on {{blog_info}}', 'user-registration') );
 
270
  $message = new UR_Settings_Registration_Denied_Email();
 
271
  $message = $message->ur_get_registration_denied_email();
 
272
  $message = get_option( 'user_registration_registration_denied_email', $message );
 
273
  $message = str_replace( $to_replace, $replace_with, $message );
 
274
  $subject = str_replace( $to_replace, $replace_with, $subject );
275
 
276
  if ( 'yes' == get_option( 'user_registration_enable_registration_denied_email', 'yes' ) ){
278
  }
279
 
280
  } else {
281
+
282
  $subject = get_option( 'user_registration_registration_approved_email_subject', __('Congratulations! Registration approved on {{blog_info}}', 'user-registration') );
 
283
  $message = new UR_Settings_Registration_Approved_Email();
 
284
  $message = $message->ur_get_registration_approved_email();
 
285
  $message = get_option( 'user_registration_registration_approved_email', $message );
 
286
  $message = str_replace( $to_replace, $replace_with, $message );
 
287
  $subject = str_replace( $to_replace, $replace_with, $subject );
288
 
289
  if ( 'yes' == get_option( 'user_registration_enable_registration_approved_email', 'yes' ) ){
290
  wp_mail( $email, $subject, $message, self::ur_get_header() );
291
  }
 
 
292
  }
293
  }
294
 
297
  * @param $user_data
298
  * @param $key
299
  */
300
+ public static function lost_password_email( $user_login, $user_data, $key ) {
 
 
301
 
302
+ $user = get_user_by( 'login', $user_login );
303
  $email = isset( $user->data->user_email ) ? $user->data->user_email : '';
 
304
  $username = isset( $user->data->user_login ) ? $user->data->user_login : '';
305
 
306
  if( empty( $email ) || empty( $username ) ) {
308
  }
309
 
310
  $headers = array('Content-Type: text/html; charset=UTF-8');
 
311
  $subject = get_option( 'user_registration_reset_password_email_subject', __('Password Reset Email: {{blog_info}}', 'user-registration') );
 
312
  $message = new UR_Settings_Reset_Password_Email();
 
313
  $message = $message->ur_get_reset_password_email();
 
314
  $message = get_option( 'user_registration_reset_password_email', $message );
 
315
  $to_replace = array( "{{username}}", "{{key}}", "{{blog_info}}", "{{home_url}}" );
 
316
  $replace_with = array( $username, $key, get_bloginfo(), get_home_url() );
 
317
  $message = str_replace( $to_replace, $replace_with, $message );
 
318
  $subject = str_replace( $to_replace, $replace_with, $subject );
319
 
320
  if ( 'yes' == get_option( 'user_registration_enable_reset_password_email', 'yes' ) ) {
327
 
328
  }
329
 
330
+ UR_Emailer::init();
includes/class-ur-frontend-scripts.php CHANGED
@@ -177,7 +177,7 @@ class UR_Frontend_Scripts {
177
  'ur-jquery-validate' => array(
178
  'src' => self::get_asset_url( 'assets/js/frontend/jquery.validate' . $suffix . '.js' ),
179
  'deps' => array( 'jquery' ),
180
- 'version' => UR_VERSION,
181
  ),
182
  'user-registration' => array(
183
  'src' => self::get_asset_url( 'assets/js/frontend/user-registration' . $suffix . '.js' ),
@@ -194,11 +194,10 @@ class UR_Frontend_Scripts {
194
  'deps' => array( 'jquery', 'password-strength-meter' ),
195
  'version' => UR_VERSION,
196
  ),
197
-
198
  'ur-google-recaptcha' => array(
199
  'src' => 'https://www.google.com/recaptcha/api.js?onload=onloadURCallback&render=explicit',
200
  'deps' => array(),
201
- 'version' => UR_VERSION,
202
  ),
203
  );
204
  foreach ( $register_scripts as $name => $props ) {
@@ -237,15 +236,10 @@ class UR_Frontend_Scripts {
237
  self::register_styles();
238
 
239
  if ( is_ur_account_page() || ur_post_content_has_shortcode( 'user_registration_form' ) ) {
240
-
241
  self::enqueue_script( 'user-registration' );
242
  self::enqueue_script('ur-jquery-validate');
243
-
244
- if ( 'yes' == get_option( 'user_registration_general_setting_enable_strong_password' ) ) {
245
-
246
- self::enqueue_script( 'ur-password-strength-meter' );
247
- }
248
  }
 
249
  if ( is_ur_lost_password_page() ) {
250
  self::enqueue_script( 'ur-lost-password' );
251
  }
@@ -273,6 +267,7 @@ class UR_Frontend_Scripts {
273
  * @param string $handle
274
  */
275
  private static function localize_script( $handle ) {
 
276
  if ( ! in_array( $handle, self::$wp_localize_scripts ) && wp_script_is( $handle ) && ( $data = self::get_script_data( $handle ) ) ) {
277
  $name = str_replace( '-', '_', $handle ) . '_params';
278
  self::$wp_localize_scripts[] = $handle;
@@ -290,8 +285,7 @@ class UR_Frontend_Scripts {
290
  * @return array|bool
291
  */
292
  private static function get_script_data( $handle ) {
293
- global $wp;
294
-
295
  switch ( $handle ) {
296
  case 'user-registration' :
297
 
@@ -300,15 +294,18 @@ class UR_Frontend_Scripts {
300
  'ajax_url' => admin_url( 'admin-ajax.php' ),
301
  'user_registration_form_data_save' => wp_create_nonce( 'user_registration_form_data_save_nonce' ),
302
  'form_required_fields' => ur_get_required_fields(),
303
- 'redirect_url' => get_option('user_registration_general_setting_redirect_options'),
304
- 'login_option' => get_option('user_registration_general_setting_login_options'),
305
-
 
 
 
 
306
  'ursL10n' => array(
307
- 'user_successfully_saved' => __( get_option('user_registration_successful_form_submission_message_manual_registation', 'User successfully registered.' ), 'user-registration' ),
308
- 'user_under_approval' => __( get_option('user_registration_successful_form_submission_message_admin_approval', 'User registered. Wait until admin approves your registration.' ), 'user-registration' ),
309
- 'user_email_pending' => __( get_option('user_registration_successful_form_submission_message_email_confirmation', 'User registered. Verify your email by clicking on the link sent to your email.'), 'user-registration' ),
310
- 'captcha_error' => __( 'Captcha code error, please try again.', 'user-registration' ),
311
-
312
  ),
313
  );
314
 
177
  'ur-jquery-validate' => array(
178
  'src' => self::get_asset_url( 'assets/js/frontend/jquery.validate' . $suffix . '.js' ),
179
  'deps' => array( 'jquery' ),
180
+ 'version' => '1.15.1',
181
  ),
182
  'user-registration' => array(
183
  'src' => self::get_asset_url( 'assets/js/frontend/user-registration' . $suffix . '.js' ),
194
  'deps' => array( 'jquery', 'password-strength-meter' ),
195
  'version' => UR_VERSION,
196
  ),
 
197
  'ur-google-recaptcha' => array(
198
  'src' => 'https://www.google.com/recaptcha/api.js?onload=onloadURCallback&render=explicit',
199
  'deps' => array(),
200
+ 'version' => '2.0.0',
201
  ),
202
  );
203
  foreach ( $register_scripts as $name => $props ) {
236
  self::register_styles();
237
 
238
  if ( is_ur_account_page() || ur_post_content_has_shortcode( 'user_registration_form' ) ) {
 
239
  self::enqueue_script( 'user-registration' );
240
  self::enqueue_script('ur-jquery-validate');
 
 
 
 
 
241
  }
242
+
243
  if ( is_ur_lost_password_page() ) {
244
  self::enqueue_script( 'ur-lost-password' );
245
  }
267
  * @param string $handle
268
  */
269
  private static function localize_script( $handle ) {
270
+
271
  if ( ! in_array( $handle, self::$wp_localize_scripts ) && wp_script_is( $handle ) && ( $data = self::get_script_data( $handle ) ) ) {
272
  $name = str_replace( '-', '_', $handle ) . '_params';
273
  self::$wp_localize_scripts[] = $handle;
285
  * @return array|bool
286
  */
287
  private static function get_script_data( $handle ) {
288
+
 
289
  switch ( $handle ) {
290
  case 'user-registration' :
291
 
294
  'ajax_url' => admin_url( 'admin-ajax.php' ),
295
  'user_registration_form_data_save' => wp_create_nonce( 'user_registration_form_data_save_nonce' ),
296
  'form_required_fields' => ur_get_required_fields(),
297
+ 'redirect_url' => get_option( 'user_registration_general_setting_redirect_options' ),
298
+ 'login_option' => get_option( 'user_registration_general_setting_login_options' ),
299
+ 'message_required_fields' => get_option( 'user_registration_form_submission_error_message_required_fields', __( 'This field is required.', 'user-registration' ) ),
300
+ 'message_email_fields' => get_option( 'user_registration_form_submission_error_message_email', __( 'Please enter a valid email address.', 'user-registration' ) ),
301
+ 'message_url_fields' => get_option( 'user_registration_form_submission_error_message_website_URL', __( 'Please enter a valid URL.', 'user-registration') ),
302
+ 'message_number_fields' => get_option( 'user_registration_form_submission_error_message_number', __( 'Please enter a valid number.','user-registration' ) ),
303
+ 'message_confirm_password_fields' => get_option( 'user_registration_form_submission_error_message_confirm_password', __( 'Password and confirm password not matched.', 'user-registration' ) ),
304
  'ursL10n' => array(
305
+ 'user_successfully_saved' => get_option( 'user_registration_successful_form_submission_message_manual_registation', __( 'User successfully registered.', 'user-registration' ) ),
306
+ 'user_under_approval' => get_option( 'user_registration_successful_form_submission_message_admin_approval', __( 'User registered. Wait until admin approves your registration.', 'user-registration' ) ),
307
+ 'user_email_pending' => get_option('user_registration_successful_form_submission_message_email_confirmation', __( 'User registered. Verify your email by clicking on the link sent to your email.', 'user-registration' ) ),
308
+ 'captcha_error' => get_option( 'user_registration_form_submission_error_message_recaptcha', __( 'Captcha code error, please try again.', 'user-registration' ) ),
 
309
  ),
310
  );
311
 
includes/class-ur-install.php CHANGED
@@ -29,6 +29,10 @@ class UR_Install {
29
  '1.3.0' => array(
30
  'ur_update_130_db_version',
31
  'ur_update_130_post',
 
 
 
 
32
  )
33
  );
34
 
29
  '1.3.0' => array(
30
  'ur_update_130_db_version',
31
  'ur_update_130_post',
32
+ ),
33
+ '1.4.0' => array(
34
+ 'ur_update_140_db_version',
35
+ 'ur_update_140_option',
36
  )
37
  );
38
 
includes/class-ur-shortcodes.php CHANGED
@@ -136,7 +136,7 @@ class UR_Shortcodes {
136
  ob_start();
137
 
138
  self::render_form( $atts['id'] );
139
-
140
  return ob_get_clean();
141
  }
142
 
@@ -167,24 +167,18 @@ class UR_Shortcodes {
167
 
168
  $enable_strong_password = ur_get_single_post_meta( $form_id, 'user_registration_form_setting_enable_strong_password' );
169
 
170
- wp_localize_script( 'ur-password-strength-meter', 'enable_strong_password', $enable_strong_password );
171
-
 
 
 
172
  $recaptcha_enable = ur_get_form_setting_by_key( $form_id, 'user_registration_form_setting_enable_recaptcha_support' );
173
 
174
- $recaptcha_site_key = get_option( 'user_registration_integration_setting_recaptcha_site_key', - 1 );
175
-
176
 
177
- $recaptcha_site_secret = get_option( 'user_registration_integration_setting_recaptcha_site_secret', - 1 );
178
 
179
- if ( empty( $recaptcha_site_key ) ) {
180
-
181
- $recaptcha_site_key = - 1;
182
- }
183
- if ( empty( $recaptcha_site_secret ) ) {
184
-
185
- $recaptcha_site_secret = - 1;
186
- }
187
- if ( 'yes' == $recaptcha_enable ) {
188
 
189
  wp_enqueue_script( 'ur-google-recaptcha' );
190
 
@@ -197,20 +191,12 @@ class UR_Shortcodes {
197
  'is_captcha_enable' => true,
198
 
199
  ) );
200
- }
201
- $recaptcha_node = '<div id="node_recaptcha" class="g-recaptcha" style="margin-left:11px;transform:scale(0.77);-webkit-transform:scale(0.77);transform-origin:0 0;-webkit-transform-origin:0 0;"></div>';
202
-
203
- if ( 'no' === $recaptcha_enable ) {
204
-
205
- $recaptcha_node = '';
206
-
207
- }
208
- if ( 'yes' === $recaptcha_enable && - 1 !== $recaptcha_site_key && - 1 !== $recaptcha_site_secret ) {
209
 
210
  $recaptcha_node = '<div id="node_recaptcha" class="g-recaptcha" style="margin-left:11px;transform:scale(0.77);-webkit-transform:scale(0.77);transform-origin:0 0;-webkit-transform-origin:0 0;"></div>';
211
-
212
- }
213
-
 
214
  include_once( UR_ABSPATH . 'includes/frontend/class-ur-frontend.php' );
215
  ur_get_template( 'form-registration.php', array(
216
  'form_data_array' => $form_data_array,
136
  ob_start();
137
 
138
  self::render_form( $atts['id'] );
139
+
140
  return ob_get_clean();
141
  }
142
 
167
 
168
  $enable_strong_password = ur_get_single_post_meta( $form_id, 'user_registration_form_setting_enable_strong_password' );
169
 
170
+ if ( 'yes' === $enable_strong_password ) {
171
+ wp_enqueue_script( 'ur-password-strength-meter' );
172
+ wp_localize_script( 'ur-password-strength-meter', 'enable_strong_password', $enable_strong_password );
173
+ }
174
+
175
  $recaptcha_enable = ur_get_form_setting_by_key( $form_id, 'user_registration_form_setting_enable_recaptcha_support' );
176
 
177
+ $recaptcha_site_key = get_option( 'user_registration_integration_setting_recaptcha_site_key' );
 
178
 
179
+ $recaptcha_site_secret = get_option( 'user_registration_integration_setting_recaptcha_site_secret' );
180
 
181
+ if ( 'yes' == $recaptcha_enable && ! empty( $recaptcha_site_key ) && ! empty( $recaptcha_site_secret ) ) {
 
 
 
 
 
 
 
 
182
 
183
  wp_enqueue_script( 'ur-google-recaptcha' );
184
 
191
  'is_captcha_enable' => true,
192
 
193
  ) );
 
 
 
 
 
 
 
 
 
194
 
195
  $recaptcha_node = '<div id="node_recaptcha" class="g-recaptcha" style="margin-left:11px;transform:scale(0.77);-webkit-transform:scale(0.77);transform-origin:0 0;-webkit-transform-origin:0 0;"></div>';
196
+ } else {
197
+ $recaptcha_node = '';
198
+ }
199
+
200
  include_once( UR_ABSPATH . 'includes/frontend/class-ur-frontend.php' );
201
  ur_get_template( 'form-registration.php', array(
202
  'form_data_array' => $form_data_array,
includes/form/{class-ur-checkbox.php → class-ur-form-field-checkbox.php} RENAMED
@@ -2,7 +2,7 @@
2
  /**
3
  * UserRegistration Admin.
4
  *
5
- * @class UR_Admin
6
  * @version 1.0.0
7
  * @package UserRegistration/Form
8
  * @category Admin
@@ -16,7 +16,7 @@ if ( ! defined( 'ABSPATH' ) ) {
16
  /**
17
  * UR_Admin Class
18
  */
19
- class UR_Checkbox extends UR_Form_Field {
20
 
21
  private static $_instance;
22
 
@@ -76,4 +76,4 @@ class UR_Checkbox extends UR_Form_Field {
76
  }
77
  }
78
 
79
- return UR_Checkbox::get_instance();
2
  /**
3
  * UserRegistration Admin.
4
  *
5
+ * @class UR_Form_Field_Checkbox
6
  * @version 1.0.0
7
  * @package UserRegistration/Form
8
  * @category Admin
16
  /**
17
  * UR_Admin Class
18
  */
19
+ class UR_Form_Field_Checkbox extends UR_Form_Field {
20
 
21
  private static $_instance;
22
 
76
  }
77
  }
78
 
79
+ return UR_Form_Field_Checkbox::get_instance();
includes/form/{class-ur-country.php → class-ur-form-field-country.php} RENAMED
@@ -2,7 +2,7 @@
2
  /**
3
  * UserRegistration Admin.
4
  *
5
- * @class UR_Country
6
  * @version 1.0.0
7
  * @package UserRegistration/Form
8
  * @category Admin
@@ -14,9 +14,9 @@ if ( ! defined( 'ABSPATH' ) ) {
14
  }
15
 
16
  /**
17
- * UR_Country Class
18
  */
19
- class UR_Country extends UR_Form_Field {
20
 
21
  private static $_instance;
22
 
@@ -326,4 +326,4 @@ class UR_Country extends UR_Form_Field {
326
  }
327
  }
328
 
329
- return UR_Country::get_instance();
2
  /**
3
  * UserRegistration Admin.
4
  *
5
+ * @class UR_Form_Field_Country
6
  * @version 1.0.0
7
  * @package UserRegistration/Form
8
  * @category Admin
14
  }
15
 
16
  /**
17
+ * UR_Form_Field_Country Class
18
  */
19
+ class UR_Form_Field_Country extends UR_Form_Field {
20
 
21
  private static $_instance;
22
 
326
  }
327
  }
328
 
329
+ return UR_Form_Field_Country::get_instance();
includes/form/{class-ur-date.php → class-ur-form-field-date.php} RENAMED
@@ -2,7 +2,7 @@
2
  /**
3
  * UserRegistration Admin.
4
  *
5
- * @class UR_Admin
6
  * @since 1.0.5
7
  * @package UserRegistration/Form
8
  * @category Admin
@@ -14,9 +14,9 @@ if ( ! defined( 'ABSPATH' ) ) {
14
  }
15
 
16
  /**
17
- * UR_Admin Class
18
  */
19
- class UR_Date extends UR_Form_Field {
20
 
21
  private static $_instance;
22
 
@@ -111,4 +111,4 @@ class UR_Date extends UR_Form_Field {
111
  }
112
  }
113
 
114
- return UR_Date::get_instance();
2
  /**
3
  * UserRegistration Admin.
4
  *
5
+ * @class UR_Form_Field_Date
6
  * @since 1.0.5
7
  * @package UserRegistration/Form
8
  * @category Admin
14
  }
15
 
16
  /**
17
+ * UR_Form_Field_Date Class
18
  */
19
+ class UR_Form_Field_Date extends UR_Form_Field {
20
 
21
  private static $_instance;
22
 
111
  }
112
  }
113
 
114
+ return UR_Form_Field_Date::get_instance();
includes/form/{class-ur-description.php → class-ur-form-field-description.php} RENAMED
@@ -2,7 +2,7 @@
2
  /**
3
  * UserRegistration Admin.
4
  *
5
- * @class UR_User_Description
6
  * @version 1.0.0
7
  * @package UserRegistration/Form
8
  * @category Admin
@@ -14,9 +14,9 @@ if ( ! defined( 'ABSPATH' ) ) {
14
  }
15
 
16
  /**
17
- * UR_Description Class
18
  */
19
- class UR_Description extends UR_Form_Field {
20
 
21
  private static $_instance;
22
 
@@ -49,7 +49,7 @@ class UR_Description extends UR_Form_Field {
49
  $this->field_defaults = array(
50
 
51
  'default_label' => __( 'User Bio','user-registration' ),
52
-
53
  'default_field_name' => 'description',
54
  );
55
  }
@@ -72,4 +72,4 @@ class UR_Description extends UR_Form_Field {
72
 
73
  }
74
 
75
- return UR_Description::get_instance();
2
  /**
3
  * UserRegistration Admin.
4
  *
5
+ * @class UR_Form_Field_Description
6
  * @version 1.0.0
7
  * @package UserRegistration/Form
8
  * @category Admin
14
  }
15
 
16
  /**
17
+ * UR_Form_Field_Description Class
18
  */
19
+ class UR_Form_Field_Description extends UR_Form_Field {
20
 
21
  private static $_instance;
22
 
49
  $this->field_defaults = array(
50
 
51
  'default_label' => __( 'User Bio','user-registration' ),
52
+
53
  'default_field_name' => 'description',
54
  );
55
  }
72
 
73
  }
74
 
75
+ return UR_Form_Field_Description::get_instance();
includes/form/{class-ur-display-name.php → class-ur-form-field-display-name.php} RENAMED
@@ -2,7 +2,7 @@
2
  /**
3
  * UserRegistration Admin.
4
  *
5
- * @class UR_User_Display_Name
6
  * @version 1.0.0
7
  * @package UserRegistration/Form
8
  * @category Admin
@@ -14,9 +14,9 @@ if ( ! defined( 'ABSPATH' ) ) {
14
  }
15
 
16
  /**
17
- * UR_Display_Name Class
18
  */
19
- class UR_Display_Name extends UR_Form_Field {
20
 
21
  private static $_instance;
22
 
@@ -71,4 +71,4 @@ class UR_Display_Name extends UR_Form_Field {
71
 
72
  }
73
 
74
- return UR_Display_Name::get_instance();
2
  /**
3
  * UserRegistration Admin.
4
  *
5
+ * @class UR_Form_Field_Display_Name
6
  * @version 1.0.0
7
  * @package UserRegistration/Form
8
  * @category Admin
14
  }
15
 
16
  /**
17
+ * UR_Form_Field_Display_Name Class
18
  */
19
+ class UR_Form_Field_Display_Name extends UR_Form_Field {
20
 
21
  private static $_instance;
22
 
71
 
72
  }
73
 
74
+ return UR_Form_Field_Display_Name::get_instance();
includes/form/{class-ur-email.php → class-ur-form-field-email.php} RENAMED
@@ -2,7 +2,7 @@
2
  /**
3
  * UserRegistration Admin.
4
  *
5
- * @class UR_Email
6
  * @version 1.0.0
7
  * @package UserRegistration/Form
8
  * @category Admin
@@ -14,9 +14,9 @@ if ( ! defined( 'ABSPATH' ) ) {
14
  }
15
 
16
  /**
17
- * UR_Email Class
18
  */
19
- class UR_Email extends UR_Form_Field {
20
 
21
  private static $_instance;
22
 
@@ -71,4 +71,4 @@ class UR_Email extends UR_Form_Field {
71
 
72
  }
73
 
74
- return UR_Email::get_instance();
2
  /**
3
  * UserRegistration Admin.
4
  *
5
+ * @class UR_Form_Field_Email
6
  * @version 1.0.0
7
  * @package UserRegistration/Form
8
  * @category Admin
14
  }
15
 
16
  /**
17
+ * UR_Form_Field_Email Class
18
  */
19
+ class UR_Form_Field_Email extends UR_Form_Field {
20
 
21
  private static $_instance;
22
 
71
 
72
  }
73
 
74
+ return UR_Form_Field_Email::get_instance();
includes/form/{class-ur-first-name.php → class-ur-form-field-first-name.php} RENAMED
@@ -2,7 +2,7 @@
2
  /**
3
  * UserRegistration Admin.
4
  *
5
- * @class UR_First_Name
6
  * @version 1.0.0
7
  * @package UserRegistration/Form
8
  * @category Admin
@@ -14,9 +14,9 @@ if ( ! defined( 'ABSPATH' ) ) {
14
  }
15
 
16
  /**
17
- * UR_First_Name Class
18
  */
19
- class UR_First_Name extends UR_Form_Field {
20
 
21
  private static $_instance;
22
 
@@ -70,4 +70,4 @@ class UR_First_Name extends UR_Form_Field {
70
  }
71
  }
72
 
73
- return UR_First_Name::get_instance();
2
  /**
3
  * UserRegistration Admin.
4
  *
5
+ * @class UR_Form_Field_First_Name
6
  * @version 1.0.0
7
  * @package UserRegistration/Form
8
  * @category Admin
14
  }
15
 
16
  /**
17
+ * UR_Form_Field_First_Name Class
18
  */
19
+ class UR_Form_Field_First_Name extends UR_Form_Field {
20
 
21
  private static $_instance;
22
 
70
  }
71
  }
72
 
73
+ return UR_Form_Field_First_Name::get_instance();
includes/form/{class-ur-last-name.php → class-ur-form-field-last-name.php} RENAMED
@@ -2,7 +2,7 @@
2
  /**
3
  * UserRegistration Admin.
4
  *
5
- * @class UR_Last_Name
6
  * @version 1.0.0
7
  * @package UserRegistration/Form
8
  * @category Admin
@@ -14,9 +14,9 @@ if ( ! defined( 'ABSPATH' ) ) {
14
  }
15
 
16
  /**
17
- * UR_Last_Name Class
18
  */
19
- class UR_Last_Name extends UR_Form_Field {
20
 
21
  private static $_instance;
22
 
@@ -69,4 +69,4 @@ class UR_Last_Name extends UR_Form_Field {
69
  }
70
  }
71
 
72
- return UR_Last_Name::get_instance();
2
  /**
3
  * UserRegistration Admin.
4
  *
5
+ * @class UR_Form_Field_Last_Name
6
  * @version 1.0.0
7
  * @package UserRegistration/Form
8
  * @category Admin
14
  }
15
 
16
  /**
17
+ * UR_Form_Field_Last_Name Class
18
  */
19
+ class UR_Form_Field_Last_Name extends UR_Form_Field {
20
 
21
  private static $_instance;
22
 
69
  }
70
  }
71
 
72
+ return UR_Form_Field_Last_Name::get_instance();
includes/form/{class-ur-nickname.php → class-ur-form-field-nickname.php} RENAMED
@@ -2,7 +2,7 @@
2
  /**
3
  * UserRegistration Admin.
4
  *
5
- * @class UR_Nickname
6
  * @version 1.0.0
7
  * @package UserRegistration/Form
8
  * @category Admin
@@ -14,9 +14,9 @@ if ( ! defined( 'ABSPATH' ) ) {
14
  }
15
 
16
  /**
17
- * UR_Nickname Class
18
  */
19
- class UR_Nickname extends UR_Form_Field {
20
 
21
  private static $_instance;
22
 
@@ -71,4 +71,4 @@ class UR_Nickname extends UR_Form_Field {
71
 
72
  }
73
 
74
- return UR_Nickname::get_instance();
2
  /**
3
  * UserRegistration Admin.
4
  *
5
+ * @class UR_Form_Field_Nickname
6
  * @version 1.0.0
7
  * @package UserRegistration/Form
8
  * @category Admin
14
  }
15
 
16
  /**
17
+ * UR_Form_Field_Nickname Class
18
  */
19
+ class UR_Form_Field_Nickname extends UR_Form_Field {
20
 
21
  private static $_instance;
22
 
71
 
72
  }
73
 
74
+ return UR_Form_Field_Nickname::get_instance();
includes/form/{class-ur-number.php → class-ur-form-field-number.php} RENAMED
@@ -2,7 +2,7 @@
2
  /**
3
  * UserRegistration Admin.
4
  *
5
- * @class UR_Admin
6
  * @since 1.0.5
7
  * @package UserRegistration/Form
8
  * @category Admin
@@ -14,9 +14,9 @@ if ( ! defined( 'ABSPATH' ) ) {
14
  }
15
 
16
  /**
17
- * UR_Admin Class
18
  */
19
- class UR_Number extends UR_Form_Field {
20
 
21
  private static $_instance;
22
 
@@ -95,4 +95,4 @@ class UR_Number extends UR_Form_Field {
95
  }
96
  }
97
 
98
- return UR_Number::get_instance();
2
  /**
3
  * UserRegistration Admin.
4
  *
5
+ * @class UR_Form_Field_Number
6
  * @since 1.0.5
7
  * @package UserRegistration/Form
8
  * @category Admin
14
  }
15
 
16
  /**
17
+ * UR_Form_Field_Number Class
18
  */
19
+ class UR_Form_Field_Number extends UR_Form_Field {
20
 
21
  private static $_instance;
22
 
95
  }
96
  }
97
 
98
+ return UR_Form_Field_Number::get_instance();
includes/form/{class-ur-password.php → class-ur-form-field-password.php} RENAMED
@@ -2,7 +2,7 @@
2
  /**
3
  * UserRegistration Admin.
4
  *
5
- * @class UR_Admin
6
  * @version 1.0.0
7
  * @package UserRegistration/Form
8
  * @category Admin
@@ -14,9 +14,9 @@ if ( ! defined( 'ABSPATH' ) ) {
14
  }
15
 
16
  /**
17
- * UR_Password Class
18
  */
19
- class UR_Password extends UR_Form_Field {
20
 
21
  private static $_instance;
22
 
@@ -70,4 +70,4 @@ class UR_Password extends UR_Form_Field {
70
  }
71
  }
72
 
73
- return UR_Password::get_instance();
2
  /**
3
  * UserRegistration Admin.
4
  *
5
+ * @class UR_Form_Field_Password
6
  * @version 1.0.0
7
  * @package UserRegistration/Form
8
  * @category Admin
14
  }
15
 
16
  /**
17
+ * UR_Form_Field_Password Class
18
  */
19
+ class UR_Form_Field_Password extends UR_Form_Field {
20
 
21
  private static $_instance;
22
 
70
  }
71
  }
72
 
73
+ return UR_Form_Field_Password::get_instance();
includes/form/{class-ur-privacy-policy.php → class-ur-form-field-privacy-policy.php} RENAMED
@@ -2,7 +2,7 @@
2
  /**
3
  * UserRegistration Admin.
4
  *
5
- * @class UR_Admin
6
  * @version 1.0.0
7
  * @package UserRegistration/Form
8
  * @category Admin
@@ -14,9 +14,9 @@ if ( ! defined( 'ABSPATH' ) ) {
14
  }
15
 
16
  /**
17
- * UR_Admin Class
18
  */
19
- class UR_Privacy_Policy extends UR_Form_Field {
20
 
21
  private static $_instance;
22
 
@@ -77,4 +77,4 @@ class UR_Privacy_Policy extends UR_Form_Field {
77
  }
78
  }
79
 
80
- return UR_Privacy_Policy::get_instance();
2
  /**
3
  * UserRegistration Admin.
4
  *
5
+ * @class UR_Form_Field_Privacy_Policy
6
  * @version 1.0.0
7
  * @package UserRegistration/Form
8
  * @category Admin
14
  }
15
 
16
  /**
17
+ * UR_Form_Field_Privacy_Policy Class
18
  */
19
+ class UR_Form_Field_Privacy_Policy extends UR_Form_Field {
20
 
21
  private static $_instance;
22
 
77
  }
78
  }
79
 
80
+ return UR_Form_Field_Privacy_Policy::get_instance();
includes/form/{class-ur-radio.php → class-ur-form-field-radio.php} RENAMED
@@ -2,7 +2,7 @@
2
  /**
3
  * UserRegistration Admin.
4
  *
5
- * @class UR_Radio
6
  * @version 1.0.0
7
  * @package UserRegistration/Form
8
  * @category Admin
@@ -14,9 +14,9 @@ if ( ! defined( 'ABSPATH' ) ) {
14
  }
15
 
16
  /**
17
- * UR_Radio Class
18
  */
19
- class UR_Radio extends UR_Form_Field {
20
 
21
  private static $_instance;
22
 
@@ -71,4 +71,4 @@ class UR_Radio extends UR_Form_Field {
71
  }
72
  }
73
 
74
- return UR_Radio::get_instance();
2
  /**
3
  * UserRegistration Admin.
4
  *
5
+ * @class UR_Form_Field_Radio
6
  * @version 1.0.0
7
  * @package UserRegistration/Form
8
  * @category Admin
14
  }
15
 
16
  /**
17
+ * UR_Form_Field_Radio Class
18
  */
19
+ class UR_Form_Field_Radio extends UR_Form_Field {
20
 
21
  private static $_instance;
22
 
71
  }
72
  }
73
 
74
+ return UR_Form_Field_Radio::get_instance();
includes/form/{class-ur-select.php → class-ur-form-field-select.php} RENAMED
@@ -2,7 +2,7 @@
2
  /**
3
  * UserRegistration Admin.
4
  *
5
- * @class UR_Select
6
  * @version 1.0.0
7
  * @package UserRegistration/Form
8
  * @category Admin
@@ -14,9 +14,9 @@ if ( ! defined( 'ABSPATH' ) ) {
14
  }
15
 
16
  /**
17
- * UR_Select Class
18
  */
19
- class UR_Select extends UR_Form_Field {
20
 
21
  private static $_instance;
22
 
@@ -71,4 +71,4 @@ class UR_Select extends UR_Form_Field {
71
  }
72
  }
73
 
74
- return UR_Select::get_instance();
2
  /**
3
  * UserRegistration Admin.
4
  *
5
+ * @class UR_Form_Field_Select
6
  * @version 1.0.0
7
  * @package UserRegistration/Form
8
  * @category Admin
14
  }
15
 
16
  /**
17
+ * UR_Form_Field_Select Class
18
  */
19
+ class UR_Form_Field_Select extends UR_Form_Field {
20
 
21
  private static $_instance;
22
 
71
  }
72
  }
73
 
74
+ return UR_Form_Field_Select::get_instance();
includes/form/{class-ur-text.php → class-ur-form-field-text.php} RENAMED
@@ -2,7 +2,7 @@
2
  /**
3
  * UserRegistration Admin.
4
  *
5
- * @class UR_Admin
6
  * @version 1.0.0
7
  * @package UserRegistration/Form
8
  * @category Admin
@@ -14,9 +14,9 @@ if ( ! defined( 'ABSPATH' ) ) {
14
  }
15
 
16
  /**
17
- * UR_Admin Class
18
  */
19
- class UR_Text extends UR_Form_Field {
20
 
21
  private static $_instance;
22
 
@@ -86,4 +86,4 @@ class UR_Text extends UR_Form_Field {
86
  }
87
  }
88
 
89
- return UR_Text::get_instance();
2
  /**
3
  * UserRegistration Admin.
4
  *
5
+ * @class UR_Form_Field_Text
6
  * @version 1.0.0
7
  * @package UserRegistration/Form
8
  * @category Admin
14
  }
15
 
16
  /**
17
+ * UR_Form_Field_Text Class
18
  */
19
+ class UR_Form_Field_Text extends UR_Form_Field {
20
 
21
  private static $_instance;
22
 
86
  }
87
  }
88
 
89
+ return UR_Form_Field_Text::get_instance();
includes/form/{class-ur-textarea.php → class-ur-form-field-textarea.php} RENAMED
@@ -2,7 +2,7 @@
2
  /**
3
  * UserRegistration Admin.
4
  *
5
- * @class UR_Textarea
6
  * @version 1.0.0
7
  * @package UserRegistration/Form
8
  * @category Admin
@@ -14,9 +14,9 @@ if ( ! defined( 'ABSPATH' ) ) {
14
  }
15
 
16
  /**
17
- * UR_Textarea Class
18
  */
19
- class UR_Textarea extends UR_Form_Field {
20
 
21
  private static $_instance;
22
 
@@ -70,4 +70,4 @@ class UR_Textarea extends UR_Form_Field {
70
  }
71
  }
72
 
73
- return UR_Textarea::get_instance();
2
  /**
3
  * UserRegistration Admin.
4
  *
5
+ * @class UR_Form_Field_Textarea
6
  * @version 1.0.0
7
  * @package UserRegistration/Form
8
  * @category Admin
14
  }
15
 
16
  /**
17
+ * UR_Form_Field_Textarea Class
18
  */
19
+ class UR_Form_Field_Textarea extends UR_Form_Field {
20
 
21
  private static $_instance;
22
 
70
  }
71
  }
72
 
73
+ return UR_Form_Field_Textarea::get_instance();
includes/form/{class-ur-user-confirm-password.php → class-ur-form-field-user-confirm-password.php} RENAMED
@@ -2,7 +2,7 @@
2
  /**
3
  * UserRegistration Admin.
4
  *
5
- * @class UR_User_Confirm_Password
6
  * @version 1.0.0
7
  * @package UserRegistration/Form
8
  * @category Admin
@@ -14,9 +14,9 @@ if ( ! defined( 'ABSPATH' ) ) {
14
  }
15
 
16
  /**
17
- * UR_User_Confirm_Password Class
18
  */
19
- class UR_User_Confirm_Password extends UR_Form_Field {
20
 
21
  private static $_instance;
22
 
@@ -69,4 +69,4 @@ class UR_User_Confirm_Password extends UR_Form_Field {
69
 
70
  }
71
 
72
- return UR_User_Confirm_Password::get_instance();
2
  /**
3
  * UserRegistration Admin.
4
  *
5
+ * @class UR_Form_Field_User_Confirm_Password
6
  * @version 1.0.0
7
  * @package UserRegistration/Form
8
  * @category Admin
14
  }
15
 
16
  /**
17
+ * UR_Form_Field_User_Confirm_Password Class
18
  */
19
+ class UR_Form_Field_User_Confirm_Password extends UR_Form_Field {
20
 
21
  private static $_instance;
22
 
69
 
70
  }
71
 
72
+ return UR_Form_Field_User_Confirm_Password::get_instance();
includes/form/{class-ur-user-email.php → class-ur-form-field-user-email.php} RENAMED
@@ -2,7 +2,7 @@
2
  /**
3
  * UserRegistration Admin.
4
  *
5
- * @class UR_User_Email
6
  * @version 1.0.0
7
  * @package UserRegistration/Form
8
  * @category Admin
@@ -14,9 +14,9 @@ if ( ! defined( 'ABSPATH' ) ) {
14
  }
15
 
16
  /**
17
- * UR_User_Email Class
18
  */
19
- class UR_User_Email extends UR_Form_Field {
20
 
21
  private static $_instance;
22
 
@@ -64,7 +64,7 @@ class UR_User_Email extends UR_Form_Field {
64
 
65
 
66
  public function validation( $single_form_field, $form_data, $filter_hook, $form_id ) {
67
- // TODO: Implement validation() method.
68
  $email = isset( $form_data->value ) ? $form_data->value : '';
69
 
70
  $status = is_email( $email );
@@ -90,4 +90,4 @@ class UR_User_Email extends UR_Form_Field {
90
  }
91
  }
92
 
93
- return UR_User_Email::get_instance();
2
  /**
3
  * UserRegistration Admin.
4
  *
5
+ * @class UR_Form_Field_User_Email
6
  * @version 1.0.0
7
  * @package UserRegistration/Form
8
  * @category Admin
14
  }
15
 
16
  /**
17
+ * UR_Form_Field_User_Email Class
18
  */
19
+ class UR_Form_Field_User_Email extends UR_Form_Field {
20
 
21
  private static $_instance;
22
 
64
 
65
 
66
  public function validation( $single_form_field, $form_data, $filter_hook, $form_id ) {
67
+
68
  $email = isset( $form_data->value ) ? $form_data->value : '';
69
 
70
  $status = is_email( $email );
90
  }
91
  }
92
 
93
+ return UR_Form_Field_User_Email::get_instance();
includes/form/{class-ur-user-login.php → class-ur-form-field-user-login.php} RENAMED
@@ -2,7 +2,7 @@
2
  /**
3
  * UserRegistration Admin.
4
  *
5
- * @class UR_User_Login
6
  * @version 1.0.0
7
  * @package UserRegistration/Form
8
  * @category Admin
@@ -14,9 +14,9 @@ if ( ! defined( 'ABSPATH' ) ) {
14
  }
15
 
16
  /**
17
- * UR_User_Login Class
18
  */
19
- class UR_User_Login extends UR_Form_Field {
20
 
21
  private static $_instance;
22
 
@@ -67,33 +67,18 @@ class UR_User_Login extends UR_Form_Field {
67
  $username = isset( $form_data->value ) ? $form_data->value : '';
68
 
69
  if ( username_exists( $username ) ) {
70
-
71
  add_filter( $filter_hook, function ( $msg ) {
72
-
73
  return __( 'Username already exists.', 'user-registration' );
74
-
75
  } );
76
-
77
- }
78
-
79
- if( empty( $username ) ) {
80
- return;
81
  }
82
 
83
  $status = validate_username( $username );
84
 
85
  if ( ! $status ) {
86
-
87
  add_filter( $filter_hook, function ( $msg ) {
88
-
89
- return __( 'Invalid username', 'user-registration' );
90
-
91
- } );
92
  }
93
-
94
  }
95
-
96
-
97
  }
98
-
99
- return UR_User_Login::get_instance();
2
  /**
3
  * UserRegistration Admin.
4
  *
5
+ * @class UR_Form_Field_User_Login
6
  * @version 1.0.0
7
  * @package UserRegistration/Form
8
  * @category Admin
14
  }
15
 
16
  /**
17
+ * UR_Form_Field_User_Login Class
18
  */
19
+ class UR_Form_Field_User_Login extends UR_Form_Field {
20
 
21
  private static $_instance;
22
 
67
  $username = isset( $form_data->value ) ? $form_data->value : '';
68
 
69
  if ( username_exists( $username ) ) {
 
70
  add_filter( $filter_hook, function ( $msg ) {
 
71
  return __( 'Username already exists.', 'user-registration' );
 
72
  } );
 
 
 
 
 
73
  }
74
 
75
  $status = validate_username( $username );
76
 
77
  if ( ! $status ) {
 
78
  add_filter( $filter_hook, function ( $msg ) {
79
+ return __( 'Invalid username ! ', 'user-registration' );
80
+ });
 
 
81
  }
 
82
  }
 
 
83
  }
84
+ return UR_Form_Field_User_Login::get_instance();
 
includes/form/{class-ur-user-pass.php → class-ur-form-field-user-pass.php} RENAMED
@@ -2,7 +2,7 @@
2
  /**
3
  * UserRegistration Admin.
4
  *
5
- * @class UR_User_Pass
6
  * @version 1.0.0
7
  * @package UserRegistration/Form
8
  * @category Admin
@@ -14,9 +14,9 @@ if ( ! defined( 'ABSPATH' ) ) {
14
  }
15
 
16
  /**
17
- * UR_User_Pass Class
18
  */
19
- class UR_User_Pass extends UR_Form_Field {
20
 
21
  private static $_instance;
22
 
@@ -108,4 +108,4 @@ class UR_User_Pass extends UR_Form_Field {
108
  }
109
  }
110
 
111
- return UR_User_Pass::get_instance();
2
  /**
3
  * UserRegistration Admin.
4
  *
5
+ * @class UR_Form_Field_User_Pass
6
  * @version 1.0.0
7
  * @package UserRegistration/Form
8
  * @category Admin
14
  }
15
 
16
  /**
17
+ * UR_Form_Field_User_Pass Class
18
  */
19
+ class UR_Form_Field_User_Pass extends UR_Form_Field {
20
 
21
  private static $_instance;
22
 
108
  }
109
  }
110
 
111
+ return UR_Form_Field_User_Pass::get_instance();
includes/form/{class-ur-user-url.php → class-ur-form-field-user-url.php} RENAMED
@@ -2,7 +2,7 @@
2
  /**
3
  * UserRegistration Admin.
4
  *
5
- * @class UR_User_Url
6
  * @version 1.0.0
7
  * @package UserRegistration/Form
8
  * @category Admin
@@ -14,9 +14,9 @@ if ( ! defined( 'ABSPATH' ) ) {
14
  }
15
 
16
  /**
17
- * UR_User_Url Class
18
  */
19
- class UR_User_Url extends UR_Form_Field {
20
 
21
  private static $_instance;
22
 
@@ -69,4 +69,4 @@ class UR_User_Url extends UR_Form_Field {
69
 
70
  }
71
 
72
- return UR_User_Url::get_instance();
2
  /**
3
  * UserRegistration Admin.
4
  *
5
+ * @class UR_Form_Field_User_Url
6
  * @version 1.0.0
7
  * @package UserRegistration/Form
8
  * @category Admin
14
  }
15
 
16
  /**
17
+ * UR_Form_Field_User_Url Class
18
  */
19
+ class UR_Form_Field_User_Url extends UR_Form_Field {
20
 
21
  private static $_instance;
22
 
69
 
70
  }
71
 
72
+ return UR_Form_Field_User_Url::get_instance();
includes/form/views/admin/admin-checkbox.php CHANGED
@@ -31,7 +31,7 @@ $choices = isset( $this->admin_data->advance_setting->choices ) ? explode( ',',
31
  </div>
32
  <?php
33
 
34
- UR_Checkbox::get_instance()->get_setting();
35
 
36
  ?>
37
  </div>
31
  </div>
32
  <?php
33
 
34
+ UR_Form_Field_Checkbox::get_instance()->get_setting( $this->id );
35
 
36
  ?>
37
  </div>
includes/form/views/admin/admin-country.php CHANGED
@@ -7,37 +7,28 @@ if ( ! defined( 'ABSPATH' ) ) {
7
  exit;
8
  }
9
 
10
- $instance = UR_Country::get_instance();
11
  ?>
12
  <div class="ur-input-type-country ur-admin-template">
13
 
14
  <div class="ur-label">
15
  <label><?php echo esc_html($this->get_general_setting_data( 'label' )); ?></label>
16
-
17
  </div>
18
- <div class="ur-field" data-field-key="country">
19
-
20
 
 
21
  <select id="ur-input-type-country">
22
  <?php
23
-
24
- foreach ( $instance->get_country() as $country_key => $country_name ) {
25
- ?>
26
- <option value="<?php echo esc_attr($country_key) ?>"><?php echo esc_html($country_name); ?></option>
27
- <?php
28
-
29
- }
30
-
31
  ?>
32
-
33
  </select>
34
-
35
  </div>
36
- <?php
37
-
38
-
39
- $instance->get_setting();
40
 
 
 
41
  ?>
42
  </div>
43
 
7
  exit;
8
  }
9
 
10
+ $instance = UR_Form_Field_Country::get_instance();
11
  ?>
12
  <div class="ur-input-type-country ur-admin-template">
13
 
14
  <div class="ur-label">
15
  <label><?php echo esc_html($this->get_general_setting_data( 'label' )); ?></label>
 
16
  </div>
 
 
17
 
18
+ <div class="ur-field" data-field-key="country">
19
  <select id="ur-input-type-country">
20
  <?php
21
+ foreach ( $instance->get_country() as $country_key => $country_name ) {
22
+ ?>
23
+ <option value="<?php echo esc_attr( $country_key ) ?>"><?php echo esc_html( $country_name ); ?></option>
24
+ <?php
25
+ }
 
 
 
26
  ?>
 
27
  </select>
 
28
  </div>
 
 
 
 
29
 
30
+ <?php
31
+ $instance->get_setting();
32
  ?>
33
  </div>
34
 
includes/form/views/admin/admin-date.php CHANGED
@@ -22,7 +22,7 @@ if ( ! defined( 'ABSPATH' ) ) {
22
  </div>
23
  <?php
24
 
25
- UR_Date::get_instance()->get_setting();
26
 
27
  ?>
28
  </div>
22
  </div>
23
  <?php
24
 
25
+ UR_Form_Field_Date::get_instance()->get_setting();
26
 
27
  ?>
28
  </div>
includes/form/views/admin/admin-description.php CHANGED
@@ -21,7 +21,7 @@ if ( ! defined( 'ABSPATH' ) ) {
21
  </div>
22
  <?php
23
 
24
- UR_Description::get_instance()->get_setting();
25
 
26
  ?>
27
  </div>
21
  </div>
22
  <?php
23
 
24
+ UR_Form_Field_Description::get_instance()->get_setting();
25
 
26
  ?>
27
  </div>
includes/form/views/admin/admin-display-name.php CHANGED
@@ -22,7 +22,7 @@ if ( ! defined( 'ABSPATH' ) ) {
22
  </div>
23
  <?php
24
 
25
- UR_Display_Name::get_instance()->get_setting();
26
 
27
  ?>
28
  </div>
22
  </div>
23
  <?php
24
 
25
+ UR_Form_Field_Display_Name::get_instance()->get_setting();
26
 
27
  ?>
28
  </div>
includes/form/views/admin/admin-email.php CHANGED
@@ -19,7 +19,7 @@ if ( ! defined( 'ABSPATH' ) ) {
19
  </div>
20
  <?php
21
 
22
- UR_Email::get_instance()->get_setting();
23
 
24
  ?>
25
  </div>
19
  </div>
20
  <?php
21
 
22
+ UR_Form_Field_Email::get_instance()->get_setting();
23
 
24
  ?>
25
  </div>
includes/form/views/admin/admin-first-name.php CHANGED
@@ -22,7 +22,7 @@ if ( ! defined( 'ABSPATH' ) ) {
22
  </div>
23
  <?php
24
 
25
- UR_First_Name::get_instance()->get_setting();
26
 
27
  ?>
28
  </div>
22
  </div>
23
  <?php
24
 
25
+ UR_Form_Field_First_Name::get_instance()->get_setting();
26
 
27
  ?>
28
  </div>
includes/form/views/admin/admin-last-name.php CHANGED
@@ -22,7 +22,7 @@ if ( ! defined( 'ABSPATH' ) ) {
22
  </div>
23
  <?php
24
 
25
- UR_Last_Name::get_instance()->get_setting();
26
 
27
  ?>
28
  </div>
22
  </div>
23
  <?php
24
 
25
+ UR_Form_Field_Last_Name::get_instance()->get_setting();
26
 
27
  ?>
28
  </div>
includes/form/views/admin/admin-nickname.php CHANGED
@@ -22,7 +22,7 @@ if ( ! defined( 'ABSPATH' ) ) {
22
  </div>
23
  <?php
24
 
25
- UR_Nickname::get_instance()->get_setting();
26
 
27
  ?>
28
  </div>
22
  </div>
23
  <?php
24
 
25
+ UR_Form_Field_Nickname::get_instance()->get_setting();
26
 
27
  ?>
28
  </div>
includes/form/views/admin/admin-number.php CHANGED
@@ -22,7 +22,7 @@ if ( ! defined( 'ABSPATH' ) ) {
22
  </div>
23
  <?php
24
 
25
- UR_Number::get_instance()->get_setting();
26
 
27
  ?>
28
  </div>
22
  </div>
23
  <?php
24
 
25
+ UR_Form_Field_Number::get_instance()->get_setting();
26
 
27
  ?>
28
  </div>
includes/form/views/admin/admin-password.php CHANGED
@@ -19,7 +19,7 @@ if ( ! defined( 'ABSPATH' ) ) {
19
 
20
  <?php
21
 
22
- UR_Password::get_instance()->get_setting();
23
 
24
  ?>
25
  </div>
19
 
20
  <?php
21
 
22
+ UR_Form_Field_Password::get_instance()->get_setting();
23
 
24
  ?>
25
  </div>
includes/form/views/admin/admin-privacy-policy.php CHANGED
@@ -22,7 +22,7 @@ if ( ! defined( 'ABSPATH' ) ) {
22
  </div>
23
  <?php
24
 
25
- UR_Privacy_Policy::get_instance()->get_setting();
26
 
27
  ?>
28
  </div>
22
  </div>
23
  <?php
24
 
25
+ UR_Form_Field_Privacy_Policy::get_instance()->get_setting();
26
 
27
  ?>
28
  </div>
includes/form/views/admin/admin-radio.php CHANGED
@@ -29,7 +29,7 @@ $options = isset( $this->admin_data->advance_setting->options ) ? explode( ',',
29
  </div>
30
  <?php
31
 
32
- UR_Radio::get_instance()->get_setting();
33
 
34
  ?>
35
  </div>
29
  </div>
30
  <?php
31
 
32
+ UR_Form_Field_Radio::get_instance()->get_setting();
33
 
34
  ?>
35
  </div>
includes/form/views/admin/admin-select.php CHANGED
@@ -31,7 +31,7 @@ $options = isset( $this->admin_data->advance_setting->options ) ? explode( ',',
31
  </div>
32
  <?php
33
 
34
- UR_Select::get_instance()->get_setting();
35
 
36
  ?>
37
  </div>
31
  </div>
32
  <?php
33
 
34
+ UR_Form_Field_Select::get_instance()->get_setting();
35
 
36
  ?>
37
  </div>
includes/form/views/admin/admin-text.php CHANGED
@@ -22,7 +22,7 @@ if ( ! defined( 'ABSPATH' ) ) {
22
  </div>
23
  <?php
24
 
25
- UR_Text::get_instance()->get_setting();
26
 
27
  ?>
28
  </div>
22
  </div>
23
  <?php
24
 
25
+ UR_Form_Field_Text::get_instance()->get_setting();
26
 
27
  ?>
28
  </div>
includes/form/views/admin/admin-textarea.php CHANGED
@@ -21,7 +21,7 @@ if ( ! defined( 'ABSPATH' ) ) {
21
  </div>
22
  <?php
23
 
24
- UR_Textarea::get_instance()->get_setting();
25
 
26
  ?>
27
  </div>
21
  </div>
22
  <?php
23
 
24
+ UR_Form_Field_Textarea::get_instance()->get_setting();
25
 
26
  ?>
27
  </div>
includes/form/views/admin/admin-user-confirm-password.php CHANGED
@@ -22,7 +22,7 @@ if ( ! defined( 'ABSPATH' ) ) {
22
  </div>
23
  <?php
24
 
25
- UR_User_Confirm_Password::get_instance()->get_setting();
26
 
27
  ?>
28
  </div>
22
  </div>
23
  <?php
24
 
25
+ UR_Form_Field_User_Confirm_Password::get_instance()->get_setting();
26
 
27
  ?>
28
  </div>
includes/form/views/admin/admin-user-email.php CHANGED
@@ -22,7 +22,7 @@ if ( ! defined( 'ABSPATH' ) ) {
22
  </div>
23
  <?php
24
 
25
- UR_User_Email::get_instance()->get_setting();
26
 
27
  ?>
28
  </div>
22
  </div>
23
  <?php
24
 
25
+ UR_Form_Field_User_Email::get_instance()->get_setting();
26
 
27
  ?>
28
  </div>
includes/form/views/admin/admin-user-login.php CHANGED
@@ -22,7 +22,7 @@ if ( ! defined( 'ABSPATH' ) ) {
22
  </div>
23
  <?php
24
 
25
- UR_User_Login::get_instance()->get_setting();
26
 
27
  ?>
28
  </div>
22
  </div>
23
  <?php
24
 
25
+ UR_Form_Field_User_Login::get_instance()->get_setting();
26
 
27
  ?>
28
  </div>
includes/form/views/admin/admin-user-pass.php CHANGED
@@ -22,7 +22,7 @@ if ( ! defined( 'ABSPATH' ) ) {
22
  </div>
23
  <?php
24
 
25
- UR_User_Pass::get_instance()->get_setting();
26
 
27
  ?>
28
  </div>
22
  </div>
23
  <?php
24
 
25
+ UR_Form_Field_User_Pass::get_instance()->get_setting();
26
 
27
  ?>
28
  </div>
includes/form/views/admin/admin-user-url.php CHANGED
@@ -22,7 +22,7 @@ if ( ! defined( 'ABSPATH' ) ) {
22
  </div>
23
  <?php
24
 
25
- UR_User_Url::get_instance()->get_setting();
26
 
27
  ?>
28
  </div>
22
  </div>
23
  <?php
24
 
25
+ UR_Form_Field_User_Url::get_instance()->get_setting();
26
 
27
  ?>
28
  </div>
includes/frontend/class-ur-frontend-form-handler.php CHANGED
@@ -32,9 +32,9 @@ class UR_Frontend_Form_Handler {
32
  }
33
  self::match_password( $form_data );
34
  $form_field_data = self::get_form_field_data( $post_content_array );
35
-
36
  self::add_hook( $form_field_data, $form_data );
37
  self::validate_form_data( $form_field_data, $form_data );
 
38
  if ( count( self::$response_array ) == 0 ) {
39
  $user_role = ! in_array( ur_get_form_setting_by_key( $form_id, 'user_registration_form_setting_default_user_role' ), array_keys( ur_get_default_admin_roles() ) ) ? 'subscriber' : ur_get_form_setting_by_key( $form_id, 'user_registration_form_setting_default_user_role' );
40
  $userdata = array(
@@ -52,18 +52,13 @@ class UR_Frontend_Form_Handler {
52
  do_action( 'user_registration_before_register_user_action', self::$valid_form_data, $form_id );
53
 
54
  if( empty( $userdata['user_login'] ) ) {
55
-
56
  $part_of_email = explode( "@", $userdata['user_email'] );
57
-
58
  $username = check_username( $part_of_email[0] );
59
-
60
  $userdata['user_login'] = $username;
61
-
62
  }
63
 
64
  $user_id = wp_insert_user( $userdata );
65
 
66
-
67
  self::ur_update_user_meta( $user_id, self::$valid_form_data, $form_id );
68
  do_action( 'user_registration_after_register_user_action', self::$valid_form_data, $form_id, $user_id );
69
  if ( $user_id > 0 ) {
@@ -80,7 +75,7 @@ class UR_Frontend_Form_Handler {
80
  wp_send_json_success( $success_params );
81
  }
82
  wp_send_json_error( array(
83
- 'message' => __( 'Someting error! please try again', 'user-registration' ),
84
  ) );
85
  } else {
86
  wp_send_json_error( array(
@@ -116,7 +111,6 @@ class UR_Frontend_Form_Handler {
116
  }
117
  private static function validate_form_data( $form_field_data = array(), $form_data = array() ) {
118
  $form_data_field = wp_list_pluck( $form_data, 'field_name' );
119
-
120
  $form_key_list = wp_list_pluck( wp_list_pluck( $form_field_data, 'general_setting' ), 'field_name' );
121
  $duplicate_field_key = array_diff_key( $form_data_field, array_unique( $form_data_field ) );
122
  if ( count( $duplicate_field_key ) > 0 ) {
@@ -128,20 +122,19 @@ class UR_Frontend_Form_Handler {
128
  if ( false === $containsSearch ) {
129
  array_push( self::$response_array, __( 'Required form field not found.', 'user-registration' ) );
130
  }
131
-
132
  foreach ( $form_data as $data ) {
133
 
134
  if ( in_array( $data->field_name, $form_key_list ) ) {
135
- self::$valid_form_data[ $data->field_name ] = self::get_sanitize_value( $data );
136
  $form_data_index = array_search( $data->field_name, $form_key_list );
137
  $single_form_field = $form_field_data[ $form_data_index ];
138
  $general_setting = isset( $single_form_field->general_setting ) ? $single_form_field->general_setting : new stdClass();
139
  $single_field_key = $single_form_field->field_key;
140
  $single_field_label = isset( $general_setting->label ) ? $general_setting->label : '';
141
- self::$valid_form_data[ $data->field_name ]->extra_params = array(
142
  'field_key' => $single_field_key,
143
  'label' => $single_field_label
144
  );
 
145
  $hook = "user_registration_validate_{$single_form_field->field_key}";
146
  $filter_hook = $hook . '_message';
147
  do_action( $hook, $single_form_field, $data, $filter_hook, self::$form_id );
@@ -152,6 +145,13 @@ class UR_Frontend_Form_Handler {
152
  }
153
  }
154
  }
 
 
 
 
 
 
 
155
  public static function add_hook( $form_field_data = array(), $form_data = array() ) {
156
  $form_key_list = wp_list_pluck( wp_list_pluck( $form_field_data, 'general_setting' ), 'field_name' );
157
  foreach ( $form_data as $data ) {
@@ -167,40 +167,73 @@ class UR_Frontend_Form_Handler {
167
  }
168
  }
169
  }
 
 
 
 
 
 
170
  private static function get_sanitize_value( &$form_data ) {
171
- $field_name = isset( $form_data->field_name ) ? $form_data->field_name : '';
172
- switch ( $field_name ) {
173
- case 'user_email':
174
- $form_data->value = sanitize_email( $form_data->value );
175
- break;
176
- case 'user_login':
177
- $form_data->value = sanitize_user( $form_data->value );
178
- break;
179
- case 'user_pass':
180
- break;
181
- default:
182
- $form_data->value = sanitize_text_field( $form_data->value );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
183
  }
184
- return $form_data;
185
  }
186
 
187
  private static function ur_update_user_meta( $user_id, $valid_form_data, $form_id ) {
188
 
189
  foreach ( $valid_form_data as $data ) {
190
  if ( ! in_array( trim( $data->field_name ), ur_get_user_table_fields() ) ) {
191
- $field_key = $data->field_name;
192
- $field_key_for_param = $data->field_name;
193
-
194
  $fields_without_prefix = ur_get_fields_without_prefix();
195
 
196
  if( ! in_array( $field_key, $fields_without_prefix ) ) {
197
- $field_key = 'user_registration_' . $field_key;
198
- }
199
-
200
  if( isset( $data->extra_params['field_key'] ) && $data->extra_params['field_key'] === 'checkbox' ) {
201
- $data->value = json_decode( $data->value );
202
  }
203
- update_user_meta( $user_id, $field_key, $data->value );
204
  }
205
  update_user_meta( $user_id, 'ur_form_id', $form_id );
206
  }
@@ -223,7 +256,7 @@ class UR_Frontend_Form_Handler {
223
  if ( empty( $confirm_password ) ) {
224
  array_push( self::$response_array, __( 'Empty confirm password', 'user-registration' ) );
225
  } elseif ( strcasecmp( $confirm_password, $password ) != 0 ) {
226
- array_push( self::$response_array, __( 'Password and confirm password not matched', 'user-registration' ) );
227
  }
228
  }
229
  return $form_data;
32
  }
33
  self::match_password( $form_data );
34
  $form_field_data = self::get_form_field_data( $post_content_array );
 
35
  self::add_hook( $form_field_data, $form_data );
36
  self::validate_form_data( $form_field_data, $form_data );
37
+
38
  if ( count( self::$response_array ) == 0 ) {
39
  $user_role = ! in_array( ur_get_form_setting_by_key( $form_id, 'user_registration_form_setting_default_user_role' ), array_keys( ur_get_default_admin_roles() ) ) ? 'subscriber' : ur_get_form_setting_by_key( $form_id, 'user_registration_form_setting_default_user_role' );
40
  $userdata = array(
52
  do_action( 'user_registration_before_register_user_action', self::$valid_form_data, $form_id );
53
 
54
  if( empty( $userdata['user_login'] ) ) {
 
55
  $part_of_email = explode( "@", $userdata['user_email'] );
 
56
  $username = check_username( $part_of_email[0] );
 
57
  $userdata['user_login'] = $username;
 
58
  }
59
 
60
  $user_id = wp_insert_user( $userdata );
61
 
 
62
  self::ur_update_user_meta( $user_id, self::$valid_form_data, $form_id );
63
  do_action( 'user_registration_after_register_user_action', self::$valid_form_data, $form_id, $user_id );
64
  if ( $user_id > 0 ) {
75
  wp_send_json_success( $success_params );
76
  }
77
  wp_send_json_error( array(
78
+ 'message' => __( 'Something went wrong! please try again', 'user-registration' ),
79
  ) );
80
  } else {
81
  wp_send_json_error( array(
111
  }
112
  private static function validate_form_data( $form_field_data = array(), $form_data = array() ) {
113
  $form_data_field = wp_list_pluck( $form_data, 'field_name' );
 
114
  $form_key_list = wp_list_pluck( wp_list_pluck( $form_field_data, 'general_setting' ), 'field_name' );
115
  $duplicate_field_key = array_diff_key( $form_data_field, array_unique( $form_data_field ) );
116
  if ( count( $duplicate_field_key ) > 0 ) {
122
  if ( false === $containsSearch ) {
123
  array_push( self::$response_array, __( 'Required form field not found.', 'user-registration' ) );
124
  }
 
125
  foreach ( $form_data as $data ) {
126
 
127
  if ( in_array( $data->field_name, $form_key_list ) ) {
 
128
  $form_data_index = array_search( $data->field_name, $form_key_list );
129
  $single_form_field = $form_field_data[ $form_data_index ];
130
  $general_setting = isset( $single_form_field->general_setting ) ? $single_form_field->general_setting : new stdClass();
131
  $single_field_key = $single_form_field->field_key;
132
  $single_field_label = isset( $general_setting->label ) ? $general_setting->label : '';
133
+ $data->extra_params = array(
134
  'field_key' => $single_field_key,
135
  'label' => $single_field_label
136
  );
137
+ self::$valid_form_data[ $data->field_name ] = self::get_sanitize_value( $data );
138
  $hook = "user_registration_validate_{$single_form_field->field_key}";
139
  $filter_hook = $hook . '_message';
140
  do_action( $hook, $single_form_field, $data, $filter_hook, self::$form_id );
145
  }
146
  }
147
  }
148
+
149
+ /**
150
+ * Triger validation method for user fields
151
+ * Useful for custom fields validation
152
+ * @param array $form_field_data
153
+ * @param array $form_data
154
+ */
155
  public static function add_hook( $form_field_data = array(), $form_data = array() ) {
156
  $form_key_list = wp_list_pluck( wp_list_pluck( $form_field_data, 'general_setting' ), 'field_name' );
157
  foreach ( $form_data as $data ) {
167
  }
168
  }
169
  }
170
+
171
+ /**
172
+ * Sanitize default WordPress User fields
173
+ * @param obj &$form_data
174
+ * @return object
175
+ */
176
  private static function get_sanitize_value( &$form_data ) {
177
+
178
+ $field_key = isset( $form_data->extra_params['field_key'] ) ? $form_data->extra_params['field_key'] : '';
179
+ $fields = ur_get_registered_form_fields();
180
+
181
+ if( in_array( $field_key, $fields ) ) {
182
+
183
+ switch ( $field_key ) {
184
+ case 'user_email':
185
+ case 'email':
186
+ $form_data->value = sanitize_email( $form_data->value );
187
+ break;
188
+ case 'user_login':
189
+ $form_data->value = sanitize_user( $form_data->value );
190
+ break;
191
+ case 'user_url':
192
+ $form_data->value = esc_url_raw( $form_data->value );
193
+ break;
194
+ case 'textarea' :
195
+ case 'description':
196
+ $form_data->value = sanitize_textarea_field( $form_data->value );
197
+ break;
198
+ case 'number':
199
+ $form_data->value = intval( $form_data->value );
200
+ break;
201
+ case 'nickname':
202
+ case 'first_name':
203
+ case 'last_name':
204
+ case 'display_name':
205
+ case 'text':
206
+ case 'radio':
207
+ case 'checkbox':
208
+ case 'privacy_policy':
209
+ case 'mailchimp':
210
+ case 'select':
211
+ case 'country':
212
+ case 'file':
213
+ case 'date':
214
+ $form_data->value = sanitize_text_field( $form_data->value );
215
+ break;
216
+ }
217
  }
218
+ return apply_filters( 'user_registration_sanitize_field', $form_data, $field_key );
219
  }
220
 
221
  private static function ur_update_user_meta( $user_id, $valid_form_data, $form_id ) {
222
 
223
  foreach ( $valid_form_data as $data ) {
224
  if ( ! in_array( trim( $data->field_name ), ur_get_user_table_fields() ) ) {
225
+ $field_name = $data->field_name;
226
+ $field_key = isset( $data->extra_params['field_key'] ) ? $data->extra_params['field_key'] : '';
 
227
  $fields_without_prefix = ur_get_fields_without_prefix();
228
 
229
  if( ! in_array( $field_key, $fields_without_prefix ) ) {
230
+ $field_name = 'user_registration_' . $field_name;
231
+ }
232
+
233
  if( isset( $data->extra_params['field_key'] ) && $data->extra_params['field_key'] === 'checkbox' ) {
234
+ $data->value = json_decode( $data->value );
235
  }
236
+ update_user_meta( $user_id, $field_name, $data->value );
237
  }
238
  update_user_meta( $user_id, 'ur_form_id', $form_id );
239
  }
256
  if ( empty( $confirm_password ) ) {
257
  array_push( self::$response_array, __( 'Empty confirm password', 'user-registration' ) );
258
  } elseif ( strcasecmp( $confirm_password, $password ) != 0 ) {
259
+ array_push( self::$response_array, get_option( 'user_registration_form_submission_error_message_confirm_password', __( 'Password and confirm password not matched', 'user-registration' ) ) );
260
  }
261
  }
262
  return $form_data;
includes/functions-ur-core.php CHANGED
@@ -13,6 +13,7 @@ defined( 'ABSPATH' ) || exit;
13
  // Include core functions (available in both admin and frontend).
14
  include( UR_ABSPATH . 'includes/functions-ur-page.php' );
15
  include( UR_ABSPATH . 'includes/functions-ur-account.php' );
 
16
 
17
  /**
18
  * Define a constant if it is not already defined.
@@ -324,7 +325,7 @@ function ur_get_field_type( $field_key ) {
324
  case 'user_login':
325
  case 'nickname':
326
  case 'first_name':
327
- case 'flast_name':
328
  case 'display_name':
329
  case 'text':
330
  $field_type = 'text';
@@ -343,9 +344,10 @@ function ur_get_field_type( $field_key ) {
343
  case 'file':
344
  $field_type = 'file';
345
  break;
346
- case 'mailchimp':
347
  case 'privacy_policy':
348
  $field_type = 'privacy-policy';
 
 
349
  case 'checkbox':
350
  $field_type = 'checkbox';
351
  break;
@@ -462,7 +464,7 @@ function ur_get_user_field_only() {
462
 
463
 
464
  /**
465
- * Get all extra form fields
466
  *
467
  * @return array
468
  */
@@ -521,7 +523,7 @@ function ur_get_registered_form_fields() {
521
  /**
522
  * @return mixed|array
523
  */
524
- function ur_get_general_settings() {
525
  $general_settings = array(
526
  'label' => array(
527
  'type' => 'text',
@@ -534,7 +536,7 @@ function ur_get_general_settings() {
534
  'type' => 'textarea',
535
  'label' => __( 'Description', 'user-registration' ),
536
  'name' => 'ur_general_setting[description]',
537
- 'placeholder' => __( 'Label', 'user-registration' ),
538
  'required' => true,
539
  ),
540
  'field_name' => array(
@@ -576,7 +578,7 @@ function ur_get_general_settings() {
576
  ),
577
  );
578
 
579
- return apply_filters( 'user_registration_field_options_general_settings', $general_settings );
580
  }
581
 
582
  /**
@@ -587,15 +589,16 @@ function ur_get_general_settings() {
587
  function ur_load_form_field_class( $class_key ) {
588
  $exploded_class = explode( '_', $class_key );
589
  $class_path = UR_FORM_PATH . 'class-ur-' . join( '-', array_map( 'strtolower', $exploded_class ) ) . '.php';
590
- $class_name = 'UR_' . join( '_', array_map( 'ucwords', $exploded_class ) );
591
  $class_path = apply_filters( 'user_registration_form_field_' . $class_key . '_path', $class_path );
592
-
593
- if ( ! class_exists( $class_name ) ) {
594
- if ( file_exists( $class_path ) ) {
595
-
596
  include_once( $class_path );
597
  }
598
  }
 
599
 
600
  return $class_name;
601
  }
@@ -648,7 +651,6 @@ function ur_admin_form_settings_fields( $form_id ) {
648
 
649
  $all_roles = ur_get_default_admin_roles();
650
 
651
-
652
  $arguments = array(
653
  'form_id' => $form_id,
654
 
@@ -664,8 +666,6 @@ function ur_admin_form_settings_fields( $form_id ) {
664
  'options' => $all_roles,
665
  'custom_attributes' => array(),
666
  'default' => ur_get_single_post_meta( $form_id, 'user_registration_form_setting_default_user_role', 'subscriber' ),
667
-
668
-
669
  ),
670
  array(
671
  'type' => 'select',
@@ -691,9 +691,7 @@ function ur_admin_form_settings_fields( $form_id ) {
691
  'class' => array( 'ur-enhanced-select' ),
692
  'input_class' => array(),
693
  'custom_attributes' => array(),
694
- 'default' => ur_get_single_post_meta( $form_id, 'user_registration_form_setting_form_submit_label', 'Register' ),
695
-
696
-
697
  ),
698
  array(
699
  'type' => 'select',
@@ -729,11 +727,21 @@ function ur_admin_form_settings_fields( $form_id ) {
729
  'custom_attributes' => array(),
730
  'default' => ur_get_single_post_meta( $form_id, 'user_registration_form_template', 'default' ),
731
  ),
732
-
 
 
 
 
 
 
 
 
 
 
733
  )
734
  );
735
- $arguments = apply_filters( 'user_registration_get_form_settings', $arguments );
736
 
 
737
 
738
  return $arguments['setting_data'];
739
 
@@ -773,22 +781,7 @@ function ur_get_single_post_meta( $post_id, $meta_key, $default = null ) {
773
  return $post_meta[0];
774
  }
775
 
776
- $form_setting_meta_key = str_replace( 'form_setting', 'general_setting', $meta_key );
777
-
778
- $options = get_option( $form_setting_meta_key, $default );
779
-
780
- if ( isset( $options[0] ) && is_array( $options ) ) {
781
-
782
- return $options[0];
783
- }
784
- if ( '' != $options && 'string' == gettype( $options ) ) {
785
-
786
- return $options;
787
- }
788
-
789
  return $default;
790
-
791
-
792
  }
793
 
794
  /**
@@ -897,7 +890,6 @@ function ur_get_form_data_by_key( $form_data, $key = null ) {
897
 
898
  }
899
 
900
-
901
  }
902
 
903
  }
@@ -1020,7 +1012,7 @@ function check_username( $username ) {
1020
  if( is_numeric( $last_char ) ) {
1021
 
1022
  $strip_last_char = substr( $username, 0, -1 );
1023
-
1024
  $last_char = $last_char+1;
1025
 
1026
  $username = $strip_last_char.$last_char;
@@ -1079,6 +1071,16 @@ function ur_back_link( $label, $url ) {
1079
  echo '<small class="ur-admin-breadcrumb"><a href="' . esc_url( $url ) . '" aria-label="' . esc_attr( $label ) . '">&#x2934;</a></small>';
1080
  }
1081
 
 
 
 
 
 
 
 
 
 
 
1082
  /**
1083
  * @since 1.1.2
1084
  * Output any queued javascript code in the footer.
13
  // Include core functions (available in both admin and frontend).
14
  include( UR_ABSPATH . 'includes/functions-ur-page.php' );
15
  include( UR_ABSPATH . 'includes/functions-ur-account.php' );
16
+ include( UR_ABSPATH . 'includes/functions-ur-deprecated.php' );
17
 
18
  /**
19
  * Define a constant if it is not already defined.
325
  case 'user_login':
326
  case 'nickname':
327
  case 'first_name':
328
+ case 'last_name':
329
  case 'display_name':
330
  case 'text':
331
  $field_type = 'text';
344
  case 'file':
345
  $field_type = 'file';
346
  break;
 
347
  case 'privacy_policy':
348
  $field_type = 'privacy-policy';
349
+ break;
350
+ case 'mailchimp':
351
  case 'checkbox':
352
  $field_type = 'checkbox';
353
  break;
464
 
465
 
466
  /**
467
+ * Get all extra form fields
468
  *
469
  * @return array
470
  */
523
  /**
524
  * @return mixed|array
525
  */
526
+ function ur_get_general_settings( $id ) {
527
  $general_settings = array(
528
  'label' => array(
529
  'type' => 'text',
536
  'type' => 'textarea',
537
  'label' => __( 'Description', 'user-registration' ),
538
  'name' => 'ur_general_setting[description]',
539
+ 'placeholder' => __( 'Description', 'user-registration' ),
540
  'required' => true,
541
  ),
542
  'field_name' => array(
578
  ),
579
  );
580
 
581
+ return apply_filters( 'user_registration_field_options_general_settings', $general_settings, $id );
582
  }
583
 
584
  /**
589
  function ur_load_form_field_class( $class_key ) {
590
  $exploded_class = explode( '_', $class_key );
591
  $class_path = UR_FORM_PATH . 'class-ur-' . join( '-', array_map( 'strtolower', $exploded_class ) ) . '.php';
592
+ $class_name = 'UR_Form_Field_' . join( '_', array_map( 'ucwords', $exploded_class ) );
593
  $class_path = apply_filters( 'user_registration_form_field_' . $class_key . '_path', $class_path );
594
+ /* Backward Compat since 1.4.0 */
595
+ if ( file_exists( $class_path ) ) {
596
+ $class_name = 'UR_' . join( '_', array_map( 'ucwords', $exploded_class ) );
597
+ if ( ! class_exists( $class_name ) ) {
598
  include_once( $class_path );
599
  }
600
  }
601
+ /* Backward compat end*/
602
 
603
  return $class_name;
604
  }
651
 
652
  $all_roles = ur_get_default_admin_roles();
653
 
 
654
  $arguments = array(
655
  'form_id' => $form_id,
656
 
666
  'options' => $all_roles,
667
  'custom_attributes' => array(),
668
  'default' => ur_get_single_post_meta( $form_id, 'user_registration_form_setting_default_user_role', 'subscriber' ),
 
 
669
  ),
670
  array(
671
  'type' => 'select',
691
  'class' => array( 'ur-enhanced-select' ),
692
  'input_class' => array(),
693
  'custom_attributes' => array(),
694
+ 'default' => ur_get_single_post_meta( $form_id, 'user_registration_form_setting_form_submit_label', 'Submit' ),
 
 
695
  ),
696
  array(
697
  'type' => 'select',
727
  'custom_attributes' => array(),
728
  'default' => ur_get_single_post_meta( $form_id, 'user_registration_form_template', 'default' ),
729
  ),
730
+ array(
731
+ 'type' => 'text',
732
+ 'label' => __( 'Custom CSS class', 'user-registration' ),
733
+ 'description' => '',
734
+ 'required' => false,
735
+ 'id' => 'user_registration_form_custom_class',
736
+ 'class' => array( 'ur-enhanced-select' ),
737
+ 'input_class' => array(),
738
+ 'custom_attributes' => array(),
739
+ 'default' => ur_get_single_post_meta( $form_id, 'user_registration_form_custom_class' ),
740
+ ),
741
  )
742
  );
 
743
 
744
+ $arguments = apply_filters( 'user_registration_get_form_settings', $arguments );
745
 
746
  return $arguments['setting_data'];
747
 
781
  return $post_meta[0];
782
  }
783
 
 
 
 
 
 
 
 
 
 
 
 
 
 
784
  return $default;
 
 
785
  }
786
 
787
  /**
890
 
891
  }
892
 
 
893
  }
894
 
895
  }
1012
  if( is_numeric( $last_char ) ) {
1013
 
1014
  $strip_last_char = substr( $username, 0, -1 );
1015
+
1016
  $last_char = $last_char+1;
1017
 
1018
  $username = $strip_last_char.$last_char;
1071
  echo '<small class="ur-admin-breadcrumb"><a href="' . esc_url( $url ) . '" aria-label="' . esc_attr( $label ) . '">&#x2934;</a></small>';
1072
  }
1073
 
1074
+ /**
1075
+ * wp_doing ajax() is introduced in core @since 4.7,
1076
+ * Filters whether the current request is a WordPress Ajax request.
1077
+ */
1078
+ if ( ! function_exists( 'wp_doing_ajax' ) ) {
1079
+ function wp_doing_ajax() {
1080
+ return apply_filters( 'wp_doing_ajax', defined( 'DOING_AJAX' ) && DOING_AJAX );
1081
+ }
1082
+ }
1083
+
1084
  /**
1085
  * @since 1.1.2
1086
  * Output any queued javascript code in the footer.
includes/functions-ur-deprecated.php ADDED
@@ -0,0 +1,134 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Deprecated Functions
4
+ *
5
+ * Where functions come to die.
6
+ *
7
+ * @package EverestForms\Functions
8
+ * @version 1.0.0
9
+ */
10
+
11
+ defined( 'ABSPATH' ) || exit;
12
+
13
+ /**
14
+ * Runs a deprecated action with notice only if used.
15
+ *
16
+ * @since 1.0.0
17
+ * @param string $tag The name of the action hook.
18
+ * @param array $args Array of additional function arguments to be passed to do_action().
19
+ * @param string $version The version of EverestForms that deprecated the hook.
20
+ * @param string $replacement The hook that should have been used.
21
+ * @param string $message A message regarding the change.
22
+ */
23
+ function ur_do_deprecated_action( $tag, $args, $version, $replacement = null, $message = null ) {
24
+ if ( ! has_action( $tag ) ) {
25
+ return;
26
+ }
27
+
28
+ ur_deprecated_hook( $tag, $version, $replacement, $message );
29
+ do_action_ref_array( $tag, $args );
30
+ }
31
+
32
+ /**
33
+ * Wrapper for deprecated functions so we can apply some extra logic.
34
+ *
35
+ * @since 1.0.0
36
+ * @param string $function Function used.
37
+ * @param string $version Version the message was added in.
38
+ * @param string $replacement Replacement for the called function.
39
+ */
40
+ function ur_deprecated_function( $function, $version, $replacement = null ) {
41
+ // @codingStandardsIgnoreStart
42
+ if ( wp_doing_ajax() ) {
43
+ do_action( 'deprecated_function_run', $function, $replacement, $version );
44
+ $log_string = "The {$function} function is deprecated since version {$version}.";
45
+ $log_string .= $replacement ? " Replace with {$replacement}." : '';
46
+ error_log( $log_string );
47
+ } else {
48
+ _deprecated_function( $function, $version, $replacement );
49
+ }
50
+ // @codingStandardsIgnoreEnd
51
+ }
52
+
53
+ /**
54
+ * Wrapper for deprecated hook so we can apply some extra logic.
55
+ *
56
+ * @since 1.0.0
57
+ * @param string $hook The hook that was used.
58
+ * @param string $version The version of WordPress that deprecated the hook.
59
+ * @param string $replacement The hook that should have been used.
60
+ * @param string $message A message regarding the change.
61
+ */
62
+ function ur_deprecated_hook( $hook, $version, $replacement = null, $message = null ) {
63
+ // @codingStandardsIgnoreStart
64
+ if ( wp_doing_ajax() ) {
65
+ do_action( 'deprecated_hook_run', $hook, $replacement, $version, $message );
66
+
67
+ $message = empty( $message ) ? '' : ' ' . $message;
68
+ $log_string = "{$hook} is deprecated since version {$version}";
69
+ $log_string .= $replacement ? "! Use {$replacement} instead." : ' with no alternative available.';
70
+
71
+ error_log( $log_string . $message );
72
+ } else {
73
+ _deprecated_hook( $hook, $version, $replacement, $message );
74
+ }
75
+ // @codingStandardsIgnoreEnd
76
+ }
77
+
78
+ /**
79
+ * When catching an exception, this allows us to log it if unexpected.
80
+ *
81
+ * @since 1.0.0
82
+ * @param Exception $exception_object The exception object.
83
+ * @param string $function The function which threw exception.
84
+ * @param array $args The args passed to the function.
85
+ */
86
+ function ur_caught_exception( $exception_object, $function = '', $args = array() ) {
87
+ // @codingStandardsIgnoreStart
88
+ $message = $exception_object->getMessage();
89
+ $message .= '. Args: ' . print_r( $args, true ) . '.';
90
+
91
+ do_action( 'everest_forms_caught_exception', $exception_object, $function, $args );
92
+ error_log( "Exception caught in {$function}. {$message}." );
93
+ // @codingStandardsIgnoreEnd
94
+ }
95
+
96
+ /**
97
+ * Wrapper for ur_doing_it_wrong.
98
+ *
99
+ * @since 1.0.0
100
+ * @param string $function Function used.
101
+ * @param string $message Message to log.
102
+ * @param string $version Version the message was added in.
103
+ */
104
+ function ur_deprecated_doing_it_wrong( $function, $message, $version ) {
105
+ // @codingStandardsIgnoreStart
106
+ $message .= ' Backtrace: ' . wp_debug_backtrace_summary();
107
+
108
+ if ( wp_doing_ajax() ) {
109
+ do_action( 'doing_it_wrong_run', $function, $message, $version );
110
+ error_log( "{$function} was called incorrectly. {$message}. This message was added in version {$version}." );
111
+ } else {
112
+ _doing_it_wrong( $function, $message, $version );
113
+ }
114
+ // @codingStandardsIgnoreEnd
115
+ }
116
+
117
+ /**
118
+ * Wrapper for deprecated arguments so we can apply some extra logic.
119
+ *
120
+ * @since 1.0.0
121
+ * @param string $argument Argument used.
122
+ * @param string $version Version the message was added in.
123
+ * @param string $message A message regarding the change.
124
+ */
125
+ function ur_deprecated_argument( $argument, $version, $message = null ) {
126
+ // @codingStandardsIgnoreStart
127
+ if ( wp_doing_ajax() ) {
128
+ do_action( 'deprecated_argument_run', $argument, $message, $version );
129
+ error_log( "The {$argument} argument is deprecated since version {$version}. {$message}" );
130
+ } else {
131
+ _deprecated_argument( $argument, $version, $message );
132
+ }
133
+ // @codingStandardsIgnoreEnd
134
+ }
includes/functions-ur-template.php CHANGED
@@ -118,15 +118,14 @@ if ( ! function_exists( 'user_registration_form_field' ) ) {
118
  'priority' => '',
119
  );
120
 
121
-
122
  $args = wp_parse_args( $args, $defaults );
123
  $args = apply_filters( 'user_registration_form_field_args', $args, $key, $value );
124
 
125
- if ( $args['required'] ) {
126
  $args['class'][] = 'validate-required';
127
  $required = ' <abbr class="required" title="' . esc_attr__( 'required', 'user-registration' ) . '">*</abbr>';
128
  } else {
129
- $required = '';
130
  }
131
 
132
  if ( is_null( $value ) ) {
@@ -165,65 +164,56 @@ if ( ! function_exists( 'user_registration_form_field' ) ) {
165
  $label_id = $args['id'];
166
  $sort = $args['priority'] ? $args['priority'] : '';
167
  $field_container = '<p class="form-row %1$s" id="%2$s" data-priority="' . esc_attr( $sort ) . '">%3$s</p>';
168
-
169
  if ( $args['description'] ) {
170
  $field .= '<span class="description">' . $args['description'] . '</span>';
171
  }
172
-
173
  switch ( $args['type'] ) {
174
 
175
  case 'textarea' :
176
-
177
  $field .= '<textarea data-id=""' . esc_attr( $key ) . '"" name="' . esc_attr( $key ) . '" class="input-text ' . esc_attr( implode( ' ', $args['input_class'] ) ) . '" id="' . esc_attr( $args['id'] ) . '" placeholder="' . esc_attr( $args['placeholder'] ) . '" ' . ( empty( $args['custom_attributes']['rows'] ) ? ' rows="2"' : '' ) . ( empty( $args['custom_attributes']['cols'] ) ? ' cols="5"' : '' ) . implode( ' ', $custom_attributes ) . '>' . esc_textarea( $value ) . '</textarea>';
178
-
179
  break;
180
 
181
  case 'checkbox' :
 
 
 
 
182
 
183
- $field_key = isset( $args['field_key'] ) ? $args['field_key'] : '';
184
-
185
- if( 'privacy_policy' == $field_key ) {
186
- break;
187
- }
188
 
189
- if( isset($args['choices']) && count($args['choices']) >1 ){
190
 
191
- $default = !empty($args['default']) ? unserialize( $args['default'] ) : array();
192
 
193
- $choices = isset( $args['choices'] ) ? $args['choices'] : array();
 
 
 
194
 
195
- $field = '<label class="checkbox ' . implode( ' ', $custom_attributes ) . '">';
196
- $field .= $args['label'] . $required . '</label>';
197
- $checkbox_start =0;
198
- foreach ( $choices as $choice_index => $choice ) {
199
-
200
- $value = '';
201
- if ( in_array(trim($choice), $default) ) {
202
- $value = 'checked="checked"';
203
- }
204
 
205
- $field .= '<label>';
206
- $field .= ' <input data-id="' . esc_attr( $key ) . '" ' . implode( ' ', $custom_attributes ) . ' data-value="' . $choice_index . '" type="' . esc_attr( $args['type'] ) . '" class="input-checkbox ' . esc_attr( implode( ' ', $args['input_class'] ) ) . '" name="' . esc_attr( $key ) . '[]" id="' . esc_attr( $args['id'] ) . '_' . esc_attr( $choice_index ) . '" value="'.trim($choice).'"' . $value . ' /> ';
207
- $field .= trim( $choice ) . ' </label>';
208
 
209
 
210
- $checkbox_start++;
 
 
 
 
 
211
  }
212
- }
213
- else
214
- {
215
- $field = '<label class="checkbox ' . implode( ' ', $custom_attributes ) . '">
216
- <input data-id="' . esc_attr( $key ) . '" ' . implode( ' ', $custom_attributes ) . ' data-value="' . $value . '" type="' . esc_attr( $args['type'] ) . '" class="input-checkbox ' . esc_attr( implode( ' ', $args['input_class'] ) ) . '" name="' . esc_attr( $key ) . '" id="' . esc_attr( $args['id'] ) . '" value="1" ' . checked( $value, 1, false ) . ' /> '
217
- . $args['label'] . $required . '</label>';
218
-
219
- }
220
-
221
- if ( $args['description'] ) {
222
- $field .= '<span class="description">' . $args['description'] . '</span>';
223
- }
224
 
 
 
 
 
225
 
226
- break;
227
  case 'password' :
228
  case 'text' :
229
  case 'email' :
@@ -232,19 +222,18 @@ if ( ! function_exists( 'user_registration_form_field' ) ) {
232
  case 'url' :
233
  case 'date':
234
  case 'file':
235
-
236
  $extra_params_key = str_replace( 'user_registration_', 'ur_', $key ) . '_params';
237
  $extra_params = json_decode( get_user_meta( get_current_user_id(), $extra_params_key, true ) );
238
 
239
  if ( empty( $extra_params ) ) {
240
- $field .= '<input data-id="' . esc_attr( $key ) . '" type="' . esc_attr( $args['type'] ) . '" class="input-text ' . esc_attr( implode( ' ', $args['input_class'] ) ) . '" name="' . esc_attr( $key ) . '" id="' . esc_attr( $args['id'] ) . '" placeholder="' . esc_attr( $args['placeholder'] ) . '" value="' . esc_attr( $value ) . '" ' . implode( ' ', $custom_attributes ) . ' />';
241
  }
242
- else
243
- {
244
  $field .= '<input data-id="' . esc_attr( $key ) . '" type="' . esc_attr( $args['type'] ) . '" class="input-text ' . esc_attr( implode( ' ', $args['input_class'] ) ) . '" name="' . esc_attr( $key ) . '" id="' . esc_attr( $args['id'] ) . '" placeholder="' . esc_attr( $args['placeholder'] ) . '" value="' . esc_attr( $value ) . '" ' . implode( ' ', $custom_attributes ) . ' />';
245
  }
246
-
247
  break;
 
248
  case 'select' :
249
  $options = $field = '';
250
  if ( ! empty( $args['options'] ) ) {
@@ -262,19 +251,19 @@ if ( ! function_exists( 'user_registration_form_field' ) ) {
262
 
263
  $field .= '<select data-id="' . esc_attr( $key ) . '" name="' . esc_attr( $key ) . '" id="' . esc_attr( $args['id'] ) . '" class="select ' . esc_attr( implode( ' ', $args['input_class'] ) ) . '" ' . implode( ' ', $custom_attributes ) . ' data-placeholder="' . esc_attr( $args['placeholder'] ) . '">
264
  ' . $options . '
265
- </select>';
266
  }
267
  if ( $args['description'] ) {
268
  $field .= '<span class="description">' . $args['description'] . '</span>';
269
  }
270
-
271
-
272
  break;
 
273
  case 'radio' :
 
274
  $label_id = current( array_keys( $args['options'] ) );
275
  if ( ! empty( $args['options'] ) ) {
276
  foreach ( $args['options'] as $option_key => $option_text ) {
277
-
278
  $field .= '<label for="' . esc_attr( $args['id'] ) . '_' . esc_attr( $option_key ) . '" class="radio">';
279
 
280
  $field .= '<input data-id="' . esc_attr( $key ) . '" type="radio" class="input-radio ' . esc_attr( implode( ' ', $args['input_class'] ) ) . '" value="' . esc_attr( trim ( $option_key ) ) . '" name="' . esc_attr( $key ) . '" id="' . esc_attr( $args['id'] ) . '_' . esc_attr( $option_key ) . '" ' . implode( ' ', $custom_attributes ) . ' / ' . checked( $value, trim( $option_key ), false ) . ' />' . wp_kses( trim( $option_text ), array(
@@ -286,15 +275,15 @@ if ( ! function_exists( 'user_registration_form_field' ) ) {
286
  ) ) . '</label>';
287
  }
288
  }
 
289
 
290
- break;
291
  }// End switch().
292
 
293
  if ( ! empty( $field ) ) {
294
  $field_html = '';
295
 
296
  if ( $args['label'] && 'checkbox' != $args['type'] ) {
297
-
298
  $field_html .= '<label for="' . esc_attr( $label_id ) . '">' . wp_kses( $args['label'], array(
299
  'a' => array(
300
  'href' => array(),
@@ -333,7 +322,7 @@ if ( ! function_exists( 'user_registration_form_data' ) ) {
333
  */
334
  function user_registration_form_data( $user_id = 0, $form_id = 0 ) {
335
  $all_meta_value = get_user_meta( $user_id );
336
-
337
  $fields = array();
338
  $args = array(
339
  'post_type' => 'user_registration',
@@ -378,7 +367,7 @@ if ( ! function_exists( 'user_registration_form_data' ) ) {
378
  foreach ($extra_params['options'] as $key => $value) {
379
  $extra_params['options'][$value] = $value;
380
  unset($extra_params['options'][$key]);
381
- }
382
  break;
383
  case 'checkbox':
384
  $extra_params['choices'] = explode( ',', $field->advance_setting->choices );
@@ -424,7 +413,7 @@ if ( ! function_exists( 'user_registration_form_data' ) ) {
424
  }// End foreach().
425
  }// End foreach().
426
 
427
-
428
  return $fields;
429
  }
430
  }// End if().
118
  'priority' => '',
119
  );
120
 
 
121
  $args = wp_parse_args( $args, $defaults );
122
  $args = apply_filters( 'user_registration_form_field_args', $args, $key, $value );
123
 
124
+ if ( true === $args['required'] ) {
125
  $args['class'][] = 'validate-required';
126
  $required = ' <abbr class="required" title="' . esc_attr__( 'required', 'user-registration' ) . '">*</abbr>';
127
  } else {
128
+ $args['required'] = $required = '';
129
  }
130
 
131
  if ( is_null( $value ) ) {
164
  $label_id = $args['id'];
165
  $sort = $args['priority'] ? $args['priority'] : '';
166
  $field_container = '<p class="form-row %1$s" id="%2$s" data-priority="' . esc_attr( $sort ) . '">%3$s</p>';
167
+
168
  if ( $args['description'] ) {
169
  $field .= '<span class="description">' . $args['description'] . '</span>';
170
  }
 
171
  switch ( $args['type'] ) {
172
 
173
  case 'textarea' :
 
174
  $field .= '<textarea data-id=""' . esc_attr( $key ) . '"" name="' . esc_attr( $key ) . '" class="input-text ' . esc_attr( implode( ' ', $args['input_class'] ) ) . '" id="' . esc_attr( $args['id'] ) . '" placeholder="' . esc_attr( $args['placeholder'] ) . '" ' . ( empty( $args['custom_attributes']['rows'] ) ? ' rows="2"' : '' ) . ( empty( $args['custom_attributes']['cols'] ) ? ' cols="5"' : '' ) . implode( ' ', $custom_attributes ) . '>' . esc_textarea( $value ) . '</textarea>';
 
175
  break;
176
 
177
  case 'checkbox' :
178
+ $field_key = isset( $args['field_key'] ) ? $args['field_key'] : '';
179
+ if( 'privacy_policy' == $field_key ) {
180
+ break;
181
+ }
182
 
183
+ if( isset($args['choices']) && count($args['choices']) >1 ){
 
 
 
 
184
 
185
+ $default = !empty($args['default']) ? unserialize( $args['default'] ) : array();
186
 
187
+ $choices = isset( $args['choices'] ) ? $args['choices'] : array();
188
 
189
+ $field = '<label class="checkbox ' . implode( ' ', $custom_attributes ) . '">';
190
+ $field .= $args['label'] . $required . '</label>';
191
+ $checkbox_start =0;
192
+ foreach ( $choices as $choice_index => $choice ) {
193
 
194
+ $value = '';
195
+ if ( in_array(trim($choice), $default) ) {
196
+ $value = 'checked="checked"';
197
+ }
 
 
 
 
 
198
 
199
+ $field .= '<label>';
200
+ $field .= ' <input data-id="' . esc_attr( $key ) . '" ' . implode( ' ', $custom_attributes ) . ' data-value="' . $choice_index . '" type="' . esc_attr( $args['type'] ) . '" class="input-checkbox ' . esc_attr( implode( ' ', $args['input_class'] ) ) . '" name="' . esc_attr( $key ) . '[]" id="' . esc_attr( $args['id'] ) . '_' . esc_attr( $choice_index ) . '" value="'.trim($choice).'"' . $value . ' /> ';
201
+ $field .= trim( $choice ) . ' </label>';
202
 
203
 
204
+ $checkbox_start++;
205
+ }
206
+ } else {
207
+ $field = '<label class="checkbox ' . implode( ' ', $custom_attributes ) . '">
208
+ <input data-id="' . esc_attr( $key ) . '" ' . implode( ' ', $custom_attributes ) . ' data-value="' . $value . '" type="' . esc_attr( $args['type'] ) . '" class="input-checkbox ' . esc_attr( implode( ' ', $args['input_class'] ) ) . '" name="' . esc_attr( $key ) . '" id="' . esc_attr( $args['id'] ) . '" value="1" ' . checked( $value, 1, false ) . ' /> '
209
+ . $args['label'] . $required . '</label>';
210
  }
 
 
 
 
 
 
 
 
 
 
 
 
211
 
212
+ if ( $args['description'] ) {
213
+ $field .= '<span class="description">' . $args['description'] . '</span>';
214
+ }
215
+ break;
216
 
 
217
  case 'password' :
218
  case 'text' :
219
  case 'email' :
222
  case 'url' :
223
  case 'date':
224
  case 'file':
225
+ case 'timepicker':
226
  $extra_params_key = str_replace( 'user_registration_', 'ur_', $key ) . '_params';
227
  $extra_params = json_decode( get_user_meta( get_current_user_id(), $extra_params_key, true ) );
228
 
229
  if ( empty( $extra_params ) ) {
230
+ $field .= '<input data-id="' . esc_attr( $key ) . '" type="' . esc_attr( $args['type'] ) . '" class="input-text input-' . esc_attr( $args['type'] ) ." " .esc_attr( implode( ' ', $args['input_class'] ) ) . '" name="' . esc_attr( $key ) . '" id="' . esc_attr( $args['id'] ) . '" placeholder="' . esc_attr( $args['placeholder'] ) . '" value="' . esc_attr( $value ) . '" ' . implode( ' ', $custom_attributes ) . ' />';
231
  }
232
+ else {
 
233
  $field .= '<input data-id="' . esc_attr( $key ) . '" type="' . esc_attr( $args['type'] ) . '" class="input-text ' . esc_attr( implode( ' ', $args['input_class'] ) ) . '" name="' . esc_attr( $key ) . '" id="' . esc_attr( $args['id'] ) . '" placeholder="' . esc_attr( $args['placeholder'] ) . '" value="' . esc_attr( $value ) . '" ' . implode( ' ', $custom_attributes ) . ' />';
234
  }
 
235
  break;
236
+
237
  case 'select' :
238
  $options = $field = '';
239
  if ( ! empty( $args['options'] ) ) {
251
 
252
  $field .= '<select data-id="' . esc_attr( $key ) . '" name="' . esc_attr( $key ) . '" id="' . esc_attr( $args['id'] ) . '" class="select ' . esc_attr( implode( ' ', $args['input_class'] ) ) . '" ' . implode( ' ', $custom_attributes ) . ' data-placeholder="' . esc_attr( $args['placeholder'] ) . '">
253
  ' . $options . '
254
+ </select>';
255
  }
256
  if ( $args['description'] ) {
257
  $field .= '<span class="description">' . $args['description'] . '</span>';
258
  }
 
 
259
  break;
260
+
261
  case 'radio' :
262
+
263
  $label_id = current( array_keys( $args['options'] ) );
264
  if ( ! empty( $args['options'] ) ) {
265
  foreach ( $args['options'] as $option_key => $option_text ) {
266
+
267
  $field .= '<label for="' . esc_attr( $args['id'] ) . '_' . esc_attr( $option_key ) . '" class="radio">';
268
 
269
  $field .= '<input data-id="' . esc_attr( $key ) . '" type="radio" class="input-radio ' . esc_attr( implode( ' ', $args['input_class'] ) ) . '" value="' . esc_attr( trim ( $option_key ) ) . '" name="' . esc_attr( $key ) . '" id="' . esc_attr( $args['id'] ) . '_' . esc_attr( $option_key ) . '" ' . implode( ' ', $custom_attributes ) . ' / ' . checked( $value, trim( $option_key ), false ) . ' />' . wp_kses( trim( $option_text ), array(
275
  ) ) . '</label>';
276
  }
277
  }
278
+ break;
279
 
 
280
  }// End switch().
281
 
282
  if ( ! empty( $field ) ) {
283
  $field_html = '';
284
 
285
  if ( $args['label'] && 'checkbox' != $args['type'] ) {
286
+
287
  $field_html .= '<label for="' . esc_attr( $label_id ) . '">' . wp_kses( $args['label'], array(
288
  'a' => array(
289
  'href' => array(),
322
  */
323
  function user_registration_form_data( $user_id = 0, $form_id = 0 ) {
324
  $all_meta_value = get_user_meta( $user_id );
325
+
326
  $fields = array();
327
  $args = array(
328
  'post_type' => 'user_registration',
367
  foreach ($extra_params['options'] as $key => $value) {
368
  $extra_params['options'][$value] = $value;
369
  unset($extra_params['options'][$key]);
370
+ }
371
  break;
372
  case 'checkbox':
373
  $extra_params['choices'] = explode( ',', $field->advance_setting->choices );
413
  }// End foreach().
414
  }// End foreach().
415
 
416
+
417
  return $fields;
418
  }
419
  }// End if().
includes/functions-ur-update.php CHANGED
@@ -186,4 +186,26 @@ function ur_update_130_post() {
186
  }
187
  update_option( 'urmc_mailchimp_settings', $mailchimp_settings );
188
  }
189
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
186
  }
187
  update_option( 'urmc_mailchimp_settings', $mailchimp_settings );
188
  }
189
+ }
190
+
191
+ /**
192
+ * Update DB Version.
193
+ */
194
+ function ur_update_140_db_version() {
195
+ UR_Install::update_db_version( '1.4.0' );
196
+ }
197
+
198
+ /**
199
+ * Delete unused option.
200
+ */
201
+ function ur_update_140_option() {
202
+ $unused_options = array(
203
+ 'user_registration_general_setting_default_user_role',
204
+ 'user_registration_general_setting_enable_strong_password',
205
+ 'user_registration_general_setting_form_submit_label',
206
+ );
207
+
208
+ foreach( $unused_options as $unused_option ) {
209
+ delete_option( $unused_option );
210
+ }
211
+ }
languages/user-registration.pot CHANGED
@@ -4,7 +4,7 @@ msgid ""
4
  msgstr ""
5
  "Project-Id-Version: User Registration 1.3.1\n"
6
  "Report-Msgid-Bugs-To: wpeverest@gmail.com\n"
7
- "POT-Creation-Date: 2018-05-23 11:29:31+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=utf-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
@@ -13,16 +13,11 @@ msgstr ""
13
  "Language-Team: LANGUAGE <EMAIL@ADDRESS>\n"
14
  "X-Generator: grunt-wp-i18n1.0.1\n"
15
 
16
- #: includes/abstracts/abstract-ur-form-field.php:295
17
- #: includes/functions-ur-core.php:535
18
- msgid "Description"
19
- msgstr ""
20
-
21
- #: includes/abstracts/abstract-ur-form-field.php:325
22
  msgid "General Settings"
23
  msgstr ""
24
 
25
- #: includes/abstracts/abstract-ur-form-field.php:337
26
  msgid "Advance Settings"
27
  msgstr ""
28
 
@@ -95,7 +90,7 @@ msgid "User Registration settings"
95
  msgstr ""
96
 
97
  #: includes/admin/class-ur-admin-menus.php:303
98
- #: includes/class-ur-install.php:600
99
  msgid "Settings"
100
  msgstr ""
101
 
@@ -104,7 +99,8 @@ msgid "User Registration Status"
104
  msgstr ""
105
 
106
  #: includes/admin/class-ur-admin-menus.php:313
107
- #: includes/admin/class-ur-admin-user-list-manager.php:181
 
108
  msgid "Status"
109
  msgstr ""
110
 
@@ -138,7 +134,7 @@ msgid "User Registration endpoints"
138
  msgstr ""
139
 
140
  #: includes/admin/class-ur-admin-menus.php:445
141
- #: includes/admin/settings/class-ur-settings-general.php:206
142
  #: includes/class-ur-query.php:79
143
  msgid "Lost password"
144
  msgstr ""
@@ -166,7 +162,8 @@ msgstr ""
166
 
167
  #: includes/admin/class-ur-admin-profile.php:119
168
  #: includes/admin/class-ur-admin-profile.php:130
169
- #: includes/form/class-ur-select.php:44 includes/form/class-ur-select.php:51
 
170
  msgid "Select"
171
  msgstr ""
172
 
@@ -187,7 +184,8 @@ msgid "Author"
187
  msgstr ""
188
 
189
  #: includes/admin/class-ur-admin-registrations-table-list.php:49
190
- #: includes/form/class-ur-date.php:44 includes/form/class-ur-date.php:51
 
191
  msgid "Date"
192
  msgstr ""
193
 
@@ -276,61 +274,61 @@ msgstr ""
276
  msgid "Select a page&hellip;"
277
  msgstr ""
278
 
279
- #: includes/admin/class-ur-admin-user-list-manager.php:143
280
  msgid "User Registration:"
281
  msgstr ""
282
 
283
- #: includes/admin/class-ur-admin-user-list-manager.php:143
284
  msgid "User"
285
  msgstr ""
286
 
287
- #: includes/admin/class-ur-admin-user-list-manager.php:143
288
  msgid "Users"
289
  msgstr ""
290
 
291
- #: includes/admin/class-ur-admin-user-list-manager.php:143
292
  msgid "pending approval."
293
  msgstr ""
294
 
295
- #: includes/admin/class-ur-admin-user-list-manager.php:163
296
  msgid "User approved."
297
  msgid_plural "%s users approved."
298
  msgstr[0] ""
299
  msgstr[1] ""
300
 
301
- #: includes/admin/class-ur-admin-user-list-manager.php:165
302
  msgid "User denied."
303
  msgid_plural "%s users denied."
304
  msgstr[0] ""
305
  msgstr[1] ""
306
 
307
- #: includes/admin/class-ur-admin-user-list-manager.php:226
308
  msgid "All statuses"
309
  msgstr ""
310
 
311
- #: includes/admin/class-ur-admin-user-list-manager.php:228
312
  msgid "All approval statuses"
313
  msgstr ""
314
 
315
- #: includes/admin/class-ur-admin-user-list-manager.php:237
316
  msgid "Filter"
317
  msgstr ""
318
 
 
319
  #: includes/admin/class-ur-admin-user-list-manager.php:321
320
- #: includes/admin/class-ur-admin-user-list-manager.php:322
321
  msgid "Approve"
322
  msgstr ""
323
 
 
324
  #: includes/admin/class-ur-admin-user-list-manager.php:324
325
- #: includes/admin/class-ur-admin-user-list-manager.php:325
326
  msgid "Deny"
327
  msgstr ""
328
 
329
- #: includes/admin/class-ur-admin-user-list-manager.php:404
330
  msgid "Approval Status"
331
  msgstr ""
332
 
333
- #: includes/admin/class-ur-admin-user-list-manager.php:416
334
  msgid "If user has access to sign in or not."
335
  msgstr ""
336
 
@@ -411,6 +409,7 @@ msgid "How the sender email appears in outgoing user registration emails."
411
  msgstr ""
412
 
413
  #: includes/admin/settings/class-ur-settings-email.php:146
 
414
  msgid "Email"
415
  msgstr ""
416
 
@@ -428,185 +427,246 @@ msgid "General"
428
  msgstr ""
429
 
430
  #: includes/admin/settings/class-ur-settings-general.php:45
431
- #: includes/admin/settings/class-ur-settings-general.php:70
432
  msgid "General Options"
433
  msgstr ""
434
 
435
  #: includes/admin/settings/class-ur-settings-general.php:46
436
- #: includes/admin/settings/class-ur-settings-general.php:240
437
  msgid "Frontend Messages"
438
  msgstr ""
439
 
440
- #: includes/admin/settings/class-ur-settings-general.php:77
441
- #: includes/functions-ur-core.php:658
442
- msgid "Default user role"
443
- msgstr ""
444
-
445
- #: includes/admin/settings/class-ur-settings-general.php:78
446
- msgid "This option lets you choose user role for frontend registration."
447
- msgstr ""
448
-
449
- #: includes/admin/settings/class-ur-settings-general.php:88
450
  msgid "User login option"
451
  msgstr ""
452
 
453
- #: includes/admin/settings/class-ur-settings-general.php:89
454
  msgid "This option lets you choose login option after user registration."
455
  msgstr ""
456
 
457
- #: includes/admin/settings/class-ur-settings-general.php:100
458
  msgid "Redirect URL"
459
  msgstr ""
460
 
461
- #: includes/admin/settings/class-ur-settings-general.php:101
462
  msgid "This option lets you enter redirect path after successful user registration."
463
  msgstr ""
464
 
465
- #: includes/admin/settings/class-ur-settings-general.php:110
466
  msgid "Registration URL"
467
  msgstr ""
468
 
469
- #: includes/admin/settings/class-ur-settings-general.php:111
470
  msgid "This option lets you enter the registration page url in login form."
471
  msgstr ""
472
 
473
- #: includes/admin/settings/class-ur-settings-general.php:119
474
  msgid "Registration URL label"
475
  msgstr ""
476
 
477
- #: includes/admin/settings/class-ur-settings-general.php:120
478
  msgid "This option lets you enter the label to registration url in login form."
479
  msgstr ""
480
 
481
- #: includes/admin/settings/class-ur-settings-general.php:125
482
  #: templates/myaccount/form-login.php:71
483
  msgid "Not a member yet? Register now."
484
  msgstr ""
485
 
486
- #: includes/admin/settings/class-ur-settings-general.php:130
487
  msgid "Prevent dashboard access"
488
  msgstr ""
489
 
490
- #: includes/admin/settings/class-ur-settings-general.php:131
491
  msgid ""
492
  "This option lets you limit which roles you are willing to prevent dashboard "
493
  "access."
494
  msgstr ""
495
 
496
- #: includes/admin/settings/class-ur-settings-general.php:142
497
  msgid "My account page"
498
  msgstr ""
499
 
500
- #: includes/admin/settings/class-ur-settings-general.php:143
501
  msgid "Page contents: [%s]"
502
  msgstr ""
503
 
504
- #: includes/admin/settings/class-ur-settings-general.php:154
505
- #: includes/functions-ur-core.php:672
506
- msgid "Enable strong password"
507
- msgstr ""
508
-
509
- #: includes/admin/settings/class-ur-settings-general.php:155
510
- msgid "Check to use strong password on user registration form."
511
- msgstr ""
512
-
513
- #: includes/admin/settings/class-ur-settings-general.php:163
514
- #: includes/functions-ur-core.php:687
515
- msgid "Form submit button label"
516
- msgstr ""
517
-
518
- #: includes/admin/settings/class-ur-settings-general.php:164
519
- msgid "This option let you change the submit button label."
520
- msgstr ""
521
-
522
- #: includes/admin/settings/class-ur-settings-general.php:181
523
  msgid "My account endpoints"
524
  msgstr ""
525
 
526
- #: includes/admin/settings/class-ur-settings-general.php:183
527
  msgid ""
528
  "Endpoints are appended to your page URLs to handle specific actions on the "
529
  "accounts pages. They should be unique and can be left blank to disable the "
530
  "endpoint."
531
  msgstr ""
532
 
533
- #: includes/admin/settings/class-ur-settings-general.php:188
534
  msgid "Edit account"
535
  msgstr ""
536
 
537
- #: includes/admin/settings/class-ur-settings-general.php:189
538
  msgid "Endpoint for the \"My account &rarr; Edit account\" page."
539
  msgstr ""
540
 
541
- #: includes/admin/settings/class-ur-settings-general.php:197
542
  msgid "Edit profile"
543
  msgstr ""
544
 
545
- #: includes/admin/settings/class-ur-settings-general.php:198
546
  msgid "Endpoint for the \"My account &rarr; Edit profile\" page."
547
  msgstr ""
548
 
549
- #: includes/admin/settings/class-ur-settings-general.php:207
550
  msgid "Endpoint for the \"My account &rarr; Lost password\" page."
551
  msgstr ""
552
 
553
- #: includes/admin/settings/class-ur-settings-general.php:215
554
  msgid "User logout"
555
  msgstr ""
556
 
557
- #: includes/admin/settings/class-ur-settings-general.php:216
558
  msgid ""
559
  "Endpoint for the triggering logout. You can add this to your menus via a "
560
  "custom link: yoursite.com/?user-logout=true"
561
  msgstr ""
562
 
563
- #: includes/admin/settings/class-ur-settings-general.php:247
564
- #: includes/functions-ur-core.php:749
 
 
 
 
565
  msgid "Manual login after registration"
566
  msgstr ""
567
 
568
- #: includes/admin/settings/class-ur-settings-general.php:248
569
  msgid ""
570
  "Enter the text message after successful form submission on manual login "
571
  "after registration."
572
  msgstr ""
573
 
574
- #: includes/admin/settings/class-ur-settings-general.php:253
 
575
  msgid "User successfully registered."
576
  msgstr ""
577
 
578
- #: includes/admin/settings/class-ur-settings-general.php:257
579
- #: includes/functions-ur-core.php:750
580
  msgid "Email confirmation to login"
581
  msgstr ""
582
 
583
- #: includes/admin/settings/class-ur-settings-general.php:258
584
  msgid ""
585
  "Enter the text message after successful form submission on email "
586
  "confirmation to login."
587
  msgstr ""
588
 
589
- #: includes/admin/settings/class-ur-settings-general.php:263
 
590
  msgid ""
591
  "User registered. Verify your email by clicking on the link sent to your "
592
  "email."
593
  msgstr ""
594
 
595
- #: includes/admin/settings/class-ur-settings-general.php:267
596
- #: includes/functions-ur-core.php:752
597
  msgid "Admin approval after registration"
598
  msgstr ""
599
 
600
- #: includes/admin/settings/class-ur-settings-general.php:268
601
  msgid ""
602
  "Enter the text message after successful form submission on admin approval "
603
  "after registration."
604
  msgstr ""
605
 
606
- #: includes/admin/settings/class-ur-settings-general.php:273
 
607
  msgid "User registered. Wait until admin approves your registration."
608
  msgstr ""
609
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
610
  #: includes/admin/settings/class-ur-settings-integration.php:30
611
  msgid "Integration"
612
  msgstr ""
@@ -666,6 +726,14 @@ msgid "Enable this email sent to admin after successful user registration."
666
  msgstr ""
667
 
668
  #: includes/admin/settings/emails/class-ur-settings-admin-email.php:55
 
 
 
 
 
 
 
 
669
  #: includes/admin/settings/emails/class-ur-settings-awaiting-admin-approval-email.php:58
670
  #: includes/admin/settings/emails/class-ur-settings-email-confirmation.php:47
671
  #: includes/admin/settings/emails/class-ur-settings-registration-approved-email.php:58
@@ -676,7 +744,7 @@ msgstr ""
676
  msgid "Email Subject"
677
  msgstr ""
678
 
679
- #: includes/admin/settings/emails/class-ur-settings-admin-email.php:56
680
  #: includes/admin/settings/emails/class-ur-settings-awaiting-admin-approval-email.php:59
681
  #: includes/admin/settings/emails/class-ur-settings-email-confirmation.php:48
682
  #: includes/admin/settings/emails/class-ur-settings-registration-approved-email.php:59
@@ -687,12 +755,12 @@ msgstr ""
687
  msgid "The email subject you want to customize."
688
  msgstr ""
689
 
690
- #: includes/admin/settings/emails/class-ur-settings-admin-email.php:59
691
- #: includes/class-ur-emailer.php:212
692
  msgid "A New User Registered"
693
  msgstr ""
694
 
695
- #: includes/admin/settings/emails/class-ur-settings-admin-email.php:65
696
  #: includes/admin/settings/emails/class-ur-settings-awaiting-admin-approval-email.php:68
697
  #: includes/admin/settings/emails/class-ur-settings-email-confirmation.php:57
698
  #: includes/admin/settings/emails/class-ur-settings-registration-approved-email.php:69
@@ -703,7 +771,7 @@ msgstr ""
703
  msgid "Email Content"
704
  msgstr ""
705
 
706
- #: includes/admin/settings/emails/class-ur-settings-admin-email.php:66
707
  #: includes/admin/settings/emails/class-ur-settings-awaiting-admin-approval-email.php:69
708
  #: includes/admin/settings/emails/class-ur-settings-email-confirmation.php:58
709
  #: includes/admin/settings/emails/class-ur-settings-registration-approved-email.php:70
@@ -714,7 +782,7 @@ msgstr ""
714
  msgid "The email content you want to customize."
715
  msgstr ""
716
 
717
- #: includes/admin/settings/emails/class-ur-settings-admin-email.php:86
718
  msgid ""
719
  "Hi Admin,\r\n"
720
  "\t\t\t\t\t<br/><br/>\r\n"
@@ -748,7 +816,7 @@ msgid ""
748
  msgstr ""
749
 
750
  #: includes/admin/settings/emails/class-ur-settings-awaiting-admin-approval-email.php:62
751
- #: includes/class-ur-emailer.php:147
752
  msgid "Thank you for registration on {{blog_info}}"
753
  msgstr ""
754
 
@@ -780,7 +848,7 @@ msgid ""
780
  msgstr ""
781
 
782
  #: includes/admin/settings/emails/class-ur-settings-email-confirmation.php:51
783
- #: includes/class-ur-emailer.php:129
784
  msgid "Please confirm your registration on {{blog_info}}"
785
  msgstr ""
786
 
@@ -817,7 +885,7 @@ msgid "Enable this email sent to admin after successfull user registration."
817
  msgstr ""
818
 
819
  #: includes/admin/settings/emails/class-ur-settings-registration-approved-email.php:62
820
- #: includes/class-ur-emailer.php:285
821
  msgid "Congratulations! Registration approved on {{blog_info}}"
822
  msgstr ""
823
 
@@ -847,7 +915,7 @@ msgid "Email sent to the user notifying the registration is denied by the admin"
847
  msgstr ""
848
 
849
  #: includes/admin/settings/emails/class-ur-settings-registration-denied-email.php:62
850
- #: includes/class-ur-emailer.php:166 includes/class-ur-emailer.php:268
851
  msgid "Sorry! Registration denied on {{blog_info}}"
852
  msgstr ""
853
 
@@ -878,7 +946,7 @@ msgid "Email sent to the user notifying the registration is pending"
878
  msgstr ""
879
 
880
  #: includes/admin/settings/emails/class-ur-settings-registration-pending-email.php:61
881
- #: includes/class-ur-emailer.php:250
882
  msgid "Sorry! Registration changed to pending on {{blog_info}}"
883
  msgstr ""
884
 
@@ -913,7 +981,7 @@ msgid "Enable this email sent to the user when a user requests for reset passwor
913
  msgstr ""
914
 
915
  #: includes/admin/settings/emails/class-ur-settings-reset-password-email.php:58
916
- #: includes/class-ur-emailer.php:324
917
  msgid "Password Reset Email: {{blog_info}}"
918
  msgstr ""
919
 
@@ -944,7 +1012,7 @@ msgid "Enable this email sent after successful user registration."
944
  msgstr ""
945
 
946
  #: includes/admin/settings/emails/class-ur-settings-successfully-registered-email.php:62
947
- #: includes/class-ur-emailer.php:183
948
  msgid "Congratulations! Registration Complete on {{blog_info}}"
949
  msgstr ""
950
 
@@ -1155,29 +1223,37 @@ msgstr ""
1155
  msgid "Could not save form. Invalid field name. Please check all field name"
1156
  msgstr ""
1157
 
1158
- #: includes/class-ur-email-confirmation.php:44
 
 
 
 
 
 
 
 
1159
  msgid "User successfully registered. Login to continue."
1160
  msgstr ""
1161
 
1162
- #: includes/class-ur-email-confirmation.php:49
1163
  msgid "Token Mismatch!"
1164
  msgstr ""
1165
 
1166
- #: includes/class-ur-email-confirmation.php:53
1167
  msgid "Verification Email Sent!"
1168
  msgstr ""
1169
 
1170
- #: includes/class-ur-email-confirmation.php:57
1171
  msgid "User doesnot exist!"
1172
  msgstr ""
1173
 
1174
- #: includes/class-ur-email-confirmation.php:181
1175
  #: includes/class-ur-user-approval.php:183
1176
  #: includes/class-ur-user-approval.php:188
1177
  msgid "ERROR:"
1178
  msgstr ""
1179
 
1180
- #: includes/class-ur-email-confirmation.php:204
1181
  msgid ""
1182
  "Email not verified! Verifiy your email by clicking on the link sent to your "
1183
  "email."
@@ -1268,62 +1344,58 @@ msgstr ""
1268
  msgid "Passwords do not match."
1269
  msgstr ""
1270
 
1271
- #: includes/class-ur-frontend-scripts.php:310
1272
- msgid "Captcha code error, please try again."
1273
- msgstr ""
1274
-
1275
- #: includes/class-ur-frontend-scripts.php:321
1276
  msgid "Confirm password"
1277
  msgstr ""
1278
 
1279
- #: includes/class-ur-frontend-scripts.php:323
1280
  msgid "Too short password"
1281
  msgstr ""
1282
 
1283
- #: includes/class-ur-frontend-scripts.php:324
1284
  msgid "Bad password"
1285
  msgstr ""
1286
 
1287
- #: includes/class-ur-frontend-scripts.php:325
1288
  msgid "Good password"
1289
  msgstr ""
1290
 
1291
- #: includes/class-ur-frontend-scripts.php:326
1292
  msgid "Strong password"
1293
  msgstr ""
1294
 
1295
- #: includes/class-ur-frontend-scripts.php:327
1296
  msgid "Password with confirm password not matched."
1297
  msgstr ""
1298
 
1299
- #: includes/class-ur-frontend-scripts.php:330
1300
  msgid ""
1301
  "Hint: The password should be at least seven characters long. To make it "
1302
  "stronger, use upper and lower case letters, numbers and symbols such as ! * "
1303
  "? $ % ^ & )."
1304
  msgstr ""
1305
 
1306
- #: includes/class-ur-install.php:331
1307
  msgid "Default form"
1308
  msgstr ""
1309
 
1310
- #: includes/class-ur-install.php:600
1311
  msgid "View User Registration settings"
1312
  msgstr ""
1313
 
1314
- #: includes/class-ur-install.php:616
1315
  msgid "View User Registration documentation"
1316
  msgstr ""
1317
 
1318
- #: includes/class-ur-install.php:616
1319
  msgid "Docs"
1320
  msgstr ""
1321
 
1322
- #: includes/class-ur-install.php:617
1323
  msgid "Visit free customer support"
1324
  msgstr ""
1325
 
1326
- #: includes/class-ur-install.php:617
1327
  msgid "Free support"
1328
  msgstr ""
1329
 
@@ -1460,1126 +1532,1120 @@ msgstr ""
1460
  msgid "Your account has been denied."
1461
  msgstr ""
1462
 
1463
- #: includes/form/class-ur-checkbox.php:43
1464
- #: includes/form/class-ur-checkbox.php:50
1465
  msgid "Checkbox"
1466
  msgstr ""
1467
 
1468
- #: includes/form/class-ur-country.php:37
1469
  msgid "Afghanistan"
1470
  msgstr ""
1471
 
1472
- #: includes/form/class-ur-country.php:38
1473
  msgid "&#197;land Islands"
1474
  msgstr ""
1475
 
1476
- #: includes/form/class-ur-country.php:39
1477
  msgid "Albania"
1478
  msgstr ""
1479
 
1480
- #: includes/form/class-ur-country.php:40
1481
  msgid "Algeria"
1482
  msgstr ""
1483
 
1484
- #: includes/form/class-ur-country.php:41
1485
  msgid "American Samoa"
1486
  msgstr ""
1487
 
1488
- #: includes/form/class-ur-country.php:42
1489
  msgid "Andorra"
1490
  msgstr ""
1491
 
1492
- #: includes/form/class-ur-country.php:43
1493
  msgid "Angola"
1494
  msgstr ""
1495
 
1496
- #: includes/form/class-ur-country.php:44
1497
  msgid "Anguilla"
1498
  msgstr ""
1499
 
1500
- #: includes/form/class-ur-country.php:45
1501
  msgid "Antarctica"
1502
  msgstr ""
1503
 
1504
- #: includes/form/class-ur-country.php:46
1505
  msgid "Antigua and Barbuda"
1506
  msgstr ""
1507
 
1508
- #: includes/form/class-ur-country.php:47
1509
  msgid "Argentina"
1510
  msgstr ""
1511
 
1512
- #: includes/form/class-ur-country.php:48
1513
  msgid "Armenia"
1514
  msgstr ""
1515
 
1516
- #: includes/form/class-ur-country.php:49
1517
  msgid "Aruba"
1518
  msgstr ""
1519
 
1520
- #: includes/form/class-ur-country.php:50
1521
  msgid "Australia"
1522
  msgstr ""
1523
 
1524
- #: includes/form/class-ur-country.php:51
1525
  msgid "Austria"
1526
  msgstr ""
1527
 
1528
- #: includes/form/class-ur-country.php:52
1529
  msgid "Azerbaijan"
1530
  msgstr ""
1531
 
1532
- #: includes/form/class-ur-country.php:53
1533
  msgid "Bahamas"
1534
  msgstr ""
1535
 
1536
- #: includes/form/class-ur-country.php:54
1537
  msgid "Bahrain"
1538
  msgstr ""
1539
 
1540
- #: includes/form/class-ur-country.php:55
1541
  msgid "Bangladesh"
1542
  msgstr ""
1543
 
1544
- #: includes/form/class-ur-country.php:56
1545
  msgid "Barbados"
1546
  msgstr ""
1547
 
1548
- #: includes/form/class-ur-country.php:57
1549
  msgid "Belarus"
1550
  msgstr ""
1551
 
1552
- #: includes/form/class-ur-country.php:58
1553
  msgid "Belgium"
1554
  msgstr ""
1555
 
1556
- #: includes/form/class-ur-country.php:59
1557
  msgid "Belau"
1558
  msgstr ""
1559
 
1560
- #: includes/form/class-ur-country.php:60
1561
  msgid "Belize"
1562
  msgstr ""
1563
 
1564
- #: includes/form/class-ur-country.php:61
1565
  msgid "Benin"
1566
  msgstr ""
1567
 
1568
- #: includes/form/class-ur-country.php:62
1569
  msgid "Bermuda"
1570
  msgstr ""
1571
 
1572
- #: includes/form/class-ur-country.php:63
1573
  msgid "Bhutan"
1574
  msgstr ""
1575
 
1576
- #: includes/form/class-ur-country.php:64
1577
  msgid "Bolivia"
1578
  msgstr ""
1579
 
1580
- #: includes/form/class-ur-country.php:65
1581
  msgid "Bonaire, Saint Eustatius and Saba"
1582
  msgstr ""
1583
 
1584
- #: includes/form/class-ur-country.php:66
1585
  msgid "Bosnia and Herzegovina"
1586
  msgstr ""
1587
 
1588
- #: includes/form/class-ur-country.php:67
1589
  msgid "Botswana"
1590
  msgstr ""
1591
 
1592
- #: includes/form/class-ur-country.php:68
1593
  msgid "Bouvet Island"
1594
  msgstr ""
1595
 
1596
- #: includes/form/class-ur-country.php:69
1597
  msgid "Brazil"
1598
  msgstr ""
1599
 
1600
- #: includes/form/class-ur-country.php:70
1601
  msgid "British Indian Ocean Territory"
1602
  msgstr ""
1603
 
1604
- #: includes/form/class-ur-country.php:71
1605
  msgid "British Virgin Islands"
1606
  msgstr ""
1607
 
1608
- #: includes/form/class-ur-country.php:72
1609
  msgid "Brunei"
1610
  msgstr ""
1611
 
1612
- #: includes/form/class-ur-country.php:73
1613
  msgid "Bulgaria"
1614
  msgstr ""
1615
 
1616
- #: includes/form/class-ur-country.php:74
1617
  msgid "Burkina Faso"
1618
  msgstr ""
1619
 
1620
- #: includes/form/class-ur-country.php:75
1621
  msgid "Burundi"
1622
  msgstr ""
1623
 
1624
- #: includes/form/class-ur-country.php:76
1625
  msgid "Cambodia"
1626
  msgstr ""
1627
 
1628
- #: includes/form/class-ur-country.php:77
1629
  msgid "Cameroon"
1630
  msgstr ""
1631
 
1632
- #: includes/form/class-ur-country.php:78
1633
  msgid "Canada"
1634
  msgstr ""
1635
 
1636
- #: includes/form/class-ur-country.php:79
1637
  msgid "Cape Verde"
1638
  msgstr ""
1639
 
1640
- #: includes/form/class-ur-country.php:80
1641
  msgid "Cayman Islands"
1642
  msgstr ""
1643
 
1644
- #: includes/form/class-ur-country.php:81
1645
  msgid "Central African Republic"
1646
  msgstr ""
1647
 
1648
- #: includes/form/class-ur-country.php:82
1649
  msgid "Chad"
1650
  msgstr ""
1651
 
1652
- #: includes/form/class-ur-country.php:83
1653
  msgid "Chile"
1654
  msgstr ""
1655
 
1656
- #: includes/form/class-ur-country.php:84
1657
  msgid "China"
1658
  msgstr ""
1659
 
1660
- #: includes/form/class-ur-country.php:85
1661
  msgid "Christmas Island"
1662
  msgstr ""
1663
 
1664
- #: includes/form/class-ur-country.php:86
1665
  msgid "Cocos (Keeling) Islands"
1666
  msgstr ""
1667
 
1668
- #: includes/form/class-ur-country.php:87
1669
  msgid "Colombia"
1670
  msgstr ""
1671
 
1672
- #: includes/form/class-ur-country.php:88
1673
  msgid "Comoros"
1674
  msgstr ""
1675
 
1676
- #: includes/form/class-ur-country.php:89
1677
  msgid "Congo (Brazzaville)"
1678
  msgstr ""
1679
 
1680
- #: includes/form/class-ur-country.php:90
1681
  msgid "Congo (Kinshasa)"
1682
  msgstr ""
1683
 
1684
- #: includes/form/class-ur-country.php:91
1685
  msgid "Cook Islands"
1686
  msgstr ""
1687
 
1688
- #: includes/form/class-ur-country.php:92
1689
  msgid "Costa Rica"
1690
  msgstr ""
1691
 
1692
- #: includes/form/class-ur-country.php:93
1693
  msgid "Croatia"
1694
  msgstr ""
1695
 
1696
- #: includes/form/class-ur-country.php:94
1697
  msgid "Cuba"
1698
  msgstr ""
1699
 
1700
- #: includes/form/class-ur-country.php:95
1701
  msgid "Cura&ccedil;ao"
1702
  msgstr ""
1703
 
1704
- #: includes/form/class-ur-country.php:96
1705
  msgid "Cyprus"
1706
  msgstr ""
1707
 
1708
- #: includes/form/class-ur-country.php:97
1709
  msgid "Czech Republic"
1710
  msgstr ""
1711
 
1712
- #: includes/form/class-ur-country.php:98
1713
  msgid "Denmark"
1714
  msgstr ""
1715
 
1716
- #: includes/form/class-ur-country.php:99
1717
  msgid "Djibouti"
1718
  msgstr ""
1719
 
1720
- #: includes/form/class-ur-country.php:100
1721
  msgid "Dominica"
1722
  msgstr ""
1723
 
1724
- #: includes/form/class-ur-country.php:101
1725
  msgid "Dominican Republic"
1726
  msgstr ""
1727
 
1728
- #: includes/form/class-ur-country.php:102
1729
  msgid "Ecuador"
1730
  msgstr ""
1731
 
1732
- #: includes/form/class-ur-country.php:103
1733
  msgid "Egypt"
1734
  msgstr ""
1735
 
1736
- #: includes/form/class-ur-country.php:104
1737
  msgid "El Salvador"
1738
  msgstr ""
1739
 
1740
- #: includes/form/class-ur-country.php:105
1741
  msgid "Equatorial Guinea"
1742
  msgstr ""
1743
 
1744
- #: includes/form/class-ur-country.php:106
1745
  msgid "Eritrea"
1746
  msgstr ""
1747
 
1748
- #: includes/form/class-ur-country.php:107
1749
  msgid "Estonia"
1750
  msgstr ""
1751
 
1752
- #: includes/form/class-ur-country.php:108
1753
  msgid "Ethiopia"
1754
  msgstr ""
1755
 
1756
- #: includes/form/class-ur-country.php:109
1757
  msgid "Falkland Islands"
1758
  msgstr ""
1759
 
1760
- #: includes/form/class-ur-country.php:110
1761
  msgid "Faroe Islands"
1762
  msgstr ""
1763
 
1764
- #: includes/form/class-ur-country.php:111
1765
  msgid "Fiji"
1766
  msgstr ""
1767
 
1768
- #: includes/form/class-ur-country.php:112
1769
  msgid "Finland"
1770
  msgstr ""
1771
 
1772
- #: includes/form/class-ur-country.php:113
1773
  msgid "France"
1774
  msgstr ""
1775
 
1776
- #: includes/form/class-ur-country.php:114
1777
  msgid "French Guiana"
1778
  msgstr ""
1779
 
1780
- #: includes/form/class-ur-country.php:115
1781
  msgid "French Polynesia"
1782
  msgstr ""
1783
 
1784
- #: includes/form/class-ur-country.php:116
1785
  msgid "French Southern Territories"
1786
  msgstr ""
1787
 
1788
- #: includes/form/class-ur-country.php:117
1789
  msgid "Gabon"
1790
  msgstr ""
1791
 
1792
- #: includes/form/class-ur-country.php:118
1793
  msgid "Gambia"
1794
  msgstr ""
1795
 
1796
- #: includes/form/class-ur-country.php:119
1797
  msgid "Georgia"
1798
  msgstr ""
1799
 
1800
- #: includes/form/class-ur-country.php:120
1801
  msgid "Germany"
1802
  msgstr ""
1803
 
1804
- #: includes/form/class-ur-country.php:121
1805
  msgid "Ghana"
1806
  msgstr ""
1807
 
1808
- #: includes/form/class-ur-country.php:122
1809
  msgid "Gibraltar"
1810
  msgstr ""
1811
 
1812
- #: includes/form/class-ur-country.php:123
1813
  msgid "Greece"
1814
  msgstr ""
1815
 
1816
- #: includes/form/class-ur-country.php:124
1817
  msgid "Greenland"
1818
  msgstr ""
1819
 
1820
- #: includes/form/class-ur-country.php:125
1821
  msgid "Grenada"
1822
  msgstr ""
1823
 
1824
- #: includes/form/class-ur-country.php:126
1825
  msgid "Guadeloupe"
1826
  msgstr ""
1827
 
1828
- #: includes/form/class-ur-country.php:127
1829
  msgid "Guam"
1830
  msgstr ""
1831
 
1832
- #: includes/form/class-ur-country.php:128
1833
  msgid "Guatemala"
1834
  msgstr ""
1835
 
1836
- #: includes/form/class-ur-country.php:129
1837
  msgid "Guernsey"
1838
  msgstr ""
1839
 
1840
- #: includes/form/class-ur-country.php:130
1841
  msgid "Guinea"
1842
  msgstr ""
1843
 
1844
- #: includes/form/class-ur-country.php:131
1845
  msgid "Guinea-Bissau"
1846
  msgstr ""
1847
 
1848
- #: includes/form/class-ur-country.php:132
1849
  msgid "Guyana"
1850
  msgstr ""
1851
 
1852
- #: includes/form/class-ur-country.php:133
1853
  msgid "Haiti"
1854
  msgstr ""
1855
 
1856
- #: includes/form/class-ur-country.php:134
1857
  msgid "Heard Island and McDonald Islands"
1858
  msgstr ""
1859
 
1860
- #: includes/form/class-ur-country.php:135
1861
  msgid "Honduras"
1862
  msgstr ""
1863
 
1864
- #: includes/form/class-ur-country.php:136
1865
  msgid "Hong Kong"
1866
  msgstr ""
1867
 
1868
- #: includes/form/class-ur-country.php:137
1869
  msgid "Hungary"
1870
  msgstr ""
1871
 
1872
- #: includes/form/class-ur-country.php:138
1873
  msgid "Iceland"
1874
  msgstr ""
1875
 
1876
- #: includes/form/class-ur-country.php:139
1877
  msgid "India"
1878
  msgstr ""
1879
 
1880
- #: includes/form/class-ur-country.php:140
1881
  msgid "Indonesia"
1882
  msgstr ""
1883
 
1884
- #: includes/form/class-ur-country.php:141
1885
  msgid "Iran"
1886
  msgstr ""
1887
 
1888
- #: includes/form/class-ur-country.php:142
1889
  msgid "Iraq"
1890
  msgstr ""
1891
 
1892
- #: includes/form/class-ur-country.php:143
1893
  msgid "Ireland"
1894
  msgstr ""
1895
 
1896
- #: includes/form/class-ur-country.php:144
1897
  msgid "Isle of Man"
1898
  msgstr ""
1899
 
1900
- #: includes/form/class-ur-country.php:145
1901
  msgid "Israel"
1902
  msgstr ""
1903
 
1904
- #: includes/form/class-ur-country.php:146
1905
  msgid "Italy"
1906
  msgstr ""
1907
 
1908
- #: includes/form/class-ur-country.php:147
1909
  msgid "Ivory Coast"
1910
  msgstr ""
1911
 
1912
- #: includes/form/class-ur-country.php:148
1913
  msgid "Jamaica"
1914
  msgstr ""
1915
 
1916
- #: includes/form/class-ur-country.php:149
1917
  msgid "Japan"
1918
  msgstr ""
1919
 
1920
- #: includes/form/class-ur-country.php:150
1921
  msgid "Jersey"
1922
  msgstr ""
1923
 
1924
- #: includes/form/class-ur-country.php:151
1925
  msgid "Jordan"
1926
  msgstr ""
1927
 
1928
- #: includes/form/class-ur-country.php:152
1929
  msgid "Kazakhstan"
1930
  msgstr ""
1931
 
1932
- #: includes/form/class-ur-country.php:153
1933
  msgid "Kenya"
1934
  msgstr ""
1935
 
1936
- #: includes/form/class-ur-country.php:154
1937
  msgid "Kiribati"
1938
  msgstr ""
1939
 
1940
- #: includes/form/class-ur-country.php:155
1941
  msgid "Kuwait"
1942
  msgstr ""
1943
 
1944
- #: includes/form/class-ur-country.php:156
1945
  msgid "Kyrgyzstan"
1946
  msgstr ""
1947
 
1948
- #: includes/form/class-ur-country.php:157
1949
  msgid "Laos"
1950
  msgstr ""
1951
 
1952
- #: includes/form/class-ur-country.php:158
1953
  msgid "Latvia"
1954
  msgstr ""
1955
 
1956
- #: includes/form/class-ur-country.php:159
1957
  msgid "Lebanon"
1958
  msgstr ""
1959
 
1960
- #: includes/form/class-ur-country.php:160
1961
  msgid "Lesotho"
1962
  msgstr ""
1963
 
1964
- #: includes/form/class-ur-country.php:161
1965
  msgid "Liberia"
1966
  msgstr ""
1967
 
1968
- #: includes/form/class-ur-country.php:162
1969
  msgid "Libya"
1970
  msgstr ""
1971
 
1972
- #: includes/form/class-ur-country.php:163
1973
  msgid "Liechtenstein"
1974
  msgstr ""
1975
 
1976
- #: includes/form/class-ur-country.php:164
1977
  msgid "Lithuania"
1978
  msgstr ""
1979
 
1980
- #: includes/form/class-ur-country.php:165
1981
  msgid "Luxembourg"
1982
  msgstr ""
1983
 
1984
- #: includes/form/class-ur-country.php:166
1985
  msgid "Macao S.A.R., China"
1986
  msgstr ""
1987
 
1988
- #: includes/form/class-ur-country.php:167
1989
  msgid "Macedonia"
1990
  msgstr ""
1991
 
1992
- #: includes/form/class-ur-country.php:168
1993
  msgid "Madagascar"
1994
  msgstr ""
1995
 
1996
- #: includes/form/class-ur-country.php:169
1997
  msgid "Malawi"
1998
  msgstr ""
1999
 
2000
- #: includes/form/class-ur-country.php:170
2001
  msgid "Malaysia"
2002
  msgstr ""
2003
 
2004
- #: includes/form/class-ur-country.php:171
2005
  msgid "Maldives"
2006
  msgstr ""
2007
 
2008
- #: includes/form/class-ur-country.php:172
2009
  msgid "Mali"
2010
  msgstr ""
2011
 
2012
- #: includes/form/class-ur-country.php:173
2013
  msgid "Malta"
2014
  msgstr ""
2015
 
2016
- #: includes/form/class-ur-country.php:174
2017
  msgid "Marshall Islands"
2018
  msgstr ""
2019
 
2020
- #: includes/form/class-ur-country.php:175
2021
  msgid "Martinique"
2022
  msgstr ""
2023
 
2024
- #: includes/form/class-ur-country.php:176
2025
  msgid "Mauritania"
2026
  msgstr ""
2027
 
2028
- #: includes/form/class-ur-country.php:177
2029
  msgid "Mauritius"
2030
  msgstr ""
2031
 
2032
- #: includes/form/class-ur-country.php:178
2033
  msgid "Mayotte"
2034
  msgstr ""
2035
 
2036
- #: includes/form/class-ur-country.php:179
2037
  msgid "Mexico"
2038
  msgstr ""
2039
 
2040
- #: includes/form/class-ur-country.php:180
2041
  msgid "Micronesia"
2042
  msgstr ""
2043
 
2044
- #: includes/form/class-ur-country.php:181
2045
  msgid "Moldova"
2046
  msgstr ""
2047
 
2048
- #: includes/form/class-ur-country.php:182
2049
  msgid "Monaco"
2050
  msgstr ""
2051
 
2052
- #: includes/form/class-ur-country.php:183
2053
  msgid "Mongolia"
2054
  msgstr ""
2055
 
2056
- #: includes/form/class-ur-country.php:184
2057
  msgid "Montenegro"
2058
  msgstr ""
2059
 
2060
- #: includes/form/class-ur-country.php:185
2061
  msgid "Montserrat"
2062
  msgstr ""
2063
 
2064
- #: includes/form/class-ur-country.php:186
2065
  msgid "Morocco"
2066
  msgstr ""
2067
 
2068
- #: includes/form/class-ur-country.php:187
2069
  msgid "Mozambique"
2070
  msgstr ""
2071
 
2072
- #: includes/form/class-ur-country.php:188
2073
  msgid "Myanmar"
2074
  msgstr ""
2075
 
2076
- #: includes/form/class-ur-country.php:189
2077
  msgid "Namibia"
2078
  msgstr ""
2079
 
2080
- #: includes/form/class-ur-country.php:190
2081
  msgid "Nauru"
2082
  msgstr ""
2083
 
2084
- #: includes/form/class-ur-country.php:191
2085
  msgid "Nepal"
2086
  msgstr ""
2087
 
2088
- #: includes/form/class-ur-country.php:192
2089
  msgid "Netherlands"
2090
  msgstr ""
2091
 
2092
- #: includes/form/class-ur-country.php:193
2093
  msgid "New Caledonia"
2094
  msgstr ""
2095
 
2096
- #: includes/form/class-ur-country.php:194
2097
  msgid "New Zealand"
2098
  msgstr ""
2099
 
2100
- #: includes/form/class-ur-country.php:195
2101
  msgid "Nicaragua"
2102
  msgstr ""
2103
 
2104
- #: includes/form/class-ur-country.php:196
2105
  msgid "Niger"
2106
  msgstr ""
2107
 
2108
- #: includes/form/class-ur-country.php:197
2109
  msgid "Nigeria"
2110
  msgstr ""
2111
 
2112
- #: includes/form/class-ur-country.php:198
2113
  msgid "Niue"
2114
  msgstr ""
2115
 
2116
- #: includes/form/class-ur-country.php:199
2117
  msgid "Norfolk Island"
2118
  msgstr ""
2119
 
2120
- #: includes/form/class-ur-country.php:200
2121
  msgid "Northern Mariana Islands"
2122
  msgstr ""
2123
 
2124
- #: includes/form/class-ur-country.php:201
2125
  msgid "North Korea"
2126
  msgstr ""
2127
 
2128
- #: includes/form/class-ur-country.php:202
2129
  msgid "Norway"
2130
  msgstr ""
2131
 
2132
- #: includes/form/class-ur-country.php:203
2133
  msgid "Oman"
2134
  msgstr ""
2135
 
2136
- #: includes/form/class-ur-country.php:204
2137
  msgid "Pakistan"
2138
  msgstr ""
2139
 
2140
- #: includes/form/class-ur-country.php:205
2141
  msgid "Palestinian Territory"
2142
  msgstr ""
2143
 
2144
- #: includes/form/class-ur-country.php:206
2145
  msgid "Panama"
2146
  msgstr ""
2147
 
2148
- #: includes/form/class-ur-country.php:207
2149
  msgid "Papua New Guinea"
2150
  msgstr ""
2151
 
2152
- #: includes/form/class-ur-country.php:208
2153
  msgid "Paraguay"
2154
  msgstr ""
2155
 
2156
- #: includes/form/class-ur-country.php:209
2157
  msgid "Peru"
2158
  msgstr ""
2159
 
2160
- #: includes/form/class-ur-country.php:210
2161
  msgid "Philippines"
2162
  msgstr ""
2163
 
2164
- #: includes/form/class-ur-country.php:211
2165
  msgid "Pitcairn"
2166
  msgstr ""
2167
 
2168
- #: includes/form/class-ur-country.php:212
2169
  msgid "Poland"
2170
  msgstr ""
2171
 
2172
- #: includes/form/class-ur-country.php:213
2173
  msgid "Portugal"
2174
  msgstr ""
2175
 
2176
- #: includes/form/class-ur-country.php:214
2177
  msgid "Puerto Rico"
2178
  msgstr ""
2179
 
2180
- #: includes/form/class-ur-country.php:215
2181
  msgid "Qatar"
2182
  msgstr ""
2183
 
2184
- #: includes/form/class-ur-country.php:216
2185
  msgid "Reunion"
2186
  msgstr ""
2187
 
2188
- #: includes/form/class-ur-country.php:217
2189
  msgid "Romania"
2190
  msgstr ""
2191
 
2192
- #: includes/form/class-ur-country.php:218
2193
  msgid "Russia"
2194
  msgstr ""
2195
 
2196
- #: includes/form/class-ur-country.php:219
2197
  msgid "Rwanda"
2198
  msgstr ""
2199
 
2200
- #: includes/form/class-ur-country.php:220
2201
  msgid "Saint Barth&eacute;lemy"
2202
  msgstr ""
2203
 
2204
- #: includes/form/class-ur-country.php:221
2205
  msgid "Saint Helena"
2206
  msgstr ""
2207
 
2208
- #: includes/form/class-ur-country.php:222
2209
  msgid "Saint Kitts and Nevis"
2210
  msgstr ""
2211
 
2212
- #: includes/form/class-ur-country.php:223
2213
  msgid "Saint Lucia"
2214
  msgstr ""
2215
 
2216
- #: includes/form/class-ur-country.php:224
2217
  msgid "Saint Martin (French part)"
2218
  msgstr ""
2219
 
2220
- #: includes/form/class-ur-country.php:225
2221
  msgid "Saint Martin (Dutch part)"
2222
  msgstr ""
2223
 
2224
- #: includes/form/class-ur-country.php:226
2225
  msgid "Saint Pierre and Miquelon"
2226
  msgstr ""
2227
 
2228
- #: includes/form/class-ur-country.php:227
2229
  msgid "Saint Vincent and the Grenadines"
2230
  msgstr ""
2231
 
2232
- #: includes/form/class-ur-country.php:228
2233
  msgid "San Marino"
2234
  msgstr ""
2235
 
2236
- #: includes/form/class-ur-country.php:229
2237
  msgid "S&atilde;o Tom&eacute; and Pr&iacute;ncipe"
2238
  msgstr ""
2239
 
2240
- #: includes/form/class-ur-country.php:230
2241
  msgid "Saudi Arabia"
2242
  msgstr ""
2243
 
2244
- #: includes/form/class-ur-country.php:231
2245
  msgid "Senegal"
2246
  msgstr ""
2247
 
2248
- #: includes/form/class-ur-country.php:232
2249
  msgid "Serbia"
2250
  msgstr ""
2251
 
2252
- #: includes/form/class-ur-country.php:233
2253
  msgid "Seychelles"
2254
  msgstr ""
2255
 
2256
- #: includes/form/class-ur-country.php:234
2257
  msgid "Sierra Leone"
2258
  msgstr ""
2259
 
2260
- #: includes/form/class-ur-country.php:235
2261
  msgid "Singapore"
2262
  msgstr ""
2263
 
2264
- #: includes/form/class-ur-country.php:236
2265
  msgid "Slovakia"
2266
  msgstr ""
2267
 
2268
- #: includes/form/class-ur-country.php:237
2269
  msgid "Slovenia"
2270
  msgstr ""
2271
 
2272
- #: includes/form/class-ur-country.php:238
2273
  msgid "Solomon Islands"
2274
  msgstr ""
2275
 
2276
- #: includes/form/class-ur-country.php:239
2277
  msgid "Somalia"
2278
  msgstr ""
2279
 
2280
- #: includes/form/class-ur-country.php:240
2281
  msgid "South Africa"
2282
  msgstr ""
2283
 
2284
- #: includes/form/class-ur-country.php:241
2285
  msgid "South Georgia/Sandwich Islands"
2286
  msgstr ""
2287
 
2288
- #: includes/form/class-ur-country.php:242
2289
  msgid "South Korea"
2290
  msgstr ""
2291
 
2292
- #: includes/form/class-ur-country.php:243
2293
  msgid "South Sudan"
2294
  msgstr ""
2295
 
2296
- #: includes/form/class-ur-country.php:244
2297
  msgid "Spain"
2298
  msgstr ""
2299
 
2300
- #: includes/form/class-ur-country.php:245
2301
  msgid "Sri Lanka"
2302
  msgstr ""
2303
 
2304
- #: includes/form/class-ur-country.php:246
2305
  msgid "Sudan"
2306
  msgstr ""
2307
 
2308
- #: includes/form/class-ur-country.php:247
2309
  msgid "Suriname"
2310
  msgstr ""
2311
 
2312
- #: includes/form/class-ur-country.php:248
2313
  msgid "Svalbard and Jan Mayen"
2314
  msgstr ""
2315
 
2316
- #: includes/form/class-ur-country.php:249
2317
  msgid "Swaziland"
2318
  msgstr ""
2319
 
2320
- #: includes/form/class-ur-country.php:250
2321
  msgid "Sweden"
2322
  msgstr ""
2323
 
2324
- #: includes/form/class-ur-country.php:251
2325
  msgid "Switzerland"
2326
  msgstr ""
2327
 
2328
- #: includes/form/class-ur-country.php:252
2329
  msgid "Syria"
2330
  msgstr ""
2331
 
2332
- #: includes/form/class-ur-country.php:253
2333
  msgid "Taiwan"
2334
  msgstr ""
2335
 
2336
- #: includes/form/class-ur-country.php:254
2337
  msgid "Tajikistan"
2338
  msgstr ""
2339
 
2340
- #: includes/form/class-ur-country.php:255
2341
  msgid "Tanzania"
2342
  msgstr ""
2343
 
2344
- #: includes/form/class-ur-country.php:256
2345
  msgid "Thailand"
2346
  msgstr ""
2347
 
2348
- #: includes/form/class-ur-country.php:257
2349
  msgid "Timor-Leste"
2350
  msgstr ""
2351
 
2352
- #: includes/form/class-ur-country.php:258
2353
  msgid "Togo"
2354
  msgstr ""
2355
 
2356
- #: includes/form/class-ur-country.php:259
2357
  msgid "Tokelau"
2358
  msgstr ""
2359
 
2360
- #: includes/form/class-ur-country.php:260
2361
  msgid "Tonga"
2362
  msgstr ""
2363
 
2364
- #: includes/form/class-ur-country.php:261
2365
  msgid "Trinidad and Tobago"
2366
  msgstr ""
2367
 
2368
- #: includes/form/class-ur-country.php:262
2369
  msgid "Tunisia"
2370
  msgstr ""
2371
 
2372
- #: includes/form/class-ur-country.php:263
2373
  msgid "Turkey"
2374
  msgstr ""
2375
 
2376
- #: includes/form/class-ur-country.php:264
2377
  msgid "Turkmenistan"
2378
  msgstr ""
2379
 
2380
- #: includes/form/class-ur-country.php:265
2381
  msgid "Turks and Caicos Islands"
2382
  msgstr ""
2383
 
2384
- #: includes/form/class-ur-country.php:266
2385
  msgid "Tuvalu"
2386
  msgstr ""
2387
 
2388
- #: includes/form/class-ur-country.php:267
2389
  msgid "Uganda"
2390
  msgstr ""
2391
 
2392
- #: includes/form/class-ur-country.php:268
2393
  msgid "Ukraine"
2394
  msgstr ""
2395
 
2396
- #: includes/form/class-ur-country.php:269
2397
  msgid "United Arab Emirates"
2398
  msgstr ""
2399
 
2400
- #: includes/form/class-ur-country.php:270
2401
  msgid "United Kingdom (UK)"
2402
  msgstr ""
2403
 
2404
- #: includes/form/class-ur-country.php:271
2405
  msgid "United States (US)"
2406
  msgstr ""
2407
 
2408
- #: includes/form/class-ur-country.php:272
2409
  msgid "United States (US) Minor Outlying Islands"
2410
  msgstr ""
2411
 
2412
- #: includes/form/class-ur-country.php:273
2413
  msgid "United States (US) Virgin Islands"
2414
  msgstr ""
2415
 
2416
- #: includes/form/class-ur-country.php:274
2417
  msgid "Uruguay"
2418
  msgstr ""
2419
 
2420
- #: includes/form/class-ur-country.php:275
2421
  msgid "Uzbekistan"
2422
  msgstr ""
2423
 
2424
- #: includes/form/class-ur-country.php:276
2425
  msgid "Vanuatu"
2426
  msgstr ""
2427
 
2428
- #: includes/form/class-ur-country.php:277
2429
  msgid "Vatican"
2430
  msgstr ""
2431
 
2432
- #: includes/form/class-ur-country.php:278
2433
  msgid "Venezuela"
2434
  msgstr ""
2435
 
2436
- #: includes/form/class-ur-country.php:279
2437
  msgid "Vietnam"
2438
  msgstr ""
2439
 
2440
- #: includes/form/class-ur-country.php:280
2441
  msgid "Wallis and Futuna"
2442
  msgstr ""
2443
 
2444
- #: includes/form/class-ur-country.php:281
2445
  msgid "Western Sahara"
2446
  msgstr ""
2447
 
2448
- #: includes/form/class-ur-country.php:282
2449
  msgid "Samoa"
2450
  msgstr ""
2451
 
2452
- #: includes/form/class-ur-country.php:283
2453
  msgid "Yemen"
2454
  msgstr ""
2455
 
2456
- #: includes/form/class-ur-country.php:284
2457
  msgid "Zambia"
2458
  msgstr ""
2459
 
2460
- #: includes/form/class-ur-country.php:285
2461
  msgid "Zimbabwe"
2462
  msgstr ""
2463
 
2464
- #: includes/form/class-ur-country.php:300
2465
- #: includes/form/class-ur-country.php:307
2466
  msgid "Country"
2467
  msgstr ""
2468
 
2469
- #: includes/form/class-ur-description.php:44
2470
- #: includes/form/class-ur-description.php:51
2471
  msgid "User Bio"
2472
  msgstr ""
2473
 
2474
- #: includes/form/class-ur-display-name.php:44
2475
- #: includes/form/class-ur-display-name.php:50
2476
  msgid "Display Name"
2477
  msgstr ""
2478
 
2479
- #: includes/form/class-ur-email.php:44
2480
  msgid "Secondary Email "
2481
  msgstr ""
2482
 
2483
- #: includes/form/class-ur-email.php:50
2484
  msgid "Secondary Email"
2485
  msgstr ""
2486
 
2487
- #: includes/form/class-ur-first-name.php:44
2488
- #: includes/form/class-ur-first-name.php:50
2489
  msgid "First Name"
2490
  msgstr ""
2491
 
2492
- #: includes/form/class-ur-last-name.php:44
2493
  msgid "Last Name "
2494
  msgstr ""
2495
 
2496
- #: includes/form/class-ur-last-name.php:50
2497
  msgid "Last Name"
2498
  msgstr ""
2499
 
2500
- #: includes/form/class-ur-nickname.php:44
2501
- #: includes/form/class-ur-nickname.php:50
2502
  msgid "Nickname"
2503
  msgstr ""
2504
 
2505
- #: includes/form/class-ur-number.php:44 includes/form/class-ur-number.php:51
2506
- msgid "Number"
2507
- msgstr ""
2508
-
2509
- #: includes/form/class-ur-password.php:43
2510
- #: includes/form/class-ur-password.php:51
2511
  msgid "Password Field"
2512
  msgstr ""
2513
 
2514
- #: includes/form/class-ur-privacy-policy.php:43
2515
- #: includes/form/class-ur-privacy-policy.php:50
2516
  msgid "Privacy Policy"
2517
  msgstr ""
2518
 
2519
- #: includes/form/class-ur-radio.php:44 includes/form/class-ur-radio.php:51
 
2520
  msgid "Radio"
2521
  msgstr ""
2522
 
2523
- #: includes/form/class-ur-text.php:44 includes/form/class-ur-text.php:51
 
2524
  msgid "Input Field"
2525
  msgstr ""
2526
 
2527
- #: includes/form/class-ur-textarea.php:44
2528
- #: includes/form/class-ur-textarea.php:50
2529
  msgid "Textarea"
2530
  msgstr ""
2531
 
2532
- #: includes/form/class-ur-user-confirm-password.php:44
2533
  msgid "Confirm Password "
2534
  msgstr ""
2535
 
2536
- #: includes/form/class-ur-user-confirm-password.php:50
2537
- msgid "Confirm Password"
2538
- msgstr ""
2539
-
2540
- #: includes/form/class-ur-user-email.php:44
2541
  msgid "Email "
2542
  msgstr ""
2543
 
2544
- #: includes/form/class-ur-user-email.php:51
2545
  msgid "User Email"
2546
  msgstr ""
2547
 
2548
- #: includes/form/class-ur-user-email.php:76
2549
  msgid "Invalid email address."
2550
  msgstr ""
2551
 
2552
- #: includes/form/class-ur-user-email.php:85
2553
  msgid "Email already exists."
2554
  msgstr ""
2555
 
2556
- #: includes/form/class-ur-user-login.php:44
2557
- #: includes/form/class-ur-user-login.php:51
2558
  msgid "Username"
2559
  msgstr ""
2560
 
2561
- #: includes/form/class-ur-user-login.php:73
2562
  msgid "Username already exists."
2563
  msgstr ""
2564
 
2565
- #: includes/form/class-ur-user-login.php:89
2566
- msgid "Invalid username"
2567
  msgstr ""
2568
 
2569
- #: includes/form/class-ur-user-pass.php:44
2570
  msgid "Password "
2571
  msgstr ""
2572
 
2573
- #: includes/form/class-ur-user-pass.php:50
2574
  msgid "User Password"
2575
  msgstr ""
2576
 
2577
- #: includes/form/class-ur-user-pass.php:73
2578
  msgid "Empty password."
2579
  msgstr ""
2580
 
2581
- #: includes/form/class-ur-user-url.php:44
2582
- #: includes/form/class-ur-user-url.php:50
2583
  msgid "Website"
2584
  msgstr ""
2585
 
@@ -2650,23 +2716,23 @@ msgstr ""
2650
  msgid "Default Value"
2651
  msgstr ""
2652
 
2653
- #: includes/frontend/class-ur-frontend-form-handler.php:83
2654
- msgid "Someting error! please try again"
2655
  msgstr ""
2656
 
2657
- #: includes/frontend/class-ur-frontend-form-handler.php:123
2658
  msgid "Duplicate field key in form, please contact site administrator."
2659
  msgstr ""
2660
 
2661
- #: includes/frontend/class-ur-frontend-form-handler.php:129
2662
  msgid "Required form field not found."
2663
  msgstr ""
2664
 
2665
- #: includes/frontend/class-ur-frontend-form-handler.php:224
2666
  msgid "Empty confirm password"
2667
  msgstr ""
2668
 
2669
- #: includes/frontend/class-ur-frontend-form-handler.php:226
2670
  msgid "Password and confirm password not matched"
2671
  msgstr ""
2672
 
@@ -2674,80 +2740,95 @@ msgstr ""
2674
  msgid "Dashboard"
2675
  msgstr ""
2676
 
2677
- #: includes/functions-ur-core.php:528 includes/functions-ur-core.php:530
2678
- #: includes/functions-ur-core.php:537
2679
  msgid "Label"
2680
  msgstr ""
2681
 
2682
- #: includes/functions-ur-core.php:542 includes/functions-ur-core.php:544
2683
- msgid "Field Name"
2684
  msgstr ""
2685
 
2686
- #: includes/functions-ur-core.php:550 includes/functions-ur-core.php:552
2687
- msgid "Placeholder"
2688
  msgstr ""
2689
 
2690
- #: includes/functions-ur-core.php:557
2691
- msgid "Required"
2692
  msgstr ""
2693
 
2694
- #: includes/functions-ur-core.php:562 includes/functions-ur-core.php:573
2695
- #: includes/functions-ur-core.php:680 includes/functions-ur-core.php:708
2696
  msgid "No"
2697
  msgstr ""
2698
 
2699
- #: includes/functions-ur-core.php:563 includes/functions-ur-core.php:574
2700
- #: includes/functions-ur-core.php:679 includes/functions-ur-core.php:707
2701
  msgid "Yes"
2702
  msgstr ""
2703
 
2704
- #: includes/functions-ur-core.php:568
2705
  msgid "Hide Label"
2706
  msgstr ""
2707
 
2708
- #: includes/functions-ur-core.php:700
 
 
 
 
 
 
 
 
 
 
 
 
2709
  msgid "Enable %1$s %2$s reCaptcha %3$s support"
2710
  msgstr ""
2711
 
2712
- #: includes/functions-ur-core.php:716
2713
  msgid "Template"
2714
  msgstr ""
2715
 
2716
- #: includes/functions-ur-core.php:723
2717
  msgid "Default"
2718
  msgstr ""
2719
 
2720
- #: includes/functions-ur-core.php:724
2721
  msgid "Bordered"
2722
  msgstr ""
2723
 
2724
- #: includes/functions-ur-core.php:725
2725
  msgid "Flat"
2726
  msgstr ""
2727
 
2728
- #: includes/functions-ur-core.php:726
2729
  msgid "Rounded"
2730
  msgstr ""
2731
 
2732
- #: includes/functions-ur-core.php:727
2733
  msgid "Rounded Edge"
2734
  msgstr ""
2735
 
2736
- #: includes/functions-ur-core.php:751
 
 
 
 
2737
  msgid "Auto login after registration"
2738
  msgstr ""
2739
 
2740
- #: includes/functions-ur-core.php:976
2741
  msgid ""
2742
  "The class <code>%s</code> provided by user_registration_logging_class "
2743
  "filter must implement <code>UR_Logger_Interface</code>."
2744
  msgstr ""
2745
 
2746
- #: includes/functions-ur-core.php:1065
2747
  msgid "Disable emails"
2748
  msgstr ""
2749
 
2750
- #: includes/functions-ur-core.php:1066
2751
  msgid "Disable all emails sent after registration."
2752
  msgstr ""
2753
 
@@ -2758,11 +2839,11 @@ msgstr ""
2758
  msgid "This function should not be called before user_registration_init."
2759
  msgstr ""
2760
 
2761
- #: includes/functions-ur-template.php:127
2762
  msgid "required"
2763
  msgstr ""
2764
 
2765
- #: includes/functions-ur-template.php:256
2766
  msgid "Choose an option"
2767
  msgstr ""
2768
 
@@ -3053,32 +3134,32 @@ msgid_plural "All <span class=\"count\">(%s)</span>"
3053
  msgstr[0] ""
3054
  msgstr[1] ""
3055
 
3056
- #: includes/admin/class-ur-admin-user-list-manager.php:77
3057
  msgctxt "The action on users list page"
3058
  msgid "Approve"
3059
  msgstr ""
3060
 
3061
- #: includes/admin/class-ur-admin-user-list-manager.php:78
3062
  msgctxt "The action on users list page"
3063
  msgid "Deny"
3064
  msgstr ""
3065
 
3066
- #: includes/class-ur-install.php:271
3067
  msgctxt "Page slug"
3068
  msgid "my-account"
3069
  msgstr ""
3070
 
3071
- #: includes/class-ur-install.php:280
3072
  msgctxt "Page slug"
3073
  msgid "registration"
3074
  msgstr ""
3075
 
3076
- #: includes/class-ur-install.php:272
3077
  msgctxt "Page title"
3078
  msgid "My Account"
3079
  msgstr ""
3080
 
3081
- #: includes/class-ur-install.php:281
3082
  msgctxt "Page title"
3083
  msgid "Registration"
3084
  msgstr ""
4
  msgstr ""
5
  "Project-Id-Version: User Registration 1.3.1\n"
6
  "Report-Msgid-Bugs-To: wpeverest@gmail.com\n"
7
+ "POT-Creation-Date: 2018-06-12 07:14:47+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=utf-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
13
  "Language-Team: LANGUAGE <EMAIL@ADDRESS>\n"
14
  "X-Generator: grunt-wp-i18n1.0.1\n"
15
 
16
+ #: includes/abstracts/abstract-ur-form-field.php:327
 
 
 
 
 
17
  msgid "General Settings"
18
  msgstr ""
19
 
20
+ #: includes/abstracts/abstract-ur-form-field.php:339
21
  msgid "Advance Settings"
22
  msgstr ""
23
 
90
  msgstr ""
91
 
92
  #: includes/admin/class-ur-admin-menus.php:303
93
+ #: includes/class-ur-install.php:604
94
  msgid "Settings"
95
  msgstr ""
96
 
99
  msgstr ""
100
 
101
  #: includes/admin/class-ur-admin-menus.php:313
102
+ #: includes/admin/class-ur-admin-user-list-manager.php:180
103
+ #: includes/class-ur-email-confirmation.php:66
104
  msgid "Status"
105
  msgstr ""
106
 
134
  msgstr ""
135
 
136
  #: includes/admin/class-ur-admin-menus.php:445
137
+ #: includes/admin/settings/class-ur-settings-general.php:163
138
  #: includes/class-ur-query.php:79
139
  msgid "Lost password"
140
  msgstr ""
162
 
163
  #: includes/admin/class-ur-admin-profile.php:119
164
  #: includes/admin/class-ur-admin-profile.php:130
165
+ #: includes/form/class-ur-form-field-select.php:44
166
+ #: includes/form/class-ur-form-field-select.php:51
167
  msgid "Select"
168
  msgstr ""
169
 
184
  msgstr ""
185
 
186
  #: includes/admin/class-ur-admin-registrations-table-list.php:49
187
+ #: includes/form/class-ur-form-field-date.php:44
188
+ #: includes/form/class-ur-form-field-date.php:51
189
  msgid "Date"
190
  msgstr ""
191
 
274
  msgid "Select a page&hellip;"
275
  msgstr ""
276
 
277
+ #: includes/admin/class-ur-admin-user-list-manager.php:142
278
  msgid "User Registration:"
279
  msgstr ""
280
 
281
+ #: includes/admin/class-ur-admin-user-list-manager.php:142
282
  msgid "User"
283
  msgstr ""
284
 
285
+ #: includes/admin/class-ur-admin-user-list-manager.php:142
286
  msgid "Users"
287
  msgstr ""
288
 
289
+ #: includes/admin/class-ur-admin-user-list-manager.php:142
290
  msgid "pending approval."
291
  msgstr ""
292
 
293
+ #: includes/admin/class-ur-admin-user-list-manager.php:162
294
  msgid "User approved."
295
  msgid_plural "%s users approved."
296
  msgstr[0] ""
297
  msgstr[1] ""
298
 
299
+ #: includes/admin/class-ur-admin-user-list-manager.php:164
300
  msgid "User denied."
301
  msgid_plural "%s users denied."
302
  msgstr[0] ""
303
  msgstr[1] ""
304
 
305
+ #: includes/admin/class-ur-admin-user-list-manager.php:225
306
  msgid "All statuses"
307
  msgstr ""
308
 
309
+ #: includes/admin/class-ur-admin-user-list-manager.php:227
310
  msgid "All approval statuses"
311
  msgstr ""
312
 
313
+ #: includes/admin/class-ur-admin-user-list-manager.php:236
314
  msgid "Filter"
315
  msgstr ""
316
 
317
+ #: includes/admin/class-ur-admin-user-list-manager.php:320
318
  #: includes/admin/class-ur-admin-user-list-manager.php:321
 
319
  msgid "Approve"
320
  msgstr ""
321
 
322
+ #: includes/admin/class-ur-admin-user-list-manager.php:323
323
  #: includes/admin/class-ur-admin-user-list-manager.php:324
 
324
  msgid "Deny"
325
  msgstr ""
326
 
327
+ #: includes/admin/class-ur-admin-user-list-manager.php:403
328
  msgid "Approval Status"
329
  msgstr ""
330
 
331
+ #: includes/admin/class-ur-admin-user-list-manager.php:415
332
  msgid "If user has access to sign in or not."
333
  msgstr ""
334
 
409
  msgstr ""
410
 
411
  #: includes/admin/settings/class-ur-settings-email.php:146
412
+ #: includes/admin/settings/class-ur-settings-general.php:255
413
  msgid "Email"
414
  msgstr ""
415
 
427
  msgstr ""
428
 
429
  #: includes/admin/settings/class-ur-settings-general.php:45
430
+ #: includes/admin/settings/class-ur-settings-general.php:69
431
  msgid "General Options"
432
  msgstr ""
433
 
434
  #: includes/admin/settings/class-ur-settings-general.php:46
 
435
  msgid "Frontend Messages"
436
  msgstr ""
437
 
438
+ #: includes/admin/settings/class-ur-settings-general.php:75
 
 
 
 
 
 
 
 
 
439
  msgid "User login option"
440
  msgstr ""
441
 
442
+ #: includes/admin/settings/class-ur-settings-general.php:76
443
  msgid "This option lets you choose login option after user registration."
444
  msgstr ""
445
 
446
+ #: includes/admin/settings/class-ur-settings-general.php:86
447
  msgid "Redirect URL"
448
  msgstr ""
449
 
450
+ #: includes/admin/settings/class-ur-settings-general.php:87
451
  msgid "This option lets you enter redirect path after successful user registration."
452
  msgstr ""
453
 
454
+ #: includes/admin/settings/class-ur-settings-general.php:94
455
  msgid "Registration URL"
456
  msgstr ""
457
 
458
+ #: includes/admin/settings/class-ur-settings-general.php:95
459
  msgid "This option lets you enter the registration page url in login form."
460
  msgstr ""
461
 
462
+ #: includes/admin/settings/class-ur-settings-general.php:102
463
  msgid "Registration URL label"
464
  msgstr ""
465
 
466
+ #: includes/admin/settings/class-ur-settings-general.php:103
467
  msgid "This option lets you enter the label to registration url in login form."
468
  msgstr ""
469
 
470
+ #: includes/admin/settings/class-ur-settings-general.php:108
471
  #: templates/myaccount/form-login.php:71
472
  msgid "Not a member yet? Register now."
473
  msgstr ""
474
 
475
+ #: includes/admin/settings/class-ur-settings-general.php:111
476
  msgid "Prevent dashboard access"
477
  msgstr ""
478
 
479
+ #: includes/admin/settings/class-ur-settings-general.php:112
480
  msgid ""
481
  "This option lets you limit which roles you are willing to prevent dashboard "
482
  "access."
483
  msgstr ""
484
 
485
+ #: includes/admin/settings/class-ur-settings-general.php:122
486
  msgid "My account page"
487
  msgstr ""
488
 
489
+ #: includes/admin/settings/class-ur-settings-general.php:123
490
  msgid "Page contents: [%s]"
491
  msgstr ""
492
 
493
+ #: includes/admin/settings/class-ur-settings-general.php:138
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
494
  msgid "My account endpoints"
495
  msgstr ""
496
 
497
+ #: includes/admin/settings/class-ur-settings-general.php:140
498
  msgid ""
499
  "Endpoints are appended to your page URLs to handle specific actions on the "
500
  "accounts pages. They should be unique and can be left blank to disable the "
501
  "endpoint."
502
  msgstr ""
503
 
504
+ #: includes/admin/settings/class-ur-settings-general.php:145
505
  msgid "Edit account"
506
  msgstr ""
507
 
508
+ #: includes/admin/settings/class-ur-settings-general.php:146
509
  msgid "Endpoint for the \"My account &rarr; Edit account\" page."
510
  msgstr ""
511
 
512
+ #: includes/admin/settings/class-ur-settings-general.php:154
513
  msgid "Edit profile"
514
  msgstr ""
515
 
516
+ #: includes/admin/settings/class-ur-settings-general.php:155
517
  msgid "Endpoint for the \"My account &rarr; Edit profile\" page."
518
  msgstr ""
519
 
520
+ #: includes/admin/settings/class-ur-settings-general.php:164
521
  msgid "Endpoint for the \"My account &rarr; Lost password\" page."
522
  msgstr ""
523
 
524
+ #: includes/admin/settings/class-ur-settings-general.php:172
525
  msgid "User logout"
526
  msgstr ""
527
 
528
+ #: includes/admin/settings/class-ur-settings-general.php:173
529
  msgid ""
530
  "Endpoint for the triggering logout. You can add this to your menus via a "
531
  "custom link: yoursite.com/?user-logout=true"
532
  msgstr ""
533
 
534
+ #: includes/admin/settings/class-ur-settings-general.php:196
535
+ msgid "Success Messages"
536
+ msgstr ""
537
+
538
+ #: includes/admin/settings/class-ur-settings-general.php:203
539
+ #: includes/functions-ur-core.php:757
540
  msgid "Manual login after registration"
541
  msgstr ""
542
 
543
+ #: includes/admin/settings/class-ur-settings-general.php:204
544
  msgid ""
545
  "Enter the text message after successful form submission on manual login "
546
  "after registration."
547
  msgstr ""
548
 
549
+ #: includes/admin/settings/class-ur-settings-general.php:209
550
+ #: includes/class-ur-frontend-scripts.php:305
551
  msgid "User successfully registered."
552
  msgstr ""
553
 
554
+ #: includes/admin/settings/class-ur-settings-general.php:213
555
+ #: includes/functions-ur-core.php:758
556
  msgid "Email confirmation to login"
557
  msgstr ""
558
 
559
+ #: includes/admin/settings/class-ur-settings-general.php:214
560
  msgid ""
561
  "Enter the text message after successful form submission on email "
562
  "confirmation to login."
563
  msgstr ""
564
 
565
+ #: includes/admin/settings/class-ur-settings-general.php:219
566
+ #: includes/class-ur-frontend-scripts.php:307
567
  msgid ""
568
  "User registered. Verify your email by clicking on the link sent to your "
569
  "email."
570
  msgstr ""
571
 
572
+ #: includes/admin/settings/class-ur-settings-general.php:223
573
+ #: includes/functions-ur-core.php:760
574
  msgid "Admin approval after registration"
575
  msgstr ""
576
 
577
+ #: includes/admin/settings/class-ur-settings-general.php:224
578
  msgid ""
579
  "Enter the text message after successful form submission on admin approval "
580
  "after registration."
581
  msgstr ""
582
 
583
+ #: includes/admin/settings/class-ur-settings-general.php:229
584
+ #: includes/class-ur-frontend-scripts.php:306
585
  msgid "User registered. Wait until admin approves your registration."
586
  msgstr ""
587
 
588
+ #: includes/admin/settings/class-ur-settings-general.php:238
589
+ msgid "Error Messages"
590
+ msgstr ""
591
+
592
+ #: includes/admin/settings/class-ur-settings-general.php:245
593
+ #: includes/functions-ur-core.php:559
594
+ msgid "Required"
595
+ msgstr ""
596
+
597
+ #: includes/admin/settings/class-ur-settings-general.php:246
598
+ msgid "Enter the error message in form submission on required fields."
599
+ msgstr ""
600
+
601
+ #: includes/admin/settings/class-ur-settings-general.php:251
602
+ #: includes/class-ur-frontend-scripts.php:299
603
+ msgid "This field is required."
604
+ msgstr ""
605
+
606
+ #: includes/admin/settings/class-ur-settings-general.php:256
607
+ msgid "Enter the error message in form submission on Email."
608
+ msgstr ""
609
+
610
+ #: includes/admin/settings/class-ur-settings-general.php:261
611
+ #: includes/class-ur-frontend-scripts.php:300
612
+ msgid "Please enter a valid email address."
613
+ msgstr ""
614
+
615
+ #: includes/admin/settings/class-ur-settings-general.php:265
616
+ msgid "Website URL"
617
+ msgstr ""
618
+
619
+ #: includes/admin/settings/class-ur-settings-general.php:266
620
+ msgid "Enter the error message in form submission on website/URL."
621
+ msgstr ""
622
+
623
+ #: includes/admin/settings/class-ur-settings-general.php:271
624
+ #: includes/class-ur-frontend-scripts.php:301
625
+ msgid "Please enter a valid URL."
626
+ msgstr ""
627
+
628
+ #: includes/admin/settings/class-ur-settings-general.php:275
629
+ #: includes/form/class-ur-form-field-number.php:44
630
+ #: includes/form/class-ur-form-field-number.php:51
631
+ msgid "Number"
632
+ msgstr ""
633
+
634
+ #: includes/admin/settings/class-ur-settings-general.php:276
635
+ msgid "Enter the error message in form submission on Number."
636
+ msgstr ""
637
+
638
+ #: includes/admin/settings/class-ur-settings-general.php:281
639
+ #: includes/class-ur-frontend-scripts.php:302
640
+ msgid "Please enter a valid number."
641
+ msgstr ""
642
+
643
+ #: includes/admin/settings/class-ur-settings-general.php:285
644
+ #: includes/form/class-ur-form-field-user-confirm-password.php:50
645
+ msgid "Confirm Password"
646
+ msgstr ""
647
+
648
+ #: includes/admin/settings/class-ur-settings-general.php:286
649
+ msgid "Enter the error message in form submission on Confim Password."
650
+ msgstr ""
651
+
652
+ #: includes/admin/settings/class-ur-settings-general.php:291
653
+ #: includes/class-ur-frontend-scripts.php:303
654
+ msgid "Password and confirm password not matched."
655
+ msgstr ""
656
+
657
+ #: includes/admin/settings/class-ur-settings-general.php:295
658
+ msgid "Google reCaptcha"
659
+ msgstr ""
660
+
661
+ #: includes/admin/settings/class-ur-settings-general.php:296
662
+ msgid "Enter the error message in form submission on google recaptcha."
663
+ msgstr ""
664
+
665
+ #: includes/admin/settings/class-ur-settings-general.php:301
666
+ #: includes/class-ur-frontend-scripts.php:308
667
+ msgid "Captcha code error, please try again."
668
+ msgstr ""
669
+
670
  #: includes/admin/settings/class-ur-settings-integration.php:30
671
  msgid "Integration"
672
  msgstr ""
726
  msgstr ""
727
 
728
  #: includes/admin/settings/emails/class-ur-settings-admin-email.php:55
729
+ msgid "Email Receipents"
730
+ msgstr ""
731
+
732
+ #: includes/admin/settings/emails/class-ur-settings-admin-email.php:56
733
+ msgid "Use comma to send emails to multiple receipents."
734
+ msgstr ""
735
+
736
+ #: includes/admin/settings/emails/class-ur-settings-admin-email.php:65
737
  #: includes/admin/settings/emails/class-ur-settings-awaiting-admin-approval-email.php:58
738
  #: includes/admin/settings/emails/class-ur-settings-email-confirmation.php:47
739
  #: includes/admin/settings/emails/class-ur-settings-registration-approved-email.php:58
744
  msgid "Email Subject"
745
  msgstr ""
746
 
747
+ #: includes/admin/settings/emails/class-ur-settings-admin-email.php:66
748
  #: includes/admin/settings/emails/class-ur-settings-awaiting-admin-approval-email.php:59
749
  #: includes/admin/settings/emails/class-ur-settings-email-confirmation.php:48
750
  #: includes/admin/settings/emails/class-ur-settings-registration-approved-email.php:59
755
  msgid "The email subject you want to customize."
756
  msgstr ""
757
 
758
+ #: includes/admin/settings/emails/class-ur-settings-admin-email.php:69
759
+ #: includes/class-ur-emailer.php:201
760
  msgid "A New User Registered"
761
  msgstr ""
762
 
763
+ #: includes/admin/settings/emails/class-ur-settings-admin-email.php:75
764
  #: includes/admin/settings/emails/class-ur-settings-awaiting-admin-approval-email.php:68
765
  #: includes/admin/settings/emails/class-ur-settings-email-confirmation.php:57
766
  #: includes/admin/settings/emails/class-ur-settings-registration-approved-email.php:69
771
  msgid "Email Content"
772
  msgstr ""
773
 
774
+ #: includes/admin/settings/emails/class-ur-settings-admin-email.php:76
775
  #: includes/admin/settings/emails/class-ur-settings-awaiting-admin-approval-email.php:69
776
  #: includes/admin/settings/emails/class-ur-settings-email-confirmation.php:58
777
  #: includes/admin/settings/emails/class-ur-settings-registration-approved-email.php:70
782
  msgid "The email content you want to customize."
783
  msgstr ""
784
 
785
+ #: includes/admin/settings/emails/class-ur-settings-admin-email.php:96
786
  msgid ""
787
  "Hi Admin,\r\n"
788
  "\t\t\t\t\t<br/><br/>\r\n"
816
  msgstr ""
817
 
818
  #: includes/admin/settings/emails/class-ur-settings-awaiting-admin-approval-email.php:62
819
+ #: includes/class-ur-emailer.php:150
820
  msgid "Thank you for registration on {{blog_info}}"
821
  msgstr ""
822
 
848
  msgstr ""
849
 
850
  #: includes/admin/settings/emails/class-ur-settings-email-confirmation.php:51
851
+ #: includes/class-ur-emailer.php:137
852
  msgid "Please confirm your registration on {{blog_info}}"
853
  msgstr ""
854
 
885
  msgstr ""
886
 
887
  #: includes/admin/settings/emails/class-ur-settings-registration-approved-email.php:62
888
+ #: includes/class-ur-emailer.php:266
889
  msgid "Congratulations! Registration approved on {{blog_info}}"
890
  msgstr ""
891
 
915
  msgstr ""
916
 
917
  #: includes/admin/settings/emails/class-ur-settings-registration-denied-email.php:62
918
+ #: includes/class-ur-emailer.php:164 includes/class-ur-emailer.php:253
919
  msgid "Sorry! Registration denied on {{blog_info}}"
920
  msgstr ""
921
 
946
  msgstr ""
947
 
948
  #: includes/admin/settings/emails/class-ur-settings-registration-pending-email.php:61
949
+ #: includes/class-ur-emailer.php:240
950
  msgid "Sorry! Registration changed to pending on {{blog_info}}"
951
  msgstr ""
952
 
981
  msgstr ""
982
 
983
  #: includes/admin/settings/emails/class-ur-settings-reset-password-email.php:58
984
+ #: includes/class-ur-emailer.php:295
985
  msgid "Password Reset Email: {{blog_info}}"
986
  msgstr ""
987
 
1012
  msgstr ""
1013
 
1014
  #: includes/admin/settings/emails/class-ur-settings-successfully-registered-email.php:62
1015
+ #: includes/class-ur-emailer.php:176
1016
  msgid "Congratulations! Registration Complete on {{blog_info}}"
1017
  msgstr ""
1018
 
1223
  msgid "Could not save form. Invalid field name. Please check all field name"
1224
  msgstr ""
1225
 
1226
+ #: includes/class-ur-email-confirmation.php:94
1227
+ msgid "Verified"
1228
+ msgstr ""
1229
+
1230
+ #: includes/class-ur-email-confirmation.php:96
1231
+ msgid "Pending"
1232
+ msgstr ""
1233
+
1234
+ #: includes/class-ur-email-confirmation.php:113
1235
  msgid "User successfully registered. Login to continue."
1236
  msgstr ""
1237
 
1238
+ #: includes/class-ur-email-confirmation.php:118
1239
  msgid "Token Mismatch!"
1240
  msgstr ""
1241
 
1242
+ #: includes/class-ur-email-confirmation.php:122
1243
  msgid "Verification Email Sent!"
1244
  msgstr ""
1245
 
1246
+ #: includes/class-ur-email-confirmation.php:126
1247
  msgid "User doesnot exist!"
1248
  msgstr ""
1249
 
1250
+ #: includes/class-ur-email-confirmation.php:250
1251
  #: includes/class-ur-user-approval.php:183
1252
  #: includes/class-ur-user-approval.php:188
1253
  msgid "ERROR:"
1254
  msgstr ""
1255
 
1256
+ #: includes/class-ur-email-confirmation.php:273
1257
  msgid ""
1258
  "Email not verified! Verifiy your email by clicking on the link sent to your "
1259
  "email."
1344
  msgid "Passwords do not match."
1345
  msgstr ""
1346
 
1347
+ #: includes/class-ur-frontend-scripts.php:318
 
 
 
 
1348
  msgid "Confirm password"
1349
  msgstr ""
1350
 
1351
+ #: includes/class-ur-frontend-scripts.php:320
1352
  msgid "Too short password"
1353
  msgstr ""
1354
 
1355
+ #: includes/class-ur-frontend-scripts.php:321
1356
  msgid "Bad password"
1357
  msgstr ""
1358
 
1359
+ #: includes/class-ur-frontend-scripts.php:322
1360
  msgid "Good password"
1361
  msgstr ""
1362
 
1363
+ #: includes/class-ur-frontend-scripts.php:323
1364
  msgid "Strong password"
1365
  msgstr ""
1366
 
1367
+ #: includes/class-ur-frontend-scripts.php:324
1368
  msgid "Password with confirm password not matched."
1369
  msgstr ""
1370
 
1371
+ #: includes/class-ur-frontend-scripts.php:327
1372
  msgid ""
1373
  "Hint: The password should be at least seven characters long. To make it "
1374
  "stronger, use upper and lower case letters, numbers and symbols such as ! * "
1375
  "? $ % ^ & )."
1376
  msgstr ""
1377
 
1378
+ #: includes/class-ur-install.php:335
1379
  msgid "Default form"
1380
  msgstr ""
1381
 
1382
+ #: includes/class-ur-install.php:604
1383
  msgid "View User Registration settings"
1384
  msgstr ""
1385
 
1386
+ #: includes/class-ur-install.php:620
1387
  msgid "View User Registration documentation"
1388
  msgstr ""
1389
 
1390
+ #: includes/class-ur-install.php:620
1391
  msgid "Docs"
1392
  msgstr ""
1393
 
1394
+ #: includes/class-ur-install.php:621
1395
  msgid "Visit free customer support"
1396
  msgstr ""
1397
 
1398
+ #: includes/class-ur-install.php:621
1399
  msgid "Free support"
1400
  msgstr ""
1401
 
1532
  msgid "Your account has been denied."
1533
  msgstr ""
1534
 
1535
+ #: includes/form/class-ur-form-field-checkbox.php:43
1536
+ #: includes/form/class-ur-form-field-checkbox.php:50
1537
  msgid "Checkbox"
1538
  msgstr ""
1539
 
1540
+ #: includes/form/class-ur-form-field-country.php:37
1541
  msgid "Afghanistan"
1542
  msgstr ""
1543
 
1544
+ #: includes/form/class-ur-form-field-country.php:38
1545
  msgid "&#197;land Islands"
1546
  msgstr ""
1547
 
1548
+ #: includes/form/class-ur-form-field-country.php:39
1549
  msgid "Albania"
1550
  msgstr ""
1551
 
1552
+ #: includes/form/class-ur-form-field-country.php:40
1553
  msgid "Algeria"
1554
  msgstr ""
1555
 
1556
+ #: includes/form/class-ur-form-field-country.php:41
1557
  msgid "American Samoa"
1558
  msgstr ""
1559
 
1560
+ #: includes/form/class-ur-form-field-country.php:42
1561
  msgid "Andorra"
1562
  msgstr ""
1563
 
1564
+ #: includes/form/class-ur-form-field-country.php:43
1565
  msgid "Angola"
1566
  msgstr ""
1567
 
1568
+ #: includes/form/class-ur-form-field-country.php:44
1569
  msgid "Anguilla"
1570
  msgstr ""
1571
 
1572
+ #: includes/form/class-ur-form-field-country.php:45
1573
  msgid "Antarctica"
1574
  msgstr ""
1575
 
1576
+ #: includes/form/class-ur-form-field-country.php:46
1577
  msgid "Antigua and Barbuda"
1578
  msgstr ""
1579
 
1580
+ #: includes/form/class-ur-form-field-country.php:47
1581
  msgid "Argentina"
1582
  msgstr ""
1583
 
1584
+ #: includes/form/class-ur-form-field-country.php:48
1585
  msgid "Armenia"
1586
  msgstr ""
1587
 
1588
+ #: includes/form/class-ur-form-field-country.php:49
1589
  msgid "Aruba"
1590
  msgstr ""
1591
 
1592
+ #: includes/form/class-ur-form-field-country.php:50
1593
  msgid "Australia"
1594
  msgstr ""
1595
 
1596
+ #: includes/form/class-ur-form-field-country.php:51
1597
  msgid "Austria"
1598
  msgstr ""
1599
 
1600
+ #: includes/form/class-ur-form-field-country.php:52
1601
  msgid "Azerbaijan"
1602
  msgstr ""
1603
 
1604
+ #: includes/form/class-ur-form-field-country.php:53
1605
  msgid "Bahamas"
1606
  msgstr ""
1607
 
1608
+ #: includes/form/class-ur-form-field-country.php:54
1609
  msgid "Bahrain"
1610
  msgstr ""
1611
 
1612
+ #: includes/form/class-ur-form-field-country.php:55
1613
  msgid "Bangladesh"
1614
  msgstr ""
1615
 
1616
+ #: includes/form/class-ur-form-field-country.php:56
1617
  msgid "Barbados"
1618
  msgstr ""
1619
 
1620
+ #: includes/form/class-ur-form-field-country.php:57
1621
  msgid "Belarus"
1622
  msgstr ""
1623
 
1624
+ #: includes/form/class-ur-form-field-country.php:58
1625
  msgid "Belgium"
1626
  msgstr ""
1627
 
1628
+ #: includes/form/class-ur-form-field-country.php:59
1629
  msgid "Belau"
1630
  msgstr ""
1631
 
1632
+ #: includes/form/class-ur-form-field-country.php:60
1633
  msgid "Belize"
1634
  msgstr ""
1635
 
1636
+ #: includes/form/class-ur-form-field-country.php:61
1637
  msgid "Benin"
1638
  msgstr ""
1639
 
1640
+ #: includes/form/class-ur-form-field-country.php:62
1641
  msgid "Bermuda"
1642
  msgstr ""
1643
 
1644
+ #: includes/form/class-ur-form-field-country.php:63
1645
  msgid "Bhutan"
1646
  msgstr ""
1647
 
1648
+ #: includes/form/class-ur-form-field-country.php:64
1649
  msgid "Bolivia"
1650
  msgstr ""
1651
 
1652
+ #: includes/form/class-ur-form-field-country.php:65
1653
  msgid "Bonaire, Saint Eustatius and Saba"
1654
  msgstr ""
1655
 
1656
+ #: includes/form/class-ur-form-field-country.php:66
1657
  msgid "Bosnia and Herzegovina"
1658
  msgstr ""
1659
 
1660
+ #: includes/form/class-ur-form-field-country.php:67
1661
  msgid "Botswana"
1662
  msgstr ""
1663
 
1664
+ #: includes/form/class-ur-form-field-country.php:68
1665
  msgid "Bouvet Island"
1666
  msgstr ""
1667
 
1668
+ #: includes/form/class-ur-form-field-country.php:69
1669
  msgid "Brazil"
1670
  msgstr ""
1671
 
1672
+ #: includes/form/class-ur-form-field-country.php:70
1673
  msgid "British Indian Ocean Territory"
1674
  msgstr ""
1675
 
1676
+ #: includes/form/class-ur-form-field-country.php:71
1677
  msgid "British Virgin Islands"
1678
  msgstr ""
1679
 
1680
+ #: includes/form/class-ur-form-field-country.php:72
1681
  msgid "Brunei"
1682
  msgstr ""
1683
 
1684
+ #: includes/form/class-ur-form-field-country.php:73
1685
  msgid "Bulgaria"
1686
  msgstr ""
1687
 
1688
+ #: includes/form/class-ur-form-field-country.php:74
1689
  msgid "Burkina Faso"
1690
  msgstr ""
1691
 
1692
+ #: includes/form/class-ur-form-field-country.php:75
1693
  msgid "Burundi"
1694
  msgstr ""
1695
 
1696
+ #: includes/form/class-ur-form-field-country.php:76
1697
  msgid "Cambodia"
1698
  msgstr ""
1699
 
1700
+ #: includes/form/class-ur-form-field-country.php:77
1701
  msgid "Cameroon"
1702
  msgstr ""
1703
 
1704
+ #: includes/form/class-ur-form-field-country.php:78
1705
  msgid "Canada"
1706
  msgstr ""
1707
 
1708
+ #: includes/form/class-ur-form-field-country.php:79
1709
  msgid "Cape Verde"
1710
  msgstr ""
1711
 
1712
+ #: includes/form/class-ur-form-field-country.php:80
1713
  msgid "Cayman Islands"
1714
  msgstr ""
1715
 
1716
+ #: includes/form/class-ur-form-field-country.php:81
1717
  msgid "Central African Republic"
1718
  msgstr ""
1719
 
1720
+ #: includes/form/class-ur-form-field-country.php:82
1721
  msgid "Chad"
1722
  msgstr ""
1723
 
1724
+ #: includes/form/class-ur-form-field-country.php:83
1725
  msgid "Chile"
1726
  msgstr ""
1727
 
1728
+ #: includes/form/class-ur-form-field-country.php:84
1729
  msgid "China"
1730
  msgstr ""
1731
 
1732
+ #: includes/form/class-ur-form-field-country.php:85
1733
  msgid "Christmas Island"
1734
  msgstr ""
1735
 
1736
+ #: includes/form/class-ur-form-field-country.php:86
1737
  msgid "Cocos (Keeling) Islands"
1738
  msgstr ""
1739
 
1740
+ #: includes/form/class-ur-form-field-country.php:87
1741
  msgid "Colombia"
1742
  msgstr ""
1743
 
1744
+ #: includes/form/class-ur-form-field-country.php:88
1745
  msgid "Comoros"
1746
  msgstr ""
1747
 
1748
+ #: includes/form/class-ur-form-field-country.php:89
1749
  msgid "Congo (Brazzaville)"
1750
  msgstr ""
1751
 
1752
+ #: includes/form/class-ur-form-field-country.php:90
1753
  msgid "Congo (Kinshasa)"
1754
  msgstr ""
1755
 
1756
+ #: includes/form/class-ur-form-field-country.php:91
1757
  msgid "Cook Islands"
1758
  msgstr ""
1759
 
1760
+ #: includes/form/class-ur-form-field-country.php:92
1761
  msgid "Costa Rica"
1762
  msgstr ""
1763
 
1764
+ #: includes/form/class-ur-form-field-country.php:93
1765
  msgid "Croatia"
1766
  msgstr ""
1767
 
1768
+ #: includes/form/class-ur-form-field-country.php:94
1769
  msgid "Cuba"
1770
  msgstr ""
1771
 
1772
+ #: includes/form/class-ur-form-field-country.php:95
1773
  msgid "Cura&ccedil;ao"
1774
  msgstr ""
1775
 
1776
+ #: includes/form/class-ur-form-field-country.php:96
1777
  msgid "Cyprus"
1778
  msgstr ""
1779
 
1780
+ #: includes/form/class-ur-form-field-country.php:97
1781
  msgid "Czech Republic"
1782
  msgstr ""
1783
 
1784
+ #: includes/form/class-ur-form-field-country.php:98
1785
  msgid "Denmark"
1786
  msgstr ""
1787
 
1788
+ #: includes/form/class-ur-form-field-country.php:99
1789
  msgid "Djibouti"
1790
  msgstr ""
1791
 
1792
+ #: includes/form/class-ur-form-field-country.php:100
1793
  msgid "Dominica"
1794
  msgstr ""
1795
 
1796
+ #: includes/form/class-ur-form-field-country.php:101
1797
  msgid "Dominican Republic"
1798
  msgstr ""
1799
 
1800
+ #: includes/form/class-ur-form-field-country.php:102
1801
  msgid "Ecuador"
1802
  msgstr ""
1803
 
1804
+ #: includes/form/class-ur-form-field-country.php:103
1805
  msgid "Egypt"
1806
  msgstr ""
1807
 
1808
+ #: includes/form/class-ur-form-field-country.php:104
1809
  msgid "El Salvador"
1810
  msgstr ""
1811
 
1812
+ #: includes/form/class-ur-form-field-country.php:105
1813
  msgid "Equatorial Guinea"
1814
  msgstr ""
1815
 
1816
+ #: includes/form/class-ur-form-field-country.php:106
1817
  msgid "Eritrea"
1818
  msgstr ""
1819
 
1820
+ #: includes/form/class-ur-form-field-country.php:107
1821
  msgid "Estonia"
1822
  msgstr ""
1823
 
1824
+ #: includes/form/class-ur-form-field-country.php:108
1825
  msgid "Ethiopia"
1826
  msgstr ""
1827
 
1828
+ #: includes/form/class-ur-form-field-country.php:109
1829
  msgid "Falkland Islands"
1830
  msgstr ""
1831
 
1832
+ #: includes/form/class-ur-form-field-country.php:110
1833
  msgid "Faroe Islands"
1834
  msgstr ""
1835
 
1836
+ #: includes/form/class-ur-form-field-country.php:111
1837
  msgid "Fiji"
1838
  msgstr ""
1839
 
1840
+ #: includes/form/class-ur-form-field-country.php:112
1841
  msgid "Finland"
1842
  msgstr ""
1843
 
1844
+ #: includes/form/class-ur-form-field-country.php:113
1845
  msgid "France"
1846
  msgstr ""
1847
 
1848
+ #: includes/form/class-ur-form-field-country.php:114
1849
  msgid "French Guiana"
1850
  msgstr ""
1851
 
1852
+ #: includes/form/class-ur-form-field-country.php:115
1853
  msgid "French Polynesia"
1854
  msgstr ""
1855
 
1856
+ #: includes/form/class-ur-form-field-country.php:116
1857
  msgid "French Southern Territories"
1858
  msgstr ""
1859
 
1860
+ #: includes/form/class-ur-form-field-country.php:117
1861
  msgid "Gabon"
1862
  msgstr ""
1863
 
1864
+ #: includes/form/class-ur-form-field-country.php:118
1865
  msgid "Gambia"
1866
  msgstr ""
1867
 
1868
+ #: includes/form/class-ur-form-field-country.php:119
1869
  msgid "Georgia"
1870
  msgstr ""
1871
 
1872
+ #: includes/form/class-ur-form-field-country.php:120
1873
  msgid "Germany"
1874
  msgstr ""
1875
 
1876
+ #: includes/form/class-ur-form-field-country.php:121
1877
  msgid "Ghana"
1878
  msgstr ""
1879
 
1880
+ #: includes/form/class-ur-form-field-country.php:122
1881
  msgid "Gibraltar"
1882
  msgstr ""
1883
 
1884
+ #: includes/form/class-ur-form-field-country.php:123
1885
  msgid "Greece"
1886
  msgstr ""
1887
 
1888
+ #: includes/form/class-ur-form-field-country.php:124
1889
  msgid "Greenland"
1890
  msgstr ""
1891
 
1892
+ #: includes/form/class-ur-form-field-country.php:125
1893
  msgid "Grenada"
1894
  msgstr ""
1895
 
1896
+ #: includes/form/class-ur-form-field-country.php:126
1897
  msgid "Guadeloupe"
1898
  msgstr ""
1899
 
1900
+ #: includes/form/class-ur-form-field-country.php:127
1901
  msgid "Guam"
1902
  msgstr ""
1903
 
1904
+ #: includes/form/class-ur-form-field-country.php:128
1905
  msgid "Guatemala"
1906
  msgstr ""
1907
 
1908
+ #: includes/form/class-ur-form-field-country.php:129
1909
  msgid "Guernsey"
1910
  msgstr ""
1911
 
1912
+ #: includes/form/class-ur-form-field-country.php:130
1913
  msgid "Guinea"
1914
  msgstr ""
1915
 
1916
+ #: includes/form/class-ur-form-field-country.php:131
1917
  msgid "Guinea-Bissau"
1918
  msgstr ""
1919
 
1920
+ #: includes/form/class-ur-form-field-country.php:132
1921
  msgid "Guyana"
1922
  msgstr ""
1923
 
1924
+ #: includes/form/class-ur-form-field-country.php:133
1925
  msgid "Haiti"
1926
  msgstr ""
1927
 
1928
+ #: includes/form/class-ur-form-field-country.php:134
1929
  msgid "Heard Island and McDonald Islands"
1930
  msgstr ""
1931
 
1932
+ #: includes/form/class-ur-form-field-country.php:135
1933
  msgid "Honduras"
1934
  msgstr ""
1935
 
1936
+ #: includes/form/class-ur-form-field-country.php:136
1937
  msgid "Hong Kong"
1938
  msgstr ""
1939
 
1940
+ #: includes/form/class-ur-form-field-country.php:137
1941
  msgid "Hungary"
1942
  msgstr ""
1943
 
1944
+ #: includes/form/class-ur-form-field-country.php:138
1945
  msgid "Iceland"
1946
  msgstr ""
1947
 
1948
+ #: includes/form/class-ur-form-field-country.php:139
1949
  msgid "India"
1950
  msgstr ""
1951
 
1952
+ #: includes/form/class-ur-form-field-country.php:140
1953
  msgid "Indonesia"
1954
  msgstr ""
1955
 
1956
+ #: includes/form/class-ur-form-field-country.php:141
1957
  msgid "Iran"
1958
  msgstr ""
1959
 
1960
+ #: includes/form/class-ur-form-field-country.php:142
1961
  msgid "Iraq"
1962
  msgstr ""
1963
 
1964
+ #: includes/form/class-ur-form-field-country.php:143
1965
  msgid "Ireland"
1966
  msgstr ""
1967
 
1968
+ #: includes/form/class-ur-form-field-country.php:144
1969
  msgid "Isle of Man"
1970
  msgstr ""
1971
 
1972
+ #: includes/form/class-ur-form-field-country.php:145
1973
  msgid "Israel"
1974
  msgstr ""
1975
 
1976
+ #: includes/form/class-ur-form-field-country.php:146
1977
  msgid "Italy"
1978
  msgstr ""
1979
 
1980
+ #: includes/form/class-ur-form-field-country.php:147
1981
  msgid "Ivory Coast"
1982
  msgstr ""
1983
 
1984
+ #: includes/form/class-ur-form-field-country.php:148
1985
  msgid "Jamaica"
1986
  msgstr ""
1987
 
1988
+ #: includes/form/class-ur-form-field-country.php:149
1989
  msgid "Japan"
1990
  msgstr ""
1991
 
1992
+ #: includes/form/class-ur-form-field-country.php:150
1993
  msgid "Jersey"
1994
  msgstr ""
1995
 
1996
+ #: includes/form/class-ur-form-field-country.php:151
1997
  msgid "Jordan"
1998
  msgstr ""
1999
 
2000
+ #: includes/form/class-ur-form-field-country.php:152
2001
  msgid "Kazakhstan"
2002
  msgstr ""
2003
 
2004
+ #: includes/form/class-ur-form-field-country.php:153
2005
  msgid "Kenya"
2006
  msgstr ""
2007
 
2008
+ #: includes/form/class-ur-form-field-country.php:154
2009
  msgid "Kiribati"
2010
  msgstr ""
2011
 
2012
+ #: includes/form/class-ur-form-field-country.php:155
2013
  msgid "Kuwait"
2014
  msgstr ""
2015
 
2016
+ #: includes/form/class-ur-form-field-country.php:156
2017
  msgid "Kyrgyzstan"
2018
  msgstr ""
2019
 
2020
+ #: includes/form/class-ur-form-field-country.php:157
2021
  msgid "Laos"
2022
  msgstr ""
2023
 
2024
+ #: includes/form/class-ur-form-field-country.php:158
2025
  msgid "Latvia"
2026
  msgstr ""
2027
 
2028
+ #: includes/form/class-ur-form-field-country.php:159
2029
  msgid "Lebanon"
2030
  msgstr ""
2031
 
2032
+ #: includes/form/class-ur-form-field-country.php:160
2033
  msgid "Lesotho"
2034
  msgstr ""
2035
 
2036
+ #: includes/form/class-ur-form-field-country.php:161
2037
  msgid "Liberia"
2038
  msgstr ""
2039
 
2040
+ #: includes/form/class-ur-form-field-country.php:162
2041
  msgid "Libya"
2042
  msgstr ""
2043
 
2044
+ #: includes/form/class-ur-form-field-country.php:163
2045
  msgid "Liechtenstein"
2046
  msgstr ""
2047
 
2048
+ #: includes/form/class-ur-form-field-country.php:164
2049
  msgid "Lithuania"
2050
  msgstr ""
2051
 
2052
+ #: includes/form/class-ur-form-field-country.php:165
2053
  msgid "Luxembourg"
2054
  msgstr ""
2055
 
2056
+ #: includes/form/class-ur-form-field-country.php:166
2057
  msgid "Macao S.A.R., China"
2058
  msgstr ""
2059
 
2060
+ #: includes/form/class-ur-form-field-country.php:167
2061
  msgid "Macedonia"
2062
  msgstr ""
2063
 
2064
+ #: includes/form/class-ur-form-field-country.php:168
2065
  msgid "Madagascar"
2066
  msgstr ""
2067
 
2068
+ #: includes/form/class-ur-form-field-country.php:169
2069
  msgid "Malawi"
2070
  msgstr ""
2071
 
2072
+ #: includes/form/class-ur-form-field-country.php:170
2073
  msgid "Malaysia"
2074
  msgstr ""
2075
 
2076
+ #: includes/form/class-ur-form-field-country.php:171
2077
  msgid "Maldives"
2078
  msgstr ""
2079
 
2080
+ #: includes/form/class-ur-form-field-country.php:172
2081
  msgid "Mali"
2082
  msgstr ""
2083
 
2084
+ #: includes/form/class-ur-form-field-country.php:173
2085
  msgid "Malta"
2086
  msgstr ""
2087
 
2088
+ #: includes/form/class-ur-form-field-country.php:174
2089
  msgid "Marshall Islands"
2090
  msgstr ""
2091
 
2092
+ #: includes/form/class-ur-form-field-country.php:175
2093
  msgid "Martinique"
2094
  msgstr ""
2095
 
2096
+ #: includes/form/class-ur-form-field-country.php:176
2097
  msgid "Mauritania"
2098
  msgstr ""
2099
 
2100
+ #: includes/form/class-ur-form-field-country.php:177
2101
  msgid "Mauritius"
2102
  msgstr ""
2103
 
2104
+ #: includes/form/class-ur-form-field-country.php:178
2105
  msgid "Mayotte"
2106
  msgstr ""
2107
 
2108
+ #: includes/form/class-ur-form-field-country.php:179
2109
  msgid "Mexico"
2110
  msgstr ""
2111
 
2112
+ #: includes/form/class-ur-form-field-country.php:180
2113
  msgid "Micronesia"
2114
  msgstr ""
2115
 
2116
+ #: includes/form/class-ur-form-field-country.php:181
2117
  msgid "Moldova"
2118
  msgstr ""
2119
 
2120
+ #: includes/form/class-ur-form-field-country.php:182
2121
  msgid "Monaco"
2122
  msgstr ""
2123
 
2124
+ #: includes/form/class-ur-form-field-country.php:183
2125
  msgid "Mongolia"
2126
  msgstr ""
2127
 
2128
+ #: includes/form/class-ur-form-field-country.php:184
2129
  msgid "Montenegro"
2130
  msgstr ""
2131
 
2132
+ #: includes/form/class-ur-form-field-country.php:185
2133
  msgid "Montserrat"
2134
  msgstr ""
2135
 
2136
+ #: includes/form/class-ur-form-field-country.php:186
2137
  msgid "Morocco"
2138
  msgstr ""
2139
 
2140
+ #: includes/form/class-ur-form-field-country.php:187
2141
  msgid "Mozambique"
2142
  msgstr ""
2143
 
2144
+ #: includes/form/class-ur-form-field-country.php:188
2145
  msgid "Myanmar"
2146
  msgstr ""
2147
 
2148
+ #: includes/form/class-ur-form-field-country.php:189
2149
  msgid "Namibia"
2150
  msgstr ""
2151
 
2152
+ #: includes/form/class-ur-form-field-country.php:190
2153
  msgid "Nauru"
2154
  msgstr ""
2155
 
2156
+ #: includes/form/class-ur-form-field-country.php:191
2157
  msgid "Nepal"
2158
  msgstr ""
2159
 
2160
+ #: includes/form/class-ur-form-field-country.php:192
2161
  msgid "Netherlands"
2162
  msgstr ""
2163
 
2164
+ #: includes/form/class-ur-form-field-country.php:193
2165
  msgid "New Caledonia"
2166
  msgstr ""
2167
 
2168
+ #: includes/form/class-ur-form-field-country.php:194
2169
  msgid "New Zealand"
2170
  msgstr ""
2171
 
2172
+ #: includes/form/class-ur-form-field-country.php:195
2173
  msgid "Nicaragua"
2174
  msgstr ""
2175
 
2176
+ #: includes/form/class-ur-form-field-country.php:196
2177
  msgid "Niger"
2178
  msgstr ""
2179
 
2180
+ #: includes/form/class-ur-form-field-country.php:197
2181
  msgid "Nigeria"
2182
  msgstr ""
2183
 
2184
+ #: includes/form/class-ur-form-field-country.php:198
2185
  msgid "Niue"
2186
  msgstr ""
2187
 
2188
+ #: includes/form/class-ur-form-field-country.php:199
2189
  msgid "Norfolk Island"
2190
  msgstr ""
2191
 
2192
+ #: includes/form/class-ur-form-field-country.php:200
2193
  msgid "Northern Mariana Islands"
2194
  msgstr ""
2195
 
2196
+ #: includes/form/class-ur-form-field-country.php:201
2197
  msgid "North Korea"
2198
  msgstr ""
2199
 
2200
+ #: includes/form/class-ur-form-field-country.php:202
2201
  msgid "Norway"
2202
  msgstr ""
2203
 
2204
+ #: includes/form/class-ur-form-field-country.php:203
2205
  msgid "Oman"
2206
  msgstr ""
2207
 
2208
+ #: includes/form/class-ur-form-field-country.php:204
2209
  msgid "Pakistan"
2210
  msgstr ""
2211
 
2212
+ #: includes/form/class-ur-form-field-country.php:205
2213
  msgid "Palestinian Territory"
2214
  msgstr ""
2215
 
2216
+ #: includes/form/class-ur-form-field-country.php:206
2217
  msgid "Panama"
2218
  msgstr ""
2219
 
2220
+ #: includes/form/class-ur-form-field-country.php:207
2221
  msgid "Papua New Guinea"
2222
  msgstr ""
2223
 
2224
+ #: includes/form/class-ur-form-field-country.php:208
2225
  msgid "Paraguay"
2226
  msgstr ""
2227
 
2228
+ #: includes/form/class-ur-form-field-country.php:209
2229
  msgid "Peru"
2230
  msgstr ""
2231
 
2232
+ #: includes/form/class-ur-form-field-country.php:210
2233
  msgid "Philippines"
2234
  msgstr ""
2235
 
2236
+ #: includes/form/class-ur-form-field-country.php:211
2237
  msgid "Pitcairn"
2238
  msgstr ""
2239
 
2240
+ #: includes/form/class-ur-form-field-country.php:212
2241
  msgid "Poland"
2242
  msgstr ""
2243
 
2244
+ #: includes/form/class-ur-form-field-country.php:213
2245
  msgid "Portugal"
2246
  msgstr ""
2247
 
2248
+ #: includes/form/class-ur-form-field-country.php:214
2249
  msgid "Puerto Rico"
2250
  msgstr ""
2251
 
2252
+ #: includes/form/class-ur-form-field-country.php:215
2253
  msgid "Qatar"
2254
  msgstr ""
2255
 
2256
+ #: includes/form/class-ur-form-field-country.php:216
2257
  msgid "Reunion"
2258
  msgstr ""
2259
 
2260
+ #: includes/form/class-ur-form-field-country.php:217
2261
  msgid "Romania"
2262
  msgstr ""
2263
 
2264
+ #: includes/form/class-ur-form-field-country.php:218
2265
  msgid "Russia"
2266
  msgstr ""
2267
 
2268
+ #: includes/form/class-ur-form-field-country.php:219
2269
  msgid "Rwanda"
2270
  msgstr ""
2271
 
2272
+ #: includes/form/class-ur-form-field-country.php:220
2273
  msgid "Saint Barth&eacute;lemy"
2274
  msgstr ""
2275
 
2276
+ #: includes/form/class-ur-form-field-country.php:221
2277
  msgid "Saint Helena"
2278
  msgstr ""
2279
 
2280
+ #: includes/form/class-ur-form-field-country.php:222
2281
  msgid "Saint Kitts and Nevis"
2282
  msgstr ""
2283
 
2284
+ #: includes/form/class-ur-form-field-country.php:223
2285
  msgid "Saint Lucia"
2286
  msgstr ""
2287
 
2288
+ #: includes/form/class-ur-form-field-country.php:224
2289
  msgid "Saint Martin (French part)"
2290
  msgstr ""
2291
 
2292
+ #: includes/form/class-ur-form-field-country.php:225
2293
  msgid "Saint Martin (Dutch part)"
2294
  msgstr ""
2295
 
2296
+ #: includes/form/class-ur-form-field-country.php:226
2297
  msgid "Saint Pierre and Miquelon"
2298
  msgstr ""
2299
 
2300
+ #: includes/form/class-ur-form-field-country.php:227
2301
  msgid "Saint Vincent and the Grenadines"
2302
  msgstr ""
2303
 
2304
+ #: includes/form/class-ur-form-field-country.php:228
2305
  msgid "San Marino"
2306
  msgstr ""
2307
 
2308
+ #: includes/form/class-ur-form-field-country.php:229
2309
  msgid "S&atilde;o Tom&eacute; and Pr&iacute;ncipe"
2310
  msgstr ""
2311
 
2312
+ #: includes/form/class-ur-form-field-country.php:230
2313
  msgid "Saudi Arabia"
2314
  msgstr ""
2315
 
2316
+ #: includes/form/class-ur-form-field-country.php:231
2317
  msgid "Senegal"
2318
  msgstr ""
2319
 
2320
+ #: includes/form/class-ur-form-field-country.php:232
2321
  msgid "Serbia"
2322
  msgstr ""
2323
 
2324
+ #: includes/form/class-ur-form-field-country.php:233
2325
  msgid "Seychelles"
2326
  msgstr ""
2327
 
2328
+ #: includes/form/class-ur-form-field-country.php:234
2329
  msgid "Sierra Leone"
2330
  msgstr ""
2331
 
2332
+ #: includes/form/class-ur-form-field-country.php:235
2333
  msgid "Singapore"
2334
  msgstr ""
2335
 
2336
+ #: includes/form/class-ur-form-field-country.php:236
2337
  msgid "Slovakia"
2338
  msgstr ""
2339
 
2340
+ #: includes/form/class-ur-form-field-country.php:237
2341
  msgid "Slovenia"
2342
  msgstr ""
2343
 
2344
+ #: includes/form/class-ur-form-field-country.php:238
2345
  msgid "Solomon Islands"
2346
  msgstr ""
2347
 
2348
+ #: includes/form/class-ur-form-field-country.php:239
2349
  msgid "Somalia"
2350
  msgstr ""
2351
 
2352
+ #: includes/form/class-ur-form-field-country.php:240
2353
  msgid "South Africa"
2354
  msgstr ""
2355
 
2356
+ #: includes/form/class-ur-form-field-country.php:241
2357
  msgid "South Georgia/Sandwich Islands"
2358
  msgstr ""
2359
 
2360
+ #: includes/form/class-ur-form-field-country.php:242
2361
  msgid "South Korea"
2362
  msgstr ""
2363
 
2364
+ #: includes/form/class-ur-form-field-country.php:243
2365
  msgid "South Sudan"
2366
  msgstr ""
2367
 
2368
+ #: includes/form/class-ur-form-field-country.php:244
2369
  msgid "Spain"
2370
  msgstr ""
2371
 
2372
+ #: includes/form/class-ur-form-field-country.php:245
2373
  msgid "Sri Lanka"
2374
  msgstr ""
2375
 
2376
+ #: includes/form/class-ur-form-field-country.php:246
2377
  msgid "Sudan"
2378
  msgstr ""
2379
 
2380
+ #: includes/form/class-ur-form-field-country.php:247
2381
  msgid "Suriname"
2382
  msgstr ""
2383
 
2384
+ #: includes/form/class-ur-form-field-country.php:248
2385
  msgid "Svalbard and Jan Mayen"
2386
  msgstr ""
2387
 
2388
+ #: includes/form/class-ur-form-field-country.php:249
2389
  msgid "Swaziland"
2390
  msgstr ""
2391
 
2392
+ #: includes/form/class-ur-form-field-country.php:250
2393
  msgid "Sweden"
2394
  msgstr ""
2395
 
2396
+ #: includes/form/class-ur-form-field-country.php:251
2397
  msgid "Switzerland"
2398
  msgstr ""
2399
 
2400
+ #: includes/form/class-ur-form-field-country.php:252
2401
  msgid "Syria"
2402
  msgstr ""
2403
 
2404
+ #: includes/form/class-ur-form-field-country.php:253
2405
  msgid "Taiwan"
2406
  msgstr ""
2407
 
2408
+ #: includes/form/class-ur-form-field-country.php:254
2409
  msgid "Tajikistan"
2410
  msgstr ""
2411
 
2412
+ #: includes/form/class-ur-form-field-country.php:255
2413
  msgid "Tanzania"
2414
  msgstr ""
2415
 
2416
+ #: includes/form/class-ur-form-field-country.php:256
2417
  msgid "Thailand"
2418
  msgstr ""
2419
 
2420
+ #: includes/form/class-ur-form-field-country.php:257
2421
  msgid "Timor-Leste"
2422
  msgstr ""
2423
 
2424
+ #: includes/form/class-ur-form-field-country.php:258
2425
  msgid "Togo"
2426
  msgstr ""
2427
 
2428
+ #: includes/form/class-ur-form-field-country.php:259
2429
  msgid "Tokelau"
2430
  msgstr ""
2431
 
2432
+ #: includes/form/class-ur-form-field-country.php:260
2433
  msgid "Tonga"
2434
  msgstr ""
2435
 
2436
+ #: includes/form/class-ur-form-field-country.php:261
2437
  msgid "Trinidad and Tobago"
2438
  msgstr ""
2439
 
2440
+ #: includes/form/class-ur-form-field-country.php:262
2441
  msgid "Tunisia"
2442
  msgstr ""
2443
 
2444
+ #: includes/form/class-ur-form-field-country.php:263
2445
  msgid "Turkey"
2446
  msgstr ""
2447
 
2448
+ #: includes/form/class-ur-form-field-country.php:264
2449
  msgid "Turkmenistan"
2450
  msgstr ""
2451
 
2452
+ #: includes/form/class-ur-form-field-country.php:265
2453
  msgid "Turks and Caicos Islands"
2454
  msgstr ""
2455
 
2456
+ #: includes/form/class-ur-form-field-country.php:266
2457
  msgid "Tuvalu"
2458
  msgstr ""
2459
 
2460
+ #: includes/form/class-ur-form-field-country.php:267
2461
  msgid "Uganda"
2462
  msgstr ""
2463
 
2464
+ #: includes/form/class-ur-form-field-country.php:268
2465
  msgid "Ukraine"
2466
  msgstr ""
2467
 
2468
+ #: includes/form/class-ur-form-field-country.php:269
2469
  msgid "United Arab Emirates"
2470
  msgstr ""
2471
 
2472
+ #: includes/form/class-ur-form-field-country.php:270
2473
  msgid "United Kingdom (UK)"
2474
  msgstr ""
2475
 
2476
+ #: includes/form/class-ur-form-field-country.php:271
2477
  msgid "United States (US)"
2478
  msgstr ""
2479
 
2480
+ #: includes/form/class-ur-form-field-country.php:272
2481
  msgid "United States (US) Minor Outlying Islands"
2482
  msgstr ""
2483
 
2484
+ #: includes/form/class-ur-form-field-country.php:273
2485
  msgid "United States (US) Virgin Islands"
2486
  msgstr ""
2487
 
2488
+ #: includes/form/class-ur-form-field-country.php:274
2489
  msgid "Uruguay"
2490
  msgstr ""
2491
 
2492
+ #: includes/form/class-ur-form-field-country.php:275
2493
  msgid "Uzbekistan"
2494
  msgstr ""
2495
 
2496
+ #: includes/form/class-ur-form-field-country.php:276
2497
  msgid "Vanuatu"
2498
  msgstr ""
2499
 
2500
+ #: includes/form/class-ur-form-field-country.php:277
2501
  msgid "Vatican"
2502
  msgstr ""
2503
 
2504
+ #: includes/form/class-ur-form-field-country.php:278
2505
  msgid "Venezuela"
2506
  msgstr ""
2507
 
2508
+ #: includes/form/class-ur-form-field-country.php:279
2509
  msgid "Vietnam"
2510
  msgstr ""
2511
 
2512
+ #: includes/form/class-ur-form-field-country.php:280
2513
  msgid "Wallis and Futuna"
2514
  msgstr ""
2515
 
2516
+ #: includes/form/class-ur-form-field-country.php:281
2517
  msgid "Western Sahara"
2518
  msgstr ""
2519
 
2520
+ #: includes/form/class-ur-form-field-country.php:282
2521
  msgid "Samoa"
2522
  msgstr ""
2523
 
2524
+ #: includes/form/class-ur-form-field-country.php:283
2525
  msgid "Yemen"
2526
  msgstr ""
2527
 
2528
+ #: includes/form/class-ur-form-field-country.php:284
2529
  msgid "Zambia"
2530
  msgstr ""
2531
 
2532
+ #: includes/form/class-ur-form-field-country.php:285
2533
  msgid "Zimbabwe"
2534
  msgstr ""
2535
 
2536
+ #: includes/form/class-ur-form-field-country.php:300
2537
+ #: includes/form/class-ur-form-field-country.php:307
2538
  msgid "Country"
2539
  msgstr ""
2540
 
2541
+ #: includes/form/class-ur-form-field-description.php:44
2542
+ #: includes/form/class-ur-form-field-description.php:51
2543
  msgid "User Bio"
2544
  msgstr ""
2545
 
2546
+ #: includes/form/class-ur-form-field-display-name.php:44
2547
+ #: includes/form/class-ur-form-field-display-name.php:50
2548
  msgid "Display Name"
2549
  msgstr ""
2550
 
2551
+ #: includes/form/class-ur-form-field-email.php:44
2552
  msgid "Secondary Email "
2553
  msgstr ""
2554
 
2555
+ #: includes/form/class-ur-form-field-email.php:50
2556
  msgid "Secondary Email"
2557
  msgstr ""
2558
 
2559
+ #: includes/form/class-ur-form-field-first-name.php:44
2560
+ #: includes/form/class-ur-form-field-first-name.php:50
2561
  msgid "First Name"
2562
  msgstr ""
2563
 
2564
+ #: includes/form/class-ur-form-field-last-name.php:44
2565
  msgid "Last Name "
2566
  msgstr ""
2567
 
2568
+ #: includes/form/class-ur-form-field-last-name.php:50
2569
  msgid "Last Name"
2570
  msgstr ""
2571
 
2572
+ #: includes/form/class-ur-form-field-nickname.php:44
2573
+ #: includes/form/class-ur-form-field-nickname.php:50
2574
  msgid "Nickname"
2575
  msgstr ""
2576
 
2577
+ #: includes/form/class-ur-form-field-password.php:43
2578
+ #: includes/form/class-ur-form-field-password.php:51
 
 
 
 
2579
  msgid "Password Field"
2580
  msgstr ""
2581
 
2582
+ #: includes/form/class-ur-form-field-privacy-policy.php:43
2583
+ #: includes/form/class-ur-form-field-privacy-policy.php:50
2584
  msgid "Privacy Policy"
2585
  msgstr ""
2586
 
2587
+ #: includes/form/class-ur-form-field-radio.php:44
2588
+ #: includes/form/class-ur-form-field-radio.php:51
2589
  msgid "Radio"
2590
  msgstr ""
2591
 
2592
+ #: includes/form/class-ur-form-field-text.php:44
2593
+ #: includes/form/class-ur-form-field-text.php:51
2594
  msgid "Input Field"
2595
  msgstr ""
2596
 
2597
+ #: includes/form/class-ur-form-field-textarea.php:44
2598
+ #: includes/form/class-ur-form-field-textarea.php:50
2599
  msgid "Textarea"
2600
  msgstr ""
2601
 
2602
+ #: includes/form/class-ur-form-field-user-confirm-password.php:44
2603
  msgid "Confirm Password "
2604
  msgstr ""
2605
 
2606
+ #: includes/form/class-ur-form-field-user-email.php:44
 
 
 
 
2607
  msgid "Email "
2608
  msgstr ""
2609
 
2610
+ #: includes/form/class-ur-form-field-user-email.php:51
2611
  msgid "User Email"
2612
  msgstr ""
2613
 
2614
+ #: includes/form/class-ur-form-field-user-email.php:76
2615
  msgid "Invalid email address."
2616
  msgstr ""
2617
 
2618
+ #: includes/form/class-ur-form-field-user-email.php:85
2619
  msgid "Email already exists."
2620
  msgstr ""
2621
 
2622
+ #: includes/form/class-ur-form-field-user-login.php:44
2623
+ #: includes/form/class-ur-form-field-user-login.php:51
2624
  msgid "Username"
2625
  msgstr ""
2626
 
2627
+ #: includes/form/class-ur-form-field-user-login.php:71
2628
  msgid "Username already exists."
2629
  msgstr ""
2630
 
2631
+ #: includes/form/class-ur-form-field-user-login.php:79
2632
+ msgid "Invalid username ! "
2633
  msgstr ""
2634
 
2635
+ #: includes/form/class-ur-form-field-user-pass.php:44
2636
  msgid "Password "
2637
  msgstr ""
2638
 
2639
+ #: includes/form/class-ur-form-field-user-pass.php:50
2640
  msgid "User Password"
2641
  msgstr ""
2642
 
2643
+ #: includes/form/class-ur-form-field-user-pass.php:73
2644
  msgid "Empty password."
2645
  msgstr ""
2646
 
2647
+ #: includes/form/class-ur-form-field-user-url.php:44
2648
+ #: includes/form/class-ur-form-field-user-url.php:50
2649
  msgid "Website"
2650
  msgstr ""
2651
 
2716
  msgid "Default Value"
2717
  msgstr ""
2718
 
2719
+ #: includes/frontend/class-ur-frontend-form-handler.php:78
2720
+ msgid "Something went wrong! please try again"
2721
  msgstr ""
2722
 
2723
+ #: includes/frontend/class-ur-frontend-form-handler.php:117
2724
  msgid "Duplicate field key in form, please contact site administrator."
2725
  msgstr ""
2726
 
2727
+ #: includes/frontend/class-ur-frontend-form-handler.php:123
2728
  msgid "Required form field not found."
2729
  msgstr ""
2730
 
2731
+ #: includes/frontend/class-ur-frontend-form-handler.php:257
2732
  msgid "Empty confirm password"
2733
  msgstr ""
2734
 
2735
+ #: includes/frontend/class-ur-frontend-form-handler.php:259
2736
  msgid "Password and confirm password not matched"
2737
  msgstr ""
2738
 
2740
  msgid "Dashboard"
2741
  msgstr ""
2742
 
2743
+ #: includes/functions-ur-core.php:530 includes/functions-ur-core.php:532
 
2744
  msgid "Label"
2745
  msgstr ""
2746
 
2747
+ #: includes/functions-ur-core.php:537 includes/functions-ur-core.php:539
2748
+ msgid "Description"
2749
  msgstr ""
2750
 
2751
+ #: includes/functions-ur-core.php:544 includes/functions-ur-core.php:546
2752
+ msgid "Field Name"
2753
  msgstr ""
2754
 
2755
+ #: includes/functions-ur-core.php:552 includes/functions-ur-core.php:554
2756
+ msgid "Placeholder"
2757
  msgstr ""
2758
 
2759
+ #: includes/functions-ur-core.php:564 includes/functions-ur-core.php:575
2760
+ #: includes/functions-ur-core.php:680 includes/functions-ur-core.php:706
2761
  msgid "No"
2762
  msgstr ""
2763
 
2764
+ #: includes/functions-ur-core.php:565 includes/functions-ur-core.php:576
2765
+ #: includes/functions-ur-core.php:679 includes/functions-ur-core.php:705
2766
  msgid "Yes"
2767
  msgstr ""
2768
 
2769
+ #: includes/functions-ur-core.php:570
2770
  msgid "Hide Label"
2771
  msgstr ""
2772
 
2773
+ #: includes/functions-ur-core.php:660
2774
+ msgid "Default user role"
2775
+ msgstr ""
2776
+
2777
+ #: includes/functions-ur-core.php:672
2778
+ msgid "Enable strong password"
2779
+ msgstr ""
2780
+
2781
+ #: includes/functions-ur-core.php:687
2782
+ msgid "Form submit button label"
2783
+ msgstr ""
2784
+
2785
+ #: includes/functions-ur-core.php:698
2786
  msgid "Enable %1$s %2$s reCaptcha %3$s support"
2787
  msgstr ""
2788
 
2789
+ #: includes/functions-ur-core.php:714
2790
  msgid "Template"
2791
  msgstr ""
2792
 
2793
+ #: includes/functions-ur-core.php:721
2794
  msgid "Default"
2795
  msgstr ""
2796
 
2797
+ #: includes/functions-ur-core.php:722
2798
  msgid "Bordered"
2799
  msgstr ""
2800
 
2801
+ #: includes/functions-ur-core.php:723
2802
  msgid "Flat"
2803
  msgstr ""
2804
 
2805
+ #: includes/functions-ur-core.php:724
2806
  msgid "Rounded"
2807
  msgstr ""
2808
 
2809
+ #: includes/functions-ur-core.php:725
2810
  msgid "Rounded Edge"
2811
  msgstr ""
2812
 
2813
+ #: includes/functions-ur-core.php:732
2814
+ msgid "Custom CSS class"
2815
+ msgstr ""
2816
+
2817
+ #: includes/functions-ur-core.php:759
2818
  msgid "Auto login after registration"
2819
  msgstr ""
2820
 
2821
+ #: includes/functions-ur-core.php:968
2822
  msgid ""
2823
  "The class <code>%s</code> provided by user_registration_logging_class "
2824
  "filter must implement <code>UR_Logger_Interface</code>."
2825
  msgstr ""
2826
 
2827
+ #: includes/functions-ur-core.php:1057
2828
  msgid "Disable emails"
2829
  msgstr ""
2830
 
2831
+ #: includes/functions-ur-core.php:1058
2832
  msgid "Disable all emails sent after registration."
2833
  msgstr ""
2834
 
2839
  msgid "This function should not be called before user_registration_init."
2840
  msgstr ""
2841
 
2842
+ #: includes/functions-ur-template.php:126
2843
  msgid "required"
2844
  msgstr ""
2845
 
2846
+ #: includes/functions-ur-template.php:245
2847
  msgid "Choose an option"
2848
  msgstr ""
2849
 
3134
  msgstr[0] ""
3135
  msgstr[1] ""
3136
 
3137
+ #: includes/admin/class-ur-admin-user-list-manager.php:76
3138
  msgctxt "The action on users list page"
3139
  msgid "Approve"
3140
  msgstr ""
3141
 
3142
+ #: includes/admin/class-ur-admin-user-list-manager.php:77
3143
  msgctxt "The action on users list page"
3144
  msgid "Deny"
3145
  msgstr ""
3146
 
3147
+ #: includes/class-ur-install.php:275
3148
  msgctxt "Page slug"
3149
  msgid "my-account"
3150
  msgstr ""
3151
 
3152
+ #: includes/class-ur-install.php:284
3153
  msgctxt "Page slug"
3154
  msgid "registration"
3155
  msgstr ""
3156
 
3157
+ #: includes/class-ur-install.php:276
3158
  msgctxt "Page title"
3159
  msgid "My Account"
3160
  msgstr ""
3161
 
3162
+ #: includes/class-ur-install.php:285
3163
  msgctxt "Page title"
3164
  msgid "Registration"
3165
  msgstr ""
package-lock.json CHANGED
@@ -1,6 +1,6 @@
1
  {
2
  "name": "user-registration",
3
- "version": "1.3.1",
4
  "lockfileVersion": 1,
5
  "requires": true,
6
  "dependencies": {
1
  {
2
  "name": "user-registration",
3
+ "version": "1.4.0",
4
  "lockfileVersion": 1,
5
  "requires": true,
6
  "dependencies": {
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: WPEverest
3
  Tags: user registration, registration, profile-builder, user profile, form, registration form, login form, user login, membership
4
  Requires at least: 4.0
5
  Tested up to: 4.9
6
- Stable tag: 1.3.1
7
  License: GPLv3
8
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
9
 
@@ -93,6 +93,17 @@ Yes, the plugin is designed to work with any themes that have been coded followi
93
 
94
  == Changelog ==
95
 
 
 
 
 
 
 
 
 
 
 
 
96
  = 1.3.1 - 23/05/2018 =
97
  * Feature - Extend Data Export/Erasure tool to export/erase user extra information
98
  * Fix - Translation ready email contents
@@ -132,23 +143,6 @@ Yes, the plugin is designed to work with any themes that have been coded followi
132
  * Fix - Date rendering issue
133
  * Tweak - Remove login header from login shortcode
134
 
135
- = 1.2.1 - 16/03/2018 =
136
- * Feature - Pending users approval notice for admin
137
- * Feature - Form filled data in email
138
- * Fix - Pending email issue
139
- * Fix - Redirect from email url to default login message issue
140
- * Fix - Load email classes only on demand
141
-
142
-
143
- = 1.2.0 - 22/02/2018 =
144
- * Fix - Design issue in mobile view.
145
- * Fix - Missing closing anchor tag.
146
- * Fix - Remove email token after use.
147
- * Fix - Store radio field value properly.
148
- * Fix - Console DOM error for checkbox field.
149
- * Feature - Redirect to custom page via email.
150
- * Refactor - Usermeta data store process.
151
-
152
  [See changelog for all versions](https://raw.githubusercontent.com/wpeverest/user-registration/master/CHANGELOG.txt).
153
 
154
  == Upgrade Notice ==
3
  Tags: user registration, registration, profile-builder, user profile, form, registration form, login form, user login, membership
4
  Requires at least: 4.0
5
  Tested up to: 4.9
6
+ Stable tag: 1.4.0
7
  License: GPLv3
8
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
9
 
93
 
94
  == Changelog ==
95
 
96
+ = 1.4.0 - 12/06/2018 =
97
+ * Refactor - Form fields
98
+ * Remove - Repeated settings from global
99
+ * Feature - Custom validation error messages
100
+ * Feature - Cutomizable/multiple admin emails
101
+ * Feature - Custom class for registration form
102
+ * Feature - Smart tags to email every form field filled
103
+ * Feature - Display email status column in users tab for email confirmation
104
+ * Fix - Display reCaptcha node only if enabled
105
+ * Deprecate - Functions my_simple_crypt() and getToken()
106
+
107
  = 1.3.1 - 23/05/2018 =
108
  * Feature - Extend Data Export/Erasure tool to export/erase user extra information
109
  * Fix - Translation ready email contents
143
  * Fix - Date rendering issue
144
  * Tweak - Remove login header from login shortcode
145
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
146
  [See changelog for all versions](https://raw.githubusercontent.com/wpeverest/user-registration/master/CHANGELOG.txt).
147
 
148
  == Upgrade Notice ==
templates/form-registration.php CHANGED
@@ -30,6 +30,8 @@ $frontend = UR_Frontend::instance();
30
 
31
  $form_template = ur_get_form_setting_by_key( $form_id, 'user_registration_form_template', 'Default' );
32
 
 
 
33
  $template_class = '';
34
 
35
  if ( $form_template == 'Bordered' ) {
@@ -40,17 +42,17 @@ if ( $form_template == 'Bordered' ) {
40
 
41
  $template_class = 'ur-frontend-form--flat';
42
 
43
- } else if($form_template == 'Rounded'){
44
 
45
- $template_class = 'ur-frontend-form--rounded';
46
 
47
- } else if($form_template == 'Rounded Edge'){
48
 
49
  $template_class = 'ur-frontend-form--rounded ur-frontend-form--rounded-edge';
50
- }
51
 
52
  ?>
53
- <div class='ur-frontend-form <?php echo $template_class; ?>' id='ur-frontend-form'>
54
  <form method='post' class='register'
55
  data-enable-strength-password="<?php echo $enable_strong_password ?>" <?php echo apply_filters( 'user_registration_form_params', '' ) ?>>
56
 
@@ -95,23 +97,18 @@ if ( $form_template == 'Bordered' ) {
95
  <?php } // End foreach().
96
 
97
  if ( $is_field_exists ) {
98
-
99
  ?>
100
- <div id="ur-recaptcha-node" style="width:100px;max-width: 100px;">
101
-
102
- <?php
103
-
104
- echo $recaptcha_node;
105
-
106
  ?>
 
 
 
 
107
 
108
- </div>
109
- <button type="submit"
110
- class="btn button ur-submit-button">
111
- <span></span><?php echo __( ur_get_form_setting_by_key( $form_id, 'user_registration_form_setting_form_submit_label' ), 'user-registration' ); ?>
112
- </button>
113
-
114
- <?php }
115
 
116
 
117
  if ( count( $form_data_array ) == 0 ) {
30
 
31
  $form_template = ur_get_form_setting_by_key( $form_id, 'user_registration_form_template', 'Default' );
32
 
33
+ $custom_class = ur_get_form_setting_by_key( $form_id, 'user_registration_form_custom_class', '' );
34
+
35
  $template_class = '';
36
 
37
  if ( $form_template == 'Bordered' ) {
42
 
43
  $template_class = 'ur-frontend-form--flat';
44
 
45
+ } else if($form_template == 'Rounded'){
46
 
47
+ $template_class = 'ur-frontend-form--rounded';
48
 
49
+ } else if($form_template == 'Rounded Edge'){
50
 
51
  $template_class = 'ur-frontend-form--rounded ur-frontend-form--rounded-edge';
52
+ }
53
 
54
  ?>
55
+ <div class='ur-frontend-form <?php echo $template_class .' '. $custom_class; ?>' id='ur-frontend-form'>
56
  <form method='post' class='register'
57
  data-enable-strength-password="<?php echo $enable_strong_password ?>" <?php echo apply_filters( 'user_registration_form_params', '' ) ?>>
58
 
97
  <?php } // End foreach().
98
 
99
  if ( $is_field_exists ) {
 
100
  ?>
101
+ <?php if( ! empty( $recaptcha_node ) ) {
102
+ echo '<div id="ur-recaptcha-node" style="width:100px;max-width: 100px;"> '. $recaptcha_node .'</div>';
103
+ }
 
 
 
104
  ?>
105
+ <button type="submit"
106
+ class="btn button ur-submit-button">
107
+ <span></span><?php echo __( ur_get_form_setting_by_key( $form_id, 'user_registration_form_setting_form_submit_label' ), 'user-registration' ); ?>
108
+ </button>
109
 
110
+ <?php
111
+ }
 
 
 
 
 
112
 
113
 
114
  if ( count( $form_data_array ) == 0 ) {
user-registration.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: User Registration
4
  * Plugin URI: https://wpeverest.com/plugins/user-registration
5
  * Description: Drag and Drop user registration and login form builder.
6
- * Version: 1.3.1
7
  * Author: WPEverest
8
  * Author URI: https://wpeverest.com
9
  * Text Domain: user-registration
@@ -30,7 +30,7 @@ final class UserRegistration {
30
  * Plugin version.
31
  * @var string
32
  */
33
- public $version = '1.3.1';
34
 
35
  /**
36
  * Session instance.
3
  * Plugin Name: User Registration
4
  * Plugin URI: https://wpeverest.com/plugins/user-registration
5
  * Description: Drag and Drop user registration and login form builder.
6
+ * Version: 1.4.0
7
  * Author: WPEverest
8
  * Author URI: https://wpeverest.com
9
  * Text Domain: user-registration
30
  * Plugin version.
31
  * @var string
32
  */
33
+ public $version = '1.4.0';
34
 
35
  /**
36
  * Session instance.