aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Update_display.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-02-21 18:58:51 -0800
committerzotlabs <mike@macgirvin.com>2017-02-21 18:58:51 -0800
commit6644dc4861272273acf683dd6e06ceb586f2e4db (patch)
treea802599a1b8e60ec2da13a72b7816b3970f3a00c /Zotlabs/Module/Update_display.php
parentbbacfbdd6ac09786194502350deb50b0244166b2 (diff)
downloadvolse-hubzilla-6644dc4861272273acf683dd6e06ceb586f2e4db.tar.gz
volse-hubzilla-6644dc4861272273acf683dd6e06ceb586f2e4db.tar.bz2
volse-hubzilla-6644dc4861272273acf683dd6e06ceb586f2e4db.zip
use head_add_link() for feed discovery
Diffstat (limited to 'Zotlabs/Module/Update_display.php')
-rw-r--r--Zotlabs/Module/Update_display.php18
1 files changed, 1 insertions, 17 deletions
diff --git a/Zotlabs/Module/Update_display.php b/Zotlabs/Module/Update_display.php
index 13b04204d..b2c6a56f5 100644
--- a/Zotlabs/Module/Update_display.php
+++ b/Zotlabs/Module/Update_display.php
@@ -21,26 +21,10 @@ class Update_display extends \Zotlabs\Web\Controller {
$mod = new Display();
$text = $mod->get($profile_uid, $load);
- $pattern = "/<img([^>]*) src=\"([^\"]*)\"/";
- $replace = "<img\${1} dst=\"\${2}\"";
- // $text = preg_replace($pattern, $replace, $text);
- /*
- if(! $load) {
- $replace = '<br />' . t('[Embedded content - reload page to view]') . '<br />';
- $pattern = "/<\s*audio[^>]*>(.*?)<\s*\/\s*audio>/i";
- $text = preg_replace($pattern, $replace, $text);
- $pattern = "/<\s*video[^>]*>(.*?)<\s*\/\s*video>/i";
- $text = preg_replace($pattern, $replace, $text);
- $pattern = "/<\s*embed[^>]*>(.*?)<\s*\/\s*embed>/i";
- $text = preg_replace($pattern, $replace, $text);
- $pattern = "/<\s*iframe[^>]*>(.*?)<\s*\/\s*iframe>/i";
- $text = preg_replace($pattern, $replace, $text);
- }
- */
echo str_replace("\t",' ',$text);
echo (($_GET['msie'] == 1) ? '</div>' : '</section>');
echo "</body></html>\r\n";
- // logger('update_display: ' . $text);
+
killme();
}