From 743cae611eeb4436d3d8dc865c010b2b3fd0102a Mon Sep 17 00:00:00 2001 From: Chad Little Date: Mon, 30 Jun 2003 22:46:12 +0000 Subject: Multiple Calendar support added. --- preferences.php | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'preferences.php') diff --git a/preferences.php b/preferences.php index d42f8a7..d83bf4a 100644 --- a/preferences.php +++ b/preferences.php @@ -64,14 +64,13 @@ if ((!isset($HTTP_COOKIE_VARS['phpicalendar'])) || ($cookie_unset)) { $cookie_time = $day_start; } - ?> - <?php echo "$cal $calendar_lang - $preferences_lang"; ?> + <?php echo "$calendar_lang - $preferences_lang"; ?> "> @@ -184,7 +183,15 @@ if ((!isset($HTTP_COOKIE_VARS['phpicalendar'])) || ($cookie_unset)) { print "\n"; } } - } + } + // 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"; + } else { + print "\n"; + } + foreach($list_webcals as $cal_tmp) { if ($cal_tmp != '') { $cal_displayname_tmp = basename($cal_tmp); -- cgit v1.2.3