]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-7861 - XHTML errors (strict) were found in course/editsection.html and mod/chat...
authornicolasconnault <nicolasconnault>
Fri, 2 Mar 2007 02:40:30 +0000 (02:40 +0000)
committernicolasconnault <nicolasconnault>
Fri, 2 Mar 2007 02:40:30 +0000 (02:40 +0000)
course/editsection.html
mod/chat/view.php
theme/standard/styles_color.css
theme/standard/styles_fonts.css
theme/standard/styles_layout.css

index 46ec51f170d7d1f886730d0eda4b6a7d2a5eb0a3..7c08c0d0a2bc66f92fca61cfc41bd583968f6408 100644 (file)
@@ -1,10 +1,9 @@
-<center>
 <form id="theform" method="post" action="editsection.php">
-<table cellpadding="5">
+<table summary="Summary of week" cellpadding="5" class="boxaligncenter">
 <tr valign="top">
     <td align="right"><p><b><?php print_string("summary") ?>:</b></p>
     <br />
-    <font size="1">
+    
      <?php helpbutton("summaries", get_string("helpsummaries"), "moodle", true, true);
         echo "<br />";
         if ($usehtmleditor) { 
         } 
      ?>
       <br />
-    </font>
+    
     </td>
     <td>
       <?php print_textarea($usehtmleditor, 25, 60, 660, 200, "summary", $form->summary); ?>
     </td>
 </tr>
 </table>
+<div>
 <input type="hidden" name="id" value="<?php echo $form->id ?>" />
 <input type="hidden" name="sesskey" value="<?php echo sesskey() ?>" />
 <input type="submit" value="<?php print_string("savechanges") ?>" />
-</form>
-</center>
+</div>
+</form>
\ No newline at end of file
index 35e103e6f7200e70d5f48e95551cd10efe299487..412e9342cb5c44ff2e85a4fc19efb364d62edbcd 100644 (file)
         $timenow = time();
         print_simple_box_start('center');
         print_heading($strcurrentusers);
-        echo '<table width="100%">';
+        echo '<table id="chatcurrentusers">';
         foreach ($chatusers as $chatuser) {
             $lastping = $timenow - $chatuser->lastmessageping;
-            echo '<tr><td width="35">';
+            echo '<tr><td class="chatuserimage">';
             echo "<a href=\"$CFG->wwwroot/user/view.php?id=$chatuser->id&amp;course=$chat->course\">";
             print_user_picture($chatuser->id, 0, $chatuser->picture, false, false, false);
-            echo '</a></td><td style="vertical-align: middle">';
-            echo '<p><font size="1">';
+            echo '</a></td><td class="chatuserdetails">';
+            echo '<p>';
             echo fullname($chatuser).'<br />';
-            echo "<font color=\"#888888\">$stridle: ".format_time($lastping)."</font>";
-            echo '</font></p>';
+            echo "<span class=\"idletime\">$stridle: ".format_time($lastping)."</span>";
+            echo '</p>';
             echo '</td></tr>';
         }
         echo '</table>';
index 8c56fe1c9fc7f47f307e3a9491234182e4d29e66..686a36dc93cc3d5763b5ca9c72babee2d0efeec0 100644 (file)
@@ -759,6 +759,10 @@ table.message_search_results td {
     background: #dddddd;
 }
 
+#mod-chat-view #chatcurrentusers .idletime {
+  color: #888888;   
+}
+
 /***
  *** Modules: Choice
  ***/
index 90f061c64be9d00a2117b7d6b3364a76c678a52f..c220c1750be9c7ca68af1f66c7a6bfa19d5466bf 100644 (file)
@@ -648,6 +648,9 @@ body#user-index #longtimenosee {
   font-size:0.6em;
 }
 
+#mod-chat-view #chatcurrentusers .chatuserdetails {
+  font-size: 0.6em;   
+}
 /***
  *** Modules: Choice
  ***/
index 3dd5ded91dc0d3184132dcb00926e427f80ca3cf..861bc70866ed973124148e2da21a596094855ae8 100644 (file)
@@ -2437,6 +2437,11 @@ body#user-index .rolesform {
   padding:0;
   margin-top:7px
 }
+
+#mod-chat-view #chatcurrentusers .chatuserdetails {
+   vertical-align: middle;   
+}
+
 .chat-event .picture,
 .chat-message .picture {
   width:40px;