Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Changes for XHTML and accessibility compliance
  • Loading branch information
moodler committed Oct 19, 2004
1 parent 66f99e7 commit 2defdcd
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 10 deletions.
2 changes: 1 addition & 1 deletion mod/chat/lib.php
Expand Up @@ -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)) {
Expand Down
15 changes: 7 additions & 8 deletions mod/chat/mod.html
Expand Up @@ -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);
Expand All @@ -45,15 +44,15 @@
</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;";
print_time_selector("chathour", "chatminute", $form->chattime);
?></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");
Expand All @@ -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);
Expand All @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion mod/chat/report.php
Expand Up @@ -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

Expand Down

0 comments on commit 2defdcd

Please sign in to comment.