Browse files

MDL-20366 reverting previous commit because it breaks label indentati…

…on, sorry
  • Loading branch information...
1 parent 7d2c082 commit e10317e53eceffe0a948d16a8d762d1f563e0c7d @skodak skodak committed Oct 13, 2010
Showing with 2 additions and 2 deletions.
  1. +2 −2 course/lib.php
View
4 course/lib.php
@@ -1380,15 +1380,15 @@ function print_section($course, $section, $mods, $modnamesused, $absolute=false,
}
if ($mod->modname == "label") {
- echo "<div class=\"";
+ echo "<span class=\"";
if (!$mod->visible) {
echo 'dimmed_text';
} else {
echo 'label';
}
echo '">';
echo format_text($extra, FORMAT_HTML, $labelformatoptions);
- echo "</div>";
+ echo "</span>";
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);

0 comments on commit e10317e

Please sign in to comment.