Ticket #16901: theme-install.patch
| File theme-install.patch, 3.1 KB (added by , 15 years ago) |
|---|
-
wp-admin/css/wp-admin.dev.css
3633 3633 margin: 15px 0 5px; 3634 3634 } 3635 3635 3636 .available-theme p { 3637 text-align: justify; 3638 } 3639 3636 3640 #current-theme { 3637 3641 margin: 1em 0 1.5em; 3638 3642 } -
wp-admin/includes/theme-install.php
160 160 <a href="#theme_detail" class="theme-detail hide-if-no-js" tabindex='4'><?php _e('Details') ?></a> 161 161 <div class="themedetaildiv hide-if-js"> 162 162 <p><strong><?php _e('Version:') ?></strong> <?php echo wp_kses($theme->version, $themes_allowedtags) ?></p> 163 <p><strong><?php _e('Author:') ?></strong> <?php echo wp_kses($theme->author, $themes_allowedtags) ?> </p>163 <p><strong><?php _e('Author:') ?></strong> <?php echo wp_kses($theme->author, $themes_allowedtags) ?> 164 164 <?php if ( ! empty($theme->last_updated) ) : ?> 165 <p><strong><?php _e('Last Updated:') ?></strong> <span title="<?php echo $theme->last_updated ?>"><?php printf( __('%s ago'), human_time_diff(strtotime($theme->last_updated)) ) ?></span></p> 166 <?php endif; if ( ! empty($theme->requires) ) : ?> 165 <span class="description"><?php printf( __('updated %s ago'), human_time_diff(strtotime($theme->last_updated)) ) ?></span> 166 <?php endif; ?></p> 167 <?php if ( ! empty($theme->requires) ) : ?> 167 168 <p><strong><?php _e('Requires WordPress Version:') ?></strong> <?php printf(__('%s or higher'), $theme->requires) ?></p> 168 169 <?php endif; if ( ! empty($theme->tested) ) : ?> 169 170 <p><strong><?php _e('Compatible up to:') ?></strong> <?php echo $theme->tested ?></p> 170 <?php endif; if ( ! empty($theme->downloaded) ) : ?>171 <?php endif; if ( ! empty($theme->downloaded) ) : ?> 171 172 <p><strong><?php _e('Downloaded:') ?></strong> <?php printf(_n('%s time', '%s times', $theme->downloaded), number_format_i18n($theme->downloaded)) ?></p> 172 173 <?php endif; ?> 173 174 <div class="star-holder" title="<?php printf(_n('(based on %s rating)', '(based on %s ratings)', $theme->num_ratings), number_format_i18n($theme->num_ratings)) ?>"> 174 175 <div class="star star-rating" style="width: <?php echo esc_attr($theme->rating) ?>px"></div> 175 <div class="star star5"><img src="<?php echo admin_url('images/star.gif'); ?>" alt="<?php _e('5 stars') ?>" /></div> 176 <div class="star star4"><img src="<?php echo admin_url('images/star.gif'); ?>" alt="<?php _e('4 stars') ?>" /></div> 177 <div class="star star3"><img src="<?php echo admin_url('images/star.gif'); ?>" alt="<?php _e('3 stars') ?>" /></div> 178 <div class="star star2"><img src="<?php echo admin_url('images/star.gif'); ?>" alt="<?php _e('2 stars') ?>" /></div> 179 <div class="star star1"><img src="<?php echo admin_url('images/star.gif'); ?>" alt="<?php _e('1 star') ?>" /></div> 176 <?php for ($i = 1; $i <= 5; $i++) { ?> 177 <div class="star star<?php echo $i ?>"><img src="<?php echo admin_url('images/star.gif'); ?>" alt="<?php printf(_n('%s star', '%s stars', $i), $i) ?>" /></div> 178 <?php } ?> 180 179 </div> 181 180 </div> 182 181 <?php }