Преглед на файлове

updated the theme support

Luke Ehresman преди 25 години
родител
ревизия
156be61ce2
променени са 3 файла, в които са добавени 27 реда и са изтрити 34 реда
  1. 2 2
      config/config.php
  2. 25 13
      config/default_theme.php
  3. 0 19
      config/tan_theme.php

+ 2 - 2
config/config.php

@@ -1,6 +1,6 @@
 <?
 <?
 //  Organization's logo picture (blank if none)
 //  Organization's logo picture (blank if none)
-    $org_logo = "../images/logo.jpg";
+    $org_logo = "../images/logo.gif";
 
 
 //  Organization's name
 //  Organization's name
     $org_name = "SquirrelMail";
     $org_name = "SquirrelMail";
@@ -34,7 +34,7 @@
 //     want.  For an example of a theme, see the ones included in the config
 //     want.  For an example of a theme, see the ones included in the config
 //     directory.
 //     directory.
 //   Example:   require("../config/default_theme.php");
 //   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
 //  Whether or not to use $color[11] for special folders.  If not, special
 //  folders will be the same color as the other folders
 //  folders will be the same color as the other folders

+ 25 - 13
config/default_theme.php

@@ -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
        Most of the colors were taken from mail.yahoo.com's theme on their
        site.
        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
 ?>
 ?>

+ 0 - 19
config/tan_theme.php

@@ -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
-?>