Changeset 8626 for trunk/include/calendar_monthly.class.php
- Timestamp:
- Jan 12, 2011, 2:41:55 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/calendar_monthly.class.php
r6363 r8626 331 331 function build_month_calendar(&$tpl_var) 332 332 { 333 global $page ;333 global $page, $lang, $conf; 334 334 335 335 $query='SELECT '.pwg_db_get_dayofmonth($this->date_field).' as period, … … 369 369 $items[$day]['height'] = $row['height']; 370 370 $items[$day]['dow'] = $row['dow']; 371 } 372 373 global $lang, $conf; 371 372 if ('sunday' == $conf['week_starts_on']) 373 { 374 $items[$day]['dow']++; 375 } 376 } 374 377 375 378 if ( !empty($items) … … 396 399 $first_day_dow -= 1; 397 400 } 398 array_push( $wday_labels, array_shift($wday_labels) ); 401 402 if ('monday' == $conf['week_starts_on']) 403 { 404 array_push( $wday_labels, array_shift($wday_labels) ); 405 } 399 406 // END - pass now in week starting Monday 400 407
Note: See TracChangeset
for help on using the changeset viewer.