X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fupdate_display.php;h=48df9797de7ba4c5b21abb433c3ab959faa3aa44;hb=a54fea313ff93b43ae0c691df2a8cf9c8c363006;hp=86f4db8259f83c4db9fdd580666c91da42060c16;hpb=8e12b159d947fb27ad6bdd5e06e3a90c1713687e;p=friendica.git diff --git a/mod/update_display.php b/mod/update_display.php index 86f4db8259..48df9797de 100644 --- a/mod/update_display.php +++ b/mod/update_display.php @@ -1,26 +1,30 @@ \r\n"; echo "
"; - - $text = display_content($a,$profile_uid); + $text = display_content($a, true, $profile_uid); $pattern = "/]*) src=\"([^\"]*)\"/"; $replace = ""; + 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";