From 8a436292d87d20d60ade59880948478de4f8750d Mon Sep 17 00:00:00 2001 From: Petr Skoda Date: Sun, 10 Oct 2010 17:51:08 +0000 Subject: [PATCH] MDL-20366 mod/label output now wrapped in DIV instead of SPAN - XHTML strict fix (thanks Andrea Bicciolo) --- course/lib.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/course/lib.php b/course/lib.php index 1b1ebeaac5c..1c48f619fd5 100644 --- a/course/lib.php +++ b/course/lib.php @@ -1380,7 +1380,7 @@ function print_section($course, $section, $mods, $modnamesused, $absolute=false, } if ($mod->modname == "label") { - echo "visible) { echo 'dimmed_text'; } else { @@ -1388,7 +1388,7 @@ function print_section($course, $section, $mods, $modnamesused, $absolute=false, } echo '">'; echo format_text($extra, FORMAT_HTML, $labelformatoptions); - echo ""; + echo ""; if (!empty($CFG->enablegroupings) && !empty($mod->groupingid) && has_capability('moodle/course:managegroups', get_context_instance(CONTEXT_COURSE, $course->id))) { if (!isset($groupings)) { $groupings = groups_get_all_groupings($course->id);