mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-08 04:18:52 +00:00
Merge branch '3.2.x'
This commit is contained in:
commit
b491b48a0f
1 changed files with 14 additions and 0 deletions
|
@ -1649,6 +1649,20 @@ if ($generate_quote)
|
||||||
'user_id' => $post_data['poster_id'],
|
'user_id' => $post_data['poster_id'],
|
||||||
);
|
);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This event allows you to modify the quote attributes of the post being quoted
|
||||||
|
*
|
||||||
|
* @event core.posting_modify_quote_attributes
|
||||||
|
* @var array quote_attributes Array with quote attributes
|
||||||
|
* @var array post_data Array with post data
|
||||||
|
* @since 3.2.6-RC1
|
||||||
|
*/
|
||||||
|
$vars = array(
|
||||||
|
'quote_attributes',
|
||||||
|
'post_data',
|
||||||
|
);
|
||||||
|
extract($phpbb_dispatcher->trigger_event('core.posting_modify_quote_attributes', compact($vars)));
|
||||||
|
|
||||||
/** @var \phpbb\language\language $language */
|
/** @var \phpbb\language\language $language */
|
||||||
$language = $phpbb_container->get('language');
|
$language = $phpbb_container->get('language');
|
||||||
phpbb_format_quote($language, $message_parser, $bbcode_utils, $bbcode_status, $quote_attributes);
|
phpbb_format_quote($language, $message_parser, $bbcode_utils, $bbcode_status, $quote_attributes);
|
||||||
|
|
Loading…
Add table
Reference in a new issue