aboutsummaryrefslogtreecommitdiff
path: root/template/room.phtml
diff options
context:
space:
mode:
Diffstat (limited to 'template/room.phtml')
-rw-r--r--template/room.phtml23
1 files changed, 23 insertions, 0 deletions
diff --git a/template/room.phtml b/template/room.phtml
new file mode 100644
index 0000000..9574d59
--- /dev/null
+++ b/template/room.phtml
@@ -0,0 +1,23 @@
+<div class="container-fluid rooms">
+ <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("players/$type.phtml") ?>
+ <div class="switcher">
+ <? include("assemblies/switcher/$type.phtml") ?>
+ </div>
+ </div>
+</div>