diff options
author | Jakub Senko <jakubsenko@gmail.com> | 2016-08-15 17:20:20 +0200 |
---|---|---|
committer | Marc Alexander <admin@m-a-styles.de> | 2019-05-06 21:46:17 +0200 |
commit | 296bf434b0bc87aae0b656f8ca85740bc14d1790 (patch) | |
tree | d69d4410374c28956409804ab6dbc19f496a0568 /phpBB/phpbb/help/controller | |
parent | ab6835d849ddd2b79ae72600a8e3455509a9708f (diff) | |
download | forums-296bf434b0bc87aae0b656f8ca85740bc14d1790.tar forums-296bf434b0bc87aae0b656f8ca85740bc14d1790.tar.gz forums-296bf434b0bc87aae0b656f8ca85740bc14d1790.tar.bz2 forums-296bf434b0bc87aae0b656f8ca85740bc14d1790.tar.xz forums-296bf434b0bc87aae0b656f8ca85740bc14d1790.zip |
[ticket/14573] Add FAQ breadcrumbs
PHPBB3-14573
Diffstat (limited to 'phpBB/phpbb/help/controller')
-rw-r--r-- | phpBB/phpbb/help/controller/bbcode.php | 5 | ||||
-rw-r--r-- | phpBB/phpbb/help/controller/faq.php | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/phpBB/phpbb/help/controller/bbcode.php b/phpBB/phpbb/help/controller/bbcode.php index e16f99023d..c3cf53fd76 100644 --- a/phpBB/phpbb/help/controller/bbcode.php +++ b/phpBB/phpbb/help/controller/bbcode.php @@ -25,6 +25,11 @@ class bbcode extends controller { $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( 'HELP_BBCODE_BLOCK_INTRO', false, diff --git a/phpBB/phpbb/help/controller/faq.php b/phpBB/phpbb/help/controller/faq.php index 5e45cfe667..117723c793 100644 --- a/phpBB/phpbb/help/controller/faq.php +++ b/phpBB/phpbb/help/controller/faq.php @@ -25,6 +25,11 @@ class faq extends controller { $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( 'HELP_FAQ_BLOCK_LOGIN', false, |