26 lines
1.1 KiB
PHP
26 lines
1.1 KiB
PHP
<?php
|
|
|
|
defined('ABSPATH') or die;
|
|
|
|
?>
|
|
<div id="ff_notice_<?php echo esc_attr($notice['name']); ?>" class="update-nag fluentform-admin-notice fluent_info_notice">
|
|
<?php if($show_logo): ?>
|
|
<div class="ff_logo_holder">
|
|
<img alt="Fluent Forms Logo" src="<?php echo esc_url($logo_url); ?>" />
|
|
</div>
|
|
<?php endif; ?>
|
|
<div class="ff_notice_container">
|
|
<?php if($show_hide_nag): ?>
|
|
<div class="ff_temp_hide_nag"><span data-notice_type="temp" data-notice_name="<?php echo esc_attr($notice['name']); ?>" title="<?php esc_attr_e('Hide this Notification', 'fluentform') ?>" class="dashicons dashicons-dismiss ff_nag_cross nag_cross_btn"></span></div>
|
|
<?php endif; ?>
|
|
|
|
<h3><?php echo esc_html($notice['title']); ?></h3>
|
|
<p><?php echo wp_kses_post($notice['message']); ?></p>
|
|
<div class="ff_notice_buttons">
|
|
<?php foreach ($notice['links'] as $link): ?>
|
|
<a <?php echo wp_kses_post($link['btn_atts']); ?> href="<?php echo esc_url($link['href']); ?>"><?php echo esc_html($link['btn_text']); ?></a>
|
|
<?php endforeach; ?>
|
|
</div>
|
|
</div>
|
|
</div>
|