phpBB

Code Changes

File: includes/functions_content.php

  Unmodified   Added   Modified   Removed
Line 627Line 627
			}
else
{

			}
else
{

				$bbcode->bbcode($bitfield);

				$bbcode->bbcode_set_bitfield($bitfield);

			}

$bbcode->bbcode_second_pass($text, $uid);

			}

$bbcode->bbcode_second_pass($text, $uid);

Line 1762Line 1762
/**
* Formats the quote according to the given BBCode status setting
*

/**
* Formats the quote according to the given BBCode status setting
*

 * @param bool 						$bbcode_status The status of the BBCode setting
* @param array $quote_attributes The attributes of the quoted post
* @param phpbb\textformatter\utils $text_formatter_utils Text formatter utilities
* @param parse_message $message_parser Message parser class
* @param string $message_link Link of the original quoted post


 * @param phpbb\language\language				$language Language class
* @param parse_message $message_parser Message parser class
* @param phpbb\textformatter\utils_interface $text_formatter_utils Text formatter utilities
* @param bool $bbcode_status The status of the BBCode setting
* @param array $quote_attributes The attributes of the quoted post
* @param string $message_link Link of the original quoted post

 */

 */

function phpbb_format_quote($bbcode_status, $quote_attributes, $text_formatter_utils, $message_parser, $message_link = '')

function phpbb_format_quote($language, $message_parser, $text_formatter_utils, $bbcode_status, $quote_attributes, $message_link = '')

{
if ($bbcode_status)
{

{
if ($bbcode_status)
{

Line 1794Line 1795
		$message = $quote_string . $message;
$message = str_replace("\n", "\n" . $quote_string, $message);


		$message = $quote_string . $message;
$message = str_replace("\n", "\n" . $quote_string, $message);


		$message_parser->message = $quote_attributes['author'] . " " . $user->lang['WROTE'] . ":\n" . $message . "\n";

		$message_parser->message = $quote_attributes['author'] . " " . $language->lang('WROTE') . ":\n" . $message . "\n";

	}

if ($message_link)

	}

if ($message_link)