aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_posting.php
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2016-11-20 12:57:17 +0100
committerMarc Alexander <admin@m-a-styles.de>2016-11-20 12:57:17 +0100
commit6d58c4a4b5d9361a3bec8359b0bce9e9dd4eddf3 (patch)
treedeae33856bcad7d547a6e074da6ee80d67dd95b8 /phpBB/includes/functions_posting.php
parent16c3b40b4ea2a16e3ed7d7c5fcaa1fadd1d3c734 (diff)
parent0d15a95f97b87ab22c9c550870b0ee4651e68674 (diff)
downloadforums-6d58c4a4b5d9361a3bec8359b0bce9e9dd4eddf3.tar
forums-6d58c4a4b5d9361a3bec8359b0bce9e9dd4eddf3.tar.gz
forums-6d58c4a4b5d9361a3bec8359b0bce9e9dd4eddf3.tar.bz2
forums-6d58c4a4b5d9361a3bec8359b0bce9e9dd4eddf3.tar.xz
forums-6d58c4a4b5d9361a3bec8359b0bce9e9dd4eddf3.zip
Merge branch 'ticket/14850' into 3.1.x
Diffstat (limited to 'phpBB/includes/functions_posting.php')
-rw-r--r--phpBB/includes/functions_posting.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/phpBB/includes/functions_posting.php b/phpBB/includes/functions_posting.php
index 4a4d2de0fe..30f5ba91ef 100644
--- a/phpBB/includes/functions_posting.php
+++ b/phpBB/includes/functions_posting.php
@@ -119,6 +119,15 @@ function generate_smilies($mode, $forum_id)
foreach ($smilies as $row)
{
+ /**
+ * Modify smiley root path before populating smiley list
+ *
+ * @event core.generate_smilies_before
+ * @var string root_path root_path for smilies
+ * @since 3.1.11-RC1
+ */
+ $vars = array('root_path');
+ extract($phpbb_dispatcher->trigger_event('core.generate_smilies_before', compact($vars)));
$template->assign_block_vars('smiley', array(
'SMILEY_CODE' => $row['code'],
'A_SMILEY_CODE' => addslashes($row['code']),