Browse Source

Migrated irc theme from webchat to kiwiirc and adding additional configuration options to the theme.

pull/40/head
Benjamin Southall 7 years ago
parent
commit
c4810e4e38
  1. 12
      templates/themes/irc/info.php
  2. 4
      templates/themes/irc/irc.html

12
templates/themes/irc/info.php

@ -22,7 +22,17 @@ $theme = array(
array('title' => 'Channel',
'name' => 'channel',
'type' => 'text',
'default' => 'lainchan')),
'default' => 'general'),
array('title' => 'Server',
'name' => 'server',
'type' => 'text',
'default' => 'irc.lainchan.org'),
array('title' => 'Port',
'name' => 'port',
'type' => 'text',
'default' => '6697')),
'build_function' => 'irc_build');
?>

4
templates/themes/irc/irc.html

@ -22,8 +22,8 @@
<div class="ban" style="text-align: left!important;">
<h2>Web Client - Point your own clients to #{{ settings.channel }} on irc.freenode.net.</h2>
<iframe src="https://webchat.freenode.net?channels=%23{{ settings.channel }}&uio=MTE9MTMz98" width="766" height="400"></iframe>
<h2>Web Client - Point your own clients to #{{ settings.channel }} on {{ settings.server }}:+{{ settings.port }} .</h2>
<iframe src="https://kiwiirc.com/client/{{ settings.server }}:+{{ settings.port }}/#{{ settings.channel }}" width="800px" height="100%" scrolling="no"></iframe>
</div>
</body>
</html>

Loading…
Cancel
Save