<?php

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

?><div class="instalink-admin-menu-actions">
	<div class="instalink-admin-menu-actions-activate-container">
    	<a class="instalink-admin-menu-actions-activate instalink-admin-button-red instalink-admin-button-border instalink-admin-button" href="#/activation/" data-is-admin-page="activation"><?php _e('Activate now', ELFSIGHT_INSTALINK_TEXTDOMAIN); ?></a>
	</div>

    <?php if ($has_new_version) {?>
        <span class="instalink-admin-menu-actions-update-container">
        	<span class="instalink-admin-menu-actions-update-label instalink-admin-tag-2"><?php _e('A new version is available', ELFSIGHT_INSTALINK_TEXTDOMAIN); ?></span>

        	<a class="instalink-admin-menu-actions-update instalink-admin-button-green instalink-admin-button" href="<?php echo is_multisite() ? network_admin_url('update-core.php') : admin_url('update-core.php'); ?>"><?php _e('Update to', ELFSIGHT_INSTALINK_TEXTDOMAIN); ?> <?php echo $latest_version; ?></a>
    	</span>
    <?php }?>
</div>