mirror of
https://github.com/e107inc/e107.git
synced 2025-07-31 03:40:37 +02:00
Issue #2029 - Shortcodes inside wrappers.
This commit is contained in:
@@ -1416,12 +1416,12 @@ class e_parse_shortcode
|
||||
|
||||
if(strpos($pre, '{') !== false) // shortcode found in wrapper
|
||||
{
|
||||
$pre = $this->parseCodes($pre, true);
|
||||
$pre = $this->parseCodes($pre, true, $this->addedCodes);
|
||||
}
|
||||
|
||||
if(strpos($post, '{') !== false) // shortcode found in wrapper
|
||||
{
|
||||
$post = $this->parseCodes($post, true);
|
||||
$post = $this->parseCodes($post, true, $this->addedCodes);
|
||||
}
|
||||
|
||||
return $pre.$ret.$post;
|
||||
|
@@ -136,7 +136,7 @@ $FORUM_TEMPLATE['main']['forum'] = "<tr>
|
||||
|
||||
$FORUM_TEMPLATE['main']['end'] = "</table><div class='forum-footer center'><small>{USERINFOX}</small></div></div>";
|
||||
|
||||
|
||||
// $FORUM_WRAPPER['main']['forum']['USERINFOX'] = "{FORUM_BREADCRUMB}(html before){---}(html after)";
|
||||
|
||||
// Tracking
|
||||
$FORUM_TEMPLATE['track']['start'] = "{FORUM_BREADCRUMB}<div id='forum-track'>
|
||||
|
Reference in New Issue
Block a user