X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=themes%2Fgreenhouse_effect.php;h=192faecbfafcd5edab7c3c915c65ce28231bdde5;hb=43bfec116f4144ef385ef32311d8516cbf5f2270;hp=5505925d4a1382358db00b4f668d06e37a8f3ded;hpb=d88b6310bf07308c2f2a3ebd2c2d27028d872a0a;p=squirrelmail.git diff --git a/themes/greenhouse_effect.php b/themes/greenhouse_effect.php index 5505925d..192faecb 100755 --- a/themes/greenhouse_effect.php +++ b/themes/greenhouse_effect.php @@ -8,7 +8,7 @@ * Comment: This theme generates random colors, featuring a * light greenish background. * - * Copyright (c) 2000-2002 The SquirrelMail Project Team + * Copyright (c) 2000-2003 The SquirrelMail Project Team * Licensed under the GNU GPL. For full terms see the file COPYING. * * $Id$ @@ -17,7 +17,7 @@ /** seed the random number generator **/ sq_mt_randomize(); -for ($i = 0; $i <= 14; $i++) { +for ($i = 0; $i <= 15; $i++) { /* background/foreground toggle **/ if (($i == 0) || ($i == 3) || ($i == 4) || ($i == 5) || ($i == 9) || ($i == 10) || ($i == 12)) { @@ -37,7 +37,8 @@ for ($i = 0; $i <= 14; $i++) { } /** set array element as hex string with hashmark (for HTML output) **/ - $color[$i] = sprintf("#%02X%02X%02X",$r,$g,$b); + $color[$i] = sprintf('#%02X%02X%02X',$r,$g,$b); +}