Changed the color of special folders in the left-hand frame and altered the
authorfidian <fidian@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Fri, 21 Dec 2001 13:36:28 +0000 (13:36 +0000)
committerfidian <fidian@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Fri, 21 Dec 2001 13:36:28 +0000 (13:36 +0000)
themes documentation to reflect the change.  Let me know if this sucks and I
should revert it back.

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

doc/themes.txt
src/left_main.php

index 11d6caa9fa9c6898f3290c97e305253df5ae0a3b..824c24f966bd21dbd65ae834d424615800bc5f98 100644 (file)
@@ -35,23 +35,24 @@ description of what the different entries are for.
 ---<END>---
 
 And here is a description of what the different entries in the array
 ---<END>---
 
 And here is a description of what the different entries in the array
-are color of:
+are colors of, and the letter before the number denotes 'b' for background and
+'f' for foreground colors.
 
 
-  0: Title Bar at the top of the page header
-  1: <not currently used>
-  2: Error messages (usually red)
-  3: Left folder list background color
-  4: Normal background color
-  5: Header of the message index (From, Date, Subject)
-  6: Normal text on the left folder list
-  7: Links in the right frame
-  8: Normal text (usually black) 
-  9: Darker version of #0
- 10: Darker version of #9
- 11: Special folders color (Inbox, Trash, Sent)
- 12: Alternate color for message list (alters between 4 and this one)
- 13: Color for single-quoted text ("> text") when reading (default:  #800000)
- 14: Color for text with more than one quote (default: #FF0000)
+b  0: Title Bar at the top of the page header
+f  1: <not currently used>
+f  2: Error messages, usually red
+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  8: Normal text [usually black]
+b  9: Darker version of #0
+b 10: Darker version of #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)
 
 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 
 
 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 
index 959294eec8a6f3e73926e616b664a3c68960ba2c..d6e8855810c5cbd17844e5d8ce1f33268c1be6b3 100644 (file)
@@ -336,7 +336,7 @@ for ($i = 0;$i < count($boxes); $i++) {
 
         /* Add the folder name and link. */
         if (in_array('noselect', $boxes[$i]['flags'])) {
 
         /* Add the folder name and link. */
         if (in_array('noselect', $boxes[$i]['flags'])) {
-            $line .= "<FONT COLOR=\"$color[10]\">";
+            $line .= "<FONT COLOR=\"$color[7]\">";
             if (ereg("^( *)([^ ]*)", $mailbox, $regs)) {
                 $mailbox = str_replace('&nbsp;','',$mailbox);
                 $line .= str_replace(' ', '&nbsp;', $mailbox);
             if (ereg("^( *)([^ ]*)", $mailbox, $regs)) {
                 $mailbox = str_replace('&nbsp;','',$mailbox);
                 $line .= str_replace(' ', '&nbsp;', $mailbox);