MailPoet Newsletters (Previous) - Version 2.10.1

Version Description

  • 2018-10-16 =
  • Added: Discount when upgrading to MailPoet 3. Consider upgrading today!
Download this release

Release Info

Developer wysija
Plugin Icon 128x128 MailPoet Newsletters (Previous)
Version 2.10.1
Comparing to
See all releases

Code changes from version 2.9 to 2.10.1

Files changed (84) hide show
  1. controllers/back/subscribers.php +6 -6
  2. core/base.php +1 -1
  3. css/admin-global.css +1 -1
  4. helpers/back.php +5 -5
  5. helpers/backloader.php +1 -0
  6. helpers/update.php +1 -1
  7. img/mailpoet3/side_image_1.png +0 -0
  8. img/mailpoet3/side_image_2.png +0 -0
  9. img/mailpoet3/side_image_3.png +0 -0
  10. img/mailpoet3/top_image.png +0 -0
  11. index.php +1 -1
  12. languages/wysija-newsletters-af.mo +0 -0
  13. languages/wysija-newsletters-ar.mo +0 -0
  14. languages/wysija-newsletters-be.mo +0 -0
  15. languages/wysija-newsletters-bg_BG.mo +0 -0
  16. languages/wysija-newsletters-bn_BD.mo +0 -0
  17. languages/wysija-newsletters-bs_BA.mo +0 -0
  18. languages/wysija-newsletters-ca.mo +0 -0
  19. languages/wysija-newsletters-ca@valencia.mo +0 -0
  20. languages/wysija-newsletters-ca_ES.mo +0 -0
  21. languages/wysija-newsletters-cs_CZ.mo +0 -0
  22. languages/wysija-newsletters-da_DK.mo +0 -0
  23. languages/wysija-newsletters-de.mo +0 -0
  24. languages/wysija-newsletters-de_CH.mo +0 -0
  25. languages/wysija-newsletters-de_DE.mo +0 -0
  26. languages/wysija-newsletters-el.mo +0 -0
  27. languages/wysija-newsletters-en_AU.mo +0 -0
  28. languages/wysija-newsletters-en_GB.mo +0 -0
  29. languages/wysija-newsletters-es_419.mo +0 -0
  30. languages/wysija-newsletters-es_AR.mo +0 -0
  31. languages/wysija-newsletters-es_CO.mo +0 -0
  32. languages/wysija-newsletters-es_ES.mo +0 -0
  33. languages/wysija-newsletters-es_MX.mo +0 -0
  34. languages/wysija-newsletters-et.mo +0 -0
  35. languages/wysija-newsletters-eu.mo +0 -0
  36. languages/wysija-newsletters-fa.mo +0 -0
  37. languages/wysija-newsletters-fa_IR.mo +0 -0
  38. languages/wysija-newsletters-fi.mo +0 -0
  39. languages/wysija-newsletters-fr_BE.mo +0 -0
  40. languages/wysija-newsletters-fr_CA.mo +0 -0
  41. languages/wysija-newsletters-fr_FR.mo +0 -0
  42. languages/wysija-newsletters-gl_ES.mo +0 -0
  43. languages/wysija-newsletters-he_IL.mo +0 -0
  44. languages/wysija-newsletters-hi_IN.mo +0 -0
  45. languages/wysija-newsletters-hr_HR.mo +0 -0
  46. languages/wysija-newsletters-hu_HU.mo +0 -0
  47. languages/wysija-newsletters-hy_AM.mo +0 -0
  48. languages/wysija-newsletters-id.mo +0 -0
  49. languages/wysija-newsletters-id_ID.mo +0 -0
  50. languages/wysija-newsletters-is_IS.mo +0 -0
  51. languages/wysija-newsletters-it_IT.mo +0 -0
  52. languages/wysija-newsletters-ja.mo +0 -0
  53. languages/wysija-newsletters-ka.mo +0 -0
  54. languages/wysija-newsletters-ko_KR.mo +0 -0
  55. languages/wysija-newsletters-lt_LT.mo +0 -0
  56. languages/wysija-newsletters-lv.mo +0 -0
  57. languages/wysija-newsletters-mk_MK.mo +0 -0
  58. languages/wysija-newsletters-ml_IN.mo +0 -0
  59. languages/wysija-newsletters-mn.mo +0 -0
  60. languages/wysija-newsletters-nb_NO.mo +0 -0
  61. languages/wysija-newsletters-nl_NL.mo +0 -0
  62. languages/wysija-newsletters-nn_NO.mo +0 -0
  63. languages/wysija-newsletters-oc.mo +0 -0
  64. languages/wysija-newsletters-pl_PL.mo +0 -0
  65. languages/wysija-newsletters-pt_BR.mo +0 -0
  66. languages/wysija-newsletters-pt_PT.mo +0 -0
  67. languages/wysija-newsletters-ro_RO.mo +0 -0
  68. languages/wysija-newsletters-ru_RU.mo +0 -0
  69. languages/wysija-newsletters-sk_SK.mo +0 -0
  70. languages/wysija-newsletters-sl_SI.mo +0 -0
  71. languages/wysija-newsletters-sq.mo +0 -0
  72. languages/wysija-newsletters-sr_RS.mo +0 -0
  73. languages/wysija-newsletters-sr_RS@latin.mo +0 -0
  74. languages/wysija-newsletters-sv_SE.mo +0 -0
  75. languages/wysija-newsletters-th.mo +0 -0
  76. languages/wysija-newsletters-tr_TR.mo +0 -0
  77. languages/wysija-newsletters-uk.mo +0 -0
  78. languages/wysija-newsletters-ur_PK.mo +0 -0
  79. languages/wysija-newsletters-vi.mo +0 -0
  80. languages/wysija-newsletters-zh_CN.mo +0 -0
  81. languages/wysija-newsletters-zh_TW.mo +0 -0
  82. readme.txt +4 -1
  83. views/back/mp3.php +161 -46
  84. views/back/premium.php +1 -1
controllers/back/subscribers.php CHANGED
@@ -402,7 +402,7 @@ class WYSIJA_control_back_subscribers extends WYSIJA_control_back{
402
  if($this->_affected_rows > 1)
403
  $this->notice(sprintf(__('%1$s subscribers have been added to "%2$s".',WYSIJA),$this->_affected_rows,$result['name']));
404
  else
405
- $this->notice(sprintf(__('%1$s subscriber have been added to "%2$s".',WYSIJA),$this->_affected_rows,$result['name']));
406
  $this->redirect_after_bulk_action();
407
  }
408
 
@@ -427,7 +427,7 @@ class WYSIJA_control_back_subscribers extends WYSIJA_control_back{
427
  if ($this->_affected_rows > 1) {
428
  $this->notice(sprintf(__('%1$s subscribers have been moved to "%2$s".',WYSIJA), $this->_affected_rows, $result['name']));
429
  } else {
430
- $this->notice(sprintf(__('%1$s subscriber have been moved to "%2$s".',WYSIJA), $this->_affected_rows, $result['name']));
431
  }
432
 
433
  $this->redirect_after_bulk_action();
@@ -462,7 +462,7 @@ class WYSIJA_control_back_subscribers extends WYSIJA_control_back{
462
  if($this->_affected_rows > 1)
463
  $this->notice(sprintf(__('%1$s subscribers have been removed from all existing lists.',WYSIJA),$this->_affected_rows));
464
  else
465
- $this->notice(sprintf(__('%1$s subscriber have been removed from all existing lists.',WYSIJA),$this->_affected_rows));
466
  $this->redirect_after_bulk_action();
467
  }
468
 
@@ -485,7 +485,7 @@ class WYSIJA_control_back_subscribers extends WYSIJA_control_back{
485
  if($this->_affected_rows > 1){
486
  $this->notice(sprintf(__('%1$s subscribers have been removed from "%2$s".',WYSIJA),$this->_affected_rows, $result['name']));
487
  }else{
488
- $this->notice(sprintf(__('%1$s subscriber have been removed from "%2$s".',WYSIJA),$this->_affected_rows, $result['name']));
489
  }
490
 
491
  $this->redirect_after_bulk_action();
@@ -506,7 +506,7 @@ class WYSIJA_control_back_subscribers extends WYSIJA_control_back{
506
  if($this->_affected_rows > 1){
507
  $this->notice(sprintf(__('%1$s subscribers have been confirmed.',WYSIJA),$this->_affected_rows));
508
  }else{
509
- $this->notice(sprintf(__('%1$s subscriber have been confirmed.',WYSIJA),$this->_affected_rows));
510
  }
511
 
512
  $this->redirect_after_bulk_action();
@@ -972,7 +972,7 @@ class WYSIJA_control_back_subscribers extends WYSIJA_control_back{
972
  if($this->_affected_rows > 1){
973
  $this->notice(sprintf(__(' %1$s subscribers have been deleted.',WYSIJA),$this->_affected_rows));
974
  }else{
975
- $this->notice(sprintf(__(' %1$s subscriber have been deleted.',WYSIJA),$this->_affected_rows));
976
  }
977
 
978
  // make sure the total count of subscribers is updated
402
  if($this->_affected_rows > 1)
403
  $this->notice(sprintf(__('%1$s subscribers have been added to "%2$s".',WYSIJA),$this->_affected_rows,$result['name']));
404
  else
405
+ $this->notice(sprintf(__('%1$s subscriber has been added to "%2$s".',WYSIJA),$this->_affected_rows,$result['name']));
406
  $this->redirect_after_bulk_action();
407
  }
408
 
427
  if ($this->_affected_rows > 1) {
428
  $this->notice(sprintf(__('%1$s subscribers have been moved to "%2$s".',WYSIJA), $this->_affected_rows, $result['name']));
429
  } else {
430
+ $this->notice(sprintf(__('%1$s subscriber has been moved to "%2$s".',WYSIJA), $this->_affected_rows, $result['name']));
431
  }
432
 
433
  $this->redirect_after_bulk_action();
462
  if($this->_affected_rows > 1)
463
  $this->notice(sprintf(__('%1$s subscribers have been removed from all existing lists.',WYSIJA),$this->_affected_rows));
464
  else
465
+ $this->notice(sprintf(__('%1$s subscriber has been removed from all existing lists.',WYSIJA),$this->_affected_rows));
466
  $this->redirect_after_bulk_action();
467
  }
468
 
485
  if($this->_affected_rows > 1){
486
  $this->notice(sprintf(__('%1$s subscribers have been removed from "%2$s".',WYSIJA),$this->_affected_rows, $result['name']));
487
  }else{
488
+ $this->notice(sprintf(__('%1$s subscriber has been removed from "%2$s".',WYSIJA),$this->_affected_rows, $result['name']));
489
  }
490
 
491
  $this->redirect_after_bulk_action();
506
  if($this->_affected_rows > 1){
507
  $this->notice(sprintf(__('%1$s subscribers have been confirmed.',WYSIJA),$this->_affected_rows));
508
  }else{
509
+ $this->notice(sprintf(__('%1$s subscriber has been confirmed.',WYSIJA),$this->_affected_rows));
510
  }
511
 
512
  $this->redirect_after_bulk_action();
972
  if($this->_affected_rows > 1){
973
  $this->notice(sprintf(__(' %1$s subscribers have been deleted.',WYSIJA),$this->_affected_rows));
974
  }else{
975
+ $this->notice(sprintf(__(' %1$s subscriber has been deleted.',WYSIJA),$this->_affected_rows));
976
  }
977
 
978
  // make sure the total count of subscribers is updated
core/base.php CHANGED
@@ -19,7 +19,7 @@ class WYSIJA_object{
19
  * Static variable holding core MailPoet's version
20
  * @var array
21
  */
22
- static $version = '2.9';
23
 
24
  function __construct(){}
25
 
19
  * Static variable holding core MailPoet's version
20
  * @var array
21
  */
22
+ static $version = '2.10.1';
23
 
24
  function __construct(){}
25
 
css/admin-global.css CHANGED
@@ -1 +1 @@
1
- .clearfix:after{content:".";display:block;height:0;clear:both;visibility:hidden}.clearfix{display:inline-table}* html .clearfix{height:1%}.clearfix{display:block}.hide{display:none}.wysija-version{margin:0 20px 0 165px;padding-bottom:45px}.wysija-footer h2{color:#21759B;cursor:pointer}.wysija-footer h2:hover{text-decoration:underline}.wysija-version{font-size:12px;color:#777777}.wysija-version .social-foot div{float:left;margin-right:10px}.wysija-version .version{float:left}.wysija-version .help{float:left;margin-left:20px}.wysija-version .social-foot .textsocial{margin-left:8px;margin-top:3px;padding-top:0}.wysija-version .social-foot{clear:both;display:inline-block}.wysija-version .version{float:left;margin-bottom:5px}#upperfoot{display:block;float:none}#submitexport label input[type="checkbox"]{margin-left:0px !important}.clearfix:after{content:".";display:block;height:0;clear:both;visibility:hidden}.clearfix{display:inline-table}* html .clearfix{height:1%}.clearfix{display:block}.wysija-footer,.wysija-version{margin:0 20px 0 165px;padding-bottom:45px}.wysija-footer h2{color:#21759B;cursor:pointer}.wysija-footer h2:hover{text-decoration:underline}.wysija-version{font-size:12px;color:#777777;height:65px;border-top:1px solid #DFDFDF}.wysija-version .social-foot div{float:left;margin-right:10px}.social-foot .fb{width:80px}.wysija-version .version{float:left}.wysija-version .help{float:left;margin-left:20px}.wysija-version .social-foot .textsocial{margin-left:8px;margin-top:3px;padding-top:0}.wysija-version .social-foot{clear:both;display:inline-block;float:left;margin-top:2px;padding:6px 13px}.wysija-version .social-foot .socials div{margin-left:20px}.wysija-version .social-foot .socials{margin-left:0px}.wysija-version .social-foot .socials .fb,.wysija-version .social-foot .socials .fb div{margin-left:0px}.wysija-version .version{float:left;margin-bottom:5px}.wysija-version .socials{padding-top:9px}#hidesocials{margin-top:2px;font-size:12px}.social-foot .gplus{width:70px}#upperfoot{display:block;float:none}#wysija-app .form-table td{vertical-align:top}#submitexport label input[type="checkbox"]{margin-left:0px !important}#wysija-app div.warning{margin:5px 0 15px;background-color:#FFFFE0;border-color:#E6DB55;border-radius:3px 3px 3px 3px;border-style:solid;border-width:1px;padding:10px}.submit-box{border-top:1px solid #dbdbdb;background-color:#FFFFFF;bottom:0;height:50px;left:0;margin:0;padding:0;position:fixed;text-align:right;width:100%}#loading-icon{width:20px;height:20px;position:absolute;left:16px;top:16px}.loading #loading-icon{background:url(../img/wpspin_light.gif) no-repeat 0 0 #fff}.counting #loading-icon{background:url(../img/controls/icons.png) no-repeat -140px -20px #fff}.submit-box #loading-message{font-family:"Trebuchet MS";font-size:14px;left:39px;position:absolute;top:17px}.submit-box #insert-selection,.submit-box #back-selection{margin:10px 10px 0 0}.submit-box #back-selection{display:none}#icon-stats{background:url("../img/stats-icon.png") no-repeat scroll 0 0 transparent}
1
+ @charset "UTF-8";.clearfix:after{content:".";display:block;height:0;clear:both;visibility:hidden}.clearfix{display:inline-table}* html .clearfix{height:1%}.clearfix{display:block}.hide{display:none}.wysija-version{margin:0 20px 0 165px;padding-bottom:45px}.wysija-footer h2{color:#21759B;cursor:pointer}.wysija-footer h2:hover{text-decoration:underline}.wysija-version{font-size:12px;color:#777777}.wysija-version .social-foot div{float:left;margin-right:10px}.wysija-version .version{float:left}.wysija-version .help{float:left;margin-left:20px}.wysija-version .social-foot .textsocial{margin-left:8px;margin-top:3px;padding-top:0}.wysija-version .social-foot{clear:both;display:inline-block}.wysija-version .version{float:left;margin-bottom:5px}#upperfoot{display:block;float:none}#submitexport label input[type="checkbox"]{margin-left:0px !important}.clearfix:after{content:".";display:block;height:0;clear:both;visibility:hidden}.clearfix{display:inline-table}* html .clearfix{height:1%}.clearfix{display:block}.wysija-footer,.wysija-version{margin:0 20px 0 165px;padding-bottom:45px}.wysija-footer h2{color:#21759B;cursor:pointer}.wysija-footer h2:hover{text-decoration:underline}.wysija-version{font-size:12px;color:#777777;height:65px;border-top:1px solid #DFDFDF}.wysija-version .social-foot div{float:left;margin-right:10px}.social-foot .fb{width:80px}.wysija-version .version{float:left}.wysija-version .help{float:left;margin-left:20px}.wysija-version .social-foot .textsocial{margin-left:8px;margin-top:3px;padding-top:0}.wysija-version .social-foot{clear:both;display:inline-block;float:left;margin-top:2px;padding:6px 13px}.wysija-version .social-foot .socials div{margin-left:20px}.wysija-version .social-foot .socials{margin-left:0px}.wysija-version .social-foot .socials .fb,.wysija-version .social-foot .socials .fb div{margin-left:0px}.wysija-version .version{float:left;margin-bottom:5px}.wysija-version .socials{padding-top:9px}#hidesocials{margin-top:2px;font-size:12px}.social-foot .gplus{width:70px}#upperfoot{display:block;float:none}#wysija-app .form-table td{vertical-align:top}#submitexport label input[type="checkbox"]{margin-left:0px !important}#wysija-app div.warning{margin:5px 0 15px;background-color:#FFFFE0;border-color:#E6DB55;border-radius:3px 3px 3px 3px;border-style:solid;border-width:1px;padding:10px}.submit-box{border-top:1px solid #dbdbdb;background-color:#FFFFFF;bottom:0;height:50px;left:0;margin:0;padding:0;position:fixed;text-align:right;width:100%}#loading-icon{width:20px;height:20px;position:absolute;left:16px;top:16px}.loading #loading-icon{background:url(../img/wpspin_light.gif) no-repeat 0 0 #fff}.counting #loading-icon{background:url(../img/controls/icons.png) no-repeat -140px -20px #fff}.submit-box #loading-message{font-family:"Trebuchet MS";font-size:14px;left:39px;position:absolute;top:17px}.submit-box #insert-selection,.submit-box #back-selection{margin:10px 10px 0 0}.submit-box #back-selection{display:none}#icon-stats{background:url("../img/stats-icon.png") no-repeat scroll 0 0 transparent}.mpoet-wrap{position:relative;margin:25px 40px 0 20px;max-width:1050px;font-size:15px}.mpoet-wrap.full-width-layout{max-width:1200px}.mpoet-wrap hr{border:0;height:0;margin:0;border-top:1px solid rgba(0,0,0,0.1)}.mpoet-wrap img{margin:0;max-width:100%;height:auto;vertical-align:middle}.mpoet-wrap p{font-size:14px}.mpoet-wrap .changelog h2{font-size:1.4em;font-weight:600;text-align:left}.mpoet-wrap .changelog h3{margin:1.33em 0;font-size:1em;line-height:inherit;color:#23282d}.mpoet-wrap .feature-section p{max-width:55em;margin-left:auto;margin-right:auto}.mpoet-wrap .feature-section.one-col{margin:0 auto;max-width:700px}.mpoet-wrap .feature-section.two-col h3{margin-top:0}.mpoet-wrap .feature-section h4{margin:1.4em 0 0.6em 0;font-size:1em}.mpoet-wrap .feature-section p{margin-top:0.6em}.mpoet-wrap .feature-section{overflow:hidden;padding:0 0 40px}.mpoet-wrap .feature-section.no-heading{padding-top:35px}.mpoet-wrap .feature-section .media-container{overflow:hidden}.mpoet-wrap .feature-section img{margin-bottom:1em}.mpoet-wrap .feature-section .col{margin-top:40px}.mpoet-wrap .changelog{margin-bottom:40px}.mpoet-wrap .changelog.feature-section .col{margin-top:40px}.mpoet-wrap h2{margin:40px 0 .6em;font-size:2.0em;line-height:1.3;font-weight:300;text-align:center}.mpoet-wrap h3{margin:1.25em 0 .6em;font-size:1.4em;line-height:1.5}.mpoet-wrap .lead-description{font-size:1.5em;text-align:center}.mpoet-wrap .center{margin-left:auto;margin-right:auto;text-align:center}.mpoet-wrap .three-col .col{-webkit-align-self:flex-start;align-self:flex-start;min-width:31%;max-width:31%}.mpoet-wrap .floating-header-section{display:-ms-grid;display:grid;grid-gap:0 60px;-ms-grid-columns:5fr 11fr;grid-template-columns:5fr 11fr;max-width:1020px;margin:0 auto 120px}.mpoet-wrap .floating-header-section .section-header{-ms-grid-column:1;grid-column:1;position:relative;min-width:230px;max-width:300px}.mpoet-wrap .floating-header-section h2{margin:0 0 1em 0;text-align:left}.mpoet-wrap .floating-header-section h3{margin:0 0 1em 0}.mpoet-wrap .floating-header-section .section-content{-ms-grid-column:2;grid-column:2;display:-webkit-box;display:flex;-webkit-box-pack:justify;justify-content:space-between;-webkit-box-align:start;align-items:flex-start;-webkit-box-orient:horizontal;-webkit-box-direction:normal;flex-flow:row wrap;-webkit-box-flex:2;flex-grow:2;flex-shrink:0}.mpoet-wrap .feature-video{position:relative;margin:0 auto;padding-bottom:35%;height:0;text-align:center}.mpoet-wrap .feature-section b{font-weight:800}.mpoet-wrap .floating-header-section .section-item{-webkit-box-flex:1;flex-grow:1;max-width:calc(50% - 30px)}.mpoet-wrap .floating-header-section .section-item:nth-child(1),.mpoet-wrap .floating-header-section .section-item:nth-child(2){margin-bottom:60px}.mpoet-wrap .floating-header-section .section-item:nth-child(1):nth-last-child(2),.mpoet-wrap .floating-header-section .section-item:nth-child(2):nth-last-child(1){margin-bottom:0}.mpoet-wrap .floating-header-section.has-long-title{display:block}.mpoet-wrap .floating-header-section.has-long-title .section-header{max-width:100%}.mpoet-wrap .floating-header-section.has-long-title h2{position:static;margin-bottom:60px}.mpoet-wrap .floating-header-section.has-long-title .section-content{-webkit-box-pack:start;justify-content:flex-start}.mpoet-wrap .floating-header-section.has-long-title .section-item{max-width:300px;margin-bottom:0}.mpoet-wrap .floating-header-section.has-long-title .section-item+.section-item{margin-left:60px}@media screen and (max-width: 1250px){.mpoet-wrap .floating-header-section.has-long-title .section-item:nth-child(1),.mpoet-wrap .floating-header-section.has-long-title .section-item:nth-child(2){margin:0 0 60px}.mpoet-wrap .floating-header-section.has-long-title .section-item:nth-child(3),.mpoet-wrap .floating-header-section.has-long-title .section-item:nth-child(4){margin:0}.mpoet-wrap .floating-header-section.has-long-title .section-item:nth-child(2),.mpoet-wrap .floating-header-section.has-long-title .section-item:nth-child(4){margin-left:60px}}.black-tick:before{content:'✔';margin-right:5px}.red-cross:before{content:'❌';font-size:10px;margin-right:5px}@media screen and (max-width: 782px){.mpoet-wrap .two-col-text{-webkit-column-count:1;column-count:1}.mpoet-wrap .two-col .col,.mpoet-wrap .three-col .col{min-width:48% !important}.mpoet-wrap .three-col img{display:block;margin:0 auto}.mpoet-wrap .floating-header-section{display:block}.mpoet-wrap .floating-header-section .section-header,.mpoet-wrap .floating-header-section .section-content{max-width:100%}.mpoet-wrap .floating-header-section h2{position:static;margin-bottom:60px}}@media only screen and (max-width: 500px){.mpoet-wrap{margin-right:20px;margin-left:10px}.mpoet-wrap h1,.mpoet-wrap .about-text{margin-right:0}.mpoet-wrap .about-text{margin-bottom:0.25em}.mpoet-wrap .wp-badge{position:relative;margin-bottom:1.5em;width:100%}.mpoet-wrap .two-col .col,.mpoet-wrap .three-col .col{min-width:100% !important}.mpoet-wrap .under-the-hood.three-col .col,.mpoet-wrap .under-the-hood.two-col .col,.mpoet-wrap .under-the-hood.one-col .col{margin-bottom:2em;padding-bottom:0}.mpoet-wrap .under-the-hood:nth-of-type(2n),.mpoet-wrap .under-the-hood:nth-of-type(3n){margin-top:0}.mpoet-wrap .under-the-hood:nth-of-type(2n) h3,.mpoet-wrap .under-the-hood:nth-of-type(3n) h3{margin-top:0}.mpoet-wrap .floating-header-section{margin-bottom:60px;grid-gap:30px 0}.mpoet-wrap .inline-svg.full-width{margin-bottom:60px}.mpoet-wrap .floating-header-section h2{word-break:break-all;-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto}.mpoet-wrap .floating-header-section .section-content .section-item{max-width:100%;margin:0 0 60px}}
helpers/back.php CHANGED
@@ -356,7 +356,7 @@ class WYSIJA_help_back extends WYSIJA_help{
356
  'subscribers'=>array('title'=>__('Subscribers',WYSIJA)), // if the key "subscribers" is changed, please change in the filter "wysija_menus" as well.
357
  'config'=>array('title'=>__('Settings',WYSIJA)),
358
  'premium'=>array('title'=>__('Premium',WYSIJA)),
359
- 'mp3'=>array('title'=>__('Try MailPoet 3 Now!',WYSIJA))
360
  );
361
  $this->menus = apply_filters('wysija_menus', $this->menus);
362
  $this->menuHelp = $truelinkhelp;
@@ -600,12 +600,12 @@ class WYSIJA_help_back extends WYSIJA_help{
600
  return $text;
601
 
602
  return
603
- "<a target='_blank' href='http://support.mailpoet.com/feedback/?utm_source=wpadmin&utm_campaign=contact_footer'>" . __( 'Contact Support', WYSIJA ) . "</a>" .
604
  " | " .
605
  str_replace(
606
- array('[stars]','[link]','[/link]'),
607
- array('<a target="_blank" href="http://clicky.me/wp-reviews" >&#9733;&#9733;&#9733;&#9733;&#9733;</a>','<a target="_blank" href="http://clicky.me/wp-reviews" >','</a>'),
608
- __('Add your [stars] on [link]wordpress.org[/link] and keep this plugin essentially free.',WYSIJA)
609
  ) .
610
  "";
611
  }
356
  'subscribers'=>array('title'=>__('Subscribers',WYSIJA)), // if the key "subscribers" is changed, please change in the filter "wysija_menus" as well.
357
  'config'=>array('title'=>__('Settings',WYSIJA)),
358
  'premium'=>array('title'=>__('Premium',WYSIJA)),
359
+ 'mp3'=>array('title'=>__('Try MailPoet 3',WYSIJA))
360
  );
361
  $this->menus = apply_filters('wysija_menus', $this->menus);
362
  $this->menuHelp = $truelinkhelp;
600
  return $text;
601
 
602
  return
603
+ "<a target='_blank' href='https://www.mailpoet.com/support/'>" . __( 'Contact Support', WYSIJA ) . "</a>" .
604
  " | " .
605
  str_replace(
606
+ array('[link]','[/link]'),
607
+ array('<a href="plugin-install.php?s=mailpoet&tab=search&type=author" >','</a>'),
608
+ __('You’re using an old version of MailPoet. This version does not get improvements any longer. [link]It’s easy to switch to the new MailPoet.[/link]',WYSIJA)
609
  ) .
610
  "";
611
  }
helpers/backloader.php CHANGED
@@ -93,6 +93,7 @@ class WYSIJA_help_backloader extends WYSIJA_help{
93
  'admin-widget',
94
  'admin-config',
95
  'admin-config-form_widget_settings',
 
96
  ),
97
  'js' => array(
98
  'admin-ajax-proto',
93
  'admin-widget',
94
  'admin-config',
95
  'admin-config-form_widget_settings',
96
+ 'wordpress-about',
97
  ),
98
  'js' => array(
99
  'admin-ajax-proto',
helpers/update.php CHANGED
@@ -571,7 +571,7 @@ class WYSIJA_help_update extends WYSIJA_object {
571
  $timeInstalled=$config->getValue('installed_time')+3600;
572
  //if it is a fresh install then it redirects to the welcome screen otherwise to the update one
573
  if(time()>$timeInstalled){
574
- WYSIJA::redirect('admin.php?page=wysija_campaigns&action=whats_new');
575
  }else{
576
  WYSIJA::redirect('admin.php?page=wysija_campaigns&action=welcome_new');
577
  }
571
  $timeInstalled=$config->getValue('installed_time')+3600;
572
  //if it is a fresh install then it redirects to the welcome screen otherwise to the update one
573
  if(time()>$timeInstalled){
574
+ WYSIJA::redirect('admin.php?page=wysija_mp3&arg=whats_new');
575
  }else{
576
  WYSIJA::redirect('admin.php?page=wysija_campaigns&action=welcome_new');
577
  }
img/mailpoet3/side_image_1.png ADDED
Binary file
img/mailpoet3/side_image_2.png ADDED
Binary file
img/mailpoet3/side_image_3.png ADDED
Binary file
img/mailpoet3/top_image.png ADDED
Binary file
index.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: MailPoet 2
4
  Plugin URI: http://www.mailpoet.com/
5
  Description: Create and send newsletters or automated emails. Capture subscribers with a widget. Import and manage your lists. This version is being replaced by MailPoet 3. Support offered to Premium customers only. Updates are limited to security issues.
6
- Version: 2.9
7
  Author: MailPoet
8
  Author URI: http://www.mailpoet.com/
9
  License: GPLv2 or later
3
  Plugin Name: MailPoet 2
4
  Plugin URI: http://www.mailpoet.com/
5
  Description: Create and send newsletters or automated emails. Capture subscribers with a widget. Import and manage your lists. This version is being replaced by MailPoet 3. Support offered to Premium customers only. Updates are limited to security issues.
6
+ Version: 2.10.1
7
  Author: MailPoet
8
  Author URI: http://www.mailpoet.com/
9
  License: GPLv2 or later
languages/wysija-newsletters-af.mo CHANGED
Binary file
languages/wysija-newsletters-ar.mo CHANGED
Binary file
languages/wysija-newsletters-be.mo CHANGED
Binary file
languages/wysija-newsletters-bg_BG.mo CHANGED
Binary file
languages/wysija-newsletters-bn_BD.mo CHANGED
Binary file
languages/wysija-newsletters-bs_BA.mo CHANGED
Binary file
languages/wysija-newsletters-ca.mo CHANGED
Binary file
languages/wysija-newsletters-ca@valencia.mo CHANGED
Binary file
languages/wysija-newsletters-ca_ES.mo CHANGED
Binary file
languages/wysija-newsletters-cs_CZ.mo CHANGED
Binary file
languages/wysija-newsletters-da_DK.mo CHANGED
Binary file
languages/wysija-newsletters-de.mo CHANGED
Binary file
languages/wysija-newsletters-de_CH.mo CHANGED
Binary file
languages/wysija-newsletters-de_DE.mo CHANGED
Binary file
languages/wysija-newsletters-el.mo CHANGED
Binary file
languages/wysija-newsletters-en_AU.mo CHANGED
Binary file
languages/wysija-newsletters-en_GB.mo CHANGED
Binary file
languages/wysija-newsletters-es_419.mo CHANGED
Binary file
languages/wysija-newsletters-es_AR.mo CHANGED
Binary file
languages/wysija-newsletters-es_CO.mo CHANGED
Binary file
languages/wysija-newsletters-es_ES.mo CHANGED
Binary file
languages/wysija-newsletters-es_MX.mo CHANGED
Binary file
languages/wysija-newsletters-et.mo CHANGED
Binary file
languages/wysija-newsletters-eu.mo CHANGED
Binary file
languages/wysija-newsletters-fa.mo CHANGED
Binary file
languages/wysija-newsletters-fa_IR.mo CHANGED
Binary file
languages/wysija-newsletters-fi.mo CHANGED
Binary file
languages/wysija-newsletters-fr_BE.mo CHANGED
Binary file
languages/wysija-newsletters-fr_CA.mo CHANGED
Binary file
languages/wysija-newsletters-fr_FR.mo CHANGED
Binary file
languages/wysija-newsletters-gl_ES.mo CHANGED
Binary file
languages/wysija-newsletters-he_IL.mo CHANGED
Binary file
languages/wysija-newsletters-hi_IN.mo CHANGED
Binary file
languages/wysija-newsletters-hr_HR.mo CHANGED
Binary file
languages/wysija-newsletters-hu_HU.mo CHANGED
Binary file
languages/wysija-newsletters-hy_AM.mo CHANGED
Binary file
languages/wysija-newsletters-id.mo CHANGED
Binary file
languages/wysija-newsletters-id_ID.mo CHANGED
Binary file
languages/wysija-newsletters-is_IS.mo CHANGED
Binary file
languages/wysija-newsletters-it_IT.mo CHANGED
Binary file
languages/wysija-newsletters-ja.mo CHANGED
Binary file
languages/wysija-newsletters-ka.mo CHANGED
Binary file
languages/wysija-newsletters-ko_KR.mo CHANGED
Binary file
languages/wysija-newsletters-lt_LT.mo CHANGED
Binary file
languages/wysija-newsletters-lv.mo CHANGED
Binary file
languages/wysija-newsletters-mk_MK.mo CHANGED
Binary file
languages/wysija-newsletters-ml_IN.mo CHANGED
Binary file
languages/wysija-newsletters-mn.mo CHANGED
Binary file
languages/wysija-newsletters-nb_NO.mo CHANGED
Binary file
languages/wysija-newsletters-nl_NL.mo CHANGED
Binary file
languages/wysija-newsletters-nn_NO.mo CHANGED
Binary file
languages/wysija-newsletters-oc.mo CHANGED
Binary file
languages/wysija-newsletters-pl_PL.mo CHANGED
Binary file
languages/wysija-newsletters-pt_BR.mo CHANGED
Binary file
languages/wysija-newsletters-pt_PT.mo CHANGED
Binary file
languages/wysija-newsletters-ro_RO.mo CHANGED
Binary file
languages/wysija-newsletters-ru_RU.mo CHANGED
Binary file
languages/wysija-newsletters-sk_SK.mo CHANGED
Binary file
languages/wysija-newsletters-sl_SI.mo CHANGED
Binary file
languages/wysija-newsletters-sq.mo CHANGED
Binary file
languages/wysija-newsletters-sr_RS.mo CHANGED
Binary file
languages/wysija-newsletters-sr_RS@latin.mo CHANGED
Binary file
languages/wysija-newsletters-sv_SE.mo CHANGED
Binary file
languages/wysija-newsletters-th.mo CHANGED
Binary file
languages/wysija-newsletters-tr_TR.mo CHANGED
Binary file
languages/wysija-newsletters-uk.mo CHANGED
Binary file
languages/wysija-newsletters-ur_PK.mo CHANGED
Binary file
languages/wysija-newsletters-vi.mo CHANGED
Binary file
languages/wysija-newsletters-zh_CN.mo CHANGED
Binary file
languages/wysija-newsletters-zh_TW.mo CHANGED
Binary file
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: wysija
3
  Tags: newsletter, email, welcome email, post notification, autoresponder, signup, subscription, SMTP
4
  Requires at least: 3.5
5
  Tested up to: 4.9
6
- Stable tag: 2.9
7
  Send newsletters post notifications or autoresponders from WordPress easily, and beautifully. Start to capture subscribers with our widget now.
8
 
9
  == Description ==
@@ -113,6 +113,9 @@ Our [support site](https://www.mailpoet.com/support) has plenty of articles and
113
 
114
  == Changelog ==
115
 
 
 
 
116
  = 2.9 - 2018-07-24 =
117
  * Added: announcing about newly added image alignment support in MailPoet 3;
118
  * Fixed: missing text domains on some translations;
3
  Tags: newsletter, email, welcome email, post notification, autoresponder, signup, subscription, SMTP
4
  Requires at least: 3.5
5
  Tested up to: 4.9
6
+ Stable tag: 2.10.1
7
  Send newsletters post notifications or autoresponders from WordPress easily, and beautifully. Start to capture subscribers with our widget now.
8
 
9
  == Description ==
113
 
114
  == Changelog ==
115
 
116
+ = 2.10.1 - 2018-10-16 =
117
+ * Added: Discount when upgrading to MailPoet 3. Consider upgrading today!
118
+
119
  = 2.9 - 2018-07-24 =
120
  * Added: announcing about newly added image alignment support in MailPoet 3;
121
  * Fixed: missing text domains on some translations;
views/back/mp3.php CHANGED
@@ -7,58 +7,147 @@ class WYSIJA_view_back_mp3 extends WYSIJA_view_back{
7
 
8
  }
9
 
10
- function defaultDisplay($data){
11
- $model_config = WYSIJA::get('config','model');
12
- $time_install = $model_config->getValue('installed_time');
13
-
14
  $this->displayMP3();
15
  }
16
 
17
  function displayMP3() {
18
  ?>
19
 
20
- <div class="wrap about-wrap mpoet-page">
21
- <div class="changelog removeme">
22
- <h2 style="font-size: 25px; color: #626262; font-weight: 600;"><?php echo __("We're changing. So should you.", WYSIJA ); ?></h2>
23
-
24
- <iframe src="https://player.vimeo.com/video/223581490" width="640" height="360" frameborder="0" webkitallowfullscreen="" mozallowfullscreen="" allowfullscreen=""></iframe>
25
-
26
- <div class="feature-section">
27
- <ul style="list-style: disc inside none">
28
-
29
- <li><?php echo $this->replace_link_shortcode(__("[link]Read the FAQ[/link] on what's going to happen to this current version of MailPoet (version 2)", WYSIJA), 'http://www.mailpoet.com/faq-mailpoet-version-2/') ?></li>
30
- <li><?php echo __('MailPoet version 3 is completely rewritten', WYSIJA); ?></li>
31
- <li><?php echo __('New email designer', WYSIJA); ?></li>
32
- <li><strong><?php echo __('Align images left or right of post excerpts, like in version 2 (new)', WYSIJA); ?></strong></li>
33
- <li><?php echo __('Responsive templates', WYSIJA); ?></li>
34
- <li><?php echo __('Fast user interface', WYSIJA); ?></li>
35
- <li><?php echo __('Same easy configuration', WYSIJA); ?></li>
36
- <li><?php echo __('Weekly releases', WYSIJA); ?></li>
37
- <li><?php echo __('Version 2 and 3 can live side by side', WYSIJA); ?></li>
38
- <li><a href="http://beta.docs.mailpoet.com/article/189-comparison-of-mailpoet-2-and-3?utm_source=mp2&amp;utm_medium=welcomeupdate&amp;utm_campaign=comparison"><?php echo __('Comparison table of both versions', WYSIJA); ?></a></li>
39
- <li><?php echo $this->replace_link_shortcode(__('Try [link]the online demo[/link]', WYSIJA), 'http://demo3.mailpoet.com/launch/?utm_source=mp2&amp;utm_medium=updatewelcome&amp;utm_campaign=demo3'); ?></li>
40
- <li><?php echo __('Multisite works, but not officially supported. Please test MailPoet 3 on a staging server', WYSIJA); ?></li>
41
- <li><?php echo __('Right-to-left languages works, but can be improved', WYSIJA); ?></li>
42
- <li><?php echo $this->replace_link_shortcode(
43
- $this->replace_link_shortcode(
44
- __('Get in touch in the [link]forums[/link] for further help. Customers can reach via our [link]support page[/link]', WYSIJA),
45
- 'https://wordpress.org/support/plugin/wysija-newsletters'
46
- ),
47
- 'https://www.mailpoet.com/support/'
48
- ); ?></li>
49
- </ul>
50
-
51
- <br>
52
- <h3 style="font-size: 25px; color: #626262; font-weight: 600;"><strong><?php echo __('Comes with a 1-click migration tool:', WYSIJA); ?></strong></h3>
53
- <ul style="list-style: disc inside none">
54
- <li><?php echo __('Your subscribers, lists, forms and settings will be migrated', WYSIJA); ?></li>
55
- <li><?php echo __('Automatic emails will not be migrated', WYSIJA); ?></li>
56
- <li><?php echo __('Archive of sent emails will not be migrated', WYSIJA); ?></li>
57
- <li><?php echo __('Your statistics will not be migrated', WYSIJA); ?></li>
58
- </ul>
59
- <a class="button-primary" href="plugin-install.php?s=mailpoet&tab=search&type=author"><?php echo __('Download MailPoet 3 now', WYSIJA); ?></a>
60
- </div>
61
- </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
62
  <?php
63
  }
64
 
@@ -76,4 +165,30 @@ class WYSIJA_view_back_mp3 extends WYSIJA_view_back{
76
  $count
77
  );
78
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
79
  }
7
 
8
  }
9
 
10
+ function defaultDisplay(){
 
 
 
11
  $this->displayMP3();
12
  }
13
 
14
  function displayMP3() {
15
  ?>
16
 
17
+ <div class="wrap mpoet-wrap full-width-layout">
18
+ <?php if(isset($_GET['arg']) && $_GET['arg'] === 'whats_new'): ?>
19
+ <div class="changelog">
20
+ <h2><?php echo __('Nice work, you’ve updated MailPoet 2!', WYSIJA ); ?></h2>
21
+ <p><?php echo $this->replace_link_shortcode(__('Wondering what’s new? Check out [link]the change log[/link]', WYSIJA), 'https://wordpress.org/plugins/wysija-newsletters/#developers'); ?>
22
+ </div>
23
+ <hr>
24
+ <?php endif; ?>
25
+ <div class="feature-section one-col"><div class="col">
26
+ <h2><?php echo __('Did you know we rebuilt MailPoet to help you send even better emails? Start using MailPoet 3 today!', WYSIJA); ?></h2>
27
+ </div></div>
28
+ <div class="full-width lead-description">
29
+ <img src="<?php echo WYSIJA_URL ?>img/mailpoet3/top_image.png" width=900 height=500>
30
+ </div>
31
+
32
+ <div class="feature-section one-col" style="padding-bottom: 0"><div class="col center">
33
+ <a class="button-primary" href="plugin-install.php?s=mailpoet&tab=search&type=author"><?php echo __('Install MailPoet 3 now', WYSIJA); ?></a>
34
+ <p style="margin: 2em 0 2em 0">(<?php echo __('It installs as a separate plugins, so your existing MailPoet 2 plugin will continue to work', WYSIJA); ?>)
35
+ </div></div>
36
+
37
+ <hr>
38
+
39
+ <div class="feature-section one-col"><div class="col center">
40
+ <h2><?php echo __('Upgrade to Premium – Save 50%', WYSIJA); ?></h2>
41
+ <p><?php echo __('For a limited time only, pay just $50 for MailPoet Premium (usually $99 a year for one site!)', WYSIJA); ?>
42
+ <p><b><?php echo __('Hurry, this one-time offer is only valid until 30 November.', WYSIJA); ?></b>
43
+ <p><?php echo $this->replace_link_shortcode(__('[link]Install MailPoet 3[/link] to claim your discount.', WYSIJA), 'plugin-install.php?s=mailpoet&tab=search&type=author'); ?>
44
+ </div></div>
45
+
46
+ <hr style="margin-bottom: 2em">
47
+
48
+ <div class="floating-header-section">
49
+ <div class="section-header">
50
+ <h2><?php echo __('A New But Familiar Experience', WYSIJA ); ?></h2>
51
+ <img src="<?php echo WYSIJA_URL ?>img/mailpoet3/side_image_1.png" width=300 height=450>
52
+ </div>
53
+ <div class="section-content">
54
+ <div class="section-item">
55
+ <h3><?php echo __('All New Interface', WYSIJA); ?></h3>
56
+ <p><?php echo __('We redesigned our drag-and-drop designer so it’s sleeker and more intuitive than ever. With over 20 templates to choose from (all free!), you’ll delight and impress subscribers when your emails land in their inboxes.', WYSIJA); ?>
57
+ </div>
58
+ <div class="section-item">
59
+ <h3><?php echo __('All-New MailPoet Sending Service', WYSIJA); ?></h3>
60
+ <p><?php echo __('We built our all-new MailPoet Sending Service specifically to handle the demands of WordPress. With more than 30+ million emails now passing through our servers each month, enjoy high open rates with our industry-leading 97.5% deliverability rate.', WYSIJA); ?>
61
+ </div>
62
+ <div class="section-item">
63
+ <h3><?php echo __('We’re Phasing Out MailPoet 2', WYSIJA); ?></h3>
64
+ <p><?php echo __('We’ve rebuilt it from the ground up to give you better performance and stability, a stunning new interface, all-new integration with the MailPoet Sending Service, and updated plans offering better value. On the other hand, the old MailPoet is only getting security updates.', WYSIJA); ?>
65
+ </div>
66
+ <div class="section-item">
67
+ <h3><?php echo __('You Asked, We Built It!', WYSIJA); ?></h3>
68
+ <p><?php echo __('MailPoet is a community-driven project, so when you ask, we listen and deliver. We’ve built your most highly requested features into MailPoet 3, including the ability to segment subscribers by opens or clicks (Premium), left/right post image alignment, and all—new templates.', WYSIJA); ?>
69
+ </div>
70
+ <div class="section-item">
71
+ <h3><?php echo __('Send Welcome Emails for Free', WYSIJA); ?></h3>
72
+ <p><?php echo __('Just like in MailPoet 2, set up emails to be sent automatically after one of your subscribers signs up. In MailPoet 3, this feature became Premium. We made it free again. Hurray, hurray.', WYSIJA); ?>
73
+ </div>
74
+ </div>
75
+ </div>
76
+ <div class="floating-header-section">
77
+ <div class="section-header">
78
+ <h2><?php echo __('Try Risk-Free', WYSIJA ); ?></h2>
79
+ <img src="<?php echo WYSIJA_URL ?>img/mailpoet3/side_image_2.png" width=300 height=450>
80
+ </div>
81
+ <div class="section-content">
82
+ <div class="section-item">
83
+ <h3><?php echo __('Easy to Switch', WYSIJA); ?></h3>
84
+ <p><?php echo __('With our handy migration tool, you can quickly copy over your subscribers, settings, and forms to MailPoet 3. You’ll need to recreate your email designs, but there’s no learning curve here. Just a friendly and familiar interface you know—only better.', WYSIJA); ?>
85
+ </div>
86
+ <div class="section-item">
87
+ <h3><?php echo __('80,000 Users Can’t Be Wrong', WYSIJA); ?></h3>
88
+ <p><?php echo __('Did we mention 80,000 users have already made the switch…? If you like using MailPoet 2, keep it—we’re maintaining it for security so you’ll always be safe. Just know that when you switch to MailPoet 3, you’ll enjoy regular updates, new features, and improvements into the future.', WYSIJA); ?>
89
+ </div>
90
+ <div class="section-item">
91
+ <h3><?php echo __('Installs As a Separate Plugin', WYSIJA); ?></h3>
92
+ <p><?php echo __('Curious but not ready to make the switch? MailPoet 3 installs as a separate plugin so you can use both versions at the same time since they don’t conflict with each other. So you can install and try MailPoet 3, see what it’s like, and keep your archive and stats in MailPoet 2.', WYSIJA); ?>
93
+ </div>
94
+ <div class="section-item">
95
+ <h3><?php echo __('Need Help Switching?', WYSIJA); ?></h3>
96
+ <p><?php echo __('We’re happy to chat with you! With team members spread around the world, MailPoet offers fast, reliable and friendly support via email and live chat. Prefer to DIY? Our knowledge base is always online. Reach out any time — we’re real humans and here to help.', WYSIJA); ?>
97
+ </div>
98
+ </div>
99
+ </div>
100
+ <div class="floating-header-section" style="margin-bottom: 0">
101
+ <div class="section-header">
102
+ <h2><?php echo __('Features Built for Tomorrow', WYSIJA ); ?></h2>
103
+ <img src="<?php echo WYSIJA_URL ?>img/mailpoet3/side_image_3.png" width=300 height=450>
104
+ </div>
105
+ <div class="section-content">
106
+ <div class="section-item">
107
+ <h3><?php echo __('Updated Weekly', WYSIJA); ?></h3>
108
+ <p><?php echo __('MailPoet employs a talented group of people who geek out on providing outstanding email delivery. No interns here — just real engineers applying 30 years of combined experience to deliver improvements, bug fixes, and features you ask for on a weekly release schedule.', WYSIJA); ?>
109
+ </div>
110
+ <div class="section-item">
111
+ <h3><?php echo __('GDPR Compliant', WYSIJA); ?></h3>
112
+ <p><?php echo __('We use MailPoet to run MailPoet, so we protect your data as if it were our own. In just a few clicks, you can create GDPR-friendly sign-up forms that help you comply with European privacy regulations.', WYSIJA); ?>
113
+ </div>
114
+ </div>
115
+ </div>
116
+ <div class="feature-section one-col"><div class="col center" style="margin-top: 0">
117
+ <a class="button-primary" href="plugin-install.php?s=mailpoet&tab=search&type=author"><?php echo __('Install MailPoet 3 now', WYSIJA); ?></a>
118
+ <p style="margin: 2em 0 2em 0">(<?php echo __('It installs as a separate plugins, so your existing MailPoet 2 plugin will continue to work', WYSIJA); ?>)
119
+ <p style="margin: 2em 0 4em 0"><a href="https://demo.mailpoet.com" target="_blank"><?php echo __('Alternatively, try the demo (new tab).', WYSIJA) ?></a>
120
+ </div></div>
121
+
122
+ <hr>
123
+
124
+ <div class="feature-section one-col"><div class="col">
125
+ <h2><?php echo __('Watch the MailPoet 3 install video', WYSIJA); ?></h2>
126
+ </div></div>
127
+
128
+ <div class="feature-video">
129
+ <iframe src="https://player.vimeo.com/video/295142268" width="640" height="360" frameborder="0"></iframe>
130
+ </div>
131
+
132
+ <hr>
133
+
134
+ <div class="feature-section one-col"><div class="col">
135
+ <h2><?php echo __('Is your site compatible with MailPoet 3?', WYSIJA); ?></h2>
136
+ <ul style="max-width:500px;margin:auto;list-style:none;">
137
+ <?php echo $this->displayPHPCompatibility(); ?>
138
+ <?php echo $this->displayRtlCompatibility(); ?>
139
+ <?php echo $this->displayMultisiteCompatibility(); ?>
140
+ <?php echo $this->displayIISCompatibility(); ?>
141
+ </ul>
142
+ </div></div>
143
+
144
+ <div class="feature-section one-col"><div class="col center">
145
+ <a class="button-primary" href="plugin-install.php?s=mailpoet&tab=search&type=author"><?php echo __('Install MailPoet 3 now', WYSIJA); ?></a>
146
+ <p style="margin: 2em 0 2em 0">(<?php echo __('It installs as a separate plugins, so your existing MailPoet 2 plugin will continue to work', WYSIJA); ?>)
147
+ <p style="margin: 2em 0 4em 0"><a href="https://demo.mailpoet.com" target="_blank"><?php echo __('Alternatively, try the demo (new tab).', WYSIJA) ?></a>
148
+ </div></div>
149
+
150
+ </div>
151
  <?php
152
  }
153
 
165
  $count
166
  );
167
  }
168
+
169
+ private function displayPHPCompatibility() {
170
+ if(version_compare(phpversion(), '5.6.0', '<')) {
171
+ return sprintf('<li class="red-cross">' . __('PHP version 5.6 or above (you have version %s)', WYSIJA), phpversion());
172
+ } else {
173
+ return sprintf('<li class="black-tick">' . __('PHP version 5.6 or above (you have version %s)', WYSIJA), phpversion());
174
+ }
175
+ }
176
+
177
+ private function displayRtlCompatibility() {
178
+ if(is_rtl()) {
179
+ return sprintf('<li class="red-cross">' . __('We don’t officially support right-to-left language (it is still usable)', WYSIJA), phpversion());
180
+ }
181
+ }
182
+
183
+ private function displayMultisiteCompatibility() {
184
+ if(is_multisite()) {
185
+ return sprintf('<li class="red-cross">' . __('We don’t officially support Multisite (it is still usable)', WYSIJA), phpversion());
186
+ }
187
+ }
188
+
189
+ private function displayIISCompatibility() {
190
+ if(isset($_SERVER['SERVER_SOFTWARE']) && strpos(strtolower($_SERVER['SERVER_SOFTWARE']), 'microsoft-iis') !== false) {
191
+ return sprintf('<li class="red-cross">' . __('We don’t officially support IIS (you can still try)', WYSIJA), phpversion());
192
+ }
193
+ }
194
  }
views/back/premium.php CHANGED
@@ -18,7 +18,7 @@ class WYSIJA_view_back_premium extends WYSIJA_view_back
18
  <div class="feature-section one-col" style="text-align:center;">
19
  <h2><?php _e('Looking for Premium?', WYSIJA) ?></h2>
20
  <p class="lead-description"><?php _e('So you know, MailPoet has a completely new version...', WYSIJA) ?></p>
21
- <p style="text-align: justify;"><?php _e('The MailPoet team will continue to support the Premium users of version 2 (the one you are using now) until the spring of 2018. A purchase of the Premium for version 2 will be valid for Premium version 3.', WYSIJA) ?></p>
22
  <div style="margin:0 auto;">
23
  <ol style="display:inline-block; text-align: left;">
24
  <li><?php echo str_replace(array('[link]', '[/link]'), array('<a href="http://www.mailpoet.com/faq-mailpoet-version-2/" target="_blank">', '</a>'), __('[link]Read the FAQ on MailPoet version 2[/link] (your version)', WYSIJA)); ?></li>
18
  <div class="feature-section one-col" style="text-align:center;">
19
  <h2><?php _e('Looking for Premium?', WYSIJA) ?></h2>
20
  <p class="lead-description"><?php _e('So you know, MailPoet has a completely new version...', WYSIJA) ?></p>
21
+ <p style="text-align: justify;"><?php _e('The MailPoet team will continue to support the Premium users of version 2 (the one you are using now) until the spring of 2019. A purchase of the Premium for version 2 will be valid for Premium version 3.', WYSIJA) ?></p>
22
  <div style="margin:0 auto;">
23
  <ol style="display:inline-block; text-align: left;">
24
  <li><?php echo str_replace(array('[link]', '[/link]'), array('<a href="http://www.mailpoet.com/faq-mailpoet-version-2/" target="_blank">', '</a>'), __('[link]Read the FAQ on MailPoet version 2[/link] (your version)', WYSIJA)); ?></li>