aboutsummaryrefslogtreecommitdiff
path: root/template/assemblies/chat.phtml
blob: e3aab6cff0e7aafeaebe78167ea8a1452e568360 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<div class="chat">
	<? if(room_has_irc($room)): ?>
		<div>
			<a class="btn btn-primary irclink" href="<?=h(room_get_irc_url($room))?>">
				<span class="fa fa-comment"></span> <?=h(room_get_irc_display($room))?>
			</a>
		</div>
	<? endif ?>
	<? if(room_has_twitter($room)): ?>
		<div>
			<a class="btn btn-success twitterlink" href="https://twitter.com/intent/tweet?text=<?=h(rawurlencode(room_get_twitter_hashtag($room)))?>" target="_blank">
				<span class="fa fa-twitter"></span> <?=h(room_get_twitter_display($room))?>
			</a>
		</div>
	<? endif ?>
</div>