1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-12 17:44:37 +02:00

Some forum related updates

This commit is contained in:
mcfly
2010-02-01 03:41:59 +00:00
parent c8b45cc024
commit 797928071a
7 changed files with 85 additions and 92 deletions

View File

@@ -9,9 +9,9 @@
* Message Handler
*
* $Source: /cvs_backup/e107_0.8/e107_plugins/forum/forum_class.php,v $
* $Revision: 1.41 $
* $Date: 2009-11-18 01:05:36 $
* $Author: e107coders $
* $Revision: 1.42 $
* $Date: 2010-02-01 03:41:58 $
* $Author: mcfly_e107 $
*
*/
@@ -1090,7 +1090,7 @@ class e107forum
* $forum_href override ONLY applies when template is missing FORUM_CRUMB
* $thread_title is needed for post-related breadcrumbs
*/
function set_crumb($forum_href=false, $thread_title='')
function set_crumb($forum_href=false, $thread_title='', &$templateVar)
{
$e107 = e107::getInstance();
global $FORUM_CRUMB, $forumInfo, $thread;
@@ -1162,6 +1162,9 @@ class e107forum
}
}
$BACKLINK = $BREADCRUMB;
$templateVar->BREADCRUMB = $BREADCRUMB;
$templateVar->BACKLINK = $BACKLINK;
$templateVar->FORUM_CRUMB = $FORUM_CRUMB;
}