removed just added htmlspecialvars around the date column because it fucks
[squirrelmail.git] / themes / greenhouse_effect.php
index 5505925d4a1382358db00b4f668d06e37a8f3ded..01475130dbefd5f80aa35310afbe5b9743991ddf 100755 (executable)
@@ -1,23 +1,24 @@
 <?php
 
 /**
- * dompie_theme.php
- *    Name:    Greenhouse Effect
- *    Author:  Joey Bump
- *    Date:    October 20, 2001
- *    Comment: This theme generates random colors, featuring a
- *             light greenish background.
+ * Name:    Greenhouse Effect
+ * @author Joey Bump
+ * Date:    October 20, 2001
+ * Comment: This theme generates random colors, featuring a
+ *          light greenish background.
  *
- * Copyright (c) 2000-2002 The SquirrelMail Project Team
+ * Copyright (c) 2000-2005 The SquirrelMail Project Team
  * Licensed under the GNU GPL. For full terms see the file COPYING.
  *
  * $Id$
+ * @package squirrelmail
+ * @subpackage themes
  */
 
 /** seed the random number generator **/
 sq_mt_randomize();
 
-for ($i = 0; $i <= 14; $i++) {
+for ($i = 0; $i <= 15; $i++) {
     /* background/foreground toggle **/
     if (($i == 0) || ($i == 3) || ($i == 4) || ($i == 5)
          || ($i == 9) || ($i == 10) || ($i == 12)) {
@@ -37,7 +38,8 @@ for ($i = 0; $i <= 14; $i++) {
     }
 
     /** 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);
+}
 
 
 
@@ -62,4 +64,4 @@ for ($i = 0; $i <= 14; $i++) {
  *   $color[14]  = '#xxxxxx';  // Color for quoted text -- >> 2 or more
  **/
 
-?>
+?>
\ No newline at end of file