diff --git a/libraries/display_tbl.lib.php b/libraries/display_tbl.lib.php
index 1be9960cd..2acf36829 100644
--- a/libraries/display_tbl.lib.php
+++ b/libraries/display_tbl.lib.php
@@ -1107,12 +1107,14 @@ function PMA_displayTableBody(&$dt_result, &$is_display, $map, $analyzed_sql) {
echo '' . "\n";
} // end if
+ $alternating_color_class = ($odd_row ? 'odd' : 'even');
+ $odd_row = ! $odd_row;
+
if ($_SESSION['tmp_user_values']['disp_direction'] == 'horizontal'
|| $_SESSION['tmp_user_values']['disp_direction'] == 'horizontalflipped') {
// pointer code part
- echo '
';
+ echo '
';
}
- $odd_row = ! $odd_row;
// 1. Prepares the row
@@ -1222,7 +1224,7 @@ function PMA_displayTableBody(&$dt_result, &$is_display, $map, $analyzed_sql) {
$is_field_truncated = false;
//If the previous column had blob data, we need to reset the class
// to $data_inline_edit_class
- $class = $data_inline_edit_class;
+ $class = $data_inline_edit_class . ' ' . $alternating_color_class;
// See if this column should get highlight because it's used in the
// where-query.
@@ -1454,7 +1456,7 @@ function PMA_displayTableBody(&$dt_result, &$is_display, $map, $analyzed_sql) {
}
if (!empty($del_url) && $is_display['del_lnk'] != 'kp') {
- $vertical_display['row_delete'][$row_no] .= '