Issues (924)

includes/settings/display.php (175 issues)

1
<div class="uix-field-wrapper">
2
    <ul class="ui-tab-nav">
3
        <?php if ( class_exists('LSX_Banners') ) { ?>
0 ignored issues
show
This file is missing a doc comment.
Loading history...
Expected 0 spaces after opening bracket; 1 found
Loading history...
Expected 1 spaces after opening parenthesis; 0 found
Loading history...
Expected 1 spaces before closing parenthesis; 0 found
Loading history...
Expected 0 spaces before closing bracket; 1 found
Loading history...
4
            <li><a href="#ui-placeholders" class="active"><?php esc_html_e('Placeholders', 'lsx-sharing'); ?></a></li>
0 ignored issues
show
Expected 1 spaces after opening parenthesis; 0 found
Loading history...
Expected 1 spaces before closing parenthesis; 0 found
Loading history...
5
        <?php } ?>
6
7
        <?php if ( class_exists('LSX_Currencies') ) { ?>
0 ignored issues
show
Expected 0 spaces after opening bracket; 1 found
Loading history...
Expected 1 spaces after opening parenthesis; 0 found
Loading history...
Expected 1 spaces before closing parenthesis; 0 found
Loading history...
Expected 0 spaces before closing bracket; 1 found
Loading history...
8
            <?php $class_active = class_exists('LSX_Banners') ? '' : 'active'; ?>
0 ignored issues
show
Expected 1 spaces after opening parenthesis; 0 found
Loading history...
Expected 1 spaces before closing parenthesis; 0 found
Loading history...
9
            <li><a href="#ui-currencies" class="<?php echo esc_attr($class_active); ?>">
0 ignored issues
show
Expected 1 spaces after opening parenthesis; 0 found
Loading history...
Expected 1 spaces before closing parenthesis; 0 found
Loading history...
10
            <?php esc_html_e('Currencies', 'lsx-sharing'); ?></a></li>
0 ignored issues
show
Expected 1 spaces after opening parenthesis; 0 found
Loading history...
Expected 1 spaces before closing parenthesis; 0 found
Loading history...
11
        <?php } ?>
12
13
        <?php if ( class_exists('LSX_Team') ) { ?>
0 ignored issues
show
Expected 0 spaces after opening bracket; 1 found
Loading history...
Expected 1 spaces after opening parenthesis; 0 found
Loading history...
Expected 1 spaces before closing parenthesis; 0 found
Loading history...
Expected 0 spaces before closing bracket; 1 found
Loading history...
14
            <?php $class_active = ( class_exists('LSX_Banners') || class_exists('LSX_Currencies') ) ? '' : 'active'; ?>
0 ignored issues
show
Expected 1 spaces after opening parenthesis; 0 found
Loading history...
Expected 1 spaces before closing parenthesis; 0 found
Loading history...
15
            <li><a href="#ui-team" class="<?php echo esc_attr($class_active); ?>">
0 ignored issues
show
Expected 1 spaces after opening parenthesis; 0 found
Loading history...
Expected 1 spaces before closing parenthesis; 0 found
Loading history...
16
            <?php esc_html_e('Team', 'lsx-sharing'); ?></a></li>
0 ignored issues
show
Expected 1 spaces after opening parenthesis; 0 found
Loading history...
Expected 1 spaces before closing parenthesis; 0 found
Loading history...
17
        <?php } ?>
18
19
        <?php if ( class_exists('LSX_Testimonials') ) { ?>
0 ignored issues
show
Expected 0 spaces after opening bracket; 1 found
Loading history...
Expected 1 spaces after opening parenthesis; 0 found
Loading history...
Expected 1 spaces before closing parenthesis; 0 found
Loading history...
Expected 0 spaces before closing bracket; 1 found
Loading history...
20
            <?php $class_active = ( class_exists('LSX_Banners') || class_exists('LSX_Currencies') || class_exists('LSX_Team') ) ? '' : 'active'; ?>
0 ignored issues
show
Expected 1 spaces after opening parenthesis; 0 found
Loading history...
Expected 1 spaces before closing parenthesis; 0 found
Loading history...
21
            <li><a href="#ui-testimonials" class="<?php echo esc_attr($class_active); ?>">
0 ignored issues
show
Expected 1 spaces after opening parenthesis; 0 found
Loading history...
Expected 1 spaces before closing parenthesis; 0 found
Loading history...
22
            <?php esc_html_e('Testimonials', 'lsx-sharing'); ?></a></li>
0 ignored issues
show
Expected 1 spaces after opening parenthesis; 0 found
Loading history...
Expected 1 spaces before closing parenthesis; 0 found
Loading history...
23
        <?php } ?>
24
25
        <?php if ( class_exists('LSX_Projects') ) { ?>
0 ignored issues
show
Expected 0 spaces after opening bracket; 1 found
Loading history...
Expected 1 spaces after opening parenthesis; 0 found
Loading history...
Expected 1 spaces before closing parenthesis; 0 found
Loading history...
Expected 0 spaces before closing bracket; 1 found
Loading history...
26
            <?php $class_active = ( class_exists('LSX_Banners') || class_exists('LSX_Currencies') || class_exists('LSX_Team') || class_exists('LSX_Testimonials') ) ? '' : 'active'; ?>
0 ignored issues
show
Expected 1 spaces after opening parenthesis; 0 found
Loading history...
Expected 1 spaces before closing parenthesis; 0 found
Loading history...
27
            <li><a href="#ui-projects" class="<?php echo esc_attr($class_active); ?>">
0 ignored issues
show
Expected 1 spaces after opening parenthesis; 0 found
Loading history...
Expected 1 spaces before closing parenthesis; 0 found
Loading history...
28
            <?php esc_html_e('Projects', 'lsx-sharing'); ?>
0 ignored issues
show
Expected 1 spaces after opening parenthesis; 0 found
Loading history...
Expected 1 spaces before closing parenthesis; 0 found
Loading history...
29
                </a></li>
30
        <?php } ?>
31
32
        <?php if ( class_exists('LSX_Services') ) { ?>
0 ignored issues
show
Expected 0 spaces after opening bracket; 1 found
Loading history...
Expected 1 spaces after opening parenthesis; 0 found
Loading history...
Expected 1 spaces before closing parenthesis; 0 found
Loading history...
Expected 0 spaces before closing bracket; 1 found
Loading history...
33
            <?php $class_active = ( class_exists('LSX_Banners') || class_exists('LSX_Currencies') || class_exists('LSX_Team') || class_exists('LSX_Testimonials') || class_exists('LSX_Projects') ) ? '' : 'active'; ?>
0 ignored issues
show
Expected 1 spaces after opening parenthesis; 0 found
Loading history...
Expected 1 spaces before closing parenthesis; 0 found
Loading history...
34
            <li><a href="#ui-services" class="<?php echo esc_attr($class); ?>">
0 ignored issues
show
Expected 1 spaces after opening parenthesis; 0 found
Loading history...
Expected 1 spaces before closing parenthesis; 0 found
Loading history...
35
            <?php esc_html_e('Services', 'lsx-sharing'); ?></a></li>
0 ignored issues
show
Expected 1 spaces after opening parenthesis; 0 found
Loading history...
Expected 1 spaces before closing parenthesis; 0 found
Loading history...
36
            <?php 
37
            $class = ''; 
38
        } 
39
        ?>
40
41
        <?php if ( class_exists('LSX_Blog_Customizer') ) { ?>
0 ignored issues
show
Expected 0 spaces after opening bracket; 1 found
Loading history...
Expected 1 spaces after opening parenthesis; 0 found
Loading history...
Expected 1 spaces before closing parenthesis; 0 found
Loading history...
Expected 0 spaces before closing bracket; 1 found
Loading history...
42
            <?php $class_active = ( class_exists('LSX_Banners') || class_exists('LSX_Currencies') || class_exists('LSX_Team') || class_exists('LSX_Testimonials') || class_exists('LSX_Projects') || class_exists('LSX_Services') ) ? '' : 'active'; ?>
0 ignored issues
show
Expected 1 spaces after opening parenthesis; 0 found
Loading history...
Expected 1 spaces before closing parenthesis; 0 found
Loading history...
43
            <li><a href="#ui-blog-customizer" class="<?php echo esc_attr($class_active); ?>">
0 ignored issues
show
Expected 1 spaces after opening parenthesis; 0 found
Loading history...
Expected 1 spaces before closing parenthesis; 0 found
Loading history...
44
            <?php esc_html_e('Blog Customizer (posts widget)', 'lsx-sharing'); ?></a></li>
0 ignored issues
show
Expected 1 spaces after opening parenthesis; 0 found
Loading history...
Expected 1 spaces before closing parenthesis; 0 found
Loading history...
45
        <?php } ?>
46
47
        <?php if ( class_exists('LSX_Sharing') ) { ?>
0 ignored issues
show
Expected 0 spaces after opening bracket; 1 found
Loading history...
Expected 1 spaces after opening parenthesis; 0 found
Loading history...
Expected 1 spaces before closing parenthesis; 0 found
Loading history...
Expected 0 spaces before closing bracket; 1 found
Loading history...
48
            <?php $class_active = ( class_exists('LSX_Banners') || class_exists('LSX_Currencies') || class_exists('LSX_Team') || class_exists('LSX_Testimonials') || class_exists('LSX_Projects') || class_exists('LSX_Services') || class_exists('LSX_Blog_Customizer') ) ? '' : 'active'; ?>
0 ignored issues
show
Expected 1 spaces after opening parenthesis; 0 found
Loading history...
Expected 1 spaces before closing parenthesis; 0 found
Loading history...
49
            <li><a href="#ui-sharing" class="<?php echo esc_attr($class_active); ?>">
0 ignored issues
show
Expected 1 spaces after opening parenthesis; 0 found
Loading history...
Expected 1 spaces before closing parenthesis; 0 found
Loading history...
50
            <?php esc_html_e('Sharing', 'lsx-sharing'); ?></a></li>
0 ignored issues
show
Expected 1 spaces after opening parenthesis; 0 found
Loading history...
Expected 1 spaces before closing parenthesis; 0 found
Loading history...
51
        <?php } ?>
52
53
        <?php if ( class_exists('LSX_Videos') ) { ?>
0 ignored issues
show
Expected 0 spaces after opening bracket; 1 found
Loading history...
Expected 1 spaces after opening parenthesis; 0 found
Loading history...
Expected 1 spaces before closing parenthesis; 0 found
Loading history...
Expected 0 spaces before closing bracket; 1 found
Loading history...
54
            <?php $class_active = ( class_exists('LSX_Banners') || class_exists('LSX_Currencies') || class_exists('LSX_Team') || class_exists('LSX_Testimonials') || class_exists('LSX_Projects') || class_exists('LSX_Services') || class_exists('LSX_Blog_Customizer') || class_exists('LSX_Sharing') ) ? '' : 'active'; ?>
0 ignored issues
show
Expected 1 spaces after opening parenthesis; 0 found
Loading history...
Expected 1 spaces before closing parenthesis; 0 found
Loading history...
55
            <li><a href="#ui-videos" class="<?php echo esc_attr($class_active); ?>">
0 ignored issues
show
Expected 1 spaces after opening parenthesis; 0 found
Loading history...
Expected 1 spaces before closing parenthesis; 0 found
Loading history...
56
            <?php esc_html_e('Videos', 'lsx-sharing'); ?></a></li>
0 ignored issues
show
Expected 1 spaces after opening parenthesis; 0 found
Loading history...
Expected 1 spaces before closing parenthesis; 0 found
Loading history...
57
        <?php } ?>
58
    </ul>
59
60
    <?php if ( class_exists('LSX_Banners') ) { ?>
0 ignored issues
show
Expected 0 spaces after opening bracket; 1 found
Loading history...
Expected 1 spaces after opening parenthesis; 0 found
Loading history...
Expected 1 spaces before closing parenthesis; 0 found
Loading history...
Expected 0 spaces before closing bracket; 1 found
Loading history...
61
        <div id="ui-placeholders" class="ui-tab active">
62
            <table class="form-table">
63
                <tbody>
64
        <?php do_action('lsx_framework_display_tab_content', 'placeholders'); ?>
0 ignored issues
show
Expected 1 spaces after opening parenthesis; 0 found
Loading history...
Expected 1 spaces before closing parenthesis; 0 found
Loading history...
65
                </tbody>
66
            </table>
67
        </div>
68
    <?php } ?>
69
70
    <?php if ( class_exists('LSX_Currencies') ) { ?>
0 ignored issues
show
Expected 0 spaces after opening bracket; 1 found
Loading history...
Expected 1 spaces after opening parenthesis; 0 found
Loading history...
Expected 1 spaces before closing parenthesis; 0 found
Loading history...
Expected 0 spaces before closing bracket; 1 found
Loading history...
71
        <?php $class_active = class_exists('LSX_Banners') ? '' : 'active'; ?>
0 ignored issues
show
Expected 1 spaces after opening parenthesis; 0 found
Loading history...
Expected 1 spaces before closing parenthesis; 0 found
Loading history...
72
        <div id="ui-currencies" class="ui-tab <?php echo esc_attr($class_active); ?>">
0 ignored issues
show
Expected 1 spaces after opening parenthesis; 0 found
Loading history...
Expected 1 spaces before closing parenthesis; 0 found
Loading history...
73
            <table class="form-table">
74
                <tbody>
75
        <?php do_action('lsx_framework_display_tab_content', 'currency_switcher'); ?>
0 ignored issues
show
Expected 1 spaces after opening parenthesis; 0 found
Loading history...
Expected 1 spaces before closing parenthesis; 0 found
Loading history...
76
                </tbody>
77
            </table>
78
        </div>
79
    <?php } ?>
80
81
    <?php if ( class_exists('LSX_Team') ) { ?>
0 ignored issues
show
Expected 0 spaces after opening bracket; 1 found
Loading history...
Expected 1 spaces after opening parenthesis; 0 found
Loading history...
Expected 1 spaces before closing parenthesis; 0 found
Loading history...
Expected 0 spaces before closing bracket; 1 found
Loading history...
82
        <?php $class_active = ( class_exists('LSX_Banners') || class_exists('LSX_Currencies') ) ? '' : 'active'; ?>
0 ignored issues
show
Expected 1 spaces after opening parenthesis; 0 found
Loading history...
Expected 1 spaces before closing parenthesis; 0 found
Loading history...
83
        <div id="ui-team" class="ui-tab <?php echo esc_attr($class_active); ?>">
0 ignored issues
show
Expected 1 spaces after opening parenthesis; 0 found
Loading history...
Expected 1 spaces before closing parenthesis; 0 found
Loading history...
84
            <table class="form-table">
85
                <tbody>
86
        <?php do_action('lsx_framework_display_tab_content', 'team'); ?>
0 ignored issues
show
Expected 1 spaces after opening parenthesis; 0 found
Loading history...
Expected 1 spaces before closing parenthesis; 0 found
Loading history...
87
                </tbody>
88
            </table>
89
        </div>
90
    <?php } ?>
91
92
    <?php if ( class_exists('LSX_Testimonials') ) { ?>
0 ignored issues
show
Expected 0 spaces after opening bracket; 1 found
Loading history...
Expected 1 spaces after opening parenthesis; 0 found
Loading history...
Expected 1 spaces before closing parenthesis; 0 found
Loading history...
Expected 0 spaces before closing bracket; 1 found
Loading history...
93
        <?php $class_active = ( class_exists('LSX_Banners') || class_exists('LSX_Currencies') || class_exists('LSX_Team') ) ? '' : 'active'; ?>
0 ignored issues
show
Expected 1 spaces after opening parenthesis; 0 found
Loading history...
Expected 1 spaces before closing parenthesis; 0 found
Loading history...
94
        <div id="ui-testimonials" class="ui-tab <?php echo esc_attr($class_active); ?>">
0 ignored issues
show
Expected 1 spaces after opening parenthesis; 0 found
Loading history...
Expected 1 spaces before closing parenthesis; 0 found
Loading history...
95
            <table class="form-table">
96
                <tbody>
97
        <?php do_action('lsx_framework_display_tab_content', 'testimonials'); ?>
0 ignored issues
show
Expected 1 spaces after opening parenthesis; 0 found
Loading history...
Expected 1 spaces before closing parenthesis; 0 found
Loading history...
98
                </tbody>
99
            </table>
100
        </div>
101
    <?php } ?>
102
103
    <?php if ( class_exists('LSX_Projects') ) { ?>
0 ignored issues
show
Expected 0 spaces after opening bracket; 1 found
Loading history...
Expected 1 spaces after opening parenthesis; 0 found
Loading history...
Expected 1 spaces before closing parenthesis; 0 found
Loading history...
Expected 0 spaces before closing bracket; 1 found
Loading history...
104
        <?php $class_active = ( class_exists('LSX_Banners') || class_exists('LSX_Currencies') || class_exists('LSX_Team') || class_exists('LSX_Testimonials') ) ? '' : 'active'; ?>
0 ignored issues
show
Expected 1 spaces after opening parenthesis; 0 found
Loading history...
Expected 1 spaces before closing parenthesis; 0 found
Loading history...
105
        <div id="ui-projects" class="ui-tab <?php echo esc_attr($class_active); ?>">
0 ignored issues
show
Expected 1 spaces after opening parenthesis; 0 found
Loading history...
Expected 1 spaces before closing parenthesis; 0 found
Loading history...
106
            <table class="form-table">
107
                <tbody>
108
        <?php do_action('lsx_framework_display_tab_content', 'projects'); ?>
0 ignored issues
show
Expected 1 spaces after opening parenthesis; 0 found
Loading history...
Expected 1 spaces before closing parenthesis; 0 found
Loading history...
109
                </tbody>
110
            </table>
111
        </div>
112
    <?php } ?>
113
114
    <?php if ( class_exists('LSX_Services') ) { ?>
0 ignored issues
show
Expected 0 spaces after opening bracket; 1 found
Loading history...
Expected 1 spaces after opening parenthesis; 0 found
Loading history...
Expected 1 spaces before closing parenthesis; 0 found
Loading history...
Expected 0 spaces before closing bracket; 1 found
Loading history...
115
        <?php $class_active = ( class_exists('LSX_Banners') || class_exists('LSX_Currencies') || class_exists('LSX_Team') || class_exists('LSX_Testimonials') || class_exists('LSX_Projects') ) ? '' : 'active'; ?>
0 ignored issues
show
Expected 1 spaces after opening parenthesis; 0 found
Loading history...
Expected 1 spaces before closing parenthesis; 0 found
Loading history...
116
        <div id="ui-services" class="ui-tab <?php echo esc_attr($class_active); ?>">
0 ignored issues
show
Expected 1 spaces after opening parenthesis; 0 found
Loading history...
Expected 1 spaces before closing parenthesis; 0 found
Loading history...
117
            <table class="form-table">
118
                <tbody>
119
        <?php do_action('lsx_framework_display_tab_content', 'services'); ?>
0 ignored issues
show
Expected 1 spaces after opening parenthesis; 0 found
Loading history...
Expected 1 spaces before closing parenthesis; 0 found
Loading history...
120
                </tbody>
121
            </table>
122
        </div>
123
    <?php } ?>
124
125
    <?php if ( class_exists('LSX_Blog_Customizer') ) { ?>
0 ignored issues
show
Expected 0 spaces after opening bracket; 1 found
Loading history...
Expected 1 spaces after opening parenthesis; 0 found
Loading history...
Expected 1 spaces before closing parenthesis; 0 found
Loading history...
Expected 0 spaces before closing bracket; 1 found
Loading history...
126
        <?php $class_active = ( class_exists('LSX_Banners') || class_exists('LSX_Currencies') || class_exists('LSX_Team') || class_exists('LSX_Testimonials') || class_exists('LSX_Projects') || class_exists('LSX_Services') ) ? '' : 'active'; ?>
0 ignored issues
show
Expected 1 spaces after opening parenthesis; 0 found
Loading history...
Expected 1 spaces before closing parenthesis; 0 found
Loading history...
127
        <div id="ui-blog-customizer" class="ui-tab <?php echo esc_attr($class_active); ?>">
0 ignored issues
show
Expected 1 spaces after opening parenthesis; 0 found
Loading history...
Expected 1 spaces before closing parenthesis; 0 found
Loading history...
128
            <table class="form-table">
129
                <tbody>
130
        <?php do_action('lsx_framework_display_tab_content', 'blog-customizer'); ?>
0 ignored issues
show
Expected 1 spaces after opening parenthesis; 0 found
Loading history...
Expected 1 spaces before closing parenthesis; 0 found
Loading history...
131
                </tbody>
132
            </table>
133
        </div>
134
    <?php } ?>
135
136
    <?php if ( class_exists('LSX_Sharing') ) { ?>
0 ignored issues
show
Expected 0 spaces after opening bracket; 1 found
Loading history...
Expected 1 spaces after opening parenthesis; 0 found
Loading history...
Expected 1 spaces before closing parenthesis; 0 found
Loading history...
Expected 0 spaces before closing bracket; 1 found
Loading history...
137
        <?php $class_active = ( class_exists('LSX_Banners') || class_exists('LSX_Currencies') || class_exists('LSX_Team') || class_exists('LSX_Testimonials') || class_exists('LSX_Projects') || class_exists('LSX_Services') || class_exists('LSX_Blog_Customizer') ) ? '' : 'active'; ?>
0 ignored issues
show
Expected 1 spaces after opening parenthesis; 0 found
Loading history...
Expected 1 spaces before closing parenthesis; 0 found
Loading history...
138
        <div id="ui-sharing" class="ui-tab <?php echo esc_attr($class_active); ?>">
0 ignored issues
show
Expected 1 spaces after opening parenthesis; 0 found
Loading history...
Expected 1 spaces before closing parenthesis; 0 found
Loading history...
139
            <table class="form-table">
140
                <tbody>
141
        <?php do_action('lsx_framework_display_tab_content', 'sharing'); ?>
0 ignored issues
show
Expected 1 spaces after opening parenthesis; 0 found
Loading history...
Expected 1 spaces before closing parenthesis; 0 found
Loading history...
142
                </tbody>
143
            </table>
144
        </div>
145
    <?php } ?>
146
147
    <?php if ( class_exists('LSX_Videos') ) { ?>
0 ignored issues
show
Expected 0 spaces after opening bracket; 1 found
Loading history...
Expected 1 spaces after opening parenthesis; 0 found
Loading history...
Expected 1 spaces before closing parenthesis; 0 found
Loading history...
Expected 0 spaces before closing bracket; 1 found
Loading history...
148
        <?php $class_active = ( class_exists('LSX_Banners') || class_exists('LSX_Currencies') || class_exists('LSX_Team') || class_exists('LSX_Testimonials') || class_exists('LSX_Projects') || class_exists('LSX_Services') || class_exists('LSX_Blog_Customizer') || class_exists('LSX_Sharing') ) ? '' : 'active'; ?>
0 ignored issues
show
Expected 1 spaces after opening parenthesis; 0 found
Loading history...
Expected 1 spaces before closing parenthesis; 0 found
Loading history...
149
        <div id="ui-videos" class="ui-tab <?php echo esc_attr($class_active); ?>">
0 ignored issues
show
Expected 1 spaces after opening parenthesis; 0 found
Loading history...
Expected 1 spaces before closing parenthesis; 0 found
Loading history...
150
            <table class="form-table">
151
                <tbody>
152
        <?php do_action('lsx_framework_display_tab_content', 'videos'); ?>
0 ignored issues
show
Expected 1 spaces after opening parenthesis; 0 found
Loading history...
Expected 1 spaces before closing parenthesis; 0 found
Loading history...
153
                </tbody>
154
            </table>
155
        </div>
156
    <?php } ?>
157
158
    <?php do_action('lsx_framework_display_tab_bottom', 'display'); ?>
0 ignored issues
show
Expected 1 spaces after opening parenthesis; 0 found
Loading history...
Expected 1 spaces before closing parenthesis; 0 found
Loading history...
159
</div>
160