<?php
/**
 * @version    $Id$
 * @package    IT_Theme_Framework
 * @author     InnoThemes Team <support@innothemes.com>
 * @copyright  Copyright (C) 2012 InnoThemes.com. All Rights Reserved.
 * @license    GNU/GPL v2 or later http://www.gnu.org/licenses/gpl-2.0.html
 *
 * Websites: http://www.innothemes.com
 */

if ( empty( $data ) ) {
	return;
}
?>
<ul>
<?php foreach ( $data as $plugin ) : ?>
	<li>
		<strong><?php esc_html_e( ( string ) $plugin['description'], IT_THEME_TEXTDOMAIN ); ?></strong>
		-
		<?php esc_html_e( ( 'install' == ( string ) $plugin['state'] ) ? 'Plugin is not installed.' : 'Plugin is not updated.', IT_THEME_TEXTDOMAIN ); ?>
		<a class="btn btn-mini" target="_blank" href="<?php echo esc_url( ( string ) $plugin['producturl'] ); ?>"><?php _e( 'Get it now', IT_THEME_TEXTDOMAIN ); ?></a>
	</li>
<?php endforeach; ?>
</ul>
