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
73 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--30 sui-spacing-left--30"> |
| 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! Multiple Pop-up Triggers', 'hustle' ); ?></h3> |
| 40 | |
| 41 | <p id="hustle-dialog--release-highlight-description" class="sui-description"> |
| 42 | <?php esc_html_e( "In the newest Hustle 4.4.1 release, we've added the support for multiple pop-up triggers, so that you can choose two or more actions to trigger your pop-up. You can also set the respective delay durations for each trigger.", 'hustle' ); ?> |
| 43 | </p> |
| 44 | |
| 45 | <p class="sui-description"> |
| 46 | <?php |
| 47 | printf( |
| 48 | /* translators: 1. opening 'b' tag, 2. closing 'b' tag. */ |
| 49 | esc_html__( 'We have also added %1$sValentine%2$s and %1$sChinese New Year%2$s Templates to boost your sales and leads during the Love season and the Chinese New Year festivities.', 'hustle' ), |
| 50 | '<b>', |
| 51 | '</b>' |
| 52 | ); |
| 53 | ?> |
| 54 | </p> |
| 55 | |
| 56 | </div> |
| 57 | |
| 58 | <div class="sui-box-footer sui-flatten sui-content-center sui-spacing-bottom--50"> |
| 59 | |
| 60 | <button id="hustle-release-highlight-action-button" class="sui-button" data-modal-close> |
| 61 | <?php esc_html_e( 'Got It', 'hustle' ); ?> |
| 62 | </button> |
| 63 | |
| 64 | </div> |
| 65 | |
| 66 | </div> |
| 67 | |
| 68 | <button class="sui-modal-skip" data-modal-close><?php esc_html_e( "I'll check this later", 'hustle' ); ?></button> |
| 69 | |
| 70 | </div> |
| 71 | |
| 72 | </div> |
| 73 |