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

This commit is contained in:
Benjamin Southall 2016-12-10 18:24:58 +09:00
parent 72a207b4c0
commit 006821f5d4
2 changed files with 13 additions and 3 deletions

View File

@ -22,7 +22,17 @@ $theme = array(
array('title' => 'Channel', array('title' => 'Channel',
'name' => 'channel', 'name' => 'channel',
'type' => 'text', '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'); 'build_function' => 'irc_build');
?> ?>

View File

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