updated the theme support
authorlkehresman <lkehresman@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Mon, 3 Jan 2000 01:44:01 +0000 (01:44 +0000)
committerlkehresman <lkehresman@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Mon, 3 Jan 2000 01:44:01 +0000 (01:44 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@98 7612ce4b-ef26-0410-bec9-ea0150e637f0

config/config.php
config/default_theme.php
config/tan_theme.php [deleted file]

index 640e0268ca93b7440333c1cf47d0f07c42744f6d..ad98ee56785c40af8865e34154010224e01eaa59 100644 (file)
@@ -1,6 +1,6 @@
 <?
 //  Organization's logo picture (blank if none)
-    $org_logo = "../images/logo.jpg";
+    $org_logo = "../images/logo.gif";
 
 //  Organization's name
     $org_name = "SquirrelMail";
@@ -34,7 +34,7 @@
 //     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");
+    require("../config/tan_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
index 53582ae5e945d1d1f84dc9a8c4d01f14f6fd8ff4..13a9d0b64a36b79acdd2811ad4f5a452bbc6e6df 100644 (file)
@@ -1,19 +1,31 @@
 <?
-   /** This is the default theme that comes standard with SquirrelMail.
+   /** Author:       Luke Ehresman
+       Date:         January 2, 2000
+       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
        site.
+
+       To create a new theme, just copy this file, and edit the colors.
+       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.
     **/
 
-    $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
+    $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
 ?>
\ No newline at end of file
diff --git a/config/tan_theme.php b/config/tan_theme.php
deleted file mode 100644 (file)
index 0c8e28c..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-<?
-   /** TAN THEME
-       By Luke Ehresman   Jan 02, 2000
-
-       These are tan colors
-    **/
-   $color[0]   = "B3B3B3"; // Light Gray
-   $color[1]   = "800000"; // Red
-   $color[2]   = "CC0000"; // Light Red
-   $color[3]   = "006666"; // 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]   = "999999"; // Darker light gray
-   $color[10]  = "666666"; // Darker light gray
-   $color[11]  = "770000"; // Special folder color
-?>