aboutsummaryrefslogtreecommitdiffstats
path: root/mod/share.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-07-03 16:26:14 -0700
committerfriendica <info@friendica.com>2012-07-03 16:26:14 -0700
commit7926a0d171e1e84dcc551f67ef0d8f7bfac4a19f (patch)
treed87cb015840adaf3cb7b29b3304cc43585edd50e /mod/share.php
parentf7144e671c79302f33ef2928955d8100a4ab4cc6 (diff)
downloadvolse-hubzilla-7926a0d171e1e84dcc551f67ef0d8f7bfac4a19f.tar.gz
volse-hubzilla-7926a0d171e1e84dcc551f67ef0d8f7bfac4a19f.tar.bz2
volse-hubzilla-7926a0d171e1e84dcc551f67ef0d8f7bfac4a19f.zip
add link to shares
Diffstat (limited to 'mod/share.php')
-rw-r--r--mod/share.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/mod/share.php b/mod/share.php
index 29d31f6b5..761220ad7 100644
--- a/mod/share.php
+++ b/mod/share.php
@@ -23,7 +23,9 @@ function share_init(&$a) {
$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";
+ $o .= $r[0]['body'] . "\n" ;
+
+ $o .= (($r[0]['plink']) ? '[url=' . $r[0]['plink'] . ']' . t('link') . '[/url]' . "\n" : '');
echo $o;
killme();