diff options
Diffstat (limited to 'view/tpl/chatroomlist.tpl')
-rw-r--r-- | view/tpl/chatroomlist.tpl | 11 |
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..71fec8200 --- /dev/null +++ b/view/tpl/chatroomlist.tpl @@ -0,0 +1,11 @@ +<div class="widget"> +<h3>{{$header}}</h3> +{{if $items}} +<table class="chatroomlist"> +{{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> + |