account-status-connected.php
10 years ago
account-status-create-advanced.php
10 years ago
account-status-create-simple.php
10 years ago
account-status-loading.php
9 years ago
account-status-update.php
9 years ago
bulk-optimization-chart.php
9 years ago
bulk-optimization-form.php
10 years ago
bulk-optimization.php
9 years ago
compress-details-processing.php
10 years ago
compress-details.php
9 years ago
dashboard-widget.php
9 years ago
dashboard-widget.php
45 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.media-library-optimized { |
| 5 | display: none; |
| 6 | } |
| 7 | div#optimization-chart { |
| 8 | display: none; |
| 9 | } |
| 10 | .ie8 div#optimization-chart { |
| 11 | display: none !important; |
| 12 | } |
| 13 | #optimization-chart svg circle.main { |
| 14 | stroke: <?php echo $admin_colors[2] ?>; |
| 15 | } |
| 16 | </style> |
| 17 | |
| 18 | <div id="widget-spinner" class=""></div> |
| 19 | <div class="sky-background"></div> |
| 20 | <div class="cloud"></div> |
| 21 | <div class="panda-background"></div> |
| 22 | <div class="grass"></div> |
| 23 | <div class="media-library-optimized" id="no-images-uploaded"> |
| 24 | <p><?php esc_html_e( 'You do not seem to have uploaded any JPEG or PNG images yet.', 'tiny-compress-images' ) ?></p> |
| 25 | </div> |
| 26 | <div class="media-library-optimized" id="widget-not-optimized"> |
| 27 | <p> |
| 28 | <?php printf( esc_html__( 'Hi %s, you haven’t compressed any images in your media library.', 'tiny-compress-images' ), $this->friendly_user_name() ) ?> |
| 29 | <?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( 'a' => array( 'href' => array() ) ) ), $link )?> |
| 30 | </p> |
| 31 | </div> |
| 32 | <div class="media-library-optimized" id="widget-full-optimized"> |
| 33 | <p><?php printf( esc_html__( '%s, this is great! Your entire library is optimized!', 'tiny-compress-images' ), $this->friendly_user_name() ) ?></p> |
| 34 | <p id="ie8-compressed"><?php printf( wp_kses( __( 'You have <strong>saved %s</strong> of your media library size.', 'tiny-compress-images' ), array( 'span' => array(), 'strong' => array() ) ), '<span></span>%' )?></p> |
| 35 | </div> |
| 36 | <div class="media-library-optimized" id="widget-half-optimized"> |
| 37 | <p> |
| 38 | <?php printf( esc_html__( '%s, you are doing good.', 'tiny-compress-images' ), $this->friendly_user_name() ) ?> |
| 39 | <?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>' ) ?> |
| 40 | <?php printf( wp_kses( __( 'Start the %s to optimize the remainder of your library.', 'tiny-compress-images' ), array( 'a' => array( 'href' => array() ) ) ), $link )?> |
| 41 | </p> |
| 42 | </div> |
| 43 | |
| 44 | <?php require_once dirname( __FILE__ ) . '/bulk-optimization-chart.php'; ?> |
| 45 |