aboutsummaryrefslogtreecommitdiff
path: root/template/page.phtml
blob: 93dfe02f095fa5865272fc72b6b2fb1576d75203 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
<!DOCTYPE html>

<? if($conference->isPreviewEnabled()): ?>
<!--
  RUNNING IN PREVIEW MODE
  OPEN/CLOSED INFORMATION IS IGNORED!
-->
<? endif ?>

<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<meta http-equiv='X-UA-Compatible' content='IE=edge'>

<? include("$assemblies/motd.phtml") ?>

		<title><?=h($title)?><?=h($conference->getTitle())?> Streaming</title>

		<? if($conference->isPreviewEnabled()): ?>
			<meta name="robots" content="noindex,nofollow" />
		<? else: ?>
			<meta name="robots" content="index,follow" />
		<? endif ?>

		<? if(isset($refresh)): ?>
			<meta http-equiv="refresh" content="<?=h($refresh)?>; URL=<?=h($canonicalurl)?>" />
		<? endif ?>

		<? if($conference->hasAuthor()): ?>
			<meta name="author" content="<?=h($conference->getAuthor())?>" />
		<? endif ?>

		<? if($conference->hasDescription()): ?>
			<meta name="description" content="<?=h($conference->getDescription())?>" />
		<? endif ?>

		<? if($conference->hasKeywords()): ?>
			<meta name="keywords" content="<?=h($conference->getKeywords())?>" />
		<? endif ?>

		<meta name="viewport" content="width=device-width, initial-scale=1.0" />

		<base href="<?=h($baseurl)?>" />
		<link href="<?=h($canonicalurl)?>" rel="canonical" />

		<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="<?=h($assets)?>mejs/mediaelementplayer.min.css" />
		<link type="text/css" rel="stylesheet" href="<?=h($conference_assets)?>gen/main.css" />

		<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)?>mejs/mediaelement-and-player.min.js"></script>
		<script type="text/javascript" src="<?=h($assets)?>clapprio/clappr.min.js"></script>
		<script type="text/javascript" src="<?=h($assets)?>clapprio/clappr-thumbnails-plugin.js"></script>
		<script type="text/javascript" src="<?=h($assets)?>js/lustiges-script.js"></script>

		<? if(isset($subtitles) && $subtitles->isEnabled()): ?>
		<script type="text/javascript" src="<?=h($assets)?>js/lustige-subtitles.js"></script>
		<? endif ?>
	</head>
	<body class="<?=h(is_numeric($page[0]) ? 'e'.$page : $page)?>">
		<? if(!@$naked): ?>
			<? include("$assemblies/header.phtml") ?>
		<? endif ?>

		<? include("$page.phtml") ?>

		<? if(!@$naked): ?>
			<? include("$assemblies/footer.phtml") ?>
		<? endif ?>

		<? if(isset($schedule) && $schedule->isEnabled()): ?>
			<span class="js-schedule-settings"
				data-scheduleoffset="<?=h($schedule->getSimulationOffset())?>"
			></span>
		<? endif ?>
		<? if(isset($subtitles) && $subtitles->isEnabled()): ?>
			<span class="js-subtitles-settings"
				data-primus-url="<?=h($subtitles->getPrimusURL())?>"
				data-frontend-url="<?=h($subtitles->getFrontendURL())?>"
			></span>
		<? endif ?>


		<? if($conference->hasAdditionalHtml()): ?>
			<?= $conference->getAdditionalHtml() ?>
		<? endif ?>
	</body>
</html>