fresh-install.php
5 years ago
migrate-data.php
5 years ago
release-highlight.php
5 years ago
review-conditions.php
5 years ago
release-highlight.php
62 lines
| 1 | <?php |
| 2 | /** |
| 3 | * Welcome dialog for fresh installs. |
| 4 | * |
| 5 | * @package Hustle |
| 6 | * @since 4.0.0 |
| 7 | */ |
| 8 | |
| 9 | $banner_img_1x = self::$plugin_url . 'assets/images/release-highlight-header.png'; |
| 10 | $banner_img_2x = self::$plugin_url . 'assets/images/release-highlight-header@2x.png'; |
| 11 | ?> |
| 12 | |
| 13 | <div class="sui-modal sui-modal-md"> |
| 14 | |
| 15 | <div |
| 16 | role="dialog" |
| 17 | id="hustle-dialog--release-highlight" |
| 18 | class="sui-modal-content" |
| 19 | aria-modal="true" |
| 20 | aria-labelledby="hustle-dialog--release-highlight-title" |
| 21 | aria-describedby="hustle-dialog--release-highlight-description" |
| 22 | data-name="<?php echo esc_attr( Hustle_Dashboard_Admin::HIGHLIGHT_MODAL_NAME ); ?>" |
| 23 | > |
| 24 | |
| 25 | <div class="sui-box" style="margin-bottom: 10px;"> |
| 26 | |
| 27 | <div class="sui-box-header sui-flatten sui-content-center sui-spacing-right--60 sui-spacing-left--60"> |
| 28 | |
| 29 | <button class="sui-button-icon sui-button-float--right hustle-modal-close" style="z-index: 2;" data-modal-close> |
| 30 | <span class="sui-icon-close sui-md" aria-hidden="true"></span> |
| 31 | <span class="sui-screen-reader-text"><?php esc_html_e( 'Close this dialog window', 'hustle' ); ?></span> |
| 32 | </button> |
| 33 | |
| 34 | <figure role="banner" class="sui-box-banner" aria-hidden="true"> |
| 35 | <?php echo $this->render_image_markup( $banner_img_1x, $banner_img_2x, 'sui-image sui-image-center' ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?> |
| 36 | </figure> |
| 37 | |
| 38 | <?php /* translators: current user's name */ ?> |
| 39 | <h3 id="hustle-dialog--release-highlight-title" class="sui-box-title sui-lg"><?php esc_html_e( 'New! Mailster and Mailpoet Integration', 'hustle' ); ?></h3> |
| 40 | |
| 41 | <p id="hustle-dialog--release-highlight-description" class="sui-description"> |
| 42 | <?php esc_html_e( "We are happy to let you know that we've added Mailster and Mailpoet to our integrations. If you use either of these services for sending email campaigns or managing your mailing contacts, you can now build your mailing list using Hustle opt-in forms.", 'hustle' ); ?> |
| 43 | </p> |
| 44 | |
| 45 | </div> |
| 46 | |
| 47 | <div class="sui-box-footer sui-flatten sui-content-center sui-spacing-bottom--50"> |
| 48 | |
| 49 | <button id="hustle-release-highlight-action-button" class="sui-button" data-modal-close> |
| 50 | <?php esc_html_e( 'Got It', 'hustle' ); ?> |
| 51 | </button> |
| 52 | |
| 53 | </div> |
| 54 | |
| 55 | </div> |
| 56 | |
| 57 | <button class="sui-modal-skip" data-modal-close><?php esc_html_e( "I'll check this later", 'hustle' ); ?></button> |
| 58 | |
| 59 | </div> |
| 60 | |
| 61 | </div> |
| 62 |