aboutsummaryrefslogtreecommitdiff
path: root/template/assemblies/switcher
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--template/assemblies/switcher/party.phtml12
1 files changed, 12 insertions, 0 deletions
diff --git a/template/assemblies/switcher/party.phtml b/template/assemblies/switcher/party.phtml
new file mode 100644
index 0000000..f7e7bd7
--- /dev/null
+++ b/template/assemblies/switcher/party.phtml
@@ -0,0 +1,12 @@
+<h3>Directlinks</h3>
+<ul>
+ <? foreach(array('mp3', 'ogg', 'opus') as $iter): ?>
+ <li>
+ <span class="label filetype"><?=h(strtoupper($iter))?></span>
+ <a href="<?=h(link_stream('audio', $room, $iter))?>">
+ <span class="fa fa-music"></span>
+ livemusic
+ </a>
+ </li>
+ <? endforeach ?>
+</ul>