aboutsummaryrefslogtreecommitdiff
path: root/template/assemblies/chat.phtml
blob: 238565c49aa86e9f9a5ff75bfb44ce0bce8c5ef2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<? 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">
			<span class="fa fa-comment"></span> <?=h($room->getIrcDisplay())?>
		</a>
	</div>
<? endif ?>

<? if($room->hasTwitter($room)): ?>
	<div>
		<a class="btn twitterlink" href="<?=h($room->getTwitterUrl())?>" target="_blank">
			<span class="fa fa-twitter"></span> <?=h($room->getTwitterDisplay())?>
		</a>
	</div>
<? endif ?>