summaryrefslogtreecommitdiff
path: root/templates/themes
diff options
context:
space:
mode:
authorBenjamin Southall <applemansigloo@gmail.com>2016-12-10 18:24:58 +0900
committerBenjamin Southall <applemansigloo@gmail.com>2016-12-10 18:24:58 +0900
commitc4810e4e384c67dc19e1df286ea6e9b65447acd4 (patch)
tree6b7d6d87f99db3f6b3ee20551241fbd964ce08d2 /templates/themes
parentbf78c3a46ec5db6106713e78e30a9437d9ae0f28 (diff)
Migrated irc theme from webchat to kiwiirc and adding additional configuration options to the theme.
Diffstat (limited to 'templates/themes')
-rw-r--r--templates/themes/irc/info.php12
-rw-r--r--templates/themes/irc/irc.html4
2 files changed, 13 insertions, 3 deletions
diff --git a/templates/themes/irc/info.php b/templates/themes/irc/info.php
index 59ff4bd6..8ca3be0a 100644
--- a/templates/themes/irc/info.php
+++ b/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');
?>
diff --git a/templates/themes/irc/irc.html b/templates/themes/irc/irc.html
index 1766f426..7aa617cf 100644
--- a/templates/themes/irc/irc.html
+++ b/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>