diff options
author | Joas Schilling <nickvergessen@gmx.de> | 2012-03-16 11:03:03 +0100 |
---|---|---|
committer | Joas Schilling <nickvergessen@gmx.de> | 2012-08-01 10:18:41 +0200 |
commit | ddcd1890065258ca5a5d443b8790a9d2287891ad (patch) | |
tree | 1e158656652b420e6093fa56c885f558072f7dd5 /phpBB/includes/functions_posting.php | |
parent | 713f8e4782cd4c808d6f4a1cbb26f45144eef74e (diff) | |
download | forums-ddcd1890065258ca5a5d443b8790a9d2287891ad.tar forums-ddcd1890065258ca5a5d443b8790a9d2287891ad.tar.gz forums-ddcd1890065258ca5a5d443b8790a9d2287891ad.tar.bz2 forums-ddcd1890065258ca5a5d443b8790a9d2287891ad.tar.xz forums-ddcd1890065258ca5a5d443b8790a9d2287891ad.zip |
[feature/events] Adding ledge generate_smilies_footer
Used by phpBB Gallery
PHPBB3-9550
Diffstat (limited to 'phpBB/includes/functions_posting.php')
-rw-r--r-- | phpBB/includes/functions_posting.php | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/phpBB/includes/functions_posting.php b/phpBB/includes/functions_posting.php index 6c21b0f412..d3550aafba 100644 --- a/phpBB/includes/functions_posting.php +++ b/phpBB/includes/functions_posting.php @@ -20,7 +20,7 @@ if (!defined('IN_PHPBB')) */ function generate_smilies($mode, $forum_id) { - global $db, $user, $config, $template; + global $db, $user, $config, $template, $phpbb_dispatcher; global $phpEx, $phpbb_root_path; $start = request_var('start', 0); @@ -131,6 +131,11 @@ function generate_smilies($mode, $forum_id) ); } + $vars = array('mode', 'forum_id', 'display_link'); + $event = new phpbb_event_data(compact($vars)); + $phpbb_dispatcher->dispatch('core.generate_smilies_footer', $event); + extract($event->get_data_filtered($vars)); + if ($mode == 'window') { page_footer(); |