Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

…on, sorry
  • Loading branch information...
commit e10317e53eceffe0a948d16a8d762d1f563e0c7d 1 parent 7d2c082
Petr Skoda skodak authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 course/lib.php
4 course/lib.php
View
@@ -1380,7 +1380,7 @@ 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 {
@@ -1388,7 +1388,7 @@ function print_section($course, $section, $mods, $modnamesused, $absolute=false,
}
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);
Please sign in to comment.
Something went wrong with that request. Please try again.