1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 22:10:45 +02:00

[ticket/11915] Pass the data to the template instead of scraping HTML for it.

PHPBB3-11915
This commit is contained in:
Cesar G
2013-12-18 19:23:14 -08:00
parent 9a21dec1b6
commit ebc2d1dd1b
3 changed files with 7 additions and 35 deletions

View File

@@ -1548,8 +1548,9 @@ $template->assign_vars(array(
'S_BBCODE_QUOTE' => $quote_status,
'S_POST_ACTION' => $s_action,
'S_HIDDEN_FIELDS' => $s_hidden_fields)
);
'S_HIDDEN_FIELDS' => $s_hidden_fields,
'S_ATTACH_DATA' => json_encode($message_parser->attachment_data),
));
/**
* This event allows you to modify template variables for the posting screen