[prev in list] [next in list] [prev in thread] [next in thread] 

List:       squirrelmail-cvs
Subject:    Re: [SM-CVS] CVS: squirrelmail/functions mime.php,1.256,1.257
From:       Jonathan Angliss <jon () squirrelmail ! net>
Date:       2003-02-27 15:32:20
[Download RAW message or body]

> Modified Files:
>         mime.php 
> Log Message:
> Swap colors, because new %2 test by Jon is true when the number is NOT
> dividable by 2 (3%2=1) so to keep the old color for one '>' we need to
> swap the colors. 

The original test (before I changed it) said... make any reply line
*greater* than 1, $color[14]. My code change makes any even reply line
$color[14]. This means that the first reply is $color[13] with my
code. Your changes make it so that the first reply line is $color[14]
doesn't it?  Plus instead of changing the code you did, you could have
just made the if statement an inverse... ie:

if (!($quote %2))

:)

-- 
Jon Angliss
(jon@squirrelmail.org)



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
--
squirrelmail-cvs mailing list
List Address: squirrelmail-cvs@lists.sourceforge.net
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-cvs
http://squirrelmail.org/cvs
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic