From 73418a3ce351837b12fb1b07ba017d398731f2ff Mon Sep 17 00:00:00 2001 From: nfreear Date: Wed, 23 May 2007 12:03:22 +0000 Subject: [PATCH] Big fix for MDL-9890 "Help should be well-formed, XHTML Strict and semantic". --- help.php | 4 ++-- theme/standard/styles_color.css | 9 +++++++++ 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/help.php b/help.php index 56b5c3501f..198a8b7429 100644 --- 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 '
'; + echo '
'; @include($filepath); // The actual helpfile break; // Out of loop over languages. } diff --git a/theme/standard/styles_color.css b/theme/standard/styles_color.css index b91106d92c..8d2dbcae12 100644 --- a/theme/standard/styles_color.css +++ b/theme/standard/styles_color.css @@ -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 -- 2.39.5