• Icon: Sub-task Sub-task
    • Resolution: Duplicate
    • Icon: Minor Minor
    • None
    • 2.0.3, 2.1.1
    • Course
    • MOODLE_20_STABLE, MOODLE_21_STABLE

      The non-default section names of a course (in topic view) are not displayed correctly with multilang filter turned on. It shows all texts one after another.

      FIX:
      Just add a format_string() to line 222 in /course/format/topics/format.php

      echo $OUTPUT->heading(format_string($thissection->name), 3, 'sectionname');

      Another fix regarding multilang in section names: If you edit a section/summary of a section, the title "Summary of..." is not displayed correctly. This can be fixed in line 69 of /course/editsection.php
      $strsummaryof = get_string('summaryof', '', format_string("$sectionname"));

      ###
      I updated this issue adding some screenshots. I think it's an important fix for multilingual moodle installations, because every student will see this bug in a course.

        1. after_fix.JPG
          after_fix.JPG
          32 kB
        2. before_fix.JPG
          before_fix.JPG
          34 kB

            moodle.com Moodle HQ
            gmorz Dominik Jeni
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.