Fix requirements to reflect actual requirements according to Marc.
[squirrelmail.git] / themes / spice_of_life_dark.php
index 31ce2888fc126df0a886c08cab5ec2d0f594358d..36c64553d113278b6d7b1c63e5d21ec3d74f32e6 100755 (executable)
@@ -8,7 +8,7 @@
  *    Comment: This theme generates random colors,
  *             featuring a dark background with light text.
  *
- * 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$
@@ -23,7 +23,7 @@ $bg = mt_rand(0,1);
 /** range delimiter **/
 $bgrd = $bg * 128;
 
-for ($i = 0; $i <= 14; $i++) {
+for ($i = 0; $i <= 15; $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) {
         /** background **/
@@ -41,7 +41,7 @@ for ($i = 0; $i <= 14; $i++) {
     $b = mt_rand($cmin,$cmax);
 
     /** 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);
 }