From deac2b72545c65c85c8c81f09eaba7e06e8ac201 Mon Sep 17 00:00:00 2001 From: Chad Little Date: Wed, 14 Sep 2005 20:44:55 +0000 Subject: Multiple calendar selection patch. Needs formatting. --- day.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'day.php') diff --git a/day.php b/day.php index 661b967..0936296 100644 --- a/day.php +++ b/day.php @@ -34,6 +34,7 @@ $list_months = list_months(); $list_weeks = list_weeks(); $list_jumps = list_jumps(); $list_calcolors = list_calcolors(); +$list_icals_pick = display_ical_list(availableCalendars($username, $password, $ALL_CALENDARS_COMBINED), TRUE); // login/logout $is_logged_in = ($username != '' && !$invalid_login) ? true : false; @@ -58,7 +59,7 @@ $page->replace_tags(array( 'cal' => $cal, 'getdate' => $getdate, 'cpath' => $cpath, - 'calendar_name' => $calendar_name, + 'calendar_name' => (is_array($calendar_name) ? "Multiple" : $calendar_name), 'current_view' => $current_view, 'display_date' => $display_date, 'sidebar_date' => $sidebar_date, @@ -76,6 +77,7 @@ $page->replace_tags(array( 'username' => $username, 'logout_querys' => $logout_querys, 'list_icals' => $list_icals, + 'list_icals_pick' => $list_icals_pick, 'list_years' => $list_years, 'list_months' => $list_months, 'list_weeks' => $list_weeks, -- cgit v1.2.3