backup-codes-display.php
1 week ago
backup-codes-generate.php
1 week ago
backup-method-footer.php
1 week ago
backup-method-selection.php
1 week ago
completion.php
1 week ago
confirm-close.php
1 week ago
email-setup.php
1 week ago
email-verify.php
1 week ago
index.php
1 week ago
method-selection.php
1 week ago
modal.php
1 week ago
required-intro.php
1 week ago
totp-setup.php
1 week ago
totp-verify.php
1 week ago
welcome.php
1 week ago
confirm-close.php
29 lines
| 1 | <?php |
| 2 | /** |
| 3 | * WP 2FA Wizard Template: Close Confirmation Dialog |
| 4 | * |
| 5 | * Template ID: wp2fa-wizard-confirm-close |
| 6 | * |
| 7 | * Data expected: |
| 8 | * - bodyHtml {string} HTML content for the dialog body (white-label). |
| 9 | * - yesLabel {string} Confirm (Yes) button text. |
| 10 | * - noLabel {string} Cancel (No) button text. |
| 11 | * |
| 12 | * @package wp2fa |
| 13 | * @since 4.0.0 |
| 14 | */ |
| 15 | |
| 16 | defined( 'ABSPATH' ) || exit; |
| 17 | ?> |
| 18 | <script type="text/html" id="tmpl-wp2fa-wizard-confirm-close"> |
| 19 | <div class="wp2fa-wizard-confirm-overlay" id="wp2fa-wizard-confirm-overlay" role="alertdialog" aria-modal="true" aria-label="{{ data.yesLabel }}"> |
| 20 | <div class="wp2fa-wizard-confirm-dialog" id="wp2fa-wizard-confirm-dialog"> |
| 21 | <div class="wp2fa-wizard-confirm-body" id="wp2fa-wizard-confirm-body">{{{ data.bodyHtml }}}</div> |
| 22 | <div class="wp2fa-wizard-confirm-footer" id="wp2fa-wizard-confirm-footer"> |
| 23 | <button class="wp2fa-wizard-btn wp2fa-wizard-btn-secondary wp-2fa-button-secondary" id="wp2fa-wizard-confirm-no" type="button">{{ data.noLabel }}</button> |
| 24 | <button class="wp2fa-wizard-btn wp2fa-wizard-btn-primary wp-2fa-button-primary" id="wp2fa-wizard-confirm-yes" type="button">{{ data.yesLabel }}</button> |
| 25 | </div> |
| 26 | </div> |
| 27 | </div> |
| 28 | </script> |
| 29 |