From 1614c0f910ed5e989fddfe40e52aa269a45c87fc Mon Sep 17 00:00:00 2001 From: Darren Date: Fri, 15 Jul 2011 16:41:09 +0100 Subject: [PATCH] Updated Node port --- config.php | 25 ------------------------- css/default_1.css | 30 ------------------------------ index.php | 10 +++++++--- ircd_profiles/hybrid.php | 27 --------------------------- ircd_profiles/rfc_1459.php | 11 ----------- ircd_profiles/rfc_2812.php | 6 ------ js/gateway.js | 4 ++-- 7 files changed, 9 insertions(+), 104 deletions(-) delete mode 100644 config.php delete mode 100644 css/default_1.css delete mode 100644 ircd_profiles/hybrid.php delete mode 100644 ircd_profiles/rfc_1459.php delete mode 100644 ircd_profiles/rfc_2812.php diff --git a/config.php b/config.php deleted file mode 100644 index 4783f0a..0000000 --- a/config.php +++ /dev/null @@ -1,25 +0,0 @@ - '/tmp/', - 'sok_prefix' => 'kiwi_', - - 'memcache_use' => true, - 'memcache_addr' => 'localhost', - 'memcache_port' => 11211, - - 'php_path' => '/usr/bin/php5', - 'session_script_path' => dirname(__FILE__).'/irc_session.php', - //Unused 'cons_per_host' => 5, - - 'messages_per_poll' => 30, - 'max_time_per_poll' => 30, //60*2, - 'timeout' => 5, // minimum time in seconds in which the webclient needs to poll the server - 'scrollback_size' => 15, - 'connections_per_host' => 20, - - 'websocket' => array( - 'bind_addr'=>'0.0.0.0', - 'bind_port'=>7777 - ) - ); \ No newline at end of file diff --git a/css/default_1.css b/css/default_1.css deleted file mode 100644 index 007ff7e..0000000 --- a/css/default_1.css +++ /dev/null @@ -1,30 +0,0 @@ -body, html { height: 100%; margin:0px; } - - - -#kiwi { overflow:hidden; font-family:monospace; font-size:1em; height:100%; } -#kiwi * { - padding:0px; margin:0px; -} -#kiwi ul { list-style:none; } - -#kiwi .userlist { - float:right; - width: 100px; - margin: 5px; - overflow-y:auto; -} - -#kiwi .messages { overflow-y:scroll; height:90%; border:1px solid #999; } - -#kiwi .messages .msg { border-bottom: 1px solid #CCC; } -#kiwi .messages .msg .time { width:6em; float:left; } -#kiwi .messages .msg .nick { width:7em; text-align:right; float:left; } -#kiwi .messages .msg .text { margin-left:15em; } - -#kiwi .control { margin: 3px;} -#kiwi .control .msginput { padding:3px; padding-left: 7em; background-color:#F2F9FD; } -#kiwi .control .msginput .nick { float:left; width:6em; text-align:right; } -#kiwi .control .msginput .nick a { text-decoration:none; } -#kiwi .control .msginput input { margin-left: 1em; border:none; background-color:inherit; padding:3px; display:block;} -#kiwi .control .plugins ul li { display:inline; font-size:0.9em; margin-left:1em; } \ No newline at end of file diff --git a/index.php b/index.php index a2c1dee..9624789 100644 --- a/index.php +++ b/index.php @@ -26,6 +26,8 @@ $server = isset($_GET['server']) ? $_GET['server'] : "irc.anonnet.org"; $nick = isset($_GET['nick']) ? $_GET['nick'] : ""; // Channel is set via javascript using location.hash + + $node_server = $_SERVER['HTTP_HOST']; ?> @@ -45,7 +47,7 @@ - + @@ -58,9 +60,10 @@