aboutsummaryrefslogtreecommitdiff
path: root/template/room.phtml
diff options
context:
space:
mode:
authorMaZderMind2015-03-01 12:02:11 +0100
committerMaZderMind2015-03-01 12:02:11 +0100
commit787b5b657f6fa3251f8b0b4a770784f0ddaed407 (patch)
treef73c41e3107adfa617ae585efe0ce016094dc2e5 /template/room.phtml
parent810f165a10910a0497503bc4bb79f03c14332120 (diff)
Chat-Panel
Diffstat (limited to 'template/room.phtml')
-rw-r--r--template/room.phtml4
1 files changed, 2 insertions, 2 deletions
diff --git a/template/room.phtml b/template/room.phtml
index aa489fc..3a186df 100644
--- a/template/room.phtml
+++ b/template/room.phtml
@@ -27,7 +27,7 @@
<li class="active">
<a href="#switcher" role="tab" data-toggle="tab">Formats</a>
</li>
- <? if((get("ROOMS.$room.IRC") && has("IRC")) || (get("ROOMS.$room.TWITTER") && has("TWITTER"))): ?>
+ <? if(room_has_chat($room)): ?>
<li>
<a href="#chat" role="tab" data-toggle="tab">Chat</a>
</li>
@@ -48,7 +48,7 @@
<div role="tabpanel" class="tab-pane active" id="switcher">
<? include("$assemblies/switcher/$tab.phtml") ?>
</div>
- <? if((get("ROOMS.$room.IRC") && has("IRC")) || (get("ROOMS.$room.TWITTER") && has("TWITTER"))): ?>
+ <? if(room_has_chat($room)): ?>
<div role="tabpanel" class="tab-pane" id="chat">
<? include("$assemblies/chat.phtml") ?>
</div>