aboutsummaryrefslogtreecommitdiff
path: root/template/rooms.phtml
diff options
context:
space:
mode:
Diffstat (limited to 'template/rooms.phtml')
-rw-r--r--template/rooms.phtml8
1 files changed, 8 insertions, 0 deletions
diff --git a/template/rooms.phtml b/template/rooms.phtml
new file mode 100644
index 0000000..e4e7227
--- /dev/null
+++ b/template/rooms.phtml
@@ -0,0 +1,8 @@
+<ul>
+ <? foreach($formats as $format): ?>
+ <li class="<?=h($format)?>">
+ <a href="<?=h(link_player($room, $format))?>"><?=h(ucfirst($format))?></a>
+ (<a href="<?=h(link_player($room, $format, true))?>">translated</a>)
+ </li>
+ <? endforeach ?>
+</ul>