diff options
author | Ike | 2019-10-25 21:24:31 +0200 |
---|---|---|
committer | Ike | 2019-10-25 21:25:09 +0200 |
commit | dffd7ec9dd715ff084b4e168df5f712fff06bf0d (patch) | |
tree | c4737f2c8c12585e897e88cf0c4467a0659ce1b9 /template | |
parent | 310517fa101910d88e4ee6cfd2fa760f6d9c72ff (diff) |
Implement embedded webchat
Diffstat (limited to 'template')
-rw-r--r-- | template/assemblies/chat.phtml | 6 |
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"> |