account-status-connected.php
1 day ago
account-status-create-advanced.php
1 day ago
account-status-create-simple.php
1 day ago
account-status-loading.php
3 years ago
bulk-optimization-form.php
5 months ago
bulk-optimization-upgrade-notice.php
1 day ago
bulk-optimization.php
1 day ago
compress-details-processing.php
1 day ago
compress-details.php
1 day ago
dashboard-widget.php
1 day ago
notice-feedback.php
1 day ago
optimization-chart.php
1 day ago
request-review.php
2 months ago
settings-conversion-delivery.php
2 months ago
settings-conversion-enabled.php
2 months ago
settings-conversion-output.php
2 months ago
settings-conversion.php
2 months ago
settings-diagnostics.php
5 months ago
settings-original-image-original.php
2 months ago
settings-original-image-preserve.php
2 months ago
settings-original-image.php
2 months ago
settings.php
2 months ago
settings.php
67 lines
| 1 | <div class="wrap"> |
| 2 | <h1><?php esc_html_e( 'TinyPNG - JPEG, PNG & WebP image compression', 'tiny-compress-images' ); ?></h2> |
| 3 | <p><?php esc_html_e( 'Speed up your website. Optimize your JPEG, PNG, and WebP images automatically with TinyPNG.', 'tiny-compress-images' ); ?></p> |
| 4 | <div class="tiny-compress-images"> |
| 5 | <span id="tiny-compress-images"></span> |
| 6 | <form action="<?php echo esc_url( admin_url( 'options.php' ) ); ?>" id="tinify-settings" method="post"> |
| 7 | <?php settings_fields( 'tinify' ); ?> |
| 8 | <table class="form-table tinify-settings"> |
| 9 | <tbody> |
| 10 | <tr> |
| 11 | <th scope="row"><?php esc_html_e( 'Tinify account', 'tiny-compress-images' ); ?></th> |
| 12 | <td> |
| 13 | <?php $this->render_pending_status(); ?> |
| 14 | </td> |
| 15 | </tr> |
| 16 | <tr> |
| 17 | <th scope="row"><?php esc_html_e( 'New image uploads', 'tiny-compress-images' ); ?></th> |
| 18 | <td> |
| 19 | <?php $this->render_compression_timing_settings(); ?> |
| 20 | </td> |
| 21 | </tr> |
| 22 | <tr> |
| 23 | <th scope="row"><?php esc_html_e( 'Image sizes', 'tiny-compress-images' ); ?></th> |
| 24 | <td> |
| 25 | <h4><?php esc_html_e( 'Select image sizes to be compressed', 'tiny-compress-images' ); ?></h4> |
| 26 | <p class="intro"> |
| 27 | <?php |
| 28 | esc_html_e( |
| 29 | 'WordPress generates resized versions of every image. Choose which sizes to compress.', |
| 30 | 'tiny-compress-images' |
| 31 | ) |
| 32 | ?> |
| 33 | </p> |
| 34 | <div class="sizes"> |
| 35 | <?php $this->render_sizes(); ?> |
| 36 | </div> |
| 37 | </td> |
| 38 | </tr> |
| 39 | <tr> |
| 40 | <th scope="row"><?php esc_html_e( 'Conversion', 'tiny-compress-images' ); ?></th> |
| 41 | <td> |
| 42 | <h4><?php esc_html_e( 'Convert files to different formats', 'tiny-compress-images' ); ?></h4> |
| 43 | <p class="intro"> |
| 44 | <?php |
| 45 | esc_html_e( |
| 46 | 'Generate optimized formats like WebP or AVIF. These file types will improve site performance but might take up more disk space. Creating an optimized image will take 1 additional compression for each image size.', |
| 47 | 'tiny-compress-images' |
| 48 | ) |
| 49 | ?> |
| 50 | </p> |
| 51 | <?php $this->render_format_conversion(); ?> |
| 52 | </td> |
| 53 | </tr> |
| 54 | <?php require plugin_dir_path( __FILE__ ) . 'settings-original-image.php'; ?> |
| 55 | </tbody> |
| 56 | </table> |
| 57 | |
| 58 | <?php require plugin_dir_path( __FILE__ ) . 'settings-diagnostics.php'; ?> |
| 59 | <?php require __DIR__ . '/request-review.php'; ?> |
| 60 | |
| 61 | <p class="submit"> |
| 62 | <input type="submit" name="submit" id="submit" class="button button-primary" value="<?php esc_html_e( 'Save Changes', 'tiny-compress-images' ); ?>"> |
| 63 | </p> |
| 64 | </form> |
| 65 | </div> |
| 66 | </div> |
| 67 |