PluginProbe
Buttonizer – Floating Menus, Sticky Buttons, & Popup Builder / 1.5
Buttonizer – Floating Menus, Sticky Buttons, & Popup Builder v1.5
3.6.0 3.5.0 trunk 1.0.10 1.0.2 1.0.3 1.0.4 1.0.5 1.0.6 1.0.6.1 1.0.7 1.0.8 1.0.9 1.1 1.1.1 1.2 1.3 1.4 1.4.1 1.4.2 1.4.3 1.4.4 1.4.5 1.5 1.5.1 All 110 releases
buttonizer-multifunctional-button / freemius / templates / admin-notice.php

admin-notice.php in Buttonizer – Floating Menus, Sticky Buttons, & Popup Builder 1.5, at freemius/templates/admin-notice.php

49 lines 1.5 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * @package Freemius
4 * @copyright Copyright (c) 2015, Freemius, Inc.
5 * @license https://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3
6 * @since 1.0.3
7 */
8
9 if ( ! defined( 'ABSPATH' ) ) {
10 exit;
11 }
12
13 $dismiss_text = fs_text_x_inline( 'Dismiss', 'as close a window', 'dismiss' );
14 ?>
15 <div<?php if ( ! empty( $VARS['id'] ) ) : ?> data-id="<?php echo $VARS['id'] ?>"<?php endif ?><?php if ( ! empty( $VARS['manager_id'] ) ) : ?> data-manager-id="<?php echo $VARS['manager_id'] ?>"<?php endif ?>
16 class="<?php
17 switch ( $VARS['type'] ) {
18 case 'error':
19 echo 'error form-invalid';
20 break;
21 case 'promotion':
22 echo 'updated promotion';
23 break;
24 case 'update':
25 // echo 'update-nag update';
26 // break;
27 case 'success':
28 default:
29 echo 'updated success';
30 break;
31 }
32 ?> fs-notice<?php if ( ! empty( $VARS['sticky'] ) ) {
33 echo ' fs-sticky';
34 } ?><?php if ( ! empty( $VARS['plugin'] ) ) {
35 echo ' fs-has-title';
36 } ?>"><?php if ( ! empty( $VARS['plugin'] ) ) : ?>
37 <label class="fs-plugin-title"><?php echo $VARS['plugin'] ?></label>
38 <?php endif ?>
39 <?php if ( ! empty( $VARS['sticky'] ) ) : ?>
40 <div class="fs-close"><i class="dashicons dashicons-no"
41 title="<?php echo esc_attr( $dismiss_text ) ?>"></i> <span><?php echo esc_html( $dismiss_text ) ?></span>
42 </div>
43 <?php endif ?>
44 <div class="fs-notice-body">
45 <?php if ( ! empty( $VARS['title'] ) ) : ?><b><?php echo $VARS['title'] ?></b> <?php endif ?>
46 <?php echo $VARS['message'] ?>
47 </div>
48 </div>
49