From 3c2d1a971c805dc983c56fa032f538b6a7aa12c2 Mon Sep 17 00:00:00 2001 From: Chad Little Date: Mon, 24 May 2004 05:26:40 +0000 Subject: Minor bug fixes. --- config.inc.php | 4 ++-- functions/list_functions.php | 5 +---- rss/index.php | 2 +- 3 files changed, 4 insertions(+), 7 deletions(-) diff --git a/config.inc.php b/config.inc.php index e723366..44919e2 100644 --- a/config.inc.php +++ b/config.inc.php @@ -15,12 +15,12 @@ $week_start_day = 'Sunday'; // Day of the week your week starts on $day_start = '0700'; // Start time for day grid $day_end = '2300'; // End time for day grid $gridLength = '15'; // Grid distance in minutes for day view, multiples of 15 preferred -$num_years = '3'; // Number of years to display in 'Jump to' +$num_years = '1'; // Number of years (up and back) to display in 'Jump to' $month_event_lines = '1'; // Number of lines to wrap each event title in month view, 0 means display all lines. $tomorrows_events_lines = '1'; // Number of lines to wrap each event title in the 'Tommorrow's events' box, 0 means display all lines. $allday_week_lines = '1'; // Number of lines to wrap each event title in all-day events in week view, 0 means display all lines. $week_events_lines = '1'; // Number of lines to wrap each event title in the 'Tommorrow's events' box, 0 means display all lines. -$timezone = 'US/Pacific'; // Set timezone. Read TIMEZONES file for more information +$timezone = ''; // Set timezone. Read TIMEZONES file for more information $tmp_dir = '/tmp'; // The temporary directory on your system (/tmp is fine for UNIXes including Mac OS X) $calendar_path = ''; // Leave this blank on most installs, place your full path to calendars if they are outside the phpicalendar folder. $second_offset = '0'; // The time in seconds between your time and your server's time. diff --git a/functions/list_functions.php b/functions/list_functions.php index a3e164d..72b8008 100644 --- a/functions/list_functions.php +++ b/functions/list_functions.php @@ -7,7 +7,6 @@ function list_jumps() { $return .= ''; $return .= ''; $return .= ''; - return $return; } @@ -16,7 +15,6 @@ function list_calcolors() { foreach ($master_array[-3] as $key => $val) { $return .= ' '.$val.'
'; } - return $return; } @@ -35,13 +33,12 @@ function list_months() { } $month_time = strtotime ("+1 month", $month_time); } - return $return; } function list_years() { - global $getdate, $this_year, $cal; + global $getdate, $this_year, $cal, $num_years; $year_time = strtotime($getdate); for ($i=0; $i < $num_years; $i++) { $offset = $num_years - $i; diff --git a/rss/index.php b/rss/index.php index 4063a38..f886b9c 100644 --- a/rss/index.php +++ b/rss/index.php @@ -19,7 +19,7 @@ foreach ($filelist as $file) { $cal_displayname_tmp = str_replace("32", " ", $cal_filename_tmp); $rss_list .= ''.$cal_displayname_tmp.' '. $calendar_lang.'
'; $rss_list .= $default_path.'/rss/rss.php?cal='.$cal_tmp.'&rssview=day
'; - $rss_list .= $default_path.'/rss/rss.php?cal='.$cal_tmp.'&lrssview=week
'; + $rss_list .= $default_path.'/rss/rss.php?cal='.$cal_tmp.'&rssview=week
'; $rss_list .= $default_path.'/rss/rss.php?cal='.$cal_tmp.'&rssview=month

'; $footer_check = $default_path.'/rss/rss.php?cal='.$default_cal.'&rssview='.$default_view; } -- cgit v1.2.3