aboutsummaryrefslogtreecommitdiff
path: root/template/page.phtml
diff options
context:
space:
mode:
Diffstat (limited to 'template/page.phtml')
-rw-r--r--template/page.phtml15
1 files changed, 9 insertions, 6 deletions
diff --git a/template/page.phtml b/template/page.phtml
index e120993..5bef8b0 100644
--- a/template/page.phtml
+++ b/template/page.phtml
@@ -32,18 +32,21 @@
<link href="assets/img/favicon/16x16.png" rel="icon" type="image/png" sizes="16x16" />
<link type="text/css" rel="stylesheet" href="assets/css/lib/font-awesome.min.css" />
- <link type="text/css" rel="stylesheet" href="assets/css/lib/mediaelementplayer.min.css" />
<link type="text/css" rel="stylesheet" href="assets/css/lustige-styles.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/mediaelement-and-player.min.js"></script>
- <script type="text/javascript" src="assets/js/lustiges-script.js"></script>
- <? if(isset($extraScripts)) foreach($extraScripts as $script): ?>
- <script type="text/javascript" src="<?=h($script)?>"></script>
- <? endforeach ?>
+ <? if(@$relive): ?>
+ <link type="text/css" rel="stylesheet" href="assets/js/lib/relive/mediaelementplayer.min.css" />
+ <script type="text/javascript" src="assets/js/lib/relive/mediaelement-and-player.min.js"></script>
+ <script type="text/javascript" src="assets/js/lustiges-relive-script.js"></script>
+ <? else: ?>
+ <link type="text/css" rel="stylesheet" href="assets/css/lib/mediaelementplayer.min.css" />
+ <script type="text/javascript" src="assets/js/lib/mediaelement-and-player.min.js"></script>
+ <script type="text/javascript" src="assets/js/lustiges-script.js"></script>
+ <? endif ?>
</head>
<body class="<?=h($page)?>">
<? include("$assemblies/header.phtml") ?>