From f1eeea571c9737a9452849a305ad493a8c88c8a9 Mon Sep 17 00:00:00 2001 From: lkehresman Date: Sun, 2 Jan 2000 20:22:08 +0000 Subject: [PATCH] updated the config file for themable support, and added 2 themes git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@96 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- config/config.php | 18 ++++++------------ config/default_theme.php | 19 +++++++++++++++++++ config/tan_theme.php | 19 +++++++++++++++++++ 3 files changed, 44 insertions(+), 12 deletions(-) create mode 100644 config/default_theme.php create mode 100644 config/tan_theme.php diff --git a/config/config.php b/config/config.php index 3a297977..77fa88fe 100644 --- a/config/config.php +++ b/config/config.php @@ -27,18 +27,12 @@ $motd = " Welcome to OM's webmail system, SquirrelMail. We are currently in beta, and have not yet released a full version of SquirrelMail. Please feel free to look around, and please report any bugs to Nathan or Luke."; // Customizable colors - $color[0] = "DCDCDC"; // Light Gray - $color[1] = "800000"; // Red - $color[2] = "CC0000"; // Light Red - $color[3] = "A0B8C8"; // Left Background - $color[4] = "FFFFFF"; // Background - $color[5] = "FFFFCC"; // Light Yellow - $color[6] = "000000"; // Left Text - $color[7] = "0000CC"; // Link - $color[8] = "000000"; // Text - $color[9] = "ABABAB"; // Darker light gray - $color[10] = "666666"; // Darker light gray - $color[11] = "770000"; // Special folder color +// You can define your own theme and put it in this directory. You must +// call it as the example below. You can name the theme whatever you +// want. For an example of a theme, see the ones included in the config +// directory. +// Example: require("../config/default_theme.php"); + require("../config/default_theme.php"); // Whether or not to use $color[11] for special folders. If not, special // folders will be the same color as the other folders diff --git a/config/default_theme.php b/config/default_theme.php new file mode 100644 index 00000000..53582ae5 --- /dev/null +++ b/config/default_theme.php @@ -0,0 +1,19 @@ + \ No newline at end of file diff --git a/config/tan_theme.php b/config/tan_theme.php new file mode 100644 index 00000000..27f0bdce --- /dev/null +++ b/config/tan_theme.php @@ -0,0 +1,19 @@ + -- 2.25.1