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

text processing issues in badge functionality

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Inactive
    • Affects Version/s: 2.8.8
    • Fix Version/s: None
    • Component/s: Badges
    • Labels:
    • Affected Branches:
      MOODLE_28_STABLE

      Description

      Screens which display badges do not apply any filtering. Consequently features like the "multi-lingual filter " don't work properly against badge text rendering badges non-functional in multi-language environments. See screenshots in attachments section. Those

      {mlang}

      tags are filters enabled through the multi-lingual filter plugin here: https://moodle.org/plugins/filter_multilangsecond

      It appears the badges code needs to be updated to allow filtering via changes like:

      "$OUTPUT->variable($var->name);". would become: "$OUTPUT->variable(format_string($var->name));"

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              davidkites David Manning
              Participants:
              Component watchers:
              Yuliya Bozhko, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: