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