]> git.mxchange.org Git - friendica.git/commitdiff
add titles to shared items if available
authorFriendika <info@friendika.com>
Wed, 1 Jun 2011 13:41:12 +0000 (06:41 -0700)
committerFriendika <info@friendika.com>
Wed, 1 Jun 2011 13:41:12 +0000 (06:41 -0700)
mod/share.php

index f355a842a7cb360e6bf499f662723998d11f9c6c..bba527342aaf7e5bab10f2656496966e760127d9 100644 (file)
@@ -17,6 +17,8 @@ function share_init(&$a) {
        $o = '';
 
        $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);
        echo $o . '<br />';
        killme();