X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fupdate_display.php;h=1341d30524d04fef2891d5366626b504076b04e4;hb=29f7ebe307c22b275466390937b82ccb3820fb1c;hp=9dd3edf282d1f12413a980a235195839e2797afd;hpb=cd1724eb9ef4e07ced4c9019dd7bad55dc21abce;p=friendica.git diff --git a/mod/update_display.php b/mod/update_display.php index 9dd3edf282..1341d30524 100644 --- a/mod/update_display.php +++ b/mod/update_display.php @@ -1,29 +1,30 @@ \r\n"; echo "
"; - - $text = display_content($a,$profile_uid); + $text = display_content($a, true, $profile_uid); $pattern = "/]*) src=\"([^\"]*)\"/"; $replace = ""; + $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";