mirror of
https://github.com/e107inc/e107.git
synced 2025-07-30 19:30:25 +02:00
Forum $fVar, $tVar removal
Forum $fVar, $tVar removal Added also some code clean up for previous submit #1677 (forum.php & forum_shortcodes.php)
This commit is contained in:
@@ -2097,6 +2097,7 @@ class e107forum
|
||||
|
||||
|
||||
|
||||
// Function eventually to be reworked (move full function to shortcode file, or make a new breadcrumb function, like in downloads, maybe?)
|
||||
/*
|
||||
* set bread crumb
|
||||
* $forum_href override ONLY applies when template is missing FORUM_CRUMB
|
||||
@@ -2229,12 +2230,20 @@ class e107forum
|
||||
|
||||
|
||||
|
||||
/*
|
||||
$BACKLINK = $BREADCRUMB;
|
||||
|
||||
$templateVar->BREADCRUMB = $BREADCRUMB;
|
||||
|
||||
|
||||
$templateVar->BACKLINK = $BACKLINK;
|
||||
$templateVar->FORUM_CRUMB = $FORUM_CRUMB;
|
||||
*/
|
||||
// Backlink shortcode is defined inside shortcode file....
|
||||
//---- var_dump ($templateVar);
|
||||
//---- echo "<hr>";
|
||||
$templateVar['breadcrumb'] = $BREADCRUMB;
|
||||
$templateVar['forum_crumb'] = $FORUM_CRUMB;
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user