aboutsummaryrefslogtreecommitdiffstats
path: root/core/templates/layout.user.php
diff options
context:
space:
mode:
authorGrigorii K. Shartsev <me@shgk.me>2024-07-30 13:24:38 +0200
committerGrigorii K. Shartsev <me@shgk.me>2024-07-30 13:24:38 +0200
commit885ec736031dc866fd61128b05c6de3688ca1621 (patch)
treed26e51740ee63a68aa7b27b98e5c2c79db7ee7f1 /core/templates/layout.user.php
parent21f558b12bdb985ec312ac8973f2be9c0d73f824 (diff)
downloadnextcloud-server-885ec736031dc866fd61128b05c6de3688ca1621.tar.gz
nextcloud-server-885ec736031dc866fd61128b05c6de3688ca1621.zip
chore(core): wrap initial state into hidden container
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
Diffstat (limited to 'core/templates/layout.user.php')
-rw-r--r--core/templates/layout.user.php7
1 files changed, 2 insertions, 5 deletions
diff --git a/core/templates/layout.user.php b/core/templates/layout.user.php
index f590918301b..475d1b89a0f 100644
--- a/core/templates/layout.user.php
+++ b/core/templates/layout.user.php
@@ -51,11 +51,8 @@ p($theme->getTitle());
<body id="<?php p($_['bodyid']);?>" <?php foreach ($_['enabledThemes'] as $themeId) {
p("data-theme-$themeId ");
}?> data-themes=<?php p(join(',', $_['enabledThemes'])) ?>>
- <?php include 'layout.noscript.warning.php'; ?>
-
- <?php foreach ($_['initialStates'] as $app => $initialState) { ?>
- <input type="hidden" id="initial-state-<?php p($app); ?>" value="<?php p(base64_encode($initialState)); ?>">
- <?php }?>
+ <?php include 'layout.noscript.warning.php'; ?>
+ <?php include 'layout.initial-state.php'; ?>
<div id="skip-actions">
<?php if ($_['id-app-content'] !== null) { ?><a href="<?php p($_['id-app-content']); ?>" class="button primary skip-navigation skip-content"><?php p($l->t('Skip to main content')); ?></a><?php } ?>