From 60c57704c6fef12784e37ac9e9060c51420f6db3 Mon Sep 17 00:00:00 2001 From: friendica Date: Wed, 4 Apr 2012 02:02:23 -0700 Subject: [PATCH] better handling of reshares containing embeds --- mod/share.php | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/mod/share.php b/mod/share.php index 47bb851a4f..6c6098c83c 100755 --- a/mod/share.php +++ b/mod/share.php @@ -16,18 +16,18 @@ function share_init(&$a) { $o = ''; - if(local_user() && intval(get_pconfig(local_user(),'system','plaintext'))) { +// if(local_user() && intval(get_pconfig(local_user(),'system','plaintext'))) { $o .= "\xE2\x99\xb2" . ' [url=' . $r[0]['author-link'] . ']' . $r[0]['author-name'] . '[/url]' . "\n"; if($r[0]['title']) $o .= '[b]' . $r[0]['title'] . '[/b]' . "\n"; $o .= $r[0]['body'] . "\n"; - } - else { - $o .= '♲ ' . $r[0]['author-name'] . '
'; - if($r[0]['title']) - $o .= '' . $r[0]['title'] . '
'; - $o .= bbcode($r[0]['body'], true) . '
'; - } +// } +// else { +// $o .= '♲ ' . $r[0]['author-name'] . '
'; +// if($r[0]['title']) +// $o .= '' . $r[0]['title'] . '
'; +// $o .= $r[0]['body'] . "\n"; +// } echo $o; killme(); }