aboutsummaryrefslogtreecommitdiff
path: root/template/page.phtml
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--template/page.phtml37
1 files changed, 22 insertions, 15 deletions
diff --git a/template/page.phtml b/template/page.phtml
index 7550246..b3f49b0 100644
--- a/template/page.phtml
+++ b/template/page.phtml
@@ -8,12 +8,22 @@
<? include("$assemblies/motd.phtml") ?>
- <title><?=h($title)?> – 31C3 Streaming</title>
+ <title><?=h($title)?> – <?=h(get('CONFERENCE.TITLE', 'C3Voc'))?> Streaming</title>
<meta name="robots" content="index,follow" />
- <meta name="author" content="CCC" />
- <meta name="description" content="Video Live-Streaming vom 31C3" />
- <meta name="keywords" content="31C3, Hacking, Chaos Computer Club, Video, Media, Streaming, Hacker" />
+
+ <? if(has('CONFERENCE.AUTHOR')): ?>
+ <meta name="author" content="<?=h(get('CONFERENCE.AUTHOR'))?>" />
+ <? endif ?>
+
+ <? if(has('CONFERENCE.DESCRIPTION')): ?>
+ <meta name="description" content="<?=h(get('CONFERENCE.DESCRIPTION'))?>" />
+ <? endif ?>
+
+ <? if(has('CONFERENCE.KEYWORDS')): ?>
+ <meta name="keywords" content="<?=h(get('CONFERENCE.KEYWORDS'))?>" />
+ <? endif ?>
+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<base href="<?=h($baseurl)?>" />
@@ -35,22 +45,19 @@
<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>
- <? 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 ?>
+ <link type="text/css" rel="stylesheet" href="assets/css/mejs/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>
- <link type="text/css" rel="stylesheet" href="assets/css/lib/font-awesome.min.css" />
- <link type="text/css" rel="stylesheet" href="assets/css/lustige-styles.css" />
+ <link type="text/css" rel="stylesheet" href="assets/css/main.css" />
</head>
<body class="<?=h($page)?>">
<? include("$assemblies/header.phtml") ?>
<? include("$page.phtml") ?>
<? include("$assemblies/footer.phtml") ?>
+
+ <span class="js-settings"
+ data-scheduleoffset="<?=h(get('SCHEDULE.OFFSET', 0))?>"
+ ></span>
</body>
</html>