Diaspora: Repeated items from twitter to Diaspora now only include a link, since Diaspora is showing the whole tweet.
This commit is contained in:
parent
21c09c0732
commit
778ed772d2
1 changed files with 7 additions and 3 deletions
|
@ -534,10 +534,14 @@ function bb_ShareAttributes($share, $simplehtml) {
|
||||||
if ($text != "")
|
if ($text != "")
|
||||||
$text .= "<hr />";
|
$text .= "<hr />";
|
||||||
|
|
||||||
|
if (substr(normalise_link($link), 0, 19) != "http://twitter.com/") {
|
||||||
$text .= $headline.'<blockquote class="shared_content">'.trim($share[3])."</blockquote><br />";
|
$text .= $headline.'<blockquote class="shared_content">'.trim($share[3])."</blockquote><br />";
|
||||||
|
|
||||||
if ($link != "")
|
if ($link != "")
|
||||||
$text .= '<br /><a href="'.$link.'">[l]</a>';
|
$text .= '<br /><a href="'.$link.'">[l]</a>';
|
||||||
|
} else
|
||||||
|
$text .= '<br /><a href="'.$link.'">'.$link.'</a>';
|
||||||
|
|
||||||
break;
|
break;
|
||||||
case 4:
|
case 4:
|
||||||
$headline = '<div class="shared_header">';
|
$headline = '<div class="shared_header">';
|
||||||
|
|
Loading…
Reference in a new issue