aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/search.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/search.php')
-rw-r--r--phpBB/search.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/phpBB/search.php b/phpBB/search.php
index 97a8f320d4..4f4a14109b 100644
--- a/phpBB/search.php
+++ b/phpBB/search.php
@@ -129,6 +129,11 @@ $phpbb_content_visibility = $phpbb_container->get('content.visibility');
/* @var $pagination \phpbb\pagination */
$pagination = $phpbb_container->get('pagination');
+$template->assign_block_vars('navlinks', array(
+ 'BREADCRUMB_NAME' => $user->lang('SEARCH'),
+ 'U_BREADCRUMB' => append_sid("{$phpbb_root_path}search.$phpEx"),
+));
+
/**
* This event allows you to alter the above parameters, such as keywords and submit
*
@@ -511,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"),
+ ));
}
/**