More code cleanup
[squirrelmail.git] / themes / spice_of_life.php
index 88e6bea14e3d7ee6ca4eef6a8d86ecc034c6bb90..cc799f423812fb9bec5da461de332cfcdc46e533 100755 (executable)
@@ -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);
 }