diff options
author | Dries Buytaert <dries@buytaert.net> | 2004-03-05 20:57:05 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2004-03-05 20:57:05 +0000 |
commit | 76192f667d09f2b84dc9eb5ade3b77d7079c01c5 (patch) | |
tree | 6c1d5665ba3afeb95bea366e2250ee822243632c /modules/archive.module | |
parent | 3d5f11e004ddc4a45f38f3aee28ac27a5f9fc549 (diff) | |
download | brdo-76192f667d09f2b84dc9eb5ade3b77d7079c01c5.tar.gz brdo-76192f667d09f2b84dc9eb5ade3b77d7079c01c5.tar.bz2 |
- Modified patch by TheLibrarian: add a summary attribute to the calendar.
Diffstat (limited to 'modules/archive.module')
-rw-r--r-- | modules/archive.module | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/archive.module b/modules/archive.module index 5458914d1..8fd216d49 100644 --- a/modules/archive.module +++ b/modules/archive.module @@ -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, ...) |