aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_privmsgs.php
diff options
context:
space:
mode:
authorChris Smith <toonarmy@phpbb.com>2008-09-27 11:38:42 +0000
committerChris Smith <toonarmy@phpbb.com>2008-09-27 11:38:42 +0000
commit7de4563d05e9ad78dbe3c6369720aa8ba80be60d (patch)
tree4fcf61421fb62dfe222983f3bc0753354af7af93 /phpBB/includes/functions_privmsgs.php
parent6cfc56a6505b00cef6e2889b3672db108da04d35 (diff)
downloadforums-7de4563d05e9ad78dbe3c6369720aa8ba80be60d.tar
forums-7de4563d05e9ad78dbe3c6369720aa8ba80be60d.tar.gz
forums-7de4563d05e9ad78dbe3c6369720aa8ba80be60d.tar.bz2
forums-7de4563d05e9ad78dbe3c6369720aa8ba80be60d.tar.xz
forums-7de4563d05e9ad78dbe3c6369720aa8ba80be60d.zip
Add quoting support to PM history when composing a reply. #34285
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8951 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/functions_privmsgs.php')
-rw-r--r--phpBB/includes/functions_privmsgs.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/phpBB/includes/functions_privmsgs.php b/phpBB/includes/functions_privmsgs.php
index ec09e168bc..f816cf0321 100644
--- a/phpBB/includes/functions_privmsgs.php
+++ b/phpBB/includes/functions_privmsgs.php
@@ -1786,6 +1786,7 @@ function message_history($msg_id, $user_id, $message_row, $folder, $in_post_mode
}
$template->assign_block_vars('history_row', array(
+ 'MESSAGE_AUTHOR_QUOTE' => (($in_post_mode && $auth->acl_get('u_sendpm') && $author_id != ANONYMOUS && $author_id != $user->data['user_id']) ? addslashes(get_username_string('username', $author_id, $row['username'], $row['user_colour'], $row['username'])) : ''),
'MESSAGE_AUTHOR_FULL' => get_username_string('full', $author_id, $row['username'], $row['user_colour'], $row['username']),
'MESSAGE_AUTHOR_COLOUR' => get_username_string('colour', $author_id, $row['username'], $row['user_colour'], $row['username']),
'MESSAGE_AUTHOR' => get_username_string('username', $author_id, $row['username'], $row['user_colour'], $row['username']),