WP Mail SMTP by WPForms - Version 1.7.0

Version Description

  • 2019-10-24 =
  • Added: Add a new constant WPMS_DO_NOT_SEND to block email sending.
  • Fixed: Default email (wordpress@example.com) rewriting in CLI mode.
  • Fixed: Incorrect conflicts detection with certain plugins.
  • Fixed: various typos in plugin settings.
Download this release

Release Info

Developer slaFFik
Plugin Icon 128x128 WP Mail SMTP by WPForms
Version 1.7.0
Comparing to
See all releases

Code changes from version 1.6.2 to 1.7.0

Files changed (91) hide show
  1. assets/css/smtp-admin.min.css +1 -1
  2. assets/images/providers/aws.svg +1 -0
  3. assets/images/{google.svg → providers/google.svg} +0 -0
  4. assets/images/{mailgun.svg → providers/mailgun.svg} +0 -0
  5. assets/images/providers/microsoft.svg +1 -0
  6. assets/images/{pepipost.png → providers/pepipost.png} +0 -0
  7. assets/images/{php.svg → providers/php.svg} +0 -0
  8. assets/images/{sendgrid.svg → providers/sendgrid.svg} +0 -0
  9. assets/images/{sendinblue.svg → providers/sendinblue.svg} +0 -0
  10. assets/images/{smtp.svg → providers/smtp.svg} +0 -0
  11. assets/js/smtp-admin.js +46 -3
  12. assets/js/smtp-admin.min.js +1 -1
  13. assets/languages/wp-mail-smtp.pot +195 -149
  14. assets/libs/jquery-confirm.min.css +9 -0
  15. assets/libs/jquery-confirm.min.js +10 -0
  16. class-wpms-am-notification.php +0 -455
  17. readme.txt +7 -1
  18. src/AM_Notification.php +0 -457
  19. src/Admin/Area.php +37 -0
  20. src/Admin/Pages/ControlTab.php +124 -124
  21. src/Admin/Pages/MiscTab.php +20 -4
  22. src/Admin/Pages/SettingsTab.php +40 -28
  23. src/Conflicts.php +28 -29
  24. src/Core.php +46 -17
  25. src/Geo.php +2 -1
  26. src/MailCatcher.php +2 -2
  27. src/Options.php +22 -0
  28. src/Processor.php +23 -13
  29. src/Providers/AmazonSES/Options.php +44 -0
  30. src/Providers/Gmail/Options.php +1 -1
  31. src/Providers/Loader.php +3 -0
  32. src/Providers/Mail/Options.php +1 -1
  33. src/Providers/Mailgun/Options.php +1 -1
  34. src/Providers/OptionsAbstract.php +23 -1
  35. src/Providers/Outlook/Options.php +44 -0
  36. src/Providers/Pepipost/Options.php +1 -1
  37. src/Providers/SMTP/Options.php +1 -1
  38. src/Providers/Sendgrid/Options.php +1 -1
  39. src/Providers/Sendinblue/Api.php +93 -93
  40. src/Providers/Sendinblue/Options.php +1 -1
  41. vendor/google/auth/src/AccessToken.php +320 -0
  42. vendor/google/auth/src/ApplicationDefaultCredentials.php +1 -1
  43. vendor/google/auth/src/Credentials/GCECredentials.php +22 -2
  44. vendor/google/auth/src/ServiceAccountSignerTrait.php +1 -1
  45. vendor/guzzlehttp/guzzle/Dockerfile +18 -0
  46. vendor/guzzlehttp/guzzle/src/Client.php +1 -1
  47. vendor/guzzlehttp/guzzle/src/ClientInterface.php +1 -1
  48. vendor/guzzlehttp/guzzle/src/Cookie/CookieJar.php +1 -1
  49. vendor/guzzlehttp/guzzle/src/Cookie/FileCookieJar.php +2 -1
  50. vendor/guzzlehttp/guzzle/src/Cookie/SessionCookieJar.php +1 -0
  51. vendor/guzzlehttp/guzzle/src/Cookie/SetCookie.php +2 -2
  52. vendor/guzzlehttp/guzzle/src/Exception/ClientException.php +3 -1
  53. vendor/guzzlehttp/guzzle/src/Exception/GuzzleException.php +20 -10
  54. vendor/guzzlehttp/guzzle/src/Exception/InvalidArgumentException.php +7 -0
  55. vendor/guzzlehttp/guzzle/src/Exception/RequestException.php +1 -1
  56. vendor/guzzlehttp/guzzle/src/Exception/ServerException.php +3 -1
  57. vendor/guzzlehttp/guzzle/src/Exception/TooManyRedirectsException.php +3 -1
  58. vendor/guzzlehttp/guzzle/src/Exception/TransferException.php +3 -1
  59. vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php +22 -7
  60. vendor/guzzlehttp/guzzle/src/Handler/CurlMultiHandler.php +11 -5
  61. vendor/guzzlehttp/guzzle/src/Handler/MockHandler.php +2 -1
  62. vendor/guzzlehttp/guzzle/src/Handler/StreamHandler.php +17 -5
  63. vendor/guzzlehttp/guzzle/src/HandlerStack.php +4 -4
  64. vendor/guzzlehttp/guzzle/src/Middleware.php +3 -4
  65. vendor/guzzlehttp/guzzle/src/Pool.php +1 -1
  66. vendor/guzzlehttp/guzzle/src/RedirectMiddleware.php +1 -1
  67. vendor/guzzlehttp/guzzle/src/RequestOptions.php +1 -1
  68. vendor/guzzlehttp/guzzle/src/RetryMiddleware.php +4 -1
  69. vendor/guzzlehttp/guzzle/src/TransferStats.php +1 -1
  70. vendor/guzzlehttp/guzzle/src/functions.php +18 -5
  71. vendor/monolog/monolog/src/Monolog/Formatter/JsonFormatter.php +0 -6
  72. vendor/monolog/monolog/src/Monolog/Formatter/NormalizerFormatter.php +0 -17
  73. vendor/monolog/monolog/src/Monolog/Handler/ChromePHPHandler.php +2 -2
  74. vendor/monolog/monolog/src/Monolog/Handler/FormattableHandlerInterface.php +39 -0
  75. vendor/monolog/monolog/src/Monolog/Handler/FormattableHandlerTrait.php +63 -0
  76. vendor/monolog/monolog/src/Monolog/Handler/GroupHandler.php +2 -1
  77. vendor/monolog/monolog/src/Monolog/Handler/HipChatHandler.php +2 -0
  78. vendor/monolog/monolog/src/Monolog/Handler/InsightOpsHandler.php +1 -1
  79. vendor/monolog/monolog/src/Monolog/Handler/ProcessableHandlerInterface.php +40 -0
  80. vendor/monolog/monolog/src/Monolog/Handler/ProcessableHandlerTrait.php +73 -0
  81. vendor/monolog/monolog/src/Monolog/Handler/RavenHandler.php +2 -0
  82. vendor/monolog/monolog/src/Monolog/Handler/SlackbotHandler.php +6 -2
  83. vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php +1 -0
  84. vendor/monolog/monolog/src/Monolog/Handler/SyslogUdpHandler.php +29 -8
  85. vendor/monolog/monolog/src/Monolog/Handler/TestHandler.php +13 -0
  86. vendor/monolog/monolog/src/Monolog/Handler/WhatFailureGroupHandler.php +2 -1
  87. vendor/monolog/monolog/src/Monolog/Handler/ZendMonitorHandler.php +26 -20
  88. vendor/monolog/monolog/src/Monolog/SignalHandler.php +1 -1
  89. vendor/phpseclib/phpseclib/phpseclib/Math/BigInteger.php +3787 -3779
  90. wp-mail-smtp-0.11.2.php +14 -57
  91. wp_mail_smtp.php +2 -2
assets/css/smtp-admin.min.css CHANGED
@@ -1,3 +1,3 @@
1
- #wpcontent{padding-left:0 !important;position:relative}@media (max-width: 600px){#wpcontent{padding-top:46px}}@media (max-width: 600px){#wpbody{padding-top:0}}#wp-mail-smtp-header{border-top:3px solid #FF982D;padding:20px}#wp-mail-smtp-header img{display:block;margin:0;max-width:242px}@media (max-width: 782px){#wp-mail-smtp-header img{max-width:200px}}#wp-mail-smtp{margin:0}#wp-mail-smtp .wp-mail-smtp-hide{display:none}#wp-mail-smtp .wp-mail-smtp-page-title{background-color:#fff;font-size:14px;margin:0 0 20px 0;padding:0 20px}#wp-mail-smtp .wp-mail-smtp-page-title a.tab{border-bottom:2px solid #fff;box-shadow:none;color:#666;display:inline-block;margin-right:30px;padding:20px 0 18px 0;text-decoration:none}#wp-mail-smtp .wp-mail-smtp-page-title a.tab.active{border-bottom:2px solid #FF982D}#wp-mail-smtp .wp-mail-smtp-page-title a.tab:hover{border-color:#999}#wp-mail-smtp .wp-mail-smtp-page-title a.action{padding:5px;border:0;min-height:auto;color:#fff;margin:-10px 0 0 20px}#wp-mail-smtp .wp-mail-smtp-page-title .page-title{background-color:#fff;display:inline-block;font-size:23px;margin:0;padding:15px 20px 15px 0}#wp-mail-smtp .wp-mail-smtp-page-content{padding:0 20px}#wp-mail-smtp .wp-mail-smtp-page-content *,#wp-mail-smtp .wp-mail-smtp-page-content *::before,#wp-mail-smtp .wp-mail-smtp-page-content *::after{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-clear:before{content:" ";display:table}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-clear:after{clear:both;content:" ";display:table}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row{border-bottom:1px solid #e4e4e4;padding:30px 0;font-size:14px;line-height:1.3}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row:first-of-type{padding-top:10px !important}@media (max-width: 781px){#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row{padding:20px 0}}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row.inactive{display:none}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row .wp-mail-smtp-setting-mid-row-sep{background:#e4e4e4;height:1px;border:0;margin:15px 0}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row.section-heading{padding:20px 0}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row.section-heading.no-desc h2,#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row.section-heading.no-desc h4{margin:0}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row.section-heading .wp-mail-smtp-setting-field{margin:0;max-width:1005px}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-checkbox input[type=checkbox]{float:left;margin:1px 0 0 0}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-checkbox input[type=checkbox]+label{margin:0 0 0 8px}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-checkbox .desc{margin:0 0 0 30px}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-checkbox input[type=checkbox]+label+.desc{margin:8px 0 0 0}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-text .wp-mail-smtp-setting-label,#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-password .wp-mail-smtp-setting-label,#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-number .wp-mail-smtp-setting-label,#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-email .wp-mail-smtp-setting-label{padding-top:8px}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-select .wp-mail-smtp-setting-label{padding-top:8px}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-radio .wp-mail-smtp-setting-field input[type=radio]{margin:-3px 10px 0 0}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-radio .wp-mail-smtp-setting-field label{margin-right:30px;display:inline-block}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-checkbox-toggle .wp-mail-smtp-setting-field label{vertical-align:middle;display:inline-block}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-checkbox-toggle .wp-mail-smtp-setting-field label:hover .wp-mail-smtp-setting-toggle-switch{background-color:#999}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-checkbox-toggle .wp-mail-smtp-setting-field input[type=checkbox]{display:none}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-checkbox-toggle .wp-mail-smtp-setting-field input[type=checkbox]:checked+.wp-mail-smtp-setting-toggle-switch{background-color:#46B450}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-checkbox-toggle .wp-mail-smtp-setting-field input[type=checkbox]:checked+.wp-mail-smtp-setting-toggle-switch:before{-webkit-transform:translateX(19px);-ms-transform:translateX(19px);transform:translateX(19px)}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-checkbox-toggle .wp-mail-smtp-setting-field input[type=checkbox]:disabled+.wp-mail-smtp-setting-toggle-switch{background-color:#69c471;cursor:default}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-checkbox-toggle .wp-mail-smtp-setting-field input[type=checkbox]:checked+.wp-mail-smtp-setting-toggle-switch+.wp-mail-smtp-setting-toggle-checked-label{display:inline-block}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-checkbox-toggle .wp-mail-smtp-setting-field input[type=checkbox]:checked+.wp-mail-smtp-setting-toggle-switch+.wp-mail-smtp-setting-toggle-checked-label+.wp-mail-smtp-setting-toggle-unchecked-label{display:none}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-checkbox-toggle .wp-mail-smtp-setting-field input[type=checkbox]:disabled+.wp-mail-smtp-setting-toggle-switch+.wp-mail-smtp-setting-toggle-checked-label,#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-checkbox-toggle .wp-mail-smtp-setting-field input[type=checkbox]:disabled+.wp-mail-smtp-setting-toggle-switch+.wp-mail-smtp-setting-toggle-unchecked-label{color:#aaa}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-checkbox-toggle .wp-mail-smtp-setting-field .wp-mail-smtp-setting-toggle-unchecked-label,#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-checkbox-toggle .wp-mail-smtp-setting-field .wp-mail-smtp-setting-toggle-checked-label{text-transform:uppercase;font-weight:400;color:#777;font-size:13px}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-checkbox-toggle .wp-mail-smtp-setting-field .wp-mail-smtp-setting-toggle-checked-label{display:none}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-checkbox-toggle .wp-mail-smtp-setting-field .wp-mail-smtp-setting-toggle-switch{position:relative;cursor:pointer;background-color:#ccc;border-radius:15px;-webkit-transition:all 0.2s ease-in-out;-moz-transition:all 0.2s ease-in-out;-ms-transition:all 0.2s ease-in-out;transition:all 0.2s ease-in-out;vertical-align:middle;position:relative;display:inline-block;margin:0 5px 0 0;width:40px;height:20px}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-checkbox-toggle .wp-mail-smtp-setting-field .wp-mail-smtp-setting-toggle-switch:before{position:absolute;content:"";height:14px;width:14px;left:3px;top:3px;background-color:#fff;border-radius:50%;-webkit-transition:all 0.2s ease-in-out;-moz-transition:all 0.2s ease-in-out;-ms-transition:all 0.2s ease-in-out;transition:all 0.2s ease-in-out}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-mailer{padding-bottom:20px}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-mailer .wp-mail-smtp-mailers{width:680px}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-mailer .wp-mail-smtp-mailer{display:inline-block;width:150px;margin-right:15px;margin-bottom:15px;position:relative}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-mailer .wp-mail-smtp-mailer .wp-mail-smtp-mailer-recommended{position:absolute;right:-1px;width:99px;top:2px;z-index:1}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-mailer .wp-mail-smtp-mailer:last-child{margin-right:0}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-mailer .wp-mail-smtp-mailer .wp-mail-smtp-mailer-image{background:#fff;text-align:center;border:2px solid #E5E5E5;border-radius:4px;cursor:pointer;height:76px;position:relative;margin-bottom:10px;-webkit-transition:all 0.2s ease-in-out;-moz-transition:all 0.2s ease-in-out;-ms-transition:all 0.2s ease-in-out;transition:all 0.2s ease-in-out}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-mailer .wp-mail-smtp-mailer .wp-mail-smtp-mailer-image.is-recommended{background-image:url(../images/recommended.svg);background-repeat:no-repeat;background-size:60%;background-position:top right -2px}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-mailer .wp-mail-smtp-mailer .wp-mail-smtp-mailer-image img{max-width:90%;max-height:40px;display:block;position:relative;top:50%;left:50%;transform:translate(-50%, -50%);opacity:0.6;-webkit-transition:all 0.2s ease-in-out;-moz-transition:all 0.2s ease-in-out;-ms-transition:all 0.2s ease-in-out;transition:all 0.2s ease-in-out}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-mailer .wp-mail-smtp-mailer.wp-mail-smtp-mailer-smtp .wp-mail-smtp-mailer-image img{max-height:30px}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-mailer .wp-mail-smtp-mailer.active .wp-mail-smtp-mailer-image{border-color:#FF982D}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-mailer .wp-mail-smtp-mailer.active .wp-mail-smtp-mailer-image img{opacity:1}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-mailer .wp-mail-smtp-mailer:hover .wp-mail-smtp-mailer-image{border-color:#ccc}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-mailer .wp-mail-smtp-mailer:hover .wp-mail-smtp-mailer-image img{opacity:1}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row h2,#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row h4{color:#444;font-size:20px;font-weight:700;margin:0 0 6px 0}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row h2{margin-bottom:15px}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row h3{color:#444;font-size:24px;font-weight:600;margin:0 0 20px 0}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row p{margin:12px 0 0;font-size:14px;line-height:1.5em}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row p:first-of-type{margin:8px 0 0}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row p.desc{font-style:italic;color:#777}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row p.buttonned{margin-top:30px}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row p.inline-notice{margin:5px 0 15px;box-sizing:border-box;background:#fff;border-left:4px solid transparent;box-shadow:0 1px 1px 0 rgba(0,0,0,0.1)}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row p.inline-notice.inline-error{border-color:#dc3232;margin-bottom:5px;padding:10px}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row p.inline-notice.inline-edu-notice{border-color:#809EB0;line-height:1.5em;padding:10px}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row p.inline-notice a.wp-mail-smtp-mailer-notice-dismiss{float:right;color:#999DA1;margin:0 0 10px 10px;text-decoration:none}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row p.inline-notice a.wp-mail-smtp-mailer-notice-dismiss:hover{color:#666a6e}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row ul{margin:8px 0 0}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row ul.list li{margin-left:20px;list-style-type:disc}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row table.actions-list td,#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row table.actions-list th{padding:5px 5px 5px 0;text-align:left}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row table.actions-list td.email{padding-right:2em}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row table.actions-list td.status{width:100px}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row table.actions-list td.actions a{border-bottom:1px solid;display:inline-block;margin-right:5px;text-decoration:none}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row table.actions-list td.actions a[class*=delete]{color:#a00}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row table.actions-list td.actions a[class*=delete]:hover,#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row table.actions-list td.actions a[class*=delete]:active,#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row table.actions-list td.actions a[class*=delete]:focus{color:#400}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row input[type=text],#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row input[type=email],#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row input[type=number],#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row input[type=password]{background-color:#fff;border:1px solid #ddd;border-radius:3px;box-shadow:none;color:#333;display:inline-block;vertical-align:middle;padding:7px 12px;margin:0 10px 0 0;width:400px;min-height:35px}@media (max-width: 959px){#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row input[type=text],#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row input[type=email],#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row input[type=number],#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row input[type=password]{width:300px}}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row input[type=text][readonly],#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row input[type=email][readonly],#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row input[type=number][readonly],#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row input[type=password][readonly]{background-color:#f9f9f9}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row input[type=text].small-text,#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row input[type=email].small-text,#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row input[type=number].small-text,#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row input[type=password].small-text{width:75px}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row input[type=text]:focus,#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row input[type=email]:focus,#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row input[type=number]:focus,#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row input[type=password]:focus{border-color:#bbb}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row input[type=text]:disabled,#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row input[type=email]:disabled,#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row input[type=number]:disabled,#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row input[type=password]:disabled{opacity:0.6}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-label{display:block;float:left;width:205px;padding:0 20px 0 0}@media (max-width: 781px){#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-label{float:none;width:100%;padding-bottom:15px}}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-label label{display:block;font-weight:600;font-size:1.1em}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-field{display:block;margin:0 0 0 205px;max-width:800px}@media (max-width: 781px){#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-field{margin:0}}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-submit{margin:0;padding:25px 0}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-submit .help-text{margin-left:10px;vertical-align:middle}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-mailer-options .wp-mail-smtp-mailer-option .wp-mail-smtp-setting-row.section-heading{padding:20px 0 !important}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-mailer-options .wp-mail-smtp-mailer-option blockquote{background:#E5E5E5;border-radius:4px;color:#666;font-size:14px;margin:20px 0;padding:15px;width:1005px}#wp-mail-smtp .wp-mail-smtp-page-content.wp-mail-smtp-page-general p{margin:0}#wp-mail-smtp .wp-mail-smtp-page-content .notice-inline{background:#fff;border-left:4px solid #fff;box-shadow:0 1px 1px 0 rgba(0,0,0,0.1);margin:5px 0 15px;padding:1px 12px}#wp-mail-smtp .wp-mail-smtp-page-content .notice-inline.notice-success{border-left-color:#46b450}#wp-mail-smtp .wp-mail-smtp-page-content .notice-inline.notice-warning{border-left-color:#ffb900}#wp-mail-smtp .wp-mail-smtp-page-content .notice-inline.notice-error{border-left-color:#dc3232}#wp-mail-smtp .wp-mail-smtp-page-content .notice-inline.notice-info{border-left-color:#00a0d2}#wp-mail-smtp .wp-mail-smtp-page-content .notice p,#wp-mail-smtp .wp-mail-smtp-page-content .notice-inline p{margin:0.5em 0;padding:2px}#wp-mail-smtp .wp-mail-smtp-page-content pre{white-space:pre-line}#wp-mail-smtp .wp-mail-smtp-page-content.active{display:block}#wp-mail-smtp .wp-mail-smtp-page-content .connected-as{margin-left:30px}#wp-mail-smtp .wp-mail-smtp-page-content #wp-mail-smtp-debug{background-color:#fff;padding:25px 20px 1px 25px}#wp-mail-smtp .wp-mail-smtp-page-content #wp-mail-smtp-debug h2{color:#444;margin:1.4em 0 0.8em;font-size:16px;font-weight:700}#wp-mail-smtp .wp-mail-smtp-page-content #wp-mail-smtp-debug p{font-size:14px;color:#555;margin-bottom:1.1em}#wp-mail-smtp .wp-mail-smtp-page-content #wp-mail-smtp-debug ul,#wp-mail-smtp .wp-mail-smtp-page-content #wp-mail-smtp-debug ol{font-size:14px;color:#555;margin:0 0 1.1em 1.8em}#wp-mail-smtp .wp-mail-smtp-page-content #wp-mail-smtp-debug ul li,#wp-mail-smtp .wp-mail-smtp-page-content #wp-mail-smtp-debug ol li{margin:0 0 8px 0;line-height:1.5}#wp-mail-smtp .wp-mail-smtp-page-content #wp-mail-smtp-debug ul li:last-of-type,#wp-mail-smtp .wp-mail-smtp-page-content #wp-mail-smtp-debug ol li:last-of-type{margin:0}#wp-mail-smtp .wp-mail-smtp-page-content #wp-mail-smtp-debug ul li ul,#wp-mail-smtp .wp-mail-smtp-page-content #wp-mail-smtp-debug ol li ul{list-style-type:disc}#wp-mail-smtp .wp-mail-smtp-page-content #wp-mail-smtp-debug a{color:#FF982D}#wp-mail-smtp .wp-mail-smtp-page-content #wp-mail-smtp-debug a:hover{color:#f97f00}#wp-mail-smtp .wp-mail-smtp-page-content #wp-mail-smtp-debug .dashicons-star-filled{color:#FF982D;width:16px;height:16px;font-size:16px;vertical-align:text-top}#wp-mail-smtp .wp-mail-smtp-page-content #wp-mail-smtp-debug .price-off{color:green;font-weight:bold}#wp-mail-smtp .wp-mail-smtp-page-content #wp-mail-smtp-debug .error-log-toggle{text-decoration:none;color:#444}#wp-mail-smtp .wp-mail-smtp-page-content #wp-mail-smtp-debug .error-log-toggle:hover{color:#FF982D}#wp-mail-smtp .wp-mail-smtp-page-content #wp-mail-smtp-debug .error-log-toggle .dashicons{font-size:15px;height:15px;width:15px;padding-top:3px;border:0;outline:0}#wp-mail-smtp .wp-mail-smtp-page-content #wp-mail-smtp-debug .error-log{border-left:3px solid #ffb900;padding:0 0 0 20px;margin:0 0 10px 0;font-size:12px;display:none}#wp-mail-smtp .wp-mail-smtp-page-content #wp-mail-smtp-debug .error-log pre{margin:0}#wp-mail-smtp .wp-mail-smtp-page-content #wp-mail-smtp-debug .error-log-note{display:none}#wp-mail-smtp .wp-mail-smtp-page-content #wp-mail-smtp-pro-banner{background-color:#fff;padding:25px 20px;border:1px solid #dadada;margin:10px 0 0 0;position:relative}#wp-mail-smtp .wp-mail-smtp-page-content #wp-mail-smtp-pro-banner .wp-mail-smtp-pro-banner-dismiss{position:absolute;right:10px;top:10px}#wp-mail-smtp .wp-mail-smtp-page-content #wp-mail-smtp-pro-banner .wp-mail-smtp-pro-banner-dismiss button{background:none;border:none;color:#a9a9a9;cursor:pointer;margin:0;padding:0}#wp-mail-smtp .wp-mail-smtp-page-content #wp-mail-smtp-pro-banner h2{color:#444;margin-top:0;font-size:16px;font-weight:700}#wp-mail-smtp .wp-mail-smtp-page-content #wp-mail-smtp-pro-banner p{font-size:14px;color:#555;margin-bottom:1.1em}#wp-mail-smtp .wp-mail-smtp-page-content #wp-mail-smtp-pro-banner p:last-of-type{margin:0}#wp-mail-smtp .wp-mail-smtp-page-content #wp-mail-smtp-pro-banner .benefits{margin:0 0 16px 0;overflow:auto;max-width:1000px}#wp-mail-smtp .wp-mail-smtp-page-content #wp-mail-smtp-pro-banner .benefits ul{margin:0;padding:0;width:50%;float:left}@media (max-width: 600px){#wp-mail-smtp .wp-mail-smtp-page-content #wp-mail-smtp-pro-banner .benefits ul{width:100%;float:none}}#wp-mail-smtp .wp-mail-smtp-page-content #wp-mail-smtp-pro-banner .benefits ul li{margin:0;padding:0 0 2px 16px;color:#555;font-size:14px;position:relative}#wp-mail-smtp .wp-mail-smtp-page-content #wp-mail-smtp-pro-banner .benefits ul li:before{content:'+';position:absolute;top:-1px;left:0}#wp-mail-smtp .wp-mail-smtp-page-content #wp-mail-smtp-pro-banner .benefits ul li.arrow-right:before{content:'→'}#wp-mail-smtp .wp-mail-smtp-page-content #wp-mail-smtp-pro-banner a{color:#FF982D}#wp-mail-smtp .wp-mail-smtp-page-content #wp-mail-smtp-pro-banner a:hover,#wp-mail-smtp .wp-mail-smtp-page-content #wp-mail-smtp-pro-banner a:active,#wp-mail-smtp .wp-mail-smtp-page-content #wp-mail-smtp-pro-banner a:focus{color:#f97f00}#wp-mail-smtp .wp-mail-smtp-page-content #wp-mail-smtp-pro-banner .stars{text-decoration:none}#wp-mail-smtp .wp-mail-smtp-page-content #wp-mail-smtp-pro-banner .stars .dashicons{width:16px;height:16px;font-size:16px;vertical-align:text-top}#wp-mail-smtp .wp-mail-smtp-page-content #wp-mail-smtp-pro-banner .price-off{color:green;font-weight:bold}#wp-mail-smtp .wp-mail-smtp-admin-columns>div[class*="-column-"]{float:left}#wp-mail-smtp .wp-mail-smtp-admin-columns .wp-mail-smtp-admin-column-20{width:20%}#wp-mail-smtp .wp-mail-smtp-admin-columns .wp-mail-smtp-admin-column-33{width:33.33333%}#wp-mail-smtp .wp-mail-smtp-admin-columns .wp-mail-smtp-admin-column-40{width:40%}#wp-mail-smtp .wp-mail-smtp-admin-columns .wp-mail-smtp-admin-column-50{width:50%}#wp-mail-smtp .wp-mail-smtp-admin-columns .wp-mail-smtp-admin-column-60{width:60%}#wp-mail-smtp .wp-mail-smtp-admin-columns .wp-mail-smtp-admin-column-80{width:80%}#wp-mail-smtp .wp-mail-smtp-admin-columns .wp-mail-smtp-admin-column-last{float:right !important}#wp-mail-smtp .wp-mail-smtp-admin-columns:after{content:"";display:table;clear:both}#wp-mail-smtp .wp-mail-smtp-page-upsell{display:flex;align-items:center;justify-content:center;height:auto;flex-direction:column}#wp-mail-smtp .wp-mail-smtp-page-upsell>*{width:800px}#wp-mail-smtp .wp-mail-smtp-page-upsell *,#wp-mail-smtp .wp-mail-smtp-page-upsell *::before,#wp-mail-smtp .wp-mail-smtp-page-upsell *::after{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}#wp-mail-smtp .wp-mail-smtp-page-upsell h2{font-size:24px;color:#444444;text-align:center}#wp-mail-smtp .wp-mail-smtp-page-upsell h3{font-size:16px;font-weight:normal;color:#72777C;line-height:1.5em;margin-top:0;margin-bottom:25px;text-align:center}#wp-mail-smtp .wp-mail-smtp-page-upsell .wp-mail-smtp-page-upsell-content .wp-mail-smtp-page-upsell-features{margin-bottom:40px;display:flex;flex-direction:row;flex-wrap:wrap;justify-content:flex-start;align-items:stretch;align-content:flex-start}#wp-mail-smtp .wp-mail-smtp-page-upsell .wp-mail-smtp-page-upsell-content .wp-mail-smtp-page-upsell-features .wp-mail-smtp-page-upsell-feature{display:flex;flex-direction:row;width:360px;align-items:flex-start;align-content:flex-start;margin-right:60px;margin-top:40px}#wp-mail-smtp .wp-mail-smtp-page-upsell .wp-mail-smtp-page-upsell-content .wp-mail-smtp-page-upsell-features .wp-mail-smtp-page-upsell-feature:nth-of-type(1){margin-top:20px}#wp-mail-smtp .wp-mail-smtp-page-upsell .wp-mail-smtp-page-upsell-content .wp-mail-smtp-page-upsell-features .wp-mail-smtp-page-upsell-feature:nth-of-type(2){margin-top:20px}#wp-mail-smtp .wp-mail-smtp-page-upsell .wp-mail-smtp-page-upsell-content .wp-mail-smtp-page-upsell-features .wp-mail-smtp-page-upsell-feature:nth-of-type(even){margin-right:0}#wp-mail-smtp .wp-mail-smtp-page-upsell .wp-mail-smtp-page-upsell-content .wp-mail-smtp-page-upsell-features .wp-mail-smtp-page-upsell-feature .wp-mail-smtp-page-upsell-feature-image{width:65px;text-align:center}#wp-mail-smtp .wp-mail-smtp-page-upsell .wp-mail-smtp-page-upsell-content .wp-mail-smtp-page-upsell-features .wp-mail-smtp-page-upsell-feature .wp-mail-smtp-page-upsell-feature-image img{display:block;margin:5px auto 0}#wp-mail-smtp .wp-mail-smtp-page-upsell .wp-mail-smtp-page-upsell-content .wp-mail-smtp-page-upsell-features .wp-mail-smtp-page-upsell-feature .wp-mail-smtp-page-upsell-feature-content{margin-left:20px}#wp-mail-smtp .wp-mail-smtp-page-upsell .wp-mail-smtp-page-upsell-content .wp-mail-smtp-page-upsell-features .wp-mail-smtp-page-upsell-feature .wp-mail-smtp-page-upsell-feature-content h4{font-size:15px;margin:0 0 0.5em}#wp-mail-smtp .wp-mail-smtp-page-upsell .wp-mail-smtp-page-upsell-content .wp-mail-smtp-page-upsell-features .wp-mail-smtp-page-upsell-feature .wp-mail-smtp-page-upsell-feature-content p{color:#72777C;margin:0}#wp-mail-smtp .wp-mail-smtp-page-upsell .wp-mail-smtp-page-upsell-images{margin-bottom:20px;text-align:center}#wp-mail-smtp .wp-mail-smtp-page-upsell .wp-mail-smtp-page-upsell-images img{width:380px;height:auto;margin-right:20px;border:5px solid #fff;border-radius:5px;box-shadow:0 0 10px 5px rgba(0,0,0,0.15)}#wp-mail-smtp .wp-mail-smtp-page-upsell .wp-mail-smtp-page-upsell-images img:last-child{margin-right:0}#wp-mail-smtp .wp-mail-smtp-page-upsell .wp-mail-smtp-page-upsell-button{text-align:center}.wp-mail-smtp-btn{border:0;border-radius:3px;cursor:pointer;display:inline-block;margin:0;text-decoration:none;text-align:center;vertical-align:middle;white-space:nowrap;text-shadow:none;box-shadow:none;outline:none}.wp-mail-smtp-btn .dashicons{font-size:16px;width:16px;height:16px}.wp-mail-smtp-btn:disabled{opacity:0.5;cursor:not-allowed}.wp-mail-smtp-btn.wp-mail-smtp-btn-md{font-size:13px;font-weight:600;padding:8px 12px;min-height:35px}.wp-mail-smtp-btn.wp-mail-smtp-btn-lg{font-size:16px;font-weight:600;padding:16px 28px}.wp-mail-smtp-btn.wp-mail-smtp-btn-orange{background-color:#FF982D;border-color:#FF982D;color:#fff}.wp-mail-smtp-btn.wp-mail-smtp-btn-orange:hover,.wp-mail-smtp-btn.wp-mail-smtp-btn-orange:active,.wp-mail-smtp-btn.wp-mail-smtp-btn-orange:focus{background-color:#f97f00;border-color:#f97f00}.wp-mail-smtp-btn.wp-mail-smtp-btn-red{background-color:#DC3232;border-color:#DC3232;color:#fff}.wp-mail-smtp-btn.wp-mail-smtp-btn-red:hover,.wp-mail-smtp-btn.wp-mail-smtp-btn-red:active,.wp-mail-smtp-btn.wp-mail-smtp-btn-red:focus{background-color:darkred;border-color:darkred}.wp-mail-smtp-btn.wp-mail-smtp-btn-grey{background-color:#f5f5f5;border:1px solid #ccc;color:#666}.wp-mail-smtp-btn.wp-mail-smtp-btn-grey:hover,.wp-mail-smtp-btn.wp-mail-smtp-btn-grey:active,.wp-mail-smtp-btn.wp-mail-smtp-btn-grey:focus{background-color:#d7d7d7;border-color:#ccc;color:#444}.wp-mail-smtp-btn.wp-mail-smtp-btn-light-grey{background-color:#f5f5f5;border:1px solid #ccc;color:#666}.wp-mail-smtp-btn.wp-mail-smtp-btn-light-grey:hover,.wp-mail-smtp-btn.wp-mail-smtp-btn-light-grey:active,.wp-mail-smtp-btn.wp-mail-smtp-btn-light-grey:focus{background-color:#eee;color:#444}.wp-mail-smtp-btn.wp-mail-smtp-btn-blueish{background-color:#738e9e;border:1px solid #738e9e;color:#fff}.wp-mail-smtp-btn.wp-mail-smtp-btn-blueish:hover,.wp-mail-smtp-btn.wp-mail-smtp-btn-blueish:active,.wp-mail-smtp-btn.wp-mail-smtp-btn-blueish:focus{background-color:#395360;border-color:#395360;color:#fff}
2
3
/*# sourceMappingURL=smtp-admin.min.css.map */
1
+ #wpcontent{padding-left:0 !important;position:relative}@media (max-width: 600px){#wpcontent{padding-top:46px}}@media (max-width: 600px){#wpbody{padding-top:0}}body.toplevel_page_wp-mail-smtp div.jconfirm *,body.toplevel_page_wp-mail-smtp div.jconfirm *::before,body.toplevel_page_wp-mail-smtp div.jconfirm *::after{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}body.toplevel_page_wp-mail-smtp div.jconfirm div.jconfirm-box-container div.jconfirm-box{border-radius:0;box-shadow:0 2px 6px rgba(0,0,0,0.2)}body.toplevel_page_wp-mail-smtp div.jconfirm div.jconfirm-box-container div.jconfirm-box div.jconfirm-closeIcon{color:rgba(0,0,0,0.4);top:8px;right:8px}body.toplevel_page_wp-mail-smtp div.jconfirm div.jconfirm-box-container div.jconfirm-box div.jconfirm-closeIcon:hover{color:rgba(0,0,0,0.8)}body.toplevel_page_wp-mail-smtp div.jconfirm div.jconfirm-box div.jconfirm-title-c{margin:0 0 26px 0 !important;padding:0 !important}body.toplevel_page_wp-mail-smtp div.jconfirm div.jconfirm-box div.jconfirm-title-c .jconfirm-icon-c{margin:0 !important;color:#c4c4c4 !important;-webkit-transition:none !important;transition:none !important;-webkit-transform:none !important;-ms-transform:none !important;transform:none !important;font-size:45px !important}body.toplevel_page_wp-mail-smtp div.jconfirm div.jconfirm-box div.jconfirm-title-c .jconfirm-icon-c i:empty{display:none}body.toplevel_page_wp-mail-smtp div.jconfirm div.jconfirm-box div.jconfirm-title-c .jconfirm-icon-c svg{height:35px}body.toplevel_page_wp-mail-smtp div.jconfirm div.jconfirm-box div.jconfirm-title-c .jconfirm-title{display:block;color:#333}body.toplevel_page_wp-mail-smtp div.jconfirm div.jconfirm-box div.jconfirm-title-c .jconfirm-icon-c+span.jconfirm-title{margin-top:20px !important}body.toplevel_page_wp-mail-smtp div.jconfirm div.jconfirm-box div.jconfirm-content-pane{margin-bottom:0;display:block}body.toplevel_page_wp-mail-smtp div.jconfirm div.jconfirm-box div.jconfirm-content-pane .jconfirm-content{overflow:inherit}body.toplevel_page_wp-mail-smtp div.jconfirm div.jconfirm-box div.jconfirm-content{font-size:16px;color:#555;line-height:1.4}body.toplevel_page_wp-mail-smtp div.jconfirm div.jconfirm-box div.jconfirm-content.lite-upgrade p{font-size:18px;padding:0 20px}body.toplevel_page_wp-mail-smtp div.jconfirm div.jconfirm-box div.jconfirm-content p{margin:0 0 16px;font-size:18px;line-height:1.5}body.toplevel_page_wp-mail-smtp div.jconfirm div.jconfirm-box div.jconfirm-content p:last-of-type{margin:0}body.toplevel_page_wp-mail-smtp div.jconfirm div.jconfirm-box div.jconfirm-content p.large{font-size:18px}body.toplevel_page_wp-mail-smtp div.jconfirm div.jconfirm-box div.jconfirm-content p.small{font-size:14px}body.toplevel_page_wp-mail-smtp div.jconfirm div.jconfirm-box div.jconfirm-content .already-purchased{font-size:12px;color:#ccc;text-decoration:none}body.toplevel_page_wp-mail-smtp div.jconfirm div.jconfirm-box div.jconfirm-content .already-purchased:hover{text-decoration:underline}body.toplevel_page_wp-mail-smtp div.jconfirm div.jconfirm-box div.jconfirm-buttons .already-purchased{display:block;font-size:12px;color:#aaa;text-decoration:none;padding-top:20px}body.toplevel_page_wp-mail-smtp div.jconfirm div.jconfirm-box div.jconfirm-buttons .already-purchased:hover{color:#999;text-decoration:underline}body.toplevel_page_wp-mail-smtp div.jconfirm div.jconfirm-box .discount-note{text-align:center;margin:30px 0 0}body.toplevel_page_wp-mail-smtp div.jconfirm div.jconfirm-box .discount-note p{background-color:#faffac;margin:0 -30px;padding:24px 60px 20px;font-size:15px;color:#4d4d4d;position:relative}body.toplevel_page_wp-mail-smtp div.jconfirm div.jconfirm-box .discount-note p:after{content:'\f058';display:inline-block;font:normal normal normal 14px/1 FontAwesome;background-color:#fff;font-size:26px;border-radius:50%;padding:5px 6px;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;position:absolute;top:-20px;right:50%;margin-right:-18px;color:#3abc01}body.toplevel_page_wp-mail-smtp div.jconfirm div.jconfirm-box .discount-note span{font-weight:700;color:#3abc01}body.toplevel_page_wp-mail-smtp div.jconfirm div.jconfirm-box .discount-note a{color:#aaa;display:block;margin-top:12px}body.toplevel_page_wp-mail-smtp div.jconfirm div.jconfirm-box input[type=text]{display:block;width:99%;border:1px solid #d6d6d6;padding:10px;box-shadow:none;margin:20px auto 0 auto}body.toplevel_page_wp-mail-smtp div.jconfirm div.jconfirm-box button.btn-confirm{background-color:#FF982D;color:#fff;outline:none}body.toplevel_page_wp-mail-smtp div.jconfirm div.jconfirm-box button.btn-confirm:hover{background-color:#f97f00;border-color:#f97f00}body.toplevel_page_wp-mail-smtp div.jconfirm div.jconfirm-box button,body.toplevel_page_wp-mail-smtp div.jconfirm div.jconfirm-box button.btn-default{color:#666}body.toplevel_page_wp-mail-smtp div.jconfirm div.jconfirm-box button.btn-block{display:block;text-align:center;width:100%;margin:0 0 10px 0 !important}body.toplevel_page_wp-mail-smtp div.jconfirm div.jconfirm-box button.btn-normal-case{text-transform:none !important}body.toplevel_page_wp-mail-smtp div.jconfirm div.jconfirm-box .error{display:none;color:red}body.toplevel_page_wp-mail-smtp div.jconfirm div.jconfirm-box .wpforms-error{border:1px solid #ebccd1 !important}#wp-mail-smtp-header{border-top:3px solid #FF982D;padding:20px}#wp-mail-smtp-header img{display:block;margin:0;max-width:242px}@media (max-width: 782px){#wp-mail-smtp-header img{max-width:200px}}#wp-mail-smtp{margin:0}#wp-mail-smtp .wp-mail-smtp-hide{display:none}#wp-mail-smtp .wp-mail-smtp-page-title{background-color:#fff;font-size:14px;margin:0 0 20px 0;padding:0 20px}#wp-mail-smtp .wp-mail-smtp-page-title a.tab{border-bottom:2px solid #fff;box-shadow:none;color:#666;display:inline-block;margin-right:30px;padding:20px 0 18px 0;text-decoration:none}#wp-mail-smtp .wp-mail-smtp-page-title a.tab.active{border-bottom:2px solid #FF982D}#wp-mail-smtp .wp-mail-smtp-page-title a.tab:hover{border-color:#999}#wp-mail-smtp .wp-mail-smtp-page-title a.action{padding:5px;border:0;min-height:auto;color:#fff;margin:-10px 0 0 20px}#wp-mail-smtp .wp-mail-smtp-page-title .page-title{background-color:#fff;display:inline-block;font-size:23px;margin:0;padding:15px 20px 15px 0}#wp-mail-smtp .wp-mail-smtp-page-content{padding:0 20px}#wp-mail-smtp .wp-mail-smtp-page-content *,#wp-mail-smtp .wp-mail-smtp-page-content *::before,#wp-mail-smtp .wp-mail-smtp-page-content *::after{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-clear:before{content:" ";display:table}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-clear:after{clear:both;content:" ";display:table}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row{border-bottom:1px solid #e4e4e4;padding:30px 0;font-size:14px;line-height:1.3}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row:first-of-type{padding-top:10px !important}@media (max-width: 781px){#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row{padding:20px 0}}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row.inactive{display:none}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row .wp-mail-smtp-setting-mid-row-sep{background:#e4e4e4;height:1px;border:0;margin:15px 0}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row.section-heading{padding:20px 0}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row.section-heading.no-desc h2,#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row.section-heading.no-desc h4{margin:0}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row.section-heading .wp-mail-smtp-setting-field{margin:0;max-width:1005px}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-checkbox input[type=checkbox]{float:left;margin:1px 0 0 0}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-checkbox input[type=checkbox]+label{margin:0 0 0 8px}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-checkbox .desc{margin:0 0 0 30px}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-checkbox input[type=checkbox]+label+.desc{margin:8px 0 0 0}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-text .wp-mail-smtp-setting-label,#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-password .wp-mail-smtp-setting-label,#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-number .wp-mail-smtp-setting-label,#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-email .wp-mail-smtp-setting-label{padding-top:8px}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-select .wp-mail-smtp-setting-label{padding-top:8px}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-radio .wp-mail-smtp-setting-field input[type=radio]{margin:-3px 10px 0 0}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-radio .wp-mail-smtp-setting-field label{margin-right:30px;display:inline-block}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-checkbox-toggle .wp-mail-smtp-setting-field label{vertical-align:middle;display:inline-block}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-checkbox-toggle .wp-mail-smtp-setting-field label:hover .wp-mail-smtp-setting-toggle-switch{background-color:#999}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-checkbox-toggle .wp-mail-smtp-setting-field input[type=checkbox]{display:none}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-checkbox-toggle .wp-mail-smtp-setting-field input[type=checkbox]:checked+.wp-mail-smtp-setting-toggle-switch{background-color:#46B450}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-checkbox-toggle .wp-mail-smtp-setting-field input[type=checkbox]:checked+.wp-mail-smtp-setting-toggle-switch:before{-webkit-transform:translateX(19px);-ms-transform:translateX(19px);transform:translateX(19px)}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-checkbox-toggle .wp-mail-smtp-setting-field input[type=checkbox]:disabled+.wp-mail-smtp-setting-toggle-switch{background-color:#69c471;cursor:default}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-checkbox-toggle .wp-mail-smtp-setting-field input[type=checkbox]:checked+.wp-mail-smtp-setting-toggle-switch+.wp-mail-smtp-setting-toggle-checked-label{display:inline-block}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-checkbox-toggle .wp-mail-smtp-setting-field input[type=checkbox]:checked+.wp-mail-smtp-setting-toggle-switch+.wp-mail-smtp-setting-toggle-checked-label+.wp-mail-smtp-setting-toggle-unchecked-label{display:none}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-checkbox-toggle .wp-mail-smtp-setting-field input[type=checkbox]:disabled+.wp-mail-smtp-setting-toggle-switch+.wp-mail-smtp-setting-toggle-checked-label,#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-checkbox-toggle .wp-mail-smtp-setting-field input[type=checkbox]:disabled+.wp-mail-smtp-setting-toggle-switch+.wp-mail-smtp-setting-toggle-unchecked-label{color:#aaa}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-checkbox-toggle .wp-mail-smtp-setting-field .wp-mail-smtp-setting-toggle-unchecked-label,#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-checkbox-toggle .wp-mail-smtp-setting-field .wp-mail-smtp-setting-toggle-checked-label{text-transform:uppercase;font-weight:400;color:#777;font-size:13px}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-checkbox-toggle .wp-mail-smtp-setting-field .wp-mail-smtp-setting-toggle-checked-label{display:none}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-checkbox-toggle .wp-mail-smtp-setting-field .wp-mail-smtp-setting-toggle-switch{position:relative;cursor:pointer;background-color:#ccc;border-radius:15px;-webkit-transition:all 0.2s ease-in-out;-moz-transition:all 0.2s ease-in-out;-ms-transition:all 0.2s ease-in-out;transition:all 0.2s ease-in-out;vertical-align:middle;position:relative;display:inline-block;margin:0 5px 0 0;width:40px;height:20px}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-checkbox-toggle .wp-mail-smtp-setting-field .wp-mail-smtp-setting-toggle-switch:before{position:absolute;content:"";height:14px;width:14px;left:3px;top:3px;background-color:#fff;border-radius:50%;-webkit-transition:all 0.2s ease-in-out;-moz-transition:all 0.2s ease-in-out;-ms-transition:all 0.2s ease-in-out;transition:all 0.2s ease-in-out}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-mailer{padding-bottom:20px}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-mailer .wp-mail-smtp-mailers{width:680px}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-mailer .wp-mail-smtp-mailer{display:inline-block;width:150px;margin-right:15px;margin-bottom:15px;position:relative}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-mailer .wp-mail-smtp-mailer .wp-mail-smtp-mailer-recommended{position:absolute;right:-1px;width:99px;top:2px;z-index:1}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-mailer .wp-mail-smtp-mailer:last-child{margin-right:0}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-mailer .wp-mail-smtp-mailer .wp-mail-smtp-mailer-image{background:#fff;text-align:center;border:2px solid #E5E5E5;border-radius:4px;cursor:pointer;height:76px;position:relative;margin-bottom:10px;-webkit-transition:all 0.2s ease-in-out;-moz-transition:all 0.2s ease-in-out;-ms-transition:all 0.2s ease-in-out;transition:all 0.2s ease-in-out}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-mailer .wp-mail-smtp-mailer .wp-mail-smtp-mailer-image.is-recommended{background-image:url(../images/recommended.svg);background-repeat:no-repeat;background-size:60%;background-position:top right -2px}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-mailer .wp-mail-smtp-mailer .wp-mail-smtp-mailer-image img{max-width:90%;max-height:40px;display:block;position:relative;top:50%;left:50%;transform:translate(-50%, -50%);opacity:0.6;-webkit-transition:all 0.2s ease-in-out;-moz-transition:all 0.2s ease-in-out;-ms-transition:all 0.2s ease-in-out;transition:all 0.2s ease-in-out}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-mailer .wp-mail-smtp-mailer.wp-mail-smtp-mailer-smtp .wp-mail-smtp-mailer-image img{max-height:30px}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-mailer .wp-mail-smtp-mailer.active .wp-mail-smtp-mailer-image{border-color:#FF982D}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-mailer .wp-mail-smtp-mailer.active .wp-mail-smtp-mailer-image img{opacity:1}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-mailer .wp-mail-smtp-mailer:hover .wp-mail-smtp-mailer-image{border-color:#ccc}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row.wp-mail-smtp-setting-row-mailer .wp-mail-smtp-mailer:hover .wp-mail-smtp-mailer-image img{opacity:1}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row h2,#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row h4{color:#444;font-size:20px;font-weight:700;margin:0 0 6px 0}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row h2{margin-bottom:15px}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row h3{color:#444;font-size:24px;font-weight:600;margin:0 0 20px 0}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row p{margin:12px 0 0;font-size:14px;line-height:1.5em}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row p:first-of-type{margin:8px 0 0}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row p.desc{font-style:italic;color:#777}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row p.buttonned{margin-top:30px}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row p.inline-notice{margin:5px 0 15px;box-sizing:border-box;background:#fff;border-left:4px solid transparent;box-shadow:0 1px 1px 0 rgba(0,0,0,0.1)}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row p.inline-notice.inline-error{border-color:#dc3232;margin-bottom:5px;padding:10px}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row p.inline-notice.inline-edu-notice{border-color:#809EB0;line-height:1.5em;padding:10px}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row p.inline-notice a.wp-mail-smtp-mailer-notice-dismiss{float:right;color:#999DA1;margin:0 0 10px 10px;text-decoration:none}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row p.inline-notice a.wp-mail-smtp-mailer-notice-dismiss:hover{color:#666a6e}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row ul{margin:8px 0 0}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row ul.list li{margin-left:20px;list-style-type:disc}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row table.actions-list td,#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row table.actions-list th{padding:5px 5px 5px 0;text-align:left}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row table.actions-list td.email{padding-right:2em}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row table.actions-list td.status{width:100px}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row table.actions-list td.actions a{border-bottom:1px solid;display:inline-block;margin-right:5px;text-decoration:none}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row table.actions-list td.actions a[class*=delete]{color:#a00}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row table.actions-list td.actions a[class*=delete]:hover,#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row table.actions-list td.actions a[class*=delete]:active,#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row table.actions-list td.actions a[class*=delete]:focus{color:#400}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row input[type=text],#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row input[type=email],#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row input[type=number],#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row input[type=password]{background-color:#fff;border:1px solid #ddd;border-radius:3px;box-shadow:none;color:#333;display:inline-block;vertical-align:middle;padding:7px 12px;margin:0 10px 0 0;width:400px;min-height:35px}@media (max-width: 959px){#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row input[type=text],#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row input[type=email],#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row input[type=number],#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row input[type=password]{width:300px}}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row input[type=text][readonly],#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row input[type=email][readonly],#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row input[type=number][readonly],#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row input[type=password][readonly]{background-color:#f9f9f9}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row input[type=text].small-text,#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row input[type=email].small-text,#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row input[type=number].small-text,#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row input[type=password].small-text{width:75px}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row input[type=text]:focus,#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row input[type=email]:focus,#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row input[type=number]:focus,#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row input[type=password]:focus{border-color:#bbb}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row input[type=text]:disabled,#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row input[type=email]:disabled,#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row input[type=number]:disabled,#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-row input[type=password]:disabled{opacity:0.6}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-label{display:block;float:left;width:205px;padding:0 20px 0 0}@media (max-width: 781px){#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-label{float:none;width:100%;padding-bottom:15px}}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-label label{display:block;font-weight:600;font-size:1.1em}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-field{display:block;margin:0 0 0 205px;max-width:800px}@media (max-width: 781px){#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-setting-field{margin:0}}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-submit{margin:0;padding:25px 0}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-submit .help-text{margin-left:10px;vertical-align:middle}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-mailer-options .wp-mail-smtp-mailer-option .wp-mail-smtp-setting-row.section-heading{padding:20px 0 !important}#wp-mail-smtp .wp-mail-smtp-page-content .wp-mail-smtp-mailer-options .wp-mail-smtp-mailer-option blockquote{background:#E5E5E5;border-radius:4px;color:#666;font-size:14px;margin:20px 0;padding:15px;width:1005px}#wp-mail-smtp .wp-mail-smtp-page-content.wp-mail-smtp-page-general p{margin:0}#wp-mail-smtp .wp-mail-smtp-page-content .notice-inline{background:#fff;border-left:4px solid #fff;box-shadow:0 1px 1px 0 rgba(0,0,0,0.1);margin:5px 0 15px;padding:1px 12px}#wp-mail-smtp .wp-mail-smtp-page-content .notice-inline.notice-success{border-left-color:#46b450}#wp-mail-smtp .wp-mail-smtp-page-content .notice-inline.notice-warning{border-left-color:#ffb900}#wp-mail-smtp .wp-mail-smtp-page-content .notice-inline.notice-error{border-left-color:#dc3232}#wp-mail-smtp .wp-mail-smtp-page-content .notice-inline.notice-info{border-left-color:#00a0d2}#wp-mail-smtp .wp-mail-smtp-page-content .notice p,#wp-mail-smtp .wp-mail-smtp-page-content .notice-inline p{margin:0.5em 0;padding:2px}#wp-mail-smtp .wp-mail-smtp-page-content pre{white-space:pre-line}#wp-mail-smtp .wp-mail-smtp-page-content.active{display:block}#wp-mail-smtp .wp-mail-smtp-page-content .connected-as{margin-left:30px}#wp-mail-smtp .wp-mail-smtp-page-content #wp-mail-smtp-debug{background-color:#fff;padding:25px 20px 1px 25px}#wp-mail-smtp .wp-mail-smtp-page-content #wp-mail-smtp-debug h2{color:#444;margin:1.4em 0 0.8em;font-size:16px;font-weight:700}#wp-mail-smtp .wp-mail-smtp-page-content #wp-mail-smtp-debug p{font-size:14px;color:#555;margin-bottom:1.1em}#wp-mail-smtp .wp-mail-smtp-page-content #wp-mail-smtp-debug ul,#wp-mail-smtp .wp-mail-smtp-page-content #wp-mail-smtp-debug ol{font-size:14px;color:#555;margin:0 0 1.1em 1.8em}#wp-mail-smtp .wp-mail-smtp-page-content #wp-mail-smtp-debug ul li,#wp-mail-smtp .wp-mail-smtp-page-content #wp-mail-smtp-debug ol li{margin:0 0 8px 0;line-height:1.5}#wp-mail-smtp .wp-mail-smtp-page-content #wp-mail-smtp-debug ul li:last-of-type,#wp-mail-smtp .wp-mail-smtp-page-content #wp-mail-smtp-debug ol li:last-of-type{margin:0}#wp-mail-smtp .wp-mail-smtp-page-content #wp-mail-smtp-debug ul li ul,#wp-mail-smtp .wp-mail-smtp-page-content #wp-mail-smtp-debug ol li ul{list-style-type:disc}#wp-mail-smtp .wp-mail-smtp-page-content #wp-mail-smtp-debug a{color:#FF982D}#wp-mail-smtp .wp-mail-smtp-page-content #wp-mail-smtp-debug a:hover{color:#f97f00}#wp-mail-smtp .wp-mail-smtp-page-content #wp-mail-smtp-debug .dashicons-star-filled{color:#FF982D;width:16px;height:16px;font-size:16px;vertical-align:text-top}#wp-mail-smtp .wp-mail-smtp-page-content #wp-mail-smtp-debug .price-off{color:green;font-weight:bold}#wp-mail-smtp .wp-mail-smtp-page-content #wp-mail-smtp-debug .error-log-toggle{text-decoration:none;color:#444}#wp-mail-smtp .wp-mail-smtp-page-content #wp-mail-smtp-debug .error-log-toggle:hover{color:#FF982D}#wp-mail-smtp .wp-mail-smtp-page-content #wp-mail-smtp-debug .error-log-toggle .dashicons{font-size:15px;height:15px;width:15px;padding-top:3px;border:0;outline:0}#wp-mail-smtp .wp-mail-smtp-page-content #wp-mail-smtp-debug .error-log{border-left:3px solid #ffb900;padding:0 0 0 20px;margin:0 0 10px 0;font-size:12px;display:none}#wp-mail-smtp .wp-mail-smtp-page-content #wp-mail-smtp-debug .error-log pre{margin:0}#wp-mail-smtp .wp-mail-smtp-page-content #wp-mail-smtp-debug .error-log-note{display:none}#wp-mail-smtp .wp-mail-smtp-page-content #wp-mail-smtp-pro-banner{background-color:#fff;padding:25px 20px;border:1px solid #dadada;margin:10px 0 0 0;position:relative}#wp-mail-smtp .wp-mail-smtp-page-content #wp-mail-smtp-pro-banner .wp-mail-smtp-pro-banner-dismiss{position:absolute;right:10px;top:10px}#wp-mail-smtp .wp-mail-smtp-page-content #wp-mail-smtp-pro-banner .wp-mail-smtp-pro-banner-dismiss button{background:none;border:none;color:#a9a9a9;cursor:pointer;margin:0;padding:0}#wp-mail-smtp .wp-mail-smtp-page-content #wp-mail-smtp-pro-banner h2{color:#444;margin-top:0;font-size:16px;font-weight:700}#wp-mail-smtp .wp-mail-smtp-page-content #wp-mail-smtp-pro-banner p{font-size:14px;color:#555;margin-bottom:1.1em}#wp-mail-smtp .wp-mail-smtp-page-content #wp-mail-smtp-pro-banner p:last-of-type{margin:0}#wp-mail-smtp .wp-mail-smtp-page-content #wp-mail-smtp-pro-banner .benefits{margin:0 0 16px 0;overflow:auto;max-width:1000px}#wp-mail-smtp .wp-mail-smtp-page-content #wp-mail-smtp-pro-banner .benefits ul{margin:0;padding:0;width:50%;float:left}@media (max-width: 600px){#wp-mail-smtp .wp-mail-smtp-page-content #wp-mail-smtp-pro-banner .benefits ul{width:100%;float:none}}#wp-mail-smtp .wp-mail-smtp-page-content #wp-mail-smtp-pro-banner .benefits ul li{margin:0;padding:0 0 2px 16px;color:#555;font-size:14px;position:relative}#wp-mail-smtp .wp-mail-smtp-page-content #wp-mail-smtp-pro-banner .benefits ul li:before{content:'+';position:absolute;top:-1px;left:0}#wp-mail-smtp .wp-mail-smtp-page-content #wp-mail-smtp-pro-banner .benefits ul li.arrow-right:before{content:'→'}#wp-mail-smtp .wp-mail-smtp-page-content #wp-mail-smtp-pro-banner a{color:#FF982D}#wp-mail-smtp .wp-mail-smtp-page-content #wp-mail-smtp-pro-banner a:hover,#wp-mail-smtp .wp-mail-smtp-page-content #wp-mail-smtp-pro-banner a:active,#wp-mail-smtp .wp-mail-smtp-page-content #wp-mail-smtp-pro-banner a:focus{color:#f97f00}#wp-mail-smtp .wp-mail-smtp-page-content #wp-mail-smtp-pro-banner .stars{text-decoration:none}#wp-mail-smtp .wp-mail-smtp-page-content #wp-mail-smtp-pro-banner .stars .dashicons{width:16px;height:16px;font-size:16px;vertical-align:text-top}#wp-mail-smtp .wp-mail-smtp-page-content #wp-mail-smtp-pro-banner .price-off{color:green;font-weight:bold}#wp-mail-smtp .wp-mail-smtp-admin-columns>div[class*="-column-"]{float:left}#wp-mail-smtp .wp-mail-smtp-admin-columns .wp-mail-smtp-admin-column-20{width:20%}#wp-mail-smtp .wp-mail-smtp-admin-columns .wp-mail-smtp-admin-column-33{width:33.33333%}#wp-mail-smtp .wp-mail-smtp-admin-columns .wp-mail-smtp-admin-column-40{width:40%}#wp-mail-smtp .wp-mail-smtp-admin-columns .wp-mail-smtp-admin-column-50{width:50%}#wp-mail-smtp .wp-mail-smtp-admin-columns .wp-mail-smtp-admin-column-60{width:60%}#wp-mail-smtp .wp-mail-smtp-admin-columns .wp-mail-smtp-admin-column-80{width:80%}#wp-mail-smtp .wp-mail-smtp-admin-columns .wp-mail-smtp-admin-column-last{float:right !important}#wp-mail-smtp .wp-mail-smtp-admin-columns:after{content:"";display:table;clear:both}#wp-mail-smtp .wp-mail-smtp-page-upsell{display:flex;align-items:center;justify-content:center;height:auto;flex-direction:column}#wp-mail-smtp .wp-mail-smtp-page-upsell>*{width:800px}#wp-mail-smtp .wp-mail-smtp-page-upsell *,#wp-mail-smtp .wp-mail-smtp-page-upsell *::before,#wp-mail-smtp .wp-mail-smtp-page-upsell *::after{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}#wp-mail-smtp .wp-mail-smtp-page-upsell h2{font-size:24px;color:#444444;text-align:center}#wp-mail-smtp .wp-mail-smtp-page-upsell h3{font-size:16px;font-weight:normal;color:#72777C;line-height:1.5em;margin-top:0;margin-bottom:25px;text-align:center}#wp-mail-smtp .wp-mail-smtp-page-upsell .wp-mail-smtp-page-upsell-content .wp-mail-smtp-page-upsell-features{margin-bottom:40px;display:flex;flex-direction:row;flex-wrap:wrap;justify-content:flex-start;align-items:stretch;align-content:flex-start}#wp-mail-smtp .wp-mail-smtp-page-upsell .wp-mail-smtp-page-upsell-content .wp-mail-smtp-page-upsell-features .wp-mail-smtp-page-upsell-feature{display:flex;flex-direction:row;width:360px;align-items:flex-start;align-content:flex-start;margin-right:60px;margin-top:40px}#wp-mail-smtp .wp-mail-smtp-page-upsell .wp-mail-smtp-page-upsell-content .wp-mail-smtp-page-upsell-features .wp-mail-smtp-page-upsell-feature:nth-of-type(1){margin-top:20px}#wp-mail-smtp .wp-mail-smtp-page-upsell .wp-mail-smtp-page-upsell-content .wp-mail-smtp-page-upsell-features .wp-mail-smtp-page-upsell-feature:nth-of-type(2){margin-top:20px}#wp-mail-smtp .wp-mail-smtp-page-upsell .wp-mail-smtp-page-upsell-content .wp-mail-smtp-page-upsell-features .wp-mail-smtp-page-upsell-feature:nth-of-type(even){margin-right:0}#wp-mail-smtp .wp-mail-smtp-page-upsell .wp-mail-smtp-page-upsell-content .wp-mail-smtp-page-upsell-features .wp-mail-smtp-page-upsell-feature .wp-mail-smtp-page-upsell-feature-image{width:65px;text-align:center}#wp-mail-smtp .wp-mail-smtp-page-upsell .wp-mail-smtp-page-upsell-content .wp-mail-smtp-page-upsell-features .wp-mail-smtp-page-upsell-feature .wp-mail-smtp-page-upsell-feature-image img{display:block;margin:5px auto 0}#wp-mail-smtp .wp-mail-smtp-page-upsell .wp-mail-smtp-page-upsell-content .wp-mail-smtp-page-upsell-features .wp-mail-smtp-page-upsell-feature .wp-mail-smtp-page-upsell-feature-content{margin-left:20px}#wp-mail-smtp .wp-mail-smtp-page-upsell .wp-mail-smtp-page-upsell-content .wp-mail-smtp-page-upsell-features .wp-mail-smtp-page-upsell-feature .wp-mail-smtp-page-upsell-feature-content h4{font-size:15px;margin:0 0 0.5em}#wp-mail-smtp .wp-mail-smtp-page-upsell .wp-mail-smtp-page-upsell-content .wp-mail-smtp-page-upsell-features .wp-mail-smtp-page-upsell-feature .wp-mail-smtp-page-upsell-feature-content p{color:#72777C;margin:0}#wp-mail-smtp .wp-mail-smtp-page-upsell .wp-mail-smtp-page-upsell-images{margin-bottom:20px;text-align:center}#wp-mail-smtp .wp-mail-smtp-page-upsell .wp-mail-smtp-page-upsell-images img{width:380px;height:auto;margin-right:20px;border:5px solid #fff;border-radius:5px;box-shadow:0 0 10px 5px rgba(0,0,0,0.15)}#wp-mail-smtp .wp-mail-smtp-page-upsell .wp-mail-smtp-page-upsell-images img:last-child{margin-right:0}#wp-mail-smtp .wp-mail-smtp-page-upsell .wp-mail-smtp-page-upsell-button{text-align:center}.wp-mail-smtp-btn{border:0;border-radius:3px;cursor:pointer;display:inline-block;margin:0;text-decoration:none;text-align:center;vertical-align:middle;white-space:nowrap;text-shadow:none;box-shadow:none;outline:none}.wp-mail-smtp-btn .dashicons{font-size:16px;width:16px;height:16px}.wp-mail-smtp-btn:disabled{opacity:0.5;cursor:not-allowed}.wp-mail-smtp-btn.wp-mail-smtp-btn-md{font-size:13px;font-weight:600;padding:8px 12px;min-height:35px}.wp-mail-smtp-btn.wp-mail-smtp-btn-lg{font-size:16px;font-weight:600;padding:16px 28px}.wp-mail-smtp-btn.wp-mail-smtp-btn-orange{background-color:#FF982D;border-color:#FF982D;color:#fff}.wp-mail-smtp-btn.wp-mail-smtp-btn-orange:hover,.wp-mail-smtp-btn.wp-mail-smtp-btn-orange:active,.wp-mail-smtp-btn.wp-mail-smtp-btn-orange:focus{background-color:#f97f00;border-color:#f97f00}.wp-mail-smtp-btn.wp-mail-smtp-btn-red{background-color:#DC3232;border-color:#DC3232;color:#fff}.wp-mail-smtp-btn.wp-mail-smtp-btn-red:hover,.wp-mail-smtp-btn.wp-mail-smtp-btn-red:active,.wp-mail-smtp-btn.wp-mail-smtp-btn-red:focus{background-color:darkred;border-color:darkred}.wp-mail-smtp-btn.wp-mail-smtp-btn-grey{background-color:#f5f5f5;border:1px solid #ccc;color:#666}.wp-mail-smtp-btn.wp-mail-smtp-btn-grey:hover,.wp-mail-smtp-btn.wp-mail-smtp-btn-grey:active,.wp-mail-smtp-btn.wp-mail-smtp-btn-grey:focus{background-color:#d7d7d7;border-color:#ccc;color:#444}.wp-mail-smtp-btn.wp-mail-smtp-btn-light-grey{background-color:#f5f5f5;border:1px solid #ccc;color:#666}.wp-mail-smtp-btn.wp-mail-smtp-btn-light-grey:hover,.wp-mail-smtp-btn.wp-mail-smtp-btn-light-grey:active,.wp-mail-smtp-btn.wp-mail-smtp-btn-light-grey:focus{background-color:#eee;color:#444}.wp-mail-smtp-btn.wp-mail-smtp-btn-blueish{background-color:#738e9e;border:1px solid #738e9e;color:#fff}.wp-mail-smtp-btn.wp-mail-smtp-btn-blueish:hover,.wp-mail-smtp-btn.wp-mail-smtp-btn-blueish:active,.wp-mail-smtp-btn.wp-mail-smtp-btn-blueish:focus{background-color:#395360;border-color:#395360;color:#fff}
2
3
/*# sourceMappingURL=smtp-admin.min.css.map */
assets/images/providers/aws.svg ADDED
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 300 180"><path d="M84.4 65.4c0 3.7.4 6.7 1.1 8.9.8 2.2 1.8 4.6 3.2 7.2.5.8.7 1.6.7 2.3 0 1-.6 2-1.9 3L81.2 91c-.9.6-1.8.9-2.6.9-1 0-2-.5-3-1.4-1.4-1.5-2.6-3.1-3.6-4.7-1-1.7-2-3.6-3.1-5.9-7.8 9.2-17.6 13.8-29.4 13.8-8.4 0-15.1-2.4-20-7.2-4.9-4.8-7.4-11.2-7.4-19.2 0-8.5 3-15.4 9.1-20.6s14.2-7.8 24.5-7.8c3.4 0 6.9.3 10.6.8s7.5 1.3 11.5 2.2v-7.3c0-7.6-1.6-12.9-4.7-16-3.2-3.1-8.6-4.6-16.3-4.6-3.5 0-7.1.4-10.8 1.3-3.7.9-7.3 2-10.8 3.4-1.6.7-2.8 1.1-3.5 1.3-.7.2-1.2.3-1.6.3-1.4 0-2.1-1-2.1-3.1v-4.9c0-1.6.2-2.8.7-3.5s1.4-1.4 2.8-2.1c3.5-1.8 7.7-3.3 12.6-4.5C39 .9 44.2.3 49.7.3 61.6.3 70.3 3 75.9 8.4c5.5 5.4 8.3 13.6 8.3 24.6v32.4h.2zM43.8 80.6c3.3 0 6.7-.6 10.3-1.8 3.6-1.2 6.8-3.4 9.5-6.4 1.6-1.9 2.8-4 3.4-6.4.6-2.4 1-5.3 1-8.7v-4.2c-2.9-.7-6-1.3-9.2-1.7-3.2-.4-6.3-.6-9.4-.6-6.7 0-11.6 1.3-14.9 4-3.3 2.7-4.9 6.5-4.9 11.5 0 4.7 1.2 8.2 3.7 10.6 2.4 2.5 5.9 3.7 10.5 3.7zm80.3 10.8c-1.8 0-3-.3-3.8-1-.8-.6-1.5-2-2.1-3.9L94.7 9.2c-.6-2-.9-3.3-.9-4 0-1.6.8-2.5 2.4-2.5h9.8c1.9 0 3.2.3 3.9 1 .8.6 1.4 2 2 3.9l16.8 66.2 15.6-66.2c.5-2 1.1-3.3 1.9-3.9.8-.6 2.2-1 4-1h8c1.9 0 3.2.3 4 1 .8.6 1.5 2 1.9 3.9l15.8 67 17.3-67c.6-2 1.3-3.3 2-3.9.8-.6 2.1-1 3.9-1h9.3c1.6 0 2.5.8 2.5 2.5 0 .5-.1 1-.2 1.6-.1.6-.3 1.4-.7 2.5l-24.1 77.3c-.6 2-1.3 3.3-2.1 3.9s-2.1 1-3.8 1h-8.6c-1.9 0-3.2-.3-4-1-.8-.7-1.5-2-1.9-4L154 22l-15.4 64.4c-.5 2-1.1 3.3-1.9 4-.8.7-2.2 1-4 1h-8.6zm128.5 2.7c-5.2 0-10.4-.6-15.4-1.8-5-1.2-8.9-2.5-11.5-4-1.6-.9-2.7-1.9-3.1-2.8-.4-.9-.6-1.9-.6-2.8v-5.1c0-2.1.8-3.1 2.3-3.1.6 0 1.2.1 1.8.3.6.2 1.5.6 2.5 1 3.4 1.5 7.1 2.7 11 3.5 4 .8 7.9 1.2 11.9 1.2 6.3 0 11.2-1.1 14.6-3.3 3.4-2.2 5.2-5.4 5.2-9.5 0-2.8-.9-5.1-2.7-7-1.8-1.9-5.2-3.6-10.1-5.2L244 51c-7.3-2.3-12.7-5.7-16-10.2-3.3-4.4-5-9.3-5-14.5 0-4.2.9-7.9 2.7-11.1 1.8-3.2 4.2-6 7.2-8.2 3-2.3 6.4-4 10.4-5.2S251.5.1 255.9.1c2.2 0 4.5.1 6.7.4 2.3.3 4.4.7 6.5 1.1 2 .5 3.9 1 5.7 1.6 1.8.6 3.2 1.2 4.2 1.8 1.4.8 2.4 1.6 3 2.5.6.8.9 1.9.9 3.3v4.7c0 2.1-.8 3.2-2.3 3.2-.8 0-2.1-.4-3.8-1.2-5.7-2.6-12.1-3.9-19.2-3.9-5.7 0-10.2.9-13.3 2.8-3.1 1.9-4.7 4.8-4.7 8.9 0 2.8 1 5.2 3 7.1 2 1.9 5.7 3.8 11 5.5l14.2 4.5c7.2 2.3 12.4 5.5 15.5 9.6s4.6 8.8 4.6 14c0 4.3-.9 8.2-2.6 11.6-1.8 3.4-4.2 6.4-7.3 8.8-3.1 2.5-6.8 4.3-11.1 5.6-4.5 1.4-9.2 2.1-14.3 2.1z" fill="#262f3e"/><path d="M271.5 142.7c-32.9 24.3-80.7 37.2-121.8 37.2-57.6 0-109.5-21.3-148.7-56.7-3.1-2.8-.3-6.6 3.4-4.4 42.4 24.6 94.7 39.5 148.8 39.5 36.5 0 76.6-7.6 113.5-23.2 5.5-2.5 10.2 3.6 4.8 7.6zm13.7-15.6c-4.2-5.4-27.8-2.6-38.5-1.3-3.2.4-3.7-2.4-.8-4.5 18.8-13.2 49.7-9.4 53.3-5 3.6 4.5-1 35.4-18.6 50.2-2.7 2.3-5.3 1.1-4.1-1.9 4-9.9 12.9-32.2 8.7-37.5z" fill="#f59931"/></svg>
assets/images/{google.svg → providers/google.svg} RENAMED
File without changes
assets/images/{mailgun.svg → providers/mailgun.svg} RENAMED
File without changes
assets/images/providers/microsoft.svg ADDED
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 604 129"><path d="M213.2 74.3l-3.6 10.2h-.3c-.6-2.3-1.7-5.8-3.5-10L186.5 26h-18.9v77.3h12.5V55.6c0-3 0-6.4-.1-10.6-.1-2.1-.3-3.7-.4-4.9h.3c.6 3 1.3 5.2 1.8 6.6l23.2 56.4h8.8l23-56.9c.5-1.3 1-3.9 1.5-6.1h.3c-.3 5.7-.5 10.8-.6 13.9v49h13.3V25.8H233l-19.8 48.5zm50.6-26.7h13V103h-13zm6.6-23.4c-2.2 0-4 .8-5.5 2.2-1.5 1.4-2.3 3.2-2.3 5.4 0 2.1.8 3.9 2.3 5.3 1.5 1.4 3.3 2.1 5.5 2.1s4.1-.8 5.5-2.1c1.5-1.4 2.3-3.2 2.3-5.3s-.8-3.9-2.3-5.4c-1.3-1.4-3.2-2.2-5.5-2.2m52.5 22.9c-2.4-.5-4.9-.8-7.3-.8-5.9 0-11.3 1.3-15.8 3.9-4.5 2.6-8.1 6.2-10.4 10.7-2.4 4.6-3.6 9.9-3.6 16 0 5.3 1.2 10 3.5 14.3 2.3 4.2 5.5 7.6 9.8 9.9 4.1 2.3 8.9 3.5 14.3 3.5 6.2 0 11.5-1.3 15.7-3.7l.1-.1v-12l-.5.4c-1.9 1.4-4.1 2.6-6.3 3.3-2.3.8-4.4 1.2-6.2 1.2-5.2 0-9.3-1.5-12.2-4.8-3-3.2-4.5-7.6-4.5-13.1 0-5.7 1.5-10.2 4.6-13.5 3.1-3.3 7.2-5 12.2-5 4.2 0 8.5 1.4 12.4 4.2l.5.4V49.2l-.1-.1c-1.7-.7-3.6-1.5-6.2-2m42.9-.4c-3.2 0-6.2 1-8.8 3.1-2.2 1.8-3.7 4.4-5 7.5h-.1v-9.7h-13V103h13V74.7c0-4.8 1-8.8 3.2-11.7 2.2-3 5-4.5 8.4-4.5 1.2 0 2.4.3 3.9.5 1.4.4 2.4.8 3.1 1.3l.5.4v-13l-.3-.1c-.9-.6-2.7-.9-4.9-.9m35.4-.3c-9.1 0-16.4 2.7-21.5 8-5.2 5.3-7.7 12.6-7.7 21.8 0 8.6 2.6 15.6 7.6 20.7 5 5 11.8 7.6 20.3 7.6 8.9 0 16-2.7 21.1-8.1 5.2-5.4 7.7-12.6 7.7-21.5 0-8.8-2.4-15.8-7.3-20.9-4.7-5.1-11.6-7.6-20.2-7.6M411.6 89c-2.4 3.1-6.2 4.6-10.9 4.6s-8.5-1.5-11.2-4.8c-2.7-3.1-4-7.6-4-13.3 0-5.9 1.4-10.4 4-13.6 2.7-3.2 6.4-4.8 11.1-4.8 4.6 0 8.2 1.5 10.8 4.6 2.6 3.1 4 7.6 4 13.5-.2 6-1.3 10.7-3.8 13.8m46.1-18.4c-4.1-1.7-6.7-3-7.9-4.1-1-1-1.5-2.4-1.5-4.2 0-1.5.6-3 2.1-4s3.2-1.5 5.7-1.5c2.2 0 4.5.4 6.7 1s4.2 1.5 5.8 2.7l.5.4V48.7l-.3-.1c-1.5-.6-3.5-1.2-5.9-1.7-2.4-.4-4.6-.6-6.4-.6-6.2 0-11.3 1.5-15.3 4.8-4 3.1-5.9 7.3-5.9 12.2 0 2.6.4 4.9 1.3 6.8.9 1.9 2.2 3.7 4 5.2 1.8 1.4 4.4 3 8 4.5 3 1.3 5.3 2.3 6.7 3.1 1.4.8 2.3 1.7 3 2.4.5.8.8 1.8.8 3.1 0 3.7-2.8 5.5-8.5 5.5-2.2 0-4.5-.4-7.2-1.3s-5.2-2.2-7.3-3.7l-.5-.4v12.7l.3.1c1.9.9 4.2 1.5 7 2.2 2.8.5 5.3.9 7.5.9 6.7 0 12.2-1.5 16.1-4.8 4-3.2 6.1-7.3 6.1-12.6 0-3.7-1-7-3.2-9.5-2.9-2.4-6.5-4.9-11.7-6.9m49.2-24.2c-9.1 0-16.4 2.7-21.5 8s-7.7 12.6-7.7 21.8c0 8.6 2.6 15.6 7.6 20.7 5 5 11.8 7.6 20.3 7.6 8.9 0 16-2.7 21.1-8.1 5.2-5.4 7.7-12.6 7.7-21.5 0-8.8-2.4-15.8-7.3-20.9-4.7-5.1-11.6-7.6-20.2-7.6M517.2 89c-2.4 3.1-6.2 4.6-10.9 4.6-4.8 0-8.5-1.5-11.2-4.8-2.7-3.1-4-7.6-4-13.3 0-5.9 1.4-10.4 4-13.6 2.7-3.2 6.4-4.8 11.1-4.8 4.5 0 8.2 1.5 10.8 4.6 2.6 3.1 4 7.6 4 13.5 0 6-1.3 10.7-3.8 13.8m86.7-30.7V47.6h-13.1V31.2l-.4.1L578 35l-.3.1v12.5h-19.6v-7c0-3.2.8-5.7 2.2-7.3s3.5-2.4 6.1-2.4c1.8 0 3.7.4 5.8 1.3l.5.3V21.2l-.3-.1c-1.8-.6-4.2-1-7.3-1-3.9 0-7.3.9-10.4 2.4-3.1 1.7-5.4 4-7.1 7.1-1.7 3-2.6 6.4-2.6 10.3v7.7h-9.1v10.6h9.1V103h13.1V58.3h19.6v28.5c0 11.7 5.5 17.6 16.5 17.6 1.8 0 3.7-.3 5.5-.6 1.9-.4 3.3-.9 4.1-1.3l.1-.1V91.7l-.5.4c-.8.5-1.5.9-2.7 1.2-1 .3-1.9.4-2.6.4-2.6 0-4.4-.6-5.7-2.1-1.2-1.4-1.8-3.7-1.8-7.1V58.3h13.3z" fill="#737373"/><path fill="#F25022" d="M0 0h61.3v61.3H0z"/><path fill="#7FBA00" d="M67.7 0H129v61.3H67.7z"/><path fill="#00A4EF" d="M0 67.7h61.3V129H0z"/><path fill="#FFB900" d="M67.7 67.7H129V129H67.7z"/></svg>
assets/images/{pepipost.png → providers/pepipost.png} RENAMED
File without changes
assets/images/{php.svg → providers/php.svg} RENAMED
File without changes
assets/images/{sendgrid.svg → providers/sendgrid.svg} RENAMED
File without changes
assets/images/{sendinblue.svg → providers/sendinblue.svg} RENAMED
File without changes
assets/images/{smtp.svg → providers/smtp.svg} RENAMED
File without changes
assets/js/smtp-admin.js CHANGED
@@ -64,7 +64,14 @@ WPMailSMTP.Admin.Settings = WPMailSMTP.Admin.Settings || (function ( document, w
64
} );
65
66
$( '.wp-mail-smtp-mailer input', app.pageHolder ).click( function () {
67
- if ( $( this ).prop( 'disabled' ) ) {
68
return false;
69
}
70
@@ -88,7 +95,7 @@ WPMailSMTP.Admin.Settings = WPMailSMTP.Admin.Settings || (function ( document, w
88
type: 'POST',
89
data: {
90
action: 'wp_mail_smtp_ajax',
91
- task: 'pro_banner_dismiss',
92
}
93
} )
94
.always( function () {
@@ -96,7 +103,7 @@ WPMailSMTP.Admin.Settings = WPMailSMTP.Admin.Settings || (function ( document, w
96
} );
97
} );
98
99
- // Dismis educational notices for certain users.
100
$( '.js-wp-mail-smtp-mailer-notice-dismiss', app.pageHolder ).on( 'click', function ( e ) {
101
e.preventDefault();
102
@@ -154,6 +161,42 @@ WPMailSMTP.Admin.Settings = WPMailSMTP.Admin.Settings || (function ( document, w
154
} );
155
},
156
157
/**
158
* Individual mailers specific js code.
159
*
64
} );
65
66
$( '.wp-mail-smtp-mailer input', app.pageHolder ).click( function () {
67
+ var $input = $( this );
68
+
69
+ if ( $input.prop( 'disabled' ) ) {
70
+ // Educational Popup.
71
+ if ( $input.hasClass( 'educate' ) ) {
72
+ app.education.upgradeMailer( $input );
73
+ }
74
+
75
return false;
76
}
77
95
type: 'POST',
96
data: {
97
action: 'wp_mail_smtp_ajax',
98
+ task: 'pro_banner_dismiss'
99
}
100
} )
101
.always( function () {
103
} );
104
} );
105
106
+ // Dismis educational notices for certain mailers.
107
$( '.js-wp-mail-smtp-mailer-notice-dismiss', app.pageHolder ).on( 'click', function ( e ) {
108
e.preventDefault();
109
161
} );
162
},
163
164
+ education: {
165
+ upgradeMailer: function( $input ) {
166
+
167
+ $.alert( {
168
+ backgroundDismiss: true,
169
+ escapeKey: true,
170
+ animationBounce: 1,
171
+ theme: 'modern',
172
+ animateFromElement: false,
173
+ draggable: false,
174
+ closeIcon: true,
175
+ useBootstrap: false,
176
+ title: wp_mail_smtp.education.upgrade_title.replace( /%name%/g, $input.siblings( 'label' ).text().trim() ),
177
+ icon: '"></i>' + wp_mail_smtp.education.upgrade_icon_lock + '<i class="',
178
+ content: $( '.wp-mail-smtp-mailer-options .wp-mail-smtp-mailer-option-' + $input.val() + ' .wp-mail-smtp-setting-field' ).html(),
179
+ boxWidth: '550px',
180
+ onOpenBefore: function() {
181
+ this.$btnc.after( '<div class="discount-note">' + wp_mail_smtp.education.upgrade_bonus + wp_mail_smtp.education.upgrade_doc + '</div>' );
182
+ },
183
+ buttons : {
184
+ confirm: {
185
+ text : wp_mail_smtp.education.upgrade_button,
186
+ btnClass: 'btn-confirm',
187
+ keys : [ 'enter' ],
188
+ action : function () {
189
+ window.open(
190
+ wp_mail_smtp.education.upgrade_url + '&utm_content=' + encodeURI( $input.val() ),
191
+ '_blank'
192
+ );
193
+ }
194
+ }
195
+ }
196
+ } );
197
+ }
198
+ },
199
+
200
/**
201
* Individual mailers specific js code.
202
*
assets/js/smtp-admin.min.js CHANGED
@@ -1 +1 @@
1
- var WPMailSMTP=window.WPMailSMTP||{};WPMailSMTP.Admin=WPMailSMTP.Admin||{},WPMailSMTP.Admin.Settings=WPMailSMTP.Admin.Settings||function(a,i,e){"use strict";var t={init:function(){e(a).ready(t.ready)},ready:function(){t.pageHolder=e(".wp-mail-smtp-tab-settings"),t.bindActions()},bindActions:function(){e(".wp-mail-smtp-mailer-image",t.pageHolder).click(function(){e(this).parents(".wp-mail-smtp-mailer").find("input").trigger("click")}),e(".wp-mail-smtp-mailer input",t.pageHolder).click(function(){if(e(this).prop("disabled"))return!1;e(".wp-mail-smtp-mailer",t.pageHolder).removeClass("active"),e(this).parents(".wp-mail-smtp-mailer").addClass("active"),e(".wp-mail-smtp-mailer-option",t.pageHolder).addClass("hidden").removeClass("active"),e(".wp-mail-smtp-mailer-option-"+e(this).val(),t.pageHolder).addClass("active").removeClass("hidden")}),t.mailers.smtp.bindActions(),e("#wp-mail-smtp-pro-banner-dismiss",t.pageHolder).on("click",function(){e.ajax({url:ajaxurl,dataType:"json",type:"POST",data:{action:"wp_mail_smtp_ajax",task:"pro_banner_dismiss"}}).always(function(){e("#wp-mail-smtp-pro-banner",t.pageHolder).fadeOut("fast")})}),e(".js-wp-mail-smtp-mailer-notice-dismiss",t.pageHolder).on("click",function(i){i.preventDefault();var a=e(this),t=a.parents(".inline-notice");if(a.hasClass("disabled"))return!1;e.ajax({url:ajaxurl,dataType:"json",type:"POST",data:{action:"wp_mail_smtp_ajax",task:"notice_dismiss",notice:t.data("notice"),mailer:t.data("mailer")},beforeSend:function(){a.addClass("disabled")}}).always(function(){t.fadeOut("fast",function(){a.removeClass("disabled")})})}),e("#wp-mail-smtp-debug .error-log-toggle").on("click",function(i){i.preventDefault(),e("#wp-mail-smtp-debug .error-log-toggle").find(".dashicons").toggleClass("dashicons-arrow-right-alt2 dashicons-arrow-down-alt2"),e("#wp-mail-smtp-debug .error-log").slideToggle(),e("#wp-mail-smtp-debug .error-log-note").toggle()}),e(".js-wp-mail-smtp-provider-remove",t.pageHolder).on("click",function(){return confirm(wp_mail_smtp.text_provider_remove)}),e(".wp-mail-smtp-setting-copy",t.pageHolder).click(function(i){i.preventDefault(),e("#"+e(this).data("source_id")).get(0).select(),a.execCommand("Copy")})},mailers:{smtp:{bindActions:function(){e("#wp-mail-smtp-setting-smtp-auth").change(function(){e("#wp-mail-smtp-setting-row-smtp-user, #wp-mail-smtp-setting-row-smtp-pass").toggleClass("inactive")}),e("#wp-mail-smtp-setting-row-smtp-encryption input").change(function(){var i=e(this),a=e("#wp-mail-smtp-setting-smtp-port",t.pageHolder);"tls"===i.val()?(a.val("587"),e("#wp-mail-smtp-setting-row-smtp-autotls").addClass("inactive")):("ssl"===i.val()?a.val("465"):a.val("25"),e("#wp-mail-smtp-setting-row-smtp-autotls").removeClass("inactive"))})}}}};return t}(document,window,jQuery),WPMailSMTP.Admin.Settings.init();
1
+ var WPMailSMTP=window.WPMailSMTP||{};WPMailSMTP.Admin=WPMailSMTP.Admin||{},WPMailSMTP.Admin.Settings=WPMailSMTP.Admin.Settings||function(a,i,e){"use strict";var n={init:function(){e(a).ready(n.ready)},ready:function(){n.pageHolder=e(".wp-mail-smtp-tab-settings"),n.bindActions()},bindActions:function(){e(".wp-mail-smtp-mailer-image",n.pageHolder).click(function(){e(this).parents(".wp-mail-smtp-mailer").find("input").trigger("click")}),e(".wp-mail-smtp-mailer input",n.pageHolder).click(function(){var t=e(this);if(t.prop("disabled"))return t.hasClass("educate")&&n.education.upgradeMailer(t),!1;e(".wp-mail-smtp-mailer",n.pageHolder).removeClass("active"),e(this).parents(".wp-mail-smtp-mailer").addClass("active"),e(".wp-mail-smtp-mailer-option",n.pageHolder).addClass("hidden").removeClass("active"),e(".wp-mail-smtp-mailer-option-"+e(this).val(),n.pageHolder).addClass("active").removeClass("hidden")}),n.mailers.smtp.bindActions(),e("#wp-mail-smtp-pro-banner-dismiss",n.pageHolder).on("click",function(){e.ajax({url:ajaxurl,dataType:"json",type:"POST",data:{action:"wp_mail_smtp_ajax",task:"pro_banner_dismiss"}}).always(function(){e("#wp-mail-smtp-pro-banner",n.pageHolder).fadeOut("fast")})}),e(".js-wp-mail-smtp-mailer-notice-dismiss",n.pageHolder).on("click",function(t){t.preventDefault();var a=e(this),i=a.parents(".inline-notice");if(a.hasClass("disabled"))return!1;e.ajax({url:ajaxurl,dataType:"json",type:"POST",data:{action:"wp_mail_smtp_ajax",task:"notice_dismiss",notice:i.data("notice"),mailer:i.data("mailer")},beforeSend:function(){a.addClass("disabled")}}).always(function(){i.fadeOut("fast",function(){a.removeClass("disabled")})})}),e("#wp-mail-smtp-debug .error-log-toggle").on("click",function(t){t.preventDefault(),e("#wp-mail-smtp-debug .error-log-toggle").find(".dashicons").toggleClass("dashicons-arrow-right-alt2 dashicons-arrow-down-alt2"),e("#wp-mail-smtp-debug .error-log").slideToggle(),e("#wp-mail-smtp-debug .error-log-note").toggle()}),e(".js-wp-mail-smtp-provider-remove",n.pageHolder).on("click",function(){return confirm(wp_mail_smtp.text_provider_remove)}),e(".wp-mail-smtp-setting-copy",n.pageHolder).click(function(t){t.preventDefault(),e("#"+e(this).data("source_id")).get(0).select(),a.execCommand("Copy")})},education:{upgradeMailer:function(t){e.alert({backgroundDismiss:!0,escapeKey:!0,animationBounce:1,theme:"modern",animateFromElement:!1,draggable:!1,closeIcon:!0,useBootstrap:!1,title:wp_mail_smtp.education.upgrade_title.replace(/%name%/g,t.siblings("label").text().trim()),icon:'"></i>'+wp_mail_smtp.education.upgrade_icon_lock+'<i class="',content:e(".wp-mail-smtp-mailer-options .wp-mail-smtp-mailer-option-"+t.val()+" .wp-mail-smtp-setting-field").html(),boxWidth:"550px",onOpenBefore:function(){this.$btnc.after('<div class="discount-note">'+wp_mail_smtp.education.upgrade_bonus+wp_mail_smtp.education.upgrade_doc+"</div>")},buttons:{confirm:{text:wp_mail_smtp.education.upgrade_button,btnClass:"btn-confirm",keys:["enter"],action:function(){i.open(wp_mail_smtp.education.upgrade_url+"&utm_content="+encodeURI(t.val()),"_blank")}}}})}},mailers:{smtp:{bindActions:function(){e("#wp-mail-smtp-setting-smtp-auth").change(function(){e("#wp-mail-smtp-setting-row-smtp-user, #wp-mail-smtp-setting-row-smtp-pass").toggleClass("inactive")}),e("#wp-mail-smtp-setting-row-smtp-encryption input").change(function(){var t=e(this),a=e("#wp-mail-smtp-setting-smtp-port",n.pageHolder);"tls"===t.val()?(a.val("587"),e("#wp-mail-smtp-setting-row-smtp-autotls").addClass("inactive")):("ssl"===t.val()?a.val("465"):a.val("25"),e("#wp-mail-smtp-setting-row-smtp-autotls").removeClass("inactive"))})}}}};return n}(document,window,jQuery),WPMailSMTP.Admin.Settings.init();
assets/languages/wp-mail-smtp.pot CHANGED
@@ -1,13 +1,13 @@
1
msgid ""
2
msgstr ""
3
- "Project-Id-Version: WP Mail SMTP 1.6.2\n"
4
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/wp-mail-smtp\n"
5
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
6
"Language-Team: LANGUAGE <LL@li.org>\n"
7
"MIME-Version: 1.0\n"
8
"Content-Type: text/plain; charset=UTF-8\n"
9
"Content-Transfer-Encoding: 8bit\n"
10
- "POT-Creation-Date: 2019-09-02T17:20:06+03:00\n"
11
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
12
"X-Generator: WP-CLI 2.2.0\n"
13
"X-Domain: wp-mail-smtp\n"
@@ -60,20 +60,20 @@ msgstr ""
60
61
#: src/Admin/Area.php:197
62
#: src/Admin/Area.php:198
63
- #: wp-mail-smtp-0.11.2.php:603
64
msgid "WP Mail SMTP"
65
msgstr ""
66
67
#: src/Admin/Area.php:208
68
#: src/Admin/Area.php:209
69
- #: src/Admin/Area.php:755
70
- #: wp-mail-smtp-0.11.2.php:709
71
msgid "Settings"
72
msgstr ""
73
74
#: src/Admin/Area.php:216
75
#: src/Admin/Area.php:217
76
- #: src/Admin/Area.php:756
77
#: src/Admin/Pages/About.php:615
78
#: src/Admin/Pages/Logs.php:40
79
#: src/Admin/Pages/LogsTab.php:31
@@ -86,53 +86,69 @@ msgstr ""
86
msgid "About Us"
87
msgstr ""
88
89
- #: src/Admin/Area.php:266
90
msgid "Are you sure you want to reset the current provider connection? You will need to immediately create a new one to be able to send emails."
91
msgstr ""
92
93
- #: src/Admin/Area.php:314
94
- #: src/Admin/Area.php:321
95
#: src/Admin/Pages/About.php:307
96
msgid "Activate"
97
msgstr ""
98
99
- #: src/Admin/Area.php:315
100
#: src/Admin/Pages/About.php:299
101
msgid "Activated"
102
msgstr ""
103
104
- #: src/Admin/Area.php:316
105
#: src/Admin/Pages/About.php:296
106
msgid "Active"
107
msgstr ""
108
109
- #: src/Admin/Area.php:317
110
#: src/Admin/Pages/About.php:304
111
msgid "Inactive"
112
msgstr ""
113
114
- #: src/Admin/Area.php:318
115
msgid "Processing..."
116
msgstr ""
117
118
- #: src/Admin/Area.php:319
119
msgid "Could not install a plugin. Please download from WordPress.org and install manually."
120
msgstr ""
121
122
- #: src/Admin/Area.php:320
123
msgid "Install and Activate"
124
msgstr ""
125
126
#. translators: %1$s - WP.org link; %2$s - same WP.org link.
127
- #: src/Admin/Area.php:380
128
msgid "Please rate <strong>WP Mail SMTP</strong> <a href=\"%1$s\" target=\"_blank\" rel=\"noopener noreferrer\">&#9733;&#9733;&#9733;&#9733;&#9733;</a> on <a href=\"%2$s\" target=\"_blank\" rel=\"noopener noreferrer\">WordPress.org</a> to help us spread the word. Thank you from the WP Mail SMTP team!"
129
msgstr ""
130
131
- #: src/Admin/Area.php:700
132
msgid "WP Mail SMTP Pro related message was successfully dismissed."
133
msgstr ""
134
135
- #: src/Admin/Area.php:719
136
msgid "Educational notice for this mailer was successfully dismissed."
137
msgstr ""
138
@@ -401,7 +417,7 @@ msgid "Check this if you would like to stop sending all emails."
401
msgstr ""
402
403
#: src/Admin/Pages/MiscTab.php:71
404
- msgid "Some plugins, like BuddyPress and Events Manager, are using own email delivery solutions. By default, this option does not block their emails, as those plugins do not use default <code>wp_mail()</code> function to send emails."
405
msgstr ""
406
407
#: src/Admin/Pages/MiscTab.php:79
@@ -412,44 +428,53 @@ msgstr ""
412
msgid "Test emails are allowed to be sent, regardless of this option."
413
msgstr ""
414
415
- #: src/Admin/Pages/MiscTab.php:90
416
- #: wp-mail-smtp-0.11.2.php:346
417
- #: wp-mail-smtp-0.11.2.php:351
418
msgid "Hide Announcements"
419
msgstr ""
420
421
- #: src/Admin/Pages/MiscTab.php:99
422
- #: wp-mail-smtp-0.11.2.php:356
423
msgid "Check this if you would like to hide plugin announcements and update details."
424
msgstr ""
425
426
- #: src/Admin/Pages/MiscTab.php:109
427
msgid "Hide Email Delivery Errors"
428
msgstr ""
429
430
- #: src/Admin/Pages/MiscTab.php:125
431
msgid "Check this if you would like to hide warnings alerting of email delivery errors."
432
msgstr ""
433
434
#. translators: %s - filter that was used to disabled.
435
- #: src/Admin/Pages/MiscTab.php:132
436
msgid "Email Delivery Errors were disabled using a %s filter."
437
msgstr ""
438
439
- #: src/Admin/Pages/MiscTab.php:141
440
msgid "<strong>This is not recommended</strong> and should only be done for staging or development sites."
441
msgstr ""
442
443
- #: src/Admin/Pages/MiscTab.php:156
444
msgid "Uninstall WP Mail SMTP"
445
msgstr ""
446
447
- #: src/Admin/Pages/MiscTab.php:164
448
msgid "Check this if you would like to remove ALL WP Mail SMTP data upon plugin deletion. All settings will be unrecoverable."
449
msgstr ""
450
451
- #: src/Admin/Pages/MiscTab.php:199
452
- #: src/Admin/Pages/SettingsTab.php:521
453
msgid "Settings were successfully saved."
454
msgstr ""
455
@@ -474,7 +499,7 @@ msgid "Mail"
474
msgstr ""
475
476
#: src/Admin/Pages/SettingsTab.php:92
477
- #: wp-mail-smtp-0.11.2.php:247
478
msgid "From Email"
479
msgstr ""
480
@@ -503,7 +528,7 @@ msgid "If checked, the From Email setting above will be used for all emails, ign
503
msgstr ""
504
505
#: src/Admin/Pages/SettingsTab.php:138
506
- #: wp-mail-smtp-0.11.2.php:266
507
msgid "From Name"
508
msgstr ""
509
@@ -524,18 +549,18 @@ msgid "If checked, the From Name setting above will be used for all emails, igno
524
msgstr ""
525
526
#: src/Admin/Pages/SettingsTab.php:179
527
- #: wp-mail-smtp-0.11.2.php:322
528
- #: wp-mail-smtp-0.11.2.php:327
529
msgid "Return Path"
530
msgstr ""
531
532
#: src/Admin/Pages/SettingsTab.php:188
533
- #: wp-mail-smtp-0.11.2.php:332
534
msgid "Set the return-path to match the From Email"
535
msgstr ""
536
537
#: src/Admin/Pages/SettingsTab.php:192
538
- #: wp-mail-smtp-0.11.2.php:336
539
msgid "Return Path indicates where non-delivery receipts - or bounce messages - are to be sent."
540
msgstr ""
541
@@ -544,98 +569,98 @@ msgid "If unchecked, bounce messages may be lost. Some providers may ignore this
544
msgstr ""
545
546
#: src/Admin/Pages/SettingsTab.php:201
547
- #: wp-mail-smtp-0.11.2.php:281
548
- #: wp-mail-smtp-0.11.2.php:286
549
msgid "Mailer"
550
msgstr ""
551
552
- #: src/Admin/Pages/SettingsTab.php:254
553
msgid "Dismiss this notice"
554
msgstr ""
555
556
- #: src/Admin/Pages/SettingsTab.php:295
557
msgid "You're using WP Mail SMTP Lite - no license needed. Enjoy!"
558
msgstr ""
559
560
#. translators: %s - WPMailSMTP.com upgrade URL.
561
- #: src/Admin/Pages/SettingsTab.php:301
562
msgid "To unlock more features consider <strong><a href=\"%s\" target=\"_blank\" rel=\"noopener noreferrer\" class=\"wp-mail-smtp-upgrade-modal\">upgrading to PRO</a></strong>."
563
msgstr ""
564
565
- #: src/Admin/Pages/SettingsTab.php:320
566
msgid "As a valued WP Mail SMTP Lite user you receive <strong>20% off</strong>, automatically applied at checkout!"
567
msgstr ""
568
569
- #: src/Admin/Pages/SettingsTab.php:381
570
msgid "Get WP Mail SMTP Pro and Unlock all the Powerful Features"
571
msgstr ""
572
573
- #: src/Admin/Pages/SettingsTab.php:385
574
msgid "Thanks for being a loyal WP Mail SMTP user. Upgrade to WP Mail SMTP Pro to unlock more awesome features and experience why WP Mail SMTP is the most popular SMTP plugin."
575
msgstr ""
576
577
- #: src/Admin/Pages/SettingsTab.php:389
578
msgid "We know that you will truly love WP Mail SMTP. It's used by over 1,000,000 websites."
579
msgstr ""
580
581
- #: src/Admin/Pages/SettingsTab.php:392
582
msgid "Pro Features:"
583
msgstr ""
584
585
- #: src/Admin/Pages/SettingsTab.php:396
586
msgid "Manage Notifications - control which emails your site sends"
587
msgstr ""
588
589
- #: src/Admin/Pages/SettingsTab.php:397
590
msgid "Email Logging - keep track of every email sent from your site"
591
msgstr ""
592
593
- #: src/Admin/Pages/SettingsTab.php:398
594
msgid "Office 365 - send emails using your Office 365 account"
595
msgstr ""
596
597
- #: src/Admin/Pages/SettingsTab.php:399
598
msgid "Amazon SES - harness the power of AWS"
599
msgstr ""
600
601
- #: src/Admin/Pages/SettingsTab.php:400
602
msgid "Outlook.com - send emails using your Outlook.com account"
603
msgstr ""
604
605
- #: src/Admin/Pages/SettingsTab.php:401
606
msgid "Access to our world class support team"
607
msgstr ""
608
609
- #: src/Admin/Pages/SettingsTab.php:404
610
msgid "White Glove Setup - sit back and relax while we handle everything for you"
611
msgstr ""
612
613
- #: src/Admin/Pages/SettingsTab.php:405
614
msgid "Install WP Mail SMTP Pro plugin"
615
msgstr ""
616
617
- #: src/Admin/Pages/SettingsTab.php:406
618
msgid "Set up domain name verification (DNS)"
619
msgstr ""
620
621
- #: src/Admin/Pages/SettingsTab.php:407
622
msgid "Configure Mailgun service"
623
msgstr ""
624
625
- #: src/Admin/Pages/SettingsTab.php:408
626
msgid "Set up WP Mail SMTP Pro plugin"
627
msgstr ""
628
629
- #: src/Admin/Pages/SettingsTab.php:409
630
msgid "Test and verify email delivery"
631
msgstr ""
632
633
#. translators: %s - WPMailSMTP.com URL.
634
- #: src/Admin/Pages/SettingsTab.php:417
635
msgid "<a href=\"%s\" target=\"_blank\" rel=\"noopener noreferrer\">Get WP Mail SMTP Pro Today and Unlock all the Powerful Features &raquo;</a>"
636
msgstr ""
637
638
- #: src/Admin/Pages/SettingsTab.php:435
639
msgid "<strong>Bonus:</strong> WP Mail SMTP users get <span class=\"price-off\">20% off regular price</span>, automatically applied at checkout."
640
msgstr ""
641
@@ -644,7 +669,7 @@ msgid "Email Test"
644
msgstr ""
645
646
#: src/Admin/Pages/TestTab.php:59
647
- #: wp-mail-smtp-0.11.2.php:549
648
msgid "Send a Test Email"
649
msgstr ""
650
@@ -661,14 +686,14 @@ msgid "HTML"
661
msgstr ""
662
663
#: src/Admin/Pages/TestTab.php:86
664
- #: src/Providers/OptionsAbstract.php:255
665
- #: src/Providers/OptionsAbstract.php:277
666
msgid "On"
667
msgstr ""
668
669
#: src/Admin/Pages/TestTab.php:87
670
- #: src/Providers/OptionsAbstract.php:256
671
- #: src/Providers/OptionsAbstract.php:278
672
msgid "Off"
673
msgstr ""
674
@@ -1123,7 +1148,7 @@ msgid "Please copy only the content of the error debug message above, identified
1123
msgstr ""
1124
1125
#. translators: %1$s - Plugin name causing conflict; %2$s - Plugin name causing conflict.
1126
- #: src/Conflicts.php:160
1127
msgid "Heads up! WP Mail SMTP has detected %1$s is activated. Please deactivate %2$s to prevent conflicts."
1128
msgstr ""
1129
@@ -1132,7 +1157,7 @@ msgstr ""
1132
msgid "Your site is running an <strong>insecure version</strong> of PHP that is no longer supported. Please contact your web hosting provider to update your PHP version or switch to a <a href=\"%1$s\" target=\"_blank\" rel=\"noopener noreferrer\">recommended WordPress hosting company</a>."
1133
msgstr ""
1134
1135
- #. translators: %s - WPForms.com URL for documentation with more details.
1136
#: src/Core.php:123
1137
msgid "<strong>Note:</strong> WP Mail SMTP plugin is disabled on your site until you fix the issue. <a href=\"%s\" target=\"_blank\" rel=\"noopener noreferrer\">Read more for additional information.</a>"
1138
msgstr ""
@@ -1146,20 +1171,38 @@ msgstr ""
1146
msgid "<strong>Please Note:</strong> Support for PHP 5.3-5.5 will be discontinued in 2019. After this, if no further action is taken, WP Mail SMTP functionality will be disabled."
1147
msgstr ""
1148
1149
- #. translators: %1$s - plugin name and its version, %2$s - plugin Misc settings page.
1150
- #: src/Core.php:434
1151
- msgid "<strong>EMAILING DISABLED:</strong> The %1$s is currently blocking all emails from being sent. To send emails, go to plugin <a href=\"%2$s\">Misc settings</a> and disable the \"Do Not Send\" option."
1152
msgstr ""
1153
1154
#. translators: %s - plugin name and its version.
1155
- #: src/Core.php:465
1156
msgid "<strong>EMAIL DELIVERY ERROR:</strong> the plugin %s logged this error during the last time it tried to send an email:"
1157
msgstr ""
1158
1159
- #: src/Core.php:495
1160
msgid "Consider running an email test after fixing it."
1161
msgstr ""
1162
1163
#: src/Providers/Gmail/Auth.php:170
1164
msgid "There was an error while processing the Google authentication request. Please make sure that you have Client ID and Client Secret both valid and saved."
1165
msgstr ""
@@ -1294,104 +1337,107 @@ msgstr ""
1294
msgid "<a href=\"%s\" rel=\"\" target=\"_blank\">More information</a> on Mailgun.com."
1295
msgstr ""
1296
1297
- #: src/Providers/OptionsAbstract.php:177
1298
- #: wp-mail-smtp-0.11.2.php:376
1299
msgid "SMTP Host"
1300
msgstr ""
1301
1302
- #: src/Providers/OptionsAbstract.php:191
1303
- #: wp-mail-smtp-0.11.2.php:391
1304
- #: wp-mail-smtp-0.11.2.php:395
1305
- #: wp-mail-smtp-0.11.2.php:510
1306
- #: wp-mail-smtp-0.11.2.php:516
1307
msgid "Encryption"
1308
msgstr ""
1309
1310
- #: src/Providers/OptionsAbstract.php:201
1311
msgid "None"
1312
msgstr ""
1313
1314
- #: src/Providers/OptionsAbstract.php:210
1315
msgid "SSL"
1316
msgstr ""
1317
1318
- #: src/Providers/OptionsAbstract.php:219
1319
msgid "TLS"
1320
msgstr ""
1321
1322
- #: src/Providers/OptionsAbstract.php:223
1323
msgid "For most servers TLS is the recommended option. If your SMTP provider offers both SSL and TLS options, we recommend using TLS."
1324
msgstr ""
1325
1326
- #: src/Providers/OptionsAbstract.php:231
1327
- #: wp-mail-smtp-0.11.2.php:384
1328
- #: wp-mail-smtp-0.11.2.php:502
1329
msgid "SMTP Port"
1330
msgstr ""
1331
1332
- #: src/Providers/OptionsAbstract.php:245
1333
msgid "Auto TLS"
1334
msgstr ""
1335
1336
- #: src/Providers/OptionsAbstract.php:259
1337
msgid "By default TLS encryption is automatically used if the server supports it, which is recommended. In some cases, due to server misconfigurations, this can cause issues and may need to be disabled."
1338
msgstr ""
1339
1340
- #: src/Providers/OptionsAbstract.php:267
1341
- #: wp-mail-smtp-0.11.2.php:418
1342
- #: wp-mail-smtp-0.11.2.php:422
1343
msgid "Authentication"
1344
msgstr ""
1345
1346
- #: src/Providers/OptionsAbstract.php:286
1347
msgid "SMTP Username"
1348
msgstr ""
1349
1350
- #: src/Providers/OptionsAbstract.php:300
1351
msgid "SMTP Password"
1352
msgstr ""
1353
1354
#. translators: %s - constant name: WPMS_SMTP_PASS.
1355
- #: src/Providers/OptionsAbstract.php:312
1356
msgid "To change the password you need to change the value of the constant there: %s"
1357
msgstr ""
1358
1359
#. translators: %1$s - wp-config.php file, %2$s - WPMS_ON constant name.
1360
- #: src/Providers/OptionsAbstract.php:320
1361
msgid "If you want to disable the use of constants, find in %1$s file the constant %2$s and turn if off:"
1362
msgstr ""
1363
1364
- #: src/Providers/OptionsAbstract.php:330
1365
msgid "All the defined constants will stop working and you will be able to change all the values on this page."
1366
msgstr ""
1367
1368
- #: src/Providers/OptionsAbstract.php:338
1369
msgid "The password is stored in plain text. We highly recommend you set up your password in your WordPress configuration file for improved security."
1370
msgstr ""
1371
1372
#. translators: %s - wp-config.php.
1373
- #: src/Providers/OptionsAbstract.php:343
1374
msgid "To do this add the lines below to your %s file:"
1375
msgstr ""
1376
1377
#. translators: %1$s - Provider name; %2$s - PHP version required by Provider; %3$s - current PHP version.
1378
- #: src/Providers/OptionsAbstract.php:396
1379
msgid "%1$s requires PHP %2$s to work and does not support your current PHP version %3$s. Please contact your host and request a PHP upgrade to the latest one."
1380
msgstr ""
1381
1382
- #: src/Providers/OptionsAbstract.php:403
1383
- #: src/Providers/OptionsAbstract.php:427
1384
msgid "Meanwhile you can switch to some other mailers."
1385
msgstr ""
1386
1387
#. translators: %s - Provider name.
1388
- #: src/Providers/OptionsAbstract.php:422
1389
msgid "%s requires a SSL certificate on a site to work and does not support you current installation. Please contact your host and request a SSL certificate or install a free one, like Let's Encrypt."
1390
msgstr ""
1391
1392
- #. translators: %1$s - constant name, %2$s - file name.
1393
- #: src/Providers/OptionsAbstract.php:446
1394
- msgid "The value of this field was set using a constant %1$s most likely inside %2$s of your WordPress installation."
1395
msgstr ""
1396
1397
#: src/Providers/Pepipost/Options.php:25
@@ -1467,148 +1513,148 @@ msgstr ""
1467
msgid "%1$s \\a\\t %2$s"
1468
msgstr ""
1469
1470
- #: wp-mail-smtp-0.11.2.php:193
1471
- #: wp-mail-smtp-0.11.2.php:567
1472
msgid "Send Test"
1473
msgstr ""
1474
1475
#. translators: %s - email address where test mail will be sent to.
1476
- #: wp-mail-smtp-0.11.2.php:202
1477
msgid "Test mail to %s"
1478
msgstr ""
1479
1480
- #: wp-mail-smtp-0.11.2.php:203
1481
msgid "This is a test email generated by the WP Mail SMTP WordPress plugin."
1482
msgstr ""
1483
1484
- #: wp-mail-smtp-0.11.2.php:219
1485
msgid "Test Message Sent"
1486
msgstr ""
1487
1488
- #: wp-mail-smtp-0.11.2.php:220
1489
msgid "The result was:"
1490
msgstr ""
1491
1492
- #: wp-mail-smtp-0.11.2.php:223
1493
msgid "The full debugging output is shown below:"
1494
msgstr ""
1495
1496
- #: wp-mail-smtp-0.11.2.php:226
1497
msgid "The SMTP debugging output is shown below:"
1498
msgstr ""
1499
1500
- #: wp-mail-smtp-0.11.2.php:238
1501
- #: wp-mail-smtp-0.11.2.php:603
1502
msgid "WP Mail SMTP Settings"
1503
msgstr ""
1504
1505
- #: wp-mail-smtp-0.11.2.php:254
1506
msgid "You can specify the email address that emails should be sent from. If you leave this blank, the default email will be used."
1507
msgstr ""
1508
1509
- #: wp-mail-smtp-0.11.2.php:257
1510
msgid "<strong>Please Note:</strong> You appear to be using a version of WordPress prior to 2.3. Please ignore the From Name field and instead enter Name&lt;email@domain.com&gt; in this field."
1511
msgstr ""
1512
1513
- #: wp-mail-smtp-0.11.2.php:272
1514
msgid "You can specify the name that emails should be sent from. If you leave this blank, the emails will be sent from WordPress."
1515
msgstr ""
1516
1517
- #: wp-mail-smtp-0.11.2.php:291
1518
msgid "Send all WordPress emails via SMTP."
1519
msgstr ""
1520
1521
- #: wp-mail-smtp-0.11.2.php:295
1522
msgid "Use the PHP mail() function to send emails."
1523
msgstr ""
1524
1525
- #: wp-mail-smtp-0.11.2.php:301
1526
msgid "Use Pepipost SMTP to send emails."
1527
msgstr ""
1528
1529
#. translators: %1$s - link start; %2$s - link end.
1530
- #: wp-mail-smtp-0.11.2.php:307
1531
msgid "Looking for high inbox delivery? Try Pepipost with easy setup and free emails. Learn more %1$shere%2$s."
1532
msgstr ""
1533
1534
- #: wp-mail-smtp-0.11.2.php:364
1535
- #: wp-mail-smtp-0.11.2.php:464
1536
- #: wp-mail-smtp-0.11.2.php:540
1537
msgid "Save Changes"
1538
msgstr ""
1539
1540
- #: wp-mail-smtp-0.11.2.php:369
1541
msgid "SMTP Options"
1542
msgstr ""
1543
1544
- #: wp-mail-smtp-0.11.2.php:371
1545
msgid "These options only apply if you have chosen to send mail by SMTP above."
1546
msgstr ""
1547
1548
- #: wp-mail-smtp-0.11.2.php:400
1549
- #: wp-mail-smtp-0.11.2.php:522
1550
msgid "No encryption."
1551
msgstr ""
1552
1553
- #: wp-mail-smtp-0.11.2.php:405
1554
- #: wp-mail-smtp-0.11.2.php:527
1555
msgid "Use SSL encryption."
1556
msgstr ""
1557
1558
- #: wp-mail-smtp-0.11.2.php:410
1559
- #: wp-mail-smtp-0.11.2.php:532
1560
msgid "Use TLS encryption."
1561
msgstr ""
1562
1563
- #: wp-mail-smtp-0.11.2.php:413
1564
msgid "TLS is not the same as STARTTLS. For most servers SSL is the recommended option."
1565
msgstr ""
1566
1567
- #: wp-mail-smtp-0.11.2.php:427
1568
msgid "No: Do not use SMTP authentication."
1569
msgstr ""
1570
1571
- #: wp-mail-smtp-0.11.2.php:432
1572
msgid "Yes: Use SMTP authentication."
1573
msgstr ""
1574
1575
- #: wp-mail-smtp-0.11.2.php:436
1576
msgid "If this is set to no, the values below are ignored."
1577
msgstr ""
1578
1579
- #: wp-mail-smtp-0.11.2.php:443
1580
- #: wp-mail-smtp-0.11.2.php:486
1581
msgid "Username"
1582
msgstr ""
1583
1584
- #: wp-mail-smtp-0.11.2.php:451
1585
- #: wp-mail-smtp-0.11.2.php:494
1586
msgid "Password"
1587
msgstr ""
1588
1589
- #: wp-mail-smtp-0.11.2.php:457
1590
msgid "This is in plain text because it must not be stored encrypted."
1591
msgstr ""
1592
1593
- #: wp-mail-smtp-0.11.2.php:471
1594
msgid "Pepipost SMTP Options"
1595
msgstr ""
1596
1597
#. translators: %s - Pepipost registration URL.
1598
- #: wp-mail-smtp-0.11.2.php:477
1599
msgid "You need to signup on %s to get the SMTP username/password."
1600
msgstr ""
1601
1602
- #: wp-mail-smtp-0.11.2.php:557
1603
msgid "To"
1604
msgstr ""
1605
1606
- #: wp-mail-smtp-0.11.2.php:561
1607
msgid "Type an email address here and then click Send Test to generate a test email."
1608
msgstr ""
1609
1610
#. translators: %1$s - WP Mail SMTP plugin name; %2$s - opening a link tag; %3$s - closing a link tag.
1611
- #: wp-mail-smtp-0.11.2.php:770
1612
msgid "Your site is running an outdated version of PHP that is no longer supported and may cause issues with %1$s. %2$sRead more%3$s for additional information."
1613
msgstr ""
1614
1
msgid ""
2
msgstr ""
3
+ "Project-Id-Version: WP Mail SMTP 1.7.0\n"
4
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/wp-mail-smtp\n"
5
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
6
"Language-Team: LANGUAGE <LL@li.org>\n"
7
"MIME-Version: 1.0\n"
8
"Content-Type: text/plain; charset=UTF-8\n"
9
"Content-Transfer-Encoding: 8bit\n"
10
+ "POT-Creation-Date: 2019-10-24T18:27:33+03:00\n"
11
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
12
"X-Generator: WP-CLI 2.2.0\n"
13
"X-Domain: wp-mail-smtp\n"
60
61
#: src/Admin/Area.php:197
62
#: src/Admin/Area.php:198
63
+ #: wp-mail-smtp-0.11.2.php:582
64
msgid "WP Mail SMTP"
65
msgstr ""
66
67
#: src/Admin/Area.php:208
68
#: src/Admin/Area.php:209
69
+ #: src/Admin/Area.php:792
70
+ #: wp-mail-smtp-0.11.2.php:688
71
msgid "Settings"
72
msgstr ""
73
74
#: src/Admin/Area.php:216
75
#: src/Admin/Area.php:217
76
+ #: src/Admin/Area.php:793
77
#: src/Admin/Pages/About.php:615
78
#: src/Admin/Pages/Logs.php:40
79
#: src/Admin/Pages/LogsTab.php:31
86
msgid "About Us"
87
msgstr ""
88
89
+ #: src/Admin/Area.php:267
90
msgid "Are you sure you want to reset the current provider connection? You will need to immediately create a new one to be able to send emails."
91
msgstr ""
92
93
+ #: src/Admin/Area.php:270
94
+ msgid "%name% is a PRO Feature"
95
+ msgstr ""
96
+
97
+ #: src/Admin/Area.php:271
98
+ msgid "Upgrade to Pro"
99
+ msgstr ""
100
+
101
+ #: src/Admin/Area.php:275
102
+ msgid "<strong>Bonus:</strong> WP Mail SMTP users get <span>20% off</span> regular price,<br>applied at checkout."
103
+ msgstr ""
104
+
105
+ #: src/Admin/Area.php:284
106
+ msgid "Already purchased?"
107
+ msgstr ""
108
+
109
+ #: src/Admin/Area.php:351
110
+ #: src/Admin/Area.php:358
111
#: src/Admin/Pages/About.php:307
112
msgid "Activate"
113
msgstr ""
114
115
+ #: src/Admin/Area.php:352
116
#: src/Admin/Pages/About.php:299
117
msgid "Activated"
118
msgstr ""
119
120
+ #: src/Admin/Area.php:353
121
#: src/Admin/Pages/About.php:296
122
msgid "Active"
123
msgstr ""
124
125
+ #: src/Admin/Area.php:354
126
#: src/Admin/Pages/About.php:304
127
msgid "Inactive"
128
msgstr ""
129
130
+ #: src/Admin/Area.php:355
131
msgid "Processing..."
132
msgstr ""
133
134
+ #: src/Admin/Area.php:356
135
msgid "Could not install a plugin. Please download from WordPress.org and install manually."
136
msgstr ""
137
138
+ #: src/Admin/Area.php:357
139
msgid "Install and Activate"
140
msgstr ""
141
142
#. translators: %1$s - WP.org link; %2$s - same WP.org link.
143
+ #: src/Admin/Area.php:417
144
msgid "Please rate <strong>WP Mail SMTP</strong> <a href=\"%1$s\" target=\"_blank\" rel=\"noopener noreferrer\">&#9733;&#9733;&#9733;&#9733;&#9733;</a> on <a href=\"%2$s\" target=\"_blank\" rel=\"noopener noreferrer\">WordPress.org</a> to help us spread the word. Thank you from the WP Mail SMTP team!"
145
msgstr ""
146
147
+ #: src/Admin/Area.php:737
148
msgid "WP Mail SMTP Pro related message was successfully dismissed."
149
msgstr ""
150
151
+ #: src/Admin/Area.php:756
152
msgid "Educational notice for this mailer was successfully dismissed."
153
msgstr ""
154
417
msgstr ""
418
419
#: src/Admin/Pages/MiscTab.php:71
420
+ msgid "Some plugins, like BuddyPress and Events Manager, are using their own email delivery solutions. By default, this option does not block their emails, as those plugins do not use default <code>wp_mail()</code> function to send emails."
421
msgstr ""
422
423
#: src/Admin/Pages/MiscTab.php:79
428
msgid "Test emails are allowed to be sent, regardless of this option."
429
msgstr ""
430
431
+ #. translators: %1$s - constant that was used; %2$s - file where it was used.
432
+ #. translators: %1$s - constant name, %2$s - file name.
433
+ #: src/Admin/Pages/MiscTab.php:86
434
+ #: src/Providers/OptionsAbstract.php:468
435
+ msgid "The value of this field was set using a constant %1$s most likely inside %2$s of your WordPress installation."
436
+ msgstr ""
437
+
438
+ #. translators: %1$s - constant to use; %2$s - file to put that constant in.
439
+ #: src/Admin/Pages/MiscTab.php:92
440
+ msgid "If you want to disable using a constant, put %1$s in your %2$s file."
441
+ msgstr ""
442
+
443
+ #: src/Admin/Pages/MiscTab.php:106
444
msgid "Hide Announcements"
445
msgstr ""
446
447
+ #: src/Admin/Pages/MiscTab.php:115
448
msgid "Check this if you would like to hide plugin announcements and update details."
449
msgstr ""
450
451
+ #: src/Admin/Pages/MiscTab.php:125
452
msgid "Hide Email Delivery Errors"
453
msgstr ""
454
455
+ #: src/Admin/Pages/MiscTab.php:141
456
msgid "Check this if you would like to hide warnings alerting of email delivery errors."
457
msgstr ""
458
459
#. translators: %s - filter that was used to disabled.
460
+ #: src/Admin/Pages/MiscTab.php:148
461
msgid "Email Delivery Errors were disabled using a %s filter."
462
msgstr ""
463
464
+ #: src/Admin/Pages/MiscTab.php:157
465
msgid "<strong>This is not recommended</strong> and should only be done for staging or development sites."
466
msgstr ""
467
468
+ #: src/Admin/Pages/MiscTab.php:172
469
msgid "Uninstall WP Mail SMTP"
470
msgstr ""
471
472
+ #: src/Admin/Pages/MiscTab.php:180
473
msgid "Check this if you would like to remove ALL WP Mail SMTP data upon plugin deletion. All settings will be unrecoverable."
474
msgstr ""
475
476
+ #: src/Admin/Pages/MiscTab.php:215
477
+ #: src/Admin/Pages/SettingsTab.php:533
478
msgid "Settings were successfully saved."
479
msgstr ""
480
499
msgstr ""
500
501
#: src/Admin/Pages/SettingsTab.php:92
502
+ #: wp-mail-smtp-0.11.2.php:246
503
msgid "From Email"
504
msgstr ""
505
528
msgstr ""
529
530
#: src/Admin/Pages/SettingsTab.php:138
531
+ #: wp-mail-smtp-0.11.2.php:265
532
msgid "From Name"
533
msgstr ""
534
549
msgstr ""
550
551
#: src/Admin/Pages/SettingsTab.php:179
552
+ #: wp-mail-smtp-0.11.2.php:321
553
+ #: wp-mail-smtp-0.11.2.php:326
554
msgid "Return Path"
555
msgstr ""
556
557
#: src/Admin/Pages/SettingsTab.php:188
558
+ #: wp-mail-smtp-0.11.2.php:331
559
msgid "Set the return-path to match the From Email"
560
msgstr ""
561
562
#: src/Admin/Pages/SettingsTab.php:192
563
+ #: wp-mail-smtp-0.11.2.php:335
564
msgid "Return Path indicates where non-delivery receipts - or bounce messages - are to be sent."
565
msgstr ""
566
569
msgstr ""
570
571
#: src/Admin/Pages/SettingsTab.php:201
572
+ #: wp-mail-smtp-0.11.2.php:280
573
+ #: wp-mail-smtp-0.11.2.php:285
574
msgid "Mailer"
575
msgstr ""
576
577
+ #: src/Admin/Pages/SettingsTab.php:265
578
msgid "Dismiss this notice"
579
msgstr ""
580
581
+ #: src/Admin/Pages/SettingsTab.php:307
582
msgid "You're using WP Mail SMTP Lite - no license needed. Enjoy!"
583
msgstr ""
584
585
#. translators: %s - WPMailSMTP.com upgrade URL.
586
+ #: src/Admin/Pages/SettingsTab.php:313
587
msgid "To unlock more features consider <strong><a href=\"%s\" target=\"_blank\" rel=\"noopener noreferrer\" class=\"wp-mail-smtp-upgrade-modal\">upgrading to PRO</a></strong>."
588
msgstr ""
589
590
+ #: src/Admin/Pages/SettingsTab.php:332
591
msgid "As a valued WP Mail SMTP Lite user you receive <strong>20% off</strong>, automatically applied at checkout!"
592
msgstr ""
593
594
+ #: src/Admin/Pages/SettingsTab.php:393
595
msgid "Get WP Mail SMTP Pro and Unlock all the Powerful Features"
596
msgstr ""
597
598
+ #: src/Admin/Pages/SettingsTab.php:397
599
msgid "Thanks for being a loyal WP Mail SMTP user. Upgrade to WP Mail SMTP Pro to unlock more awesome features and experience why WP Mail SMTP is the most popular SMTP plugin."
600
msgstr ""
601
602
+ #: src/Admin/Pages/SettingsTab.php:401
603
msgid "We know that you will truly love WP Mail SMTP. It's used by over 1,000,000 websites."
604
msgstr ""
605
606
+ #: src/Admin/Pages/SettingsTab.php:404
607
msgid "Pro Features:"
608
msgstr ""
609
610
+ #: src/Admin/Pages/SettingsTab.php:408
611
msgid "Manage Notifications - control which emails your site sends"
612
msgstr ""
613
614
+ #: src/Admin/Pages/SettingsTab.php:409
615
msgid "Email Logging - keep track of every email sent from your site"
616
msgstr ""
617
618
+ #: src/Admin/Pages/SettingsTab.php:410
619
msgid "Office 365 - send emails using your Office 365 account"
620
msgstr ""
621
622
+ #: src/Admin/Pages/SettingsTab.php:411
623
msgid "Amazon SES - harness the power of AWS"
624
msgstr ""
625
626
+ #: src/Admin/Pages/SettingsTab.php:412
627
msgid "Outlook.com - send emails using your Outlook.com account"
628
msgstr ""
629
630
+ #: src/Admin/Pages/SettingsTab.php:413
631
msgid "Access to our world class support team"
632
msgstr ""
633
634
+ #: src/Admin/Pages/SettingsTab.php:416
635
msgid "White Glove Setup - sit back and relax while we handle everything for you"
636
msgstr ""
637
638
+ #: src/Admin/Pages/SettingsTab.php:417
639
msgid "Install WP Mail SMTP Pro plugin"
640
msgstr ""
641
642
+ #: src/Admin/Pages/SettingsTab.php:418
643
msgid "Set up domain name verification (DNS)"
644
msgstr ""
645
646
+ #: src/Admin/Pages/SettingsTab.php:419
647
msgid "Configure Mailgun service"
648
msgstr ""
649
650
+ #: src/Admin/Pages/SettingsTab.php:420
651
msgid "Set up WP Mail SMTP Pro plugin"
652
msgstr ""
653
654
+ #: src/Admin/Pages/SettingsTab.php:421
655
msgid "Test and verify email delivery"
656
msgstr ""
657
658
#. translators: %s - WPMailSMTP.com URL.
659
+ #: src/Admin/Pages/SettingsTab.php:429
660
msgid "<a href=\"%s\" target=\"_blank\" rel=\"noopener noreferrer\">Get WP Mail SMTP Pro Today and Unlock all the Powerful Features &raquo;</a>"
661
msgstr ""
662
663
+ #: src/Admin/Pages/SettingsTab.php:447
664
msgid "<strong>Bonus:</strong> WP Mail SMTP users get <span class=\"price-off\">20% off regular price</span>, automatically applied at checkout."
665
msgstr ""
666
669
msgstr ""
670
671
#: src/Admin/Pages/TestTab.php:59
672
+ #: wp-mail-smtp-0.11.2.php:528
673
msgid "Send a Test Email"
674
msgstr ""
675
686
msgstr ""
687
688
#: src/Admin/Pages/TestTab.php:86
689
+ #: src/Providers/OptionsAbstract.php:264
690
+ #: src/Providers/OptionsAbstract.php:286
691
msgid "On"
692
msgstr ""
693
694
#: src/Admin/Pages/TestTab.php:87
695
+ #: src/Providers/OptionsAbstract.php:265
696
+ #: src/Providers/OptionsAbstract.php:287
697
msgid "Off"
698
msgstr ""
699
1148
msgstr ""
1149
1150
#. translators: %1$s - Plugin name causing conflict; %2$s - Plugin name causing conflict.
1151
+ #: src/Conflicts.php:159
1152
msgid "Heads up! WP Mail SMTP has detected %1$s is activated. Please deactivate %2$s to prevent conflicts."
1153
msgstr ""
1154
1157
msgid "Your site is running an <strong>insecure version</strong> of PHP that is no longer supported. Please contact your web hosting provider to update your PHP version or switch to a <a href=\"%1$s\" target=\"_blank\" rel=\"noopener noreferrer\">recommended WordPress hosting company</a>."
1158
msgstr ""
1159
1160
+ #. translators: %s - WPForms.com docs URL with more details.
1161
#: src/Core.php:123
1162
msgid "<strong>Note:</strong> WP Mail SMTP plugin is disabled on your site until you fix the issue. <a href=\"%s\" target=\"_blank\" rel=\"noopener noreferrer\">Read more for additional information.</a>"
1163
msgstr ""
1171
msgid "<strong>Please Note:</strong> Support for PHP 5.3-5.5 will be discontinued in 2019. After this, if no further action is taken, WP Mail SMTP functionality will be disabled."
1172
msgstr ""
1173
1174
+ #. translators: %s - plugin name and its version.
1175
+ #: src/Core.php:428
1176
+ msgid "<strong>EMAILING DISABLED:</strong> The %s is currently blocking all emails from being sent."
1177
+ msgstr ""
1178
+
1179
+ #. translators: %1$s - constant name; %2$s - constant value.
1180
+ #: src/Core.php:439
1181
+ msgid "To send emails, change the value of the %1$s constant to %2$s."
1182
+ msgstr ""
1183
+
1184
+ #. translators: %s - plugin Misc settings page URL.
1185
+ #: src/Core.php:450
1186
+ msgid "To send emails, go to plugin <a href=\"%s\">Misc settings</a> and disable the \"Do Not Send\" option."
1187
msgstr ""
1188
1189
#. translators: %s - plugin name and its version.
1190
+ #: src/Core.php:482
1191
msgid "<strong>EMAIL DELIVERY ERROR:</strong> the plugin %s logged this error during the last time it tried to send an email:"
1192
msgstr ""
1193
1194
+ #: src/Core.php:512
1195
msgid "Consider running an email test after fixing it."
1196
msgstr ""
1197
1198
+ #: src/Providers/AmazonSES/Options.php:25
1199
+ msgid "Amazon SES"
1200
+ msgstr ""
1201
+
1202
+ #: src/Providers/AmazonSES/Options.php:39
1203
+ msgid "We're sorry, the Amazon SES mailer is not available on your plan. Please upgrade to the PRO plan to unlock all these awesome features."
1204
+ msgstr ""
1205
+
1206
#: src/Providers/Gmail/Auth.php:170
1207
msgid "There was an error while processing the Google authentication request. Please make sure that you have Client ID and Client Secret both valid and saved."
1208
msgstr ""
1337
msgid "<a href=\"%s\" rel=\"\" target=\"_blank\">More information</a> on Mailgun.com."
1338
msgstr ""
1339
1340
+ #: src/Providers/OptionsAbstract.php:186
1341
+ #: wp-mail-smtp-0.11.2.php:355
1342
msgid "SMTP Host"
1343
msgstr ""
1344
1345
+ #: src/Providers/OptionsAbstract.php:200
1346
+ #: wp-mail-smtp-0.11.2.php:370
1347
+ #: wp-mail-smtp-0.11.2.php:374
1348
+ #: wp-mail-smtp-0.11.2.php:489
1349
+ #: wp-mail-smtp-0.11.2.php:495
1350
msgid "Encryption"
1351
msgstr ""
1352
1353
+ #: src/Providers/OptionsAbstract.php:210
1354
msgid "None"
1355
msgstr ""
1356
1357
+ #: src/Providers/OptionsAbstract.php:219
1358
msgid "SSL"
1359
msgstr ""
1360
1361
+ #: src/Providers/OptionsAbstract.php:228
1362
msgid "TLS"
1363
msgstr ""
1364
1365
+ #: src/Providers/OptionsAbstract.php:232
1366
msgid "For most servers TLS is the recommended option. If your SMTP provider offers both SSL and TLS options, we recommend using TLS."
1367
msgstr ""
1368
1369
+ #: src/Providers/OptionsAbstract.php:240
1370
+ #: wp-mail-smtp-0.11.2.php:363
1371
+ #: wp-mail-smtp-0.11.2.php:481
1372
msgid "SMTP Port"
1373
msgstr ""
1374
1375
+ #: src/Providers/OptionsAbstract.php:254
1376
msgid "Auto TLS"
1377
msgstr ""
1378
1379
+ #: src/Providers/OptionsAbstract.php:268
1380
msgid "By default TLS encryption is automatically used if the server supports it, which is recommended. In some cases, due to server misconfigurations, this can cause issues and may need to be disabled."
1381
msgstr ""
1382
1383
+ #: src/Providers/OptionsAbstract.php:276
1384
+ #: wp-mail-smtp-0.11.2.php:397
1385
+ #: wp-mail-smtp-0.11.2.php:401
1386
msgid "Authentication"
1387
msgstr ""
1388
1389
+ #: src/Providers/OptionsAbstract.php:295
1390
msgid "SMTP Username"
1391
msgstr ""
1392
1393
+ #: src/Providers/OptionsAbstract.php:309
1394
msgid "SMTP Password"
1395
msgstr ""
1396
1397
#. translators: %s - constant name: WPMS_SMTP_PASS.
1398
+ #: src/Providers/OptionsAbstract.php:321
1399
msgid "To change the password you need to change the value of the constant there: %s"
1400
msgstr ""
1401
1402
#. translators: %1$s - wp-config.php file, %2$s - WPMS_ON constant name.
1403
+ #: src/Providers/OptionsAbstract.php:329
1404
msgid "If you want to disable the use of constants, find in %1$s file the constant %2$s and turn if off:"
1405
msgstr ""
1406
1407
+ #: src/Providers/OptionsAbstract.php:339
1408
msgid "All the defined constants will stop working and you will be able to change all the values on this page."
1409
msgstr ""
1410
1411
+ #: src/Providers/OptionsAbstract.php:347
1412
msgid "The password is stored in plain text. We highly recommend you set up your password in your WordPress configuration file for improved security."
1413
msgstr ""
1414
1415
#. translators: %s - wp-config.php.
1416
+ #: src/Providers/OptionsAbstract.php:352
1417
msgid "To do this add the lines below to your %s file:"
1418
msgstr ""
1419
1420
#. translators: %1$s - Provider name; %2$s - PHP version required by Provider; %3$s - current PHP version.
1421
+ #: src/Providers/OptionsAbstract.php:418
1422
msgid "%1$s requires PHP %2$s to work and does not support your current PHP version %3$s. Please contact your host and request a PHP upgrade to the latest one."
1423
msgstr ""
1424
1425
+ #: src/Providers/OptionsAbstract.php:425
1426
+ #: src/Providers/OptionsAbstract.php:449
1427
msgid "Meanwhile you can switch to some other mailers."
1428
msgstr ""
1429
1430
#. translators: %s - Provider name.
1431
+ #: src/Providers/OptionsAbstract.php:444
1432
msgid "%s requires a SSL certificate on a site to work and does not support you current installation. Please contact your host and request a SSL certificate or install a free one, like Let's Encrypt."
1433
msgstr ""
1434
1435
+ #: src/Providers/Outlook/Options.php:25
1436
+ msgid "Outlook"
1437
+ msgstr ""
1438
+
1439
+ #: src/Providers/Outlook/Options.php:39
1440
+ msgid "We're sorry, the Microsoft Outlook mailer is not available on your plan. Please upgrade to the PRO plan to unlock all these awesome features."
1441
msgstr ""
1442
1443
#: src/Providers/Pepipost/Options.php:25
1513
msgid "%1$s \\a\\t %2$s"
1514
msgstr ""
1515
1516
+ #: wp-mail-smtp-0.11.2.php:192
1517
+ #: wp-mail-smtp-0.11.2.php:546
1518
msgid "Send Test"
1519
msgstr ""
1520
1521
#. translators: %s - email address where test mail will be sent to.
1522
+ #: wp-mail-smtp-0.11.2.php:201
1523
msgid "Test mail to %s"
1524
msgstr ""
1525
1526
+ #: wp-mail-smtp-0.11.2.php:202
1527
msgid "This is a test email generated by the WP Mail SMTP WordPress plugin."
1528
msgstr ""
1529
1530
+ #: wp-mail-smtp-0.11.2.php:218
1531
msgid "Test Message Sent"
1532
msgstr ""
1533
1534
+ #: wp-mail-smtp-0.11.2.php:219
1535
msgid "The result was:"
1536
msgstr ""
1537
1538
+ #: wp-mail-smtp-0.11.2.php:222
1539
msgid "The full debugging output is shown below:"
1540
msgstr ""
1541
1542
+ #: wp-mail-smtp-0.11.2.php:225
1543
msgid "The SMTP debugging output is shown below:"
1544
msgstr ""
1545
1546
+ #: wp-mail-smtp-0.11.2.php:237
1547
+ #: wp-mail-smtp-0.11.2.php:582
1548
msgid "WP Mail SMTP Settings"
1549
msgstr ""
1550
1551
+ #: wp-mail-smtp-0.11.2.php:253
1552
msgid "You can specify the email address that emails should be sent from. If you leave this blank, the default email will be used."
1553
msgstr ""
1554
1555
+ #: wp-mail-smtp-0.11.2.php:256
1556
msgid "<strong>Please Note:</strong> You appear to be using a version of WordPress prior to 2.3. Please ignore the From Name field and instead enter Name&lt;email@domain.com&gt; in this field."
1557
msgstr ""
1558
1559
+ #: wp-mail-smtp-0.11.2.php:271
1560
msgid "You can specify the name that emails should be sent from. If you leave this blank, the emails will be sent from WordPress."
1561
msgstr ""
1562
1563
+ #: wp-mail-smtp-0.11.2.php:290
1564
msgid "Send all WordPress emails via SMTP."
1565
msgstr ""
1566
1567
+ #: wp-mail-smtp-0.11.2.php:294
1568
msgid "Use the PHP mail() function to send emails."
1569
msgstr ""
1570
1571
+ #: wp-mail-smtp-0.11.2.php:300
1572
msgid "Use Pepipost SMTP to send emails."
1573
msgstr ""
1574
1575
#. translators: %1$s - link start; %2$s - link end.
1576
+ #: wp-mail-smtp-0.11.2.php:306
1577
msgid "Looking for high inbox delivery? Try Pepipost with easy setup and free emails. Learn more %1$shere%2$s."
1578
msgstr ""
1579
1580
+ #: wp-mail-smtp-0.11.2.php:343
1581
+ #: wp-mail-smtp-0.11.2.php:443
1582
+ #: wp-mail-smtp-0.11.2.php:519
1583
msgid "Save Changes"
1584
msgstr ""
1585
1586
+ #: wp-mail-smtp-0.11.2.php:348
1587
msgid "SMTP Options"
1588
msgstr ""
1589
1590
+ #: wp-mail-smtp-0.11.2.php:350
1591
msgid "These options only apply if you have chosen to send mail by SMTP above."
1592
msgstr ""
1593
1594
+ #: wp-mail-smtp-0.11.2.php:379
1595
+ #: wp-mail-smtp-0.11.2.php:501
1596
msgid "No encryption."
1597
msgstr ""
1598
1599
+ #: wp-mail-smtp-0.11.2.php:384
1600
+ #: wp-mail-smtp-0.11.2.php:506
1601
msgid "Use SSL encryption."
1602
msgstr ""
1603
1604
+ #: wp-mail-smtp-0.11.2.php:389
1605
+ #: wp-mail-smtp-0.11.2.php:511
1606
msgid "Use TLS encryption."
1607
msgstr ""
1608
1609
+ #: wp-mail-smtp-0.11.2.php:392
1610
msgid "TLS is not the same as STARTTLS. For most servers SSL is the recommended option."
1611
msgstr ""
1612
1613
+ #: wp-mail-smtp-0.11.2.php:406
1614
msgid "No: Do not use SMTP authentication."
1615
msgstr ""
1616
1617
+ #: wp-mail-smtp-0.11.2.php:411
1618
msgid "Yes: Use SMTP authentication."
1619
msgstr ""
1620
1621
+ #: wp-mail-smtp-0.11.2.php:415
1622
msgid "If this is set to no, the values below are ignored."
1623
msgstr ""
1624
1625
+ #: wp-mail-smtp-0.11.2.php:422
1626
+ #: wp-mail-smtp-0.11.2.php:465
1627
msgid "Username"
1628
msgstr ""
1629
1630
+ #: wp-mail-smtp-0.11.2.php:430
1631
+ #: wp-mail-smtp-0.11.2.php:473
1632
msgid "Password"
1633
msgstr ""
1634
1635
+ #: wp-mail-smtp-0.11.2.php:436
1636
msgid "This is in plain text because it must not be stored encrypted."
1637
msgstr ""
1638
1639
+ #: wp-mail-smtp-0.11.2.php:450
1640
msgid "Pepipost SMTP Options"
1641
msgstr ""
1642
1643
#. translators: %s - Pepipost registration URL.
1644
+ #: wp-mail-smtp-0.11.2.php:456
1645
msgid "You need to signup on %s to get the SMTP username/password."
1646
msgstr ""
1647
1648
+ #: wp-mail-smtp-0.11.2.php:536
1649
msgid "To"
1650
msgstr ""
1651
1652
+ #: wp-mail-smtp-0.11.2.php:540
1653
msgid "Type an email address here and then click Send Test to generate a test email."
1654
msgstr ""
1655
1656
#. translators: %1$s - WP Mail SMTP plugin name; %2$s - opening a link tag; %3$s - closing a link tag.
1657
+ #: wp-mail-smtp-0.11.2.php:727
1658
msgid "Your site is running an outdated version of PHP that is no longer supported and may cause issues with %1$s. %2$sRead more%3$s for additional information."
1659
msgstr ""
1660
assets/libs/jquery-confirm.min.css ADDED
@@ -0,0 +1,9 @@
1
+ /*!
2
+ * jquery-confirm v3.3.4 (http://craftpip.github.io/jquery-confirm/)
3
+ * Author: boniface pereira
4
+ * Website: www.craftpip.com
5
+ * Contact: hey@craftpip.com
6
+ *
7
+ * Copyright 2013-2019 jquery-confirm
8
+ * Licensed under MIT (https://github.com/craftpip/jquery-confirm/blob/master/LICENSE)
9
+ */@-webkit-keyframes jconfirm-spin{from{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes jconfirm-spin{from{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}body[class*=jconfirm-no-scroll-]{overflow:hidden!important}.jconfirm{position:fixed;top:0;left:0;right:0;bottom:0;z-index:99999999;font-family:inherit;overflow:hidden}.jconfirm .jconfirm-bg{position:fixed;top:0;left:0;right:0;bottom:0;-webkit-transition:opacity .4s;transition:opacity .4s}.jconfirm .jconfirm-bg.jconfirm-bg-h{opacity:0!important}.jconfirm .jconfirm-scrollpane{-webkit-perspective:500px;perspective:500px;-webkit-perspective-origin:center;perspective-origin:center;display:table;width:100%;height:100%}.jconfirm .jconfirm-row{display:table-row;width:100%}.jconfirm .jconfirm-cell{display:table-cell;vertical-align:middle}.jconfirm .jconfirm-holder{max-height:100%;padding:50px 0}.jconfirm .jconfirm-box-container{-webkit-transition:-webkit-transform;transition:-webkit-transform;transition:transform;transition:transform,-webkit-transform}.jconfirm .jconfirm-box-container.jconfirm-no-transition{-webkit-transition:none!important;transition:none!important}.jconfirm .jconfirm-box{background:white;border-radius:4px;position:relative;outline:0;padding:15px 15px 0;overflow:hidden;margin-left:auto;margin-right:auto}@-webkit-keyframes type-blue{1%,100%{border-color:#3498db}50%{border-color:#5faee3}}@keyframes type-blue{1%,100%{border-color:#3498db}50%{border-color:#5faee3}}@-webkit-keyframes type-green{1%,100%{border-color:#2ecc71}50%{border-color:#54d98c}}@keyframes type-green{1%,100%{border-color:#2ecc71}50%{border-color:#54d98c}}@-webkit-keyframes type-red{1%,100%{border-color:#e74c3c}50%{border-color:#ed7669}}@keyframes type-red{1%,100%{border-color:#e74c3c}50%{border-color:#ed7669}}@-webkit-keyframes type-orange{1%,100%{border-color:#f1c40f}50%{border-color:#f4d03f}}@keyframes type-orange{1%,100%{border-color:#f1c40f}50%{border-color:#f4d03f}}@-webkit-keyframes type-purple{1%,100%{border-color:#9b59b6}50%{border-color:#b07cc6}}@keyframes type-purple{1%,100%{border-color:#9b59b6}50%{border-color:#b07cc6}}@-webkit-keyframes type-dark{1%,100%{border-color:#34495e}50%{border-color:#46627f}}@keyframes type-dark{1%,100%{border-color:#34495e}50%{border-color:#46627f}}.jconfirm .jconfirm-box.jconfirm-type-animated{-webkit-animation-duration:2s;animation-duration:2s;-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite}.jconfirm .jconfirm-box.jconfirm-type-blue{border-top:solid 7px #3498db;-webkit-animation-name:type-blue;animation-name:type-blue}.jconfirm .jconfirm-box.jconfirm-type-green{border-top:solid 7px #2ecc71;-webkit-animation-name:type-green;animation-name:type-green}.jconfirm .jconfirm-box.jconfirm-type-red{border-top:solid 7px #e74c3c;-webkit-animation-name:type-red;animation-name:type-red}.jconfirm .jconfirm-box.jconfirm-type-orange{border-top:solid 7px #f1c40f;-webkit-animation-name:type-orange;animation-name:type-orange}.jconfirm .jconfirm-box.jconfirm-type-purple{border-top:solid 7px #9b59b6;-webkit-animation-name:type-purple;animation-name:type-purple}.jconfirm .jconfirm-box.jconfirm-type-dark{border-top:solid 7px #34495e;-webkit-animation-name:type-dark;animation-name:type-dark}.jconfirm .jconfirm-box.loading{height:120px}.jconfirm .jconfirm-box.loading:before{content:'';position:absolute;left:0;background:white;right:0;top:0;bottom:0;border-radius:10px;z-index:1}.jconfirm .jconfirm-box.loading:after{opacity:.6;content:'';height:30px;width:30px;border:solid 3px transparent;position:absolute;left:50%;margin-left:-15px;border-radius:50%;-webkit-animation:jconfirm-spin 1s infinite linear;animation:jconfirm-spin 1s infinite linear;border-bottom-color:dodgerblue;top:50%;margin-top:-15px;z-index:2}.jconfirm .jconfirm-box div.jconfirm-closeIcon{height:20px;width:20px;position:absolute;top:10px;right:10px;cursor:pointer;opacity:.6;text-align:center;font-size:27px!important;line-height:14px!important;display:none;z-index:1}.jconfirm .jconfirm-box div.jconfirm-closeIcon:empty{display:none}.jconfirm .jconfirm-box div.jconfirm-closeIcon .fa{font-size:16px}.jconfirm .jconfirm-box div.jconfirm-closeIcon .glyphicon{font-size:16px}.jconfirm .jconfirm-box div.jconfirm-closeIcon .zmdi{font-size:16px}.jconfirm .jconfirm-box div.jconfirm-closeIcon:hover{opacity:1}.jconfirm .jconfirm-box div.jconfirm-title-c{display:block;font-size:22px;line-height:20px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default;padding-bottom:15px}.jconfirm .jconfirm-box div.jconfirm-title-c.jconfirm-hand{cursor:move}.jconfirm .jconfirm-box div.jconfirm-title-c .jconfirm-icon-c{font-size:inherit;display:inline-block;vertical-align:middle}.jconfirm .jconfirm-box div.jconfirm-title-c .jconfirm-icon-c i{vertical-align:middle}.jconfirm .jconfirm-box div.jconfirm-title-c .jconfirm-icon-c:empty{display:none}.jconfirm .jconfirm-box div.jconfirm-title-c .jconfirm-title{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;font-size:inherit;font-family:inherit;display:inline-block;vertical-align:middle}.jconfirm .jconfirm-box div.jconfirm-title-c .jconfirm-title:empty{display:none}.jconfirm .jconfirm-box div.jconfirm-content-pane{margin-bottom:15px;height:auto;-webkit-transition:height .4s ease-in;transition:height .4s ease-in;display:inline-block;width:100%;position:relative;overflow-x:hidden;overflow-y:auto}.jconfirm .jconfirm-box div.jconfirm-content-pane.no-scroll{overflow-y:hidden}.jconfirm .jconfirm-box div.jconfirm-content-pane::-webkit-scrollbar{width:3px}.jconfirm .jconfirm-box div.jconfirm-content-pane::-webkit-scrollbar-track{background:rgba(0,0,0,0.1)}.jconfirm .jconfirm-box div.jconfirm-content-pane::-webkit-scrollbar-thumb{background:#666;border-radius:3px}.jconfirm .jconfirm-box div.jconfirm-content-pane .jconfirm-content{overflow:auto}.jconfirm .jconfirm-box div.jconfirm-content-pane .jconfirm-content img{max-width:100%;height:auto}.jconfirm .jconfirm-box div.jconfirm-content-pane .jconfirm-content:empty{display:none}.jconfirm .jconfirm-box .jconfirm-buttons{padding-bottom:11px}.jconfirm .jconfirm-box .jconfirm-buttons>button{margin-bottom:4px;margin-left:2px;margin-right:2px}.jconfirm .jconfirm-box .jconfirm-buttons button{display:inline-block;padding:6px 12px;font-size:14px;font-weight:400;line-height:1.42857143;text-align:center;white-space:nowrap;vertical-align:middle;-ms-touch-action:manipulation;touch-action:manipulation;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;border-radius:4px;min-height:1em;-webkit-transition:opacity .1s ease,background-color .1s ease,color .1s ease,background .1s ease,-webkit-box-shadow .1s ease;transition:opacity .1s ease,background-color .1s ease,color .1s ease,background .1s ease,-webkit-box-shadow .1s ease;transition:opacity .1s ease,background-color .1s ease,color .1s ease,box-shadow .1s ease,background .1s ease;transition:opacity .1s ease,background-color .1s ease,color .1s ease,box-shadow .1s ease,background .1s ease,-webkit-box-shadow .1s ease;-webkit-tap-highlight-color:transparent;border:0;background-image:none}.jconfirm .jconfirm-box .jconfirm-buttons button.btn-blue{background-color:#3498db;color:#FFF;text-shadow:none;-webkit-transition:background .2s;transition:background .2s}.jconfirm .jconfirm-box .jconfirm-buttons button.btn-blue:hover{background-color:#2980b9;color:#FFF}.jconfirm .jconfirm-box .jconfirm-buttons button.btn-green{background-color:#2ecc71;color:#FFF;text-shadow:none;-webkit-transition:background .2s;transition:background .2s}.jconfirm .jconfirm-box .jconfirm-buttons button.btn-green:hover{background-color:#27ae60;color:#FFF}.jconfirm .jconfirm-box .jconfirm-buttons button.btn-red{background-color:#e74c3c;color:#FFF;text-shadow:none;-webkit-transition:background .2s;transition:background .2s}.jconfirm .jconfirm-box .jconfirm-buttons button.btn-red:hover{background-color:#c0392b;color:#FFF}.jconfirm .jconfirm-box .jconfirm-buttons button.btn-orange{background-color:#f1c40f;color:#FFF;text-shadow:none;-webkit-transition:background .2s;transition:background .2s}.jconfirm .jconfirm-box .jconfirm-buttons button.btn-orange:hover{background-color:#f39c12;color:#FFF}.jconfirm .jconfirm-box .jconfirm-buttons button.btn-default{background-color:#ecf0f1;color:#000;text-shadow:none;-webkit-transition:background .2s;transition:background .2s}.jconfirm .jconfirm-box .jconfirm-buttons button.btn-default:hover{background-color:#bdc3c7;color:#000}.jconfirm .jconfirm-box .jconfirm-buttons button.btn-purple{background-color:#9b59b6;color:#FFF;text-shadow:none;-webkit-transition:background .2s;transition:background .2s}.jconfirm .jconfirm-box .jconfirm-buttons button.btn-purple:hover{background-color:#8e44ad;color:#FFF}.jconfirm .jconfirm-box .jconfirm-buttons button.btn-dark{background-color:#34495e;color:#FFF;text-shadow:none;-webkit-transition:background .2s;transition:background .2s}.jconfirm .jconfirm-box .jconfirm-buttons button.btn-dark:hover{background-color:#2c3e50;color:#FFF}.jconfirm .jconfirm-box.jconfirm-type-red .jconfirm-title-c .jconfirm-icon-c{color:#e74c3c!important}.jconfirm .jconfirm-box.jconfirm-type-blue .jconfirm-title-c .jconfirm-icon-c{color:#3498db!important}.jconfirm .jconfirm-box.jconfirm-type-green .jconfirm-title-c .jconfirm-icon-c{color:#2ecc71!important}.jconfirm .jconfirm-box.jconfirm-type-purple .jconfirm-title-c .jconfirm-icon-c{color:#9b59b6!important}.jconfirm .jconfirm-box.jconfirm-type-orange .jconfirm-title-c .jconfirm-icon-c{color:#f1c40f!important}.jconfirm .jconfirm-box.jconfirm-type-dark .jconfirm-title-c .jconfirm-icon-c{color:#34495e!important}.jconfirm .jconfirm-clear{clear:both}.jconfirm.jconfirm-rtl{direction:rtl}.jconfirm.jconfirm-rtl div.jconfirm-closeIcon{left:5px;right:auto}.jconfirm.jconfirm-white .jconfirm-bg,.jconfirm.jconfirm-light .jconfirm-bg{background-color:#444;opacity:.2}.jconfirm.jconfirm-white .jconfirm-box,.jconfirm.jconfirm-light .jconfirm-box{-webkit-box-shadow:0 2px 6px rgba(0,0,0,0.2);box-shadow:0 2px 6px rgba(0,0,0,0.2);border-radius:5px}.jconfirm.jconfirm-white .jconfirm-box .jconfirm-title-c .jconfirm-icon-c,.jconfirm.jconfirm-light .jconfirm-box .jconfirm-title-c .jconfirm-icon-c{margin-right:8px;margin-left:0}.jconfirm.jconfirm-white .jconfirm-box .jconfirm-buttons,.jconfirm.jconfirm-light .jconfirm-box .jconfirm-buttons{float:right}.jconfirm.jconfirm-white .jconfirm-box .jconfirm-buttons button,.jconfirm.jconfirm-light .jconfirm-box .jconfirm-buttons button{text-transform:uppercase;font-size:14px;font-weight:bold;text-shadow:none}.jconfirm.jconfirm-white .jconfirm-box .jconfirm-buttons button.btn-default,.jconfirm.jconfirm-light .jconfirm-box .jconfirm-buttons button.btn-default{-webkit-box-shadow:none;box-shadow:none;color:#333}.jconfirm.jconfirm-white .jconfirm-box .jconfirm-buttons button.btn-default:hover,.jconfirm.jconfirm-light .jconfirm-box .jconfirm-buttons button.btn-default:hover{background:#ddd}.jconfirm.jconfirm-white.jconfirm-rtl .jconfirm-title-c .jconfirm-icon-c,.jconfirm.jconfirm-light.jconfirm-rtl .jconfirm-title-c .jconfirm-icon-c{margin-left:8px;margin-right:0}.jconfirm.jconfirm-black .jconfirm-bg,.jconfirm.jconfirm-dark .jconfirm-bg{background-color:darkslategray;opacity:.4}.jconfirm.jconfirm-black .jconfirm-box,.jconfirm.jconfirm-dark .jconfirm-box{-webkit-box-shadow:0 2px 6px rgba(0,0,0,0.2);box-shadow:0 2px 6px rgba(0,0,0,0.2);background:#444;border-radius:5px;color:white}.jconfirm.jconfirm-black .jconfirm-box .jconfirm-title-c .jconfirm-icon-c,.jconfirm.jconfirm-dark .jconfirm-box .jconfirm-title-c .jconfirm-icon-c{margin-right:8px;margin-left:0}.jconfirm.jconfirm-black .jconfirm-box .jconfirm-buttons,.jconfirm.jconfirm-dark .jconfirm-box .jconfirm-buttons{float:right}.jconfirm.jconfirm-black .jconfirm-box .jconfirm-buttons button,.jconfirm.jconfirm-dark .jconfirm-box .jconfirm-buttons button{border:0;background-image:none;text-transform:uppercase;font-size:14px;font-weight:bold;text-shadow:none;-webkit-transition:background .1s;transition:background .1s;color:white}.jconfirm.jconfirm-black .jconfirm-box .jconfirm-buttons button.btn-default,.jconfirm.jconfirm-dark .jconfirm-box .jconfirm-buttons button.btn-default{-webkit-box-shadow:none;box-shadow:none;color:#fff;background:0}.jconfirm.jconfirm-black .jconfirm-box .jconfirm-buttons button.btn-default:hover,.jconfirm.jconfirm-dark .jconfirm-box .jconfirm-buttons button.btn-default:hover{background:#666}.jconfirm.jconfirm-black.jconfirm-rtl .jconfirm-title-c .jconfirm-icon-c,.jconfirm.jconfirm-dark.jconfirm-rtl .jconfirm-title-c .jconfirm-icon-c{margin-left:8px;margin-right:0}.jconfirm .jconfirm-box.hilight.jconfirm-hilight-shake{-webkit-animation:shake .82s cubic-bezier(0.36,0.07,0.19,0.97) both;animation:shake .82s cubic-bezier(0.36,0.07,0.19,0.97) both;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}.jconfirm .jconfirm-box.hilight.jconfirm-hilight-glow{-webkit-animation:glow .82s cubic-bezier(0.36,0.07,0.19,0.97) both;animation:glow .82s cubic-bezier(0.36,0.07,0.19,0.97) both;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}@-webkit-keyframes shake{10%,90%{-webkit-transform:translate3d(-2px,0,0);transform:translate3d(-2px,0,0)}20%,80%{-webkit-transform:translate3d(4px,0,0);transform:translate3d(4px,0,0)}30%,50%,70%{-webkit-transform:translate3d(-8px,0,0);transform:translate3d(-8px,0,0)}40%,60%{-webkit-transform:translate3d(8px,0,0);transform:translate3d(8px,0,0)}}@keyframes shake{10%,90%{-webkit-transform:translate3d(-2px,0,0);transform:translate3d(-2px,0,0)}20%,80%{-webkit-transform:translate3d(4px,0,0);transform:translate3d(4px,0,0)}30%,50%,70%{-webkit-transform:translate3d(-8px,0,0);transform:translate3d(-8px,0,0)}40%,60%{-webkit-transform:translate3d(8px,0,0);transform:translate3d(8px,0,0)}}@-webkit-keyframes glow{0%,100%{-webkit-box-shadow:0 0 0 red;box-shadow:0 0 0 red}50%{-webkit-box-shadow:0 0 30px red;box-shadow:0 0 30px red}}@keyframes glow{0%,100%{-webkit-box-shadow:0 0 0 red;box-shadow:0 0 0 red}50%{-webkit-box-shadow:0 0 30px red;box-shadow:0 0 30px red}}.jconfirm{-webkit-perspective:400px;perspective:400px}.jconfirm .jconfirm-box{opacity:1;-webkit-transition-property:all;transition-property:all}.jconfirm .jconfirm-box.jconfirm-animation-top,.jconfirm .jconfirm-box.jconfirm-animation-left,.jconfirm .jconfirm-box.jconfirm-animation-right,.jconfirm .jconfirm-box.jconfirm-animation-bottom,.jconfirm .jconfirm-box.jconfirm-animation-opacity,.jconfirm .jconfirm-box.jconfirm-animation-zoom,.jconfirm .jconfirm-box.jconfirm-animation-scale,.jconfirm .jconfirm-box.jconfirm-animation-none,.jconfirm .jconfirm-box.jconfirm-animation-rotate,.jconfirm .jconfirm-box.jconfirm-animation-rotatex,.jconfirm .jconfirm-box.jconfirm-animation-rotatey,.jconfirm .jconfirm-box.jconfirm-animation-scaley,.jconfirm .jconfirm-box.jconfirm-animation-scalex{opacity:0}.jconfirm .jconfirm-box.jconfirm-animation-rotate{-webkit-transform:rotate(90deg);transform:rotate(90deg)}.jconfirm .jconfirm-box.jconfirm-animation-rotatex{-webkit-transform:rotateX(90deg);transform:rotateX(90deg);-webkit-transform-origin:center;transform-origin:center}.jconfirm .jconfirm-box.jconfirm-animation-rotatexr{-webkit-transform:rotateX(-90deg);transform:rotateX(-90deg);-webkit-transform-origin:center;transform-origin:center}.jconfirm .jconfirm-box.jconfirm-animation-rotatey{-webkit-transform:rotatey(90deg);transform:rotatey(90deg);-webkit-transform-origin:center;transform-origin:center}.jconfirm .jconfirm-box.jconfirm-animation-rotateyr{-webkit-transform:rotatey(-90deg);transform:rotatey(-90deg);-webkit-transform-origin:center;transform-origin:center}.jconfirm .jconfirm-box.jconfirm-animation-scaley{-webkit-transform:scaley(1.5);transform:scaley(1.5);-webkit-transform-origin:center;transform-origin:center}.jconfirm .jconfirm-box.jconfirm-animation-scalex{-webkit-transform:scalex(1.5);transform:scalex(1.5);-webkit-transform-origin:center;transform-origin:center}.jconfirm .jconfirm-box.jconfirm-animation-top{-webkit-transform:translate(0px,-100px);transform:translate(0px,-100px)}.jconfirm .jconfirm-box.jconfirm-animation-left{-webkit-transform:translate(-100px,0px);transform:translate(-100px,0px)}.jconfirm .jconfirm-box.jconfirm-animation-right{-webkit-transform:translate(100px,0px);transform:translate(100px,0px)}.jconfirm .jconfirm-box.jconfirm-animation-bottom{-webkit-transform:translate(0px,100px);transform:translate(0px,100px)}.jconfirm .jconfirm-box.jconfirm-animation-zoom{-webkit-transform:scale(1.2);transform:scale(1.2)}.jconfirm .jconfirm-box.jconfirm-animation-scale{-webkit-transform:scale(0.5);transform:scale(0.5)}.jconfirm .jconfirm-box.jconfirm-animation-none{visibility:hidden}.jconfirm.jconfirm-supervan .jconfirm-bg{background-color:rgba(54,70,93,0.95)}.jconfirm.jconfirm-supervan .jconfirm-box{background-color:transparent}.jconfirm.jconfirm-supervan .jconfirm-box.jconfirm-type-blue{border:0}.jconfirm.jconfirm-supervan .jconfirm-box.jconfirm-type-green{border:0}.jconfirm.jconfirm-supervan .jconfirm-box.jconfirm-type-red{border:0}.jconfirm.jconfirm-supervan .jconfirm-box.jconfirm-type-orange{border:0}.jconfirm.jconfirm-supervan .jconfirm-box.jconfirm-type-purple{border:0}.jconfirm.jconfirm-supervan .jconfirm-box.jconfirm-type-dark{border:0}.jconfirm.jconfirm-supervan .jconfirm-box div.jconfirm-closeIcon{color:white}.jconfirm.jconfirm-supervan .jconfirm-box div.jconfirm-title-c{text-align:center;color:white;font-size:28px;font-weight:normal}.jconfirm.jconfirm-supervan .jconfirm-box div.jconfirm-title-c>*{padding-bottom:25px}.jconfirm.jconfirm-supervan .jconfirm-box div.jconfirm-title-c .jconfirm-icon-c{margin-right:8px;margin-left:0}.jconfirm.jconfirm-supervan .jconfirm-box div.jconfirm-content-pane{margin-bottom:25px}.jconfirm.jconfirm-supervan .jconfirm-box div.jconfirm-content{text-align:center;color:white}.jconfirm.jconfirm-supervan .jconfirm-box .jconfirm-buttons{text-align:center}.jconfirm.jconfirm-supervan .jconfirm-box .jconfirm-buttons button{font-size:16px;border-radius:2px;background:#303f53;text-shadow:none;border:0;color:white;padding:10px;min-width:100px}.jconfirm.jconfirm-supervan.jconfirm-rtl .jconfirm-box div.jconfirm-title-c .jconfirm-icon-c{margin-left:8px;margin-right:0}.jconfirm.jconfirm-material .jconfirm-bg{background-color:rgba(0,0,0,0.67)}.jconfirm.jconfirm-material .jconfirm-box{background-color:white;-webkit-box-shadow:0 7px 8px -4px rgba(0,0,0,0.2),0 13px 19px 2px rgba(0,0,0,0.14),0 5px 24px 4px rgba(0,0,0,0.12);box-shadow:0 7px 8px -4px rgba(0,0,0,0.2),0 13px 19px 2px rgba(0,0,0,0.14),0 5px 24px 4px rgba(0,0,0,0.12);padding:30px 25px 10px 25px}.jconfirm.jconfirm-material .jconfirm-box .jconfirm-title-c .jconfirm-icon-c{margin-right:8px;margin-left:0}.jconfirm.jconfirm-material .jconfirm-box div.jconfirm-closeIcon{color:rgba(0,0,0,0.87)}.jconfirm.jconfirm-material .jconfirm-box div.jconfirm-title-c{color:rgba(0,0,0,0.87);font-size:22px;font-weight:bold}.jconfirm.jconfirm-material .jconfirm-box div.jconfirm-content{color:rgba(0,0,0,0.87)}.jconfirm.jconfirm-material .jconfirm-box .jconfirm-buttons{text-align:right}.jconfirm.jconfirm-material .jconfirm-box .jconfirm-buttons button{text-transform:uppercase;font-weight:500}.jconfirm.jconfirm-material.jconfirm-rtl .jconfirm-title-c .jconfirm-icon-c{margin-left:8px;margin-right:0}.jconfirm.jconfirm-bootstrap .jconfirm-bg{background-color:rgba(0,0,0,0.21)}.jconfirm.jconfirm-bootstrap .jconfirm-box{background-color:white;-webkit-box-shadow:0 3px 8px 0 rgba(0,0,0,0.2);box-shadow:0 3px 8px 0 rgba(0,0,0,0.2);border:solid 1px rgba(0,0,0,0.4);padding:15px 0 0}.jconfirm.jconfirm-bootstrap .jconfirm-box .jconfirm-title-c .jconfirm-icon-c{margin-right:8px;margin-left:0}.jconfirm.jconfirm-bootstrap .jconfirm-box div.jconfirm-closeIcon{color:rgba(0,0,0,0.87)}.jconfirm.jconfirm-bootstrap .jconfirm-box div.jconfirm-title-c{color:rgba(0,0,0,0.87);font-size:22px;font-weight:bold;padding-left:15px;padding-right:15px}.jconfirm.jconfirm-bootstrap .jconfirm-box div.jconfirm-content{color:rgba(0,0,0,0.87);padding:0 15px}.jconfirm.jconfirm-bootstrap .jconfirm-box .jconfirm-buttons{text-align:right;padding:10px;margin:-5px 0 0;border-top:solid 1px #ddd;overflow:hidden;border-radius:0 0 4px 4px}.jconfirm.jconfirm-bootstrap .jconfirm-box .jconfirm-buttons button{font-weight:500}.jconfirm.jconfirm-bootstrap.jconfirm-rtl .jconfirm-title-c .jconfirm-icon-c{margin-left:8px;margin-right:0}.jconfirm.jconfirm-modern .jconfirm-bg{background-color:slategray;opacity:.6}.jconfirm.jconfirm-modern .jconfirm-box{background-color:white;-webkit-box-shadow:0 7px 8px -4px rgba(0,0,0,0.2),0 13px 19px 2px rgba(0,0,0,0.14),0 5px 24px 4px rgba(0,0,0,0.12);box-shadow:0 7px 8px -4px rgba(0,0,0,0.2),0 13px 19px 2px rgba(0,0,0,0.14),0 5px 24px 4px rgba(0,0,0,0.12);padding:30px 30px 15px}.jconfirm.jconfirm-modern .jconfirm-box div.jconfirm-closeIcon{color:rgba(0,0,0,0.87);top:15px;right:15px}.jconfirm.jconfirm-modern .jconfirm-box div.jconfirm-title-c{color:rgba(0,0,0,0.87);font-size:24px;font-weight:bold;text-align:center;margin-bottom:10px}.jconfirm.jconfirm-modern .jconfirm-box div.jconfirm-title-c .jconfirm-icon-c{-webkit-transition:-webkit-transform .5s;transition:-webkit-transform .5s;transition:transform .5s;transition:transform .5s,-webkit-transform .5s;-webkit-transform:scale(0);transform:scale(0);display:block;margin-right:0;margin-left:0;margin-bottom:10px;font-size:69px;color:#aaa}.jconfirm.jconfirm-modern .jconfirm-box div.jconfirm-content{text-align:center;font-size:15px;color:#777;margin-bottom:25px}.jconfirm.jconfirm-modern .jconfirm-box .jconfirm-buttons{text-align:center}.jconfirm.jconfirm-modern .jconfirm-box .jconfirm-buttons button{font-weight:bold;text-transform:uppercase;-webkit-transition:background .1s;transition:background .1s;padding:10px 20px}.jconfirm.jconfirm-modern .jconfirm-box .jconfirm-buttons button+button{margin-left:4px}.jconfirm.jconfirm-modern.jconfirm-open .jconfirm-box .jconfirm-title-c .jconfirm-icon-c{-webkit-transform:scale(1);transform:scale(1)}
assets/libs/jquery-confirm.min.js ADDED
@@ -0,0 +1,10 @@
1
+ /*!
2
+ * jquery-confirm v3.3.4 (http://craftpip.github.io/jquery-confirm/)
3
+ * Author: Boniface Pereira
4
+ * Website: www.craftpip.com
5
+ * Contact: hey@craftpip.com
6
+ *
7
+ * Copyright 2013-2019 jquery-confirm
8
+ * Licensed under MIT (https://github.com/craftpip/jquery-confirm/blob/master/LICENSE)
9
+ */
10
+ (function(factory){if(typeof define==="function"&&define.amd){define(["jquery"],factory);}else{if(typeof module==="object"&&module.exports){module.exports=function(root,jQuery){if(jQuery===undefined){if(typeof window!=="undefined"){jQuery=require("jquery");}else{jQuery=require("jquery")(root);}}factory(jQuery);return jQuery;};}else{factory(jQuery);}}}(function($){var w=window;$.fn.confirm=function(options,option2){if(typeof options==="undefined"){options={};}if(typeof options==="string"){options={content:options,title:(option2)?option2:false};}$(this).each(function(){var $this=$(this);if($this.attr("jc-attached")){console.warn("jConfirm has already been attached to this element ",$this[0]);return;}$this.on("click",function(e){e.preventDefault();var jcOption=$.extend({},options);if($this.attr("data-title")){jcOption.title=$this.attr("data-title");}if($this.attr("data-content")){jcOption.content=$this.attr("data-content");}if(typeof jcOption.buttons==="undefined"){jcOption.buttons={};}jcOption["$target"]=$this;if($this.attr("href")&&Object.keys(jcOption.buttons).length===0){var buttons=$.extend(true,{},w.jconfirm.pluginDefaults.defaultButtons,(w.jconfirm.defaults||{}).defaultButtons||{});var firstBtn=Object.keys(buttons)[0];jcOption.buttons=buttons;jcOption.buttons[firstBtn].action=function(){location.href=$this.attr("href");};}jcOption.closeIcon=false;var instance=$.confirm(jcOption);});$this.attr("jc-attached",true);});return $(this);};$.confirm=function(options,option2){if(typeof options==="undefined"){options={};}if(typeof options==="string"){options={content:options,title:(option2)?option2:false};}var putDefaultButtons=!(options.buttons===false);if(typeof options.buttons!=="object"){options.buttons={};}if(Object.keys(options.buttons).length===0&&putDefaultButtons){var buttons=$.extend(true,{},w.jconfirm.pluginDefaults.defaultButtons,(w.jconfirm.defaults||{}).defaultButtons||{});options.buttons=buttons;}return w.jconfirm(options);};$.alert=function(options,option2){if(typeof options==="undefined"){options={};}if(typeof options==="string"){options={content:options,title:(option2)?option2:false};}var putDefaultButtons=!(options.buttons===false);if(typeof options.buttons!=="object"){options.buttons={};}if(Object.keys(options.buttons).length===0&&putDefaultButtons){var buttons=$.extend(true,{},w.jconfirm.pluginDefaults.defaultButtons,(w.jconfirm.defaults||{}).defaultButtons||{});var firstBtn=Object.keys(buttons)[0];options.buttons[firstBtn]=buttons[firstBtn];}return w.jconfirm(options);};$.dialog=function(options,option2){if(typeof options==="undefined"){options={};}if(typeof options==="string"){options={content:options,title:(option2)?option2:false,closeIcon:function(){}};}options.buttons={};if(typeof options.closeIcon==="undefined"){options.closeIcon=function(){};}options.confirmKeys=[13];return w.jconfirm(options);};w.jconfirm=function(options){if(typeof options==="undefined"){options={};}var pluginOptions=$.extend(true,{},w.jconfirm.pluginDefaults);if(w.jconfirm.defaults){pluginOptions=$.extend(true,pluginOptions,w.jconfirm.defaults);}pluginOptions=$.extend(true,{},pluginOptions,options);var instance=new w.Jconfirm(pluginOptions);w.jconfirm.instances.push(instance);return instance;};w.Jconfirm=function(options){$.extend(this,options);this._init();};w.Jconfirm.prototype={_init:function(){var that=this;if(!w.jconfirm.instances.length){w.jconfirm.lastFocused=$("body").find(":focus");}this._id=Math.round(Math.random()*99999);this.contentParsed=$(document.createElement("div"));if(!this.lazyOpen){setTimeout(function(){that.open();},0);}},_buildHTML:function(){var that=this;this._parseAnimation(this.animation,"o");this._parseAnimation(this.closeAnimation,"c");this._parseBgDismissAnimation(this.backgroundDismissAnimation);this._parseColumnClass(this.columnClass);this._parseTheme(this.theme);this._parseType(this.type);var template=$(this.template);template.find(".jconfirm-box").addClass(this.animationParsed).addClass(this.backgroundDismissAnimationParsed).addClass(this.typeParsed);if(this.typeAnimated){template.find(".jconfirm-box").addClass("jconfirm-type-animated");}if(this.useBootstrap){template.find(".jc-bs3-row").addClass(this.bootstrapClasses.row);template.find(".jc-bs3-row").addClass("justify-content-md-center justify-content-sm-center justify-content-xs-center justify-content-lg-center");template.find(".jconfirm-box-container").addClass(this.columnClassParsed);if(this.containerFluid){template.find(".jc-bs3-container").addClass(this.bootstrapClasses.containerFluid);}else{template.find(".jc-bs3-container").addClass(this.bootstrapClasses.container);}}else{template.find(".jconfirm-box").css("width",this.boxWidth);}if(this.titleClass){template.find(".jconfirm-title-c").addClass(this.titleClass);}template.addClass(this.themeParsed);var ariaLabel="jconfirm-box"+this._id;template.find(".jconfirm-box").attr("aria-labelledby",ariaLabel).attr("tabindex",-1);template.find(".jconfirm-content").attr("id",ariaLabel);if(this.bgOpacity!==null){template.find(".jconfirm-bg").css("opacity",this.bgOpacity);}if(this.rtl){template.addClass("jconfirm-rtl");}this.$el=template.appendTo(this.container);this.$jconfirmBoxContainer=this.$el.find(".jconfirm-box-container");this.$jconfirmBox=this.$body=this.$el.find(".jconfirm-box");this.$jconfirmBg=this.$el.find(".jconfirm-bg");this.$title=this.$el.find(".jconfirm-title");this.$titleContainer=this.$el.find(".jconfirm-title-c");this.$content=this.$el.find("div.jconfirm-content");this.$contentPane=this.$el.find(".jconfirm-content-pane");this.$icon=this.$el.find(".jconfirm-icon-c");this.$closeIcon=this.$el.find(".jconfirm-closeIcon");this.$holder=this.$el.find(".jconfirm-holder");this.$btnc=this.$el.find(".jconfirm-buttons");this.$scrollPane=this.$el.find(".jconfirm-scrollpane");that.setStartingPoint();this._contentReady=$.Deferred();this._modalReady=$.Deferred();this.$holder.css({"padding-top":this.offsetTop,"padding-bottom":this.offsetBottom,});this.setTitle();this.setIcon();this._setButtons();this._parseContent();this.initDraggable();if(this.isAjax){this.showLoading(false);}$.when(this._contentReady,this._modalReady).then(function(){if(that.isAjaxLoading){setTimeout(function(){that.isAjaxLoading=false;that.setContent();that.setTitle();that.setIcon();setTimeout(function(){that.hideLoading(false);that._updateContentMaxHeight();},100);if(typeof that.onContentReady==="function"){that.onContentReady();}},50);}else{that._updateContentMaxHeight();that.setTitle();that.setIcon();if(typeof that.onContentReady==="function"){that.onContentReady();}}if(that.autoClose){that._startCountDown();}}).then(function(){that._watchContent();});if(this.animation==="none"){this.animationSpeed=1;this.animationBounce=1;}this.$body.css(this._getCSS(this.animationSpeed,this.animationBounce));this.$contentPane.css(this._getCSS(this.animationSpeed,1));this.$jconfirmBg.css(this._getCSS(this.animationSpeed,1));this.$jconfirmBoxContainer.css(this._getCSS(this.animationSpeed,1));},_typePrefix:"jconfirm-type-",typeParsed:"",_parseType:function(type){this.typeParsed=this._typePrefix+type;},setType:function(type){var oldClass=this.typeParsed;this._parseType(type);this.$jconfirmBox.removeClass(oldClass).addClass(this.typeParsed);},themeParsed:"",_themePrefix:"jconfirm-",setTheme:function(theme){var previous=this.theme;this.theme=theme||this.theme;this._parseTheme(this.theme);if(previous){this.$el.removeClass(previous);}this.$el.addClass(this.themeParsed);this.theme=theme;},_parseTheme:function(theme){var that=this;theme=theme.split(",");$.each(theme,function(k,a){if(a.indexOf(that._themePrefix)===-1){theme[k]=that._themePrefix+$.trim(a);}});this.themeParsed=theme.join(" ").toLowerCase();},backgroundDismissAnimationParsed:"",_bgDismissPrefix:"jconfirm-hilight-",_parseBgDismissAnimation:function(bgDismissAnimation){var animation=bgDismissAnimation.split(",");var that=this;$.each(animation,function(k,a){if(a.indexOf(that._bgDismissPrefix)===-1){animation[k]=that._bgDismissPrefix+$.trim(a);}});this.backgroundDismissAnimationParsed=animation.join(" ").toLowerCase();},animationParsed:"",closeAnimationParsed:"",_animationPrefix:"jconfirm-animation-",setAnimation:function(animation){this.animation=animation||this.animation;this._parseAnimation(this.animation,"o");},_parseAnimation:function(animation,which){which=which||"o";var animations=animation.split(",");var that=this;$.each(animations,function(k,a){if(a.indexOf(that._animationPrefix)===-1){animations[k]=that._animationPrefix+$.trim(a);}});var a_string=animations.join(" ").toLowerCase();if(which==="o"){this.animationParsed=a_string;}else{this.closeAnimationParsed=a_string;}return a_string;},setCloseAnimation:function(closeAnimation){this.closeAnimation=closeAnimation||this.closeAnimation;this._parseAnimation(this.closeAnimation,"c");},setAnimationSpeed:function(speed){this.animationSpeed=speed||this.animationSpeed;},columnClassParsed:"",setColumnClass:function(colClass){if(!this.useBootstrap){console.warn("cannot set columnClass, useBootstrap is set to false");return;}this.columnClass=colClass||this.columnClass;this._parseColumnClass(this.columnClass);this.$jconfirmBoxContainer.addClass(this.columnClassParsed);},_updateContentMaxHeight:function(){var height=$(window).height()-(this.$jconfirmBox.outerHeight()-this.$contentPane.outerHeight())-(this.offsetTop+this.offsetBottom);this.$contentPane.css({"max-height":height+"px"});},setBoxWidth:function(width){if(this.useBootstrap){console.warn("cannot set boxWidth, useBootstrap is set to true");return;}this.boxWidth=width;this.$jconfirmBox.css("width",width);},_parseColumnClass:function(colClass){colClass=colClass.toLowerCase();var p;switch(colClass){case"xl":case"xlarge":p="col-md-12";break;case"l":case"large":p="col-md-8 col-md-offset-2";break;case"m":case"medium":p="col-md-6 col-md-offset-3";break;case"s":case"small":p="col-md-4 col-md-offset-4";break;case"xs":case"xsmall":p="col-md-2 col-md-offset-5";break;default:p=colClass;}this.columnClassParsed=p;},initDraggable:function(){var that=this;var $t=this.$titleContainer;this.resetDrag();if(this.draggable){$t.on("mousedown",function(e){$t.addClass("jconfirm-hand");that.mouseX=e.clientX;that.mouseY=e.clientY;that.isDrag=true;});$(window).on("mousemove."+this._id,function(e){if(that.isDrag){that.movingX=e.clientX-that.mouseX+that.initialX;that.movingY=e.clientY-that.mouseY+that.initialY;that.setDrag();}});$(window).on("mouseup."+this._id,function(){$t.removeClass("jconfirm-hand");if(that.isDrag){that.isDrag=false;that.initialX=that.movingX;that.initialY=that.movingY;}});}},resetDrag:function(){this.isDrag=false;this.initialX=0;this.initialY=0;this.movingX=0;this.movingY=0;this.mouseX=0;this.mouseY=0;this.$jconfirmBoxContainer.css("transform","translate("+0+"px, "+0+"px)");},setDrag:function(){if(!this.draggable){return;}this.alignMiddle=false;var boxWidth=this.$jconfirmBox.outerWidth();var boxHeight=this.$jconfirmBox.outerHeight();var windowWidth=$(window).width();var windowHeight=$(window).height();var that=this;var dragUpdate=1;if(that.movingX%dragUpdate===0||that.movingY%dragUpdate===0){if(that.dragWindowBorder){var leftDistance=(windowWidth/2)-boxWidth/2;var topDistance=(windowHeight/2)-boxHeight/2;topDistance-=that.dragWindowGap;leftDistance-=that.dragWindowGap;if(leftDistance+that.movingX<0){that.movingX=-leftDistance;}else{if(leftDistance-that.movingX<0){that.movingX=leftDistance;}}if(topDistance+that.movingY<0){that.movingY=-topDistance;}else{if(topDistance-that.movingY<0){that.movingY=topDistance;}}}that.$jconfirmBoxContainer.css("transform","translate("+that.movingX+"px, "+that.movingY+"px)");}},_scrollTop:function(){if(typeof pageYOffset!=="undefined"){return pageYOffset;}else{var B=document.body;var D=document.documentElement;D=(D.clientHeight)?D:B;return D.scrollTop;}},_watchContent:function(){var that=this;if(this._timer){clearInterval(this._timer);}var prevContentHeight=0;this._timer=setInterval(function(){if(that.smoothContent){var contentHeight=that.$content.outerHeight()||0;if(contentHeight!==prevContentHeight){prevContentHeight=contentHeight;}var wh=$(window).height();var total=that.offsetTop+that.offsetBottom+that.$jconfirmBox.height()-that.$contentPane.height()+that.$content.height();if(total<wh){that.$contentPane.addClass("no-scroll");}else{that.$contentPane.removeClass("no-scroll");}}},this.watchInterval);},_overflowClass:"jconfirm-overflow",_hilightAnimating:false,highlight:function(){this.hiLightModal();},hiLightModal:function(){var that=this;if(this._hilightAnimating){return;}that.$body.addClass("hilight");var duration=parseFloat(that.$body.css("animation-duration"))||2;this._hilightAnimating=true;setTimeout(function(){that._hilightAnimating=false;that.$body.removeClass("hilight");},duration*1000);},_bindEvents:function(){var that=this;this.boxClicked=false;this.$scrollPane.click(function(e){if(!that.boxClicked){var buttonName=false;var shouldClose=false;var str;if(typeof that.backgroundDismiss==="function"){str=that.backgroundDismiss();}else{str=that.backgroundDismiss;}if(typeof str==="string"&&typeof that.buttons[str]!=="undefined"){buttonName=str;shouldClose=false;}else{if(typeof str==="undefined"||!!(str)===true){shouldClose=true;}else{shouldClose=false;}}if(buttonName){var btnResponse=that.buttons[buttonName].action.apply(that);shouldClose=(typeof btnResponse==="undefined")||!!(btnResponse);}if(shouldClose){that.close();}else{that.hiLightModal();}}that.boxClicked=false;});this.$jconfirmBox.click(function(e){that.boxClicked=true;});var isKeyDown=false;$(window).on("jcKeyDown."+that._id,function(e){if(!isKeyDown){isKeyDown=true;}});$(window).on("keyup."+that._id,function(e){if(isKeyDown){that.reactOnKey(e);isKeyDown=false;}});$(window).on("resize."+this._id,function(){that._updateContentMaxHeight();setTimeout(function(){that.resetDrag();},100);});},_cubic_bezier:"0.36, 0.55, 0.19",_getCSS:function(speed,bounce){return{"-webkit-transition-duration":speed/1000+"s","transition-duration":speed/1000+"s","-webkit-transition-timing-function":"cubic-bezier("+this._cubic_bezier+", "+bounce+")","transition-timing-function":"cubic-bezier("+this._cubic_bezier+", "+bounce+")"};},_setButtons:function(){var that=this;var total_buttons=0;if(typeof this.buttons!=="object"){this.buttons={};}$.each(this.buttons,function(key,button){total_buttons+=1;if(typeof button==="function"){that.buttons[key]=button={action:button};}that.buttons[key].text=button.text||key;that.buttons[key].btnClass=button.btnClass||"btn-default";that.buttons[key].action=button.action||function(){};that.buttons[key].keys=button.keys||[];that.buttons[key].isHidden=button.isHidden||false;that.buttons[key].isDisabled=button.isDisabled||false;$.each(that.buttons[key].keys,function(i,a){that.buttons[key].keys[i]=a.toLowerCase();});var button_element=$('<button type="button" class="btn"></button>').html(that.buttons[key].text).addClass(that.buttons[key].btnClass).prop("disabled",that.buttons[key].isDisabled).css("display",that.buttons[key].isHidden?"none":"").click(function(e){e.preventDefault();var res=that.buttons[key].action.apply(that,[that.buttons[key]]);that.onAction.apply(that,[key,that.buttons[key]]);that._stopCountDown();if(typeof res==="undefined"||res){that.close();}});that.buttons[key].el=button_element;that.buttons[key].setText=function(text){button_element.html(text);};that.buttons[key].addClass=function(className){button_element.addClass(className);};that.buttons[key].removeClass=function(className){button_element.removeClass(className);};that.buttons[key].disable=function(){that.buttons[key].isDisabled=true;button_element.prop("disabled",true);};that.buttons[key].enable=function(){that.buttons[key].isDisabled=false;button_element.prop("disabled",false);};that.buttons[key].show=function(){that.buttons[key].isHidden=false;button_element.css("display","");};that.buttons[key].hide=function(){that.buttons[key].isHidden=true;button_element.css("display","none");};that["$_"+key]=that["$"+key]=button_element;that.$btnc.append(button_element);});if(total_buttons===0){this.$btnc.hide();}if(this.closeIcon===null&&total_buttons===0){this.closeIcon=true;}if(this.closeIcon){if(this.closeIconClass){var closeHtml='<i class="'+this.closeIconClass+'"></i>';this.$closeIcon.html(closeHtml);}this.$closeIcon.click(function(e){e.preventDefault();var buttonName=false;var shouldClose=false;var str;if(typeof that.closeIcon==="function"){str=that.closeIcon();}else{str=that.closeIcon;}if(typeof str==="string"&&typeof that.buttons[str]!=="undefined"){buttonName=str;shouldClose=false;}else{if(typeof str==="undefined"||!!(str)===true){shouldClose=true;}else{shouldClose=false;}}if(buttonName){var btnResponse=that.buttons[buttonName].action.apply(that);shouldClose=(typeof btnResponse==="undefined")||!!(btnResponse);}if(shouldClose){that.close();}});this.$closeIcon.show();}else{this.$closeIcon.hide();}},setTitle:function(string,force){force=force||false;if(typeof string!=="undefined"){if(typeof string==="string"){this.title=string;}else{if(typeof string==="function"){if(typeof string.promise==="function"){console.error("Promise was returned from title function, this is not supported.");}var response=string();if(typeof response==="string"){this.title=response;}else{this.title=false;}}else{this.title=false;}}}if(this.isAjaxLoading&&!force){return;}this.$title.html(this.title||"");this.updateTitleContainer();},setIcon:function(iconClass,force){force=force||false;if(typeof iconClass!=="undefined"){if(typeof iconClass==="string"){this.icon=iconClass;}else{if(typeof iconClass==="function"){var response=iconClass();if(typeof response==="string"){this.icon=response;}else{this.icon=false;}}else{this.icon=false;}}}if(this.isAjaxLoading&&!force){return;}this.$icon.html(this.icon?'<i class="'+this.icon+'"></i>':"");this.updateTitleContainer();},updateTitleContainer:function(){if(!this.title&&!this.icon){this.$titleContainer.hide();}else{this.$titleContainer.show();}},setContentPrepend:function(content,force){if(!content){return;}this.contentParsed.prepend(content);},setContentAppend:function(content){if(!content){return;}this.contentParsed.append(content);},setContent:function(content,force){force=!!force;var that=this;if(content){this.contentParsed.html("").append(content);}if(this.isAjaxLoading&&!force){return;}this.$content.html("");this.$content.append(this.contentParsed);setTimeout(function(){that.$body.find("input[autofocus]:visible:first").focus();},100);},loadingSpinner:false,showLoading:function(disableButtons){this.loadingSpinner=true;this.$jconfirmBox.addClass("loading");if(disableButtons){this.$btnc.find("button").prop("disabled",true);}},hideLoading:function(enableButtons){this.loadingSpinner=false;this.$jconfirmBox.removeClass("loading");if(enableButtons){this.$btnc.find("button").prop("disabled",false);}},ajaxResponse:false,contentParsed:"",isAjax:false,isAjaxLoading:false,_parseContent:function(){var that=this;var e="&nbsp;";if(typeof this.content==="function"){var res=this.content.apply(this);if(typeof res==="string"){this.content=res;}else{if(typeof res==="object"&&typeof res.always==="function"){this.isAjax=true;this.isAjaxLoading=true;res.always(function(data,status,xhr){that.ajaxResponse={data:data,status:status,xhr:xhr};that._contentReady.resolve(data,status,xhr);if(typeof that.contentLoaded==="function"){that.contentLoaded(data,status,xhr);}});this.content=e;}else{this.content=e;}}}if(typeof this.content==="string"&&this.content.substr(0,4).toLowerCase()==="url:"){this.isAjax=true;this.isAjaxLoading=true;var u=this.content.substring(4,this.content.length);$.get(u).done(function(html){that.contentParsed.html(html);}).always(function(data,status,xhr){that.ajaxResponse={data:data,status:status,xhr:xhr};that._contentReady.resolve(data,status,xhr);if(typeof that.contentLoaded==="function"){that.contentLoaded(data,status,xhr);}});}if(!this.content){this.content=e;}if(!this.isAjax){this.contentParsed.html(this.content);this.setContent();that._contentReady.resolve();}},_stopCountDown:function(){clearInterval(this.autoCloseInterval);if(this.$cd){this.$cd.remove();}},_startCountDown:function(){var that=this;var opt=this.autoClose.split("|");if(opt.length!==2){console.error("Invalid option for autoClose. example 'close|10000'");return false;}var button_key=opt[0];var time=parseInt(opt[1]);if(typeof this.buttons[button_key]==="undefined"){console.error("Invalid button key '"+button_key+"' for autoClose");return false;}var seconds=Math.ceil(time/1000);this.$cd=$('<span class="countdown"> ('+seconds+")</span>").appendTo(this["$_"+button_key]);this.autoCloseInterval=setInterval(function(){that.$cd.html(" ("+(seconds-=1)+") ");if(seconds<=0){that["$"+button_key].trigger("click");that._stopCountDown();}},1000);},_getKey:function(key){switch(key){case 192:return"tilde";case 13:return"enter";case 16:return"shift";case 9:return"tab";case 20:return"capslock";case 17:return"ctrl";case 91:return"win";case 18:return"alt";case 27:return"esc";case 32:return"space";}var initial=String.fromCharCode(key);if(/^[A-z0-9]+#x2F;.test(initial)){return initial.toLowerCase();}else{return false;}},reactOnKey:function(e){var that=this;var a=$(".jconfirm");if(a.eq(a.length-1)[0]!==this.$el[0]){return false;}var key=e.which;if(this.$content.find(":input").is(":focus")&&/13|32/.test(key)){return false;}var keyChar=this._getKey(key);if(keyChar==="esc"&&this.escapeKey){if(this.escapeKey===true){this.$scrollPane.trigger("click");}else{if(typeof this.escapeKey==="string"||typeof this.escapeKey==="function"){var buttonKey;if(typeof this.escapeKey==="function"){buttonKey=this.escapeKey();}else{buttonKey=this.escapeKey;}if(buttonKey){if(typeof this.buttons[buttonKey]==="undefined"){console.warn("Invalid escapeKey, no buttons found with key "+buttonKey);}else{this["$_"+buttonKey].trigger("click");}}}}}$.each(this.buttons,function(key,button){if(button.keys.indexOf(keyChar)!==-1){that["$_"+key].trigger("click");}});},setDialogCenter:function(){console.info("setDialogCenter is deprecated, dialogs are centered with CSS3 tables");},_unwatchContent:function(){clearInterval(this._timer);},close:function(onClosePayload){var that=this;if(typeof this.onClose==="function"){this.onClose(onClosePayload);}this._unwatchContent();$(window).unbind("resize."+this._id);$(window).unbind("keyup."+this._id);$(window).unbind("jcKeyDown."+this._id);if(this.draggable){$(window).unbind("mousemove."+this._id);$(window).unbind("mouseup."+this._id);this.$titleContainer.unbind("mousedown");}that.$el.removeClass(that.loadedClass);$("body").removeClass("jconfirm-no-scroll-"+that._id);that.$jconfirmBoxContainer.removeClass("jconfirm-no-transition");setTimeout(function(){that.$body.addClass(that.closeAnimationParsed);that.$jconfirmBg.addClass("jconfirm-bg-h");var closeTimer=(that.closeAnimation==="none")?1:that.animationSpeed;setTimeout(function(){that.$el.remove();var l=w.jconfirm.instances;var i=w.jconfirm.instances.length-1;for(i;i>=0;i--){if(w.jconfirm.instances[i]._id===that._id){w.jconfirm.instances.splice(i,1);}}if(!w.jconfirm.instances.length){if(that.scrollToPreviousElement&&w.jconfirm.lastFocused&&w.jconfirm.lastFocused.length&&$.contains(document,w.jconfirm.lastFocused[0])){var $lf=w.jconfirm.lastFocused;if(that.scrollToPreviousElementAnimate){var st=$(window).scrollTop();var ot=w.jconfirm.lastFocused.offset().top;var wh=$(window).height();if(!(ot>st&&ot<(st+wh))){var scrollTo=(ot-Math.round((wh/3)));$("html, body").animate({scrollTop:scrollTo},that.animationSpeed,"swing",function(){$lf.focus();});}else{$lf.focus();}}else{$lf.focus();}w.jconfirm.lastFocused=false;}}if(typeof that.onDestroy==="function"){that.onDestroy();}},closeTimer*0.4);},50);return true;},open:function(){if(this.isOpen()){return false;}this._buildHTML();this._bindEvents();this._open();return true;},setStartingPoint:function(){var el=false;if(this.animateFromElement!==true&&this.animateFromElement){el=this.animateFromElement;w.jconfirm.lastClicked=false;}else{if(w.jconfirm.lastClicked&&this.animateFromElement===true){el=w.jconfirm.lastClicked;w.jconfirm.lastClicked=false;}else{return false;}}if(!el){return false;}var offset=el.offset();var iTop=el.outerHeight()/2;var iLeft=el.outerWidth()/2;iTop-=this.$jconfirmBox.outerHeight()/2;iLeft-=this.$jconfirmBox.outerWidth()/2;var sourceTop=offset.top+iTop;sourceTop=sourceTop-this._scrollTop();var sourceLeft=offset.left+iLeft;var wh=$(window).height()/2;var ww=$(window).width()/2;var targetH=wh-this.$jconfirmBox.outerHeight()/2;var targetW=ww-this.$jconfirmBox.outerWidth()/2;sourceTop-=targetH;sourceLeft-=targetW;if(Math.abs(sourceTop)>wh||Math.abs(sourceLeft)>ww){return false;}this.$jconfirmBoxContainer.css("transform","translate("+sourceLeft+"px, "+sourceTop+"px)");},_open:function(){var that=this;if(typeof that.onOpenBefore==="function"){that.onOpenBefore();}this.$body.removeClass(this.animationParsed);this.$jconfirmBg.removeClass("jconfirm-bg-h");this.$body.focus();that.$jconfirmBoxContainer.css("transform","translate("+0+"px, "+0+"px)");setTimeout(function(){that.$body.css(that._getCSS(that.animationSpeed,1));that.$body.css({"transition-property":that.$body.css("transition-property")+", margin"});that.$jconfirmBoxContainer.addClass("jconfirm-no-transition");that._modalReady.resolve();if(typeof that.onOpen==="function"){that.onOpen();}that.$el.addClass(that.loadedClass);},this.animationSpeed);},loadedClass:"jconfirm-open",isClosed:function(){return !this.$el||this.$el.parent().length===0;},isOpen:function(){return !this.isClosed();},toggle:function(){if(!this.isOpen()){this.open();}else{this.close();}}};w.jconfirm.instances=[];w.jconfirm.lastFocused=false;w.jconfirm.pluginDefaults={template:'<div class="jconfirm"><div class="jconfirm-bg jconfirm-bg-h"></div><div class="jconfirm-scrollpane"><div class="jconfirm-row"><div class="jconfirm-cell"><div class="jconfirm-holder"><div class="jc-bs3-container"><div class="jc-bs3-row"><div class="jconfirm-box-container jconfirm-animated"><div class="jconfirm-box" role="dialog" aria-labelledby="labelled" tabindex="-1"><div class="jconfirm-closeIcon">&times;</div><div class="jconfirm-title-c"><span class="jconfirm-icon-c"></span><span class="jconfirm-title"></span></div><div class="jconfirm-content-pane"><div class="jconfirm-content"></div></div><div class="jconfirm-buttons"></div><div class="jconfirm-clear"></div></div></div></div></div></div></div></div></div></div>',title:"Hello",titleClass:"",type:"default",typeAnimated:true,draggable:true,dragWindowGap:15,dragWindowBorder:true,animateFromElement:true,alignMiddle:true,smoothContent:true,content:"Are you sure to continue?",buttons:{},defaultButtons:{ok:{action:function(){}},close:{action:function(){}}},contentLoaded:function(){},icon:"",lazyOpen:false,bgOpacity:null,theme:"light",animation:"scale",closeAnimation:"scale",animationSpeed:400,animationBounce:1,escapeKey:true,rtl:false,container:"body",containerFluid:false,backgroundDismiss:false,backgroundDismissAnimation:"shake",autoClose:false,closeIcon:null,closeIconClass:false,watchInterval:100,columnClass:"col-md-4 col-md-offset-4 col-sm-6 col-sm-offset-3 col-xs-10 col-xs-offset-1",boxWidth:"50%",scrollToPreviousElement:true,scrollToPreviousElementAnimate:true,useBootstrap:true,offsetTop:40,offsetBottom:40,bootstrapClasses:{container:"container",containerFluid:"container-fluid",row:"row"},onContentReady:function(){},onOpenBefore:function(){},onOpen:function(){},onClose:function(){},onDestroy:function(){},onAction:function(){}};var keyDown=false;$(window).on("keydown",function(e){if(!keyDown){var $target=$(e.target);var pass=false;if($target.closest(".jconfirm-box").length){pass=true;}if(pass){$(window).trigger("jcKeyDown");}keyDown=true;}});$(window).on("keyup",function(){keyDown=false;});w.jconfirm.lastClicked=false;$(document).on("mousedown","button, a, [jc-source]",function(){w.jconfirm.lastClicked=$(this);});}));
class-wpms-am-notification.php DELETED
@@ -1,455 +0,0 @@
1
- <?php
2
-
3
- /**
4
- * Awesome Motive Notifications.
5
- *
6
- * This creates a custom post type (if it doesn't exist) and calls the API to
7
- * retrieve notifications for this product.
8
- *
9
- * @package AwesomeMotive
10
- * @author AwesomeMotive Team
11
- * @license GPL-2.0+
12
- * @copyright Copyright (c) 2018, Awesome Motive LLC
13
- * @version 1.0.7
14
- */
15
- class WPMS_AM_Notification {
16
-
17
- /**
18
- * The api url we are calling.
19
- *
20
- * @since 1.0.0
21
- *
22
- * @var string
23
- */
24
- public $api_url = 'https://api.awesomemotive.com/v1/notification/';
25
-
26
- /**
27
- * A unique slug for this plugin.
28
- * (Not the WordPress plugin slug)
29
- *
30
- * @since 1.0.0
31
- *
32
- * @var string
33
- */
34
- public $plugin;
35
-
36
- /**
37
- * The current plugin version.
38
- *
39
- * @since 1.0.0
40
- *
41
- * @var string
42
- */
43
- public $plugin_version;
44
-
45
- /**
46
- * Flag if a notice has been registered.
47
- *
48
- * @since 1.0.0
49
- *
50
- * @var bool
51
- */
52
- public static $registered = false;
53
-
54
- /**
55
- * Construct.
56
- *
57
- * @since 1.0.0
58
- *
59
- * @param string $plugin The plugin slug.
60
- * @param mixed $version The version of the plugin.
61
- */
62
- public function __construct( $plugin = '', $version = 0 ) {
63
- $this->plugin = $plugin;
64
- $this->plugin_version = $version;
65
-
66
- add_action( 'init', array( $this, 'custom_post_type' ) );
67
- add_action( 'admin_init', array( $this, 'get_remote_notifications' ), 100 );
68
- add_action( 'admin_notices', array( $this, 'display_notifications' ) );
69
- add_action( 'wp_ajax_am_notification_dismiss', array( $this, 'dismiss_notification' ) );
70
- }
71
-
72
- /**
73
- * Registers a custom post type.
74
- *
75
- * @since 1.0.0
76
- */
77
- public function custom_post_type() {
78
- register_post_type( 'amn_' . $this->plugin, array(
79
- 'label' => $this->plugin . ' Announcements',
80
- 'can_export' => false,
81
- 'supports' => false,
82
- 'capability_type' => 'manage_options',
83
- ) );
84
- }
85
-
86
- /**
87
- * Retrieve the remote notifications if the time has expired.
88
- *
89
- * @since 1.0.0
90
- */
91
- public function get_remote_notifications() {
92
- if ( ! apply_filters( 'am_notifications_display', is_super_admin() ) ) {
93
- return;
94
- }
95
-
96
- $last_checked = get_option( '_amn_' . $this->plugin . '_last_checked', strtotime( '-1 week' ) );
97
-
98
- if ( $last_checked < strtotime( 'today midnight' ) ) {
99
- $plugin_notifications = $this->get_plugin_notifications( 1 );
100
- $notification_id = null;
101
-
102
- if ( ! empty( $plugin_notifications ) ) {
103
- // Unset it from the array.
104
- $notification = $plugin_notifications[0];
105
- $notification_id = get_post_meta( $notification->ID, 'notification_id', true );
106
- }
107
-
108
- $response = wp_remote_retrieve_body( wp_remote_post( $this->api_url, array(
109
- 'body' => array(
110
- 'slug' => $this->plugin,
111
- 'version' => $this->plugin_version,
112
- 'last_notification' => $notification_id,
113
- ),
114
- ) ) );
115
-
116
- $data = json_decode( $response );
117
-
118
- if ( ! empty( $data->id ) ) {
119
- $notifications = array();
120
-
121
- foreach ( (array) $data->slugs as $slug ) {
122
- $notifications = array_merge(
123
- $notifications,
124
- (array) get_posts(
125
- array(
126
- 'post_type' => 'amn_' . $slug,
127
- 'post_status' => 'all',
128
- 'meta_key' => 'notification_id',
129
- 'meta_value' => $data->id,
130
- )
131
- )
132
- );
133
- }
134
-
135
- if ( empty( $notifications ) ) {
136
- $new_notification_id = wp_insert_post(
137
- array(
138
- 'post_content' => wp_kses_post( $data->content ),
139
- 'post_type' => 'amn_' . $this->plugin,
140
- )
141
- );
142
-
143
- update_post_meta( $new_notification_id, 'notification_id', absint( $data->id ) );
144
- update_post_meta( $new_notification_id, 'type', sanitize_text_field( trim( $data->type ) ) );
145
- update_post_meta( $new_notification_id, 'dismissable', (bool) $data->dismissible ? 1 : 0 );
146
- update_post_meta( $new_notification_id, 'location', function_exists( 'wp_json_encode' ) ? wp_json_encode( $data->location ) : json_encode( $data->location ) );
147
- update_post_meta( $new_notification_id, 'version', sanitize_text_field( trim( $data->version ) ) );
148
- update_post_meta( $new_notification_id, 'viewed', 0 );
149
- update_post_meta( $new_notification_id, 'expiration', $data->expiration ? absint( $data->expiration ) : false );
150
- update_post_meta( $new_notification_id, 'plans', function_exists( 'wp_json_encode' ) ? wp_json_encode( $data->plans ) : json_encode( $data->plans ) );
151
- }
152
- }
153
-
154
- // Possibly revoke notifications.
155
- if ( ! empty( $data->revoked ) ) {
156
- $this->revoke_notifications( $data->revoked );
157
- }
158
-
159
- // Set the option now so we can't run this again until after 24 hours.
160
- update_option( '_amn_' . $this->plugin . '_last_checked', strtotime( 'today midnight' ) );
161
- }
162
- }
163
-
164
- /**
165
- * Get local plugin notifications that have already been set.
166
- *
167
- * @since 1.0.0
168
- *
169
- * @param integer $limit Set the limit for how many posts to retrieve.
170
- * @param array $args Any top-level arguments to add to the array.
171
- *
172
- * @return WP_Post[] WP_Post that match the query.
173
- */
174
- public function get_plugin_notifications( $limit = - 1, $args = array() ) {
175
- return get_posts(
176
- array(
177
- 'posts_per_page' => $limit,
178
- 'post_type' => 'amn_' . $this->plugin,
179
- ) + $args
180
- );
181
- }
182
-
183
- /**
184
- * Display any notifications that should be displayed.
185
- *
186
- * @since 1.0.0
187
- */
188
- public function display_notifications() {
189
- if ( ! apply_filters( 'am_notifications_display', is_super_admin() ) ) {
190
- return;
191
- }
192
-
193
- $plugin_notifications = $this->get_plugin_notifications( - 1, array(
194
- 'post_status' => 'all',
195
- 'meta_key' => 'viewed',
196
- 'meta_value' => '0',
197
- ) );
198
-
199
- $plugin_notifications = $this->validate_notifications( $plugin_notifications );
200
-
201
- if ( ! empty( $plugin_notifications ) && ! self::$registered ) {
202
- foreach ( $plugin_notifications as $notification ) {
203
- $dismissable = get_post_meta( $notification->ID, 'dismissable', true );
204
- $type = get_post_meta( $notification->ID, 'type', true );
205
- ?>
206
- <div class="am-notification am-notification-<?php echo absint( $notification->ID ); ?> notice notice-<?php echo esc_attr( $type ); ?><?php echo $dismissable ? ' is-dismissible' : ''; ?>">
207
- <?php echo wp_kses_post( $notification->post_content ); ?>
208
- </div>
209
- <script type="text/javascript">
210
- jQuery( document ).ready( function ( $ ) {
211
- $( document ).on( 'click', '.am-notification-<?php echo absint( $notification->ID ); ?> button.notice-dismiss', function ( event ) {
212
- $.post( ajaxurl, {
213
- action: 'am_notification_dismiss',
214
- notification_id: '<?php echo absint( $notification->ID ); ?>'
215
- } );
216
- } );
217
- } );
218
- </script>
219
- <?php
220
- }
221
-
222
- self::$registered = true;
223
- }
224
- }
225
-
226
- /**
227
- * Validate the notifications before displaying them.
228
- *
229
- * @since 1.0.0
230
- *
231
- * @param array $plugin_notifications An array of plugin notifications.
232
- *
233
- * @return array A filtered array of plugin notifications.
234
- */
235
- public function validate_notifications( $plugin_notifications ) {
236
- global $pagenow;
237
-
238
- foreach ( $plugin_notifications as $key => $notification ) {
239
- // Location validation.
240
- $location = (array) json_decode( get_post_meta( $notification->ID, 'location', true ) );
241
- $continue = false;
242
- if ( ! in_array( 'everywhere', $location, true ) ) {
243
- if ( in_array( 'index.php', $location, true ) && 'index.php' === $pagenow ) {
244
- $continue = true;
245
- }
246
-
247
- if ( in_array( 'plugins.php', $location, true ) && 'plugins.php' === $pagenow ) {
248
- $continue = true;
249
- }
250
-
251
- if ( ! $continue ) {
252
- unset( $plugin_notifications[ $key ] );
253
- }
254
- }
255
-
256
- // Plugin validation (OR conditional).
257
- $plugins = (array) json_decode( get_post_meta( $notification->ID, 'plugins', true ) );
258
- $continue = false;
259
- if ( ! empty( $plugins ) ) {
260
- foreach ( $plugins as $plugin ) {
261
- if ( is_plugin_active( $plugin ) ) {
262
- $continue = true;
263
- }
264
- }
265
-
266
- if ( ! $continue ) {
267
- unset( $plugin_notifications[ $key ] );
268
- }
269
- }
270
-
271
- // Theme validation.
272
- $theme = get_post_meta( $notification->ID, 'theme', true );
273
- $continue = (string) wp_get_theme() === $theme;
274
-
275
- if ( ! empty( $theme ) && ! $continue ) {
276
- unset( $plugin_notifications[ $key ] );
277
- }
278
-
279
- // Version validation.
280
- $version = get_post_meta( $notification->ID, 'version', true );
281
- $continue = false;
282
- if ( ! empty( $version ) ) {
283
- if ( version_compare( $this->plugin_version, $version, '<=' ) ) {
284
- $continue = true;
285
- }
286
-
287
- if ( ! $continue ) {
288
- unset( $plugin_notifications[ $key ] );
289
- }
290
- }
291
-
292
- // Expiration validation.
293
- $expiration = get_post_meta( $notification->ID, 'expiration', true );
294
- $continue = false;
295
- if ( ! empty( $expiration ) ) {
296
- if ( $expiration > time() ) {
297
- $continue = true;
298
- }
299
-
300
- if ( ! $continue ) {
301
- unset( $plugin_notifications[ $key ] );
302
- }
303
- }
304
-
305
- // Plan validation.
306
- $plans = (array) json_decode( get_post_meta( $notification->ID, 'plans', true ) );
307
- $continue = false;
308
- if ( ! empty( $plans ) ) {
309
- $level = $this->get_plan_level();
310
- if ( in_array( $level, $plans, true ) ) {
311
- $continue = true;
312
- }
313
-
314
- if ( ! $continue ) {
315
- unset( $plugin_notifications[ $key ] );
316
- }
317
- }
318
- }
319
-
320
- return $plugin_notifications;
321
- }
322
-
323
- /**
324
- * Grab the current plan level.
325
- *
326
- * @since 1.0.0
327
- *
328
- * @return string The current plan level.
329
- */
330
- public function get_plan_level() {
331
- // Prepare variables.
332
- $key = '';
333
- $level = '';
334
-
335
- switch ( $this->plugin ) {
336
- case 'wpforms':
337
- $option = get_option( 'wpforms_license' );
338
- $key = is_array( $option ) && isset( $option['key'] ) ? $option['key'] : '';
339
- $level = is_array( $option ) && isset( $option['type'] ) ? $option['type'] : '';
340
-
341
- // Possibly check for a constant.
342
- if ( empty( $key ) && defined( 'WPFORMS_LICENSE_KEY' ) ) {
343
- $key = WPFORMS_LICENSE_KEY;
344
- }
345
- break;
346
- case 'mi-lite':
347
- case 'mi':
348
- if ( version_compare( MONSTERINSIGHTS_VERSION, '6.9.0', '>=' ) ) {
349
- if ( MonsterInsights()->license->get_site_license_type() ) {
350
- $key = MonsterInsights()->license->get_site_license_key();
351
- $type = MonsterInsights()->license->get_site_license_type();
352
- } else if ( MonsterInsights()->license->get_network_license_type() ) {
353
- $key = MonsterInsights()->license->get_network_license_key();
354
- $type = MonsterInsights()->license->get_network_license_type();
355
- }
356
-
357
- // Check key fallbacks
358
- if ( empty( $key ) ) {
359
- $key = MonsterInsights()->license->get_license_key();
360
- }
361
- } else {
362
- $option = get_option( 'monsterinsights_license' );
363
- $key = is_array( $option ) && isset( $option['key'] ) ? $option['key'] : '';
364
- $level = is_array( $option ) && isset( $option['type'] ) ? $option['type'] : '';
365
-
366
- // Possibly check for a constant.
367
- if ( empty( $key ) && defined( 'MONSTERINSIGHTS_LICENSE_KEY' ) && is_string( MONSTERINSIGHTS_LICENSE_KEY ) && strlen( MONSTERINSIGHTS_LICENSE_KEY ) > 10 ) {
368
- $key = MONSTERINSIGHTS_LICENSE_KEY;
369
- }
370
- }
371
- break;
372
- case 'om':
373
- $option = get_option( 'optin_monster_api' );
374
- $key = is_array( $option ) && isset( $option['api']['apikey'] ) ? $option['api']['apikey'] : '';
375
-
376
- // Possibly check for a constant.
377
- if ( empty( $key ) && defined( 'OPTINMONSTER_REST_API_LICENSE_KEY' ) ) {
378
- $key = OPTINMONSTER_REST_API_LICENSE_KEY;
379
- }
380
-
381
- // If the key is still empty, check for the old legacy key.
382
- if ( empty( $key ) ) {
383
- $key = is_array( $option ) && isset( $option['api']['key'] ) ? $option['api']['key'] : '';
384
- }
385
- break;
386
- }
387
-
388
- // Possibly set the level to 'none' if the key is empty and no level has been set.
389
- if ( empty( $key ) && empty( $level ) ) {
390
- $level = 'none';
391
- }
392
-
393
- // Possibly set the level to 'unknown' if a key is entered, but no level can be determined (such as manually entered key)
394
- if ( ! empty( $key ) && empty( $level ) ) {
395
- $level = 'unknown';
396
- }
397
-
398
- // Normalize the level.
399
- switch ( $level ) {
400
- case 'bronze':
401
- case 'personal':
402
- $level = 'basic';
403
- break;
404
- case 'silver':
405
- case 'multi':
406
- $level = 'plus';
407
- break;
408
- case 'gold':
409
- case 'developer':
410
- $level = 'pro';
411
- break;
412
- case 'platinum':
413
- case 'master':
414
- $level = 'ultimate';
415
- break;
416
- }
417
-
418
- // Return the plan level.
419
- return $level;
420
- }
421
-
422
- /**
423
- * Dismiss the notification via AJAX.
424
- *
425
- * @since 1.0.0
426
- */
427
- public function dismiss_notification() {
428
- if ( ! apply_filters( 'am_notifications_display', is_super_admin() ) ) {
429
- die;
430
- }
431
-
432
- $notification_id = intval( $_POST['notification_id'] );
433
- update_post_meta( $notification_id, 'viewed', 1 );
434
- die;
435
- }
436
-
437
- /**
438
- * Revokes notifications.
439
- *
440
- * @since 1.0.0
441
- *
442
- * @param array $ids An array of notification IDs to revoke.
443
- */
444
- public function revoke_notifications( $ids ) {
445
- // Loop through each of the IDs and find the post that has it as meta.
446
- foreach ( (array) $ids as $id ) {
447
- $notifications = $this->get_plugin_notifications( - 1, array( 'post_status' => 'all', 'meta_key' => 'notification_id', 'meta_value' => $id ) );
448
- if ( $notifications ) {
449
- foreach ( $notifications as $notification ) {
450
- update_post_meta( $notification->ID, 'viewed', 1 );
451
- }
452
- }
453
- }
454
- }
455
- }
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: wpforms, jaredatch, smub, slaFFik
3
Tags: smtp, wp mail smtp, wordpress smtp, gmail smtp, sendgrid smtp, mailgun smtp, mail, mailer, phpmailer, wp_mail, email, mailgun, sengrid, gmail, wp smtp
4
Requires at least: 4.9
5
Tested up to: 5.2
6
- Stable tag: 1.6.2
7
Requires PHP: 5.3
8
9
The most popular WordPress SMTP and PHP Mailer plugin. Trusted by over 1 million sites.
@@ -208,6 +208,12 @@ By all means please contact us to discuss features or options you'd like to see
208
209
== Changelog ==
210
211
= 1.6.2 - 2019-09-02 =
212
* Fixed: Race condition when loading with certain plugins, that send emails very early. Makes email delivery more reliable.
213
3
Tags: smtp, wp mail smtp, wordpress smtp, gmail smtp, sendgrid smtp, mailgun smtp, mail, mailer, phpmailer, wp_mail, email, mailgun, sengrid, gmail, wp smtp
4
Requires at least: 4.9
5
Tested up to: 5.2
6
+ Stable tag: 1.7.0
7
Requires PHP: 5.3
8
9
The most popular WordPress SMTP and PHP Mailer plugin. Trusted by over 1 million sites.
208
209
== Changelog ==
210
211
+ = 1.7.0 - 2019-10-24 =
212
+ * Added: Add a new constant `WPMS_DO_NOT_SEND` to block email sending.
213
+ * Fixed: Default email (wordpress@example.com) rewriting in CLI mode.
214
+ * Fixed: Incorrect conflicts detection with certain plugins.
215
+ * Fixed: various typos in plugin settings.
216
+
217
= 1.6.2 - 2019-09-02 =
218
* Fixed: Race condition when loading with certain plugins, that send emails very early. Makes email delivery more reliable.
219
src/AM_Notification.php DELETED
@@ -1,457 +0,0 @@
1
- <?php
2
-
3
- namespace WPMailSMTP;
4
-
5
- /**
6
- * Awesome Motive Notifications
7
- *
8
- * This creates a custom post type (if it doesn't exist) and calls the API to
9
- * retrieve notifications for this product.
10
- *
11
- * @package AwesomeMotive
12
- * @author AwesomeMotive Team
13
- * @license GPL-2.0+
14
- * @copyright Copyright (c) 2018, Awesome Motive LLC
15
- * @version 1.0.7
16
- */
17
- class AM_Notification {
18
-
19
- /**
20
- * The api url we are calling.
21
- *
22
- * @since 1.0.0
23
- *
24
- * @var string
25
- */
26
- public $api_url = 'https://api.awesomemotive.com/v1/notification/';
27
-
28
- /**
29
- * A unique slug for this plugin.
30
- * (Not the WordPress plugin slug)
31
- *
32
- * @since 1.0.0
33
- *
34
- * @var string
35
- */
36
- public $plugin;
37
-
38
- /**
39
- * The current plugin version.
40
- *
41
- * @since 1.0.0
42
- *
43
- * @var string
44
- */
45
- public $plugin_version;
46
-
47
- /**
48
- * Flag if a notice has been registered.
49
- *
50
- * @since 1.0.0
51
- *
52
- * @var bool
53
- */
54
- public static $registered = false;
55
-
56
- /**
57
- * Construct.
58
- *
59
- * @since 1.0.0
60
- *
61
- * @param string $plugin The plugin slug.
62
- * @param mixed $version The version of the plugin.
63
- */
64
- public function __construct( $plugin = '', $version = 0 ) {
65
- $this->plugin = $plugin;
66
- $this->plugin_version = $version;
67
-
68
- add_action( 'init', array( $this, 'custom_post_type' ) );
69
- add_action( 'admin_init', array( $this, 'get_remote_notifications' ), 100 );
70
- add_action( 'admin_notices', array( $this, 'display_notifications' ) );
71
- add_action( 'wp_ajax_am_notification_dismiss', array( $this, 'dismiss_notification' ) );
72
- }
73
-
74
- /**
75
- * Registers a custom post type.
76
- *
77
- * @since 1.0.0
78
- */
79
- public function custom_post_type() {
80
- register_post_type( 'amn_' . $this->plugin, array(
81
- 'label' => $this->plugin . ' Announcements',
82
- 'can_export' => false,
83
- 'supports' => false,
84
- 'capability_type' => 'manage_options',
85
- ) );
86
- }
87
-
88
- /**
89
- * Retrieve the remote notifications if the time has expired.
90
- *
91
- * @since 1.0.0
92
- */
93
- public function get_remote_notifications() {
94
- if ( ! apply_filters( 'am_notifications_display', is_super_admin() ) ) {
95
- return;
96
- }
97
-
98
- $last_checked = get_option( '_amn_' . $this->plugin . '_last_checked', strtotime( '-1 week' ) );
99
-
100
- if ( $last_checked < strtotime( 'today midnight' ) ) {
101
- $plugin_notifications = $this->get_plugin_notifications( 1 );
102
- $notification_id = null;
103
-
104
- if ( ! empty( $plugin_notifications ) ) {
105
- // Unset it from the array.
106
- $notification = $plugin_notifications[0];
107
- $notification_id = get_post_meta( $notification->ID, 'notification_id', true );
108
- }
109
-
110
- $response = wp_remote_retrieve_body( wp_remote_post( $this->api_url, array(
111
- 'body' => array(
112
- 'slug' => $this->plugin,
113
- 'version' => $this->plugin_version,
114
- 'last_notification' => $notification_id,
115
- ),
116
- ) ) );
117
-
118
- $data = json_decode( $response );
119
-
120
- if ( ! empty( $data->id ) ) {
121
- $notifications = array();
122
-
123
- foreach ( (array) $data->slugs as $slug ) {
124
- $notifications = array_merge(
125
- $notifications,
126
- (array) get_posts(
127
- array(
128
- 'post_type' => 'amn_' . $slug,
129
- 'post_status' => 'all',
130
- 'meta_key' => 'notification_id',
131
- 'meta_value' => $data->id,
132
- )
133
- )
134
- );
135
- }
136
-
137
- if ( empty( $notifications ) ) {
138
- $new_notification_id = wp_insert_post(
139
- array(
140
- 'post_content' => wp_kses_post( $data->content ),
141
- 'post_type' => 'amn_' . $this->plugin,
142
- )
143
- );
144
-
145
- update_post_meta( $new_notification_id, 'notification_id', absint( $data->id ) );
146
- update_post_meta( $new_notification_id, 'type', sanitize_text_field( trim( $data->type ) ) );
147
- update_post_meta( $new_notification_id, 'dismissable', (bool) $data->dismissible ? 1 : 0 );
148
- update_post_meta( $new_notification_id, 'location', function_exists( 'wp_json_encode' ) ? wp_json_encode( $data->location ) : json_encode( $data->location ) );
149
- update_post_meta( $new_notification_id, 'version', sanitize_text_field( trim( $data->version ) ) );
150
- update_post_meta( $new_notification_id, 'viewed', 0 );
151
- update_post_meta( $new_notification_id, 'expiration', $data->expiration ? absint( $data->expiration ) : false );
152
- update_post_meta( $new_notification_id, 'plans', function_exists( 'wp_json_encode' ) ? wp_json_encode( $data->plans ) : json_encode( $data->plans ) );
153
- }
154
- }
155
-
156
- // Possibly revoke notifications.
157
- if ( ! empty( $data->revoked ) ) {
158
- $this->revoke_notifications( $data->revoked );
159
- }
160
-
161
- // Set the option now so we can't run this again until after 24 hours.
162
- update_option( '_amn_' . $this->plugin . '_last_checked', strtotime( 'today midnight' ) );
163
- }
164
- }
165
-
166
- /**
167
- * Get local plugin notifications that have already been set.
168
- *
169
- * @since 1.0.0
170
- *
171
- * @param integer $limit Set the limit for how many posts to retrieve.
172
- * @param array $args Any top-level arguments to add to the array.
173
- *
174
- * @return \WP_Post[] WP_Post that match the query.
175
- */
176
- public function get_plugin_notifications( $limit = - 1, $args = array() ) {
177
- return get_posts(
178
- array(
179
- 'posts_per_page' => $limit,
180
- 'post_type' => 'amn_' . $this->plugin,
181
- ) + $args
182
- );
183
- }
184
-
185
- /**
186
- * Display any notifications that should be displayed.
187
- *
188
- * @since 1.0.0
189
- */
190
- public function display_notifications() {
191
- if ( ! apply_filters( 'am_notifications_display', is_super_admin() ) ) {
192
- return;
193
- }
194
-
195
- $plugin_notifications = $this->get_plugin_notifications( - 1, array(
196
- 'post_status' => 'all',
197
- 'meta_key' => 'viewed',
198
- 'meta_value' => '0',
199
- ) );
200
-
201
- $plugin_notifications = $this->validate_notifications( $plugin_notifications );
202
-
203
- if ( ! empty( $plugin_notifications ) && ! self::$registered ) {
204
- foreach ( $plugin_notifications as $notification ) {
205
- $dismissable = get_post_meta( $notification->ID, 'dismissable', true );
206
- $type = get_post_meta( $notification->ID, 'type', true );
207
- ?>
208
- <div class="am-notification am-notification-<?php echo absint( $notification->ID ); ?> notice notice-<?php echo esc_attr( $type ); ?><?php echo $dismissable ? ' is-dismissible' : ''; ?>">
209
- <?php echo wp_kses_post( $notification->post_content ); ?>
210
- </div>
211
- <script type="text/javascript">
212
- jQuery( document ).ready( function ( $ ) {
213
- $( document ).on( 'click', '.am-notification-<?php echo absint( $notification->ID ); ?> button.notice-dismiss', function ( event ) {
214
- $.post( ajaxurl, {
215
- action: 'am_notification_dismiss',
216
- notification_id: '<?php echo absint( $notification->ID ); ?>'
217
- } );
218
- } );
219
- } );
220
- </script>
221
- <?php
222
- }
223
-
224
- self::$registered = true;
225
- }
226
- }
227
-
228
- /**
229
- * Validate the notifications before displaying them.
230
- *
231
- * @since 1.0.0
232
- *
233
- * @param array $plugin_notifications An array of plugin notifications.
234
- *
235
- * @return array A filtered array of plugin notifications.
236
- */
237
- public function validate_notifications( $plugin_notifications ) {
238
- global $pagenow;
239
-
240
- foreach ( $plugin_notifications as $key => $notification ) {
241
- // Location validation.
242
- $location = (array) json_decode( get_post_meta( $notification->ID, 'location', true ) );
243
- $continue = false;
244
- if ( ! in_array( 'everywhere', $location, true ) ) {
245
- if ( in_array( 'index.php', $location, true ) && 'index.php' === $pagenow ) {
246
- $continue = true;
247
- }
248
-
249
- if ( in_array( 'plugins.php', $location, true ) && 'plugins.php' === $pagenow ) {
250
- $continue = true;
251
- }
252
-
253
- if ( ! $continue ) {
254
- unset( $plugin_notifications[ $key ] );
255
- }
256
- }
257
-
258
- // Plugin validation (OR conditional).
259
- $plugins = (array) json_decode( get_post_meta( $notification->ID, 'plugins', true ) );
260
- $continue = false;
261
- if ( ! empty( $plugins ) ) {
262
- foreach ( $plugins as $plugin ) {
263
- if ( is_plugin_active( $plugin ) ) {
264
- $continue = true;
265
- }
266
- }
267
-
268
- if ( ! $continue ) {
269
- unset( $plugin_notifications[ $key ] );
270
- }
271
- }
272
-
273
- // Theme validation.
274
- $theme = get_post_meta( $notification->ID, 'theme', true );
275
- $continue = (string) wp_get_theme() === $theme;
276
-
277
- if ( ! empty( $theme ) && ! $continue ) {
278
- unset( $plugin_notifications[ $key ] );
279
- }
280
-
281
- // Version validation.
282
- $version = get_post_meta( $notification->ID, 'version', true );
283
- $continue = false;
284
- if ( ! empty( $version ) ) {
285
- if ( version_compare( $this->plugin_version, $version, '<=' ) ) {
286
- $continue = true;
287
- }
288
-
289
- if ( ! $continue ) {
290
- unset( $plugin_notifications[ $key ] );
291
- }
292
- }
293
-
294
- // Expiration validation.
295
- $expiration = get_post_meta( $notification->ID, 'expiration', true );
296
- $continue = false;
297
- if ( ! empty( $expiration ) ) {
298
- if ( $expiration > time() ) {
299
- $continue = true;
300
- }
301
-
302
- if ( ! $continue ) {
303
- unset( $plugin_notifications[ $key ] );
304
- }
305
- }
306
-
307
- // Plan validation.
308
- $plans = (array) json_decode( get_post_meta( $notification->ID, 'plans', true ) );
309
- $continue = false;
310
- if ( ! empty( $plans ) ) {
311
- $level = $this->get_plan_level();
312
- if ( in_array( $level, $plans, true ) ) {
313
- $continue = true;
314
- }
315
-
316
- if ( ! $continue ) {
317
- unset( $plugin_notifications[ $key ] );
318
- }
319
- }
320
- }
321
-
322
- return $plugin_notifications;
323
- }
324
-
325
- /**
326
- * Grab the current plan level.
327
- *
328
- * @since 1.0.0
329
- *
330
- * @return string The current plan level.
331
- */
332
- public function get_plan_level() {
333
- // Prepare variables.
334
- $key = '';
335
- $level = '';
336
-
337
- switch ( $this->plugin ) {
338
- case 'wpforms':
339
- $option = get_option( 'wpforms_license' );
340
- $key = is_array( $option ) && isset( $option['key'] ) ? $option['key'] : '';
341
- $level = is_array( $option ) && isset( $option['type'] ) ? $option['type'] : '';
342
-
343
- // Possibly check for a constant.
344
- if ( empty( $key ) && defined( 'WPFORMS_LICENSE_KEY' ) ) {
345
- $key = WPFORMS_LICENSE_KEY;
346
- }
347
- break;
348
- case 'mi-lite':
349
- case 'mi':
350
- if ( defined( 'MONSTERINSIGHTS_VERSION' ) && version_compare( MONSTERINSIGHTS_VERSION, '6.9.0', '>=' ) ) {
351
- if ( \MonsterInsights()->license->get_site_license_type() ) {
352
- $key = \MonsterInsights()->license->get_site_license_key();
353
- $type = \MonsterInsights()->license->get_site_license_type();
354
- } else if ( \MonsterInsights()->license->get_network_license_type() ) {
355
- $key = \MonsterInsights()->license->get_network_license_key();
356
- $type = \MonsterInsights()->license->get_network_license_type();
357
- }
358
-
359
- // Check key fallbacks.
360