From a4bafb40979b578951863cb1ae49c95d4a02cb9b Mon Sep 17 00:00:00 2001
From: thomascube <thomas@roundcube.net>
Date: Mon, 01 May 2006 10:14:54 -0400
Subject: [PATCH] Applied patches by Mark Bucciarelli

---
 README               |   18 ++++++++++++++++++
 program/lib/imap.inc |    2 +-
 2 files changed, 19 insertions(+), 1 deletions(-)

diff --git a/README b/README
index 2a85bd0..7d36bf1 100644
--- a/README
+++ b/README
@@ -39,6 +39,24 @@
 will be allowed.
 
 
+Code Layout:
+------------
+
+Basic sequence (index.php):
+  - index.php -> load_gui -> parse_template
+  - authentication details in this sequence
+
+Tasks
+  - index.php limits tasks to set list
+  - can see task in roundcube link when you mouse over it
+  - task templates stored in skins/default/templates
+  - templates "roundcube:" tokens that get replaced in parse_template
+
+program/include/rcube_shared.inc
+  - defines rcube_html_page, class that lays out a roundcube web page
+  - defines form control classes
+
+
 Installation:
 -------------
 For detailed instructions on how to install RoundCube webmail on your server,
diff --git a/program/lib/imap.inc b/program/lib/imap.inc
index 6067d81..9f63cdc 100644
--- a/program/lib/imap.inc
+++ b/program/lib/imap.inc
@@ -613,7 +613,7 @@
 	//$month_a=array("Jan"=>1,"Feb"=>2,"Mar"=>3,"Apr"=>4,"May"=>5,"Jun"=>6,"Jul"=>7,"Aug"=>8,"Sep"=>9,"Oct"=>10,"Nov"=>11,"Dec"=>12);
 	$month_str=$a[1];
 	$month=$IMAP_MONTHS[$month_str];
-	$day=$a[0];
+	$day=(int)$a[0];
 	$year=$a[2];
 	$time=$a[3];
 	$tz_str = $a[4];

--
Gitblit v1.9.1