mirror of
https://github.com/e107inc/e107.git
synced 2025-08-01 20:30:39 +02:00
Enable templating of viewtopic caption
Enable templating of viewtopic caption
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
?>
|
||||
|
Reference in New Issue
Block a user