Commit 2defdcd7 authored by moodler's avatar moodler
Browse files

Changes for XHTML and accessibility compliance

parent 66f99e72
......@@ -653,7 +653,7 @@ function chat_format_message_manually($message, $courseid, $sender, $currentuser
// System event
$output->text = $message->strtime.': '.get_string('message'.$message->message, 'chat', fullname($sender));
$output->html = '<table><tr><td style="vertical-align: top;">'.$message->picture.'</td><td>';
$output->html .= '<font size=2 color="#CCAAAA">'.$output->text.'</font></td></tr></table>';
$output->html .= '<font size="2" color="#ccaaaa">'.$output->text.'</font></td></tr></table>';
// Don't forget to reset the language before returning!!!
if(!empty($oldcfglang)) {
......
......@@ -20,15 +20,14 @@
?>
<form name="form" method="post" action="mod.php">
<table cellpadding="5">
<tr>
<tr valign="top">
<td align="right"><p><b><?php print_string("chatname", "chat")?>:</b></p></td>
<td align="right"><b><?php print_string("chatname", "chat")?>:</b></td>
<td>
<input type="text" name="name" size="30" value="<?php p($form->name) ?>" />
<input type="text" name="name" size="30" value="<?php p($form->name) ?>" alt="<?php print_string('chatname', 'chat') ?>" />
</td>
</tr>
<tr valign="top">
<td align="right"><p><b><?php print_string("chatintro", "chat")?>:</b></p>
<td align="right"><b><?php print_string("chatintro", "chat")?>:</b><br />
<font size="1">
<?php
helpbutton("writing", get_string("helpwriting"), "moodle", true, true);
......@@ -45,7 +44,7 @@
</td>
</tr>
<tr valign="top">
<td align="right"><p><b><?php print_string("chattime", "chat") ?>:</b></td>
<td align="right"><b><?php print_string("chattime", "chat") ?>:</b></td>
<td><?php
print_date_selector("chatday", "chatmonth", "chatyear", $form->chattime);
echo "&nbsp;-&nbsp;";
......@@ -53,7 +52,7 @@
?></td>
</tr>
<tr valign="top">
<td align="right"><p><b><?php print_string("repeattimes", "chat") ?>:</b></td>
<td align="right"><b><?php print_string("repeattimes", "chat") ?>:</b></td>
<td><?php
unset($options);
$options[0] = get_string("donotusechattime", "chat");
......@@ -64,7 +63,7 @@
?></td>
</tr>
<tr valign="top">
<td align="right"><p><b><?php print_string("savemessages", "chat")?>:</b></p>
<td align="right"><b><?php print_string("savemessages", "chat")?>:</b></td>
<td>
<?php
unset($options);
......@@ -86,7 +85,7 @@
</td>
</tr>
<tr valign="top">
<td align="right"><p><b><?php print_string("studentseereports", "chat")?>:</b></p>
<td align="right"><b><?php print_string("studentseereports", "chat")?>:</b></td>
<td>
<?php
unset($options);
......
......@@ -40,7 +40,7 @@
$strdeletesession = get_string("deletesession", "chat");
/// Print a session if once has been specified
/// Print a session if one has been specified
if ($start and $end and !$confirmdelete) { // Show a full transcript
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment