From: Thijs K. <ki...@us...> - 2003-11-10 12:12:11
|
Update of /cvsroot/squirrelmail/squirrelmail/src In directory sc8-pr-cvs1:/tmp/cvs-serv883/src Modified Files: Tag: SM-1_4-STABLE addressbook.php Log Message: Reintroduce alternating row colors in addressbook, which had disappeared accidentally somewhere in the past. Thanks Ronan Salmon for the tip. Index: addressbook.php =================================================================== RCS file: /cvsroot/squirrelmail/squirrelmail/src/addressbook.php,v retrieving revision 1.58.2.4 retrieving revision 1.58.2.5 diff -u -w -r1.58.2.4 -r1.58.2.5 --- addressbook.php 1 Oct 2003 17:34:20 -0000 1.58.2.4 +++ addressbook.php 10 Nov 2003 12:12:08 -0000 1.58.2.5 @@ -365,7 +365,7 @@ 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="' . @@ -375,7 +375,7 @@ html_tag( 'td', ' ' . $row['lastname'] . ' ' . $row['firstname'] . ' ', 'left', '', 'valign="top" width="1%" nowrap' ) . html_tag( 'td', '', 'left', '', 'valign="top" width="1%" nowrap' ) . ' '; } else { - echo html_tag( 'tr', '') . + echo html_tag( 'tr', '', '', $tr_bgcolor) . html_tag( 'td', '<SMALL>' . '<INPUT TYPE=checkbox ' . $selected . ' NAME="sel[]" VALUE="' . |