From 5462453bf2bde50166c68f90b08d24826dd07ba8 Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Wed, 30 Mar 2016 14:31:55 +0200 Subject: some work on mod chat --- view/tpl/chatrooms.tpl | 47 +++++++++++++++++++++++++++++++++++++---------- 1 file changed, 37 insertions(+), 10 deletions(-) (limited to 'view/tpl/chatrooms.tpl') diff --git a/view/tpl/chatrooms.tpl b/view/tpl/chatrooms.tpl index 570aef1c7..c7333efcf 100644 --- a/view/tpl/chatrooms.tpl +++ b/view/tpl/chatrooms.tpl @@ -1,12 +1,39 @@ -
-

{{$header}}

- -{{if $is_owner}} -

-{{$newroom}} -

-{{/if}} - -{{$rooms}} +
+
+ {{if $is_owner}} + + {{/if}} +

{{$header}}

+
+ {{if $is_owner}} + {{$chatroom_new}} + {{/if}} + {{if $rooms}} +
+ + + + + + + {{foreach $rooms as $room}} + + + + + + {{/foreach}} +
name
{{$room.cr_name}}{{$room.cr_inroom}}
+
+ {{else}} +
+ {{$norooms}} +
+ {{/if}}
-- cgit v1.2.3