diff --git a/e107_plugins/forum/forum.php b/e107_plugins/forum/forum.php index 189fc0d45..377bde70e 100644 --- a/e107_plugins/forum/forum.php +++ b/e107_plugins/forum/forum.php @@ -335,6 +335,9 @@ function parse_forum($f, $restricted_string = '') $fVars->FORUMSUBFORUMS = ''; + + + $badgeReplies = ($f['forum_replies']) ? "badge-info" : ""; $badgeThreads = ($f['forum_threads']) ? "badge-info" : ""; @@ -494,6 +497,14 @@ if (e_QUERY == 'new') } } +$frm = e107::getForm(); + +$breadarray = array( + array('text'=> $forum->prefs->get('title'), 'url' => e_REQUEST_URL ) +); + +$fVars->FORUM_BREADCRUMB = $frm->breadcrumb($breadarray); + $forum_main_start = $tp->simpleParse($FORUM_MAIN_START, $fVars); $forum_main_end = $tp->simpleParse($FORUM_MAIN_END, $fVars); diff --git a/e107_plugins/forum/templates/forum_template.php b/e107_plugins/forum/templates/forum_template.php index a090cac34..01c313916 100644 --- a/e107_plugins/forum/templates/forum_template.php +++ b/e107_plugins/forum/templates/forum_template.php @@ -79,7 +79,8 @@ $FORUM_TRACK_END = "
TRACK-END"; // New in v2.x - requires a bootstrap theme be loaded. -$FORUM_TEMPLATE['main-start'] = "
+$FORUM_TEMPLATE['main-start'] = "
+ {FORUM_BREADCRUMB}
{SEARCH}