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/assemblies/switcher | |
parent | c2f7758004a9016910168ad47c1a4300e107f2c2 (diff) |
restructure room site to produce a unique room/player/formats page
Diffstat (limited to '')
-rw-r--r-- | template/assemblies/switcher/audio.phtml | 14 | ||||
-rw-r--r-- | template/assemblies/switcher/slides.phtml | 14 | ||||
-rw-r--r-- | template/assemblies/switcher/video.phtml | 16 |
3 files changed, 44 insertions, 0 deletions
diff --git a/template/assemblies/switcher/audio.phtml b/template/assemblies/switcher/audio.phtml new file mode 100644 index 0000000..31bb3f0 --- /dev/null +++ b/template/assemblies/switcher/audio.phtml @@ -0,0 +1,14 @@ +<h3>Audio</h3> +<ul> + <li> + <span class="label filetype">MP3</span> + <a href="<?=h(link_player($room, 'audio'))?>"> + <span class="fa fa-download"></span> + native + </a> + <a href="<?=h(link_player($room, 'audio', true))?>"> + <span class="fa fa-download"></span> + translated + </a> + </li> +</ul> diff --git a/template/assemblies/switcher/slides.phtml b/template/assemblies/switcher/slides.phtml new file mode 100644 index 0000000..42573fa --- /dev/null +++ b/template/assemblies/switcher/slides.phtml @@ -0,0 +1,14 @@ +<h3>Slides</h3> +<ul> + <li> + <span class="label filetype">JPG & MP3</span> + <a href="<?=h(link_player($room, 'slides'))?>"> + <span class="fa fa-download"></span> + native + </a> + <a href="<?=h(link_player($room, 'slides', true))?>"> + <span class="fa fa-download"></span> + translated + </a> + </li> +</ul> diff --git a/template/assemblies/switcher/video.phtml b/template/assemblies/switcher/video.phtml new file mode 100644 index 0000000..bceb93c --- /dev/null +++ b/template/assemblies/switcher/video.phtml @@ -0,0 +1,16 @@ +<h3>Video</h3> +<ul> + <? foreach(array('hd', 'hq', 'lq') as $iter): ?> + <li> + <span class="label filetype"><?=h(strtoupper($iter))?></span> + <a href="<?=h(link_player($room, $iter))?>"> + <span class="fa fa-download"></span> + native + </a> + <a href="<?=h(link_player($room, $iter, true))?>"> + <span class="fa fa-download"></span> + translated + </a> + </li> + <? endforeach ?> +</ul> |