Update of /cvsroot/phpicalendar/phpicalendar/functions
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21092/functions
Modified Files:
list_functions.php
Log Message:
Minor bug fixes.
Index: list_functions.php
===================================================================
RCS file: /cvsroot/phpicalendar/phpicalendar/functions/list_functions.php,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** list_functions.php 15 May 2004 03:07:22 -0000 1.6
--- list_functions.php 24 May 2004 05:26:41 -0000 1.7
***************
*** 8,12 ****
$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;
}
--- 8,11 ----
***************
*** 17,21 ****
$return .= '<img src="templates/'.$template.'/images/monthdot_'.$key.'.gif" alt="" /> '.$val.'<br />';
}
-
return $return;
}
--- 16,19 ----
***************
*** 36,40 ****
$month_time = strtotime ("+1 month", $month_time);
}
-
return $return;
}
--- 34,37 ----
***************
*** 42,46 ****
function list_years() {
! global $getdate, $this_year, $cal;
$year_time = strtotime($getdate);
for ($i=0; $i < $num_years; $i++) {
--- 39,43 ----
function list_years() {
! global $getdate, $this_year, $cal, $num_years;
$year_time = strtotime($getdate);
for ($i=0; $i < $num_years; $i++) {
|