aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes
diff options
context:
space:
mode:
authorJoshyPHP <s9e.dev@gmail.com>2015-06-22 04:00:55 +0200
committerJoshyPHP <s9e.dev@gmail.com>2015-06-25 03:11:58 +0200
commit06936bda05a48e5b6e20d7c0b0979cf7fc1a29ae (patch)
tree95f16e6d9e06ee08c51965c55152a14f50ae234d /phpBB/includes
parentc934b8f150c81115062687e59988ca0f78b35c37 (diff)
downloadforums-06936bda05a48e5b6e20d7c0b0979cf7fc1a29ae.tar
forums-06936bda05a48e5b6e20d7c0b0979cf7fc1a29ae.tar.gz
forums-06936bda05a48e5b6e20d7c0b0979cf7fc1a29ae.tar.bz2
forums-06936bda05a48e5b6e20d7c0b0979cf7fc1a29ae.tar.xz
forums-06936bda05a48e5b6e20d7c0b0979cf7fc1a29ae.zip
[ticket/10620] Added enhanced quotes in topic review
Added support for enhanced quotes in topic_review's quote button. NOTE: the UI doesn't appear to be testable via PhantomJS. PHPBB3-10620
Diffstat (limited to 'phpBB/includes')
-rw-r--r--phpBB/includes/functions_posting.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/phpBB/includes/functions_posting.php b/phpBB/includes/functions_posting.php
index a1ace42c32..9109c48ab6 100644
--- a/phpBB/includes/functions_posting.php
+++ b/phpBB/includes/functions_posting.php
@@ -1193,6 +1193,8 @@ function topic_review($topic_id, $forum_id, $mode = 'topic_review', $cur_post_id
'MESSAGE' => $message,
'DECODED_MESSAGE' => $decoded_message,
'POST_ID' => $row['post_id'],
+ 'POST_TIME' => $row['post_time'],
+ 'USER_ID' => $row['user_id'],
'U_MINI_POST' => append_sid("{$phpbb_root_path}viewtopic.$phpEx", 'p=' . $row['post_id']) . '#p' . $row['post_id'],
'U_MCP_DETAILS' => ($auth->acl_get('m_info', $forum_id)) ? append_sid("{$phpbb_root_path}mcp.$phpEx", 'i=main&amp;mode=post_details&amp;f=' . $forum_id . '&amp;p=' . $row['post_id'], true, $user->session_id) : '',
'POSTER_QUOTE' => ($show_quote_button && $auth->acl_get('f_reply', $forum_id)) ? addslashes(get_username_string('username', $poster_id, $row['username'], $row['user_colour'], $row['post_username'])) : '',