mirror of
https://github.com/e107inc/e107.git
synced 2025-04-21 13:11:52 +02:00
Issue #2081 - v2.x Shortcode Wrapper now working for Forum Post form.
This commit is contained in:
parent
61a02c7569
commit
26bee2b7d5
@ -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;
|
||||
|
@ -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>";
|
||||
|
Loading…
x
Reference in New Issue
Block a user