Changeset 6936 for trunk/wp-admin/includes/template.php
- Timestamp:
- 02/20/2008 09:29:27 AM (19 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/includes/template.php (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/template.php
r6933 r6936 54 54 $posts_count = ( $category->count > 0 ) ? "<a href='edit.php?cat=$category->term_id'>$category->count</a>" : $category->count; 55 55 $output = "<tr id='cat-$category->term_id'$class> 56 <th scope='row' style='text-align: center'><input type='checkbox' name='delete[]' value='$category->term_id' /></th>56 <th scope='row' class='check-column'><input type='checkbox' name='delete[]' value='$category->term_id' /></th> 57 57 <td>$edit</td> 58 58 <td>$category->description</td> … … 82 82 $count = ( $category->count > 0 ) ? "<a href='link-manager.php?cat_id=$category->term_id'>$category->count</a>" : $category->count; 83 83 $output = "<tr id='link-cat-$category->term_id'$class>" . 84 '<t d style="text-align: center"> <input type="checkbox" name="delete[]" value="' . $category->term_id . '" /></td>' .84 '<th scope="row" class="check-column"> <input type="checkbox" name="delete[]" value="' . $category->term_id . '" /></th>' . 85 85 "<td>$edit</td> 86 86 <td>$category->description</td> … … 235 235 $out = ''; 236 236 $out .= '<tr id="tag-' . $tag->term_id . '"' . $class . '>'; 237 $out .= '<t d style="text-align: center"> <input type="checkbox" name="delete_tags[]" value="' . $tag->term_id . '" /></td>';237 $out .= '<th scope="row" class="check-column"> <input type="checkbox" name="delete_tags[]" value="' . $tag->term_id . '" /></th>'; 238 238 $out .= '<td><a href="edit-tags.php?action=edit&tag_ID=' . $tag->term_id . '">' . 239 239 apply_filters( 'term_name', $tag->name ) . '</td>'; … … 369 369 case 'cb': 370 370 ?> 371 <th scope="row" style="text-align: center"><input type="checkbox" name="delete[]" value="<?php the_ID(); ?>" /></th>371 <th scope="row" class="check-column"><input type="checkbox" name="delete[]" value="<?php the_ID(); ?>" /></th> 372 372 <?php 373 373 break; … … 551 551 $role_name = translate_with_context($wp_roles->role_names[$role]); 552 552 $r = "<tr id='user-$user_object->ID'$style> 553 <t d><input type='checkbox' name='users[]' id='user_{$user_object->ID}' class='$role' value='{$user_object->ID}' /></td>553 <th scope='row' class='check-column'><input type='checkbox' name='users[]' id='user_{$user_object->ID}' class='$role' value='{$user_object->ID}' /></th> 554 554 <td><strong>$edit</strong></td> 555 555 <td>$user_object->first_name $user_object->last_name</td>
Note:
See TracChangeset
for help on using the changeset viewer.