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

If statement to highlight Reported PMS on the view message page doesn't work.

    XMLWordPrintable

Details

    • Bug
    • Status: Open (View Workflow)
    • Minor
    • Resolution: Unresolved
    • 3.3.10
    • None
    • Styles
    • None

    Description

      The ucp_pm_viewmessage.html template has an if statement to add a reported class to unapproved or reported posts.

      The if statement doesn't work as it's not for PM's and was probably put there by mistake.

       

      Line 25:

      <div id="post-{MESSAGE_ID}" class="post pm has-profile<!-- IF S_POST_UNAPPROVED or S_POST_REPORTED --> reported<!-- ENDIF --><!-- IF S_ONLINE --> online<!-- ENDIF -->"> 

      The if statement:

      <!-- IF S_POST_UNAPPROVED or S_POST_REPORTED --> reported<!-- ENDIF --> 

      I have changed S_POST_REPORTED to S_PM_REPORTED just to see if it was something simple but it doesn't work.

       

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            ForumFlair ForumFlair
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: