aboutsummaryrefslogtreecommitdiff
path: root/template/page.phtml
diff options
context:
space:
mode:
authorVOC2015-11-13 19:48:45 +0100
committerVOC2015-11-13 19:48:45 +0100
commit92f4fa13749566f6c4378f2c9e80774e8320b825 (patch)
treef17c6da85da6edba9c7be10138687518ee534d50 /template/page.phtml
parent32fd126b3fa937389efd1457e9d05daff9f3b347 (diff)
parent29af764323dc474c14e05985eeabd3a06ef19c86 (diff)
Merge branch 'mandators'
Diffstat (limited to '')
-rw-r--r--template/page.phtml28
1 files changed, 15 insertions, 13 deletions
diff --git a/template/page.phtml b/template/page.phtml
index bd73065..ac639a2 100644
--- a/template/page.phtml
+++ b/template/page.phtml
@@ -29,20 +29,20 @@
<base href="<?=h($baseurl)?>" />
<link href="<?=h($canonicalurl)?>" rel="canonical" />
- <link href="assets/img/apple-touch-icon.png" rel="apple-touch-icon" />
- <link href="assets/img/favicon.png" rel="icon" type="image/png" />
+ <link href="<?=h($assets)?>img/apple-touch-icon.png" rel="apple-touch-icon" />
+ <link href="<?=h($assets)?>img/favicon.png" rel="icon" type="image/png" />
- <link type="text/css" rel="stylesheet" href="assets/mejs/mediaelementplayer.min.css" />
+ <link type="text/css" rel="stylesheet" href="<?=h($assets)?>mejs/mediaelementplayer.min.css" />
<link type="text/css" rel="stylesheet" href="gen/main.css" />
- <script type="text/javascript" src="assets/js/lib/jquery.min.js"></script>
- <script type="text/javascript" src="assets/js/lib/jquery.scrollTo.min.js"></script>
- <script type="text/javascript" src="assets/js/lib/bootstrap.min.js"></script>
- <script type="text/javascript" src="assets/js/lib/bootstrap-datepicker.min.js"></script>
- <script type="text/javascript" src="assets/js/lib/moment.min.js"></script>
+ <script type="text/javascript" src="<?=h($assets)?>js/lib/jquery.min.js"></script>
+ <script type="text/javascript" src="<?=h($assets)?>js/lib/jquery.scrollTo.min.js"></script>
+ <script type="text/javascript" src="<?=h($assets)?>js/lib/bootstrap.min.js"></script>
+ <script type="text/javascript" src="<?=h($assets)?>js/lib/bootstrap-datepicker.min.js"></script>
+ <script type="text/javascript" src="<?=h($assets)?>js/lib/moment.min.js"></script>
- <script type="text/javascript" src="assets/mejs/mediaelement-and-player.min.js"></script>
- <script type="text/javascript" src="assets/js/lustiges-script.js"></script>
+ <script type="text/javascript" src="<?=h($assets)?>mejs/mediaelement-and-player.min.js"></script>
+ <script type="text/javascript" src="<?=h($assets)?>js/lustiges-script.js"></script>
</head>
<body class="<?=h(is_numeric($page[0]) ? 'e'.$page : $page)?>">
<? if(!@$naked): ?>
@@ -55,8 +55,10 @@
<? include("$assemblies/footer.phtml") ?>
<? endif ?>
- <span class="js-settings"
- data-scheduleoffset="<?=h($schedule->getSimulationOffset())?>"
- ></span>
+ <? if(isset($schedule)): ?>
+ <span class="js-settings"
+ data-scheduleoffset="<?=h($schedule->getSimulationOffset())?>"
+ ></span>
+ <? endif ?>
</body>
</html>