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