html-admin-notice-core-setup.php
7 years ago
html-admin-page-addons.php
2 years ago
html-admin-setup-footer.php
7 years ago
html-admin-setup-header.php
7 years ago
html-admin-setup-opt-in-usage-tracking.php
2 years ago
html-admin-setup-step-1.php
2 years ago
html-admin-setup-step-2.php
4 years ago
html-admin-setup-step-3.php
6 years ago
html-admin-setup-step-1.php
35 lines
| 1 | <?php |
| 2 | /** |
| 3 | * File containing the view for step 1 of the setup wizard. |
| 4 | * |
| 5 | * @package wp-job-manager |
| 6 | */ |
| 7 | |
| 8 | if ( ! defined( 'ABSPATH' ) ) { |
| 9 | exit; |
| 10 | } |
| 11 | ?> |
| 12 | <h3><?php esc_html_e( 'Welcome to the Setup Wizard!', 'wp-job-manager' ); ?></h3> |
| 13 | |
| 14 | <p><?php echo wp_kses_post( __( 'Thanks for installing <em>WP Job Manager</em>! Let\'s get your site ready to accept job listings.', 'wp-job-manager' ) ); ?></p> |
| 15 | <p><?php echo wp_kses_post( __( 'This setup wizard will walk you through the process of creating pages for job submissions, management, and listings.', 'wp-job-manager' ) ); ?></p> |
| 16 | <p> |
| 17 | <?php |
| 18 | // translators: Placeholder %s is the path to WPJM documentation site. |
| 19 | echo wp_kses_post( sprintf( __( 'If you\'d prefer to skip this and set up your pages manually, our <a target="_blank" href="%s">documentation</a> will walk you through each step.', 'wp-job-manager' ), 'https://wpjobmanager.com/documentation/' ) ); |
| 20 | ?> |
| 21 | </p> |
| 22 | |
| 23 | <form method="post"> |
| 24 | <input type="hidden" name="nonce" value="<?php echo esc_attr( wp_create_nonce( 'enable-usage-tracking' ) ); ?>" /> |
| 25 | |
| 26 | <?php $this->maybe_output_opt_in_checkbox(); ?> |
| 27 | |
| 28 | <p class="submit"> |
| 29 | <input type="submit" name="start-setup" value="<?php esc_html_e( 'Start setup', 'wp-job-manager' ); ?>" class="button button-primary" formaction="<?php echo esc_url( add_query_arg( 'step', 2 ) ); ?>" /> |
| 30 | |
| 31 | <input type="submit" name="skip-setup" value="<?php esc_html_e( 'Save and skip setup', 'wp-job-manager' ); ?>" class="button" formaction="<?php echo esc_url( add_query_arg( 'step', 3 ) ); ?>"> |
| 32 | |
| 33 | </p> |
| 34 | </form> |
| 35 |