Index: calendar.inc =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/calendar/calendar.inc,v retrieving revision 1.13.2.16 diff -u -p -r1.13.2.16 calendar.inc --- calendar.inc 3 Mar 2008 06:37:06 -0000 1.13.2.16 +++ calendar.inc 6 Apr 2008 07:43:03 -0000 @@ -290,7 +290,7 @@ function calendar_build_day($curday, $vi if (empty($inner)) { $inner = theme('calendar_empty'); } - $content = theme('calendar_date_box', date_format($curday, 'Y-m-d'), $view, $params, $selected) . $inner; + $content = theme('calendar_date_box', date_format($curday, 'Y-m-d'), $view, $items, $params, $selected) . $inner; return $content; } Index: calendar.theme =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/calendar/calendar.theme,v retrieving revision 1.37.2.10 diff -u -p -r1.37.2.10 calendar.theme --- calendar.theme 22 Feb 2008 15:14:55 -0000 1.37.2.10 +++ calendar.theme 6 Apr 2008 07:43:03 -0000 @@ -501,8 +501,18 @@ function theme_calendar_node_month($node * * @param date * The day to display in YYYY-MM-DD format. + * @param view + * The view being displayed. + * @param items + * The list of all items in the current view. + * @param params + * An array of paramters. + * @param selected + * Whether the current date has nodes. + * @return + * A themed day. */ -function theme_calendar_date_box($date, $view, $params, $selected = FALSE) { +function theme_calendar_date_box($date, $view, $items, $params, $selected = FALSE) { $parts = explode('-', substr($date, 0, 10)); $year = $parts[0]; $month = intval($parts[1]);