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

Typo in /user/messageselect.php (with solution)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Trivial Trivial
    • 1.8.5
    • 1.8, 1.8.1, 1.8.2, 1.8.3, 1.8.4
    • Messages
    • None
    • Linux, Windows, MacOS
    • MOODLE_18_STABLE
    • MOODLE_18_STABLE

      When messaging users, the course short name in the breadcrumb trail is not hyperlinked (at least in Firefox 2). The reason for this is a simple </A> instead of </a>. I just thought I'd report it because it's been there for quite some time. To fix:

      Modify (around) line 63 where the print_header() function is and change this:

      print_header($strtitle,$strtitle,"<a href=\"$CFG->wwwroot/course/view.php?id=$course->id\">$course->shortname</A> > <a href=\"index.php?id=$course>id\">".get_string("participants")."</a> -> ".$strtitle,$formstart);

      to this:

      print_header($strtitle,$strtitle,"<a href=\"$CFG->wwwroot/course/view.php?id=$course->id\">$course->shortname</a> > <a href=\"index.php?id=$course>id\">".get_string("participants")."</a> -> ".$strtitle,$formstart);

            dongsheng Dongsheng Cai
            chrispotter Chris Potter (Inactive)
            Séverin Terrier Séverin Terrier
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

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