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

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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 1.8, 1.8.1, 1.8.2, 1.8.3, 1.8.4
    • Fix Version/s: 1.8.5
    • Component/s: Messages
    • Labels:
      None
    • Environment:
      Linux, Windows, MacOS
    • Affected Branches:
      MOODLE_18_STABLE
    • Fixed Branches:
      MOODLE_18_STABLE

      Description

      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);

        Gliffy Diagrams

          Attachments

            Activity

            Hide
            fox Séverin Terrier added a comment -

            Just a "A" to change to a "a"

            Show
            fox Séverin Terrier added a comment - Just a "A" to change to a "a"

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  8/Apr/08