aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl
diff options
context:
space:
mode:
Diffstat (limited to 'view/tpl')
-rw-r--r--view/tpl/chat.tpl15
-rw-r--r--view/tpl/chatroomlist.tpl2
2 files changed, 14 insertions, 3 deletions
diff --git a/view/tpl/chat.tpl b/view/tpl/chat.tpl
index acb7e5bef..9f95d2999 100644
--- a/view/tpl/chat.tpl
+++ b/view/tpl/chat.tpl
@@ -5,8 +5,19 @@
<div id="chatLineHolder"></div>
</div>
- <div id="chatUsers"></div>
-
+ <div id="chatSide">
+ {{if $is_owner}}
+ <div id="chatDrop">
+ <form id="chat-destroy" method="post" action="chat">
+ <input type="hidden" name="room_name" value="{{$room_name}}" />
+ <input type="hidden" name="action" value="drop" />
+ <input type="submit" name="submit" value="{{$drop}}" onclick="return confirmDelete();"/>
+ </form>
+ </div><br />
+ {{/if}}
+
+ <div id="chatUsers"></div><br />
+ </div>
<div class="clear"></div>
<div id="chatBottomBar">
<div class="tip"></div>
diff --git a/view/tpl/chatroomlist.tpl b/view/tpl/chatroomlist.tpl
index c26ba0c33..71fec8200 100644
--- a/view/tpl/chatroomlist.tpl
+++ b/view/tpl/chatroomlist.tpl
@@ -1,7 +1,7 @@
<div class="widget">
<h3>{{$header}}</h3>
{{if $items}}
-<table>
+<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}}