description.php
3 years ago
features.php
11 months ago
index.php
5 years ago
screenshots.php
3 years ago
screenshots.php
30 lines
| 1 | <?php |
| 2 | /** |
| 3 | * @package Freemius |
| 4 | * @copyright Copyright (c) 2015, Freemius, Inc. |
| 5 | * @license https://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 |
| 6 | * @since 1.0.6 |
| 7 | */ |
| 8 | |
| 9 | if ( ! defined( 'ABSPATH' ) ) { |
| 10 | exit; |
| 11 | } |
| 12 | |
| 13 | /** |
| 14 | * @var array $VARS |
| 15 | * |
| 16 | * @var FS_Plugin $plugin |
| 17 | */ |
| 18 | $plugin = $VARS['plugin']; |
| 19 | |
| 20 | $screenshots = $VARS['screenshots']; |
| 21 | ?> |
| 22 | <ol> |
| 23 | <?php $i = 0; |
| 24 | foreach ( $screenshots as $s => $url ) : ?> |
| 25 | <li> |
| 26 | <a href="<?php echo $url ?>" title="<?php echo esc_attr( sprintf( fs_text_inline( 'Click to view full-size screenshot %d', 'view-full-size-x', $plugin->slug ), $i ) ) ?>"><img src="<?php echo $url ?>"></a> |
| 27 | </li> |
| 28 | <?php $i ++; endforeach ?> |
| 29 | </ol> |
| 30 |