Changes for XHTML and accessibility compliance

This commit is contained in:
moodler 2004-10-19 10:34:02 +00:00
parent 66f99e7240
commit 2defdcd7d5
3 changed files with 9 additions and 10 deletions

View File

@ -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)) {

View File

@ -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);

View File

@ -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