Issues (575)

includes/settings/display.php (23 issues)

1
<div class="uix-field-wrapper">
2
	<ul class="ui-tab-nav">
3
4
		<?php if ( class_exists( 'LSX_Currencies' ) ) { ?>
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...
5
			<?php $class_active = class_exists( 'LSX_Banners' ) ? '' : 'active'; ?>
6
			<li><a href="#ui-currencies" class="<?php echo esc_attr( $class_active ); ?>"><?php esc_html_e( 'Currencies', 'lsx-currencies' ); ?></a></li>
7
		<?php } ?>
8
9
10
		<?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...
11
			<?php $class_active = ( class_exists( 'LSX_Banners' ) || class_exists( 'LSX_Currencies' ) || class_exists( 'LSX_Team' ) || class_exists( 'LSX_Testimonials' ) || class_exists( 'LSX_Projects' ) ) ? '' : 'active'; ?>
12
			<li><a href="#ui-services" class="<?php echo esc_attr( $class ); ?>"><?php esc_html_e( 'Services', 'lsx-currencies' ); ?></a></li>
13
		<?php $class = ''; } ?>
14
15
	</ul>
16
17
	<?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...
18
		<div id="ui-placeholders" class="ui-tab active">
19
			<table class="form-table">
20
				<tbody>
21
					<?php do_action( 'lsx_framework_display_tab_content', 'placeholders' ); ?>
22
				</tbody>
23
			</table>
24
		</div>
25
	<?php } ?>
26
27
	<?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...
28
		<?php $class_active = class_exists( 'LSX_Banners' ) ? '' : 'active'; ?>
29
		<div id="ui-currencies" class="ui-tab <?php echo esc_attr( $class_active ); ?>">
30
			<table class="form-table">
31
				<tbody>
32
					<?php do_action( 'lsx_framework_display_tab_content', 'currency_switcher' ); ?>
33
				</tbody>
34
			</table>
35
		</div>
36
	<?php } ?>
37
38
	<?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...
39
		<?php $class_active = ( class_exists( 'LSX_Banners' ) || class_exists( 'LSX_Currencies' ) ) ? '' : 'active'; ?>
40
		<div id="ui-team" class="ui-tab <?php echo esc_attr( $class_active ); ?>">
41
			<table class="form-table">
42
				<tbody>
43
					<?php do_action( 'lsx_framework_display_tab_content', 'team' ); ?>
44
				</tbody>
45
			</table>
46
		</div>
47
	<?php } ?>
48
49
	<?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...
50
		<?php $class_active = ( class_exists( 'LSX_Banners' ) || class_exists( 'LSX_Currencies' ) || class_exists( 'LSX_Team' ) ) ? '' : 'active'; ?>
51
		<div id="ui-testimonials" class="ui-tab <?php echo esc_attr( $class_active ); ?>">
52
			<table class="form-table">
53
				<tbody>
54
					<?php do_action( 'lsx_framework_display_tab_content', 'testimonials' ); ?>
55
				</tbody>
56
			</table>
57
		</div>
58
	<?php } ?>
59
60
	<?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...
61
		<?php $class_active = ( class_exists( 'LSX_Banners' ) || class_exists( 'LSX_Currencies' ) || class_exists( 'LSX_Team' ) || class_exists( 'LSX_Testimonials' ) ) ? '' : 'active'; ?>
62
		<div id="ui-projects" class="ui-tab <?php echo esc_attr( $class_active ); ?>">
63
			<table class="form-table">
64
				<tbody>
65
					<?php do_action( 'lsx_framework_display_tab_content', 'projects' ); ?>
66
				</tbody>
67
			</table>
68
		</div>
69
	<?php } ?>
70
71
	<?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...
72
		<?php $class_active = ( class_exists( 'LSX_Banners' ) || class_exists( 'LSX_Currencies' ) || class_exists( 'LSX_Team' ) || class_exists( 'LSX_Testimonials' ) || class_exists( 'LSX_Projects' ) ) ? '' : 'active'; ?>
73
		<div id="ui-services" class="ui-tab <?php echo esc_attr( $class_active ); ?>">
74
			<table class="form-table">
75
				<tbody>
76
					<?php do_action( 'lsx_framework_display_tab_content', 'services' ); ?>
77
				</tbody>
78
			</table>
79
		</div>
80
	<?php } ?>
81
82
	<?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...
83
		<?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'; ?>
84
		<div id="ui-blog-customizer" class="ui-tab <?php echo esc_attr( $class_active ); ?>">
85
			<table class="form-table">
86
				<tbody>
87
					<?php do_action( 'lsx_framework_display_tab_content', 'blog-customizer' ); ?>
88
				</tbody>
89
			</table>
90
		</div>
91
	<?php } ?>
92
93
	<?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...
94
		<?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'; ?>
95
		<div id="ui-sharing" class="ui-tab <?php echo esc_attr( $class_active ); ?>">
96
			<table class="form-table">
97
				<tbody>
98
					<?php do_action( 'lsx_framework_display_tab_content', 'sharing' ); ?>
99
				</tbody>
100
			</table>
101
		</div>
102
	<?php } ?>
103
104
	<?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...
105
		<?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'; ?>
106
		<div id="ui-videos" class="ui-tab <?php echo esc_attr( $class_active ); ?>">
107
			<table class="form-table">
108
				<tbody>
109
					<?php do_action( 'lsx_framework_display_tab_content', 'videos' ); ?>
110
				</tbody>
111
			</table>
112
		</div>
113
	<?php } ?>
114
115
	<?php do_action( 'lsx_framework_display_tab_bottom', 'display' ); ?>
116
</div>
117