aboutsummaryrefslogtreecommitdiff
path: root/template
diff options
context:
space:
mode:
Diffstat (limited to 'template')
-rw-r--r--template/assemblies/chat.phtml6
1 files changed, 6 insertions, 0 deletions
diff --git a/template/assemblies/chat.phtml b/template/assemblies/chat.phtml
index 8498c45..238565c 100644
--- a/template/assemblies/chat.phtml
+++ b/template/assemblies/chat.phtml
@@ -1,3 +1,9 @@
+<? if($room->hasWebchat()): ?>
+ <div>
+ <iframe class="webchatframe" src="<?=h($room->getWebchatUrl())?>"></iframe>
+ </div>
+<? endif ?>
+
<? if($room->hasIrc()): ?>
<div>
<a class="btn btn-primary irclink" href="<?=h($room->getIrcUrl())?>" target="_blank">