diff options
author | Oliver Schramm <oliver.schramm97@gmail.com> | 2014-05-02 23:20:05 +0200 |
---|---|---|
committer | Oliver Schramm <oliver.schramm97@gmail.com> | 2014-05-03 16:16:16 +0200 |
commit | 1f76a95bf61669444e4f69f83494f1ddf8f7b34a (patch) | |
tree | 313895be0cec1f06b4fc248fdef24c2e17de3a68 | |
parent | d7c0d604b56791481200fec2ebacb71615e303b0 (diff) | |
download | forums-1f76a95bf61669444e4f69f83494f1ddf8f7b34a.tar forums-1f76a95bf61669444e4f69f83494f1ddf8f7b34a.tar.gz forums-1f76a95bf61669444e4f69f83494f1ddf8f7b34a.tar.bz2 forums-1f76a95bf61669444e4f69f83494f1ddf8f7b34a.tar.xz forums-1f76a95bf61669444e4f69f83494f1ddf8f7b34a.zip |
[ticket/12451] Use new line to concatenate strings
PHPBB3-12451
-rw-r--r-- | phpBB/includes/message_parser.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/includes/message_parser.php b/phpBB/includes/message_parser.php index 8b64f700d3..2578f50b27 100644 --- a/phpBB/includes/message_parser.php +++ b/phpBB/includes/message_parser.php @@ -1128,7 +1128,7 @@ class parse_message extends bbcode_firstpass // Maximum message length check. 0 disables this check completely. if ((int) $config['max_' . $mode . '_chars'] > 0 && $message_length > (int) $config['max_' . $mode . '_chars']) { - $this->warn_msg[] = $user->lang('TOO_MANY_CHARS_' . strtoupper($mode), $message_length) . ' ' . $user->lang('TOO_MANY_CHARS_LIMIT', (int) $config['max_' . $mode . '_chars']); + $this->warn_msg[] = $user->lang('TOO_MANY_CHARS_' . strtoupper($mode), $message_length) . '<br />' . $user->lang('TOO_MANY_CHARS_LIMIT', (int) $config['max_' . $mode . '_chars']); return (!$update_this_message) ? $return_message : $this->warn_msg; } @@ -1137,7 +1137,7 @@ class parse_message extends bbcode_firstpass { if (!$message_length || $message_length < (int) $config['min_post_chars']) { - $this->warn_msg[] = (!$message_length) ? $user->lang['TOO_FEW_CHARS'] : ($user->lang('TOO_FEW_CHARS_CONTAINS', $message_length) . ' ' . $user->lang('TOO_FEW_CHARS_LIMIT', (int) $config['min_post_chars'])); + $this->warn_msg[] = (!$message_length) ? $user->lang['TOO_FEW_CHARS'] : ($user->lang('TOO_FEW_CHARS_CONTAINS', $message_length) . '<br />' . $user->lang('TOO_FEW_CHARS_LIMIT', (int) $config['min_post_chars'])); return (!$update_this_message) ? $return_message : $this->warn_msg; } } |