aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/search.php
diff options
context:
space:
mode:
authorJakub Senko <jakubsenko@gmail.com>2018-06-18 19:46:37 +0200
committerMarc Alexander <admin@m-a-styles.de>2019-05-09 18:43:34 +0200
commit9f20ff7b9e998688c06737a546fbcaabd87b22ef (patch)
tree4bf93b93d6821157d013f19de639b9b75f3761b7 /phpBB/search.php
parent139eb17bb729763ab670fb239c77db02e29920f6 (diff)
downloadforums-9f20ff7b9e998688c06737a546fbcaabd87b22ef.tar
forums-9f20ff7b9e998688c06737a546fbcaabd87b22ef.tar.gz
forums-9f20ff7b9e998688c06737a546fbcaabd87b22ef.tar.bz2
forums-9f20ff7b9e998688c06737a546fbcaabd87b22ef.tar.xz
forums-9f20ff7b9e998688c06737a546fbcaabd87b22ef.zip
[ticket/12591] Improve breadcrumb naming and extend it's usage
PHPBB3-12591
Diffstat (limited to 'phpBB/search.php')
-rw-r--r--phpBB/search.php9
1 files changed, 7 insertions, 2 deletions
diff --git a/phpBB/search.php b/phpBB/search.php
index 8e3d6b4d22..4f4a14109b 100644
--- a/phpBB/search.php
+++ b/phpBB/search.php
@@ -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"),
+ ));
}
/**