aboutsummaryrefslogtreecommitdiff
path: root/template/room.phtml
blob: 680c6bcbadf086ee284f63ca13bd5763663fb6c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<div class="container-fluid room <?=h($type)?> <?=h($format)?> <?=h($language)?>">
	<h1><?=h($title)?></h1>

	<ul class="nav nav-tabs nav-justified">
		<? foreach(array('video', 'audio', 'slides') 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="tab-content">
		<? include("assemblies/player/$type.phtml") ?>
		<div class="switcher">
			<? include("assemblies/switcher/$type.phtml") ?>
		</div>
	</div>
</div>