<?php
	/**
	 * @package     Freemius
	 * @copyright   Copyright (c) 2015, Freemius, Inc.
	 * @license     http://opensource.org/licenses/gpl-2.0.php GNU Public License
	 * @since       1.0.6
	 */

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

	/**
	 * @var FS_Plugin $plugin
	 */
	$plugin = $VARS['plugin'];

	$screenshots = $VARS['screenshots'];
?>
<ol>
	<?php $i = 0;
		foreach ( $screenshots as $s => $url ) : ?>
			<?php
			// Relative URLs are replaced with WordPress.org base URL
			// therefore we need to set absolute URLs.
			$url = 'http' . ( WP_FS__IS_HTTPS ? 's' : '' ) . ':' . $url; ?>
			<li>
				<a href="<?php echo $url ?>"
				   title="<?php printf( __fs( 'view-full-size-x', $plugin->slug ), $i ) ?>"><img
						src="<?php echo $url ?>"></a>
			</li>
			<?php $i ++; endforeach ?>
</ol>
