? files
? sites/localhost
? sites/all/modules
Index: includes/theme.inc
===================================================================
RCS file: /cvs/drupal/drupal/includes/theme.inc,v
retrieving revision 1.346
diff -u -F^f -r1.346 theme.inc
--- includes/theme.inc	6 Apr 2007 14:31:51 -0000	1.346
+++ includes/theme.inc	8 Apr 2007 20:43:42 -0000
@@ -1092,6 +1092,8 @@ function theme_table($header, $rows, $at
   // Format the table rows:
   $output .= "<tbody>\n";
   if (count($rows)) {
+    $flip = array('even' => 'odd', 'odd' => 'even');
+    $class = 'even';
     foreach ($rows as $number => $row) {
       $attributes = array();
 
@@ -1111,7 +1113,7 @@ function theme_table($header, $rows, $at
       }
 
       // Add odd/even class
-      $class = ($number % 2 == 1) ? 'even': 'odd';
+      $class = $flip[$class];
       if (isset($attributes['class'])) {
         $attributes['class'] .= ' '. $class;
       }
