aboutsummaryrefslogtreecommitdiff
path: root/template
diff options
context:
space:
mode:
authorMaZderMind2014-12-12 01:13:34 +0100
committerMaZderMind2014-12-12 14:34:22 +0100
commitf60e25ece5682f7b07d274e9f3bff88c0a48974b (patch)
tree3b2f3aff30d3320a5cb0f6661033b50d227afbb6 /template
parentb817d50b16492757217c35007edaab107bad2ed1 (diff)
irc channel name & twitter link
Diffstat (limited to 'template')
-rw-r--r--template/assemblies/irc.phtml4
1 files changed, 3 insertions, 1 deletions
diff --git a/template/assemblies/irc.phtml b/template/assemblies/irc.phtml
index b2b5356..c6dbfb3 100644
--- a/template/assemblies/irc.phtml
+++ b/template/assemblies/irc.phtml
@@ -2,7 +2,9 @@
<div class="activator">
Click to Activate
<br />
- <a class="irclink" href="irc://irc.hackint.eu:6667/<?=h(irc_channel($room))?>">(Directlink)</a>
+ <a class="irclink" href="irc://irc.hackint.eu:6667/<?=h(urlencode(irc_channel($room)))?>">#<?=h(irc_channel($room))?> @ hackint</a>
+ <br />
+ <a class="twitterlink" href="https://twitter.com/intent/tweet?text=<?=h(urlencode(twitter_hashtag($room)))?>" target="_blank"><?=h(twitter_hashtag($room))?> @ twitter</a>
</div>
<iframe data-src="https://kthx.de:9090/?channels=<?=h(irc_channel($room))?>-<?=h($room)?>&uio=d4" width="1020" height="372" border="0"></iframe>
</div>