PluginProbe
Kit (formerly ConvertKit) – Email Newsletter, Email Marketing, Membership, Subscribers and Landing Pages / trunk
Kit (formerly ConvertKit) – Email Newsletter, Email Marketing, Membership, Subscribers and Landing Pages vtrunk
3.4.1 3.4.0 3.3.9 3.3.8 3.3.7 3.3.6 3.3.5 3.3.4 3.3.3 3.3.2 3.3.1 2.2.0 2.2.1 2.2.2 2.2.3 2.2.4 2.2.5 2.2.6 2.2.7 2.2.8 2.2.9 2.3.0 2.3.1 2.3.2 2.3.3 All 194 releases
convertkit / views / backend / setup-wizard / header.php

header.php in Kit (formerly ConvertKit) – Email Newsletter, Email Marketing, Membership, Subscribers and Landing Pages trunk, at views/backend/setup-wizard/header.php

88 lines 2.3 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Outputs the header template for a Setup Wizard screen
4 *
5 * @package ConvertKit
6 * @author ConvertKit
7 */
8
9 ?>
10 <!DOCTYPE html>
11 <html <?php language_attributes(); ?>>
12 <head>
13 <meta name="viewport" content="width=device-width"/>
14 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
15 <title><?php echo esc_html( 'Kit' ); ?> &lsaquo; <?php bloginfo( 'name' ); ?> &#8212; WordPress</title>
16 <script type="text/javascript">
17 var ajaxurl = '<?php echo esc_js( admin_url( 'admin-ajax.php', 'relative' ) ); ?>';
18 </script>
19 <?php
20 do_action( 'admin_print_scripts' );
21 do_action( 'admin_print_styles' );
22 do_action( 'admin_head' );
23 ?>
24 </head>
25 <body class="wp-admin wp-core-ui convertkit <?php echo esc_attr( $this->is_modal() ? ' convertkit-modal' : '' ); ?>">
26 <div id="convertkit-setup-wizard">
27 <?php
28 if ( ! $this->is_modal() ) {
29 ?>
30 <header id="convertkit-setup-wizard-header">
31 <h1><?php echo esc_html( 'Kit' ); ?></h1>
32 </header>
33 <?php
34 }
35 ?>
36
37 <div class="wrap">
38 <?php
39 if ( ! $this->is_modal() ) {
40 ?>
41 <div id="convertkit-setup-wizard-progress">
42 <ol>
43 <?php
44 $step_count = 1;
45 foreach ( $this->steps as $step_name => $step ) {
46 ?>
47 <li class="step-<?php echo esc_attr( $step_name ); ?><?php echo ( $step_count <= $this->get_current_step_number() ? ' done' : '' ); ?>"><?php echo esc_html( $step['name'] ); ?></li>
48 <?php
49 ++$step_count;
50 }
51 ?>
52 </ol>
53 </div>
54 <?php
55 }
56
57 // If an error occured, display an error notice.
58 if ( $this->error ) {
59 ?>
60 <div class="notice notice-error is-dismissible">
61 <p><?php echo esc_html( $this->error ); ?></p>
62 </div>
63
64 <?php
65 }
66 ?>
67 </div>
68
69 <div id="convertkit-setup-wizard-body">
70 <form action="<?php echo esc_attr( $this->next_step_url ); ?>" method="POST">
71 <div id="convertkit-setup-wizard-content">
72 <?php
73 if ( ! $this->is_modal() ) {
74 ?>
75 <div id="convertkit-setup-wizard-step">
76 <?php
77 printf(
78 /* translators: %1$s: Current Step, %2$s: Total Steps */
79 esc_html__( 'Step %1$s of %2$s', 'convertkit' ),
80 esc_html( $this->get_current_step_number() ),
81 esc_html( $this->get_total_steps() )
82 );
83 ?>
84 </div>
85 <?php
86 }
87 ?>
88