]> git.mjollnir.org Git - moodle.git/commitdiff
Changes for XHTML and accessibility compliance
authormoodler <moodler>
Tue, 19 Oct 2004 10:34:02 +0000 (10:34 +0000)
committermoodler <moodler>
Tue, 19 Oct 2004 10:34:02 +0000 (10:34 +0000)
mod/chat/lib.php
mod/chat/mod.html
mod/chat/report.php

index 4fb4d580ad6b2bc0c4ab5634272ded828c76e337..73a290f8a45df20e6e36694f763462239b3b3049 100644 (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)) {
index bee6a1c871749a0cd5f990a5e9af3dc4be318274..fbc8a7e78fbb35a802dc47e6f0d58d4d687d87cd 100644 (file)
 ?>
 <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);
index dde19e54373f46bede4a424c4f7e0e913573684a..ddbc516bc1d08768dbfd46fc15bcaeb9c5c2ec5c 100644 (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