diff options
author | Chad Little <clittle@users.sourceforge.net> | 2004-05-24 05:26:40 +0000 |
---|---|---|
committer | Chad Little <clittle@users.sourceforge.net> | 2004-05-24 05:26:40 +0000 |
commit | 3c2d1a971c805dc983c56fa032f538b6a7aa12c2 (patch) | |
tree | 432367eae70e56a3ff260ad348a50aa0bc5b5037 | |
parent | c6b16ef0bf6e62ede566ffe457281f38c2cda232 (diff) | |
download | phpicalendar-3c2d1a971c805dc983c56fa032f538b6a7aa12c2.tar.gz phpicalendar-3c2d1a971c805dc983c56fa032f538b6a7aa12c2.tar.bz2 phpicalendar-3c2d1a971c805dc983c56fa032f538b6a7aa12c2.zip |
Minor bug fixes.
-rw-r--r-- | config.inc.php | 4 | ||||
-rw-r--r-- | functions/list_functions.php | 5 | ||||
-rw-r--r-- | 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 .= '<option value="week.php?cal='.$cal.'&getdate='.$today.'">'.$lang['l_goweek'].'</option>'; $return .= '<option value="month.php?cal='.$cal.'&getdate='.$today.'">'.$lang['l_gomonth'].'</option>'; $return .= '<option value="year.php?cal='.$cal.'&getdate='.$today.'">'.$lang['l_goyear'].'</option>'; - return $return; } @@ -16,7 +15,6 @@ function list_calcolors() { foreach ($master_array[-3] as $key => $val) { $return .= '<img src="templates/'.$template.'/images/monthdot_'.$key.'.gif" alt="" /> '.$val.'<br />'; } - 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 .= '<font class="V12" color="blue"><b>'.$cal_displayname_tmp.' '. $calendar_lang.'</b></font><br />'; $rss_list .= $default_path.'/rss/rss.php?cal='.$cal_tmp.'&rssview=day<br />'; - $rss_list .= $default_path.'/rss/rss.php?cal='.$cal_tmp.'&lrssview=week<br />'; + $rss_list .= $default_path.'/rss/rss.php?cal='.$cal_tmp.'&rssview=week<br />'; $rss_list .= $default_path.'/rss/rss.php?cal='.$cal_tmp.'&rssview=month<br /><br />'; $footer_check = $default_path.'/rss/rss.php?cal='.$default_cal.'&rssview='.$default_view; } |