From a630e4629f2489e9d7678fbe6833cf926e2b968e Mon Sep 17 00:00:00 2001 From: Julius Haertl Date: Wed, 1 Mar 2017 23:04:27 +0100 Subject: Generate seperate menu list for header bar Signed-off-by: Julius Haertl --- lib/private/TemplateLayout.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/private/TemplateLayout.php') diff --git a/lib/private/TemplateLayout.php b/lib/private/TemplateLayout.php index ccd53c9cafa..3f8c75adc84 100644 --- a/lib/private/TemplateLayout.php +++ b/lib/private/TemplateLayout.php @@ -76,6 +76,8 @@ class TemplateLayout extends \OC_Template { $this->assign( 'appid', $appId ); $navigation = \OC_App::getNavigation(); $this->assign( 'navigation', $navigation); + $navigation = \OC_App::getHeaderNavigation(); + $this->assign( 'headernavigation', $navigation); $settingsNavigation = \OC_App::getSettingsNavigation(); $this->assign( 'settingsnavigation', $settingsNavigation); foreach($navigation as $entry) { -- cgit v1.2.3