Uploaded image for project: 'phpBB3'
  1. phpBB3
  2. PHPBB3-10402

Displaying report texts with linebreaks and clickable links

    XMLWordPrintable

    Details

      Description

      When a moderator reads a report he sees the optional text of the reporter. However, linebreaks entered by the reporter aren't displayed (because HTML eats those as whitespaces). Also, if the text contains links those are not automatically made clickable.

      The fix/improvement is easy: in /includes/mcp/mcp_reports.php find:

      $message = smiley_text($message);

      After, add:

      $report['report_text']= make_clickable( bbcode_nl2br( $report['report_text'] ) );

        Attachments

          Activity

            People

            Assignee:
            Oleg Oleg [X] (Inactive)
            Reporter:
            AmigoJack AmigoJack
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: