checking-files.php
6 years ago
directory-list.php
4 years ago
onboarding.php
5 years ago
progress-dialog.php
4 years ago
reset-settings.php
4 years ago
restore-images.php
6 years ago
updated.php
4 years ago
webp-delete-all.php
5 years ago
updated.php
59 lines
| 1 | <?php |
| 2 | /** |
| 3 | * Show Updated Features modal. |
| 4 | * |
| 5 | * @package WP_Smush |
| 6 | * |
| 7 | * @since 3.7.0 |
| 8 | * |
| 9 | * @var string $cta_url URL for the modal's CTA button. |
| 10 | */ |
| 11 | |
| 12 | if ( ! defined( 'WPINC' ) ) { |
| 13 | die; |
| 14 | } |
| 15 | |
| 16 | ?> |
| 17 | |
| 18 | <div class="sui-modal sui-modal-md"> |
| 19 | <div |
| 20 | role="dialog" |
| 21 | id="smush-updated-dialog" |
| 22 | class="sui-modal-content smush-updated-dialog" |
| 23 | aria-modal="true" |
| 24 | aria-labelledby="smush-title-updated-dialog" |
| 25 | > |
| 26 | <div class="sui-box"> |
| 27 | <div class="sui-box-header sui-flatten sui-content-center sui-spacing-sides--20"> |
| 28 | <figure class="sui-box-banner" aria-hidden="true"> |
| 29 | <img src="<?php echo esc_url( WP_SMUSH_URL . 'app/assets/images/updated/updated.png' ); ?>" |
| 30 | srcset="<?php echo esc_url( WP_SMUSH_URL . 'app/assets/images/updated/updated.png' ); ?> 1x, <?php echo esc_url( WP_SMUSH_URL . 'app/assets/images/updated/updated' ); ?>@2x.png 2x" |
| 31 | alt="<?php esc_attr_e( 'Smush Updated Modal', 'wp-smushit' ); ?>" class="sui-image sui-image-center"> |
| 32 | </figure> |
| 33 | |
| 34 | <button class="sui-button-icon sui-button-float--right" data-modal-close="" onclick="WP_Smush.onboarding.hideUpgradeModal()"> |
| 35 | <i class="sui-icon-close sui-md" aria-hidden="true"></i> |
| 36 | </button> |
| 37 | </div> |
| 38 | |
| 39 | <div class="sui-box-body sui-content-center sui-spacing-sides--30 sui-spacing-top--0 sui-spacing-bottom--50"> |
| 40 | <h3 class="sui-box-title sui-lg" id="smush-title-updated-dialog" style="white-space: normal"> |
| 41 | <?php esc_html_e( 'Update: Manage Your Uploaded Images!', 'wp-smushit' ); ?> |
| 42 | </h3> |
| 43 | |
| 44 | <p class="sui-description"> |
| 45 | <?php esc_html_e( 'You now have greater control over your images, with new settings to override WordPress Core functionality. Compress uploaded images, backup uploaded images, scale images to a desired threshold, disable scaling altogether, and more.', 'wp-smushit' ); ?> |
| 46 | </p> |
| 47 | |
| 48 | <p class="sui-description"> |
| 49 | <?php esc_html_e( 'Check out these new features in the Bulk Smush settings.', 'wp-smushit' ); ?> |
| 50 | </p> |
| 51 | |
| 52 | <a href="<?php echo esc_url( $cta_url ); ?>" class="sui-button" onclick="WP_Smush.onboarding.hideUpgradeModal()"> |
| 53 | <?php esc_html_e( 'Got it', 'wp-smushit' ); ?> |
| 54 | </a> |
| 55 | </div> |
| 56 | </div> |
| 57 | </div> |
| 58 | </div> |
| 59 |