updated the config file for themable support, and added 2 themes
authorlkehresman <lkehresman@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Sun, 2 Jan 2000 20:22:08 +0000 (20:22 +0000)
committerlkehresman <lkehresman@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Sun, 2 Jan 2000 20:22:08 +0000 (20:22 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@96 7612ce4b-ef26-0410-bec9-ea0150e637f0

config/config.php
config/default_theme.php [new file with mode: 0644]
config/tan_theme.php [new file with mode: 0644]

index 3a29797..77fa88f 100644 (file)
     $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 <A HREF=\"mailto:nathan@usa.om.org\">Nathan</A> or <A HREF=\"mailto:luke@usa.om.org\">Luke</A>.";
 
 //  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 (file)
index 0000000..53582ae
--- /dev/null
@@ -0,0 +1,19 @@
+<?
+   /** This is the default theme that comes standard with SquirrelMail.
+       Most of the colors were taken from mail.yahoo.com's theme on their
+       site.
+    **/
+
+    $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
+?>
\ No newline at end of file
diff --git a/config/tan_theme.php b/config/tan_theme.php
new file mode 100644 (file)
index 0000000..27f0bdc
--- /dev/null
@@ -0,0 +1,19 @@
+<?
+   /** TAN THEME
+       By Luke Ehresman   Jan 02, 2000
+
+       These are tan colors
+    **/
+   $color[0]   = "9F8666"; // Light Gray
+   $color[1]   = "800000"; // Red
+   $color[2]   = "CC0000"; // Light Red
+   $color[3]   = "B79F7D"; // Left Background
+   $color[4]   = "D7BB93"; // Background
+   $color[5]   = "FFFFCC"; // Light Yellow
+   $color[6]   = "000000"; // Left Text
+   $color[7]   = "774712"; // Link
+   $color[8]   = "000000"; // Text
+   $color[9]   = "8B6E50"; // Darker light gray
+   $color[10]  = "666666"; // Darker light gray
+   $color[11]  = "770000"; // Special folder color
+?>