diff --git a/e107_plugins/forum/forum_viewtopic.php b/e107_plugins/forum/forum_viewtopic.php index d3af3edc9..3dd2e673d 100644 --- a/e107_plugins/forum/forum_viewtopic.php +++ b/e107_plugins/forum/forum_viewtopic.php @@ -211,6 +211,7 @@ if(deftrue('BOOTSTRAP',false)) // print_a($FORUM_VIEWTOPIC_TEMPLATE); + $FORUMCAPTION = $FORUM_VIEWTOPIC_TEMPLATE['caption']; $FORUMSTART = $FORUM_VIEWTOPIC_TEMPLATE['start']; $FORUMTHREADSTYLE = $FORUM_VIEWTOPIC_TEMPLATE['thread']; $FORUMEND = $FORUM_VIEWTOPIC_TEMPLATE['end']; @@ -615,7 +616,7 @@ require_once (HEADERF); if ($forum->prefs->get('enclose')) { - $forumTitle = e107::pref('forum','title', LAN_PLUGIN_FORUM_NAME); + $forumTitle = varset($FORUMCAPTION) ? $tp->parseTemplate($FORUMCAPTION, TRUE, $sc) : e107::pref('forum','title', LAN_PLUGIN_FORUM_NAME); $ns->tablerender($forumTitle, $mes->render().$forumstring, array('forum_viewtopic', 'main')); } else @@ -1090,4 +1091,4 @@ class e107ForumThread } } -?> \ No newline at end of file +?>