X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=blobdiff_plain;f=themes%2Fspice_of_life_lite.php;h=1ba89ffdb37b73cf6e427b7d6c11b48b44a4a2e2;hp=ea520c15205cc97abe5e086f009c24c3b592d5c9;hb=40b2024463f0c73db0487d0dd2337d5234015ed9;hpb=f627180c1eb32250e9656c94ba8740610a99d19a diff --git a/themes/spice_of_life_lite.php b/themes/spice_of_life_lite.php index ea520c15..1ba89ffd 100755 --- a/themes/spice_of_life_lite.php +++ b/themes/spice_of_life_lite.php @@ -19,21 +19,9 @@ if (isset($_SERVER['SCRIPT_FILENAME']) && $_SERVER['SCRIPT_FILENAME'] == __FILE_ die(); } -/** load sq_mt_randomize() */ -include_once(SM_PATH . 'functions/strings.php'); - -/** seed the random number generator **/ -sq_mt_randomize(); - -/** light(1) or dark(0) background? **/ -$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 = 128; $cmax = 255;