- Modified patch by TheLibrarian: add a summary attribute to the calendar.
parent
3d5f11e004
commit
76192f667d
|
@ -82,7 +82,7 @@ function archive_calendar($original = 0) {
|
|||
// Generate calendar header:
|
||||
$output .= "\n<!-- calendar -->\n";
|
||||
$output .= "<div class=\"calendar\">";
|
||||
$output .= "<table>\n";
|
||||
$output .= "<table summary=\"". t('A calendar to browse the archives') .".\">\n";
|
||||
$output .= " <tr><td colspan=\"7\" class=\"header-month\">". l("«", "archive/". date("Y/m/d", $prev)) ." ". format_date($requested, "custom", "F") . date(" Y", $requested) ." ". ($nextmonth <= time() ? l("»", "archive/". date("Y/m/d", $next)) : " ") ."</td></tr>\n";
|
||||
|
||||
// First day of week (0 => Sunday, 1 => Monday, ...)
|
||||
|
|
|
@ -82,7 +82,7 @@ function archive_calendar($original = 0) {
|
|||
// Generate calendar header:
|
||||
$output .= "\n<!-- calendar -->\n";
|
||||
$output .= "<div class=\"calendar\">";
|
||||
$output .= "<table>\n";
|
||||
$output .= "<table summary=\"". t('A calendar to browse the archives') .".\">\n";
|
||||
$output .= " <tr><td colspan=\"7\" class=\"header-month\">". l("«", "archive/". date("Y/m/d", $prev)) ." ". format_date($requested, "custom", "F") . date(" Y", $requested) ." ". ($nextmonth <= time() ? l("»", "archive/". date("Y/m/d", $next)) : " ") ."</td></tr>\n";
|
||||
|
||||
// First day of week (0 => Sunday, 1 => Monday, ...)
|
||||
|
|
Loading…
Reference in New Issue