aboutsummaryrefslogtreecommitdiff
path: root/template/page.phtml
diff options
context:
space:
mode:
authorMaZderMind2015-11-08 15:15:53 +0100
committerMaZderMind2015-11-08 15:15:53 +0100
commita0b2129479ba10561811847c0651df8b55c8a6ba (patch)
tree2177365d737a24453783107697d19e712330f66d /template/page.phtml
parentefe1f83a7cc419df700dfe36ef11da20607d8eae (diff)
Support an All-Conference-Closed Screen and mutliple Schedules & Relive-URLs
Diffstat (limited to 'template/page.phtml')
-rw-r--r--template/page.phtml28
1 files changed, 15 insertions, 13 deletions
diff --git a/template/page.phtml b/template/page.phtml
index 37f192a..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>