[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] pbwebmaui/inc/pb.WebMAUI/lib/class.mailaccount.php,
From: |
nomail |
Subject: |
[Phpgroupware-cvs] pbwebmaui/inc/pb.WebMAUI/lib/class.mailaccount.php, 1.3 |
Date: |
Sun, 23 May 2004 03:18:51 -0000 |
Update of /pbwebmaui/inc/pb.WebMAUI/lib
Modified Files:
Branch:
class.mailaccount.php
date: 2004/05/06 10:39:02; author: fipsfuchs; state: Exp; lines: +6 -5
Log Message:
patch from aschiller
=====================================================================
Index: pbwebmaui/inc/pb.WebMAUI/lib/class.mailaccount.php
diff -u pbwebmaui/inc/pb.WebMAUI/lib/class.mailaccount.php:1.2
pbwebmaui/inc/pb.WebMAUI/lib/class.mailaccount.php:1.3
--- pbwebmaui/inc/pb.WebMAUI/lib/class.mailaccount.php:1.2 Mon Apr 19
15:35:03 2004
+++ pbwebmaui/inc/pb.WebMAUI/lib/class.mailaccount.php Thu May 6 10:39:02 2004
@@ -306,11 +306,11 @@
case "filters":
$this->_savemailfilter();
break;
-
+
case 'uidnumber':
$entries['uidnumber'] = $value;
break;
-
+
case 'gidnumber':
$entries['gidnumber'] = $value;
break;
@@ -513,11 +513,12 @@
fputs($fp, " if (");
$fromtime = $filter["time"]["from"];
- list($fd,$fm,$fy) = split("[/.-]",$fromtime);
+ list($fd,$fm,$fy,$fh,$fn) =
split("[/.-]",$fromtime.'-00.00');
$totime = $filter["time"]["to"];
- list($td,$tm,$ty) = split("[/.-]",$totime);
- fputs($fp, "time >= ".mktime(0,0,0,$fm,$fd,$fy)." &&
time < ".mktime(24,0,0,$tm,$td,$ty));
+ list($td,$tm,$ty,$th,$tn) =
split("[/.-]",$totime.'-24.00');
+ fputs($fp, "time >= ".mktime($fh,$fn,0,$fm,$fd,$fy)."
&& time < ".mktime($th,$tn,0,$tm,$td,$ty));
fputs($fp, ") #$fromtime - $totime\n");
+// fputs($fp, ") #".date('r',
mktime($fh,$fn,0,$fm,$fd,$fy)). " - " . date('r',
mktime($th,$tn,0,$tm,$td,$ty)) ."\n");
fputs($fp, " {\n");
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] pbwebmaui/inc/pb.WebMAUI/lib/class.mailaccount.php, 1.3,
nomail <=