Changeset 9758
- Timestamp:
- 11/18/2008 05:41:50 PM (17 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/includes/template.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/template.php
r9757 r9758 110 110 */ 111 111 function _cat_row( $category, $level, $name_override = false ) { 112 static $row_class ;112 static $row_class = ''; 113 113 114 114 $category = get_category( $category, OBJECT, 'display' ); … … 270 270 */ 271 271 function link_cat_row( $category, $name_override = false ) { 272 global $class;272 static $row_class = ''; 273 273 274 274 if ( !$category = get_term( $category, 'link_category', OBJECT, 'display' ) ) … … 298 298 } 299 299 300 $ class = 'alternate' == $class ? '' : 'alternate';300 $row_class = 'alternate' == $row_class ? '' : 'alternate'; 301 301 $qe_data = get_term_to_edit($category->term_id, 'link_category'); 302 302 303 303 $category->count = number_format_i18n( $category->count ); 304 304 $count = ( $category->count > 0 ) ? "<a href='link-manager.php?cat_id=$category->term_id'>$category->count</a>" : $category->count; 305 $output = "<tr id='link-cat-$category->term_id' class='iedit $ class'>";305 $output = "<tr id='link-cat-$category->term_id' class='iedit $row_class'>"; 306 306 $columns = get_column_headers('edit-link-categories'); 307 307 $hidden = get_hidden_columns('edit-link-categories');
Note: See TracChangeset
for help on using the changeset viewer.