aboutsummaryrefslogtreecommitdiffstats
path: root/mod/update_network.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-07-24 22:06:21 -0700
committerfriendica <info@friendica.com>2012-07-24 22:06:21 -0700
commit6911beca2f1d88a9e26c1dc110b2547a1b075951 (patch)
tree094aa281b0d896c8d2f0a039b16cbbb80d3c0b68 /mod/update_network.php
parentf535554cfa3a2de345f4028b109f4e941fc3a91b (diff)
downloadvolse-hubzilla-6911beca2f1d88a9e26c1dc110b2547a1b075951.tar.gz
volse-hubzilla-6911beca2f1d88a9e26c1dc110b2547a1b075951.tar.bz2
volse-hubzilla-6911beca2f1d88a9e26c1dc110b2547a1b075951.zip
ajax page loads
Diffstat (limited to 'mod/update_network.php')
-rw-r--r--mod/update_network.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/update_network.php b/mod/update_network.php
index 36de0722a..e13eef0e6 100644
--- a/mod/update_network.php
+++ b/mod/update_network.php
@@ -8,13 +8,13 @@ require_once('include/group.php');
function update_network_content(&$a) {
$profile_uid = intval($_GET['p']);
-
+ $load = (((argc() > 1) && (argv(1) == 'load')) ? 1 : 0);
header("Content-type: text/html");
echo "<!DOCTYPE html><html><body>\r\n";
echo (($_GET['msie'] == 1) ? '<div>' : '<section>');
- $text = network_content($a,$profile_uid);
+ $text = network_content($a,$profile_uid, $load);
$pattern = "/<img([^>]*) src=\"([^\"]*)\"/";
$replace = "<img\${1} dst=\"\${2}\"";
$text = preg_replace($pattern, $replace, $text);