diff options
author | Chad Little <clittle@users.sourceforge.net> | 2005-09-14 20:44:55 +0000 |
---|---|---|
committer | Chad Little <clittle@users.sourceforge.net> | 2005-09-14 20:44:55 +0000 |
commit | deac2b72545c65c85c8c81f09eaba7e06e8ac201 (patch) | |
tree | 697b747924e0069debf5a4bb7b6cc81ed120f0dc /day.php | |
parent | 53a2c2b2694871cd549cd87f37497f794546617b (diff) | |
download | phpicalendar-deac2b72545c65c85c8c81f09eaba7e06e8ac201.tar.gz phpicalendar-deac2b72545c65c85c8c81f09eaba7e06e8ac201.tar.bz2 phpicalendar-deac2b72545c65c85c8c81f09eaba7e06e8ac201.zip |
Multiple calendar selection patch. Needs formatting.
Diffstat (limited to 'day.php')
-rw-r--r-- | day.php | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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, |