aboutsummaryrefslogtreecommitdiff
path: root/template/rooms.phtml
diff options
context:
space:
mode:
authorMaZderMind2014-10-01 14:58:31 +0200
committerMaZderMind2014-10-01 14:58:31 +0200
commit1e9f8cd6bfb7e5850a05615044de2fe7771aba08 (patch)
tree485922bdb843ba8be43defc1d79408b949527be0 /template/rooms.phtml
parentbf4c140f5438101d87dcb0395c7c778585b7fe09 (diff)
display naming
Diffstat (limited to '')
-rw-r--r--template/rooms.phtml8
1 files changed, 4 insertions, 4 deletions
diff --git a/template/rooms.phtml b/template/rooms.phtml
index e4e7227..e4d5f32 100644
--- a/template/rooms.phtml
+++ b/template/rooms.phtml
@@ -1,8 +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>)
+ <? foreach($rooms as $room => $display): ?>
+ <li class="<?=h($room)?>">
+ <a href="<?=h(link_room($room))?>"><?=h($display)?></a>
+ (<a href="<?=h(link_room($room, true))?>">translated</a>)
</li>
<? endforeach ?>
</ul>