aboutsummaryrefslogtreecommitdiffstats
path: root/mod/share.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-04-04 02:02:23 -0700
committerfriendica <info@friendica.com>2012-04-04 02:02:23 -0700
commit60c57704c6fef12784e37ac9e9060c51420f6db3 (patch)
tree41cf0e7f3dcc09c80f4cc6d48d5e67cbf3f9a24b /mod/share.php
parent8e928d101b628c5f562cee840882892f05a1b838 (diff)
downloadvolse-hubzilla-60c57704c6fef12784e37ac9e9060c51420f6db3.tar.gz
volse-hubzilla-60c57704c6fef12784e37ac9e9060c51420f6db3.tar.bz2
volse-hubzilla-60c57704c6fef12784e37ac9e9060c51420f6db3.zip
better handling of reshares containing embeds
Diffstat (limited to 'mod/share.php')
-rwxr-xr-xmod/share.php16
1 files changed, 8 insertions, 8 deletions
diff --git a/mod/share.php b/mod/share.php
index 47bb851a4..6c6098c83 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 .= '&#x2672; <a href="' . $r[0]['author-link'] . '">' . $r[0]['author-name'] . '</a><br />';
- if($r[0]['title'])
- $o .= '<strong>' . $r[0]['title'] . '</strong><br />';
- $o .= bbcode($r[0]['body'], true) . '<br />';
- }
+// }
+// else {
+// $o .= '&#x2672; <a href="' . $r[0]['author-link'] . '">' . $r[0]['author-name'] . '</a><br />';
+// if($r[0]['title'])
+// $o .= '<strong>' . $r[0]['title'] . '</strong><br />';
+// $o .= $r[0]['body'] . "\n";
+// }
echo $o;
killme();
}