Changeset 21738 for branches/version-2_12-dev/data/class/pages/frontparts/bloc/LC_Page_FrontParts_Bloc_Calendar.php
- Timestamp:
- 2012/04/12 15:23:42 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_12-dev/data/class/pages/frontparts/bloc/LC_Page_FrontParts_Bloc_Calendar.php
r21693 r21738 96 96 function lfGetCalendar($disp_month = 1) { 97 97 98 $today = date("Y/m/d"); 98 99 for ($j = 0; $j <= $disp_month-1; ++$j) { 99 100 $year = date('Y'); … … 124 125 $arrCalendar[$j][$i]['holiday'] = false; 125 126 } 127 128 if ($today === sprintf("%04d/%02d/%02d", $year, $month, $objDay->day)) { 129 $arrCalendar[$j][$i]['today'] = true; 130 } 131 126 132 ++$i; 127 133 }
Note: See TracChangeset
for help on using the changeset viewer.