1
|
|
|
<?php |
2
|
|
|
/** |
3
|
|
|
* Displays the set-up wizard header. |
4
|
|
|
* |
5
|
|
|
*/ |
6
|
|
|
|
7
|
|
|
defined( 'ABSPATH' ) || exit; |
8
|
|
|
|
9
|
|
|
$aui_settings = AyeCode_UI_Settings::instance(); |
10
|
|
|
$aui_settings->enqueue_scripts(); |
11
|
|
|
$aui_settings->enqueue_style(); |
12
|
|
|
|
13
|
|
|
?> |
14
|
|
|
|
15
|
|
|
<!DOCTYPE html> |
16
|
|
|
<html <?php language_attributes(); ?> class="bsui"> |
17
|
|
|
<head> |
18
|
|
|
<meta name="viewport" content="width=device-width"/> |
19
|
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> |
20
|
|
|
<title><?php esc_html_e( 'GetPaid › Setup Wizard', 'invoicing' ); ?></title> |
21
|
|
|
<?php |
22
|
|
|
getpaid_admin()->enqeue_scripts(); |
23
|
|
|
wp_enqueue_style( 'font-awesome', 'https://use.fontawesome.com/releases/v5.13.0/css/all.css', array(), 'v5.13.0' ); |
24
|
|
|
wp_print_styles( 'select2' ); |
25
|
|
|
wp_print_scripts( 'select2' ); |
26
|
|
|
wp_print_scripts( 'wpinv-admin-script' ); |
27
|
|
|
do_action( 'admin_print_styles' ); |
28
|
|
|
do_action( 'admin_head' ); |
29
|
|
|
?> |
30
|
|
|
<style> |
31
|
|
|
body, p{ |
32
|
|
|
font-size: 16px; |
33
|
|
|
font-weight: normal; |
34
|
|
|
} |
35
|
|
|
|
36
|
|
|
.bsui .settings-label { |
37
|
|
|
font-weight: 500; |
38
|
|
|
margin-bottom: .1rem; |
39
|
|
|
} |
40
|
|
|
<?php echo esc_html( $aui_settings::css_primary( '#009874', true ) ); ?> |
|
|
|
|
41
|
|
|
</style> |
42
|
|
|
</head> |
43
|
|
|
|
44
|
|
|
<body class="gp-setup wp-core-ui bg-lightx mx-auto text-dark scrollbars-ios" style="background: #f3f6ff;"> |
45
|
|
|
|
46
|
|
|
<?php if ( isset( $_REQUEST['step'] ) ) : ?> |
47
|
|
|
<ol class="gp-setup-steps mb-0 pb-4 mw-100 list-group list-group-horizontal text-center"> |
48
|
|
|
<?php foreach ( $steps as $step => $data ) : ?> |
49
|
|
|
<li class="list-group-item flex-fill rounded-0 |
50
|
|
|
<?php |
51
|
|
|
echo $step == $current ? 'active' : 'd-none d-md-block'; |
52
|
|
|
echo array_search( $current, array_keys( $steps ) ) > array_search( $step, array_keys( $steps ) ) ? ' done' : ''; |
53
|
|
|
?> |
54
|
|
|
"> |
55
|
|
|
<i class="far fa-check-circle <?php echo array_search( $current, array_keys( $steps ) ) > array_search( $step, array_keys( $steps ) ) ? 'text-success' : ''; ?>"></i> |
56
|
|
|
<?php echo esc_html( $data['name'] ); ?> |
57
|
|
|
</li> |
58
|
|
|
<?php endforeach; ?> |
59
|
|
|
</ol> |
60
|
|
|
<?php else : ?> |
61
|
|
|
<div class='mb-3'> </div> |
62
|
|
|
<?php endif; ?> |
63
|
|
|
|
64
|
|
|
<div class="text-center pb-3 mt-5"> |
65
|
|
|
<a class=" text-decoration-none" href="https://wpgetpaid.com/"> |
66
|
|
|
<span class="text-black-50"> |
67
|
|
|
<img class="ml-n3x" src="<?php echo esc_url( WPINV_PLUGIN_URL . 'assets/images/getpaid-logo.png' ); ?>" /> |
68
|
|
|
</span> |
69
|
|
|
</a> |
70
|
|
|
</div> |
71
|
|
|
|
This function has been deprecated. The supplier of the function has supplied an explanatory message.
The explanatory message should give you some clue as to whether and when the function will be removed and what other function to use instead.