this code is present at 3 different places...
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@7673
7612ce4b-ef26-0410-bec9-
ea0150e637f0
echo "</tr>\n";
while (list($undef, $row) = each($res)) {
- $tr_bgcolor = '';
$email = htmlspecialchars(addcslashes(AddressBook::full_address($row), "'"), ENT_QUOTES);
- if ($line % 2) { $tr_bgcolor = $color[0]; }
+ if ($line % 2) {
+ $tr_bgcolor = $color[12];
+ } else {
+ $tr_bgcolor = $color[4];
+ }
echo html_tag( 'tr', '', '', $tr_bgcolor, 'nowrap' ) .
html_tag( 'td',
'<small><a href="javascript:to_address(' .
echo "</tr>\n";
foreach ($res as $row) {
- $tr_bgcolor = '';
$email = AddressBook::full_address($row);
- if ($line % 2) { $tr_bgcolor = $color[0]; }
+ if ($line % 2) {
+ $tr_bgcolor = $color[12];
+ } else {
+ $tr_bgcolor = $color[4];
+ }
if ($squirrelmail_language == 'ja_JP')
{
echo html_tag( 'tr', '', '', $tr_bgcolor, 'nowrap' ) .