]> git.mxchange.org Git - friendica.git/blobdiff - mod/share.php
reverting recent db driver changes - won't install cleanly, won't update cleanly...
[friendica.git] / mod / share.php
index 8a8229e8a19f1f7a1a32e907b8a4471dfc686e2a..6c6098c83c07363e4aec0bdaa73630829b6b3355 100644 (file)
@@ -16,8 +16,18 @@ function share_init(&$a) {
 
        $o = '';
 
-       $o .= '&#x2672; <a href="' . $r[0]['author-link'] . '">' . $r[0]['author-name'] . '</a><br />';
-       $o .= prepare_body($r[0]);
-       echo $o . '<br />';
+//     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 .= $r[0]['body'] . "\n";
+//     }
+       echo $o;
        killme();  
-}
\ No newline at end of file
+}