From ff5b7e18e5962839936679141035a49c8e2ff2a6 Mon Sep 17 00:00:00 2001 From: Wesley Miaw Date: Sat, 20 Sep 2003 00:17:58 +0000 Subject: Forgot to commit change of references to all_calenders_combined971 to $ALL_CALENDARS_COMBINED for these files. --- day.php | 4 ++-- preferences.php | 6 +++--- week.php | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/day.php b/day.php index 1e01091..8a5a641 100644 --- a/day.php +++ b/day.php @@ -250,8 +250,8 @@ include (BASE.'includes/header.inc.php'); echo ''."\n"; echo ''."\n"; echo '
'; - // Todo: keep track of where the event comes from, and indicate that to openevent instead of "all_calenders_combined971" - if ($cal == 'all_calenders_combined971') $calendar_name2=$cal; else $calendar_name2=$calendar_name; + // Todo: keep track of where the event comes from, and indicate that to openevent instead of $ALL_CALENDARS_COMBINED + if ($cal == $ALL_CALENDARS_COMBINED) $calendar_name2=$cal; else $calendar_name2=$calendar_name; openevent("$calendar_name2", "$event_start", "$event_end", diff --git a/preferences.php b/preferences.php index 91fdccc..dbe664b 100644 --- a/preferences.php +++ b/preferences.php @@ -178,10 +178,10 @@ include (BASE.'includes/header.inc.php'); } // add option to open all (non-web) calenders together // Todo: add $all_calenders_combined_lang (plural) in the language-specific files and use it here - if ($cookie_calendar == 'all_calenders_combined971') { - print "\n"; + if ($cookie_calendar == $ALL_CALENDARS_COMBINED) { + print "\n"; } else { - print "\n"; + print "\n"; } foreach($list_webcals as $cal_tmp) { diff --git a/week.php b/week.php index 768bb1d..09c65af 100644 --- a/week.php +++ b/week.php @@ -304,8 +304,8 @@ include (BASE.'includes/header.inc.php'); echo ''; $event_end = $this_time_arr[($event_length[$thisday][$i]["key"])]["end_unixtime"]; $event_end = date ($timeFormat, $event_end); - // Todo: keep track of where the event comes from, and indicate that to openevent instead of "all_calenders_combined971" - if ($cal == 'all_calenders_combined971') $calendar_name2=$cal; else $calendar_name2=$calendar_name; + // Todo: keep track of where the event comes from, and indicate that to openevent instead of $ALL_CALENDARS_COMBINED + if ($cal == $ALL_CALENDARS_COMBINED) $calendar_name2=$cal; else $calendar_name2=$calendar_name; openevent("$calendar_name2", "$event_start", "$event_end", -- cgit v1.2.3