diff options
author | MaZderMind | 2014-10-19 12:12:20 +0200 |
---|---|---|
committer | MaZderMind | 2014-10-19 12:12:20 +0200 |
commit | f652ae2be38e74796ed63ba72e23fcb632818118 (patch) | |
tree | fac87e88a3928b789c0d9b7f4a9a2ac5b6cbb77e /template/room.phtml | |
parent | c2f7758004a9016910168ad47c1a4300e107f2c2 (diff) |
restructure room site to produce a unique room/player/formats page
Diffstat (limited to '')
-rw-r--r-- | template/room.phtml | 23 |
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> |