account-status-connected.php
5 months ago
account-status-create-advanced.php
5 months ago
account-status-create-simple.php
5 months ago
account-status-loading.php
3 years ago
bulk-optimization-form.php
5 months ago
bulk-optimization-upgrade-notice.php
5 months ago
bulk-optimization.php
2 months ago
compress-details-processing.php
5 months ago
compress-details.php
5 months ago
dashboard-widget.php
2 months ago
notice-feedback.php
2 months ago
optimization-chart.php
5 months 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-conversion-enabled.php
31 lines
| 1 | <?php |
| 2 | |
| 3 | /** |
| 4 | * Conversion enabled view |
| 5 | * |
| 6 | * @package tiny-compress-images |
| 7 | */ |
| 8 | |
| 9 | if ( ! defined( 'ABSPATH' ) ) { |
| 10 | exit; // Exit if accessed directly. |
| 11 | } |
| 12 | $convertopts_convert = self::get_prefixed_name( 'convert_format[convert]' ); |
| 13 | $convertopts_convert_id = self::get_prefixed_name( 'conversion_convert' ); |
| 14 | $convertopts_convert_checked = $this->get_conversion_enabled() ? |
| 15 | ' checked="checked"' : ''; |
| 16 | ?> |
| 17 | |
| 18 | <div class="conversion-enabled"> |
| 19 | <p class="tiny-check"> |
| 20 | <input |
| 21 | type="checkbox" |
| 22 | id="<?php echo esc_attr( $convertopts_convert_id ); ?>" |
| 23 | name="<?php echo esc_attr( $convertopts_convert ); ?>" |
| 24 | value="on" |
| 25 | <?php echo esc_html( $convertopts_convert_checked ); ?> /> |
| 26 | <label for="$convertopts_convert_id"> |
| 27 | <?php esc_html_e( 'Generate optimized image formats', 'tiny-compress-images' ); ?> |
| 28 | </label> |
| 29 | </p> |
| 30 | </div> |
| 31 |