Update of /cvsroot/phpicalendar/phpicalendar
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5307
Modified Files:
day.php week.php
Log Message:
Wired Tomorrow's Events with new function.
Index: day.php
===================================================================
RCS file: /cvsroot/phpicalendar/phpicalendar/day.php,v
retrieving revision 1.107
retrieving revision 1.108
diff -C2 -d -r1.107 -r1.108
*** day.php 5 Feb 2004 04:59:19 -0000 1.107
--- day.php 5 Feb 2004 23:45:54 -0000 1.108
***************
*** 22,25 ****
--- 22,26 ----
$display_date = localizeDate($dateFormat_day, $unix_time);
+ $sidebar_date = localizeDate($dateFormat_week_list, $unix_time);
$start_week_time = strtotime(dateOfWeek($getdate, $week_start_day));
***************
*** 45,48 ****
--- 46,50 ----
'calendar_name' => $calendar_name,
'display_date' => $display_date,
+ 'sidebar_date' => $sidebar_date,
'rss_powered' => $rss_powered,
'rss_available' => '',
***************
*** 64,67 ****
--- 66,70 ----
$page->draw_day($this->page);
+ $page->tomorrows_events($this->page);
$page->output();
Index: week.php
===================================================================
RCS file: /cvsroot/phpicalendar/phpicalendar/week.php,v
retrieving revision 1.104
retrieving revision 1.105
diff -C2 -d -r1.104 -r1.105
*** week.php 5 Feb 2004 06:34:56 -0000 1.104
--- week.php 5 Feb 2004 23:45:54 -0000 1.105
***************
*** 11,15 ****
$weekstart = 1;
$unix_time = strtotime($getdate);
- $thisday2 = localizeDate($dateFormat_week_list, $unix_time);
$today_today = date('Ymd', strtotime("now + $second_offset seconds"));
$next_week = date("Ymd", strtotime("+1 week", $unix_time));
--- 11,14 ----
***************
*** 22,25 ****
--- 21,25 ----
$end_week = localizeDate($dateFormat_week, $end_week_time);
$display_date = "$start_week - $end_week";
+ $sidebar_date = localizeDate($dateFormat_week_list, $unix_time);
// For the side months
***************
*** 49,52 ****
--- 49,53 ----
'calendar_name' => $calendar_name,
'display_date' => $display_date,
+ 'sidebar_date' => $sidebar_date,
'rss_powered' => $rss_powered,
'rss_available' => '',
|