diff options
author | Chad Little <clittle@users.sourceforge.net> | 2003-06-30 22:46:12 +0000 |
---|---|---|
committer | Chad Little <clittle@users.sourceforge.net> | 2003-06-30 22:46:12 +0000 |
commit | 743cae611eeb4436d3d8dc865c010b2b3fd0102a (patch) | |
tree | 9cfaaffaba16913b12ca937742ebaf04097dbd0f /preferences.php | |
parent | 014ccb1db7b5f5ff0b652e650ee67d1a931e40f9 (diff) | |
download | phpicalendar-743cae611eeb4436d3d8dc865c010b2b3fd0102a.tar.gz phpicalendar-743cae611eeb4436d3d8dc865c010b2b3fd0102a.tar.bz2 phpicalendar-743cae611eeb4436d3d8dc865c010b2b3fd0102a.zip |
Multiple Calendar support added.
Diffstat (limited to 'preferences.php')
-rw-r--r-- | preferences.php | 13 |
1 files changed, 10 insertions, 3 deletions
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; } - ?> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd"> <html> <head> <meta http-equiv="content-type" content="text/html;charset=UTF-8"> - <title><?php echo "$cal $calendar_lang - $preferences_lang"; ?></title> + <title><?php echo "$calendar_lang - $preferences_lang"; ?></title> <link rel="stylesheet" type="text/css" href="<?php echo BASE."styles/$style_sheet/default.css"; ?>"> </head> <body bgcolor="#FFFFFF"> @@ -184,7 +183,15 @@ if ((!isset($HTTP_COOKIE_VARS['phpicalendar'])) || ($cookie_unset)) { print "<option value=\"$cal_tmp\">$cal_displayname_tmp $calendar_lang</option>\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 "<option value=\"all_calenders_combined971\" selected>$all_cal_comb_lang</option>\n"; + } else { + print "<option value=\"all_calenders_combined971\">$all_cal_comb_lang</option>\n"; + } + foreach($list_webcals as $cal_tmp) { if ($cal_tmp != '') { $cal_displayname_tmp = basename($cal_tmp); |