Ticket #1585: template-functions-general.16.php.diff
| File template-functions-general.16.php.diff, 884 bytes (added by , 21 years ago) |
|---|
-
template-functions-general.php
366 366 return ($num - $base*floor($num/$base)); 367 367 } 368 368 369 function get_calendar($daylength = 1) {369 function get_calendar($daylength = 1) { 370 370 global $wpdb, $m, $monthnum, $year, $timedifference, $month, $month_abbrev, $weekday, $weekday_initial, $weekday_abbrev, $posts; 371 371 372 372 // Quick check. If we have no posts at all, abort! … … 424 424 ORDER BY post_date ASC 425 425 LIMIT 1"); 426 426 427 echo '<table id="wp-calendar" >427 echo '<table id="wp-calendar" summary="calendar"> 428 428 <caption>' . $month[zeroise($thismonth, 2)] . ' ' . date('Y', $unixmonth) . '</caption> 429 429 <thead> 430 430 <tr>';