<?php
- /** Author: Jorey Bump
- Date: October 20, 2001
- Theme Name: "In the Pink"
-
- This theme generates random colors, featuring a reddish background with dark text.
-
- **/
-
- /** seed the random number generator **/
- sq_mt_randomize();
-
- for ($i = 0; $i <= 14; $i++) {
- /** background/foreground toggle **/
- if ($i == 0 or $i == 3 or $i == 4 or $i == 5 or $i == 9 or $i == 10 or $i == 12) {
- /** background **/
- $r = mt_rand(248,255);
- $b = mt_rand(140,255);
- $g = mt_rand(128,$b);
- } else {
- /** text **/
- $b = mt_rand(2,128);
- $r = mt_rand(1,$b);
- $g = mt_rand(0,$r);
- }
-
- /** set array element as hex string with hashmark (for HTML output) **/
- $color[$i] = sprintf("#%02X%02X%02X",$r,$g,$b);
- }
-
-
-/** Reference from http://www.squirrelmail.org/wiki/CreatingThemes
-
- $color[0] = '#xxxxxx'; // Title bar at the top of the page header
- $color[1] = '#xxxxxx'; // Not currently used
- $color[2] = '#xxxxxx'; // Error messages (usually red)
- $color[3] = '#xxxxxx'; // Left folder list background color
- $color[4] = '#xxxxxx'; // Normal background color
- $color[5] = '#xxxxxx'; // Header of the message index // (From, Date,Subject)
- $color[6] = '#xxxxxx'; // Normal text on the left folder list
- $color[7] = '#xxxxxx'; // Links in the right frame
- $color[8] = '#xxxxxx'; // Normal text (usually black)
- $color[9] = '#xxxxxx'; // Darker version of #0
- $color[10] = '#xxxxxx'; // Darker version of #9
- $color[11] = '#xxxxxx'; // Special folders color (INBOX, Trash, Sent)
- $color[12] = '#xxxxxx'; // Alternate color for message list // Alters between #4 and this one
- $color[13] = '#xxxxxx'; // Color for quoted text -- > 1 quote
- $color[14] = '#xxxxxx'; // Color for quoted text -- >> 2 or more
-
-**/
+
+/**
+ * in_the_pink.php
+ * Name: In the Pink
+ * Author: Jorey Bump
+ * Date: October 20, 2001
+ * Comment: This theme generates random colors, featuring a reddish
+ * background with dark text.
+ *
+ * Copyright (c) 2000-2002 The SquirrelMail Project Team
+ * Licensed under the GNU GPL. For full terms see the file COPYING.
+ *
+ * $Id$
+ */
+
+/* seed the random number generator */
+sq_mt_randomize();
+
+for ($i = 0; $i <= 14; $i++) {
+ /* background/foreground toggle */
+ if ($i == 0 or $i == 3 or $i == 4 or $i == 5 or $i == 9 or $i == 10 or $i == 12) {
+ /* background */
+ $r = mt_rand(248,255);
+ $b = mt_rand(140,255);
+ $g = mt_rand(128,$b);
+ } else {
+ /* text */
+ $b = mt_rand(2,128);
+ $r = mt_rand(1,$b);
+ $g = mt_rand(0,$r);
+ }
+
+ /* set array element as hex string with hashmark (for HTML output) */
+ $color[$i] = sprintf("#%02X%02X%02X",$r,$g,$b);
+}
+
+
+/* Reference from http://www.squirrelmail.org/wiki/CreatingThemes
+
+$color[0] = '#xxxxxx'; // Title bar at the top of the page header
+$color[1] = '#xxxxxx'; // Not currently used
+$color[2] = '#xxxxxx'; // Error messages (usually red)
+$color[3] = '#xxxxxx'; // Left folder list background color
+$color[4] = '#xxxxxx'; // Normal background color
+$color[5] = '#xxxxxx'; // Header of the message index // (From, Date,Subject)
+$color[6] = '#xxxxxx'; // Normal text on the left folder list
+$color[7] = '#xxxxxx'; // Links in the right frame
+$color[8] = '#xxxxxx'; // Normal text (usually black)
+$color[9] = '#xxxxxx'; // Darker version of #0
+$color[10] = '#xxxxxx'; // Darker version of #9
+$color[11] = '#xxxxxx'; // Special folders color (INBOX, Trash, Sent)
+$color[12] = '#xxxxxx'; // Alternate color for message list // Alters between #4 and this one
+$color[13] = '#xxxxxx'; // Color for quoted text -- > 1 quote
+$color[14] = '#xxxxxx'; // Color for quoted text -- >> 2 or more
+
+*/
?>
<?php
- /** Author: Jorey Bump
- Date: October 20, 2001
- Theme Name: "Kind of Blue"
-
- This theme generates random colors, featuring a light bluish background with dark text.
-
- **/
-
- /** seed the random number generator **/
- sq_mt_randomize();
-
- for ($i = 0; $i <= 14; $i++) {
- /** background/foreground toggle **/
- if ($i == 0 or $i == 3 or $i == 4 or $i == 5 or $i == 9 or $i == 10 or $i == 12) {
- /** background **/
- $b = mt_rand(248,255);
- $g = mt_rand(180,255);
- $r = mt_rand(178,$g);
- } else {
- /** text **/
- $cmin = 0;
- $cmax = 128;
-
- /** generate random color **/
- $b = mt_rand($cmin,$cmax);
- $g = mt_rand($cmin,$cmax);
- $r = mt_rand($cmin,$cmax);
- }
-
- /** set array element as hex string with hashmark (for HTML output) **/
- $color[$i] = sprintf("#%02X%02X%02X",$r,$g,$b);
- }
+/**
+ * kind_of_blue.php
+ * Name: Kind of Blue
+ * Author: Jorey Bump
+ * Date: October 20, 2001
+ * Comment: This theme generates random colors, featuring a
+ * light bluish background with dark text.
+ *
+ * Copyright (c) 2000-2002 The SquirrelMail Project Team
+ * Licensed under the GNU GPL. For full terms see the file COPYING.
+ *
+ * $Id$
+ */
-/** Reference from http://www.squirrelmail.org/wiki/CreatingThemes
-
- $color[0] = '#xxxxxx'; // Title bar at the top of the page header
- $color[1] = '#xxxxxx'; // Not currently used
- $color[2] = '#xxxxxx'; // Error messages (usually red)
- $color[3] = '#xxxxxx'; // Left folder list background color
- $color[4] = '#xxxxxx'; // Normal background color
- $color[5] = '#xxxxxx'; // Header of the message index // (From, Date,Subject)
- $color[6] = '#xxxxxx'; // Normal text on the left folder list
- $color[7] = '#xxxxxx'; // Links in the right frame
- $color[8] = '#xxxxxx'; // Normal text (usually black)
- $color[9] = '#xxxxxx'; // Darker version of #0
- $color[10] = '#xxxxxx'; // Darker version of #9
- $color[11] = '#xxxxxx'; // Special folders color (INBOX, Trash, Sent)
- $color[12] = '#xxxxxx'; // Alternate color for message list // Alters between #4 and this one
- $color[13] = '#xxxxxx'; // Color for quoted text -- > 1 quote
- $color[14] = '#xxxxxx'; // Color for quoted text -- >> 2 or more
-
-**/
+/* seed the random number generator */
+sq_mt_randomize();
+
+for ($i = 0; $i <= 14; $i++) {
+ /* background/foreground toggle */
+ if ($i == 0 or $i == 3 or $i == 4 or $i == 5 or $i == 9 or $i == 10 or $i == 12) {
+ /* background */
+ $r = mt_rand(248,255);
+ $b = mt_rand(180,255);
+ $g = mt_rand(178,$g);
+ } else {
+ /* text */
+ $cmin = 0;
+ $cmax = 128;
+
+ /** generate random color **/
+ $b = mt_rand($cmin,$cmax);
+ $g = mt_rand($cmin,$cmax);
+ $r = mt_rand($cmin,$cmax);
+ }
+
+ /* set array element as hex string with hashmark (for HTML output) */
+ $color[$i] = sprintf("#%02X%02X%02X",$r,$g,$b);
+}
+
+
+/* Reference from http://www.squirrelmail.org/wiki/CreatingThemes
+
+$color[0] = '#xxxxxx'; // Title bar at the top of the page header
+$color[1] = '#xxxxxx'; // Not currently used
+$color[2] = '#xxxxxx'; // Error messages (usually red)
+$color[3] = '#xxxxxx'; // Left folder list background color
+$color[4] = '#xxxxxx'; // Normal background color
+$color[5] = '#xxxxxx'; // Header of the message index // (From, Date,Subject)
+$color[6] = '#xxxxxx'; // Normal text on the left folder list
+$color[7] = '#xxxxxx'; // Links in the right frame
+$color[8] = '#xxxxxx'; // Normal text (usually black)
+$color[9] = '#xxxxxx'; // Darker version of #0
+$color[10] = '#xxxxxx'; // Darker version of #9
+$color[11] = '#xxxxxx'; // Special folders color (INBOX, Trash, Sent)
+$color[12] = '#xxxxxx'; // Alternate color for message list // Alters between #4 and this one
+$color[13] = '#xxxxxx'; // Color for quoted text -- > 1 quote
+$color[14] = '#xxxxxx'; // Color for quoted text -- >> 2 or more
+
+*/
?>
<?php
- /** Author: Ray Black
- Date: August 15, 2000
- Theme Name: "Maize"
- Comments: Staying with the 'South of the border food' theme,
- I bring you Maize to accompany Black Bean Burrito.
- As the Furbies say: Yum! Oh, message highlighting
- looks best with colors in the neighborhood of
- #7A6A50, bumping up the red, green and blue where
- necessary.
- **/
- global $color;
- $color[0] = "#B0B0B0"; // (gray) TitleBar
- $color[1] = "#A04040"; // (dull red) Quoted Replies in Emails
- $color[2] = "#F04040"; // (bright red) Warning/Error Messages
- $color[3] = "#DFCFBF"; // (antique white) Left Bar Background
- $color[4] = "#DFCFBF"; // (antique white) Normal Background
- $color[5] = "#755A45"; // (light brown) Table Headers
- $color[6] = "#101010"; // (off-black) Text on left bar
- $color[7] = "#800000"; // (red) Links
- $color[8] = "#000000"; // (black) Normal text
- $color[9] = "#909090"; // (darker gray) Darker version of #0
- $color[10] = "#606060"; // (darkest gray) Darker version of #9
- $color[11] = "#600000"; // (lighter red) Special Folders color
+/**
+ * maize_theme.php
+ * Name: Maize
+ * Author: Ray Black
+ * Date: August 15, 2000
+ * Comment: Staying with the 'South of the border food' theme,
+ * Staying with the 'South of the border food' theme,
+ * I bring you Maize to accompany Black Bean Burrito.
+ * As the Furbies say: Yum! Oh, message highlighting
+ * looks best with colors in the neighborhood of
+ * #7A6A50, bumping up the red, green and blue where
+ * necessary.
+ *
+ * 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] = "#B0B0B0"; // (gray) TitleBar
+$color[1] = "#A04040"; // (dull red) Quoted Replies in Emails
+$color[2] = "#F04040"; // (bright red) Warning/Error Messages
+$color[3] = "#DFCFBF"; // (antique white) Left Bar Background
+$color[4] = "#DFCFBF"; // (antique white) Normal Background
+$color[5] = "#755A45"; // (light brown) Table Headers
+$color[6] = "#101010"; // (off-black) Text on left bar
+$color[7] = "#800000"; // (red) Links
+$color[8] = "#000000"; // (black) Normal text
+$color[9] = "#909090"; // (darker gray) Darker version of #0
+$color[10] = "#606060"; // (darkest gray) Darker version of #9
+$color[11] = "#600000"; // (lighter red) Special Folders color
+
?>
<?php
- /** Author: Ray Black III
- Date: November 19, 2001
- Theme Name: "Methodical"
- Methodical is a theme that's based on the dompie theme, but expands the blue
- across the entire page, and modifies some of the gray backgrounds.
- **/
+/**
+ * methodical_theme.php
+ * Name: Methodical
+ * Author: Ray Black III
+ * Date: November 19, 2001
+ * Comment: Methodical is a theme that's based on the dompie theme,
+ * but expands the blue across the entire page, and modifies
+ * some of the gray backgrounds.
+ *
+ * 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] = "#808080"; // (middle grey) TitleBar
+$color[1] = "#800000"; // (red)
+$color[2] = "#CC0000"; // (light red) Warning/Error Messages
+$color[3] = "#294763"; // (dark blue) Left Bar Background
+$color[4] = "#294763"; // (white) Normal Background
+$color[5] = "#999999"; // (light grey) Table Headers
+$color[6] = "#FFFFFF"; // (white) Text on left bar
+$color[7] = "#FFFFFF"; // (black) Links
+$color[8] = "#FFFFFF"; // (black) Normal text
+$color[9] = "#999999"; // (light grey) Darker version of #0
+$color[10] = "#999999"; // (light grey) Darker version of #9
+$color[11] = "#A7C5F3"; // (light blue) Special Folders color
+$color[12] = "#9F9F9F"; //
- global $color;
- $color[0] = "#808080"; // (middle grey) TitleBar
- $color[1] = "#800000"; // (red)
- $color[2] = "#CC0000"; // (light red) Warning/Error Messages
- $color[3] = "#294763"; // (dark blue) Left Bar Background
- $color[4] = "#294763"; // (white) Normal Background
- $color[5] = "#999999"; // (light grey) Table Headers
- $color[6] = "#FFFFFF"; // (white) Text on left bar
- $color[7] = "#FFFFFF"; // (black) Links
- $color[8] = "#FFFFFF"; // (black) Normal text
- $color[9] = "#999999"; // (light grey) Darker version of #0
- $color[10] = "#999999"; // (light grey) Darker version of #9
- $color[11] = "#A7C5F3"; // (light blue) Special Folders color
- $color[12] = "#9F9F9F"; //
?>
<?php
- /** Author: Jorey Bump
- Date: October 20, 2001
- Theme Name: "Monostochastic"
- Generates random two-color frames, featuring either a dark or light background.
-
- **/
+/**
+ * monostochastic.php
+ * Name: Monostochastic
+ * Author: Jorey Bump
+ * Date: October 20, 2001
+ * Comment: Generates random two-color frames, featuring either
+ * a dark or light background.
+ *
+ * Copyright (c) 2000-2002 The SquirrelMail Project Team
+ * Licensed under the GNU GPL. For full terms see the file COPYING.
+ *
+ * $Id$
+ */
- /** seed the random number generator **/
- sq_mt_randomize();
+/* seed the random number generator */
+sq_mt_randomize();
- /** light(1) or dark(0) background toggle **/
- $bg = mt_rand(0,1);
+/** light(1) or dark(0) background toggle **/
+$bg = mt_rand(0,1);
- /** range delimiter **/
- $bgrd = $bg * 128;
+/** range delimiter **/
+$bgrd = $bg * 128;
- /** background **/
- $cmin_b = 0 + $bgrd;
- $cmax_b = 127 + $bgrd;
+/** background **/
+$cmin_b = 0 + $bgrd;
+$cmax_b = 127 + $bgrd;
- /** generate random color **/
- $rb = mt_rand($cmin_b,$cmax_b);
- $gb = mt_rand($cmin_b,$cmax_b);
- $bb = mt_rand($cmin_b,$cmax_b);
+/** generate random color **/
+$rb = mt_rand($cmin_b,$cmax_b);
+$gb = mt_rand($cmin_b,$cmax_b);
+$bb = mt_rand($cmin_b,$cmax_b);
- /** text **/
- $cmin_t = 128 - $bgrd;
- $cmax_t = 255 - $bgrd;
+/** text **/
+$cmin_t = 128 - $bgrd;
+$cmax_t = 255 - $bgrd;
- /** generate random color **/
- $rt = mt_rand($cmin_t,$cmax_t);
- $gt = mt_rand($cmin_t,$cmax_t);
- $bt = mt_rand($cmin_t,$cmax_t);
+/** generate random color **/
+$rt = mt_rand($cmin_t,$cmax_t);
+$gt = mt_rand($cmin_t,$cmax_t);
+$bt = mt_rand($cmin_t,$cmax_t);
- /** set array element as hex string with hashmark (for HTML output) **/
- for ($i = 0; $i <= 14; $i++) {
- if ($i == 0 or $i == 3 or $i == 4 or $i == 5 or $i == 9 or $i == 10 or $i == 12) {
- $color[$i] = sprintf("#%02X%02X%02X",$rb,$gb,$bb);
- } else {
- $color[$i] = sprintf("#%02X%02X%02X",$rt,$gt,$bt);
- }
- }
+/** set array element as hex string with hashmark (for HTML output) **/
+for ($i = 0; $i <= 14; $i++) {
+ if ($i == 0 or $i == 3 or $i == 4 or $i == 5 or $i == 9 or $i == 10 or $i == 12) {
+ $color[$i] = sprintf("#%02X%02X%02X",$rb,$gb,$bb);
+ } else {
+ $color[$i] = sprintf("#%02X%02X%02X",$rt,$gt,$bt);
+ }
+}
-/** Reference from http://www.squirrelmail.org/wiki/CreatingThemes
+/* Reference from http://www.squirrelmail.org/wiki/CreatingThemes
- $color[0] = '#xxxxxx'; // Title bar at the top of the page header
- $color[1] = '#xxxxxx'; // Not currently used
- $color[2] = '#xxxxxx'; // Error messages (usually red)
- $color[3] = '#xxxxxx'; // Left folder list background color
- $color[4] = '#xxxxxx'; // Normal background color
- $color[5] = '#xxxxxx'; // Header of the message index // (From, Date,Subject)
- $color[6] = '#xxxxxx'; // Normal text on the left folder list
- $color[7] = '#xxxxxx'; // Links in the right frame
- $color[8] = '#xxxxxx'; // Normal text (usually black)
- $color[9] = '#xxxxxx'; // Darker version of #0
- $color[10] = '#xxxxxx'; // Darker version of #9
- $color[11] = '#xxxxxx'; // Special folders color (INBOX, Trash, Sent)
- $color[12] = '#xxxxxx'; // Alternate color for message list // Alters between #4 and this one
- $color[13] = '#xxxxxx'; // Color for quoted text -- > 1 quote
- $color[14] = '#xxxxxx'; // Color for quoted text -- >> 2 or more
+$color[0] = '#xxxxxx'; // Title bar at the top of the page header
+$color[1] = '#xxxxxx'; // Not currently used
+$color[2] = '#xxxxxx'; // Error messages (usually red)
+$color[3] = '#xxxxxx'; // Left folder list background color
+$color[4] = '#xxxxxx'; // Normal background color
+$color[5] = '#xxxxxx'; // Header of the message index
+ // (From, Date,Subject)
+$color[6] = '#xxxxxx'; // Normal text on the left folder list
+$color[7] = '#xxxxxx'; // Links in the right frame
+$color[8] = '#xxxxxx'; // Normal text (usually black)
+$color[9] = '#xxxxxx'; // Darker version of #0
+$color[10] = '#xxxxxx'; // Darker version of #9
+$color[11] = '#xxxxxx'; // Special folders color (INBOX, Trash, Sent)
+$color[12] = '#xxxxxx'; // Alternate color for message list
+ // Alters between #4 and this one
+$color[13] = '#xxxxxx'; // Color for quoted text -- > 1 quote
+$color[14] = '#xxxxxx'; // Color for quoted text -- >> 2 or more
-**/
+*/
?>
<?php
- /** Author: Luke Ehresman
- Date: April 30, 2000
- Theme Name: "Plain Blue"
- **/
- global $color;
- $color[0] = "#A2BED4"; // TitleBar
- $color[1] = "#800000"; //
- $color[2] = "#CC0000"; // Warning/Error Messages
- $color[3] = "#6795B9"; // Left Bar Background
- $color[4] = "#FFFFFF"; // Normal Background
- $color[5] = "#94ABC0"; // Table Headers
- $color[6] = "#000000"; // Text on left bar
- $color[7] = "#0000CC"; // Links
- $color[8] = "#000000"; // Normal text
- $color[9] = "#83A0BA"; // Darker version of #0
- $color[10] = "#376589"; // Darker version of #9
- $color[11] = "#770000"; // Special Folders color
- $color[12] = "#EDEDED"; // Alternating rows color
+/**
+ * plain_blue_theme.php
+ * Name: Plain Blue
+ * Author: Luke Ehresman
+ * Date: April 30, 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] = "#A2BED4"; // TitleBar
+$color[1] = "#800000"; //
+$color[2] = "#CC0000"; // Warning/Error Messages
+$color[3] = "#6795B9"; // Left Bar Background
+$color[4] = "#FFFFFF"; // Normal Background
+$color[5] = "#94ABC0"; // Table Headers
+$color[6] = "#000000"; // Text on left bar
+$color[7] = "#0000CC"; // Links
+$color[8] = "#000000"; // Normal text
+$color[9] = "#83A0BA"; // Darker version of #0
+$color[10] = "#376589"; // Darker version of #9
+$color[11] = "#770000"; // Special Folders color
+$color[12] = "#EDEDED"; // Alternating rows color
+
?>