WordPress.org

Make WordPress Core

Changeset 9464


Ignore:
Timestamp:
11/01/2008 11:19:13 AM (12 years ago)
Author:
matt
Message:

Gravatars for user page.

Location:
trunk/wp-admin
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/template.php

    r9455 r9464  
    17081708    $columns = get_column_headers('user');
    17091709    $hidden = (array) get_user_option( 'manage-user-columns-hidden' );
     1710    $avatar = get_avatar( $user_object->user_email, 32 );
    17101711    foreach ( $columns as $column_name => $column_display_name ) {
    17111712        $class = "class=\"$column_name column-$column_name\"";
     
    17221723                break;
    17231724            case 'username':
    1724                 $r .= "<td $attributes>$edit</td>";
     1725                $r .= "<td $attributes>$avatar $edit</td>";
    17251726                break;
    17261727            case 'name':
     
    28292830                <label class="hidden" for="find-posts-input"><?php _e( 'Search' ); ?></label>
    28302831                <input type="text" id="find-posts-input" class="search-input" name="ps" value="" />
    2831                 <input type="button" onclick="findPosts.send();" value="<?php _e( 'Search' ); ?>" class="button" /><br />
     2832                <input type="button" onClick="findPosts.send();" value="<?php _e( 'Search' ); ?>" class="button" /><br />
    28322833
    28332834                <input type="radio" name="find-posts-what" id="find-posts-posts" checked="checked" value="posts" />
     
    28392840        </div>
    28402841        <div class="find-box-buttons">
    2841             <input type="button" class="button" onclick="findPosts.close();" value="<?php _e('Close'); ?>" />
     2842            <input type="button" class="button" onClick="findPosts.close();" value="<?php _e('Close'); ?>" />
    28422843            <input id="find-posts-submit" type="submit" class="button" value="<?php _e('Select'); ?>" />
    28432844        </div>
  • trunk/wp-admin/wp-admin.css

    r9463 r9464  
    661661}
    662662
    663 .column-author img {
     663.column-author img, .column-username img {
    664664    float: left;
    665665    margin-right: 10px;
Note: See TracChangeset for help on using the changeset viewer.