Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-16892

Multilang filter is not applied to role names in some places

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 1.9.4, 2.0
    • 1.9.3
    • Filters, Roles / Access
    • None
    • MOODLE_19_STABLE
    • MOODLE_19_STABLE, MOODLE_20_STABLE

      Having the admin role name defined with multilang filter, the display of the role name is not correctly filtered in following places.

      1) http://youmoodlehost.com/admin/roles/manage.php?roleid=1&action=view
      where one sees the whole <span...> syntax

      Fix suggested: change <?php print_string('name') ?> in file /admin/roles/manage.html (line 26) to use format_string()

      2) http://youmoodlehost.com/admin/roles/assign.php?contextid=1
      where one sees for each role name all the translated names (all languages) concatenated

      Fix suggested: insert call to format_string() around $rolename at line 457 of file /admin/roles/assign.php

            nicolasconnault Nicolas Connault (Inactive)
            mina Nicolas Martignoni
            Nicolas Martignoni Nicolas Martignoni
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

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