diff options
Diffstat (limited to 'year.php')
-rw-r--r-- | year.php | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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; |