Jetpack_Protect_Module::admin_jetpack_manage_notice PHP Method

admin_jetpack_manage_notice() public method

    public function admin_jetpack_manage_notice()
    {
        $dismissed = get_site_option('jetpack_dismissed_protect_multisite_banner');
        if ($dismissed) {
            return;
        }
        $referer = '&_wp_http_referer=' . add_query_arg('_wp_http_referer', null);
        $opt_out_url = wp_nonce_url(Jetpack::admin_url('jetpack-notice=jetpack-protect-multisite-opt-out' . $referer), 'jetpack_protect_multisite_banner_opt_out');
        ?>
		<div id="message" class="updated jetpack-message jp-banner is-opt-in protect-error"
		     style="display:block !important;">
			<a class="jp-banner__dismiss" href="<?php 
        echo esc_url($opt_out_url);
        ?>
"
			   title="<?php 
        esc_attr_e('Dismiss this notice.', 'jetpack');
        ?>
"></a>

			<div class="jp-banner__content">
				<h2><?php 
        esc_html_e('Protect cannot keep your site secure.', 'jetpack');
        ?>
</h2>

				<p><?php 
        printf(__('Thanks for activating Protect! To start protecting your site, please network activate Jetpack on your Multisite installation and activate Protect on your primary site. Due to the way logins are handled on WordPress Multisite, Jetpack must be network-enabled in order for Protect to work properly. <a href="%s" target="_blank">Learn More</a>', 'jetpack'), 'http://jetpack.com/support/multisite-protect');
        ?>
</p>
			</div>
			<div class="jp-banner__action-container is-opt-in">
				<a href="<?php 
        echo esc_url(network_admin_url('plugins.php'));
        ?>
" class="jp-banner__button"
				   id="wpcom-connect"><?php 
        _e('View Network Admin', 'jetpack');
        ?>
</a>
			</div>
		</div>
		<?php 
    }