Make all comparisons case insensitive for forwarded protocol in get_location()
[squirrelmail.git] / themes / shades_of_grey.php
index 50592acbf03ad915d57a7a56b762f09cda5e58a8..83e5a62a865169a986fd4cdb19f99eed5b8e1966 100755 (executable)
@@ -25,9 +25,9 @@ include_once(SM_PATH . 'functions/strings.php');
 /** seed the random number generator */
 sq_mt_randomize();
 
-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 */
         $r = mt_rand(176,255);
         $g = $r;