function manage_msg()
{
if (current_user_can('jetpack_manage_modules')) {
$normalized_site_url = Jetpack::build_raw_urls(get_home_url());
$manage_active = Jetpack::is_module_active('manage');
?>
<div class="jp-jitm">
<a href="#" data-module="manage" class="dismiss"><span class="genericon genericon-close"></span></a>
<div class="jp-emblem">
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" id="Layer_1" x="0" y="0" viewBox="0 0 172.9 172.9" enable-background="new 0 0 172.9 172.9" xml:space="preserve">
<path d="M86.4 0C38.7 0 0 38.7 0 86.4c0 47.7 38.7 86.4 86.4 86.4s86.4-38.7 86.4-86.4C172.9 38.7 134.2 0 86.4 0zM83.1 106.6l-27.1-6.9C49 98 45.7 90.1 49.3 84l33.8-58.5V106.6zM124.9 88.9l-33.8 58.5V66.3l27.1 6.9C125.1 74.9 128.4 82.8 124.9 88.9z"/>
</svg>
</div>
<p class="msg">
<?php
_e('Reduce security risks with automated plugin updates.', 'jetpack');
?>
</p>
<p>
<img class="jetpack-spinner hide" style="margin-top: 13px;" width="17" height="17" src="<?php
echo esc_url(includes_url('images/spinner-2x.gif'));
?>
" alt="Loading ..." /><a href="#" data-module="manage" class="activate button button-jetpack <?php
if (Jetpack::is_module_active('manage')) {
echo 'hide';
}
?>
"><?php
esc_html_e('Activate Now', 'jetpack');
?>
</a><a href="<?php
echo esc_url('https://wordpress.com/plugins/' . $normalized_site_url);
?>
" target="_blank" title="<?php
esc_attr_e('Go to WordPress.com to try these features', 'jetpack');
?>
" id="jetpack-wordpressdotcom" class="button button-jetpack <?php
if (!Jetpack::is_module_active('manage')) {
echo 'hide';
}
?>
"><?php
esc_html_e('Go to WordPress.com', 'jetpack');
?>
</a>
</p>
</div>
<?php
//jitm is being viewed, track it
$jetpack = Jetpack::init();
$jetpack->stat('jitm', 'manage-viewed-' . JETPACK__VERSION);
$jetpack->do_stats('server_side');
}
}