Changeset 19143 for trunk/wp-admin/credits.php
- Timestamp:
- 11/04/2011 12:37:56 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/credits.php
r19141 r19143 24 24 '<p>' . __('<a href="http://wordpress.org/support/" target="_blank">Support Forums</a>') . '</p>' 25 25 ); 26 27 add_action( 'admin_head', '_wp_credits_add_css' );28 function _wp_credits_add_css() { ?>29 <style type="text/css">30 div.wrap { max-width: 750px }31 h3.wp-people-group, p.wp-credits-list { clear: both; }32 ul.compact { margin-bottom: 0 }33 34 <?php if ( is_rtl() ) { ?>35 li.wp-person { float: right; margin-left: 10px; }36 li.wp-person img.gravatar { float: right; margin-left: 10px; }37 <?php } else { ?>38 li.wp-person { float: left; margin-right: 10px; }39 li.wp-person img.gravatar { float: left; margin-right: 10px; }40 <?php } ?>41 li.wp-person img.gravatar { width: 60px; height: 60px; margin-bottom: 10px; }42 ul.compact li.wp-person img.gravatar { width: 30px; height: 30px; }43 li.wp-person { height: 70px; width: 220px; }44 ul.compact li.wp-person { height: 40px; width: auto; white-space: nowrap }45 li.wp-person a.web { font-size: 16px; text-decoration: none; }46 p.wp-credits-list a { white-space: nowrap; }47 </style>48 <?php }49 26 50 27 function wp_credits() { … … 101 78 </h2> 102 79 80 <h3><?php _e( 'Credits' ); ?></h3> 81 103 82 <?php 104 83 … … 106 85 107 86 if ( ! $credits ) { 108 echo '<p >' . sprintf( __( 'WordPress is created by a <a href="%1$s">worldwide team</a> of passionate individuals. <a href="%2$s">Get involved in WordPress</a>.' ),87 echo '<p class="about-description">' . sprintf( __( 'WordPress is created by a <a href="%1$s">worldwide team</a> of passionate individuals. <a href="%2$s">Get involved in WordPress</a>.' ), 109 88 'http://wordpress.org/about/', 110 89 /* translators: Url to the codex documentation on contributing to WordPress used on the credits page */ … … 114 93 } 115 94 116 echo '<p >' . __( 'WordPress is created by a worldwide team of passionate individuals. We couldn’t possibly list them all, but here some of the most influential people currently involved with the project:' ) . "</p>\n";95 echo '<p class="about-description">' . __( 'WordPress is created by a worldwide team of passionate individuals. We couldn’t possibly list them all, but here some of the most influential people currently involved with the project:' ) . "</p>\n"; 117 96 118 97 $gravatar = is_ssl() ? 'https://secure.gravatar.com/avatar/' : 'http://0.gravatar.com/avatar/'; … … 129 108 } 130 109 131 echo '<h 3 class="wp-people-group">' . $title . "</h3>\n";110 echo '<h4 class="wp-people-group">' . $title . "</h4>\n"; 132 111 } 133 112 … … 155 134 echo '<a class="web" href="' . sprintf( $credits['data']['profiles'], $person_data[2] ) . '">' . $person_data[0] . "</a>\n\t"; 156 135 if ( ! $compact ) 157 echo '< br /><span class="title">' . translate( $person_data[3] ) . "</span>\n";136 echo '<span class="title">' . translate( $person_data[3] ) . "</span>\n"; 158 137 echo "</li>\n"; 159 138 }
Note: See TracChangeset
for help on using the changeset viewer.