Added $color[15] for the "unselectable folders" color.
authorfidian <fidian@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Fri, 28 Dec 2001 20:16:19 +0000 (20:16 +0000)
committerfidian <fidian@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Fri, 28 Dec 2001 20:16:19 +0000 (20:16 +0000)
Made left_main.php use $color[15] and fall back on $color[6] if not specified.
Added a $color[15] for all themes.  If you don't like the new color, just
change it.  :-)
Fixed a bug in prefs.php.
Updated themes.txt documentation.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@1991 7612ce4b-ef26-0410-bec9-ea0150e637f0

34 files changed:
config/config_default.php
doc/themes.txt
functions/prefs.php
src/left_main.php
themes/black_bean_burrito_theme.php
themes/blue_grey_theme.php
themes/bluesnews_theme.php
themes/bluesteel_theme.php
themes/christmas.php
themes/dark_grey_theme.php
themes/darkness.php
themes/deepocean2_theme.php
themes/deepocean_theme.php
themes/default_theme.php
themes/dompie_theme.php
themes/forest_theme.php
themes/greenhouse_effect.php
themes/high_contrast_theme.php
themes/ice_theme.php
themes/in_the_pink.php
themes/kind_of_blue.php
themes/maize_theme.php
themes/methodical_theme.php
themes/midnight.php
themes/monostochastic.php
themes/plain_blue_theme.php
themes/sandstorm_theme.php
themes/seaspray_theme.php
themes/servery_theme.php
themes/shades_of_grey.php
themes/slashdot_theme.php
themes/spice_of_life.php
themes/spice_of_life_dark.php
themes/spice_of_life_lite.php

index ff6dc45b792296bd6d54e7a2356784b11428df9b..6cb02a44b1aeb405c404aecb7b166cac550864de 100644 (file)
@@ -327,8 +327,8 @@ $theme[15]['NAME'] = 'BluesNews';
 $theme[16]['PATH'] = '../themes/deepocean2_theme.php';
 $theme[16]['NAME'] = 'Deep Ocean 2';
 
-$theme[17]['PATH'] = '../themes/blue_gray_theme.php';
-$theme[17]['NAME'] = 'Blue Gray';
+$theme[17]['PATH'] = '../themes/blue_grey_theme.php';
+$theme[17]['NAME'] = 'Blue Grey';
 
 $theme[18]['PATH'] = '../themes/dompie_theme.php';
 $theme[18]['NAME'] = 'Dompie';
index 824c24f966bd21dbd65ae834d424615800bc5f98..69b5598ce04d29289bd074fb97e3d5bb6214a11b 100644 (file)
@@ -45,7 +45,7 @@ b  3: Left folder list background color
 b  4: Normal background color
 b  5: Header of the message index [From, Date, Subject]
 f  6: Normal text on the left folder list
-f  7: Links in the right frame, Folders with subfolders in left frame
+f  7: Links in the right frame
 f  8: Normal text [usually black]
 b  9: Darker version of #0
 b 10: Darker version of #9
@@ -53,8 +53,9 @@ f 11: Special folders color [Inbox, Trash, Sent]
 b 12: Alternate color for message list [alters between 4 and this one]
 f 13: Color for single-quoted text ("> text") when reading (default:  #800000)
 f 14: Color for text with more than one quote (default: #FF0000)
+f 15: Non-selectable folders in the left frame (defaults to $color[6])
 
 Next all you have to do is run conf.pl and add the theme to the list
 of themes available to you.  If you would like your theme to be 
 included in the distribution of SquirrelMail, just email it to
-<luke@squirrelmail.org> and I will review it.
+<captbunzo@squirrelmail.org>.
index a25ede50c3145c8d4b943a9f1136b2c923b3d33e..65a32de0b7cab1e3766282305406841c93bca739 100644 (file)
@@ -15,7 +15,7 @@ global $prefs_are_cached, $prefs_cache;
 
 if ( !session_is_registered('prefs_are_cached') ||
      !isset( $prefs_cache) ||
-     !is_array( prefs_cache) ) {
+     !is_array( $prefs_cache) ) {
     $prefs_are_cached = false;
     $prefs_cache = array();
 }
index 890de5496d78de8f42bf2f64ae3f44be383b075d..bf0f1d5f8d41ba07685035422459f7d4561cdd96 100644 (file)
@@ -333,8 +333,17 @@ for ($i = 0;$i < count($boxes); $i++) {
         $line = "<NOBR><TT>$prefix</TT>";
 
         /* Add the folder name and link. */
+       if (! isset($color[15])) {
+           if (isset($color[14])) {
+               $color[15] = $color[14];
+           } elseif (isset($color[13])) {
+               $color[15] = $color[13];
+           } else {
+               $color[15] = $color[6];
+           }
+       }
         if (in_array('noselect', $boxes[$i]['flags'])) {
-            $line .= "<FONT COLOR=\"$color[7]\">";
+            $line .= "<FONT COLOR=\"$color[15]\">";
             if (ereg("^( *)([^ ]*)", $mailbox, $regs)) {
                 $mailbox = str_replace('&nbsp;','',$mailbox);
                 $line .= str_replace(' ', '&nbsp;', $mailbox);
index b8c700424f417dc7c3cc001310e976ab0412af19..784cbea76845ec808a50c10872d47a45a4504f0d 100644 (file)
  */
 
 global $color;
-$color[0]   = "#595959"; // (mid-dark gray)     TitleBar
-$color[1]   = "#F88888"; // (light red)         Quoted Replies in Emails
-$color[2]   = "#ff7171"; // (pinkish)           Warning/Error Messages
-$color[3]   = "#000000"; // (black)             Left Bar Background
-$color[4]   = "#000000"; // (black)             Normal Background
-$color[5]   = "#373700"; // (dark yellow-green) Table Headers
-$color[6]   = "#D0D0D0"; // (off-white)         Text on left bar
-$color[7]   = "#cfcfa0"; // (very dull yellow)  Links
-$color[8]   = "#D0D0D0"; // (off-white)         Normal text
-$color[9]   = "#414141"; // (dark gray)         Darker version of #0
-$color[10]  = "#292929"; // (darker gray)       Darker version of #9
-$color[11]  = "#AAAA44"; // (gold)                     Special Folders color
-$color[12]  = "#202020"; // (dark gray)         Alternate color
-$color[13]  = "#FF7733"; // (orange-ish)        Single-quoted text
-$color[14]  = "#FF3377"; // (pink-ish)          2 or more quotes
-
+$color[0]   = '#595959'; // (mid-dark gray)     TitleBar
+$color[1]   = '#F88888'; // (light red)         Quoted Replies in Emails
+$color[2]   = '#ff7171'; // (pinkish)           Warning/Error Messages
+$color[3]   = '#000000'; // (black)             Left Bar Background
+$color[4]   = '#000000'; // (black)             Normal Background
+$color[5]   = '#373700'; // (dark yellow-green) Table Headers
+$color[6]   = '#D0D0D0'; // (off-white)         Text on left bar
+$color[7]   = '#cfcfa0'; // (very dull yellow)  Links
+$color[8]   = '#D0D0D0'; // (off-white)         Normal text
+$color[9]   = '#414141'; // (dark gray)         Darker version of #0
+$color[10]  = '#292929'; // (darker gray)       Darker version of #9
+$color[11]  = '#AAAA44'; // (gold)                     Special Folders color
+$color[12]  = '#202020'; // (dark gray)         Alternate color
+$color[13]  = '#FF7733'; // (orange-ish)        Single-quoted text
+$color[14]  = '#FF3377'; // (pink-ish)          2 or more quotes
+$color[15]  = '#414141'; // (darker gray)       unselectable folders
 ?>
index 6fbe70bac45783d36a502474ff298a9208d058d6..782eaafa9e9af8fadb82cea28f46599512645753 100644 (file)
  */
 
 global $color;
-$color[0]   = "#6188A9"; // (middle blue)    TitleBar
-$color[1]   = "#800000"; // (red)
-$color[2]   = "#CC0000"; // (light red)      Warning/Error Messages
-$color[3]   = "#294763"; // (dark blue)      Left Bar Background
-$color[4]   = "#929292"; // (dark grey)      Normal Background or C0C0C0
-$color[5]   = "#597D9D"; // (middle blue)       Table Headers
-$color[6]   = "#FFFFFF"; // (white)          Text on left bar
-$color[7]   = "#FFFFFF"; // (white)          Links
-$color[8]   = "#FFFFFF"; // (white)          Normal text
-$color[9]   = "#587B99"; // (middle gray)    Darker version of #0
-$color[10]  = "#496E8B"; // (dark gray)      Darker version of #9
-$color[11]  = "#A7C5F3"; // (light blue)     Special Folders color
-$color[12]  = "#7092B4";
+$color[0]   = '#6188A9'; // (middle blue)    TitleBar
+$color[1]   = '#800000'; // (red)
+$color[2]   = '#CC0000'; // (light red)      Warning/Error Messages
+$color[3]   = '#294763'; // (dark blue)      Left Bar Background
+$color[4]   = '#929292'; // (dark grey)      Normal Background or C0C0C0
+$color[5]   = '#597D9D'; // (middle blue)       Table Headers
+$color[6]   = '#FFFFFF'; // (white)          Text on left bar
+$color[7]   = '#FFFFFF'; // (white)          Links
+$color[8]   = '#FFFFFF'; // (white)          Normal text
+$color[9]   = '#587B99'; // (middle gray)    Darker version of #0
+$color[10]  = '#496E8B'; // (dark gray)      Darker version of #9
+$color[11]  = '#A7C5F3'; // (light blue)     Special Folders color
+$color[12]  = '#7092B4';
+$color[15]  = '#D0D0D0'; // (light gray)     Unselectable folders
 
 ?>
index b49e398c11647f472d374f82e8f960b6805941c4..302784589344d4cd30faa68827e6cda1126be150 100644 (file)
  */
 
 global $color;
-$color[0]   = "#181818"; // (off-black)                        TitleBar
-$color[1]   = "#A0A0A0"; // (gray)                             Quoted Replies in Emails
-$color[2]   = "#800000"; // (red)                              Warning/Error Messages
-$color[3]   = "#000000"; // (black)                            Left Bar Background
-$color[4]   = "#000000"; // (black)                            Normal Background
-$color[5]   = "#000080"; // (bright blue)              Table Headers
-$color[6]   = "#FFFF80"; // (bright yellow)            Text on left bar
-$color[7]   = "#FFFF80"; // (bright yellow)            Links
-$color[8]   = "#FFFFFF"; // (white)                            Normal text
-$color[9]   = "#000080"; // (bright blue)              Darker version of #0
-$color[10]  = "#000080"; // (bright blue)              Darker version of #9
-$color[11]  = "#3333FF"; // (dull blue)                        Special Folders color
-$color[12]  = "#808080"; //                     Alternate rows
+$color[0]   = '#181818'; // (off-black)                        TitleBar
+$color[1]   = '#A0A0A0'; // (gray)                             Quoted Replies in Emails
+$color[2]   = '#800000'; // (red)                              Warning/Error Messages
+$color[3]   = '#000000'; // (black)                            Left Bar Background
+$color[4]   = '#000000'; // (black)                            Normal Background
+$color[5]   = '#000080'; // (bright blue)              Table Headers
+$color[6]   = '#FFFF80'; // (bright yellow)            Text on left bar
+$color[7]   = '#FFFF80'; // (bright yellow)            Links
+$color[8]   = '#FFFFFF'; // (white)                            Normal text
+$color[9]   = '#000080'; // (bright blue)              Darker version of #0
+$color[10]  = '#000080'; // (bright blue)              Darker version of #9
+$color[11]  = '#3333FF'; // (dull blue)                        Special Folders color
+$color[12]  = '#808080'; //                     Alternate rows
+$color[15]  = '#C0C060'; // (dull yellow)         Unselectable folders
 
 ?>
index e87343312ae694537834d5d3599da3a3f50e3ff8..ee8e74b5727a6246727ba4611bdd1877bcd54e90 100644 (file)
  */
 
 global $color;
-$color[0]   = "#A8A8A8"; // (darkish grey)   TitleBar
-$color[1]   = "#800000"; // (red)
-$color[2]   = "#CC0000"; // (light red)      Warning/Error Messages
-$color[3]   = "#475A94"; // (darkish blue)   Left Bar Background
-$color[4]   = "#DEDFDF"; // (grey)           Normal Background
-$color[5]   = "#FFFFCC"; // (light yellow)   Table Headers
-$color[6]   = "#000000"; // (black)          Text on left bar
-$color[7]   = "#0000CC"; // (blue)           Links
-$color[8]   = "#000000"; // (black)          Normal text
-$color[9]   = "#ABABAB"; // (mid-gray)       Lighter version of #0
-$color[10]  = "#666666"; // (dark gray)      Darker version of #0
-$color[11]  = "#770000"; // (dark red)       Special Folders color
-
+$color[0]   = '#A8A8A8'; // (darkish grey)   TitleBar
+$color[1]   = '#800000'; // (red)
+$color[2]   = '#CC0000'; // (light red)      Warning/Error Messages
+$color[3]   = '#475A94'; // (darkish blue)   Left Bar Background
+$color[4]   = '#DEDFDF'; // (grey)           Normal Background
+$color[5]   = '#FFFFCC'; // (light yellow)   Table Headers
+$color[6]   = '#000000'; // (black)          Text on left bar
+$color[7]   = '#0000CC'; // (blue)           Links
+$color[8]   = '#000000'; // (black)          Normal text
+$color[9]   = '#ABABAB'; // (mid-gray)       Lighter version of #0
+$color[10]  = '#666666'; // (dark gray)      Darker version of #0
+$color[11]  = '#770000'; // (dark red)       Special Folders color
+$color[15]  = '#ABABAB'; // (mid-gray)       Unselectable folders
 ?>
index e3abfe44290cb332752e1a981acff2869f06effe..b71119589173229c1820e9f988882c70df5898f2 100644 (file)
@@ -27,5 +27,5 @@ $color[9]   = '#308F30'; // Darker version of #0
 $color[10]  = '#88AA88'; // Dimmed out folder color
 $color[11]  = '#EE0000'; // Special folders / Unseen messages color
 $color[12]  = '#DDFFDD'; // Alternate table row color
-
+$color[15]  = '#AAFFAA'; // Unselectable folders
 ?>
index 64a0c6ff025319511c2fcaf87df4137290b570fb..9d35c412c5781a49690fcc3f8173b164121c8ad4 100644 (file)
  */
 
 global $color;
-$color[0]   = "#B2B2B2"; // (gray)           TitleBar
-$color[1]   = "#800000"; // (red)
-$color[2]   = "#CC0000"; // (light red)      Warning/Error Messages
-$color[3]   = "#929292"; // (light gray)     Left Bar Background
-$color[4]   = "#FFFFFF"; // (white)          Normal Background
-$color[5]   = "#C0C0C0"; // (lighter grey)   Table Headers
-$color[6]   = "#000000"; // (black)          Text on left bar
-$color[7]   = "#303030"; // (dark gray)      Links
-$color[8]   = "#000000"; // (black)          Normal text
-$color[9]   = "#929292"; // (mid-gray)       Darker version of #0
-$color[10]  = "#505050"; // (dark gray)      Darker version of #9
-$color[11]  = "#770010"; // (dark red)       Special Folders color
+$color[0]   = '#B2B2B2'; // (gray)           TitleBar
+$color[1]   = '#800000'; // (red)
+$color[2]   = '#CC0000'; // (light red)      Warning/Error Messages
+$color[3]   = '#929292'; // (light gray)     Left Bar Background
+$color[4]   = '#FFFFFF'; // (white)          Normal Background
+$color[5]   = '#C0C0C0'; // (lighter grey)   Table Headers
+$color[6]   = '#000000'; // (black)          Text on left bar
+$color[7]   = '#303030'; // (dark gray)      Links
+$color[8]   = '#000000'; // (black)          Normal text
+$color[9]   = '#929292'; // (mid-gray)       Darker version of #0
+$color[10]  = '#505050'; // (dark gray)      Darker version of #9
+$color[11]  = '#770010'; // (dark red)       Special Folders color
+$color[15]  = '#440000'; // (darker red)     Unselectable folders
 
 ?>
index 3a48deff1e82957a61819340e71ff5ac1d3598f8..d4a45fb4d68ba0c161ee4270e3e5415b33afc99d 100755 (executable)
@@ -100,7 +100,7 @@ $squirrelmail_plugin_hooks['generic_header']['theme_darkness'] =
       $used[] = array($r, $g, $b);
    }
       
-   $Left = array(1, 7, 11, 13, 14);
+   $Left = array(1, 7, 11, 13, 14, 15);
    $targetDistance = $TargetDistance;
    while (count($Left) > 0) {
       // Text colors -- Try to keep the colors distinct
index 4a5ac14fa5d3a63382fa16f96c7b0109b298af09..424ce1ac134d3998273348dc18028b0149b162a0 100644 (file)
  */
 
 global $color;
-$color[0]   = "#6188A9"; // (light gray)     TitleBar
-$color[1]   = "#800000"; // (red)
-$color[2]   = "#CC0000"; // (light red)      Warning/Error Messages
-$color[3]   = "#294763"; // (green-blue)     Left Bar Background
-$color[4]   = "#FFFFFF"; // (white)          Normal Background
-$color[5]   = "#597D9D"; // (light yellow)   Table Headers
-$color[6]   = "#FFFFFF"; // (black)          Text on left bar
-$color[7]   = "#000000"; // (blue)           Links
-$color[8]   = "#000000"; // (black)          Normal text
-$color[9]   = "#587B99"; // (mid-gray)       Darker version of #0
-$color[10]  = "#496E8B"; // (dark gray)      Darker version of #9
-$color[11]  = "#A7C5F3"; // (dark red)       Special Folders color
-$color[12]  = "#7092B4";
-
+$color[0]   = '#6188A9'; // (light gray)     TitleBar
+$color[1]   = '#800000'; // (red)
+$color[2]   = '#CC0000'; // (light red)      Warning/Error Messages
+$color[3]   = '#294763'; // (green-blue)     Left Bar Background
+$color[4]   = '#FFFFFF'; // (white)          Normal Background
+$color[5]   = '#597D9D'; // (light yellow)   Table Headers
+$color[6]   = '#FFFFFF'; // (black)          Text on left bar
+$color[7]   = '#000000'; // (blue)           Links
+$color[8]   = '#000000'; // (black)          Normal text
+$color[9]   = '#587B99'; // (mid-gray)       Darker version of #0
+$color[10]  = '#496E8B'; // (dark gray)      Darker version of #9
+$color[11]  = '#A7C5F3'; // (dark red)       Special Folders color
+$color[12]  = '#7092B4';
+$color[15]  = '#83A1DA'; // (another blue)   Unselectable folders color
 ?>
index 9a627c530e79ab0b488013c7238f738e9ea32176..573dbbc478bbc8d5c09dc06da97fc3df0706ce78 100644 (file)
  */
 
 global $color;
-$color[0]   = "#6188A9"; // (light gray)     TitleBar
-$color[1]   = "#800000"; // (red)
-$color[2]   = "#CC0000"; // (light red)      Warning/Error Messages
-$color[3]   = "#294763"; // (green-blue)     Left Bar Background
-$color[4]   = "#7A9CBF"; // (white)          Normal Background
-$color[5]   = "#597D9D"; // (light yellow)   Table Headers
-$color[6]   = "#FFFFFF"; // (black)          Text on left bar
-$color[7]   = "#014070"; // (blue)           Links
-$color[8]   = "#000000"; // (black)          Normal text
-$color[9]   = "#587B99"; // (mid-gray)       Darker version of #0
-$color[10]  = "#496E8B"; // (dark gray)      Darker version of #9
-$color[11]  = "#A7C5F3"; // (dark red)       Special Folders color
-$color[12]  = "#7092B4";
+$color[0]   = '#6188A9'; // (light gray)     TitleBar
+$color[1]   = '#800000'; // (red)
+$color[2]   = '#CC0000'; // (light red)      Warning/Error Messages
+$color[3]   = '#294763'; // (green-blue)     Left Bar Background
+$color[4]   = '#7A9CBF'; // (white)          Normal Background
+$color[5]   = '#597D9D'; // (light yellow)   Table Headers
+$color[6]   = '#FFFFFF'; // (black)          Text on left bar
+$color[7]   = '#014070'; // (blue)           Links
+$color[8]   = '#000000'; // (black)          Normal text
+$color[9]   = '#587B99'; // (mid-gray)       Darker version of #0
+$color[10]  = '#496E8B'; // (dark gray)      Darker version of #9
+$color[11]  = '#A7C5F3'; // (dark red)       Special Folders color
+$color[12]  = '#7092B4';
+$color[13]  = '#83A1DA'; // (another blue)   Unselectable folders color
 
 ?>
index d25d765e416a9f19b9fbc285da360a1debb36956..9b021038a21a914c84ad86791b9dd07f0a9274bf 100644 (file)
@@ -1,7 +1,7 @@
 <?php
    /** Author:       Luke Ehresman
        Date:         January 2, 2000
-       Theme Name:   "Default Theme"
+       Theme Name:   'Default Theme'
 
        This is the default theme that comes standard with SquirrelMail.
        Most of the colors were taken from mail.yahoo.com's theme on their
        Be sure to rename the file and keep the original, just in case.
 
        NOTE:
-       Please email any themes you create to luke@usa.om.org for inclusion
-       in further releases of SquirrelMail and for download from the web
-       page.
+       Please email any themes you create to captbunzo@squirrelmail.org
+       for inclusion in further releases of SquirrelMail and for download
+       from the web page.
     **/
 
     global $color;
-    $color[0]   = "#DCDCDC"; // (light gray)     TitleBar
-    $color[1]   = "#800000"; // (red)
-    $color[2]   = "#CC0000"; // (light red)      Warning/Error Messages
-    $color[3]   = "#A0B8C8"; // (green-blue)     Left Bar Background
-    $color[4]   = "#FFFFFF"; // (white)          Normal Background
-    $color[5]   = "#FFFFCC"; // (light yellow)   Table Headers
-    $color[6]   = "#000000"; // (black)          Text on left bar
-    $color[7]   = "#0000CC"; // (blue)           Links
-    $color[8]   = "#000000"; // (black)          Normal text
-    $color[9]   = "#ABABAB"; // (mid-gray)       Darker version of #0
-    $color[10]  = "#666666"; // (dark gray)      Darker version of #9
-    $color[11]  = "#770000"; // (dark red)       Special Folders color
-    $color[12]  = "#EDEDED";
+    $color[0]   = '#DCDCDC'; // (light gray)     TitleBar
+    $color[1]   = '#800000'; // (red)
+    $color[2]   = '#CC0000'; // (light red)      Warning/Error Messages
+    $color[3]   = '#A0B8C8'; // (green-blue)     Left Bar Background
+    $color[4]   = '#FFFFFF'; // (white)          Normal Background
+    $color[5]   = '#FFFFCC'; // (light yellow)   Table Headers
+    $color[6]   = '#000000'; // (black)          Text on left bar
+    $color[7]   = '#0000CC'; // (blue)           Links
+    $color[8]   = '#000000'; // (black)          Normal text
+    $color[9]   = '#ABABAB'; // (mid-gray)       Darker version of #0
+    $color[10]  = '#666666'; // (dark gray)      Darker version of #9
+    $color[11]  = '#770000'; // (dark red)       Special Folders color
+    $color[12]  = '#EDEDED';
+    $color[15]  = '#002266'; // (dark blue)      Unselectable folders
 ?>
index abcf01a0d3d9a2aac7320054475b8a5bbf4ec770..e997be4f03512879abefe4ac58fdff6b8377a797 100644 (file)
  */
 
 global $color;
-$color[0]   = "#999999"; // (middle grey)    TitleBar
-$color[1]   = "#800000"; // (red)
-$color[2]   = "#CC0000"; // (light red)      Warning/Error Messages
-$color[3]   = "#294763"; // (dark blue)      Left Bar Background
-$color[4]   = "#FFFFFF"; // (white)          Normal Background
-$color[5]   = "#c0c0c0"; // (light grey)     Table Headers
-$color[6]   = "#FFFFFF"; // (white)          Text on left bar
-$color[7]   = "#000000"; // (black)          Links
-$color[8]   = "#000000"; // (black)          Normal text
-$color[9]   = "#c0c0c0"; // (light grey)     Darker version of #0
-$color[10]  = "#c0c0c0"; // (light grey)     Darker version of #9
-$color[11]  = "#A7C5F3"; // (light blue)     Special Folders color
-$color[12]  = "#c0c0c0"; // 
+$color[0]   = '#999999'; // (middle grey)    TitleBar
+$color[1]   = '#800000'; // (red)
+$color[2]   = '#CC0000'; // (light red)      Warning/Error Messages
+$color[3]   = '#294763'; // (dark blue)      Left Bar Background
+$color[4]   = '#FFFFFF'; // (white)          Normal Background
+$color[5]   = '#c0c0c0'; // (light grey)     Table Headers
+$color[6]   = '#FFFFFF'; // (white)          Text on left bar
+$color[7]   = '#000000'; // (black)          Links
+$color[8]   = '#000000'; // (black)          Normal text
+$color[9]   = '#c0c0c0'; // (light grey)     Darker version of #0
+$color[10]  = '#c0c0c0'; // (light grey)     Darker version of #9
+$color[11]  = '#A7C5F3'; // (light blue)     Special Folders color
+$color[12]  = '#c0c0c0'; //
+$color[15]  = '#788DD0'; // (darkish blue)   Unselectable folders
 
 ?>
index 912cbfbbe643a4b1d0164a4327351452856cd3fc..e68ceb5784a1a469109be9df2dd98156f8cb240f 100644 (file)
  */
 
 global $color;
-$color[0]   = "#9EBFA7"; // (light purp)     TitleBar
-$color[1]   = "#800000"; // (red)
-$color[2]   = "#CC0000"; // (light red)      Warning/Error Messages
-$color[3]   = "#244B30"; // (purple)         Left Bar Background
-$color[4]   = "#DEFFE7"; // (light purple)   Normal Background
-$color[5]   = "#B6D7BF"; // (darker gray)    Table Headers
-$color[6]   = "#DDFFDD"; // (black)          Text on left bar
-$color[7]   = "#1C5F30"; // (light purple)   Links
-$color[8]   = "#000000"; // (black)          Normal text
-$color[9]   = "#88a990"; // (mid purp)       Darker version of #0
-$color[10]  = "#5E7F67"; // (dark purp)      Darker version of #9
-$color[11]  = "#4A9B62"; // (dark red)       Special Folders color
-$color[12]  = "#D2F3DA";
-
+$color[0]   = '#9EBFA7'; // (light purp)     TitleBar
+$color[1]   = '#800000'; // (red)
+$color[2]   = '#CC0000'; // (light red)      Warning/Error Messages
+$color[3]   = '#244B30'; // (purple)         Left Bar Background
+$color[4]   = '#DEFFE7'; // (light purple)   Normal Background
+$color[5]   = '#B6D7BF'; // (darker gray)    Table Headers
+$color[6]   = '#DDFFDD'; // (black)          Text on left bar
+$color[7]   = '#1C5F30'; // (light purple)   Links
+$color[8]   = '#000000'; // (black)          Normal text
+$color[9]   = '#88a990'; // (mid purp)       Darker version of #0
+$color[10]  = '#5E7F67'; // (dark purp)      Darker version of #9
+$color[11]  = '#4A9B62'; // (dark red)       Special Folders color
+$color[12]  = '#D2F3DA';
+$color[15]  = '#648b70'; // (another green)  Unselectable folders
 ?>
index 5505925d4a1382358db00b4f668d06e37a8f3ded..89aeaaace6e2f84f810fc2adf2a687245f7aa629 100755 (executable)
@@ -17,7 +17,7 @@
 /** 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)) {
@@ -38,6 +38,7 @@ 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);
+}
 
 
 
index 9c9a4c47eca46d205999ce7d955a088a147d99b8..c7bd1604c01bca76f505f434ea05a0e6be318073 100644 (file)
  */
 
 global $color;
-$color[0]   = "#818181"; // (light gray)     TitleBar
-$color[1]   = "#FF0000"; // (red)
-$color[2]   = "#CC0000"; // (light red)      Warning/Error Messages
-$color[3]   = "#008080"; // (green-blue)     Left Bar Background
-$color[4]   = "#FFFFFF"; // (white)          Normal Background
-$color[5]   = "#FFFF00"; // (light yellow)   Table Headers
-$color[6]   = "#000000"; // (black)          Text on left bar
-$color[7]   = "#0000FF"; // (blue)           Links
-$color[8]   = "#000000"; // (black)          Normal text
-$color[9]   = "#C0C0C0"; // (mid-gray)       Darker version of #0
-$color[10]  = "#808080"; // (dark gray)      Darker version of #9
-$color[11]  = "#FFFFFF"; // (white)          Special Folders color
+$color[0]   = '#818181'; // (light gray)     TitleBar
+$color[1]   = '#FF0000'; // (red)
+$color[2]   = '#CC0000'; // (light red)      Warning/Error Messages
+$color[3]   = '#008080'; // (green-blue)     Left Bar Background
+$color[4]   = '#FFFFFF'; // (white)          Normal Background
+$color[5]   = '#FFFF00'; // (light yellow)   Table Headers
+$color[6]   = '#000000'; // (black)          Text on left bar
+$color[7]   = '#0000FF'; // (blue)           Links
+$color[8]   = '#000000'; // (black)          Normal text
+$color[9]   = '#C0C0C0'; // (mid-gray)       Darker version of #0
+$color[10]  = '#808080'; // (dark gray)      Darker version of #9
+$color[11]  = '#FFFFFF'; // (white)          Special Folders color
+$color[15]  = '#D0D070'; // (gold)           Unselectable folders
 
 ?>
index ecbdff90cd56da9b7b8b09e78581dac94ceb9645..66f48ff5e8cd9b1b06321e23d8c2b6305ce6383b 100644 (file)
  */
 
 global $color;
-$color[0]   = "#C0DAFF"; // TitleBar
-$color[1]   = "#800000"; // Error Message
-$color[2]   = "#CC0000"; // Warning/Error Messages
-$color[3]   = "#B0CAFF"; // Left Bar Background
-$color[4]   = "#FFFFFF"; // Normal Background
-$color[5]   = "#D0EAFF"; // Table Headers
-$color[6]   = "#000000"; // Text on left bar
-$color[7]   = "#8888FF"; // Links
-$color[8]   = "#000000"; // Normal text
-$color[9]   = "#D0EAFF"; // Darker version of #0
-$color[10]  = "#F0FAFF"; // Darker version of #9
-$color[11]  = "#770000"; // Special Folders color
+$color[0]   = '#C0DAFF'; // TitleBar
+$color[1]   = '#800000'; // Error Message
+$color[2]   = '#CC0000'; // Warning/Error Messages
+$color[3]   = '#B0CAFF'; // Left Bar Background
+$color[4]   = '#FFFFFF'; // Normal Background
+$color[5]   = '#D0EAFF'; // Table Headers
+$color[6]   = '#000000'; // Text on left bar
+$color[7]   = '#8888FF'; // Links
+$color[8]   = '#000000'; // Normal text
+$color[9]   = '#D0EAFF'; // Darker version of #0
+$color[10]  = '#F0FAFF'; // Darker version of #9
+$color[11]  = '#770000'; // Special Folders color
+$color[15]  = '#006600'; // Unselectable folders
 
 ?>
index 12d8c38f9515971bf0f477502c839c1221aeb9b7..ec1f380b100acdd16b3fae708a89ce5c44ab8e1e 100755 (executable)
@@ -17,7 +17,7 @@
 /* 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 or $i == 3 or $i == 4 or $i == 5 or $i == 9 or $i == 10 or $i == 12) {
         /* background */
index 0ae9c7cd1d07eff5c534cc1e027462e23c53563c..ba6d6cdc86246c03994d06d5d056ac51a4506496 100755 (executable)
 /* 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 or $i == 3 or $i == 4 or $i == 5 or $i == 9 or $i == 10 or $i == 12) {
         /* background */
-        $r = mt_rand(248,255);
-        $b = mt_rand(180,255);
-        $g = mt_rand(178,$g);
+        $b = mt_rand(248,255);
+        $r = mt_rand(180,255);
+        $g = mt_rand(178,$r);
     } else {
         /* text */
         $cmin = 0;
index 2f37723cbeff1d227586c937c2376b19a8ff9249..156c102f6b1d75d06827014d09f4421f156b1205 100644 (file)
  */
 
 global $color;
-$color[0]   = "#B0B0B0"; // (gray)                             TitleBar
-$color[1]   = "#A04040"; // (dull red)                 Quoted Replies in Emails
-$color[2]   = "#F04040"; // (bright red)               Warning/Error Messages
-$color[3]   = "#DFCFBF"; // (antique white)            Left Bar Background
-$color[4]   = "#DFCFBF"; // (antique white)            Normal Background
-$color[5]   = "#755A45"; // (light brown)              Table Headers
-$color[6]   = "#101010"; // (off-black)                        Text on left bar
-$color[7]   = "#800000"; // (red)                              Links
-$color[8]   = "#000000"; // (black)                            Normal text
-$color[9]   = "#909090"; // (darker gray)              Darker version of #0
-$color[10]  = "#606060"; // (darkest gray)             Darker version of #9
-$color[11]  = "#600000"; // (lighter red)              Special Folders color
+$color[0]   = '#B0B0B0'; // (gray)                             TitleBar
+$color[1]   = '#A04040'; // (dull red)                 Quoted Replies in Emails
+$color[2]   = '#F04040'; // (bright red)               Warning/Error Messages
+$color[3]   = '#DFCFBF'; // (antique white)            Left Bar Background
+$color[4]   = '#DFCFBF'; // (antique white)            Normal Background
+$color[5]   = '#755A45'; // (light brown)              Table Headers
+$color[6]   = '#101010'; // (off-black)                        Text on left bar
+$color[7]   = '#800000'; // (red)                              Links
+$color[8]   = '#000000'; // (black)                            Normal text
+$color[9]   = '#909090'; // (darker gray)              Darker version of #0
+$color[10]  = '#606060'; // (darkest gray)             Darker version of #9
+$color[11]  = '#600000'; // (lighter red)              Special Folders color
+$color[15]  = '#602020'; // (some brown)                Unselectable folders
 
 ?>
index d780d37548578df73fc02c7db28d6832f583b73f..29991db2aeade1bda675066a63044f76c5458988 100644 (file)
  */
 
 global $color;
-$color[0]   = "#808080"; // (middle grey)    TitleBar
-$color[1]   = "#800000"; // (red)
-$color[2]   = "#CC0000"; // (light red)      Warning/Error Messages
-$color[3]   = "#294763"; // (dark blue)      Left Bar Background
-$color[4]   = "#294763"; // (white)          Normal Background
-$color[5]   = "#999999"; // (light grey)     Table Headers
-$color[6]   = "#FFFFFF"; // (white)          Text on left bar
-$color[7]   = "#FFFFFF"; // (black)          Links
-$color[8]   = "#FFFFFF"; // (black)          Normal text
-$color[9]   = "#999999"; // (light grey)     Darker version of #0
-$color[10]  = "#999999"; // (light grey)     Darker version of #9
-$color[11]  = "#A7C5F3"; // (light blue)     Special Folders color
-$color[12]  = "#9F9F9F"; // 
-
+$color[0]   = '#808080'; // (middle grey)    TitleBar
+$color[1]   = '#800000'; // (red)
+$color[2]   = '#CC0000'; // (light red)      Warning/Error Messages
+$color[3]   = '#294763'; // (dark blue)      Left Bar Background
+$color[4]   = '#294763'; // (white)          Normal Background
+$color[5]   = '#999999'; // (light grey)     Table Headers
+$color[6]   = '#FFFFFF'; // (white)          Text on left bar
+$color[7]   = '#FFFFFF'; // (black)          Links
+$color[8]   = '#FFFFFF'; // (black)          Normal text
+$color[9]   = '#999999'; // (light grey)     Darker version of #0
+$color[10]  = '#999999'; // (light grey)     Darker version of #9
+$color[11]  = '#A7C5F3'; // (light blue)     Special Folders color
+$color[12]  = '#9F9F9F'; // 
+$color[13]  = '#DFDFDF'; // (lighter grey)   Unselectable folders
 ?>
index 6da08ccd83ed10536229424f42286b239d0daff6..ca05bfffda8c4977d95d6b9333c18152e0256186 100644 (file)
@@ -25,8 +25,8 @@ $color[7]   = '#00FFCC'; // Links
 $color[8]   = '#FFFFFF'; // Normal text
 $color[9]   = '#000099'; // Darker version of #0
 $color[10]  = '#33FF66'; // Dimmed out folder color
-$color[11]  = '#000060'; // Special folders / Unseen messages color
+$color[11]  = '#7070FF'; // Special folders / Unseen messages color
 $color[12]  = '#3300CC'; // Alternate table row color
 $color[13]  = '#3333CC';
-
+$color[15]  = '#33FF66'; // Unselectable folders
 ?>
index c8881fbb6ace535cfca5285670509172202cef4c..e8582759b6320f213fbe22cd6bc45229244f0c26 100755 (executable)
@@ -42,7 +42,7 @@ $gt = mt_rand($cmin_t,$cmax_t);
 $bt = mt_rand($cmin_t,$cmax_t);
 
 /** set array element as hex string with hashmark (for HTML output) **/
-for ($i = 0; $i <= 14; $i++) {
+for ($i = 0; $i <= 15; $i++) {
     if ($i == 0 or $i == 3 or $i == 4 or $i == 5 or $i == 9 or $i == 10 or $i == 12) {
         $color[$i] = sprintf("#%02X%02X%02X",$rb,$gb,$bb);
     } else {
index 1a825c613091e16a663c0d3fee8a03e46a30bac5..35ef5d4a19c92bf906f9dfd8c506e501f314c43b 100644 (file)
  */
 
 global $color;
-$color[0]   = "#A2BED4"; // TitleBar
-$color[1]   = "#800000"; // 
-$color[2]   = "#CC0000"; // Warning/Error Messages
-$color[3]   = "#6795B9"; // Left Bar Background
-$color[4]   = "#FFFFFF"; // Normal Background
-$color[5]   = "#94ABC0"; // Table Headers
-$color[6]   = "#000000"; // Text on left bar
-$color[7]   = "#0000CC"; // Links
-$color[8]   = "#000000"; // Normal text
-$color[9]   = "#83A0BA"; // Darker version of #0
-$color[10]  = "#376589"; // Darker version of #9
-$color[11]  = "#770000"; // Special Folders color
-$color[12]  = "#EDEDED"; // Alternating rows color
+$color[0]   = '#A2BED4'; // TitleBar
+$color[1]   = '#800000'; // 
+$color[2]   = '#CC0000'; // Warning/Error Messages
+$color[3]   = '#6795B9'; // Left Bar Background
+$color[4]   = '#FFFFFF'; // Normal Background
+$color[5]   = '#94ABC0'; // Table Headers
+$color[6]   = '#000000'; // Text on left bar
+$color[7]   = '#0000CC'; // Links
+$color[8]   = '#000000'; // Normal text
+$color[9]   = '#83A0BA'; // Darker version of #0
+$color[10]  = '#376589'; // Darker version of #9
+$color[11]  = '#770000'; // Special Folders color
+$color[12]  = '#EDEDED'; // Alternating rows color
+$color[15]  = '#001166'; // Unselectable folders
 
 ?>
index cfbbecce9de8be35dd1cedab4226cf8eeb7302da..9a1488eb690de8dc513afaa3b361edd63350633b 100644 (file)
  */
 
 global $color;
-$color[0]   = "#CFB789"; // (darker tan)     TitleBar
-$color[1]   = "#800000"; // (red)
-$color[2]   = "#CC0000"; // (light red)      Warning/Error Messages
-$color[3]   = "#AF9769"; // (tan)            Left Bar Background
-$color[4]   = "#FFE9BF"; // (light tan)      Normal Background
-$color[5]   = "#FFFFCC"; // (light yellow)   Table Headers
-$color[6]   = "#000000"; // (black)          Text on left bar
-$color[7]   = "#8B6029"; // (blue)           Links
-$color[8]   = "#000000"; // (black)          Normal text
-$color[9]   = "#BFA779"; // (mid tan)        Darker version of #0
-$color[10]  = "#7F6729"; // (dark tan)       Darker version of #9
-$color[11]  = "#770000"; // (dark red)       Special Folders color
+$color[0]   = '#CFB789'; // (darker tan)     TitleBar
+$color[1]   = '#800000'; // (red)
+$color[2]   = '#CC0000'; // (light red)      Warning/Error Messages
+$color[3]   = '#AF9769'; // (tan)            Left Bar Background
+$color[4]   = '#FFE9BF'; // (light tan)      Normal Background
+$color[5]   = '#FFFFCC'; // (light yellow)   Table Headers
+$color[6]   = '#000000'; // (black)          Text on left bar
+$color[7]   = '#8B6029'; // (blue)           Links
+$color[8]   = '#000000'; // (black)          Normal text
+$color[9]   = '#BFA779'; // (mid tan)        Darker version of #0
+$color[10]  = '#7F6729'; // (dark tan)       Darker version of #9
+$color[11]  = '#770000'; // (dark red)       Special Folders color
+$color[15]  = '#7F6729'; // (dark tan)       Unselectable folders
 
 ?>
index 90e9682ed69f641e99c88f613f0ac191be3a2611..3aa3c8ff5918680bafa33b1fb0c6ecc4fdf84121 100644 (file)
  */
 
 global $color;
-$color[0]   = "#7CA4A4"; 
-$color[1]   = "#800000";
-$color[2]   = "#CC0000";
-$color[3]   = "#588080";
-$color[4]   = "#DCFFFF";
-$color[5]   = "#98C0C0";
-$color[6]   = "#000000";
-$color[7]   = "#184040";
-$color[8]   = "#000000";
-$color[9]   = "#78A0A0";
-$color[10]  = "#386060";
-$color[11]  = "#FFFFB0";
+$color[0]   = '#7CA4A4'; 
+$color[1]   = '#800000';
+$color[2]   = '#CC0000';
+$color[3]   = '#588080';
+$color[4]   = '#DCFFFF';
+$color[5]   = '#98C0C0';
+$color[6]   = '#000000';
+$color[7]   = '#184040';
+$color[8]   = '#000000';
+$color[9]   = '#78A0A0';
+$color[10]  = '#386060';
+$color[11]  = '#FFFFB0';
+$color[15]  = '#B0FFFF';
 
 ?>
index ae91cac4732b19f580f3f93554072c3f0db70c7e..40fb580a691c660d11ac817e7c9a1660ef1b0136 100644 (file)
  */
 
 global $color;
-$color[0]   = "#F1EEE3"; // (light gray)     TitleBar
-$color[1]   = "#800000"; // (red)
-$color[2]   = "#CC0000"; // (light red)      Warning/Error Messages
-$color[3]   = "#7D6F3F"; // (green-blue)     Left Bar Background
-$color[4]   = "#FFFFFF"; // (white)          Normal Background
-$color[5]   = "#C7B98B"; // (light yellow)   Table Headers
-$color[6]   = "#000000"; // (black)          Text on left bar
-$color[7]   = "#434031"; // (blue)           Links
-$color[8]   = "#000000"; // (black)          Normal text
-$color[9]   = "#C7B98B"; // (mid-gray)       Darker version of #0
-$color[10]  = "#F1EEE3"; // (dark gray)      Darker version of #9
-$color[11]  = "#770000"; // (dark red)       Special Folders color
-
+$color[0]   = '#F1EEE3'; // (light gray)     TitleBar
+$color[1]   = '#800000'; // (red)
+$color[2]   = '#CC0000'; // (light red)      Warning/Error Messages
+$color[3]   = '#7D6F3F'; // (green-blue)     Left Bar Background
+$color[4]   = '#FFFFFF'; // (white)          Normal Background
+$color[5]   = '#C7B98B'; // (light yellow)   Table Headers
+$color[6]   = '#000000'; // (black)          Text on left bar
+$color[7]   = '#434031'; // (blue)           Links
+$color[8]   = '#000000'; // (black)          Normal text
+$color[9]   = '#C7B98B'; // (mid-gray)       Darker version of #0
+$color[10]  = '#F1EEE3'; // (dark gray)      Darker version of #9
+$color[11]  = '#770000'; // (dark red)       Special Folders color
+$color[15]  = '#C7B98B'; // (mid-gray)       Unselectable folders
 ?>
index 3d14a83a2a5c1d2fafa57802afe7d3f9a91fc5dd..6d4473e161f6a8d45b08a3b29438080cac2ee247 100755 (executable)
@@ -17,7 +17,7 @@
 /* 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 or $i == 3 or $i == 4 or $i == 5 or $i == 9 or $i == 10 or $i == 12) {
         /* background */
index e1efdcc5e4b69979f1806ccbb0e42846a23eef62..ca62f79c2a41d5444341cb626c681b6faad4cf3a 100644 (file)
  */
 
 global $color;
-$color[0]   = "#DCDCDC"; // (light gray)     TitleBar
-$color[1]   = "#800000"; // (red)
-$color[2]   = "#CC0000"; // (light red)      Warning/Error Messages
-$color[3]   = "#006668"; // (/. color)       Left Bar Background
-$color[4]   = "#FFFFFF"; // (white)          Normal Background
-$color[5]   = "#BABABA"; // (darker gray)    Table Headers
-$color[6]   = "#000000"; // (black)          Text on left bar
-$color[7]   = "#004949"; // (light /. color) Links
-$color[8]   = "#000000"; // (black)          Normal text
-$color[9]   = "#ABABAB"; // (mid-gray)       Darker version of #0
-$color[10]  = "#666666"; // (dark gray)      Darker version of #9
-$color[11]  = "#770000"; // (dark red)       Special Folders color
-$color[12]  = "#EAEAEA";
+$color[0]   = '#DCDCDC'; // (light gray)     TitleBar
+$color[1]   = '#800000'; // (red)
+$color[2]   = '#CC0000'; // (light red)      Warning/Error Messages
+$color[3]   = '#006668'; // (/. color)       Left Bar Background
+$color[4]   = '#FFFFFF'; // (white)          Normal Background
+$color[5]   = '#BABABA'; // (darker gray)    Table Headers
+$color[6]   = '#000000'; // (black)          Text on left bar
+$color[7]   = '#004949'; // (light /. color) Links
+$color[8]   = '#000000'; // (black)          Normal text
+$color[9]   = '#ABABAB'; // (mid-gray)       Darker version of #0
+$color[10]  = '#666666'; // (dark gray)      Darker version of #9
+$color[11]  = '#770000'; // (dark red)       Special Folders color
+$color[12]  = '#EAEAEA';
+$color[15]  = '#ABABAB'; // (mid-gray)       Unselectable folders
 
 ?>
index 88e6bea14e3d7ee6ca4eef6a8d86ecc034c6bb90..95373d7bc2fabee77dcc9840c4fbf41649192c86 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 **/
index 31ce2888fc126df0a886c08cab5ec2d0f594358d..eff08e4633a19b51ffc7bb33080d9358b45e00a4 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 **/
index 7dce0cd422df74325ca4b82f79b0060f124b1ae5..4744f00dcf31ae994ad28b9078f15780d3c301ed 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 **/