Big fix for MDL-9890 "Help should be well-formed, XHTML Strict and semantic".

This commit is contained in:
nfreear
2007-05-23 12:03:22 +00:00
parent f79310ed56
commit 73418a3ce3
2 changed files with 11 additions and 2 deletions
+2 -2
View File
@@ -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.
}
+9
View 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;
}