> Thanks, it worked!
>
> If you have time, what would be different when I disable this besides
> making it work?

from cvs log.
-------
revision 1.9
date: 2003/09/10 16:00:26;  author: kink;  state: Exp;  lines: +6 -1
In month view, sort events on a day by starttime so that an event that
starts at 9 is not displayed below one that starts at 17. Include the
time in the tooltips. Remove some E_ALL notices. This whole calendarcode
needs some serious maintentance, but that's for later.
-------

If you disable it, sorting of events might be broken in month view. But it
is better to have broken view instead of no view or loosing entire
calendar in one operation.

Changes that does not disable sorting and work for me ('+' = added line,
'-' = removed line).
------------
             // this is to sort the events within a day on starttime
+           $new_calendardata = array();
             foreach($calendardata as $day => $data) {
                 ksort($data, SORT_NUMERIC);
-                $calendardata[$day] = $data;
+                $new_calendardata[$day] = $data;
             }
+           $calendardata = $new_calendardata ;
         }
------------
But I am not sure if it works correctly for other php versions and I
haven't received any comments about it in squirrelmail-plugins list.
--
Tomas



-------------------------------------------------------
This SF.net email sponsored by: Enterprise Linux Forum Conference & Expo
The Event For Linux Datacenter Solutions & Strategies in The Enterprise 
Linux in the Boardroom; in the Front Office; & in the Server Room 
http://www.enterpriselinuxforum.com
--
squirrelmail-users mailing list
List Address: [EMAIL PROTECTED]
List Archives:  http://sourceforge.net/mailarchive/forum.php?forum_id=2995
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

Reply via email to