mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-14 04:34:07 +02:00
[ticket/12591] Improve breadcrumb naming and extend it's usage
PHPBB3-12591
This commit is contained in:
committed by
Marc Alexander
parent
139eb17bb7
commit
9f20ff7b9e
@@ -130,8 +130,8 @@ $phpbb_content_visibility = $phpbb_container->get('content.visibility');
|
||||
$pagination = $phpbb_container->get('pagination');
|
||||
|
||||
$template->assign_block_vars('navlinks', array(
|
||||
'FORUM_NAME' => $user->lang('SEARCH'),
|
||||
'U_VIEW_FORUM' => append_sid("{$phpbb_root_path}search.$phpEx"),
|
||||
'BREADCRUMB_NAME' => $user->lang('SEARCH'),
|
||||
'U_BREADCRUMB' => append_sid("{$phpbb_root_path}search.$phpEx"),
|
||||
));
|
||||
|
||||
/**
|
||||
@@ -516,6 +516,11 @@ if ($keywords || $author || $author_id || $search_id || $submit)
|
||||
$l_search_title = $user->lang['SEARCH_SELF'];
|
||||
break;
|
||||
}
|
||||
|
||||
$template->assign_block_vars('navlinks', array(
|
||||
'BREADCRUMB_NAME' => $l_search_title,
|
||||
'U_BREADCRUMB' => append_sid("{$phpbb_root_path}search.$phpEx", "search_id=$search_id"),
|
||||
));
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user