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 |