diff --git a/e107_plugins/forum/forum_post.php b/e107_plugins/forum/forum_post.php index 5b8d34b65..799975428 100644 --- a/e107_plugins/forum/forum_post.php +++ b/e107_plugins/forum/forum_post.php @@ -863,6 +863,9 @@ class forum_post_handler $data = $this->data; $template = $this->getTemplate(); $sc = e107::getScBatch('post', 'forum')->setScVar('forum', $this->forumObj)->setScVar('threadInfo', vartrue($data))->setVars($data); + + $sc->wrapper('forum_post'); + $text = e107::getParser()->parseTemplate($template['form'], true, $sc); $caption = null; diff --git a/e107_plugins/forum/templates/forum_post_template.php b/e107_plugins/forum/templates/forum_post_template.php index b74f6b10f..86361230a 100644 --- a/e107_plugins/forum/templates/forum_post_template.php +++ b/e107_plugins/forum/templates/forum_post_template.php @@ -54,6 +54,7 @@ $FORUM_POST_TEMPLATE['form'] = " $FORUM_POST_TEMPLATE['reply'] = ""; +// $FORUM_POST_WRAPPER['FORUM_POST_TEXTAREA'] = "(pre){---}(post)"; // Custom Wrapper. $FORUM_CRUMB['sitename']['value'] = "<a class='forumlink' href='{SITENAME_HREF}'>{SITENAME}</a>";