mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-12 01:54:26 +02:00
Pleroma-Servers are now detected and displayed in the statistics
This commit is contained in:
parent
c948e4cdc3
commit
1893c3df16
3 changed files with 15 additions and 5 deletions
|
@ -1425,6 +1425,7 @@ function prepare_body(&$item, $attach = false, $preview = false) {
|
|||
$title .= ' ' . $mtch[2] . ' ' . t('bytes');
|
||||
|
||||
if (($filetype == 'image') AND ($item['network'] == NETWORK_OSTATUS)) {
|
||||
/// @todo Respect the spoiler for mastodon
|
||||
$icon = '<img class="attached" src="'.$the_url.'" alt="" title="'.$title.'">';
|
||||
$s .= '<br><a href="' . strip_tags($the_url) . '" title="' . $title . '" class="attached" target="_blank" >' . $icon . '</a>';
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue