| 1 |
<?php |
| 2 |
defined( 'ABSPATH' ) || exit; |
| 3 |
/** |
| 4 |
* The analytics data-preview table, shared by the settings opt-in modal, |
| 5 |
* the opt-in ask banner, and the thank-you notice. |
| 6 |
* |
| 7 |
* @var string $wp_version |
| 8 |
* @var string $php_version |
| 9 |
* @var string $plugin_version |
| 10 |
* @var string $opt_level |
| 11 |
* @var string $next_gen |
| 12 |
* @var string $license_type |
| 13 |
*/ |
| 14 |
?> |
| 15 |
<table class="imagify-analytics-data-table"> |
| 16 |
<tbody> |
| 17 |
<tr><td><?php esc_html_e( 'WordPress version', 'imagify' ); ?></td><td><?php echo esc_html( $wp_version ); ?></td></tr> |
| 18 |
<tr><td><?php esc_html_e( 'PHP version', 'imagify' ); ?></td><td><?php echo esc_html( $php_version ); ?></td></tr> |
| 19 |
<tr><td><?php esc_html_e( 'Plugin version', 'imagify' ); ?></td><td><?php echo esc_html( $plugin_version ); ?></td></tr> |
| 20 |
<tr><td><?php esc_html_e( 'Optimization level', 'imagify' ); ?></td><td><?php echo esc_html( $opt_level ); ?></td></tr> |
| 21 |
<tr><td><?php esc_html_e( 'Media type', 'imagify' ); ?></td><td><?php esc_html_e( 'MIME type of the optimized file (jpeg, png, gif…)', 'imagify' ); ?></td></tr> |
| 22 |
<tr><td><?php esc_html_e( 'Savings percentage', 'imagify' ); ?></td><td><?php esc_html_e( 'Percentage of file size reduced per optimization', 'imagify' ); ?></td></tr> |
| 23 |
<tr><td><?php esc_html_e( 'Next-gen format', 'imagify' ); ?></td><td><?php echo esc_html( $next_gen ); ?></td></tr> |
| 24 |
<tr><td><?php esc_html_e( 'Trigger', 'imagify' ); ?></td><td><?php esc_html_e( 'How the optimization was started (auto, bulk, manual)', 'imagify' ); ?></td></tr> |
| 25 |
<tr><td><?php esc_html_e( 'License type', 'imagify' ); ?></td><td><?php echo esc_html( $license_type ); ?></td></tr> |
| 26 |
</tbody> |
| 27 |
</table> |
| 28 |
|