aboutsummaryrefslogtreecommitdiff
path: root/template/page.phtml
diff options
context:
space:
mode:
Diffstat (limited to 'template/page.phtml')
-rw-r--r--template/page.phtml10
1 files changed, 8 insertions, 2 deletions
diff --git a/template/page.phtml b/template/page.phtml
index cad6997..c67392a 100644
--- a/template/page.phtml
+++ b/template/page.phtml
@@ -44,9 +44,15 @@
<script type="text/javascript" src="assets/js/lustiges-script.js"></script>
</head>
<body class="<?=h(is_numeric($page[0]) ? 'e'.$page : $page)?>">
- <? include("$assemblies/header.phtml") ?>
+ <? if(!@$naked): ?>
+ <? include("$assemblies/header.phtml") ?>
+ <? endif ?>
+
<? include("$page.phtml") ?>
- <? include("$assemblies/footer.phtml") ?>
+
+ <? if(!@$naked): ?>
+ <? include("$assemblies/footer.phtml") ?>
+ <? endif ?>
<span class="js-settings"
data-scheduleoffset="<?=h($schedule->getSimulationOffset())?>"