final-integration-form-delete.php
6 years ago
migrate-dismiss-confirmation.php
6 years ago
modal-integration.php
5 years ago
modal-migrate-aweber.php
5 years ago
modal-migrate-ctct.php
6 years ago
modal-preview.php
5 years ago
remove-active-integration.php
6 years ago
final-integration-form-delete.php
42 lines
| 1 | <?php |
| 2 | /** |
| 3 | * Modal for when an integration is removed in wizard but no other is left in a module. |
| 4 | * |
| 5 | * @package Hustle |
| 6 | * @since 4.0.4 |
| 7 | */ |
| 8 | |
| 9 | $attributes = array( |
| 10 | 'modal_id' => 'final-delete', |
| 11 | 'has_description' => true, |
| 12 | 'modal_size' => 'sm', |
| 13 | |
| 14 | 'header' => array( |
| 15 | 'classes' => 'sui-flatten sui-content-center sui-spacing-top--60', |
| 16 | 'title' => __( 'Integration Required!', 'hustle' ), |
| 17 | 'title_classes' => 'sui-lg', |
| 18 | 'description' => __( 'At least one integration should be connected in a opt-in module. If you choose to continue a local list will be enabled automatically.', 'hustle' ), |
| 19 | ), |
| 20 | 'footer' => array( |
| 21 | 'classes' => 'sui-content-center sui-flatten', |
| 22 | 'buttons' => array( |
| 23 | array( |
| 24 | 'classes' => 'sui-button-ghost', |
| 25 | 'text' => __( 'Cancel', 'hustle' ), |
| 26 | 'is_close' => true, |
| 27 | ), |
| 28 | array( |
| 29 | 'id' => 'hustle-delete-final-button', |
| 30 | 'classes' => 'sui-button-ghost sui-button-red', |
| 31 | 'has_load' => true, |
| 32 | 'text' => __( 'Continue', 'hustle' ), |
| 33 | 'attributes' => array( |
| 34 | 'data-nonce' => '33333', |
| 35 | ), |
| 36 | ), |
| 37 | ), |
| 38 | ), |
| 39 | ); |
| 40 | |
| 41 | $this->render_modal( $attributes ); |
| 42 |