We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a261325 commit f0b9141Copy full SHA for f0b9141
layout/frontpage.php
@@ -135,7 +135,6 @@
135
'sideadminblocks' => $adminblockshtml,
136
'hasblocks' => $hasblocks,
137
'hasadminblocks' => is_siteadmin(),
138
- 'blockdraweropen' => $blockdraweropen,
139
'forceblockdraweropen' => $forceblockdraweropen,
140
'bodyattributes' => $bodyattributes,
141
'primarymoremenu' => $primarymenu['moremenu'],
@@ -177,4 +176,9 @@
177
176
'databs' => $databs,
178
];
179
+// Just enter in this if the debug mode is not enabled.
180
+if ($blockdraweropen && debugging() == false) {
181
+ $templatecontext['blockdraweropen'] = $blockdraweropen;
182
+}
183
+
184
echo $OUTPUT->render_from_template('theme_trema/frontpage', $templatecontext);
0 commit comments