From fc8379b1080823bb69664aa4119ba190e1f5b1ca Mon Sep 17 00:00:00 2001 From: Mike Macgirvin Date: Sat, 24 Jul 2010 23:20:20 -0700 Subject: live updates sort of working --- mod/update_network.php | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'mod/update_network.php') diff --git a/mod/update_network.php b/mod/update_network.php index 655bebb96..18c630fdf 100644 --- a/mod/update_network.php +++ b/mod/update_network.php @@ -6,9 +6,12 @@ require_once('mod/network.php'); function update_network_content(&$a) { - echo "\r\n"; - echo network_content($a,true); - echo "\r\n"; + header("Content-type: text/html"); + echo "\r\n"; + echo (($_GET['msie'] == 1) ? '
' : '
'); + echo str_replace("\t",' ',network_content($a,true)); + echo (($_GET['msie'] == 1) ? '
' : ''); + echo "\r\n"; killme(); } \ No newline at end of file -- cgit v1.2.3