Commit graph

35 commits

Author SHA1 Message Date
pdontthink
598a599ba3
Happy New Year 2025-01-03 11:47:03 -08:00
pdontthink
39cfdaadfd
Happy New Year 2024-01-02 14:58:16 -08:00
pdontthink
380afc7213
Happy New Year 2023-01-02 22:04:25 -08:00
pdontthink
bcdfe6e9f1
Happy New Year 2022-01-26 01:06:50 -08:00
pdontthink
c4ef1a0eea
Happy New Year 2021-02-05 11:55:37 -08:00
pdontthink
fc283980d0
Happy New Year 2020-01-07 00:12:38 -08:00
pdontthink
fbcb1ca1f5
Happy New Year 2019-01-07 21:55:08 -08:00
pdontthink
23cd61b628 Happy New Year 2018-01-16 23:44:07 +00:00
pdontthink
6cd24c0552 Happy 2017 2017-01-27 20:34:08 +00:00
pdontthink
2934017d92 Happy New Year 2016-01-01 20:59:53 +00:00
pdontthink
3b465a0d0f Happy 2015 2015-01-03 04:09:49 +00:00
pdontthink
581dc23061 Happy 2014 2014-01-01 20:33:20 +00:00
Fredrik Jervfors
c076a1f1ae Update copyright 2013-07-26 17:31:02 +00:00
pdontthink
acc409fb2a Updating copyrights. Happy New Year. 2012-01-02 02:09:17 +00:00
pdontthink
fc57bf2b59 Happy New Year! 2011-01-06 03:16:21 +00:00
pdontthink
7aa0e60863 Update copyrights to 2010 2010-01-25 03:23:30 +00:00
Fredrik Jervfors
134d462c94 The copyright symbol isn't really needed since the word "copyright" is there. Also it doesn't display right in the documentation. 2009-09-29 12:15:33 +00:00
Fredrik Jervfors
3693a95846 These files shouldn't be executables. 2009-04-15 17:17:56 +00:00
Thijs Kinkhorst
833746dca6 rework seed generation: this is something that really belongs in init.php
so do it there. Input enough random components from diferent dimensions,
so hard to predict.
2008-08-21 12:16:20 +00:00
Thijs Kinkhorst
28ac97e025 update randomizing themes for larger color array 2007-06-27 16:24:01 +00:00
Thijs Kinkhorst
5a04219efc HTTP_SERVER_SERVER should be HTTP_SERVER_VARS, but since
we require PHP >= 4.1.x, we need not use it anyware.
2007-02-18 12:46:47 +00:00
Thijs Kinkhorst
11b10ba5d1 increment year in copyright notices 2007-01-13 20:15:44 +00:00
tokul
59ae6f3ac2 removing trailing ?> from function scripts 2006-07-15 12:01:32 +00:00
tokul
d2da9bf0cc sq_mt_randomize() is not available in style.php 2006-06-04 09:57:20 +00:00
tokul
83fdb4c332 copyright update 2006-01-23 18:46:41 +00:00
Fredrik Jervfors
9ed98bb1ec phpDocumentor updates 2005-09-18 10:25:54 +00:00
Thijs Kinkhorst
a73561b911 Increment year in copyright notice. 2004-12-27 15:04:02 +00:00
Fredrik Jervfors
358c8f0459 XHTML fixes 2004-09-02 23:33:47 +00:00
Thijs Kinkhorst
cde0377d36 We're living in 2004 now... perl is your friend for these kinds of things :) 2004-02-24 15:51:22 +00:00
tassium
634c4370ca Added @package and @subpackage tags (and in some cases, @author tags) in preparation to begin using phpdocumentor. NOTE: Themes are part of package squirrelmail, subpackage themes. 2003-10-28 20:58:30 +00:00
Thijs Kinkhorst
75de52f258 Getting ready for 1.4.0 RC1 2002-12-31 12:49:43 +00:00
Thijs Kinkhorst
19a18cfaae Changed " to ' on some themes. 2002-01-28 17:53:04 +00:00
Tyler Akins
8031003eae Added $color[15] for the "unselectable folders" color.
Made left_main.php use $color[15] and fall back on $color[6] if not specified.
Added a $color[15] for all themes.  If you don't like the new color, just
change it.  :-)
Fixed a bug in prefs.php.
Updated themes.txt documentation.
2001-12-28 20:16:19 +00:00
teepe
efe4ff1090 theme style police 2001-12-25 02:02:16 +00:00
Tyler Akins
0abc73d4e7 Random Themes for SquirrelMail
by Jorey Bump

These themes generate random colors whenever a page is refreshed or a new one is
loaded.

** NOTE:  Question Reality wasn't added since it was 100% random and would
often produce unreadable results.  From the readme, it was listed as "For
demonstration purposes only!"  I hope Jorey doesn't mind. **

Spice of Life: This theme creates contrasting colors for easier readability. I
have also provided 2 variations, one that always provides a dark background and
one that always provides a light background (my personal favorite).

Greenhouse Effect, Kind of Blue, In the Pink, and Shades of Grey: As the titles
suggest, these themes favor a specific color.

Monostochastic: This creates a contrasting 2 color theme. There is only one
color for text, one for the background. Very spartan.

NOTES:

These themes will not interfere with the message highlighting feature provided
by SquirrelMail, but sometimes the results may be unpleasant.

I haven't tried it, but I assume that any colors specified in an external css
file will override the ones provided by any theme.

On a slightly technical note, this code will actually cause 2 themes to be
generated, one for each frame.

The SquirrelMail developers have not formally declared that certain elements of
the color array be used for text vs. background (although that would be nice!),
so I had to make educated guesses during development. I've noticed that
SquirrelMail borrows a background color from the right frame to use as a text
color in the left, to display parent folder names. This sometimes causes
the folder names to be barely legible. Since my code loads a different theme in
each frame, this situation cannot occur. It's something to keep in mind when
you're designing themes, however. Here's a fix, if you find this to be as
annoying as I do:

Change line 172 (in 1.2.0-rc2) of src/left_main.php from:

 $line .= "<FONT COLOR=\"$color[10]\">";

to:

 $line .= "<b><FONT COLOR=\"$color[6]\">";

Hopefully, this will be changed in future versions, and the color array will be
standardized for text and background colors.
2001-12-20 19:53:19 +00:00