Ticket #20626: 20626.diff
File 20626.diff, 6.8 KB (added by , 12 years ago) |
---|
-
wp-admin/includes/plugin-install.php
343 343 <h2><?php _e('Average Rating') ?></h2> 344 344 <div class="star-holder" title="<?php printf(_n('(based on %s rating)', '(based on %s ratings)', $api->num_ratings), number_format_i18n($api->num_ratings)); ?>"> 345 345 <div class="star star-rating" style="width: <?php echo esc_attr( str_replace( ',', '.', $api->rating ) ); ?>px"></div> 346 <div class="star star5"><img src="<?php echo admin_url('images/star.png?v=20110615'); ?>" alt="<?php esc_attr_e('5 stars') ?>" /></div>347 <div class="star star4"><img src="<?php echo admin_url('images/star.png?v=20110615'); ?>" alt="<?php esc_attr_e('4 stars') ?>" /></div>348 <div class="star star3"><img src="<?php echo admin_url('images/star.png?v=20110615'); ?>" alt="<?php esc_attr_e('3 stars') ?>" /></div>349 <div class="star star2"><img src="<?php echo admin_url('images/star.png?v=20110615'); ?>" alt="<?php esc_attr_e('2 stars') ?>" /></div>350 <div class="star star1"><img src="<?php echo admin_url('images/star.png?v=20110615'); ?>" alt="<?php esc_attr_e('1 star') ?>" /></div>351 346 </div> 352 347 <small><?php printf(_n('(based on %s rating)', '(based on %s ratings)', $api->num_ratings), number_format_i18n($api->num_ratings)); ?></small> 353 348 <?php endif; ?> -
wp-admin/includes/class-wp-plugin-install-list-table.php
218 218 <td class="vers column-rating"<?php echo $style['rating']; ?>> 219 219 <div class="star-holder" title="<?php printf( _n( '(based on %s rating)', '(based on %s ratings)', $plugin['num_ratings'] ), number_format_i18n( $plugin['num_ratings'] ) ) ?>"> 220 220 <div class="star star-rating" style="width: <?php echo esc_attr( str_replace( ',', '.', $plugin['rating'] ) ); ?>px"></div> 221 <?php222 $color = get_user_option('admin_color');223 if ( empty($color) || 'fresh' == $color )224 $star_url = admin_url( 'images/gray-star.png?v=20110615' ); // 'Fresh' Gray star for list tables225 else226 $star_url = admin_url( 'images/star.png?v=20110615' ); // 'Classic' Blue star227 ?>228 <div class="star star5"><img src="<?php echo $star_url; ?>" alt="<?php esc_attr_e( '5 stars' ) ?>" /></div>229 <div class="star star4"><img src="<?php echo $star_url; ?>" alt="<?php esc_attr_e( '4 stars' ) ?>" /></div>230 <div class="star star3"><img src="<?php echo $star_url; ?>" alt="<?php esc_attr_e( '3 stars' ) ?>" /></div>231 <div class="star star2"><img src="<?php echo $star_url; ?>" alt="<?php esc_attr_e( '2 stars' ) ?>" /></div>232 <div class="star star1"><img src="<?php echo $star_url; ?>" alt="<?php esc_attr_e( '1 star' ) ?>" /></div>233 221 </div> 234 222 </td> 235 223 <td class="desc column-description"<?php echo $style['description']; ?>><?php echo $description, $author; ?></td> -
wp-admin/includes/update-core.php
359 359 'wp-includes/js/tinymce/themes/advanced/skins/wp_theme/img/fade-butt.png', 360 360 'wp-includes/js/tinymce/themes/advanced/skins/wp_theme/img/separator.gif', 361 361 // 3.4 362 'wp-admin/images/gray-star.png', 362 363 'wp-admin/images/logo-login.png', 364 'wp-admin/images/star.png', 363 365 'wp-admin/index-extra.php', 364 366 'wp-admin/network/index-extra.php', 365 367 'wp-admin/user/index-extra.php', -
wp-admin/css/wp-admin-rtl.dev.css
2232 2232 } 2233 2233 2234 2234 /* plugin-install */ 2235 div.star { 2236 left: auto; 2237 right: 0; 2238 letter-spacing: 0; 2235 div.star-holder { 2236 background: url('../images/stars-rtl.png?ver=20120506.png') repeat-x bottom right; 2239 2237 } 2240 2241 .star img, div.star a, div.star a:hover, div.star a:visited { 2242 right: auto; 2243 left: 0; 2238 div.star-holder .star-rating { 2239 background: url('../images/stars-rtl.png?ver=20120506.png') repeat-x top right; 2240 float: right; 2244 2241 } 2245 2246 2242 #plugin-information ul#sidemenu { 2247 2243 left: auto; 2248 2244 right: 0; -
wp-admin/css/wp-admin.dev.css
6999 6999 } 7000 7000 7001 7001 /* plugin-install */ 7002 /* NOTE: the following CSS rules(.star*) are taken more or less straight from the bbPress rating plugin. */7003 7002 div.star-holder { 7004 7003 position: relative; 7005 height: 1 9px;7004 height: 17px; 7006 7005 width: 100px; 7007 font-size: 19px;7006 background: url('../images/stars.png?ver=20120307') repeat-x bottom left; 7008 7007 } 7009 7008 7009 div.star-holder .star-rating { 7010 background: url('../images/stars.png?ver=20120307') repeat-x top left; 7011 height: 17px; 7012 float: left; 7013 } 7014 7010 7015 div.action-links { 7011 7016 font-weight: normal; 7012 7017 margin: 6px 0 0; 7013 7018 } 7014 7019 7015 div.star {7016 height: 100%;7017 position: absolute;7018 top: 0;7019 left: 0;7020 background-color: transparent;7021 letter-spacing: 1ex;7022 border: none;7023 }7024 7025 .star1 { width: 20%; }7026 .star2 { width: 40%; }7027 .star3 { width: 60%; }7028 .star4 { width: 80%; }7029 .star5 { width: 100%; }7030 7031 .star img,7032 div.star a,7033 div.star a:hover,7034 div.star a:visited {7035 display: block;7036 position: absolute;7037 right: 0;7038 border: none;7039 text-decoration: none;7040 }7041 7042 div.star img {7043 width: 19px;7044 height: 19px;7045 }7046 7047 7020 /* Header on thickbox */ 7048 7021 #plugin-information-header { 7049 7022 margin: 0; -
wp-admin/css/colors-classic.dev.css
1883 1883 } 1884 1884 1885 1885 /* Install Plugins */ 1886 .star-average,1887 .star.star-rating {1888 background-color: #fc0;1889 }1890 1891 div.star.select:hover {1892 background-color: #d00;1893 }1894 1895 div.star img {1896 border-left: 1px solid #fff;1897 border-right: 1px solid #fff;1898 }1899 1900 1886 #plugin-information .fyi ul { 1901 1887 background-color: #eaf3fa; 1902 1888 } -
wp-admin/css/colors-fresh.dev.css
1497 1497 } 1498 1498 1499 1499 /* Install Plugins */ 1500 .star-average,1501 .star.star-rating {1502 background-color: #fc0;1503 }1504 1505 div.star.select:hover {1506 background-color: #d00;1507 }1508 1509 div.star img {1510 border-left: 1px solid #fff;1511 border-right: 1px solid #fff;1512 }1513 1514 .widefat div.star img {1515 border-left: 1px solid #f9f9f9;1516 border-right: 1px solid #f9f9f9;1517 }1518 1519 1500 #plugin-information .fyi ul { 1520 1501 background-color: #eaf3fa; 1521 1502 }