aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/TemplateLayout.php
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2022-07-16 09:58:33 +0200
committerJulius Härtl <jus@bitgrid.net>2022-07-16 10:00:53 +0200
commitca0435382d91a734842b74c097c4f57590c6e8a0 (patch)
tree0d535ebbed04d8e5f0b171a51a983e4df616848a /lib/private/TemplateLayout.php
parent16b06dd75889bef318881a4783cff03aaeb971d9 (diff)
downloadnextcloud-server-ca0435382d91a734842b74c097c4f57590c6e8a0.tar.gz
nextcloud-server-ca0435382d91a734842b74c097c4f57590c6e8a0.zip
Allow to override #app-content and #app-navigation hrefs for content skipping
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'lib/private/TemplateLayout.php')
-rw-r--r--lib/private/TemplateLayout.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/private/TemplateLayout.php b/lib/private/TemplateLayout.php
index a5aabc04b61..96b785b2e1c 100644
--- a/lib/private/TemplateLayout.php
+++ b/lib/private/TemplateLayout.php
@@ -281,6 +281,9 @@ class TemplateLayout extends \OC_Template {
}
$this->assign('initialStates', $this->initialState->getInitialStates());
+
+ $this->assign('id-app-content', '#app-content');
+ $this->assign('id-app-navigation', '#app-navigation');
}
/**