blob: 1a057f2fe2c5439bdcf3e3d4f0163614ad5c724b (
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
|
<div class="container-fluid room <?=h($type)?> <?=h($format)?> <?=h($language)?>" data-room="<?=h($GLOBALS['CONFIG']['ROOMS'][$room])?>">
<h1><?=h($title)?></h1>
<ul class="nav nav-tabs nav-justified">
<?
if($miniroom || $room == 'saal6')
$tabs = array('video', 'audio');
else
$tabs = array('video', 'audio', 'slides');
?>
<? foreach($tabs as $iter): ?>
<li
<? if($type == $iter):?>class="active"<? endif ?>
>
<a href="<?=h(link_player($room, $iter))?>">
<?=h(ucfirst($iter))?>
</a>
</li>
<? endforeach ?>
</ul>
<div class="player-wrap">
<? include("$assemblies/player/$type.phtml") ?>
</div>
<ul class="nav nav-tabs nav-justified" role="tablist">
<li class="active">
<a href="#switcher" role="tab" data-toggle="tab">Formats</a>
</li>
<? if(!$miniroom): ?>
<li>
<a href="#irc" role="tab" data-toggle="tab">IRC</a>
</li>
<li>
<a href="#program" role="tab" data-toggle="tab">Program</a>
</li>
<? endif ?>
<li>
<a href="#feedback" role="tab" data-toggle="tab">Feedback</a>
</li>
</ul>
<div class="tab-content">
<div class="tab-pane active" id="switcher">
<? if($miniroom): ?>
<? include("$assemblies/switcher/miniroom-$type.phtml") ?>
<? else: ?>
<? include("$assemblies/switcher/$type.phtml") ?>
<? endif ?>
</div>
<? if(!$miniroom): ?>
<div class="tab-pane" id="irc">
<? include("$assemblies/irc.phtml") ?>
</div>
<div class="tab-pane" id="program">
<? include("$assemblies/program.phtml") ?>
</div>
<? endif ?>
<div class="tab-pane" id="feedback">
<? include("$assemblies/feedback.phtml") ?>
</div>
</div>
</div>
|