X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fupdate_display.php;h=4b6d26cb7f4fb9303cf8ff3cee72be1caad1d70a;hb=3fc5c1ad840f98926319478a855dab3686a0ace3;hp=00109202ed7a9547048ea27dbbc2a9e8f5940698;hpb=4fe8dab08d246a816b20845d9675bfe6de9ed351;p=friendica.git diff --git a/mod/update_display.php b/mod/update_display.php index 00109202ed..4b6d26cb7f 100644 --- a/mod/update_display.php +++ b/mod/update_display.php @@ -1,8 +1,11 @@ \r\n"; echo "
"; - $text = display_content($a, $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";