From: kink Date: Wed, 27 Jun 2007 16:17:26 +0000 (+0000) Subject: fix spice of life for newer color array X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=548656577ea3ca28db3a640b26faefdda234dc3a;p=squirrelmail.git fix spice of life for newer color array git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@12484 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- diff --git a/themes/spice_of_life.php b/themes/spice_of_life.php index 3be8549e..217e5e57 100755 --- a/themes/spice_of_life.php +++ b/themes/spice_of_life.php @@ -31,9 +31,9 @@ $bg = mt_rand(0,1); /** range delimiter **/ $bgrd = $bg * 128; -for ($i = 0; $i <= 15; $i++) { +for ($i = 0; $i <= 16; $i++) { /** background/foreground toggle **/ - if ($i == 0 or $i == 3 or $i == 4 or $i == 5 or $i == 9 or $i == 10 or $i == 12) { + if ($i == 0 or $i == 3 or $i == 4 or $i == 5 or $i == 9 or $i == 10 or $i == 12 or $i == 16) { /** background **/ $cmin = 0 + $bgrd; $cmax = 127 + $bgrd; diff --git a/themes/spice_of_life_dark.php b/themes/spice_of_life_dark.php index af9050c2..1e852470 100755 --- a/themes/spice_of_life_dark.php +++ b/themes/spice_of_life_dark.php @@ -25,9 +25,9 @@ include_once(SM_PATH . 'functions/strings.php'); /** seed the random number generator **/ sq_mt_randomize(); -for ($i = 0; $i <= 15; $i++) { +for ($i = 0; $i <= 16; $i++) { /** background/foreground toggle **/ - if ($i == 0 or $i == 3 or $i == 4 or $i == 5 or $i == 9 or $i == 10 or $i == 12) { + if ($i == 0 or $i == 3 or $i == 4 or $i == 5 or $i == 9 or $i == 10 or $i == 12 or $i == 16) { /** background **/ $cmin = 0; $cmax = 127; diff --git a/themes/spice_of_life_lite.php b/themes/spice_of_life_lite.php index 71a90868..0ca4e5f2 100755 --- a/themes/spice_of_life_lite.php +++ b/themes/spice_of_life_lite.php @@ -25,9 +25,9 @@ include_once(SM_PATH . 'functions/strings.php'); /** seed the random number generator **/ sq_mt_randomize(); -for ($i = 0; $i <= 15; $i++) { +for ($i = 0; $i <= 16; $i++) { /** background/foreground toggle **/ - if ($i == 0 or $i == 3 or $i == 4 or $i == 5 or $i == 9 or $i == 10 or $i == 12) { + if ($i == 0 or $i == 3 or $i == 4 or $i == 5 or $i == 9 or $i == 10 or $i == 12 or $i == 16) { /** background **/ $cmin = 128; $cmax = 255;