Issues (1066)

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