blob: aa489fc4b36a026aed26a50845029bb53d2bc1e7 (
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
|
<div class="container <?=h($tab)?> <?=h($selection)?> <?=h($language)?>">
<div class="row headline">
<div class="col-xs-12">
<h1 data-room="<?=h(get("ROOMS.$room.DISPLAY"))?>"><?=h($title)?></h1>
</div>
</div>
<ul class="nav nav-player nav-tabs nav-justified">
<? foreach($tabs as $iter): ?>
<li
<? if($tab == $iter):?>class="active"<? endif ?>
>
<a href="<?=h(link_player($room, $iter))?>">
<?=h(ucfirst($iter))?>
</a>
</li>
<? endforeach ?>
</ul>
<div class="player-wrap tab-content">
<div role="tabpanel" class="tab-pane active">
<? include("$assemblies/player/$tab.phtml") ?>
</div>
</div>
<ul class="nav nav-functions nav-tabs nav-justified" role="tablist">
<li class="active">
<a href="#switcher" role="tab" data-toggle="tab">Formats</a>
</li>
<? if((get("ROOMS.$room.IRC") && has("IRC")) || (get("ROOMS.$room.TWITTER") && has("TWITTER"))): ?>
<li>
<a href="#chat" role="tab" data-toggle="tab">Chat</a>
</li>
<? endif ?>
<? if(get("ROOMS.$room.SCHEDULE") && has("SCHEDULE")): ?>
<li>
<a href="#program" role="tab" data-toggle="tab">Program</a>
</li>
<? endif ?>
<? if(get("ROOMS.$room.FEEDBACK") && has("FEEDBACK")): ?>
<li>
<a href="#feedback" role="tab" data-toggle="tab">Feedback</a>
</li>
<? endif ?>
</ul>
<div class="functions-wrap tab-content">
<div role="tabpanel" class="tab-pane active" id="switcher">
<? include("$assemblies/switcher/$tab.phtml") ?>
</div>
<? if((get("ROOMS.$room.IRC") && has("IRC")) || (get("ROOMS.$room.TWITTER") && has("TWITTER"))): ?>
<div role="tabpanel" class="tab-pane" id="chat">
<? include("$assemblies/chat.phtml") ?>
</div>
<? endif ?>
<? if(get("ROOMS.$room.FEEDBACK") && has("FEEDBACK")): ?>
<div role="tabpanel" class="tab-pane" id="program">
<? include("$assemblies/program.phtml") ?>
</div>
<? endif ?>
<? if(get("ROOMS.$room.FEEDBACK") && has("FEEDBACK")): ?>
<div role="tabpanel" class="tab-pane" id="feedback">
<? include("$assemblies/feedback.phtml") ?>
</div>
<? endif ?>
</div>
</div>
|