wizard-4.php
2.35 KB
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
/**
* Page 4 of setup wizard template file
*
* @package LearnDash_Design_Wizard
*
* @var array<string, mixed> $template_details
* @var LearnDash_Design_Wizard $design_wizard
*/
if ( ! defined( 'ABSPATH' ) ) {
exit();
}
?>
<div class="design-wizard layout-2">
<div class="header">
<div class="logo">
<?php // phpcs:ignore Generic.Files.LineLength.TooLong?>
<img src="<?php echo esc_url( \LEARNDASH_LMS_PLUGIN_URL . '/assets/images/learndash.svg' ); ?>" alt="LearnDash" >
</div>
<div class="exit">
<span class="text"><?php esc_html_e( 'Exit to Setup', 'learndash' ); ?></span> <img
src="<?php echo esc_url( \LEARNDASH_LMS_PLUGIN_URL . '/assets/images/design-wizard/svg/exit.svg' ); ?>"
>
</div>
</div>
<div class="content">
<?php
SFWD_LMS::get_view(
'design-wizard/live-preview',
compact( 'template_details', 'design_wizard' ),
true
);
?>
</div>
<div class="footer">
<div class="back">
<img
class="icon"
src="<?php echo esc_url( \LEARNDASH_LMS_PLUGIN_URL . '/assets/images/design-wizard/svg/back.svg' ); ?>"
> <span class="text"><?php esc_html_e( 'Back', 'learndash' ); ?></span>
</div>
<div class="steps">
<ol class="list">
<li class="active"><span class="number">1</span> <span
class="text"><?php esc_html_e( 'Choose a template', 'learndash' ); ?></span></li>
<li class="active"><span class="number">2</span> <span
class="text"><?php esc_html_e( 'Fonts', 'learndash' ); ?></span></li>
<li class="active"><span class="number">3</span> <span
class="text"><?php esc_html_e( 'Colors', 'learndash' ); ?></span></li>
</ol>
</div>
<div class="buttons">
<a
href="#"
class="button init-button next-button"
><?php esc_html_e( 'Save & Continue', 'learndash' ); ?></a>
</div>
</div>
<div id="ld_dw_confirm" style="display: none;">
<?php
$learndash_dw_confirm_message = sprintf(
__(
'Upon clicking continue we’ll install your selected template which will include:
<ul style="list-style-type: disc;margin-left: 20px;">
<li>Theme</li>
<li>Plugins</li>
<li>Content</li>
</ul>
<p>This will overwrite your existing theme. It will not replace content or plugins but the theme will impact your entire site, not only LearnDash content.</p>',
'learndash'
)
);
echo wp_kses_post( $learndash_dw_confirm_message );
?>
</div>
</div>