aboutsummaryrefslogtreecommitdiffstats
path: root/mod/share.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-06-01 06:41:12 -0700
committerFriendika <info@friendika.com>2011-06-01 06:41:12 -0700
commit969a25eab244170a2c0f311c838dcf09f1281388 (patch)
tree220bd7124991eab2a58f6b81dab4e17d46bf5fbe /mod/share.php
parentfc34641d4a69580a4e7fd5c3806c22d009d5d037 (diff)
downloadvolse-hubzilla-969a25eab244170a2c0f311c838dcf09f1281388.tar.gz
volse-hubzilla-969a25eab244170a2c0f311c838dcf09f1281388.tar.bz2
volse-hubzilla-969a25eab244170a2c0f311c838dcf09f1281388.zip
add titles to shared items if available
Diffstat (limited to 'mod/share.php')
-rw-r--r--mod/share.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/mod/share.php b/mod/share.php
index f355a842a..bba527342 100644
--- a/mod/share.php
+++ b/mod/share.php
@@ -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();