]> git.mjollnir.org Git - moodle.git/commitdiff
Big fix for MDL-9890 "Help should be well-formed, XHTML Strict and semantic".
authornfreear <nfreear>
Wed, 23 May 2007 12:03:22 +0000 (12:03 +0000)
committernfreear <nfreear>
Wed, 23 May 2007 12:03:22 +0000 (12:03 +0000)
help.php
theme/standard/styles_color.css

index 56b5c3501f61b13740e54dc3cad662b1a27d5d03..198a8b7429ed45431fedb7902ef0b25e893d2c04 100644 (file)
--- a/help.php
+++ b/help.php
@@ -20,7 +20,7 @@ $module = optional_param('module', 'moodle', PARAM_ALPHAEXT);
 $forcelang = optional_param('forcelang', '', PARAM_SAFEDIR);
 
 // Start the output.
-print_header();
+print_header(get_string('help'));
 print_simple_box_start();
 
 // We look for the help to display in lots of different places, and
@@ -165,7 +165,7 @@ function include_help_for_each_module($file, $langs, $helpdir) {
             }
 
             if (file_exists_and_readable($filepath)) {
-                echo '<hr size="1" />';
+                echo '<hr />';
                 @include($filepath); // The actual helpfile
                 break; // Out of loop over languages.
             }
index b91106d92c1f7005b8f28a473a9c58b3ccb7c7ad..8d2dbcae1244c1fcb2a13ceec2ea2909ef8b899b 100644 (file)
@@ -1004,3 +1004,12 @@ form.mform .required label {
 form.mform .fdescription.required {
   color:#a00;
 }
+
+#help hr {
+  border: none;
+  height: 1px;
+  background: #ccc;
+}
+#help .example1 {
+  color: #a00;
+}
\ No newline at end of file