diff options
author | redmatrix <redmatrix@redmatrix.me> | 2015-11-25 17:30:11 -0800 |
---|---|---|
committer | redmatrix <redmatrix@redmatrix.me> | 2015-11-25 17:30:11 -0800 |
commit | a039869ba0410a35368e978ddfd638b344b17b40 (patch) | |
tree | 322a26924a63b4058b197bedfe96c3e25d8c1c41 /mod/update_home.php | |
parent | 192e85ffa45916ea631ac3c2c59dc264249f537e (diff) | |
download | volse-hubzilla-a039869ba0410a35368e978ddfd638b344b17b40.tar.gz volse-hubzilla-a039869ba0410a35368e978ddfd638b344b17b40.tar.bz2 volse-hubzilla-a039869ba0410a35368e978ddfd638b344b17b40.zip |
issue #185
Diffstat (limited to 'mod/update_home.php')
-rw-r--r-- | mod/update_home.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/update_home.php b/mod/update_home.php index 80ae2438f..4a8000bdb 100644 --- a/mod/update_home.php +++ b/mod/update_home.php @@ -16,7 +16,7 @@ function update_home_content(&$a) { $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"; @@ -28,7 +28,7 @@ function update_home_content(&$a) { $pattern = "/<\s*iframe[^>]*>(.*?)<\s*\/\s*iframe>/i"; $text = preg_replace($pattern, $replace, $text); } - +*/ echo str_replace("\t",' ',$text); echo ((array_key_exists('msie',$_GET) && $_GET['msie'] == 1) ? '</div>' : '</section>'); echo "</body></html>\r\n"; |