[pLog-svn] r5311 - plog/branches/lifetype-1.2/class/data
reto at devel.lifetype.net
reto at devel.lifetype.net
Sun Apr 15 12:42:31 EDT 2007
Author: reto
Date: 2007-04-15 12:42:31 -0400 (Sun, 15 Apr 2007)
New Revision: 5311
Modified:
plog/branches/lifetype-1.2/class/data/htmlcalendar.class.php
Log:
added summary="" attribute. this doesn't yet make the calendar more WAI compliant as the attribute is empty. We'd need to provide localized strings here...
Modified: plog/branches/lifetype-1.2/class/data/htmlcalendar.class.php
===================================================================
--- plog/branches/lifetype-1.2/class/data/htmlcalendar.class.php 2007-04-15 16:17:56 UTC (rev 5310)
+++ plog/branches/lifetype-1.2/class/data/htmlcalendar.class.php 2007-04-15 16:42:31 UTC (rev 5311)
@@ -266,7 +266,7 @@
$header = $monthName . (($showYear > 0) ? " " . $year : "");
//$s .= '<h2>'.$header.'</h2>'; // remove this line #1
- $s .= "<table class=\"calMonth\">\n";
+ $s .= "<table class=\"calMonth\" summary=\"\">\n";
///* // remove this line #2
$s .= "<thead>\n";
@@ -344,7 +344,7 @@
$prev = $this->getCalendarLink(0, $year - 1);
$next = $this->getCalendarLink(0, $year + 1);
- $s .= "<table class=\"calYear\">\n";
+ $s .= "<table class=\"calYear\" summary=\"\">\n";
$s .= "<thead>\n";
$s .= "<tr>";
$s .= "\t<th class=\"calYearBackward\">" . (($prev == "") ? " " : "<a href=\"$prev\">«</a>") . "</th>\n";
More information about the pLog-svn
mailing list