class-ad-groups-list.php
10 years ago
class-notices.php
10 years ago
class-overview-widgets.php
10 years ago
class-shortcode-creator.php
10 years ago
notices.php
10 years ago
shortcode-creator-l10n.php
10 years ago
notices.php
82 lines
| 1 | <?php |
| 2 | /** |
| 3 | * array with admin notices |
| 4 | */ |
| 5 | $advanced_ads_admin_notices = array( |
| 6 | // if users updated from a previous version to 1.4.5 |
| 7 | '1.4.5' => array( |
| 8 | 'type' => 'update', |
| 9 | 'text' => 'Advanced Ads 1.4.5 changes the behavior of some display conditions. Please read this <a href="http://wpadvancedads.com/advanced-ads-1-4-5/" target="_blank">update post</a> to learn if this change should concern you.', |
| 10 | ), |
| 11 | // email tutorial |
| 12 | 'nl_intro' => array( |
| 13 | 'type' => 'info', |
| 14 | 'text' => sprintf(__( 'Advanced Ads successfully installed. Take a look at the <a href="%s">First Steps</a>.', 'advanced-ads' ), admin_url( 'admin.php?page=advanced-ads-intro' )), |
| 15 | 'global' => true |
| 16 | ), |
| 17 | // email tutorial |
| 18 | 'nl_first_steps' => array( |
| 19 | 'type' => 'subscribe', |
| 20 | 'text' => __( 'Thank you for activating <strong>Advanced Ads</strong>. Would you like to receive the first steps via email?', 'advanced-ads' ), |
| 21 | 'confirm_text' => __( 'Yes, send it', 'advanced-ads' ), |
| 22 | 'global' => true |
| 23 | ), |
| 24 | // free add-ons |
| 25 | 'nl_free_addons' => array( |
| 26 | 'type' => 'subscribe', |
| 27 | 'text' => __( 'Thank you for using <strong>Advanced Ads</strong>. Stay informed and receive <strong>2 free add-ons</strong> for joining the newsletter.', 'advanced-ads' ), |
| 28 | 'confirm_text' => __( 'Add me now', 'advanced-ads' ), |
| 29 | 'global' => true |
| 30 | ), |
| 31 | // adsense newsletter group |
| 32 | 'nl_adsense' => array( |
| 33 | 'type' => 'subscribe', |
| 34 | 'text' => __( 'Learn more about how and <strong>how much you can earn with AdSense</strong> and Advanced Ads from my dedicated newsletter.', 'advanced-ads' ), |
| 35 | 'confirm_text' => __( 'Subscribe me now', 'advanced-ads' ), |
| 36 | 'global' => true |
| 37 | ), |
| 38 | // if users updated from a previous version to 1.5.4 |
| 39 | '1.5.4' => array( |
| 40 | 'type' => 'update', |
| 41 | 'text' => 'With Advanced Ads 1.5.4 the handling of <strong>visitor conditions</strong> became more consistent, flexible, and hopefully easier to use too. Please read this <a href="http://wpadvancedads.com/advanced-ads-1-5-4/" target="_blank">update post</a> to learn if this change should concern you.', |
| 42 | ), |
| 43 | // if users updated from a previous version to 1.6 |
| 44 | '1.6' => array( |
| 45 | 'type' => 'update', |
| 46 | 'text' => 'Advanced Ads 1.6 contains important <strong>fixes for ad groups</strong>. Please read the <a href="https://wpadvancedads.com/advanced-ads-1-6/" target="_blank">update post</a>.', |
| 47 | ), |
| 48 | // if users updated from a previous version to 1.6.6 |
| 49 | '1.6.6' => array( |
| 50 | 'type' => 'update', |
| 51 | 'text' => 'Advanced Ads 1.6.6 changed <a href="/wp-admin/admin.php?page=advanced-ads-placements">placements</a> completely. Take a look at the <a href="https://wpadvancedads.com/advanced-ads-1-6-6/" target="_blank">update post</a> to find out why I am so excited about it.', |
| 52 | ), |
| 53 | // if users updated from a previous version to 1.7 |
| 54 | '1.7' => array( |
| 55 | 'type' => 'update', |
| 56 | 'text' => 'Advanced Ads 1.7 made changes to the Display Conditions interface. Please check your settings and the <a href="https://wpadvancedads.com/manual/display-conditions/" target="_blank">manual</a>, if you are using them.', |
| 57 | ), |
| 58 | // missing license codes |
| 59 | 'license_invalid' => array( |
| 60 | 'type' => 'plugin_error', |
| 61 | 'text' => __( 'One or more license keys for <strong>Advanced Ads add-ons are invalid or missing</strong>.', 'advanced-ads' ) . ' ' . sprintf( __( 'Please add valid license keys <a href="%s">here</a>.', 'advanced-ads' ), get_admin_url( 1, 'admin.php?page=advanced-ads-settings#top#licenses' ) ), |
| 62 | 'global' => true |
| 63 | ), |
| 64 | // license expires |
| 65 | 'license_expires' => array( |
| 66 | 'type' => 'plugin_error', |
| 67 | 'text' => sprintf( __( 'One or more licenses for your <strong>Advanced Ads add-ons are expiring soon</strong>. Don’t risk to lose support and updates and renew your license before it expires with a significant discount on <a href="%s" target="_blank">the add-on page</a>.', 'advanced-ads' ), ADVADS_URL . 'add-ons/#utm_source=advanced-ads&utm_medium=link&utm_campaign=notice-license-expires' ), |
| 68 | 'global' => true |
| 69 | ), |
| 70 | // license expired |
| 71 | 'license_expired' => array( |
| 72 | 'type' => 'plugin_error', |
| 73 | 'text' => sprintf( __( '<strong>Advanced Ads</strong> license(s) expired. Support and updates are disabled. Please visit <a href="%s"> the license page</a> for more information.', 'advanced-ads' ), admin_url( 'admin.php?page=advanced-ads-settings#top#licenses' ) ), |
| 74 | 'global' => true |
| 75 | ), |
| 76 | // please review |
| 77 | 'review' => array( |
| 78 | 'type' => 'info', |
| 79 | 'text' => sprintf( __( '<img src="%3$s" alt="Thomas" width="80" height="115" class="advads-review-image"/>You are using <strong>Advanced Ads</strong> for some time now. Thank you! If you need my help then please visit the <a href="%1$s" target="_blank">Support page</a> to get free help.</p><h3>Thanks for your Review</h3><p>If you share my passion and find Advanced Ads useful then please <a href="%2$s" target="_blank">leave a 5-star review on wordpress.org</a>.</p><p><em>Thomas</em>', 'advanced-ads' ), ADVADS_URL . 'support/#utm_source=advanced-ads&utm_medium=link&utm_campaign=notice-review', 'https://wordpress.org/support/view/plugin-reviews/advanced-ads#postform', ADVADS_BASE_URL . 'admin/assets/img/thomas.png' ), |
| 80 | 'global' => false |
| 81 | ), |
| 82 | ); |