Reintroduce alternating colors in addressbook, something that has
[squirrelmail.git] / src / addressbook.php
index e4ceed557e09549856519a5a274b3fec7fbe49fd..a01466dbc451c6843377ab65ec8cc5e5027ac2ba 100644 (file)
@@ -376,7 +376,7 @@ if ($showaddrlist) {
             if ($line % 2) { $tr_bgcolor = $color[0]; }
             if ($squirrelmail_language == 'ja_JP')
                 {
-            echo html_tag( 'tr', '') .
+            echo html_tag( 'tr', '', '', $tr_bgcolor) .
                 html_tag( 'td',
                           '<SMALL>' .
                           '<INPUT TYPE=checkbox ' . $selected . ' NAME="sel[]" VALUE="' .
@@ -386,7 +386,7 @@ if ($showaddrlist) {
                 html_tag( 'td', '&nbsp;' . $row['lastname'] . ' ' . $row['firstname'] . '&nbsp;', 'left', '', 'valign="top" width="1%" nowrap' ) .
                 html_tag( 'td', '', 'left', '', 'valign="top" width="1%" nowrap' ) . '&nbsp;';
                 } else {
-            echo html_tag( 'tr', '') .
+            echo html_tag( 'tr', '', '', $tr_bgcolor) .
             html_tag( 'td',
                 '<SMALL>' .
                 '<INPUT TYPE=checkbox ' . $selected . ' NAME="sel[]" VALUE="' .