From c4810e4e384c67dc19e1df286ea6e9b65447acd4 Mon Sep 17 00:00:00 2001 From: Benjamin Southall Date: Sat, 10 Dec 2016 18:24:58 +0900 Subject: [PATCH] Migrated irc theme from webchat to kiwiirc and adding additional configuration options to the theme. --- templates/themes/irc/info.php | 12 +++++++++++- templates/themes/irc/irc.html | 4 ++-- 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 @@
-

Web Client - Point your own clients to #{{ settings.channel }} on irc.freenode.net.

- +

Web Client - Point your own clients to #{{ settings.channel }} on {{ settings.server }}:+{{ settings.port }} .

+