<?php

$encrypt_plugin = new Toolset_Condition_Theme_Toolset_Based_Active();
$theme_name = $encrypt_plugin->get_theme() ? $encrypt_plugin->get_theme() : '';

?>

<p>
	<?php printf(
		__( 'Your site includes a version of Toolset plugins, that was created especially for %s theme. ' .
            'You can use this version of Toolset plugins only with %s. You will receive automatic updates to Toolset ' .
            'plugins as long as your site uses %s. To use Toolset with other themes, you need to buy the plugins.',
            'wpv-views' )
			, $theme_name, $theme_name, $theme_name
	); ?>
</p>

<?php echo Toolset_Admin_Notices_Manager::tpl_button_primary(
	__( 'Learn more about Toolset', 'wpv-views' ),
	'https://wp-types.com/' .
	'?utm_source=typesplugin' .
	'&utm_campaign=types' .
	'&utm_medium=wordpress-plugin-page' .
	'&utm_term=toolset-based-theme-active' .
	'&utm_content=learn-more',
	true
);

echo Toolset_Admin_Notices_Manager::tpl_button_primary(
	__( 'Pricing', 'wpv-views' ),
	'https://wp-types.com/buy/' .
	'?utm_source=typesplugin' .
	'&utm_campaign=types' .
	'&utm_medium=wordpress-plugin-page' .
	'&utm_term=toolset-based-theme-active' .
	'&utm_content=pricing',
	true
);
