X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=inline;f=mod%2Fupdate_display.php;h=4b6d26cb7f4fb9303cf8ff3cee72be1caad1d70a;hb=f2ca3e5be44192c486e8e3af2a993e065ad40a7d;hp=86f4db8259f83c4db9fdd580666c91da42060c16;hpb=4d591c4a074a11bb27f5fe0981a13125d4ef2e02;p=friendica.git
diff --git a/mod/update_display.php b/mod/update_display.php
index 86f4db8259..4b6d26cb7f 100644
--- a/mod/update_display.php
+++ b/mod/update_display.php
@@ -1,26 +1,27 @@
\r\n";
echo "";
+ $text = display_content($a, true, $profile_uid);
- $text = display_content($a,$profile_uid);
- $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";