aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/mcp/mcp_reports.php
diff options
context:
space:
mode:
author3Di <three3di@hotmail.it>2018-10-26 18:33:30 +0200
committerGitHub <noreply@github.com>2018-10-26 18:33:30 +0200
commit379900b4eda527d91c2e3252db5e3b89038bc425 (patch)
tree6c8db1854d475b2b15c1b5c98c77e5f9f9fa1ff3 /phpBB/includes/mcp/mcp_reports.php
parent001f32da95d4f8697ccc9a6107afc8dc68cbe48e (diff)
parentfd95355c6129043e09d189c193ff5d1abde8db96 (diff)
downloadforums-379900b4eda527d91c2e3252db5e3b89038bc425.tar
forums-379900b4eda527d91c2e3252db5e3b89038bc425.tar.gz
forums-379900b4eda527d91c2e3252db5e3b89038bc425.tar.bz2
forums-379900b4eda527d91c2e3252db5e3b89038bc425.tar.xz
forums-379900b4eda527d91c2e3252db5e3b89038bc425.zip
Merge pull request #2 from phpbb/3.2.x
3.2.x
Diffstat (limited to 'phpBB/includes/mcp/mcp_reports.php')
-rw-r--r--phpBB/includes/mcp/mcp_reports.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/phpBB/includes/mcp/mcp_reports.php b/phpBB/includes/mcp/mcp_reports.php
index f5147deb49..78f497c275 100644
--- a/phpBB/includes/mcp/mcp_reports.php
+++ b/phpBB/includes/mcp/mcp_reports.php
@@ -242,6 +242,10 @@ class mcp_reports
}
}
+ // parse signature
+ $parse_flags = ($post_info['user_sig_bbcode_bitfield'] ? OPTION_FLAG_BBCODE : 0) | OPTION_FLAG_SMILIES;
+ $post_info['user_sig'] = generate_text_for_display($post_info['user_sig'], $post_info['user_sig_bbcode_uid'], $post_info['user_sig_bbcode_bitfield'], $parse_flags, true);
+
$template->assign_vars(array(
'S_MCP_REPORT' => true,
'S_CLOSE_ACTION' => append_sid("{$phpbb_root_path}mcp.$phpEx", 'i=reports&amp;mode=report_details&amp;f=' . $post_info['forum_id'] . '&amp;p=' . $post_id),
@@ -291,6 +295,7 @@ class mcp_reports
'POST_IP' => $post_info['poster_ip'],
'POST_IPADDR' => ($auth->acl_get('m_info', $post_info['forum_id']) && $request->variable('lookup', '')) ? @gethostbyaddr($post_info['poster_ip']) : '',
'POST_ID' => $post_info['post_id'],
+ 'SIGNATURE' => $post_info['user_sig'],
'U_LOOKUP_IP' => ($auth->acl_get('m_info', $post_info['forum_id'])) ? $this->u_action . '&amp;r=' . $report_id . '&amp;p=' . $post_id . '&amp;f=' . $forum_id . '&amp;lookup=' . $post_info['poster_ip'] . '#ip' : '',
));