1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-04 13:47:31 +02:00

Issue #2029 - Shortcodes inside wrappers.

This commit is contained in:
Cameron
2016-11-16 13:12:27 -08:00
parent 16a03d955f
commit 87487bfaf7
2 changed files with 3 additions and 3 deletions

View File

@@ -1416,12 +1416,12 @@ class e_parse_shortcode
if(strpos($pre, '{') !== false) // shortcode found in wrapper 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 if(strpos($post, '{') !== false) // shortcode found in wrapper
{ {
$post = $this->parseCodes($post, true); $post = $this->parseCodes($post, true, $this->addedCodes);
} }
return $pre.$ret.$post; return $pre.$ret.$post;

View File

@@ -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_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 // Tracking
$FORUM_TEMPLATE['track']['start'] = "{FORUM_BREADCRUMB}<div id='forum-track'> $FORUM_TEMPLATE['track']['start'] = "{FORUM_BREADCRUMB}<div id='forum-track'>