MailPoet Newsletters (Previous) - Version 2.7.12

Version Description

  • 2017-09-20 =
  • Update messages in regards to official launch of MailPoet version 3
Download this release

Release Info

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

Code changes from version 2.7.11.3 to 2.7.12

controllers/back/campaigns.php CHANGED
@@ -116,11 +116,12 @@ class WYSIJA_control_back_campaigns extends WYSIJA_control_back {
116
  }
117
 
118
  $this->data['sections'][] = array(
119
- 'title' => __('A new and better MailPoet is coming this September', WYSIJA),
120
  'format' => 'title-content',
121
  'paragraphs' => array('
122
  <iframe src="https://player.vimeo.com/video/223581490" width="640" height="360" frameborder="0" webkitallowfullscreen="" mozallowfullscreen="" allowfullscreen=""></iframe>
123
  <ul style="list-style: disc inside none">
 
124
  <li>'.__('MailPoet version 3 is completely rewritten', WYSIJA).'</li>
125
  <li>'.__('New email designer', WYSIJA).'</li>
126
  <li>'.__('Responsive templates', WYSIJA).'</li>
116
  }
117
 
118
  $this->data['sections'][] = array(
119
+ 'title' => __("We're changing. So should you.", WYSIJA),
120
  'format' => 'title-content',
121
  'paragraphs' => array('
122
  <iframe src="https://player.vimeo.com/video/223581490" width="640" height="360" frameborder="0" webkitallowfullscreen="" mozallowfullscreen="" allowfullscreen=""></iframe>
123
  <ul style="list-style: disc inside none">
124
+ <li>'.$this->viewObj->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>
125
  <li>'.__('MailPoet version 3 is completely rewritten', WYSIJA).'</li>
126
  <li>'.__('New email designer', WYSIJA).'</li>
127
  <li>'.__('Responsive templates', WYSIJA).'</li>
controllers/back/mp3.php CHANGED
@@ -20,17 +20,7 @@ class WYSIJA_control_back_mp3 extends WYSIJA_control_back {
20
  }
21
 
22
  function defaultDisplay() {
23
- $this->jsTrans['premium_activate'] = __('Already paid? Click here to activate', WYSIJA);
24
- $this->jsTrans['premium_activating'] = __('Checking license', WYSIJA);
25
- }
26
-
27
- function premium_ben() {
28
- $this->jsTrans['premium_activate'] = __('Already paid? Click here to activate', WYSIJA);
29
- $this->jsTrans['premium_activating'] = __('Checking license', WYSIJA);
30
- }
31
-
32
- function premium_kim() {
33
- $this->jsTrans['premium_activate'] = __('Already paid? Click here to activate', WYSIJA);
34
  $this->jsTrans['premium_activating'] = __('Checking license', WYSIJA);
35
  }
36
  }
20
  }
21
 
22
  function defaultDisplay() {
23
+ $this->jsTrans['premium_activate'] = __('Activate now', WYSIJA);
 
 
 
 
 
 
 
 
 
 
24
  $this->jsTrans['premium_activating'] = __('Checking license', WYSIJA);
25
  }
26
  }
controllers/back/premium.php CHANGED
@@ -20,17 +20,7 @@ class WYSIJA_control_back_premium extends WYSIJA_control_back {
20
  }
21
 
22
  function defaultDisplay() {
23
- $this->jsTrans['premium_activate'] = __('Already paid? Click here to activate', WYSIJA);
24
- $this->jsTrans['premium_activating'] = __('Checking license', WYSIJA);
25
- }
26
-
27
- function premium_ben() {
28
- $this->jsTrans['premium_activate'] = __('Already paid? Click here to activate', WYSIJA);
29
- $this->jsTrans['premium_activating'] = __('Checking license', WYSIJA);
30
- }
31
-
32
- function premium_kim() {
33
- $this->jsTrans['premium_activate'] = __('Already paid? Click here to activate', WYSIJA);
34
  $this->jsTrans['premium_activating'] = __('Checking license', WYSIJA);
35
  }
36
  }
20
  }
21
 
22
  function defaultDisplay() {
23
+ $this->jsTrans['premium_activate'] = __('Activate now', WYSIJA);
 
 
 
 
 
 
 
 
 
 
24
  $this->jsTrans['premium_activating'] = __('Checking license', WYSIJA);
25
  }
26
  }
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.7.11.3';
23
 
24
  function __construct(){}
25
 
19
  * Static variable holding core MailPoet's version
20
  * @var array
21
  */
22
+ static $version = '2.7.12';
23
 
24
  function __construct(){}
25
 
index.php CHANGED
@@ -2,8 +2,8 @@
2
  /*
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. MailPoet is a sweet plugin maintained and supported with love.
6
- Version: 2.7.11.3
7
  Author: MailPoet
8
  Author URI: http://www.mailpoet.com/
9
  License: GPLv2 or later
2
  /*
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.7.12
7
  Author: MailPoet
8
  Author URI: http://www.mailpoet.com/
9
  License: GPLv2 or later
languages/wysija-newsletters-ca.mo CHANGED
Binary file
languages/wysija-newsletters-da_DK.mo CHANGED
Binary file
languages/wysija-newsletters-de_DE.mo CHANGED
Binary file
languages/wysija-newsletters-es_ES.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-it_IT.mo CHANGED
Binary file
languages/wysija-newsletters-ja.mo CHANGED
Binary file
languages/wysija-newsletters-nb_NO.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-sv_SE.mo CHANGED
Binary file
languages/wysija-newsletters-tr_TR.mo CHANGED
Binary file
readme.txt CHANGED
@@ -1,16 +1,16 @@
1
  === MailPoet 2 ===
2
  Contributors: wysija
3
- Tags: newsletter, newsletters, email newsletter, email subscription, newsletter signup, post notification, autoresponder, newsletter alert, auto newsletter, automatic post notification, email newsletters, email signup, auto post notifications, newsletter widget, newsletter builder, subscribe widget, signup widget, email subscription, newsletter plugin, widget, subscription, emailing, mailpoet, wysija, mandrill, sendgrid
4
  Requires at least: 3.5
5
  Tested up to: 4.8
6
- Stable tag: 2.7.11.3
7
  Send newsletters post notifications or autoresponders from WordPress easily, and beautifully. Start to capture subscribers with our widget now.
8
 
9
  == Description ==
10
 
11
- Our lovely plugin is changing for the better. Version 2 will start being replaced by [MailPoet version 3](https://wordpress.org/plugins/mailpoet/) this September. We encourage you all to switch now.
12
 
13
- [Try the demo.](http://demo.mailpoet.com/launch/)
14
 
15
  = Check out this 2 minute video. =
16
 
@@ -18,24 +18,11 @@ https://vimeo.com/130151897
18
 
19
  = Features =
20
 
21
- * Drag-and-drop newsletter designer
22
- * Send your latest posts automatically
23
- * Autoresponders (e.g., "send email 3 days after someone subscribes")
24
- * Send emails to your WordPress users
25
- * Start collecting subscribers in 2-clicks with our subscription widget
26
- * Your choice of single or double opt-in
27
- * Import subscribers in 2 easy steps
28
- * Get statistics for your newsletters: opens, clicks, unsubscribes
29
- * Drag-and-drop subscription form designer
30
- * Perfect rendering that makes your newsletters look the same on mobile devices (iPhone, Android) and desktop/web email clients (Gmail, Outlooki, Yahoo, Hotmai, etc.)
31
- * Send with your own web host or, third-party SMTP (e.g., SendGrid, Amazon SES, Gmail, etc.), or third-party API (SendGrid, Elastic EMail, etc.)
32
- * Segment your lists based on unopened, opened and clicked rates
33
- * [Selection of over 70 themes](http://www.mailpoet.com/newsletter-templates-wordpress/). Photoshop files included!
34
- * Sending newsletters in the free version is limited to 2000 subscribers
35
 
36
  = Premium version =
37
 
38
- [MailPoet Premium](http://www.mailpoet.com/premium/) offers these nifty extra features:
39
 
40
  * Send to more than 2000 subscribers
41
  * A beautiful statistics dashboard to compare your newsletters and subscribers
@@ -44,20 +31,14 @@ https://vimeo.com/130151897
44
  * Test your SPAM score before you send a newsletter to your subscribers
45
  * Improve deliverability with DKIM signature
46
  * Simple install process
47
- * Priority support: let us optimize your settings!
48
-
49
- [Visit our Premium page](http://www.mailpoet.com/premium/).
50
 
51
  = Support =
52
 
53
- Find over 80 articles in our documentation:
54
-
55
- [support.mailpoet.com](http://support.mailpoet.com/)
56
 
57
  = Translations in your language =
58
 
59
- [Get a Premium plugin license in exchange for your help in translation](http://support.mailpoet.com/knowledgebase/translations-in-your-language/)
60
-
61
  * Arabic
62
  * Basque
63
  * Catalan
@@ -116,7 +97,9 @@ There are 3 ways to install this plugin:
116
 
117
  = Got questions? =
118
 
119
- Our [support site](http://support.mailpoet.com/) has plenty of articles and a ticketing system.
 
 
120
 
121
  == Screenshots ==
122
 
@@ -130,6 +113,9 @@ Our [support site](http://support.mailpoet.com/) has plenty of articles and a ti
130
 
131
  == Changelog ==
132
 
 
 
 
133
  = 2.7.11.3 - 2017-07-21 =
134
  * Fixed Premium version download link
135
 
1
  === MailPoet 2 ===
2
  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.8
6
+ Stable tag: 2.7.12
7
  Send newsletters post notifications or autoresponders from WordPress easily, and beautifully. Start to capture subscribers with our widget now.
8
 
9
  == Description ==
10
 
11
+ Our lovely plugin is changing for the better: MailPoet 2 is being replaced by [MailPoet 3](https://wordpress.org/plugins/mailpoet/).
12
 
13
+ Version 2 will remain available right here on the repository. [Read more the complete FAQ.](https://www.mailpoet.com/faq-mailpoet-version-2/)
14
 
15
  = Check out this 2 minute video. =
16
 
18
 
19
  = Features =
20
 
21
+ Please visit [MailPoet version 3 features](https://wordpress.org/plugins/mailpoet/) instead.
 
 
 
 
 
 
 
 
 
 
 
 
 
22
 
23
  = Premium version =
24
 
25
+ MailPoet Premium offers these nifty extra features:
26
 
27
  * Send to more than 2000 subscribers
28
  * A beautiful statistics dashboard to compare your newsletters and subscribers
31
  * Test your SPAM score before you send a newsletter to your subscribers
32
  * Improve deliverability with DKIM signature
33
  * Simple install process
34
+ * Priority support
 
 
35
 
36
  = Support =
37
 
38
+ This version is no longer officially supported. Paying customer will continue to be supported until further notice.
 
 
39
 
40
  = Translations in your language =
41
 
 
 
42
  * Arabic
43
  * Basque
44
  * Catalan
97
 
98
  = Got questions? =
99
 
100
+ Our [support site](https://www.mailpoet.com/support) has plenty of articles and a ticketing system.
101
+
102
+ [Read more the complete FAQ on version 2.](https://www.mailpoet.com/faq-mailpoet-version-2/)
103
 
104
  == Screenshots ==
105
 
113
 
114
  == Changelog ==
115
 
116
+ = 2.7.12 - 2017-09-20 =
117
+ * Update messages in regards to official launch of MailPoet version 3
118
+
119
  = 2.7.11.3 - 2017-07-21 =
120
  * Fixed Premium version download link
121
 
views/back/campaigns.php CHANGED
@@ -2934,11 +2934,13 @@ class WYSIJA_view_back_campaigns extends WYSIJA_view_back {
2934
  $is_network_admin = WYSIJA::current_user_can('manage_network');
2935
 
2936
  $data['sections'][] = array(
2937
- 'title' => __('A new and better MailPoet is coming this September', WYSIJA),
2938
  'format' => 'title-content',
2939
  'content' => '
2940
  <iframe src="https://player.vimeo.com/video/223581490" width="640" height="360" frameborder="0" webkitallowfullscreen="" mozallowfullscreen="" allowfullscreen=""></iframe>
2941
- <ul><li>'.__('MailPoet version 3 is completely rewritten', WYSIJA).'</li>
 
 
2942
  <li>'.__('New email designer', WYSIJA).'</li>
2943
  <li>'.__('Responsive templates', WYSIJA).'</li>
2944
  <li>'.__('Fast user interface', WYSIJA).'</li>
2934
  $is_network_admin = WYSIJA::current_user_can('manage_network');
2935
 
2936
  $data['sections'][] = array(
2937
+ 'title' => __("We're changing. So should you.", WYSIJA),
2938
  'format' => 'title-content',
2939
  'content' => '
2940
  <iframe src="https://player.vimeo.com/video/223581490" width="640" height="360" frameborder="0" webkitallowfullscreen="" mozallowfullscreen="" allowfullscreen=""></iframe>
2941
+ <ul>
2942
+ <li>'.$this->viewObj->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>
2943
+ <li>'.__('MailPoet version 3 is completely rewritten', WYSIJA).'</li>
2944
  <li>'.__('New email designer', WYSIJA).'</li>
2945
  <li>'.__('Responsive templates', WYSIJA).'</li>
2946
  <li>'.__('Fast user interface', WYSIJA).'</li>
views/back/mp3.php CHANGED
@@ -19,13 +19,14 @@ class WYSIJA_view_back_mp3 extends WYSIJA_view_back{
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 __('A new and better MailPoet is coming this September', 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 __('MailPoet version 3 is completely rewritten', WYSIJA); ?></li>
30
  <li><?php echo __('New email designer', WYSIJA); ?></li>
31
  <li><?php echo __('Responsive templates', WYSIJA); ?></li>
@@ -48,7 +49,7 @@ class WYSIJA_view_back_mp3 extends WYSIJA_view_back{
48
 
49
  <br>
50
  <h3 style="font-size: 25px; color: #626262; font-weight: 600;"><strong>Comes with a 1-click migration tool:</strong></h3>
51
- <ul style="list-style: disc inside none">
52
  <li><?php echo __('Your subscribers, lists, forms and settings will be migrated', WYSIJA); ?></li>
53
  <li><?php echo __('Automatic emails will not be migrated', WYSIJA); ?></li>
54
  <li><?php echo __('Archive of sent emails will not be migrated', WYSIJA); ?></li>
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><?php echo __('Responsive templates', WYSIJA); ?></li>
49
 
50
  <br>
51
  <h3 style="font-size: 25px; color: #626262; font-weight: 600;"><strong>Comes with a 1-click migration tool:</strong></h3>
52
+ <ul style="list-style: disc inside none">
53
  <li><?php echo __('Your subscribers, lists, forms and settings will be migrated', WYSIJA); ?></li>
54
  <li><?php echo __('Automatic emails will not be migrated', WYSIJA); ?></li>
55
  <li><?php echo __('Archive of sent emails will not be migrated', WYSIJA); ?></li>
views/back/premium.php CHANGED
@@ -1,334 +1,41 @@
1
  <?php
2
  defined('WYSIJA') or die('Restricted access');
3
 
4
- class WYSIJA_view_back_premium extends WYSIJA_view_back{
5
- function __construct(){
6
- $this->skip_header =true;
7
-
 
8
  }
9
 
10
- function defaultDisplay($data){
11
- $model_config = WYSIJA::get('config','model');
12
- $time_install = $model_config->getValue('installed_time');
13
-
14
- // we display the even installed_time with kim's version and the odd with ben's
15
- if($time_install % 2 == 0) $this->premium_kim();
16
- else $this->premium_ben();
17
-
18
- }
19
-
20
- function premium_kim() {
21
- ?>
22
 
 
23
  <div class="wrap about-wrap">
24
-
25
- <h1><?php echo __('The Sweeter Experience of our Premium', WYSIJA ); ?></h1>
26
- <hr>
27
- <div class="changelog">
28
- <h2 class="about-headline-callout"><?php _e( 'All Your Stats in a Single Dashboard', WYSIJA ); ?></h2>
29
- <img class="about-overview-img" src="http://ps.w.org/wysija-newsletters/assets/premium_va/stats-dashboard.png" />
30
-
31
- <p style="text-align:center"><a target="_blank" href="http://www.mailpoet.com/wp-content/uploads/2014/04/stats-page-screenshot.png"><?php _e( 'View full screenshot', WYSIJA) ?></a> (new tab).</p>
32
-
33
- <div class="feature-section col three-col about-updates">
34
- <div class="col-1">
35
- <img src="http://ps.w.org/wysija-newsletters/assets/premium_va/stat1.png" />
36
- <h3><?php _e( 'Have fun improving', WYSIJA ); ?></h3>
37
- <p><?php _e( 'See your top newsletters, top subscribers, top links, top lists, and top domains on one screen. Can you beat your past newsletters?', WYSIJA ); ?></p>
38
- </div>
39
- <div class="col-2">
40
- <img src="http://ps.w.org/wysija-newsletters/assets/premium_va/stat3.png" />
41
- <h3><?php _e( 'Increase your subscribers', WYSIJA ); ?></h3>
42
- <p><?php _e( 'Does my sidebar form get more subscribers than the one in the footer? It\'s time to find out.', WYSIJA ); ?></p>
43
- </div>
44
- <div class="col-3 last-feature">
45
- <img src="http://ps.w.org/wysija-newsletters/assets/premium_va/stat2.png" />
46
- <h3><?php _e( 'Compare past & present', WYSIJA ); ?></h3>
47
- <p><?php _e( 'Are you doing better now than 3 months ago? Select a date range to reveal changes in your results.', WYSIJA ); ?></p>
48
- </div>
49
- </div>
50
- </div> <!-- div changelog -->
51
-
52
- <hr>
53
-
54
- <div class="changelog">
55
- <div class="feature-section col two-col">
56
- <div>
57
- <h3><?php _e( 'Reach their inboxes', WYSIJA ); ?></h3>
58
-
59
- <p><?php echo str_replace(array('[link]', '[/link]'), array('<a href="http://www.mail-tester.com/?utm_source=mailpoet&utm_campaign=premiumpage" target="_blank">', '</a>'), __('Get your spam score in 1 click while you\'re designing your newsletter thanks to [link]mail-tester[/link], our own popular in-house tool.', WYSIJA)); ?></p>
60
-
61
- <h4><?php _e( 'Spam filters love DKIM', WYSIJA ); ?></h4>
62
-
63
- <p><?php echo str_replace(array('[link]', '[/link]'), array('<a href=http://support.mailpoet.com/knowledgebase/guide-to-dkim-in-wysija/?utm_source=wpadmin&utm_campaign=premiumpage" target="_blank">', '</a>'), __('Add a DKIM signature to your newsletters to increase the deliverability of your newsletters. [link]Read the setup guide.[/link]', WYSIJA)); ?></p>
64
-
65
- </div>
66
- <div class="last-feature about-colors-img">
67
- <img src="http://ps.w.org/wysija-newsletters/assets/premium_va/reach-inbox.png" />
68
- </div>
69
- </div>
70
- </div>
71
-
72
-
73
- <hr>
74
- <div class="changelog">
75
- <div class="feature-section col three-col about-updates">
76
- <div class="col-1">
77
- <img src="http://ps.w.org/wysija-newsletters/assets/premium_va/configuration.png" />
78
- <h3><?php _e( 'Let us configure it', WYSIJA ); ?></h3>
79
- <p><?php _e( 'Our international and friendly team will help you optimize your settings in details, and make sure you\'re all good to go. We answer questions under 10h on average. Pretty fast!', WYSIJA ); ?></p>
80
- </div>
81
- <div class="col-2">
82
- <img src="http://ps.w.org/wysija-newsletters/assets/premium_va/auto-bounce.png" />
83
- <h3><?php _e( 'Automate the boring stuff', WYSIJA ); ?></h3>
84
-
85
- <p><?php echo str_replace(array('[link]', '[/link]'), array('<a href="http://support.wysija.com/knowledgebase/automated-bounce-handling-install-guide/?utm_source=wpadmin&utm_campaign=premiumpage" target="_blank">', '</a>'), __('Let the plugin remove the <strong>bounced and invalid addresses</strong> automatically. [link]See the guide.[/link]', WYSIJA)); ?></p>
86
-
87
- <p><?php _e( 'Moreover, MailPoet checks every 15 minutes your site, <strong>just like a "cron" job</strong>, to make sure your emails are being sent on time. No setup involved!', WYSIJA ); ?></p>
88
-
89
- </div>
90
- <div class="col-3 last-feature">
91
- <img src="http://ps.w.org/wysija-newsletters/assets/premium_va/meow.png" />
92
- <h3><?php _e( '30 day money back', WYSIJA ); ?></h3>
93
- <p><?php _e( 'A great way to try the Premium. No one should be locked in, ever.', WYSIJA ); ?></p>
94
- <p><?php _e( 'The kitten is just to fill the blank space. He looks hungry, no? We love kittens.', WYSIJA ); ?></p>
95
- </div>
96
- </div>
97
- </div>
98
-
99
-
100
- <hr>
101
-
102
- <div class="changelog">
103
- <div class="feature-section col two-col">
104
- <div>
105
- <h3><?php _e( 'No more limits of 2000 subscribers', WYSIJA ); ?></h3>
106
- <p><?php _e('The free version blocks the sending of your newsletters when you have 2000 confirmed subscribers. The Premium removes this limit.',WYSIJA); ?></p>
107
- </div>
108
- </div>
109
- </div>
110
-
111
- <hr>
112
-
113
- <div class="changelog">
114
- <div class="feature-section col two-col">
115
- <div>
116
- <h3><?php _e( 'And more...', WYSIJA ); ?></h3>
117
-
118
- <ul>
119
- <li><?php _e('Find out what happens to your subscribers once they arrive on your site, thanks to Google Analytics campaign tracking', WYSIJA); ?></li>
120
- <li><?php _e('Detailed stats for each subscriber', WYSIJA); ?></li>
121
- <li><?php _e('Stats of clicked links for each newsletter', WYSIJA); ?></li>
122
- </ul>
123
-
124
- </div>
125
- </div>
126
- </div>
127
-
128
- <div id="prices_table">
129
- <div class="fullwidth" id="prices_main">
130
- <div class="fullwidth" id="prices_names">
131
- <div class="one-third blogger">
132
- <h3><?php _e('Blogger',WYSIJA) ?></h3>
133
- </div>
134
- <div class="one-third freelance">
135
- <h3><?php _e('Freelance',WYSIJA) ?></h3>
136
- </div>
137
- <div class="one-third agency">
138
- <h3><?php _e('Agency',WYSIJA) ?></h3>
139
- </div>
140
- <div class="clearfix"></div>
141
- </div><!-- /#prices_names -->
142
- <?php
143
- $prices = $this->get_prices();
144
- ?>
145
- <div class="fullwidth" id="prices_cost">
146
- <div class="one-third blogger">
147
- <p class="dollars"><?php echo $prices['blogger'] ?></p>
148
- <p class="per_year"><?php _e('per year',WYSIJA) ?></p>
149
- </div>
150
- <div class="one-third frelance">
151
- <p class="dollars"><?php echo $prices['freelancer'] ?></p>
152
- <p class="per_year"><?php _e('per year',WYSIJA) ?></p>
153
- </div>
154
- <div class="one-third agency">
155
- <p class="dollars"><?php echo $prices['agency'] ?></p>
156
- <p class="per_year"><?php _e('per year',WYSIJA) ?></p>
157
- </div>
158
- <div class="clearfix"></div>
159
- </div><!-- /#prices_cost -->
160
- <div class="fullwidth" id="prices_description">
161
- <div class="one-third blogger">
162
- <span><?php _e('Single Site',WYSIJA) ?></span>
163
- </div>
164
- <div class="one-third frelance">
165
- <span><?php _e('Four Sites',WYSIJA) ?></span>
166
- </div>
167
- <div class="one-third agency">
168
- <span><?php _e('Unlimited Sites',WYSIJA) ?></span>
169
- <p><?php _e('Multisite ready.',WYSIJA) ?></p>
170
- </div>
171
- <div class="clearfix"></div>
172
- </div><!-- /#prices_description -->
173
- <div class="clearfix"></div>
174
- </div><!-- /#prices_main -->
175
- </div><!-- /#prices_table -->
176
- <br>
177
- <br>
178
  <?php
179
- $helper_licence = WYSIJA::get('licence', 'helper');
180
- $url_checkout = $helper_licence->get_url_checkout('a_buy_now');
181
- ?>
182
- <a class="buy-button" target="_blank" href="<?php echo $url_checkout; ?>" title="3 steps checkout"><span><?php _e('Buy Now',WYSIJA) ?></span></a>
183
- <div class="clearfix"></div>
184
- <div class="wysija-premium-actions-kim">
185
- <?php echo $this->messages(); ?>
186
- <p><?php _e('Already paid?', WYSIJA); ?> <a class="button-primary wysija-premium-activate" href="javascript:;"><?php echo __('Activate now', WYSIJA); ?></a></p>
187
- </div>
188
- <div class="clearfix"></div>
189
- <p><?php echo str_replace(array('[link]', '[/link]'), array('<a href="http://www.mailpoet.com/contact/?utm_source=wpadmin&utm_campaign=premiumpage" target="_blank">', '</a>'), __('Got a sales question? [link]Get in touch[/link].', WYSIJA)); ?></p>
190
-
191
- </div><!-- /#about-wrap -->
192
-
193
- <?php
194
-
195
- }
196
-
197
- function premium_ben() {
198
- $helper_licence = WYSIJA::get('licence', 'helper');
199
- $arrayPremiumBullets = array(
200
- array(
201
- 'key' => 'more_stats',
202
- 'title' => __('Monitor everything with more stats', WYSIJA),
203
- 'desc' => __('Looking for answers? Why such and such campaign worked so well? Which is your most efficient subscription form? Get a clear picture with our brand new stats dashboard! [link]Get the stats dashboard in Premium.[/link]', WYSIJA),
204
- 'class' => 'new',
205
- 'link' => $helper_licence->get_url_checkout('b_more_stats'),
206
- 'img' => 'http://ps.w.org/wysija-newsletters/assets/premium_vb/stat-dash.jpg',
207
- ),
208
- array(
209
- 'key' => 'bounce_service',
210
- 'title' => __('Clean automatically your mailing list', WYSIJA),
211
- 'desc' => __('Send like a PRO and keep your server\'s sending reputation HIGH. Thanks to our advanced list cleaning tool, you can finally avoid sending to old or invalid email addresses. [link]Keep your list clean with Premium.[/link]', WYSIJA),
212
- 'link' => $helper_licence->get_url_checkout('b_bounce_service'),
213
- 'img' => 'http://ps.w.org/wysija-newsletters/assets/premium_vb/automated-bounce.jpg',
214
- ),
215
- array(
216
- 'key' => 'cron_service',
217
- 'title' => __('Send at a higher frequency', WYSIJA),
218
- 'desc' => __('Did you know? It\'s better to send fewer emails at higher frequencies. Become Premium and we\'ll ping your site each 15 minutes making sure your emails are sent smoothly at this frequency. [link]Send better with Premium.[/link]', WYSIJA),
219
- 'link' => $helper_licence->get_url_checkout('b_cron_service'),
220
- 'img' => 'http://ps.w.org/wysija-newsletters/assets/premium_vb/scheduled-on-time.jpg',
221
- ),
222
- array(
223
- 'key' => 'no_more_2000_limit',
224
- 'title' => __('Forget about limits', WYSIJA),
225
- 'desc' => __('Remove the 2000 subscribers limit of the free version, and send to as many subscribers as you wish. [link]Get rid of that limit![/link]', WYSIJA),
226
- 'link' => $helper_licence->get_url_checkout('b_no_more_2000_limit'),
227
- 'img' => 'http://ps.w.org/wysija-newsletters/assets/premium_vb/no-limit.jpg',
228
- ),
229
- array(
230
- 'key' => 'more_user_stats',
231
- 'title' => __('Investigate your top subscribers', WYSIJA),
232
- 'desc' => __('Discover which links are the top hits in each newsletter. Find out which subscribers are your number one fans and get advanced details about them. [link]Get more data with Premium.[/link]', WYSIJA),
233
- 'link' => $helper_licence->get_url_checkout('b_more_user_stats'),
234
- 'img' => 'http://ps.w.org/wysija-newsletters/assets/premium_vb/subscriber-stats.jpg',
235
- ),
236
- array(
237
- 'key' => 'faster_support',
238
- 'title' => __('Get faster support', WYSIJA),
239
- 'desc' => __('Skip the queue, go straight to our priority inbox. [link]Get faster support with Premium.[/link]', WYSIJA),
240
- 'link' => $helper_licence->get_url_checkout('b_faster_support'),
241
- 'img' => 'http://ps.w.org/wysija-newsletters/assets/premium_vb/fast-support.jpg',
242
- ),
243
- array(
244
- 'key' => 'more_themes',
245
- 'title' => __('Get more themes', WYSIJA),
246
- 'desc' => __('Not good at matching colors? Don\'t worry, we work with top notch designers to provide you plenty of themes, the newest are Premium exclusives. [link]Get more themes in Premium.[/link]', WYSIJA),
247
- 'link' => $helper_licence->get_url_checkout('b_more_themes'),
248
- 'img' => 'http://ps.w.org/wysija-newsletters/assets/premium_vb/more-themes.jpg',
249
- ),
250
- array(
251
- 'key' => 'ga_track',
252
- 'title' => __('Track your readers within Google Analytics', WYSIJA),
253
- 'desc' => __('Verify what your subscribers do once you drove them onto your site and improve your retention rate. [link]Track your readers with GA in Premium.[/link]', WYSIJA),
254
- 'link' => $helper_licence->get_url_checkout('b_ga_track'),
255
- 'img' => 'http://ps.w.org/wysija-newsletters/assets/premium_vb/google-analytics.jpg',
256
- ),
257
-
258
- array(
259
- 'key' => '30days_no_stress',
260
- 'title' => __('30 days happiness guarantee', WYSIJA),
261
- 'desc' => __('Still having doubts about our product and our team of 9? No stress, we\'re confident enough to give you 30 days to try it out. We\'ll refund you in an instant if you are not happy. [link]Become Premium now without stress.[/link]', WYSIJA),
262
- 'link' => $helper_licence->get_url_checkout('b_30days_no_stress'),
263
- 'img' => 'http://ps.w.org/wysija-newsletters/assets/premium_vb/money-back.jpg',
264
- ),
265
- );
266
-
267
- // BEGIN: premium content
268
- $output = '<div id="premium-content-b" class="about-wrap mpoet-page">';
269
-
270
- // BEGIN: premium features
271
- $output.= '<h1>' . __('Be productive thanks to Premium!', WYSIJA) . '</h1>';
272
-
273
- $chunks = array_chunk($arrayPremiumBullets, 3);
274
- $helper_quick_html = WYSIJA::get('quick_html','helper');
275
-
276
- foreach ($chunks as $array_chunks) {
277
- $output .= '<div class="changelog"><div class="feature-section col three-col about-updates">';
278
- $output .= $helper_quick_html->three_arguments($array_chunks,true);
279
- $output .= '</div></div>';
280
- }
281
- $prices = $this->get_prices();
282
-
283
- $output .= '<hr/><h2 class="pick-licence">'.__('We have 3 different licences available to fit your needs:',WYSIJA).'</h2>';
284
- $output.= '<div class="feature-section col three-col about-updates">
285
- <div class="col-1 no_more_2000_limit">
286
- <h3>'.__('Blogger',WYSIJA).'</h3>
287
- <p>'.sprintf(__('For %s per year, get 1 site covered with Premium.',WYSIJA), '<span class="price">'.$prices['blogger'].'</span>').'</p>
288
- <p><a href="'.$helper_licence->get_url_checkout('b_buy_blogger').'" class="licence button-primary wysija-premium-purchase" title="Valid for 1 site">'.__('Get it now!',WYSIJA).'</a></p>
289
- </div><div class="col-2 more_user_stats">
290
- <h3>'.__('Freelancer',WYSIJA).'</h3>
291
- <p>'.sprintf(__('For %s per year, get 4 of your sites covered with Premium.'), '<span class="price">'.$prices['freelancer'].'</span>').'</p>
292
- <p><a href="'.$helper_licence->get_url_checkout('b_buy_freelance').'" class="licence button-primary wysija-premium-purchase" title="Valid for 4 sites">'.__('Get it now!',WYSIJA).'</a></p>
293
- </div>
294
-
295
- <div class="col-3 faster_support last-feature">
296
- <h3>'.__('Agency',WYSIJA).'</h3>
297
- <p>'.sprintf(__('For %s per year, get all of your sites covered with Premium.'), '<span class="price">'.$prices['agency'].'</span>').'</p>
298
- <p><a href="'.$helper_licence->get_url_checkout('b_buy_agency').'" class="licence button-primary wysija-premium-purchase" title="Valid for an unlimited number of sites">'.__('Get it now!',WYSIJA).'</a></p>
299
- </div></div>';
300
-
301
-
302
- // END: premium features
303
- // BEGIN: premium actions
304
- $output.= '<div class="wysija-premium-actions">';
305
- $output .= $this->messages();
306
- $output.= '<p>';
307
- $output.= '<span class="conditions">'.str_replace(array('[link]', '[/link]'), array('<a href="http://support.mailpoet.com/terms-conditions/?utm_source=wpadmin&utm_campaign=premiumtab" target="_blank">', '</a>'), __('Read our simple and easy [link]terms and conditions.[/link]', WYSIJA)).'</span>' ;
308
- $output .= '<a class="button-primary wysija-premium-activate" href="javascript:;">' . __('Already paid? Click here to activate', WYSIJA) . '</a>';
309
- $output.= '</p></div>';
310
- // END: premium actions
311
- // END: premium content
312
- $output.= '</div>';
313
-
314
- echo $output;
315
- }
316
-
317
- function get_prices(){
318
- $prices = array();
319
- $helper_toolbox = WYSIJA::get('toolbox' , 'helper');
320
-
321
- if($helper_toolbox->is_european()){
322
- $prices['blogger'] = '75€';
323
- $prices['freelancer'] = '249€';
324
- $prices['agency'] = '499€';
325
- $this->is_european = true;
326
- }else{
327
- $prices['blogger'] = '$99';
328
- $prices['freelancer'] = '$249';
329
- $prices['agency'] = '$499';
330
- $this->is_european = false;
331
- }
332
- return $prices;
333
  }
334
  }
1
  <?php
2
  defined('WYSIJA') or die('Restricted access');
3
 
4
+ class WYSIJA_view_back_premium extends WYSIJA_view_back
5
+ {
6
+ function __construct()
7
+ {
8
+ $this->skip_header = true;
9
  }
10
 
11
+ function defaultDisplay($data)
12
+ {
13
+ $helper_licence = WYSIJA::get('licence', 'helper');
14
+ $url_checkout = $helper_licence->get_url_checkout('a_buy_now');
 
 
 
 
 
 
 
 
15
 
16
+ ?>
17
  <div class="wrap about-wrap">
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>
25
+ <li><?php echo str_replace(array('[link]', '[/link]'), array('<a href="http://www.mailpoet.com/support/sales-pre-sales-questions/" target="_blank">', '</a>'), __('Got a sales question? [link]Get in touch[/link]', WYSIJA)); ?></li>
26
+ <li><?php echo str_replace(array('[link]', '[/link]'), array('<a href="http://www.mailpoet.com/features/features-list/" target="_blank">', '</a>'), __('See Premium version 2 [link]features list[/link]', WYSIJA)); ?></li>
27
+ </ol>
28
+ </div>
29
+ <a class="buy-button" target="_blank" href="<?php echo $url_checkout; ?>"><span><?php _e('Yes, I want to purchase Premium version 2', WYSIJA) ?></span></a>
30
+
31
+ </div>
32
+ <div class="wysija-premium-actions-kim">
33
+ <?php echo $this->messages(); ?>
34
+ <input type="hidden" value="faed9c414f" id="wysijax">
35
+ <p><?php _e('Already paid?', WYSIJA) ?> <a class="button-primary wysija-premium-activate" href="javascript:;"><?php _e('Activate now', WYSIJA) ?></a></p>
36
+ </div>
37
+ <div class="clearfix"></div>
38
+ </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
39
  <?php
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
40
  }
41
  }