aboutsummaryrefslogtreecommitdiffstats
path: root/day.php
diff options
context:
space:
mode:
authorChad Little <clittle@users.sourceforge.net>2005-09-14 20:44:55 +0000
committerChad Little <clittle@users.sourceforge.net>2005-09-14 20:44:55 +0000
commitdeac2b72545c65c85c8c81f09eaba7e06e8ac201 (patch)
tree697b747924e0069debf5a4bb7b6cc81ed120f0dc /day.php
parent53a2c2b2694871cd549cd87f37497f794546617b (diff)
downloadphpicalendar-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.php4
1 files changed, 3 insertions, 1 deletions
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,

© 2014-2022 Faster IT GmbH | imprint | privacy policy