diff options
author | Mike Macgirvin <mike@macgirvin.com> | 2010-09-20 22:27:33 -0700 |
---|---|---|
committer | Mike Macgirvin <mike@macgirvin.com> | 2010-09-20 22:27:33 -0700 |
commit | a428695f8e9e3441bd3012a74a8385a713034007 (patch) | |
tree | cb3e9b1dbed5ab0a6e03c2cd9fe8fa006b6f3462 /mod/network.php | |
parent | b9247f1dcccd18bcfa402852f5ab7878cef8d105 (diff) | |
download | volse-hubzilla-a428695f8e9e3441bd3012a74a8385a713034007.tar.gz volse-hubzilla-a428695f8e9e3441bd3012a74a8385a713034007.tar.bz2 volse-hubzilla-a428695f8e9e3441bd3012a74a8385a713034007.zip |
pass vars via javascript, not html. Also fix broken pause img on IE
Diffstat (limited to 'mod/network.php')
-rw-r--r-- | mod/network.php | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/mod/network.php b/mod/network.php index e9e730340..ac6286e6d 100644 --- a/mod/network.php +++ b/mod/network.php @@ -58,8 +58,11 @@ function network_content(&$a, $update = 0) { // filtering by group and also you aren't writing a comment (the last // criteria is discovered in javascript). - if($a->pager['start'] == 0 && $a->argc == 1) - $o .= '<div id="live-network" profile="' . $_SESSION['uid'] . '"></div>' . "\r\n"; + if($a->pager['start'] == 0 && $a->argc == 1) { + $o .= '<div id="live-network"></div>' . "\r\n"; + $o .= "<script> var profile_uid = " . $_SESSION['uid'] . "; </script>\r\n"; + } + } // We aren't going to try and figure out at the item, group, and page level |