~ubuntu-branches/ubuntu/quantal/squirrelmail/quantal

« back to all changes in this revision

Viewing changes to themes/kind_of_blue.php

  • Committer: Bazaar Package Importer
  • Author(s): Thijs Kinkhorst
  • Date: 2008-09-28 16:33:48 UTC
  • mfrom: (11.1.7 intrepid)
  • Revision ID: james.westby@ubuntu.com-20080928163348-hgxf8au2d4zspabg
Tags: 2:1.4.15-3
Cookies sent over HTTPS will now be confined to HTTPS only
(cookie secure flag) and more support for the HTTPOnly cookie
attribute. Patch taken from upstream release.
(CVE-2008-3663, closes: #499942)

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
 *          light bluish background with dark text.
9
9
 *
10
10
 * @author Jorey Bump
11
 
 * @copyright © 2000-2006 The SquirrelMail Project Team
 
11
 * @copyright © 2000-2007 The SquirrelMail Project Team
12
12
 * @license http://opensource.org/licenses/gpl-license.php GNU Public License
13
 
 * @version $Id: kind_of_blue.php,v 1.5.2.4 2006/02/03 22:27:56 jervfors Exp $
 
13
 * @version $Id: kind_of_blue.php 12486 2007-06-27 16:28:52Z kink $
14
14
 * @package squirrelmail
15
15
 * @subpackage themes
16
16
 */
18
18
/** seed the random number generator */
19
19
sq_mt_randomize();
20
20
 
21
 
for ($i = 0; $i <= 15; $i++) {
 
21
for ($i = 0; $i <= 16; $i++) {
22
22
    /* background/foreground toggle */
23
 
    if ($i == 0 or $i == 3 or $i == 4 or $i == 5 or $i == 9 or $i == 10 or $i == 12) {
 
23
    if ($i == 0 or $i == 3 or $i == 4 or $i == 5 or $i == 9 or $i == 10 or $i == 12 or $i == 16) {
24
24
        /* background */
25
25
        $b = mt_rand(248,255);
26
26
        $r = mt_rand(180,255);
40
40
    $color[$i] = sprintf('#%02X%02X%02X',$r,$g,$b);
41
41
}
42
42
 
43
 
 
44
 
/* Reference from  http://www.squirrelmail.org/wiki/CreatingThemes
45
 
 
46
 
$color[0]   = '#xxxxxx';  // Title bar at the top of the page header
47
 
$color[1]   = '#xxxxxx';  // Not currently used
48
 
$color[2]   = '#xxxxxx';  // Error messages (usually red)
49
 
$color[3]   = '#xxxxxx';  // Left folder list background color
50
 
$color[4]   = '#xxxxxx';  // Normal background color
51
 
$color[5]   = '#xxxxxx';  // Header of the message index // (From, Date,Subject)
52
 
$color[6]   = '#xxxxxx';  // Normal text on the left folder list
53
 
$color[7]   = '#xxxxxx';  // Links in the right frame
54
 
$color[8]   = '#xxxxxx';  // Normal text (usually black)
55
 
$color[9]   = '#xxxxxx';  // Darker version of #0
56
 
$color[10]  = '#xxxxxx';  // Darker version of #9
57
 
$color[11]  = '#xxxxxx';  // Special folders color (INBOX, Trash, Sent)
58
 
$color[12]  = '#xxxxxx';  // Alternate color for message list // Alters between #4 and this one
59
 
$color[13]  = '#xxxxxx';  // Color for quoted text -- > 1 quote
60
 
$color[14]  = '#xxxxxx';  // Color for quoted text -- >> 2 or more
61
 
 
62
 
*/
63
 
 
64
 
?>
 
 
b'\\ No newline at end of file'