From ef5bea7d2cd70975baab2accc10d3832a44cd0a8 Mon Sep 17 00:00:00 2001 From: kink Date: Mon, 10 Nov 2003 12:07:18 +0000 Subject: [PATCH] Reintroduce alternating colors in addressbook, something that has (probably) accidentally disappeard in the past. Thanks Ronan Salmon for the tip, closes #823290. git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@6133 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- ChangeLog | 2 ++ src/addressbook.php | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 553ae87b..af169f18 100644 --- a/ChangeLog +++ b/ChangeLog @@ -106,6 +106,8 @@ Version 1.5.0 -- CVS - New function: imap_general.php:create_imap_stream() - Updated src/login.php to detect, handle, and warn on LOGINDISABLED from IMAP server. - Fixed SquirrelMail to work under PHP5. + - Reintroduce alternating row colors in addressbook, something that has + accidentally disappeared in the past. ************************************** *** SquirrelMail Stable Series 1.4 *** diff --git a/src/addressbook.php b/src/addressbook.php index e4ceed55..a01466db 100644 --- a/src/addressbook.php +++ b/src/addressbook.php @@ -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', '' . '' . '