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

Replace heading with notification in Language customization

    XMLWordPrintable

    Details

      Description

      Change the 'nostringsfound' text in the file admin/tool/customlang/renderer.php to print as notification.

      In the line 56:

      return $this->heading(get_string('nostringsfound', 'tool_customlang'), 3);

      Add global $OUTPUT to the function and change the line 56 to:

      return $OUTPUT->notification(get_string('nostringsfound', 'tool_customlang'));

        Attachments

          Activity

            People

            Assignee:
            poltawski Dan Poltawski
            Reporter:
            juonio Juho Viitasalo
            Integrator:
            Sam Hemelryk
            Tester:
            Damyon Wiese
            Participants:
            Component watchers:
            Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, cameron1729, David Mudrák (@mudrd8mz), Helen Foster
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              18/Nov/13