mirror of
https://github.com/moodle/moodle.git
synced 2025-08-06 01:16:44 +02:00
MDL-30895 switch from dl tag to table in the accessible chat
This commit is contained in:
parent
f05ea82cdc
commit
83f47164b1
2 changed files with 27 additions and 8 deletions
|
@ -181,7 +181,12 @@ if ($messages) {
|
|||
$allmessages[] = chat_format_message($message, $course->id, $USER);
|
||||
}
|
||||
}
|
||||
|
||||
echo '<table class="generaltable"><tbody>';
|
||||
echo '<tr>
|
||||
<th scope="col" class="cell">' . get_string('from') . '</th>
|
||||
<th scope="col" class="cell">' . get_string('message', 'message') . '</th>
|
||||
<th scope="col" class="cell">' . get_string('time') . '</th>
|
||||
</tr>';
|
||||
if (empty($allmessages)) {
|
||||
echo get_string('nomessagesfound', 'message');
|
||||
} else {
|
||||
|
@ -189,7 +194,7 @@ if (empty($allmessages)) {
|
|||
echo $message->basic;
|
||||
}
|
||||
}
|
||||
|
||||
echo '</tbody></table>';
|
||||
echo '</div>';
|
||||
echo $OUTPUT->container_end();
|
||||
echo $OUTPUT->footer();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue