aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-01-29 03:16:07 -0800
committerfriendica <info@friendica.com>2014-01-29 03:16:07 -0800
commit6a9d43bcbe167ff3a8f9bd8a2ce93d9fc298fcdf (patch)
tree3bbc412c975bebcddb7ff39765d9c0858731644e /view/tpl
parentc95f65e092e3ea3e4d312976789597ef91037b25 (diff)
downloadvolse-hubzilla-6a9d43bcbe167ff3a8f9bd8a2ce93d9fc298fcdf.tar.gz
volse-hubzilla-6a9d43bcbe167ff3a8f9bd8a2ce93d9fc298fcdf.tar.bz2
volse-hubzilla-6a9d43bcbe167ff3a8f9bd8a2ce93d9fc298fcdf.zip
debug chatroom_list widget
Diffstat (limited to 'view/tpl')
-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>