diff options
Diffstat (limited to 'mod/update_network.php')
-rw-r--r-- | mod/update_network.php | 9 |
1 files changed, 6 insertions, 3 deletions
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 "<html>\r\n"; - echo network_content($a,true); - echo "</html>\r\n"; + header("Content-type: text/html"); + echo "<!DOCTYPE html><html><body>\r\n"; + echo (($_GET['msie'] == 1) ? '<div>' : '<section>'); + echo str_replace("\t",' ',network_content($a,true)); + echo (($_GET['msie'] == 1) ? '</div>' : '</section>'); + echo "</body></html>\r\n"; killme(); }
\ No newline at end of file |