mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 08:56:36 +02:00
XHTML and accessibility compliance
This commit is contained in:
parent
4bab5275b2
commit
d526e68ee7
4 changed files with 34 additions and 31 deletions
|
@ -97,19 +97,20 @@
|
|||
|
||||
foreach ($useranswer as $key => $answer) {
|
||||
if ($key) {
|
||||
echo "<td width=\"$tablewidth%\" valign=\"top\" nowrap bgcolor=\"$THEME->cellcontent\">";
|
||||
echo "<td width=\"$tablewidth%\" valign=\"top\" nowrap=\"nowrap\" bgcolor=\"$THEME->cellcontent\">";
|
||||
} else {
|
||||
echo "<td width=\"$tablewidth%\" valign=\"top\" nowrap bgcolor=\"$THEME->body\">";
|
||||
echo "<td width=\"$tablewidth%\" valign=\"top\" nowrap=\"nowrap\" bgcolor=\"$THEME->body\">";
|
||||
}
|
||||
|
||||
echo "<table width=\"100%\">";
|
||||
foreach ($answer as $user) {
|
||||
echo "<tr><td width=\"10\" nowrap>";
|
||||
echo "<tr><td width=\"10\" nowrap=\"nowrap\">";
|
||||
print_user_picture($user->id, $course->id, $user->picture);
|
||||
echo "</td><td width=\"100%\" nowrap>";
|
||||
echo "</td><td width=\"100%\" nowrap=\"nowrap\">";
|
||||
echo "<p>".fullname($user, true)."</p>";
|
||||
echo "</td></tr>";
|
||||
}
|
||||
echo "<tr><td colspan=\"2\"> </td></tr>"; /// need to have at least one row within table tags
|
||||
echo "</table>";
|
||||
|
||||
echo "</td>";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue