aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mod/search/start.php2
-rw-r--r--views/default/page/elements/header.php5
2 files changed, 2 insertions, 5 deletions
diff --git a/mod/search/start.php b/mod/search/start.php
index 0c4bc7257..ab7aa1c4c 100644
--- a/mod/search/start.php
+++ b/mod/search/start.php
@@ -49,7 +49,7 @@ function search_init() {
elgg_extend_view('css/elgg', 'search/css');
// extend view for elgg topbar search box
- elgg_extend_view('header/extend', 'search/search_box');
+ elgg_extend_view('page/elements/header', 'search/search_box');
}
/**
diff --git a/views/default/page/elements/header.php b/views/default/page/elements/header.php
index 972c90272..2361644f2 100644
--- a/views/default/page/elements/header.php
+++ b/views/default/page/elements/header.php
@@ -11,7 +11,4 @@ echo elgg_view('page/elements/header_logo', $vars);
echo elgg_view('core/account/login_dropdown');
// insert site-wide navigation
-echo elgg_view_menu('site');
-
-// insert a view which can be extended
-echo elgg_view('header/extend');
+echo elgg_view_menu('site'); \ No newline at end of file