aboutsummaryrefslogtreecommitdiff
path: root/template/assemblies/switcher
diff options
context:
space:
mode:
Diffstat (limited to 'template/assemblies/switcher')
-rw-r--r--template/assemblies/switcher/audio.phtml14
-rw-r--r--template/assemblies/switcher/slides.phtml14
-rw-r--r--template/assemblies/switcher/video.phtml16
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 &amp; 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>