Uploaded image for project: 'phpBB'
  1. phpBB
  2. PHPBB-17181

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 4.0.0-a1, 3.3.14-RC1
    • 3.3.10
    • Styles
    • None

      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.

       

       

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

              Created:
              Updated:
              Resolved: