debug
9 years ago
forms
9 years ago
plugin-info
9 years ago
account.php
9 years ago
add-ons.php
9 years ago
add-trial-to-pricing.php
9 years ago
admin-notice.php
9 years ago
all-admin-notice.php
9 years ago
billing.php
9 years ago
checkout-legacy.php
9 years ago
checkout.php
9 years ago
connect.php
9 years ago
contact.php
9 years ago
debug.php
9 years ago
email.php
9 years ago
firewall-issues-js.php
9 years ago
index.php
9 years ago
plugin-icon.php
9 years ago
powered-by.php
9 years ago
pricing.php
9 years ago
sticky-admin-notice-js.php
9 years ago
all-admin-notice.php
39 lines
| 1 | <?php |
| 2 | /** |
| 3 | * @package Freemius |
| 4 | * @copyright Copyright (c) 2015, Freemius, Inc. |
| 5 | * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License |
| 6 | * @since 1.0.3 |
| 7 | */ |
| 8 | |
| 9 | if ( ! defined( 'ABSPATH' ) ) { |
| 10 | exit; |
| 11 | } |
| 12 | |
| 13 | /** |
| 14 | * @var array $VARS |
| 15 | */ |
| 16 | ?> |
| 17 | <div class="<?php |
| 18 | switch ($VARS['type']) { |
| 19 | case 'error': |
| 20 | echo 'error form-invalid'; |
| 21 | break; |
| 22 | case 'update-nag': |
| 23 | echo 'update-nag '; |
| 24 | break; |
| 25 | case 'update': |
| 26 | case 'success': |
| 27 | default: |
| 28 | echo 'updated success'; |
| 29 | break; |
| 30 | } |
| 31 | ?> fs-notice"> |
| 32 | <?php if ('update-nag' !== $VARS['type']) : ?><p><?php endif ?> |
| 33 | <?php if (!empty($VARS['title'])) : ?> |
| 34 | <b><?php echo $VARS['title'] ?></b> |
| 35 | <?php endif ?> |
| 36 | <?php echo $VARS['message'] ?> |
| 37 | <?php if ('update-nag' !== $VARS['type']) : ?></p><?php endif ?> |
| 38 | <?php if ($VARS['sticky']) : ?><i class="dashicons dashicons-no"></i><?php endif ?> |
| 39 | </div> |