aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/chatroomlist.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'view/tpl/chatroomlist.tpl')
-rw-r--r--view/tpl/chatroomlist.tpl11
1 files changed, 11 insertions, 0 deletions
diff --git a/view/tpl/chatroomlist.tpl b/view/tpl/chatroomlist.tpl
new file mode 100644
index 000000000..c26ba0c33
--- /dev/null
+++ b/view/tpl/chatroomlist.tpl
@@ -0,0 +1,11 @@
+<div class="widget">
+<h3>{{$header}}</h3>
+{{if $items}}
+<table>
+{{foreach $items as $item}}
+<tr><td align="left"><a href="{{$baseurl}}/chat/{{$nickname}}/{{$item.cr_id}}">{{$item.cr_name}}</a></td><td align="right">{{$item.cr_inroom}}</td></tr>
+{{/foreach}}
+</table>
+{{/if}}
+</div>
+