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

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

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 1.8, 1.8.1, 1.8.2, 1.8.3, 1.8.4
    • 1.8.5
    • Messages
    • None
    • Linux, Windows, MacOS
    • MOODLE_18_STABLE
    • 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);

      Attachments

        Activity

          People

            dongsheng Dongsheng Cai
            chrispotter Chris Potter
            Séverin Terrier Séverin Terrier
            David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              8/Apr/08