-
Bug
-
Resolution: Fixed
-
Minor
-
3.2.9, 3.3.0
Although the ATTACH_ICON_IMG template condition is defined in includes\mcp (mcp_reports.php and mcp_pm_reports.php), it isn't used in the mcp_reports.html prosilver template file.
Therefore, the attachment icon is always displayed beside the post title, regardless the presence of attached file or not in the reported messae.
These two lines in mcp_reports.html...
<a href="{postrow.U_VIEW_DETAILS}" class="topictitle">{postrow.PM_SUBJECT}</a> <i class="icon fa-paperclip fa-fw" aria-hidden="true"></i> <br /> |
<a href="{postrow.U_VIEW_DETAILS}" class="topictitle">{postrow.POST_SUBJECT}</a><i class="icon fa-paperclip fa-fw" aria-hidden="true"></i> <br /> |
... should be replaced by these fixed lines
<a href="{postrow.U_VIEW_DETAILS}" class="topictitle">{postrow.PM_SUBJECT}</a><!-- IF postrow.ATTACH_ICON_IMG --> <i class="icon fa-paperclip fa-fw" aria-hidden="true"></i> <!-- ENDIF --><br /> |
<a href="{postrow.U_VIEW_DETAILS}" class="topictitle">{postrow.POST_SUBJECT}</a><!-- IF postrow.ATTACH_ICON_IMG --> <i class="icon fa-paperclip fa-fw" aria-hidden="true"></i> <!-- ENDIF --><br /> |