add titles to shared items if available

This commit is contained in:
Friendika 2011-06-01 06:41:12 -07:00
parent fc34641d4a
commit 969a25eab2

View file

@ -17,6 +17,8 @@ function share_init(&$a) {
$o = ''; $o = '';
$o .= '&#x2672; <a href="' . $r[0]['author-link'] . '">' . $r[0]['author-name'] . '</a><br />'; $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); $o .= bbcode($r[0]['body'], true);
echo $o . '<br />'; echo $o . '<br />';
killme(); killme();