]> git.mxchange.org Git - friendica.git/blobdiff - mod/share.php
Frost-mobile: media query in css for tablets
[friendica.git] / mod / share.php
index 29d31f6b51ea547862a719810fc2015f71d700f7..761220ad7fca94509f6a4d7cf3619d8eaacff821 100644 (file)
@@ -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();