theme style police
authorteepe <teepe@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Tue, 25 Dec 2001 02:11:30 +0000 (02:11 +0000)
committerteepe <teepe@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Tue, 25 Dec 2001 02:11:30 +0000 (02:11 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@1930 7612ce4b-ef26-0410-bec9-ea0150e637f0

themes/purple_theme.php
themes/random.php
themes/sandstorm_theme.php
themes/seaspray_theme.php
themes/servery_theme.php

index 8cd6cc79a242330a2a9be3b1cb3d35c8798a63fe..bdc7257bc78f7df8634d47bd92a81508aa037f02 100644 (file)
@@ -1,23 +1,31 @@
 <?php
-   /** Author:       Luke Ehresman
-       Date:         January 7, 2000
-       Theme Name:   "Purple Theme"
 
-       This Theme is composed entirely of shades of purple.
-    **/
+/**
+ * purple_theme.php
+ *    Name:    Purple Theme
+ *    Author:  Luke Ehresman
+ *    Date:    January 7, 2000
+ *    Comment: This Theme is composed entirely of shades of purple.
+ *
+ * Copyright (c) 2000-2002 The SquirrelMail Project Team
+ * Licensed under the GNU GPL. For full terms see the file COPYING.
+ *
+ * $Id$
+ */
+
+global $color;
+$color[0]   = "#AC9ECB"; // (light purp)     TitleBar
+$color[1]   = "#800000"; // (red)
+$color[2]   = "#CC0000"; // (light red)      Warning/Error Messages
+$color[3]   = "#B6A7D5"; // (purple)         Left Bar Background
+$color[4]   = "#EDE4FF"; // (light purple)   Normal Background
+$color[5]   = "#DDD4EF"; // (darker gray)    Table Headers
+$color[6]   = "#000000"; // (black)          Text on left bar
+$color[7]   = "#622680"; // (light purple)   Links
+$color[8]   = "#000000"; // (black)          Normal text
+$color[9]   = "#877C9F"; // (mid purp)       Darker version of #0
+$color[10]  = "#726987"; // (dark purp)      Darker version of #9
+$color[11]  = "#770000"; // (dark red)       Special Folders color
+$color[12]  = "#E0D9F2";
 
-    global $color;
-    $color[0]   = "#AC9ECB"; // (light purp)     TitleBar
-    $color[1]   = "#800000"; // (red)
-    $color[2]   = "#CC0000"; // (light red)      Warning/Error Messages
-    $color[3]   = "#B6A7D5"; // (purple)         Left Bar Background
-    $color[4]   = "#EDE4FF"; // (light purple)   Normal Background
-    $color[5]   = "#DDD4EF"; // (darker gray)    Table Headers
-    $color[6]   = "#000000"; // (black)          Text on left bar
-    $color[7]   = "#622680"; // (light purple)   Links
-    $color[8]   = "#000000"; // (black)          Normal text
-    $color[9]   = "#877C9F"; // (mid purp)       Darker version of #0
-    $color[10]  = "#726987"; // (dark purp)      Darker version of #9
-    $color[11]  = "#770000"; // (dark red)       Special Folders color
-    $color[12]  = "#E0D9F2";
 ?>
index 6a85200b8459e7e57695d0fe62c608518e168773..a6e04442a07923202587ae852433ecf7136b94e3 100755 (executable)
@@ -1,28 +1,36 @@
 <?php
-   /** Author:       Tyler Akins
-       Theme Name:   Random Theme Every Login
 
-       Guess what this does!
-       
-   **/
+/**
+ * random.php
+ *    Name:    Random Theme Every Login
+ *    Author:  Tyler Akins
+ *    Date:    December 24, 2001
+ *    Comment: Guess what this does!
+ *
+ * Copyright (c) 2000-2002 The SquirrelMail Project Team
+ * Licensed under the GNU GPL. For full terms see the file COPYING.
+ *
+ * $Id$
+ */
 
-   sq_mt_randomize();
+sq_mt_randomize();
    
-   global $theme, $random_theme_good_themes;
+global $theme, $random_theme_good_themes;
    
-   if (! session_is_registered('random_theme_good_theme')) {
-      $good_themes = array();
-      foreach ($theme as $data) {
-         if (substr($data['PATH'], -18) != '/themes/random.php')
+if (!session_is_registered('random_theme_good_theme')) {
+    $good_themes = array();
+    foreach ($theme as $data) {
+        if (substr($data['PATH'], -18) != '/themes/random.php') {
             $good_themes[] = $data['PATH'];
-      }
-      if (count($good_themes) == 0)
-         $good_themes[] = "../themes/default.php";
-      $which = mt_rand(0, count($good_themes));
-      $random_theme_good_theme = $good_themes[$which];
-      session_register('random_theme_good_theme');
-   }
+        }
+    }
+    if (count($good_themes) == 0)
+    $good_themes[] = '../themes/default.php';
+    $which = mt_rand(0, count($good_themes));
+    $random_theme_good_theme = $good_themes[$which];
+    session_register('random_theme_good_theme');
+}
    
-   @include_once ($random_theme_good_theme);
+@include_once ($random_theme_good_theme);
 
 ?>
index af72b9a1d2d0c66b5ec82fff26b0ebdab67bc32b..cfbbecce9de8be35dd1cedab4226cf8eeb7302da 100644 (file)
@@ -1,22 +1,30 @@
 <?php
-   /** Author:       Luke Ehresman
-       Date:         January 2, 2000
-       Theme Name:   "Sand Storm"
 
-       This is a theme using Tan as its main color.
-    **/
+/**
+ * sandstorm_theme.php
+ *    Name:    Sand Storm
+ *    Author:  Luke Ehresman
+ *    Date:    January 2, 2000
+ *    Comment: This is a theme using Tan as its main color.
+ *
+ * Copyright (c) 2000-2002 The SquirrelMail Project Team
+ * Licensed under the GNU GPL. For full terms see the file COPYING.
+ *
+ * $Id$
+ */
+
+global $color;
+$color[0]   = "#CFB789"; // (darker tan)     TitleBar
+$color[1]   = "#800000"; // (red)
+$color[2]   = "#CC0000"; // (light red)      Warning/Error Messages
+$color[3]   = "#AF9769"; // (tan)            Left Bar Background
+$color[4]   = "#FFE9BF"; // (light tan)      Normal Background
+$color[5]   = "#FFFFCC"; // (light yellow)   Table Headers
+$color[6]   = "#000000"; // (black)          Text on left bar
+$color[7]   = "#8B6029"; // (blue)           Links
+$color[8]   = "#000000"; // (black)          Normal text
+$color[9]   = "#BFA779"; // (mid tan)        Darker version of #0
+$color[10]  = "#7F6729"; // (dark tan)       Darker version of #9
+$color[11]  = "#770000"; // (dark red)       Special Folders color
 
-    global $color;
-    $color[0]   = "#CFB789"; // (darker tan)     TitleBar
-    $color[1]   = "#800000"; // (red)
-    $color[2]   = "#CC0000"; // (light red)      Warning/Error Messages
-    $color[3]   = "#AF9769"; // (tan)            Left Bar Background
-    $color[4]   = "#FFE9BF"; // (light tan)      Normal Background
-    $color[5]   = "#FFFFCC"; // (light yellow)   Table Headers
-    $color[6]   = "#000000"; // (black)          Text on left bar
-    $color[7]   = "#8B6029"; // (blue)           Links
-    $color[8]   = "#000000"; // (black)          Normal text
-    $color[9]   = "#BFA779"; // (mid tan)        Darker version of #0
-    $color[10]  = "#7F6729"; // (dark tan)       Darker version of #9
-    $color[11]  = "#770000"; // (dark red)       Special Folders color
 ?>
index 4f433846ab5b1d2e3d2b3b35c5471e29e014e863..90e9682ed69f641e99c88f613f0ac191be3a2611 100644 (file)
@@ -1,20 +1,30 @@
 <?php
-   /** Author:       Luke Ehresman
-       Date:         March 3, 2000 
-       Theme Name:   "Sea Spray Theme"
-    **/
 
-    global $color;
-    $color[0]   = "#7CA4A4"; 
-    $color[1]   = "#800000";
-    $color[2]   = "#CC0000";
-    $color[3]   = "#588080";
-    $color[4]   = "#DCFFFF";
-    $color[5]   = "#98C0C0";
-    $color[6]   = "#000000";
-    $color[7]   = "#184040";
-    $color[8]   = "#000000";
-    $color[9]   = "#78A0A0";
-    $color[10]  = "#386060";
-    $color[11]  = "#FFFFB0";
+/**
+ * seaspray_theme.php
+ *    Name:    Sea Spray Theme
+ *    Author:  Luke Ehresman
+ *    Date:    March 3, 2000
+ *    Comment: 
+ *
+ * Copyright (c) 2000-2002 The SquirrelMail Project Team
+ * Licensed under the GNU GPL. For full terms see the file COPYING.
+ *
+ * $Id$
+ */
+
+global $color;
+$color[0]   = "#7CA4A4"; 
+$color[1]   = "#800000";
+$color[2]   = "#CC0000";
+$color[3]   = "#588080";
+$color[4]   = "#DCFFFF";
+$color[5]   = "#98C0C0";
+$color[6]   = "#000000";
+$color[7]   = "#184040";
+$color[8]   = "#000000";
+$color[9]   = "#78A0A0";
+$color[10]  = "#386060";
+$color[11]  = "#FFFFB0";
+
 ?>
index 1499c083ce7b5be1b61253e838dcd8a81be739c9..ae91cac4732b19f580f3f93554072c3f0db70c7e 100644 (file)
@@ -1,36 +1,30 @@
 <?php
 
-/*
-  0: Title Bar at the top of the page header
-  1: <not currently used>
-  2: Error messages (usually red)
-  3: Left folder list background color
-  4: Normal background color
-  5: Header of the message index (From, Date, Subject)
-  6: Normal text on the left folder list
-  7: Links in the right frame
-  8: Normal text (usually black) 
-  9: Darker version of #0
- 10: Darker version of #9
- 11: Special folders color (Inbox, Trash, Sent)
-/*
-   /** Author:       Ondrej Sury <ondrej@globe.cz>
-       Date:         August 18, 2000
-       Theme Name:   "Servery.cz Theme"
+/**
+ * servery_theme.php
+ *    Name:    Servery.cz Theme
+ *    Author:  Ondrej Sury <ondrej@globe.cz>
+ *    Date:    August 18, 2000
+ *    Comment: 
+ *
+ * Copyright (c) 2000-2002 The SquirrelMail Project Team
+ * Licensed under the GNU GPL. For full terms see the file COPYING.
+ *
+ * $Id$
+ */
 
-    **/
+global $color;
+$color[0]   = "#F1EEE3"; // (light gray)     TitleBar
+$color[1]   = "#800000"; // (red)
+$color[2]   = "#CC0000"; // (light red)      Warning/Error Messages
+$color[3]   = "#7D6F3F"; // (green-blue)     Left Bar Background
+$color[4]   = "#FFFFFF"; // (white)          Normal Background
+$color[5]   = "#C7B98B"; // (light yellow)   Table Headers
+$color[6]   = "#000000"; // (black)          Text on left bar
+$color[7]   = "#434031"; // (blue)           Links
+$color[8]   = "#000000"; // (black)          Normal text
+$color[9]   = "#C7B98B"; // (mid-gray)       Darker version of #0
+$color[10]  = "#F1EEE3"; // (dark gray)      Darker version of #9
+$color[11]  = "#770000"; // (dark red)       Special Folders color
 
-    global $color;
-    $color[0]   = "#F1EEE3"; // (light gray)     TitleBar
-    $color[1]   = "#800000"; // (red)
-    $color[2]   = "#CC0000"; // (light red)      Warning/Error Messages
-    $color[3]   = "#7D6F3F"; // (green-blue)     Left Bar Background
-    $color[4]   = "#FFFFFF"; // (white)          Normal Background
-    $color[5]   = "#C7B98B"; // (light yellow)   Table Headers
-    $color[6]   = "#000000"; // (black)          Text on left bar
-    $color[7]   = "#434031"; // (blue)           Links
-    $color[8]   = "#000000"; // (black)          Normal text
-    $color[9]   = "#C7B98B"; // (mid-gray)       Darker version of #0
-    $color[10]  = "#F1EEE3"; // (dark gray)      Darker version of #9
-    $color[11]  = "#770000"; // (dark red)       Special Folders color
 ?>