From: nicolasconnault Date: Fri, 2 Mar 2007 02:40:30 +0000 (+0000) Subject: MDL-7861 - XHTML errors (strict) were found in course/editsection.html and mod/chat... X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=8058aa051bc40ba2ef8a7e12ee55eb9a3e5b6bd0;p=moodle.git MDL-7861 - XHTML errors (strict) were found in course/editsection.html and mod/chat/view.php. They were corrected and additional css rules were written to replace the corrected inline styling. --- diff --git a/course/editsection.html b/course/editsection.html index 46ec51f170..7c08c0d0a2 100644 --- a/course/editsection.html +++ b/course/editsection.html @@ -1,10 +1,9 @@ -
- +

:


- + "; if ($usehtmleditor) { @@ -14,15 +13,16 @@ } ?>
-
+
summary); ?>
+
" /> - -
+ + \ No newline at end of file diff --git a/mod/chat/view.php b/mod/chat/view.php index 35e103e6f7..412e9342cb 100644 --- a/mod/chat/view.php +++ b/mod/chat/view.php @@ -156,17 +156,17 @@ $timenow = time(); print_simple_box_start('center'); print_heading($strcurrentusers); - echo ''; + echo '
'; foreach ($chatusers as $chatuser) { $lastping = $timenow - $chatuser->lastmessageping; - echo ''; } echo '
'; + echo '
'; echo "wwwroot/user/view.php?id=$chatuser->id&course=$chat->course\">"; print_user_picture($chatuser->id, 0, $chatuser->picture, false, false, false); - echo ''; - echo '

'; + echo '

'; + echo '

'; echo fullname($chatuser).'
'; - echo "$stridle: ".format_time($lastping).""; - echo '

'; + echo "$stridle: ".format_time($lastping).""; + echo '

'; echo '
'; diff --git a/theme/standard/styles_color.css b/theme/standard/styles_color.css index 8c56fe1c9f..686a36dc93 100644 --- a/theme/standard/styles_color.css +++ b/theme/standard/styles_color.css @@ -759,6 +759,10 @@ table.message_search_results td { background: #dddddd; } +#mod-chat-view #chatcurrentusers .idletime { + color: #888888; +} + /*** *** Modules: Choice ***/ diff --git a/theme/standard/styles_fonts.css b/theme/standard/styles_fonts.css index 90f061c64b..c220c1750b 100644 --- a/theme/standard/styles_fonts.css +++ b/theme/standard/styles_fonts.css @@ -648,6 +648,9 @@ body#user-index #longtimenosee { font-size:0.6em; } +#mod-chat-view #chatcurrentusers .chatuserdetails { + font-size: 0.6em; +} /*** *** Modules: Choice ***/ diff --git a/theme/standard/styles_layout.css b/theme/standard/styles_layout.css index 3dd5ded91d..861bc70866 100644 --- a/theme/standard/styles_layout.css +++ b/theme/standard/styles_layout.css @@ -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;