1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-12 03:34:04 +02:00

[ticket/14573] Add UCP breadcrumbs

PHPBB3-14573
This commit is contained in:
Jakub Senko
2016-08-15 17:34:33 +02:00
committed by Marc Alexander
parent 571a6df993
commit 4e3ac92d05
2 changed files with 13 additions and 0 deletions

View File

@@ -393,6 +393,11 @@ if (!$config['allow_topic_notify'] && !$config['allow_forum_notify'])
$vars = array('module', 'id', 'mode');
extract($phpbb_dispatcher->trigger_event('core.ucp_display_module_before', compact($vars)));
$template->assign_block_vars('navlinks', array(
'FORUM_NAME' => $user->lang('UCP'),
'U_VIEW_FORUM' => append_sid("{$phpbb_root_path}ucp.$phpEx"),
));
// Select the active module
$module->set_active($id, $mode);