[ticket/14573] Add FAQ breadcrumbs

PHPBB3-14573
This commit is contained in:
Jakub Senko 2016-08-15 17:20:20 +02:00
parent bc823a18be
commit 3870b221d6
2 changed files with 10 additions and 0 deletions

View file

@ -25,6 +25,11 @@ class bbcode extends controller
{ {
$this->language->add_lang('help/bbcode'); $this->language->add_lang('help/bbcode');
$this->template->assign_block_vars('navlinks', array(
'FORUM_NAME' => $this->language->lang('BBCODE_GUIDE'),
'U_VIEW_FORUM' => $this->helper->route('phpbb_help_bbcode_controller'),
));
$this->manager->add_block( $this->manager->add_block(
'HELP_BBCODE_BLOCK_INTRO', 'HELP_BBCODE_BLOCK_INTRO',
false, false,

View file

@ -25,6 +25,11 @@ class faq extends controller
{ {
$this->language->add_lang('help/faq'); $this->language->add_lang('help/faq');
$this->template->assign_block_vars('navlinks', array(
'FORUM_NAME' => $this->language->lang('FAQ_EXPLAIN'),
'U_VIEW_FORUM' => $this->helper->route('phpbb_help_faq_controller'),
));
$this->manager->add_block( $this->manager->add_block(
'HELP_FAQ_BLOCK_LOGIN', 'HELP_FAQ_BLOCK_LOGIN',
false, false,