Allow to access Settings after exceeding the 2000 limit [MAILPOET-950]

This commit is contained in:
stoletniy
2017-06-14 10:47:34 +03:00
parent 32b24a83ab
commit 1da06bd46a
2 changed files with 7 additions and 2 deletions

View File

@ -347,8 +347,6 @@ class Menu {
function settings() { function settings() {
if($this->subscribers_over_limit) return $this->displaySubscriberLimitExceededTemplate();
$settings = Setting::getAll(); $settings = Setting::getAll();
$flags = $this->_getFlags(); $flags = $this->_getFlags();

View File

@ -133,6 +133,13 @@
</p> </p>
<br> <br>
<div style="width: 65%; margin: 0 auto;"> <div style="width: 65%; margin: 0 auto;">
<p style="text-align: center"><%= __("Already a Premium customer? [link]Add your Key in the Settings page[/link].")
|replace({
'[link]': '<a href="' ~ admin_url('admin.php?page=mailpoet-settings#premium') ~ '">',
'[/link]': '</a>'
})
|raw
%></p>
<p style="text-align: center"><%= __("Don't need to use our sending service? Not a problem; we understand. You can also [link]buy the Premium[/link] features separately. Prices start at $100 per year for 1 website, $249 for 4 sites and $499 for an unlimited number of sites.") <p style="text-align: center"><%= __("Don't need to use our sending service? Not a problem; we understand. You can also [link]buy the Premium[/link] features separately. Prices start at $100 per year for 1 website, $249 for 4 sites and $499 for an unlimited number of sites.")
|replace({ |replace({
'[link]': '<a target="_blank" href="https://account.mailpoet.com/premium?utm_source=plugin&utm_medium=premium&utm_campaign=buy-premium">', '[link]': '<a target="_blank" href="https://account.mailpoet.com/premium?utm_source=plugin&utm_medium=premium&utm_campaign=buy-premium">',