aboutsummaryrefslogtreecommitdiffstats
path: root/mod/update_network.php
diff options
context:
space:
mode:
authorMike Macgirvin <mike@macgirvin.com>2010-07-24 23:20:20 -0700
committerMike Macgirvin <mike@macgirvin.com>2010-07-24 23:20:20 -0700
commitfc8379b1080823bb69664aa4119ba190e1f5b1ca (patch)
tree80179ca329106a59247a54106e34716eee19dfff /mod/update_network.php
parent6368bd165612dfa1e95e8d4c99b922797bf429af (diff)
downloadvolse-hubzilla-fc8379b1080823bb69664aa4119ba190e1f5b1ca.tar.gz
volse-hubzilla-fc8379b1080823bb69664aa4119ba190e1f5b1ca.tar.bz2
volse-hubzilla-fc8379b1080823bb69664aa4119ba190e1f5b1ca.zip
live updates sort of working
Diffstat (limited to 'mod/update_network.php')
-rw-r--r--mod/update_network.php9
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