mirror of
https://github.com/e107inc/e107.git
synced 2025-08-03 21:27:25 +02:00
Added Forum breadcrumbs to {---BREADCRUMB---}
This commit is contained in:
@@ -326,6 +326,7 @@ $breadarray = array(
|
|||||||
array('text'=> $forum->prefs->get('title'), 'url' => e107::url('forum','index') )
|
array('text'=> $forum->prefs->get('title'), 'url' => e107::url('forum','index') )
|
||||||
);
|
);
|
||||||
|
|
||||||
|
e107::breadcrumb($breadarray);
|
||||||
|
|
||||||
$sc->wrapper('forum/main/start');
|
$sc->wrapper('forum/main/start');
|
||||||
$forum_main_start = $tp->parseTemplate($FORUM_MAIN_START, true, $sc);
|
$forum_main_start = $tp->parseTemplate($FORUM_MAIN_START, true, $sc);
|
||||||
@@ -383,6 +384,7 @@ function forum_rules($action = 'check')
|
|||||||
);
|
);
|
||||||
|
|
||||||
$text = e107::getForm()->breadcrumb($breadarray);
|
$text = e107::getForm()->breadcrumb($breadarray);
|
||||||
|
e107::breadcrumb($breadarray); // assign to {---BREADCRUMB---}
|
||||||
}
|
}
|
||||||
|
|
||||||
$text .= "<div id='forum-rules'>".$rules_text."</div>";
|
$text .= "<div id='forum-rules'>".$rules_text."</div>";
|
||||||
@@ -495,6 +497,8 @@ function forum_track()
|
|||||||
array('text'=>LAN_FORUM_0030, 'url'=>null)
|
array('text'=>LAN_FORUM_0030, 'url'=>null)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
e107::breadcrumb($breadarray); // assign to {---BREADCRUMB---}
|
||||||
|
|
||||||
$data['FORUM_BREADCRUMB'] = e107::getForm()->breadcrumb($breadarray);
|
$data['FORUM_BREADCRUMB'] = e107::getForm()->breadcrumb($breadarray);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -2397,6 +2397,7 @@ class e107forum
|
|||||||
if(deftrue('BOOTSTRAP'))
|
if(deftrue('BOOTSTRAP'))
|
||||||
{
|
{
|
||||||
$BREADCRUMB = $frm->breadcrumb($breadcrumb);
|
$BREADCRUMB = $frm->breadcrumb($breadcrumb);
|
||||||
|
e107::breadcrumb($breadcrumb); // assign to {---BREADCRUMB---}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@@ -462,6 +462,7 @@ class forumStats
|
|||||||
);
|
);
|
||||||
|
|
||||||
$text = $frm->breadcrumb($breadarray);
|
$text = $frm->breadcrumb($breadarray);
|
||||||
|
e107::breadcrumb($breadarray); // assign to {---BREADCRUMB---}
|
||||||
|
|
||||||
|
|
||||||
$text = "<div id='forum-stats'>". $text . e107::getForm()->tabs($tabs)."</div>";
|
$text = "<div id='forum-stats'>". $text . e107::getForm()->tabs($tabs)."</div>";
|
||||||
|
Reference in New Issue
Block a user