summaryrefslogtreecommitdiffstats
path: root/lib/private/TemplateLayout.php
diff options
context:
space:
mode:
authorJulius Haertl <jus@bitgrid.net>2017-03-01 23:04:27 +0100
committerJulius Härtl <jus@bitgrid.net>2017-03-16 11:55:09 +0100
commita630e4629f2489e9d7678fbe6833cf926e2b968e (patch)
treebdca715c7274eb4323eabc9e2fda8fa535f8eaf8 /lib/private/TemplateLayout.php
parente3e4cb3e67fb4d1399b4a9cf229633144008fdcf (diff)
downloadnextcloud-server-a630e4629f2489e9d7678fbe6833cf926e2b968e.tar.gz
nextcloud-server-a630e4629f2489e9d7678fbe6833cf926e2b968e.zip
Generate seperate menu list for header bar
Signed-off-by: Julius Haertl <jus@bitgrid.net>
Diffstat (limited to 'lib/private/TemplateLayout.php')
-rw-r--r--lib/private/TemplateLayout.php2
1 files changed, 2 insertions, 0 deletions
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) {