aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
Diffstat (limited to 'view')
-rw-r--r--view/tpl/chatroomlist.tpl6
1 files changed, 3 insertions, 3 deletions
diff --git a/view/tpl/chatroomlist.tpl b/view/tpl/chatroomlist.tpl
index 34050eef3..d2cf4d7b0 100644
--- a/view/tpl/chatroomlist.tpl
+++ b/view/tpl/chatroomlist.tpl
@@ -1,10 +1,10 @@
<div class="widget">
<h3>{{$header}}</h3>
-{{$if $items}}
+{{if $items}}
<table>
-{{for $items as $item}}
+{{foreach $items as $item}}
<tr><td>{{$item.cr_name}}</td><td>{{$item.cr_inroom}}</td></tr>
-{{/for}}
+{{/foreach}}
</table>
{{/if}}
</div>