PluginProbe ʕ •ᴥ•ʔ
Code Manager / 1.0.25
Code Manager v1.0.25
1.0.48 1.0.47 trunk 1.0.0 1.0.1 1.0.10 1.0.11 1.0.12 1.0.13 1.0.14 1.0.15 1.0.16 1.0.17 1.0.18 1.0.19 1.0.2 1.0.20 1.0.21 1.0.22 1.0.23 1.0.24 1.0.25 1.0.26 1.0.27 1.0.28 1.0.3 1.0.30 1.0.31 1.0.32 1.0.33 1.0.34 1.0.35 1.0.36 1.0.37 1.0.38 1.0.39 1.0.4 1.0.40 1.0.41 1.0.42 1.0.43 1.0.44 1.0.45 1.0.46 1.0.5 1.0.6 1.0.7 1.0.8 1.0.9
code-manager / freemius / templates / plugin-info / screenshots.php
code-manager / freemius / templates / plugin-info Last commit date
description.php 3 years ago features.php 3 years ago index.php 3 years ago screenshots.php 3 years ago
screenshots.php
35 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 <?php
26 // Relative URLs are replaced with WordPress.org base URL
27 // therefore we need to set absolute URLs.
28 $url = 'http' . ( WP_FS__IS_HTTPS ? 's' : '' ) . ':' . $url;
29 ?>
30 <li>
31 <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>
32 </li>
33 <?php $i ++; endforeach ?>
34 </ol>
35