From 24194051f6055e0a2bbd01a014ea375232add729 Mon Sep 17 00:00:00 2001 From: fidian Date: Tue, 12 Jun 2001 17:58:48 +0000 Subject: [PATCH] * Whoops -- had some stuff backwards in my mind * Added some different colors for one theme that really had problems before. git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@1412 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- doc/themes.txt | 4 ++-- functions/strings.php | 10 +++++----- themes/black_bean_burrito_theme.php | 4 +++- 3 files changed, 10 insertions(+), 8 deletions(-) diff --git a/doc/themes.txt b/doc/themes.txt index dd169337..11d6caa9 100644 --- a/doc/themes.txt +++ b/doc/themes.txt @@ -50,8 +50,8 @@ are color of: 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: #FF0000) - 14: Color for text with more than one quote (default: #800000) + 13: Color for single-quoted text ("> text") when reading (default: #800000) + 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 diff --git a/functions/strings.php b/functions/strings.php index c0984ebc..f3b190fc 100644 --- a/functions/strings.php +++ b/functions/strings.php @@ -206,13 +206,13 @@ } if ($Quotes > 1) { - if (! isset($color[13])) - $color[13] = '#FF0000'; - $line = '' . $line . ''; - } elseif ($Quotes) { if (! isset($color[14])) - $color[14] = '#800000'; + $color[14] = '#FF0000'; $line = '' . $line . ''; + } elseif ($Quotes) { + if (! isset($color[13])) + $color[13] = '#800000'; + $line = '' . $line . ''; } $body_ary[$i] = $line; diff --git a/themes/black_bean_burrito_theme.php b/themes/black_bean_burrito_theme.php index 23464e0e..e8ecd332 100644 --- a/themes/black_bean_burrito_theme.php +++ b/themes/black_bean_burrito_theme.php @@ -16,6 +16,8 @@ $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"; // (light red) Special Folders color + $color[11] = "#AAAA44"; // (gold) Special Folders color $color[12] = "#202020"; // (dark gray) Alternate color for message backround in index table + $color[13] = "#FF7733"; // (orange-ish) Single-quoted text + $color[14] = "#FF3377"; // (pink-ish) 2 or more quotes ?> -- 2.25.1