/var/www/hkosl.com/aga/wp-content/plugins/foogallery/freemius/templates/plugin-info/description.php


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
<?php
    
/**
     * @package     Freemius
     * @copyright   Copyright (c) 2015, Freemius, Inc.
     * @license     https://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3
     * @since       1.0.6
     */

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

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

    if ( ! empty( 
$plugin->info->selling_point_0 ) ||
         ! empty( 
$plugin->info->selling_point_1 ) ||
         ! empty( 
$plugin->info->selling_point_2 )
    ) : 
?>
        <div class="fs-selling-points">
            <ul>
                <?php for ( $i 0$i 3$i ++ ) : ?>
                    <?php if ( ! empty( $plugin->info->{'selling_point_' $i} ) ) : ?>
                        <li><i class="dashicons dashicons-yes"></i>

                            <h3><?php echo esc_html$plugin->info->{'selling_point_' $i} ) ?></h3></li>
                    <?php endif ?>
                <?php endfor ?>
            </ul>
        </div>
    <?php endif ?>
    <div>
        <?php
            
echo wp_kses$plugin->info->description, array(
                
'a'          => array( 'href' => array(), 'title' => array(), 'target' => array() ),
                
'b'          => array(),
                
'i'          => array(),
                
'p'          => array(),
                
'blockquote' => array(),
                
'h2'         => array(),
                
'h3'         => array(),
                
'ul'         => array(),
                
'ol'         => array(),
                
'li'         => array()
            ) );
        
?>
    </div>
<?php if ( ! empty( $plugin->info->screenshots ) ) : ?>
    <?php $screenshots $plugin->info->screenshots ?>
    <div class="fs-screenshots clearfix">
        <h2><?php fs_esc_html_echo_inline'Screenshots''screenshots'$plugin->slug ?></h2>
        <ul>
            <?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 class="<?php echo ( === $i ) ? 'odd' 'even' ?>">
                        <style>
                            #section-description .fs-screenshots <?php echo ".fs-screenshot-{$i}?>
                            {
                                background-image: url('<?php echo $url ?>');
                            }
                        </style>
                        <a href="<?php echo $url ?>"
                           title="<?php echo esc_attrsprintffs_text_inline'Click to view full-size screenshot %d''view-full-size-x'$plugin->slug ), $i ) ) ?>"
                           class="fs-screenshot-<?php echo $i ?>"></a>
                    </li>
                    <?php $i ++; endforeach ?>
        </ul>
    </div>
<?php endif ?>