PluginProbe
Buttonizer – Floating Menus, Sticky Buttons, & Popup Builder / 1.0.5
Buttonizer – Floating Menus, Sticky Buttons, & Popup Builder v1.0.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.0.5, at freemius/templates/admin-notice.php

47 lines 1.4 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 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 <div<?php if ( ! empty( $VARS['id'] ) ) : ?> data-id="<?php echo $VARS['id'] ?>"<?php endif ?><?php if ( ! empty( $VARS['slug'] ) ) : ?> data-slug="<?php echo $VARS['slug'] ?>"<?php endif ?>
14 class="<?php
15 switch ( $VARS['type'] ) {
16 case 'error':
17 echo 'error form-invalid';
18 break;
19 case 'promotion':
20 echo 'updated promotion';
21 break;
22 case 'update':
23 // echo 'update-nag update';
24 // break;
25 case 'success':
26 default:
27 echo 'updated success';
28 break;
29 }
30 ?> fs-notice<?php if ( ! empty( $VARS['sticky'] ) ) {
31 echo ' fs-sticky';
32 } ?><?php if ( ! empty( $VARS['plugin'] ) ) {
33 echo ' fs-has-title';
34 } ?>"><?php if ( ! empty( $VARS['plugin'] ) ) : ?>
35 <label class="fs-plugin-title"><?php echo $VARS['plugin'] ?></label>
36 <?php endif ?>
37 <?php if ( ! empty( $VARS['sticky'] ) ) : ?>
38 <div class="fs-close"><i class="dashicons dashicons-no"
39 title="<?php fs_echo( 'dismiss' ) ?>"></i> <span><?php fs_echo( 'dismiss' ) ?></span>
40 </div>
41 <?php endif ?>
42 <div class="fs-notice-body">
43 <?php if ( ! empty( $VARS['title'] ) ) : ?><b><?php echo $VARS['title'] ?></b> <?php endif ?>
44 <?php echo $VARS['message'] ?>
45 </div>
46 </div>
47