# buttonizer-multifunctional-button/1.2/freemius/templates/all-admin-notice.php

Buttonizer – Floating Menus, Sticky Buttons, &amp; Popup Builder, version 1.2. 39 lines.

- Page: https://pluginprobe.com/plugins/buttonizer-multifunctional-button/1.2/code/freemius/templates/all-admin-notice.php
- Raw: https://pluginprobe.com/plugins/buttonizer-multifunctional-button/1.2/raw/freemius/templates/all-admin-notice.php
- Modified: 2017-08-31T08:15:50+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/buttonizer-multifunctional-button/1.2/code/freemius/templates/all-admin-notice.php#L10-L20`.

```php
<?php
	/**
	 * @package     Freemius
	 * @copyright   Copyright (c) 2015, Freemius, Inc.
	 * @license     http://opensource.org/licenses/gpl-2.0.php GNU Public License
	 * @since       1.0.3
	 */

	if ( ! defined( 'ABSPATH' ) ) {
		exit;
	}

	/**
	 * @var array $VARS
	 */
?>
<div class="<?php
	switch ($VARS['type']) {
		case 'error':
			echo 'error form-invalid';
			break;
		case 'update-nag':
			echo 'update-nag ';
			break;
		case 'update':
		case 'success':
		default:
			echo 'updated success';
			break;
	}
?> fs-notice">
	<?php if ('update-nag' !== $VARS['type']) : ?><p><?php endif ?>
		<?php if (!empty($VARS['title'])) : ?>
			<b><?php echo $VARS['title'] ?></b>
		<?php endif ?>
		<?php echo $VARS['message'] ?>
	<?php if ('update-nag' !== $VARS['type']) : ?></p><?php endif ?>
	<?php if ($VARS['sticky']) : ?><i class="dashicons dashicons-no"></i><?php endif ?>
</div>
```
