aboutsummaryrefslogtreecommitdiffstats
path: root/year.php
diff options
context:
space:
mode:
Diffstat (limited to 'year.php')
-rw-r--r--year.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/year.php b/year.php
index bef2fd6..fc93feb 100644
--- a/year.php
+++ b/year.php
@@ -23,7 +23,8 @@ $this_month = $day_array2[2];
$this_year = $day_array2[1];
// select for calendars
-$list_icals = display_ical_list(availableCalendars($username, $password, $phpiCal_config->ALL_CALENDARS_COMBINED));
+$available = availableCalendars($username, $password, $phpiCal_config->ALL_CALENDARS_COMBINED);
+$list_icals = display_ical_list($available);
$list_years = list_years();
$list_months = list_months();
$list_weeks = list_weeks();
@@ -31,7 +32,7 @@ $list_jumps = list_jumps();
$list_calcolors = '<img src="templates/'.$template.'/images/allday_dot.gif" alt=" " width="11" height="10" border="0" />'.$lang['l_all_day'].'<br>
<img src="templates/'.$template.'/images/event_dot.gif" alt=" " width="11" height="10" border="0" />'.$lang['l_event']."<br>";
;
-$list_icals_pick = display_ical_list(availableCalendars($username, $password, $phpiCal_config->ALL_CALENDARS_COMBINED), TRUE);
+$list_icals_pick = display_ical_list($available, TRUE);
// login/logout
$is_logged_in = ($username != '' && !$invalid_login) ? true : false;

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