From: Lo?c C. <lo...@us...> - 2001-04-10 18:03:32
|
Update of /cvsroot/phpmychat/phpMyChat-0.15/chat In directory usw-pr-cvs1:/tmp/cvs-serv25630/chat Modified Files: input.php3 Log Message: Oups, there was a bug about allowed colors Index: input.php3 =================================================================== RCS file: /cvsroot/phpmychat/phpMyChat-0.15/chat/input.php3,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -r1.10 -r1.11 *** input.php3 2001/04/10 16:58:34 1.10 --- input.php3 2001/04/10 18:03:29 1.11 *************** *** 292,297 **** $g = ceil(126 * (cos(deg2rad($x + 240)) + 1)); $b = ceil(126 * (cos(deg2rad($x + 120)) + 1)); ! if (!($r > 128 && $g < 128 && $b < 128 && !(isset($status) ! && ($dbSessionVars['status'] == 'a' || $dbSessionVars['status'] == 'm')))) { $textColors[] = '#' --- 292,297 ---- $g = ceil(126 * (cos(deg2rad($x + 240)) + 1)); $b = ceil(126 * (cos(deg2rad($x + 120)) + 1)); ! if (!($r > 128 && $g < 128 && $b < 128 ! && !($dbSessionVars['status'] == 'a' || $dbSessionVars['status'] == 'm'))) { $textColors[] = '#' |