aboutsummaryrefslogtreecommitdiffstats
path: root/templates/web/base/admin
diff options
context:
space:
mode:
Diffstat (limited to 'templates/web/base/admin')
-rw-r--r--templates/web/base/admin/header.html3
-rw-r--r--templates/web/base/admin/report_edit.html2
2 files changed, 3 insertions, 2 deletions
diff --git a/templates/web/base/admin/header.html b/templates/web/base/admin/header.html
index ddaa4aa44..517b984e3 100644
--- a/templates/web/base/admin/header.html
+++ b/templates/web/base/admin/header.html
@@ -1,6 +1,7 @@
[%
SET bodyclass = bodyclass || 'fullwidthpage';
- INCLUDE 'header.html' admin = 1, bodyclass = bodyclass _ ' admin';
+ SET admin = 1;
+ INCLUDE 'header.html' bodyclass = bodyclass _ ' admin';
%]
<style type="text/css">
dt { clear: left; float: left; font-weight: bold; }
diff --git a/templates/web/base/admin/report_edit.html b/templates/web/base/admin/report_edit.html
index 677c2a171..351cf86f1 100644
--- a/templates/web/base/admin/report_edit.html
+++ b/templates/web/base/admin/report_edit.html
@@ -1,5 +1,5 @@
[%
- PROCESS "maps/${map.type}.html";
+ PROCESS "maps/${map.type}.html" admin = 1;
INCLUDE 'admin/header.html'
title = tprintf(loc('Editing problem %d'), problem.id ),
bodyclass = 'mappage with-notes';