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 /functions/list_functions.php | |
parent | c6b16ef0bf6e62ede566ffe457281f38c2cda232 (diff) | |
download | phpicalendar-3c2d1a971c805dc983c56fa032f538b6a7aa12c2.tar.gz phpicalendar-3c2d1a971c805dc983c56fa032f538b6a7aa12c2.tar.bz2 phpicalendar-3c2d1a971c805dc983c56fa032f538b6a7aa12c2.zip |
Minor bug fixes.
Diffstat (limited to 'functions/list_functions.php')
-rw-r--r-- | functions/list_functions.php | 5 |
1 files changed, 1 insertions, 4 deletions
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; |