add titles to shared items if available
This commit is contained in:
parent
fc34641d4a
commit
969a25eab2
1 changed files with 2 additions and 0 deletions
|
@ -17,6 +17,8 @@ function share_init(&$a) {
|
||||||
$o = '';
|
$o = '';
|
||||||
|
|
||||||
$o .= '♲ <a href="' . $r[0]['author-link'] . '">' . $r[0]['author-name'] . '</a><br />';
|
$o .= '♲ <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();
|
||||||
|
|
Loading…
Reference in a new issue