X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=inline;f=mod%2Fupdate_network.php;h=11dfc5e03c8de2f469a134de5ffe02195800e078;hb=684dfd5bbd5c6bea1fee22d121e558cee16ec120;hp=3a5741f6ac0629bdd91b38800aab3470b471e9f5;hpb=57f8496c536ff8531b271e6012164ffdd01fe060;p=friendica.git
diff --git a/mod/update_network.php b/mod/update_network.php
index 3a5741f6ac..11dfc5e03c 100644
--- a/mod/update_network.php
+++ b/mod/update_network.php
@@ -1,32 +1,36 @@
\r\n";
echo "";
if (!PConfig::get($profile_uid, "system", "no_auto_update") || ($_GET["force"] == 1)) {
- $text = network_content($a, $profile_uid);
+ $text = network_content($a, $profile_uid, $parent);
} else {
$text = "";
}
- $pattern = "/
]*) src=\"([^\"]*)\"/";
- $replace = "
" . t("[Embedded content - reload page to view]") . "
";
+ if (PConfig::get(local_user(), "system", "bandwidth_saver")) {
+ $replace = "
" . L10n::t("[Embedded content - reload page to view]") . "
";
$pattern = "/<\s*audio[^>]*>(.*?)<\s*\/\s*audio>/i";
$text = preg_replace($pattern, $replace, $text);
$pattern = "/<\s*video[^>]*>(.*?)<\s*\/\s*video>/i";