Fix users table formatting. Props Potter_System and markjaquith. fixes #5784
git-svn-id: https://develop.svn.wordpress.org/trunk@6776 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
347f594c9f
commit
45ded6c49a
@ -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>
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user