Skip to content

Commit c13cbac

Browse files
susnuxbackportbot[bot]
authored andcommitted
fix(theming): enforce theme also for login
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de> [skip ci]
1 parent 96e2555 commit c13cbac

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

core/templates/layout.guest.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,9 @@
3535
<?php emit_script_loading_tags($_); ?>
3636
<?php print_unescaped($_['headers']); ?>
3737
</head>
38-
<body id="<?php p($_['bodyid']);?>">
38+
<body id="<?php p($_['bodyid']);?>" <?php foreach ($_['enabledThemes'] as $themeId) {
39+
p("data-theme-$themeId ");
40+
}?> data-themes="<?php p(join(',', $_['enabledThemes'])) ?>">
3941
<?php include 'layout.noscript.warning.php'; ?>
4042
<?php include 'layout.initial-state.php'; ?>
4143
<div class="wrapper">

0 commit comments

Comments
 (0)