undo the disabling of browser_prefetch and for the time being revert the HTML cache until we can isolate all the zid and observer calls. Also get rid of youtube and vimeo bbcode tags which we should not be using any more.
This commit is contained in:
@@ -244,7 +244,7 @@ function directory_content(&$a) {
|
||||
|
||||
$hometown = ((x($profile,'hometown') == 1) ? $profile['hometown'] : False);
|
||||
|
||||
$about = ((x($profile,'about') == 1) ? bbcode(strip_bbimage($profile['about'])) : False);
|
||||
$about = ((x($profile,'about') == 1) ? bbcode($profile['about']) : False);
|
||||
|
||||
$keywords = ((x($profile,'keywords')) ? $profile['keywords'] : '');
|
||||
|
||||
|
||||
@@ -37,7 +37,7 @@ function update_channel_content(&$a) {
|
||||
|
||||
$pattern = "/<img([^>]*) src=\"([^\"]*)\"/";
|
||||
$replace = "<img\${1} dst=\"\${2}\"";
|
||||
$text = preg_replace($pattern, $replace, $text);
|
||||
// $text = preg_replace($pattern, $replace, $text);
|
||||
|
||||
if(! $load) {
|
||||
$replace = '<br />' . t('[Embedded content - reload page to view]') . '<br />';
|
||||
|
||||
@@ -19,7 +19,7 @@ function update_display_content(&$a) {
|
||||
$text = display_content($a,$profile_uid, $load);
|
||||
$pattern = "/<img([^>]*) src=\"([^\"]*)\"/";
|
||||
$replace = "<img\${1} dst=\"\${2}\"";
|
||||
$text = preg_replace($pattern, $replace, $text);
|
||||
// $text = preg_replace($pattern, $replace, $text);
|
||||
|
||||
if(! $load) {
|
||||
$replace = '<br />' . t('[Embedded content - reload page to view]') . '<br />';
|
||||
|
||||
@@ -15,7 +15,7 @@ function update_home_content(&$a) {
|
||||
$text = home_content($a,$profile_uid, $load);
|
||||
$pattern = "/<img([^>]*) src=\"([^\"]*)\"/";
|
||||
$replace = "<img\${1} dst=\"\${2}\"";
|
||||
$text = preg_replace($pattern, $replace, $text);
|
||||
// $text = preg_replace($pattern, $replace, $text);
|
||||
|
||||
if(! $load) {
|
||||
$replace = '<br />' . t('[Embedded content - reload page to view]') . '<br />';
|
||||
|
||||
@@ -17,7 +17,7 @@ function update_network_content(&$a) {
|
||||
$text = network_content($a,$profile_uid, $load);
|
||||
$pattern = "/<img([^>]*) src=\"([^\"]*)\"/";
|
||||
$replace = "<img\${1} dst=\"\${2}\"";
|
||||
$text = preg_replace($pattern, $replace, $text);
|
||||
// $text = preg_replace($pattern, $replace, $text);
|
||||
|
||||
if(! $load) {
|
||||
$replace = '<br />' . t('[Embedded content - reload page to view]') . '<br />';
|
||||
|
||||
@@ -15,7 +15,7 @@ function update_public_content(&$a) {
|
||||
$text = public_content($a,$profile_uid, $load);
|
||||
$pattern = "/<img([^>]*) src=\"([^\"]*)\"/";
|
||||
$replace = "<img\${1} dst=\"\${2}\"";
|
||||
$text = preg_replace($pattern, $replace, $text);
|
||||
// $text = preg_replace($pattern, $replace, $text);
|
||||
|
||||
if(! $load) {
|
||||
$replace = '<br />' . t('[Embedded content - reload page to view]') . '<br />';
|
||||
|
||||
@@ -40,7 +40,7 @@ function update_search_content(&$a) {
|
||||
|
||||
$pattern = "/<img([^>]*) src=\"([^\"]*)\"/";
|
||||
$replace = "<img\${1} dst=\"\${2}\"";
|
||||
$text = preg_replace($pattern, $replace, $text);
|
||||
// $text = preg_replace($pattern, $replace, $text);
|
||||
|
||||
if(! $load) {
|
||||
$replace = '<br />' . t('[Embedded content - reload page to view]') . '<br />';
|
||||
|
||||
Reference in New Issue
Block a user