Big fix for MDL-9890 "Help should be well-formed, XHTML Strict and semantic".
This commit is contained in:
@@ -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.
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
Reference in New Issue
Block a user