Use a template for the edit list widget
[squirrelmail.git] / themes / spice_of_life_lite.php
index ea520c15205cc97abe5e086f009c24c3b592d5c9..0ca4e5f2ca813be710f9169d51b899d1149f90b3 100755 (executable)
@@ -25,15 +25,9 @@ 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;