X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=blobdiff_plain;f=themes%2Fspice_of_life_lite.php;h=1147bf0e245108712b154b2f6e59a3ec04b08188;hp=ea520c15205cc97abe5e086f009c24c3b592d5c9;hb=ce102fcc55bdbde46a6ecd8897c0df0567f19610;hpb=f627180c1eb32250e9656c94ba8740610a99d19a diff --git a/themes/spice_of_life_lite.php b/themes/spice_of_life_lite.php old mode 100755 new mode 100644 index ea520c15..1147bf0e --- a/themes/spice_of_life_lite.php +++ b/themes/spice_of_life_lite.php @@ -7,7 +7,7 @@ * lite background with dark text. * * @author Jorey Bump - * @copyright © 2000-2007 The SquirrelMail Project Team + * @copyright 2000-2011 The SquirrelMail Project Team * @license http://opensource.org/licenses/gpl-license.php GNU Public License * @version $Id$ * @package squirrelmail @@ -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;