mirror of
https://github.com/voc/streaming-website
synced 2024-11-10 06:34:17 +00:00
irc channel name & twitter link
This commit is contained in:
parent
b817d50b16
commit
f60e25ece5
5 changed files with 15 additions and 2 deletions
|
@ -5569,6 +5569,8 @@ a.inverted {
|
||||||
font-size: 60px; }
|
font-size: 60px; }
|
||||||
.room .click-to-irc .activator a {
|
.room .click-to-irc .activator a {
|
||||||
font-size: 40px; }
|
font-size: 40px; }
|
||||||
|
.room .click-to-irc .activator a.twitterlink {
|
||||||
|
font-size: 30px; }
|
||||||
.room .click-to-irc iframe {
|
.room .click-to-irc iframe {
|
||||||
display: none; }
|
display: none; }
|
||||||
.room .click-to-irc.active {
|
.room .click-to-irc.active {
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -387,6 +387,10 @@ a.inverted {
|
||||||
a {
|
a {
|
||||||
font-size: 40px;
|
font-size: 40px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
a.twitterlink {
|
||||||
|
font-size: 30px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
iframe { display: none; }
|
iframe { display: none; }
|
||||||
|
|
||||||
|
|
|
@ -64,6 +64,11 @@ function irc_channel($room)
|
||||||
return '31C3-hall-'.strtoupper(substr($room, 4, 1));
|
return '31C3-hall-'.strtoupper(substr($room, 4, 1));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function twitter_hashtag($room)
|
||||||
|
{
|
||||||
|
return '#hall'.strtoupper(substr($room, 4, 1));
|
||||||
|
}
|
||||||
|
|
||||||
function format_text($format)
|
function format_text($format)
|
||||||
{
|
{
|
||||||
return @$GLOBALS['CONFIG']['FORMAT_TEXT'][$format] ?: '';
|
return @$GLOBALS['CONFIG']['FORMAT_TEXT'][$format] ?: '';
|
||||||
|
|
|
@ -2,7 +2,9 @@
|
||||||
<div class="activator">
|
<div class="activator">
|
||||||
Click to Activate
|
Click to Activate
|
||||||
<br />
|
<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>
|
</div>
|
||||||
<iframe data-src="https://kthx.de:9090/?channels=<?=h(irc_channel($room))?>-<?=h($room)?>&uio=d4" width="1020" height="372" border="0"></iframe>
|
<iframe data-src="https://kthx.de:9090/?channels=<?=h(irc_channel($room))?>-<?=h($room)?>&uio=d4" width="1020" height="372" border="0"></iframe>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue