Changeset 7595
- Timestamp:
- 04/03/2008 05:02:19 AM (18 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/includes/template.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/template.php
r7528 r7595 56 56 <th scope='row' class='check-column'>"; 57 57 if ( absint(get_option( 'default_category' ) ) != $category->term_id ) { 58 $output .= "<input type='checkbox' name='delete[]' value='$category->term_id' /> </th>";58 $output .= "<input type='checkbox' name='delete[]' value='$category->term_id' />"; 59 59 } else { 60 60 $output .= " "; 61 61 } 62 $output .= "<td>$edit</td> 62 $output .= "</th> 63 <td>$edit</td> 63 64 <td>$category->description</td> 64 65 <td class='num'>$posts_count</td>\n\t</tr>\n"; … … 87 88 $category->count = number_format_i18n( $category->count ); 88 89 $count = ( $category->count > 0 ) ? "<a href='link-manager.php?cat_id=$category->term_id'>$category->count</a>" : $category->count; 89 $output = "<tr id='link-cat-$category->term_id'$class>" . 90 '<th scope="row" class="check-column"> <input type="checkbox" name="delete[]" value="' . $category->term_id . '" /></th>' . 91 "<td>$edit</td> 92 <td>$category->description</td> 93 <td class='num'>$count</td></tr>"; 90 $output = "<tr id='link-cat-$category->term_id'$class> 91 <th scope='row' class='check-column'>"; 92 if ( absint( get_option( 'default_link_category' ) ) != $category->term_id ) { 93 $output .= "<input type='checkbox' name='delete[]' value='$category->term_id' />"; 94 } else { 95 $output .= " "; 96 } 97 $output .= "</th> 98 <td>$edit</td> 99 <td>$category->description</td> 100 <td class='num'>$count</td></tr>"; 94 101 95 102 return apply_filters( 'link_cat_row', $output );
Note: See TracChangeset
for help on using the changeset viewer.