PluginProbe ʕ •ᴥ•ʔ
TinyPNG – JPEG, PNG & WebP image compression / 2.2.4
TinyPNG – JPEG, PNG & WebP image compression v2.2.4
3.7.0 3.6.14 trunk 1.0.0 1.1.0 1.2.0 1.2.1 1.3.0 1.3.1 1.3.2 1.4.0 1.5.0 1.6.0 1.7.0 1.7.1 1.7.2 2.0.0 2.0.1 2.0.2 2.1.0 2.2.0 2.2.1 2.2.2 2.2.3 2.2.4 2.2.5 2.2.6 3.0.0 3.0.1 3.1.0 3.2.0 3.2.1 3.3 3.4 3.4.1 3.4.2 3.4.4 3.4.5 3.4.6 3.5.0 3.5.1 3.5.2 3.6.0 3.6.1 3.6.10 3.6.11 3.6.12 3.6.13 3.6.2 3.6.3 3.6.4 3.6.5 3.6.6 3.6.7 3.6.8 3.6.9
tiny-compress-images / src / views / dashboard-widget.php
tiny-compress-images / src / views Last commit date
account-status-connected.php 8 years ago account-status-create-advanced.php 9 years ago account-status-create-simple.php 8 years ago account-status-loading.php 9 years ago bulk-optimization-chart.php 9 years ago bulk-optimization-form.php 9 years ago bulk-optimization.php 8 years ago compress-details-processing.php 9 years ago compress-details.php 8 years ago dashboard-widget.php 8 years ago
dashboard-widget.php
57 lines
1 <?php $link = "<a href='" . admin_url( 'upload.php?page=tiny-bulk-optimization' ) . "'>" . esc_html__( 'bulk optimization', 'tiny-compress-images' ) . '</a>'; ?>
2
3 <style type="text/css" >
4 div#tinypng_dashboard_widget div.description {
5 display: none;
6 }
7 div#tinypng_dashboard_widget div#optimization-chart {
8 display: none;
9 }
10 div#tinypng_dashboard_widget div#optimization-chart svg circle.main {
11 stroke: <?php echo $admin_colors[2] ?>;
12 }
13 </style>
14
15 <div class="spinner" id="widget-spinner"></div>
16 <div class="sky"></div>
17 <div class="cloud"></div>
18 <div class="panda"></div>
19 <div class="grass"></div>
20 <div class="description no-images">
21 <p><?php esc_html_e( 'You do not seem to have uploaded any JPEG or PNG images yet.', 'tiny-compress-images' ) ?></p>
22 </div>
23 <div class="description not-optimized">
24 <p>
25 <?php printf( esc_html__( 'Hi %s, you haven’t compressed any images in your media library.', 'tiny-compress-images' ), $this->friendly_user_name() ) ?>
26 <?php printf( wp_kses( __( 'If you like you can to optimize your whole library in one go with the %s page.', 'tiny-compress-images' ), array(
27 'a' => array(
28 'href' => array(),
29 ),
30 ) ), $link )?>
31 </p>
32 </div>
33 <div class="description half-optimized">
34 <p>
35 <?php printf( esc_html__( '%s, you are doing good.', 'tiny-compress-images' ), $this->friendly_user_name() ) ?>
36 <?php printf( esc_html__( 'With your current settings you can still optimize %1$s image sizes from your %2$s uploaded JPEG and PNG images.', 'tiny-compress-images' ), '<span id="unoptimised-sizes"></span>', '<span id="uploaded-images"></span>' ) ?>
37 <?php printf( wp_kses( __( 'Start the %s to optimize the remainder of your library.', 'tiny-compress-images' ), array(
38 'a' => array(
39 'href' => array(),
40 ),
41 ) ), $link )?>
42 </p>
43 </div>
44 <div class="description full-optimized">
45 <p><?php printf( esc_html__( '%s, this is great! Your entire library is optimized!', 'tiny-compress-images' ), $this->friendly_user_name() ) ?></p>
46 </div>
47 <div class="description" id="ie8-compressed">
48 <p>
49 <?php printf( wp_kses( __( 'You have <strong>saved %s</strong> of your media library size.', 'tiny-compress-images' ), array(
50 'span' => array(),
51 'strong' => array(),
52 ) ), '<span></span>%' )?>
53 </p>
54 </div>
55
56 <?php require_once dirname( __FILE__ ) . '/bulk-optimization-chart.php'; ?>
57