aboutsummaryrefslogtreecommitdiff
path: root/template/page.phtml
blob: 797589dafd56d2fb545b4644fded10e159910e8b (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
95
96
97
98
99
100
101
102
103
<!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" />
		<meta name="mobile-web-app-capable" content="yes" />
		<meta name="theme-color" content="#000000" />
		<meta name="apple-mobile-web-app-capable" content="yes" />

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

		<link href="<?=h($assets)?>img/apple-touch-icon/57x57.png" rel="apple-touch-icon" sizes="57x57">
		<link href="<?=h($assets)?>img/apple-touch-icon/72x72.png" rel="apple-touch-icon" sizes="72x72">
		<link href="<?=h($assets)?>img/apple-touch-icon/60x60.png" rel="apple-touch-icon" sizes="60x60">
		<link href="<?=h($assets)?>img/apple-touch-icon/76x76.png" rel="apple-touch-icon" sizes="76x76">
		<link href="<?=h($assets)?>img/favicon/96x96.png" rel="icon" sizes="96x96" type="image/png">
		<link href="<?=h($assets)?>img/favicon/16x16.png" rel="icon" sizes="16x16" type="image/png">
		<link href="<?=h($assets)?>img/favicon/32x32.png" rel="icon" sizes="32x32" 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)?>clapprio/clappr-playback-rate-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($page != 'allconferences' && $conference->hasAdditionalHtml()): ?>
			<?= $conference->getAdditionalHtml() ?>
		<? endif ?>
	</body>
</html>