From: Michael Vogel Date: Tue, 24 Apr 2012 00:04:51 +0000 (+0200) Subject: Tumblr: The video export now shows the title X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=71ec9fdd9893ad429898dd5a6a0b5d1d1ed481c6;p=friendica-addons.git Tumblr: The video export now shows the title --- diff --git a/tumblr/tumblr.php b/tumblr/tumblr.php index 42518c05..650e0b18 100755 --- a/tumblr/tumblr.php +++ b/tumblr/tumblr.php @@ -201,7 +201,10 @@ function tumblr_send(&$a,&$b) { if (($link != '') and $video) { $params['type'] = "video"; $params['embed'] = $link; - $params['caption'] = bbcode($body); + if ($b['title'] != '') + $params['caption'] = '

'.$b['title']."

".bbcode($body); + else + $params['caption'] = bbcode($body); } else if (($link != '') and !$video) { $params['type'] = "link"; $params['name'] = $b['title'];