Fix users table formatting. Props Potter_System and markjaquith. fixes #5784

git-svn-id: http://svn.automattic.com/wordpress/trunk@6776 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2008-02-10 07:28:14 +00:00
parent 6f108ce6f3
commit 500c8f1ab8
2 changed files with 4 additions and 2 deletions

View File

@ -429,7 +429,8 @@ function user_row( $user_object, $style = '', $role = '' ) {
$short_url = substr( $short_url, 0, 32 ).'...';
$numposts = get_usernumposts( $user_object->ID );
$r = "<tr id='user-$user_object->ID'$style>
<td><input type='checkbox' name='users[]' id='user_{$user_object->ID}' class='$role' value='{$user_object->ID}' /> <label for='user_{$user_object->ID}'>{$user_object->ID}</label></td>
<td><input type='checkbox' name='users[]' id='user_{$user_object->ID}' class='$role' value='{$user_object->ID}' /></td>
<td><label for='user_{$user_object->ID}'>{$user_object->ID}</label></td>
<td><label for='user_{$user_object->ID}'><strong>$user_object->user_login</strong></label></td>
<td><label for='user_{$user_object->ID}'>$user_object->first_name $user_object->last_name</label></td>
<td><a href='mailto:$email' title='" . sprintf( __('e-mail: %s' ), $email ) . "'>$email</a></td>

View File

@ -291,12 +291,13 @@ foreach($roleclasses as $role => $roleclass) {
<?php endif; ?>
</tr>
<tr class="thead">
<th><input type="checkbox" onclick="checkAllUsers('<?php echo $role; ?>')"/></th>
<th><input type="checkbox" onclick="checkAllUsers('<?php echo $role; ?>')"/> </th>
<th><?php _e('ID') ?></th>
<th><?php _e('Username') ?></th>
<th><?php _e('Name') ?></th>
<th><?php _e('E-mail') ?></th>
<th><?php _e('Website') ?></th>
<th><?php _e('Posts created') ?></th>
<th colspan="2" style="text-align: center"><?php _e('Actions') ?></th>
</tr>
</tbody>