aboutsummaryrefslogtreecommitdiff
path: root/template/room.phtml
diff options
context:
space:
mode:
authorMaZderMind2014-10-19 12:12:20 +0200
committerMaZderMind2014-10-19 12:12:20 +0200
commitf652ae2be38e74796ed63ba72e23fcb632818118 (patch)
treefac87e88a3928b789c0d9b7f4a9a2ac5b6cbb77e /template/room.phtml
parentc2f7758004a9016910168ad47c1a4300e107f2c2 (diff)
restructure room site to produce a unique room/player/formats page
Diffstat (limited to '')
-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>