blob: 814efe221efaada49736bd146628888e42231714 (
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
|
<div class="container <?=h($stream->getTab())?> <?=h($stream->getSelection())?> <?=h($stream->getLanguage())?>">
<div class="row headline">
<div class="col-xs-12">
<h1 data-room="<?=h($room->getDisplay())?>"><?=h($stream->getDisplay())?></h1>
</div>
</div>
<ul class="nav nav-player nav-tabs nav-justified">
<? foreach($room->getTabs() as $tab): ?>
<li
<? if($tab->getTab() == $stream->getTab()): ?>class="active"<? endif ?>
>
<a href="<?=h($tab->getLink())?>">
<?=h($tab->getDisplay())?>
</a>
</li>
<? endforeach ?>
</ul>
<div class="player-wrap tab-content">
<div role="tabpanel" class="tab-pane active">
<? require("$assemblies/player/".$stream->getPlayerType().".phtml") ?>
</div>
</div>
<ul class="nav nav-functions nav-tabs nav-justified" role="tablist">
<? if($room->hasSchedule()): ?>
<li class="active">
<a href="#schedule" role="tab" data-toggle="tab">Fahrplan</a>
</li>
<? endif ?>
<li <? if (! $room->hasSchedule()): ?>class="active"<? endif ?>>
<a href="#switcher" role="tab" data-toggle="tab">Formats</a>
</li>
<? if($room->hasChat()): ?>
<li>
<a href="#chat" role="tab" data-toggle="tab">Chat</a>
</li>
<? endif ?>
<? if($room->hasFeedback()): ?>
<li>
<a href="#feedback" role="tab" data-toggle="tab">Feedback</a>
</li>
<? endif ?>
<? if($room->hasEmbed()): ?>
<li>
<a href="#embed" role="tab" data-toggle="tab">Embed</a>
</li>
<? endif ?>
</ul>
<div class="functions-wrap tab-content">
<? if($room->hasSchedule()): ?>
<div role="tabpanel" class="tab-pane active" id="schedule">
<? require("$assemblies/schedule.phtml") ?>
</div>
<? endif ?>
<div role="tabpanel" class="tab-pane<? if (! $room->hasSchedule()): ?> active<? endif ?>"
id="switcher">
<? require("$assemblies/switcher/".$stream->getPlayerType().".phtml") ?>
</div>
<? if($room->hasChat()): ?>
<div role="tabpanel" class="tab-pane" id="chat">
<? require("$assemblies/chat.phtml") ?>
</div>
<? endif ?>
<? if($room->hasFeedback()): ?>
<div role="tabpanel" class="tab-pane" id="feedback">
<? require("$assemblies/feedback.phtml") ?>
</div>
<? endif ?>
<? if($room->hasEmbed()): ?>
<div role="tabpanel" class="tab-pane" id="embed">
<? require("$assemblies/embed-form.phtml") ?>
</div>
<? endif ?>
</div>
</div>
|