Make WordPress Core


Ignore:
Timestamp:
07/06/2004 06:14:42 PM (22 years ago)
Author:
saxmatt
Message:

​http://mosquito.wordpress.org/bug_view_page.php?bug_id=0000145 and a few other hardcoded styles.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/admin-functions.php

    r1448 r1454  
    118118                                $pad = str_repeat('— ', $level);
    119119
    120                                 $bgcolor = ('#eee' == $bgcolor) ? 'none' : '#eee';
    121                                 echo "<tr style='background-color: $bgcolor'><th scope='row'>$category->cat_ID</th><td>$pad $category->cat_name</td>
     120                                $class = ('alternate' == $class) ? '' : 'alternate';
     121                                echo "<tr class='$class'><th scope='row'>$category->cat_ID</th><td>$pad $category->cat_name</td>
    122122                                <td>$category->category_description</td>
    123123                                <td>$count</td>
Note: See TracChangeset for help on using the changeset viewer.