PluginProbe
TablePress – Tables in WordPress made easy / 2.0.4
TablePress – Tables in WordPress made easy v2.0.4
3.4 3.3.4 3.3.3 3.3.2 3.3.1 trunk 1.12 1.14 1.9.2 2.0.4 2.1.7 2.1.8 2.2 2.2.1 2.2.2 2.2.3 2.2.4 2.2.5 2.3 2.3.1 2.3.2 2.4 2.4.1 2.4.2 2.4.3 All 45 releases
tablepress / libraries / freemius / templates / plugin-info / screenshots.php

screenshots.php in TablePress – Tables in WordPress made easy 2.0.4, at libraries/freemius/templates/plugin-info/screenshots.php

35 lines 906 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
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