diff options
author | MaZderMind | 2015-02-26 17:57:42 +0100 |
---|---|---|
committer | MaZderMind | 2015-02-26 17:57:42 +0100 |
commit | 6db2f0f4b9816ccd271332b89a05a9d0d753216b (patch) | |
tree | fd7ecf7cf16b33bdb75c45e747d12f9ecca43358 /template/page.phtml | |
parent | 9fb5b19bb0652b9c187c9b552c0a7ec4d6778222 (diff) |
shuffle things around on the way to a bootstrap-based configurable website
Diffstat (limited to 'template/page.phtml')
-rw-r--r-- | template/page.phtml | 37 |
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> |