backup-codes-display.php
22 hours ago
backup-codes-generate.php
22 hours ago
backup-method-footer.php
22 hours ago
backup-method-selection.php
22 hours ago
completion.php
22 hours ago
confirm-close.php
22 hours ago
email-setup.php
22 hours ago
email-verify.php
22 hours ago
index.php
22 hours ago
method-selection.php
22 hours ago
modal.php
22 hours ago
required-intro.php
22 hours ago
totp-setup.php
22 hours ago
totp-verify.php
22 hours ago
welcome.php
22 hours ago
welcome.php
29 lines
| 1 | <?php |
| 2 | /** |
| 3 | * WP 2FA Wizard Template: Welcome Screen |
| 4 | * |
| 5 | * Template ID: wp2fa-wizard-welcome |
| 6 | * |
| 7 | * Displayed as the first wizard step when the white-label welcome |
| 8 | * message is enabled and not empty. |
| 9 | * |
| 10 | * Data expected: |
| 11 | * - contentHtml {string} The welcome HTML content. |
| 12 | * - goBackLabel {string} "Go back" button text. |
| 13 | * - continueLabel {string} "Continue" button text. |
| 14 | * |
| 15 | * @package wp2fa |
| 16 | * @since 4.0.0 |
| 17 | */ |
| 18 | |
| 19 | defined( 'ABSPATH' ) || exit; |
| 20 | ?> |
| 21 | <script type="text/html" id="tmpl-wp2fa-wizard-welcome"> |
| 22 | <div class="wp2fa-wizard-welcome-content">{{{ data.contentHtml }}}</div> |
| 23 | </script> |
| 24 | |
| 25 | <script type="text/html" id="tmpl-wp2fa-wizard-welcome-footer"> |
| 26 | <button class="wp2fa-wizard-btn wp2fa-wizard-btn-secondary wp-2fa-button-secondary" id="wp2fa-wizard-btn-goback" type="button">{{ data.goBackLabel }}</button> |
| 27 | <button class="wp2fa-wizard-btn wp2fa-wizard-btn-primary wp-2fa-button-primary" id="wp2fa-wizard-btn-continue" type="button">{{ data.continueLabel }}</button> |
| 28 | </script> |
| 29 |